/* ============================================================
   Cox Ferguson Financial Services — Design System v5
   Ivory editorial luxury · Ink typography · Forest green accent
   Light by default, dark bands for drama.
   ============================================================ */

:root {
  /* Palette */
  --paper: #f5f2ea;
  --paper-2: #ede9dd;
  --paper-3: #e4dfd0;
  --ink: #0c1420;
  --ink-2: #141e2c;
  --ink-soft: #46505c;
  --green: #c5a05a;
  --green-deep: #092a3a;
  --green-bright: #d4b272;
  --line: rgba(18, 23, 15, 0.14);
  --line-strong: rgba(18, 23, 15, 0.28);
  --line-light: rgba(245, 242, 234, 0.16);
  --muted: #69737e;
  --muted-light: #a4adb8;

  /* Legacy aliases (inline styles on older pages) */
  --white: #0c1420;            /* "white" text on old dark theme = ink on light */
  --cream: #0c1420;
  --cream-dim: #69737e;
  --navy-100: #46505c;
  --gold-500: #c5a05a;
  --gold-400: #c5a05a;
  --gold-300: #d4b272;
  --navy-950: #f5f2ea;
  --navy-900: #f5f2ea;
  --navy-800: #ede9dd;

  --font-serif: "Fraunces", "Georgia", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;

  --max-w: 1340px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.45s var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; -webkit-user-drag: none; -khtml-user-drag: none; user-select: none; -webkit-touch-callout: none; }
a { color: var(--green); text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--green-bright); }
::selection { background: var(--green); color: var(--paper); }

/* Keyboard focus visibility — only shows for keyboard users (:focus-visible),
   so mouse/touch and the custom cursor are unaffected. */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.btn:focus-visible, .btn-pill:focus-visible { outline-offset: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.02;
  font-weight: 560;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}
h1 { font-size: clamp(3.2rem, 9.5vw, 8.5rem); }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
em.it, .it { font-style: italic; color: var(--green); font-weight: 480; }
em.gold { font-style: italic; color: var(--green); }
.gold { color: var(--green); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 52px); }

/* ---------- Dark band helper ---------- */
.dark-band { background: var(--ink); color: var(--muted-light); }
.dark-band h1, .dark-band h2, .dark-band h3, .dark-band h4 { color: var(--paper); }
.dark-band em.it, .dark-band .it { color: #c5a05a; }

/* ---------- Atmosphere ---------- */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2000; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.8s steps(4) infinite;
}
/* Shift the texture, not the element, so the overlay never extends past the
   viewport (a 200%-wide fixed layer used to cause a sideways-scroll sliver). */
@keyframes grainShift {
  0% { background-position: 0 0; } 25% { background-position: -12px 6px; }
  50% { background-position: 6px -12px; } 75% { background-position: -6px 12px; } 100% { background-position: 12px -6px; }
}
/* The grain uses mix-blend-mode, which forces a full-screen re-composite on every
   scroll frame and flickers on phones. It's a barely-visible desktop flourish, so
   switch it off on touch/small screens. */
@media (max-width: 860px) { .grain { display: none; } }
/* On touch/small screens, reveal content with a fade only (no upward slide or
   word-rise) so the wording doesn't shift as each section appears. */
@media (max-width: 860px) {
  .reveal, .reveal-scale { transform: none; }
  .split-reveal .w > span { transform: none; }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 100%;
  z-index: 1500; pointer-events: none;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 4000; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.loader-inner { text-align: center; }
.loader-mark { width: 80px; height: 80px; margin: 0 auto 26px; border-radius: 999px; overflow: hidden; opacity: 0; }
.loader-mark img { width: 100%; height: 100%; }
.loader-count {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--ink); line-height: 1; font-weight: 500;
}
.loader-tag { margin-top: 14px; font-size: 0.66rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); }
.loader-curtain {
  position: fixed; inset: 0; z-index: 3999; background: var(--green-deep);
  transform: scaleY(0); transform-origin: top; pointer-events: none;
}

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 4100;
    width: 6px; height: 6px; border-radius: 50%; background: var(--green);
    pointer-events: none;
  }
  .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 4099;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(197,160,90,.55);
    pointer-events: none;
    transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s;
  }
  body.cursor-hover .cursor-ring { width: 62px; height: 62px; background: rgba(197,160,90,.08); border-color: var(--green); }
}

/* ---------- Labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--green); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--green); opacity: .55; }
.center .eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--green); opacity: .55; }
.dark-band .eyebrow { color: #c5a05a; }
.dark-band .eyebrow::before, .dark-band .eyebrow::after { background: #c5a05a; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.26rem); color: var(--ink-soft); font-weight: 400; }
.center { text-align: center; }

/* ---------- Reveal primitives ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s var(--ease-expo); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-scale { opacity: 0; transform: scale(.95); transition: opacity .9s ease, transform 1s var(--ease-expo); }
.reveal-scale.visible { opacity: 1; transform: none; }

.split-reveal .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split-reveal .w > span { display: inline-block; transform: translateY(120%) rotate(2.5deg); transition: transform 1s var(--ease-expo); transform-origin: left bottom; }
.split-reveal.visible .w > span { transform: none; }

.word-reveal .wd { opacity: 0.14; transition: opacity .25s linear; }
.word-reveal .wd.on { opacity: 1; }
.word-reveal .wd.hl.on { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  padding: 16px 36px; border-radius: 999px; cursor: pointer;
  border: none; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, color .3s, background .3s;
  white-space: nowrap; will-change: transform;
}
.btn-gold { background: #0b0d11; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(245,242,234,.14); }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(245,242,234,.28), transparent);
  transform: skewX(-20deg); transition: left .65s ease;
}
.btn-gold:hover::after { left: 135%; }
.btn-gold:hover { background: #000000; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(245,242,234,.22), 0 14px 40px rgba(0,0,0,.35); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green); color: var(--green); }
.dark-band .btn-ghost, .cta-band.has-bg .btn-ghost, .site-footer .btn-ghost {
  color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(245,242,234,.4);
}
.dark-band .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #c5a05a; color: #c5a05a; }
.btn-lg { padding: 19px 46px; font-size: 1.02rem; }
.btn-pill { border-radius: 999px; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.liquid-glass {
  background: rgba(12,20,32,.04);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  box-shadow: inset 0 0 0 1px var(--line);
  border: none; position: relative; overflow: hidden;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: padding .35s ease, transform .5s var(--ease), box-shadow .35s;
}
/* The frosted-glass background lives on a pseudo-element, NOT on the header
   itself. backdrop-filter on the header would make it the containing block for
   the position:fixed mobile menu, trapping the menu inside the header bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(7,9,12,.6);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background .35s ease, opacity .35s ease;
}
.site-header.scrolled::before { background: rgba(7,9,12,.88); }
.site-header.scrolled {
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(245,242,234,.1);
}
.site-header.hidden { transform: translateY(-110%); }
/* While the mobile menu is open: lift the header above the grain overlay and
   never let the auto-hide transform kick in (which would re-trap the menu). */
