/* ============================================================================
   SUMMA — perp index protocol
   Monochrome by rule. The only colour on this site is direction: long or short.
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

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

/* --- type primitives ------------------------------------------------------ */

.label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.display {
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.92;
  font-size: clamp(38px, 8.4vw, 132px);
}

.display--sm { font-size: clamp(28px, 4.6vw, 68px); }

.lede {
  font-weight: 300;
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.45;
  color: rgba(237, 237, 237, 0.72);
  max-width: 30ch;
}

a { color: inherit; text-decoration: none; }

/* --- overlays ------------------------------------------------------------- */

#grain {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: var(--grain);
}

#grid-overlay {
  position: fixed; inset: 0; z-index: 88;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  padding: 0 var(--gutter);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
#grid-overlay.on { opacity: 1; }
#grid-overlay i { border-left: var(--rule) solid rgba(147, 227, 192, 0.16); }
#grid-overlay i:last-child { border-right: var(--rule) solid rgba(147, 227, 192, 0.16); }

/* --- preloader ------------------------------------------------------------ */

#preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ground);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader .mark {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.62em;
  text-indent: 0.62em;
  text-transform: uppercase;
}
#preloader .bar { width: min(220px, 40vw); height: var(--rule); background: var(--hair); position: relative; }
#preloader .bar span { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--ink); }
#preloader .pct { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--dim); }

/* --- chrome --------------------------------------------------------------- */

header.chrome {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  mix-blend-mode: difference;
}
.wordmark { display: flex; align-items: baseline; gap: 10px; }
.wordmark .sigma { font-family: var(--mono); font-size: 15px; }
.wordmark .name {
  font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.4em;
}
.chrome nav { display: flex; gap: 26px; align-items: center; }
.chrome nav a { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.chrome nav a .arw { display: inline-block; transition: transform 0.35s var(--ease); }
.chrome nav a:hover .arw { transform: translate(2px, -2px); }

#progress {
  position: fixed; right: var(--gutter); bottom: 18px; z-index: 60;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em;
  color: var(--dim); mix-blend-mode: difference;
  display: flex; gap: 14px; text-transform: uppercase;
}
#p-sec { color: var(--faint); }
@media (max-width: 560px) { #p-sec { display: none; } }

/* keyboard users get the same affordances as everyone else */
:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.lev-track:focus-visible, .slider:focus-visible { outline-offset: 6px; }

/* --- layout --------------------------------------------------------------- */

section { position: relative; padding: 0 var(--gutter); }

.sec-head {
  display: flex; align-items: baseline; gap: 18px;
  padding: 18px 0; border-top: var(--rule) solid var(--hair);
  margin-bottom: clamp(40px, 7vh, 90px);
}
.sec-head .idx { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--faint); }
.sec-head .ttl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }

/* --- reveal --------------------------------------------------------------- */

/* Reveal is an enhancement: without JS, or if the observer never fires, the
   page is simply legible. Nothing here is allowed to hide content by default. */
.js [data-reveal] { opacity: 0; transform: translateY(14px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

.word { display: inline-block; overflow: hidden; vertical-align: top; }
.js .word > i { display: inline-block; font-style: normal; transform: translateY(105%); transition: transform 0.85s var(--ease); }
.js .in .word > i { transform: none; }

/* ============================================================================
   01 — HERO
   ========================================================================== */

#hero { height: 260vh; padding: 0; }
#hero .stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  overflow: hidden;
}
#tape { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; gap: clamp(30px, 6vh, 78px);
}

.hero-head h1 { font-size: clamp(38px, 8.6vw, 128px); }

.hero-row {
  display: grid; gap: clamp(26px, 4vw, 70px);
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}
@media (min-width: 860px) {
  .hero-row { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); }
  .hero-row .lede { justify-self: end; text-align: right; }
}

/* the consolidation: four order rows collapse into one ticker */
.consolidator { position: relative; min-height: 152px; width: 100%; max-width: 520px; }
.orders { position: relative; }
.order {
  display: grid;
  grid-template-columns: 62px 1fr 58px 56px 56px;
  gap: clamp(8px, 1.4vw, 20px);
  align-items: center;
  font-family: var(--mono); font-size: clamp(10px, 1.05vw, 13px);
  letter-spacing: 0.06em;
  padding: 9px 0;
  border-bottom: var(--rule) solid var(--hair);
  white-space: nowrap;
  will-change: transform, opacity;
}
.order .verb { color: var(--faint); }
.order .mkt { letter-spacing: 0.14em; }
.order .side { color: var(--long); }
.order .side.short { color: var(--short); }
.order .w, .order .lev { text-align: right; color: var(--dim); }

