/* Archivo (SIL Open Font License) — self-hosted so display type metrics are stable */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #f1eee6;
  --paper-2: #e8e4d9;
  --ink: #111110;
  --ink-2: #4a4843;
  --muted: #8b877c;
  --rule: rgba(17, 17, 16, 0.18);
  --mark: #c8361c; /* survey red — used only for plotted points */
  --night: #121211;
  --night-fg: #eeeae1;

  --grotesk: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --jp: "Noto Sans JP", "Hiragino Sans", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  /* Japanese renders at ~52% of its paired English size */
  --ja: 0.52;
  --ja-head: 0.36;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--grotesk);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0.04em; }

/* Paper tooth */
.paper {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.48 0 0 0 0 0.44 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Bilingual pairing ---------- */
.ja {
  display: block;
  font-family: var(--jp);
  font-weight: 500;
  font-size: calc(var(--ja) * 1em);
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--ink-2);
  margin-top: 0.9em;
}
.head .ja { margin-top: 0.6em; }

/* ---------- Top bar ---------- */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.bar.on-dark { background: color-mix(in srgb, var(--night) 88%, transparent); color: var(--night-fg); border-color: rgba(238, 234, 225, 0.16); }
.bar-mark { font-family: var(--grotesk); font-weight: 800; font-stretch: 75%; font-size: 18px; letter-spacing: 0.02em; }
.bar-mid { text-align: center; }
.bar-link { justify-self: end; }
@media (max-width: 560px) { .bar-mid { display: none; } .bar { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  padding: 88px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  flex: 1;
}
.hero-title {
  font-family: var(--grotesk);
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(96px, min(18vw, 24svh), 300px);
  line-height: 0.82;
  letter-spacing: -0.015em;
}
.hero-title span { display: block; }
.hero-geo { display: none; font-size: 11px; letter-spacing: 0.1em; color: var(--ink-2); margin-bottom: -24px; }
@media (max-width: 560px) { .hero-geo { display: block; } }

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.hero-foot .pair { font-size: clamp(15px, 1.5vw, 20px); }
.hero-line { font-family: var(--grotesk); font-weight: 700; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: 0.08em; }
.hero-foot .ja { margin-top: 0.4em; font-size: max(11px, calc(var(--ja) * 1em)); }
.hero-line.count { font-family: var(--mono); font-weight: 500; text-align: right; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-title { font-size: clamp(88px, 31vw, 200px); }
  .hero-foot { grid-template-columns: 1fr; gap: 16px; }
  .hero-line.count { text-align: left; }
}

/* ---------- Plates / figures ---------- */
.plate { position: relative; }
.plate svg { display: block; width: 100%; height: auto; border: 1px solid var(--ink); background: #f6f4ee; }
.plate figcaption,
.frag figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--ink-2);
}
.redact { font-style: normal; background: var(--ink); color: transparent; padding: 0 0.1em; user-select: none; }