body.nav-open .site-header { z-index: 2100; transform: none !important; }
body.nav-open { overflow: hidden; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { transition: height .3s ease; }
.site-header.scrolled .logo img { height: 32px !important; }

/* ---------- Google Reviews (Elfsight) ---------- */
.reviews-band { background: var(--paper); }
.reviews-embed {
  max-width: 1080px; margin: 0 auto;
  border-radius: 22px; overflow: hidden;
}
.reviews-placeholder {
  border: 1.5px dashed rgba(197,160,90,.5); border-radius: 22px;
  padding: clamp(36px, 6vw, 64px); text-align: center;
  color: var(--muted); background: #fffdf8;
}
.reviews-placeholder strong { color: var(--ink); }
.reviews-placeholder p { max-width: 52ch; margin: 0 auto 10px; font-size: .95rem; }
/* soften elfsight container edges once embedded */
.reviews-embed [class*="elfsight"] { border-radius: 18px; }

/* ---------- Press band (monochrome provider wall) ---------- */
.press-band {
  background: #0a0d10; padding: clamp(80px, 10vw, 130px) 0;
}
.press-band .eyebrow { color: rgba(245,242,234,.55); }
.press-band .eyebrow::before, .press-band .eyebrow::after { background: rgba(245,242,234,.3); }
.press-band h2 { color: var(--paper); }
.press-band h2 em { color: rgba(245,242,234,.85); }
.press-grid {
  margin-top: clamp(48px, 7vw, 84px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  column-gap: clamp(44px, 6.5vw, 104px); row-gap: clamp(40px, 5vw, 64px);
  max-width: 1000px; margin-left: auto; margin-right: auto;
}
.press-cell { display: flex; align-items: center; justify-content: center; }
.press-cell img {
  max-height: 30px; max-width: 134px; width: auto; object-fit: contain;
  opacity: .55; transition: opacity .45s ease, transform .45s var(--ease);
}
.press-cell:hover img { opacity: 1; transform: translateY(-2px); }
@media (max-width: 860px) {
  .press-grid { column-gap: 36px; row-gap: 34px; }
  .press-cell img { max-height: 24px; max-width: 104px; }
}

/* ---------- 3D provider ring ---------- */
.providers3d-band {
  background: var(--ink); padding: clamp(70px, 9vw, 110px) 0; overflow: hidden;
}
.providers3d-band .eyebrow { color: #c5a05a; }
.providers3d-band .eyebrow::before, .providers3d-band .eyebrow::after { background: #c5a05a; }
.providers3d-band h2 { color: var(--paper); }
.providers3d {
  margin-top: clamp(40px, 6vw, 70px);
  perspective: 1400px; height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.ring-tilt { transform: rotateX(-9deg); transform-style: preserve-3d; }
.ring3d {
  position: relative; width: 230px; height: 130px;
  transform-style: preserve-3d;
  animation: ringSpin 42s linear infinite;
}
.providers3d:hover .ring3d { animation-play-state: paused; }
@keyframes ringSpin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.ring3d .card3d {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fffdf8; border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  backface-visibility: hidden;
}
.ring3d .card3d img { max-width: 72%; max-height: 58%; object-fit: contain; }
@media (max-width: 860px) {
  .providers3d { height: 230px; perspective: 1000px; }
  .ring3d { width: 170px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .ring3d { animation: none; transform: rotateY(20deg); }
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) { color: rgba(245,242,234,.82); font-weight: 500; font-size: 0.93rem; padding: 6px 12px; position: relative; }
.main-nav a:not(.btn)::before {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px;
  background: #c5a05a; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav a:not(.btn):hover::before, .main-nav a.active:not(.btn)::before { transform: scaleX(1); transform-origin: left; }
.main-nav a:not(.btn):hover, .main-nav a.active:not(.btn) { color: #fff; }
.main-nav .btn { padding: 12px 28px; font-size: 0.88rem; margin-left: 16px; }
.main-nav .btn-gold { background: var(--paper); color: var(--ink); }
.main-nav .btn-gold:hover { background: #fff; color: var(--ink); }
.nav-socials { display: flex; gap: 10px; margin-left: 12px; }
.nav-socials a { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.nav-socials svg [fill]:not([fill="none"]) { fill: var(--paper); }
.nav-socials svg [stroke] { stroke: var(--paper); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 210; }
.nav-toggle span { display: block; width: 27px; height: 1.8px; background: var(--paper); margin: 7px 0; transition: all .35s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8.8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.8px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 90px; overflow: hidden;
  background: var(--paper);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg canvas, .hero-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(125% 95% at 50% 38%, transparent 35%, var(--paper) 100%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 12rem; z-index: 1; background: linear-gradient(to top, var(--paper), transparent); pointer-events: none; }

.hero-watermark {
  position: absolute; top: 49%; left: 50%; transform: translate(-50%, -50%); z-index: 0;
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(8rem, 27vw, 25rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(197,160,90,.13);
  pointer-events: none; user-select: none;
}

.hero-content { position: relative; z-index: 10; }
.hero-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.hero-kicker .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.hero-kicker .pulse::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--green); animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.hero-kicker span { font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.hero-display { position: relative; }
.hero-display .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.04em; }
.hero-display .line > span { display: inline-block; will-change: transform; }
.hero-display .line.l2 { margin-left: clamp(0px, 9vw, 150px); }

.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 52px; }
.hero-sub { max-width: 31rem; font-size: 1.08rem; color: var(--ink-soft); }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.spin-badge { position: relative; width: 124px; height: 124px; flex-shrink: 0; }
.spin-badge svg { width: 100%; height: 100%; animation: spinSlow 18s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.spin-badge .core {
  position: absolute; inset: 35px; border-radius: 50%;
  background: rgba(197,160,90,.07); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.spin-badge .core svg { animation: none; width: 26px; height: 26px; }

.hero-meta { position: relative; z-index: 5; margin-top: 66px; display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.hero-meta .item { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; color: var(--muted); }

.scroll-hint {
  position: absolute; bottom: 24px; right: clamp(20px, 4vw, 52px); z-index: 6;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint .lineV { width: 1px; height: 52px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-hint .lineV::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--green); animation: lineDrop 1.8s var(--ease) infinite;
}
@keyframes lineDrop { 0% { top: -50%; } 100% { top: 110%; } }

/* ---------- Ticker ---------- */
.marquee {
  overflow: hidden; white-space: nowrap; position: relative;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); padding: 28px 0;
}
.marquee .track { display: inline-flex; will-change: transform; animation: marqueeMove 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .item {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500;
  color: var(--ink); padding: 0 32px; display: inline-flex; align-items: center; gap: 32px;
}
.marquee .item em { font-style: italic; color: var(--green); }
.marquee .item::after { content: "✦"; color: var(--green); opacity: .5; font-size: 1.05rem; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* logo marquees — dark strips so every provider logo reads */
.logo-marquee { border: none; background: var(--ink); padding: 38px 0; }
.logo-marquee .track { animation-duration: 36s; align-items: center; }
.logo-marquee.rev .track { animation-direction: reverse; }
.logo-item { display: inline-flex; align-items: center; justify-content: center; padding: 0 50px; height: 56px; }
.logo-item img {
  max-height: 40px; max-width: 150px; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(2.6); opacity: .65; transition: all var(--transition);
}
.logo-item img:hover { filter: grayscale(0) brightness(1.4); opacity: 1; }

/* ---------- Sections ---------- */
section { padding: clamp(90px, 10vw, 150px) 0; position: relative; }
.section-head { max-width: 840px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.sec-index { display: none; }
.section-border { border-top: 1px solid var(--line); }

/* ---------- Kinetic word wall (dark) ---------- */
.kinetic { background: var(--green-deep); overflow: hidden; }
.kinetic-stage { min-height: 100svh; display: flex; align-items: center; justify-content: center; position: relative; }
.kinetic-words { text-align: center; position: relative; z-index: 2; }
.kinetic-words .kw {
  display: block; font-family: var(--font-serif); font-weight: 600; line-height: .92;
  font-size: clamp(4rem, 14.5vw, 13.5rem); letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.4px rgba(245,242,234,.5);
  will-change: transform, opacity;
}
.kinetic-words .kw.fill { color: var(--paper); -webkit-text-stroke: 0; }
.kinetic-words .kw.fill em { color: #c5a05a; font-style: italic; }
.kinetic-sub { margin-top: 36px; color: rgba(245,242,234,.55); font-size: .92rem; letter-spacing: .26em; text-transform: uppercase; }

/* ---------- Horizontal services (dark ink) ---------- */
.hwrap { position: relative; background: var(--ink); padding: 0; }
.hpin { overflow: hidden; }
.htrack { display: flex; will-change: transform; }
.hpanel {
  flex: 0 0 100vw; min-height: 100svh; display: flex; align-items: center;
  position: relative; padding: 120px clamp(20px, 6vw, 90px) 90px; overflow: hidden;
}
.hpanel .bg { position: absolute; inset: 0; z-index: 0; }
.hpanel .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transform: scale(1.1); }
.hpanel .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,20,32,.96) 20%, rgba(12,20,32,.62) 58%, rgba(12,20,32,.35)); }
.hpanel .pnum {
  position: absolute; top: 15vh; right: 6vw; z-index: 1;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(7rem, 20vw, 17rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.3px rgba(245,242,234,.22); user-select: none;
}
.hpanel .pcontent { position: relative; z-index: 2; max-width: 660px; }
.hpanel .eyebrow { color: #c5a05a; }
.hpanel .eyebrow::before { background: #c5a05a; }
.hpanel h3 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); margin-bottom: 24px; color: var(--paper); }
.hpanel h3 em { font-style: italic; color: #c5a05a; }
.hpanel p { font-size: 1.06rem; color: rgba(245,242,234,.78); max-width: 46ch; margin-bottom: 34px; }
.hpanel .plist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 38px; }
.hpanel .plist li { display: flex; gap: 12px; align-items: baseline; color: rgba(245,242,234,.62); font-size: .97rem; }
.hpanel .plist li::before { content: "—"; color: #c5a05a; flex-shrink: 0; }
.hpanel .btn-ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(245,242,234,.42); }
.hpanel .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #c5a05a; color: #c5a05a; }
.hprogress {
  position: absolute; bottom: 44px; left: clamp(20px, 6vw, 90px); right: clamp(20px, 6vw, 90px); z-index: 5;
  height: 1.5px; background: rgba(245,242,234,.14);
}
.hprogress .fill { height: 100%; width: 0; background: #c5a05a; }

/* ---------- Mission ---------- */
.mission-media {
  max-width: 880px; margin: 0 auto clamp(46px, 7vw, 90px);
  border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(12,20,32,.18);
}
.mission-media img { width: 100%; display: block; transform: scale(1.12); will-change: transform; }
.mission-copy { max-width: 940px; margin: 0 auto; text-align: center; }
.mission-copy .p1 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 4.2vw, 3.5rem); font-weight: 500;
  line-height: 1.28; color: var(--ink); letter-spacing: -.5px;
}
.mission-copy .p2 { font-size: clamp(1.05rem, 2vw, 1.5rem); margin-top: 40px; line-height: 1.5; color: var(--ink-soft); font-weight: 500; }

/* ---------- Stats ---------- */
.stats-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2); padding: clamp(54px, 7vw, 90px) 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px; text-align: center; }
.stat .num { font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 4.6rem); color: var(--green); font-weight: 560; line-height: 1; }
.stat .label { font-size: .73rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- Adviser cards ---------- */
.adviser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 960px; margin: 0 auto; }
.adviser-card {
  background: #fffdf8; border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s;
  box-shadow: 0 6px 24px rgba(12,20,32,.06);
  will-change: transform;
}
.adviser-card:hover { transform: translateY(-8px); box-shadow: 0 36px 80px rgba(12,20,32,.16); }
.adviser-photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.adviser-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 1s var(--ease);
}
.adviser-card:hover .adviser-photo img { transform: scale(1.06); }
.adviser-photo::after { content: none; }
.adviser-body { padding: 28px 30px 38px; }
.adviser-card h3 { font-size: 1.65rem; }
.adviser-card .role { color: var(--green); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; margin: 10px 0 16px; font-weight: 600; }
.adviser-card .meta { font-size: .93rem; color: var(--muted); }
.adviser-card .meta a { display: block; margin-top: 4px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card {
  background: #fffdf8; border: 1px solid var(--line);
  border-radius: 22px; padding: 42px 36px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s;
  box-shadow: 0 6px 24px rgba(12,20,32,.05);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0; transition: opacity .5s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(12,20,32,.13); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 26px;
  background: rgba(197,160,90,.08); border: 1px solid rgba(197,160,90,.18);
  display: flex; align-items: center; justify-content: center;
}
.card .icon svg * { stroke: var(--green); }
.card h3 { margin-bottom: 14px; font-size: 1.22rem; }
.card p { font-size: .96rem; }

/* ---------- Split / frames ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.split-art { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--ink); }
.split-art svg, .split-art > img { width: 100%; height: auto; display: block; }
.img-frame { position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 24px 60px rgba(12,20,32,.16); }
.img-frame img { transition: transform 1.2s var(--ease); width: 100%; display: block; }
.img-frame:hover img { transform: scale(1.05); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.step {
  padding: 38px 30px; border-radius: 22px;
  background: #fffdf8; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s;
  box-shadow: 0 6px 20px rgba(12,20,32,.05);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(12,20,32,.12); }
.step .step-num { font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; color: rgba(197,160,90,.5); line-height: 1; margin-bottom: 18px; }
.step h4 { font-size: 1.12rem; margin-bottom: 10px; color: var(--ink); font-family: var(--font-sans); font-weight: 600; }
.step p { font-size: .92rem; }

/* ---------- Quote ---------- */
.belief { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.belief blockquote {
  font-family: var(--font-serif); font-size: clamp(1.7rem, 3.9vw, 3.1rem);
  color: var(--ink); max-width: 980px; margin: 0 auto; text-align: center;
  line-height: 1.32; font-weight: 500;
}
.belief blockquote em { color: var(--green); font-style: italic; }
.belief cite { display: block; margin-top: 30px; font-family: var(--font-sans); font-style: normal; font-size: .73rem; letter-spacing: .3em; text-transform: uppercase; color: var(--green); }

/* ---------- Gallery ---------- */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-strip .g-item {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; display: block;
  box-shadow: 0 14px 40px rgba(12,20,32,.14);
}
.gallery-strip .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-strip .g-item:hover img { transform: scale(1.08); }
.gallery-strip .g-item:nth-child(even) { transform: translateY(28px); }
.gallery-strip .g-item { position: relative; }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 52px 16px 16px; text-align: center;
  background: linear-gradient(to top, rgba(9,13,17,.78), transparent);
  color: #f5f2ea; font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.5;
  pointer-events: none;
}

/* ---------- Recent news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card {
  display: flex; flex-direction: column;
  background: #fffdf8; border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(12,20,32,.05);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(12,20,32,.13); }
.news-media {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
}
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
/* auto-rotating photo slideshow inside a single news card (cross-fade) */
.news-media.slideshow img {
  position: absolute; inset: 0; opacity: 0;
  animation: newsSlide 13.5s infinite;
}
.news-media.slideshow img:nth-child(1) { animation-delay: 0s; }
.news-media.slideshow img:nth-child(2) { animation-delay: 4.5s; }
.news-media.slideshow img:nth-child(3) { animation-delay: 9s; }
@keyframes newsSlide {
  0% { opacity: 0; }
  3% { opacity: 1; }
  30% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}
/* two-photo variant (e.g. the Clearwater card) */
.news-media.slideshow.two img { animation-name: newsSlide2; animation-duration: 9s; }
@keyframes newsSlide2 {
  0% { opacity: 0; }
  5% { opacity: 1; }
  45% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .news-media.slideshow img { animation: none; opacity: 0; }
  .news-media.slideshow img:first-child { opacity: 1; }
}
/* graceful placeholder until the photo file is added */
.news-media::after {
  content: "Photo coming soon"; position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.news-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.news-date { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--green); }
.news-card h3 { font-size: 1.2rem; line-height: 1.18; }
.news-card p { font-size: .94rem; margin: 0; }
@media (max-width: 600px) {
  .news-media { aspect-ratio: 16 / 10; }
  .news-body { padding: 22px 22px 26px; }
}

.drag-strip { overflow: hidden; cursor: grab; touch-action: pan-y; }
.drag-strip:active { cursor: grabbing; }
.drag-track { display: flex; gap: 22px; will-change: transform; padding: 16px 4vw 26px; }
.drag-track .d-item {
  flex: 0 0 clamp(240px, 27vw, 390px); aspect-ratio: 4/5; border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(12,20,32,.16); will-change: transform;
}
.drag-track .d-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.drag-track .d-item:hover img { transform: scale(1.05); }

.masonry { columns: 3; column-gap: 18px; }
.masonry .m-item { margin-bottom: 18px; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 34px rgba(12,20,32,.12); break-inside: avoid; }
.masonry img { width: 100%; display: block; transition: transform .9s var(--ease); }
.masonry .m-item:hover img { transform: scale(1.05); }

/* ---------- Partner chips ---------- */
.partner-chip {
  padding: 12px 26px; border-radius: 999px; display: inline-block;
  border: 1px solid var(--line); background: #fffdf8;
  font-weight: 500; color: var(--ink-soft); font-size: .93rem; transition: all var(--transition);
}
.partner-chip:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.partners-row { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ---------- CTA ---------- */
.cta-band { padding: clamp(120px, 16vw, 220px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-overlay { position: absolute; inset: 0; background: rgba(9,42,58,.84); z-index: 1; }
.cta-band .cta-content { position: relative; z-index: 10; }
.cta-band.has-bg h2 { color: var(--paper); font-size: clamp(2.6rem, 6.6vw, 5.6rem); max-width: 840px; margin: 0 auto 24px; }
.cta-band.has-bg h2 em { color: #c5a05a; }
.cta-band.has-bg p { color: rgba(245,242,234,.78); max-width: 540px; margin: 0 auto 42px; }
.cta-band:not(.has-bg) { background: var(--paper-2); border-top: 1px solid var(--line); }
.cta-band:not(.has-bg) h2 { max-width: 800px; margin: 0 auto 22px; }
.cta-band:not(.has-bg) p { max-width: 540px; margin: 0 auto 40px; }
.cta-mark { width: 62px; height: 62px; margin: 0 auto 30px; border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 1px rgba(245,242,234,.3); }
.cta-band.has-bg .hero-note { color: rgba(245,242,234,.66); }
.cta-band.has-bg .hero-note a { color: #c5a05a; }
.cta-band.has-bg .liquid-glass { background: rgba(245,242,234,.07); box-shadow: inset 0 0 0 1px rgba(245,242,234,.25); }
.cta-band.has-bg .hero-pill input { color: var(--paper); }
.cta-band.has-bg .hero-pill input::placeholder { color: rgba(245,242,234,.55); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-item .icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: rgba(197,160,90,.08); border: 1px solid rgba(197,160,90,.18);
  display: flex; align-items: center; justify-content: center;
}
.info-item .icon svg * { stroke: var(--green); }
.info-item strong { color: var(--ink); display: block; font-size: .97rem; }
.info-item span, .info-item a { font-size: .93rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form-shell {
  background: #fffdf8; border: 1px solid var(--line);
  border-radius: 26px; padding: 46px 42px; position: relative; overflow: hidden;
  box-shadow: 0 24px 70px rgba(12,20,32,.1);
}
.form-shell::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.form-progress { display: flex; gap: 8px; margin-bottom: 34px; }
.form-progress .bar { height: 3.5px; flex: 1; border-radius: 99px; background: var(--paper-3); transition: background var(--transition); }
.form-progress .bar.done { background: var(--green); }
.form-step-label { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.form-step h3 { margin-bottom: 26px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%; padding: 15px 18px; border-radius: 14px;
  background: var(--paper); border: 1.5px solid var(--line);
  color: var(--ink); font-family: var(--font-sans); font-size: .99rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
/* native date/time inputs (iOS especially) carry an intrinsic min-width that
   pushes them off-screen — neutralise it so they fit the field like any input */
.field input[type="date"], .field input[type="time"],
.field input[type="datetime-local"], .field input[type="month"] {
  -webkit-appearance: none; appearance: none; min-height: 52px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(197,160,90,.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23c5a05a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .choice-card {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 20px 18px; border-radius: 16px; text-align: left;
  background: var(--paper); border: 1.5px solid var(--line);
  transition: all var(--transition);
}
.choice .choice-card strong { color: var(--ink); font-size: .98rem; }
.choice .choice-card span { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.choice input:checked + .choice-card { border-color: var(--green); background: rgba(197,160,90,.07); box-shadow: 0 0 0 4px rgba(197,160,90,.08); }
.choice:hover .choice-card { border-color: rgba(197,160,90,.45); }
.form-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 20px; }
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn .5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.field .err { color: #a8453a; font-size: .8rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #b56e62; }
.field.invalid .err { display: block; }

/* hero quick pill */
.hero-pill { border-radius: 999px; padding: 8px; display: flex; gap: 8px; align-items: center; max-width: 520px; }
.hero-pill input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--ink); font-size: .98rem; padding: 10px 20px; }
.hero-pill input::placeholder { color: var(--muted); }
.hero-pill .btn { border-radius: 999px; padding: 13px 28px; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; }
.hero-note { margin-top: 16px; font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; margin-bottom: 13px; overflow: hidden; box-shadow: 0 4px 16px rgba(12,20,32,.04); }
.faq summary {
  padding: 23px 28px; cursor: pointer; font-weight: 600; color: var(--ink);
  font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green); transition: transform .3s; flex-shrink: 0; font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 28px 26px; font-size: .96rem; }

/* ---------- Legal ---------- */
.legal-wrap { max-width: 840px; margin: 0 auto; }
.legal-wrap h2 { margin: 54px 0 18px; font-size: 1.8rem; }
.legal-wrap h3 { margin: 36px 0 14px; font-size: 1.25rem; color: var(--green); }
.legal-wrap p, .legal-wrap li { margin-bottom: 14px; font-size: .99rem; }
.legal-wrap ul { padding-left: 24px; margin-bottom: 18px; }
.legal-wrap .updated { font-size: .78rem; color: var(--green); letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 210px 0 110px; text-align: center; position: relative; overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { max-width: 680px; margin: 24px auto 0; }
.page-hero .bg-img { position: absolute; inset: 0; z-index: 0; opacity: .14; }
.page-hero .bg-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--paper) 8%, rgba(245,242,234,.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.9rem, 7.4vw, 6rem); }

/* ---------- Footer v2 — minimal ---------- */
.site-footer { background: #050505; padding: 0; color: var(--muted-light); }
.site-footer .container { padding-top: clamp(64px, 9vw, 120px); padding-bottom: 34px; }
.ft-kicker { font-size: .68rem; letter-spacing: .4em; text-transform: uppercase; color: #c5a05a; font-weight: 600; margin-bottom: 18px; }
.ft-head {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2rem, 5.6vw, 4.2rem); line-height: 1.06; letter-spacing: -.01em;
  color: var(--paper); margin-bottom: 8px;
}
.ft-head em { font-style: italic; color: #c5a05a; }
.ft-mail-small { margin-top: 20px; font-size: .9rem; color: rgba(164,173,184,.85); }
.ft-mail-small a { color: var(--paper); border-bottom: 1px solid rgba(245,242,234,.3); padding-bottom: 1px; }
.ft-mail-small a:hover { color: #c5a05a; border-color: #c5a05a; }
.ft-mail {
  display: inline-block; font-family: var(--font-serif); font-style: italic; font-weight: 480;
  font-size: clamp(1.7rem, 5.6vw, 4.2rem); line-height: 1.1; letter-spacing: -.01em;
  color: var(--paper); position: relative; margin-bottom: 8px; word-break: break-all;
}
.ft-mail span { position: relative; }
.ft-mail span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: #c5a05a; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.ft-mail:hover { color: #fff; }
.ft-mail:hover span::after { transform: scaleX(1); }
.ft-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.ft-tel { color: var(--paper); font-weight: 600; font-size: 1.04rem; }
.ft-tel:hover { color: #c5a05a; }
.ft-top { padding-bottom: clamp(40px, 6vw, 70px); }
.ft-mid {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  border-top: 1px solid rgba(245,242,234,.1); border-bottom: 1px solid rgba(245,242,234,.1);
  padding: 22px 0;
}
.ft-nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.ft-nav a { color: var(--muted-light); font-size: .9rem; font-weight: 500; }
.ft-nav a:hover { color: var(--paper); }
.ft-meta { font-size: .82rem; color: rgba(164,173,184,.75); margin: 0; }
.ft-soc { display: flex; gap: 8px; }
.ft-soc a {
  width: 38px; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  color: #c5a05a; box-shadow: inset 0 0 0 1px rgba(245,242,234,.16);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}
.ft-soc a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #c5a05a; color: var(--paper); }
.ft-legal { font-size: .76rem; color: rgba(164,173,184,.66); line-height: 1.7; margin: 24px 0 14px; max-width: 70rem; }
.ft-base {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .76rem; color: rgba(164,173,184,.66);
}
.ft-base a { color: var(--muted-light); }
.ft-base a:hover { color: var(--paper); }

/* ---------- Footer (dark ink) ---------- */
.site-footer { background: #050505; padding: 0; font-size: .92rem; overflow: hidden; color: var(--muted-light); }
.footer-big {
  font-family: var(--font-serif); font-style: italic; font-weight: 560; line-height: .95;
  font-size: clamp(3rem, 11.5vw, 9.5rem); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(245,242,234,.22);
  white-space: nowrap; margin-bottom: 64px; user-select: none;
  transition: color .7s ease;
}
.footer-big:hover { color: rgba(159,207,181,.16); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; margin-bottom: 54px; }
.footer-grid h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: #c5a05a; margin-bottom: 18px; font-weight: 600; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 11px; color: var(--muted-light); }
.footer-grid a { color: var(--muted-light); }
.footer-grid a:hover { color: var(--paper); }
.footer-about p { margin-top: 16px; max-width: 30rem; color: var(--muted-light); }
.social-row { display: flex; gap: 11px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: rgba(245,242,234,.05); box-shadow: inset 0 0 0 1px rgba(245,242,234,.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.social-row a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #c5a05a; }
.footer-legal { border-top: 1px solid var(--line-light); padding-top: 30px; font-size: .79rem; color: rgba(164,173,184,.8); line-height: 1.7; }
.footer-legal .links { margin-top: 10px; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted-light); }

/* ---------- Floating CTA ---------- */
.float-cta { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 90; display: none; }
.float-cta .btn { width: 100%; box-shadow: 0 14px 44px rgba(12,20,32,.4); }

/* ---------- Legacy sections ---------- */
.preloader, .orb { display: none !important; }
.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 30px; margin-bottom: 56px; }
.tri-card { text-align: center; }
.tri-card .tri-icon { width: 104px; height: 104px; margin: 0 auto 26px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(197,160,90,.08); }
.tri-card .tri-icon svg * { stroke: var(--green); }
.tri-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.tri-card p { font-size: .92rem; max-width: 30ch; margin: 0 auto; }
.tagline { color: var(--muted); font-size: .88rem; text-align: center; }
.solution-media { border-radius: 22px; overflow: hidden; margin: 50px 0 60px; aspect-ratio: 3/1; box-shadow: 0 20px 50px rgba(12,20,32,.14); }
.solution-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature h3 { font-size: 1.04rem; margin-bottom: 10px; font-family: var(--font-sans); font-weight: 600; }
.feature p { font-size: .9rem; }
.feature .f-rule { width: 28px; height: 1.5px; background: var(--green); margin-bottom: 18px; }
.stack-cards { display: flex; flex-direction: column; gap: 24px; }
.stack-card { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; background: #fffdf8; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 30px rgba(12,20,32,.07); }
.stack-card .sc-copy { padding: clamp(32px, 4vw, 56px); }
.stack-card .sc-num { font-family: var(--font-serif); font-style: italic; color: var(--green); margin-bottom: 16px; display: block; }
.stack-card h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 16px; }
.stack-card p { max-width: 46ch; }
.stack-card .sc-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; font-size: .94rem; }
.stack-card .sc-art { position: relative; min-height: 260px; background: var(--ink); }
.stack-card .sc-art svg, .stack-card .sc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   CHAPTERS — Hubtown-style cinematic narrative
   ============================================================ */
.chapters { position: relative; }
.chapter {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--paper);
}
.chapter .ch-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.chapter .ch-bg img, .chapter .ch-bg video {
  width: 100%; height: 100%; object-fit: cover; will-change: transform;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.chapter .ch-bg.kb-rev img { animation: kenburnsRev 26s ease-in-out infinite alternate; }
@keyframes kenburns { 0% { transform: scale(1.02) translate(0,0); } 100% { transform: scale(1.16) translate(-1.6%, -2%); } }
@keyframes kenburnsRev { 0% { transform: scale(1.14) translate(1.4%, 1.6%); } 100% { transform: scale(1.02) translate(0,0); } }
.chapter .ch-scrim { position: absolute; inset: 0; z-index: 1; }
.chapter.dark .ch-scrim { background: linear-gradient(180deg, rgba(10,16,24,.55), rgba(10,16,24,.72)); }
.chapter.greenish .ch-scrim { background: linear-gradient(180deg, rgba(9,42,58,.62), rgba(9,42,58,.82)); }

.chapter .ch-inner { position: relative; z-index: 5; width: 100%; }

.ch-label {
  position: absolute; top: clamp(86px, 12vh, 130px); left: 0; z-index: 6;
  display: flex; align-items: center; gap: 14px;
  font-size: .7rem; letter-spacing: .36em; text-transform: uppercase; font-weight: 600;
  color: var(--green);
}
.ch-label::after { content: ""; width: 52px; height: 1px; background: currentColor; opacity: .6; }
.chapter.dark .ch-label, .chapter.greenish .ch-label { color: #c5a05a; }

.ch-num {
  position: absolute; right: 0; bottom: -2vh; z-index: 2;
  font-family: var(--font-serif); font-style: italic; line-height: 1;
  font-size: clamp(9rem, 24vw, 22rem);
  color: transparent; -webkit-text-stroke: 1.2px rgba(12,20,32,.12);
  user-select: none; pointer-events: none;
}
.chapter.dark .ch-num, .chapter.greenish .ch-num { -webkit-text-stroke: 1.2px rgba(245,242,234,.16); }

.ch-lines { margin: 0; }
.ch-lines .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.045em; }
.ch-lines .ln > span { display: inline-block; transform: translateY(118%) rotate(2deg); transform-origin: left bottom; will-change: transform; }
.chapter h2.ch-lines { font-size: clamp(3rem, 8.6vw, 7.6rem); line-height: 0.98; }
.chapter.dark h2, .chapter.greenish h2 { color: var(--paper); }
.chapter .ch-lines em { font-style: italic; color: var(--green); }
.chapter.dark .ch-lines em, .chapter.greenish .ch-lines em { color: #c5a05a; }
.ch-lines .ln.indent { margin-left: clamp(0px, 7vw, 120px); }

.ch-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 44px; margin-top: clamp(28px, 4.5vh, 56px); }
.ch-copy { max-width: 27rem; font-size: 1.04rem; color: var(--ink-soft); opacity: 0; transform: translateY(26px); }
.chapter.dark .ch-copy, .chapter.greenish .ch-copy { color: rgba(245,242,234,.82); }
.ch-cta { opacity: 0; transform: translateY(26px); }

/* underline feature link */
.f-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  color: var(--ink); padding-bottom: 8px; position: relative;
}
.f-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform-origin: left; transition: transform .5s var(--ease);
}
.f-link:hover::after { transform: scaleX(.35); }
.f-link .arr { transition: transform .35s var(--ease); }
.f-link:hover .arr { transform: translateX(7px); }
.chapter.dark .f-link, .chapter.greenish .f-link { color: var(--paper); }
.f-link:hover { color: inherit; opacity: .9; }

/* side image card inside light chapters */
.ch-media {
  position: absolute; right: clamp(20px, 5vw, 70px); top: 50%; transform: translateY(-50%);
  width: clamp(230px, 26vw, 420px); aspect-ratio: 3/4; border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(12,20,32,.25); z-index: 4;
}
.ch-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.ch-media.second { right: auto; left: clamp(20px, 5vw, 70px); top: auto; bottom: 8vh; transform: none; width: clamp(170px, 17vw, 280px); aspect-ratio: 4/5; z-index: 3; }

/* adviser duo inside chapter */
.ch-duo { display: flex; gap: clamp(14px, 2vw, 28px); margin-top: 36px; opacity: 0; transform: translateY(30px); }
.ch-duo a {
  display: block; width: clamp(150px, 17vw, 270px); border-radius: 20px; overflow: hidden; position: relative;
  box-shadow: 0 26px 60px rgba(12,20,32,.22);
}
.ch-duo a img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: top center; transition: transform .9s var(--ease); animation: kenburns 20s ease-in-out infinite alternate; }
.ch-duo a:hover img { transform: scale(1.06); animation-play-state: paused; }
.ch-duo .nm {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(10,16,24,.78), transparent);
  color: var(--paper); font-weight: 600; font-size: .95rem; text-align: center;
}
.ch-duo .nm small { display: block; font-weight: 500; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: #c5a05a; margin-top: 3px; }

/* chapter stats */
.ch-stats { display: flex; gap: clamp(28px, 5vw, 70px); flex-wrap: wrap; margin-top: 40px; opacity: 0; transform: translateY(28px); }
.ch-stats .stat { text-align: left; }
.ch-stats .num { font-family: var(--font-serif); font-size: clamp(2.4rem, 4.6vw, 4rem); color: #c5a05a; line-height: 1; }
.ch-stats .label { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(245,242,234,.6); margin-top: 10px; }

/* chapter navigation */
.ch-nav {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 80;
  display: flex; align-items: center; gap: 18px;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.ch-nav.show { opacity: 1; pointer-events: auto; }
.ch-nav button {
  width: 52px; height: 52px; border-radius: 999px; cursor: pointer; border: none;
  background: rgba(245,242,234,.9); color: var(--ink);
  box-shadow: 0 10px 30px rgba(12,20,32,.22), inset 0 0 0 1px var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; transition: transform .3s var(--ease), background .3s;
}
.ch-nav button:hover { transform: scale(1.08); background: var(--paper); }
.ch-nav .ch-count { font-size: .74rem; letter-spacing: .3em; color: var(--ink); font-weight: 600; background: rgba(245,242,234,.9); padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(12,20,32,.18), inset 0 0 0 1px var(--line); }

.ch-dots {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 80;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.ch-dots.show { opacity: 1; pointer-events: auto; }
.ch-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: rgba(12,20,32,.25); transition: all .35s var(--ease);
}
.ch-dots button.on { background: var(--green); transform: scale(1.5); }
.ch-dots.on-dark button { background: rgba(245,242,234,.35); }
.ch-dots.on-dark button.on { background: #c5a05a; }

/* email pill inside final chapter */
.chapter .hero-pill { margin-top: 38px; opacity: 0; transform: translateY(26px); }
.chapter.greenish .hero-pill { background: rgba(245,242,234,.08); box-shadow: inset 0 0 0 1px rgba(245,242,234,.28); }
.chapter.greenish .hero-pill input { color: var(--paper); }
.chapter.greenish .hero-pill input::placeholder { color: rgba(245,242,234,.55); }
.chapter.greenish .hero-note { color: rgba(245,242,234,.62); }
.chapter.greenish .hero-note a { color: #c5a05a; }

@media (max-width: 860px) {
  .chapter { height: auto; min-height: 100svh; position: relative; padding: 110px 0 70px; }
  .ch-media { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 380px; margin: 34px auto 0; }
  .ch-media.second { display: none; }
  .ch-num { font-size: 7rem; bottom: 0; }
  .ch-row { flex-direction: column; align-items: flex-start; }
  .ch-nav, .ch-dots { display: none; }
  .ch-duo { flex-wrap: wrap; }
  .ch-duo a { width: calc(50% - 8px); }
  .ch-label { position: static; margin-bottom: 22px; }
}

/* ---------- Legacy inline-SVG colour overrides (gold → green) ---------- */
svg [stroke="#c5a05a"], svg [stroke="#c8a96a"], svg [stroke="#c5a05a"] { stroke: var(--green); }
svg [fill="#c5a05a"], svg [fill="#c8a96a"] { fill: var(--green); }
.spin-badge text { fill: var(--green); }
.site-footer .social-row svg [fill="#c5a05a"] { fill: #c5a05a; }
.site-footer .social-row svg [stroke="#c5a05a"] { stroke: #c5a05a; }
.site-footer .social-row svg [fill="#fff"] { fill: #c5a05a; }
.site-footer .social-row svg [stroke="#fff"] { stroke: #c5a05a; }
.nav-socials svg [fill="#c5a05a"], .nav-socials svg [fill="#fff"] { fill: var(--ink); }
.nav-socials svg [stroke="#c5a05a"], .nav-socials svg [stroke="#fff"] { stroke: var(--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .grain, .loader, .loader-curtain, .cursor-dot, .cursor-ring { display: none !important; }
  .reveal, .reveal-scale, .split-reveal .w > span { opacity: 1 !important; transform: none !important; }
  .word-reveal .wd { opacity: 1 !important; }
  .hero-display .line > span { transform: none !important; opacity: 1 !important; }
  .ch-lines .ln > span { transform: none !important; }
  .ch-copy, .ch-cta, .ch-duo, .ch-stats, .chapter .hero-pill { opacity: 1 !important; transform: none !important; }
  .chapter .ch-bg img, .chapter .ch-bg video, .ch-media img, .ch-duo a img { animation: none !important; }
  .kinetic-stage { min-height: auto; padding: 80px 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-card { grid-template-columns: 1fr; }
  .stack-card .sc-art { min-height: 220px; order: -1; position: relative; }
}
@media (max-width: 980px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .tri-grid { grid-template-columns: 1fr; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .spin-badge { display: none; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0; background: rgba(7,9,12,.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; pointer-events: none; transition: opacity .35s ease; z-index: 200;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a:not(.btn) { font-size: 1.45rem; color: var(--paper); }
  .nav-socials { margin: 12px 0 0; }
  .nav-toggle { display: block; }
  section { padding: 80px 0; }
  .hero { padding-top: 130px; }
  .hero-watermark { display: none; }
  .scroll-hint { display: none; }
  .form-shell { padding: 34px 24px; }
  .field-row, .choice-grid { grid-template-columns: 1fr; }
  .float-cta { display: block; }
  body:has(.float-cta) { padding-bottom: 82px; }
  /* Clean stacked pill (mobile): the email field is its own pill and the
     button sits beneath it, proportionate — no outer box-in-a-box. */
  .hero-pill { flex-direction: column; gap: 12px; padding: 0; border-radius: 0; }
  .hero-pill input {
    width: 100%; text-align: center; padding: 16px 18px; border-radius: 999px;
    background: rgba(245,242,234,.09); box-shadow: inset 0 0 0 1px rgba(245,242,234,.26);
  }
  .hero-pill .btn {
    width: 100%; padding: 16px 24px; font-size: .95rem;
    letter-spacing: .01em; text-transform: none;
  }
  .hero-pill .btn::after { content: "→"; }
  .hpanel { flex: none; min-height: auto; padding: 70px 24px; }
  .hpanel .pnum { position: static; font-size: 4.5rem; margin-bottom: 8px; }
  .htrack { display: block; }
  .hprogress { display: none; }
  .kinetic-stage { min-height: auto; padding: 90px 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-strip .g-item:nth-child(even) { transform: none; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry .m-item { margin-bottom: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE TRANSITION VEIL
   ============================================================ */
.page-veil {
  position: fixed; inset: 0; z-index: 6000;
  background: #05070b;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; visibility: hidden;
  clip-path: inset(100% 0 0 0);
}
.page-veil::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 50%, rgba(197,160,90,.07), transparent 70%);
}
.page-veil.go {
  visibility: visible; pointer-events: all;
  clip-path: inset(0 0 0 0);
  transition: clip-path .42s cubic-bezier(.76, 0, .24, 1);
}
.page-veil.on { visibility: visible; clip-path: inset(0 0 0 0); }
.page-veil.out {
  visibility: visible;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s cubic-bezier(.76, 0, .24, 1) .06s;
}
.pv-core {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  opacity: 0; transform: scale(.9);
  transition: opacity .28s ease, transform .28s ease;
}
.page-veil.go .pv-core, .page-veil.on .pv-core {
  opacity: 1; transform: scale(1); transition-delay: .1s;
}
.page-veil.out .pv-core { opacity: 0; transform: scale(.96); transition: opacity .22s ease, transform .22s ease; }
.pv-mark {
  width: 56px; height: auto;
  filter: drop-shadow(0 0 22px rgba(197,160,90,.4));
  animation: pvPulse 1.1s ease-in-out infinite;
}
@keyframes pvPulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .page-veil { display: none; }
}

/* ============================================================
   COVERS GRID (services — SEO cover types)
   ============================================================ */
.cover-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.cover-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px; padding: 32px 30px;
  text-decoration: none; color: var(--ink);
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease), background .4s var(--ease);
  overflow: hidden;
}
.cover-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #c5a05a, #d4b272);
  transition: width .55s var(--ease);
}
.cover-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197,160,90,.45);
  box-shadow: 0 24px 60px -28px rgba(9,20,32,.45);
  background: #fff;
}
.cover-card:hover::after { width: 100%; }
.cover-ic {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(197,160,90,.12);
  margin-bottom: 22px; flex-shrink: 0;
}
.cover-card h3 { font-size: 1.28rem; margin: 0 0 10px; letter-spacing: -.01em; }
.cover-card p { font-size: .96rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 22px; flex-grow: 1; }
.cover-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .9rem; font-weight: 600; color: #b9863c;
  letter-spacing: .01em;
}
.cover-link .ar { transition: transform .4s var(--ease); }
.cover-card:hover .cover-link .ar { transform: translateX(5px); }

/* form hint line under step headings */
.form-hint { margin: -14px 0 22px; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }

/* ============================================================
   TIMELINE (services — benefits & covers as a vertical journey)
   ============================================================ */
.timeline { position: relative; max-width: 820px; margin: 56px auto 0; }
.timeline::before {
  content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(197,160,90,.55) 12%, rgba(197,160,90,.55) 88%, transparent);
}
.tl-item { position: relative; padding: 0 0 38px 92px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute; left: 0; top: 0;
  width: 64px; height: 64px; border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--paper);
  transition: transform .5s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  z-index: 1;
}
.tl-item h3 { font-size: 1.32rem; margin: 6px 0 9px; letter-spacing: -.01em; }
.tl-item p { color: var(--ink-soft); line-height: 1.65; margin: 0; max-width: 620px; }
.belief .tl-node { background: var(--paper-2); box-shadow: 0 0 0 6px var(--paper-2); }

/* clickable cover items */
a.tl-item { display: block; text-decoration: none; color: var(--ink); }
a.tl-item .tl-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-size: .9rem; font-weight: 600; color: #b9863c;
}
a.tl-item .tl-link .ar { transition: transform .4s var(--ease); }
a.tl-item:hover .tl-node { transform: scale(1.06); border-color: rgba(197,160,90,.6); background: rgba(197,160,90,.12); }
a.tl-item:hover .tl-link .ar { transform: translateX(5px); }
a.tl-item:hover h3 { color: #a8782f; }

@media (max-width: 600px) {
  .timeline::before { left: 25px; }
  .tl-item { padding-left: 74px; }
  .tl-node { width: 52px; height: 52px; border-radius: 14px; }
}

/* intro copy inside a dark providers band (e.g. disclosure page) */
.press-band .press-copy { max-width: 760px; margin: 26px auto 0; }
.press-band .press-copy p { color: rgba(245,242,234,.68); line-height: 1.7; margin: 0 0 16px; }
.press-band .press-copy p:last-child { margin-bottom: 0; }

/* ============================================================
   MOBILE POLISH PASS  (phones ≤600px and ≤400px)
   Tightens type, spacing, touch targets and stacking so every
   section sits proportionately on small screens.
   ============================================================ */
@media (max-width: 600px) {
  /* fluid headings sized for narrow viewports */
  h1 { font-size: clamp(2.5rem, 11.5vw, 3.6rem); line-height: 1.05; }
  h2 { font-size: clamp(1.95rem, 8vw, 2.8rem); }
  h3 { font-size: clamp(1.2rem, 5vw, 1.45rem); }
  .lead { font-size: 1.04rem; }

  /* breathing room */
  section { padding: 60px 0; }
  .container { padding-left: 20px; padding-right: 20px; }
  .section-head { margin-bottom: 40px; }
  .page-hero { padding-top: 122px; padding-bottom: 46px; }

  /* header: slightly smaller mark so the menu button has room */
  .site-header .logo img { height: 34px !important; }

  /* buttons: comfortable tap targets, never overflow */
  .btn { padding: 14px 22px; font-size: .95rem; }
  .btn-lg { padding: 16px 26px; font-size: 1rem; }
  .btn-pill { padding: 11px 18px; }
  .page-hero .btn, .cta-band .btn { width: auto; }

  /* splits: image first, comfortable gap (covers all split sections) */
  .split { gap: 34px; }
  .split-art { border-radius: 18px; }

  /* timeline tighter */
  .timeline { margin-top: 40px; }
  .tl-item { padding-bottom: 30px; }
  .tl-item p { font-size: .98rem; }

  /* covers / cards */
  .cover-card { padding: 26px 22px; }

  /* gallery captions readable */
  .gallery-strip { gap: 12px; }
  .g-cap { font-size: .8rem; }

  /* belief quote */
  .belief blockquote { font-size: clamp(1.4rem, 6.4vw, 2rem); line-height: 1.3; }

  /* form */
  .form-shell { padding: 28px 18px; }
  .form-step h3 { font-size: 1.3rem; }
  .choice .choice-card { padding: 16px 16px; }
  .choice .choice-card strong { font-size: .95rem; }

  /* footer stacks cleanly */
  .ft-mid { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ft-actions { gap: 16px; width: 100%; }
  .ft-actions .btn { width: 100%; }
  .ft-base { gap: 10px; }
  .ft-mail { word-break: break-word; }

  /* providers band copy */
  .press-band .press-copy p { font-size: .98rem; }
}

@media (max-width: 400px) {
  h1 { font-size: clamp(2.2rem, 12vw, 2.9rem); }
  .container { padding-left: 16px; padding-right: 16px; }
  .btn-lg { width: 100%; }                /* full-width primary CTAs on tiny screens */
  .page-hero .btn, .cta-band .btn { width: 100%; }
  .press-grid { column-gap: 26px; row-gap: 26px; }
  .press-cell img { max-height: 22px; max-width: 92px; }
}