.merged {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 26px);
  opacity: 0; pointer-events: none;
}
.merged .verb { font-family: var(--mono); font-size: clamp(10px, 1.05vw, 13px); color: var(--faint); letter-spacing: 0.06em; }
.merged .tick {
  font-weight: 200; text-transform: uppercase;
  font-size: clamp(34px, 5.4vw, 78px); letter-spacing: -0.02em; line-height: 1;
}
.merged .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--dim); }

.brace { position: absolute; right: -2px; top: 0; bottom: 0; width: 26px; pointer-events: none; }
.brace svg { width: 100%; height: 100%; overflow: visible; }
.brace path { stroke: var(--hair-strong); fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }

.scroll-cue { position: absolute; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.scroll-cue .ln { width: 46px; height: var(--rule); background: var(--hair-strong); position: relative; overflow: hidden; }
.scroll-cue .ln::after { content: ''; position: absolute; inset: 0; background: var(--ink); animation: sweep 2.4s var(--ease) infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ============================================================================
   02 — MANIFESTO
   ========================================================================== */

#manifesto { padding-top: clamp(90px, 16vh, 190px); padding-bottom: clamp(90px, 16vh, 190px); }
#manifesto p {
  font-weight: 200; text-transform: uppercase;
  font-size: clamp(24px, 4.1vw, 62px); line-height: 1.06; letter-spacing: -0.01em;
  max-width: 19ch;
}
#manifesto .foot { display: grid; gap: clamp(24px, 3vw, 56px); margin-top: clamp(36px, 6vh, 70px); }
@media (min-width: 860px) {
  #manifesto .foot { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: end; }
}

#manifesto .foot p { font-size: 14px; font-weight: 300; text-transform: none; line-height: 1.55; color: var(--dim); letter-spacing: 0; max-width: none; }

/* ============================================================================
   03 — COMPOSER
   ========================================================================== */

#composer { padding-bottom: clamp(90px, 14vh, 170px); }
.comp {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 64px);
  align-items: start;
}

.alloc-bar {
  display: flex; height: 74px; width: 100%;
  border: var(--rule) solid var(--hair-strong);
  user-select: none; touch-action: none;
}
.seg { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0 8px 9px; overflow: hidden; min-width: 0; }
.seg + .seg { border-left: var(--rule) solid var(--hair-strong); }
.seg .s-mkt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; white-space: nowrap; }
.seg .s-w { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.seg::after { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--long); opacity: 0.55; }
.seg.short::after { background: var(--short); }
.handle {
  position: relative; width: 11px; margin: 0 -5px; z-index: 3;
  cursor: col-resize; flex: 0 0 11px;
}
.handle::after { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: var(--rule); background: transparent; }
.handle:hover::after, .handle.drag::after { background: var(--ink); }

.legs { margin-top: 18px; }
.leg-row {
  display: grid; grid-template-columns: 14px 1fr 62px 74px 22px;
  gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: var(--rule) solid var(--hair);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
}
.leg-row .dot { width: 6px; height: 6px; background: var(--long); }
.leg-row.short .dot { background: var(--short); }
.leg-row .mkt { letter-spacing: 0.14em; }
.leg-row .side { cursor: pointer; color: var(--long); letter-spacing: 0.16em; }
.leg-row.short .side { color: var(--short); }
.leg-row .side:hover { text-decoration: underline; text-underline-offset: 3px; }
.leg-row .wt { text-align: right; color: var(--dim); }
.leg-row .rm { color: var(--faint); cursor: pointer; text-align: right; }
.leg-row .rm:hover { color: var(--short); }

.add-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  padding: 6px 10px; border: var(--rule) solid var(--hair-strong); color: var(--dim);
  cursor: pointer; background: none; text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[disabled] { opacity: 0.28; cursor: not-allowed; }

.controls { display: grid; gap: 26px; margin-top: 30px; }
.ctrl { display: grid; gap: 10px; }
.ctrl-head { display: flex; justify-content: space-between; align-items: baseline; }
.ctrl-val { font-family: var(--mono); font-size: 13px; }

.lev-track { position: relative; height: 34px; border-bottom: var(--rule) solid var(--hair-strong); cursor: pointer; touch-action: none; }
.lev-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-end; }
.lev-ticks i { width: var(--rule); background: var(--hair-strong); height: 7px; }
.lev-ticks i.major { height: 13px; }
.lev-fill { position: absolute; left: 0; bottom: 0; height: var(--rule); background: var(--ink); }
.lev-knob { position: absolute; bottom: -1px; width: var(--rule); height: 26px; background: var(--ink); }
.lev-knob::after {
  content: attr(data-v); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; padding-bottom: 5px; white-space: nowrap;
}

