:root {
  color-scheme: dark;
  --ink: #070B14;
  --ink-deep: #04070D;
  --panel: #0E1626;
  --panel-soft: #0B1321;
  --gold: #F2B33D;
  --cyan: #57D9D0;
  --paper: #F5F2EA;
  --muted: #9AA6B8;
  --line: #1E2A3D;
  --league-ochre: #8C5A46;
  --league-pine: #5C7A5E;
  --league-slate: #4A6C8C;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius-soft: 18px 24px 16px 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -8%, rgba(242, 179, 61, .11), transparent 34rem),
    radial-gradient(circle at 90% 16%, rgba(87, 217, 208, .07), transparent 30rem),
    radial-gradient(circle at 48% 72%, rgba(74, 108, 140, .05), transparent 42rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(245, 242, 234, .28) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(87, 217, 208, .18) 0 1px, transparent 1.2px);
  background-size: 83px 83px, 137px 137px;
  background-position: 0 0, 28px 41px;
  opacity: .17;
}

main {
  display: block;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .6em;
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .04em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

a:hover {
  color: var(--gold);
}

button {
  font: inherit;
}

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

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .55em 1em;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  color: var(--ink);
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 11, 20, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-sky {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14, 22, 38, .92), rgba(7, 11, 20, .96)),
    radial-gradient(circle at 14% 18%, rgba(242, 179, 61, .12), transparent 22rem),
    radial-gradient(circle at 86% 8%, rgba(87, 217, 208, .08), transparent 24rem);
  border-bottom: 1px solid rgba(30, 42, 61, .78);
}

.header-sky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(245, 242, 234, .4) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(87, 217, 208, .3) 0 1px, transparent 1.4px);
  background-size: 37px 37px, 61px 61px;
  background-position: 0 0, 14px 22px;
  opacity: .34;
}

.header-sky::after {
  content: "";
  position: absolute;
  top: 10px;
  right: var(--gutter);
  bottom: 10px;
  width: 1px;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 10px);
  opacity: .72;
}

.header-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  min-height: 82px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--paper);
  text-decoration: none;
}

.brand:hover {
  color: var(--paper);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50% 46% 52% 48% / 52% 44% 56% 48%;
  color: var(--gold);
  font-size: 17px;
  line-height: 1;
  box-shadow: inset 0 0 0 4px rgba(242, 179, 61, .05);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .14em;
}

.brand-tagline {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .18em;
  white-space: nowrap;
}

.header-note {
  justify-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .26em;
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.header-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding-block: 5px;
  border-bottom: 1px solid transparent;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.header-action-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.header-action-link--secondary {
  color: var(--muted);
  font-weight: 400;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 38, .72);
  color: var(--paper);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.nav-toggle:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.nav-toggle[aria-expanded="true"] {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(242, 179, 61, .08);
}

.nav-toggle-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .12em;
}

.nav-toggle-glyph {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transition: transform .22s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-glyph {
  transform: rotate(45deg);
}

.header-rail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-top: 1px solid rgba(30, 42, 61, .72);
}

.primary-nav {
  width: 100%;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  background: transparent;
  transform: scaleX(.35);
  transform-origin: left center;
  transition: transform .24s var(--ease), background .24s var(--ease);
}

.nav-link:hover {
  color: var(--cyan);
}

.nav-link[aria-current="page"] {
  color: var(--gold);
}

.nav-link[aria-current="page"]::after {
  background: var(--gold);
  transform: scaleX(1);
}

.sky-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(30, 42, 61, .58);
}

.sky-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 10%, rgba(87, 217, 208, .075), transparent 28rem),
    radial-gradient(circle at 88% 2%, rgba(242, 179, 61, .07), transparent 26rem),
    linear-gradient(180deg, #0B1321 0%, var(--ink) 86%);
  color: var(--muted);
}

.footer-orbit {
  position: absolute;
  top: -190px;
  right: -170px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(242, 179, 61, .17);
  border-radius: 50%;
  pointer-events: none;
}

.footer-orbit::before,
.footer-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.footer-orbit::before {
  inset: 48px;
  border: 1px solid rgba(87, 217, 208, .12);
}

.footer-orbit::after {
  inset: 112px;
  border: 1px solid rgba(245, 242, 234, .07);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(56px, 7vw, 96px) 28px;
}

