/* =========================================================
   HILSON ROOFING — PREMIUM LANDING PAGE
   Design system: serif headings (Fraunces) + sans body (Inter)
   Palette: deep navy + warm brass accent on warm cream
   ========================================================= */

:root {
  /* Colour palette — black & white with #0095eb accent */
  --navy-900: #0A0A0A;
  --navy-700: #1F1F1F;
  --navy-500: #0095eb;
  --navy-400: #38ACEF;
  --brass-500: #0095eb;
  --brass-600: #007AC2;
  --brass-400: #38ACEF;
  --cream-50:  #FFFFFF;
  --cream-100: #F8F9FA;
  --cream-200: #EEF1F4;
  --ink-900: #0A0A0A;
  --ink-700: #1F1F1F;
  --ink-500: #525252;
  --ink-300: #8C8C8C;
  --ink-200: #B5B5B5;
  --line: #E5E7EB;
  --success: #16A34A;
  --danger: #DC2626;

  /* Type */
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spacing & shape */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(10,10,10,.06), 0 1px 2px rgba(10,10,10,.04);
  --shadow-md: 0 4px 12px rgba(10,10,10,.08), 0 2px 4px rgba(10,10,10,.04);
  --shadow-lg: 0 18px 50px rgba(10,10,10,.12), 0 6px 16px rgba(10,10,10,.06);
  --shadow-xl: 0 30px 80px rgba(10,10,10,.18);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: var(--navy-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-weight: var(--heading-weight, 500);
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  line-height: 1.15;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Reusable utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 16px;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--ink-500);
  line-height: 1.65;
  max-width: 60ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border-radius: var(--radius-md);
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--btn-primary-bg, var(--navy-900));
  color: var(--btn-primary-color, var(--cream-50));
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--btn-primary-bg-hover, var(--navy-700));
  transform: translateY(-2px);
  box-shadow: none;
  color: var(--btn-primary-color, var(--cream-50));
}
.btn-accent {
  background: linear-gradient(135deg, var(--brass-400), var(--brass-600));
  color: var(--navy-900);
  box-shadow: none;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: none;
  color: var(--navy-900);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-ghost:hover {
  background: var(--navy-900);
  color: var(--cream-50);
}
.btn svg { width: 18px; height: 18px; }

/* Section spacing */
section { padding: clamp(64px, 8vw, 110px) 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(10,10,10,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link img { height: 72px; width: auto; }
.header-badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  margin-right: 18px;
  transition: transform .2s ease;
}
.header-badge:hover { transform: translateY(-1px); }
.header-badge img {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 980px) {
  .header-badge img { height: 46px; }
  .header-badge { margin-right: 12px; }
}
@media (max-width: 720px) {
  .header-badge img { height: 50px; }
  .header-badge { margin-right: 8px; }
}
@media (max-width: 480px) {
  .header-badge img { height: 44px; }
  .header-badge { margin-right: 6px; }
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 15px;
}
.header-phone svg { width: 16px; height: 16px; color: var(--brass-600); }
.header-phone .label { color: var(--ink-300); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: block; line-height: 1; margin-bottom: 3px; }
.header-cta .btn { padding: 12px 22px; font-size: 14px; }
@media (max-width: 720px) {
  .header-phone { display: none; }
  .header-cta .btn { padding: 12px 18px; font-size: 14px; min-height: 44px; }
  .logo-link img { height: 56px; }
}
@media (max-width: 480px) {
  .header-phone { font-size: 14px; gap: 6px; }
  .header-phone svg { width: 18px; height: 18px; }
  .header-cta { gap: 12px; }
  .header-cta .btn { padding: 11px 14px; font-size: 13px; }
}
@media (max-width: 380px) {
  .header-phone span:not(.label) { display: none; }
  .header-cta .btn { padding: 11px 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.18) 75%, rgba(10,10,10,.05) 100%),
    var(--hero-bg, url('../images/roofing.jpg')) center/cover no-repeat;
  padding: clamp(60px, 8vw, 90px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
/* Subtle looping video background — sits BEHIND the image bg, fades in on load */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in;
  pointer-events: none;
  /* Soft desaturation + slight blur so the video reads as atmospheric texture,
     not as competing hero content. Tune per taste. */
  filter: grayscale(20%) brightness(.75);
}
.hero-video-bg.is-ready {
  opacity: var(--video-peak, .55);
}
/* When --video-fade-loop is set, run a keyframe animation synced to video length.
   The video has `loop` so both cycle together — one breath per playback. */
.hero-video-bg.is-ready.video-fade-loop {
  animation: video-breathe var(--video-duration, 9s) ease-in-out infinite;
  opacity: 0;
}
@keyframes video-breathe {
  0%   { opacity: 0; }
  18%  { opacity: var(--video-peak, .55); }
  82%  { opacity: var(--video-peak, .55); }
  100% { opacity: 0; }
}
.hero > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
}
.hero h1 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero h1 em { color: var(--brass-400); }
.hero-lede { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero-trust { border-top-color: rgba(255,255,255,.18); }
/* Trust panels live ON the dark hero — they are white cards so they keep their own colour. */
.hero-trust .trust-item { color: var(--ink-500); }
.hero-trust .trust-item strong { color: var(--navy-900); }
.hero .eyebrow { color: var(--brass-400); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-ghost:hover { background: #fff; color: var(--navy-900); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-grid > * { min-width: 0; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 22px; }
.hero h1 em {
  font-style: italic;
  color: var(--navy-500);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
/* Optional gold accent — set when config has brand.accent */
.hero h1 em.accent,
h2 em.accent,
h3 em.accent,
.text-accent { color: var(--brand-accent, var(--brass-400)); }
/* Optional script-font span for mixed serif/script headlines */
.script-accent {
  font-family: var(--font-script, cursive);
  font-weight: 400;
  font-style: normal;
  color: var(--brand-accent, var(--brass-400));
  font-size: 1.15em;
  line-height: 1;
  display: inline-block;
  margin-top: .15em;
}
.hero h1 .script-accent { display: block; font-size: 1.15em; line-height: 1.05; margin-top: .35em; }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.22rem); margin-bottom: 32px; max-width: 56ch; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 26px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .hero-trust { grid-template-columns: 1fr; gap: 10px; }
}
.trust-item {
  background: #fff;
  border: 1px solid rgba(10,10,10,.06);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
  min-width: 0;
}
.trust-item-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 26px;
}
.trust-item-logos img {
  height: 26px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  display: block;
}
.trust-item-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass-500);
}
.trust-item-icon svg { width: 26px; height: 26px; }
.trust-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trust-item-text strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.trust-item-text span {
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 500;
  line-height: 1.3;
}
.trust-item .star { color: var(--brass-400); }