/* SVG ink vocabulary */
.ink { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.ink .thin, .ink.thin { stroke-width: 0.8; }
.ink .thick, .ink.thick { stroke-width: 2.4; }
.ink .dash, .ink.dash, .dash { stroke-dasharray: 5 5; }
.ink .faint { opacity: 0.35; }
.ink.fill-ink { fill: var(--ink); }
.hatch-line { stroke: var(--ink); stroke-width: 0.8; }
.dim path { fill: none; stroke: var(--ink-2); stroke-width: 0.8; }
svg text { font-family: var(--mono); font-size: 11px; fill: var(--ink-2); letter-spacing: 0.04em; stroke: none; }
.crop { fill: #f6f4ee; stroke: none; }
.redact-box { fill: var(--ink); }
.dot { fill: var(--mark); }
.tex-base { fill: #d9d4c6; }
.contour { fill: none; stroke: var(--ink); stroke-width: 0.7; }
.contour.index-line { stroke-width: 1.3; }
.grid-line { stroke: var(--rule); stroke-width: 0.6; }

/* ---------- Sections ---------- */
.sec {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(96px, 13vw, 180px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.sec-label {
  position: sticky;
  top: 72px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-2);
}
.sec-label span:first-child { font-size: 13px; color: var(--ink); }
.sec-label span:first-child::after { content: " /"; }
.sec-body { container-type: inline-size; display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); min-width: 0; }

@media (max-width: 760px) {
  .sec { grid-template-columns: 1fr; gap: 28px; }
  .sec-label { position: static; flex-direction: row; gap: 8px; }
}

/* Dark sections (used sparingly) */
.sec-dark { background: var(--night); color: var(--night-fg); border-top: 0; }
.sec-dark .sec-label, .sec-dark .ja { color: #a9a49a; }
.sec-dark .sec-label span:first-child { color: var(--night-fg); }
.muted-h { color: #8f8a80; }

/* ---------- Type scale ---------- */
.h-xl, .h-lg, .h-giant, .h-hypo, .end-title {
  font-family: var(--grotesk);
  font-weight: 900;
  font-stretch: 72%;
  letter-spacing: -0.01em;
  line-height: 0.9;
}
/* .pair wrappers set the English size; .ja scales from it */
.head { font-size: clamp(34px, 5.2vw, 84px); }
.head.xl { font-size: clamp(56px, 9vw, 152px); }
.h-xl, .h-lg { font-size: inherit; }
.h-lg { line-height: 0.95; }
/* Display caps read smaller than CJK at equal em, so headings pair at a lower ratio */
.head .ja { font-size: max(15px, calc(var(--ja-head) * 1em)); line-height: 1.6; }
.h-giant { font-size: min(38cqi, 420px); line-height: 0.8; letter-spacing: -0.02em; }

.prose { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; max-width: 30em; }
.prose-lg { font-size: clamp(30px, 4vw, 60px); }
.serif-lead { font-family: var(--serif); font-weight: 400; font-size: inherit; line-height: 1.1; letter-spacing: -0.005em; }
.serif-lead em { font-style: italic; }
.prose .ja, .prose-lg .ja { line-height: 1.9; }
@media (max-width: 560px) { .prose .ja { font-size: max(12px, calc(var(--ja) * 1em)); } }

/* ---------- 02 feed ---------- */
.feed { border-top: 1px solid var(--ink); max-width: 720px; }
.feed li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: clamp(14px, 1.4vw, 18px); }

/* ---------- 04 index ---------- */
.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); max-width: 960px; }
.index li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: clamp(13px, 1.3vw, 17px); }
.index li span { color: var(--muted); }
@media (max-width: 560px) { .index { grid-template-columns: 1fr 1fr; } }

/* ---------- 05 strike ---------- */
.strike { display: flex; flex-direction: column; gap: 4px; }
.strike li {
  position: relative;
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 112px);
  line-height: 1.05;
  transition: color 0.8s var(--ease);
}
.strike li::after {
  content: "";
  position: absolute;
  left: -0.05em; right: -0.05em;
  top: 55%;
  height: max(2px, 0.045em);
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.strike li.gone { color: var(--muted); }
.strike li.gone::after { transform: scaleX(1); }

/* ---------- 06 UTAKI ---------- */
/* Location sequence: JAPAN → OKINAWA → MIYAKOJIMA → UTAKI → TWT */
.loc-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.loc { position: relative; display: flex; flex-direction: column; font-size: clamp(15px, 1.4vw, 20px); }
.loc:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: calc(50% - 4.2em);
  right: calc(-0.5 * clamp(12px, 1.6vw, 24px) - 0.45em);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}
