@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy-950: #071820;
  --navy-900: #0b1f2a;
  --navy-800: #133342;
  --navy-700: #245264;
  --cream: #e5ecea;
  --cream-soft: #d7e1de;
  --fog: #b8c7cc;
  --sea-glass: #8eb5a8;
  --sea-glass-bright: #b9d4c9;
  --rust: #8f452a;
  --brass: #c49a5c;
  --line-dark: rgb(7 24 32 / 18%);
  --line-light: rgb(243 239 228 / 20%);
  --focus: #f5c66d;
  --display: "Fraunces", serif;
  --body: "Manrope", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--sea-glass) var(--navy-950);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--cream);
  color: var(--navy-950);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--rust);
  color: #fff;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--navy-950);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  translate: 0 -150%;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--navy-950);
  border-radius: 999px;
  transition: translate 180ms ease;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--cream);
  border-bottom: 1px solid rgb(243 239 228 / 18%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-mark {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 3.5;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  background: var(--sea-glass-bright);
  content: "";
  scale: 0 1;
  transform-origin: left;
  transition: scale 240ms var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  scale: 1;
}

.x-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.x-link svg {
  width: 19px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy-900);
  background-image: url("assets/dockyard-harbor-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--cream);
  padding-bottom: 76px;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgb(5 18 25 / 62%) 0%, rgb(5 18 25 / 20%) 42%, rgb(5 18 25 / 65%) 100%),
    linear-gradient(90deg, rgb(5 18 25 / 40%) 0%, transparent 28%, transparent 72%, rgb(5 18 25 / 35%) 100%);
}

.hero-mist {
  position: absolute;
  inset: 48% -10% -20%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgb(185 212 201 / 13%), transparent 72%);
  filter: blur(24px);
  opacity: 0.75;
  transform: translate3d(0, 0, 0);
  animation: tide-breathe 12s ease-in-out infinite alternate;
}

.hero-copy {
  align-self: start;
  max-width: 900px;
  margin-top: clamp(140px, 17vh, 190px);
  padding: 0 24px;
  text-align: center;
  text-shadow: 0 3px 28px rgb(0 0 0 / 32%);
}

.hero h1,
.manifest h2,
.route h2,
.launch-dock h2,
.bearings h2,
.status h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(3.4rem, 8vw, 6rem);
}

.hero-copy > p {
  max-width: 680px;
  margin: 24px auto 0;
  color: #f2f0e9;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.helm {
  position: absolute;
  top: 58%;
  left: 50%;
  display: grid;
  width: clamp(178px, 16vw, 220px);
  height: clamp(178px, 16vw, 220px);
  padding: 0;
  place-items: center;
  translate: -50% -50%;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  filter: drop-shadow(0 18px 28px rgb(0 0 0 / 36%));
}

.helm-wheel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: rgb(10 31 42 / 72%);
  stroke: var(--brass);
  stroke-linecap: round;
  stroke-width: 6;
  transition: rotate 700ms var(--ease-out), filter 300ms ease;
}

.helm-spokes circle:first-of-type {
  fill: rgb(11 31 42 / 74%);
  stroke-width: 8;
}

.helm-spokes circle:last-of-type {
  fill: rgb(9 24 32 / 88%);
  stroke: rgb(243 239 228 / 54%);
  stroke-width: 1.5;
}

.helm-label {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  max-width: 112px;
  line-height: 1.25;
}

