/* ============================================================
   Neverseas — site stylesheet
   Dark age-of-sail theme: deep sea navy, parchment ink, brass.
   ============================================================ */

:root {
  --bg: #0a1118;
  --bg-2: #0e1722;
  --bg-3: #13202e;
  --ink: #e8e4d8;
  --ink-dim: #a7b2ba;
  --gold: #c9a25e;
  --gold-2: #e3c27e;
  --teal: #7fc9cf;
  --line: rgba(201, 162, 94, 0.22);
  --line-soft: rgba(201, 162, 94, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Cinzel", "Cormorant SC", "Times New Roman", serif;
  --font-body: "Alegreya Sans", "PT Sans", "Segoe UI", sans-serif;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.wrap-narrow { max-width: 860px; }
.wrap-mid { max-width: 960px; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sub { color: var(--ink-dim); max-width: 640px; margin: 0.4em 0 0; }

.kicker {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1em;
}
.kicker::after {
  content: "";
  display: inline-block;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  vertical-align: middle;
  margin-left: 14px;
}

.skiplink {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--bg-3); color: var(--ink); padding: 10px 16px;
}
.skiplink:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------- nav ---- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled, .nav.open {
  background: rgba(8, 13, 19, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  height: var(--nav-h);
  display: flex; align-items: center; gap: 26px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: 44px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)); }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.06rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.nav-logo:hover .brand-word { color: var(--gold-2); }
.nav-links {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px);
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-links a { color: var(--ink); opacity: 0.85; padding: 6px 2px; border-bottom: 1px solid transparent; }
.nav-links a:hover { opacity: 1; color: var(--gold-2); }
.nav-links a.active { color: var(--gold-2); opacity: 1; border-bottom-color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold) !important;
  border-radius: 3px;
  padding: 9px 16px !important;
  color: var(--gold-2) !important;
}
.nav-cta:hover { background: rgba(201, 162, 94, 0.12); }
.nav-side { display: flex; align-items: center; gap: 14px; }

.lang { position: relative; }
.lang-btn {
  background: none; border: 1px solid var(--line); border-radius: 3px;
  color: var(--ink); font-family: var(--font-display); font-size: 0.82rem;
  letter-spacing: 0.14em; padding: 8px 12px; cursor: pointer;
}
.lang-btn::after { content: "▾"; margin-left: 6px; font-size: 0.7em; color: var(--gold); }
.lang-btn:hover { border-color: var(--gold); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px);
  margin: 0; padding: 6px; list-style: none; min-width: 150px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow);
  display: none;
}
.lang.open .lang-list { display: block; }
.lang-list a {
  display: block; padding: 8px 12px; color: var(--ink); border-radius: 3px;
  font-size: 0.95rem;
}
.lang-list a:hover { background: rgba(201, 162, 94, 0.1); color: var(--gold-2); }
.lang-list li[aria-current="true"] a { color: var(--gold-2); }
.lang-list li[aria-current="true"] a::before { content: "⚓ "; font-size: 0.8em; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

/* ---------------------------------------------------------- hero ---- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}
.hero-bg, .hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-bg img { filter: brightness(1.1) saturate(1.04); }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center 40%, rgba(4, 8, 12, 0) 0%, rgba(4, 8, 12, 0.42) 82%),
    linear-gradient(180deg, rgba(4, 8, 12, 0.45) 0%, rgba(4, 8, 12, 0.08) 30%, rgba(4, 8, 12, 0.18) 62%, var(--bg) 100%);
}
.hero-fade { position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 30px 0 10px; }
.hero-content::before {
  content: ""; position: absolute; z-index: -1;
  inset: -60px -120px;
  background: radial-gradient(closest-side, rgba(4, 8, 13, 0.66), rgba(4, 8, 13, 0.42) 55%, rgba(4, 8, 13, 0) 100%);
  pointer-events: none;
}
.hero-logo {
  width: min(300px, 60vw); height: auto; margin: 0 auto 14px;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.85));
}
.hero h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 32px rgba(0, 0, 0, 0.85);
}
.hero-sub {
  color: #dde3e7; max-width: 660px; margin: 0 auto 1.8em;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.85);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-badges {
  list-style: none; margin: 2.6em 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  font-family: var(--font-display); font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2);
}
.hero-badges li { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.9); }
.hero-badges li::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: 0.8em; }

/* ------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 3px;
  font-family: var(--font-display); font-size: 0.88rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #201708; font-weight: 700;
  box-shadow: 0 6px 22px rgba(201, 162, 94, 0.28);
}
.btn-gold:hover { color: #201708; box-shadow: 0 8px 28px rgba(201, 162, 94, 0.42); }
.btn-line { border-color: var(--gold); color: var(--gold-2); background: rgba(10, 17, 24, 0.35); }
.btn-line:hover { background: rgba(201, 162, 94, 0.12); color: var(--gold-2); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* --------------------------------------------------------- about ---- */
.cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.col-text p { color: var(--ink-dim); margin: 0 0 1.1em; }
.col-text p:first-of-type { color: var(--ink); font-size: 1.06rem; }
.col-art { margin: 0; position: relative; }
.col-art img {
  border-radius: 4px; box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
}
.col-art::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--line); border-radius: 4px; z-index: -1;
}

