/* Susrac: aviation's next life.
   Material palette: aircraft aluminium, carbon-fibre weave, boneyard sand, interior primer. */

:root {
  --alu: #E3E6E4;
  --alu-hi: #F3F4F2;
  --alu-lo: #D2D7D5;
  --steel: #9AA3A1;
  --ink: #1F2326;
  --ink-2: #4A5256;
  --carbon: #1A1D1F;
  --carbon-2: #262B2E;
  --on-dark: #DCE1DE;
  --on-dark-2: #A9B2AF;
  --primer: #B9C46F;
  --primer-soft: #E2E7C3;
  --primer-deep: #4A6120;
  --sand: #D9C29C;
  --sand-soft: #EEE3CE;
  --sand-deep: #7A5C30;

  --display: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --text: "IBM Plex Serif", Georgia, "Times New Roman", serif;

  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --weave: repeating-conic-gradient(#1E2225 0 25%, #16191B 0 50%) 0 0 / 22px 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--alu);
  color: var(--ink);
  font: 400 1rem/1.6 var(--display);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-family: var(--display); }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primer-deep); outline-offset: 3px; border-radius: 3px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--alu-hi); padding: 10px 16px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Image slots ---------- */
.slot { position: relative; overflow: hidden; border-radius: var(--r); background: var(--alu-lo); isolation: isolate; }
.slot .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.slot.has-img .art { visibility: hidden; }
.r16x10 { aspect-ratio: 16 / 10; }
.r16x9 { aspect-ratio: 16 / 9; }
.r4x3 { aspect-ratio: 4 / 3; }
.slot-label { display: none; }
html.show-slots .slot-label {
  display: block; position: absolute; left: 8px; bottom: 8px; z-index: 2;
  background: rgba(31, 35, 38, .86); color: #fff; font: 500 11px/1.3 var(--display); padding: 4px 7px; border-radius: 3px; pointer-events: none;
}
html.show-slots .slot.has-img .slot-label { display: none; }

