/* MYTH public site. One family (EB Garamond), square corners, flat fields, no rules or shadows.
   Every colour is a token; each tradition page re-sets the tokens from its own Base craft. */

:root {
  --ground: #ecebe7;
  --surface: #e1dfd9;
  --ink: #2f3a0c;
  --soft: #4a5530;
  --field: #38450f;
  --field-ink: #ecebe7;
  --accent: #38450f;
  --accent-ink: #ecebe7;
  --night: #0b0d14;
  --gold: #c08839;
  --gold-hi: #e6c987;
  --gold-text: #e9dfc9;

  --m: clamp(20px, 2.2vw, 32px);
  --gap: 12px;
  --s-small: 0.9375rem;
  --s-body: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem);
  --s-lead: clamp(1.375rem, 1.2rem + 0.7vw, 1.875rem);
  --s-head: clamp(2.125rem, 1.35rem + 3vw, 4rem);
  --s-display: clamp(3rem, 0.9rem + 7.4vw, 8.75rem);
  --sec: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* Each tradition's ground and ink come from its Base craft (designs/.../IDENTITY-LOCK.md). */
.t-azt { --ground: #dacdbe; --surface: #cfc1b0; --ink: #16181a; --soft: #3b3933; --field: #16181a; --field-ink: #dacdbe; --accent: #2b5e50; --accent-ink: #f1ebe2; }
.t-chn { --ground: #dce8da; --surface: #cbdcc9; --ink: #1f3d33; --soft: #2f5446; --field: #1f3d33; --field-ink: #e3ede1; --accent: #7a4e31; --accent-ink: #f3ece4; }
.t-egy { --ground: #e6d6b8; --surface: #dac8a6; --ink: #173f53; --soft: #2d5163; --field: #173f53; --field-ink: #ece0c8; --accent: #8e4a33; --accent-ink: #f6eee0; }
.t-grk { --ground: #171212; --surface: #241d1b; --ink: #ecebe8; --soft: #c4c0ba; --field: #c4683a; --field-ink: #171212; --accent: #d97b4a; --accent-ink: #171212; color-scheme: dark; }
.t-inc { --ground: #e3dcbf; --surface: #d6ceac; --ink: #2a2a1e; --soft: #4a4936; --field: #4f5638; --field-ink: #ede6c6; --accent: #96352a; --accent-ink: #f7f0dc; }
.t-ind { --ground: #eadfc6; --surface: #dfd1b3; --ink: #1e1a18; --soft: #3d3530; --field: #9e2b25; --field-ink: #f4ead6; --accent: #27406b; --accent-ink: #f4ead6; }
.t-irl { --ground: #e4e7e8; --surface: #d3d8da; --ink: #1f2327; --soft: #3d444b; --field: #1f2327; --field-ink: #e4e7e8; --accent: #27467f; --accent-ink: #f0f2f3; }
.t-jpn { --ground: #f4f3f2; --surface: #e8e5e4; --ink: #141414; --soft: #3a3a3a; --field: #141414; --field-ink: #f4f3f2; --accent: #a83e2a; --accent-ink: #f4f3f2; }
.t-kor { --ground: #1f1613; --surface: #2b201c; --ink: #ece6f0; --soft: #cfc6d4; --field: #e8e2ee; --field-ink: #1f1613; --accent: #9fc7b9; --accent-ink: #1f1613; color-scheme: dark; }
.t-nor { --ground: #262a31; --surface: #30353d; --ink: #ece2d4; --soft: #c9bcaa; --field: #9c6b3a; --field-ink: #17191d; --accent: #d39a5e; --accent-ink: #17191d; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "EB Garamond", "Garamond", "Georgia", serif;
  font-size: var(--s-body);
  line-height: 1.5;
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.12em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--ground); }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 46ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
i { font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--ink); color: var(--ground); padding: 10px 16px; z-index: 10; }
.skip:focus { top: 8px; }
.small { font-size: var(--s-small); color: var(--soft); }
.lead { font-size: var(--s-lead); line-height: 1.3; max-width: 30ch; }

/* ---------------------------------------------------------------- bar */
.bar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 18px var(--m);
  font-size: var(--s-small);
}
.mark { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; }
.bar nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.bar nav a { text-decoration: none; padding: 10px 0; }
.bar nav a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-size: var(--s-body); font-weight: 500;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--paper { background: var(--gold-text); color: #16140f; }
.link { font-size: var(--s-lead); }

/* ---------------------------------------------------------------- the split stage */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding: 0 var(--gap); }
.stage {
  grid-column: 2; grid-row: 1;
  position: sticky; top: var(--gap); height: calc(100svh - 2 * var(--gap));
  overflow: hidden; background: var(--surface);
}
.read { grid-column: 1; grid-row: 1; padding: clamp(24px, 4vw, 72px) clamp(20px, 4vw, 72px) var(--sec) calc(var(--m) - var(--gap)); min-width: 0; }
.read > section + section { margin-top: var(--sec); }

.hero h1 { font-size: clamp(3rem, 0.4rem + 6.4vw, 7rem); line-height: 0.94; letter-spacing: -0.035em; max-width: 16ch; }
.split--culture .hero h1 { font-size: clamp(2.75rem, 0.6rem + 5.6vw, 6.5rem); max-width: 14ch; }
.split--home { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
.hero .statement { font-size: var(--s-lead); line-height: 1.25; margin-top: 40px; max-width: 26ch; }
.hero .dek { font-size: var(--s-lead); line-height: 1.3; margin-top: 36px; max-width: 30ch; }
.split--culture .hero .dek { font-size: var(--s-body); line-height: 1.5; margin-top: 0; max-width: 46ch; }
.hero .btn { margin-top: 8px; }
.hero .facts { font-size: var(--s-small); color: var(--soft); margin-top: 28px; }
dl.facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 8px 32px; margin: 36px 0 0; justify-content: start; }
dl.facts dt { font-size: var(--s-small); color: var(--soft); }
dl.facts dd { margin: 0; font-size: var(--s-body); }
.gate { font-size: var(--s-small); background: var(--surface); padding: 10px 14px; display: inline-block; max-width: 52ch; margin-top: 24px; }

.read h2 { font-size: var(--s-head); margin-bottom: 32px; }
.read h3 { font-size: var(--s-lead); line-height: 1.1; margin-bottom: 16px; }

/* stage plates (tradition pages) */
.plate { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.6s ease, visibility 0s linear 1.6s; }
.plate.is-on { opacity: 1; visibility: visible; transition: opacity 1.6s ease, visibility 0s; }
.plate img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); will-change: transform; }
.plate figcaption, .chapter-pic figcaption, .viewer-plate figcaption {
  font-size: var(--s-small); line-height: 1.35;
}
.plate figcaption {
  position: absolute; left: 0; bottom: 0; max-width: 34ch; padding: 10px 14px;
  background: var(--ground); color: var(--ink);
}
.chapter-pic { display: none; margin: 28px 0; }
.chapter-pic figcaption { margin-top: 8px; color: var(--soft); }

/* ten slices (home) */
.slices { display: flex; height: 100%; gap: 0; }
.slice { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow 900ms var(--ease); color: #fff; text-decoration: none; }
.slice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slice span {
  position: absolute; left: 0; bottom: 0; padding: 8px 10px; font-size: var(--s-small); background: #16140f; color: #f1ece2;
  opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); white-space: nowrap;
}
.slices.has-active .slice.is-on { flex-grow: 5; }
.slice.is-on span, .slice:hover span, .slice:focus-visible span { opacity: 1; transform: none; }
.slice:hover img { transform: scale(1.04); }

/* home: the table and the ten */
.table-frame p:first-of-type { font-weight: 500; }
.table-frame h3 { margin-top: 48px; }
.rules li { padding: 14px 0 14px 20px; position: relative; max-width: 46ch; }
.rules li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--ink); }
.ten .lead { margin-bottom: 48px; }
.trads { display: grid; gap: 12px; }
.trad a { display: block; text-decoration: none; padding: 28px 28px 24px; background: var(--surface); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.trad a:hover, .trad.is-on a { background: var(--field); color: var(--field-ink); }
.trad h3 { font-size: var(--s-head); margin-bottom: 12px; }
.trad p { margin-bottom: 0.5em; }
.trad-title { font-size: var(--s-lead); }
.trad-mat { font-size: var(--s-small); }
.trad .gate { background: transparent; padding: 0; margin: 4px 0 0; }
.trad-pic { display: none; }

/* tradition: reading-column sections */
.overview p:first-of-type { font-weight: 500; }
.material { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.material h2 { font-size: var(--s-lead); line-height: 1.15; margin-bottom: 20px; }
.crop { overflow: hidden; aspect-ratio: 1; background: var(--surface); }
.crop img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(2.1); transform-origin: var(--pos, 50% 50%); }
.crop--big img { transform: scale(2.6); }
.sheet { background: var(--surface); padding: clamp(20px, 3vw, 40px); }
.sheet li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; padding: 14px 0; }
.sheet li + li { margin-top: 6px; }
.src-name { font-size: var(--s-lead); line-height: 1.15; }
.src-date { font-variant-numeric: lining-nums tabular-nums; text-align: right; font-size: var(--s-small); color: var(--soft); }
.src-kind { grid-column: 1 / -1; font-size: var(--s-small); color: var(--soft); }
.src-note { grid-column: 1 / -1; font-size: var(--s-small); max-width: 60ch; }
.theme { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 28px; align-items: start; }
.theme + .theme { margin-top: 64px; }
.theme .crop { width: 148px; }
.stories > .lead { margin-bottom: 64px; }
.chapter { padding-top: 24px; }
.chapter + .chapter { margin-top: clamp(96px, 10vw, 160px); }
.chapter h3 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem); line-height: 1.02; margin-bottom: 14px; }
.chapter .meta { font-size: var(--s-small); color: var(--soft); margin-bottom: 28px; }
.lesson { font-style: italic; font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); line-height: 1.35; max-width: 42ch; margin: 32px 0; }
.world { font-size: var(--s-small); background: var(--surface); padding: 12px 16px; max-width: 52ch; }
.quote { margin: 36px 0; padding: 0 0 0 24px; position: relative; max-width: 40ch; }
.quote::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 6px; background: var(--accent); }
.quote p { font-size: var(--s-lead); line-height: 1.3; margin-bottom: 10px; }
.quote footer { font-size: var(--s-small); color: var(--soft); }
.inset { margin-top: 28px; }
.inset h4 { font-size: var(--s-small); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.inset ul { display: flex; flex-wrap: wrap; gap: 8px; }
.inset li { display: inline-flex; align-items: baseline; gap: 0; background: var(--surface); padding: 6px 12px; font-size: var(--s-small); transition: background-color 200ms var(--ease); }
.inset li:hover { background: var(--field); color: var(--field-ink); }
.inset a { text-decoration: none; }
.inset a:hover { text-decoration: underline; }
.inset .typ { font-size: inherit; color: var(--soft); text-transform: lowercase; }
.typ { font-size: var(--s-small); color: var(--soft); }
.inset li:hover .typ { color: inherit; }

/* ---------------------------------------------------------------- Base and Gilded (full width, the engraver's night) */
.engrave {
  margin-top: var(--sec);
  background: var(--night); color: var(--gold-text);
  padding: var(--sec) var(--m);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px);
  --accent: var(--gold);
}
.engrave h2 { font-size: var(--s-head); color: var(--gold-hi); margin-bottom: 32px; }
.engrave .lead { color: var(--gold-hi); }
.engrave-note, .engrave p + p { font-size: var(--s-body); }
.viewer { min-width: 0; }
.viewer-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab {
  font: inherit; font-size: var(--s-body); min-height: 48px; padding: 0 22px; cursor: pointer;
  background: #1b1d26; color: var(--gold-text); border: 0;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.tab:hover { background: #2a2c37; }
.tab[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.viewer-plate { margin: 0; }
.viewer-frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #16181f; }
.viewer-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 700ms ease; }
.viewer-frame .v-gilded { opacity: 0; }
.viewer[data-edition="gilded"] .v-gilded { opacity: 1; }
.viewer[data-edition="gilded"] .v-base { opacity: 0; }
.viewer-plate figcaption { margin-top: 12px; color: #c9bfa9; max-width: 70ch; min-height: 2.7em; }
.fan { display: flex; justify-content: center; margin-top: 40px; padding: 24px 0 8px; }
.fan li { flex: 0 0 auto; width: clamp(96px, 9vw, 150px); margin-left: calc(clamp(96px, 9vw, 150px) * -0.42); transition: transform 900ms var(--ease); transform-origin: 50% 120%; }
.fan li:first-child { margin-left: 0; }
.js .fan:not(.in) li { transform: translateX(calc((var(--n) / 2 - var(--i)) * 40%)) rotate(0deg); }
.fan.in li, .no-js .fan li { transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 3.4deg)) translateY(calc(max(var(--i) - (var(--n) - 1) / 2, (var(--n) - 1) / 2 - var(--i)) * 4px)); }
.fan-card { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; transition: transform 260ms var(--ease); }
.fan-card { position: relative; }
.fan-card img { width: 100%; transition: opacity 600ms ease; }
.fan-card .f-gilded { position: absolute; inset: 0; opacity: 0; }
.viewer[data-edition="gilded"] .fan-card .f-gilded { opacity: 1; }
.fan-card:hover, .fan-card:focus-visible { transform: translateY(-18px); }
.fan-card[aria-pressed="true"] { transform: translateY(-30px); outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- signature cards (a field of the culture's colour) */
.signature { background: var(--field); color: var(--field-ink); padding: var(--sec) var(--m); --soft: var(--field-ink); --accent: var(--field-ink); }
.signature h2 { font-size: var(--s-head); margin-bottom: 20px; }
.signature .lead { margin-bottom: 64px; }
.sigs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 5vw, 96px); }
.sigs li { display: flex; gap: 24px; align-items: start; }
.sigs h3 { font-size: var(--s-lead); line-height: 1.1; margin-bottom: 6px; }
.sigs h3 a { text-decoration: none; }
.sigs h3 a:hover { text-decoration: underline; }
.sigs .typ { font-size: var(--s-small); color: inherit; opacity: 1; margin-bottom: 8px; }
.sig-face { width: 104px; flex: 0 0 104px; }

