/* Generational Legacy Financial — luxury edition */
@view-transition { navigation: auto; }

:root {
  --ink: #07080c;
  --night: #0b1020;
  --navy: #101a33;
  --navy-2: #17244a;
  --ivory: #f6f2e9;
  --paper: #fbf9f4;
  --stone: #e7e1d4;
  --text: #1a1a1f;
  --muted: #6d6a63;
  --muted-d: #a9a7a1;
  --gold: #c9a45c;
  --gold-hi: #f3e2b0;
  --gold-lo: #8a6526;
  --gold-grad: linear-gradient(115deg, #8a6526 0%, #d8b56a 22%, #f6e6b6 40%, #c9a45c 58%, #8a6526 78%, #e6cc8a 100%);
  --silver-grad: linear-gradient(115deg, #8c9099 0%, #e9ebef 30%, #ffffff 45%, #b6bac2 65%, #f0f1f4 100%);
  --hair-d: rgba(201, 164, 92, .22);
  --hair-l: rgba(26, 26, 31, .12);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --wrap: min(1180px, calc(100% - 48px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

h1, h2, h3, .display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; margin: 0;
}
h1 { font-size: clamp(48px, 8.4vw, 112px); }
h2 { font-size: clamp(38px, 5.6vw, 76px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }
.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--muted-d); max-width: 640px; }
.light .lead { color: var(--muted); }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 28px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  border: 1px solid var(--b); color: var(--ivory);
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
  white-space: nowrap; cursor: pointer; font-family: var(--sans);
}
.btn svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.solid {
  background: var(--gold-grad); background-size: 200% 100%; background-position: 0 0;
  color: #1b1408; border-color: transparent;
  box-shadow: 0 10px 30px -12px rgba(201, 164, 92, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn.solid:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn.ghost:hover { background: rgba(201, 164, 92, .1); }
.light .btn.ghost { color: var(--text); --b: rgba(26, 26, 31, .25); }
.light .btn.ghost:hover { background: rgba(26, 26, 31, .05); }
.link {
  font-size: 15px; font-weight: 400; color: var(--gold); display: inline-flex; align-items: center; gap: 8px;
}
.link svg { width: 12px; height: 12px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.light .link { color: #8a6526; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; view-transition-name: site-header;
  background: rgba(7, 8, 12, .62);
  -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px);
  border-bottom: 1px solid rgba(201, 164, 92, .14);
}
.site-header .bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 34px; height: 34px; }
.brand .name { font-family: var(--serif); font-size: 19px; letter-spacing: .02em; line-height: 1; }
.brand .name small { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: .42em; color: var(--gold); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a.navlink { font-size: 13px; letter-spacing: .06em; color: #cfccc4; position: relative; padding: 6px 0; transition: color .3s; }
.nav a.navlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a.navlink:hover, .nav a.navlink[aria-current="page"] { color: #fff; }
.nav a.navlink:hover::after, .nav a.navlink[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { height: 38px; padding: 0 18px; font-size: 12.5px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ivory); cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 22px; height: 1px; background: currentColor; margin: 6px auto; transition: transform .5s var(--ease), opacity .3s; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; height: calc(100dvh - 64px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 28px 24px; background: rgba(7, 8, 12, .97);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a.navlink { font-family: var(--serif); font-size: 36px; letter-spacing: 0; padding: 10px 0; color: var(--ivory); }
  .nav a.navlink::after { display: none; }
  .nav .btn { margin-top: 28px; height: 50px; padding: 0 26px; font-size: 14px; }
}

/* ---------- sections ---------- */
main { display: block; }
section { position: relative; }
.pad { padding: clamp(96px, 14vw, 180px) 0; }
.pad-s { padding: clamp(72px, 9vw, 120px) 0; }
.light { background: var(--paper); color: var(--text); }
.light.stone { background: var(--ivory); }
.navy { background: radial-gradient(120% 90% at 50% 0%, var(--navy-2) 0%, var(--navy) 38%, var(--night) 100%); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.hair { height: 1px; background: linear-gradient(90deg, transparent, var(--hair-d), transparent); border: 0; margin: 0; }
.light .hair { background: linear-gradient(90deg, transparent, var(--hair-l), transparent); }

/* ---------- HERO with 3D coin crest ---------- */
.hero {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 120px 0 90px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 60% at 50% 38%, #141d38 0%, #0a0f1d 46%, var(--ink) 100%);
}
.aurora { position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; pointer-events: none; filter: blur(60px); opacity: .55; }
.aurora i {
  position: absolute; border-radius: 50%; mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { left: 8%; top: 20%; width: 46%; height: 34%; background: radial-gradient(closest-side, rgba(52, 168, 140, .55), transparent); }
.aurora i:nth-child(2) { right: 6%; top: 8%; width: 44%; height: 40%; background: radial-gradient(closest-side, rgba(201, 164, 92, .45), transparent); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { left: 30%; top: 36%; width: 40%; height: 30%; background: radial-gradient(closest-side, rgba(52, 84, 168, .5), transparent); animation-duration: 34s; animation-delay: -12s; }
@keyframes drift { from { transform: translate3d(-4%, 0, 0) scale(1); } to { transform: translate3d(5%, 6%, 0) scale(1.15); } }
.stars { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 42%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 64%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 72%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 92% 36%, #f3e2b0 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 22% 40%, #f3e2b0 50%, transparent 51%);
}
.hero-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--ink)); }

.coin-stage { perspective: 1400px; width: clamp(210px, 30vw, 300px); aspect-ratio: 1; margin: 0 auto 38px; position: relative; }
.coin-stage::after { /* soft reflection pool */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -18%; height: 16%;
  background: radial-gradient(closest-side, rgba(201, 164, 92, .35), transparent); filter: blur(10px);
}
.coin-tilt { width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 1.2s var(--ease); }
.coin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  animation: coin-in 2s cubic-bezier(.16, .84, .24, 1) both, sway 9s ease-in-out 2s infinite alternate; }
.coin > * { position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden; }
.coin .face { transform: translateZ(7px); }
.coin .back { transform: rotateY(180deg) translateZ(7px); }
.coin .edge { backface-visibility: visible;
  background: linear-gradient(90deg, #5d4316, #c9a45c 30%, #f6e6b6 50%, #b38a3e 70%, #5d4316);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.coin .shadow { transform: translateZ(-9px); background: rgba(0, 0, 0, .55); filter: blur(18px); }
@keyframes coin-in {
  0% { transform: rotateY(-540deg) scale(.6); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: rotateY(0) scale(1); opacity: 1; }
}
@keyframes sway { from { transform: rotateY(-16deg) rotateX(4deg); } to { transform: rotateY(16deg) rotateX(-3deg); } }

/* crest drawing */
.crest .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) .3s forwards; }
.crest .draw.d2 { animation-delay: .5s; animation-duration: 1.9s; }
.crest .mono-stroke { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw-mono 2s var(--ease) .6s forwards; }
.crest .mono-fill { opacity: 0; animation: fade 1.2s var(--ease) 1.4s forwards; }
.crest .leaf { opacity: 0; transform-box: fill-box; transform-origin: center; animation: leaf .9s var(--ease) forwards; }
.crest .bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: grow 1s var(--ease) forwards; }
.crest .ring-text { opacity: 0; animation: fade 1.4s var(--ease) 1.1s forwards; }
.crest .sheen { animation: sheen 6s ease-in-out 3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes draw-mono { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes leaf { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes sheen { 0%, 60% { transform: translateX(-260px); } 85%, 100% { transform: translateX(260px); } }

/* wordmark */
.wordmark { display: grid; justify-items: center; gap: 2px; }
.wordmark .w1, .wordmark .w2, .wordmark .w3, .wordmark .w4 { opacity: 0; animation: rise 1.6s var(--ease) both; }
.wordmark .w1 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3.4vw, 40px); letter-spacing: .26em; padding-left: .26em;
  background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation-delay: 1.1s; }
.wordmark .w2 { font-family: var(--serif); font-weight: 600; font-size: clamp(56px, 10vw, 128px); line-height: .92; letter-spacing: .06em; padding-left: .06em;
  background: var(--gold-grad); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.6s var(--ease) 1.25s both, shimmer 7s ease-in-out 3s infinite; }
.wordmark .w3 { display: flex; align-items: center; gap: 18px; font-family: var(--serif); font-size: clamp(14px, 1.8vw, 21px); letter-spacing: .62em; padding-left: .62em; color: #e9eaee; animation-delay: 1.45s; margin-top: 8px; }
.wordmark .w3::before, .wordmark .w3::after { content: ""; width: clamp(30px, 8vw, 110px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.wordmark .w3::after { transform: scaleX(-1); }
.wordmark .w4 { font-size: 10.5px; letter-spacing: .5em; padding-left: .5em; color: var(--gold); margin-top: 10px; animation-delay: 1.6s; font-weight: 500; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

.hero .tagline { margin: 38px auto 0; max-width: 560px; font-size: clamp(17px, 1.5vw, 19px); color: #bdbab2; opacity: 0; animation: rise 1.4s var(--ease) 1.8s both; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; opacity: 0; animation: rise 1.4s var(--ease) 1.95s both; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 22px; height: 36px; border: 1px solid rgba(201, 164, 92, .5); border-radius: 12px; opacity: 0; animation: fade 1s ease 2.4s forwards; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- inner page hero ---------- */
.page-hero { padding: 180px 0 110px; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 70% at 50% 0%, #17244a 0%, #0b1020 50%, var(--ink) 100%); }
.page-hero h1 { font-size: clamp(52px, 8vw, 104px); }
.page-hero .lead { margin: 26px auto 0; }
.page-hero .mini-coin { width: 64px; height: 64px; margin: 0 auto 30px; perspective: 600px; }
.page-hero .mini-coin > div { width: 100%; height: 100%; animation: spin 14s linear infinite; transform-style: preserve-3d; }
@keyframes spin { to { transform: rotateY(360deg); } }
.page-hero .h-in { animation: rise 1.4s var(--ease) .1s both; }
.page-hero .h-in2 { animation: rise 1.4s var(--ease) .3s both; }

/* ---------- statement (word highlight) ---------- */
.statement p {
  font-family: var(--serif); font-size: clamp(32px, 4.4vw, 60px); line-height: 1.16; letter-spacing: -.005em;
  max-width: 1040px; margin: 0 auto; text-align: center; color: var(--ivory);
}
.statement .w { transition: color .5s ease, opacity .5s ease; }
.js .statement .w { opacity: .18; }
.js .statement .w.on { opacity: 1; }
.statement .w.g { color: var(--gold-hi); font-style: italic; }

/* ---------- pillars (3D tilt cards) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.tilt-wrap { perspective: 1100px; }
.tilt {
  position: relative; height: 100%; border-radius: 26px; padding: 40px 34px 36px;
  transform-style: preserve-3d; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid rgba(201, 164, 92, .18);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.tilt::before { /* glare */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(243, 226, 176, .14), transparent 45%);
  opacity: 0; transition: opacity .6s;
}
.tilt:hover::before { opacity: 1; }
.tilt > * { transform: translateZ(30px); }
.tilt .num { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--gold); margin-bottom: 46px; display: block; }
.tilt .ico { width: 46px; height: 46px; margin-bottom: 28px; color: var(--gold); }
.tilt h3 { margin-bottom: 14px; }
.tilt p { color: var(--muted-d); font-size: 15.5px; }
.tilt .link { margin-top: 10px; }
.light .tilt { background: #fff; border-color: rgba(26, 26, 31, .08); box-shadow: 0 30px 60px -40px rgba(16, 26, 51, .35); }
.light .tilt p { color: var(--muted); }
.light .tilt::before { background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(201, 164, 92, .14), transparent 45%); }
.light .tilt .ico, .light .tilt .num { color: #9b7531; }

/* ---------- split / founder ---------- */
.split { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.02fr; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.portrait3d { perspective: 1200px; max-width: 520px; margin-inline: auto; width: 100%; }
.portrait3d .stack {
  position: relative; aspect-ratio: 4/5; border-radius: 30px; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform 1.1s var(--ease);
}
.portrait3d .layer { position: absolute; inset: 0; border-radius: 30px; }
.portrait3d .bg {
  background:
    radial-gradient(70% 55% at 68% 38%, rgba(158, 128, 77, .55), transparent 70%),
    radial-gradient(60% 50% at 18% 90%, rgba(64, 84, 133, .45), transparent 70%),
    linear-gradient(180deg, #131a2b, #05070b);
  border: 1px solid rgba(201, 164, 92, .25); overflow: hidden;
  box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .9);
}
.portrait3d .ring { inset: 9% 8% auto auto; width: 62%; aspect-ratio: 1; height: auto; border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, .55); transform: translateZ(26px); }
.portrait3d .ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px solid rgba(201, 164, 92, .22); }
.portrait3d .person { transform: translateZ(60px) scale(.93); transform-origin: bottom center; overflow: hidden; border-radius: 0 0 30px 30px; }
.portrait3d .person img { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.portrait3d .tag {
  inset: auto auto 26px -18px; width: auto; height: auto; transform: translateZ(110px);
  padding: 16px 22px; border-radius: 16px; background: rgba(10, 13, 22, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(201, 164, 92, .35);
}
.portrait3d .tag b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; color: #fff; }
.portrait3d .tag span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 640px) { .portrait3d .tag { left: 14px; } }

blockquote { margin: 0; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; }
.quote::before { content: "\201C"; display: block; font-size: 90px; line-height: .6; color: var(--gold); font-style: normal; height: 40px; }
.cite { margin-top: 20px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair-d); }
.stats > div { padding: 40px 28px 10px 0; }
.stats > div + div { padding-left: 28px; border-left: 1px solid var(--hair-d); }
.stat-n { font-family: var(--serif); font-size: clamp(46px, 5.6vw, 78px); line-height: 1; }
.stat-l { margin-top: 14px; color: var(--muted-d); font-size: 15px; max-width: 280px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stats > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair-d); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 70px; width: max-content; animation: marq 48s linear infinite; align-items: center; }
.marquee .dupe { display: contents; }
.marquee:hover .track { animation-play-state: paused; }
.marquee img { height: 34px; width: auto; filter: grayscale(1) contrast(.9); opacity: .6; transition: filter .5s, opacity .5s; }
.marquee img:hover { filter: none; opacity: 1; }
.marquee img.inv { filter: grayscale(1) invert(1) contrast(.9); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- photo band ---------- */
.band { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.band .bgimg { position: absolute; inset: -10% 0; z-index: -2; background-size: cover; background-position: center; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 8, 12, .2), rgba(7, 8, 12, .92)); }

/* ---------- CTA ---------- */
.cta { text-align: center; overflow: hidden; isolation: isolate; }
.cta h2 { font-size: clamp(46px, 7vw, 96px); }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.cta .halo { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 164, 92, .16), transparent); }
.cta .rings { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: -1; width: 760px; height: 760px; perspective: 900px; opacity: .55; }
.cta .rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201, 164, 92, .35); transform: rotateX(72deg); animation: orbit 30s linear infinite; }
.cta .rings i:nth-child(2) { inset: 12%; animation-duration: 22s; animation-direction: reverse; border-color: rgba(201, 164, 92, .22); }
.cta .rings i:nth-child(3) { inset: 26%; animation-duration: 16s; border-style: dashed; border-color: rgba(201, 164, 92, .2); }
@keyframes orbit { to { transform: rotateX(72deg) rotateZ(360deg); } }

/* ---------- services page ---------- */
.chapter { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 6vw, 90px); }
.chapter .side { position: sticky; top: 110px; align-self: start; }
.chapter .bignum { font-family: var(--serif); font-size: clamp(80px, 10vw, 150px); line-height: .8; font-weight: 300;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapter .side h2 { font-size: clamp(36px, 4vw, 54px); margin-top: 18px; }
.chapter .body > p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; color: var(--muted-d); max-width: 720px; }
.light .chapter .body > p { color: var(--muted); }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; } .chapter .side { position: static; } }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }

.subnav { position: sticky; top: 64px; z-index: 20; background: rgba(251, 249, 244, .82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair-l); }
.subnav .row { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; height: 54px; align-items: center; }
.subnav .row::-webkit-scrollbar { display: none; }
.subnav a { color: var(--muted); font-size: 13px; white-space: nowrap; letter-spacing: .03em; transition: color .3s; }
.subnav a:hover, .subnav a.active { color: var(--text); }
.anchor { scroll-margin-top: 130px; }

.tbl { width: 100%; border-collapse: collapse; margin-top: 30px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: #9b7531; padding: 0 0 14px; border-bottom: 1px solid var(--hair-l); }
.tbl td { padding: 18px 0; border-bottom: 1px solid var(--hair-l); font-family: var(--serif); font-size: 26px; }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.tbl td:last-child { color: #8a6526; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; max-width: 640px; }
.navy .fine, .hero .fine { color: var(--muted-d); }

.phase { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 34px; border: 1px solid var(--hair-l); border-radius: 22px; overflow: hidden; }
.phase > div { padding: 30px; }
.phase > div + div { border-left: 1px solid var(--hair-l); background: linear-gradient(180deg, rgba(201, 164, 92, .08), transparent); }
.phase b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.phase svg { width: 100%; height: 70px; margin-top: 18px; }
@media (max-width: 640px) { .phase { grid-template-columns: 1fr; } .phase > div + div { border-left: 0; border-top: 1px solid var(--hair-l); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--hair-l); }
.navy .chip { background: rgba(255, 255, 255, .04); border-color: var(--hair-d); }

/* ---------- partners ---------- */
.p-card { display: flex; flex-direction: column; gap: 22px; }
.p-logo { height: 120px; border-radius: 18px; display: grid; place-items: center; padding: 26px 34px; background: #fff; border: 1px solid rgba(26, 26, 31, .06); }
.p-logo img { max-height: 52px; width: auto; object-fit: contain; }
.p-logo.dark { background: linear-gradient(160deg, #17244a, #0b1020); }
.p-card h3 { font-size: 26px; }
.p-card p { font-size: 15px; color: var(--muted); margin: 0; }
.more { margin-top: 6px; }
.more summary { cursor: pointer; color: #8a6526; font-size: 14px; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { margin-bottom: 10px; }

/* ---------- contact ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--ivory); background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(201, 164, 92, .22); border-radius: 14px; padding: 15px 18px; transition: border-color .3s, background .3s;
}
.field select option { color: #111; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .05); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 30px; }
.info-list .k { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.info-list .v { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.map { margin-top: 70px; border-radius: 26px; overflow: hidden; border: 1px solid var(--hair-d); height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25) hue-rotate(185deg); }

/* ---------- card rebuild (business card) ---------- */
.bizcard-wrap { perspective: 1400px; }
.bizcard {
  position: relative; aspect-ratio: 1.75; border-radius: 22px; padding: clamp(22px, 3.4vw, 40px); overflow: hidden;
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(52, 168, 140, .25), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(201, 164, 92, .25), transparent 60%),
    linear-gradient(150deg, #121b35, #070a14);
  border: 1px solid rgba(201, 164, 92, .4);
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); transition: transform 1.1s var(--ease);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9);
  display: flex; flex-direction: column; justify-content: space-between;
}
.bizcard .top { display: flex; justify-content: space-between; align-items: flex-start; }
.bizcard .top svg { width: 56px; height: 56px; }
.bizcard .nm { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.bizcard .rl { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.bizcard .ct { font-size: clamp(11px, 1.1vw, 13px); color: #cfccc4; line-height: 1.8; }
.bizcard .lic { font-size: 10px; letter-spacing: .22em; color: var(--muted-d); text-transform: uppercase; text-align: right; }
.bizcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%); transform: translateX(-100%); animation: card-sheen 7s ease-in-out 1s infinite; }
@keyframes card-sheen { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }

/* ---------- footer ---------- */
.site-footer { background: #050608; border-top: 1px solid var(--hair-d); padding: 80px 0 40px; font-size: 14px; color: var(--muted-d); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .06); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.site-footer .motto { font-family: var(--serif); letter-spacing: .4em; color: var(--gold); font-size: 12px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- scroll-driven reveals (progressive; content always visible without support) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise3d linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .band .bgimg { animation: parallax linear both; animation-timeline: view(); animation-range: cover; }
    .tilt-wrap.rise:nth-child(2) { animation-range: entry 5% cover 32%; }
    .tilt-wrap.rise:nth-child(3) { animation-range: entry 10% cover 36%; }
    .zoom-in { animation: zoomin linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .rise, .zoom-in { animation: softfade linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  }
}
@keyframes rise3d { from { opacity: 0; transform: perspective(1000px) translateY(70px) rotateX(14deg); } to { opacity: 1; transform: none; } }
@keyframes parallax { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
@keyframes zoomin { from { opacity: .2; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@keyframes softfade { from { opacity: .15; } to { opacity: 1; } }

/* ---------- page transitions ---------- */
::view-transition-old(root) { animation: vt-out .55s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .8s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.01); filter: blur(6px); } }

/* ---------- reduced motion: soft fades only ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .coin { animation: fade 1.6s ease both; }
  .coin-tilt, .tilt, .portrait3d .stack, .bizcard { transform: none !important; }
  .aurora i, .marquee .track, .cta .rings i, .page-hero .mini-coin > div, .crest .sheen, .bizcard::after, .scroll-cue::after { animation: none; }
  .marquee .track { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 30px; }
  .marquee .dupe { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .crest .leaf, .crest .bar { animation: fade 1.2s ease .6s forwards; transform: none; }
  .wordmark .w1, .wordmark .w2, .wordmark .w3, .wordmark .w4, .hero .tagline, .hero .actions, .page-hero .h-in, .page-hero .h-in2 { animation-name: fade; animation-duration: 1.4s; }
  .wordmark .w2 { animation: fade 1.4s ease 1.2s both; }
  ::view-transition-old(root) { animation: vt-fade-out .35s ease both; }
  ::view-transition-new(root) { animation: vt-fade-in .45s ease both; }
}
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* lining figures for money & data */
.stat-n, .tbl, .info-list .v, .chapter .bignum, .bizcard, .tilt .num { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1; }
.marquee img[alt="F&G"], .marquee img[alt="Protective"] { height: 26px; }

/* safety net: if the intro is ever stalled, reveal hero text anyway */
.intro-done .wordmark .w1, .intro-done .wordmark .w3, .intro-done .wordmark .w4,
.intro-done .hero .tagline, .intro-done .hero .actions, .intro-done .scroll-cue,
.intro-done .page-hero .h-in, .intro-done .page-hero .h-in2 { animation: none; opacity: 1; }
.intro-done .wordmark .w2 { animation: shimmer 7s ease-in-out infinite; opacity: 1; }

/* =====================================================================
   v2 — one-page layout, smaller type, ambient 4K video, contrast fixes
   ===================================================================== */
body { font-size: 15.5px; }
h2 { font-size: clamp(30px, 3.8vw, 52px); }
h3 { font-size: clamp(19px, 1.7vw, 23px); }
.lead { font-size: clamp(15.5px, 1.25vw, 17.5px); max-width: 600px; }
.eyebrow { font-size: 10.5px; margin-bottom: 16px; }
.pad { padding: clamp(80px, 10vw, 140px) 0; }
.statement p { font-size: clamp(24px, 3.1vw, 42px); }
.quote { font-size: clamp(21px, 2.2vw, 28px); }
.cta h2, .vband h2 { font-size: clamp(34px, 4.6vw, 64px); }
.stat-n { font-size: clamp(38px, 4.4vw, 60px); }
.stat-l { font-size: 14px; }
.btn { height: 46px; padding: 0 24px; font-size: 13px; }

/* services: noticeably smaller and tighter */
.chapter { grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 70px); }
.chapter .bignum { font-size: clamp(54px, 6vw, 88px); }
.chapter .side h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 12px; }
.chapter .body > p { font-size: 16px; line-height: 1.7; max-width: 660px; }
.chapter .grid-2, .chapter .grid-3 { margin-top: 34px !important; gap: 16px; }
.tilt { padding: 28px 24px 26px; border-radius: 20px; }
.tilt .ico { width: 36px; height: 36px; margin-bottom: 18px; }
.tilt .num { margin-bottom: 28px; font-size: 13px; }
.tilt h3 { font-size: 19px; margin-bottom: 10px; }
.tilt p { font-size: 14px; line-height: 1.6; }
.tilt .link { font-size: 13.5px; }
.checks li { font-size: 14.5px; }
.tbl td { font-size: 20px; padding: 14px 0; }
.tbl th { font-size: 10px; }
.phase b { font-size: 21px; }
.phase > div { padding: 24px; }
.fine { font-size: 12.5px; }
.chip { font-size: 12.5px; padding: 7px 14px; }
.p-card h3 { font-size: 21px; }
.p-card p { font-size: 14px; }
.p-logo { height: 104px; }
.info-list .v { font-size: clamp(19px, 1.8vw, 23px); }
#more .bignum { font-size: clamp(54px, 6vw, 88px) !important; }

/* contrast fixes: chips adapt to dark sections; dropdown never white-on-white */
.chip { background: rgba(255, 255, 255, .05); border-color: var(--hair-d); color: var(--ivory); }
.light .chip { background: #fff; border-color: var(--hair-l); color: var(--text); }
.field select {
  -webkit-appearance: none; appearance: none; background-color: #0e1322; color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9a45c' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
.field input, .field textarea { color: var(--ivory); }
.light .eyebrow { color: #9b7531; }

/* one-page section heads */
.sec-head { padding: clamp(80px, 9vw, 120px) 0 0; }
.sec-head + section { padding-top: clamp(50px, 6vw, 80px); }
.sec-head.navy { padding-bottom: 10px; }
.anchor, [id] { scroll-margin-top: 64px; }

/* ambient video */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: #05070d; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media .bg-video { opacity: .6; }
.hero::before { /* keep the coin and wordmark legible over the footage */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 42%, rgba(7, 8, 12, .55), rgba(7, 8, 12, .2) 70%),
              linear-gradient(180deg, rgba(7, 8, 12, .55) 0%, rgba(7, 8, 12, .1) 30%, rgba(7, 8, 12, .4) 70%, var(--ink) 100%);
}
.vband { position: relative; min-height: 76vh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 120px 0; }
.vband::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 8, 12, .55), rgba(7, 8, 12, .35) 40%, rgba(7, 8, 12, .75)); }
.vband h2 { max-width: 900px; margin-inline: auto; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.vband .lead { color: #d9d6ce; }
.vband .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.vband .eyebrow { color: var(--gold-hi); }
.vid-toggle {
  position: absolute; right: 20px; bottom: 20px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(243, 226, 176, .45); background: rgba(7, 8, 12, .45); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; opacity: .75; transition: opacity .3s;
}
.vid-toggle:hover { opacity: 1; }
.vid-toggle span { width: 10px; height: 12px; border-left: 3px solid var(--gold-hi); border-right: 3px solid var(--gold-hi); }
.vid-toggle.paused span { width: 0; height: 0; border: 0; border-left: 11px solid var(--gold-hi); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.hero .vid-toggle { bottom: 26px; right: 24px; }
@media (max-width: 640px) { .vband { min-height: 64vh; padding: 90px 0; } }
.vband.deep::after { background: radial-gradient(60% 60% at 50% 50%, rgba(7, 8, 12, .78), rgba(7, 8, 12, .5) 75%), linear-gradient(180deg, rgba(7, 8, 12, .6), rgba(7, 8, 12, .85)); }
.vband.deep .bg-video { filter: saturate(.75) blur(1.5px); transform: scale(1.03); }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; gap: 22px; } .chapter .side { position: static; } }
/* keep child margins inside each section so no page background shows between them */
.sec-head, main > section.light, main > section.navy, main > section.statement, main > section.pad { display: flow-root; }
.sec-head .lead { margin-bottom: 0; }
.sec-head h2 + .lead { margin-top: 14px; }
