/* Galleonfall — landing page. Same palette & type as the game (apps/web/src/styles.css). */
/* self-hosted fonts: visitors' browsers never talk to Google */
@font-face{font-family:'IM Fell English';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/IMFellEnglish-italic-400.woff2) format('woff2')}
@font-face{font-family:'IM Fell English';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/IMFellEnglish-normal-400.woff2) format('woff2')}
@font-face{font-family:'IM Fell English SC';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/IMFellEnglishSC-normal-400.woff2) format('woff2')}
@font-face{font-family:'Pirata One';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/PirataOne-normal-400.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/Inter-var.woff2) format('woff2')}

:root {
  --navy-950: #040c16;
  --navy-900: #071524;
  --navy-800: #0c2034;
  --navy-700: #13304a;
  --brass: #e6b04a;
  --brass-hi: #f8d98c;
  --brass-lo: #9c6a1f;
  --brass-line: rgba(230, 176, 74, 0.32);
  --parch: #f1e2bd;
  --parch-ink: #3b2610;
  --ink: #eef3f8;
  --ink-2: #b9c8d8;
  --muted: #7f95ad;
  --sea: #2fd0c0;
  --blood: #c9412c;
  --display: "IM Fell English SC", Georgia, serif;
  --serif: "IM Fell English", Georgia, serif;
  --brand: "Pirata One", "IM Fell English SC", Georgia, serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink);
  font: 17px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--brass-hi); }
::selection { background: var(--brass); color: var(--navy-950); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- type ------------------------------------------------------------------ */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.72rem/1 var(--ui); letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.h2 {
  margin: 14px 0 18px;
  font: 400 clamp(2.4rem, 5.4vw, 4.4rem)/1.02 var(--brand);
  color: var(--parch);
  text-wrap: balance;
}
.h2 em { font-style: normal; color: transparent; background: linear-gradient(180deg, #fff0c4, var(--brass) 60%, var(--brass-lo)); -webkit-background-clip: text; background-clip: text; }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 36em; margin: 0 0 1em; }

/* ---- buttons ----------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 700 0.98rem/1 var(--ui); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background-color 0.25s, border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }
.btn-gold {
  color: #2a1a06; overflow: hidden;
  background: linear-gradient(180deg, #fff0c4, var(--brass-hi) 25%, var(--brass) 60%, #c88d2c);
  border-color: #fff0c4;
  box-shadow: 0 10px 30px -6px rgba(230, 176, 74, 0.55), inset 0 -2px 0 rgba(120, 70, 10, 0.35);
}
.btn-gold::after { /* travelling shine */
  content: ""; position: absolute; inset: -40% auto -40% -30%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg) translateX(-150%);
  animation: shine 4.5s 2s infinite;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -6px rgba(230, 176, 74, 0.7), inset 0 -2px 0 rgba(120, 70, 10, 0.35); }
.btn-gold:active { transform: translateY(0) scale(0.98); }
.btn-ghost { color: var(--ink); border-color: rgba(238, 243, 248, 0.28); background: rgba(4, 12, 22, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-hi); }
@keyframes shine { 0% { transform: skewX(-20deg) translateX(-150%); } 22%, 100% { transform: skewX(-20deg) translateX(520%); } }

/* ---- nav ------------------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 14px var(--gutter);
  transition: background-color 0.4s, border-color 0.4s, padding 0.4s, transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(4, 12, 22, 0.78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: rgba(230, 176, 74, 0.16); padding-block: 10px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--parch); font: 1.6rem/1 var(--brand); }
.nav-brand .mark { width: 36px; height: 36px; display: grid; place-items: center; }
.nav-brand .mark svg { width: 100%; height: 100%; overflow: visible; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font: 600 0.8rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--brass-hi); }
.nav .btn { padding: 11px 18px; font-size: 0.86rem; }
/* nine links + language + two buttons: tighten before the row wraps (1280 wrapped once the Handbook joined) */
@media (max-width: 1380px) { .nav-links { gap: 15px; } .nav-links a { letter-spacing: 0.08em; font-size: 0.74rem; } .nav .btn { padding: 10px 14px; } .nav-links a, .nav .btn { white-space: nowrap; } }
@media (max-width: 1120px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-brand span { display: none; } }

/* ---- hero ------------------------------------------------------------------------ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: -4%; transform-origin: 62% 55%; will-change: transform; }
.hero-art .kb { position: absolute; inset: 0; animation: kenburns 38s ease-in-out infinite alternate; transform-origin: 62% 55%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.glow { position: absolute; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; transform: translate(-50%, -50%); }
.glow.lamp { background: radial-gradient(circle, rgba(255, 214, 130, 0.95), rgba(255, 150, 50, 0.35) 35%, transparent 70%); animation: flicker 2.6s infinite; }
.glow.sun { background: radial-gradient(circle, rgba(255, 220, 140, 0.55), rgba(255, 150, 60, 0.18) 40%, transparent 70%); animation: breathe 7s ease-in-out infinite; }
.glow.warm { background: radial-gradient(circle, rgba(255, 170, 80, 0.4), transparent 70%); animation: flicker 3.4s infinite reverse; }
@keyframes flicker { 0%, 100% { opacity: 0.85; } 18% { opacity: 0.55; } 22% { opacity: 1; } 47% { opacity: 0.7; } 52% { opacity: 0.95; } 80% { opacity: 0.6; } }
@keyframes breathe { 0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    /* the new art put a lantern-lit hull behind the title: a soft pool of night under the text block */
    radial-gradient(ellipse 46% 58% at 22% 52%, rgba(4, 12, 22, 0.72), rgba(4, 12, 22, 0.35) 60%, transparent 100%),
    linear-gradient(90deg, rgba(4, 12, 22, 0.92) 0%, rgba(4, 12, 22, 0.74) 32%, rgba(4, 12, 22, 0.2) 60%, transparent 72%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(4, 12, 22, 0.5) 16%, transparent 34%),
    linear-gradient(180deg, rgba(4, 12, 22, 0.55), transparent 18%);
}
.hero-flash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 70% 10%, rgba(220, 235, 255, 0.9), rgba(160, 190, 230, 0.35) 45%, transparent 75%); opacity: 0; mix-blend-mode: screen; }
.hero-flash.on { animation: lightning 1.1s ease-out; }
@keyframes lightning { 0% { opacity: 0; } 4% { opacity: 0.85; } 9% { opacity: 0.1; } 14% { opacity: 0.6; } 30% { opacity: 0.05; } 100% { opacity: 0; } }