/* ---------------------------------------------------------------- canon map */
.canon { padding: var(--sec) var(--m) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.canon h2 { font-size: var(--s-head); margin-bottom: 32px; }
.canon h3 { font-size: var(--s-lead); margin: 48px 0 16px; }
.gaps li { padding: 10px 0 10px 20px; position: relative; max-width: 46ch; }
.gaps li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--accent); }
.cov { margin: 0; }
.cov ul { display: grid; gap: 6px; }
.cov li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) 2.2rem; gap: 12px; align-items: center; font-size: var(--s-small); line-height: 1.2; }
.cv-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-b { height: 12px; background: var(--surface); position: relative; }
.cv-b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink); transform-origin: left; transition: transform 1s var(--ease); }
.js .cov:not(.in) .cv-b::after { transform: scaleX(0); }
.cv-n { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.cov figcaption { margin-top: 16px; font-size: var(--s-small); color: var(--soft); }

.care { padding: var(--sec) var(--m); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); }
.care h2 { font-size: var(--s-head); margin-bottom: 32px; }
.care h3 { font-size: var(--s-lead); margin-bottom: 16px; }

/* next tradition: last picture, text beside */
.next { position: relative; display: block; height: 90svh; min-height: 520px; overflow: hidden; color: #f4efe6; text-decoration: none; background: #16140f; }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); transition: transform 1.6s var(--ease); }
.next:hover img { transform: scale(1.03); }
.next-text { position: absolute; left: 50%; right: var(--m); bottom: 12%; display: grid; gap: 18px; justify-items: start; max-width: 40ch; }
.next-h { font-size: clamp(2rem, 1rem + 3.4vw, 4.25rem); line-height: 1; letter-spacing: -0.02em; }

/* home: teasers */
.teaser { padding: var(--sec) var(--m); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.teaser h2, .gallery-teaser h2 { font-size: var(--s-head); margin-bottom: 28px; }
.teaser .btn { margin-top: 12px; }
.verdicts { margin: 0; }
.key { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--s-small); margin-bottom: 24px; }
.key li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; display: inline-block; }
.vrows { display: grid; gap: 10px; }
.vrows li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; align-items: center; font-size: var(--s-small); }
.vrows a { text-decoration: none; }
.vrows a:hover { text-decoration: underline; }
.vbar { display: flex; height: 22px; }
.seg { width: var(--w); height: 100%; transform-origin: left; transition: transform 900ms var(--ease); }
.js .verdicts:not(.in) .seg { transform: scaleX(0); }
.seg-keep { background: var(--ink); }
.seg-rescene { background: var(--soft); opacity: 0.75; }
.seg-retheme { background: var(--accent); opacity: 0.45; }
.seg-cut-candidate { background: var(--surface); }
.sw.seg-rescene { opacity: 0.75; } .sw.seg-retheme { opacity: 0.45; }
.verdicts figcaption { margin-top: 20px; font-size: var(--s-small); color: var(--soft); max-width: 60ch; }

