:root {
  --bg: #061522;
  --bg-deep: #020a10;
  --panel: rgba(11, 35, 52, 0.86);
  --panel-solid: #0b2334;
  --panel-soft: #0e2c40;
  --line: rgba(152, 205, 224, 0.17);
  --line-strong: rgba(152, 205, 224, 0.34);
  --text: #edf7f8;
  --muted: #9bb4bf;
  --muted-2: #6f8c99;
  --accent: #d6ad68;
  --accent-light: #f0d49d;
  --cyan: #78d7de;
  --danger: #d16d6d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --container: 1180px;
  --radius: 22px;
  --heading: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 8%, rgba(22, 86, 107, 0.24), transparent 34rem),
    linear-gradient(180deg, #071923 0%, var(--bg) 40%, var(--bg-deep) 100%);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  color: #051017;
  background: var(--accent-light);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled {
  background: rgba(3, 14, 22, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img {
  filter: drop-shadow(0 8px 18px rgba(120, 215, 222, 0.18));
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-family: var(--heading);
  font-size: 1rem;
  letter-spacing: 0.045em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  color: #c5d5da;
  font-size: 0.86rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.primary-nav a:hover {
  color: #fff;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 880px;
  display: grid;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
  background: #06131e;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -4;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.78) contrast(1.14) brightness(0.72);
  transform: scale(1.012);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 12, 19, 0.98) 0%, rgba(3, 15, 23, 0.86) 36%, rgba(3, 15, 23, 0.2) 67%, rgba(2, 11, 18, 0.54) 100%),
    linear-gradient(180deg, rgba(2, 10, 17, 0.16), rgba(2, 10, 17, 0.84) 92%),
    radial-gradient(circle at 72% 40%, transparent 0 17rem, rgba(3, 15, 23, 0.22) 39rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(116, 188, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 188, 204, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000 25%, transparent 95%);
}

.hero-water {
  position: absolute;
  inset: auto -10% 0;
  z-index: -1;
  height: 28%;
  opacity: 0.28;
  background:
    repeating-radial-gradient(ellipse at 50% 0%, transparent 0 24px, rgba(124, 214, 221, 0.12) 25px 26px, transparent 27px 52px);
  transform: perspective(480px) rotateX(64deg) scale(1.3);
  transform-origin: bottom;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.4fr);
  align-items: end;
  gap: 100px;
}

.eyebrow,
.section-kicker,
.cookie-kicker {
  margin: 0 0 18px;
  color: var(--accent-light);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.newsletter-section h2,
.ship-modal h2,
.cookie-dialog h2,
.legal-hero h1 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.7rem, 7vw, 7.4rem);
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.36);
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #c3d2d7;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #0b1519;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 12px 32px rgba(214, 173, 104, 0.18);
}

