/* =========================================================
   iAdvice — Private Wealth Advice
   Design system + page styles
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* --- Brand: deep teal-navy / gold / cream --- */
  --ink:        #0b242f;   /* primary deep base */
  --ink-2:      #0e2c39;   /* slightly lifted */
  --ink-3:      #103442;   /* panels */
  --teal:       #155063;
  --teal-soft:  #1d6076;
  --gold:       #c8a24a;
  --gold-bright:#e0bd6e;
  --gold-deep:  #a9842f;
  --cream:      #efe9dc;
  --cream-2:    #e2dccd;
  --sand:       #d8cbb2;

  --paper:      #f6f2ea;   /* light section bg */
  --paper-ink:  #16232a;   /* text on light */
  --muted:      #6f7b80;   /* muted text on light */
  --muted-d:    rgba(239,233,220,0.62); /* muted on dark */
  --hair:       rgba(239,233,220,0.16); /* hairline on dark */
  --hair-d:     rgba(22,35,42,0.12);    /* hairline on light */

  --maxw: 1240px;
  --gut: clamp(22px, 5vw, 76px);

  --serif: 'Hanken Grotesk', system-ui, sans-serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

* { -webkit-tap-highlight-color: rgba(200,162,74,.18); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ---- type helpers ---- */
.overline {
  font-size: clamp(11px, 1vw, 12.5px);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.overline.on-light { color: var(--gold-deep); }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.018em; line-height: 1.04; text-wrap: balance; }

.display {
  font-size: clamp(40px, 6.6vw, 92px);
  font-weight: 300;
  letter-spacing: -0.028em;
  line-height: 1.02;
}
.h2 {
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.06;
}
.lede {
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 400;
  line-height: 1.62;
  color: var(--muted-d);
  text-wrap: pretty;
}
em.gild { font-style: italic; color: var(--gold-bright); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans);
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  padding: 15px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-gold {
  background: var(--gold);
  color: #20180a;
  box-shadow: 0 12px 34px -16px rgba(200,162,74,.7);
}
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 18px 44px -16px rgba(224,189,110,.8); }

.btn-ghost {
  border-color: rgba(239,233,220,.34);
  color: var(--cream);
  background: rgba(239,233,220,.02);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(239,233,220,.08); }

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { background: var(--ink-2); }

