/* ============================================================
   NAVARETH — "The sea at dusk"
   Dark oceanic marketing site. Key art carries the atmosphere.
   Display: Pirata One · Body: Spectral · Utility: Inter
   ============================================================ */

@font-face {
  font-family: "Pirata One";
  src: url("../fonts/PirataOne-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-400.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-500.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-600.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  font-style: normal;
}

:root {
  /* palette — sampled from the key art */
  --abyss: #091319;
  --abyss-90: rgba(9, 19, 25, 0.9);
  --deep: #0f2129;
  --deep-raised: #12262f;
  --hull: #1c3a45;
  --hull-line: rgba(162, 182, 192, 0.16);
  --fog: #a2b6c0;
  --fog-dim: #7f97a2;
  --mist: #dbe6e9;
  --sail: #ece4d1;
  --lantern: #eaad55;
  --lantern-soft: rgba(234, 173, 85, 0.16);
  --ember: #b9603a;

  --display: "Pirata One", "Trajan Pro", Georgia, serif;
  --body: "Spectral", Georgia, "Times New Roman", serif;
  --ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: min(100% - 48px, 1200px);
  --section-space: clamp(5rem, 9vw, 8.5rem);
  --horizon-y: 63%;
  --focus-ring: var(--lantern);

  color-scheme: dark;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--abyss);
  color: var(--mist);
  font-family: var(--body);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection {
  background: var(--lantern);
  color: var(--abyss);
}

/* ---------- type ---------- */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2,
h3 {
  text-wrap: balance;
}

h2 {
  margin-bottom: 1.4rem;
  color: var(--sail);
  font-family: var(--display);
  font-size: clamp(2.15rem, 3.9vw, 3.55rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.012em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.6rem;
  font-family: var(--body);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--mist);
}

p {
  margin-bottom: 1.15rem;
}

strong {
  font-weight: 600;
  color: var(--sail);
}

/* ---------- layout primitives ---------- */

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  background: var(--abyss);
}

.section + .section {
  border-top: 1px solid var(--hull-line);
}

.panel {
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(28, 58, 69, 0.28), transparent 60%),
    var(--deep);
}

/* keep multi-column grids from blowing out their tracks on small screens */
.rule__grid > *,
.coop__grid > *,
.allegiance > *,
.development__grid > *,
.faq__grid > *,
.reputation-wrap,
.reputation-scroll,
.intent-note {
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0 0 1.4rem;
  color: var(--lantern);
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 0.85em;
  vertical-align: 0.28em;
  background: var(--lantern);
  opacity: 0.8;
}

.standfirst {
  color: var(--sail);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
}

.lede {
  color: var(--fog);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
}

.section-heading {
  max-width: 30rem;
  margin-bottom: clamp(2.75rem, 6vw, 5rem);
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--fog);
}

.section-heading--center {
  max-width: 52ch;
  margin-inline: auto;
  text-align: center;
}

.intent-note {
  margin: 2rem 0 0;
  padding: 0.2rem 0 0.2rem 1.15rem;
  border-left: 2px solid var(--lantern);
  color: var(--fog-dim);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.55;
}

.intent-note strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--lantern);
  font-family: var(--ui);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- horizon rule (the signature) ---------- */

.horizon {
  position: relative;
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--lantern) 18%, var(--lantern) 82%, transparent);
  opacity: 0.55;
}

.horizon::after {
  content: "";
  position: absolute;
  inset: -2px 0;
  background: linear-gradient(90deg, transparent, rgba(234, 173, 85, 0.35) 30%, rgba(234, 173, 85, 0.35) 70%, transparent);
  filter: blur(3px);
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--lantern);
  border-radius: 2px;
  background: var(--lantern);
  color: var(--abyss);
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 0 rgba(234, 173, 85, 0);
  transition: background-color 180ms ease, box-shadow 220ms ease, transform 180ms ease, color 180ms ease;
}

.button:hover {
  background: #f2be74;
  box-shadow: 0 10px 34px rgba(234, 173, 85, 0.28);
  transform: translateY(-2px);
}