/* Hero card / quote-form starter */
.hero-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(10,10,10,.06);
  position: relative;
  min-width: 0;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,149,235,.5), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-card .badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22,163,74,.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
  50% { box-shadow: 0 0 0 8px rgba(22,163,74,.05); }
}
.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--navy-900);
  margin: 0 0 8px;
}
.hero-card-sub {
  color: var(--ink-500);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--navy-900);
  color: var(--cream-100);
  padding: 28px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.cred-item svg { width: 22px; height: 22px; color: var(--brass-400); }

/* Mobile: stack the credentials vertically; icon centred above each label */
@media (max-width: 720px) {
  .trust-bar .container {
    flex-direction: column;
    gap: 18px;
  }
  .cred-item {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
}

/* ---------- Special Offer banner ---------- */
.special-offer {
  background: var(--brand-accent, #E10600);
  color: #fff;
  padding: clamp(36px, 5vw, 56px) 0;
  position: relative;
  overflow: hidden;
}
.special-offer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.12) 0%, transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(0,0,0,.15) 0%, transparent 60%);
  pointer-events: none;
}
.special-offer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}
@media (max-width: 760px) {
  .special-offer-inner { grid-template-columns: 1fr; text-align: center; }
}
.special-offer-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.22);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.special-offer-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 12px;
  font-weight: var(--heading-weight, 700);
}
.special-offer-subline {
  color: rgba(255,255,255,.9);
  font-size: 15px;
  margin: 0;
  max-width: 56ch;
}
@media (max-width: 760px) { .special-offer-subline { margin-left: auto; margin-right: auto; } }
.special-offer .btn.special-offer-cta,
.special-offer .btn-primary.special-offer-cta {
  background: #0A0A0A !important;
  color: #fff !important;
  padding: 16px 34px !important;
  font-size: 15px !important;
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: none !important;
}
.special-offer .btn.special-offer-cta:hover,
.special-offer .btn-primary.special-offer-cta:hover {
  background: #fff !important;
  color: var(--brand-accent, #E10600) !important;
}
.special-offer-footnote {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  margin: 10px 0 0;
  text-align: center;
}

/* ---------- Services ---------- */
.services-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.services-head .lede { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all .35s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass-400), var(--brass-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,149,235,.4);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,149,235,.08), rgba(0,149,235,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--navy-700);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- About / why ---------- */
section.why {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  padding-top: clamp(28px, 4vw, 56px);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.why-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.why-image.is-contained {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  aspect-ratio: auto;
}
.why-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-image.is-contained .why-image-photo {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.why-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.18);
}
.why-image-placeholder svg { width: 60%; max-width: 260px; }
.why-stats {
  margin-top: clamp(40px, 5vw, 60px);
  padding: 36px clamp(24px, 4vw, 48px);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .why-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding: 28px 24px; }
}
.why-stats .stat {
  text-align: center;
  position: relative;
}
.why-stats .stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: var(--line);
}
@media (max-width: 720px) {
  .why-stats .stat:not(:last-child)::after { display: none; }
}
.stat {
  text-align: left;
}
.stat .num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  color: var(--brass-500);
  font-weight: 600;
  line-height: 1;
  display: block;
}
.stat .lbl {
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 600;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--ink-700);
}
.feature-list svg {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  color: var(--success);
  margin-top: 2px;
}