.helm-label small {
  margin-bottom: 5px;
  color: var(--fog);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.helm-label strong {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.helm-label svg {
  width: 22px;
  margin-top: 9px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.helm:hover .helm-wheel {
  rotate: 18deg;
  filter: brightness(1.12);
}

.helm:active {
  scale: 0.98;
}

.hero-foot {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 28px;
  left: clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgb(243 239 228 / 28%);
  color: rgb(243 239 228 / 76%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-dark {
  background: var(--navy-950);
  color: var(--cream);
}

.manifest {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  min-height: 760px;
  padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 112px);
  gap: clamp(56px, 9vw, 150px);
  align-items: center;
  background:
    radial-gradient(circle at 8% 22%, rgb(142 181 168 / 12%), transparent 36%),
    linear-gradient(135deg, var(--navy-950), #0e2b38 58%, var(--navy-950));
}

.section-label {
  margin: 0 0 26px;
  color: var(--sea-glass-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label::after {
  display: inline-block;
  width: 54px;
  height: 1px;
  margin: 0 0 3px 15px;
  background: currentColor;
  content: "";
}

.manifest h2,
.launch-dock h2 {
  font-size: clamp(3rem, 5.3vw, 5.4rem);
}

.lede,
.dock-copy > p,
.bearings-copy > p {
  max-width: 62ch;
  margin: 34px 0 0;
  color: var(--fog);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.manifest-plate {
  position: relative;
  padding: clamp(30px, 4vw, 54px);
  color: #e6e6dc;
  background:
    linear-gradient(130deg, rgb(255 255 255 / 5%), transparent 36%),
    #173d42;
  border-radius: 14px;
  box-shadow: 16px 24px 70px rgb(0 0 0 / 28%);
}

.manifest-plate::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgb(196 154 92 / 46%);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.plate-screws i {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: inset 1px 1px 2px rgb(255 255 255 / 35%);
}

.plate-screws i:nth-child(1) { top: 19px; left: 19px; }
.plate-screws i:nth-child(2) { top: 19px; right: 19px; }
.plate-screws i:nth-child(3) { right: 19px; bottom: 19px; }
.plate-screws i:nth-child(4) { bottom: 19px; left: 19px; }

.plate-heading,
.plate-signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plate-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid rgb(230 230 220 / 22%);
}

.plate-heading b {
  color: var(--brass);
  font-weight: 700;
}

.manifest-list {
  margin: 10px 0 32px;
}

.manifest-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  padding: 20px 0;
  gap: 26px;
  border-bottom: 1px solid rgb(230 230 220 / 14%);
}

.manifest-list dt {
  color: var(--sea-glass-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifest-list dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.plate-signoff {
  align-items: end;
  color: var(--fog);
}

.plate-signoff svg {
  width: 60px;
  fill: none;
  stroke: var(--sea-glass-bright);
  stroke-width: 2.5;
}

.route {
  min-height: 850px;
  padding: clamp(90px, 11vw, 160px) clamp(24px, 7vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 5%, rgb(142 181 168 / 28%), transparent 38%),
    linear-gradient(180deg, #dce4e3 0%, var(--cream) 46%, #d7dfdc 100%);
}

.route-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) 1fr;
  gap: 50px;
  align-items: end;
}

.route-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--navy-700);
}

.route h2,
.bearings h2 {
  font-size: clamp(3rem, 5.8vw, 5.7rem);
}

.route-heading > p:last-child {
  justify-self: end;
  max-width: 36ch;
  margin: 0 0 8px;
  color: var(--navy-700);
  font-size: 1.05rem;
}

.route-chart {
  position: relative;
  min-height: 390px;
  margin-top: 90px;
}

.route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 270px;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-width: 2;
}

.route-shadow {
  stroke: rgb(11 31 42 / 20%);
  stroke-dasharray: 4 11;
}

.route-progress {
  stroke: var(--rust);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  path-length: 1;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}

.route-chart.is-visible .route-progress {
  stroke-dashoffset: 0.61;
}

.route-stops {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 310px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-stops li {
  position: relative;
  align-self: start;
  max-width: 210px;
}

.route-stops li:nth-child(1) { margin-top: 176px; }
.route-stops li:nth-child(2) { margin-top: 52px; }
.route-stops li:nth-child(3) { margin-top: 87px; }
.route-stops li:nth-child(4) { justify-self: end; margin-top: 155px; }

.route-beacon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--navy-700);
  border-radius: 50%;
  background: var(--cream);
}

.route-beacon i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy-700);
}

.route-stops .is-current .route-beacon i {
  background: var(--rust);
  outline: 7px solid rgb(143 69 42 / 17%);
}

.route-stops b,
.route-stops small,
.route-stops em {
  display: block;
}

.route-stops b {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-stops small {
  min-height: 44px;
  margin-top: 7px;
  color: var(--navy-700);
  line-height: 1.45;
}

.route-stops em {
  margin-top: 13px;
  color: var(--rust);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-dock {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr);
  min-height: 860px;
  padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 112px);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  background:
    radial-gradient(circle at 76% 50%, rgb(142 181 168 / 16%), transparent 38%),
    linear-gradient(135deg, #06151d, var(--navy-900));
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  margin-top: 34px;
  padding-bottom: 3px;
  align-items: center;
  color: var(--cream);
  text-decoration-color: var(--sea-glass);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  font-weight: 700;
}

.launch-orbit {
  position: relative;
  display: grid;
  width: min(620px, 100%);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgb(185 212 201 / 24%);
  border-radius: 50%;
}

.orbit-ring-one { inset: 8%; }
.orbit-ring-two { inset: 23%; border-style: dashed; }

.launch-buoy {
  position: relative;
  z-index: 3;
  display: grid;
  width: 230px;
  height: 230px;
  padding: 34px;
  place-items: center;
  align-content: center;
  color: var(--cream);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 9%), transparent 35%),
    var(--rust);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 26px 70px rgb(0 0 0 / 35%);
  cursor: not-allowed;
}