.button--ghost {
  border-color: rgba(219, 230, 233, 0.4);
  background: rgba(9, 19, 25, 0.35);
  color: var(--mist);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.button--ghost:hover {
  border-color: var(--sail);
  background: rgba(219, 230, 233, 0.08);
  box-shadow: none;
  color: var(--sail);
}

.button--small {
  min-height: 42px;
  padding: 0.6rem 1.05rem;
  font-size: 0.66rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button-row--center {
  justify-content: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  color: var(--lantern);
  font-family: var(--ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration-color: rgba(234, 173, 85, 0.4);
  text-underline-offset: 0.4em;
}

.text-link:hover {
  text-decoration-color: var(--lantern);
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1.1rem;
  transform: translateY(-160%);
  background: var(--lantern);
  color: var(--abyss);
  font-family: var(--ui);
  font-weight: 800;
  border-radius: 2px;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- header ---------- */

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--mist);
}

.site-header__inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header.is-stuck {
  position: fixed;
  background: var(--abyss-90);
  border-bottom: 1px solid var(--hull-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: drop-in 260ms ease-out;
}

.site-header.is-stuck .site-header__inner {
  min-height: 68px;
}

.brand {
  flex: 0 0 auto;
  display: block;
}

.brand img {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.site-nav > a:not(.button) {
  position: relative;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fog);
  transition: color 160ms ease;
}

.site-nav > a:not(.button):hover {
  color: var(--sail);
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 1px;
  background: var(--lantern);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: min(94vh, 960px);
  align-items: center;
  overflow: hidden;
  background: var(--abyss);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  animation: hero-drift 32s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--abyss) 2%, rgba(9, 19, 25, 0.72) 26%, rgba(9, 19, 25, 0.12) 52%, transparent 72%),
    linear-gradient(to right, rgba(9, 19, 25, 0.72), transparent 42%);
}

.hero__fog {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 20% 78%, rgba(162, 182, 192, 0.12), transparent 70%),
    radial-gradient(50% 30% at 80% 70%, rgba(234, 173, 85, 0.08), transparent 70%);
  animation: fog-slide 40s linear infinite alternate;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(7rem, 14vh, 9.5rem) clamp(3rem, 7vw, 5.5rem);
}

.hero__inner {
  max-width: 32rem;
}

.hero__headline {
  margin: 0 0 1.6rem;
  max-width: 9.5em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.72);
}

.hero__line {
  display: block;
}

.hero__line--lead {
  color: var(--sail);
}

.hero__line--gold {
  color: var(--lantern);
}

.hero__lede {
  max-width: 42ch;
  margin-bottom: 1.9rem;
  color: var(--mist);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.6rem 0 0;
  color: var(--fog);
  font-family: var(--ui);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lantern);
  box-shadow: 0 0 0 4px var(--lantern-soft);
}

.hero__horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--horizon-y);
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 173, 85, 0.5) 25%, rgba(234, 173, 85, 0.5) 75%, transparent);
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fog);
  font-family: var(--ui);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__scroll::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--lantern);
  animation: nudge 2.4s ease-in-out infinite;
}

/* ---------- full-bleed art band ---------- */

.band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 46vw, 560px);
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--abyss);
  text-align: center;
  isolation: isolate;
}

.band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, var(--abyss) 0%, rgba(9, 19, 25, 0.35) 22%, rgba(9, 19, 25, 0.35) 78%, var(--abyss) 100%),
    linear-gradient(120deg, rgba(9, 19, 25, 0.55), transparent 55%);
}

.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--horizon-y);
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 173, 85, 0.55) 22%, rgba(234, 173, 85, 0.55) 78%, transparent);
}

.band__line {
  position: relative;
  z-index: 1;
  max-width: 22ch;
  margin: 0;
  color: var(--sail);
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1.04;
  text-wrap: balance;
  text-shadow: 0 4px 44px rgba(0, 0, 0, 0.78);
}

.band__sub {
  position: relative;
  z-index: 1;
  margin: 1.2rem 0 0;
  color: var(--fog);
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- moving-home rule + progression ---------- */

.rule__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.rule__grid > .section-intro h2 {
  max-width: 14ch;
}

.rule__grid .standfirst {
  margin-bottom: 1.4rem;
}

.rule__body > p:not(.intent-note) {
  color: var(--fog);
}

.voyage {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.voyage__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  align-items: end;
  padding: 0;
  list-style: none;
  margin: 0;
}

.voyage__stage {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
}

.voyage__glyph {
  display: block;
  width: 100%;
  height: auto;
  color: var(--lantern);
}

.voyage__stage:nth-child(1) .voyage__glyph { max-width: 34%; }
.voyage__stage:nth-child(2) .voyage__glyph { max-width: 52%; }
.voyage__stage:nth-child(3) .voyage__glyph { max-width: 70%; }
.voyage__stage:nth-child(4) .voyage__glyph { max-width: 86%; }
.voyage__stage:nth-child(5) .voyage__glyph { max-width: 100%; }

.voyage__stage span {
  font-family: var(--ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--fog);
}

.voyage__rule {
  position: relative;
  height: 1px;
  margin: 1.5rem 6% 0;
  background: repeating-linear-gradient(90deg, rgba(234, 173, 85, 0.6) 0 8px, transparent 8px 16px);
}

.voyage__rule::before,
.voyage__rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lantern);
  transform: translateY(-50%);
}