/* ---------- Reviews ---------- */
.reviews {
  background:
    linear-gradient(180deg, rgba(10,10,10,.86), rgba(10,10,10,.78)),
    var(--reviews-bg, none) center/cover no-repeat fixed;
  background-color: var(--navy-900);
  color: var(--cream-100);
  position: relative;
  overflow: hidden;
}
.reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 10% 0%, color-mix(in srgb, var(--brass-500) 14%, transparent), transparent 60%),
    radial-gradient(800px 400px at 90% 100%, color-mix(in srgb, var(--brass-500) 22%, transparent), transparent 60%);
  pointer-events: none;
}
.reviews .container { position: relative; }
.reviews h2 { color: #fff; }
.reviews .eyebrow { color: var(--brass-400); }
.reviews .lede { color: rgba(255,255,255,.75); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 50px;
}
.review-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: all .3s var(--ease);
}
.review-card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-3px);
}
.review-stars {
  color: var(--brass-400);
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 14px;
  /* Soft golden glow + a slow pulse so the stars feel alive */
  text-shadow:
    0 0 6px color-mix(in srgb, var(--brass-400) 60%, transparent),
    0 0 14px color-mix(in srgb, var(--brass-500) 35%, transparent);
  animation: review-star-glow 3.2s ease-in-out infinite;
}
@keyframes review-star-glow {
  0%, 100% {
    text-shadow:
      0 0 6px color-mix(in srgb, var(--brass-400) 55%, transparent),
      0 0 14px color-mix(in srgb, var(--brass-500) 30%, transparent);
    transform: translateZ(0);
  }
  50% {
    text-shadow:
      0 0 10px color-mix(in srgb, var(--brass-400) 85%, transparent),
      0 0 22px color-mix(in srgb, var(--brass-500) 55%, transparent),
      0 0 32px color-mix(in srgb, var(--brass-500) 25%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .review-stars { animation: none; }
}
.review-text {
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.review-source-badge {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
  background: #fff;
  padding: 3px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.20);
}
@media (max-width: 720px) {
  .review-source-badge { width: 40px; height: 40px; padding: 3px; }
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brass-400), var(--brass-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  font-weight: 600;
  font-family: var(--font-serif);
}
.author-info .name { color: #fff; font-weight: 600; font-size: 14px; }
.author-info .loc { color: rgba(255,255,255,.55); font-size: 13px; }

.reviews-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.reviews-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.reviews-meta .num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--brass-400);
  font-weight: 600;
}

/* ---------- Gallery (Recent work) ---------- */
.gallery {
  background: var(--cream-50);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 50px;
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-100);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .35s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Feature: spans 2x2 in the 4-col grid */
.gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}
@media (max-width: 880px) {
  .gallery-feature { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
  .gallery-feature { grid-column: span 1; aspect-ratio: 1; }
}

/* Wide: spans 2 cols in row 2 to balance the layout */
.gallery-wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
@media (max-width: 480px) {
  .gallery-wide { grid-column: span 1; aspect-ratio: 1; }
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,255,255,.95);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.94);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity .25s var(--ease);
  cursor: zoom-out;
}
.lightbox.is-open {
  opacity: 1;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease);
  border: 1px solid rgba(255,255,255,.15);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,.18);
}
.lightbox-close { top: 24px; right: 24px; font-size: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 32px; }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 32px; }

