:root {
  --orange: #E8462A;
  --orange-dark: #B3341F;
  --ink: #0E1B2C;
  --ink-deep: #07101C;
  --ink-2: #1B2E47;
  --cyan: #3DE0C8;
  --sand: #F4E9D8;
  --paper: #FDF7EF;
  --gray-blue: #93A6BA;
  --amber: #FFB020;
  --line: rgba(147, 166, 186, 0.28);
  --line-dark: rgba(7, 16, 28, 0.12);
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--sand);
  background-image: radial-gradient(rgba(7, 16, 28, 0.045) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--orange);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(14, 27, 44, 0.9);
}

#main-content {
  scroll-margin-top: 96px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 18px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid var(--ink-deep);
  background: var(--cyan);
  color: var(--ink-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translateY(-170%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0 58%, var(--amber) 58% 76%, var(--cyan) 76% 100%);
  pointer-events: none;
  transition: width 80ms linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--sand);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(253, 247, 239, 0.02) 3px 4px);
  pointer-events: none;
}

.header-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  width: min(calc(100% - (2 * var(--gutter))), var(--shell));
  min-height: 76px;
  margin-inline: auto;
  transition: min-height 200ms ease-out;
}

.site-header.is-condensed .header-shell {
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--sand);
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 72% 100%, 0 100%);
  transition: width 200ms ease-out, height 200ms ease-out, transform 180ms ease-out;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 7px;
  left: 7px;
  height: 6px;
  background: var(--paper);
  transform: skewX(-24deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 7px;
  width: 14px;
  height: 3px;
  background: var(--ink-deep);
  opacity: 0.72;
}

.brand-mark-bar {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  height: 3px;
  background: var(--cyan);
  transform: skewX(-24deg);
}

.brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-2deg);
}

.site-header.is-condensed .brand-mark {
  width: 30px;
  height: 30px;
}

.brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand-line {
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-sub {
  display: block;
  max-height: 18px;
  overflow: hidden;
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  opacity: 1;
  transition: max-height 200ms ease-out, opacity 160ms ease-out, transform 200ms ease-out;
}

.site-header.is-condensed .brand-sub {
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(27, 46, 71, 0.42);
  color: var(--sand);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.nav-toggle-label {
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

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

.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transition: transform 180ms ease-out, opacity 180ms ease-out;
}

.nav-toggle-bars span:last-child {
  width: 70%;
  margin-left: auto;
}

.site-header[data-open="true"] .nav-toggle-bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle-bars span:last-child {
  width: 100%;
  transform: translateY(-3px) rotate(-45deg);
}

.command-nav {
  min-width: 0;
  justify-self: stretch;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 1.2vw, 18px);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-height: 44px;
  padding: 11px 4px;
  color: var(--sand);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease-out;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 5px;
  left: 4px;
  height: 2px;
  background: transparent;
  transform: scaleX(0.38);
  transform-origin: left center;
  transition: transform 180ms ease-out, background 180ms ease-out;
}

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

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

.nav-index {
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav-link:hover .nav-index,
.nav-link[aria-current="page"] .nav-index {
  color: var(--orange);
}

.nav-text {
  line-height: 1;
}

.nav-hint {
  display: none;
  margin: 0;
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 10px;
  border-left: 3px solid var(--cyan);
  background: var(--ink-2);
  color: var(--sand);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background 180ms ease-out, transform 180ms ease-out;
}

.status-chip:hover {
  background: #233D5B;
  transform: translateY(-1px);
}

.status-dot {
  display: block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: status-pulse 2.4s ease-out infinite;
}

.status-text {
  display: grid;
  gap: 2px;
  line-height: 1.12;
}

.status-kicker {
  display: block;
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status-line {
  display: block;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 224, 200, 0.42);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(61, 224, 200, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 224, 200, 0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: background 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

.btn-primary {
  background: var(--orange);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--sand);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.header-cta {
  padding-inline: 16px;
  font-size: 13px;
}

.broadcast-strip {
  max-height: 38px;
  overflow: hidden;
  border-top: 1px solid rgba(147, 166, 186, 0.18);
  background: var(--ink-deep);
  opacity: 1;
  transition: max-height 200ms ease-out, opacity 160ms ease-out, border-color 160ms ease-out;
}

.site-header.is-condensed .broadcast-strip {
  max-height: 0;
  border-top-color: transparent;
  opacity: 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  width: min(calc(100% - (2 * var(--gutter))), var(--shell));
  margin-inline: auto;
  padding: 7px 0;
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  white-space: nowrap;
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.strip-item--right {
  margin-left: auto;
}

.strip-label {
  color: var(--amber);
}

.strip-live {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 5px;
  background: var(--cyan);
  color: var(--ink-deep);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--sand);
}

.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0 30%, var(--ink-2) 30% 62%, var(--cyan) 62% 72%, var(--amber) 72% 76%, var(--ink-deep) 76% 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(253, 247, 239, 0.018) 3px 4px);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (2 * var(--gutter))), var(--shell));
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(38px, 6vw, 64px) 0 clamp(30px, 4vw, 48px);
  border-bottom: 1px solid rgba(147, 166, 186, 0.18);
}

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

