/* Call Capital public site — 2026 redesign */
@font-face { font-family: "Zodiak"; src: url("/site/fonts/zodiak-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("/site/fonts/zodiak-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("/site/fonts/zodiak-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/site/fonts/generalsans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/site/fonts/generalsans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/site/fonts/generalsans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #FAF8F3;
  --ink-2: #F3EFE6;
  --ink-3: #FFFFFF;
  --ink-4: #DDD6C7;
  --line: rgba(11, 14, 20, .08);
  --line-2: rgba(11, 14, 20, .14);
  --cream: #0B0E14;
  --dim: #4A5160;
  --mute: #687082;
  --gold: #E9B949;
  --gold-2: #F6D88E;
  --gold-deep: #A9822B;
  --gold-ink: #1E1707;
  --gold-text: #8A6514;
  --emerald: #0E8F50;
  --coral: #C8452F;
  --sky: #3E7FD6;
  --display: "Zodiak", "Iowan Old Style", Georgia, serif;
  --body: "General Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1200px;
  --nav-h: 76px;
  --r: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-text); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; color: var(--cream); }
h1, h2 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.02; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
h3 { font-family: var(--body); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--gold-text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.tiny { font-size: 13.5px; color: var(--mute); }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* ---------- Test banner ---------- */
.banner {
  background: linear-gradient(90deg, #FBEFCF, #F7E3AE, #FBEFCF);
  color: #5E4510;
  text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .04em;
  padding: 8px 16px; border-bottom: 1px solid rgba(169, 130, 43, .25); color: #5E4510;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(250, 248, 243, .78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 248, 243, .92); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); flex-shrink: 0; }
.brand:hover { color: var(--cream); }
.brand .mark { width: 38px; height: 38px; }
.brand .word { font-family: var(--display); font-size: 23px; letter-spacing: -.02em; line-height: 1; }
.mark .dia { transform-origin: 35px 24px; animation: dia 5s var(--ease) infinite; }
@keyframes dia { 0%, 70%, 100% { transform: rotate(45deg) scale(1); } 80% { transform: rotate(135deg) scale(1.15); } 90% { transform: rotate(225deg) scale(1); } }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--dim); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--cream); background: rgba(11, 14, 20, .05); }
.nav a[aria-current="page"] { color: var(--cream); background: rgba(11, 14, 20, .07); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(11, 14, 20, .04); border: 1px solid var(--line-2); padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--cream); margin: 0 auto; position: relative; transition: transform .25s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.site-header.is-open .menu-toggle span { background: transparent; }
.site-header.is-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 8px 30px -10px rgba(233, 185, 73, .6); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-gold:hover { background: var(--gold-2); color: var(--gold-ink); box-shadow: 0 12px 40px -10px rgba(233, 185, 73, .75); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--cream); border-color: rgba(11, 14, 20, .35); background: rgba(11, 14, 20, .04); }
.btn-line { background: rgba(11, 14, 20, .03); color: var(--cream); border-color: var(--line-2); }
.btn-line:hover { color: var(--cream); border-color: var(--gold); background: rgba(233, 185, 73, .06); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 112px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .aur {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
  animation: drift 22s ease-in-out infinite alternate;
}
.hero-bg .a1 { width: 620px; height: 620px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(240, 195, 90, .55), transparent 65%); }
.hero-bg .a2 { width: 560px; height: 560px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(90, 140, 230, .28), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.hero-bg .a3 { width: 380px; height: 380px; right: 28%; bottom: -160px; background: radial-gradient(circle, rgba(61, 214, 140, .22), transparent 65%); animation-duration: 25s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(.96); } }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 14, 20, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 14, 20, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 35%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 35%, #000 10%, transparent 75%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--dim);
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(11, 14, 20, .04); border: 1px solid var(--line-2);
  margin-bottom: 28px;
}
.eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(61, 214, 140, .6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(61, 214, 140, 0); } }
.hero h1 { margin-bottom: 26px; max-width: 13ch; font-size: clamp(2.7rem, 5.2vw, 4.75rem); text-wrap: balance; }
.hero h1 em { display: inline; white-space: nowrap; }
.hero h1 .line { display: block; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--dim); max-width: 34em; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; color: var(--mute); font-size: 14px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--gold-text); }

