/* Silvicon: navy + gold. Colors are overridable from admin (settings.colorNavy / colorGold). */
:root {
  --navy: #060D1F;          /* matches the logo background */
  --navy-2: #0B1730;
  --navy-3: #13244A;
  --navy-line: rgba(233, 207, 140, .14);
  --gold: #C9A24A;
  --gold-hi: #EBD397;
  --gold-lo: #8E6C2A;
  --paper: #F3F5F9;
  --paper-2: #E8ECF3;
  --white: #FFFFFF;
  --ink: #0B1630;
  --muted: #56617A;
  --line: #D8DEE9;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* 3D entrance tweens can poke past the edge; clip (not hidden) keeps sticky sections working */
main, .site-footer { overflow-x: clip; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-lo); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin-top: 18px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.dark { background: var(--navy); color: #E7EAF2; }
.dark .lede { color: #A9B2C7; }
.dark .eyebrow { color: var(--gold); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 16px; height: 16px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: rgba(235, 211, 151, .45); color: #F1E6C6; }
.btn-ghost:hover { background: rgba(235, 211, 151, .08); border-color: var(--gold-hi); }
.btn-ink { background: var(--navy); color: var(--gold-hi); }
.btn-ink:hover { background: var(--navy-3); }
.link { font-weight: 700; font-size: .92rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link::after { content: "›"; font-size: 1.15em; transition: transform .2s; }
.link:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(6, 13, 31, .92); backdrop-filter: blur(14px); border-color: var(--navy-line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img.mark { height: 42px; width: auto; }
.brand img.word { height: 17px; width: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: #C9D0E0; text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--gold-hi); }
.nav-links .btn { padding: 11px 18px; color: var(--navy); }
.menu-btn { display: none; background: none; border: 1px solid var(--navy-line); color: var(--gold-hi); width: 44px; height: 44px; border-radius: var(--radius); }
@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links { position: fixed; inset: 76px 0 auto; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--navy-line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
}

/* ---------- hero (3D) ---------- */
.hero { position: relative; height: 175vh; background: var(--navy); }
.hero-stage { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { position: absolute; right: 6%; top: 50%; width: min(38vw, 440px); transform: translateY(-50%); opacity: .9; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6,13,31,.92) 0%, rgba(6,13,31,.55) 42%, rgba(6,13,31,0) 70%), linear-gradient(0deg, var(--navy) 0%, transparent 22%); }
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 76px; max-width: 620px; }
.hero-copy .kicker { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .04em; margin-bottom: 22px; }
.hero h1 { color: #FBF7EC; font-size: clamp(3.2rem, 8vw, 6.6rem); line-height: .95; font-weight: 600; }
.hero h1 .gilt { background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 45%, var(--gold) 70%, var(--gold-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .rule { width: 72px; height: 1px; background: var(--gold); margin: 28px 0; }
.hero .sub { color: #B7C0D4; font-size: 1.06rem; max-width: 52ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-creds { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--navy-line); flex-wrap: wrap; }
.hero-creds b { display: block; color: #F4EEDD; font-size: 1.02rem; font-weight: 700; }
.hero-creds span { color: #8590A8; font-size: .8rem; }
/* scroll chapters that replace the intro copy as the camera travels */
.hero-chapters { position: absolute; z-index: 2; right: var(--gutter); bottom: 12vh; width: min(380px, 80vw); pointer-events: none; }
.chapter { position: absolute; bottom: 0; right: 0; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; border-left: 1px solid var(--gold); padding: 6px 0 6px 22px; }
.chapter.on { opacity: 1; transform: none; }
.chapter small { color: var(--gold); font-weight: 600; font-size: .8rem; }
.chapter p { font-family: var(--serif); color: #F4EEDD; font-size: 1.9rem; line-height: 1.15; margin-top: 6px; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); color: #7F8AA3; font-size: .75rem; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
/* tall/narrow screens: mark above, copy below (hero3d.js uses the same 5:4 switch) */
@media (max-aspect-ratio: 5/4) {
  .hero { height: 190vh; }
  .hero-scrim { background: linear-gradient(0deg, rgba(6,13,31,.96) 30%, rgba(6,13,31,.5) 65%, rgba(6,13,31,.2)); }
  .hero-copy { justify-content: flex-end; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .hero .rule { margin: 18px 0; }
  .hero .sub { font-size: .95rem; }
  .hero .actions { margin-top: 24px; }
  .hero-creds { display: none; }
  .hero-chapters { left: var(--gutter); right: auto; top: 110px; bottom: auto; }
  .chapter { bottom: auto; top: 0; }
  .chapter p { font-size: 1.5rem; }
  .hero-fallback { top: 22%; right: 50%; transform: translate(50%, 0); width: 56vw; }
  .scroll-cue { display: none; }
}

/* ---------- stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; line-height: 1; color: var(--navy); }
.stat span { display: block; color: var(--muted); font-size: .86rem; margin-top: 10px; }
.stat::after { content: ""; display: block; width: 26px; height: 3px; background: var(--gold); margin-top: 20px; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat { padding: 28px 16px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.portrait { position: relative; margin-right: 22px; }
.portrait img, .portrait .ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 1; }
.portrait .ph { background: linear-gradient(160deg, var(--navy-3), var(--navy)); display: grid; place-items: center; }
.portrait .ph img { width: 46%; aspect-ratio: auto; }
.portrait::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); }
.about h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.about .role { color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: 10px; }
.about .lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.35; margin: 26px 0 22px; color: var(--ink); }
.about .body p { color: var(--muted); margin-bottom: 16px; max-width: 64ch; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .portrait { width: 60%; max-width: 252px; } } /* 40% smaller on phones */

/* ---------- audience (who we serve) ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit { background: var(--white); border: 1px solid var(--line); padding: 34px 32px; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.fit:hover { border-color: var(--gold); box-shadow: -4px 0 0 var(--gold), 0 24px 48px -28px rgba(6, 13, 31, .35); }
.fit .num { font-size: .8rem; color: var(--gold-lo); font-weight: 600; }
.fit h3 { font-family: var(--sans); font-size: 1.22rem; font-weight: 700; margin: 12px 0 10px; letter-spacing: 0; }
.fit p { color: var(--muted); font-size: .95rem; }
.fit .start { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 22px; }
.fit .start small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--ink); margin-bottom: 6px; }
.fit .start p { color: var(--ink); font-size: .9rem; }
.notfit { margin-top: 26px; background: var(--paper-2); border-left: 3px solid var(--navy); padding: 28px 32px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.notfit h4 { margin: 0; font-size: 1.05rem; }
.notfit ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.notfit li { color: var(--muted); font-size: .92rem; padding-left: 20px; position: relative; }
.notfit li::before { content: "–"; position: absolute; left: 0; color: var(--gold-lo); }
@media (max-width: 760px) { .fit-grid, .notfit, .notfit ul { grid-template-columns: 1fr; } }

/* ---------- method ---------- */
.method { background: radial-gradient(70% 60% at 75% 50%, #0E1C3D, var(--navy) 70%); }
.layers { border: 1px solid var(--line); }
.layer { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 40px 44px; }
.layer:nth-child(1) { background: var(--white); }
.layer:nth-child(2) { background: #DDE3EC; }
.layer:nth-child(3) { background: var(--navy); color: #fff; }
.layer:nth-child(3) p { color: #C1C9DA; }
.layer small { color: var(--gold-lo); font-weight: 600; font-size: .85rem; }
.layer:nth-child(3) small { color: var(--gold-hi); }
.layer h3 { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; margin-top: 4px; }
.layer p { color: var(--muted); max-width: 68ch; }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; gap: 12px; padding: 30px 24px; } }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.svc-top { display: flex; gap: 18px; align-items: flex-start; }
.icon-tile { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy-3), var(--navy)); color: var(--gold-hi); }
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.gold { background: linear-gradient(160deg, var(--gold-hi), var(--gold)); color: var(--navy); }
.svc h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; letter-spacing: 0; }
.svc-top p { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.svc ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.svc li { position: relative; padding-left: 20px; color: var(--muted); font-size: .93rem; }
.svc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.svc li b { color: var(--ink); }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- fees ---------- */
.fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fee { border: 1px solid var(--line); background: var(--white); padding: 36px 30px; }
.fee.darkcard { background: var(--navy); color: #fff; border-color: var(--navy); }
.fee small { font-weight: 700; font-size: 1rem; display: block; }
.fee .big { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 2.8rem); line-height: 1.02; margin: 14px 0 18px; font-weight: 600; }
.fee.darkcard .big { color: var(--gold-hi); }
.fee p { color: var(--muted); font-size: .93rem; }
.fee ul { list-style: none; padding: 0; margin: 22px 0 0; }
.fee li { padding: 12px 0 12px 22px; border-top: 1px solid var(--line); position: relative; font-size: .92rem; }
.fee li:first-child { border-top: 0; }
.fee li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }
.fee.darkcard li { border-color: rgba(255,255,255,.1); color: #E4E8F1; }
@media (max-width: 900px) { .fee-grid { grid-template-columns: 1fr; } }

/* ---------- journey ---------- */
.journey { background: var(--paper-2); }
.timeline { list-style: none; padding: 0; margin: 0; max-width: 900px; }
.step { display: grid; grid-template-columns: 120px 28px 1fr; gap: 20px; }
.step .when { font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--navy-3); padding-top: 4px; text-transform: uppercase; }
.step .rail { position: relative; display: flex; justify-content: center; }
.step .rail::before { content: ""; position: absolute; top: 12px; bottom: -12px; width: 1px; background: var(--gold); opacity: .6; }
.step:last-child .rail::before { bottom: 0; background: linear-gradient(var(--gold), transparent); }
.step .rail i { position: relative; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--gold-lo); background: var(--paper-2); margin-top: 6px; }
.step .txt { padding-bottom: 38px; }
.step h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
.step p { color: var(--muted); margin-top: 6px; max-width: 66ch; font-size: .96rem; }
@media (max-width: 600px) { .step { grid-template-columns: 22px 1fr; gap: 14px; } .step .when { grid-column: 2; grid-row: 1; padding: 0; } .step .rail { grid-row: 1 / span 2; } .step .txt { grid-column: 2; } }

/* ---------- calculators grid ---------- */
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.calc-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px 28px 24px; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; min-height: 240px; }
.calc-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(6, 13, 31, .45); }
.calc-card h3 { font-family: var(--sans); font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; margin: 26px 0 10px; }
.calc-card p { color: var(--muted); font-size: .93rem; }
.calc-card .link { margin-top: auto; padding-top: 20px; }
.calc-card .badge { position: absolute; top: 22px; right: 22px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: #FBF3DF; color: var(--gold-lo); border: 1px solid #EBD9AE; }
.calc-card.featured { background: linear-gradient(160deg, var(--navy-3), var(--navy) 70%); border-color: var(--navy); color: #fff; }
.calc-card.featured p { color: #B8C1D5; }
.calc-card.featured .link { color: var(--gold-hi); }
.calc-card.featured .badge { background: rgba(235, 211, 151, .1); color: var(--gold-hi); border-color: rgba(235, 211, 151, .35); }
.calc-card.review { background: #FBF6EA; border: 1px dashed var(--gold); }
@media (max-width: 960px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .calc-grid { grid-template-columns: 1fr; } .calc-card { min-height: 0; } }

/* ---------- updates ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; border-top: 2px solid var(--navy); padding-top: 18px; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; margin-bottom: 16px; }
.post-card time { color: var(--gold-lo); font-size: .82rem; font-weight: 600; }
.post-card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; margin: 8px 0; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: .93rem; }
.post-card:hover h3 { color: var(--gold-lo); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { position: relative; overflow: hidden; }
.faq::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 10%, rgba(201, 162, 74, .1), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(19, 36, 74, .9), transparent 70%); pointer-events: none; }
.faq .section-head { text-align: center; }
.faq .section-head .eyebrow { justify-content: center; }
.faq .lede { margin-left: auto; margin-right: auto; }
.faq h2 { color: #FBF7EC; }
.faq-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-items: start; }
.faq details { background: #EEF1F6; color: var(--ink); border-radius: 3px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: .98rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 26px 22px; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.contact-list { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.contact-item { display: flex; gap: 18px; align-items: center; background: var(--white); padding: 22px 24px; text-decoration: none; }
a.contact-item:hover { background: #FBF6EA; }
.contact-item .icon-tile { width: 44px; height: 44px; border-radius: 10px; }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; }
.contact-item b { font-weight: 700; font-size: .98rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #95A0B8; padding: 64px 0 32px; font-size: .88rem; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--navy-line); }
.foot-top h4 { color: #EDE4CB; margin: 0 0 14px; font-size: .9rem; }
.foot-top a { text-decoration: none; display: block; padding: 4px 0; }
.foot-top a:hover { color: var(--gold-hi); }
.foot-brand img { height: 54px; width: auto; margin-bottom: 18px; }
.disclaimer { padding-top: 28px; font-size: .78rem; line-height: 1.7; color: #6F7A93; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: .8rem; color: #6F7A93; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(160deg, var(--gold-hi), var(--gold)); color: var(--navy); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(6, 13, 31, .55); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- sub-page hero (calculator / post) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 140px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 60%); opacity: .5; pointer-events: none; }
.crumbs { font-size: .82rem; color: #8C97AF; margin-bottom: 18px; position: relative; z-index: 1; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: #FBF7EC; position: relative; z-index: 1; }
.page-hero .sub { color: #B4BDD0; max-width: 60ch; margin-top: 16px; position: relative; z-index: 1; }

/* ---------- post page ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.article img { margin-bottom: 32px; width: 100%; }
.article p { font-size: 1.08rem; color: #2A3550; margin-bottom: 20px; line-height: 1.8; }

/* ---------- preloader / page curtain ---------- */
#loader { position: fixed; inset: 0; z-index: 100; background: var(--navy); display: grid; place-items: center; }
#loader::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 45%, rgba(201,162,74,.14), transparent 70%); pointer-events: none; }
.ld-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.ld-inner img { animation: ldPulse 1.6s ease-in-out infinite; }
@keyframes ldPulse { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(235,211,151,.45)); } }
.ld-count { font-family: var(--serif); font-size: 4.2rem; line-height: 1; color: #FBF7EC; font-variant-numeric: tabular-nums; }
.ld-count small { font-size: 1.6rem; color: var(--gold); margin-left: 4px; }
.ld-bar { width: 220px; height: 2px; background: rgba(235,211,151,.15); overflow: hidden; }
.ld-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform: scaleX(0); transform-origin: left; }
#loader.quick .ld-count, #loader.quick .ld-bar { display: none; }
/* no JS motion: never leave the curtain up */
.no-motion #loader { display: none; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* split text */
.w, .hw { display: inline-block; will-change: transform, filter, opacity; }
.wd { display: inline-block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; vertical-align: top; }
.ch { display: inline-block; will-change: transform; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); background: var(--navy); color: #D9DFEA; padding: 14px 0; }
.ticker-track { display: flex; width: max-content; gap: 28px; align-items: center; white-space: nowrap; font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.ticker-track i { color: var(--gold); font-style: normal; font-size: .8rem; }
.no-motion .ticker-track { flex-wrap: wrap; width: auto; padding: 0 var(--gutter); }

/* ---------- Approach: pinned particle stage ---------- */
.method { position: relative; }
.method-stage { padding: clamp(72px, 10vw, 128px) 0; }
.m-grid { display: grid; grid-template-columns: 1fr; }
.m-visual, .m-steps { display: none; }
.m-layers { display: grid; border: 1px solid var(--navy-line); }
.m-layer { padding: 34px 36px; border-top: 1px solid var(--navy-line); }
.m-layer:first-child { border-top: 0; }
.m-layer small { color: var(--gold); font-weight: 600; font-size: .85rem; }
.m-layer h3 { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; color: #F4EEDD; margin: 4px 0 10px; letter-spacing: -.01em; }
.m-layer p { color: #B4BDD0; max-width: 62ch; }
.method.is-3d { height: 340vh; }
.method.is-3d > #methodBody { height: 100%; } /* sticky needs the tall parent */
.method.is-3d .method-stage { position: sticky; top: 0; height: 100vh; padding: 0; display: flex; align-items: center; overflow: hidden; }
.method.is-3d .m-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; }
.method.is-3d .m-visual { display: block; position: relative; height: min(78vh, 680px); }
.method.is-3d .m-visual::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,74,.12), transparent 65%); }
.method-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.method.is-3d .m-steps { display: flex; gap: 22px; margin: 4px 0 26px; position: relative; padding-left: 16px; flex-wrap: wrap; }
.m-bar { position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; background: var(--navy-line); }
.m-bar i { display: block; height: 100%; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.m-step { color: #6F7A93; font-size: .85rem; font-weight: 600; transition: color .4s; }
.m-step b { color: inherit; margin-right: 8px; }
.m-step.on { color: var(--gold-hi); }
.method.is-3d .m-layers { border: 0; position: relative; min-height: 260px; }
.method.is-3d .m-layer { position: absolute; inset: 0 0 auto 0; padding: 0; border: 0; opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .6s, transform .6s, filter .6s; }
.method.is-3d .m-layer.on { opacity: 1; transform: none; filter: none; }
.method.is-3d .m-layer h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); }
@media (max-width: 860px) {
  .method.is-3d .m-grid { grid-template-columns: 1fr; gap: 0; }
  .method.is-3d .m-visual { order: -1; height: 38vh; margin-top: 64px; }
  .method.is-3d .section-head { margin-bottom: 14px; }
  .method.is-3d .section-head .lede { display: none; }
  .method.is-3d h2 { font-size: 2rem; }
  .method.is-3d .m-layer h3 { font-size: 1.8rem; }
  .method.is-3d .m-layer p { font-size: .92rem; }
}

/* ---------- FAQ panel that grows to full bleed ---------- */
.faq-wrap { background: var(--paper); }
.faq-panel { will-change: clip-path; }

/* ---------- timeline line that draws on scroll ---------- */
.timeline { position: relative; }
.tl-line { position: absolute; width: 2px; bottom: 40px; background: linear-gradient(var(--gold-hi), var(--gold)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(201,162,74,.6); }
.motion .step .rail::before { opacity: .25; }
.step .rail i { transition: background .4s, box-shadow .4s, transform .4s; z-index: 1; }
.step.lit .rail i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201,162,74,.18); transform: scale(1.15); }
.step.lit .when { color: var(--gold-lo); }

/* ---------- giant footer wordmark ---------- */
.foot-giant { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: .8; font-size: clamp(4rem, 17vw, 16rem); text-align: center; overflow: hidden; padding-top: 24px; margin-bottom: -.06em; white-space: nowrap;
  color: var(--gold); user-select: none; -webkit-mask-image: linear-gradient(#000 35%, transparent 95%); mask-image: linear-gradient(#000 35%, transparent 95%); }
.foot-giant .wd { overflow: visible; padding: 0; margin: 0; }
/* each letter carries its own gradient so it survives being animated separately */
.foot-giant .ch, .no-motion .foot-giant, .foot-giant:not([data-split]) { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3D icon tiles ---------- */
.icon-tile.plain { background: radial-gradient(circle at 50% 60%, rgba(201,162,74,.16), transparent 70%); width: 64px; height: 64px; }
.icon-tile.plain.big { width: 78px; height: 78px; }
.icon-tile.plain .icon3d { width: 100%; height: 100%; color: var(--navy); }
.icon-tile.plain svg { width: 26px; height: 26px; }
.fit-top { display: flex; justify-content: space-between; align-items: flex-start; }
.fit-top .icon-tile.plain { width: 92px; height: 92px; margin: -12px -8px -20px 0; }
.fee { position: relative; }
.fee .fee-ic { position: absolute; top: 18px; right: 18px; }
.darkcard .icon-tile.plain .icon3d, .calc-card.featured .icon3d { color: var(--gold-hi); }
.calc-card h3 { margin-top: 18px; }
.calc-card.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(235,211,151,.16) 45%, transparent 60%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.1s ease; pointer-events: none; }
.calc-card.featured:hover::before { background-position: -60% 0; }
.fit, .svc, .calc-card, .fee { transform-style: preserve-3d; }

/* ---------- pillars: huge words that stack in one by one ---------- */
.kinetic { position: relative; color: #E7EAF2; background: radial-gradient(55% 65% at 90% 105%, rgba(201,162,74,.3), transparent 62%), radial-gradient(50% 55% at 0% 0%, #13244A, transparent 70%), var(--navy); }
.k-stage { padding: clamp(80px, 11vw, 140px) 0; }
.k-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.k-words { margin: 0; font-family: var(--sans); font-weight: 300; letter-spacing: -.045em; line-height: .95; font-size: clamp(3.4rem, 10.5vw, 9.6rem); }
.k-word { display: block; background: linear-gradient(180deg, #FFFFFF 20%, #AEB8CD); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.k-word.on { background-image: linear-gradient(180deg, var(--gold-hi) 15%, var(--gold)); }
.k-notes { list-style: none; margin: 0; padding: 0; }
.k-note { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--navy-line); }
.k-note b { color: var(--gold); font-size: .85rem; }
.k-note p { color: #B4BDD0; font-size: 1.02rem; }
.motion .kinetic { height: 260vh; }
.motion .kinetic > #pillarsBody { height: 100%; }
.motion .k-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: 0; overflow: hidden; }
@media (max-width: 760px) { .k-grid { grid-template-columns: 1fr; gap: 24px; } .k-note { padding: 14px 0; } .k-note p { font-size: .92rem; } }

/* ---------- contact: dark with the 3D card ---------- */
.contact.dark { background: radial-gradient(50% 70% at 82% 55%, rgba(201,162,74,.24), transparent 65%), radial-gradient(40% 50% at 0% 100%, #13244A, transparent 70%), var(--navy); }
.contact.dark h2 { color: #FBF7EC; }
.contact.dark .contact-list { background: var(--navy-line); border-color: var(--navy-line); margin-top: 36px; }
.contact.dark .contact-item { background: rgba(255,255,255,.035); color: #E7EAF2; }
.contact.dark a.contact-item:hover { background: rgba(235,211,151,.08); }
.contact.dark .contact-item small { color: #8C97AF; }
.contact-visual { position: relative; height: min(640px, 72vh); }
.card-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) { .contact-visual { order: -1; height: 44vh; } }

/* ---------- FAQ eclipse ring ---------- */
.faq .wrap { position: relative; }
.faq .section-head { position: relative; z-index: 1; }
.faq-eclipse { position: absolute; left: 50%; top: 0; width: min(680px, 130vw); aspect-ratio: 1; transform: translate(-50%, -34%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(6,13,31,.9) 52%, rgba(235,211,151,.6) 56.5%, rgba(201,162,74,.22) 59.5%, transparent 68%);
  -webkit-mask-image: linear-gradient(#000 28%, transparent 64%); mask-image: linear-gradient(#000 28%, transparent 64%); }
.faq-eclipse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 68%, rgba(255,244,214,.95) 78%, transparent 88%);
  -webkit-mask: radial-gradient(circle, transparent 55.5%, #000 56.5%, transparent 58.5%); mask: radial-gradient(circle, transparent 55.5%, #000 56.5%, transparent 58.5%); animation: eclipseSpin 10s linear infinite; }
@keyframes eclipseSpin { to { transform: rotate(360deg); } }

/* ---------- 3D icons ---------- */
.icon3d { position: relative; display: inline-grid; place-items: center; }
.icon3d canvas { position: absolute; inset: -18%; width: 136%; height: 136%; pointer-events: none; }
.icon3d.is-3d > svg { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .wa-float, .site-footer, .no-print { display: none !important; }
  .page-hero { padding: 24px 0; background: #fff; color: #000; }
  .page-hero h1 { color: #000; }
  body { background: #fff; }
}
