:root {
  --paper: #F4EBDD;
  --ink: #1C1916;
  --gold: #8A6A2F;
  --amber: #E0662A;
  --teal: #1F6F6B;
  --teal-light: #3B8C86;
  --paper-warm: #D8CBB8;
  --brown: #4A3524;
  --cream: #FFF9EF;
  --red: #B73B2E;
  --line: rgba(28, 25, 22, 0.18);
  --line-light: rgba(244, 235, 221, 0.22);
  --shadow-paper: 0 1px 0 rgba(255, 249, 239, 0.8) inset, 0 14px 28px rgba(74, 53, 36, 0.12);
  --shadow-lift: 0 20px 40px rgba(74, 53, 36, 0.18);
  --radius-pill: 999px;
  --radius-card: 18px;
  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --font-heading: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Consolas", monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 249, 239, 0.9), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(216, 203, 184, 0.38), transparent 40%),
    repeating-linear-gradient(0deg, rgba(28, 25, 22, 0.025) 0 1px, transparent 1px 5px);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

figure {
  margin: 0;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

p {
  margin: 0 0 1em;
  max-width: 72ch;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.55em;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

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

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.15rem;
}

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

:where(a, button, summary, input):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

#main-content {
  display: block;
  min-height: 40vh;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--maxw));
  margin-inline: auto;
}

.section {
  padding-block: clamp(52px, 8vw, 104px);
}

.section--tight {
  padding-block: clamp(32px, 5vw, 64px);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
}

.section-title {
  margin-bottom: 0;
}

.lede {
  max-width: 62ch;
  color: var(--brown);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

.printed-rule {
  height: 2px;
  margin-block: clamp(24px, 4vw, 42px);
  border: 0;
  background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 24px);
  opacity: 0.25;
}

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

.text-teal {
  color: var(--teal);
}

.u-flow > * + * {
  margin-top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--gold), 0 12px 24px rgba(74, 53, 36, 0.14);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 0 var(--gold);
}

.button--amber {
  background: var(--amber);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}

.button--amber:hover {
  background: var(--amber);
  box-shadow: 0 5px 0 var(--ink), 0 12px 24px rgba(74, 53, 36, 0.16);
}

.button--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  box-shadow: 0 3px 0 var(--gold);
}

.button--ink:hover {
  background: var(--gold);
  color: var(--cream);
}

.button--ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--brown);
  box-shadow: none;
}

.button--ghost:hover {
  background: var(--cream);
  box-shadow: 0 4px 0 var(--paper-warm);
}

.button--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(31, 111, 107, 0.35);
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  border-color: var(--teal);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.breadcrumbs {
  margin: 0 0 clamp(18px, 3vw, 30px);
  color: var(--brown);
  font-size: 0.78rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

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

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

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

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.surface-card {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--cream);
  box-shadow: 0 7px 0 -3px var(--paper-warm), 0 18px 34px rgba(74, 53, 36, 0.12);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.surface-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 0 -3px var(--gold), 0 24px 42px rgba(74, 53, 36, 0.16);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

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

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.32em 0.68em;
  border-radius: 3px 9px 3px 3px;
  background: var(--gold);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
}

.tag--gold {
  background: var(--gold);
  color: var(--cream);
}

.tag--teal {
  background: var(--teal);
  color: var(--cream);
}

.tag--amber {
  background: var(--amber);
  color: var(--ink);
}

.tag--outline {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--brown);
}

.stat-block {
  display: grid;
  gap: 0.3rem;
  padding: clamp(14px, 2vw, 20px) 0;
  border-top: 1px solid var(--line);
}

.stat-number {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-unit {
  color: var(--brown);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--paper-warm), var(--cream) 55%, var(--paper));
  box-shadow: 0 8px 0 -4px var(--gold), var(--shadow-paper);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(28, 25, 22, 0.055) 12px 13px);
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 0.8em;
  margin: 0.7em 0 0;
  color: var(--brown);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0 8px;
  background: linear-gradient(to bottom, var(--paper) 0%, rgba(244, 235, 221, 0.94) 62%, rgba(244, 235, 221, 0) 100%);
}

.header-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(calc(100% - (var(--gutter) * 2)), 1320px);
  margin-inline: auto;
}

