/* ============================================================================
   AWARE — aware-aeco.com
   "The Engineering Broadsheet" — warm drafting paper, graphite ink,
   redline-vermillion accent. Manifesto voice (serif) + proof (mono terminal).
   Hand-written. No framework. No build step.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* paper + ink */
  --paper:      #f6f2e9;   /* warm bone canvas            */
  --paper-2:    #efe7d7;   /* recessed panels             */
  --paper-3:    #e8dfca;   /* card edges / fills          */
  --ink:        #1b1712;   /* warm near-black text        */
  --ink-soft:   #4c453a;   /* secondary text              */
  --ink-faint:  #8a8067;   /* captions, labels            */
  --line:       rgba(27, 23, 18, .14);
  --line-soft:  rgba(27, 23, 18, .08);

  /* the one accent: redline */
  --redline:    #ce3b1c;
  --redline-2:  #a82e14;   /* hover / pressed             */
  --redline-wash: rgba(206, 59, 28, .10);

  /* terminal (the inverted proof block) */
  --term-bg:    #17140f;
  --term-bg-2:  #211c15;
  --term-fg:    #ece5d5;
  --term-dim:   #8d8472;
  --term-ok:    #93b178;   /* muted sage check            */
  --term-arrow: #d6a657;   /* warm amber arrow            */
  --term-say:   #9ec7c9;   /* the natural-language line   */

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* layout */
  --maxw: 1080px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 4px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
em { font-style: italic; }
.nowrap { white-space: nowrap; }
.ink-soft { color: var(--ink-soft); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- atmosphere: drafting grid + paper grain ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% -10%, #000 0%, transparent 70%);
          mask-image: radial-gradient(120% 80% at 50% -10%, #000 0%, transparent 70%);
  opacity: .7;
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- shared layout ---------- */
.nav, .hero, .section, .footer {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* keep anchor jumps clear of the sticky nav */
[id] { scroll-margin-top: 6rem; }
.section__title { text-wrap: balance; }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 1.4rem;
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .5rem; }
.wordmark__mark { display: inline-flex; color: var(--ink); }
.wordmark__mark svg { width: 1.25em; height: 1.25em; display: block; }
.wordmark__name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; }
.nav__links { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav__links > a:not(.btn) {
  font-size: .95rem; color: var(--ink-soft); position: relative; padding-block: .2rem;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--redline); transition: width .25s ease;
}
.nav__links > a:not(.btn):hover { color: var(--ink); }
.nav__links > a:not(.btn):hover::after { width: 100%; }
@media (max-width: 720px) {
  .nav__links > a:not(.btn):not(.nav__gh) { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  padding: .7rem 1.15rem; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--redline); box-shadow: 0 6px 22px -10px var(--redline); }
.btn--ghost { border-color: var(--line); color: var(--ink); padding: .5rem 1rem; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--text { color: var(--ink-soft); border-bottom: 1.5px solid var(--line); border-radius: 0; padding: .7rem .2rem; }
.btn--text:hover { color: var(--redline); border-color: var(--redline); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(3rem, 9vh, 7rem); padding-bottom: clamp(3.5rem, 10vh, 7rem); }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem;
}
.eyebrow__tick { width: 26px; height: 1.5px; background: var(--redline); display: inline-block; }

.hero__title {
  font-size: clamp(2.5rem, 1.2rem + 5.8vw, 5.2rem);
  font-weight: 600; letter-spacing: -.025em; line-height: .98;
  max-width: 24ch; text-wrap: balance;
}
.hero__title span { display: block; }
.hero__title .nowrap { white-space: nowrap; }

.hero__lede {
  font-size: clamp(1.12rem, 1rem + .6vw, 1.5rem);
  line-height: 1.5; color: var(--ink); max-width: 40ch; margin-top: 1.8rem;
  font-weight: 400;
}
.hero__lede em { color: var(--redline); font-style: italic; }

.hero__cta { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }

/* install command pill */
.install {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--term-bg); color: var(--term-fg);
  border-radius: var(--radius); padding: .7rem .7rem .7rem 1rem;
  font-family: var(--mono); font-size: clamp(.85rem, .8rem + .3vw, 1rem);
  box-shadow: 0 14px 40px -22px rgba(27,23,18,.6); max-width: 100%;
}
.install__prompt { color: var(--redline); font-weight: 600; }
.install__cmd { white-space: nowrap; overflow-x: auto; }
.install__copy {
  margin-left: .3rem; background: var(--term-bg-2); color: var(--term-dim);
  border: 1px solid rgba(236,229,213,.12); border-radius: 3px; padding: .3rem .55rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.install__copy:hover { color: var(--term-fg); border-color: rgba(236,229,213,.35); }
.install__copy.is-copied { color: var(--term-ok); border-color: var(--term-ok); }

.hero__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; }
.hero__foot { margin-top: 2.4rem; color: var(--ink-faint); font-size: .95rem; }
.hero__foot strong { color: var(--ink-soft); font-weight: 600; }

