:root {
  --paper: #f2eddd;
  --paper-soft: #f7f2e4;
  --white: #fbf8ee;
  --ink: #22282b;
  --gray: #5b5f5c;
  --mag: #a83e63;
  --teal: #3f7f8a;
  --line: #c2b9a4;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(194, 185, 164, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(194, 185, 164, 0.16) 1px, transparent 1px);
  background-size: 160px 160px;
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--mag);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: 1256px;
  margin: 0 auto;
  padding: 0 28px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 237, 221, 0.97);
  border-bottom: 1px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  width: 12px;
  height: 12px;
  background: var(--mag);
  position: relative;
  flex: 0 0 12px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--paper);
}

.brand-name {
  display: block;
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-size: 27px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--mag);
  border-bottom-color: var(--mag);
}

.main-nav a.is-current {
  border-bottom-color: var(--mag);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--mag);
  color: var(--white);
  border: 1px solid var(--mag);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* explicit overrides: .main-nav a (0-1-1) must not repaint the button */
.main-nav a.btn {
  color: var(--white);
  background: var(--mag);
  border: 1px solid var(--mag);
  padding: 13px 20px;
}

.main-nav a.btn:hover,
.main-nav a.btn:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

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

.hero { padding: 46px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.hero-copy {
  grid-column: 1 / 6;
  padding-top: 16px;
  min-width: 0;
}

.kicker-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 24px;
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 7.4vw, 96px);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.lead {
  max-width: 36ch;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.65;
}

.hero-cta { margin-bottom: 28px; }

.legend {
  width: 220px;
  border: 1px solid var(--ink);
  background: rgba(247, 242, 228, 0.62);
}

.legend-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-top: 1px dashed var(--line);
}

.legend-row:first-child { border-top: 0; }

.legend-row span {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legend-row b {
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.04em;
}

.hero-figure {
  position: relative;
  grid-column: 7 / 13;
  justify-self: end;
  min-width: 0;
}

.hero-figure img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  height: min(72vh, 740px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1px solid var(--ink);
}

.arc {
  position: absolute;
  z-index: 1;
  top: -92px;
  right: -78px;
  width: 320px;
  height: 320px;
  border: 1px solid transparent;
  border-top-color: var(--teal);
  border-right-color: var(--teal);
  border-radius: 50%;
  transform: rotate(-10deg);
  pointer-events: none;
}

.corner {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border: 0 solid var(--ink);
  pointer-events: none;
}

.corner.tl { top: -6px; left: -6px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: -6px; right: -6px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: -6px; left: -6px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: -6px; right: -6px; border-bottom-width: 1px; border-right-width: 1px; }

.compass {
  position: absolute;
  left: -52px;
  top: 26px;
  z-index: 3;
  width: 34px;
  height: 44px;
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
  pointer-events: none;
}

.compass::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  width: 1px;
  height: 24px;
  background: var(--ink);
}

.compass::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 27px;
  width: 20px;
  height: 1px;
  background: var(--ink);
}

/* ---------- section frame ---------- */

.sec { padding-top: 56px; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}

.sec-no {
  color: var(--mag);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sec-head h2 {
  margin: 0;
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.sec-note {
  margin-left: auto;
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-lead {
  max-width: 64ch;
  margin: 18px 0 0;
}

/* ---------- 01 partners ---------- */

.freq-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink);
  border-top: 0;
  background: rgba(247, 242, 228, 0.45);
}

.freq {
  display: grid;
  grid-template-columns: 30px 250px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
}

.freq:nth-child(odd) { border-right: 1px dashed var(--line); }
.freq:nth-last-child(-n+2) { border-bottom: 0; }

.freq-no {
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-size: 19px;
  color: var(--mag);
  letter-spacing: 0.06em;
}

.freq-logo {
  width: 250px;
  height: 150px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.freq-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.freq-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.freq:hover .freq-name { color: var(--mag); }

/* ---------- 02 quick profile ---------- */

.plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ink);
  border-top: 0;
  background: rgba(247, 242, 228, 0.45);
}