/* Desk (live illustration) */
.desk {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF, #FBF8F1);
  border: 1px solid var(--line-2); border-radius: 22px;
  padding: 22px; box-shadow: 0 40px 100px -40px rgba(80, 60, 20, .28), 0 2px 6px rgba(80, 60, 20, .06);
  backdrop-filter: blur(10px);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.desk:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.desk::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(233, 185, 73, .55), transparent 35%, transparent 65%, rgba(127, 178, 240, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.desk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.desk-id { display: flex; align-items: center; gap: 12px; }
.desk-ref { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--gold-text); border: 1px solid rgba(233, 185, 73, .35); border-radius: 8px; padding: 4px 8px; font-variant-numeric: tabular-nums; }
.desk-name { font-weight: 600; font-size: 15px; }
.desk-name small { display: block; color: var(--mute); font-weight: 400; font-size: 12.5px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(233, 185, 73, .12); color: var(--gold-text); white-space: nowrap; transition: background .4s, color .4s; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.ok { background: rgba(61, 214, 140, .14); color: var(--emerald); }
.desk-bar { height: 6px; border-radius: 999px; background: rgba(11, 14, 20, .07); overflow: hidden; margin-bottom: 18px; }
.desk-bar i { display: block; height: 100%; width: 75%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--emerald)); transition: width .9s var(--ease); }
.desk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.desk-steps li {
  font-size: 12px; font-weight: 500; color: var(--mute);
  padding: 10px 10px 9px; border-radius: 10px; background: rgba(11, 14, 20, .03); border: 1px solid var(--line);
  transition: color .4s, background .4s, border-color .4s;
}
.desk-steps li b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: inherit; opacity: .7; margin-bottom: 2px; }
.desk-steps li.done { color: var(--cream); background: rgba(61, 214, 140, .06); border-color: rgba(61, 214, 140, .2); }
.desk-steps li.done b { color: var(--emerald); opacity: 1; }
.desk-steps li.now { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); box-shadow: 0 10px 30px -10px rgba(233, 185, 73, .7); }
.desk-feed { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; min-height: 112px; }
.desk-feed div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); animation: feed-in .5s var(--ease) both; }
.desk-feed div::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.desk-feed div:first-child { color: var(--cream); }
.desk-feed div:not(:first-child)::before { background: var(--ink-4); }
.desk-feed time { margin-left: auto; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.desk-note { position: absolute; right: 18px; bottom: -30px; font-size: 12px; color: var(--mute); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 56px; font-family: var(--display); font-size: 22px; color: var(--dim); white-space: nowrap; }
.marquee span::after { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section.tight { padding: 96px 0; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 20px;
}
.section-kicker::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--dim); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.top { align-items: start; }
.stack { display: grid; gap: 16px; }

/* ---------- Cards ---------- */
.cards-3, .cards-2, .cards-4 { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 185, 73, .10), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(233, 185, 73, .28); box-shadow: 0 30px 60px -30px rgba(80, 60, 20, .22); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--dim); font-size: 15.5px; }
.card-num { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--gold-text);
  background: rgba(233, 185, 73, .08); border: 1px solid rgba(233, 185, 73, .2);
}
.ico svg { width: 22px; height: 22px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 15px; }

/* ---------- Path (8 steps) ---------- */
.path { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--line-2); }
.path-fill { position: absolute; left: 0; top: 19px; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--emerald)); transition: width 2.4s var(--ease); }
.path.is-in .path-fill { width: 100%; }
.path-step { position: relative; padding-right: 14px; }
.path-dot {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--ink); border: 2px solid var(--line-2);
  font-size: 13px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums;
  transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.path.is-in .path-dot { background: var(--ink-3); border-color: var(--gold); color: var(--gold-text); transition-delay: calc(var(--d) * 0.28s); }
.path-step strong { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.path-step p { color: var(--mute); font-size: 14px; line-height: 1.5; }

/* Legacy six-step list (how it works) */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.step { border-top: 2px solid var(--gold); padding-top: 18px; }
.step strong { display: block; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--dim); font-size: 14.5px; }

/* ---------- Partner panel ---------- */
.panel {
  position: relative; border-radius: 22px; padding: 26px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(80, 60, 20, .25);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-head b { font-weight: 600; }
.panel-head span { font-size: 12.5px; color: var(--mute); }
.prow { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.prow .ref { font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.prow .meter { height: 6px; border-radius: 999px; background: rgba(11, 14, 20, .07); overflow: hidden; }
.prow .meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--emerald)); transition: width 1.6s var(--ease); }
.panel.is-in .prow .meter i { width: var(--w); }
.prow .pct { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 92px; text-align: right; color: var(--cream); }
.prow .pct.is-step { color: var(--gold-text); font-weight: 500; }
.ticks { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--dim); }
.ticks li b { color: var(--cream); font-weight: 600; }
.ticks svg { width: 20px; height: 20px; color: var(--gold-text); margin-top: 3px; }