/* ---------- Logo Marquee (carousel) ---------- */
.logo-marquee {
  background: #fff;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.logo-marquee-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin: 0 0 32px;
}
.logo-marquee-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.logo-marquee-track-wrap:hover .logo-marquee-track {
  animation-play-state: paused;
}
.logo-marquee-item {
  flex: 0 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-marquee-item img {
  max-height: 70px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
/* Per-logo size override — Bark logo is graphic-heavy, scale it down */
.logo-marquee-item img[src*="bark.png"] {
  max-height: 44px;
  max-width: 110px;
}
.logo-marquee-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}
@media (max-width: 720px) {
  .logo-marquee-item { height: 56px; }
  .logo-marquee-item img { max-height: 56px; max-width: 130px; }
  .logo-marquee-track { gap: 40px; animation-duration: 24s; }
}

/* ---------- Meet the Owner ---------- */
.meet-owner {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(64px, 9vw, 120px);
  background: var(--cream-50, #FAF9F6);
}
.meet-owner-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.meet-owner-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,10,10,.08);
}
.meet-owner-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
/* Placeholder still uses the square aspect ratio so the silhouette frame stays consistent */
.meet-owner-media:has(.meet-owner-placeholder) { aspect-ratio: 1; }
.meet-owner-placeholder {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #F4F4F4 0%, #E8E8E8 100%);
  display: flex; align-items: center; justify-content: center;
}
.meet-owner-placeholder svg {
  width: 60%;
  height: auto;
  opacity: .7;
}
.meet-owner-placeholder-label {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  font-size: 11px;
  color: var(--ink-400, #9CA3AF);
  text-align: center;
  letter-spacing: .04em;
}
.meet-owner-copy .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.meet-owner-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--ink-900, var(--ink));
}
.meet-owner-copy .lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-300, #525252);
  margin: 0 0 16px;
}
.meet-owner-copy .lede + .lede { margin-top: 0; }
.meet-owner-signoff {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(10,10,10,.08);
}
.meet-owner-signature {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  /* Lift dark ink off the white-on-cream background while preserving the cursive */
  mix-blend-mode: multiply;
}
.meet-owner-signoff .signature-caption {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-500, #525252);
}
.meet-owner-copy .btn {
  margin-top: 24px;
}