.plan-col {
  padding: 18px 22px 16px;
  border-left: 1px solid var(--ink);
  min-width: 0;
}

.plan-col:first-child { border-left: 0; }

.plan-code {
  margin-bottom: 4px;
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.plan-col h3 {
  margin: 0 0 10px;
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.plan dl { margin: 0; }

.plan .row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
}

.plan .row:first-child { border-top: 0; }

.plan dt {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.plan dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

/* ---------- 03 about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  gap: 56px;
  padding-top: 26px;
  align-items: start;
}

.about-figure {
  position: relative;
  min-width: 0;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid var(--ink);
}

.fig-legend {
  position: absolute;
  right: -18px;
  bottom: 18px;
  max-width: 190px;
  padding: 7px 10px;
  background: var(--paper);
  border: 1px solid var(--ink);
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.about-text p {
  max-width: 62ch;
  margin: 0 0 16px;
}

.about-text p:first-child { margin-top: -4px; }

.mark {
  color: var(--mag);
  font-weight: 700;
}

.callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
}

.callout {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.callout::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--mag);
  flex: 0 0 6px;
}

/* ---------- 04 flight log ---------- */

.flightlog {
  position: relative;
  margin-top: 34px;
  padding: 96px 4px 0;
  border-bottom: 1px solid var(--ink);
}

.alt {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 6px;
  height: 44px;
}

.alt svg {
  display: block;
  width: 100%;
  height: 44px;
}

.log-track {
  display: flex;
  border-top: 1px solid var(--ink);
}

.log-point {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 8px 18px;
  text-align: center;
}

.log-point::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 14px;
  background: var(--line);
}

.dot {
  position: absolute;
  left: 50%;
  top: -4px;
  z-index: 2;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--mag);
}

.log-label {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: calc(100% + 16px);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.log-year {
  display: block;
  margin-top: 14px;
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-size: 23px;
  letter-spacing: 0.04em;
  color: var(--mag);
  line-height: 1;
}

/* ---------- 05 gallery ---------- */

.gallery-plate {
  max-width: 800px;
  margin: 26px auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--ink);
}

.gallery-grid img:nth-child(1) { object-position: 50% 15%; }
.gallery-grid img:nth-child(4) { object-position: 50% 25%; }

.gallery-wide {
  width: 560px;
  max-width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: 50% 15%;
  border: 1px solid var(--ink);
  margin: 14px auto 0;
}

.scalebar {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 6px;
  margin-top: 14px;
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.scalebar .bar {
  position: relative;
  width: 120px;
  height: 8px;
  border-top: 1px solid var(--ink);
}

.scalebar .bar::before,
.scalebar .bar::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 1px;
  height: 6px;
  background: var(--ink);
}

.scalebar .bar::before { left: 0; }
.scalebar .bar::after { right: 0; }

/* ---------- 06 social ---------- */

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
  padding-top: 8px;
}

.social-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
}