.link-gold {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--gold-bright); font-weight: 600; font-size: 15px;
}
.link-gold .arr { transition: transform .5s var(--ease); }
.link-gold:hover .arr { transform: translateX(4px); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding: 22px 0;
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-head.scrolled {
  background: rgba(9,30,39,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 34px; width: auto; display: block; }
.site-head.scrolled .brand-logo { height: 30px; }
.foot-brand .brand-logo { height: 40px; }
.brand .mark {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
}
.brand .mark svg { width: 100%; height: 100%; }
.brand .word {
  font-size: 23px; font-weight: 600; letter-spacing: -.02em; color: var(--cream);
}
.brand .word b { color: var(--gold); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted-d);
  position: relative; padding: 4px 0;
  transition: color .35s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px;
  background: var(--gold); transition: width .4s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 11px 20px; font-size: 14px; }

.menu-btn { display: none; padding: 9px 11px; }
.menu-btn .ham { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.menu-btn .ham i { display: block; height: 1.6px; width: 100%; background: var(--cream); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.menu-btn.is-open .ham i:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-btn.is-open .ham i:nth-child(2) { opacity: 0; }
.menu-btn.is-open .ham i:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---- mobile drawer ---- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(6,20,26,.62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 96;
  height: 100%; width: min(86vw, 360px);
  background: var(--ink-2); border-left: 1px solid var(--hair);
  box-shadow: -30px 0 80px -30px rgba(0,0,0,.6);
  transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column;
  padding: 22px 26px calc(26px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.drawer-title { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.drawer-close { background: none; border: 0; color: var(--cream); cursor: pointer; padding: 4px; display: grid; place-items: center; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a {
  font-size: 19px; font-weight: 400; color: var(--cream);
  padding: 16px 2px; border-bottom: 1px solid var(--hair);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.drawer-links a:hover { color: var(--gold-bright); padding-left: 8px; }
.drawer-cta { margin-top: 26px; justify-content: center; width: 100%; }

/* =========================================================
   HERO + SCENE
   ========================================================= */
.hero {
  position: relative;
  height: 100svh; min-height: 660px;
  overflow: hidden;
  background: #1a1230;
}

.scene { position: absolute; inset: 0; overflow: hidden; transform-origin: 58% 60%; }
.scene .layer {
  position: absolute;
  top: -8%; left: -14%;
  width: 128%; height: 116%;
  will-change: transform;
}

/* sky */
.sky {
  background:
    linear-gradient(180deg,
      #241f4e 0%,
      #3c2f63 14%,
      #6a4774 30%,
      #9a5676 44%,
      #c76d77 55%,
      #e88a6a 64%,
      #f7ab68 72%,
      #ffc87f 80%,
      #ffe3a4 88%);
}
/* warm sun glow bloom */
.glow {
  background:
    radial-gradient(42% 38% at 56% 55%, rgba(255,242,205,.96) 0%, rgba(255,218,152,.62) 22%, rgba(255,182,122,.26) 46%, rgba(255,150,110,0) 68%);
  mix-blend-mode: screen;
}
.glow .pulse {
  position: absolute; inset: 0;
  background: radial-gradient(17% 14% at 56% 55%, rgba(255,251,232,.9) 0%, rgba(255,238,196,0) 60%);
  animation: glowPulse 9s ease-in-out infinite;
}

/* crisp sun disc */
.sun {
  pointer-events: none;
}
.sun .disc {
  position: absolute; left: 56%; top: 54%;
  width: 124px; height: 124px; margin: -62px 0 0 -62px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, #fffdf4 0%, #fff4d2 38%, #ffe4a6 66%, #ffd089 100%);
  box-shadow: 0 0 70px 30px rgba(255,236,182,.65), 0 0 170px 90px rgba(255,206,140,.34);
}

/* ocean */
.scene .layer.ocean {
  top: auto; bottom: -2%; height: 46%;
  background:
    linear-gradient(180deg,
      #f7ba7a 0%,
      #e2957a 11%,
      #c1787f 30%,
      #9a6483 54%,
      #6f5780 82%,
      #544873 100%);
}
.ocean::before { /* horizon haze line */
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 16%;
  background: linear-gradient(180deg, rgba(255,236,193,.7), rgba(255,236,193,0));
}
.ocean .wave {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,243,214,.35), transparent);
  opacity: .5;
}

/* sun glitter column on water */
.scene .layer.glitter {
  top: auto; bottom: -2%; height: 46%;
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 40%, transparent 92%);
          mask: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 40%, transparent 92%);
  mix-blend-mode: screen;
}
.glitter .col {
  position: absolute; left: 56%; top: 0; bottom: 0; width: 15%; transform: translateX(-50%);
  background:
    radial-gradient(58% 60% at 50% 0%, rgba(255,242,206,.95), rgba(255,224,162,.32) 44%, transparent 72%);
  animation: shimmer 6s ease-in-out infinite;
}

/* headland silhouette */
.headland svg, .couple svg, .dunes svg { width: 100%; height: 100%; }

/* wet-sand beach */
.scene .layer.beach {
  top: auto; bottom: -8%; height: 30%;
  background:
    linear-gradient(180deg,
      rgba(204,150,128,0) 0%,
      #c79a86 14%,
      #b07f7e 40%,
      #8d6a78 72%,
      #6d5670 100%);
}
.beach::before { /* wet sheen reflecting sun */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(58% 120% at 56% 0%, rgba(255,228,180,.5), rgba(255,202,152,.12) 38%, transparent 64%);
}

/* atmosphere */
.haze {
  background: radial-gradient(120% 70% at 62% 78%, rgba(255,226,180,.16), transparent 55%);
  mix-blend-mode: screen; pointer-events: none;
}
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay;
}
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 40%, transparent 58%, rgba(20,10,30,.26) 100%),
    linear-gradient(180deg, rgba(20,12,28,.24) 0%, transparent 16%, transparent 66%, rgba(26,15,34,.42) 100%);
}

/* =========================================================
   HERO CONTENT
   ========================================================= */
.hero-content {
  position: absolute; inset: 0; z-index: 6;
  display: flex; align-items: flex-end;
  pointer-events: none;
}
.hero-content .wrap { width: 100%; padding-bottom: clamp(54px, 11vh, 132px); pointer-events: none; }
.hero-inner { max-width: 740px; pointer-events: auto; }
.hero .overline { margin-bottom: 24px; color: #ffe7b8; text-shadow: 0 1px 14px rgba(60,20,30,.45); }
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 30px rgba(50,18,28,.4), 0 1px 4px rgba(50,18,28,.25);
  margin-bottom: 24px;
}
.hero .lede { color: rgba(255,250,242,.9); max-width: 560px; text-shadow: 0 1px 18px rgba(50,18,28,.4); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* --- Hero entrance: cinematic staged reveal, plays once on load ---
   Base state stays visible (no-JS / reduced-motion safe); we only animate
   FROM hidden when motion is allowed. transform + opacity only, ease-out. */
@keyframes sceneIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .overline { animation: heroRise .7s var(--ease) .55s backwards; }
  .hero h1        { animation: heroRise .8s var(--ease) .72s backwards; }
  .hero .lede     { animation: heroRise .7s var(--ease) .95s backwards; }
  .hero-cta       { animation: heroRise .7s var(--ease) 1.15s backwards; }
  .scroll-cue     { animation: heroFade 1s var(--ease) 1.7s backwards; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 7; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,248,238,.7);
}
.scroll-cue .rail { width: 1px; height: 40px; background: linear-gradient(180deg, rgba(255,248,238,.8), transparent); position: relative; overflow: hidden; }
.scroll-cue .rail::after { content:''; position:absolute; top:-40%; left:0; width:1px; height:40%; background: var(--gold-bright); animation: cueDrop 2.4s var(--ease) infinite; }

/* =========================================================
   DREAM lead-in
   ========================================================= */
.dream {
  position: relative;
  background: var(--ink);
  padding: clamp(96px, 15vh, 190px) 0 clamp(80px, 12vh, 150px);
}
.dream::before { /* warm seam from hero */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(180deg, rgba(95,60,90,.30), transparent);
  pointer-events: none;
}
.dream .wrap { position: relative; }
.dream .overline { margin-bottom: 30px; }
.dream-statement {
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 300; line-height: 1.22; letter-spacing: -.02em;
  max-width: 16ch; max-width: 980px; color: var(--cream);
}
.dream-statement .dim { color: rgba(239,233,220,.46); }
.dream-foot {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 30px 60px; align-items: flex-end;
  border-top: 1px solid var(--hair); padding-top: 34px;
}
.dream-foot .lede { max-width: 520px; margin: 0; }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--ink-2);
  padding: clamp(80px, 12vh, 150px) 0 clamp(96px, 14vh, 170px);
  position: relative;
}
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 56px; }
.sec-head .left { max-width: 640px; }
.sec-head .overline { margin-bottom: 22px; }
.sec-head h2 { color: var(--cream); }

.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair); border-left: 1px solid var(--hair);
}
.svc {
  position: relative;
  border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 40px 36px 44px;
  background: transparent;
  transition: background .55s var(--ease);
  overflow: hidden;
}
.svc::after {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .55s var(--ease);
}
.svc:hover { background: var(--ink-3); }
.svc:hover::after { width: 100%; }
.svc .ico { display: block; width: 46px; height: 46px; margin-bottom: 26px; color: var(--gold); }
.svc .ico svg { width: 100%; height: 100%; }
.svc .num { position: absolute; top: 34px; right: 32px; font-size: 13px; color: rgba(239,233,220,.34); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.svc h3 { font-size: 24px; font-weight: 500; color: var(--cream); margin-bottom: 7px; letter-spacing: -.01em; }
.svc .tag { font-size: 13.5px; font-weight: 600; color: var(--gold-bright); letter-spacing: .01em; margin-bottom: 16px; }
.svc p { font-size: 15.5px; color: var(--muted-d); line-height: 1.6; max-width: 32ch; }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--paper); color: var(--paper-ink);
  padding: clamp(90px, 14vh, 170px) 0;
}
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about .overline { margin-bottom: 26px; }
.about h2 { color: var(--paper-ink); margin-bottom: 26px; }
.about p { font-size: 17px; line-height: 1.7; color: #3c4950; margin-bottom: 18px; max-width: 52ch; }
.about p strong { color: var(--paper-ink); font-weight: 600; }
.about .signature { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.about .signature .who b { display: block; font-weight: 600; color: var(--paper-ink); }
.about .signature .who span { font-size: 14px; color: var(--muted); }

/* portrait placeholder */
.about-figure {
  position: relative; border-radius: 3px; overflow: hidden;
  aspect-ratio: 4/5; background: #e7dfd0;
  border: 1px solid var(--hair-d);
}
.placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(22,35,42,.045) 0 11px, rgba(22,35,42,.085) 11px 22px);
  display: grid; place-items: center;
}
.placeholder span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: .06em; color: rgba(22,35,42,.5);
  background: rgba(246,242,234,.78); padding: 8px 13px; border-radius: 2px;
  text-align: center;
}