/* ---------- Community / Charity ---------- */
.community {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--community-bg, color-mix(in srgb, var(--brass-500) 8%, #fff));
}
.community-grid {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #fff;
  border: 1px solid rgba(10,10,10,.06);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 10px 30px rgba(10,10,10,.06);
}
.community-copy .eyebrow { display: block; margin-bottom: 10px; }
.community-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink, var(--navy-900));
}
.community-copy p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-300, #525252);
  margin: 0 0 10px;
}
.community-charity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  background: color-mix(in srgb, var(--brass-500) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--brass-500) 24%, transparent);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink, var(--navy-900));
  transition: transform .2s ease;
}
.community-charity:hover { transform: translateY(-2px); }
.community-charity img {
  max-height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.community-charity-glyph {
  font-size: 32px;
  color: var(--brass-500);
}
.community-charity-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  color: var(--ink-500, #6B7280);
}
.community-charity--text {
  min-width: 220px;
  text-align: center;
}
@media (max-width: 720px) {
  .community-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .community-charity { margin: 0 auto; }
}
@media (max-width: 820px) {
  .meet-owner-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .meet-owner-media {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ---------- Process ("How it works") ---------- */
section.how { padding-top: clamp(28px, 4vw, 56px); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
}
@media (max-width: 820px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  position: relative;
  text-align: center;
  padding: 0 16px;
}
.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brass-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 auto 22px;
  box-shadow: 0 10px 24px rgba(10,10,10,.2);
  position: relative;
  z-index: 2;
}
.process-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.process-step p { color: var(--ink-500); font-size: 15px; }

/* ---------- Areas ---------- */
.areas {
  background: #EEF1F4;
  text-align: center;
}
.areas .lede a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
  transition: color .2s var(--ease);
}
.areas .lede a:hover {
  color: var(--primary-dark, var(--primary));
  text-decoration-thickness: 2px;
}
.areas-list {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.area-chip {
  padding: 10px 18px;
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-700);
  border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.area-chip:hover {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
  transform: translateY(-2px);
}
.areas-map {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10,10,10,.12);
  border: 1px solid rgba(10,10,10,.08);
  background: #fff;
  /* Centre + clamp the width so the map doesn't run flush with the chips on wide screens */
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.areas-map iframe {
  display: block;
  width: 100%;
}
@media (max-width: 720px) {
  .areas-map iframe { height: 320px; }
}

/* ---------- FAQ ---------- */
.faq {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brass-500) 82%, transparent), color-mix(in srgb, var(--brass-500) 90%, transparent)),
    var(--faq-bg-image, none) center/cover no-repeat;
  background-color: var(--faq-bg, var(--brass-500));
  color: var(--faq-fg, #fff);
  position: relative;
}
.faq h2 { color: var(--faq-fg, #fff); }
.faq .lede { color: var(--faq-lede, rgba(255,255,255,.9)); }
.faq .eyebrow { color: var(--faq-eyebrow, rgba(255,255,255,.85)); }
.faq-grid > div:first-child > div { background: #fff !important; border-color: rgba(255,255,255,.4) !important; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item:hover { border-color: rgba(10,10,10,.18); }
.faq-item[open] { border-color: var(--brass-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--brass-600);
  font-weight: 400;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 26px 22px;
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Final CTA + bottom form ---------- */
.final-cta {
  background:
    linear-gradient(135deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.55) 50%, rgba(10,10,10,.78) 100%),
    var(--final-cta-bg, url('../images/slider-image.jpg')) center/cover no-repeat;
  background-attachment: scroll;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 50% 100%, var(--final-cta-glow, rgba(0,149,235,.18)), transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.final-cta h2 { color: #fff; }
.final-cta .lede { color: rgba(255,255,255,.8); margin: 0 auto 0; }
.final-cta .btn-accent { padding: 18px 36px; font-size: 16px; }

.hero-card--bottom {
  max-width: 580px;
  margin: 0 auto;
}

/* =========================================================
   SEO ARTICLE LANDING PAGES
   ========================================================= */
.article-hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background:
    /* Soft brand-coloured shapes — give the hero personality without distracting from text */
    radial-gradient(700px 420px at 92% -10%, color-mix(in srgb, var(--brass-500) 28%, transparent) 0%, transparent 60%),
    radial-gradient(560px 360px at -5% 110%, color-mix(in srgb, var(--brass-500) 18%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, color-mix(in srgb, var(--brass-500) 8%, #fff) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.article-hero::before {
  /* Subtle honeycomb-style dot pattern as background texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brass-500) 30%, transparent) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: .25;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.article-hero .container {
  position: relative;
  z-index: 1;
}
.article-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brass-500) 28%, transparent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brass-600);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(10,10,10,.05);
}
.article-hero-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass-500);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass-500) 25%, transparent);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.article-hero--with-image .article-hero-grid {
  grid-template-columns: 1.3fr 1fr;
}
.article-hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,10,10,.18), 0 6px 16px rgba(10,10,10,.10);
  aspect-ratio: 4/3;
}
.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero-media::after {
  /* Soft gold border-glow */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--brass-500) 18%, transparent);
  pointer-events: none;
}
@media (max-width: 880px) {
  .article-hero--with-image .article-hero-grid { grid-template-columns: 1fr; }
  .article-hero-media { aspect-ratio: 16/10; max-height: 320px; }
}
.article-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-500, #6B7280);
  margin-bottom: 16px;
}
.article-breadcrumb a { color: var(--brass-600); text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-hero .eyebrow { display: inline-block; margin-bottom: 14px; }
.article-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 860px;
}
.article-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-300, #525252);
  max-width: 760px;
  margin: 0 0 22px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-500, #6B7280);
}
.article-meta-dot { opacity: .5; }

.article-body {
  padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px);
}
.article-body .container { max-width: 820px; }

.article-intro {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
  color: var(--ink-200, #2F2F2F);
  font-weight: 500;
  margin: 0 0 32px;
}

.article-section {
  position: relative;
  margin: 0 0 36px;
  padding: clamp(20px, 3vw, 36px) clamp(22px, 3.5vw, 40px);
  border-radius: 16px;
  scroll-margin-top: 80px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(10,10,10,.04);
}
/* Every alternating section gets a tinted background to break up the wall of white */
.article-section:nth-child(odd) {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brass-500) 6%, #fff) 0%, color-mix(in srgb, var(--brass-500) 3%, #fff) 100%);
  border-color: color-mix(in srgb, var(--brass-500) 14%, transparent);
}
/* Explicit tint override via {{#tint}} flag — strongest variant */
.article-section--tint {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brass-500) 12%, #fff) 0%, #fff 80%) !important;
  border-color: color-mix(in srgb, var(--brass-500) 22%, transparent) !important;
}
.article-section h2 {
  position: relative;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--ink, var(--navy-900));
}
.article-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brass-500), var(--brass-400));
}
/* Inline article figures */
.article-figure {
  margin: 22px 0 8px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(10,10,10,.14);
}
.article-figure img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.article-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink-500, #6B7280);
  font-style: italic;
  text-align: center;
  background: #fff;
}
.article-body {
  background:
    radial-gradient(420px 320px at 0% 12%, color-mix(in srgb, var(--brass-500) 5%, transparent), transparent 70%),
    radial-gradient(380px 280px at 100% 70%, color-mix(in srgb, var(--brass-500) 4%, transparent), transparent 70%),
    #fff;
}
.article-section p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-300, #525252);
  margin: 0 0 16px;
}
.article-section p a {
  color: var(--brass-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: grid;
  gap: 12px;
}
.article-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-200, #2F2F2F);
}
.article-bullets li svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--brass-500);
  margin-top: 3px;
}