/* ---------- Buttons and small parts ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 0 20px;
  border-radius: var(--r); font: 600 .98rem/1 var(--display); font-stretch: 105%; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.btn-solid { background: var(--ink); color: var(--alu-hi); }
.btn-solid:hover { background: #343B3F; }
.btn-quiet { background: var(--alu-lo); color: var(--ink); }
.btn-quiet:hover { background: #C4CAC8; }

.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(31, 35, 38, .18); }
.swatch-sand { background: var(--sand); }
.swatch-carbon { background: repeating-conic-gradient(#30363A 0 25%, #15181A 0 50%) 0 0 / 6px 6px; }
.swatch-chips { background: radial-gradient(circle at 30% 30%, var(--primer) 0 2px, transparent 2.5px), radial-gradient(circle at 70% 65%, var(--ink) 0 1.6px, transparent 2px), radial-gradient(circle at 25% 75%, var(--sand) 0 2px, transparent 2.5px), #CDD3CD; }
.swatch-primer { background: var(--primer); }
.swatch-alu { background: linear-gradient(135deg, #F7F8F7, #B9C0BE); }

.sec-link {
  display: inline-flex; align-items: center; gap: 8px; font: 600 .86rem/1.2 var(--display); font-stretch: 108%;
  color: var(--ink-2); text-decoration: none;
}
.sec-link:hover { color: var(--ink); }

.meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font: 500 .85rem/1.4 var(--display); color: var(--ink-2); }

.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font: 500 .84rem/1.4 var(--display); color: var(--ink-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { display: none; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--alu); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mark { width: 32px; height: 32px; flex: none; }
.brand-name { font: 800 1.42rem/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; }
.brand-tag { font: 500 .86rem/1.2 var(--display); color: var(--ink-2); padding-left: 12px; margin-left: 2px; position: relative; }
.brand-tag::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--alu-lo); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav a { display: block; padding: 9px 12px; border-radius: var(--r-sm); text-decoration: none; font: 600 .92rem/1.2 var(--display); color: var(--ink-2); transition: background-color .2s, color .2s; }
.site-nav a:hover { background: var(--alu-lo); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--alu-hi); }
.site-nav .nav-all { background: var(--ink); color: var(--alu-hi); padding: 9px 14px; }
.site-nav .nav-all:hover, .site-nav .nav-all.is-on { background: #343B3F; color: var(--alu-hi); }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .brand-tag { display: none; }
}
@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 14px;
    background: var(--alu-hi); border: 0; border-radius: var(--r); font-weight: 600; cursor: pointer;
  }
  .nav-toggle-bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    padding: 12px var(--gut) 22px; background: var(--alu); box-shadow: 0 18px 30px -18px rgba(31, 35, 38, .35);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 13px 12px; font-size: 1.05rem; }
  .site-nav .nav-all { margin-top: 8px; text-align: center; }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(24px, 3.6vw, 48px) 0 clamp(24px, 4vw, 48px); background: linear-gradient(180deg, var(--alu) 0%, #DCE0DE 100%); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.hero-title {
  font: 800 clamp(3rem, 7.6vw, 7.4rem)/.9 var(--display); font-stretch: 125%; letter-spacing: -.045em;
  color: var(--ink);
}
.hero-side { padding-bottom: 8px; }
.hero-lede { font: 400 clamp(1.05rem, 1.35vw, 1.2rem)/1.6 var(--text); color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.hero-fig { position: relative; margin: clamp(4px, 1vw, 12px) 0 0; }
.hero-svg { width: 100%; height: auto; overflow: visible; }
.hero-svg .leader path { fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: .55; }
.hero-svg .leader circle { fill: var(--ink); }
.hero-svg .leader.is-hot path { opacity: 1; stroke-width: 2.2; }
.pp { transform: translate(var(--dx), var(--dy)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pp-shape { transition: fill .25s ease; }
.pp.is-hot .pp-shape { fill: var(--primer); }
.hero-tags { list-style: none; margin: 0; padding: 0; }
.htag { position: absolute; left: var(--x); top: var(--y); width: 16.6%; min-width: 196px; }
.htag a {
  display: block; padding: 10px 12px; border-radius: var(--r); text-decoration: none;
  background: rgba(243, 244, 242, .9); box-shadow: 0 1px 0 rgba(31, 35, 38, .08);
  transition: background-color .2s ease, color .2s ease;
}
.htag-title { display: block; font: 700 .95rem/1.2 var(--display); font-stretch: 110%; }
.htag-text { display: block; text-wrap: pretty; font: 400 .82rem/1.35 var(--display); color: var(--ink-2); margin-top: 3px; transition: color .2s ease; }
.htag a:hover, .htag.is-hot a { background: var(--ink); color: var(--alu-hi); }
.htag a:hover .htag-text, .htag.is-hot .htag-text { color: var(--on-dark-2); }

@media (prefers-reduced-motion: no-preference) {
  .hero-fig.is-ready .pp { animation: pp-explode 1.05s cubic-bezier(.2, .7, .2, 1) .85s both; }
  .hero-fig.is-ready .pp-shape { stroke-dasharray: 1; animation: pp-draw 1.1s cubic-bezier(.45, 0, .3, 1) both, pp-fill .5s ease .7s both; }
  .hero-fig.is-ready .leaders, .hero-fig.is-ready .hero-tags { animation: fade-in .6s ease 1.7s both; }
  .hero-fig.is-ready .hero-cl { animation: fade-in .8s ease .2s both; }
  @keyframes pp-explode { from { transform: translate(0, 0); } to { transform: translate(var(--dx), var(--dy)); } }
  @keyframes pp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes pp-fill { from { fill-opacity: 0; } to { fill-opacity: 1; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
}

@media (max-width: 980px) {
  .hero-copy { grid-template-columns: 1fr; }
  .hero-fig { overflow: hidden; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); }
  .hero-svg { width: 140%; max-width: none; margin-left: -20.7%; }
  .hero-svg .leaders { display: none; }
  .hero-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px var(--gut) 0; }
  .htag { position: static; width: auto; min-width: 0; }
  .htag a { height: 100%; background: var(--alu-hi); }
}
@media (max-width: 420px) {
  .htag-text { font-size: .78rem; }
}

/* ---------- Section blocks ---------- */
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 28px; }
.block-head h2 { font: 800 clamp(1.9rem, 3.4vw, 2.8rem)/1 var(--display); font-stretch: 120%; letter-spacing: -.03em; }
.head-link { font: 600 .95rem/1.2 var(--display); color: var(--primer-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.head-link:hover { text-decoration-thickness: 2px; }
.head-note { color: var(--ink-2); font: 500 .95rem/1.4 var(--display); }

/* ---------- Featured ---------- */
.featured { padding: clamp(40px, 6vw, 80px) 0; background: var(--sand-soft); }
.feat-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.feat-media { display: block; }
.feat-media .slot { border-radius: var(--r-lg); }
.feat-kicker { font: 600 .9rem/1.2 var(--display); color: var(--sand-deep); margin-bottom: 14px; }
.feat-title { font: 760 clamp(1.9rem, 3.4vw, 3.1rem)/1.04 var(--display); font-stretch: 112%; letter-spacing: -.025em; }
.feat-title a { text-decoration: none; }
.feat-title a:hover { color: #3B4247; }
.feat-dek { font: 400 1.12rem/1.6 var(--text); color: var(--ink-2); margin: 18px 0 16px; max-width: 46ch; }
.feat-text .btn { margin-top: 24px; }
@media (max-width: 860px) { .feat-in { grid-template-columns: 1fr; } }

/* ---------- Story cards (not boxed) ---------- */
.latest, .related { padding: clamp(48px, 7vw, 96px) 0; }
.latest-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.story { display: flex; flex-direction: column; gap: 16px; }
.story-media { display: block; }
.story-text { display: flex; flex-direction: column; gap: 9px; }
.story-title { font: 700 1.32rem/1.18 var(--display); font-stretch: 106%; letter-spacing: -.012em; }
.story-title a, .row-title a { text-decoration: none; transition: color .2s ease; }
.story-title a:hover, .row-title a:hover { color: var(--primer-deep); }
.story-dek { font: 400 .98rem/1.55 var(--text); color: var(--ink-2); }
.story-lg { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.story-lg .story-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 760; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.05; }
.story-lg .story-dek { font-size: 1.1rem; }
.story-lg .slot { border-radius: var(--r-lg); }
@media (max-width: 960px) { .latest-top { grid-template-columns: 1fr 1fr; } .latest-top > :nth-child(3) { display: none; } }
@media (max-width: 640px) { .latest-top { grid-template-columns: 1fr; } .latest-top > :nth-child(3) { display: flex; } .story-lg { grid-template-columns: 1fr; } }

.latest-more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 40px); margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(28px, 3vw, 40px); border-top: 2px solid var(--alu-lo); }
.row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 22px; align-items: start; padding: 20px 0; }
.row-media { display: block; }
.row-text { display: flex; flex-direction: column; gap: 7px; }
.row-title { font: 700 1.18rem/1.22 var(--display); font-stretch: 104%; }
.row-dek { font: 400 .95rem/1.55 var(--text); color: var(--ink-2); max-width: 68ch; }
@media (max-width: 860px) { .latest-more { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; } .row-dek { display: none; } }