.voyage__rule::before { left: -2px; }
.voyage__rule::after { right: -2px; }

/* ---------- pillars ---------- */

.pillars .section-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: end;
}

.pillars .section-heading .kicker { grid-column: 1; grid-row: 1; }
.pillars .section-heading h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
.pillars .section-heading > p:last-child { grid-column: 2; grid-row: 2; margin-bottom: 0.3rem; }

.pillars__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hull-line);
}

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.8rem, 3.5vw, 2.6rem);
  border-bottom: 1px solid var(--hull-line);
  align-items: baseline;
}

.pillar__head {
  display: grid;
  gap: 0.5rem;
}

.pillar__verb {
  margin: 0;
  color: var(--sail);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
}

.pillar__tag {
  margin: 0;
  color: var(--lantern);
  font-family: var(--ui);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pillar__body {
  margin: 0;
  max-width: 58ch;
  color: var(--fog);
  font-size: 1.02rem;
}

/* ---------- co-op + compass ---------- */

.coop__grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
}

.coop__grid > div:last-child {
  max-width: 46ch;
}

.coop__grid .lede,
.coop__grid p:not(.kicker):not(.standfirst):not(.intent-note) {
  color: var(--fog);
}

.coop__compass {
  width: min(64vw, 360px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 58, 69, 0.55), transparent 70%);
}

.coop__rose {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5));
}

.rose-ring { fill: none; stroke: var(--fog); stroke-width: 1; opacity: 0.35; }
.rose-ring--thin { stroke-width: 0.6; opacity: 0.22; }
.rose-card { fill: none; stroke: var(--fog); stroke-width: 0.6; opacity: 0.16; stroke-dasharray: 1 3.5; }
.rose-tick { stroke: var(--fog); stroke-width: 0.7; opacity: 0.32; }
.rose-tick--major { stroke: var(--lantern); stroke-width: 1.5; opacity: 0.95; }
.rose-halfwind { stroke: var(--fog); stroke-width: 0.7; opacity: 0.2; }
.rose-sub { stroke: var(--abyss); stroke-width: 0.4; }
.rose-sub--dark { fill: var(--hull); opacity: 0.9; }
.rose-sub--light { fill: var(--lantern); opacity: 0.4; }
.rose-point { stroke: var(--abyss); stroke-width: 0.5; stroke-linejoin: round; }
.rose-point--dark { fill: #12333f; }
.rose-point--light { fill: var(--lantern); }
.rose-north { fill: var(--ember); }
.rose-hub { fill: var(--lantern); }
.rose-hub-dot { fill: var(--abyss); }

/* ---------- factions ---------- */

.factions .section-heading {
  margin-inline: auto;
}

.banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.banner {
  position: relative;
  min-height: 320px;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  border: 1px solid rgba(162, 182, 192, 0.14);
  background: var(--abyss);
  overflow: hidden;
}

.banner--crown {
  background:
    linear-gradient(155deg, rgba(234, 173, 85, 0.14), transparent 55%),
    var(--abyss);
}

.banner--fleet {
  background:
    linear-gradient(205deg, rgba(185, 96, 58, 0.16), transparent 55%),
    var(--abyss);
}

.banner::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid var(--hull-line);
  border-radius: 50%;
}

.banner__emblem {
  width: clamp(120px, 18vw, 168px);
  height: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6));
}

.banner__side {
  margin: 0 0 0.4rem;
  color: var(--lantern);
  font-family: var(--ui);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.banner h3 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 400;
  color: var(--sail);
}

.banner > p:last-child {
  max-width: 40ch;
  margin: 0;
  color: var(--fog);
}

.banners__versus {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0;
  border: 1px solid var(--lantern);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--abyss);
  color: var(--lantern);
  font-family: var(--display);
  font-size: 1.4rem;
}