/* =========================================================
   TRUST
   ========================================================= */
.trust {
  background: var(--ink); color: var(--cream);
  padding: clamp(78px, 11vh, 130px) 0;
}
.trust .lead { max-width: 720px; margin-bottom: 56px; }
.trust .overline { margin-bottom: 22px; }
.trust h2 { color: var(--cream); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.stat { background: var(--ink); padding: 34px 30px; }
.stat .fig { font-size: clamp(34px, 4vw, 52px); font-weight: 300; letter-spacing: -.03em; color: var(--gold-bright); line-height: 1; }
.stat .fig .u { font-size: .5em; color: var(--gold); margin-left: .06em; }
.stat .lbl { margin-top: 14px; font-size: 14px; color: var(--muted-d); line-height: 1.45; }
.creds { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 12px; align-items: center; }
.cred {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--muted-d); letter-spacing: .02em;
  border: 1px solid var(--hair); border-radius: 100px; padding: 8px 16px;
}
.cred .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; background: var(--ink-2); padding: clamp(86px, 13vh, 160px) 0; overflow: hidden; }
.contact .aura { position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(200,162,74,.13), transparent 70%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact .overline { margin-bottom: 24px; }
.contact h2 { color: var(--cream); margin-bottom: 22px; max-width: 14ch; }
.contact .lede { max-width: 440px; margin-bottom: 36px; }
.contact-points { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--hair); padding-top: 26px; }
.cpt { display: flex; gap: 16px; padding: 13px 0; align-items: baseline; }
.cpt .k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); width: 96px; flex: none; }
.cpt .v { color: var(--cream); font-size: 16px; }
.cpt .v small { display: block; color: var(--muted-d); font-size: 13.5px; }

