/* XETRIA — core stylesheet. No external resources. */

:root {
  --bg: #05060a;
  --bg-2: #080a11;
  --ink: #edf0f7;
  --ink-2: #a8b0c4;
  --ink-3: #737d95;
  --line: rgba(160, 178, 214, 0.14);
  --line-strong: rgba(160, 178, 214, 0.28);
  --cy: oklch(0.82 0.13 197);
  --vi: oklch(0.66 0.2 300);
  --cy-dim: oklch(0.62 0.09 197);
  --font-sans: "Helvetica Neue", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity 0.42s var(--ease);
}

body.is-leaving { opacity: 0; }

a { color: var(--cy); text-decoration: none; transition: color 0.25s var(--ease), opacity 0.25s var(--ease); }
a:hover { color: var(--ink); }

::selection { background: var(--vi); color: #fff; }

/* ---------- ambient layers ---------- */

.field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  background-image: url("../img/noise.png");
  background-size: 180px 180px;
  opacity: 0.045;
  mix-blend-mode: overlay;
  animation: grain 6s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(2%, 2%); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(120, 90, 255, 0.16), transparent 60%),
    radial-gradient(90% 60% at 50% 110%, rgba(0, 190, 220, 0.09), transparent 60%),
    linear-gradient(to bottom, rgba(5, 6, 10, 0) 55%, rgba(5, 6, 10, 0.75) 100%);
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease),
    margin 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor.is-on { opacity: 1; }
.cursor.is-hot {
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-color: color-mix(in oklab, var(--cy) 70%, transparent);
  background: color-mix(in oklab, var(--cy) 8%, transparent);
}
.cursor.is-charged {
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-color: color-mix(in oklab, var(--vi) 75%, transparent);
  background: color-mix(in oklab, var(--vi) 10%, transparent);
}

/* native cursor is replaced by the ring only when we actually drew one */
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor .vector { cursor: none; }
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 3px; height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: var(--ink);
  z-index: 61;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cursor-dot.is-on { opacity: 0.9; }

/* ---------- shell ---------- */

.shell { position: relative; z-index: 3; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 26px; height: 26px; overflow: visible; }
.brand .glyph-breathe { transform-origin: 50% 50%; animation: breathe 5.5s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.07); }
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand-word {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding-left: 2px;
}

.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--cy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span, .nav-toggle span::before {
  content: "";
  display: block;
  width: 16px; height: 1px;
  background: currentColor;
  margin: 0 auto;
  transition: transform 0.35s var(--ease), opacity 0.2s linear;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: 5px; }
body.menu-open .nav-toggle span { transform: translateY(2px) rotate(45deg); }
body.menu-open .nav-toggle span::before { transform: translateY(-5px) rotate(-90deg); }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
body.menu-open .sheet { opacity: 1; visibility: visible; }
.sheet a {
  font-size: clamp(30px, 10vw, 46px);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
body.menu-open .sheet a { transform: none; opacity: 1; }
body.menu-open .sheet a:nth-child(2) { transition-delay: 0.05s; }
body.menu-open .sheet a:nth-child(3) { transition-delay: 0.1s; }
body.menu-open .sheet a:nth-child(4) { transition-delay: 0.15s; }
body.menu-open .sheet a:nth-child(5) { transition-delay: 0.2s; }
.sheet .sheet-foot { margin-top: 36px; border: 0; font-size: 11px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 980px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 12vh, 140px) 0 clamp(40px, 8vh, 90px);
}