.allegiance {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(2.5rem, 8vw, 7rem);
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  align-items: start;
}

.allegiance > div:first-child p:not(.kicker) {
  color: var(--fog);
}

.reputation-scroll {
  min-width: 0;
}

.reputation {
  --coin: clamp(46px, 8.4vw, 70px);
  --rail-y: calc(1.6rem + var(--coin) * 0.45);
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.55rem;
  margin: 0;
  padding: 1.6rem 0 0;
  align-items: start;
  list-style: none;
}

.reputation::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--rail-y);
  left: 6.5%;
  right: 6.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), #b98a63 24%, var(--fog) 50%, var(--hull) 72%, var(--lantern));
  opacity: 0.55;
}

.reputation li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
}

.reputation__coin {
  position: relative;
  z-index: 1;
  width: var(--coin);
  height: var(--coin);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55));
}

.reputation__decision::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--rail-y);
  left: 50%;
  width: calc(var(--coin) * 1.9);
  height: calc(var(--coin) * 1.9);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 173, 85, 0.34), transparent 66%);
  pointer-events: none;
}

.reputation span {
  color: var(--fog);
  font-family: var(--ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.15;
  text-transform: uppercase;
}

.reputation b {
  color: var(--lantern);
  font-family: var(--ui);
  font-size: 0.6rem;
  font-weight: 800;
}

.reputation small {
  margin-top: 0.1rem;
  color: var(--lantern);
  font-family: var(--ui);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.allegiance .intent-note {
  margin-top: 2.4rem;
}

/* ---------- development ---------- */

.development__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.development__summary {
  position: sticky;
  top: 120px;
}

.development__summary > p:not(.kicker):not(.standfirst) {
  color: var(--fog);
}

.build-log {
  border-top: 1px solid var(--lantern);
}

.build-log__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 1.3rem;
  border-bottom: 1px solid var(--hull-line);
}

.build-log__head .kicker,
.build-log__head h2 {
  margin: 0;
}

.build-log__head h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.note {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 1.3rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--hull-line);
  align-items: start;
}

.note time {
  color: var(--fog-dim);
  font-family: var(--ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.note h3 {
  margin-bottom: 0.2rem;
  font-size: 1.02rem;
}

.note p {
  margin: 0;
  color: var(--fog);
  font-size: 0.92rem;
  line-height: 1.55;
}

.note__status {
  padding: 0.24rem 0.55rem;
  border: 1px solid var(--hull-line);
  border-radius: 2px;
  color: var(--lantern);
  font-family: var(--ui);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.development__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--hull-line);
}

.development__cta p {
  margin: 0;
  color: var(--sail);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

/* ---------- faq ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.faq__grid .section-intro {
  position: sticky;
  top: 120px;
}

.faq__grid .section-intro > p:last-child {
  color: var(--fog);
}

.faq__list {
  border-top: 1px solid var(--lantern);
}

.faq details {
  border-bottom: 1px solid var(--hull-line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  cursor: pointer;
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mist);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.faq summary span::before,
.faq summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--lantern);
  transform: translate(-50%, -50%);
}

.faq summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.faq details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq details p {
  max-width: 62ch;
  margin: -0.2rem 2rem 1.5rem 0;
  color: var(--fog);
}

/* ---------- community ---------- */

.community {
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.community__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.community__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.community::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 120%, rgba(234, 173, 85, 0.22), transparent 60%),
    linear-gradient(to bottom, var(--abyss) 4%, rgba(9, 19, 25, 0.68) 45%, var(--abyss) 96%);
}

.community__inner {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin-inline: auto;
}

.community__inner img {
  width: 210px;
  height: auto;
  margin: 0 auto 1.8rem;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6));
}

.community h2 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.community__inner > p:not(.kicker) {
  color: var(--fog);
}

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

