/* ══════════════════ RESET & TOKENS ══════════════════ */
* { -webkit-tap-highlight-color: transparent; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
input, select, textarea, button { font-size: 16px; touch-action: manipulation; }
a, button { min-height: 44px; }
img { max-width: 100%; display: block; }
.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) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

:root {
  --bg: #1B231D;
  --bg-2: #212B23;
  --bg-3: #263123;
  --card: #F8F5EF;
  --card-2: #FCFAF5;
  --ink: #1E241E;
  --cream: #ECE7DA;
  --cream-dim: rgba(236,231,218,0.78);
  --cream-faint: rgba(236,231,218,0.55);
  --muted: #A69C89;
  --gold: #D9B44A;
  --gold-soft: #EAD48A;
  --gold-line: rgba(217,180,74,0.24);
  --terra: #86A874;
  --terra-deep: #5E7F4E;
  --terra-ink: #4C6A3E;
  --brick: #C27D65;
  --clay: #96652E;
  --umber: #6B4A24;
  --border: rgba(217,180,74,0.16);
  --border-strong: rgba(217,180,74,0.32);
  --radius: 14px;
  --radius-sm: 8px;
  --font-d: 'Montserrat', sans-serif;
  --font-b: 'Open Sans', sans-serif;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 12px 32px -16px rgba(0,0,0,0.18);
  --shadow-pop: 0 20px 50px -12px rgba(0,0,0,0.45);
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--cream);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