/* ------------------------------------------------------ features ---- */
.features { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 18px; margin-top: 34px;
}
.feature {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
}
.feature:hover { border-color: var(--line); transform: translateY(-3px); background: rgba(255, 255, 255, 0.045); }
.feature.is-open {
  border-color: var(--line); background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
}

/* card head is the disclosure button: icon | title | anchor marker */
.feature-h { margin: 0; font-size: 1.15rem; }
.feature-head {
  display: grid; grid-template-columns: 50px 1fr 22px;
  align-items: center; gap: 16px;
  /* fixed head height so two-line titles don't make cards uneven */
  width: 100%; min-height: 104px; padding: 26px 24px; margin: 0;
  background: none; border: 0; color: inherit; font: inherit; text-align: left;
}
.has-js .feature-head { cursor: pointer; }
.feature-icon { width: 50px; height: 50px; color: var(--gold); }
.feature-icon svg { width: 100%; height: 100%; overflow: visible; }
.feature-t {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.02em; line-height: 1.25; color: var(--ink);
}
.feature-mark { width: 22px; height: 22px; color: var(--gold); opacity: 0.45; justify-self: end; }
.feature-mark svg { width: 100%; height: 100%; }
.feature:hover .feature-mark { opacity: 0.8; }
.feature.is-open .feature-mark { opacity: 1; }

.feature-body { overflow: hidden; }
.has-js .feature-body { height: 0; }
.feature-body-in { padding: 0 24px 26px; }
.feature-body-in p { color: var(--ink-dim); margin: 0; font-size: 0.97rem; }
/* the compass card draws its course line down the left edge */
.feature[data-anim="path"] .feature-body-in { position: relative; padding-left: 38px; }
.feature[data-anim="path"] .feature-body-in::before {
  content: ""; position: absolute; left: 24px; top: 4px; width: 2px; height: 100%;
  background: repeating-linear-gradient(180deg, var(--gold) 0 5px, transparent 5px 11px);
  opacity: 0.55;
}