/* ---------- Principles ---------- */
.principle { padding: 34px 30px 30px; border-top: 1px solid var(--line-2); position: relative; }
.principle::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold); transition: width .9s var(--ease); }
.principle.is-in::before { width: 64px; }
.principle .n { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--gold-text); margin-bottom: 20px; font-style: italic; }
.principle h3 { margin-bottom: 10px; }
.principle p { color: var(--dim); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 0 0 120px; }
.cta-inner {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: 80px 64px;
  background: linear-gradient(135deg, #FFF4D6, #FBEBC4 45%, #F6F0E2);
  border: 1px solid rgba(169, 130, 43, .25);
}
.cta-inner::before {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 185, 73, .35), transparent 60%); filter: blur(30px);
  animation: drift 20s ease-in-out infinite alternate;
}
.cta-inner h2 { max-width: 14ch; }
.cta-inner p { color: var(--dim); max-width: 36em; margin-bottom: 34px; font-size: 1.08rem; }
.cta-mark { position: absolute; right: 64px; bottom: 50%; transform: translateY(50%); width: 200px; height: 200px; opacity: .9; z-index: -1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero .hero-bg .a1 { width: 520px; height: 520px; top: -260px; right: -120px; opacity: .45; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 16ch; }
.page-hero p { color: var(--dim); font-size: 1.12rem; max-width: 40em; }

/* ---------- Notices ---------- */
.notice, .flag, .apply-note {
  border: 1px solid rgba(233, 185, 73, .3); background: rgba(233, 185, 73, .06);
  color: var(--gold-text); font-size: 14px; padding: 12px 16px; border-radius: var(--r-sm);
}
.flag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; margin-bottom: 16px; }
.apply-note { margin-bottom: 24px; }
.apply-note strong { color: var(--gold-text); }
.error { border: 1px solid rgba(240, 122, 102, .45); background: rgba(240, 122, 102, .08); color: #A8321F; padding: 12px 16px; border-radius: var(--r-sm); margin: 0 0 20px; }
.entity-placeholder { color: var(--gold-text); border-bottom: 1px dashed rgba(233, 185, 73, .5); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.apply-layout { max-width: 880px; }
.apply-card { display: grid; gap: 20px; }
.apply-section {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px;
}
.apply-section h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--cream); }
.field .req { color: var(--gold-text); }
.field .hint, .sub-label { font-size: 12.5px; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 15px; color: var(--cream); outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23687082' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--ink-3); color: var(--cream); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(11, 14, 20, .25); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233, 185, 73, .14); background: rgba(255, 255, 255, .9); }
.field input[type="date"] { color-scheme: light; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--dim); font-weight: 400 !important; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--gold); margin: 2px 0 0; }
.upload { border: 1px dashed var(--line-2); border-radius: 12px; padding: 18px; background: rgba(255, 255, 255, .4); }
.legal-blurb { margin-top: 24px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .4); }
.legal-blurb p { color: var(--mute); font-size: 13.5px; }
.form-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.form-chips span { font-size: 12.5px; color: var(--dim); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.success-panel { display: none; background: linear-gradient(180deg, rgba(61, 214, 140, .08), var(--ink-2)); border: 1px solid rgba(61, 214, 140, .3); border-radius: 20px; padding: 40px; }
.success-panel h2 { color: var(--emerald); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.success-panel p { color: var(--dim); }

/* ---------- Legal ---------- */
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--dim); }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 72px 0 36px; background: #F1ECE1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--mute); font-size: 14.5px; max-width: 30em; }
.site-footer h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--dim); font-size: 15px; }
.site-footer a:hover { color: var(--gold-text); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--mute); font-size: 13px; }
.footer-legal p { margin: 0; max-width: 60em; }

/* ---------- Sign in ---------- */
.auth { min-height: calc(100vh - 40px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; overflow: hidden; isolation: isolate; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.auth-art h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); max-width: 12ch; }
.auth-art p { color: var(--dim); max-width: 30em; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { font-size: 2.6rem; margin-bottom: 8px; }
.auth-card .sub { color: var(--mute); margin-bottom: 28px; font-size: 15px; }
.auth-card form { display: grid; gap: 16px; }
.auth-card .note { font-size: 13px; color: var(--mute); margin-top: 22px; }
.auth-card .info { font-size: 13.5px; color: var(--dim); border: 1px solid var(--line-2); background: rgba(11, 14, 20, .03); border-radius: 12px; padding: 12px 14px; margin-bottom: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .desk { transform: none; max-width: 560px; }
  .desk:hover { transform: none; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .path::before, .path-fill { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-mark { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 24px 20px; background: rgba(250, 248, 243, .98); border-bottom: 1px solid var(--line); }
  .nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .site-header.is-open .nav { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-cta .btn-ghost { display: none; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .hero { padding: 64px 0 88px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
  .cards-4 { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-grid, .addr-grid, .name-grid { grid-template-columns: 1fr; }
  .apply-section { padding: 24px 20px; }
  .card { padding: 24px; }
  .desk { padding: 16px; }
  .desk-steps { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { padding: 52px 26px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .brand .word { font-size: 21px; }
  .nav-cta .btn-gold { height: 42px; padding: 0 16px; font-size: 14px; }
  .marquee span { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* mobile-only login link inside the menu */
.nav .nav-login { display: none; }
@media (max-width: 860px) { .nav .nav-login { display: block; } .nav-cta .btn-ghost { display: none; } }
.auth-card .auth-brand { display: none; margin-bottom: 36px; }
@media (max-width: 860px) { .auth-card .auth-brand { display: inline-flex; } }