h1, h2, h3, h4 { font-family: var(--font-d); color: var(--cream); text-wrap: balance; line-height: 1.18; }
em { font-style: normal; color: var(--gold); }
p { max-width: 68ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-size: 11px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--terra);
  margin-bottom: 14px;
}
.eyebrow.on-light { color: var(--terra-ink); }
.eyebrow .rule { width: 26px; height: 2px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.lede { font-size: 17px; color: var(--cream-dim); font-weight: 300; line-height: 1.75; max-width: 620px; }
.lede.on-light { color: #574C3E; }
h2.h-section { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 18px; }
.kicker-block { max-width: 680px; margin-bottom: 52px; }
.kicker-block.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ══════════════════ BUTTONS ══════════════════ */
.btn {
  font-family: var(--font-d); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #24200F; box-shadow: 0 10px 28px -10px rgba(217,180,74,0.55); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(217,180,74,0.65); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(236,231,218,0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline.on-light { color: var(--ink); border-color: rgba(30,36,30,0.25); }
.btn-outline.on-light:hover { border-color: var(--terra-ink); color: var(--terra-ink); }
.btn-terra { background: var(--terra); color: #17230F; box-shadow: 0 10px 26px -10px rgba(134,168,116,0.5); }
.btn-terra:hover { background: #97BA85; transform: translateY(-2px); }
.btn-umber { background: #6B4A24; color: #F5EDE3; box-shadow: 0 10px 26px -10px rgba(107,74,36,0.55); }
.btn-umber:hover { background: #7D5A2E; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(107,74,36,0.6); }
.btn-block { width: 100%; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-sm { padding: 11px 20px; font-size: 12px; }
.link-arrow { font-family: var(--font-d); font-weight: 700; font-size: 13px; letter-spacing: .03em; color: var(--terra); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; background:none; border:none; cursor:pointer; }
.link-arrow:hover { color: var(--gold); }
.link-arrow.on-light { color: var(--terra-ink); }

/* ══════════════════ NAV ══════════════════ */
nav.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; height: 76px;
  background: rgba(27,35,29,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, height .25s, padding .25s;
}
nav.topbar.scrolled { background: rgba(24,31,25,0.94); border-bottom-color: var(--border); height: 66px; padding: 10px 28px; }
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-name { font-family: var(--font-d); font-size: 16px; font-weight: 800; letter-spacing: .02em; color: var(--cream); }
.nav-logo-sub { font-family: var(--font-d); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.nav-center { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--font-d); font-weight: 600; font-size: 12.5px; letter-spacing: .04em;
  color: var(--cream-dim); background: none; border: none; cursor: pointer;
  padding: 10px 14px; border-radius: 8px; transition: color .2s, background .2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(217,180,74,0.08); }
.nav-link .caret { width: 9px; height: 9px; opacity: .65; }
.nav-drop-wrap { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 250px; background: var(--bg-2); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 8px; box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 300;
}
.nav-drop-wrap:hover .nav-drop-menu, .nav-drop-wrap.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-item {
  display: block; width: 100%; text-align: left;
  background: none; border: none; font-family: var(--font-d); font-size: 12.5px; font-weight: 600;
  color: var(--cream-dim); text-decoration: none; padding: 11px 14px; border-radius: 8px; cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-drop-item:hover { background: rgba(217,180,74,0.1); color: var(--gold); }
.nav-drop-item.overview { color: var(--gold); font-weight: 800; border-bottom: 1px solid var(--border); border-radius: 8px 8px 0 0; margin-bottom: 4px; padding-bottom: 13px; }
.nav-cta-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta-call { display: inline-flex; }
.nav-cta-call svg { width: 14px; height: 14px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 66px 0 0 0; z-index: 190; background: var(--bg);
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  padding: 8px 0 100px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-link { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--border); font-family: var(--font-d); font-weight: 700; font-size: 15px; color: var(--cream); padding: 18px 24px; cursor: pointer; text-decoration:none; }
.mobile-link.sub { padding-left: 40px; font-size: 13px; font-weight: 600; color: var(--cream-dim); }
.mobile-link.active { color: var(--gold); }
.mobile-nav-cta { padding: 24px; }
.mobile-group-label { font-family: var(--font-d); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 24px 4px; }

@media (max-width: 1040px) {
  .nav-center { display: none; }
  .nav-cta-wrap .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta-call { width: 44px; height: 44px; padding: 0; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
  .nav-cta-call .nav-cta-call-text { display: none; width: 0; height: 0; overflow: hidden; }
  .nav-cta-call svg { width: 16px; height: 16px; flex-shrink: 0; }
}

/* ══════════════════ HERO ══════════════════ */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 150px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 60% at 30% 0%, #2A3B29 0%, var(--bg) 62%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .58; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, transparent 58%, var(--bg) 100%); }
.hero h1, .hero-sub, .hero .eyebrow, .hero .trust-chip { text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 22px; }
.hero-sub { font-size: 17px; color: var(--cream-dim); font-weight: 300; line-height: 1.8; max-width: 520px; margin-bottom: 34px; }
.hero-sub strong { color: var(--cream); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-partner { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-family: var(--font-d); font-size: 12px; font-weight: 600; color: var(--cream-dim); text-shadow: 0 2px 16px rgba(0,0,0,0.55); text-decoration: none; width: fit-content; transition: color .15s ease; }
.hero-partner:hover { color: var(--cream); }
.hero-partner img { height: 22px; width: auto; filter: invert(1) brightness(1.6); }
.trust-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-d); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--cream-dim); background: rgba(236,231,218,0.06); border: 1px solid var(--border); padding: 9px 14px; border-radius: 999px; }
.trust-chip svg { width: 13px; height: 13px; stroke: var(--gold); flex-shrink: 0; }

/* ══════════════════ HERO CALL CHIP (phone CTA added to specific page heroes) ══════════════════ */
.hero-call-block { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 4px; }
.center .hero-call-block { align-items: center; }
.hero-call-block.hero-call-inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero-call-block.hero-call-inline .phone-hours-note { flex-basis: 100%; }
.hero-call-or { font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-faint); }
.hero-call-chip {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-size: 13px;
  font-weight: 700; color: var(--cream); text-decoration: none; padding: 10px 18px;
  border-radius: 999px; background: rgba(236,231,218,0.1); border: 1.5px solid rgba(236,231,218,0.4);
  white-space: nowrap; transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.hero-call-chip:hover { color: var(--gold); border-color: var(--gold); background: rgba(236,231,218,0.14); }
.hero-call-chip svg { width: 14px; height: 14px; stroke: var(--gold); flex-shrink: 0; }
@media (max-width: 480px) { .hero-call-chip { font-size: 12px; padding: 9px 15px; } }

.hero-card {
  position: relative; background: var(--card); border-radius: 20px; padding: 34px 30px;
  box-shadow: var(--shadow-pop);
}
.hero-card::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--terra)); border-radius: 0 0 6px 6px; }
.hero-card-eyebrow { font-family: var(--font-d); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-ink); margin-bottom: 12px; }
.hero-card h2 { color: var(--ink); font-size: 19px; margin-bottom: 14px; }
.hero-stat-row { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.hero-stat {
  display: flex; align-items: center; gap: 14px; padding: 14px 14px;
  border-left: 5px solid transparent; border-radius: 0 10px 10px 0;
  text-decoration: none; background: rgba(30,36,30,0.03);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.hero-stat:hover { transform: translateX(3px); box-shadow: 0 6px 18px -8px rgba(30,36,30,0.18); }
.hero-stat .num {
  font-family: var(--font-d); font-size: 15px; font-weight: 800; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.hero-stat .lbl { font-family: var(--font-d); font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.4; flex: 1; text-align: left; }
.hero-stat-arrow { font-size: 15px; opacity: .45; flex-shrink: 0; transition: opacity .15s, transform .15s; }
.hero-stat:hover .hero-stat-arrow { opacity: 1; transform: translateX(2px); }
.hero-stat-gold { border-left-color: var(--gold); background: rgba(217,180,74,0.14); }
.hero-stat-gold:hover { background: rgba(217,180,74,0.22); }
.hero-stat-gold .num { background: #C99A2E; }
.hero-stat-terra { border-left-color: var(--clay); background: rgba(150,101,46,0.14); }
.hero-stat-terra:hover { background: rgba(150,101,46,0.22); }
.hero-stat-terra .num { background: var(--clay); }
.hero-stat-brick { border-left-color: var(--umber); background: rgba(107,74,36,0.16); }
.hero-stat-brick:hover { background: rgba(107,74,36,0.25); }
.hero-stat-brick .num { background: var(--umber); }
.hero-card-cta { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(30,36,30,0.1); font-size: 12.5px; color: #6B6152; }
.hero-card-cta strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero { min-height: unset; padding: 118px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-sub { max-width: 100%; }
}

/* ══════════════════ HOME: "HERE FOR" ROLLING-TEXT STRIP ══════════════════ */
.here-for-heading {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: .32em; font-size: clamp(23px, 3.6vw, 36px); font-weight: 800; margin: 0;
}
.here-for-rotator {
  display: inline-grid; overflow: hidden; vertical-align: bottom;
  line-height: 1.18; max-width: 100%;
}
.here-for-word {
  grid-area: 1 / 1; white-space: nowrap; color: var(--gold); opacity: 0;
  text-align: center;
  transform: translateY(62%);
  transition: transform .55s cubic-bezier(.65,0,.35,1), opacity .4s ease;
}
.here-for-word.is-active { opacity: 1; transform: translateY(0); }
.here-for-word.is-leaving { opacity: 0; transform: translateY(-62%); }
@media (max-width: 560px) {
  .here-for-heading { flex-direction: column; align-items: center; gap: 2px; }
  .here-for-rotator { width: 100%; }
  .here-for-word { white-space: normal; }
}

/* ══════════════════ PAGE HERO PHOTO (inner-page hero backgrounds) ══════════════════ */
.page-hero-photo { position: relative; overflow: hidden; }
.page-hero-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-img); background-size: cover; background-position: center;
}
.page-hero-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 62% 60% at 50% 40%, rgba(8,11,8,0.42) 0%, rgba(8,11,8,0.16) 55%, transparent 78%),
    linear-gradient(180deg, rgba(8,11,8,0.22) 0%, transparent 26%, transparent 55%, var(--bg) 100%);
}
.page-hero-photo > * { position: relative; z-index: 1; }
.page-hero-photo h1, .page-hero-photo .lede {
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 3px 10px rgba(0,0,0,0.65), 0 8px 30px rgba(0,0,0,0.45);
}
.page-hero-photo .eyebrow {
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 2px 10px rgba(0,0,0,0.6);
}

/* boxed variant: only FAQ and Let's Build keep the solid card treatment */
.page-hero-photo.hero-boxed .container-narrow {
  background: rgba(14,19,14,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 22px; padding: 40px 40px; border: 1px solid rgba(255,255,255,0.07);
}
.page-hero-photo.hero-boxed h1, .page-hero-photo.hero-boxed .lede, .page-hero-photo.hero-boxed .eyebrow {
  text-shadow: none;
}
@media (max-width: 640px) {
  .page-hero-photo.hero-boxed .container-narrow { padding: 30px 22px; border-radius: 18px; }
}

/* ══════════════════ GOLD DIVIDER ══════════════════ */
.divider { display: flex; align-items: center; gap: 14px; max-width: 280px; margin: 0 auto; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }
.divider svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; opacity: .8; }

/* ══════════════════ FLIP CARDS (Home: 6 product-line cards) ══════════════════ */
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.flip-card { perspective: 1200px; height: 240px; }
.flip-card-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .6s cubic-bezier(.4,.2,.2,1);
  transform-style: preserve-3d; cursor: pointer;
}
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
}
.flip-card-front, .flip-card-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius); overflow: hidden; }
.flip-card-front { background: var(--card); padding: 22px 20px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.flip-card-front::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--terra); }
.flip-emblem { width: 38px; height: 38px; border-radius: 10px; background: rgba(94,127,78,0.14); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; flex-shrink: 0; }
.flip-emblem svg { width: 19px; height: 19px; stroke: var(--terra-ink); fill: none; stroke-width: 1.8; }
.flip-card-num { font-family: var(--font-d); font-size: 10px; font-weight: 800; color: rgba(30,36,30,0.28); margin-bottom: 6px; }
.flip-card-front h3 {
  color: var(--ink); font-size: 15.5px; font-weight: 800; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.flip-card-front p {
  font-size: 12.8px; color: #5C5245; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.flip-card-tap-hint { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: rgba(76,106,62,0.1); display: flex; align-items: center; justify-content: center; }
.flip-card-tap-hint svg { width: 12px; height: 12px; stroke: var(--terra-ink); }
@media (max-width: 900px) {
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .flip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flip-card { height: 280px; }
  .flip-card-front { padding: 16px 13px; justify-content: center; gap: 2px; }
  .flip-emblem { width: 28px; height: 28px; border-radius: 8px; margin-bottom: 7px; }
  .flip-emblem svg { width: 14px; height: 14px; }
  .flip-card-num { font-size: 9px; margin-bottom: 4px; }
  .flip-card-front h3 { font-size: 13px; margin-bottom: 5px; }
  .flip-card-front p { font-size: 11px; line-height: 1.42; -webkit-line-clamp: 4; }
  .flip-card-tap-hint { width: 20px; height: 20px; top: 10px; right: 10px; }
  .flip-card-tap-hint svg { width: 10px; height: 10px; }
}
@media (max-width: 340px) {
  .flip-grid { grid-template-columns: 1fr; }
}
.flip-card-back {
  background: var(--bg-2); color: var(--cream); transform: rotateY(180deg);
  padding: 24px 22px; display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; border: 1px solid var(--border-strong);
}
.flip-card-back:hover { background: var(--bg-3); }
/* Touch devices (phones AND touch-tablets, regardless of width): the 3D flip
   needs front/back locked to one shared height, which always leaves one face
   with dead space since their content lengths differ. Touch has no hover to
   drive the flip anyway (toggleFlip() already handles the tap), so swap to a
   plain static show/hide instead: each card sizes to whichever face is
   actually showing, so there's never more box than the content needs. */
@media (hover: none), (pointer: coarse) {
  .flip-card { height: auto; }
  .flip-card-inner { position: static; transform: none !important; transition: none; }
  .flip-card-front, .flip-card-back { position: static; }
  .flip-card-back { display: none; }
  .flip-card.flipped .flip-card-front { display: none; }
  .flip-card.flipped .flip-card-back { display: flex; }
  .flip-card-front { padding: 20px 18px; }
  .flip-card-front p { -webkit-line-clamp: unset; }
  .flip-card-back { padding: 20px 18px; }
}
@media (max-width: 640px) and (hover: none), (max-width: 640px) and (pointer: coarse) {
  .flip-card-front { padding: 16px 14px; }
  .flip-emblem { width: 28px; height: 28px; border-radius: 8px; margin-bottom: 7px; }
  .flip-emblem svg { width: 14px; height: 14px; }
  .flip-card-num { font-size: 9px; margin-bottom: 4px; }
  .flip-card-front h3 { font-size: 13px; margin-bottom: 5px; }
  .flip-card-front p { font-size: 11px; line-height: 1.45; }
  .flip-card-tap-hint { width: 20px; height: 20px; top: 10px; right: 10px; }
  .flip-card-tap-hint svg { width: 10px; height: 10px; }
  .flip-card-back { padding: 16px 14px; }
  .flip-card-back-title { font-size: 9.5px; margin-bottom: 5px; }
  .flip-card-back ul { gap: 2px; }
  .flip-card-back li { font-size: 9.5px; line-height: 1.25; padding-left: 9px; }
  .flip-card-back-cta { font-size: 9px; margin-top: 8px; }
}
.flip-card-back-title { font-family: var(--font-d); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.flip-card-back ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.flip-card-back li {
  font-size: 13px; color: var(--cream-dim); line-height: 1.5; padding-left: 14px; position: relative;
}
.flip-card-back li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }
.flip-card-back-cta { font-family: var(--font-d); font-size: 11.5px; font-weight: 700; color: var(--terra); display: flex; align-items: center; gap: 6px; margin-top: 14px; }

/* ══════════════════ SERVICE CARDS (generic light-card grid, reused for education/partner etc.) ══════════════════ */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.svc-card {
  background: var(--card); border-radius: var(--radius); padding: 30px 26px; position: relative;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none; box-shadow: var(--shadow-card); cursor: pointer;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -16px rgba(0,0,0,0.28); }
.svc-card-stretch { position: absolute; inset: 0; z-index: 1; }
.svc-card > .btn { position: relative; z-index: 2; }
.svc-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(94,127,78,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc-icon svg { width: 22px; height: 22px; stroke: var(--terra-ink); fill: none; stroke-width: 1.8; }
.svc-card h3 { color: var(--ink); font-size: 15.5px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.svc-card p { color: #5C5245; font-size: 13.8px; line-height: 1.7; margin-bottom: 0; flex: 1; }
.svc-card .price-tag { font-family: var(--font-d); font-size: 13px; font-weight: 800; color: var(--terra-ink); margin-bottom: 16px; }
.svc-grid-2col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .svc-grid-2col { grid-template-columns: 1fr; } }
.svc-grid-2col .svc-card:nth-child(2n) { background: linear-gradient(160deg, var(--card), #F6EEDC); }
.svc-card .link-arrow { margin-top: auto; }
.svc-tail { text-align: center; margin-top: 32px; }

/* ══════════════════ WHY STRIP ══════════════════ */
.why-strip { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.why-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.why-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.why-img::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); pointer-events: none; }
.pattern-banner { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 20/7; }
.pattern-banner img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.pattern-banner::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); pointer-events: none; }
.pattern-banner-caption { text-align: center; font-size: 13px; color: var(--cream-faint); margin-top: 16px; }
@media (max-width: 640px) { .pattern-banner { aspect-ratio: 4/3; } }
.why-points { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.why-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--cream-dim); line-height: 1.7; }
.why-points .chk { width: 22px; height: 22px; border-radius: 50%; background: rgba(217,180,74,0.14); flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.why-points .chk svg { width: 11px; height: 11px; stroke: var(--gold); }
.why-points strong { color: var(--cream); font-weight: 700; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ══════════════════ GOOGLE REVIEWS PANEL ══════════════════ */
.greview-panel { display: flex; align-items: center; gap: 22px; background: var(--card); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow-card); }
.greview-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(30,36,30,0.04); display: flex; align-items: center; justify-content: center; }
.greview-text { flex: 1; min-width: 0; }
.greview-text h3 { color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.greview-text p { color: #5C5245; font-size: 13.5px; }
.greview-panel .btn { flex-shrink: 0; }
@media (max-width: 680px) { .greview-panel { flex-direction: column; text-align: center; padding: 28px 24px; } }

/* ══════════════════ GOOGLE REVIEWS REEL (auto-scrolling testimonial marquee) ══════════════════ */
.greview-reel-outer {
  width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.greview-track { display: flex; gap: 20px; width: max-content; padding: 4px 24px; animation: greview-scroll 36s linear infinite; }
.greview-reel-outer:hover .greview-track, .greview-reel-outer:focus-within .greview-track { animation-play-state: paused; }
@keyframes greview-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.greview-card {
  flex-shrink: 0; width: 320px; height: 272px; background: var(--card); border-radius: var(--radius);
  padding: 24px 24px 20px; box-shadow: var(--shadow-card); text-decoration: none;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.greview-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(0,0,0,0.3); }
.greview-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.greview-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.greview-card-quote {
  flex: 1; position: relative; color: #5C5245; font-size: 13.8px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.greview-card-quote::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background: linear-gradient(to bottom, transparent, var(--card) 80%); pointer-events: none;
}
.greview-card-author { display: flex; flex-direction: column; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.greview-card-name { color: var(--ink); font-weight: 800; font-size: 13.5px; }
.greview-card-biz { color: var(--terra-ink); font-size: 12px; margin-top: 2px; }
@media (max-width: 640px) {
  .greview-card { width: 268px; height: 288px; padding: 20px 20px 18px; }
  .greview-card-quote { font-size: 13px; -webkit-line-clamp: 8; }
  .greview-track { gap: 14px; }
}

/* ══════════════════ PARTNER STRIP ══════════════════ */
.partner-strip { padding: 56px 0; border-top: 1px solid var(--border); }
.partner-strip .container { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.partner-strip-label { font-family: var(--font-d); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.partner-logo-link { display: inline-flex; align-items: center; }
.partner-logo-link img { height: 42px; width: auto; filter: invert(1) brightness(1.6); opacity: .85; transition: opacity .2s; }
.partner-logo-link:hover img { opacity: 1; }
.partner-logo-link.on-light img { filter: none; opacity: 1; }
.helped-strip { padding-top: 36px; }
.helped-strip .container { flex-direction: column; gap: 22px; }
.helped-label {
  font-family: var(--font-d); font-size: 15px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cream);
}
.helped-logos { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.helped-logo-link {
  display: inline-flex; align-items: center; justify-content: center; background: var(--cream);
  border-radius: 14px; padding: 12px 22px; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.helped-logo-link:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(0,0,0,0.35); }
.helped-logo-link img { height: 56px; width: auto; display: block; }
.helped-logo-link.helped-logo-square img { height: 64px; }
@media (max-width: 480px) {
  .helped-label { font-size: 13.5px; }
  .helped-logo-link { padding: 10px 16px; }
  .helped-logo-link img { height: 44px; }
  .helped-logo-link.helped-logo-square img { height: 50px; }
}

/* ══════════════════ CTA BANNER ══════════════════ */
.cta-banner { text-align: center; padding: 48px 40px; background: linear-gradient(135deg, rgba(217,180,74,0.08), rgba(134,168,116,0.06)); border: 1px solid var(--border); border-radius: 20px; }
.cta-banner h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 14px; }
.cta-banner p { font-size: 15.5px; color: var(--cream-dim); margin: 0 auto 26px; max-width: 520px; line-height: 1.75; }
@media (max-width: 640px) { .cta-banner { padding: 36px 22px; } }

.disclaimer-bar { display: flex; gap: 14px; align-items: flex-start; padding: 20px 26px; background: rgba(236,231,218,0.04); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-top: 56px; }
.disclaimer-bar svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; flex-shrink: 0; margin-top: 2px; }
.disclaimer-bar p { font-size: 11.8px; color: var(--muted); line-height: 1.7; max-width: none; }
.disclaimer-bar p strong { color: var(--gold); }

/* ══════════════════ STAT / DIFF GRID ══════════════════ */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 1023px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card { background: rgba(236,231,218,0.04); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 26px 22px; }
.diff-num { font-family: var(--font-d); font-size: 34px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.diff-lbl { font-size: 12.8px; color: var(--cream-faint); line-height: 1.6; }
.diff-lbl sup { color: var(--gold); }
.refs-box { margin-top: 22px; padding: 20px 24px; background: rgba(217,180,74,0.04); border: 1px solid var(--gold-line); border-radius: var(--radius-sm); }
.refs-box p.refs-title { font-family: var(--font-d); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.refs-box ol { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.refs-box li { font-size: 11px; color: var(--muted); line-height: 1.65; display: flex; gap: 9px; max-width: none; }
.refs-box li span.n { color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ══════════════════ PILLARS (mission) ══════════════════ */
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 48px; }
@media (max-width: 640px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar { background: rgba(236,231,218,0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.pillar-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(217,180,74,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pillar-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.7; }
.pillar h3 { font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.pillar p { font-size: 14px; color: var(--cream-dim); line-height: 1.8; max-width: none; }

.founder-card { margin-top: 56px; background: rgba(236,231,218,0.04); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 40px; }
.founder-card p { font-size: 14.8px; color: var(--cream-dim); line-height: 1.85; margin-bottom: 16px; max-width: none; }
.founder-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.founder-note p { font-size: 11px; color: var(--muted); line-height: 1.7; }
.founder-note strong { color: var(--gold); }
@media (max-width: 640px) { .founder-card { padding: 30px 24px; } }

.vision-card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.vision-img { min-height: 320px; overflow: hidden; }
.vision-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.vision-text { padding: 48px 44px; }
.vision-text h2 { color: var(--ink); font-size: 26px; margin-bottom: 16px; }
.vision-text p { color: #4A3F38; font-size: 14px; line-height: 1.85; margin-bottom: 14px; max-width: none; }
@media (max-width: 780px) { .vision-card { grid-template-columns: 1fr; } .vision-img { min-height: 220px; } .vision-text { padding: 34px 28px; } }

.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 36px; }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-block h3 { font-size: 14px; font-weight: 800; color: var(--gold); margin-bottom: 12px; letter-spacing: .02em; }
.legal-block p { font-size: 13px; color: var(--cream-faint); line-height: 1.8; margin-bottom: 12px; max-width: none; }
.legal-block a { color: var(--terra); }

/* ══════════════════ MARKETING PACKAGES ══════════════════ */
.pkg-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; align-items: stretch; }
.pkg-grid.has-expanded { align-items: start; }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card);
  position: relative; border-top: 5px solid transparent; transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -16px rgba(0,0,0,0.28); }
.pkg-card-gold { border-top-color: var(--gold); background: linear-gradient(160deg, var(--card), #F6EEDC); }
.pkg-card-gold .btn-outline.on-light { border-color: rgba(217,180,74,0.45); color: #A87F26; }
.pkg-card-gold .btn-outline.on-light:hover { border-color: var(--gold); background: rgba(217,180,74,0.08); }
.pkg-card-clay { border-top-color: #96652E; background: linear-gradient(160deg, var(--card), #F2E8D7); }
.pkg-card-clay .btn-outline.on-light { border-color: rgba(150,101,46,0.4); color: #96652E; }
.pkg-card-clay .btn-outline.on-light:hover { border-color: #96652E; background: rgba(150,101,46,0.08); }
.pkg-card-umber { border-top-color: #6B4A24; background: linear-gradient(160deg, var(--card), #EDE2D3); }
.pkg-card-umber .btn-outline.on-light { border-color: rgba(107,74,36,0.4); color: #6B4A24; }
.pkg-card-umber .btn-outline.on-light:hover { border-color: #6B4A24; background: rgba(107,74,36,0.08); }
.pkg-card-front {
  padding: 36px 30px 30px; display: flex; flex-direction: column; height: 100%; cursor: pointer;
}
.pkg-card h3 { color: var(--ink); font-size: 21px; margin-bottom: 6px; }
.pkg-subhead { font-family: var(--font-d); font-style: italic; font-size: 13.5px; color: var(--terra-ink); margin-bottom: 20px; }
.pkg-price { font-family: var(--font-d); font-size: 26px; font-weight: 800; color: var(--ink); margin-bottom: 24px; }
.pkg-price span { display: block; font-family: var(--font-b); font-size: 12px; font-weight: 600; color: #7A6F68; margin-top: 2px; }
.pkg-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pkg-list li { font-size: 13px; color: #5C5245; line-height: 1.55; padding-left: 20px; position: relative; }
.pkg-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--terra-ink); font-weight: 800; }
.pkg-cta { margin-top: auto; justify-content: center; pointer-events: none; }
.pkg-card-form { display: none; padding: 30px; }
.pkg-card.expanded .pkg-card-front { display: none; }
.pkg-card.expanded .pkg-card-form { display: block; }
.pkg-form-back { background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: var(--font-d); font-size: 12px; font-weight: 700; color: #7A6F68; padding: 0; margin-bottom: 18px; }
.pkg-form-back:hover { color: var(--terra-ink); }
.pkg-form-package { font-size: 13px; color: #5C5245; background: rgba(94,127,78,0.08); border-radius: 8px; padding: 10px 14px; margin-bottom: 18px; }
.pkg-form-package strong { color: var(--ink); }
.pkg-card-msg { font-size: 12.5px; margin-top: 10px; display: none; }
.pkg-card-msg.show { display: block; }
.pkg-card-msg.err { color: var(--brick); }
.pkg-card-msg.ok { color: var(--terra-ink); }

/* ══════════════════ TAILORED MARKETING ENQUIRY ══════════════════ */
.tailored-box { margin-top: 32px; background: linear-gradient(160deg, var(--card), #E6EEDF); border: 1px solid rgba(94,127,78,0.25); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.tailored-box-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 32px; cursor: pointer; background: none; border: none; width: 100%; text-align: left; }
.tailored-box-text strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.tailored-box-text span { font-size: 13px; color: #5C5245; }
.tailored-box-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tailored-box-form { display: none; padding: 0 32px 32px; }
.tailored-box.expanded .tailored-box-form { display: block; }
@media (max-width: 640px) {
  .tailored-box-main { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 22px; }
  .tailored-box-actions { flex-direction: column; width: 100%; }
  .tailored-box-actions .btn { width: 100%; }
  .tailored-box-form { padding: 0 22px 26px; }
}

/* ══════════════════ SERVICES OVERVIEW (3 audience cards) ══════════════════ */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; scroll-margin-top: 100px; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card { background: var(--card); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; border-top: 5px solid transparent; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.audience-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -16px rgba(0,0,0,0.28); }
.audience-card h3 { color: var(--ink); font-size: 21px; margin-bottom: 10px; }
.audience-card .promise { font-family: var(--font-d); font-style: italic; font-size: 14px; color: var(--terra-ink); margin-bottom: 18px; }
.audience-card .from-price { font-family: var(--font-d); font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.audience-card .from-note { font-size: 11.5px; color: #7A6F68; margin-bottom: 24px; }
.audience-card .btn { margin-top: auto; }
.audience-card-gold { border-top-color: var(--gold); background: linear-gradient(160deg, var(--card), #F6EEDC); }
.audience-card-gold .promise { color: #A87F26; }
.audience-card-gold .btn-outline.on-light { border-color: rgba(217,180,74,0.45); color: #A87F26; }
.audience-card-gold .btn-outline.on-light:hover { border-color: var(--gold); background: rgba(217,180,74,0.08); }
.audience-card-clay { border-top-color: #96652E; background: linear-gradient(160deg, var(--card), #F2E8D7); }
.audience-card-clay .promise { color: #96652E; }
.audience-card-clay .btn-outline.on-light { border-color: rgba(150,101,46,0.4); color: #96652E; }
.audience-card-clay .btn-outline.on-light:hover { border-color: #96652E; background: rgba(150,101,46,0.08); }
.audience-card-umber { border-top-color: #6B4A24; background: linear-gradient(160deg, var(--card), #EDE2D3); }
.audience-card-umber .promise { color: #6B4A24; }
.audience-card-umber .btn-outline.on-light { border-color: rgba(107,74,36,0.4); color: #6B4A24; }
.audience-card-umber .btn-outline.on-light:hover { border-color: #6B4A24; background: rgba(107,74,36,0.08); }
.pricing-note { text-align: center; font-size: 13px; color: var(--cream-faint); margin-top: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ══════════════════ CATEGORY PAGE: PRODUCT LINE CARDS ══════════════════ */
.bundle-hint { text-align: center; font-size: 13px; color: var(--cream-faint); margin-top: -28px; margin-bottom: 36px; }
.product-lines { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.pline-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 2px solid transparent; transition: border-color .15s; }
.pline-card.selected { border-color: var(--terra-ink); }
.pline-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: none; border: none; cursor: pointer; text-align: left; }
.pline-head-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pline-check { width: 24px; height: 24px; border-radius: 7px; border: 2px solid rgba(30,36,30,0.25); background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; }
.pline-check svg { width: 13px; height: 13px; stroke: #fff; opacity: 0; transition: opacity .15s; }
.pline-card.selected .pline-check { background: var(--terra-ink); border-color: var(--terra-ink); }
.pline-card.selected .pline-check svg { opacity: 1; }
.pline-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pline-icon svg { width: 17px; height: 17px; fill: none; stroke-width: 1.8; }
.pline-title { font-family: var(--font-d); font-size: 14.5px; font-weight: 800; color: var(--ink); min-width: 0; }
.pline-caret { width: 16px; height: 16px; stroke: #7A6F68; flex-shrink: 0; transition: transform .2s; }
.pline-card.open .pline-caret { transform: rotate(180deg); }
.pline-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.pline-card.open .pline-body { max-height: 600px; }
.pline-body-inner { padding: 0 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.pline-item dt { font-family: var(--font-d); font-size: 13.5px; font-weight: 700; color: var(--terra-ink); margin-bottom: 3px; }
.pline-item dd { font-size: 13px; color: #5C5245; line-height: 1.7; margin: 0; }
.pline-averaks { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(30,36,30,0.08); font-size: 12px; color: #7A6F68; }
.pline-averaks img { height: 24px; width: auto; }
.pline-full-guide { display: flex; align-items: center; gap: 6px; margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(30,36,30,0.08); font-family: var(--font-d); font-size: 12.5px; font-weight: 700; color: var(--terra-ink); text-decoration: none; }
.pline-full-guide svg { width: 13px; height: 13px; flex-shrink: 0; }
.pline-full-guide:hover { color: var(--gold); }

.pline-overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; align-items: start; }
@media (max-width: 900px) { .pline-overview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pline-overview-grid { grid-template-columns: 1fr; } }
.pline-overview-grid .pline-card { border-top: 5px solid transparent; }
.pline-overview-grid .pline-gold { border-top-color: #A87F26; }
.pline-overview-grid .pline-terra { border-top-color: var(--terra-deep); }
.pline-overview-grid .pline-brick { border-top-color: #A15A44; }
.pline-overview-grid .pline-sage { border-top-color: var(--terra-ink); }
.pline-overview-grid .pline-clay { border-top-color: #96652E; }
.pline-overview-grid .pline-umber { border-top-color: #6B4A24; }
.pline-overview-grid .pline-card:not(.pline-flip-card) { display: flex; flex-direction: column; }
.pline-overview-grid .pline-card:not(.pline-flip-card) > .pline-head { flex: 1 0 auto; }
@media (hover: hover) and (pointer: fine) {
  .pline-overview-grid .pline-card:not(.pline-flip-card) { height: 210px; }
  .pline-overview-grid .pline-card.open:not(.pline-flip-card) { height: auto; }
}
/* Default (and permanent, on touch devices): a simple static card, no 3D
   flip. The flip effect below is opted into only once site.js confirms real
   hover support via matchMedia and adds .flip-hover-capable to <html>, so a
   tap can never leave it stuck mid-transform the way a live
   @media(hover:hover) + :hover combination could on touch Chrome, where a
   tap can trigger a "stuck hover" with no matching mouseleave to clear it. */
.pline-flip-card { display: block; position: relative; text-decoration: none; height: auto; padding: 0; overflow: visible; }
.pline-flip-inner { position: static; width: 100%; height: 100%; }
.pline-flip-front { position: static; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-radius: var(--radius); overflow: hidden; }
.pline-flip-back { display: none; }
.pline-flip-back-title { font-family: var(--font-d); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pline-flip-back ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pline-flip-back li { font-size: 12.5px; color: var(--cream-dim); line-height: 1.4; padding-left: 14px; position: relative; }
.pline-flip-back li::before { content: ''; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }
.pline-flip-back-cta { font-family: var(--font-d); font-size: 11.5px; font-weight: 700; color: var(--terra); display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.pline-flip-back-cta svg { width: 13px; height: 13px; flex-shrink: 0; }
.pline-link-click { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(30,36,30,0.06); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.pline-link-click svg { width: 12px; height: 12px; stroke: #7A6F68; }

html.flip-hover-capable .pline-flip-card { height: 210px; perspective: 1200px; transition: transform .15s ease, box-shadow .15s ease; }
html.flip-hover-capable .pline-flip-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -16px rgba(0,0,0,0.28); }
html.flip-hover-capable .pline-flip-inner { position: relative; transition: transform .5s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; }
html.flip-hover-capable .pline-flip-card:hover .pline-flip-inner { transform: rotateY(180deg); }
html.flip-hover-capable .pline-flip-front, html.flip-hover-capable .pline-flip-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius); overflow: hidden; }
html.flip-hover-capable .pline-flip-back { display: flex; flex-direction: column; justify-content: space-between; background: var(--bg-2); color: var(--cream); transform: rotateY(180deg); border: 1px solid var(--border-strong); padding: 20px 22px; }
html.flip-hover-capable .pline-flip-card:hover .pline-link-click { background: rgba(30,36,30,0.14); }

.pline-gold { background: linear-gradient(160deg, var(--card), #F6EEDC); }
.pline-gold .pline-icon { background: rgba(217,180,74,0.2); }
.pline-gold .pline-icon svg { stroke: #A87F26; }
.pline-gold.selected { border-color: #A87F26; }
.pline-gold.selected .pline-check { background: #A87F26; border-color: #A87F26; }
.pline-terra { background: linear-gradient(160deg, var(--card), #EDF2E6); }
.pline-terra .pline-icon { background: rgba(94,127,78,0.2); }
.pline-terra .pline-icon svg { stroke: var(--terra-deep); }
.pline-terra.selected { border-color: var(--terra-deep); }
.pline-terra.selected .pline-check { background: var(--terra-deep); border-color: var(--terra-deep); }
.pline-brick { background: linear-gradient(160deg, var(--card), #F6EAE4); }
.pline-brick .pline-icon { background: rgba(194,125,101,0.22); }
.pline-brick .pline-icon svg { stroke: #A15A44; }
.pline-brick.selected { border-color: #A15A44; }
.pline-brick.selected .pline-check { background: #A15A44; border-color: #A15A44; }
.pline-sage { background: linear-gradient(160deg, var(--card), #E9EFE5); }
.pline-sage .pline-icon { background: rgba(76,106,62,0.2); }
.pline-sage .pline-icon svg { stroke: var(--terra-ink); }
.pline-sage.selected { border-color: var(--terra-ink); }
.pline-sage.selected .pline-check { background: var(--terra-ink); border-color: var(--terra-ink); }
.pline-clay { background: linear-gradient(160deg, var(--card), #F2E8D7); }
.pline-clay .pline-icon { background: rgba(150,101,46,0.2); }
.pline-clay .pline-icon svg { stroke: #96652E; }
.pline-clay.selected { border-color: #96652E; }
.pline-clay.selected .pline-check { background: #96652E; border-color: #96652E; }
.pline-umber { background: linear-gradient(160deg, var(--card), #EDE2D3); }
.pline-umber .pline-icon { background: rgba(107,74,36,0.2); }
.pline-umber .pline-icon svg { stroke: #6B4A24; }
.pline-umber.selected { border-color: #6B4A24; }
.pline-umber.selected .pline-check { background: #6B4A24; border-color: #6B4A24; }

.shortlist-bar { position: sticky; bottom: 16px; margin-top: 28px; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 999px; padding: 12px 12px 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: var(--shadow-pop); flex-wrap: wrap; }
.shortlist-bar.empty { display: none; }
.shortlist-text { font-size: 12.8px; color: var(--cream-dim); }
.shortlist-text strong { color: var(--gold); }

/* ══════════════════ INCLUDED TICK LIST ══════════════════ */
.included-block { margin-top: 56px; padding: 36px 40px; background: rgba(217,180,74,0.05); border: 1px solid var(--gold-line); border-radius: var(--radius); }
.included-block h3 { font-size: 16px; margin-bottom: 22px; }
.tick-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 24px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--cream-dim); line-height: 1.6; }
.tick-svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 640px) { .included-block { padding: 28px 24px; } }

/* ══════════════════ PRICING PANEL (category pages) ══════════════════ */
.pricing-panel { margin-top: 56px; background: var(--card); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow-card); }
.pricing-panel .pp-figure { font-family: var(--font-d); font-size: 26px; font-weight: 800; color: var(--ink); }
.pricing-panel .pp-sub { font-size: 13.5px; color: #7A6F68; margin-top: 4px; margin-bottom: 28px; }
.pp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.pp-col-label { font-family: var(--font-d); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.pp-col-label.yes { color: var(--terra-ink); }
.pp-col-label.no { color: var(--brick); }
.pp-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pp-list li { font-size: 13.5px; color: #5C5245; line-height: 1.6; padding-left: 20px; position: relative; }
.pp-list.yes li::before { content: '✓'; position: absolute; left: 0; color: var(--terra-ink); font-weight: 800; }
.pp-list.no li::before { content: '✕'; position: absolute; left: 0; color: var(--brick); font-weight: 800; }
.pp-col-label.neutral { color: #7A6F68; }
.pp-list.neutral li::before { content: '•'; position: absolute; left: 4px; color: var(--gold); font-weight: 800; }
.pp-budget { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(30,36,30,0.1); font-size: 13.5px; color: #5C5245; font-style: italic; }
.pp-cta { margin-top: 28px; }
@media (max-width: 700px) { .pp-cols { grid-template-columns: 1fr; gap: 24px; } .pricing-panel { padding: 30px 26px; } }

.pricing-diff-note { text-align: center; margin: 40px auto 0; font-size: 13.5px; color: var(--cream-faint); max-width: 620px; line-height: 1.8; }

/* ══════════════════ PROCESS STEPS ══════════════════ */
.process-list { display: flex; flex-direction: column; margin-top: 40px; }
.process-step { display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.process-step:last-child { border-bottom: none; }
.step-num { font-family: var(--font-d); font-weight: 800; font-size: 15px; color: var(--gold); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold-line); display: flex; align-items: center; justify-content: center; }
.step-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--cream-dim); line-height: 1.8; max-width: 62ch; }

/* ══════════════════ EDUCATION HUB ══════════════════ */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.edu-card { background: var(--card); border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow-card); text-decoration: none; display: flex; flex-direction: column; }
.edu-card h3 { color: var(--ink); font-size: 22px; margin-bottom: 12px; }
.edu-card p { color: #5C5245; font-size: 14px; line-height: 1.8; margin-bottom: 20px; flex: 1; }

/* ══════════════════ LIBRARY ══════════════════ */
.lib-header { padding: 150px 0 40px; text-align: center; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.lib-search-wrap { position: relative; max-width: 460px; margin: 28px auto 0; }
.lib-search-wrap svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--muted); }
.lib-search-input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg-2); color: var(--cream); font-family: var(--font-b); }
.lib-search-input::placeholder { color: var(--muted); }
.lib-search-input:focus { outline: none; border-color: var(--gold); }

.lib-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 48px 0 100px; align-items: start; }
.lib-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; }
.cat-pill { text-align: left; background: none; border: none; font-family: var(--font-d); font-size: 12.5px; font-weight: 700; color: var(--cream-dim); padding: 10px 14px; border-radius: 8px; cursor: pointer; transition: background .15s, color .15s; }
.cat-pill:hover { background: rgba(217,180,74,0.06); }
.cat-pill.active { background: rgba(217,180,74,0.12); color: var(--gold); }

.lib-section { margin-bottom: 56px; scroll-margin-top: 100px; }
.lib-section-title { font-family: var(--font-d); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.lib-section-desc { font-size: 13.5px; color: var(--cream-faint); margin-bottom: 24px; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.book-card { background: var(--card); border-radius: var(--radius-sm); padding: 22px 20px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.book-title { font-family: var(--font-d); font-size: 14.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.book-author { font-size: 12px; color: var(--terra-ink); font-weight: 600; margin-bottom: 10px; }
.book-blurb { font-size: 12.8px; color: #5C5245; line-height: 1.65; margin-bottom: 14px; flex: 1; max-width: none; }
.book-buy { font-family: var(--font-d); font-size: 11.5px; font-weight: 700; color: var(--terra-ink); text-decoration: none; }
.book-buy:hover { color: var(--gold-soft); }
.lib-no-results { display: none; text-align: center; padding: 60px 24px; }
.lib-no-results p { margin: 0 auto 18px; color: var(--cream-dim); max-width: 420px; }
@media (max-width: 860px) {
  .lib-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .lib-sidebar { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; gap: 8px; }
  .cat-pill { white-space: nowrap; flex-shrink: 0; }
}

/* ══════════════════ NEWSLETTER ══════════════════ */
.news-plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.news-plan-card {
  max-width: none; margin: 0; display: flex; flex-direction: column; position: relative;
  color: var(--ink) !important; background-color: var(--card); border: 1px solid var(--border-strong);
}
.news-plan-card .form-title { color: var(--ink) !important; }
.news-plan-card .form-subtitle { color: #7A6F68 !important; }
.news-plan-paid {
  background: linear-gradient(160deg, var(--card), #F1ECDF); border: 1.5px solid var(--gold-line);
  box-shadow: 0 24px 48px -20px rgba(20,16,4,0.35); cursor: pointer;
}
.news-plan-paid:hover { transform: translateY(-3px); transition: transform .2s; }
.news-plan-paid:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.news-plan-card-head { cursor: pointer; margin: -4px -4px 0; padding: 4px 4px 0; border-radius: var(--radius-sm); }
.news-plan-card-head:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 2px; }
.news-plan-badge {
  position: absolute; top: 16px; right: 16px; font-family: var(--font-d); font-size: 10px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #4A3A12 !important; background-color: var(--gold) !important;
  padding: 5px 11px; border-radius: 999px; z-index: 2; white-space: nowrap;
}
.news-plan-mark { height: 34px; width: 154px; align-self: flex-start; flex-shrink: 0; margin: 0 0 16px; object-fit: contain; }
.news-plan-price { font-family: var(--font-d); font-size: 30px; font-weight: 800; color: var(--ink) !important; margin: 6px 0 4px; }
.news-plan-price span { font-size: 13px; font-weight: 600; color: #7A6F68 !important; }
.news-plan-desc { font-size: 13px; color: #5C5245 !important; line-height: 1.7; margin: 12px 0 20px; flex: 1; }
.news-plan-fineprint { font-size: 11.5px; color: #6B6152 !important; line-height: 1.6; margin-top: 12px; text-align: center; }
@media (max-width: 720px) {
  .news-plans-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-plan-card .form-subtitle { margin-bottom: 14px; }
}
@media (max-width: 480px) {
  .news-plan-badge { top: 14px; right: 14px; font-size: 9px; padding: 4px 9px; }
  .news-plan-mark { height: 26px; width: 118px; margin-bottom: 14px; }
}
.prognosis-mark { max-width: 340px; width: 100%; height: auto; margin: 0 auto; display: block; }
.prognosis-mark-sm { max-width: 150px; width: 100%; height: auto; display: block; }
@media (max-width: 480px) { .prognosis-mark { max-width: 260px; } }
.news-empty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; background: rgba(236,231,218,0.04); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.news-empty h3 { color: var(--cream); font-size: 18px; margin-bottom: 10px; }
.news-empty p { color: var(--cream-faint); font-size: 14px; max-width: 460px; margin: 0 auto; line-height: 1.8; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.news-card { background: var(--card); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-card); cursor: pointer; border: none; text-align: left; text-decoration: none; display: flex; flex-direction: column; font-family: var(--font-b); }
.news-card:hover { transform: translateY(-3px); transition: transform .2s; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.news-tag { font-family: var(--font-d); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-ink); background: rgba(94,127,78,0.12); padding: 5px 10px; border-radius: 999px; }
.news-date { font-size: 11.5px; color: #9A8F82; }
.news-card h3 { color: var(--ink); font-size: 16px; margin-bottom: 10px; }
.news-card p { color: #5C5245; font-size: 13.5px; line-height: 1.7; }
.news-placeholder-flag { display: inline-block; margin-top: 12px; font-family: var(--font-d); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brick); }

/* ══════════════════ NEWSLETTER SCROLL PROMPT ══════════════════ */
.newsletter-scroll-prompt {
  position: fixed; z-index: 150; right: 18px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 10px;
  color: var(--gold); font-family: var(--font-d); font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
  opacity: 1; transition: opacity .4s ease;
}
.newsletter-scroll-prompt.hidden { opacity: 0; pointer-events: none; }
.newsletter-scroll-label { writing-mode: vertical-rl; }
.newsletter-scroll-prompt svg { width: 20px; height: 20px; stroke: var(--gold); animation: newsletter-scroll-bounce 1.6s ease-in-out infinite; }
.newsletter-scroll-prompt:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@keyframes newsletter-scroll-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 720px) {
  .newsletter-scroll-prompt {
    right: auto; top: auto; left: 50%; bottom: 18px; transform: translateX(-50%);
    flex-direction: row; background: rgba(27,35,29,0.82); backdrop-filter: blur(4px);
    border-radius: 999px; padding: 9px 18px; gap: 8px;
  }
  .newsletter-scroll-label { writing-mode: horizontal-tb; }
  .newsletter-scroll-prompt svg { width: 16px; height: 16px; }
}

/* ══════════════════ CURSOR TRAIL (desktop only) ══════════════════ */
.cursor-trail {
  position: fixed; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(236,231,218,0.32); border: 1px solid rgba(236,231,218,0.18);
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%);
  opacity: 0; transition: opacity .25s ease, width .18s ease, height .18s ease;
  mix-blend-mode: screen;
}
.cursor-trail.active { opacity: 1; }
.cursor-trail.hovering { width: 34px; height: 34px; background: rgba(217,180,74,0.28); border-color: rgba(217,180,74,0.3); }
@media (hover: none), (pointer: coarse) { .cursor-trail { display: none; } }

.modal-overlay { position: fixed; inset: 0; z-index: 500; background: rgba(15,19,15,0.72); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--card); border-radius: var(--radius); max-width: 620px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 40px; position: relative; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; min-height: 0; border-radius: 50%; background: rgba(30,36,30,0.06); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-close svg { width: 16px; height: 16px; stroke: var(--ink); }
.modal-close::before { content: ''; position: absolute; inset: -10px; }
.modal-box .news-meta { margin-bottom: 14px; }
.modal-box h2 { color: var(--ink); font-size: 22px; margin-bottom: 16px; }
.modal-box p.modal-summary { color: #4A3F38; font-size: 14.5px; line-height: 1.85; margin-bottom: 20px; }
.modal-disclaimer { font-size: 11.5px; color: #8A7F72; font-style: italic; margin-bottom: 28px; padding: 14px 16px; background: rgba(94,127,78,0.06); border-radius: 8px; }
.modal-signup-box { padding: 24px; background: rgba(217,180,74,0.08); border: 1px solid rgba(217,180,74,0.25); border-radius: var(--radius-sm); margin-bottom: 18px; }
.modal-signup-box h4 { color: var(--ink); font-size: 14.5px; margin-bottom: 14px; }
.modal-paid-box { padding: 20px 24px; border: 1px solid rgba(30,36,30,0.12); border-radius: var(--radius-sm); }
.modal-paid-box p { font-size: 13px; color: #5C5245; margin-bottom: 12px; }
.modal-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 20px; color: #9A8F82; font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: rgba(30,36,30,0.12); }
.exit-modal-quick-actions { display: flex; flex-direction: column; gap: 10px; }

/* ══════════════════ MAILCHIMP FORM (rebuilt) ══════════════════ */
.mc-form { display: flex; flex-direction: column; gap: 10px; }
.mc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mc-row .mc-field { flex: 1; min-width: 140px; }
.mc-field input { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(30,36,30,0.15); background: #fff; color: var(--ink); font-family: var(--font-b); font-size: 14px; }
.mc-field input:focus { outline: none; border-color: var(--terra-ink); box-shadow: 0 0 0 3px rgba(94,127,78,0.15); }
.mc-honeypot { position: absolute; left: -5000px; }
.mc-submit { font-family: var(--font-d); font-weight: 800; font-size: 13px; letter-spacing: .03em; background: var(--terra-ink); color: #fff; border: none; border-radius: 999px; padding: 13px; cursor: pointer; transition: background .2s; }
.mc-submit:hover { background: var(--terra-deep); }
.mc-submit:disabled { opacity: .6; cursor: default; }
.mc-msg { font-size: 12.5px; margin-top: 4px; display: none; }
.mc-msg.show { display: block; }
.mc-msg.ok { color: var(--terra-ink); }
.mc-msg.err { color: var(--brick); }
.mc-consent { font-size: 11px; color: #8A7F72; line-height: 1.6; margin-top: 4px; }
.mc-consent a { color: var(--terra-ink); }
.on-dark .mc-consent { color: var(--muted); }
.on-dark .mc-consent a { color: var(--terra); }

/* ══════════════════ FLOATING BANNER (newsletter / CTA) ══════════════════ */
.float-banner {
  position: fixed; right: 20px; left: auto; bottom: 20px; z-index: 150;
  width: 320px; background: rgba(248,245,239,0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop); padding: 20px; display: none;
  flex-direction: column; align-items: flex-start;
  transform: translateY(140%); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.float-banner.show { display: flex; transform: translateY(0); opacity: 1; }
.float-banner-mark { height: 17px; width: auto; margin-bottom: 10px; }
.float-banner-text { width: 100%; margin-bottom: 16px; }
.float-banner-text strong { display: block; color: var(--ink); font-size: 14.5px; font-family: var(--font-d); margin-bottom: 4px; padding-right: 22px; }
.float-banner-text span { display: block; font-size: 12px; color: #7A6F68; line-height: 1.5; }
.float-banner-actions { width: 100%; }
.float-banner-actions .btn { width: 100%; justify-content: center; }
.float-banner-dismiss { position: absolute; top: 12px; right: 12px; background: rgba(30,36,30,0.1); border: 1px solid rgba(30,36,30,0.14); width: 30px; height: 30px; min-height: 0; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #2A251F; transition: background .15s ease; }
.float-banner-dismiss::before { content: ''; position: absolute; inset: -10px; }
.float-banner-dismiss svg { stroke-width: 2.5; }
.float-banner-dismiss:hover { background: rgba(30,36,30,0.2); }
.float-banner-form { width: 100%; margin-top: 14px; }
/* generic CTA variant (non-newsletter) */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: inline-flex; align-items: center; gap: 9px; background: var(--gold); color: #24200F; font-family: var(--font-d); font-weight: 800; font-size: 12.5px; letter-spacing: .02em; padding: 15px 22px; border-radius: 999px; text-decoration: none; border: none; cursor: pointer; box-shadow: 0 12px 30px -8px rgba(217,180,74,0.6); transform: translateY(120%); opacity: 0; transition: transform .35s ease, opacity .35s ease, background .2s; }
.float-cta.show { transform: translateY(0); opacity: 1; }
.float-cta:hover { background: var(--gold-soft); }
.float-cta svg { width: 15px; height: 15px; }
@media (max-width: 860px) {
  .float-cta { left: 16px; right: 16px; bottom: 16px; justify-content: center; width: auto; padding: 16px; }
  .float-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* ══════════════════ COOKIE CONSENT BANNER ══════════════════ */
.cookie-banner {
  position: fixed; left: 16px; right: auto; bottom: 16px; z-index: 400;
  width: 280px; max-width: calc(100% - 32px);
  background: rgba(248,245,239,0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-pop); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner-close {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; min-height: 0;
  border-radius: 50%; background: rgba(30,36,30,0.1); border: 1px solid rgba(30,36,30,0.14); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.cookie-banner-close::before { content: ''; position: absolute; inset: -10px; }
.cookie-banner-close:hover { background: rgba(30,36,30,0.2); }
.cookie-banner-close svg { width: 15px; height: 15px; stroke: #2A251F; stroke-width: 2.5; }
.cookie-banner-close:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 2px; }

/* Collapsed state: scrolling shrinks the banner to just this small icon, so
   it stops covering content but the visitor can still bring it back. */
.cookie-banner-mini {
  display: none; position: relative; width: 44px; height: 44px; min-height: 0;
  border-radius: 50%; background: rgba(248,245,239,0.92); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-pop); align-items: center; justify-content: center; cursor: pointer; color: #4A3F38;
}
.cookie-banner-mini::before { content: ''; position: absolute; inset: -8px; }
.cookie-banner.collapsed {
  width: auto; padding: 0; background: none; border: none; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.cookie-banner.collapsed > *:not(.cookie-banner-mini) { display: none; }
.cookie-banner.collapsed .cookie-banner-mini { display: flex; }
.cookie-banner p { font-size: 11px; line-height: 1.5; color: #4A3F38; margin: 0; padding-right: 24px; }
.cookie-banner p a { color: var(--terra-ink); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-banner-actions .btn { flex: 1; padding: 10px 12px; font-size: 11.5px; }
.cookie-banner .btn:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 2px; }
/* Below 860px both banners go full-width and stack vertically (see above), so lift the
   newsletter/CTA banner clear of the cookie banner while it's open. Above 860px they sit
   in their own corners (cookie bottom-left, newsletter bottom-right) with room to spare. */
@media (max-width: 860px) {
  .cookie-banner { left: 12px; right: 12px; width: auto; max-width: none; bottom: 12px; padding: 16px 18px; }
  body.cookie-banner-open .float-cta,
  body.cookie-banner-open .float-banner { bottom: 185px; }
}

/* ══════════════════ CONTACT (Let's Build) ══════════════════ */
.contact-hero { padding: 150px 0 8px; text-align: center; }
.scheduler-card { background: var(--card); border-radius: var(--radius); padding: 16px; margin-top: 28px; box-shadow: var(--shadow-card); }
.scheduler-frame-wrap { border-radius: var(--radius-sm); overflow: hidden; }
.scheduler-iframe { width: 100%; height: 620px; border: none; display: block; }
.scheduler-mobile-btn { display: none; }
@media (max-width: 680px) { .scheduler-frame-wrap { display: none; } .scheduler-mobile-btn { display: flex; margin: 6px; } }

.divider-label { text-align: center; padding: 40px 0 4px; }
.divider-label span { font-family: var(--font-d); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ══════════════════ BOOK A CALL: two options side by side ══════════════════ */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 12px; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; gap: 36px; } }
.book-option-head { margin-bottom: 4px; }
.book-option-head h2 { font-size: clamp(20px, 2.6vw, 25px); margin: 6px 0 8px; }
.book-option-sub { font-size: 13.5px; color: var(--cream-dim); line-height: 1.7; }
.book-option .enquiry-form { margin-top: 20px; }
.book-calendar-link { display: inline-block; margin-top: 14px; font-family: var(--font-d); font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none; }
.book-calendar-link:hover { text-decoration: underline; }
@media (max-width: 680px) { .book-calendar-link { display: none; } }
.book-phone-option {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 40px; padding: 20px; background: rgba(217,180,74,0.06); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--cream-dim); text-align: center;
}
.book-phone-link { font-family: var(--font-d); font-weight: 800; font-size: 17px; color: var(--gold); text-decoration: none; }
.book-phone-link:hover { text-decoration: underline; }
.contact-info-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; padding: 16px 0 80px; }
.contact-info-strip .contact-detail { margin-top: 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 40px 0 100px; align-items: start; }
.contact-info h2 { font-size: 22px; margin-bottom: 16px; }
.contact-info p { font-size: 14.5px; color: var(--cream-dim); line-height: 1.85; margin-bottom: 16px; }
.contact-detail { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--cream-dim); margin-top: 14px; }
.contact-detail svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.7; flex-shrink: 0; }
.contact-detail a { color: var(--cream-dim); text-decoration: none; }
.contact-detail a:hover { color: var(--gold); }
.response-box { margin-top: 30px; padding: 18px 22px; background: rgba(217,180,74,0.06); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.response-box strong { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-family: var(--font-d); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.response-box p { font-size: 12.8px; color: var(--muted); margin: 0; }

.enquiry-form { background: var(--card); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-card); }
.form-title { font-family: var(--font-d); font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.form-subtitle { font-size: 13px; color: #7A6F68; margin-bottom: 28px; }
.form-subtitle a { color: var(--terra-ink); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-d); font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--brick); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(30,36,30,0.15); background: #fff; color: var(--ink); font-family: var(--font-b); }
.field textarea { resize: vertical; font-family: var(--font-b); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra-ink); box-shadow: 0 0 0 3px rgba(94,127,78,0.15); }
.field-checklist { display: flex; flex-direction: column; gap: 8px; }
.field-checklist label { display: flex; align-items: center; gap: 9px; font-family: var(--font-b); font-weight: 400; font-size: 13.5px; color: var(--ink); }
.field-checklist input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; flex-shrink: 0; }
.shortlist-note { margin-top: 10px; padding: 12px 14px; background: rgba(94,127,78,0.08); border: 1px solid rgba(94,127,78,0.25); border-radius: 8px; font-size: 12.5px; color: #3E4A38; line-height: 1.7; }
.shortlist-note strong { display: block; color: var(--terra-ink); font-family: var(--font-d); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.form-submit p { font-size: 11.5px; color: #7A6F68; margin-bottom: 16px; max-width: none; }
.form-submit a { color: var(--terra-ink); }
.btn-submit { width: 100%; font-family: var(--font-d); font-weight: 800; font-size: 13.5px; letter-spacing: .04em; background: var(--terra-ink); color: #fff; border: none; border-radius: 999px; padding: 16px; cursor: pointer; transition: background .2s; }
.btn-submit:hover { background: var(--terra-deep); }
.btn-submit:disabled { opacity: .6; cursor: default; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .enquiry-form { padding: 28px 22px; } }

/* ══════════════════ THANK YOU PAGES ══════════════════ */
.thankyou-page { padding: 170px 0 120px; text-align: center; }
.thankyou-icon { width: 62px; height: 62px; margin: 0 auto 24px; border-radius: 50%; background: rgba(217,180,74,0.12); display: flex; align-items: center; justify-content: center; }
.thankyou-icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.thankyou-page h1 { font-size: clamp(28px,4.4vw,40px); margin-bottom: 16px; }
.thankyou-page .lede { max-width: 560px; margin: 0 auto 36px; }
.thankyou-page .lede a { color: var(--terra); }
.thankyou-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 480px) { .thankyou-links { flex-direction: column; } .thankyou-links .btn { width: 100%; } }

/* ══════════════════ LEGAL PAGES ══════════════════ */
.legal-page { padding: 150px 0 100px; }
.legal-page h1 { font-size: 30px; margin-bottom: 6px; }
.legal-page .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 40px; }
.legal-page h2 { font-size: 16px; font-weight: 800; margin: 34px 0 12px; color: var(--gold); }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li { font-size: 14px; color: var(--cream-dim); line-height: 1.85; }
.legal-page ul { margin: 10px 0 10px 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--terra); }
.draft-flag { display: inline-block; font-family: var(--font-d); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brick); background: rgba(194,125,101,0.1); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ══════════════════ FOOTER ══════════════════ */
footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; text-decoration: none; }
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; }
.footer-brand-name { font-family: var(--font-d); font-size: 15.5px; font-weight: 800; color: var(--cream); }
.footer-tagline { font-size: 13px; color: var(--cream-faint); line-height: 1.7; max-width: 260px; }
.footer-col-title { font-family: var(--font-d); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a, .footer-links button { background: none; border: none; text-align: left; font-family: var(--font-b); font-size: 13.5px; color: var(--cream-dim); text-decoration: none; cursor: pointer; padding: 0; min-height: 0; }
.footer-links a:hover, .footer-links button:hover { color: var(--gold); }
.footer-cta-mini p { font-size: 13px; color: var(--cream-dim); margin-bottom: 16px; }
.footer-phone { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-family: var(--font-d); font-size: 13px; font-weight: 700; color: var(--cream-dim); text-decoration: none; transition: color .15s; }
.footer-phone svg { width: 15px; height: 15px; stroke: var(--gold); flex-shrink: 0; }
.footer-phone:hover { color: var(--gold); }

/* ══════════════════ PHONE HOURS NOTE (shared, filled in by initPhoneHours()) ══════════════════ */
.phone-hours-note { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.footer-hours { margin-top: 6px; max-width: 220px; }
.mobile-nav-hours { margin: 8px 0 0; text-align: center; }
.hero-call-block .phone-hours-note { font-size: 13px; color: var(--cream-dim); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.footer-partner { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.footer-partner img { height: 30px; width: auto; filter: invert(1) brightness(1.6); opacity: .8; }
.footer-partner span { font-size: 11.5px; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-legal { font-size: 11px; color: var(--muted); line-height: 1.7; max-width: 720px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ══════════════════ FAQ PAGE ══════════════════ */
.faq-search-wrap { position: relative; max-width: 460px; margin: 0 auto 24px; }
.faq-search-wrap svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--muted); }
.faq-search-input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg-2); color: var(--cream); font-family: var(--font-b); font-size: 14px; }
.faq-search-input::placeholder { color: var(--muted); }
.faq-search-input:focus { outline: none; border-color: var(--gold); }
.faq-jump-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 8px; }
.faq-jump-pill { font-family: var(--font-d); font-size: 12px; font-weight: 700; color: var(--cream-dim); background: rgba(217,180,74,0.06); border: 1px solid var(--border); padding: 9px 16px; border-radius: 999px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.faq-jump-pill:hover { background: rgba(217,180,74,0.12); color: var(--gold); border-color: var(--border-strong); }
.faq-empty-msg { text-align: center; color: var(--cream-faint); font-size: 13.5px; margin-top: 24px; }
.faq-section { padding: 0; margin-bottom: 40px; scroll-margin-top: 100px; }
.faq-section h2 { font-size: clamp(21px, 2.6vw, 27px); margin-bottom: 20px; scroll-margin-top: 100px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-card); scroll-margin-top: 100px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item summary::marker, .faq-item summary::-webkit-details-marker { display: none; content: ''; }
.faq-item summary h3 { font-size: 14.5px; font-weight: 800; color: var(--ink); flex: 1; }
.faq-caret { width: 11px; height: 11px; border-right: 2px solid #7A6F68; border-bottom: 2px solid #7A6F68; transform: rotate(45deg); flex-shrink: 0; transition: transform .2s, margin .2s; }
.faq-item[open] .faq-caret { transform: rotate(-135deg); margin-top: 4px; }
.faq-answer { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.faq-answer p { font-size: 13.5px; color: #5C5245; line-height: 1.75; }
.faq-answer ul { list-style: none; display: flex; flex-direction: column; gap: 6px; padding-left: 2px; }
.faq-answer li { font-size: 13.5px; color: #5C5245; line-height: 1.6; padding-left: 16px; position: relative; }
.faq-answer li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }
.faq-see-also { font-size: 13px !important; color: var(--terra-ink) !important; padding-top: 6px; border-top: 1px dashed rgba(30,36,30,0.12); }
.faq-see-also a { color: var(--terra-ink); font-weight: 700; }
.faq-section-cta { text-align: center; margin-top: 22px; font-size: 14px; color: var(--cream-dim); }
.faq-section-cta strong { color: var(--cream); }
.faq-section-cta a { color: var(--gold); font-weight: 700; text-decoration: none; }
.faq-section-cta a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .faq-jump-nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .faq-jump-pill { white-space: nowrap; }
}

/* ══════════════════ UTIL ══════════════════ */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.in-view { opacity: 1; transform: translateY(0); }
[hidden] { display: none !important; }