.site-footer {
  padding-block: 3.5rem 1.6rem;
  border-top: 1px solid var(--hull-line);
  background: var(--abyss);
  color: var(--fog);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.brand--footer {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.brand--footer img {
  width: 184px;
}

.site-footer__grid p {
  margin: 0;
  color: var(--fog-dim);
  font-size: 0.86rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.4rem;
}

.site-footer nav a,
.site-footer__base a {
  color: var(--fog);
  font-family: var(--ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer__base a:hover {
  color: var(--lantern);
}

.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--hull-line);
}

.site-footer__base p {
  margin: 0;
  color: var(--fog-dim);
  font-size: 0.64rem;
}

/* ---------- legal pages (impressum / datenschutz) ---------- */

.legal {
  padding-block: clamp(7rem, 14vh, 9rem) var(--section-space);
  background: var(--abyss);
}

.legal__inner {
  max-width: 44rem;
}

.legal h1 {
  margin: 0.4rem 0 1rem;
  color: var(--sail);
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.legal .lede {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--hull-line);
  color: var(--fog);
}

.legal section {
  margin-bottom: 2.25rem;
}

.legal h2 {
  margin-bottom: 0.5rem;
  color: var(--mist);
  font-family: var(--body);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0;
}

.legal p {
  margin-bottom: 0.9rem;
  color: var(--fog);
}

.legal p:last-child {
  margin-bottom: 0;
}

.legal a {
  color: var(--lantern);
  text-decoration-color: rgba(234, 173, 85, 0.4);
}

.legal__facts {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.legal__facts > div {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 0.4rem 1.5rem;
}

.legal__facts dt {
  color: var(--fog-dim);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal__facts dd {
  margin: 0;
  color: var(--fog);
}

.legal__back {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hull-line);
}

@media (max-width: 560px) {
  .legal__facts > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---------- reveal / motion ---------- */

.js.is-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js.is-reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drop-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@keyframes fog-slide {
  from { transform: translate3d(-3%, 0, 0); }
  to { transform: translate3d(3%, 1%, 0); }
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(6px); opacity: 0.5; }
}

/* ---------- responsive ---------- */

@media (min-width: 1400px) {
  :root { --shell: 1280px; }
}

@media (max-width: 1080px) {
  .rule__grid,
  .coop__grid,
  .allegiance,
  .development__grid,
  .faq__grid {
    gap: clamp(2rem, 5vw, 4rem);
  }
}

@media (max-width: 920px) {
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mist);
    font: inherit;
    cursor: pointer;
  }

  .menu-toggle__label {
    font-family: var(--ui);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .menu-toggle__icon {
    position: relative;
    display: block;
    width: 24px;
    height: 14px;
  }

  .menu-toggle__icon i {
    position: absolute;
    left: 0;
    width: 24px;
    height: 1.5px;
    background: currentColor;
    transition: transform 180ms ease, top 180ms ease, opacity 120ms ease;
  }

  .menu-toggle__icon i:first-child { top: 2px; }
  .menu-toggle__icon i:last-child { top: 10px; }
  .menu-toggle[aria-expanded="true"] i:first-child { top: 6px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-child { top: 6px; transform: rotate(-45deg); }

  .no-js .site-header__inner { flex-wrap: wrap; padding-block: 0.9rem; }
  .no-js .site-nav { flex: 1 0 100%; justify-content: center; flex-wrap: wrap; }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    padding: 0.6rem 24px 1.2rem;
    gap: 0;
    background: var(--abyss-90);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hull-line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .js .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .js .site-nav > a:not(.button) {
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--hull-line);
  }

  .js .site-nav .button { margin-top: 0.9rem; }

  .rule__grid,
  .coop__grid,
  .allegiance,
  .development__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .rule__grid > .section-intro,
  .hero__inner { max-width: none; }

  .development__summary,
  .faq__grid .section-intro { position: static; }

  .pillar { grid-template-columns: 1fr; gap: 0.9rem; }

  .banners { grid-template-columns: 1fr; }
  .banners__versus { top: 50%; }

  .allegiance { gap: 2.5rem; }
  .reputation-scroll { overflow-x: auto; padding-bottom: 1rem; }
  .reputation { min-width: 600px; }

  .coop__compass { width: min(74vw, 300px); }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 40px); --section-space: 4.5rem; }

  .hero { min-height: 88vh; }
  .voyage__track { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .voyage__stage:nth-child(5) { grid-column: 1 / -1; }
  .voyage__stage .voyage__glyph { max-width: 46% !important; }
  .voyage__rule { display: none; }

  .button-row { flex-direction: column; align-items: stretch; }
  .button-row--center { align-items: center; }
  .button-row .button { width: 100%; }
  .button-row--center .button { width: auto; }

  .development__cta { flex-direction: column; align-items: flex-start; }
  .note { grid-template-columns: 1fr auto; }
  .note time { grid-column: 1 / -1; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .hero__headline { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  h2 { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js.is-reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .hero__media img,
  .hero__fog { animation: none; }
}