.ticker-in {
  display: flex; align-items: baseline; gap: 4px;
  border-bottom: var(--rule) solid var(--hair-strong); padding-bottom: 8px;
}
.ticker-in span { font-weight: 200; font-size: clamp(24px, 3vw, 40px); color: var(--faint); }
.ticker-in input {
  background: none; border: none; color: var(--ink); outline: none;
  font-family: var(--display); font-weight: 200; text-transform: uppercase;
  font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.01em; width: 100%; min-width: 0;
}

/* output panel */
.readout { border: var(--rule) solid var(--hair-strong); }
.readout .r-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: var(--rule) solid var(--hair-strong);
}
.r-body { padding: 16px; display: grid; gap: 14px; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.kv .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.kv .k-link { border-bottom: var(--rule) solid transparent; padding-bottom: 2px; transition: border-color 0.25s, color 0.25s; }
.kv .k-link:hover { color: var(--ink); border-color: var(--hair-strong); }
.kv .v { font-family: var(--mono); font-size: 13px; }
.kv .v.long { color: var(--long); }
.kv .v.short { color: var(--short); }

.notional-list { display: grid; gap: 7px; padding-top: 12px; border-top: var(--rule) solid var(--hair); }
.nrow { display: grid; grid-template-columns: 1fr auto; font-family: var(--mono); font-size: 11px; }
.nrow .n-mkt { letter-spacing: 0.12em; color: var(--dim); }
.nrow .n-v.long { color: var(--long); }
.nrow .n-v.short { color: var(--short); }

.cd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-top: var(--rule) solid var(--hair-strong);
}
.cd-head .chip { padding: 4px 10px; }
.chip--solid { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.chip--solid:hover { background: transparent; color: var(--ink); }

.calldata {
  padding: 0 16px 16px;
  font-family: var(--mono); font-size: 10.5px; line-height: 1.85;
  color: var(--dim); white-space: pre; overflow-x: auto;
}
.calldata .k { color: rgba(237,237,237,0.85); }
.calldata .s { color: var(--long); }
.calldata .s.short { color: var(--short); }
.calldata .c { color: var(--faint); }

.warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-top: var(--rule) solid var(--hair-strong); }
.warn .label { color: var(--short); }
.warn p { font-size: 12px; color: var(--dim); }

/* ============================================================================
   04 — PATH LAB
   ========================================================================== */

#path { padding-bottom: clamp(90px, 14vh, 170px); }
.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.chart-wrap { position: relative; border: var(--rule) solid var(--hair-strong); }
#lab-chart { display: block; width: 100%; height: clamp(260px, 42vh, 420px); }
.legend { display: flex; gap: 22px; padding: 12px 16px; border-top: var(--rule) solid var(--hair-strong); flex-wrap: wrap; }
.legend div { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.legend .sw { width: 16px; height: var(--rule); background: var(--ink); }
.legend .sw.dash { background: repeating-linear-gradient(90deg, var(--faint) 0 3px, transparent 3px 6px); }
.legend .sw.mint { background: var(--long); }

.slider { position: relative; height: 30px; border-bottom: var(--rule) solid var(--hair-strong); cursor: pointer; touch-action: none; }
.slider .fill { position: absolute; left: 0; bottom: 0; height: var(--rule); background: var(--ink); }
.slider .knob { position: absolute; bottom: -1px; width: var(--rule); height: 20px; background: var(--ink); }
.lab-side { display: grid; gap: 26px; }
.verdict { border-top: var(--rule) solid var(--hair-strong); padding-top: 16px; display: grid; gap: 12px; }
.verdict .big { font-family: var(--mono); font-size: clamp(26px, 3.4vw, 44px); font-weight: 400; }
.verdict .big.neg { color: var(--short); }
.verdict .big.pos { color: var(--long); }

/* ============================================================================
   05 — MECHANICS
   ========================================================================== */

#mechanics { padding-bottom: clamp(90px, 14vh, 170px); }
.rules { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 54px); border-top: var(--rule) solid var(--hair); }
@media (min-width: 720px)  { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rule-cell { padding: 26px 0 34px; border-bottom: var(--rule) solid var(--hair); }
.rule-cell .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--faint); }
.rule-cell h3 { font-weight: 200; text-transform: uppercase; font-size: clamp(19px, 1.9vw, 27px); line-height: 1.1; margin: 14px 0 12px; letter-spacing: -0.005em; }
.rule-cell p { font-size: 13.5px; color: var(--dim); line-height: 1.6; max-width: 34ch; }
.rule-cell code { font-family: var(--mono); font-size: 11.5px; color: rgba(237,237,237,0.8); }