.article-callout {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: color-mix(in srgb, var(--brass-500) 8%, #fff);
  border-left: 4px solid var(--brass-500);
  border-radius: 8px;
  margin: 20px 0;
}
.article-callout strong {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brass-600);
}
.article-callout span {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-200, #2F2F2F);
}

.article-faq {
  margin: 40px 0;
  padding: 28px clamp(20px, 3vw, 32px);
  background: #FAF9F6;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.article-faq h2 {
  font-size: clamp(20px, 2vw, 26px);
  margin: 0 0 18px;
}
.article-faq-item {
  border-bottom: 1px solid rgba(10,10,10,.08);
  padding: 12px 0;
}
.article-faq-item:last-child { border-bottom: none; }
.article-faq-item summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, var(--navy-900));
  padding: 8px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.article-faq-item summary::-webkit-details-marker { display: none; }
.article-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--brass-500);
  transition: transform .2s ease;
}
.article-faq-item[open] summary::after { content: "−"; }
.article-faq-answer p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-300, #525252);
  margin: 8px 0 12px;
}

.article-cta-inline {
  margin: 40px 0 0;
  padding: 32px clamp(20px, 4vw, 40px);
  background: linear-gradient(135deg, #1F1F1F 0%, #0A0A0A 100%);
  color: #fff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(10,10,10,.18);
}
.article-cta-inline h3 {
  font-size: clamp(20px, 2vw, 26px);
  color: #fff;
  margin: 0 0 10px;
}
.article-cta-inline p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin: 0 0 22px;
}
.article-cta-inline .btn {
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
}

