:root {
  --black: #070705;
  --ink: #12110e;
  --gold: #c6a15b;
  --gold-bright: #e4c98a;
  --gold-deep: #8a6a32;
  --ivory: #f4efe6;
  --paper: #f7f4ee;
  --muted: #b7ad9c;
  --line: rgba(198, 161, 91, 0.35);
  --line-soft: rgba(244, 239, 230, 0.14);
  --good: #d8f5e4;
  --good-ink: #145c38;
  --warn: #ffe3b8;
  --warn-ink: #6a4108;
  --bad: #ffd4dc;
  --bad-ink: #8d2038;
  --serif: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --sans: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --label: "Cinzel", "Palatino Linotype", serif;
  --mono: "Newsreader", "Iowan Old Style", Georgia, serif;
  --header: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: 1.12rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--black);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold-bright);
  z-index: 30;
}

.eyebrow {
  font-family: var(--label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: var(--header);
  padding: 0.75rem 1.6rem;
  background: rgba(7, 7, 5, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand strong { white-space: nowrap; }

.brand-mark {
  height: 64px;
  width: auto;
  display: block;
  flex: none;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 0.15rem;
  color: var(--gold);
  font-family: var(--label);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 1.25rem; }
.nav-links a {
  text-decoration: none;
  color: var(--ivory);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold-bright); }

.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
}

.header-call {
  border-color: var(--gold);
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.header-call:hover { background: var(--gold); color: var(--black); }

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 6vw 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 5, 0.88) 0%, rgba(7, 7, 5, 0.62) 46%, rgba(7, 7, 5, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 7, 5, 0.25), transparent 28%, rgba(7, 7, 5, 0.55)),
    url("../assets/hero-gold.jpg") center 58% / cover no-repeat;
}

.hero-copy { position: relative; z-index: 1; max-width: 40rem; }

.hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  max-width: 11ch;
  color: var(--ivory);
}

.lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}
.btn-primary:hover { background: var(--gold-bright); }

.btn-ghost, .btn-line {
  border-color: rgba(228, 201, 138, 0.55);
  color: var(--ivory);
}
.btn-ghost:hover, .btn-line:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  padding: 1.4rem 0 0;
  margin: 1.6rem 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.hero-facts span {
  display: block;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.66rem;
  margin-bottom: 0.25rem;
}

.cabin, .missions, .fleet, .fields, .about, .contact, .desk {
  padding: 5.2rem 6vw;
}

.cabin {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: end;
  background: #0c0b09;
}

.cabin h2, .section-head h2, .about h2, .contact h2 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.cabin .lede { color: var(--muted); }

.cabin-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 0.8rem;
  align-items: stretch;
}

.cabin-grid figure { margin: 0; }
.cabin-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  max-height: 560px;
}

.section-head { max-width: 40rem; margin-bottom: 2rem; }
.dek { max-width: 40rem; color: var(--muted); margin-top: 0.8rem; }

.missions { background: var(--black); }

.mission-grid, .fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mission-card, .fleet-card {
  border: 1px solid var(--line-soft);
  background: #100f0c;
  padding: 1.4rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 100%;
}

.mission-card h3, .fleet-card h3 {
  font-size: 2.1rem;
  color: var(--ivory);
}

.mission-card p, .fleet-card p { color: var(--muted); }

.mission-card ul, .steps { margin: 0; padding-left: 1.1rem; color: var(--ivory); }
.mission-card li + li, .steps li + li { margin-top: 0.35rem; }

.index {
  font-family: var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0;
}

.mission-card button, .fleet-card button {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}
.mission-card button:hover, .fleet-card button:hover,
.mission-card button[aria-pressed="true"],
.fleet-card button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--black);
}

.mission-card-quiet {
  background: linear-gradient(180deg, #16140f, #0c0b09);
  border-color: var(--line);
}

.desk {
  background:
    radial-gradient(800px 380px at 0% 0%, rgba(198, 161, 91, 0.16), transparent 55%),
    #0c0b09;
}

.samples { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.samples button {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}
.samples button:hover { background: var(--gold); color: var(--black); }

.prefer-note {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gold-bright);
  margin: 0 0 1rem;
}

.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.2rem;
  align-items: start;
}

.mission-form, .contact-card {
  background: var(--ivory);
  color: var(--ink);
  padding: 1.25rem;
}

fieldset { border: 0; margin: 0; padding: 0; }
legend {
  font-family: var(--label);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}