/* form */
.form { background: var(--ink); border: 1px solid var(--hair); border-radius: 4px; padding: clamp(26px, 3vw, 40px); }
.form h3 { font-size: 21px; font-weight: 500; color: var(--cream); margin-bottom: 6px; }
.form .sub { font-size: 14px; color: var(--muted-d); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 15.5px; color: var(--cream);
  background: rgba(239,233,220,.04); border: 1px solid var(--hair); border-radius: 3px;
  padding: 13px 15px; transition: border-color .35s var(--ease), background .35s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(239,233,220,.34); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(239,233,220,.06); }
.field textarea { resize: vertical; min-height: 96px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form .ok { display: none; text-align: center; padding: 20px 0; }
.form .ok .ic { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: rgba(200,162,74,.16); display: grid; place-items: center; color: var(--gold-bright); }
.form.sent .form-body { display: none; }
.form.sent .ok { display: block; }
.form .micro { font-size: 12px; color: rgba(239,233,220,.4); margin-top: 14px; text-align: center; line-height: 1.5; }

/* call-to-action card (replaces lead form) */
.cta-card { display: flex; flex-direction: column; }
.cta-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; color: var(--gold-bright); background: rgba(200,162,74,.14); border: 1px solid rgba(200,162,74,.3); }
.cta-ico svg { width: 25px; height: 25px; }
.cta-card h3 { font-size: 23px; font-weight: 500; color: var(--cream); margin-bottom: 10px; letter-spacing: -.01em; line-height: 1.18; }
.cta-lead { font-size: 15px; line-height: 1.6; color: var(--muted-d); margin-bottom: 24px; }
.cta-points { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0 0 28px; padding: 0; }
.cta-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(239,233,220,.85); line-height: 1.4; }
.cta-points .tick { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgba(200,162,74,.16); color: var(--gold-bright); display: grid; place-items: center; }
.cta-points .tick svg { width: 11px; height: 11px; }
.cta-card .btn { width: 100%; justify-content: center; }
.cta-or { margin-top: 16px; font-size: 13.5px; color: var(--muted-d); text-align: center; }
.cta-or a { color: var(--gold-bright); font-weight: 600; }
.cta-or a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { background: var(--ink-2); padding: clamp(80px, 12vh, 150px) 0 clamp(90px, 13vh, 160px); position: relative; }
.reviews .sec-head { align-items: flex-end; margin-bottom: 44px; }
.grating { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--hair); border-radius: 100px; padding: 9px 18px; white-space: nowrap; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-bright); font-size: 14px; letter-spacing: 1px; line-height: 1; }
.grating .gtxt { font-size: 14px; color: var(--muted-d); }
.grating .gtxt b { color: var(--cream); font-weight: 600; }