/* ---------- kinetic wordmark: SOFTWARE → AWARE ----------
   The brand statement that the H1 then explains. Decorative; the
   .visually-hidden span carries the meaning for assistive tech.

   DEFAULT (no-JS) = the FINAL resolved state: "AWARE" + tagline, static.
   SOFT + strike are display:none so the markup reads "A" + "WARE" = AWARE.

   The .js path re-introduces SOFT for the animation. Motion is
   transform/opacity only — the wider "SOFT" is taken out of flow
   (absolute), so revealing/collapsing it never reflows WARE. */
.kinetic { margin-bottom: clamp(1.4rem, 3.5vh, 2.4rem); }
.kinetic__word {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 1rem + 9vw, 6.2rem);
  line-height: .92; letter-spacing: -.03em; color: var(--ink);
  display: inline-flex; align-items: baseline;
  max-width: 100%; white-space: nowrap;
}
/* the slot holds the A (in flow). SOFT overlays it during the animation. */
.kinetic__slot { position: relative; display: inline-flex; }
.kinetic__a { color: var(--redline); display: inline-block; }
.kinetic__ware { color: var(--ink); }
/* no-JS / final: SOFT removed from the document so "AWARE" reads correctly */
.kinetic__soft { display: none; }
.kinetic__strike {
  position: absolute; left: -.03em; right: -.03em; top: 52%;
  height: max(3px, .07em); border-radius: 999px; background: var(--redline);
  transform: scaleX(0); transform-origin: left center; pointer-events: none;
}
.kinetic__tag {
  font-family: var(--mono); font-size: clamp(.8rem, .72rem + .35vw, 1rem);
  letter-spacing: .04em; color: var(--ink-faint); margin-top: .85rem;
}

/* ---- JS pre-animation state: show the full word "SOFTWARE" ----
   SOFT is absolutely positioned over the slot (left-aligned), so it spills
   to the right onto WARE without affecting layout. The A starts hidden. */
.js .kinetic[data-kinetic] .kinetic__soft {
  display: inline-block; position: absolute; left: 0; top: 0;
  color: var(--ink); transform-origin: left center;
}
.js .kinetic[data-kinetic] .kinetic__a { opacity: 0; transform: translateX(-.22em); }
.js .kinetic[data-kinetic] .kinetic__ware { transform: translateX(var(--ware-shift, 0)); }
.js .kinetic[data-kinetic] .kinetic__tag { opacity: 0; transform: translateY(6px); }

/* ---- the sequence (plays once on enter view) ----
   --ware-shift is set by JS = (width of SOFT − width of A), so WARE sits
   flush after SOFT while it's visible, then slides back to hug the A. */