/* ------------------------------------------ feature animations ------ */
@media (prefers-reduced-motion: no-preference) {
  .has-js .feature-body { transition: height 0.55s cubic-bezier(0.25, 0.8, 0.3, 1); }
  .feature-mark { transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.25, 1), opacity 0.3s ease; }
  .feature.is-open .feature-mark { transform: translateY(-5px) rotate(-14deg); }  /* anchor aweigh */
  .feature-icon [class^="p-"] { transform-box: view-box; }

  /* 1. cargo scales — the beam swings and settles */
  .feature[data-anim="scales"] .p-bar { transform-origin: 32px 21px; }
  .feature[data-anim="scales"].fx .p-bar { animation: sc-bar 1.2s ease-in-out; }
  .feature[data-anim="scales"].fx .p-panL { animation: sc-panL 1.2s ease-in-out; }
  .feature[data-anim="scales"].fx .p-panR { animation: sc-panR 1.2s ease-in-out; }
  @keyframes sc-bar {
    0%, 100% { transform: rotate(0); } 22% { transform: rotate(7deg); }
    55% { transform: rotate(-4.5deg); } 80% { transform: rotate(2deg); }
  }
  @keyframes sc-panL {
    0%, 100% { transform: translateY(0); } 22% { transform: translateY(4.6px); }
    55% { transform: translateY(-3px); } 80% { transform: translateY(1.3px); }
  }
  @keyframes sc-panR {
    0%, 100% { transform: translateY(0); } 22% { transform: translateY(-4.6px); }
    55% { transform: translateY(3px); } 80% { transform: translateY(-1.3px); }
  }

  /* 2. gun — muzzle flash and recoil */
  .feature[data-anim="cannon"] .p-flash { opacity: 0; }
  .feature[data-anim="cannon"].fx .p-barrel { animation: cn-recoil 0.75s cubic-bezier(0.2, 0.7, 0.3, 1); }
  .feature[data-anim="cannon"].fx .p-carriage,
  .feature[data-anim="cannon"].fx .p-wheel { animation: cn-roll 0.75s cubic-bezier(0.2, 0.7, 0.3, 1); }
  .feature[data-anim="cannon"].fx .p-flash { animation: cn-flash 0.6s ease-out; }
  @keyframes cn-recoil { 0% { transform: translateX(0); } 14% { transform: translateX(-8px); } 100% { transform: translateX(0); } }
  @keyframes cn-roll { 0% { transform: translateX(0); } 14% { transform: translateX(-3.5px); } 100% { transform: translateX(0); } }
  @keyframes cn-flash {
    0% { opacity: 0; transform: translateX(-5px) scale(0.5); }
    14% { opacity: 1; transform: translateX(0) scale(1.2); }
    55% { opacity: 0.4; } 100% { opacity: 0; transform: translateX(4px) scale(0.9); }
  }

  /* 3. ship's wheel — 45° is one full spoke, so it lands where it started */
  .feature[data-anim="crew"] .p-spokes { transform-origin: 32px 32px; }
  .feature[data-anim="crew"].fx .p-spokes { animation: hm-spin 1.1s cubic-bezier(0.25, 0.9, 0.3, 1); }
  @keyframes hm-spin {
    0% { transform: rotate(0); } 62% { transform: rotate(53deg); }
    82% { transform: rotate(41deg); } 100% { transform: rotate(45deg); }
  }

  /* 4. boarding blades — they part, clash, and spark */
  .feature[data-anim="swords"] .p-bladeA,
  .feature[data-anim="swords"] .p-bladeB { transform-origin: 32px 32px; }
  .feature[data-anim="swords"] .p-spark { opacity: 0; transform-origin: 32px 32px; }
  .feature[data-anim="swords"].fx .p-bladeA { animation: bl-a 0.95s ease-in-out; }
  .feature[data-anim="swords"].fx .p-bladeB { animation: bl-b 0.95s ease-in-out; }
  .feature[data-anim="swords"].fx .p-spark { animation: bl-spark 0.95s ease-out; }
  @keyframes bl-a { 0%, 100% { transform: rotate(0); } 32% { transform: rotate(-14deg); } 62% { transform: rotate(4deg); } }
  @keyframes bl-b { 0%, 100% { transform: rotate(0); } 32% { transform: rotate(14deg); } 62% { transform: rotate(-4deg); } }
  @keyframes bl-spark {
    0%, 26% { opacity: 0; transform: scale(0.4); }
    42% { opacity: 1; transform: scale(1.15); }
    75% { opacity: 0; transform: scale(1.45); } 100% { opacity: 0; }
  }

  /* 5. compass — the needle sweeps a full turn and settles north */
  .feature[data-anim="path"] .p-needle { transform-origin: 32px 32px; }
  .feature[data-anim="path"].fx .p-needle { animation: cp-seek 1.35s cubic-bezier(0.3, 0.85, 0.25, 1); }
  @keyframes cp-seek {
    0% { transform: rotate(0); } 45% { transform: rotate(298deg); }
    72% { transform: rotate(341deg); } 88% { transform: rotate(353deg); } 100% { transform: rotate(360deg); }
  }

  /* 6. sails — canvas fills with wind, hull rocks on the swell */
  .feature[data-anim="convoy"] .p-sailA,
  .feature[data-anim="convoy"] .p-sailB,
  .feature[data-anim="convoy"] .p-sailC { transform-origin: 32px 32px; }
  .feature[data-anim="convoy"].fx .p-sailA { animation: sl-fill 1.05s cubic-bezier(0.25, 0.85, 0.3, 1); }
  .feature[data-anim="convoy"].fx .p-sailB { animation: sl-fill 1.05s cubic-bezier(0.25, 0.85, 0.3, 1) 0.08s backwards; }
  .feature[data-anim="convoy"].fx .p-sailC { animation: sl-fillL 1.05s cubic-bezier(0.25, 0.85, 0.3, 1) 0.04s backwards; }
  .feature[data-anim="convoy"].fx .feature-icon svg { animation: sl-rock 1.5s ease-in-out; }
  .feature[data-anim="convoy"].fx .p-wave { animation: sl-swell 1.5s ease-in-out; }
  @keyframes sl-fill { 0% { transform: scaleX(0.3); } 58% { transform: scaleX(1.14); } 82% { transform: scaleX(0.95); } 100% { transform: scaleX(1); } }
  @keyframes sl-fillL { 0% { transform: scaleX(0.35); } 58% { transform: scaleX(1.1); } 82% { transform: scaleX(0.96); } 100% { transform: scaleX(1); } }
  @keyframes sl-rock { 0%, 100% { transform: rotate(0); } 32% { transform: rotate(-2.6deg); } 68% { transform: rotate(2deg); } }
  @keyframes sl-swell { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(1.6px); } 70% { transform: translateY(-1.4px); } }

  /* --- how each body opens: the motion matches the card's ship gear --- */
  .feature.is-open .feature-body-in { animation: 0.62s cubic-bezier(0.25, 0.85, 0.3, 1) both; }
  .feature[data-anim="scales"].is-open .feature-body-in { animation-name: fx-weigh; }
  .feature[data-anim="cannon"].is-open .feature-body-in { animation-name: fx-blast; animation-duration: 0.5s; }
  .feature[data-anim="crew"].is-open .feature-body-in { animation-name: fx-wheel; }
  .feature[data-anim="swords"].is-open .feature-body-in { animation-name: fx-cut; }
  .feature[data-anim="path"].is-open .feature-body-in { animation-name: fx-course; }
  .feature[data-anim="path"].is-open .feature-body-in::before { animation: fx-line 0.7s ease-out both; }
  .feature[data-anim="convoy"].is-open .feature-body-in { animation-name: fx-unfurl; }
  @keyframes fx-weigh {   /* settles like a loaded pan */
    0% { opacity: 0; transform: translateY(-12px) rotate(-1.5deg); }
    62% { transform: translateY(3px) rotate(0.5deg); }
    100% { opacity: 1; transform: none; }
  }
  @keyframes fx-blast {   /* fired out of the muzzle */
    0% { opacity: 0; transform: translateX(-16px); filter: blur(6px); }
    100% { opacity: 1; transform: none; filter: blur(0); }
  }
  @keyframes fx-wheel {   /* tips in like a wheel being put over */
    0% { opacity: 0; transform: perspective(700px) rotateX(-42deg); }
    100% { opacity: 1; transform: perspective(700px) rotateX(0); }
  }
  @keyframes fx-cut {     /* cut open by the blades */
    0% { opacity: 0.15; clip-path: inset(48% 0 48% 0); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); }
  }
  @keyframes fx-course {  /* laid out along the plotted course */
    0% { opacity: 0; transform: translateX(16px); }
    100% { opacity: 1; transform: none; }
  }
  @keyframes fx-line { 0% { height: 0; opacity: 0; } 100% { height: 100%; opacity: 0.55; } }
  @keyframes fx-unfurl {  /* dropped like canvas off a yard */
    0% { opacity: 0; transform: scaleY(0.12); }
    58% { transform: scaleY(1.05); }
    100% { opacity: 1; transform: none; }
  }
  .feature[data-anim="crew"].is-open .feature-body-in,
  .feature[data-anim="convoy"].is-open .feature-body-in { transform-origin: top center; }
}