.social-row .plat {
  flex: 0 0 84px;
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-row .leader {
  flex: 1 1 auto;
  min-width: 12px;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
}

.social-row .handle {
  font-size: 15px;
  line-height: 1.4;
}

.social-row:hover .handle { color: var(--mag); }

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

.site-footer {
  margin-top: 84px;
  border-top: 1px solid var(--ink);
  background: rgba(247, 242, 228, 0.38);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: center;
}

.footer-col {
  padding: 24px 26px;
  border-left: 1px solid var(--ink);
  min-width: 0;
}

.footer-col:first-child { border-left: 0; padding-left: 0; }
.footer-col:last-child { text-align: right; }

.footer-brand {
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-tag {
  margin-top: 6px;
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-label {
  margin-bottom: 7px;
  color: var(--gray);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 5px 18px;
  justify-content: start;
}

.lang-grid a {
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.lang-grid a:hover { color: var(--mag); }
.lang-grid a.is-current { color: var(--mag); }

.footer-right {
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  text-transform: uppercase;
}

.footer-right b {
  color: var(--ink);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 11px 0 18px;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.footer-bottom .credit { max-width: 760px; }

.footer-bottom .credit a {
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom .credit a:hover { color: var(--mag); }

/* ---------- subpages ---------- */

.page-head { padding: 44px 0 0; }

.page-head h1 {
  margin-bottom: 16px;
  font-size: clamp(58px, 6.4vw, 86px);
}

.page-lead {
  max-width: 58ch;
  margin: 0 0 34px;
  font-size: 19px;
  line-height: 1.65;
}

.page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.article h2 {
  margin: 38px 0 10px;
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 29px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.article h2:first-child { margin-top: 0; }

.article p {
  max-width: 64ch;
  margin: 0 0 16px;
}

.data-card {
  align-self: start;
  border: 1px solid var(--ink);
  background: rgba(247, 242, 228, 0.55);
}

.data-card h2 {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--gray);
  font-family: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.data-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.5;
}

.data-row:first-of-type { border-top: 0; }

.data-row dt {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.data-row dd {
  margin: 0;
  text-align: right;
}

/* career log table */

.loglist {
  margin: 4px 0 30px;
  border-top: 1px solid var(--ink);
}

.logrow {
  display: grid;
  grid-template-columns: 14px 128px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.logrow .dot {
  position: static;
  margin: 7px 0 0 3px;
}

.logrow .when {
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: var(--mag);
}

.logrow .what {
  font-size: 15.5px;
  line-height: 1.6;
}

/* filmography */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 30px;
  border: 1px solid var(--ink);
  background: rgba(247, 242, 228, 0.45);
}

.stat {
  padding: 14px 18px 15px;
  border-left: 1px solid var(--ink);
}

.stat:first-child { border-left: 0; }

.stat b {
  display: block;
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--mag);
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.table-wrap { overflow-x: auto; }

.film-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 30px;
  font-size: 14px;
}

.film-table th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--ink);
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.film-table td {
  padding: 10px;
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
}

.film-table td:first-child {
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-size: 17px;
  color: var(--mag);
  white-space: nowrap;
}

.dist-list {
  margin: 8px 0 30px;
  border-top: 1px solid var(--ink);
}

.dist-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.dist-row b {
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--mag);
}

.award {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--ink);
  border-left: 4px solid var(--mag);
  background: rgba(247, 242, 228, 0.55);
}

.award h2 {
  margin: 0 0 8px;
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.award p { margin: 0; max-width: 60ch; }

.note {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.6;
}

/* faq */

.qa {
  padding: 17px 0;
  border-top: 1px solid var(--ink);
}

.qa:last-child { border-bottom: 1px solid var(--ink); }

.qa h3 {
  display: flex;
  gap: 12px;
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.5;
}

.qa h3 span {
  flex: 0 0 28px;
  color: var(--mag);
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.qa p {
  margin: 0 0 0 40px;
  max-width: 64ch;
}

/* ---------- 404 ---------- */

.error-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 50px 0;
}

.error-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.error-no {
  font-family: 'League Gothic', 'Arial Narrow', sans-serif;
  font-size: clamp(150px, 24vw, 280px);
  line-height: 0.78;
  letter-spacing: 0.01em;
  color: var(--mag);
}

.error-copy h1 {
  font-size: clamp(46px, 5vw, 72px);
  margin-bottom: 18px;
}

.error-copy p {
  max-width: 42ch;
  margin: 0 0 22px;
}

.text-link {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

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

@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / 7; }
  .hero-figure { grid-column: 7 / 13; }
  .hero-figure img { height: min(66vh, 660px); }
  .arc { top: -50px; right: -24px; width: 220px; height: 220px; }
  .compass { display: none; }
  .about-grid { gap: 36px; }
  .page-body { gap: 44px; grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 14px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { grid-column: 1 / 2; }
  .hero-figure { grid-column: 2 / 3; }
  .hero-figure img { height: min(62vh, 600px); }
  .arc { display: none; }
  .freq {
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-areas: "no logo" "name name";
    gap: 8px 10px;
    padding: 14px;
  }
  .freq-logo { width: 100%; height: auto; aspect-ratio: 5 / 3; }
  .freq-name { grid-area: name; }
  .plan { grid-template-columns: 1fr; }
  .plan-col { border-left: 0; border-top: 1px solid var(--ink); }
  .plan-col:first-child { border-top: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 540px; }
  .page-body { grid-template-columns: 1fr; }
  .data-card { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--ink); padding-bottom: 16px; }
  .footer-col:nth-child(2) { padding-left: 0; border-left: 0; }
}

@media (max-width: 720px) {
  .shell { padding: 0 20px; }
  .header-inner { gap: 8px 16px; min-height: 0; padding: 10px 0; }
  .brand-name { font-size: 24px; }
  .main-nav { gap: 10px 14px; }
  .main-nav a { font-size: 10px; letter-spacing: 0.1em; }
  .main-nav a.btn { padding: 10px 14px; }
  .hero { padding-top: 26px; }
  .hero-grid { display: block; }
  h1 { font-size: clamp(52px, 14vw, 68px); }
  .lead { max-width: none; font-size: 16.5px; }
  .hero-figure { margin-top: 30px; }
  .hero-figure img { width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .legend { display: flex; width: 100%; max-width: 360px; }
  .legend-row { flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 2px; border-top: 0; border-left: 1px dashed var(--line); padding: 7px 8px; }
  .legend-row:first-child { border-left: 0; }
  .kicker-row { font-size: 9px; letter-spacing: 0.12em; }
  .sec { padding-top: 42px; }
  .sec-head h2 { font-size: 30px; }
  .sec-note { display: none; }
  .freq-box { grid-template-columns: 1fr; }
  .freq {
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-areas: "no logo" "name name";
    gap: 8px 10px;
    padding: 14px;
  }
  .freq:nth-child(odd) { border-right: 0; }
  .freq:nth-last-child(-n+2) { border-bottom: 1px dashed var(--line); }
  .freq:last-child { border-bottom: 0; }
  .freq-logo { width: 100%; height: auto; aspect-ratio: 5 / 3; }
  .freq-name { grid-area: name; font-size: 12px; }
  .plan .row { flex-direction: column; gap: 2px; }
  .plan dd { text-align: left; }
  .about-grid { gap: 24px; }
  .fig-legend { right: 8px; bottom: 8px; }
  .flightlog { padding-top: 0; border-bottom: 0; }
  .alt { display: none; }
  .log-track { display: block; border-top: 0; margin-left: 10px; border-left: 1px solid var(--ink); }
  .log-point { padding: 0 0 26px 26px; text-align: left; }
  .log-point::before { display: none; }
  .log-point .dot { left: -5px; top: 6px; margin-left: 0; }
  .log-label { position: static; margin-bottom: 2px; }
  .log-year { margin-top: 2px; font-size: 20px; }
  .gallery-grid { gap: 10px; }
  .gallery-wide { margin-top: 10px; }
  .social-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { border-left: 0; border-top: 1px solid var(--ink); padding: 16px 0; }
  .footer-col:first-child { border-top: 0; border-bottom: 0; }
  .footer-col:last-child { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .page-head { padding-top: 28px; }
  .page-head h1 { font-size: 54px; }
  .page-lead { font-size: 17px; }
  .logrow { grid-template-columns: 12px 1fr; gap: 4px 12px; }
  .logrow .dot { grid-row: 1 / 3; margin-top: 8px; }
  .logrow .when { grid-column: 2; }
  .logrow .what { grid-column: 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--ink); }
  .stat:nth-child(4) { border-top: 1px solid var(--ink); }
  .qa h3 { font-size: 16px; }
  .qa p { margin-left: 0; }
  .error-grid { grid-template-columns: 1fr; gap: 24px; }
  .error-no { font-size: 140px; }
}