.loc svg { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #f6f4ee; border: 1px solid var(--rule); margin-bottom: 12px; }
.loc-no { font-size: 10.5px; color: var(--ink-2); }
.loc-name { font-family: var(--grotesk); font-weight: 800; font-stretch: 80%; letter-spacing: 0.04em; margin-top: 4px; }
.loc .ja { margin-top: 0.15em; font-size: max(12px, calc(var(--ja) * 1em)); line-height: 1.5; }
.loc-coord { margin-top: 6px; font-size: 10.5px; color: var(--ink-2); }
.loc-dots circle, .loc-ink { fill: var(--ink); }
.loc-land { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.loc-frame { fill: none; stroke: var(--mark); stroke-width: 1.2; }
.loc-twt-text { fill: var(--paper); font-size: 16px; letter-spacing: 0.08em; }
.locator figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 16px; font-size: 10.5px; color: var(--ink-2); }
@media (max-width: 760px) {
  .loc-steps { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
  .loc { display: grid; grid-template-columns: 72px auto 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .loc svg { grid-row: 1 / 4; width: 72px; margin: 0; }
  .loc-no { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .loc-name, .loc .ja, .loc-coord { grid-column: 3; margin-top: 0; }
  .loc:not(:last-child)::after { content: "↓"; top: auto; bottom: -0.7em; right: auto; left: 30px; background: var(--paper); padding: 0 4px; z-index: 1; }
}

/* Breadcrumb before the project */
.geo-trail { font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--rule); max-width: 720px; }
.geo-trail b { font-weight: 500; color: var(--paper); background: var(--ink); padding: 1px 6px; }

.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-text { display: flex; flex-direction: column; gap: 48px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- 07 NOTHING ---------- */
/* Photo runs edge to edge at its native 4:3 ratio (no crop) on wide screens */
.nothing-plate {
  grid-column: 1 / -1;
  position: relative;
  container-type: inline-size;
  margin: clamp(16px, 3vw, 40px) calc(-1 * var(--gutter));
  overflow: hidden;
}
.nothing-plate img { display: block; width: 100%; height: auto; }
/* Sits in the dark understorey band, just above the sunlit clearing */
.nothing-ja {
  position: absolute;
  left: 42%;
  top: 48.5%;
  font-family: var(--jp);
  font-weight: 500;
  font-size: 5.8cqi;
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--paper);
}
.nothing-corner { position: absolute; font-size: 10.5px; color: var(--paper); }
.nothing-corner.bl { bottom: 14px; left: var(--gutter); }
.nothing-corner.br { bottom: 14px; right: var(--gutter); }
.nothing-after { grid-column: 2; }
@media (max-width: 760px) {
  .nothing-after { grid-column: auto; }
  /* Square crop keeps the canopy light, the clearing and the dark band */
  .nothing-plate img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; }
  .nothing-ja { left: 14%; top: 48.5%; font-size: 9cqi; letter-spacing: 0.08em; }
}
.nothing-q .ja { margin: 0 0 1.2em; font-size: clamp(16px, 1.9vw, 30px); line-height: 1.7; }
.nothing-q .h-lg { font-size: clamp(34px, 5.2vw, 84px); }

/* ---------- 08 HYPOTHESIS ---------- */
.hypo { padding-block: clamp(120px, 16vw, 240px); }
.h-hypo { font-size: min(16.8cqi, 300px); line-height: 0.84; }
.h-hypo span { display: block; }
.h-hypo span:nth-child(2) { padding-left: 1.2em; color: #8f8a80; }
.sec-dark .ja-hypo { font-size: clamp(20px, 4.2cqi, 64px); font-weight: 700; color: var(--night-fg); letter-spacing: 0.04em; margin-top: 0.5em; line-height: 1.3; }
.hypo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.hypo-note { border-top: 1px solid rgba(238, 234, 225, 0.3); padding-top: 24px; }
.stamp { display: inline-block; font-size: 11px; padding: 6px 10px; border: 1px solid currentColor; margin-bottom: 28px; letter-spacing: 0.12em; }
@media (max-width: 860px) { .hypo-cols { grid-template-columns: 1fr; } }

/* ---------- 09 fragments ---------- */
.fragments {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px) clamp(16px, 2vw, 28px);
}
.frag svg { display: block; width: 100%; height: auto; background: #f6f4ee; border: 1px solid var(--rule); }
.frag figcaption { justify-content: flex-start; }
.frag figcaption span { color: var(--ink); margin-right: 10px; }
.frag:nth-child(1) { grid-column: 1 / span 7; }
.frag:nth-child(2) { grid-column: 8 / span 5; margin-top: 18%; }
.frag:nth-child(3) { grid-column: 2 / span 4; }
.frag:nth-child(4) { grid-column: 6 / span 7; }
.frag:nth-child(5) { grid-column: 1 / span 5; }
.frag:nth-child(6) { grid-column: 7 / span 6; margin-top: 10%; }
.frag:nth-child(7) { grid-column: 1 / span 12; }
.frag:nth-child(8) { grid-column: 4 / span 6; }
@media (max-width: 760px) {
  .fragments { grid-template-columns: 1fr 1fr; }
  .frag:nth-child(n) { grid-column: auto; margin-top: 0; }
  .fragments .frag:nth-child(1), .fragments .frag:nth-child(4), .fragments .frag-wide { grid-column: 1 / -1; }
}

/* ---------- 10 timeline ---------- */
.timeline { display: flex; align-items: center; gap: 16px; max-width: 760px; font-size: 11px; color: var(--ink-2); }
.timeline i { flex: 1; height: 1px; background: var(--ink); }
.timeline b { width: 12px; height: 12px; border: 1.5px solid var(--ink); border-radius: 50%; }

/* ---------- 11 secret ---------- */
.redacted { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.redacted span { display: block; height: clamp(16px, 1.8vw, 24px); width: var(--w); background: var(--ink); }

/* ---------- 12 END ---------- */
.end { container-type: inline-size; padding: clamp(96px, 13vw, 180px) var(--gutter) clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); }
.end .sec-label { position: static; flex-direction: row; gap: 8px; margin-bottom: 40px; }
.end-title { font-size: min(14.6cqi, 320px); line-height: 0.85; white-space: nowrap; }
.end-foot {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 24px 48px;
  align-items: end;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-size: 12px;
}
.follow {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 18px 26px;
  border: 1.5px solid var(--ink);
  font-size: clamp(16px, 1.6vw, 22px);
  transition: background 0.3s, color 0.3s;
}
.follow .pair { display: flex; flex-direction: column; }
.follow-en { font-weight: 800; font-stretch: 80%; letter-spacing: 0.06em; }
.follow .ja { margin-top: 4px; color: inherit; line-height: 1.4; font-size: max(11px, calc(var(--ja) * 1em)); }
.follow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.follow:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) {
  .end-title { white-space: normal; font-size: 40cqi; }
  .end-foot { grid-template-columns: 1fr; gap: 12px; }
  .follow { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; }
}

/* ---------- 13 FOLLOW THE PROJECT ---------- */
.follow-sec { border-top: 1px solid var(--ink); }
.follow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); }
.channel { display: flex; flex-direction: column; gap: 22px; padding: 28px 0 8px; min-width: 0; }
.channel + .channel { border-left: 1px solid var(--rule); padding-left: clamp(24px, 3.5vw, 56px); }
.channel:first-child { padding-right: clamp(24px, 3.5vw, 56px); }
.channel-no { font-size: 11px; color: var(--ink-2); }
.channel-title { font-family: var(--grotesk); font-weight: 900; font-stretch: 72%; font-size: clamp(36px, 4.2vw, 64px); line-height: 0.9; }
.channel-text { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; }
.channel-text .ja { line-height: 1.9; font-size: max(12px, calc(var(--ja) * 1em)); }
@media (max-width: 860px) {
  .follow-grid { grid-template-columns: 1fr; }
  .channel:first-child { padding-right: 0; }
  .channel + .channel { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; margin-top: 32px; padding-top: 32px; }
}

