/* ============================================================
   THE FRONTIER COMMUNICATIONS — Flagship experience layer
   Loaded in addition to styles.css on the Home page.
   ============================================================ */

:root {
  --rose-deep: #8E5560;
  --gold-lt:   #E5CFA6;
  --lilac-dp:  #BFA8D8;
  --sage-dp:   #9FB094;
  --blur-glass: saturate(160%) blur(18px);
}

/* ============================================================
   CONVERSION LAYER — sticky CTA, cookie consent, lead magnet, scorecard
   ============================================================ */
/* Sticky Book-a-Call */
.sticky-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--rose); color: var(--white); text-decoration: none;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  padding: 15px 24px; border-radius: 40px;
  box-shadow: 0 18px 40px -14px rgba(47,39,37,0.55);
  transform: translateY(140%); opacity: 0;
  transition: transform .5s cubic-bezier(.16,.84,.44,1), opacity .5s, background .3s;
}
.sticky-cta.show { transform: translateY(0); opacity: 1; }
.sticky-cta:hover { background: var(--espresso); }
.sticky-cta svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .sticky-cta { right: 14px; bottom: 14px; padding: 13px 20px; font-size: 12px; } }

/* Cookie consent */
.cookie-consent {
  position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 900;
  max-width: 560px; margin: 0 auto;
  background: var(--espresso); color: rgba(247,243,238,0.82);
  border: 1px solid rgba(212,180,131,0.25); border-radius: 18px;
  padding: 22px 24px; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
  transform: translateY(160%); transition: transform .6s cubic-bezier(.16,.84,.44,1);
  font-size: 13.5px; line-height: 1.6;
}
.cookie-consent.show { transform: translateY(0); }
.cookie-consent a { color: var(--gold); }
.cookie-consent .cc-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cookie-consent button {
  font-family: var(--sans); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  padding: 11px 20px; border-radius: 30px; cursor: pointer; border: 1px solid transparent; transition: all .25s;
}
.cc-accept { background: var(--gold); color: var(--espresso); }
.cc-accept:hover { background: var(--ivory); }
.cc-reject { background: transparent; color: rgba(247,243,238,0.8); border-color: rgba(247,243,238,0.3); }
.cc-reject:hover { border-color: var(--ivory); color: var(--ivory); }

/* Lead-magnet offer block */
.offer {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px,5vw,64px); align-items: center;
}
.offer .o-form { background: rgba(255,255,255,0.55); backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255,255,255,0.65); border-radius: 24px; padding: 34px 30px;
  box-shadow: 0 30px 60px -40px rgba(47,39,37,0.5); }
.offer .o-form form { display: flex; gap: 10px; flex-wrap: wrap; }
.offer .o-form input { flex: 1; min-width: 180px; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 40px; padding: 14px 20px; }
.offer .o-form input:focus { outline: none; border-color: var(--rose); }
.offer .o-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } }

/* Scorecard tool */
.sc { max-width: 760px; margin: 0 auto; }
.sc-q { display: none; }
.sc-q.active { display: block; }
.sc-progress { height: 3px; background: var(--line); border-radius: 3px; margin-bottom: 40px; overflow: hidden; }
.sc-progress i { display: block; height: 100%; width: 0; background: var(--rose); transition: width .4s ease; }
.sc-count { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--rose); font-weight: 600; margin-bottom: 16px; }
.sc-q h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px,3.4vw,40px); line-height: 1.15; margin-bottom: 28px; color: var(--ink); }
.sc-opts { display: grid; gap: 12px; }
.sc-opt { text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; font-size: 16px; color: var(--ink-soft); cursor: pointer; transition: all .25s; font-family: var(--sans); }
.sc-opt:hover { border-color: var(--rose); color: var(--rose); transform: translateX(4px); }
.sc-result { display: none; text-align: center; }
.sc-result.show { display: block; }
.sc-score { font-family: var(--serif); font-weight: 300; font-size: clamp(70px,10vw,130px); line-height: 1; color: var(--rose); }
.sc-score small { font-size: 0.35em; color: var(--ink-faint); }
.sc-gate { max-width: 460px; margin: 30px auto 0; display: flex; gap: 10px; flex-wrap: wrap; }
.sc-gate input { flex: 1; min-width: 200px; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 40px; padding: 14px 20px; }
.sc-gate input:focus { outline: none; border-color: var(--rose); }

