/* Post Movement — site styles
   Brand: Navy #0F2138, warm beige #F1E4D2. Montserrat (headings), Manrope (body). */

/* Self-hosted fonts (SIL Open Font License, see /assets/fonts/OFL-*.txt). No requests to third parties. */
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/jetbrainsmono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/jetbrainsmono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0F2138;
  --navy-deep: #0A1729;
  --navy-raise: #15294A;
  --beige: #F1E4D2;
  --beige-2: rgba(241, 228, 210, .72);
  --beige-3: rgba(241, 228, 210, .46);   /* decoration and large type only */
  --label: rgba(241, 228, 210, .68);     /* small labels: at least 4.5:1 on navy */
  --line: rgba(241, 228, 210, .16);
  --line-strong: rgba(241, 228, 210, .34);
  --ink: #0F2138;
  --ink-2: rgba(15, 33, 56, .72);
  --ink-line: rgba(15, 33, 56, .18);

  --ok: #86D3A4;
  --warn: #F2B866;
  --info: #8DB9F2;
  --high: #F29583;

  --f-head: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--beige);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--beige); color: var(--navy); }
:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; border-radius: 2px; }
.light :focus-visible { outline-color: var(--navy); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Type ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label);
}
.light .mono { color: var(--ink-2); }
.wordmark {
  font-family: var(--f-head);
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.display {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(2.5rem, 8.4vw, 7.6rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--beige-2); max-width: 46ch; }

/* ---------- Blueprint grid background ---------- */
.grid-bg {
  background-image: radial-gradient(circle, rgba(241, 228, 210, .13) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px var(--gutter);
  background: rgba(15, 33, 56, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar nav { display: flex; gap: 26px; align-items: center; }
.topbar nav a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--beige-2);
}
.topbar nav a:hover { color: var(--beige); }
.topbar nav a i { font-style: normal; color: var(--label); margin-right: 6px; }
@media (max-width: 760px) { .topbar nav { display: none; } }

/* ---------- Floating dock (bottom pill) ---------- */
.dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 6px;
  padding: 6px;
  background: rgba(10, 23, 41, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  transition: transform .35s var(--ease), opacity .25s;
}
.dock--away { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }

.dock__btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 11px; color: var(--beige);
  transition: background .2s, color .2s;
}
.dock__btn:hover { background: rgba(241, 228, 210, .1); }
.dock__mark {
  font-family: var(--f-head); font-weight: 600; letter-spacing: .3em; font-size: 12px;
  padding: 0 22px 0 26px; text-decoration: none; white-space: nowrap;
}
.dock__cta { background: var(--beige); color: var(--navy); text-decoration: none; }
.dock__cta:hover { background: #fff; color: var(--navy); }
.burger { width: 18px; height: 12px; position: relative; }
.burger::before, .burger::after, .burger span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger::before { top: 0; } .burger span { top: 5.25px; } .burger::after { bottom: 0; }
.menu-open .burger::before { transform: translateY(5.25px) rotate(45deg); }
.menu-open .burger::after { transform: translateY(-5.25px) rotate(-45deg); }
.menu-open .burger span { opacity: 0; }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--navy-deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--gutter) 110px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;   /* hide after the fade, show at once */
  overflow-y: auto;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.menu a.menu__link {
  display: flex; align-items: baseline; gap: 20px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--f-head); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 6vw, 3.6rem); line-height: 1.1;
  transition: padding .3s var(--ease), color .2s;
}
.menu a.menu__link:hover { padding-left: 14px; }
.menu a.menu__link .mono { min-width: 2.4em; }
.menu__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
/* wide screens: the top navigation is enough, no dock and no overlay menu */
@media (min-width: 761px) { .dock, .menu { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--beige); color: var(--navy);
  display: none;
  padding: 18px var(--gutter);
}
.js.loading .loader { display: grid; grid-template-rows: auto 1fr auto; }
.loader .mono { color: var(--ink-2); }
.loader__row { display: flex; justify-content: space-between; gap: 16px; }
.loader__mid { display: grid; place-items: center; }
.loader__track { width: min(520px, 76vw); }
.loader__track line.rail { stroke: var(--navy); stroke-width: 2; }
.loader__track .ma { stroke: var(--navy); stroke-width: 6; stroke-dasharray: 400; stroke-dashoffset: 400; animation: plot 1s var(--ease) forwards; }
.loader.done { transition: transform .6s var(--ease); transform: translateY(-100%); }
@keyframes plot { to { stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 86px; }
.hero__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.hero__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 6vh, 72px) 0; }
.hero h1 .swap { display: block; }
.hero h1 .swap span { display: inline-block; border-bottom: .06em solid var(--beige); padding-bottom: .04em; }
.hero h1 .muted { color: var(--beige-3); }
.hero__sub { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: end; margin-top: clamp(24px, 4vh, 44px); }
@media (max-width: 820px) { .hero__sub { grid-template-columns: 1fr; } }
.hero__cta { display: grid; gap: 14px; justify-items: start; }
.hero__ref { max-width: 44ch; line-height: 1.6; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: rgba(241, 228, 210, .1); }
.btn--solid { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.btn--solid:hover { background: #fff; }
.light .btn { border-color: var(--ink-line); }
.light .btn:hover { background: rgba(15, 33, 56, .07); }
.light .btn--solid { background: var(--navy); color: var(--beige); border-color: var(--navy); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.schematic { border-top: 1px solid var(--line); overflow: hidden; }
.schematic svg { width: max(100%, 900px); max-width: none; height: auto; }
.schematic text { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; fill: var(--label); }
.schematic .rail { stroke: var(--beige-3); stroke-width: 1.5; fill: none; }
.schematic .thin { stroke: var(--beige-3); stroke-width: 1; fill: none; }
.schematic .dash { stroke: var(--beige-3); stroke-width: 1; fill: none; stroke-dasharray: 3 5; }
.schematic .ma { stroke: var(--beige); stroke-width: 5; fill: none; stroke-linecap: butt; stroke-dasharray: 760; stroke-dashoffset: 760; }
.schematic.in .ma { animation: ma 2.2s .3s var(--ease) forwards; }
.schematic .solid { fill: var(--beige); }
.schematic .hollow { fill: var(--navy); stroke: var(--beige); stroke-width: 1.5; }
.schematic text.bright { fill: var(--beige); }
@keyframes ma { to { stroke-dashoffset: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 12vh, 150px) 0; position: relative; }
.section__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: clamp(28px, 5vh, 60px);
  border-bottom: 1px solid var(--line);
}
.light { background: var(--beige); color: var(--ink); }
.light .section__head { border-color: var(--ink-line); }
.deep { background: var(--navy-deep); }

/* Statement with scroll-lit words */
.statement {
  font-family: var(--f-head); font-weight: 500;
  font-size: clamp(1.5rem, 3.5vw, 3rem); line-height: 1.18; letter-spacing: -.022em;
  max-width: 24em;
}
.js .statement .w { opacity: .22; transition: opacity .35s; }
.js .statement .w.lit { opacity: 1; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(40px, 8vh, 96px); }
.stat { padding: 22px 20px 6px 0; border-right: 1px solid var(--line); position: relative; }
.stat + .stat { padding-left: 20px; }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.stat__l { margin-top: 12px; display: block; max-width: 22ch; line-height: 1.5; }
.stat__i { position: absolute; top: 22px; right: 16px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:nth-child(3) { padding-left: 0; }
  .stat__i { display: none; }
}

/* Big rows (services) */
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 3.2em 1fr auto 28px; align-items: center; gap: 12px 20px;
  padding: clamp(14px, 2.4vh, 26px) 0;
}
.row summary::-webkit-details-marker { display: none; }
.row__t {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.25rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.035em;
  transition: transform .4s var(--ease);
}
.row summary:hover .row__t { transform: translateX(12px); }
.row__x { width: 20px; height: 20px; position: relative; justify-self: end; }
.row__x::before, .row__x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.row__x::after { transform: rotate(90deg); }
.row[open] .row__x::after { transform: rotate(0); }
.row__body { padding: 0 0 26px calc(3.2em + 20px); max-width: 62ch; color: var(--beige-2); }
@media (max-width: 760px) {
  .row summary { grid-template-columns: 2.2em 1fr 22px; }
  .row summary .row__m { display: none; }
  .row__body { padding-left: 0; }
}

/* Framed blueprint card */
.frame { position: relative; border: 1px dashed var(--line-strong); padding: clamp(22px, 4vw, 56px); }
.frame > .x { position: absolute; width: 13px; height: 13px; }
.frame > .x::before, .frame > .x::after { content: ""; position: absolute; background: var(--beige); }
.frame > .x::before { left: 6px; top: 0; bottom: 0; width: 1px; }
.frame > .x::after { top: 6px; left: 0; right: 0; height: 1px; }
.frame > .x:nth-of-type(1) { left: -7px; top: -7px; }
.frame > .x:nth-of-type(2) { right: -7px; top: -7px; }
.frame > .x:nth-of-type(3) { left: -7px; bottom: -7px; }
.frame > .x:nth-of-type(4) { right: -7px; bottom: -7px; }
.light .frame { border-color: var(--ink-line); }
.light .frame > .x::before, .light .frame > .x::after { background: var(--navy); }

.engage { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); }
@media (max-width: 900px) { .engage { grid-template-columns: 1fr; } }
.spec { border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec li span:last-child { color: var(--beige-2); }
.light .spec, .light .spec li { border-color: var(--ink-line); }
.light .spec li span:last-child { color: var(--ink-2); }
@media (max-width: 520px) { .spec li { grid-template-columns: 1fr; gap: 4px; } }

/* Principles (light) */
.three { display: flex; flex-wrap: wrap; gap: 0 .35em; }
.three span:not(:last-child)::after { content: "."; }
.three span:last-child::after { content: "."; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 80px); margin-top: clamp(36px, 6vh, 72px); border-top: 1px solid var(--ink-line); }
.principles li { padding: 22px 0; border-bottom: 1px solid var(--ink-line); display: grid; grid-template-columns: 3em 1fr; gap: 8px; font-size: 1.1rem; font-weight: 500; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; }
.marquee__in { display: flex; gap: 44px; width: max-content; animation: slide 46s linear infinite; }
.marquee__in span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--beige-2); white-space: nowrap; }
.marquee__in span::before { content: "＋"; margin-right: 44px; color: var(--beige-3); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Weekly teaser + archive list */
.issue-row {
  display: grid; grid-template-columns: 8.5em 1fr auto; gap: 14px 28px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.issue-row:first-child { border-top: 1px solid var(--line); }
.issue-row h3 { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; transition: transform .4s var(--ease); }
.issue-row:hover h3 { transform: translateX(10px); }
.issue-row .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 700px) { .issue-row { grid-template-columns: 1fr; gap: 6px; } .issue-row > :last-child { display: none; } }
.empty { padding: 28px 0; color: var(--beige-2); border-block: 1px solid var(--line); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--beige-2);
  white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--plain::before { display: none; }
.chip--operational { color: var(--ok); border-color: rgba(134, 211, 164, .4); }
.chip--ongoing, .chip--medium { color: var(--warn); border-color: rgba(242, 184, 102, .4); }
.chip--planned, .chip--info { color: var(--info); border-color: rgba(141, 185, 242, .4); }
.chip--high { color: var(--high); border-color: rgba(242, 149, 131, .45); }
.chip--draft { color: var(--navy); background: var(--warn); border-color: var(--warn); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about p + p { margin-top: 1em; }
.about .bio { color: var(--beige-2); font-size: 1.08rem; max-width: 52ch; }
.timeline li { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline strong { font-family: var(--f-head); font-weight: 600; display: block; }
.timeline small { color: var(--beige-2); font-size: .94rem; }

/* Lab */
.lab { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.lab .chip { justify-self: start; }
@media (max-width: 700px) { .lab { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding-bottom: 60px; }
.contact .display a { text-decoration: none; border-bottom: .05em solid currentColor; }
.contact .display a:hover { opacity: .7; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 8vh, 90px); padding-top: 20px; border-top: 1px solid var(--ink-line); }
.contact__grid a { text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--ink-line); }
.contact__grid a:hover { border-color: var(--navy); }
.contact__grid .mono { display: block; margin-bottom: 8px; }
@media (max-width: 700px) { .contact__grid { grid-template-columns: 1fr; } }

.footer { background: var(--navy-deep); padding: 34px 0 40px; }
@media (max-width: 760px) { .footer { padding-bottom: 110px; } }
.footer__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.footer a.mono { text-decoration: none; }
.footer a.mono:hover { color: var(--beige); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Weekly: issue page ---------- */
.page-head { padding-top: 120px; }
.page-head .display { font-size: clamp(2.2rem, 6.4vw, 5.4rem); }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--beige); }
.issue-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; padding: 14px 0; border-block: 1px solid var(--line); }
.issue { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(40px, 7vh, 80px); }
.issue__toc { position: sticky; top: 90px; align-self: start; display: grid; gap: 10px; }
.issue__toc a { text-decoration: none; }
.issue__toc a:hover { color: var(--beige); }
@media (max-width: 900px) { .issue { grid-template-columns: 1fr; } .issue__toc { display: none; } }
.issue__main { max-width: 780px; }
.block { padding-bottom: clamp(36px, 6vh, 64px); }
.block > h2 { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.025em; line-height: 1.1; margin: 8px 0 22px; }
.glance li { display: grid; grid-template-columns: 2.6em 1fr; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.glance li:last-child { border-bottom: 1px solid var(--line); }
.src { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--beige-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.src:hover { color: var(--beige); border-color: var(--beige); }
.card { border: 1px solid var(--line); padding: 22px; margin-top: 14px; background: rgba(241, 228, 210, .025); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 12px; }
.card h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
.card h3 .cc { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; border: 1px solid var(--line-strong); padding: 2px 6px; margin-right: 10px; vertical-align: 3px; }
.card p { color: var(--beige-2); }
.card .src { display: inline-block; margin-top: 14px; }
.take { background: var(--beige); color: var(--ink); padding: clamp(22px, 4vw, 40px); position: relative; }
.take .mono { color: var(--ink-2); }
.take h2 { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.025em; margin: 8px 0 16px; }
.take p { font-size: 1.1rem; }
.take p + p { margin-top: .9em; }
.take__by { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--ink-line); }
.take--pending { background: transparent; color: var(--beige-2); border: 1px dashed var(--line-strong); }
.take--pending .mono { color: var(--label); }
.links li { padding: 12px 0; border-top: 1px solid var(--line); }
.links li:last-child { border-bottom: 1px solid var(--line); }
.links a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.links a:hover { border-color: var(--beige); }
.links small { color: var(--label); margin-left: 8px; }
.note { font-size: .9rem; color: var(--label); max-width: 62ch; }
.banner { background: var(--warn); color: var(--navy); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 10px var(--gutter); text-align: center; position: relative; z-index: 41; }

/* Tile link (home: lines overview) */
.tile { display: grid; grid-template-columns: 8.5em 1fr auto; gap: 14px 28px; align-items: center; margin-top: 28px; padding: 26px 24px; border: 1px dashed var(--line-strong); text-decoration: none; transition: background .25s, border-color .25s; }
.tile:hover { background: rgba(241, 228, 210, .05); border-color: var(--beige); }
.tile__t { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
.tile__go { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; white-space: nowrap; }
.tile:hover .tile__go svg { transform: translateX(4px); }
.tile__go svg { transition: transform .3s var(--ease); }
@media (max-width: 760px) { .tile { grid-template-columns: 1fr; } }

/* Lab figure */
.plan { align-self: center; }
.plan svg { width: 100%; height: auto; }
.plan text { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; fill: var(--label); }
.plan .thin { stroke: var(--beige-2); stroke-width: 1.4; fill: none; }
.plan .solid { fill: var(--beige); }
.plan .hollow { fill: var(--navy-deep); stroke: var(--beige); stroke-width: 1.4; }

/* Lines overview */
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats--3 .stat { padding-bottom: 28px; }
.page-head .display { overflow-wrap: anywhere; }
@media (max-width: 760px) { .stats--3 { grid-template-columns: repeat(3, 1fr); } .stats--3 .stat:nth-child(2) { border-right: 1px solid var(--line); } .stats--3 .stat:nth-child(n+3) { border-top: 0; padding-left: 20px; } }
.filters { display: grid; gap: 10px; margin-bottom: clamp(28px, 5vh, 48px); }
.filters__row { display: flex; flex-wrap: wrap; gap: 8px; }
button.chip { cursor: pointer; opacity: .55; transition: opacity .2s, background .2s; }
button.chip:hover { opacity: .85; }
button.chip.is-on { opacity: 1; background: rgba(241, 228, 210, .1); }
.line-group .section__head { margin-bottom: 0; }
.line__when { font-family: var(--f-head); font-weight: 600; color: var(--beige) !important; margin-bottom: 6px; }
.facts { margin: 16px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 13em 1fr; gap: 6px 18px; padding: 12px 0 0; align-items: baseline; }
.facts dt { margin: 0; }
.facts dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; color: var(--beige-2); font-size: .96rem; }
@media (max-width: 640px) { .facts > div { grid-template-columns: 1fr; } }
.chip--check { border-style: dashed; color: var(--label); }
.excluded { margin-top: 12px; color: var(--beige-2); }
.excluded li { padding: 12px 0; border-top: 1px solid var(--line); }
.excluded strong { color: var(--beige); font-weight: 600; }
[hidden] { display: none !important; }

/* Journal */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { text-decoration: none; display: block; }
.post-card__img { aspect-ratio: 3 / 2; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; margin-bottom: 16px; background-color: var(--navy-deep); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; margin: 8px 0; }
.post-card p { color: var(--beige-2); font-size: .98rem; }
.post { max-width: calc(820px + 2 * var(--gutter)); margin-left: 0; padding-block: clamp(36px, 6vh, 64px) clamp(60px, 10vh, 120px); }
.wrap.post { max-width: var(--max); }
.post > * { max-width: 820px; }
.post > .shot--cover, .post > .block { max-width: none; }
.article__lead { max-width: 60ch; margin-bottom: 1.6em; color: var(--beige); }
.article h2 { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; margin: 1.8em 0 .6em; }
.article h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; margin: 1.5em 0 .5em; }
.article p, .article li { color: var(--beige-2); font-size: 1.08rem; }
.article p { margin-bottom: 1em; }
.article ul { margin: 0 0 1em; }
.article li { padding: 9px 0 9px 1.6em; border-top: 1px solid var(--line); position: relative; }
.article li:last-child { border-bottom: 1px solid var(--line); }
.article li::before { content: "＋"; position: absolute; left: 0; color: var(--beige-3); font-size: .8em; top: 1em; }
.article a { border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--beige); }
.article a:hover { border-color: var(--beige); }
.article blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 2px solid var(--beige); font-family: var(--f-head); font-weight: 500; font-size: 1.3rem; line-height: 1.3; }
.shot { margin: 1.6em 0; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line); }
.shot figcaption { margin-top: 10px; }
.shot--cover { margin-top: 0; }
.shot--portrait { margin: 0 0 28px; max-width: 380px; }
.shot--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.shot--serious-gaming { margin: 0; align-self: center; }
.shot--serious-gaming img { aspect-ratio: 4 / 3; object-fit: cover; }
.shot--cover img { max-height: 72vh; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery__item { padding: 0; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; color: var(--beige); }
.lightbox::backdrop { background: rgba(6, 14, 26, .92); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; }
.lightbox__nav { display: flex; gap: 6px; }
.lightbox__nav button { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; }
.lightbox__nav button:hover { background: rgba(241, 228, 210, .12); }

/* Legal */
.prose { max-width: 70ch; padding: 40px 0 100px; }
.prose h2 { font-family: var(--f-head); font-weight: 600; font-size: 1.4rem; margin: 2em 0 .6em; }
.prose p, .prose li { color: var(--beige-2); margin-bottom: .8em; }
.prose a { border-bottom: 1px solid var(--line-strong); text-decoration: none; }
.todo { border: 1px dashed var(--warn); color: var(--warn); padding: 14px 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .statement .w { opacity: 1; }
  .schematic .ma { stroke-dashoffset: 0; }
  .marquee__in { animation: none; }
}