/* ---------- WhatsApp floating chat button ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  z-index: 90;
  box-shadow:
    0 10px 28px rgba(37, 211, 102, .35),
    0 4px 12px rgba(0, 0, 0, .15);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.03);
  color: #fff;
  box-shadow:
    0 16px 36px rgba(37, 211, 102, .45),
    0 6px 16px rgba(0, 0, 0, .18);
}
.wa-float-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
}
.wa-float-icon svg { width: 100%; height: 100%; }
.wa-float-label { white-space: nowrap; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, .35), 0 0 0 0   rgba(37, 211, 102, .45), 0 4px 12px rgba(0,0,0,.15); }
  50%      { box-shadow: 0 10px 28px rgba(37, 211, 102, .35), 0 0 0 18px rgba(37, 211, 102, 0),   0 4px 12px rgba(0,0,0,.15); }
}

@media (max-width: 720px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    padding: 14px;
    gap: 0;
  }
  .wa-float-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg, #0A0A0A);
  color: var(--footer-fg, rgba(255,255,255,.7));
  padding: 60px 0 30px;
  font-size: 14px;
  border-top: var(--footer-border, none);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--footer-heading, #fff);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--footer-fg, rgba(255,255,255,.7)); }
.site-footer a:hover { color: var(--brass-500); }
.site-footer .logo-link img { height: 88px; margin-bottom: 16px; width: auto; }
@media (max-width: 720px) {
  .site-footer .logo-link img { height: 72px; }
}
.site-footer .blurb { font-size: 14px; line-height: 1.6; color: var(--footer-muted, rgba(255,255,255,.6)); max-width: 32ch; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--footer-social-bg, rgba(255,255,255,.06));
  border: 1px solid var(--footer-social-border, rgba(255,255,255,.12));
  font-size: 13px;
  font-weight: 600;
  color: var(--footer-fg, rgba(255,255,255,.85)) !important;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.footer-social a:hover {
  transform: translateY(-1px);
  background: var(--footer-social-hover, rgba(255,255,255,.12));
}
.footer-social a svg { width: 16px; height: 16px; flex: 0 0 16px; }
.site-footer[data-light="true"] .footer-social a,
:root[style*="--footer-bg: #FFFFFF"] .footer-social a {
  background: rgba(10,10,10,.04);
  border-color: rgba(10,10,10,.08);
  color: var(--footer-fg);
}
.footer-bottom {
  border-top: 1px solid var(--footer-rule, rgba(255,255,255,.08));
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--footer-muted-2, rgba(255,255,255,.5));
}

/* =========================================================
   MULTI-STEP QUOTE FORM
   ========================================================= */
.quote-form { position: relative; }
.progress-wrap {
  margin-bottom: 24px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 10px;
}
.progress-meta .step-count { color: var(--navy-900); }
.progress-track {
  height: 4px;
  background: var(--cream-200);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brass-400), var(--brass-600));
  border-radius: 999px;
  width: 16.66%;
  transition: width .5s var(--ease);
}

.step {
  display: none;
}
.step.is-active {
  display: block;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--navy-900);
  margin: 0 0 8px;
  line-height: 1.25;
}
.step-sub {
  color: var(--ink-500);
  font-size: 14px;
  margin: 0 0 22px;
}

/* Option cards (selectable buttons) */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.options-grid.cols-1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 600px) {
  .options-grid { grid-template-columns: minmax(0, 1fr); }
}
.option-card { min-width: 0; }
.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--navy-900);
  cursor: pointer;
  transition: all .2s var(--ease);
  position: relative;
}
.option-card:hover {
  border-color: var(--navy-500);
  background: var(--cream-50);
  transform: translateY(-1px);
}
.option-card.is-selected {
  border-color: var(--brass-500);
  background: rgba(0,149,235,.08);
  color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(0,149,235,.15);
}
.option-card .icon-wrap {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,149,235,.08), rgba(0,149,235,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
}
.option-card.is-selected .icon-wrap {
  background: linear-gradient(135deg, var(--brass-400), var(--brass-600));
  color: var(--navy-900);
}
.option-card .icon-wrap svg { width: 20px; height: 20px; }
.option-card .check {
  margin-left: auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .2s var(--ease);
}
.option-card.is-selected .check {
  background: var(--brass-500);
  border-color: var(--brass-500);
}
.option-card.is-selected .check::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* Inputs */
.field { margin-bottom: 16px; }
.field label {
  display: block;
}
.field label > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.field label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-900);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  transition: all .2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brass-500);
  box-shadow: 0 0 0 3px rgba(0,149,235,.15);
}
.textarea { resize: vertical; min-height: 90px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field-help {
  font-size: 12px;
  color: var(--ink-300);
  margin-top: 6px;
}
.field-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

/* Step actions */
.step-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.btn-back {
  background: none;
  color: var(--ink-300);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-back:hover { color: var(--navy-900); }
.btn-back svg { width: 14px; height: 14px; }
.btn-next {
  margin-left: auto;
  padding: 14px 26px;
  font-size: 14px;
}

/* Reassurance row beneath form */
.form-reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-300);
}
.form-reassure svg { width: 14px; height: 14px; color: var(--success); }