/* URL-based scorecard */
.sc-start { max-width: 640px; margin: 0 auto; text-align: center; }
.sc-url-form { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.sc-url-form input { flex: 1; min-width: 240px; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 40px; padding: 16px 24px; }
.sc-url-form input:focus { outline: none; border-color: var(--rose); }
.sc-privacy { font-size: 12.5px; color: var(--ink-faint); margin-top: 16px; }
.sc-loading { display: none; text-align: center; padding: 30px 0; }
.sc-loading.show { display: block; }
.sc-spinner { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--rose); margin: 0 auto 26px; animation: sc-spin 1s linear infinite; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-load-msg { font-family: var(--serif); font-size: clamp(20px,2.4vw,26px); color: var(--ink-soft); min-height: 32px; }
.sc-analyzed { font-size: 13px; color: var(--ink-faint); word-break: break-all; margin-top: 6px; }
.sc-cats { display: grid; gap: 20px; max-width: 640px; margin: 38px auto 0; }
.sc-cat { text-align: left; }
.sc-cat .sc-cat-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; font-weight: 600; }
.sc-cat .sc-cat-top b { color: var(--rose); font-family: var(--serif); font-size: 20px; letter-spacing: 0; }
.sc-bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.sc-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--gold), var(--rose)); transition: width 1.1s cubic-bezier(.16,.84,.44,1); }
.sc-recs { max-width: 640px; margin: 36px auto 0; text-align: left; display: grid; gap: 13px; }
.sc-recs .rec { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.sc-recs .rec b { color: var(--rose); flex-shrink: 0; }
.sc-reset { display: inline-block; margin-top: 30px; }

/* Creative real-data breakdown */
.sc-findings { max-width: 680px; margin: 38px auto 0; display: grid; gap: 12px; }
.finding { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; text-align: left; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.finding.in { opacity: 1; transform: none; }
.finding .f-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.finding.ok .f-ic { background: rgba(184,196,176,0.4); color: #5f7a52; }
.finding.warn .f-ic { background: rgba(183,110,121,0.15); color: var(--rose); }
.finding .f-body { flex: 1; min-width: 0; }
.finding .f-top { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.finding .f-top b { font-size: 16px; color: var(--ink); font-weight: 600; }
.finding .f-val { font-family: var(--serif); font-size: 17px; color: var(--rose); white-space: nowrap; }
.finding.ok .f-val { color: #5f7a52; }
.finding p { font-size: 13.5px; color: var(--ink-faint); margin-top: 4px; line-height: 1.5; }
.sc-book { max-width: 560px; margin: 46px auto 0; text-align: center; border-top: 1px solid var(--line); padding-top: 40px; }
.sc-book h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,3.2vw,36px); margin-bottom: 12px; }
.sc-book p { color: var(--ink-soft); font-size: 16px; margin-bottom: 26px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* Smooth scroll surface (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body.flagship { background: var(--ivory); overflow-x: hidden; cursor: none; }
@media (hover: none) { body.flagship { cursor: auto; } }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: var(--rose); }
.cursor-ring {
  width: 42px; height: 42px;
  border: 1px solid rgba(183,110,121,0.55);
  transition: width .35s, height .35s, background .35s, border-color .35s, opacity .3s;
}
.cursor-ring.hover {
  width: 74px; height: 74px;
  background: rgba(183,110,121,0.08);
  border-color: rgba(183,110,121,0.4);
}
.cursor-ring.down { width: 30px; height: 30px; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   PRELOADER
   ============================================================ */
/* Preloader / loading screen removed site-wide. */
.loader, .loader-curtain { display: none !important; }

.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--espresso);
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 30px;
}
.loader-mark { width: 96px; height: auto; opacity: 0; }
.loader-bar {
  width: min(280px, 60vw); height: 1px;
  background: rgba(212,180,131,0.2);
  position: relative; overflow: hidden;
}
.loader-bar i { position: absolute; inset: 0; width: 0; background: var(--gold); display: block; }
.loader-count {
  font-family: var(--sans); font-size: 11px; letter-spacing: 4px;
  color: rgba(247,243,238,0.55); text-transform: uppercase;
}
.loader-curtain {
  position: fixed; inset: 0; z-index: 9998; background: var(--espresso);
  transform: translateY(0); pointer-events: none; display: none;
}
html.js .loader-curtain { display: block; }

/* ============================================================
   NAV (flagship overrides — transparent over hero)
   ============================================================ */
.flagship .nav { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.flagship .nav .nav-logo,
.flagship .nav .nav-links a { color: var(--ivory); }
.flagship .nav .nav-links a::after { background: var(--gold); }
.flagship .nav .btn-nav { background: rgba(247,243,238,0.12); border-color: rgba(247,243,238,0.35); color: var(--ivory); backdrop-filter: blur(6px); }
.flagship .nav .btn-nav:hover { background: var(--rose); border-color: var(--rose); }
.flagship .nav .nav-toggle span { background: var(--ivory); }
.flagship .nav.scrolled {
  background: rgba(247,243,238,0.9); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.flagship .nav.scrolled .nav-logo,
.flagship .nav.scrolled .nav-links a { color: var(--ink); }
.flagship .nav.scrolled .nav-links a:hover,
.flagship .nav.scrolled .nav-links a.active { color: var(--rose); }
.flagship .nav.scrolled .nav-links a::after { background: var(--rose); }
.flagship .nav.scrolled .btn-nav { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.flagship .nav.scrolled .btn-nav:hover { background: var(--rose); border-color: var(--rose); }
.flagship .nav.scrolled .nav-toggle span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #2b2320 0%, #3a2e2a 55%, #4a3a39 100%);
  isolation: isolate;
}
/* drifting color mesh */
.hero-mesh { position: absolute; inset: -20%; z-index: -3; filter: blur(60px); opacity: .9; }
.hero-mesh span {
  position: absolute; border-radius: 50%; mix-blend-mode: screen;
  will-change: transform;
}
.hero-mesh .m1 { width: 46vw; height: 46vw; left: 4%; top: 8%;  background: radial-gradient(circle, rgba(216,201,232,0.55), transparent 65%); }
.hero-mesh .m2 { width: 40vw; height: 40vw; right: 2%; top: 18%; background: radial-gradient(circle, rgba(183,110,121,0.5), transparent 65%); }
.hero-mesh .m3 { width: 38vw; height: 38vw; left: 28%; bottom: -6%; background: radial-gradient(circle, rgba(184,196,176,0.5), transparent 65%); }
.hero-mesh .m4 { width: 30vw; height: 30vw; right: 22%; bottom: 4%; background: radial-gradient(circle, rgba(212,180,131,0.5), transparent 65%); }

/* light sweep */
.hero-sweep {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,248,235,0.10) 47%, rgba(255,248,235,0.18) 50%, rgba(255,248,235,0.10) 53%, transparent 70%);
  background-size: 250% 250%;
}

/* grain */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative; z-index: 3;
  width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  align-items: center; gap: 4vw;
}

.hero-eyebrow {
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 30px;
}
.hero-eyebrow::before { content: ''; width: 38px; height: 1px; background: var(--gold); display: block; }

.hero h1 {
  font-family: var(--serif); font-weight: 300; color: var(--ivory);
  font-size: clamp(56px, 9vw, 138px); line-height: 0.92; letter-spacing: -1px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; will-change: transform; }

.hero-lede {
  margin-top: 34px; max-width: 460px;
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7;
  color: rgba(247,243,238,0.72); font-weight: 300;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }

/* Cooler hero subheadline */
.hero-lede-cool {
  margin-top: 30px; max-width: 560px;
  font-size: clamp(18px, 1.8vw, 23px); line-height: 1.55; font-weight: 400;
  color: rgba(247,243,238,0.9); letter-spacing: 0.2px;
}
.hero-lede-cool em { font-style: italic; color: var(--gold); }
.hero-lede-cool b { font-weight: 600; color: var(--ivory); }

/* Subtle, on-brand hero score link (understated, not a button) */
.hero-score {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500;
  color: #E5CFA6; text-decoration: none;
  border-bottom: 1px solid rgba(212,180,131,0.35); padding-bottom: 5px;
  transition: color .3s, border-color .3s;
}
.hero-score:hover { color: var(--ivory); border-color: var(--gold); }
.hero-score .arr { transition: transform .3s; }
.hero-score:hover .arr { transform: translateX(4px); }

/* magnetic button */
.magnetic { position: relative; display: inline-block; will-change: transform; }

/* metallic hero centerpiece (Oak-Capital-inspired pastel cluster + gold sphere) */
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; will-change: transform; }
.blob {
  position: absolute; border-radius: 48% 52% 55% 45% / 50% 48% 52% 50%;
  filter: blur(.3px); box-shadow: inset 0 10px 30px rgba(255,255,255,0.4), 0 30px 60px -20px rgba(0,0,0,0.4);
  will-change: transform;
}
.blob.b1 { width: 38%; height: 38%; top: 4%;  left: 31%; background: radial-gradient(circle at 35% 30%, #efe6f4, #cdb8e0 70%); }
.blob.b2 { width: 34%; height: 34%; top: 30%; left: 2%;  background: radial-gradient(circle at 35% 30%, #f3efe7, #cdd3c2 72%); }
.blob.b3 { width: 34%; height: 34%; top: 30%; right: 2%; background: radial-gradient(circle at 35% 30%, #f7efe9, #e7c9c0 72%); }
.blob.b4 { width: 40%; height: 40%; bottom: 1%; left: 18%; background: radial-gradient(circle at 35% 30%, #f6eee6, #ddc8ad 72%); }
.blob.b5 { width: 30%; height: 30%; bottom: 6%; right: 14%; background: radial-gradient(circle at 35% 30%, #efe6f4, #c9bbe2 74%); }
.sphere {
  position: absolute; width: 30%; height: 30%; top: 35%; left: 35%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff6e6 0%, #f0d9b0 16%, #d4b483 42%, #b78a5c 66%, #6e4f3a 100%);
  box-shadow: 0 18px 40px -10px rgba(110,79,58,0.6), inset -6px -8px 18px rgba(80,52,32,0.45), inset 6px 8px 16px rgba(255,255,255,0.5);
  z-index: 2; will-change: transform;
}
.sphere::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.35), transparent 40%);
  mix-blend-mode: screen; opacity: .6;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(247,243,238,0.5);
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); display: block; }

/* ============================================================
   SUBHERO (interior pages — light, bright, on-brand)
   ============================================================ */
.subhero {
  position: relative; overflow: hidden;
  min-height: clamp(540px, 78vh, 760px);
  display: flex; align-items: flex-end;
  padding: clamp(150px, 20vh, 230px) 0 clamp(46px, 6vw, 96px);
  background: var(--ivory);
  isolation: isolate;
}
.mesh-soft { position: absolute; inset: -18%; z-index: -2; filter: blur(72px); opacity: .9; pointer-events: none; }
.mesh-soft span { position: absolute; border-radius: 50%; will-change: transform; }
.mesh-soft .s1 { width: 42vw; height: 42vw; left: -4%; top: -4%;  background: radial-gradient(circle, rgba(216,201,232,0.85), transparent 66%); }
.mesh-soft .s2 { width: 38vw; height: 38vw; right: -2%; top: 6%;  background: radial-gradient(circle, rgba(231,201,192,0.8), transparent 66%); }
.mesh-soft .s3 { width: 40vw; height: 40vw; left: 20%; bottom: -16%; background: radial-gradient(circle, rgba(184,196,176,0.75), transparent 66%); }
.mesh-soft .s4 { width: 26vw; height: 26vw; right: 18%; bottom: -8%; background: radial-gradient(circle, rgba(212,180,131,0.7), transparent 66%); }
.subhero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.subhero-inner { position: relative; z-index: 2; width: 100%; }
.subhero h1 {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(46px, 7.5vw, 116px); line-height: 0.96; letter-spacing: -0.8px;
}
.subhero h1 em { font-style: italic; color: var(--rose); }
.subhero .hero-lede { color: var(--ink-soft); }

/* Subpage nav: dark text over the light subhero */
.flagship.subpage .nav .nav-logo,
.flagship.subpage .nav .nav-links a { color: var(--ink); }
.flagship.subpage .nav .nav-links a:hover,
.flagship.subpage .nav .nav-links a.active { color: var(--rose); }
.flagship.subpage .nav .nav-links a::after { background: var(--rose); }
.flagship.subpage .nav .btn-nav { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.flagship.subpage .nav .btn-nav:hover { background: var(--rose); border-color: var(--rose); }
.flagship.subpage .nav .nav-toggle span { background: var(--ink); }

/* ============================================================
   ROUNDED COLOR-BLOCK SECTIONS (Oak Capital influence)
   ============================================================ */
.block {
  position: relative;
  border-radius: clamp(28px, 4vw, 56px);
  margin: 0 auto;
  overflow: hidden;
}
.block-stack { display: grid; gap: 18px; padding: 0 max(18px, calc((100vw - var(--maxw) - 36px)/2)); }
.bg-lilac  { background: var(--lilac); }
.bg-sage   { background: var(--sage); }
.bg-champ  { background: var(--ivory-warm); }
.bg-espresso { background: var(--espresso); color: var(--ivory); }
/* Ensure headings and text read clearly on the dark espresso blocks */
.bg-espresso .h-title, .bg-espresso .display, .bg-espresso .h-sub, .bg-espresso h2, .bg-espresso h3 { color: var(--ivory); }
.bg-espresso .lede, .bg-espresso p { color: rgba(247,243,238,0.78); }
.bg-espresso em.accent, .bg-espresso .accent { color: var(--gold); }
.bg-espresso .eyebrow { color: var(--gold); }
.bg-espresso .eyebrow::before { background: var(--gold); }
.bg-rose   { background: linear-gradient(150deg, #c98a93, #b76e79); color: var(--ivory); }
.bg-glassmesh {
  background:
    radial-gradient(60% 80% at 12% 18%, rgba(216,201,232,0.8), transparent 60%),
    radial-gradient(60% 80% at 88% 30%, rgba(231,201,192,0.8), transparent 60%),
    radial-gradient(70% 90% at 50% 110%, rgba(184,196,176,0.7), transparent 60%),
    var(--ivory);
}
.block .pad { padding: clamp(40px, 4.5vw, 72px) clamp(26px, 5vw, 80px); }

/* manifesto highlight-on-scroll */
.manifesto {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 4.4vw, 64px); line-height: 1.18; letter-spacing: -0.3px;
  max-width: 1000px;
}
.manifesto .w { color: rgba(47,39,37,0.3); transition: color .2s; }
.bg-espresso .manifesto .w { color: rgba(247,243,238,0.32); }
.manifesto .w.lit { color: var(--ink); }
.bg-espresso .manifesto .w.lit { color: var(--ivory); }
.manifesto em { font-style: italic; color: var(--rose); }

/* ============================================================
   GLASS CARDS (capabilities ecosystem)
   ============================================================ */
.eco { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.glass {
  background: rgba(255,255,255,0.45);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 38px 32px;
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  will-change: transform;
  box-shadow: 0 30px 60px -40px rgba(47,39,37,0.5);
}
.glass .num { font-family: var(--serif); font-style: italic; color: var(--rose); font-size: 15px; display: block; margin-bottom: 22px; }
.glass h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; margin-bottom: 12px; }
.glass p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.glass .tags { margin-top: 18px; font-size: 12px; letter-spacing: .3px; color: var(--ink-faint); }
.glass::before {
  content: ''; position: absolute; top: -40%; left: -30%; width: 60%; height: 180%;
  background: linear-gradient(transparent, rgba(255,255,255,0.5), transparent);
  transform: rotate(20deg) translateX(-120%); transition: transform .7s;
}
.glass:hover::before { transform: rotate(20deg) translateX(320%); }
.eco-wide { grid-column: span 3; }
.eco-tall { grid-column: span 3; }
.eco-cta { grid-column: span 6; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--espresso); border-color: rgba(212,180,131,0.3); }
.eco-cta h3 { color: var(--ivory); }

/* ============================================================
   APPROACH (pinned scroll scenes)
   ============================================================ */
.pin-wrap { position: relative; }
.pin-stage { min-height: 100svh; display: flex; align-items: center; }
.scene { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5vw; align-items: center; width: 100%; }
.scene-rail { position: relative; }
.scene-rail .track { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(212,180,131,0.25); }
.scene-rail .fill { position: absolute; left: 0; top: 0; width: 2px; background: var(--gold); height: 0; }
.scene-steps { display: grid; gap: 8px; padding-left: 34px; }
.scene-step { padding: 14px 0; opacity: .4; transition: opacity .4s; }
.scene-step.active { opacity: 1; }
.scene-step .sn { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 14px; }
.scene-step h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 40px); color: var(--ivory); }
.scene-step .desc {
  color: rgba(247,243,238,0.62); font-size: 15.5px; line-height: 1.7; max-width: 440px;
  margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s ease, opacity .4s ease, margin .4s ease;
}
.scene-step.active .desc { max-height: 160px; opacity: 1; margin-top: 12px; }
.scene-viz { position: relative; aspect-ratio: 4/3; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(0,0,0,0.7); }
.scene-card {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
}
.scene-card.show { opacity: 1; }
/* Approach scenes: image if present, gradient fallback otherwise. */
.sv1 { background: url("approach-01.jpg") center/cover no-repeat, radial-gradient(80% 80% at 20% 20%, #cdb8e0, #8e7aa6); }
.sv2 { background: url("approach-02.jpg") center/cover no-repeat, radial-gradient(80% 80% at 80% 20%, #d9c2a0, #a9824f); }
.sv3 { background: url("approach-03.jpg") center/cover no-repeat, radial-gradient(80% 80% at 20% 80%, #c9bbb0, #b76e79); }
.sv4 { background: url("approach-04.jpg") center/cover no-repeat, radial-gradient(80% 80% at 80% 80%, #b8c4b0, #6f8264); }

/* ============================================================
   WORK CARDS
   ============================================================ */
.work-card {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(24px, 4vw, 64px);
  align-items: center; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line);
}
.work-card:last-child { border-bottom: 1px solid var(--line); }
.work-visual { border-radius: 26px; aspect-ratio: 5/4; position: relative; overflow: hidden; }
.work-visual .inner { position: absolute; inset: 0; transform: scale(1.15); will-change: transform; background-size: cover; background-position: center; background-repeat: no-repeat; }
/* If the JPG is present it shows; if absent, the gradient fallback (2nd layer) shows. */
.wv1 { background: url("work-01.jpg") center/cover no-repeat, radial-gradient(70% 70% at 30% 30%, #d8c9e8, #b9a6d2); }
.wv2 { background: url("work-02.jpg") center/cover no-repeat, radial-gradient(70% 70% at 70% 30%, #e7c9c0, #b76e79); }
.wv3 { background: url("work-03.jpg") center/cover no-repeat, radial-gradient(70% 70% at 30% 70%, #b8c4b0, #6f8264); }
.wv4 { background: url("work-04.jpg") center/cover no-repeat, radial-gradient(70% 70% at 70% 30%, #d8c9e8, #8e7aa6); }
.work-meta .num { font-family: var(--serif); font-style: italic; color: var(--rose); display: block; margin-bottom: 14px; }
.work-meta h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.work-meta .sector { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.work-points { margin-top: 22px; display: grid; gap: 14px; }
.work-points .row { display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.work-points .k { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.work-points .v { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   COUNT-UP STATS
   ============================================================ */
.bignum { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 7vw, 104px); line-height: 1; color: var(--ivory); }
.bignum em { color: var(--gold); font-style: normal; }
/* Six-up stat band (credibility) */
.stats-6 { grid-template-columns: repeat(6, 1fr); }
.stats-6 .bignum { font-size: clamp(38px, 4vw, 60px); }
@media (max-width: 1000px) { .stats-6 { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (max-width: 520px) { .stats-6 { grid-template-columns: repeat(2, 1fr); } }
.stats-8 { grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.stats-8 .bignum { font-size: clamp(38px, 4vw, 58px); }
@media (max-width: 900px) { .stats-8 { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; } }
@media (max-width: 520px) { .stats-8 { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-size: clamp(22px, 3vw, 38px); color: rgba(247,243,238,0.68); white-space: nowrap; }
.marquee-track span b { color: var(--gold); font-weight: 400; }

/* ============================================================
   APPROACH FLOW (multi-step stepper)
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: rgba(212,180,131,0.22); border-radius: 18px; overflow: hidden; }
.flow .fstep { background: var(--espresso); padding: 30px 20px; position: relative; }
.flow .fstep .fn { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold); display: block; margin-bottom: 14px; line-height: 1; }
.flow .fstep h4 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ivory); margin-bottom: 10px; }
.flow .fstep p { font-size: 13px; color: rgba(247,243,238,0.66); line-height: 1.55; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ============================================================
   INDUSTRIES GRID
   ============================================================ */
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 70px; }
.ind-grid .ind {
  display: flex; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-weight: 400; line-height: 1.25;
  font-size: clamp(20px, 2vw, 28px); color: var(--ink);
  transition: color .3s, padding-left .3s;
}
.ind-grid .ind::before {
  content: attr(data-n); font-family: var(--sans); font-size: 12px; letter-spacing: 1px;
  color: var(--rose); font-weight: 600; flex-shrink: 0; min-width: 26px;
  position: relative; top: -2px;
}
.ind-grid .ind:hover { color: var(--rose); padding-left: 8px; }
.ind-note { margin-top: 34px; font-style: italic; font-family: var(--serif); font-size: clamp(19px,2vw,26px); color: var(--ink); max-width: 760px; line-height: 1.4; }
@media (max-width: 680px) { .ind-grid { grid-template-columns: 1fr; gap: 0; } }

/* ============================================================
   LOGO STRIP (real publication / award marks, monochrome)
   ============================================================ */
.logo-strip { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-strip .marquee-track { align-items: center; gap: 62px; }
.logo-strip img { height: 30px; width: auto; flex-shrink: 0; opacity: .58; transition: opacity .35s;
  filter: none; }
.logo-strip img:hover { opacity: 1; }
.logo-strip.on-dark img { filter: brightness(0) invert(1); opacity: .9; }
.logo-strip.on-dark img:hover { opacity: 1; transform: translateY(-2px); }
.logo-strip img { height: 38px; transition: opacity .35s, transform .35s; }
.logo-strip.on-dark img { height: 36px; }
.logo-strip .marquee-track { gap: 70px; }
/* Keep the scrolling logo track out of normal flow so its max-content width
   cannot force the whole section wider than the viewport. */
.logo-strip { position: relative; height: 58px; }
.logo-strip .marquee-track { position: absolute; top: 0; left: 0; height: 100%; }
.marquee { position: relative; }
/* Home proof stats: responsive, always visible, cannot overflow */
.proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; max-width: 1000px; margin: 0 auto; opacity: 1; }
@media (max-width: 900px) { .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 18px; } }

/* Static logo wall (rows) */
.logo-cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px 54px; }
.logo-cloud img { height: 30px; width: auto; opacity: .55; transition: opacity .35s, transform .35s; }
.logo-cloud img:hover { opacity: 1; transform: translateY(-3px); }
.logo-cloud.on-dark img { filter: brightness(0) invert(1); opacity: .8; }
.logo-cloud.on-dark img:hover { opacity: 1; }

/* ============================================================
   TESTIMONIAL / PULL-QUOTE
   ============================================================ */
.quote-block { max-width: 940px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 90px; line-height: .5; color: var(--rose); opacity: .5; display: block; height: 42px; }
.quote-block blockquote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(24px, 3.2vw, 42px); line-height: 1.3; color: var(--ink); margin: 0 0 26px;
}
.bg-espresso .quote-block blockquote { color: var(--ivory); }
.quote-cite { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.quote-cite span { display: block; color: var(--ink-faint); letter-spacing: 1px; margin-top: 5px; font-weight: 500; }
.bg-espresso .quote-cite span { color: rgba(247,243,238,0.55); }

.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qcard {
  background: rgba(255,255,255,0.5); backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 22px; padding: 34px 30px;
  box-shadow: 0 30px 60px -45px rgba(47,39,37,0.5);
}
.qcard p { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--ink); margin-bottom: 20px; }
.qcard .qc { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.qcard .qc span { display: block; color: var(--ink-faint); margin-top: 4px; letter-spacing: .5px; }
@media (max-width: 820px) { .quotes-grid { grid-template-columns: 1fr; } }

/* ============================================================
   AURORA — rotating conic glow (section accent background)
   ============================================================ */
.aurora { position: absolute; inset: -30% -10%; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .5; }
.aurora i { position: absolute; width: 44vw; height: 44vw; border-radius: 46% 54% 52% 48%; mix-blend-mode: screen; will-change: transform; }
.aurora .a1 { left: 6%; top: 4%; background: radial-gradient(circle, rgba(216,201,232,0.7), transparent 62%); }
.aurora .a2 { right: 4%; top: 14%; background: radial-gradient(circle, rgba(183,110,121,0.6), transparent 62%); }
.aurora .a3 { left: 30%; bottom: 0; background: radial-gradient(circle, rgba(184,196,176,0.6), transparent 62%); }

/* ============================================================
   FAQ (AEO answer block)
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 30px 0; }
.faq-item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.3vw, 30px); color: var(--ink); margin-bottom: 12px; line-height: 1.2; }
.faq-item p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; max-width: 880px; }

/* ============================================================
   LOGO WALL
   ============================================================ */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.logo-wall span {
  background: var(--ivory); display: flex; align-items: center; justify-content: center;
  padding: 30px 16px; font-family: var(--serif); font-size: clamp(15px, 1.5vw, 20px);
  color: var(--ink-soft); text-align: center; line-height: 1.2; transition: color .3s, background .3s;
}
.logo-wall span:hover { color: var(--rose); background: var(--white); }
.bg-espresso .logo-wall { background: rgba(212,180,131,0.2); border-color: rgba(212,180,131,0.2); }
.bg-espresso .logo-wall span { background: var(--espresso); color: rgba(247,243,238,0.92); }
.bg-espresso .logo-wall span:hover { color: var(--gold); }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   FORM EXTRAS (multi-field project form)
   ============================================================ */
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.field-full { grid-column: 1 / -1; }
.field-inline { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.field-inline label {
  display: inline-flex; gap: 9px; align-items: center; cursor: pointer;
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 15px; color: var(--ink-soft);
  border: 1px solid var(--line); padding: 10px 16px; border-radius: 40px; transition: border-color .25s, color .25s;
}
.field-inline input { accent-color: var(--rose); width: auto; }
.field-inline label:hover { border-color: var(--rose); color: var(--rose); }
@media (max-width: 680px) { .field-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT PATHWAYS
   ============================================================ */
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pathway {
  display: block; text-decoration: none; color: inherit;
  background: rgba(255,255,255,0.5); backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 22px; padding: 34px 30px;
  transition: transform .35s, box-shadow .35s; box-shadow: 0 30px 60px -45px rgba(47,39,37,0.5);
}
.pathway:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(47,39,37,0.55); }
.pathway .p-num { font-family: var(--serif); font-style: italic; color: var(--rose); font-size: 15px; display: block; margin-bottom: 16px; }
.pathway h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; margin-bottom: 10px; line-height: 1.15; }
.pathway p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.pathway .p-go { margin-top: 18px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--rose); font-weight: 600; }
@media (max-width: 820px) { .pathways { grid-template-columns: 1fr; } }

/* Footer logo as brand asset */
.footer-mark { height: 40px; width: auto; display: block; margin-bottom: 14px; }

/* Social icons */
.social { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(247,243,238,0.28); color: rgba(247,243,238,0.85); transition: all .25s; text-decoration: none; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--espresso); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.social.dark a { border-color: var(--line); color: var(--ink-soft); }
.social.dark a:hover { background: var(--rose); border-color: var(--rose); color: #fff; }

/* ============================================================
   REVEAL (only hidden when JS active)
   ============================================================ */
.js .anim { opacity: 0; }
.js .anim-up { opacity: 0; transform: translateY(40px); }
.js .anim-fade { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .anim, .js .anim-up, .js .anim-fade { opacity: 1 !important; transform: none !important; }
  body.flagship { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .hero-sweep, .sphere::after { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 360px; order: -1; }
  .eco { grid-template-columns: 1fr 1fr; }
  .eco-wide, .eco-tall { grid-column: span 1; }
  .eco-cta { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .scene { grid-template-columns: 1fr; gap: 32px; }
  .work-card { grid-template-columns: 1fr; }
  .work-visual { order: -1; }
}
@media (max-width: 560px) {
  body.flagship { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .eco { grid-template-columns: 1fr; }
  .eco-cta { grid-column: span 1; }
  .work-points .row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   TYPOGRAPHY COHESION — one font + one scale per text role.
   Hero (.hero-eyebrow, hero h1, .scroll-cue) and the manifesto
   word-reveal are intentionally left untouched.
   ============================================================ */
/* Headings: always the serif */
h1, h2, h3, h4, .h-title, .display, .h-sub { font-family: var(--serif); }
/* Every small overline / label / meta: ONE sans treatment sitewide */
.eyebrow, .featured-label, .i-cat, .sector, .work-meta .sector,
.work-points .k, .quote-cite, .qcard .qc, .pathway .p-go,
.sc-count, .i-read, .stat .l, .footer h5, .p-go, .cap .l {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}
.quote-cite span, .qcard .qc span { font-size: 11px; letter-spacing: 1px; font-weight: 500; text-transform: none; }
/* Section index numbers: one consistent serif-italic accent everywhere */
.num, .glass .num, .work-meta .num, .fn, .fstep .fn {
  font-family: var(--serif); font-style: italic; color: var(--rose);
  font-size: 16px; letter-spacing: 0;
}
/* Body copy: always sans */
p, .lede, li, .work-points .v, .footer p.tag, .footer-col a { font-family: var(--sans); }
/* Stat big numbers: always serif, consistent */
.bignum, .proof-stats .pn { font-family: var(--serif); font-weight: 300; }
/* Home proof stat items */
.proof-stats .st { text-align: center; }
.proof-stats .pn { display: block; font-size: clamp(42px, 4.4vw, 62px); line-height: 1; }
.proof-stats .l { display: block; margin-top: 10px; }
/* Compact 'What We Do' teaser (home) */
.svc-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; }
.svc-mini .svc-item { border-top: 1px solid rgba(47,39,37,0.14); padding-top: 16px; }
.svc-mini .svc-item h4 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin: 8px 0 6px; color: var(--ink); }
.svc-mini .svc-item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .svc-mini { grid-template-columns: repeat(2, 1fr); gap: 26px 28px; } }
@media (max-width: 520px) { .svc-mini { grid-template-columns: 1fr; } }