.footer-mark {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 72% 100%, 0 100%);
}

.footer-mark::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 10px;
  left: 10px;
  height: 7px;
  background: var(--paper);
  transform: skewX(-24deg);
}

.footer-mark::after {
  content: "";
  position: absolute;
  bottom: 11px;
  left: 10px;
  width: 20px;
  height: 3px;
  background: var(--ink-deep);
  opacity: 0.7;
}

.footer-brand-line {
  max-width: 18ch;
  color: var(--sand);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.04;
}

.footer-desc {
  max-width: 42ch;
  margin-top: 14px;
  color: var(--gray-blue);
  font-size: 14px;
  line-height: 1.8;
}

.badge-version {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 20px;
  padding: 6px 10px;
  border-left: 3px solid var(--amber);
  background: var(--ink-2);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}

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

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

.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-heading::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--orange);
}

.footer-list {
  display: grid;
  gap: 0;
  list-style: none;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sand);
  font-size: 13px;
  line-height: 1.4;
  transition: color 160ms ease-out, transform 160ms ease-out;
}

.footer-link:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(147, 166, 186, 0.18);
}

.footer-contact-row {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.footer-contact-label {
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.footer-contact-value {
  color: var(--sand);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 16px 0 34px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.footer-copy {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-legal-line {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gray-blue);
}

.footer-legal .footer-link {
  font-family: var(--font-mono);
  font-size: 10px;
}

.footer-note {
  flex: 1 1 280px;
  max-width: 56ch;
  padding-top: 12px;
  color: var(--gray-blue);
  font-size: 11px;
  line-height: 1.7;
}

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

.page-shell {
  padding-block: clamp(38px, 7vw, 92px);
}

.main-shell {
  padding-block: clamp(24px, 4vw, 48px);
}

.content-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.content-aside {
  grid-column: span 3;
  min-width: 0;
}

.content-main {
  grid-column: span 9;
  min-width: 0;
}

.breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  list-style: none;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--orange);
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  transition: color 160ms ease-out;
}

.breadcrumb-link:hover {
  color: var(--orange-dark);
}

.breadcrumb-current {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--orange-dark);
  font-weight: 600;
}

.prose {
  max-width: 68ch;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.8;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1.35em;
  color: var(--ink);
}

.prose h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}

.prose h3 {
  font-size: clamp(22px, 2.6vw, 32px);
}

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

.prose a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.prose a:hover {
  color: var(--orange);
}

.lede {
  max-width: 47ch;
  color: var(--ink-2);
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 500;
  line-height: 1.58;
}

.section-heading {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.95;
}

.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-label::before,
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan);
}

.divider-slash {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 28px;
  background: linear-gradient(90deg, rgba(147, 166, 186, 0), rgba(147, 166, 186, 0.72), rgba(147, 166, 186, 0));
}

.divider-slash::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 18%;
  width: 2px;
  height: 18px;
  background: var(--orange);
  transform: skewX(-28deg);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid var(--orange);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  transition: color 160ms ease-out, border-color 160ms ease-out;
}

.text-link:hover {
  border-color: var(--cyan);
  color: var(--orange-dark);
}

.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: var(--sand);
  color: var(--ink);
}

.panel-dark {
  background: var(--ink);
  color: var(--sand);
}

.panel-paper {
  border-left: 4px solid var(--orange);
  background: var(--paper);
  color: var(--ink);
}