/* 1. redline strike draws across SOFT, then fades as SOFT collapses */
.kinetic.is-playing .kinetic__strike {
  animation: kStrike .5s cubic-bezier(.2,.7,.2,1) .35s forwards,
             kStrikeOut .35s ease 1.05s forwards;
}
/* 2. SOFT collapses + fades out (after the strike lands) */
.kinetic.is-playing .kinetic__soft {
  animation: kSoftOut .5s cubic-bezier(.4,0,.2,1) .95s forwards;
}
/* 3. the A fades + slides into place → AWARE */
.kinetic.is-playing .kinetic__a {
  animation: kAIn .55s cubic-bezier(.2,.7,.2,1) 1.15s forwards;
}
/* 3b. WARE slides left to close up against the A (transform only) */
.kinetic.is-playing .kinetic__ware {
  animation: kWareClose .55s cubic-bezier(.2,.7,.2,1) 1.15s forwards;
}
/* 4. tagline resolves beneath */
.kinetic.is-playing .kinetic__tag {
  animation: reveal .7s cubic-bezier(.2,.7,.2,1) 1.7s forwards;
}

@keyframes kStrike    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kStrikeOut { to { opacity: 0; } }
@keyframes kSoftOut   { to { opacity: 0; transform: scaleX(.5); } }
@keyframes kAIn       { to { opacity: 1; transform: none; } }
@keyframes kWareClose { from { transform: translateX(var(--ware-shift, 0)); } to { transform: none; } }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(3.5rem, 9vh, 6.5rem); border-top: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.2rem); align-items: start; margin-bottom: 2.6rem; }
.section__num { font-family: var(--mono); font-size: .85rem; color: var(--redline); font-weight: 600; letter-spacing: .1em; padding-top: .55rem; }
.section__num::before { content: ""; display: block; width: 30px; height: 1.5px; background: var(--redline); margin-bottom: .5rem; }
.section__title { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.85rem); max-width: 20ch; }
.section__lede { margin-top: .9rem; color: var(--ink-soft); max-width: 52ch; font-size: 1.05rem; }