/* ---------- Calendar / appointment step ---------- */
.appt-banner {
  background: linear-gradient(135deg, rgba(0,149,235,.06), rgba(0,149,235,.08));
  border: 1px solid rgba(0,149,235,.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.appt-banner svg {
  flex: 0 0 24px; width: 24px; height: 24px;
  color: var(--brass-600);
  margin-top: 2px;
}
.appt-banner .heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.appt-banner .body {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}

.appt-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 480px) { .appt-choice { grid-template-columns: 1fr; } }
.choice-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  cursor: pointer;
  text-align: left;
  transition: all .25s var(--ease);
}
.choice-card:hover {
  border-color: var(--navy-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.choice-card.is-primary {
  border-color: var(--brass-500);
  background: linear-gradient(135deg, rgba(0,149,235,.06), rgba(0,149,235,.04));
}
.choice-card .icon-pill {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brass-400), var(--brass-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.choice-card.alt .icon-pill {
  background: linear-gradient(135deg, var(--cream-200), var(--cream-100));
  color: var(--navy-700);
}
.choice-card .icon-pill svg { width: 22px; height: 22px; }
.choice-card h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy-900);
  margin: 0 0 6px;
  font-weight: 600;
}
.choice-card p {
  font-size: 13px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.5;
}

/* Calendar */
.cal-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 14px;
}
@media (max-width: 600px) { .cal-wrap { grid-template-columns: 1fr; } }
.cal-pane {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal-head .month {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
}
.cal-nav {
  display: flex;
  gap: 4px;
}
.cal-nav button {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--cream-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .15s var(--ease);
}
.cal-nav button:hover { background: var(--navy-900); color: #fff; }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 12px;
}
.cal-grid .dow {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-300);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 0;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-900);
  cursor: pointer;
  transition: all .15s var(--ease);
  border: 1px solid transparent;
}
.cal-day:hover { background: var(--cream-100); }
.cal-day.is-empty { cursor: default; }
.cal-day.is-empty:hover { background: transparent; }
.cal-day.is-disabled {
  color: var(--ink-200);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,.1);
}
.cal-day.is-disabled:hover { background: transparent; }
.cal-day.is-today {
  border-color: var(--brass-500);
}
.cal-day.is-selected {
  background: var(--navy-900);
  color: #fff;
}
.cal-day.is-available {
  background: rgba(0,149,235,.1);
  color: var(--navy-900);
  font-weight: 600;
}
.cal-day.is-available.is-selected {
  background: var(--navy-900);
  color: #fff;
}

.slot-pane .pane-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.slot-pane .pane-sub {
  font-size: 12px;
  color: var(--ink-300);
  margin-bottom: 14px;
}
.slot-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}
.slot-btn {
  padding: 11px 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
  transition: all .15s var(--ease);
}
.slot-btn:hover {
  border-color: var(--navy-500);
  background: var(--cream-50);
}
.slot-btn.is-selected {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.slot-empty {
  grid-column: 1 / -1;
  padding: 30px 16px;
  text-align: center;
  color: var(--ink-300);
  font-size: 13px;
}

/* Summary on submit step */
.summary-card {
  background: var(--cream-100);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.summary-card .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px dashed rgba(0,0,0,.06);
}
.summary-card .row:last-child { border: none; }
.summary-card .row .lbl { color: var(--ink-500); }
.summary-card .row .val { color: var(--navy-900); font-weight: 600; text-align: right; }

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Reveal-on-scroll base state (controlled via JS) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .3s; opacity: 1; transform: translateY(0); }

/* Hide/show helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
