/* ============================================================
   Fortune Bridge — desktop homepage
   Built 2026-09-20 from figma-backup/ (tokens, specs, CSS notes).
   Plain static CSS. Design frame is 1440px wide; desktop-first.
   ============================================================ */

/* ---- tokens ------------------------------------------------ */
:root {
  --navy-900:#0b1730; --navy-800:#12264a; --navy-700:#1b3a66;
  --gold-700:#8a6a12; --gold-600:#c9a227; --gold-500:#d4af37;
  --gold-400:#dfc062; --gold-300:#ebd48f;
  --champagne-100:#f5efe0; --ivory-50:#fbf8f1; --white:#ffffff;
  --ink-900:#0e1b33; --ink-700:#33415c; --ink-500:#64748b;
  --line-200:#dccfb4;

  --grad-navy: linear-gradient(120deg,#0b1730 0%,#12264a 55%,#173059 100%);
  --grad-gold: linear-gradient(135deg,#c9a227 0%,#e2c25f 100%);
  --grad-tile-navy: linear-gradient(135deg,#12264a 0%,#1b3a66 100%);

  --page: 1440px;
  --gutter: 120px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- reset ------------------------------------------------- */
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink-900);
  background:var(--ivory-50);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
.ic { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2;
      stroke-linecap:round; stroke-linejoin:round; flex:none; }

/* ---- layout helpers --------------------------------------- */
.section { position:relative; }
.wrap { max-width:var(--page); margin:0 auto; padding-inline:var(--gutter); }
.section-head { max-width:820px; margin:0 auto; text-align:center; }

.eyebrow {
  font-size:13px; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; margin:0 0 16px;
}
.h2 { font-size:40px; line-height:46px; font-weight:700; letter-spacing:-.01em; margin:0; }
.lead { font-size:18px; line-height:29px; margin:16px auto 0; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position:sticky; top:0; z-index:50;
  background:var(--white);
  border-bottom:1px solid var(--line-200);
  transition:box-shadow .3s ease;
}
.header.scrolled { box-shadow:0 8px 30px -12px rgba(11,23,48,.18); }
.header .wrap {
  height:104px; display:flex; align-items:center; justify-content:space-between;
}
.brand img { height:72px; width:auto; }
.nav { display:flex; gap:34px; }
.nav a { font-size:16px; font-weight:500; color:var(--ink-700); transition:color .2s; }
.nav a.active { color:var(--navy-800); font-weight:600; }
.nav a:hover { color:var(--gold-700); }

.btn {
  display:inline-flex; align-items:center; gap:8px;
  font-size:16px; font-weight:600; border-radius:10px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn .ic { width:18px; height:18px; }
.btn-primary {
  background:var(--grad-gold); color:var(--navy-900);
  padding:13px 22px;
  box-shadow:0 8px 22px -6px rgba(138,106,18,.4);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 14px 30px -8px rgba(138,106,18,.55); }

/* ============================================================
   HERO
   ============================================================ */
.hero { background:var(--grad-navy); overflow:hidden; }
.hero-stage {
  position:relative; max-width:var(--page); margin:0 auto; height:720px;
}
.hero-copy {
  position:absolute; left:var(--gutter); top:128px; width:620px; z-index:3;
}
.badge {
  display:inline-flex; align-items:center; gap:10px;
  padding:9px 18px; border-radius:100px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  font-size:13px; font-weight:600; letter-spacing:.12em; color:var(--gold-300);
}
.badge .dot { width:8px; height:8px; border-radius:50%; background:var(--gold-400); }
.hero h1 {
  font-size:60px; line-height:64px; font-weight:800; letter-spacing:-.025em;
  color:var(--white); margin:24px 0 0;
}
.hero h1 .accent { color:var(--gold-500); }
.hero-body {
  font-size:18px; line-height:29px; color:rgba(255,255,255,.8);
  margin:24px 0 0; max-width:620px;
}
.trust { display:flex; gap:26px; margin-top:34px; }
.trust-item { display:flex; align-items:center; gap:12px; }
.trust-circle {
  width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.18);
  color:var(--gold-300);
}
.trust-circle .ic { width:22px; height:22px; stroke-width:1.7; }
.trust-item span { font-size:15px; line-height:21px; color:rgba(255,255,255,.92); }
.hero-cta { margin-top:34px; }

.hero-advisor {
  position:absolute; right:65px; bottom:0; width:820px; height:auto; z-index:2;
  pointer-events:none;
}

/* glass card (top-right) */
.hero-card {
  position:absolute; right:20px; top:100px; width:230px; z-index:4;
  padding:16px; border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.07));
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.2);
  box-shadow:0 16px 40px -8px rgba(5,11,24,.35);
}
.hero-card h3 { margin:0; font-size:16px; line-height:22px; font-weight:700; color:var(--white); }
.hero-card p { margin:8px 0 0; font-size:12px; line-height:17px; color:rgba(255,255,255,.68); }
/* Seven services as wrapped chips. Rows would run the card down into the advisor's shoulder;
   chips keep it shorter than the old four-row version. */