/* ---------- terminal (the proof) ---------- */
.terminal {
  margin: 0; border-radius: 8px; overflow: hidden;
  background: var(--term-bg); color: var(--term-fg);
  box-shadow: 0 40px 90px -50px rgba(27,23,18,.85), 0 0 0 1px rgba(27,23,18,.06);
}
.terminal__bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem; background: var(--term-bg-2); border-bottom: 1px solid rgba(236,229,213,.08);
}
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; background: #3a342a; }
.terminal__dot:nth-child(1) { background: #c0563b; }
.terminal__dot:nth-child(2) { background: #c79a4a; }
.terminal__dot:nth-child(3) { background: #6f8e58; }
.terminal__name { margin-left: .6rem; font-family: var(--mono); font-size: .78rem; color: var(--term-dim); letter-spacing: .04em; }
.terminal__body {
  margin: 0; padding: clamp(1.1rem, 2.5vw, 2rem) clamp(1.1rem, 2.5vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  font-family: var(--mono); font-size: clamp(.74rem, .62rem + .42vw, .95rem); line-height: 1.7;
  overflow-x: auto; white-space: pre; tab-size: 2;
}
.terminal__body code { font-family: inherit; color: inherit; }
.t-line { display: block; }
.t-gap { margin-top: 1.05em; }
.c-prompt { color: var(--redline); font-weight: 600; }
.c-ok     { color: var(--term-ok); }
.c-dim    { color: var(--term-dim); }
.c-arrow  { color: var(--term-arrow); }
.c-say    { color: var(--term-say); font-style: italic; }
.c-em     { color: var(--term-fg); border-bottom: 1px dotted var(--term-arrow); padding-bottom: 1px; }
.cursor   { color: var(--redline); animation: blink 1.15s steps(1) infinite; }
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

/* staggered line reveal when terminal scrolls into view */
.js .terminal[data-terminal] .t-line { opacity: 0; transform: translateY(4px); }
.terminal.is-playing .t-line { animation: lineIn .42s ease forwards; animation-delay: calc(var(--i, 0) * .14s); }
@keyframes lineIn { to { opacity: 1; transform: none; } }

.proof__caption {
  margin-top: 1.8rem; max-width: 62ch; color: var(--ink); font-size: 1.05rem;
}
.proof__caption em { font-style: italic; color: var(--ink-soft); }

/* ---------- cards (two primitives) ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, var(--paper-2), color-mix(in srgb, var(--paper-2) 60%, var(--paper)));
  border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.4rem, 3vw, 2.1rem);
  position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(27,23,18,.5); border-color: var(--redline); }
.card__tag {
  display: inline-block; font-family: var(--mono); font-size: .82rem; color: var(--redline);
  background: var(--redline-wash); padding: .3rem .6rem; border-radius: 3px; margin-bottom: 1.1rem;
}
.card__title { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); margin-bottom: .8rem; }
.card p { color: var(--ink-soft); margin-bottom: .9rem; }
.card p:last-child { margin-bottom: 0; }
.card code { font-size: .9em; background: var(--paper-3); padding: .05em .35em; border-radius: 3px; color: var(--ink); }
.card__kicker { color: var(--ink) !important; }
.card__kicker strong { color: var(--redline); font-weight: 600; }

/* ---------- negations (what it is not) ---------- */
.negations { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.negations li {
  padding: 1.15rem 0; border-top: 1px solid var(--line); color: var(--ink-soft);
  display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr; gap: .4rem 2rem; align-items: baseline;
}
.negations li:last-child { border-bottom: 1px solid var(--line); }
.negations__no {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); color: var(--ink);
}
@media (max-width: 620px) { .negations li { grid-template-columns: 1fr; } }

/* ---------- decalog (nine truths) ---------- */
.truths {
  list-style: none; margin: 0 0 2.2rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
@media (max-width: 820px) { .truths { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .truths { grid-template-columns: 1fr; } }
.truths li {
  background: var(--paper); padding: 1.4rem 1.35rem 1.6rem; position: relative;
  transition: background .25s ease;
}
.truths li:hover { background: var(--paper-2); }
.truths__n {
  font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--redline);
  display: inline-block; margin-bottom: .7rem;
}
.truths h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: .45rem; line-height: 1.15; }
.truths h3 em { color: var(--redline); }
.truths p { color: var(--ink-soft); font-size: .94rem; line-height: 1.5; }
.truths code { font-size: .88em; background: var(--paper-3); padding: .03em .3em; border-radius: 3px; }

.link-arrow { font-family: var(--mono); font-size: .92rem; color: var(--redline); display: inline-flex; gap: .5rem; align-items: center; }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- contribute ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); margin-bottom: 2.6rem; }
@media (max-width: 720px) { .ways { grid-template-columns: 1fr; } }
.way { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.way__n { font-family: var(--mono); font-weight: 600; color: var(--redline); font-size: .9rem; }
.way h3 { font-size: 1.25rem; margin: .5rem 0 .5rem; }
.way p { color: var(--ink-soft); font-size: .98rem; }
.way code { font-size: .86em; background: var(--paper-3); padding: .03em .3em; border-radius: 3px; }
.contribute__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; }
.contribute__note { color: var(--ink-soft); font-size: .98rem; max-width: 40ch; }
.contribute__note strong { color: var(--ink); }

/* ---------- registry: "what's in AWARE" (generated by build-registry.py) ---------- */
.reg-summary { margin-bottom: 2.6rem; }
.reg-bar {
  display: flex; gap: 3px; height: 18px; border-radius: 5px; overflow: hidden;
  background: var(--paper-3);
}
.reg-seg { background: var(--c); transform-origin: left; min-width: 6px; }
.js .registry .reg-seg { transform: scaleX(0); }
.registry.is-in .reg-seg { animation: segGrow .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i, 0) * .06s); }
@keyframes segGrow { to { transform: scaleX(1); } }
.reg-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.05rem; }
.reg-legend__item { font-family: var(--mono); font-size: .82rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .45rem; }
.reg-legend__item i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); display: inline-block; }
.reg-legend__item b { color: var(--ink); font-weight: 600; }