.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 90px var(--gutter) 110px; max-width: 760px;
}
.season-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(4, 12, 22, 0.55); border: 1px solid var(--brass-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 0.74rem/1 var(--ui); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-hi);
}
.season-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 0 rgba(47, 208, 192, 0.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(47, 208, 192, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 208, 192, 0); } }
.hero-logo { margin: 22px 0 10px; width: min(460px, 86vw); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.hero-logo svg { width: 100%; height: auto; overflow: visible; }
.hero-logo.emblem { width: min(340px, 70vw); }
.tagline { margin: 6px 0 12px; font: 400 clamp(1.7rem, 3.6vw, 2.7rem)/1.12 var(--serif); color: var(--parch); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }
.tagline span { display: inline-block; }
.hero-sub { margin: 0 0 30px; max-width: 34em; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.12rem); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font: 600 0.66rem/1 var(--ui); letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.75; }
.scroll-cue i { width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--brass-hi); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; height: 120px; pointer-events: none; }
.hero-waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.hero-waves .w1 { animation: drift 16s linear infinite; opacity: 0.55; }
.hero-waves .w2 { animation: drift 11s linear infinite reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* intro animation for the hero (JS adds .ready on <html>) */
.intro { opacity: 0; transform: translateY(24px); filter: blur(6px); }
.ready .intro { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.hero-logo.intro { transform: translateY(20px) scale(0.86) rotate(-4deg); }
.ready .hero-logo.intro { transform: none; }

@media (max-width: 760px) {
  .hero-art img { object-position: 64% 40%; }
  .hero-shade { background: linear-gradient(0deg, var(--navy-950) 4%, rgba(4, 12, 22, 0.88) 36%, rgba(4, 12, 22, 0.62) 58%, rgba(4, 12, 22, 0.5) 100%); }
  .hero-content { justify-content: flex-end; padding-bottom: 92px; }
  .hero-logo.emblem { width: min(230px, 58vw); margin-top: 14px; }
  .scroll-cue { display: none; }
}

/* ---- sections --------------------------------------------------------------------- */
section { position: relative; }
.section { padding: clamp(90px, 12vw, 160px) 0; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.reveal.in { opacity: 1; transform: none; }

/* manifesto: words light up as you scroll */
.manifesto { padding: clamp(110px, 16vw, 200px) 0 clamp(70px, 10vw, 120px); background: radial-gradient(ellipse 80% 60% at 50% 40%, #0b2236, var(--navy-950) 70%); }
.manifesto p { margin: 0 auto; max-width: 22em; font: 400 clamp(1.7rem, 3.6vw, 3rem)/1.28 var(--serif); text-align: center; text-wrap: balance; }
.manifesto .w { color: rgba(185, 200, 216, 0.16); transition: color 0.35s, text-shadow 0.35s; }
.manifesto .w.lit { color: var(--parch); }
.manifesto .w.gold.lit { color: var(--brass-hi); text-shadow: 0 0 24px rgba(230, 176, 74, 0.45); }
.manifesto .sig { display: block; margin: 40px auto 0; text-align: center; color: var(--muted); font: 600 0.78rem/1 var(--ui); letter-spacing: 0.3em; text-transform: uppercase; }

/* two-column feature */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.feature.flip .copy { order: 2; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .copy { order: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgba(19, 48, 74, 0.55); border: 1px solid rgba(127, 149, 173, 0.22); color: var(--ink-2); font-size: 0.86rem; }
.chips svg { width: 22px; height: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 34px; margin-top: 28px; }
.facts b { display: block; font: 400 2.6rem/1 var(--brand); color: var(--brass-hi); }
.facts span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---- the cove --------------------------------------------------------------------- */
.cove-bg { background: linear-gradient(180deg, var(--navy-950), #06182a 40%, var(--navy-950)); overflow: hidden; }
.isle { position: relative; aspect-ratio: 1600 / 1344; opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 1s, transform 1.4s var(--ease-out); }
.isle.in { opacity: 1; transform: none; }
.isle > img.base { position: absolute; inset: 0; width: 100%; height: 100%; animation: isle-float 9s ease-in-out infinite; }
@keyframes isle-float { 50% { transform: translateY(-8px); } }
@media (min-width: 901px) { .cove-bg .isle { width: 128%; margin: -6% -10% -6% -14%; } }
.isle .spot { position: absolute; width: 1px; height: 1px; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .isle > img.base { animation: none; } }
.pop { position: absolute; z-index: 5; display: flex; align-items: center; gap: 4px; pointer-events: none; font: 800 0.95rem/1 var(--ui); color: #fff7df; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5); animation: pop 2.2s var(--ease-out) forwards; transform: translate(-50%, 0); white-space: nowrap; }
.pop svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
@keyframes pop { 0% { opacity: 0; transform: translate(-50%, 10px) scale(0.6); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.08); } 25% { transform: translate(-50%, -6px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -64px) scale(1); } }
.smoke { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 230, 235, 0.55), transparent 70%); animation: smoke 4s linear infinite; pointer-events: none; }
@keyframes smoke { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 20% { opacity: 0.8; } 100% { opacity: 0; transform: translate(26px, -90px) scale(3.2); } }

/* ---- the chart -------------------------------------------------------------------- */
.chart-sec { background: radial-gradient(ellipse 70% 50% at 70% 50%, #0d2a42, var(--navy-950) 70%); }
.chart-frame {
  position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(90, 58, 28, 0.6), 0 0 0 8px #2a1a0e, 0 0 0 9px rgba(230, 176, 74, 0.45);
  cursor: crosshair; touch-action: pan-y; background: #e5cf9c;
}
.chart-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; padding: 8px 14px; border-radius: 999px; background: rgba(42, 26, 14, 0.82); color: var(--parch); font: 600 0.78rem/1 var(--ui); letter-spacing: 0.08em; pointer-events: none; transition: opacity 0.6s; white-space: nowrap; }
.chart-hint.gone { opacity: 0; }
.chart-toast { position: absolute; top: 14px; left: 50%; z-index: 3; transform: translate(-50%, -140%); padding: 10px 16px; border-radius: 12px; background: rgba(7, 21, 36, 0.92); border: 1px solid var(--brass-line); color: var(--ink); font-size: 0.88rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.6s var(--ease-out); white-space: nowrap; }
.chart-toast b { color: var(--brass-hi); }
.chart-toast.show { transform: translate(-50%, 0); }
.legend { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.legend li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: var(--ink-2); font-size: 0.96rem; }
.legend li b { color: var(--ink); font-weight: 600; }
.legend .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(19, 48, 74, 0.6); border: 1px solid rgba(127, 149, 173, 0.22); }
.legend .ico svg { width: 22px; height: 22px; stroke: var(--brass-hi); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- the crew --------------------------------------------------------------------- */
.crew-sec { background: linear-gradient(180deg, var(--navy-950), #081c2e 50%, var(--navy-950)); overflow: hidden; }
.crew-head { text-align: center; }
.crew-head .lede { margin-inline: auto; }
.crew-row { display: flex; gap: 16px; margin: 50px calc(var(--gutter) * -1) 0; padding: 10px var(--gutter) 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 1200px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
.crew-row::-webkit-scrollbar { display: none; }
.card {
  position: relative; flex: 0 0 clamp(200px, 21vw, 250px); scroll-snap-align: center; border-radius: 18px; overflow: hidden; aspect-ratio: 7 / 10;
  background: radial-gradient(circle at 50% 34%, rgba(230, 176, 74, 0.22), transparent 55%), linear-gradient(180deg, #0f2c44, #04101c);
  border: 1px solid rgba(230, 176, 74, 0.22);
  transform-style: preserve-3d; transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8); outline: none;
}
.card .bust { position: absolute; left: 0; right: 0; top: 4%; height: 70%; display: grid; place-items: end center; }
.card .bust img { width: 92%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.6)); transition: transform 0.7s var(--ease-out); transform-origin: 50% 100%; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 12, 22, 0.85) 78%); pointer-events: none; }
/* the caption is its own panel: on hover/focus it grows up over the portrait, nearly opaque, so the story reads */
.card .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px 16px 16px;
  background: linear-gradient(180deg, rgba(6, 16, 28, 0) 0, rgba(6, 16, 28, 0.9) 30px, rgba(6, 16, 28, 0.97));
  transition: padding-top 0.4s var(--ease-out); }
.card h3 { margin: 0; font: 400 1.6rem/1 var(--brand); color: var(--brass-hi); }
.card p { margin: 6px 0 0; font-size: 0.86rem; line-height: 1.4; color: var(--ink-2); }
.card .story { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; font: 400 0.95rem/1.45 var(--serif); color: #f3e6c8; text-shadow: none; transition: max-height 0.5s var(--ease-out), opacity 0.4s, margin-top 0.4s; }
.card .story::before { content: ""; display: block; width: 32px; height: 1px; margin-bottom: 8px; background: var(--brass); opacity: 0.6; }
.card .sheen { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 230, 170, 0.22), transparent 45%); opacity: 0; transition: opacity 0.3s; }
.card:hover, .card:focus-visible { border-color: rgba(230, 176, 74, 0.6); box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(230, 176, 74, 0.35); }
.card:hover .bust img, .card:focus-visible .bust img { transform: scale(1.05) translateY(-4%); }
.card:hover .story, .card:focus-visible .story, .card:focus .story { max-height: 12em; opacity: 1; margin-top: 10px; }
.card:hover .cap, .card:focus-visible .cap, .card:focus .cap { padding-top: 22px; background: linear-gradient(180deg, rgba(6, 16, 28, 0) 0, rgba(6, 16, 28, 0.96) 22px); }
.card:hover .sheen { opacity: 1; }

/* ---- the fleet -------------------------------------------------------------------- */
.fleet-sec { background: linear-gradient(180deg, var(--navy-950), #0a2740 70%, #0b3350); overflow: hidden; padding-bottom: 0; }
.fleet-head { text-align: center; }
.fleet-head .lede { margin-inline: auto; }
.fleet { position: relative; height: clamp(260px, 34vw, 420px); margin-top: 30px; }
.fleet .ship { position: absolute; bottom: 30%; transform: translateX(-50%); width: var(--w); }
.fleet .ship .hull { animation: bob var(--t, 5s) ease-in-out infinite; animation-delay: var(--dl, 0s); transform-origin: 50% 90%; }
.fleet .ship img { width: 100%; filter: drop-shadow(0 12px 12px rgba(0, 20, 40, 0.5)); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.6deg); } 50% { transform: translateY(-6%) rotate(1.8deg); } }
.fleet .tag { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -4px); display: grid; justify-items: center; gap: 2px; white-space: nowrap; pointer-events: none; }

.fleet .tag span { font: 400 clamp(0.95rem, 1.4vw, 1.25rem)/1 var(--brand); letter-spacing: 0.02em; color: var(--brass-hi); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.fleet .tag .role { font: 700 0.55rem/1 var(--ui); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 6px; border-radius: 999px; border: 1px solid; }
.role.scout { color: #9fe3da; border-color: rgba(47, 208, 192, 0.45); }
.role.war { color: #ffc2b6; border-color: rgba(201, 65, 44, 0.55); }
.role.merchant { color: var(--brass-hi); border-color: var(--brass-line); }
.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; }
.sea svg { position: absolute; left: 0; width: 200%; height: 100%; }
.sea .s1 { bottom: 12%; animation: drift 22s linear infinite; opacity: 0.7; }
.sea .s2 { bottom: 0; animation: drift 14s linear infinite reverse; }
@media (max-width: 700px) { .fleet .tag .role { display: none; } .fleet .tag span { font-size: 0.8rem; } .fleet .ship:nth-child(odd) .tag { transform: translate(-50%, -26px); } }

/* ---- raid ------------------------------------------------------------------------- */
.raid-sec { background: #0b3350; overflow: hidden; }
.raid-art { position: absolute; inset: 0; }
.raid-art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.raid-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0b3350 0%, rgba(4, 12, 22, 0.55) 30%, rgba(4, 12, 22, 0.75) 70%, var(--navy-950) 100%); }
.boom { position: absolute; width: 180px; height: 180px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 236, 180, 0.95), rgba(255, 150, 50, 0.5) 30%, transparent 65%); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.boom.go { animation: boom 1.4s ease-out; }
@keyframes boom { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); } 8% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); } }
.raid-sec .wrap { position: relative; z-index: 2; }
.raid-head { max-width: 760px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
@media (max-width: 980px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .grid4 { grid-template-columns: 1fr; } }
.tile {
  position: relative; padding: 24px 22px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 32, 52, 0.82), rgba(4, 12, 22, 0.86));
  border: 1px solid rgba(127, 149, 173, 0.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.tile:hover { transform: translateY(-6px); border-color: var(--brass-line); }
.tile img { width: 86px; height: 86px; object-fit: contain; margin: -6px 0 10px -6px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.5)); }
.tile h3 { margin: 0 0 6px; font: 400 1.6rem/1.05 var(--brand); color: var(--parch); }
.tile p { margin: 0; color: var(--ink-2); font-size: 0.93rem; line-height: 1.5; }
.tile .badge { position: absolute; top: 16px; right: 16px; padding: 4px 9px; border-radius: 999px; font: 700 0.62rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: #ffd7cf; background: rgba(201, 65, 44, 0.3); border: 1px solid rgba(255, 115, 94, 0.4); }

/* ---- the season -------------------------------------------------------------------- */
.season-sec { background: radial-gradient(ellipse 80% 50% at 50% 100%, #1e1a2e, var(--navy-950) 70%); overflow: hidden; }
.season-head { text-align: center; }
.season-head .lede { margin-inline: auto; }
.timeline { position: relative; margin: 60px auto 0; max-width: 980px; }
.timeline .rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(127, 149, 173, 0.18); }
.timeline .rail i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, var(--sea), var(--brass) 70%, var(--blood)); box-shadow: 0 0 12px rgba(230, 176, 74, 0.6); }
.stop { position: relative; display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; margin-bottom: 44px; }
.stop .dot { grid-column: 2; justify-self: center; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-950); border: 2px solid var(--muted); transition: all 0.5s; z-index: 1; }
.stop.in .dot { border-color: var(--brass); background: var(--brass); box-shadow: 0 0 0 6px rgba(230, 176, 74, 0.18), 0 0 20px rgba(230, 176, 74, 0.7); }
.stop .body { grid-column: 3; padding: 4px 0; }
.stop:nth-child(odd of .stop) .body { grid-column: 1; grid-row: 1; text-align: right; }
.stop .day { font: 700 0.72rem/1 var(--ui); letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea); }
.stop h3 { margin: 6px 0 6px; font: 400 1.9rem/1.05 var(--brand); color: var(--parch); }
.stop p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.stop.finale .dot { width: 30px; height: 30px; border-color: var(--blood); }
.stop.finale.in .dot { background: radial-gradient(circle, #ffe7a8, var(--brass) 45%, var(--blood)); box-shadow: 0 0 0 8px rgba(201, 65, 44, 0.2), 0 0 40px rgba(255, 170, 70, 0.9); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(201, 65, 44, 0.05), 0 0 60px rgba(255, 170, 70, 1); } }
.stop.finale h3 { font-size: 2.6rem; color: transparent; background: linear-gradient(180deg, #fff0c4, var(--brass) 55%, #b5561f); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 760px) {
  .timeline .rail { left: 14px; }
  .stop { grid-template-columns: 28px 1fr; gap: 16px; }
  .stop .dot { grid-column: 1; }
  .stop .body, .stop:nth-child(odd of .stop) .body { grid-column: 2; grid-row: 1; text-align: left; }
}

/* ---- join ----------------------------------------------------------------------------- */
.join-sec { min-height: 100vh; display: grid; align-items: center; overflow: hidden; padding: clamp(100px, 12vw, 160px) 0; }
.join-art { position: absolute; inset: -8% 0; }
.join-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.join-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-950) 0%, rgba(4, 12, 22, 0.25) 26%, rgba(4, 12, 22, 0.35) 70%, var(--navy-950) 100%); }
.join-sec .wrap { position: relative; z-index: 2; display: grid; justify-items: center; }
.articles {
  position: relative; width: min(560px, 100%); padding: clamp(34px, 5vw, 50px) clamp(22px, 5vw, 48px) 30px; border-radius: 6px;
  color: var(--parch-ink); text-align: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.35), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(120, 72, 20, 0.28), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(120, 72, 20, 0.2), transparent 45%),
    #efdcaf;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.9), inset 0 0 60px rgba(120, 72, 20, 0.35), inset 0 0 0 1px rgba(90, 58, 28, 0.25);
}
.articles::before { /* paper grain */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .3  0 0 0 0 .15  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.articles > * { position: relative; }
.articles .kicker { color: #8a5a22; justify-content: center; }
.articles .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.articles h2 { margin: 12px 0 8px; font: 400 clamp(2.6rem, 6vw, 3.6rem)/1 var(--brand); color: #3b2610; }
.articles .lore { margin: 0 auto 22px; max-width: 26em; font: italic 400 1.12rem/1.45 var(--serif); color: #5b3d1c; }
.articles form { display: grid; gap: 12px; }
.field { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 250, 235, 0.75); border: 1px solid rgba(90, 58, 28, 0.35); box-shadow: inset 0 2px 6px rgba(90, 58, 28, 0.15); transition: border-color 0.2s, box-shadow 0.2s; }
.field:focus-within { border-color: #9c6a1f; box-shadow: inset 0 2px 6px rgba(90, 58, 28, 0.15), 0 0 0 4px rgba(230, 176, 74, 0.3); }
.field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px; font: 500 16px/1.2 var(--ui); color: #2a1a06; outline: none; }
.field input::placeholder { color: #8f7550; }
.field .btn { padding: 13px 22px; }
@media (max-width: 480px) { .field { flex-direction: column; border-radius: 18px; } .field .btn { width: 100%; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 0.8rem; line-height: 1.45; color: #6b4a2a; cursor: pointer; }
.consent input { accent-color: #8c2414; width: 18px; height: 18px; margin: 0; flex: none; }
.consent a { color: #8c2414; }
.form-msg { min-height: 1.4em; margin: 0; font-size: 0.88rem; color: #8f2414; }
.form-msg.ok { color: #2f5d1c; }
.form-msg button { font: inherit; color: #8c2414; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.fine { margin: 14px 0 0; font-size: 0.74rem; color: #8a6a45; }
#turnstile { display: flex; justify-content: center; }
#turnstile:empty { display: none; }
.stamp { position: absolute; right: -26px; top: -30px; width: 128px; height: 128px; opacity: 0; transform: scale(2.4) rotate(-30deg); pointer-events: none; filter: drop-shadow(0 6px 10px rgba(60, 10, 0, 0.45)); }
.articles.signed .stamp { animation: stamp 0.7s cubic-bezier(0.5, 0, 0.75, 0) forwards; }
@keyframes stamp { 70% { opacity: 1; transform: scale(0.92) rotate(-12deg); } 85% { transform: scale(1.04) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(-12deg); } }
.articles.signed.thud { animation: thud 0.35s 0.5s; }
@keyframes thud { 30% { transform: translateY(4px) scale(0.995); } }
.done { display: none; }
.articles.signed .done { display: block; animation: rise 0.8s 0.6s var(--ease-out) both; }
.articles.signed form, .articles.signed .fine { display: none; }
.done h3 { margin: 0 0 8px; font: 400 2rem/1.1 var(--brand); color: #3b2610; }
.done p { margin: 0 0 18px; color: #5b3d1c; }
.done .btn-ghost { color: #3b2610; border-color: rgba(90, 58, 28, 0.45); background: rgba(255, 250, 235, 0.5); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---- footer ----------------------------------------------------------------------------- */

/* ---- motion preferences ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .intro, .reveal { opacity: 1; transform: none; filter: none; }
  .manifesto .w { color: var(--parch); }
}

/* ---- brand lockup & season art (added with the final logo) ------------------------------ */
.hero-logo { width: min(620px, 90vw); margin: 18px 0 4px; }
.hero-logo .helm { transform-box: fill-box; transform-origin: center; }
.ready .hero-logo .helm { animation: helm-in 2.4s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes helm-in { from { transform: rotate(-200deg) scale(0.6); } to { transform: none; } }
.hero-logo .wave { stroke-dasharray: 700; stroke-dashoffset: 700; }
.ready .hero-logo .wave { animation: draw 2.2s 1s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.nav-brand:hover .mark svg { animation: spin-once 1.2s var(--ease-out); }
@keyframes spin-once { to { transform: rotate(360deg); } }
.season-sec .wrap { position: relative; z-index: 1; }
.season-art { position: absolute; inset: auto 0 0 0; height: 70%; pointer-events: none; }
.season-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: 0.45; mask-image: linear-gradient(180deg, transparent, #000 45%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, #000 80%, transparent); }
.stamp { width: 132px; height: 132px; }

/* ==== 2026-10 refresh: shared chrome, in-play shots, guild, FAQ, footer, docs ==================== */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--brass); color: #2a1a06; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.nav-brand sup, .foot sup { font: 600 0.45em/1 var(--ui); color: var(--brass-hi); margin-left: 1px; vertical-align: super; }
.nav-end { display: flex; align-items: center; gap: 10px; margin-left: 22px; }
.btn-sm { padding: 9px 14px !important; font-size: 0.8rem !important; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 9px; border: 1px solid var(--brass-line); border-radius: 999px; background: rgba(4, 12, 22, 0.55); }
.lang .globe { width: 17px; height: 17px; fill: none; stroke: var(--brass-hi); stroke-width: 1.6; margin-right: 3px; flex: none; }
.lang a { padding: 6px 10px; border-radius: 999px; font: 700 0.76rem/1 var(--ui); letter-spacing: 0.04em; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.lang a[aria-current] { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #2a1a06; }
.lang a:not([aria-current]):hover { color: var(--brass-hi); }
.lang .short { display: none; }
@media (max-width: 1180px) { .lang .full { display: none; } .lang .short { display: inline; } }
@media (max-width: 1120px) { .nav-end { margin-left: auto; } }
@media (max-width: 560px) { .nav-end .btn-ghost { display: none; } .nav-end { gap: 6px; } }
.lang-hint { position: fixed; left: 50%; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; max-width: calc(100vw - 32px);
  background: rgba(7, 21, 36, 0.92); border: 1px solid var(--brass-line); border-radius: 999px; box-shadow: 0 20px 40px -10px #000; color: var(--ink);
  transform: translate(-50%, 140%); transition: transform 0.6s var(--ease-out); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0.9rem; }
.lang-hint.show { transform: translate(-50%, 0); }
.lang-hint .btn { white-space: nowrap; }
.lang-hint span { min-width: 0; }
.lang-hint button { background: none; border: 0; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 6px; }
.hero-free { margin: 18px 0 0; font: 600 0.74rem/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); opacity: 0.85; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto; }
.sec-head .lede { margin-inline: auto; }
.narrow { max-width: 860px; }

/* in play: a laptop and a phone with the real game */
.play-sec { background: radial-gradient(ellipse at 50% 0%, rgba(19, 80, 122, 0.35), transparent 60%), var(--navy-950); }
.play { margin-top: 40px; }
.tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.tabs button { font: 700 0.78rem/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; padding: 11px 16px; border-radius: 999px; cursor: pointer;
  color: var(--ink-2); background: rgba(19, 48, 74, 0.5); border: 1px solid rgba(127, 149, 173, 0.25); transition: all 0.25s; }
.tabs button[aria-selected="true"] { color: #2a1a06; background: linear-gradient(180deg, var(--brass-hi), var(--brass)); border-color: transparent; }
.devices { position: relative; max-width: 1040px; margin: 0 auto; padding-right: clamp(40px, 9vw, 120px); }
.devices figure { margin: 0; }
.laptop .screen { position: relative; aspect-ratio: 16 / 10; border-radius: 14px 14px 4px 4px; overflow: hidden; background: #000;
  border: clamp(6px, 1vw, 12px) solid #10161e; box-shadow: 0 0 0 1px #2a3a4c, 0 40px 80px -30px #000, 0 0 120px -40px rgba(47, 208, 192, 0.35); }
.laptop .base { height: clamp(10px, 1.4vw, 18px); margin: 0 -5%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #3a4654, #1a222c); box-shadow: 0 20px 30px -12px #000; }
.phone { position: absolute; right: 0; bottom: -6%; width: clamp(120px, 24%, 240px); }
.phone .screen { position: relative; aspect-ratio: 640 / 1385; border-radius: clamp(18px, 3vw, 34px); overflow: hidden; background: #000;
  border: clamp(5px, 0.8vw, 9px) solid #10161e; box-shadow: 0 0 0 1px #2a3a4c, 0 30px 60px -20px #000; }
.devices .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; }
.devices .screen img.on { opacity: 1; }
.play-cap { text-align: center; color: var(--ink-2); margin: 46px auto 0; max-width: 40em; font: italic 1.05rem/1.5 var(--serif); min-height: 3em; }
@media (max-width: 640px) { .devices { padding-right: 0; } .phone { width: 34%; right: -2%; bottom: -14%; } .play-cap { margin-top: 60px; } }

/* the brotherhood */
.guild-sec { background: linear-gradient(180deg, var(--navy-950), #081a2b); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 12px var(--brass); }
.chat { background: linear-gradient(180deg, rgba(19, 48, 74, 0.6), rgba(7, 21, 36, 0.85)); border: 1px solid var(--brass-line); border-radius: 18px; padding: 18px; display: grid; gap: 10px;
  box-shadow: 0 40px 80px -30px #000; max-width: 520px; justify-self: center; width: 100%; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(127, 149, 173, 0.2); color: var(--parch); }
.chat-head span:last-child { margin-left: auto; color: var(--muted); font-size: 0.8rem; }
.chat .flag { width: 18px; height: 14px; background: var(--c); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3); }
.chat p { margin: 0; }
.chat .sys { text-align: center; font-size: 0.78rem; color: var(--muted); font-style: italic; }
.chat .sys.war { color: #ff9c8a; font-style: normal; font-weight: 700; letter-spacing: 0.06em; }
.chat .msg { max-width: 82%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: rgba(4, 12, 22, 0.7); color: var(--ink); font-size: 0.92rem; line-height: 1.4; }
.chat .msg b { display: block; font: 700 0.72rem/1.4 var(--ui); color: var(--sea); letter-spacing: 0.04em; }
.chat .msg.me { justify-self: end; border-radius: 14px 14px 4px 14px; background: rgba(230, 176, 74, 0.16); }
.chat .msg.me b { color: var(--brass-hi); }

/* FAQ */
.faq-sec { background: #081a2b; }
.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { border: 1px solid rgba(127, 149, 173, 0.22); border-radius: 14px; background: rgba(12, 32, 52, 0.55); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--brass-line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font: 400 1.25rem/1.3 var(--serif); color: var(--parch); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--ui); color: var(--brass); transition: transform 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); }
.faq a, .doc a { color: var(--brass-hi); }

/* the waitlist card */
.promise { list-style: none; padding: 0; margin: 0 auto 20px; display: grid; gap: 6px; text-align: left; max-width: 30em; }
.promise li { position: relative; padding-left: 26px; color: #5b3d1c; font-size: 0.95rem; }
.promise b { color: #3b2610; }
.promise li::before { content: "⚓"; position: absolute; left: 0; color: #8c2414; }
.invited { margin: 18px 0 0; font-size: 0.9rem; color: #6b4a2a; }
.invited a { color: #8c2414; font-weight: 600; }

/* footer */
.foot { padding: 60px 0 34px; border-top: 1px solid rgba(230, 176, 74, 0.12); color: var(--muted); font-size: 0.9rem; background: var(--navy-950); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot .nav-brand { font-size: 1.5rem; }
.foot-brand p { max-width: 26em; margin: 12px 0 16px; }
.foot-links { display: grid; align-content: start; gap: 10px; }
.foot-links h2 { margin: 0 0 4px; font: 700 0.72rem/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.foot a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--brass-hi); }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(127, 149, 173, 0.12); font-size: 0.8rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(127, 149, 173, 0.3); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* legal pages + small notes */
.doc-page { background: radial-gradient(ellipse at 50% -10%, rgba(19, 80, 122, 0.35), transparent 50%), var(--navy-950); }
.doc { max-width: 760px; margin: 0 auto; padding: 130px var(--gutter) 90px; color: var(--ink-2); }
.doc h1 { font: 400 clamp(2.4rem, 6vw, 3.4rem)/1 var(--brand); color: var(--parch); margin: 10px 0 14px; }
.doc .lead { font: italic 1.2rem/1.5 var(--serif); color: var(--parch); }
.doc h2 { font: 400 1.7rem/1.2 var(--brand); color: var(--brass-hi); margin: 40px 0 10px; }
.doc h3 { font: 700 0.8rem/1.2 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin: 26px 0 8px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc code { font-size: 0.9em; color: var(--brass-hi); }
.note-page { min-height: 100vh; }
.note { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 120px var(--gutter) 60px; max-width: 640px; margin: 0 auto; }
.note .stamp { width: 120px; height: 120px; margin-bottom: 10px; filter: drop-shadow(0 10px 20px #000); }
.note h1 { font: 400 clamp(2.2rem, 6vw, 3.2rem)/1.05 var(--brand); color: var(--parch); margin: 8px 0; }
.note p { color: var(--ink-2); }
.note .form-msg { color: #ff9c8a; min-height: 1.4em; }


/* ---- 2026-10-02: new art, phones, and a lighter page ------------------------------------------ */
/* the big paintings sit in <picture> (tall versions for phones); let the <img> keep its old box */
.hero-art picture, .raid-art picture, .season-art picture, .join-art picture { display: contents; }
.fleet-track { position: absolute; inset: 0; }
@media (max-width: 700px) {
  .hero-art img { object-position: 50% 45%; }
  /* sections were spaced for a desktop: on a phone the gaps read as "broken" */
  .section { padding: 64px 0; }
  .join-sec { min-height: auto; padding: 80px 0; }
  /* the fleet: a strip you swipe, ships at a size you can see */
  .fleet { height: 240px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .fleet::-webkit-scrollbar { display: none; }
  .fleet-track { right: auto; width: 820px; }
  .fleet .ship { width: var(--wm); bottom: 22%; scroll-snap-align: center; }
  .fleet .ship:nth-child(odd) .tag { transform: translate(-50%, -4px); }
  .fleet .tag span { font-size: 0.85rem; }
}
/* phones and touch screens: blur-behind and per-image shadows are the expensive bits — drop them */
@media (max-width: 700px), (pointer: coarse) {
  .nav.solid { background: rgba(4, 12, 22, 0.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn-ghost, .tile, .hero-pill, .season-pill { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .card .bust img, .fleet .ship img, .tile img, .hero-logo, .pop svg { filter: none; }
  .intro { filter: none; }
  .ready .intro { transition-property: opacity, transform; }
  .hero-art .kb { animation-duration: 60s; }
}

/* ---- the coming-soon page (LANDING=soon, docs/23): one screen, no script ---------------------- */
.soon-page { background: var(--navy-950); }
.soon { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; isolation: isolate; }
.soon-art { position: absolute; inset: 0; z-index: -2; }
.soon-art picture { display: contents; }
.soon-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; animation: kenburns 60s ease-in-out infinite alternate; }
.soon-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 12, 22, 0.88) 0%, rgba(4, 12, 22, 0.55) 48%, rgba(4, 12, 22, 0.1) 100%), linear-gradient(0deg, var(--navy-950) 0%, transparent 35%); }
.soon-top { display: flex; justify-content: flex-end; padding: 18px var(--gutter); }
.soon-content { align-self: center; max-width: 620px; padding: 24px var(--gutter); display: grid; gap: 14px; justify-items: start; }
.soon-logo { margin: 6px 0 0; }
.soon-lede { color: var(--ink-2, #c9d6e2); font-size: 1.05rem; line-height: 1.6; max-width: 52ch; }
.soon-teasers { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 10px; }
.soon-teasers li { padding-left: 18px; position: relative; line-height: 1.5; color: var(--ink-2, #c9d6e2); }
.soon-teasers li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brass, #e6b04a); }
.soon-teasers b { color: var(--brass-hi, #f3cf7a); font-weight: 700; }
.soon-foot { padding: 18px var(--gutter); font-size: 0.8rem; color: var(--muted, #7f95ad); }
.soon-foot a { color: inherit; }
@media (max-width: 700px) {
  .soon-shade { background: linear-gradient(180deg, rgba(4, 12, 22, 0.35) 0%, rgba(4, 12, 22, 0.75) 45%, rgba(4, 12, 22, 0.95) 100%); }
  .soon-content { align-self: end; }
  .soon-art img { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .soon-art img { animation: none; } }