.gallery-teaser { padding: 0 var(--m) var(--sec); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.peeks { display: flex; padding: 40px 0; }
.peeks li { width: clamp(90px, 10vw, 160px); flex: 0 0 auto; margin-left: calc(clamp(90px, 10vw, 160px) * -0.38); transform: rotate(calc((var(--i) - 3) * 4deg)) translateY(calc(var(--i) * 3px)); transition: transform 500ms var(--ease); }
.peeks li:first-child { margin-left: 0; }
.peeks:hover li { transform: rotate(calc((var(--i) - 3) * 6deg)) translateY(-10px); }
.peeks--wide li { transform: rotate(calc((var(--i) - 4.5) * 3deg)); }

/* ---------------------------------------------------------------- plain pages (method, cards) */
.page { padding: 0 var(--m) var(--sec); }
.page-hero { padding: clamp(32px, 6vw, 96px) 0 var(--sec); }
.page-hero h1 { font-size: var(--s-display); line-height: 0.92; letter-spacing: -0.035em; max-width: 12ch; margin-bottom: 40px; }
.page-hero .dek { font-size: var(--s-lead); line-height: 1.3; max-width: 34ch; }
.page-hero--cards { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.steps { display: grid; gap: clamp(56px, 7vw, 112px); }
.steps li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); align-items: baseline; }
.steps h2 { font-size: var(--s-head); }
.steps p { font-size: var(--s-lead); line-height: 1.35; max-width: 38ch; }
.method-chart, .status { margin-top: var(--sec); }
.method-chart h2, .status h2, .index h2 { font-size: var(--s-head); margin-bottom: 40px; }
.method-chart .verdicts { max-width: 1100px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: var(--s-small); font-variant-numeric: lining-nums tabular-nums; }
th, td { text-align: left; padding: 14px 16px 14px 0; vertical-align: top; }
thead th { font-weight: 600; }
tbody tr:nth-child(odd) { background: var(--surface); }
tbody th, tbody td { padding-left: 12px; }
td.num, th.num { text-align: right; }
.status .small { margin-top: 24px; }
.index .lead { margin-bottom: 56px; }
.idx-cols { columns: 4 240px; column-gap: 40px; }
.idx { break-inside: avoid-column; margin-bottom: 48px; }
.idx h2 { font-size: var(--s-lead); margin-bottom: 14px; }
.idx li { font-size: var(--s-small); padding: 3px 0; scroll-margin-top: 30vh; }
.idx li:target { background: var(--field); color: var(--field-ink); padding: 3px 8px; }
.cid { font-variant-numeric: lining-nums tabular-nums; color: var(--soft); }
.idx li:target .cid, .idx li:target .typ { color: inherit; }

