/* The Wave pages (/wave/, /wave/apply/, /wave/terms/). Same tokens as the homepage. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --deep: #070d14; --navy: #0f1923; --navy-2: #14212f; --surface: #1c2d3e;
  --gold: #b48f40; --gold-lt: #d4aa5a; --coral: #ff5757; --coral-dk: #cc3333;
  --off: #e1deda; --off-70: rgba(225,222,218,0.70); --off-50: rgba(225,222,218,0.52);
  --off-35: rgba(225,222,218,0.35); --off-12: rgba(225,222,218,0.09);
  --line: rgba(180,143,64,0.28);
}
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; font-weight: 300; background: var(--navy); color: var(--off); overflow-x: hidden; line-height: 1.75; }
a { color: var(--gold-lt); }
.skip-link { position: absolute; top: -100%; left: 12px; background: var(--coral); color: #fff; padding: 10px 20px; z-index: 999; font: 600 11px 'Montserrat', sans-serif; letter-spacing: .1em; text-decoration: none; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* nav */
.w-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 26px 60px; }
.w-nav img { height: 48px; width: auto; display: block; }
.btn, .btn-ghost {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  display: inline-block; text-decoration: none; border-radius: 2px; padding: 17px 36px; cursor: pointer; transition: background .2s, border-color .2s, transform .15s;
}
.btn { background: var(--coral); color: #fff; border: 0; }
.btn:hover { background: var(--coral-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--off); border: 1px solid var(--off-35); font-weight: 600; padding: 16px 34px; }
.btn-ghost:hover { border-color: var(--off-70); transform: translateY(-2px); }
.w-nav .btn { padding: 11px 24px; font-size: 10px; }
.btn:focus-visible, .btn-ghost:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }

.label { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
h1, h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; line-height: 1.05; color: var(--off); }
h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h1, h2 { text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--coral); }

/* hero */
.w-hero { position: relative; background: var(--deep); padding: 170px 24px 110px; overflow: hidden; }
.w-hero-inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; }
.w-hero h1 { margin-bottom: 40px; }
.letter p { font-size: 18px; color: var(--off-70); }
.letter p + p { margin-top: 20px; }
.letter .beat { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 28px; line-height: 1.3; color: var(--off); }
.letter .close { color: var(--off); font-weight: 400; }
.waves { position: absolute; inset: auto 0 0 0; height: 260px; z-index: 1; pointer-events: none; opacity: .55; }
.waves path { fill: none; stroke: var(--gold); stroke-width: 1; }
.waves path:nth-child(2) { opacity: .6; } .waves path:nth-child(3) { opacity: .35; } .waves path:nth-child(4) { stroke: var(--coral); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .waves path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.2s ease forwards; }
  .waves path:nth-child(2) { animation-delay: .3s; } .waves path:nth-child(3) { animation-delay: .6s; } .waves path:nth-child(4) { animation-delay: .9s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* sections */
.w-sec { padding: 110px 24px; }
.w-sec.alt { background: var(--navy-2); }
.w-sec.deep { background: var(--deep); }
.narrow { max-width: 660px; margin: 0 auto; }
.wide { max-width: 980px; margin: 0 auto; }
.why { border-left: 2px solid var(--coral); padding: 6px 0 6px 32px; }
.why h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.why p { color: var(--off-70); font-size: 17px; }

.center { text-align: center; }
.tiers-head { text-align: center; margin-bottom: 56px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.tier { border: 1px solid var(--line); background: rgba(20,33,47,0.55); padding: 44px 38px 40px; display: flex; flex-direction: column; }
.tier.wave { border-top: 2px solid var(--coral); background: rgba(28,45,62,0.6); }
.tier h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 34px; line-height: 1.1; }
.tier .who { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--gold-lt); margin: 6px 0 26px; }
.tier ul { list-style: none; flex: 1; }
.tier li { position: relative; padding-left: 22px; color: var(--off-70); font-size: 16px; line-height: 1.65; }
.tier li + li { margin-top: 12px; }
.tier li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold); }
.tier.wave li::before { border-color: var(--coral); }
.tier .ask { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--off-12); font-size: 15px; color: var(--off-50); }
.tier .ask strong { color: var(--off); font-weight: 400; }
.tier .cta { margin-top: 30px; }
.tiers-note { text-align: center; margin-top: 28px; font-size: 14px; color: var(--off-50); font-style: italic; }

.chosen h2 { margin-bottom: 26px; }
.chosen p:not(.label) { font-size: 18px; color: var(--off-70); }