/* ---------------------------------------------------------- band ---- */
.band {
  position: relative; padding: clamp(90px, 14vw, 170px) 0;
  background-size: cover; background-position: center 65%;
}
@media (min-width: 1000px) { .band { background-attachment: fixed; } }
.band-veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 17, 24, 0.45) 22%, rgba(10, 17, 24, 0.45) 78%, var(--bg) 100%); }
.band-quote { position: relative; z-index: 2; text-align: center; margin: 0 auto; }
.band-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  margin: 0.25em 0; color: var(--ink);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}
.band-quote p:last-child { color: var(--gold-2); margin-top: 0.7em; }

/* ---------------------------------------------------------- path ---- */
.steps {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  align-items: start;
}
.step {
  position: relative;
  border: 1px solid var(--line-soft); border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
}
.step:hover { border-color: var(--line); transform: translateY(-3px); background: rgba(255, 255, 255, 0.04); }
.step.is-open {
  border-color: var(--line); background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
}

.step-h { margin: 0; font-size: 1.15rem; }
.step-head {
  display: grid; grid-template-columns: auto 1fr 44px;
  align-items: center; gap: 18px;
  width: 100%; min-height: 104px; padding: 24px 26px; margin: 0;
  background: none; border: 0; color: inherit; font: inherit; text-align: left;
}
.has-js .step-head { cursor: pointer; }
.step-n {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
  display: block; margin: 0;
}
.step-t {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.02em; line-height: 1.25; color: var(--ink);
}
.step-icon { width: 44px; height: 44px; color: var(--gold); opacity: 0.5; justify-self: end; }
.step-icon svg { width: 100%; height: 100%; overflow: visible; }
.step:hover .step-icon { opacity: 0.85; }
.step.is-open .step-icon { opacity: 1; }