.button-secondary {
  color: #d7e5e9;
  border-color: var(--line-strong);
  background: rgba(2, 13, 20, 0.5);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(214, 173, 104, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.hero-stats {
  display: flex;
  gap: 38px;
  margin: 54px 0 0;
}

.hero-stats div {
  position: relative;
}

.hero-stats div + div::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 7px;
  width: 1px;
  height: 38px;
  background: var(--line);
}

.hero-stats dt {
  color: #fff;
  font-family: var(--heading);
  font-size: 1.32rem;
  font-weight: 700;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: #829ba7;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-caption {
  justify-self: end;
  width: min(100%, 300px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(2, 12, 18, 0.6);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-caption span {
  color: var(--accent-light);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-caption strong {
  display: block;
  margin-top: 7px;
  font-family: var(--heading);
  font-size: 1.45rem;
}

.hero-caption p {
  margin: 2px 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-caption a {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.section {
  position: relative;
  padding: 118px 0;
}

.intro-strip {
  padding: 86px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.45fr 1.5fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.intro-grid .section-kicker {
  margin-top: 7px;
}

.intro-grid h2,
.section-heading h2,
.story-copy h2,
.principles-section h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.1rem);
}

.intro-grid > p:last-child,
.section-heading > p,
.story-copy > p,
.newsletter-shell > div > p {
  margin: 4px 0 0;
  color: var(--muted);
}

.archive-section {
  overflow: hidden;
}

.archive-section::before {
  content: "";
  position: absolute;
  right: -12rem;
  top: 14rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(25, 103, 125, 0.12);
  filter: blur(55px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}

.section-heading.compact {
  margin-bottom: 60px;
}

.section-heading > p {
  max-width: 440px;
  text-align: right;
}

.archive-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.search-box {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.search-box:focus-within {
  border-color: rgba(120, 215, 222, 0.52);
  box-shadow: 0 0 0 4px rgba(120, 215, 222, 0.06);
}

.search-box svg {
  width: 19px;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1.6;
}

.search-box input {
  width: 100%;
  color: #fff;
  border: 0;
  outline: 0;
  background: transparent;
}

.search-box input::placeholder {
  color: #6d8995;
}

.filter-scroll {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(152, 205, 224, 0.25) transparent;
}

.filter-group {
  width: max-content;
  min-width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 170ms ease;
}

.filter-button span {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #a8bec7;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.65rem;
}

.filter-button:hover,
.filter-button.active {
  color: #101717;
  border-color: var(--accent);
  background: var(--accent);
}

.filter-button.active span {
  color: #fff5e0;
  background: rgba(8, 18, 22, 0.35);
}

.archive-status {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.archive-status p {
  margin: 0;
}

.archive-status strong {
  color: var(--accent-light);
}

.clear-filters,
.cookie-customize,
.footer-button {
  padding: 0;
  border: 0;
  color: var(--cyan);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.clear-filters:hover,
.cookie-customize:hover,
.footer-button:hover {
  color: var(--accent-light);
}

.ship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ship-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 42, 59, 0.78), rgba(7, 25, 37, 0.94));
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.ship-card:hover {
  transform: translateY(-7px);
  border-color: rgba(214, 173, 104, 0.44);
  box-shadow: var(--shadow);
}

.ship-image-wrap {
  position: relative;
  aspect-ratio: 1.45;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0b2534;
}

.ship-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 21, 34, 0.03) 20%, rgba(2, 10, 16, 0.72)),
    radial-gradient(circle at 70% 20%, rgba(214, 173, 104, 0.08), transparent 45%);
}

.ship-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 500ms ease, filter 500ms ease;
}

.ship-card:hover .ship-image-wrap img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.08);
}

.ship-type,
.ship-year,
.fiction-badge,
.modal-fiction-note {
  position: absolute;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: rgba(2, 13, 20, 0.58);
  font-size: 0.68rem;
  font-weight: 650;
}

.ship-type {
  left: 15px;
  top: 15px;
}

.ship-year {
  right: 15px;
  top: 15px;
  color: var(--accent-light);
}

.fiction-badge {
  left: 15px;
  bottom: 15px;
  color: #0b1519;
  border-color: var(--accent);
  background: var(--accent-light);
}

.ship-card-body {
  padding: 24px 23px 25px;
}

.ship-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--muted-2);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ship-card-topline p {
  margin: 0;
}

.ship-card-topline span {
  text-align: right;
}

.ship-card h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.ship-card-body > p {
  min-height: 86px;
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link {
  padding: 0;
  border: 0;
  color: var(--accent-light);
  background: transparent;
  font-size: 0.79rem;
  font-weight: 750;
  cursor: pointer;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

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

.empty-state {
  margin: 34px 0 0;
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.018);
}

.empty-state img {
  margin: 0 auto 14px;
  opacity: 0.8;
}

.empty-state h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.45rem;
}

.empty-state p {
  margin: 8px 0 20px;
  color: var(--muted);
}

.timeline-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 50%, rgba(22, 88, 107, 0.14), transparent 28rem),
    rgba(255, 255, 255, 0.012);
}

.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.timeline-track {
  position: absolute;
  left: 112px;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 44px;
  min-height: 150px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 106px;
  top: 12px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(214, 173, 104, 0.5), 0 0 20px rgba(214, 173, 104, 0.15);
}

.timeline-item time {
  color: var(--accent-light);
  font-family: var(--heading);
  font-size: 1.12rem;
  font-weight: 700;
}

.timeline-item > div {
  padding: 0 0 48px;
}

.timeline-item span {
  color: var(--muted-2);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 7px 0 8px;
  font-family: var(--heading);
  font-size: 1.5rem;
}

.timeline-item p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.story-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 80px;
  align-items: center;
}

.story-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #061b29;
  box-shadow: var(--shadow);
}

.story-visual img {
  width: 100%;
}

.story-depth {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(2, 12, 18, 0.7);
  backdrop-filter: blur(12px);
}

.story-depth strong {
  color: var(--accent-light);
  font-family: var(--heading);
  font-size: 1.35rem;
}

.story-depth span {
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.story-copy > p {
  max-width: 580px;
}

.story-copy .button {
  margin-top: 18px;
}

.principles-section {
  padding-top: 40px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.principle-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.028), transparent 58%),
    rgba(7, 26, 38, 0.55);
}