/* A 2-column grid, not a wrapped flex row: wrapped chips of different widths leave ragged
   rows. Mutual Funds (longest label, core product) spans the top; the other six pair up. */
.hero-card ul { list-style:none; margin:12px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.hero-card li {
  padding:6px 8px; border-radius:100px; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.12); text-align:center;
  font-size:12px; line-height:16px; font-weight:500; color:rgba(255,255,255,.95);
}
.hero-card li:first-child { grid-column:1 / -1; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats { background:var(--white); border-bottom:1px solid var(--line-200); }
.stats .wrap { padding-block:52px; }
.stats-row { display:grid; grid-template-columns:repeat(4,1fr); }
.stat { text-align:center; position:relative; padding:4px 0; }
.stat + .stat::before {
  content:""; position:absolute; left:0; top:16px; bottom:16px; width:1px; background:var(--line-200);
}
.stat b { display:block; font-size:44px; line-height:48px; font-weight:800; letter-spacing:-.02em; color:var(--navy-800); }
.stat span { display:block; margin-top:8px; font-size:14px; font-weight:500; color:var(--ink-500); }

/* ============================================================
   SECTION SCAFFOLD (light)
   ============================================================ */
.section-light { background:var(--ivory-50); }
.section-light .eyebrow { color:var(--gold-700); }
.section-light .h2 { color:var(--ink-900); }
.section-light .lead { color:var(--ink-500); }
.section-white { background:var(--white); }
.section-white .eyebrow { color:var(--gold-700); }
.section-white .h2 { color:var(--ink-900); }
.section-white .lead { color:var(--ink-500); }
.pad { padding-block:96px; }

/* ============================================================
   PHILOSOPHY — dark liquid glass
   ============================================================ */
.philosophy { background:var(--grad-navy); overflow:hidden; }
.philosophy .eyebrow { color:var(--gold-300); }
.philosophy .h2 { color:var(--white); }
.philosophy .lead { color:rgba(255,255,255,.72); }

.glow { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.orb { position:absolute; border-radius:50%; filter:blur(2px); }

.pillars { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:56px; position:relative; z-index:2; }
.pillar {
  position:relative; border-radius:20px; padding:36px 34px; min-height:292px;
  background:linear-gradient(135deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,.09) 55%,rgba(255,255,255,.06) 100%);
  backdrop-filter:blur(26px); -webkit-backdrop-filter:blur(26px);
  box-shadow:0 20px 48px -10px rgba(5,11,24,.38), inset 0 1.2px 1.2px rgba(255,255,255,.28);
  transition:transform .38s var(--ease), box-shadow .38s var(--ease), background .38s ease;
}
.pillar::before {
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1.2px;
  background:linear-gradient(135deg,rgba(255,255,255,.42),rgba(255,255,255,.18) 50%,rgba(255,255,255,.08));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none; transition:background .38s ease, padding .38s ease;
}
.pillar:hover {
  transform:translateY(-6px);
  background:linear-gradient(135deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,.15) 55%,rgba(255,255,255,.1) 100%);
  box-shadow:0 26px 56px -10px rgba(138,106,18,.38), inset 0 1.2px 1.2px rgba(255,255,255,.45);
}
.pillar:hover::before {
  padding:1.6px;
  background:linear-gradient(135deg,rgba(244,227,174,.85),rgba(212,175,55,.55) 50%,rgba(138,106,18,.3));
}
.pillar-top { display:flex; align-items:center; justify-content:space-between; }
.pillar-icon {
  width:56px; height:56px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16);
  color:var(--gold-300);
  transition:background .38s ease, border-color .38s ease;
}
.pillar-icon .ic { width:26px; height:26px; stroke-width:1.9; transition:stroke .38s ease; }
.pillar:hover .pillar-icon { background:var(--grad-gold); border-color:transparent; }
.pillar:hover .pillar-icon .ic { stroke:var(--navy-900); }
.pillar-num { font-size:34px; font-weight:700; color:rgba(255,255,255,.22); transition:color .38s ease; }
.pillar:hover .pillar-num { color:rgba(235,212,143,.55); }
.pillar h3 { margin:24px 0 0; font-size:22px; line-height:28px; font-weight:600; color:var(--white); }
.pillar p { margin:18px 0 0; font-size:16px; line-height:25px; color:rgba(255,255,255,.7); }