.end h2 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 40px; }
.end .actions { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.end .or { color: var(--off-50); font-size: 15px; }
.end .terms { margin-top: 34px; font-size: 14px; }

/* home-style footer */
.w-foot { background: var(--deep); border-top: 2px solid rgba(180,143,64,0.25); padding: 48px 24px; text-align: center; font-size: 12px; color: var(--off-35); }
.w-foot img { height: 90px; width: auto; display: block; margin: 0 auto 22px; }
.w-foot a { color: inherit; }

/* apply */
.panel { border: 1px solid var(--off-12); background: rgba(255,255,255,0.025); border-radius: 6px; padding: 56px 52px; }
.closed h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 26px; }
.closed p:not(.label) { font-size: 18px; color: var(--off-70); }
.closed .actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.preview-note { border: 1px dashed var(--gold); color: var(--gold-lt); font-size: 14px; padding: 14px 18px; margin: 72px 0 40px; }
.form-intro h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 14px; }
.form-intro p { color: var(--off-70); margin-bottom: 44px; }
.q { margin-bottom: 34px; border: 0; }
.q > label:not(.opt):not(.tick), .q > legend { display: block; font-family: 'Cormorant Garamond', serif; font-size: 24px; line-height: 1.25; color: var(--off); margin-bottom: 8px; font-weight: 400; }
.q .num { color: var(--gold); font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; margin-right: 10px; vertical-align: 3px; }
.q .hint { display: block; font-size: 15px; color: var(--off-50); font-style: italic; margin-bottom: 12px; }
.q input[type=text], .q input[type=email], .q textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--off-12); border-radius: 2px; color: var(--off);
  font: 300 16px/1.6 'Lato', sans-serif; padding: 15px 18px; transition: border-color .2s;
}
.q textarea { min-height: 150px; resize: vertical; }
.q input:focus, .q textarea:focus { border-color: var(--gold); outline: none; }
.opt { font-family: 'Lato', sans-serif; display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--off-70); font-size: 16px; cursor: pointer; }
.opt input { margin-top: 6px; accent-color: var(--coral); width: 17px; height: 17px; flex: none; }
.tick { font-family: 'Lato', sans-serif; display: flex; gap: 14px; align-items: flex-start; color: var(--off); font-size: 17px; cursor: pointer; }
.tick input { margin-top: 6px; accent-color: var(--coral); width: 18px; height: 18px; flex: none; }
.safety { border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; margin: 6px 0 34px; }
.safety p { font-size: 15px; color: var(--off-70); line-height: 1.7; }
.safety p + p { margin-top: 8px; }
.hp { position: absolute; left: -9999px; }
.form-error { color: var(--coral); font-size: 15px; margin-top: 16px; min-height: 1em; }
.done p { font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.35; color: var(--off); }
.done .sig { font-style: italic; color: var(--gold-lt); margin-top: 18px; font-size: 24px; }
[hidden] { display: none !important; }

/* blur-slide-up entrance */
.rise { opacity: 0; filter: blur(12px); transform: translateY(28px); transition: opacity .7s ease, filter .7s ease, transform .7s ease; }
.rise.in { opacity: 1; filter: blur(0); transform: none; }
.rise.d1 { transition-delay: .09s; } .rise.d2 { transition-delay: .18s; } .rise.d3 { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; filter: none; transform: none; transition: none; } }

@media (max-width: 760px) {
  .w-nav { padding: 18px 16px; }
  .w-nav img { height: 38px; }
  .w-hero { padding: 130px 16px 90px; }
  .w-sec { padding: 80px 16px; }
  .tiers { grid-template-columns: 1fr; }
  .tier { padding: 34px 24px; }
  .panel { padding: 36px 22px; }
  .letter p { font-size: 17px; }
  .end .actions { flex-direction: column; }
}

/* ─── JOURNEY TICKER ─── */
.journey-ticker { background: var(--deep); border-top: 1px solid rgba(180,143,64,0.35); border-bottom: 1px solid rgba(180,143,64,0.35); overflow: hidden; padding: 16px 0; }
.tk-track { display: flex; width: max-content; animation: tkScroll 38s linear infinite; }
.journey-ticker:hover .tk-track { animation-play-state: paused; }
.tk-run { display: flex; align-items: center; flex-shrink: 0; }
.tk-run > span { white-space: nowrap; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.tk-title { color: var(--off); }
.tk-step { color: var(--off-35); display: inline-flex; align-items: center; gap: 10px; }
.tk-step::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1px dashed currentColor; }
.tk-step.done::after { content: '✓'; margin-left: 2px; }
.tk-step.done { color: var(--gold-lt); }
.tk-step.done::before { background: currentColor; }
.tk-step.now { color: var(--coral); }
.tk-step.now::before { background: currentColor; box-shadow: 0 0 0 0 rgba(255,87,87,0.6); animation: tkPulse 1.8s ease-out infinite; }
.tk-sep { color: var(--gold); margin: 0 28px; font-size: 10px; }
@keyframes tkScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tkPulse { 0% { box-shadow: 0 0 0 0 rgba(255,87,87,0.6); } 100% { box-shadow: 0 0 0 9px rgba(255,87,87,0); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .tk-step.now::before { animation: none; } }

/* ─── TERMS PAGE ─── */
.terms-doc { padding-top: 150px; }
.terms-doc h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(44px, 6vw, 64px); line-height: 1.05; margin: 10px 0 34px; }
.terms-doc h1 em { color: var(--coral); }
.terms-doc h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 30px; line-height: 1.2; margin: 52px 0 14px; color: var(--off); }
.terms-doc p, .terms-doc li { color: var(--off-70); font-size: 17px; line-height: 1.75; }
.terms-doc p + p { margin-top: 16px; }
.terms-doc strong { color: var(--off); font-weight: 700; }
.terms-doc ul { list-style: none; margin-top: 8px; }
.terms-doc li { position: relative; padding-left: 22px; }
.terms-doc li + li { margin-top: 10px; }
.terms-doc li::before { content: ''; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold); }
.terms-doc .sign { margin-top: 40px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--off); }
.terms-doc .sign + .sign { margin-top: 0; }
.terms-doc .updated { margin-top: 28px; font-size: 13px; color: var(--off-50); }
.terms-doc .actions { margin-top: 40px; }