/* ---------- Lifecycle ---------- */
.lifecycle { background: var(--weave); background-color: var(--carbon); color: var(--on-dark); padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.lifecycle::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, .06), rgba(0, 0, 0, .45)); pointer-events: none; }
.lc-in { position: relative; }
.lc-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(24px, 4vw, 48px); }
.lc-head h2 { font: 800 clamp(2rem, 4.2vw, 3.6rem)/.98 var(--display); font-stretch: 122%; letter-spacing: -.035em; color: var(--alu-hi); }
.lc-head p { font: 400 1.05rem/1.6 var(--text); color: var(--on-dark-2); max-width: 44ch; }
.lc-body { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.lc-loop { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.lc-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc-pic[hidden] { display: none; }
.lc-nodes { position: absolute; inset: 0; }
.lc-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%;
}
.lc-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--carbon-2); color: var(--on-dark); font: 700 1rem/1 var(--display);
  box-shadow: inset 0 0 0 2px #485055; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.lc-label { position: absolute; white-space: nowrap; font: 600 .98rem/1 var(--display); font-stretch: 108%; color: var(--on-dark-2); transition: color .2s ease; }
.lc-r .lc-label { left: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
.lc-l .lc-label { right: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
.lc-t .lc-label { bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.lc-b .lc-label { top: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.lc-node:hover .lc-num { box-shadow: inset 0 0 0 2px var(--primer); }
.lc-node:hover .lc-label { color: var(--alu-hi); }
.lc-node[aria-selected="true"] .lc-num { background: var(--primer); color: var(--ink); box-shadow: none; }
.lc-node[aria-selected="true"] .lc-label { color: var(--alu-hi); }
.lc-panel { background: rgba(38, 43, 46, .88); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: inset 0 0 0 1px rgba(220, 225, 222, .08); }
.lc-step { font: 600 .88rem/1.2 var(--display); color: var(--primer); margin-bottom: 12px; }
.lc-panel h3 { font: 800 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); font-stretch: 120%; letter-spacing: -.03em; color: var(--alu-hi); margin-bottom: 16px; }
.lc-panel p:not(.lc-step) { font: 400 1.08rem/1.65 var(--text); color: var(--on-dark); max-width: 52ch; }
.lc-read { display: inline-block; margin-top: 22px; font: 600 1rem/1.4 var(--display); color: var(--alu-hi); text-decoration: underline; text-decoration-color: var(--primer); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.lc-read:hover { color: var(--primer); }
.lc-read-k { color: var(--primer); }
@media (max-width: 900px) {
  .lc-head, .lc-body { grid-template-columns: 1fr; }
  .lc-loop { max-width: 420px; width: 78%; }
}
@media (max-width: 520px) {
  .lc-loop { width: 66%; margin-top: 18px; margin-bottom: 18px; }
  .lc-node, .lc-num { width: 40px; height: 40px; }
  .lc-label { font-size: .84rem; }
}

/* ---------- Sample board ---------- */
.board { padding: 0 0 clamp(56px, 8vw, 110px); }
.board-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.sample { display: flex; flex-direction: column; background: var(--alu-hi); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: background-color .2s ease; }
.sample:hover { background: #FAFBFA; }
.sample:hover .sample-name { color: var(--primer-deep); }
.sample-0 { grid-column: span 2; grid-row: span 2; }
.sample-face { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.sample-0 .sample-face { aspect-ratio: auto; flex: 1; min-height: 300px; }
.sample-face .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.sample-spec {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: var(--r-sm);
  background: rgba(243, 244, 242, .92); color: var(--ink); font: 600 .76rem/1.2 var(--display);
}
.sample-text { display: flex; flex-direction: column; gap: 7px; padding: 18px 20px 22px; }
.sample-name { font: 760 1.22rem/1.15 var(--display); font-stretch: 110%; transition: color .2s ease; }
.sample-0 .sample-name { font-size: 1.7rem; letter-spacing: -.02em; }
.sample-intro { font: 400 .93rem/1.5 var(--text); color: var(--ink-2); }
.sample-count { font: 600 .82rem/1.2 var(--display); color: var(--ink-2); margin-top: 4px; }
@media (max-width: 1020px) { .board-grid { grid-template-columns: 1fr 1fr; } .sample-0 { grid-row: auto; } .sample-0 .sample-face { aspect-ratio: 16 / 8; min-height: 0; flex: none; } }
@media (max-width: 560px) { .board-grid { grid-template-columns: 1fr; } .sample-0 { grid-column: auto; } }

.indie { padding: 0 0 clamp(56px, 8vw, 96px); }
.indie-in p { background: var(--primer-soft); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px); font: 400 1.1rem/1.6 var(--text); max-width: none; }
.indie-in a { color: var(--primer-deep); font-weight: 500; text-underline-offset: .2em; }

/* ---------- Article ---------- */
.art-head { padding-top: clamp(20px, 3vw, 40px); max-width: calc(980px + var(--gut) * 2); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.art-title { font: 780 clamp(2.15rem, 4.8vw, 4.1rem)/1.02 var(--display); font-stretch: 112%; letter-spacing: -.03em; margin: 16px 0 20px; }
.art-dek { font: 400 clamp(1.12rem, 1.6vw, 1.36rem)/1.55 var(--text); color: var(--ink-2); max-width: 54ch; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 22px; }
.byline { font: 600 .9rem/1.4 var(--display); }
.byline a { text-decoration: none; color: var(--primer-deep); }
.byline a:hover { text-decoration: underline; }
.art-cover { margin-top: clamp(24px, 3vw, 40px); }
.art-cover .slot { border-radius: var(--r-lg); }
.art-grid { display: grid; grid-template-columns: 232px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.toc { position: sticky; top: 24px; align-self: start; font-family: var(--display); }
.toc-title { font: 700 .9rem/1.2 var(--display); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: var(--r-sm); font: 500 .88rem/1.35 var(--display); color: var(--ink-2); text-decoration: none; transition: background-color .2s, color .2s; }
.toc a:hover { background: var(--alu-lo); color: var(--ink); }
.toc a.is-current { background: var(--alu-hi); color: var(--ink); box-shadow: inset 3px 0 0 var(--primer); }
@media (max-width: 1000px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; background: var(--alu-hi); border-radius: var(--r); padding: 16px 16px 12px; }
}

.prose { font: 400 1.125rem/1.75 var(--text); color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font: 760 clamp(1.55rem, 2.4vw, 1.95rem)/1.15 var(--display); font-stretch: 110%; letter-spacing: -.02em; margin-top: 2.1em; scroll-margin-top: 24px; }
.prose h3 { font: 700 1.24rem/1.25 var(--display); font-stretch: 104%; margin-top: 1.8em; scroll-margin-top: 24px; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--primer-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose ul li::marker { color: var(--primer-deep); }
.prose strong { font-weight: 600; }
.prose .lede { font-size: 1.3rem; line-height: 1.6; color: var(--ink); }

.short { background: var(--alu-hi); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); font-size: 1.04rem; }
.short h2 { font: 700 1rem/1.2 var(--display); font-stretch: 108%; margin: 0 0 12px; color: var(--primer-deep); }
.short ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.short li { position: relative; padding-left: 22px; font-family: var(--display); font-size: .98rem; line-height: 1.5; }
.short li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--primer); }
.short + * { margin-top: 1.8em; }

.callout { border-radius: var(--r); padding: 20px 22px; background: var(--sand-soft); font-size: 1.02rem; }
.callout-data { background: var(--primer-soft); }
.callout-title { font: 700 .95rem/1.3 var(--display); font-stretch: 106%; margin-bottom: 6px; }
.callout p + p { margin-top: .6em; }

.fig { margin: 2em 0; }
.fig figcaption { font: 500 .88rem/1.45 var(--display); color: var(--ink-2); margin-top: 10px; }
@media (min-width: 1240px) { .fig { margin-right: -120px; } }

.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--alu-hi); }
.prose table { width: 100%; border-collapse: collapse; font: 400 .93rem/1.45 var(--display); }
.prose th, .prose td { text-align: left; padding: 11px 14px; vertical-align: top; }
.prose thead th { background: var(--ink); color: var(--alu-hi); font-weight: 600; }
.prose tbody tr:nth-child(even) { background: #E9ECEA; }
.prose tbody th { font-weight: 600; }

.sources { margin-top: 3em; padding: clamp(22px, 3vw, 32px); background: var(--alu-lo); border-radius: var(--r-lg); }
.sources h2 { margin: 0 0 14px; font-size: 1.3rem; }
.prose .source-list { list-style: none; padding: 0; margin: 0; counter-reset: src; display: grid; gap: 12px; }
.source-list li { counter-increment: src; position: relative; padding-left: 38px; font-family: var(--display); line-height: 1.4; }
.source-list li + li { margin-top: 0; }
.source-list li::before { content: counter(src); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 4px; background: var(--alu-hi); display: grid; place-items: center; font: 700 .75rem/1 var(--display); color: var(--ink-2); }
.source-list a { font: 600 .96rem/1.4 var(--display); color: var(--ink); text-decoration-color: var(--steel); }
.source-list a:hover { text-decoration-color: var(--ink); }
.src-domain { display: block; font: 500 .8rem/1.4 var(--display); color: var(--ink-2); margin-top: 2px; }
.src-note { display: block; font: 400 .85rem/1.4 var(--display); color: var(--ink-2); }
.checked { font: 600 .88rem/1.4 var(--display); color: var(--ink-2); margin-top: 16px !important; }
.corrections { margin-top: 2em; font: 400 .92rem/1.55 var(--display); color: var(--ink-2); }
.related { background: #DCE0DE; }

/* ---------- Section pages ---------- */
.sec-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); background: var(--band, var(--alu-lo)); }
.mat-sand-band { --band: #DECBA9; }
.mat-carbon-band { --band: var(--carbon); color: var(--on-dark); }
.mat-chips-band { --band: #D3D8D2; }
.mat-primer-band { --band: #CCD48F; }
.mat-alu-band { --band: #D3D8D6; }
.mat-carbon-band .crumbs ol, .mat-carbon-band .sec-long, .mat-carbon-band .sec-count { color: var(--on-dark-2); }
.mat-carbon-band .sec-title, .mat-carbon-band .sec-intro { color: var(--alu-hi); }
.sec-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.sec-title { font: 800 clamp(2.5rem, 6vw, 5.4rem)/.95 var(--display); font-stretch: 122%; letter-spacing: -.04em; }
.sec-intro { font: 500 clamp(1.1rem, 1.6vw, 1.32rem)/1.45 var(--display); margin-top: 22px; max-width: 34ch; }
.sec-long { font: 400 1.02rem/1.65 var(--text); color: var(--ink-2); margin-top: 16px; max-width: 52ch; }
.sec-count { font: 600 .9rem/1.2 var(--display); color: var(--ink-2); margin-top: 22px; }
.sec-pic { border-radius: var(--r-lg); }
.sec-list { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); }
.rows .row + .row { border-top: 2px solid var(--alu-lo); }
.sec-others { padding: 0 0 clamp(56px, 8vw, 96px); }
.sec-others h2 { font: 700 1.1rem/1.2 var(--display); margin-bottom: 14px; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list .sec-link, .chip { padding: 10px 14px; border-radius: 999px; background: var(--alu-hi); color: var(--ink); font: 600 .9rem/1.2 var(--display); display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s; }
.chip-list .sec-link:hover, .chip:hover { background: #FAFBFA; }
.chip.is-on { background: var(--ink); color: var(--alu-hi); }
@media (max-width: 860px) { .sec-hero-in { grid-template-columns: 1fr; } }

.index-head { padding: clamp(24px, 4vw, 48px) 0 12px; }
.index-head .sec-intro { max-width: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filters[hidden] { display: none; }
.index-list { padding: 12px 0 clamp(56px, 8vw, 96px); }
.index-list .row { grid-template-columns: 240px minmax(0, 1fr); padding: 26px 0; }
.index-list .row-title { font-size: 1.4rem; }
.row[hidden] { display: none; }
.filter-empty { padding: 30px 0; color: var(--ink-2); }
@media (max-width: 640px) { .index-list .row { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; } .index-list .row-title { font-size: 1.12rem; } }

/* ---------- Static pages ---------- */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 0; }
.page-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.page-pic { border-radius: var(--r-lg); }
.page-wrap { max-width: calc(760px + var(--gut) * 2); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.contact-mail { margin-top: 1.4em; }
.contact-mail .btn { font-size: 1.05rem; text-decoration: none; color: var(--alu-hi); }
.contact-mail .btn:hover { color: var(--alu-hi); }
@media (max-width: 760px) { .page-hero-in { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--weave); background-color: var(--carbon); color: var(--on-dark); padding: clamp(48px, 6vw, 80px) 0 28px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .5)); pointer-events: none; }
.footer-in, .footer-base { position: relative; }
.footer-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px 56px; }
.brand-foot { color: var(--alu-hi); margin-bottom: 18px; }
.footer-brand p { font: 400 .98rem/1.6 var(--text); color: var(--on-dark-2); max-width: 52ch; }
.footer-brand .footer-note { margin-top: 14px; font: 500 .84rem/1.5 var(--display); }
.footer-col h2 { font: 700 .95rem/1.2 var(--display); color: var(--alu-hi); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a, .footer-base a { color: var(--on-dark-2); text-decoration: none; font: 500 .95rem/1.9 var(--display); }
.footer-col a:hover, .footer-base a:hover { color: var(--alu-hi); text-decoration: underline; text-underline-offset: .2em; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 44px; padding-top: 20px; font: 500 .85rem/1.4 var(--display); color: var(--on-dark-2); }
.footer-base::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 0; height: 2px; background: rgba(220, 225, 222, .1); }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

@media (max-width: 640px) {
  .prose table { min-width: 600px; font-size: .88rem; }
}