/* ============================================================
   SERVICES — white cards
   ============================================================ */
.grid-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:52px; }
/* Two rows that each fill: 4 investment products (ordered by minimum ticket), then 3 for
   stability/protection/liquidity. The split is real information, not decoration. */
.svc-group { margin-top:52px; }
.svc-group + .svc-group { margin-top:40px; }
.svc-group .grid-cards { margin-top:14px; }
.grid-cards.cols-4 { grid-template-columns:repeat(4,1fr); gap:22px; }
.cols-4 .card { padding:28px 26px; }
.cols-4 .card h3 { font-size:20px; }
.cols-4 .card p { font-size:15px; line-height:23px; }
.group-label {
  margin:0; font-size:13px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-500);
}
.card {
  background:var(--white); border:1px solid var(--line-200); border-radius:18px;
  padding:34px 32px;
  box-shadow:0 8px 24px -6px rgba(11,23,48,.05);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover {
  transform:translateY(-6px);
  box-shadow:0 22px 44px -14px rgba(11,23,48,.16);
  border-color:var(--gold-400);
}
.card-icon {
  width:52px; height:52px; border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  background:var(--champagne-100); color:var(--gold-700);
}
.card h3 { margin:20px 0 0; font-size:22px; line-height:28px; font-weight:600; color:var(--ink-900); }
.card p { margin:16px 0 0; font-size:16px; line-height:25px; color:var(--ink-700); }
.card-link {
  display:inline-flex; align-items:center; gap:7px; margin-top:18px;
  font-size:14px; font-weight:600; color:var(--gold-700);
}
.card-link .ic { width:16px; height:16px; stroke-width:1.8; transition:transform .25s var(--ease); }
.card:hover .card-link .ic { transform:translateX(4px); }

/* ============================================================
   GOAL-BASED INVESTING
   ============================================================ */
.goals .wrap { display:grid; grid-template-columns:1fr 470px; gap:72px; align-items:center; }
.goals .eyebrow { color:var(--gold-700); }
.goals h2 { font-size:40px; line-height:46px; font-weight:700; letter-spacing:-.01em; color:var(--ink-900); margin:0; }
.goals .lead { text-align:left; margin:16px 0 0; color:var(--ink-700); max-width:none; }
.goal-list { list-style:none; margin:22px 0 0; padding:0; display:flex; flex-direction:column; gap:14px; }
.goal-list li { display:flex; align-items:center; gap:12px; font-size:18px; color:var(--ink-900); }
.goal-check {
  width:24px; height:24px; border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:var(--gold-700); color:var(--ivory-50);
}
.goal-check .ic { width:14px; height:14px; stroke-width:2.4; }
.goals .btn-primary { margin-top:32px; }

/* outlook panel + chart */
.outlook {
  background:linear-gradient(120deg,#0b1730,#1b3a66); border-radius:24px; padding:36px;
  box-shadow:0 24px 50px -12px rgba(11,23,48,.4);
}
.outlook-head { display:flex; align-items:center; justify-content:space-between; }
.outlook-head .eyebrow { color:rgba(255,255,255,.55); margin:0; }
.pill {
  padding:6px 12px; border-radius:100px; background:rgba(255,255,255,.1);
  font-size:14px; font-weight:600; color:var(--white);
}
.chart { position:relative; height:200px; margin-top:26px; }
.chart svg { width:100%; height:100%; overflow:visible; }
.gridline { stroke:rgba(255,255,255,.08); stroke-width:1; }
.gridline.base { stroke:rgba(255,255,255,.2); }
.axis-label { fill:rgba(255,255,255,.42); font-size:10px; }
.year-label { fill:rgba(255,255,255,.45); font-size:10px; font-weight:500; text-anchor:middle; }
.year-label.final { fill:rgba(255,255,255,.85); font-weight:600; }
.bar { transform-box:fill-box; transform-origin:bottom; transform:scaleY(0); transition:transform .42s var(--ease); }
.chart.run .bar { transform:scaleY(1); }
.goal-line { stroke:var(--gold-300); stroke-opacity:.55; stroke-width:1; stroke-dasharray:4 4; }
.goal-label { fill:var(--gold-300); font-size:10px; font-weight:600; }
.outlook-note { margin:14px 0 0; font-size:12px; line-height:17px; color:rgba(255,255,255,.5); }
.trend-line { fill:none; stroke:var(--gold-300); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.trend-dot { fill:var(--navy-900); stroke:var(--gold-300); stroke-width:2; }
.value-chip {
  position:absolute; opacity:0;
  transform:translate(-50%,-50%) scale(.6);
  transition:opacity .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.value-chip.show { opacity:1; transform:translate(-50%,-50%) scale(1); }
.value-chip span {
  display:inline-block; padding:3px 9px; border-radius:100px;
  background:var(--navy-900); color:var(--gold-300);
  border:2px solid var(--gold-300);
  font-size:11px; font-weight:700; line-height:14px; white-space:nowrap;
  box-shadow:0 4px 12px rgba(5,11,24,.45);
}
.value-chip i { font-style:normal; }
.outlook-foot {
  display:flex; align-items:center; gap:14px; margin-top:24px;
  background:rgba(255,255,255,.08); border-radius:14px; padding:16px;
}
.outlook-foot .tick {
  width:32px; height:32px; border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:var(--gold-500); color:var(--navy-900);
}
.outlook-foot .tick .ic { width:18px; height:18px; stroke-width:2.4; }
.outlook-foot b { display:block; font-size:15px; color:var(--white); }
.outlook-foot small { display:block; margin-top:2px; font-size:14px; color:rgba(255,255,255,.6); }

/* ============================================================
   LEGACY — dark glass cards
   ============================================================ */
.legacy { background:linear-gradient(160deg,#0b1730,#173059); overflow:hidden; }
.legacy .eyebrow { color:var(--gold-300); }
.legacy .h2 { color:var(--white); }
.legacy .lead { color:rgba(255,255,255,.72); }
.legacy-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:48px; }
.glass-card {
  border-radius:18px; padding:34px 32px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1);
  transition:transform .3s var(--ease), background .3s, border-color .3s;
}
.glass-card:hover { transform:translateY(-6px); background:rgba(255,255,255,.09); border-color:rgba(212,175,55,.4); }
.glass-icon {
  width:52px; height:52px; border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08); color:var(--gold-300);
}
.glass-card h3 { margin:20px 0 0; font-size:22px; line-height:28px; font-weight:600; color:var(--white); }
.glass-card p { margin:14px 0 0; font-size:16px; line-height:25px; color:rgba(255,255,255,.68); }

.legacy-band {
  margin-top:48px; border-radius:18px; padding:28px 40px;
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
}
.legacy-band h3 { margin:0; font-size:22px; line-height:28px; font-weight:600; color:var(--white); }
.legacy-band p { margin:4px 0 0; font-size:16px; color:rgba(255,255,255,.66); }
.btn-gold-sm {
  background:var(--grad-gold); color:var(--navy-900); padding:15px 24px; border-radius:10px;
  font-size:16px; font-weight:600; display:inline-flex; align-items:center; gap:8px; flex:none;
}
.btn-gold-sm .ic { width:18px; height:18px; }
.btn-gold-sm:hover { transform:translateY(-2px); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcards { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:52px; }
.tcard {
  background:var(--ivory-50); border:1px solid var(--line-200); border-radius:18px; padding:32px;
  display:flex; flex-direction:column;
}
/* Placeholder marker: sample content is always visibly labelled, never passed off as real. */
.sample-tag {
  align-self:flex-start; padding:3px 9px; border-radius:100px;
  border:1px dashed var(--gold-700); color:var(--gold-700);
  font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
}
.ph { padding:1px 7px; border:1px dashed rgba(255,255,255,.4); border-radius:4px; color:rgba(255,255,255,.55); }
.tcard blockquote { margin:18px 0 0; font-size:18px; line-height:29px; color:var(--ink-700); flex:1; }
.tperson { display:flex; align-items:center; gap:13px; margin-top:24px; }
.avatar {
  width:46px; height:46px; border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:var(--grad-tile-navy); color:var(--white);
  font-size:14px; font-weight:700;
}
/* Scope these to the text block. A bare `.tperson span` also matches .avatar (and wins on
   specificity), which kills its display:flex centering and greys out the initials. */
.tperson div b { display:block; font-size:14px; font-weight:600; color:var(--ink-900); }
.tperson div span { display:block; font-size:14px; color:var(--ink-500); }
.featured { margin-top:52px; padding-top:40px; border-top:1px solid var(--line-200); text-align:center; }
.featured .eyebrow { color:var(--ink-500); }
.featured-row { display:flex; justify-content:center; gap:56px; flex-wrap:wrap; margin-top:22px; }
.featured-row span { font-size:19px; font-weight:600; color:var(--ink-500); }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:56px; }
.step-top { display:flex; align-items:center; }
.step-num {
  width:52px; height:52px; border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:var(--grad-tile-navy); color:var(--white); font-size:17px; font-weight:700;
}
.step-line { height:2px; flex:1; background:var(--line-200); margin-left:0; }
.step h3 { margin:18px 0 0; font-size:22px; line-height:28px; font-weight:600; color:var(--ink-900); }
.step p { margin:14px 0 0; font-size:16px; line-height:25px; color:var(--ink-700); }

/* ============================================================
   CTA
   ============================================================ */
.cta { background:linear-gradient(120deg,#0b1730 0%,#12264a 50%,#1f3c6e 100%); text-align:center; }
.cta .eyebrow { color:var(--gold-300); }
.cta h2 { font-size:50px; line-height:58px; font-weight:800; letter-spacing:-.02em; color:var(--white); margin:16px 0 0; }
.cta p { font-size:18px; line-height:29px; color:rgba(255,255,255,.75); margin:22px auto 0; max-width:660px; }
.cta-btns { display:flex; justify-content:center; gap:16px; margin-top:32px; }
.btn-ghost {
  padding:17px 28px; border-radius:10px; border:1.4px solid rgba(255,255,255,.28);
  font-size:16px; font-weight:600; color:rgba(255,255,255,.95);
  transition:background .25s, border-color .25s;
}
.btn-ghost:hover { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.5); }
.btn-lg { padding:17px 30px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background:#091329; padding:72px 0 40px; }
.footer-grid {
  display:grid; grid-template-columns:320px 1fr 1fr 240px; gap:64px;
}
.footer-brand img { width:120px; height:120px; border-radius:18px; }
.footer-brand p { margin:20px 0 0; font-size:16px; line-height:25px; color:rgba(255,255,255,.6); }
.footer-contact { margin-top:20px; }
.footer-contact a { display:block; }
.footer-contact .phone { font-size:16px; font-weight:600; color:var(--white); }
.footer-contact .mail { font-size:16px; color:rgba(255,255,255,.7); margin-top:8px; }
.footer-col h4 { margin:0 0 20px; font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.45); }
.footer-col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px; }
.footer-col a { font-size:16px; color:rgba(255,255,255,.72); transition:color .2s; }
.footer-col a:hover { color:var(--gold-300); }
.footer-office h4 { margin:0 0 20px; font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.45); }
.footer-office p { margin:0; font-size:16px; line-height:25px; color:rgba(255,255,255,.72); }
.footer-rule { height:1px; background:rgba(255,255,255,.1); margin:44px 0; }
.footer-bar { display:flex; justify-content:space-between; align-items:center; }
.footer-bar .copy { font-size:14px; color:rgba(255,255,255,.5); }
.footer-bar .links { display:flex; gap:26px; }
.footer-bar .links a { font-size:14px; color:rgba(255,255,255,.6); }
.footer-bar .links a:hover { color:var(--gold-300); }
.footer-legal { margin-top:24px; font-size:14px; line-height:20px; color:rgba(255,255,255,.38); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Elements are VISIBLE by default. script.js adds .pending only to elements below the fold,
   then removes it when they scroll into view — so the first frame is never blank, and with
   JS off everything simply shows. */
[data-reveal] { transition:opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].pending { opacity:0; transform:translateY(24px); }
[data-reveal].d1 { transition-delay:.09s; }
[data-reveal].d2 { transition-delay:.18s; }
[data-reveal].d3 { transition-delay:.27s; }
[data-reveal].d4 { transition-delay:.36s; }
[data-reveal].d5 { transition-delay:.45s; }

/* ============================================================
   RESPONSIVE — graceful narrowing (full mobile is a separate build)
   ============================================================ */
@media (max-width:1200px){
  :root { --gutter:56px; }
  .hero-stage { height:auto; padding-inline:var(--gutter); }   /* copy is static here, so the stage must carry the gutter */
  .hero-copy { position:static; width:auto; max-width:620px; padding-block:96px 40px; }
  .trust,.legacy-band,.cta-btns,.footer-bar { flex-wrap:wrap; }
  .hero-advisor { position:relative; right:auto; margin:0 auto; width:min(680px,90%); }
  .hero-card { display:none; }
  .goals .wrap { grid-template-columns:1fr; }
}
@media (max-width:1200px){
  .grid-cards.cols-4 { grid-template-columns:1fr 1fr; }
}
@media (max-width:900px){
  .pillars,.grid-cards,.grid-cards.cols-4,.tcards { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr 1fr; }
  .stats-row { grid-template-columns:1fr 1fr; gap:32px 0; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .h2,.goals h2 { font-size:32px; line-height:38px; }
  .hero h1 { font-size:44px; line-height:48px; }
  .cta h2 { font-size:36px; line-height:42px; }
  .nav { display:none; }
}
@media (max-width:600px){
  :root { --gutter:20px; }
  .hero h1 { font-size:36px; line-height:40px; }
  .stats-row { grid-template-columns:1fr; }
  .stat + .stat::before { display:none; }
  .steps,.footer-grid { grid-template-columns:1fr; }
  .cta h2 { font-size:30px; line-height:36px; }
}
/* ============================================================
   CONSULTATION FORM (modal, injected by script.js)
   ============================================================ */
.book {
  border:0; padding:0; border-radius:20px; background:var(--white); color:var(--ink-900);
  width:min(540px, calc(100% - 32px)); max-height:calc(100vh - 32px); overflow:auto;
  box-shadow:0 40px 90px -30px rgba(5,11,24,.55);
}
.book::backdrop { background:rgba(5,11,24,.62); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
.book[open] { animation:bookIn .32s var(--ease); }
@keyframes bookIn { from { opacity:0; transform:translateY(14px) scale(.98); } to { opacity:1; transform:none; } }
.book-form, .book-done { position:relative; padding:28px 28px 24px; }
.book-close {
  position:absolute; top:14px; right:14px; width:36px; height:36px; border-radius:50%;
  font-size:24px; line-height:1; color:var(--ink-500); background:var(--ivory-50);
}
.book-close:hover { background:var(--champagne-100); color:var(--ink-900); }
.book .eyebrow { color:var(--gold-700); margin-bottom:8px; }
.book h2 { margin:0; font-size:26px; line-height:32px; font-weight:700; letter-spacing:-.01em; }
.book-sub { margin:6px 0 20px; font-size:15px; color:var(--ink-500); }
.book-form label { display:block; margin-top:14px; font-size:13px; font-weight:600; color:var(--ink-700); }
.book-form label .opt { font-weight:500; color:var(--ink-500); }
.book-form input:not([type=checkbox]), .book-form select, .book-form textarea {
  display:block; width:100%; margin-top:6px; padding:11px 13px; font:inherit; font-size:15px;
  color:var(--ink-900); background:var(--ivory-50); border:1px solid var(--line-200); border-radius:10px;
  transition:border-color .2s, box-shadow .2s;
}
.book-form textarea { resize:vertical; min-height:80px; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus {
  outline:none; border-color:var(--gold-500); box-shadow:0 0 0 3px rgba(212,175,55,.18); background:var(--white);
}
/* show validity only after the visitor has tried to submit, never while typing a fresh form */
.book-form.touched input:invalid, .book-form.touched select:invalid { border-color:#b3261e; }
.book-form.touched .book-consent:has(input:invalid) span { color:#b3261e; }
.book-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; }
/* `.book-form label` sets display:block and outranks a bare `.book-consent`, so scope this
   under .book-form too or the flex gap never applies and the box jams against the text. */
.book-form .book-consent { display:flex; gap:10px; align-items:flex-start; font-weight:500; color:var(--ink-700); line-height:20px; margin-top:16px; }
.book-consent input { margin:3px 0 0; accent-color:var(--gold-600); flex:none; width:16px; height:16px; }
.book-honey { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.book-actions { display:flex; gap:12px; align-items:center; margin-top:22px; flex-wrap:wrap; }
.btn-ghost-dark { padding:13px 20px; border-radius:10px; border:1.4px solid var(--line-200); font-size:16px; font-weight:600; color:var(--ink-700); }
.btn-ghost-dark:hover { border-color:var(--ink-500); }
.book-status { margin:14px 0 0; font-size:14px; line-height:20px; color:var(--ink-700); min-height:0; }
.book-status a { color:var(--gold-700); font-weight:600; text-decoration:underline; }
.book-done { text-align:center; padding:44px 32px 36px; }
.book-tick {
  width:60px; height:60px; border-radius:50%; margin:0 auto 18px;
  display:flex; align-items:center; justify-content:center; background:var(--grad-gold); color:var(--navy-900);
}
.book-tick .ic { width:28px; height:28px; stroke-width:2.6; }
.book-done p { margin:8px 0 24px; color:var(--ink-500); font-size:16px; line-height:25px; }
@media (max-width:600px){ .book-grid { grid-template-columns:1fr; } .book-form, .book-done { padding:24px 20px 20px; } }

@media (prefers-reduced-motion:reduce){
  *{ transition:none !important; animation:none !important; scroll-behavior:auto; }
  [data-reveal].pending{ opacity:1; transform:none; }
}