.halo {
  position: absolute;
  top: 50%; left: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  pointer-events: none;
  background: conic-gradient(from 0deg,
    rgba(0, 210, 235, 0.22), rgba(120, 80, 255, 0.24),
    rgba(6, 8, 14, 0) 55%, rgba(0, 210, 235, 0.18));
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 38s linear infinite;
}
@keyframes drift { to { transform: rotate(360deg); } }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 4vh, 44px);
}
.eyebrow .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--cy) 60%, transparent);
  animation: pulse 2.6s ease-out infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--cy) 55%, transparent); }
  70% { box-shadow: 0 0 0 12px rgba(0, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

h1, h2, h3 { color: var(--ink); font-weight: 200; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }

.display {
  font-size: clamp(38px, 8.2vw, 122px);
  text-wrap: balance;
}
.display em {
  font-style: normal;
  display: inline-block;
  padding: 0 0.08em 0.2em 0;
  margin: 0 -0.08em -0.2em 0;
  background: linear-gradient(100deg, var(--cy), var(--vi) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 54ch;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: clamp(26px, 4vh, 44px) 0 0;
  text-wrap: pretty;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(34px, 6vh, 58px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 15px 26px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, color-mix(in oklab, var(--cy) 18%, transparent), color-mix(in oklab, var(--vi) 22%, transparent));
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn span { position: relative; }
.btn:hover { border-color: color-mix(in oklab, var(--cy) 55%, transparent); color: var(--ink); }
.btn:hover::before { transform: none; }
.btn-arrow { position: relative; transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost { border-color: transparent; padding-left: 0; padding-right: 0; color: var(--ink-2); }
.btn-ghost::before { display: none; }
.btn-ghost:hover { color: var(--ink); }

.scroll-hint {
  position: absolute;
  bottom: clamp(18px, 4vh, 40px);
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-hint .bar {
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--line-strong), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint .bar::after {
  content: "";
  position: absolute;
  top: -54px; left: 0;
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, transparent, var(--cy));
  animation: slide 2.6s var(--ease) infinite;
}
@keyframes slide { to { transform: translateY(108px); } }

/* ---------- ticker ---------- */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: color-mix(in oklab, var(--bg-2) 60%, transparent);
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 44s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.ticker-track > span .dot { color: var(--cy-dim); margin-right: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

section { position: relative; }

.band { padding: clamp(72px, 13vh, 168px) 0; }
.band + .band { border-top: 1px solid var(--line); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: clamp(36px, 6vh, 64px);
}
.sec-title {
  font-size: clamp(26px, 3.6vw, 48px);
  max-width: 24ch;
  text-wrap: balance;
}

.vectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.vector {
  position: relative;
  padding: clamp(28px, 3.4vw, 46px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 340px;
  overflow: hidden;
  transition: background 0.5s var(--ease);
}
.vector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 20% 0%, color-mix(in oklab, var(--vi) 16%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.vector:hover::after { opacity: 1; }
.vector h3 { font-size: clamp(21px, 2vw, 29px); letter-spacing: -0.02em; }
.vector p { margin: 0; font-size: 15px; color: var(--ink-2); }
.vector .idx { display: flex; justify-content: space-between; align-items: center; }
.vector .meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }

.statement { padding: clamp(80px, 16vh, 200px) 0; }
.quote {
  font-size: clamp(25px, 4.2vw, 62px);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 21ch;
  text-wrap: balance;
}
.quote-sub { margin-top: clamp(26px, 4vh, 44px); max-width: 46ch; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--bg); padding: clamp(22px, 2.6vw, 34px); }
.fact .v { display: block; color: var(--ink); font-size: clamp(22px, 2.4vw, 32px); font-weight: 200; letter-spacing: -0.02em; margin-bottom: 8px; }

.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.35em; font-size: clamp(15px, 1.15vw, 17px); text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 400; }

/* ---------- list / journal ---------- */

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 150px 22px;
  gap: 18px 28px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px) 4px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-2);
}
a.row::before {
  content: "";
  position: absolute;
  inset: 0 -12px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--vi) 10%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
a.row:hover::before { opacity: 1; }
.row > * { position: relative; }
.row h3 { font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.02em; }
a.row:hover h3 { color: var(--ink); }
.row .arrow { text-align: right; color: var(--ink-3); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
a.row:hover .arrow { transform: translateX(5px); color: var(--cy); }
.row.is-sealed { color: var(--ink-3); }
.row.is-sealed h3 { color: var(--ink-3); }
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-3);
}

/* ---------- article ---------- */

.article-head { padding: clamp(60px, 12vh, 150px) 0 clamp(30px, 5vh, 56px); }
.article-title { font-size: clamp(30px, 5.4vw, 74px); max-width: 24ch; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: clamp(22px, 4vh, 38px); }
.article-body { max-width: 68ch; padding-bottom: clamp(60px, 10vh, 130px); }
.article-body h2 { font-size: clamp(21px, 2.2vw, 30px); margin: 2.2em 0 0.7em; }
.article-body p { margin: 0 0 1.4em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.72; text-wrap: pretty; }
.article-body blockquote {
  margin: 2.2em 0;
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 200;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.article-body ul { margin: 0 0 1.5em; padding-left: 0; list-style: none; }
.article-body li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; }
.article-body li::before { content: "—"; position: absolute; left: 0; color: var(--cy-dim); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

.theses { display: flex; flex-direction: column; }
.thesis {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px 32px;
  padding: clamp(30px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}
.thesis:first-child { border-top: 1px solid var(--line); }
.thesis h3 { font-size: clamp(22px, 2.8vw, 38px); margin-bottom: 14px; text-wrap: balance; }
.thesis p { margin: 0; max-width: 58ch; }

/* ---------- press ---------- */

.assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.asset { background: var(--bg); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.asset-preview {
  height: 140px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(color-mix(in oklab, var(--bg-2) 80%, transparent), color-mix(in oklab, var(--bg-2) 80%, transparent)),
    repeating-linear-gradient(45deg, rgba(160, 178, 214, 0.05) 0 1px, transparent 1px 9px);
}
.asset-preview.is-light { background: #eef1f6; }
.asset-preview svg { width: 62%; height: auto; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.swatch { background: var(--bg); padding: 20px; }
.swatch .chip { height: 72px; border-radius: 2px; margin-bottom: 16px; border: 1px solid var(--line); }

/* ---------- 404 ---------- */

.lost { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 80px 0; }
.glitch { position: relative; font-size: clamp(64px, 20vw, 220px); font-weight: 200; letter-spacing: -0.05em; color: var(--ink); line-height: 0.9; }
.glitch::before, .glitch::after {
  content: attr(data-t);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
}
.glitch::before { color: var(--cy); animation: gl1 3.4s steps(2) infinite; opacity: 0.7; mix-blend-mode: screen; }
.glitch::after { color: var(--vi); animation: gl2 2.8s steps(2) infinite; opacity: 0.7; mix-blend-mode: screen; }
@keyframes gl1 { 0%,92%,100% { transform: none; } 94% { transform: translate(-4px, 2px); } 97% { transform: translate(3px, -2px); } }
@keyframes gl2 { 0%,90%,100% { transform: none; } 93% { transform: translate(4px, -3px); } 96% { transform: translate(-3px, 2px); } }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); padding: clamp(50px, 9vh, 110px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); gap: 40px clamp(24px, 5vw, 80px); }
.foot-mark { font-size: clamp(30px, 6vw, 68px); font-weight: 200; letter-spacing: 0.02em; color: var(--ink); line-height: 1; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col a, .foot-col span { font-size: 14px; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: clamp(44px, 8vh, 92px); padding-top: 24px; border-top: 1px solid var(--line); }

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

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: 0.08s; }
[data-reveal][data-d="2"] { transition-delay: 0.16s; }
[data-reveal][data-d="3"] { transition-delay: 0.24s; }
[data-reveal][data-d="4"] { transition-delay: 0.32s; }

.split-lines span { display: block; overflow: hidden; margin-bottom: -0.24em; }
.split-lines b { display: block; padding-bottom: 0.24em; font-weight: inherit; transform: translateY(105%); transition: transform 1s var(--ease); }
.split-lines.is-in b { transform: none; }
.split-lines.is-in span:nth-child(2) b { transition-delay: 0.09s; }
.split-lines.is-in span:nth-child(3) b { transition-delay: 0.18s; }
.split-lines.is-in span:nth-child(4) b { transition-delay: 0.27s; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .vectors { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-mark { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .row { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .row .mono.date { order: -1; }
  .row h3 { grid-column: 1 / -1; }
  .row .arrow { display: none; }
  .thesis { grid-template-columns: 1fr; gap: 10px; }
  .facts { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .quote { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-lines b { transform: none; }
  html { scroll-behavior: auto; }
}