.step-body { overflow: hidden; }
.has-js .step-body { height: 0; }
.step-body-in { padding: 0 26px 26px; }
.step-body-in p { color: var(--ink-dim); margin: 0; font-size: 0.97rem; }

/* --------------------------------------------- step animations ------ */
@media (prefers-reduced-motion: no-preference) {
  .has-js .step-body { transition: height 0.55s cubic-bezier(0.25, 0.8, 0.3, 1); }
  .step-icon { transition: opacity 0.3s ease; }
  .step-icon [class^="p-"] { transform-box: view-box; }

  /* I — weighing anchor: the cable comes in and the anchor breaks free */
  .step[data-anim="weigh"] .p-anchorbody { transform-origin: 32px 32px; }
  .step[data-anim="weigh"].fx .p-anchorbody { animation: aw-lift 1.2s cubic-bezier(0.25, 0.85, 0.3, 1); }
  .step[data-anim="weigh"].fx .p-chain { animation: aw-chain 1.2s ease-out; }
  @keyframes aw-lift {
    0% { transform: translateY(6px); } 45% { transform: translateY(-4px) rotate(-3deg); }
    75% { transform: translateY(1px) rotate(1.5deg); } 100% { transform: none; }
  }
  @keyframes aw-chain {
    0% { stroke-dasharray: 3 4; stroke-dashoffset: 16; } 100% { stroke-dasharray: 3 4; stroke-dashoffset: 0; }
  }

  /* II — dividers stepping off a course on the chart */
  .step[data-anim="dividers"] .p-legL,
  .step[data-anim="dividers"] .p-legR { transform-origin: 32px 11px; }
  .step[data-anim="dividers"].fx .p-legL { animation: dv-legL 1.25s ease-in-out; }
  .step[data-anim="dividers"].fx .p-legR { animation: dv-legR 1.25s ease-in-out; }
  .step[data-anim="dividers"].fx .p-course { animation: dv-course 1.25s linear; }
  @keyframes dv-legL { 0%, 100% { transform: rotate(0); } 32% { transform: rotate(-9deg); } 66% { transform: rotate(4deg); } }
  @keyframes dv-legR { 0%, 100% { transform: rotate(0); } 32% { transform: rotate(9deg); } 66% { transform: rotate(-4deg); } }
  @keyframes dv-course { 0% { stroke-dashoffset: 22; } 100% { stroke-dashoffset: 0; } }

  /* III — a fleet standing out to sea, ship after ship */
  .step[data-anim="fleet"] .p-shipA,
  .step[data-anim="fleet"] .p-shipB,
  .step[data-anim="fleet"] .p-shipC { transform-origin: 32px 44px; }
  .step[data-anim="fleet"].fx .p-shipA { animation: fl-sail 1.15s ease-in-out; }
  .step[data-anim="fleet"].fx .p-shipB { animation: fl-sail 1.15s ease-in-out 0.13s backwards; }
  .step[data-anim="fleet"].fx .p-shipC { animation: fl-sail 1.15s ease-in-out 0.26s backwards; }
  .step[data-anim="fleet"].fx .p-wave { animation: fl-swell 1.5s ease-in-out; }
  @keyframes fl-sail {
    0% { transform: translateY(4px) rotate(-2.4deg); } 45% { transform: translateY(-3px) rotate(2deg); }
    100% { transform: none; }
  }
  @keyframes fl-swell { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(2px); } 72% { transform: translateY(-1.6px); } }

  /* --- how each rung opens --- */
  .step.is-open .step-body-in { animation: 0.62s cubic-bezier(0.25, 0.85, 0.3, 1) both; }
  .step[data-anim="weigh"].is-open .step-body-in { animation-name: fx-aweigh; }
  .step[data-anim="dividers"].is-open .step-body-in { animation-name: fx-plot; }
  .step[data-anim="fleet"].is-open .step-body-in { animation-name: fx-formation; }
  @keyframes fx-aweigh {   /* hauled up out of the deep */
    0% { opacity: 0; transform: translateY(20px); }
    70% { transform: translateY(-3px); } 100% { opacity: 1; transform: none; }
  }
  @keyframes fx-plot {     /* stepped off left to right along the course */
    0% { opacity: 0.2; clip-path: inset(0 100% 0 0); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); }
  }
  @keyframes fx-formation { /* ships falling into line */
    0% { opacity: 0; transform: translateX(24px) rotate(1.2deg); }
    60% { transform: translateX(-4px) rotate(-0.4deg); }
    100% { opacity: 1; transform: none; }
  }
}