.launch-buoy::before,
.launch-buoy::after {
  position: absolute;
  inset: 15px;
  border: 1px solid rgb(243 239 228 / 42%);
  border-radius: 50%;
  content: "";
}

.launch-buoy::after {
  inset: -8px;
  border-color: rgb(196 154 92 / 42%);
  border-style: dashed;
}

.launch-buoy svg {
  width: 36px;
  margin-bottom: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.launch-buoy strong,
.launch-buoy small {
  display: block;
}

.launch-buoy strong {
  font-size: 1rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.launch-buoy small {
  margin-top: 7px;
  color: var(--cream);
}

.buoy-light {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 16px;
  height: 16px;
  translate: -50%;
  border: 4px solid var(--navy-950);
  border-radius: 50%;
  background: var(--brass);
  outline: 5px solid rgb(196 154 92 / 15%);
}

.orbit-action {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 124px;
  height: 124px;
  padding: 15px;
  place-items: center;
  align-content: center;
  color: var(--cream);
  background: var(--navy-800);
  border: 1px solid rgb(185 212 201 / 36%);
  border-radius: 50%;
  cursor: not-allowed;
  transition: border-color 200ms ease, background 200ms ease;
}

.orbit-action:hover {
  border-color: var(--brass);
  background: #183e4b;
}

.orbit-action span,
.orbit-action small {
  display: block;
}

.orbit-action span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-action small {
  margin-top: 6px;
  color: var(--fog);
  font-size: 0.7rem;
}

.action-stonk { top: 2%; left: 18%; }
.action-ca { right: 0; top: 40%; }
.action-scan { bottom: 1%; left: 15%; }

.bearings {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 112px);
  gap: clamp(50px, 9vw, 150px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 80%, rgb(183 99 61 / 12%), transparent 34%),
    var(--cream);
}

.bearings-copy .section-label {
  color: var(--navy-700);
}

.bearings-copy > p {
  color: var(--navy-700);
}

.bearing-list {
  border-top: 1px solid var(--line-dark);
}

.bearing-list > a,
.bearing-list > button {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  width: 100%;
  min-height: 112px;
  padding: 22px 0;
  gap: 24px;
  align-items: center;
  color: var(--navy-950);
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
}

.bearing-list > a {
  cursor: pointer;
}

.bearing-list > button {
  cursor: not-allowed;
}

.bearing-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--cream);
  background: var(--navy-800);
  border-radius: 50%;
  font-weight: 700;
}

.bearing-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.bearing-list b,
.bearing-list small {
  display: block;
}

.bearing-list b {
  font-size: 1rem;
}

.bearing-list small {
  margin-top: 4px;
  color: var(--navy-700);
}

.bearing-list > a > svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: translate 180ms ease;
}

.bearing-list > a:hover > svg {
  translate: 4px -4px;
}

.bearing-list i {
  color: var(--rust);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 80px clamp(24px, 7vw, 112px);
  gap: 80px;
  align-items: center;
  color: var(--cream);
  background: var(--rust);
}

.status > div {
  position: relative;
  padding-left: 50px;
}

.status-light {
  position: absolute;
  top: 10px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--navy-950);
  outline: 8px solid rgb(7 24 32 / 14%);
}

.status .section-label {
  margin-bottom: 10px;
  color: var(--cream);
}

.status h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.status > p {
  max-width: 66ch;
  margin: 0;
  font-size: 1rem;
}