/* ============================================================================
   06 — TOKEN
   ========================================================================== */

#token { padding-bottom: clamp(90px, 14vh, 170px); }
.tok { display: grid; gap: clamp(26px, 3.4vw, 64px); align-items: start; }
@media (min-width: 860px) { .tok { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tok-body p { font-size: 14px; color: var(--dim); line-height: 1.6; max-width: 46ch; margin-top: 14px; }
.tok-body .tok-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em; color: var(--faint); line-height: 1.7; margin-top: 18px; }
.tok-body .f-ca { margin-top: 30px; }

/* ============================================================================
   07 — INDEX TABLE
   ========================================================================== */

#index { padding-bottom: clamp(70px, 12vh, 130px); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint); font-weight: 400; text-align: right; padding: 0 0 12px;
  border-bottom: var(--rule) solid var(--hair-strong);
}
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td { padding: 16px 0; border-bottom: var(--rule) solid var(--hair); font-family: var(--mono); font-size: 12px; text-align: right; vertical-align: middle; }
.tbl tr { transition: opacity 0.3s; }
.tbl tbody tr:hover { opacity: 1; }
.tbl tbody:hover tr { opacity: 0.4; }
.t-tick { font-family: var(--display); font-weight: 200; font-size: clamp(17px, 1.8vw, 24px); text-transform: uppercase; letter-spacing: -0.005em; }
.t-comp { color: var(--faint); font-size: 10px; letter-spacing: 0.14em; display: block; margin-top: 3px; }
.t-chg.pos { color: var(--long); }
.t-chg.neg { color: var(--short); }
.spark { display: block; width: 92px; height: 26px; margin-left: auto; }
.col-hide { display: table-cell; }

/* ============================================================================
   08 — FOOTER
   ========================================================================== */

footer { padding: clamp(60px, 10vh, 120px) var(--gutter) 30px; border-top: var(--rule) solid var(--hair); }
.f-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: clamp(50px, 9vh, 110px); }
.f-go {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  border-bottom: var(--rule) solid var(--hair-strong); padding-bottom: 7px; white-space: nowrap;
  transition: border-color 0.3s var(--ease);
}
.f-go:hover { border-color: var(--ink); }
.f-go .arw { display: inline-block; transition: transform 0.35s var(--ease); }
.f-go:hover .arw { transform: translate(2px, -2px); }
.f-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-top: clamp(30px, 5vh, 60px); border-top: var(--rule) solid var(--hair); }
.f-sigma { font-family: var(--mono); font-weight: 300; font-size: clamp(70px, 15vw, 190px); line-height: 0.8; }
.f-inv { text-align: right; }
.f-inv .eq { font-family: var(--mono); font-size: clamp(13px, 1.5vw, 19px); }
.f-ca { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 36px; }
.ca-btn {
  display: inline-flex; align-items: center; gap: 16px;
  border: var(--rule) solid var(--hair-strong); padding: 10px 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--ink); background: none; cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.ca-btn:hover { border-color: var(--ink); }
.ca-btn .ca-act { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.ca-btn:hover .ca-act { color: var(--ink); }
.ca-btn .ca-addr { overflow-wrap: anywhere; text-align: left; }
@media (max-width: 560px) { .ca-btn { font-size: 9.5px; gap: 10px; padding: 9px 10px; } }

.f-links { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: var(--rule) solid var(--hair); }
.f-links a, .f-links button { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); background: none; border: none; cursor: pointer; padding: 0; transition: color 0.25s; }
.f-links a:hover, .f-links button:hover { color: var(--ink); }
.f-legal { margin-top: 30px; display: grid; gap: 7px; max-width: 62ch; }
.f-legal p { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em; color: var(--faint); line-height: 1.7; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .comp, .lab { grid-template-columns: minmax(0, 1fr); }
  .col-hide { display: none; }
  #hero { height: 220vh; }
  .order { grid-template-columns: 46px 1fr 46px 44px 44px; }
  .chrome nav { gap: 16px; }
  .brace { display: none; }
}

@media (max-width: 720px) {
  /* the nav collapses to the one link that does anything */
  .chrome nav a:not(:last-child) { display: none; }
  header.chrome { padding: 16px var(--gutter); }
}

@media (max-width: 560px) {
  .wordmark .name { letter-spacing: 0.28em; font-size: 12px; }
  .alloc-bar { height: 60px; }
  .seg .s-mkt { font-size: 9px; letter-spacing: 0.06em; }
  .leg-row { grid-template-columns: 10px 1fr 52px 60px 18px; gap: 8px; font-size: 10px; }
  #manifesto p { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .word > i { transform: none !important; }
  .scroll-cue .ln::after { animation: none; }
}