/* ------------------------------------------------------- gallery ---- */
.shots {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 34px;
}
.shot {
  display: block; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--line-soft); position: relative;
  aspect-ratio: 16 / 9; background: var(--bg-3);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, filter 0.4s ease; }
.shot:hover img { transform: scale(1.045); filter: brightness(1.08); }
.shots .shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* ------------------------------------------------------ lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4, 7, 10, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 4vmin;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 4px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 14px; right: 22px;
  background: none; border: 0; color: var(--ink); font-size: 2.4rem; cursor: pointer; line-height: 1;
}
.lightbox-close:hover { color: var(--gold-2); }

/* ---------------------------------------------------- news cards ---- */
.teaser-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.news-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft); border-radius: 5px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.news-card:hover { border-color: var(--line); transform: translateY(-3px); }
.news-card-img { aspect-ratio: 16 / 9; background: var(--bg-3); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card time { color: var(--gold); font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
.news-card h3 { margin: 0; font-size: 1.05rem; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--gold-2); }
.news-card p { color: var(--ink-dim); font-size: 0.94rem; margin: 0; flex: 1; }
.news-fallback { color: var(--ink-dim); }
.news-loading { color: var(--ink-dim); font-style: italic; }

/* ------------------------------------------------ news full list ---- */
.news-list { display: flex; flex-direction: column; gap: 26px; margin-top: 10px; }
.news-entry {
  border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.news-entry-banner img { width: 100%; max-height: 340px; object-fit: cover; }
.news-entry-body { padding: clamp(20px, 3vw, 34px); }
.news-entry time { color: var(--gold); font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; }
.news-entry h2 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin: 0.35em 0 0.5em; }
.news-entry h2 a { color: var(--ink); }
.news-entry h2 a:hover { color: var(--gold-2); }
.news-entry .excerpt { color: var(--ink-dim); margin: 0 0 1.2em; }
.news-entry-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.news-entry-actions .btn { padding: 10px 18px; font-size: 0.8rem; }
.post-body { display: none; margin-top: 1.6em; border-top: 1px solid var(--line-soft); padding-top: 1.4em; }
.news-entry.expanded .post-body { display: block; }
.news-entry.expanded .excerpt { display: none; }

/* Steam post content (converted from BBCode) */
.post-body img { border-radius: 4px; margin: 1em 0; }
.post-body h3, .post-body h4, .post-body h5 { margin: 1.4em 0 0.5em; color: var(--gold-2); }
.post-body h3 { font-size: 1.25rem; }
.post-body h4 { font-size: 1.08rem; }
.post-body hr { border: 0; height: 1px; background: var(--line-soft); margin: 1.8em 0; }
.post-body ul, .post-body ol { padding-left: 1.4em; color: var(--ink-dim); }
.post-body li { margin: 0.45em 0; }
.post-body p { color: var(--ink-dim); }
.post-body strong { color: var(--ink); }
.post-body blockquote { border-left: 3px solid var(--gold); margin: 1.2em 0; padding: 0.2em 0 0.2em 1.2em; color: var(--ink-dim); }
.post-body table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.post-body td, .post-body th { border: 1px solid var(--line-soft); padding: 8px 12px; }
.post-body .video-embed { position: relative; aspect-ratio: 16 / 9; margin: 1em 0; }
.post-body .video-embed iframe, .post-body .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; }
.post-body video { max-width: 100%; border-radius: 4px; }