.status a {
  font-weight: 700;
  text-underline-offset: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 64px clamp(24px, 7vw, 112px) 34px;
  align-items: center;
  color: var(--cream);
  background: var(--navy-950);
}

.site-footer p {
  margin: 0;
  color: var(--sea-glass-bright);
}

.site-footer small {
  grid-column: 1 / -1;
  margin-top: 46px;
  padding-top: 20px;
  color: var(--fog);
  border-top: 1px solid var(--line-light);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: 360px;
  padding: 15px 18px;
  color: var(--cream);
  background: var(--navy-800);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgb(0 0 0 / 24%);
  opacity: 0;
  pointer-events: none;
  translate: 0 18px;
  transition: opacity 220ms ease, translate 320ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  translate: 0;
}

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

.js .reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: transform 850ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes tide-breathe {
  from { translate: -2% 1%; scale: 1; }
  to { translate: 2% -1%; scale: 1.04; }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 22px;
    align-items: stretch;
    color: var(--cream);
    background: var(--navy-900);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgb(0 0 0 / 30%);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 46px;
    padding: 12px 4px;
  }

  .x-link {
    display: none;
  }

  .nav-toggle {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    justify-self: end;
    color: var(--cream);
    background: transparent;
    border: 1px solid rgb(243 239 228 / 38%);
    border-radius: 50%;
  }

  .nav-toggle span {
    position: absolute;
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: rotate 200ms ease, translate 200ms ease;
  }

  .nav-toggle span:first-child { translate: 0 -4px; }
  .nav-toggle span:last-child { translate: 0 4px; }
  .nav-toggle[aria-expanded="true"] span:first-child { translate: 0; rotate: 45deg; }
  .nav-toggle[aria-expanded="true"] span:last-child { translate: 0; rotate: -45deg; }

  .manifest,
  .launch-dock,
  .bearings {
    grid-template-columns: 1fr;
  }

  .manifest {
    min-height: auto;
  }

  .manifest-plate {
    max-width: 760px;
  }

  .launch-orbit {
    max-width: 590px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
    padding-inline: 18px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 31px;
  }

  .hero {
    min-height: 820px;
    background-position: 57% center;
  }

  .hero-copy {
    align-self: start;
    margin-top: 130px;
  }

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

  .hero-copy > p br {
    display: none;
  }

  .helm {
    top: 61%;
  }

  .hero-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    font-size: 0.7rem;
  }

  .hero-foot span:last-child {
    grid-column: 1 / -1;
  }

  .manifest,
  .route,
  .launch-dock,
  .bearings {
    padding: 84px 22px;
  }

  .manifest h2,
  .route h2,
  .launch-dock h2,
  .bearings h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .manifest-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .route {
    min-height: auto;
  }

  .route-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .route-heading > p:last-child {
    justify-self: start;
  }

  .route-chart {
    min-height: auto;
    margin-top: 58px;
  }

  .route-line {
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
  }

  .route-line path {
    display: none;
  }

  .route-stops {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding-left: 0;
  }

  .route-stops li,
  .route-stops li:nth-child(n) {
    display: grid;
    grid-template-columns: 54px 1fr;
    max-width: none;
    margin: 0;
    align-items: start;
  }

  .route-stops li::before {
    position: absolute;
    top: 38px;
    bottom: -38px;
    left: 20px;
    width: 1px;
    background: var(--line-dark);
    content: "";
  }

  .route-stops li:last-child::before {
    display: none;
  }

  .route-beacon {
    grid-row: 1 / 5;
    width: 42px;
  }

  .route-stops small {
    min-height: auto;
  }

  .launch-orbit {
    width: 100%;
    min-width: 0;
  }

  .launch-buoy {
    width: 180px;
    height: 180px;
    padding: 24px;
  }

  .orbit-action {
    width: 96px;
    height: 96px;
  }

  .action-stonk { top: 1%; left: 7%; }
  .action-ca { right: -4px; top: 42%; }
  .action-scan { bottom: 0; left: 5%; }

  .bearing-list > a,
  .bearing-list > button {
    grid-template-columns: 52px 1fr auto;
    gap: 16px;
  }

  .bearing-icon {
    width: 48px;
    height: 48px;
  }

  .status {
    grid-template-columns: 1fr;
    padding: 70px 22px;
    gap: 36px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-inline: 22px;
  }

  .site-footer small {
    grid-column: 1;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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