.principle-card > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 173, 104, 0.38);
  border-radius: 50%;
  color: var(--accent-light);
  font-size: 0.73rem;
  font-weight: 700;
}

.principle-card h3 {
  margin: 38px 0 12px;
  font-family: var(--heading);
  font-size: 1.25rem;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.newsletter-section {
  padding: 70px 0 120px;
}

.newsletter-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: center;
  padding: 62px;
  border: 1px solid rgba(214, 173, 104, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(214, 173, 104, 0.08), transparent 44%),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.newsletter-shell::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(120, 215, 222, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(120, 215, 222, 0.03), 0 0 0 80px rgba(120, 215, 222, 0.02);
}

.newsletter-shell > * {
  position: relative;
  z-index: 1;
}

.newsletter-section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.newsletter-form input {
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  outline: 0;
  color: #fff;
  background: rgba(3, 15, 23, 0.58);
}

.newsletter-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(120, 215, 222, 0.06);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 2px 10px 0;
  color: var(--cyan);
  font-size: 0.78rem;
}

.site-footer {
  padding: 62px 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.55fr 0.75fr 0.65fr;
  gap: 52px;
  align-items: end;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid > div:first-child > p {
  max-width: 410px;
  margin: 0;
  color: var(--muted-2);
  font-size: 0.84rem;
}

.footer-links,
.footer-legal {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-legal a,
.footer-button {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: left;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--accent-light);
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 5px 0;
  color: var(--muted-2);
  font-size: 0.76rem;
}

.ship-modal,
.cookie-dialog {
  width: min(930px, calc(100% - 30px));
  max-height: min(820px, calc(100vh - 30px));
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  color: var(--text);
  background: #071b28;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62);
}

.ship-modal::backdrop,
.cookie-dialog::backdrop {
  background: rgba(1, 7, 11, 0.8);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: sticky;
  float: right;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  margin: 14px 14px -56px 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  color: #fff;
  background: rgba(2, 11, 17, 0.72);
  backdrop-filter: blur(10px);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-visual {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--panel-solid);
}

.modal-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 10, 16, 0.62));
  pointer-events: none;
}

.modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-fiction-note {
  left: 24px;
  bottom: 22px;
  color: #0b1519;
  border-color: var(--accent);
  background: var(--accent-light);
}

.modal-content {
  padding: 42px;
}

.modal-content h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.modal-intro {
  max-width: 760px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 1rem;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.modal-specs div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.modal-specs dt {
  color: var(--muted-2);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-specs dd {
  margin: 7px 0 0;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 650;
}

.modal-story {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.modal-story h3 {
  margin: 0 0 10px;
  font-family: var(--heading);
}

.modal-story p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 45;
  width: min(calc(100% - 28px), 1120px);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(214, 173, 104, 0.38);
  border-radius: 24px;
  background: rgba(5, 23, 34, 0.96);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.cookie-ship-image {
  overflow: hidden;
  height: 124px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0a2b3c;
}

.cookie-ship-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cookie-copy h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.28rem;
}

.cookie-copy p {
  max-width: 630px;
  margin: 7px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.cookie-copy a {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
}

.cookie-kicker {
  margin-bottom: 5px;
  font-size: 0.62rem;
}

.cookie-actions {
  display: grid;
  gap: 9px;
  min-width: 180px;
}

.cookie-actions .button {
  min-height: 43px;
  font-size: 0.76rem;
}

.cookie-customize {
  padding: 4px;
  font-size: 0.75rem;
}

.cookie-dialog {
  width: min(680px, calc(100% - 30px));
  padding: 38px;
}

.cookie-dialog-close {
  margin: -21px -21px 0 0;
}

.cookie-dialog-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

.cookie-dialog-head img {
  flex: 0 0 auto;
  border-radius: 14px;
}

.cookie-dialog h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.cookie-dialog-intro {
  color: var(--muted);
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.cookie-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.024);
  cursor: pointer;
}

.cookie-option:has(input:disabled) {
  cursor: default;
}

.cookie-option span {
  display: grid;
}

.cookie-option strong {
  font-size: 0.88rem;
}

.cookie-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
}

.cookie-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-option i {
  position: relative;
  width: 44px;
  height: 25px;
  border-radius: 999px;
  background: #29404c;
  transition: background 180ms ease;
}

.cookie-option i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #d9e5e8;
  transition: transform 180ms ease;
}

.cookie-option input:checked + i {
  background: var(--accent);
}

.cookie-option input:checked + i::after {
  transform: translateX(19px);
  background: #07131a;
}

.cookie-option input:disabled + i {
  opacity: 0.72;
}

