/* VOICE: calm, epic, plain: a voyage told in short sentences
   IDEA: every voyage comes home; your agent sails by one rule, bound to the mast, and only you bring the money home
   PICTURE: a dark sea at dawn, a gate of columns in the water, the sun rising through it, a ship on the road of light
   COLOUR and TYPE: sea-black green, dawn gold, linen cream; Spectral (light + italic) over Figtree
   LAYOUT: one filmed hero, then the voyage told down the page on the same dark sea, no boxes */
@font-face { font-family: "Spectral"; src: url(/fonts/spectral-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(/fonts/spectral-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(/fonts/spectral-latin-300-italic.woff2) format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(/fonts/spectral-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
:root { --ink: #020c06; --deep: #03170c; --sea: #072a22; --gold: #e2c07a; --gold2: #f6dfa4; --amber: #f3a54e; --cream: #efe6cf; --red: #e46f55; --line: rgba(226,192,122,.22); color-scheme: dark; }
* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 16px/1.6 "Figtree", system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: "Spectral", Georgia, serif; font-weight: 300; margin: 0; }
h1 { font-size: clamp(46px, 6vw, 96px); line-height: 1; letter-spacing: -.01em; color: var(--gold2); text-wrap: balance; }
h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; color: var(--gold2); text-wrap: balance; }
h3 { font-size: 26px; line-height: 1.15; color: var(--gold2); }
h1 i, h2 i { font-style: italic; }
p { margin: 0 0 14px; }
.lede { max-width: 38em; font-size: 18px; opacity: .86; margin-top: 18px; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 6px; }

.top { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 26px; padding: 18px max(4vw, 16px); flex-wrap: wrap; }
.top.fixed { position: fixed; background: rgba(2,12,6,.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 21px "Spectral", serif; letter-spacing: .28em; color: var(--gold2); }
.mark img { width: 38px; height: 38px; border-radius: 50%; }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.links a { text-decoration: none; opacity: .82; transition: opacity .2s, color .2s; }
.links a:hover { opacity: 1; color: var(--gold2); }
.ca { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(226,192,122,.45); border-radius: 999px; padding: 4px 4px 4px 14px; font-size: 13.5px; background: rgba(2,12,6,.45); backdrop-filter: blur(6px); }
.ca b { color: var(--gold2); font-weight: 600; } .ca code { opacity: .8; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; min-height: 48px; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--gold); color: var(--ink); transition: transform .2s, box-shadow .3s, background .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(243,165,78,.32); background: var(--gold2); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s; }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost { background: none; color: var(--cream); border: 1px solid rgba(239,230,207,.55); }
.btn.ghost:hover { border-color: var(--gold2); color: var(--gold2); box-shadow: none; }
.btn.small { min-height: 36px; padding: 8px 15px; font-size: 13px; }
.btn[disabled], .btn[aria-disabled=true] { opacity: .45; pointer-events: none; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.muted { opacity: .7; } .mono { font-variant-numeric: tabular-nums; }

/* the filmed hero */
.stage { position: relative; height: 100vh; min-height: 720px; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #6b3a14, #1a1208 35%, var(--ink) 75%); }
.stage .hero-still { object-position: 62% 40%; }
.stage canvas, .stage .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(2,12,6,.72), rgba(2,12,6,.25) 42%, rgba(2,12,6,0) 62%), linear-gradient(180deg, rgba(2,12,6,.4), rgba(2,12,6,0) 18%, rgba(2,12,6,0) 55%, rgba(2,12,6,.75) 85%, var(--ink)); }
.hero { position: absolute; z-index: 4; left: max(4vw, 18px); bottom: clamp(110px, 16vh, 170px); max-width: min(680px, 92vw); }
.hero p { max-width: 33em; font-size: 18px; opacity: .9; margin: 22px 0 0; }
.hero .row { margin-top: 30px; }
.hero h1 { text-shadow: 0 0 60px rgba(243,165,78,.25); }
.livebar { position: absolute; z-index: 4; left: max(4vw, 18px); right: max(4vw, 18px); bottom: 34px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; opacity: .88; }
.livebar b { color: var(--gold2); font-weight: 600; font-variant-numeric: tabular-nums; }
.preview { font-size: 13px; opacity: .6; }

/* the voyage, told down the page */
.band { position: relative; padding: clamp(72px, 10vw, 150px) max(5vw, 18px); }
.wrap { max-width: 1240px; margin: 0 auto; }
.divider { display: block; width: 100%; height: 40px; opacity: .55; }
.route { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.route svg.path { position: absolute; left: 0; right: 0; top: 10px; width: 100%; height: 60px; overflow: visible; }
.leg { position: relative; padding-top: 86px; opacity: 0; transform: translateY(24px); transition: opacity 1s, transform 1s; }
.route.seen .leg { opacity: 1; transform: none; }
.route.seen .leg:nth-child(3) { transition-delay: .25s; } .route.seen .leg:nth-child(4) { transition-delay: .5s; } .route.seen .leg:nth-child(5) { transition-delay: .75s; }
.leg .port { position: absolute; top: 26px; left: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gold); background: var(--ink); box-shadow: 0 0 18px rgba(243,165,78,.5); }
.leg .port::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--gold2); }
.leg em { display: block; font: italic 300 15px "Spectral", serif; color: var(--gold); margin-bottom: 6px; }
.leg p { opacity: .82; }

.chartband { background: linear-gradient(180deg, var(--ink), var(--deep) 30%, var(--deep) 70%, var(--ink)); }
.picker { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.picker button { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: 14px; transition: border-color .2s, color .2s, background .2s; }
.picker button[aria-pressed=true] { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.sentence { margin-top: 26px; font: italic 300 clamp(22px, 2.4vw, 32px)/1.3 "Spectral", serif; color: var(--gold2); max-width: 30em; min-height: 2.6em; }
.chartbox { position: relative; height: clamp(320px, 46vw, 520px); margin-top: 18px; }
.chartbox canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.tip { position: absolute; pointer-events: none; font-size: 13px; line-height: 1.45; background: rgba(2,12,6,.82); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; backdrop-filter: blur(6px); width: 176px; }
.tip b { display: block; color: var(--gold2); font-weight: 600; }
.figs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.figs b { display: block; font: 300 clamp(30px, 3vw, 44px) "Spectral", serif; color: var(--gold2); font-variant-numeric: tabular-nums; }
.figs span { font-size: 13.5px; opacity: .72; }
.small-print { margin-top: 18px; font-size: 13px; opacity: .6; max-width: 60em; }

.mast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.mast svg { width: 100%; height: auto; }
.ropes text { font: 500 13px "Figtree", sans-serif; fill: var(--gold2); }
.ropes .rope { stroke: var(--gold); stroke-width: 1.6; fill: none; filter: drop-shadow(0 0 4px rgba(243,165,78,.6)); stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s ease; }
.mast.seen .ropes .rope { stroke-dashoffset: 0; }
.cant { list-style: none; padding: 0; margin: 26px 0 0; }
.cant li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.cant li::before { content: "✕"; color: var(--red); font-size: 13px; padding-top: 3px; }
.cant li.can::before { content: "✓"; color: var(--gold2); }

.receipt { position: relative; max-width: 560px; margin: 40px 0 0; padding: 26px 28px; background: linear-gradient(180deg, rgba(239,230,207,.08), rgba(239,230,207,.03)); border-top: 1px solid rgba(239,230,207,.35); border-bottom: 1px dashed rgba(239,230,207,.35); font-size: 14.5px; }
.receipt .ln { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; } .receipt .ln span:first-child { opacity: .65; }
.receipt .why { font: italic 300 18px/1.4 "Spectral", serif; color: var(--gold2); margin: 4px 0 12px; }
.receipt .hash { margin-top: 12px; font-size: 12px; opacity: .6; word-break: break-all; font-family: ui-monospace, monospace; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }

.honest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 60px; margin-top: 30px; }
.honest p { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; opacity: .86; }
.honest b { color: var(--gold2); font-weight: 600; }
footer { padding: 60px max(5vw, 18px) 80px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); }
footer .mark { font-size: 17px; }
footer .links { font-size: 14px; }

.toasts { position: fixed; z-index: 50; right: 18px; bottom: 18px; display: grid; gap: 10px; max-width: min(420px, 92vw); }
.toast { background: rgba(3,23,12,.95); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 12px; font-size: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.4); animation: up .4s ease; }
.toast.bad { border-left-color: var(--red); } .toast.good { border-left-color: var(--gold2); }
@keyframes up { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 960px) {
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); } .route svg.path { display: none; }
  .figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mast, .split, .honest { grid-template-columns: minmax(0, 1fr); }
  .links { display: none; }
}
@media (max-width: 560px) {
  .route, .figs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .route { grid-template-columns: minmax(0, 1fr); }
  .hero { bottom: 150px; } .livebar { gap: 6px 14px; font-size: 13px; bottom: 22px; } .hero .row .btn { padding: 12px 20px; }
  .stage::after { background: linear-gradient(180deg, rgba(2,12,6,.35), rgba(2,12,6,0) 20%, rgba(2,12,6,.35) 45%, rgba(2,12,6,.85) 75%, var(--ink)); }
  .ca code { display: none; }
}
@media (prefers-reduced-motion: reduce) { .leg, .ropes .rope { transition: none; opacity: 1; transform: none; stroke-dashoffset: 0; } }