.header-float {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav cta";
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: rgba(255, 249, 239, 0.94);
  box-shadow: 0 3px 0 var(--gold), 0 16px 32px rgba(74, 53, 36, 0.15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: padding 0.25s var(--ease), box-shadow 0.25s var(--ease), border-radius 0.25s var(--ease);
}

.site-header.is-condensed .header-float {
  padding-block: 6px;
  box-shadow: 0 2px 0 var(--gold), 0 10px 24px rgba(74, 53, 36, 0.14);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 0.7em 1.2em;
  border: 2px solid var(--amber);
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  transform: translate(-50%, -160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

.brand-lockup {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 2px 6px 2px 2px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 4px rgba(255, 249, 239, 0.06);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.brand-lockup:hover .brand-mark {
  transform: rotate(-3deg) translateY(-1px);
  border-color: var(--amber);
}

.crown {
  display: block;
  width: 23px;
  height: 18px;
  background: var(--gold);
  clip-path: polygon(0 100%, 0 18%, 27% 58%, 50% 0, 73% 58%, 100% 18%, 100% 100%);
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.brand-kicker {
  margin-bottom: 3px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-name {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.brand-sub {
  margin-top: 4px;
  color: var(--brown);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.nav-toggle:hover {
  background: var(--paper-warm);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--cream);
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 20px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  grid-area: nav;
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.nav-link:hover {
  border-color: var(--gold);
  background: var(--paper-warm);
  transform: translateY(-1px);
}

.nav-link:focus-visible {
  background: var(--cream);
}

.nav-link[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.header-cta {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--cream);
  box-shadow: inset 0 -3px 0 var(--amber);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.header-cta:hover {
  background: var(--amber);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--ink);
}

.header-index {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0 12px;
  color: var(--brown);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.header-index span {
  display: inline-flex;
  align-items: center;
}

.header-index span + span::before {
  content: "／";
  margin: 0 0.55em;
  color: var(--gold);
  font-size: 0.8em;
}

.site-header.is-condensed .header-index {
  height: 0;
  margin: 0;
  padding-block: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
}

.reading-progress {
  height: 3px;
  margin: 4px 14px 0;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(28, 25, 22, 0.1);
}

.reading-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

.site-footer {
  position: relative;
  margin-top: clamp(60px, 10vw, 120px);
  border-top: 8px solid var(--gold);
  background-color: var(--brown);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 249, 239, 0.035) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 8% 0%, rgba(138, 106, 47, 0.25), transparent 42%);
  color: var(--cream);
}

.footer-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--maxw));
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) 0 28px;
}

.footer-brand-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  text-decoration: none;
}

.footer-crown {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  background: rgba(255, 249, 239, 0.06);
}

.footer-crown .crown {
  width: 28px;
  height: 22px;
}

.footer-brand-text {
  display: grid;
  line-height: 1.1;
}

.footer-brand-name {
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer-brand-note {
  margin-top: 6px;
  color: var(--paper-warm);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.footer-stamp {
  margin: 0;
  padding: 0.55em 0.8em;
  border: 1px solid rgba(244, 235, 221, 0.3);
  border-radius: 4px;
  color: var(--paper-warm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(30px, 4vw, 48px) 0;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  width: fit-content;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: var(--paper);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-links a:hover {
  color: var(--cream);
  border-color: var(--amber);
}

.footer-links a:focus-visible {
  outline-color: var(--amber);
}

.footer-contact {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.footer-contact-line {
  margin: 0;
  color: var(--paper-warm);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-emphasis {
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-service-line {
  margin: 0;
  color: var(--paper-warm);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.footer-copy,
.footer-icp {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.footer-copy {
  color: var(--paper-warm);
}

.footer-icp {
  color: var(--gold);
  font-family: var(--font-mono);
}

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

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .header-float {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand toggle";
    gap: 10px;
    padding: 10px 12px;
    border-radius: 28px;
  }

  .site-header[data-open="true"] .header-float {
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "cta cta";
    border-radius: 28px;
  }

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

  .primary-nav {
    display: none;
    width: 100%;
    justify-self: stretch;
    padding-top: 6px;
  }

  .site-header[data-open="true"] .primary-nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

  .site-header[data-open="true"] .header-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 2px;
  }

  .header-index {
    display: none;
  }

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

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

@media (max-width: 720px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 480px) {
  .site-header {
    padding-top: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    display: none;
  }

  .brand-kicker {
    font-size: 0.56rem;
  }

  .footer-crown {
    width: 46px;
    height: 46px;
  }

  .footer-crown .crown {
    width: 24px;
    height: 19px;
  }
}

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

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

  .header-float,
  .button,
  .surface-card,
  .nav-link,
  .header-cta,
  .brand-mark {
    transform: none !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