.reg-roster { display: grid; gap: 1.75rem; }
.reg-disc__h { display: flex; align-items: baseline; gap: .6rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: .85rem; }
.reg-dot { width: 10px; height: 10px; border-radius: 2px; background: var(--c); align-self: center; }
.reg-disc__name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.reg-disc__count { font-family: var(--mono); font-size: .8rem; color: var(--ink-faint); }
.reg-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.reg-chip {
  font-family: var(--mono); font-size: .82rem; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 5px; padding: .34rem .6rem;
  display: inline-flex; align-items: center; gap: .45rem;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.reg-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex: none; }
.reg-chip:hover { transform: translateY(-2px); border-color: var(--c); background: var(--paper); }
.reg-meta { margin-top: 1.9rem; font-family: var(--mono); font-size: .82rem; color: var(--ink-faint); }
.reg-meta b { color: var(--ink); }
.reg-meta a { color: var(--redline); border-bottom: 1px solid var(--line); }
.reg-meta a:hover { border-color: var(--redline); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line); margin-top: 1rem;
  padding-top: clamp(2.6rem, 6vh, 4rem); padding-bottom: 3rem;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 3rem; align-items: start;
}
@media (max-width: 720px) { .footer { grid-template-columns: 1fr; } }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.footer__name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }
.footer__thesis { flex-basis: 100%; color: var(--ink-faint); font-size: .95rem; margin-top: .6rem; max-width: 44ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-content: start; }
.footer__links a { color: var(--ink-soft); font-size: .98rem; position: relative; }
.footer__links a:hover { color: var(--ink); }
.footer__support { color: var(--redline) !important; font-weight: 600; }
.footer__support:hover { color: var(--redline-2) !important; }
.footer__legal {
  grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  border-top: 1px solid var(--line-soft); margin-top: 1.4rem; padding-top: 1.4rem;
  font-family: var(--mono); font-size: .8rem; color: var(--ink-faint); letter-spacing: .03em;
}
.footer__byline { color: var(--redline); }

/* ---------- scroll reveals ----------
   Initial hidden states are gated behind .js (added by boot.js before paint),
   so with JS disabled/broken everything is simply visible — no blank hero. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes reveal { to { opacity: 1; transform: none; } }
.js .section .section__head,
.js .section .cards,
.js .section .negations,
.js .section .truths,
.js .section .ways,
.js .section .contribute__cta,
.js .section .link-arrow { opacity: 0; transform: translateY(20px); }
.section.is-in .section__head,
.section.is-in .cards,
.section.is-in .negations,
.section.is-in .truths,
.section.is-in .ways,
.section.is-in .contribute__cta,
.section.is-in .link-arrow { animation: reveal .75s cubic-bezier(.2,.7,.2,1) forwards; }
.section.is-in .cards,
.section.is-in .negations,
.section.is-in .truths,
.section.is-in .ways { animation-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .section .section__head, .section .cards, .section .negations,
  .section .truths, .section .ways, .section .contribute__cta, .section .link-arrow,
  .terminal[data-terminal] .t-line, .registry .reg-seg {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .cursor { animation: none; }

  /* kinetic wordmark: show the FINAL state statically — "AWARE" + tagline.
     Keep SOFT hidden (even under .js) so it reads "A" + "WARE". */
  .js .kinetic[data-kinetic] .kinetic__soft { display: none !important; animation: none !important; }
  .js .kinetic[data-kinetic] .kinetic__a,
  .js .kinetic[data-kinetic] .kinetic__ware,
  .js .kinetic[data-kinetic] .kinetic__tag {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}