.cookie-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Legal pages */

.legal-page {
  background:
    radial-gradient(circle at 75% 7%, rgba(22, 86, 107, 0.2), transparent 32rem),
    linear-gradient(180deg, #071923, #020a10);
}

.legal-main {
  min-height: 100vh;
  padding: 150px 0 100px;
}

.legal-hero {
  max-width: 900px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-hero > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-warning {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(214, 173, 104, 0.42);
  border-radius: 14px;
  color: #ead6b2;
  background: rgba(214, 173, 104, 0.07);
  font-size: 0.84rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 70px;
  padding-top: 58px;
}

.legal-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  gap: 9px;
}

.legal-nav a {
  padding: 9px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-nav a:hover {
  color: var(--accent-light);
}

.legal-content {
  max-width: 800px;
}

.legal-section {
  scroll-margin-top: 110px;
  padding: 0 0 46px;
}

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

.legal-section h2 {
  margin: 0 0 16px;
  font-family: var(--heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.legal-section h3 {
  margin: 26px 0 8px;
  font-size: 1rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-section a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 22px;
  margin: 22px 0;
}

.legal-section dt {
  color: var(--muted-2);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-section dd {
  margin: 0;
  color: var(--text);
}

.credit-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.credit-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.placeholder {
  color: var(--accent-light);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 200ms;
}

@media (max-width: 1100px) {
  .archive-toolbar {
    grid-template-columns: 1fr;
  }

  .filter-group {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 1020px) {
  .hero {
    min-height: 820px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-caption {
    justify-self: start;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2, 12, 19, 0.97), rgba(3, 15, 23, 0.66) 60%, rgba(2, 11, 18, 0.5)),
      linear-gradient(180deg, rgba(2, 10, 17, 0.16), rgba(2, 10, 17, 0.9) 92%);
  }

  .intro-grid {
    grid-template-columns: 1fr 1.8fr;
  }

  .intro-grid > p:last-child {
    grid-column: 2;
  }

  .ship-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .story-copy {
    max-width: 760px;
  }

  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cookie-banner {
    grid-template-columns: 140px 1fr;
  }

  .cookie-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(3, 14, 22, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 180ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .legal-header-nav {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .legal-header-nav a,
  .legal-header-nav button {
    padding: 8px;
    white-space: nowrap;
  }

  .primary-nav a {
    padding: 12px;
  }

  .primary-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: 820px;
    padding: 125px 0 90px;
  }

  .hero-photo img {
    object-position: 55% center;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .hero-stats {
    gap: 26px;
  }

  .hero-stats div + div::before {
    left: -13px;
  }

  .section {
    padding: 84px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .intro-grid > p:last-child {
    grid-column: auto;
  }

  .section-heading {
    display: grid;
    gap: 20px;
  }

  .section-heading > p {
    text-align: left;
  }

  .ship-grid {
    grid-template-columns: 1fr;
  }

  .ship-card-body > p {
    min-height: auto;
  }

  .timeline-track {
    left: 72px;
  }

  .timeline-item {
    grid-template-columns: 70px 1fr;
    gap: 30px;
  }

  .timeline-item::before {
    left: 66px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: auto;
  }

  .newsletter-shell {
    padding: 38px 24px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .modal-visual {
    height: 260px;
  }

  .modal-content {
    padding: 30px 22px;
  }

  .modal-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }

  .cookie-ship-image {
    height: 96px;
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-customize {
    grid-column: 1 / -1;
  }

  .cookie-dialog {
    padding: 28px 20px;
  }

  .cookie-dialog-head img {
    width: 88px;
  }

  .legal-main {
    padding-top: 120px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
  }
}

@media (max-width: 500px) {
  .legal-header-nav a {
    display: none;
  }

  .legal-header-nav button {
    font-size: 0.72rem;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-stats div + div::before {
    display: none;
  }

  .hero-stats dt {
    font-size: 1.08rem;
  }

  .hero-stats dd {
    font-size: 0.62rem;
  }

  .ship-card-topline {
    display: grid;
  }

  .ship-card-topline span {
    text-align: left;
  }

  .timeline-track {
    left: 14px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 42px;
  }

  .timeline-item::before {
    left: 8px;
  }

  .timeline-item > div {
    padding-bottom: 42px;
  }

  .story-depth {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .story-depth span {
    text-align: left;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    bottom: 10px;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    overflow: auto;
  }

  .cookie-ship-image {
    height: 100px;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .cookie-customize {
    grid-column: auto;
  }

  .cookie-dialog-actions {
    flex-direction: column-reverse;
  }

  .legal-section dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