/* ------------------------------------------------------ pagehead ---- */
.pagehead {
  position: relative;
  padding: calc(var(--nav-h) + clamp(50px, 9vw, 100px)) 0 clamp(40px, 6vw, 70px);
  background: url("../img/band_1920.jpg") center 35% / cover no-repeat;
}
.pagehead-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 17, 24, 0.82), rgba(10, 17, 24, 0.6) 55%, var(--bg) 100%); }
.pagehead .wrap { position: relative; z-index: 2; }

/* ----------------------------------------------------------- faq ---- */
.faq-section { padding-top: clamp(30px, 5vw, 60px); }
.faq-item {
  border: 1px solid var(--line-soft); border-radius: 5px;
  margin-bottom: 12px; background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: var(--line); background: rgba(255, 255, 255, 0.035); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px;
  font-family: var(--font-display); font-size: 1.02rem; letter-spacing: 0.03em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-2); }
.chev { flex: none; width: 10px; height: 10px; border-right: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(45deg); transition: transform 0.25s ease; }
.faq-item[open] .chev { transform: rotate(225deg); }
.faq-a { padding: 0 22px 20px; color: var(--ink-dim); }
.faq-a p { margin: 0 0 0.8em; }
.faq-a ul { margin: 0.4em 0 0.8em; padding-left: 1.3em; }
.faq-a li { margin: 0.4em 0; }
.specs { border-collapse: collapse; margin: 0.6em 0 1em; width: 100%; }
.specs td, .specs th { border: 1px solid var(--line-soft); padding: 8px 12px; text-align: left; font-size: 0.94rem; }
.specs th { color: var(--gold-2); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.06em; }

/* ------------------------------------------------------- ctaband ---- */
.ctaband { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line-soft); }
.ctaband-inner { text-align: center; max-width: 760px; }
.ctaband p { color: var(--ink-dim); margin: 0 auto 2em; }

/* -------------------------------------------------------- footer ---- */
.footer { border-top: 1px solid var(--line-soft); background: #070c11; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { color: var(--ink-dim); font-size: 0.92rem; max-width: 380px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1em; }
.footer-col a { display: block; color: var(--ink-dim); padding: 4px 0; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-2); }
.footer-legal {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #5f6c76; font-size: 0.82rem;
}

/* ------------------------------------------------------ reveal ------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.shown { opacity: 1; transform: none; }
}

/* --------------------------------------------------- responsive ---- */
@media (max-width: 1000px) {
  .feature-grid, .steps, .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; }
  .col-art { max-width: 560px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav-logo img { height: 36px; width: 36px; }
  .brand-word { font-size: 0.92rem; letter-spacing: 0.18em; }
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8, 13, 19, 0.97); backdrop-filter: blur(12px);
    padding: 10px 22px 22px;
    border-bottom: 1px solid var(--line-soft);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-cta { margin-top: 14px; text-align: center; justify-content: center; display: inline-flex; }
  .feature-grid, .steps, .teaser-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 92svh; }
  .hero-badges { gap: 8px 18px; }
  .btn { padding: 12px 18px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 480px) {
  .shots { grid-template-columns: 1fr; }
  .shots .shot:nth-child(1) { grid-column: auto; grid-row: auto; }
}