.panel-cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stack {
  display: grid;
  gap: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-left: 3px solid var(--orange);
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

.tag-cyan {
  border-left-color: var(--cyan);
}

.tag-amber {
  border-left-color: var(--amber);
}

.date-stamp {
  display: inline-grid;
  place-items: center;
  gap: 2px;
  min-width: 64px;
  min-height: 44px;
  padding: 6px 10px;
  border-bottom: 3px solid var(--orange);
  background: var(--ink);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.score-figure {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(72px, 15vw, 160px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.score-label {
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.stat {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.stat-number {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.image-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(232, 70, 42, 0.18), transparent 52%),
    linear-gradient(315deg, rgba(61, 224, 200, 0.12), transparent 58%),
    var(--ink-2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(232, 70, 42, 0.16), rgba(7, 16, 28, 0.08));
  pointer-events: none;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(253, 247, 239, 0.05) 3px 4px),
    radial-gradient(rgba(253, 247, 239, 0.07) 0.6px, transparent 0.6px);
  background-size: auto, 4px 4px;
  opacity: 0.62;
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

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

.image-frame--portrait {
  aspect-ratio: 3 / 4;
}

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

.image-caption {
  max-width: 60ch;
  margin-top: 8px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  opacity: 0.72;
}

.timeline {
  position: relative;
  min-width: 0;
}

.timeline-list {
  display: grid;
  gap: 4px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  min-width: 0;
}

.timeline-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0 8px 14px;
  color: var(--gray-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  transition: color 180ms ease-out;
}

.timeline-dot {
  display: block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-blue);
  transition: background 180ms ease-out, box-shadow 180ms ease-out;
}

.timeline-link:hover,
.timeline-link.is-active {
  color: var(--sand);
}

.timeline-link:hover .timeline-dot,
.timeline-link.is-active .timeline-dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 70, 42, 0.2);
}

[data-scrollspy].is-active {
  color: var(--orange);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}

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

.is-anchor-highlight {
  animation: anchor-flash 1500ms ease-out 1;
}

@keyframes anchor-flash {
  0% {
    box-shadow: inset 6px 0 0 var(--orange);
  }
  100% {
    box-shadow: inset 6px 0 0 transparent;
  }
}

@media (max-width: 1100px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 64px;
    gap: 10px;
  }

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

  .header-actions {
    justify-self: end;
  }

  .header-actions .status-chip {
    display: none;
  }

  .command-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 3;
    display: none;
    max-height: calc(100vh - 64px);
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(14, 27, 44, 0.985);
    box-shadow: 0 18px 32px rgba(7, 16, 28, 0.28);
  }

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

  .nav-list {
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    padding: 8px 12px 4px;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
  }

  .nav-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .nav-link {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }

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

  .nav-hint {
    display: block;
    padding: 10px 18px 14px;
    border-top: 1px solid rgba(147, 166, 186, 0.16);
  }

  .broadcast-strip {
    display: none;
  }

  .site-header.is-condensed .brand-sub {
    max-height: 18px;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .content-aside,
  .content-main {
    grid-column: 1 / -1;
  }

  .footer-note {
    max-width: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .header-shell {
    min-height: 58px;
  }

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

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

  .brand-sub {
    font-size: 8px;
  }

  .command-nav {
    max-height: calc(100vh - 58px);
  }

  .nav-list {
    display: grid;
    gap: 0;
    overflow: visible;
    padding: 4px 12px 10px;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 13px 6px;
    border-bottom: 1px solid rgba(147, 166, 186, 0.14);
  }

  .nav-index {
    width: 2.3em;
  }

  .nav-link::after {
    display: none;
  }

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

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

  .footer-bottom {
    display: grid;
    gap: 4px;
  }

  .footer-legal {
    gap: 0 12px;
  }

  .footer-note {
    padding-top: 4px;
  }

  .content-grid,
  .page-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .content-aside,
  .content-main {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    padding-inline: 10px;
  }

  .nav-toggle-label {
    display: none;
  }

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

  .footer-brand-line {
    max-width: 22ch;
  }

  .footer-legal .footer-link,
  .footer-copy,
  .footer-legal-line {
    min-height: 40px;
  }

  .score-figure {
    font-size: clamp(64px, 24vw, 104px);
  }
}

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

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

  .status-dot {
    animation: none;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