.review-feature { margin: 0 0 42px; border-left: 2px solid var(--gold); padding: 8px 0 8px 32px; max-width: 920px; }
.review-feature p { font-size: clamp(22px, 2.7vw, 35px); font-weight: 300; line-height: 1.32; letter-spacing: -.012em; color: var(--cream); text-wrap: balance; }
.review-feature .by { margin-top: 20px; font-size: 14.5px; color: var(--muted-d); }
.review-feature .by b { color: var(--gold-bright); font-weight: 600; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  display: flex; flex-direction: column; margin: 0;
  border: 1px solid var(--hair); border-radius: 4px;
  padding: 30px 28px; background: rgba(239,233,220,.015);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.review:hover { background: var(--ink-3); border-color: rgba(239,233,220,.26); transform: translateY(-3px); }
.review .stars { margin-bottom: 18px; }
.review .quote { margin: 0; font-size: 15.5px; line-height: 1.62; color: rgba(239,233,220,.86); flex: 1; }
.review .who { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--hair); display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; background: linear-gradient(150deg, #1d6076, #0b242f); display: grid; place-items: center; color: var(--gold-bright); font-size: 14px; font-weight: 600; border: 1px solid var(--hair); }
.review .who > span:last-child { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.review .who b { color: var(--cream); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.review .who > span:last-child span { font-size: 12.5px; color: var(--muted-d); }

/* =========================================================
   RETIREMENT READINESS ASSESSMENT (lead generator)
   ========================================================= */
.assess { position: relative; align-self: start; }
.assess-step { display: none; }
.assess-step.is-active { display: block; animation: assessFade .5s var(--ease); }
@keyframes assessFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.assess .overline { margin-bottom: 22px; }
.assess h2 { color: var(--cream); margin-bottom: 22px; }
.assess .lede { max-width: 440px; margin-bottom: 32px; }
.assess .btn { margin-bottom: 16px; }
.assess-meta { font-size: 13px; color: var(--muted-d); letter-spacing: .01em; }

/* quiz */
.assess-top { margin-bottom: 30px; }
.assess-count { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 14px; }
.assess-count b { color: var(--cream); }
.assess-count span { color: var(--muted-d); }
.assess-bar { height: 3px; background: var(--hair); border-radius: 100px; overflow: hidden; }
.assess-bar span { display: block; height: 100%; width: 20%; background: var(--gold); border-radius: 100px; transition: width .5s var(--ease); }
.assess-q { font-size: clamp(22px, 2.6vw, 30px); font-weight: 300; line-height: 1.28; letter-spacing: -.015em; color: var(--cream); margin-bottom: 28px; max-width: 17ch; min-height: 2.4em; }
.assess-opts { display: flex; flex-direction: column; gap: 12px; max-width: 430px; }
.assess-opt {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; cursor: pointer;
  font-family: var(--sans); font-size: 16px; color: var(--cream);
  padding: 17px 20px; border-radius: 4px;
  border: 1px solid var(--hair); background: rgba(239,233,220,.02);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.assess-opt .dot { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid rgba(239,233,220,.4); transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.assess-opt:hover { border-color: var(--gold); background: var(--ink-3); transform: translateX(3px); }
.assess-opt:hover .dot { border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--gold); }
.assess-back { margin-top: 22px; background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--muted-d); padding: 0; transition: color .3s var(--ease); }
.assess-back:hover { color: var(--gold-bright); }
.assess-back[hidden] { display: none; }

/* result */
.assess-score { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.ring { --p: 0; width: 116px; height: 116px; flex: none; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(239,233,220,.1) 0); transition: background 1s var(--ease); }
.ring-in { position: absolute; inset: 9px; border-radius: 50%; background: var(--ink-2); display: grid; place-items: center; line-height: 1; }
.ring-in b { font-size: 34px; font-weight: 300; color: var(--gold-bright); }
.ring-in small { font-size: 12px; color: var(--muted-d); margin-top: 3px; }
.assess-verdict { flex: 1; min-width: 180px; }
.assess-verdict .overline { margin-bottom: 10px; }
.assess-verdict h3 { font-size: clamp(21px, 2.3vw, 27px); font-weight: 400; color: var(--cream); line-height: 1.15; letter-spacing: -.01em; }
.assess-rmsg { font-size: 16px; line-height: 1.6; color: var(--muted-d); max-width: 440px; margin-bottom: 28px; }
.assess-rmsg strong { color: var(--cream); font-weight: 500; }
.assess-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.assess-retake { background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--muted-d); padding: 0; transition: color .3s var(--ease); }
.assess-retake:hover { color: var(--gold-bright); }

@media (max-width: 540px) {
  .assess-opt { padding: 15px 16px; font-size: 15px; }
  .assess .btn { width: 100%; justify-content: center; }
  .assess-cta .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-foot { background: #081d26; color: var(--cream); padding: clamp(60px, 8vh, 96px) 0 38px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--hair); }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { font-size: 14px; color: var(--muted-d); max-width: 32ch; line-height: 1.6; }
.foot-col h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: 14.5px; color: var(--muted-d); transition: color .3s var(--ease); }
.foot-col a:hover { color: var(--cream); }

.compliance { padding-top: 34px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.compliance p { font-size: 12px; line-height: 1.65; color: rgba(239,233,220,.5); max-width: 96ch; }
.compliance .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--hair); }
.compliance .row .legal { display: flex; flex-wrap: wrap; gap: 22px; }
.compliance .row a, .compliance .row span { font-size: 12.5px; color: rgba(239,233,220,.5); }
.compliance .row a:hover { color: var(--cream); }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =========================================================
   Scene keyframes — cinematic pan + parallax
   Each layer pans by a different magnitude (depth) over one
   shared clock, alternating, so the camera drifts.
   ========================================================= */
@keyframes panFar  { from { transform: translateX(-1.1%) scale(1.05); } to { transform: translateX(1.1%) scale(1.05); } }
@keyframes panMid  { from { transform: translateX(-2.1%); } to { transform: translateX(2.1%); } }
@keyframes panMid2 { from { transform: translateX(-2.9%); } to { transform: translateX(2.9%); } }
@keyframes panNear { from { transform: translateX(-4.6%); } to { transform: translateX(4.6%); } }
@keyframes panFront{ from { transform: translateX(-7.4%) scale(1.06); } to { transform: translateX(7.4%) scale(1.06); } }
@keyframes sceneBreathe { from { transform: scale(1.02); } to { transform: scale(1.075); } }

/* parallax wrappers (positioned, fixed-aspect where it matters) */
.l-clouds   { position: absolute; left: -14%; top: 0; width: 128%; height: 52%; will-change: transform; }
.l-clouds svg { width: 100%; height: 100%; }
.l-headland { position: absolute; left: -14%; top: 42%; width: 128%; height: 17%; will-change: transform; }
.l-headland svg { width: 100%; height: 100%; }
.couple-anchor { position: absolute; left: 78%; bottom: 27%; width: clamp(165px, 17vw, 248px); transform: translateX(-50%); z-index: 4; }
.couple-pan { will-change: transform; }
.couple-svg { width: 100%; height: auto; transform: scaleX(-1); }
.dune-l { position: absolute; left: 0; bottom: -1%; width: clamp(230px, 31vw, 430px); z-index: 5; will-change: transform; }
.dune-r { position: absolute; right: 0; bottom: -1%; width: clamp(200px, 27vw, 390px); z-index: 5; will-change: transform; }
.dune-l svg, .dune-r svg { width: 100%; height: auto; }

.scene    { animation: sceneBreathe 58s ease-in-out infinite alternate, sceneIn 1.7s var(--ease) backwards; }
.sky      { animation: panFar 58s ease-in-out infinite alternate; }
.glow     { animation: panFar 58s ease-in-out infinite alternate; }
.sun      { animation: panFar 58s ease-in-out infinite alternate; }
.l-clouds { animation: panMid 58s ease-in-out infinite alternate; }
.ocean    { animation: panMid 58s ease-in-out infinite alternate; }
.glitter  { animation: panMid 58s ease-in-out infinite alternate; }
.l-headland { animation: panMid2 58s ease-in-out infinite alternate; }
.beach    { animation: panNear 58s ease-in-out infinite alternate; }
.couple-pan { animation: panNear 58s ease-in-out infinite alternate; }
.dune-l   { animation: panFront 58s ease-in-out infinite alternate; }
.dune-r   { animation: panFront 58s ease-in-out infinite alternate-reverse; }

.cloud-a { animation: drift 70s linear infinite alternate; }
.cloud-b { animation: drift 90s linear infinite alternate-reverse; }
.grass-1 { transform-box: fill-box; transform-origin: bottom center; animation: sway 7s ease-in-out infinite alternate; }
.grass-2 { transform-box: fill-box; transform-origin: bottom center; animation: sway 5.5s ease-in-out infinite alternate-reverse; }
.grass-3 { transform-box: fill-box; transform-origin: bottom center; animation: sway 8.5s ease-in-out infinite alternate; }

@keyframes drift { from { transform: translateX(-2%); } to { transform: translateX(2%); } }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.4deg); } }
@keyframes shimmer { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes glowPulse { 0%,100% { opacity: .65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes cueDrop { 0% { top: -40%; } 60%,100% { top: 100%; } }

.wave-1 { top: 22%; animation: waveMove 11s ease-in-out infinite; }
.wave-2 { top: 38%; animation: waveMove 14s ease-in-out infinite reverse; }
.wave-3 { top: 54%; animation: waveMove 17s ease-in-out infinite; }
@keyframes waveMove { 0%,100% { transform: translateX(-3%); opacity: .3; } 50% { transform: translateX(3%); opacity: .6; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .foot-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px 28px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head { padding: 18px 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-figure { max-width: 440px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  /* pull the couple in from the foreground dunes on smaller screens */
  .couple-anchor { left: 72%; bottom: 26%; width: clamp(150px, 26vw, 230px); }
}
@media (max-width: 680px) {
  .hero { min-height: 560px; }
  .hero-content .wrap { padding-bottom: clamp(52px, 10vh, 92px); }
  .hero .overline { margin-bottom: 18px; letter-spacing: .24em; }
  .hero h1 { margin-bottom: 18px; }
  .hero .lede { font-size: 16.5px; }
  .hero-cta { margin-top: 28px; gap: 11px; }
  .couple-anchor { left: 68%; bottom: 23%; width: clamp(126px, 32vw, 178px); }
  .dune-l { width: clamp(170px, 42vw, 230px); }
  .dune-r { width: clamp(140px, 36vw, 200px); }
  .sec-head { gap: 18px; margin-bottom: 38px; }
  .svc { padding: 30px 26px 34px; }
  .dream-statement { font-size: clamp(25px, 6.4vw, 38px); }
}
@media (max-width: 540px) {
  /* stacked, full-width CTAs read cleaner than a cramped row */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-feature { padding-left: 22px; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .field.two { grid-template-columns: 1fr; }
  .sun .disc { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .dream-foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .btn { padding: 14px 22px; }
  .stat { padding: 26px 22px; }
  .form { padding: 24px 20px; }
  .cpt .k { width: 74px; }
  .compliance .row { flex-direction: column; align-items: flex-start; }
  .compliance .row .legal { gap: 14px 18px; }
}
@media (max-width: 380px) {
  .creds { gap: 9px; }
  .cred { font-size: 12px; padding: 7px 12px; }
  .stat .lbl { font-size: 13px; }
}

/* =========================================================
   Reduced motion — settle to a composed still
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Global safety net (WCAG 2.3.3): neutralise all motion across every page.
     Specific rules below settle key elements to a composed static state. */
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .scene, .sky, .glow, .sun, .l-clouds, .ocean, .glitter, .l-headland,
  .beach, .couple-pan, .dune-l, .dune-r, .cloud-a, .cloud-b, .grass-1, .grass-2, .grass-3,
  .glitter .col, .glow .pulse, .wave, .scroll-cue .rail::after {
    animation: none !important;
  }
  .scene { transform: scale(1.03); }
  .reveal { opacity: 1; transform: none; transition: none; }
}