.footer-ledger {
  display: grid;
  grid-template-columns: 1.25fr 1.8fr 1.05fr;
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.brand--footer .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.brand--footer .brand-name {
  font-size: 20px;
}

.footer-brand-block .brand {
  margin-bottom: 20px;
}

.footer-brand-line {
  margin: 0 0 10px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
}

.footer-note {
  max-width: 26em;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.footer-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

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

.footer-col-title {
  margin: 0 0 16px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .18em;
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-link {
  display: inline-block;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.footer-contact {
  padding-left: clamp(20px, 3vw, 32px);
  border-left: 1px solid var(--line);
}

.footer-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .18em;
}

.footer-contact-line {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .06em;
}

.footer-legal,
.footer-copyright {
  margin: 0;
}

.display-title {
  max-width: 15ch;
  margin-bottom: .42em;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .04em;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .2em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.lead {
  max-width: 42em;
  color: var(--paper);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.9;
}

.body-copy {
  max-width: 40em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.prose {
  max-width: 40em;
  color: var(--paper);
  font-size: 17px;
  line-height: 1.95;
}

.prose p {
  max-width: 38em;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.3em 1.2em;
  padding-left: .4em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: .4em;
}

.text-link {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

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

.star-rule {
  position: relative;
  height: 1px;
  margin-block: clamp(32px, 5vw, 64px);
  background: linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
}

.star-rule::after {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  padding-inline: 12px;
  background: var(--ink);
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .65em 1.25em;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .13em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.button--solid {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.button--solid:hover {
  background: #FFD071;
  border-color: #FFD071;
  color: var(--ink);
}

.button--line {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}

.button--line:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 38, .5);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.filter-button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--cyan);
  background: rgba(87, 217, 208, .09);
  color: var(--cyan);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.content-grid--asymmetric {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.7fr);
}

.archive-card {
  position: relative;
  padding: 22px 0 22px 24px;
  border-top: 1px solid var(--line);
}

.archive-card::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 2px;
  background: var(--line);
  transition: background .2s var(--ease);
}

.archive-card:hover::before {
  background: var(--gold);
}

.archive-card__meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.archive-card__title {
  margin: 0 0 8px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: .04em;
}

.archive-card__body {
  max-width: 38em;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 38, .6);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  white-space: nowrap;
}

.tag--gold {
  border-color: rgba(242, 179, 61, .55);
  background: rgba(242, 179, 61, .09);
  color: var(--gold);
}

.tag--cyan {
  border-color: rgba(87, 217, 208, .5);
  background: rgba(87, 217, 208, .08);
  color: var(--cyan);
}

.tag--ochre {
  border-color: rgba(140, 90, 70, .8);
  background: rgba(140, 90, 70, .16);
  color: #D6A28A;
}

.tag--pine {
  border-color: rgba(92, 122, 94, .8);
  background: rgba(92, 122, 94, .16);
  color: #A7C6A8;
}

.tag--slate {
  border-color: rgba(74, 108, 140, .8);
  background: rgba(74, 108, 140, .16);
  color: #A9C7E3;
}

.screen-frame {
  position: relative;
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(14, 22, 38, .74), rgba(7, 11, 20, .86)),
    radial-gradient(circle at 50% 0%, rgba(87, 217, 208, .07), transparent 30rem);
}

.screen-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  left: 8px;
  border: 1px solid rgba(30, 42, 61, .62);
  pointer-events: none;
}

.frame-tick {
  position: absolute;
  z-index: 1;
  width: 1px;
  height: 42px;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 5px, transparent 5px 9px);
  opacity: .8;
}

.frame-tick:nth-of-type(1) {
  top: 18px;
  left: 18px;
}

.frame-tick:nth-of-type(2) {
  right: 18px;
  bottom: 18px;
}

.breadcrumbs {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .06em;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--cyan);
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 22%, rgba(242, 179, 61, .15) 0 1px, transparent 1.6px),
    radial-gradient(circle at 68% 64%, rgba(87, 217, 208, .13) 0 1px, transparent 1.5px),
    linear-gradient(145deg, #0E1626, #070B14 66%);
  background-size: 31px 31px, 43px 43px, auto;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(30, 42, 61, .85);
  pointer-events: none;
}

.media-frame::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 1px;
  background: var(--gold);
  opacity: .8;
  pointer-events: none;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-top {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-note {
    display: none;
  }

  .footer-ledger {
    grid-template-columns: 1fr 1.6fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 920px) {
  .site-header {
    backdrop-filter: blur(10px);
  }

  .header-sky::after {
    display: none;
  }

  .header-top {
    grid-template-columns: auto auto;
    gap: 16px;
    min-height: 68px;
    padding-block: 12px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-tagline {
    font-size: 9px;
    letter-spacing: .14em;
  }

  .header-actions {
    gap: 12px;
  }

  .header-action-link {
    font-size: 11px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-rail {
    display: block;
  }

  .primary-nav {
    max-height: 54px;
    overflow: hidden;
    transition: max-height .28s var(--ease);
  }

  .nav-list {
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    min-height: 52px;
    padding: 0 14px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .nav-link::after {
    right: 14px;
    left: 14px;
  }

  .primary-nav[data-open="true"] {
    max-height: 480px;
    overflow: visible;
  }

  .primary-nav[data-open="true"] .nav-list {
    flex-wrap: wrap;
    gap: 2px;
    padding-block: 8px;
    overflow: visible;
  }

  .primary-nav[data-open="true"] .nav-link {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 8px;
    border-bottom: 1px solid rgba(30, 42, 61, .58);
  }

  .primary-nav[data-open="true"] .nav-link::after {
    right: auto;
    left: 8px;
    width: 28px;
    bottom: 2px;
  }

  .content-grid,
  .content-grid--asymmetric {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-action-link--secondary {
    display: none;
  }

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

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tagline {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-action-link {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .nav-toggle {
    min-height: 34px;
    padding-inline: 8px;
  }

  .nav-toggle-label {
    font-size: 11px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .footer-brand-line {
    font-size: 17px;
  }

  .footer-cta {
    min-height: 38px;
    padding-inline: 14px;
  }

  .display-title {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .prose {
    font-size: 16px;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .sky-progress-fill,
  .nav-toggle-glyph {
    will-change: auto;
  }
}