.notes-form { display: flex; flex-direction: column; gap: 10px; }
.field-label { font-size: 11px; color: var(--ink-2); letter-spacing: 0.08em; }
.ja-inline { font-family: var(--jp); letter-spacing: 0.04em; margin-left: 8px; }
.field-row { display: flex; border: 1.5px solid var(--ink); background: #f6f4ee; }
.field-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 16px; /* ≥16px avoids iOS zoom on focus */
  color: var(--ink);
  border-radius: 0;
}
.field-row input::placeholder { color: var(--muted); }
.field-row input:focus { outline: none; }
.field-row:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.notes-submit {
  border: 0;
  border-left: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 0 22px;
  font-family: var(--grotesk);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 0;
}
.notes-submit:hover { background: #2a2a28; }
.notes-submit:focus-visible { outline: 2px solid var(--mark); outline-offset: -4px; }
.notes-form[data-state="sending"] .notes-submit { opacity: 0.6; cursor: wait; }
.notes-form[data-state="closed"] .field-row { opacity: 0.45; }
.notes-form[data-state="closed"] .notes-submit { cursor: not-allowed; }
.notes-status { min-height: 1.6em; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.notes-status:empty { min-height: 0; }
.notes-status .ja { margin-top: 2px; font-size: 12px; line-height: 1.6; }
.notes-status[data-tone="ok"] { color: var(--ink); }
.notes-status[data-tone="ok"]::before { content: "● "; color: var(--mark); }
.notes-status[data-tone="warn"]::before { content: "▲ "; }
.notes-status[data-tone="error"] { color: var(--mark); }
.notes-privacy { font-size: 11px; line-height: 1.6; color: var(--muted); font-family: var(--mono); }
.notes-privacy .ja { display: inline; margin: 0; font-size: 11px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) {
  .field-row { flex-direction: column; }
  .notes-submit { border-left: 0; border-top: 1.5px solid var(--ink); padding: 16px; }
}

.ig-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1.5px solid var(--ink);
  font-size: clamp(16px, 1.6vw, 22px);
  transition: background 0.3s, color 0.3s;
}
.ig-button .pair { display: flex; flex-direction: column; }
.ig-button .ja { margin-top: 4px; color: inherit; line-height: 1.4; font-size: max(11px, calc(var(--ja) * 1em)); }
.ig-button svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ig-button:not(.is-disabled):hover { background: var(--ink); color: var(--paper); }
.ig-button.is-disabled { border-style: dashed; color: var(--muted); cursor: default; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--rule);
  font-size: 10.5px;
  color: var(--ink-2);
}

/* ---------- Reveal (quiet) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .strike li, .strike li::after { transition: none; }
}