.segmented label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(18, 17, 14, 0.16);
  border-radius: 999px;
  padding: 0.5rem 0.4rem;
  background: white;
  cursor: pointer;
  text-align: center;
}
.segmented input { accent-color: var(--gold-deep); }
.segmented label:has(input:checked) {
  background: var(--black);
  color: var(--gold-bright);
  border-color: var(--black);
}

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.field { position: relative; margin-bottom: 0.7rem; }
.field label, .check { display: block; font-size: 0.86rem; margin-bottom: 0.25rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid rgba(18, 17, 14, 0.16);
  background: white;
  border-radius: 0;
  padding: 0.7rem 0.75rem;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.check { display: flex; align-items: center; gap: 0.5rem; margin: 0.2rem 0 0.9rem; }

.combo-list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% - 0.4rem);
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: white;
  border: 1px solid rgba(18, 17, 14, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  max-height: 260px;
  overflow: auto;
}
.combo-list li { padding: 0.45rem 0.55rem; cursor: pointer; }
.combo-list li span { font-family: var(--mono); font-size: 0.82rem; }
.combo-list small { display: block; color: #5c564c; font-size: 0.78rem; }
.combo-list li.is-active, .combo-list li:hover { background: #f3ead6; }

.release-wrap { position: sticky; top: calc(var(--header) + 12px); }
.desk-status {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--gold-bright);
  min-height: 2.4em;
  margin: 0 0 0.6rem;
}

.release {
  position: relative;
  background: #14120e;
  color: var(--ivory);
  border: 1px solid var(--line);
  padding: 1.4rem 1.15rem 1.3rem;
  min-height: 280px;
  overflow: hidden;
}
.release h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  font-size: 1.7rem;
}
.release-kicker, .release-also {
  font-family: var(--label);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.45rem;
}
.release-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.release-route { color: var(--muted); margin: 0.35rem 0 0.8rem; }
.release-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: 0 0 0.8rem;
}
.release-stats div {
  border: 1px solid var(--line-soft);
  padding: 0.55rem;
}
.release-stats dt {
  font-family: var(--label);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.release-stats dd { margin: 0.2rem 0 0; }
.release-stats span, .release-note, .release-empty {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}
.release-reason { margin-bottom: 0.6rem; }
.release-flags, .release-alts { margin: 0 0 0.7rem; padding-left: 1.1rem; }
.release-flags { color: var(--warn); }

.chip {
  font-family: var(--label);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
}
.chip-good { background: var(--good); color: var(--good-ink); }
.chip-warn { background: var(--warn); color: var(--warn-ink); }
.chip-bad { background: var(--bad); color: var(--bad-ink); }

.stamp {
  position: absolute;
  right: 14px;
  bottom: 14px;
  margin: 0;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.62rem;
  padding: 0.28rem 0.4rem;
  transform: rotate(-8deg);
}

.release-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }

.fleet { background: #0c0b09; }
.fleet-card dl { display: grid; gap: 0.35rem; margin: 0; }
.fleet-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 0.35rem;
}
.fleet-card dt { color: var(--muted); }
.fleet-card dd { margin: 0; }
.fleet-card-hot {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
.fleet-card-hot p, .fleet-card-hot dt { color: #5c564c; }
.fleet-card-hot h3, .fleet-card-hot .index { color: var(--ink); }
.fleet-card-hot .index { color: var(--gold-deep); }
.fleet-card-hot dl div { border-top-color: rgba(18, 17, 14, 0.12); }
.fleet-card-hot button { border-color: var(--ink); color: var(--ink); }

.fields { background: var(--black); }
.fields-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.schematic {
  margin: 0;
  background: #100f0c;
  border: 1px solid var(--line-soft);
  padding: 0.8rem 0.8rem 0.2rem;
}
.schematic figcaption {
  font-family: var(--label);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.3rem 0.4rem 0;
}
.lake { fill: rgba(198, 161, 91, 0.28); }
.lake-label {
  fill: var(--gold-bright);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dot circle { fill: var(--ivory); }
.dot circle.home { fill: var(--gold); }
.dot text { fill: var(--ivory); font-family: var(--sans); font-size: 14px; }
.steps li { margin-bottom: 0.7rem; }

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  background: #0c0b09;
  border-top: 1px solid var(--line-soft);
}
.about p { margin-top: 0.9rem; color: var(--muted); }
blockquote { margin: 1.4rem 0 0; padding: 0; border: 0; }
blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.28;
  color: var(--ivory);
}

.about-crest {
  width: min(100%, 440px);
  height: auto;
  margin: 0 0 1.6rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--ivory);
  color: var(--ink);
}
.contact .eyebrow { color: var(--gold-deep); }
.contact .dek { color: #5c564c; }
.contact-card { display: grid; gap: 0.7rem; font-style: normal; }
.contact-phone {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-decoration: none;
  color: var(--ink);
}
.map-link { font-weight: 600; color: var(--gold-deep); }

.site-footer {
  background: var(--black);
  color: var(--muted);
  padding: 2rem 6vw 2.4rem;
  display: grid;
  gap: 0.4rem;
  border-top: 1px solid var(--line-soft);
}
.footer-meta {
  font-family: var(--label);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

::selection { background: var(--gold); color: var(--black); }

section[id] { scroll-margin-top: 108px; }

@media (max-width: 980px) {
  .cabin, .mission-grid, .fleet-grid, .desk-grid, .fields-layout, .about, .contact, .cabin-grid {
    grid-template-columns: 1fr;
  }
  .release-wrap { position: static; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #0c0b09;
    padding: 0.4rem 1.2rem 1rem;
  }
  .nav-links a { padding: 0.75rem 0; border-top: 1px solid var(--line-soft); }
  .nav-links.is-open { display: flex; }
}

@media (max-width: 720px) {
  .site-header { gap: 0.55rem; padding: 0.55rem 0.8rem; }
  .brand span { display: none; }
  .brand-mark { height: 52px; }
  .header-call { white-space: nowrap; padding: 0.5rem 0.7rem; }
}

@media (max-width: 640px) {
  .pair, .segmented, .release-stats { grid-template-columns: 1fr; }
  .hero { padding: 2.4rem 1.2rem 2.2rem; }
  .hero h1 { font-size: 3.2rem; }
  .cabin, .missions, .fleet, .fields, .about, .contact, .desk { padding: 3.4rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress { display: none; }
}