/* ---------------------------------------------------------------- footer: the name returns at full width */
.foot { padding: 0 var(--m) 28px; }
.stripe { display: flex; height: 8px; margin: 0 calc(var(--m) * -1); }
.stripe span { flex: 1 1 0; }
.foot-name { font-size: clamp(5rem, 24vw, 22rem); line-height: 0.8; letter-spacing: -0.04em; margin: 0.12em 0 0.18em -0.04em; max-width: none; font-weight: 500; }
.foot-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; font-size: var(--s-small); align-items: baseline; }
.foot-row p { margin: 0; color: var(--soft); }
.foot-row p:last-child { text-align: right; justify-self: end; max-width: 36ch; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; max-width: 52ch; }
.foot-row nav a { text-decoration: none; padding: 4px 0; }
.foot-row nav a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- reveal (content is visible without script) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 800ms var(--ease) var(--d, 0ms), transform 800ms var(--ease) var(--d, 0ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- phone and tablet */
@media (max-width: 899px) {
  .split { display: block; padding: 0; }
  .split--culture .stage { display: none; }
  .split--home .stage { position: relative; top: 0; height: 36svh; margin: 0 var(--m); }
  .read { padding: 40px var(--m) var(--sec); }
  .chapter-pic { display: block; }
  .chapter-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
  .hero-pic { margin-top: 36px; }
  dl.facts { grid-template-columns: 1fr 1fr; }
  .material { grid-template-columns: 1fr; }
  .theme { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
  .theme .crop { width: 96px; }
  .trad-pic { display: block; margin: -28px -28px 20px; aspect-ratio: 16 / 7; overflow: hidden; }
  .trad-pic img { width: 100%; height: 100%; object-fit: cover; }
  .engrave, .canon, .care, .teaser, .gallery-teaser, .page-hero--cards, .steps li { grid-template-columns: minmax(0, 1fr); }
  .fan { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 24px 0 0; }
  .fan li { width: auto; margin-left: 0; }
  .fan-card:hover, .fan-card:focus-visible { transform: translateY(-6px); }
  .fan-card[aria-pressed="true"] { transform: translateY(-8px); }
  .fan.in li, .js .fan:not(.in) li { transform: none; }
  .sigs { grid-template-columns: 1fr; }
  .sig-face { width: 84px; flex-basis: 84px; }
  .cov li { grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 1.8rem; gap: 8px; }
  .next { height: 70svh; }
  .next-text { left: var(--m); }
  .foot-row { grid-template-columns: 1fr; gap: 10px; }
  .foot-row nav { justify-content: flex-start; }
  .foot-row p:last-child { text-align: left; justify-self: start; }
  .gallery-teaser .peeks { order: 2; }
  .bar nav { gap: 14px; }
}

@media (max-width: 420px) {
  .bar { padding-top: 12px; padding-bottom: 12px; }
  .mark { font-size: 1.25rem; }
  .vrows li { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 10px; }
  .peeks li { width: 76px; margin-left: -28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .plate img { transform: scale(1.02); }
  .js .fan:not(.in) li { transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 3.4deg)); }
  .js .cov:not(.in) .cv-b::after, .js .verdicts:not(.in) .seg { transform: none; }
  .slices.has-active .slice.is-on { flex-grow: 1; }
}

/* phone refinements after inspection */
@media (max-width: 899px) {
  .slice span { display: none; }
  .engrave p { max-width: 64ch; }
}
@media (max-width: 420px) {
  .bar { padding-left: 20px; padding-right: 20px; }
}

.plate:not(.is-on) figcaption { display: none; }
.page-hero--method { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.page-hero--method .dek { max-width: 40ch; }
.method-slices { display: flex; height: clamp(220px, 34vw, 460px); }
.method-slices span { flex: 1 1 0; overflow: hidden; }
.method-slices img { width: 100%; height: 100%; object-fit: cover; }
.method-chart .verdicts { max-width: none; }
.page-hero--cards .peeks { overflow: hidden; justify-content: center; padding: 40px 24px; }
.page-hero--cards .peeks li { width: clamp(124px, 9vw, 150px); margin-left: calc(clamp(124px, 9vw, 150px) * -0.62); }
.page-hero--cards .peeks li:first-child { margin-left: 0; }

@media (max-width: 899px) {
  .page-hero--method { grid-template-columns: minmax(0, 1fr); }
  .method-slices { height: 30svh; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hide-phone { display: none; }
}
.idx .typ { font-size: inherit; }
.idx-end { margin-top: 48px; }
figcaption { text-wrap: pretty; }
/* touch targets of at least 44px (impeccable craft floor) */
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.inset li { padding: 0 12px 0 0; align-items: center; }
.inset a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0 0 12px; }
.foot-row nav a { display: inline-flex; align-items: center; min-height: 44px; }
.trad--soon > div { padding: 28px 28px 24px; background: var(--surface); }
.trad--soon h3 { color: var(--soft); }
