/* Self-hosted fonts (SIL Open Font License): Instrument Serif, Newsreader, DM Mono */
@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-latin-400-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-latin-ext-400-italic.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/newsreader-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/newsreader-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/newsreader-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/newsreader-latin-400-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/newsreader-latin-ext-400-italic.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/dm-mono-latin-400-normal.woff2) format("woff2")}

:root {
  --paper: #f1eee6;
  --paper-2: #e7e3d7;
  --ink: #1a1918;
  --ink-2: #504d48;
  --rule: #cdc7b8;
  --build: #1e3a8a;
  --draw: #3d3a36;
  --wander: #24523b;
  --read: #8f5811;
  --write: #b52d19;
  --accent: var(--ink);
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
::selection { background: var(--write); color: var(--paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--write); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { top: 1rem; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.7rem; text-decoration: none; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 1.02rem; }
.site-nav a { text-decoration: none; padding: 0.15rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent-nav, var(--ink)); }
.menu-btn { display: none; font: inherit; background: none; border: 1px solid var(--ink); padding: 0.3rem 0.9rem; border-radius: 999px; color: var(--ink); cursor: pointer; }
@media (max-width: 47.99rem) {
  .js .menu-btn { display: inline-block; }
  .js .site-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding-top: 0.6rem; }
  .js .site-nav.open { display: flex; }
  .js .site-nav a { padding: 0.65rem 0; border-bottom: 1px solid var(--rule); font-size: 1.15rem; }
}

/* ---------- home hero ---------- */
.hero { padding-top: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: 1rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem 3rem; align-items: start; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.hero-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.hero-list li { border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-link { display: block; text-decoration: none; color: var(--c); padding: 0.1em 0 0.12em; }
.hero-word {
  font-family: var(--display);
  font-size: clamp(3.1rem, 17vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  display: block;
  white-space: nowrap;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i) * 80ms);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-desc { display: block; color: var(--ink-2); font-size: 1.02rem; line-height: 1.4; padding-bottom: 0.8rem; }
@media (min-width: 56rem) {
  .hero-word { font-size: clamp(3rem, 9.4vw, 8.2rem); }
  .hero-desc { display: none; }
  .hero-link:hover .hero-word, .hero-link:focus-visible .hero-word { transform: translateX(0.12em); }
}
.hero-link:hover .hero-word, .hero-link:focus-visible .hero-word { font-style: italic; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-sub { font-size: clamp(1.35rem, 3vw, 1.9rem); font-style: italic; margin: 2rem 0 0.6rem; line-height: 1.3; }

/* stage of tiles: a stack on desktop, a swipe strip on phones */
.stage { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem)); padding: 0.4rem clamp(1.25rem, 4vw, 3rem) 0.8rem; scrollbar-width: none; }
.stage::-webkit-scrollbar { display: none; }
.tile { position: relative; flex: 0 0 74vw; max-width: 20rem; aspect-ratio: 4 / 5; scroll-snap-align: start; background: var(--c); color: var(--paper); text-decoration: none; overflow: hidden; border-radius: 3px; display: block; }
.tile-art { position: absolute; inset: 0 0 4.2rem; display: grid; place-items: center; padding: 1.4rem 1.4rem 0.4rem; }
.tile-cap { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; font-size: 1rem; line-height: 1.35; opacity: 0.92; }
@media (min-width: 56rem) {
  .stage { display: block; position: sticky; top: 1.5rem; margin: 0.6rem 0 0; padding: 0; overflow: visible; aspect-ratio: 4 / 5; width: 100%; max-width: 26rem; justify-self: end; }
  .tile { position: absolute; inset: 0; flex: none; max-width: none; opacity: 0; transform: translateY(14px) rotate(1.4deg); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); pointer-events: none; box-shadow: 0 1px 0 rgba(26, 25, 24, 0.2), 0 18px 40px -18px rgba(26, 25, 24, 0.45); }
  .tile.is-active { opacity: 1; transform: none; pointer-events: auto; z-index: 2; }
}
.tile * { pointer-events: none; }

/* tile vignettes */
.vig-frame { background: var(--paper); padding: 0.55rem; transform: rotate(-1.6deg); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); max-height: 100%; }
.vig-frame img { max-height: 100%; width: auto; max-width: 100%; margin: 0 auto; }
.tile-art .vig-frame { max-height: calc(100% - 0.2rem); }
.tile-art .vig-frame img { max-height: 21.4rem; }
.vig-quote { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.12; color: var(--paper); align-self: center; }
.vig-quote cite { display: block; margin-top: 1rem; font-family: var(--text); font-style: italic; font-size: 0.95rem; opacity: 0.8; }
.vig-map { width: 100%; height: 100%; }
.vig-map path { fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linejoin: round; opacity: 0.92; }
.vig-map .mp { fill: var(--paper); r: 9px; }
.vig-map .mp.m-written { fill: #ffb09c; }
.vig-map .mp.m-home { fill: none; stroke: var(--paper); stroke-width: 4; r: 9px; }
.vig-spines { display: flex; align-items: flex-end; justify-content: center; gap: 3px; width: 100%; height: 100%; border-bottom: 5px solid rgba(241, 238, 230, 0.85); padding-bottom: 0; }
.vig-spines i { display: block; width: var(--w); height: var(--h); background: var(--c); border-radius: 2px 2px 0 0; box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.18), inset -2px 0 0 rgba(0, 0, 0, 0.2); }
.vig-flow { width: 100%; height: 100%; }
.vig-flow rect { fill: none; stroke: var(--paper); stroke-width: 1.6; }
.vig-flow text { fill: var(--paper); font-family: var(--display); font-size: 22px; text-anchor: middle; }
.vig-flow rect.last { fill: var(--paper); }
.vig-flow text.last { fill: var(--build); }
.vig-flow .links path { stroke: var(--paper); stroke-width: 1.6; fill: none; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }

/* manifesto band and feature */
.manifesto { background: var(--ink); color: var(--paper); margin-top: 2.5rem; }
.manifesto-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem 2.4rem; align-items: center; padding-top: clamp(2.4rem, 6vw, 4rem); padding-bottom: clamp(2.4rem, 6vw, 4rem); }
.manifesto p { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 4.6vw, 3.4rem); line-height: 1.1; max-width: 44rem; }
.manifesto p .mf-loc { display: block; margin-top: 1rem; font-family: var(--text); font-style: italic; font-size: 1.05rem; opacity: 0.7; }
.feature-band { background: var(--paper-2); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.8rem 4rem; padding-top: clamp(2.4rem, 6vw, 4.5rem); padding-bottom: clamp(2.4rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 48rem) { .feature { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } }
.feature-art img { width: 100%; box-shadow: 0 14px 30px -16px rgba(26, 25, 24, 0.5); transform: rotate(-1deg); background: var(--paper); padding: 0.5rem; }
.feature-art figcaption { padding-top: 0.9rem; }
.kicker { margin: 0 0 0.5rem; color: var(--accent); font-style: italic; }
.feature h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.02; margin-bottom: 1rem; }
.feature h2 a { text-decoration: none; }
.feature h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.feature p:not(.kicker) { max-width: 34rem; color: var(--ink-2); font-size: 1.2rem; }
.btn { display: inline-block; margin-top: 0.8rem; padding: 0.6rem 1.4rem; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--paper); }

/* seal */
.seal { --seal: var(--write); --seal-ink: var(--paper); flex: none; display: inline-block; vertical-align: middle; }
.seal.sm { width: 1.7rem; height: 1.7rem; margin-right: 0.55rem; vertical-align: -0.3rem; }
.seal.md { width: 3.4rem; height: 3.4rem; }
.seal.lg { width: 2.4rem; height: 2.4rem; margin-right: 0.7rem; vertical-align: -0.8rem; }
.seal.xl { width: clamp(5rem, 12vw, 8.5rem); height: clamp(5rem, 12vw, 8.5rem); transform: rotate(-6deg); }
.manifesto .seal { --seal: var(--write); }

/* ---------- ledger rows (home) ---------- */
.ledger-wrap { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.ledger-h { font-size: 1.1rem; font-family: var(--text); font-style: italic; color: var(--ink-2); font-weight: 400; margin-bottom: 0.6rem; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.1rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.row-label { color: var(--ink-2); font-style: italic; }
.row-main { text-decoration: none; display: block; }
.row-title { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.1rem); line-height: 1.1; }
.row-sub { display: block; color: var(--ink-2); max-width: 42rem; }
.row-main:hover .row-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
@media (min-width: 48rem) { .ledger li { grid-template-columns: 11rem minmax(0, 1fr); } }

/* ---------- section pages ---------- */
.section-head { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(1.5rem, 4vw, 2.5rem); border-top: 0; }
.section-head h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); position: relative; padding-bottom: 1.1rem; }
.section-head h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 4.5rem; height: 4px; background: var(--accent); }
.lede { font-size: 1.3rem; max-width: 40rem; color: var(--ink-2); margin: 1.4rem 0 0; line-height: 1.5; }
.sub-h { font-size: 1.8rem; margin: 3.5rem 0 0.6rem; }

[data-accent="build"] { --accent: var(--build); --accent-nav: var(--build); }
[data-accent="draw"] { --accent: var(--draw); --accent-nav: var(--draw); }
[data-accent="wander"] { --accent: var(--wander); --accent-nav: var(--wander); }
[data-accent="read"] { --accent: var(--read); --accent-nav: var(--read); }
[data-accent="write"] { --accent: var(--write); --accent-nav: var(--write); }

/* ---------- essay list ---------- */
.essay-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.essay-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.4rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.er-meta { color: var(--ink-2); font-style: italic; font-size: 1rem; line-height: 1.4; }
.er-title { display: block; font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.05; color: var(--c); }
.er-sum { display: block; max-width: 40rem; color: var(--ink-2); margin-top: 0.4rem; }
.essay-row:hover .er-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
@media (min-width: 48rem) { .essay-row { grid-template-columns: 11rem minmax(0, 1fr); } }

/* ---------- essay page ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.essay-head { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: 2rem; }
.essay-meta { margin: 0 0 1rem; color: var(--accent); font-style: italic; }
.essay-head h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); max-width: 14ch; }
.dek { font-size: 1.35rem; color: var(--ink-2); max-width: 36rem; margin: 1.4rem 0 0; line-height: 1.45; }
.prose { max-width: 38rem; font-size: 1.22rem; line-height: 1.7; padding-bottom: 2rem; }
.prose p { margin: 0 0 1.3em; }
.prose h2 { font-size: 2rem; margin: 2.4rem 0 0.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: 0.3em; }
.prose strong { font-weight: 500; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 2.2rem 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--accent); font-family: var(--display); font-size: clamp(1.45rem, 3.2vw, 1.85rem); line-height: 1.3; }
.prose blockquote p { margin: 0; }
.prose blockquote.data { font-family: var(--text); font-size: 1.08rem; line-height: 1.55; background: var(--paper-2); padding: 1.1rem 1.4rem; }
.prose blockquote.data p { margin: 0 0 0.6em; }
.prose mark { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--accent) 32%, transparent) 58%); color: inherit; padding: 0 0.08em; }
.prose .closer { font-family: var(--display); font-size: 1.75rem; line-height: 1.25; color: var(--accent); margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; line-height: 1.45; margin: 1.8rem 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem 0.7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 500; border-bottom: 1px solid var(--ink); font-style: italic; }
.page-prose { padding-bottom: 5rem; }
.essay-tools { max-width: 38rem; padding: 1rem 0 2rem; }
.copy-link { font: inherit; font-size: 1rem; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 0.35rem 1.1rem; color: var(--ink); cursor: pointer; }
.copy-link:hover { background: var(--ink); color: var(--paper); }
.essay-nav { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); border-top: 1px solid var(--ink); padding: 1.4rem 0 5rem; font-family: var(--display); font-size: 1.6rem; line-height: 1.15; }
.essay-nav a { text-decoration: none; }
.essay-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.essay-nav span { display: block; font-family: var(--text); font-style: italic; font-size: 1rem; color: var(--ink-2); margin-bottom: 0.2rem; }

/* ---------- figures / plates ---------- */
.fig { margin: 0; }
.fig img { width: 100%; }
.ph {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
  color: var(--ink-2);
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(115deg, var(--hatch) 0 1px, transparent 1px 7px);
}
figcaption { padding-top: 0.6rem; font-size: 1rem; line-height: 1.4; }
.cap-title { display: block; font-style: italic; }
.cap-meta { display: block; color: var(--ink-2); font-size: 0.95rem; }
.plates { display: grid; gap: 3rem 2rem; grid-template-columns: minmax(0, 1fr); padding-bottom: 5rem; align-items: start; }
@media (min-width: 48rem) {
  .plates { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .plate:nth-child(3n + 1) { grid-column: span 4; }
  .plate:nth-child(3n + 1) .ph { aspect-ratio: 4 / 3; }
  .plate:nth-child(3n + 2) { grid-column: span 2; }
  .plate:nth-child(3n + 2) .ph { aspect-ratio: 3 / 4; }
  .plate:nth-child(3n) { grid-column: span 6; }
  .plate:nth-child(3n) .ph { aspect-ratio: 16 / 7; }
}

/* ---------- field ---------- */
.lat { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--ink); max-width: 48rem; }
.lat li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 4.5rem; gap: 1rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.ll-track { position: relative; height: 1px; background: var(--ink-2); }
.ll-track i { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--wander); }
.lat .home .ll-track i { background: var(--paper); border: 2px solid var(--wander); }
.ll-deg { text-align: right; font-family: var(--mono); font-size: 0.85rem; color: var(--ink-2); }
.dispatches { padding-bottom: 4rem; }
.dispatch { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem 3rem; padding: 2.5rem 0 3rem; border-top: 1px solid var(--ink); }
.dispatch + .dispatch { margin-top: 0.5rem; }
.d-meta h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.8rem; }
.d-meta p { margin: 0 0 0.6rem; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.d-meta .coords { font-family: var(--mono); font-size: 0.85rem; color: var(--wander); }
.d-body { max-width: 38rem; }
.d-body p { margin: 0 0 1.2em; }
.remnant { color: var(--ink-2); font-size: 1.05rem; }
.dispatch-fig { margin-top: 1.8rem; }
.dispatch-fig .ph { aspect-ratio: 3 / 2; }
@media (min-width: 56rem) { .dispatch { grid-template-columns: 17rem minmax(0, 1fr); } }
.dispatch:target h2 { text-decoration: underline; text-decoration-color: var(--wander); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }

/* ---------- shelf ---------- */
.books { padding-bottom: 5rem; }
.book { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 3rem; padding: 2rem 0 2.4rem; border-top: 1px solid var(--ink); }
.b-meta h2 { font-size: clamp(1.9rem, 3.6vw, 2.4rem); margin-bottom: 0.5rem; }
.b-meta p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.b-meta em { color: var(--read); }
.b-body { max-width: 38rem; }
.b-body blockquote { margin: 0 0 1.2rem; padding-left: 1.2rem; border-left: 3px solid var(--read); font-family: var(--display); font-size: 1.5rem; line-height: 1.3; }
.b-body p { margin: 0; }
@media (min-width: 56rem) { .book { grid-template-columns: 17rem minmax(0, 1fr); } }

/* ---------- notes ---------- */
.notes { padding-bottom: 5rem; max-width: 52rem; margin-left: 0; }
.note { border-top: 1px solid var(--rule); }
.note:first-child { border-top: 1px solid var(--ink); }
.note:last-child { border-bottom: 1px solid var(--rule); }
.note summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.1; }
.note summary::-webkit-details-marker { display: none; }
.note summary i { position: relative; flex: none; width: 1.1rem; height: 1.1rem; }
.note summary i::before, .note summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ink); transition: transform 0.2s ease; }
.note summary i::after { transform: rotate(90deg); }
.note[open] summary i::after { transform: rotate(0deg); }
.note-body { max-width: 38rem; padding: 0 0 1.6rem; }
.note-body p { margin: 0 0 0.9em; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--ink); margin-top: 2rem; }
.foot-row { padding-top: 2rem; padding-bottom: 2.4rem; display: grid; gap: 0.9rem; }
.foot-brand { margin: 0; max-width: 34rem; }
.foot-brand span { font-family: var(--display); font-size: 1.5rem; margin-right: 0.4rem; }
.foot-links { margin: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-small { margin: 0; font-size: 0.95rem; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-word { animation: none; }
  .note summary i::before, .note summary i::after { transition: none; }
}
@media print {
  .site-head, .site-foot, .progress, .essay-tools, .essay-nav { display: none; }
  body { background: #fff; }
}

/* ---------- studio extras ---------- */
.plates.single .plate { grid-column: 1 / -1; }
.ig-cta { padding-bottom: 5rem; margin-top: -2rem; }
.ig-cta > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.2rem; border-top: 1px solid var(--ink); padding-top: 1.6rem; }
.ig-cta p { margin: 0; font-family: var(--display); font-size: 1.7rem; }
.ig-cta a { font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) { .spine, .pin .dot { transition: none; } }

.india .lbl { display: none; font-family: var(--text); font-size: calc(var(--pr, 6) * var(--ps, 1) * 2.1px); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; pointer-events: none; transform: translate(calc(var(--pr, 6) * var(--ps, 1) * 1.7px), calc(var(--pr, 6) * var(--ps, 1) * 0.7px)); }
.india.zoomed .lbl { display: block; }

/* ---------- studio gallery ---------- */
.plate-group { padding-bottom: 1.5rem; }
.group-h { font-size: clamp(1.8rem, 3.4vw, 2.4rem); padding: 1rem 0 1.2rem; border-top: 1px solid var(--ink); margin-bottom: 1.6rem; }
.group-h span { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); margin-left: 0.5rem; vertical-align: 0.25em; }
.gallery { column-count: 1; column-gap: 2.2rem; padding-bottom: 2rem; }
@media (min-width: 40rem) { .gallery { column-count: 2; } }
@media (min-width: 66rem) { .gallery { column-count: 3; } }
.gallery.one { column-count: 1; }
.gallery .plate { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 2.4rem; }
.zoomable { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoomable img { width: 100%; }
.cap-desc { display: block; margin-top: 0.35rem; font-size: 0.98rem; line-height: 1.45; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 0.8rem; padding: calc(1.2rem + env(safe-area-inset-top, 0px)) 1.2rem calc(1.2rem + env(safe-area-inset-bottom, 0px)); background: rgba(16, 15, 13, 0.94); cursor: zoom-out; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb p { margin: 0; color: #e9e5da; text-align: center; max-width: 40rem; font-size: 1rem; line-height: 1.4; }
.lb p b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; display: block; }

@media (min-width: 40rem) {
  .gallery.few { column-count: auto; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2.2rem; align-items: start; }
  .gallery.few .plate { display: block; margin: 0 0 1rem; }
}

/* colour worlds: a full-bleed band at the top of every section */
body[data-accent="build"] { --pat: radial-gradient(circle, var(--paper) 1.3px, transparent 1.7px) 0 0 / 24px 24px; }
body[data-accent="draw"] { --pat: repeating-linear-gradient(115deg, var(--paper) 0 1px, transparent 1px 9px); }
body[data-accent="wander"] { --pat: linear-gradient(var(--paper) 1px, transparent 1px) 0 0 / 100% 56px, linear-gradient(90deg, var(--paper) 1px, transparent 1px) 0 0 / 56px 100%; }
body[data-accent="read"] { --pat: repeating-linear-gradient(90deg, var(--paper) 0 2px, transparent 2px 17px, var(--paper) 17px 18px, transparent 18px 39px); }
body[data-accent="write"] { --pat: repeating-linear-gradient(transparent 0 35px, var(--paper) 35px 36px); }
body[data-accent="ink"] { --pat: repeating-linear-gradient(45deg, var(--paper) 0 1px, transparent 1px 14px); --accent: var(--ink); }
.band { position: relative; overflow: hidden; background: var(--accent); color: var(--paper); border-bottom: 1px solid var(--ink); }
.band::before { content: ""; position: absolute; inset: 0; background: var(--pat); opacity: 0.11; pointer-events: none; }
.band .section-head { position: relative; z-index: 1; padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.band .section-head h1 { color: var(--paper); font-size: clamp(3.2rem, 10.5vw, 7.4rem); line-height: 0.98; }
.band .section-head h1::after { background: var(--paper); opacity: 0.8; }
.band .lede { color: var(--paper); opacity: 0.86; }
.band a { color: var(--paper); }

/* essay layout */
.essay-band .section-head { padding-bottom: clamp(2.6rem, 6vw, 4.4rem); }
.essay-band .section-head h1 { font-size: clamp(2.8rem, 8vw, 6rem); max-width: 14ch; }
.essay-band .section-head h1::after { display: none; }
.essay-meta { margin: 0 0 1rem; color: var(--paper); opacity: 0.85; font-style: italic; }
.folio { position: absolute; right: clamp(0.5rem, 3vw, 3rem); bottom: -0.16em; z-index: 0; font-family: var(--display); font-size: clamp(10rem, 34vw, 26rem); line-height: 0.8; color: var(--paper); opacity: 0.16; pointer-events: none; }
.essay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem 3.5rem; padding-top: clamp(2rem, 5vw, 3.6rem); }
.essay-grid .art-rail { order: -1; }
.essay-grid .rail { order: 3; }
@media (min-width: 64rem) {
  .essay-grid { grid-template-columns: 9.5rem minmax(0, 38rem) minmax(0, 1fr); align-items: start; }
  .essay-grid .art-rail { order: 3; position: sticky; top: 1.5rem; }
  .essay-grid .rail { order: -1; position: sticky; top: 1.5rem; }
}
.rail { font-size: 0.98rem; color: var(--ink-2); line-height: 1.45; }
.rail p { margin: 0 0 0.7rem; font-style: italic; }
.rail .copy-link { margin-top: 0.4rem; }
.essay-art img { width: 100%; max-width: 22rem; background: var(--paper); padding: 0.45rem; box-shadow: 0 14px 30px -16px rgba(26, 25, 24, 0.5); transform: rotate(1.2deg); }
.essay-art figcaption { padding-top: 0.8rem; }
.essay-prose > p:first-of-type { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.16; letter-spacing: -0.005em; margin-bottom: 1.1em; }
.essay-prose blockquote { font-size: clamp(1.6rem, 3.6vw, 2.2rem); border-left-width: 4px; }
.sign { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-style: italic; color: var(--ink-2); line-height: 1.35; }
.sign .seal { --seal: var(--accent); transform: rotate(-5deg); }
.essay-nav { margin-top: 1rem; }
.essay-tools { display: none; }

/* wordmark seal + footer */
.wordmark { display: inline-flex; align-items: center; }
.foot-brand { display: block; }

/* motion */
@view-transition { navigation: auto; }
.pin .dot { animation: drop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both; animation-delay: calc(var(--d, 0) * 32ms); transform-box: fill-box; transform-origin: center; }
@keyframes drop { from { transform: scale(0); } to { transform: scale(1); } }
.spine:hover, .spine:focus-visible { transform: translateY(-9px) rotate(-1.6deg); }
.spine[aria-pressed="true"] { transform: translateY(-14px) rotate(-1deg); }
@media (prefers-reduced-motion: reduce) {
  .pin .dot, .vig-flow .links path { animation: none; }
  .tile { transition: none; }
  .hero-word { transition: none; }
}


/* paper grain */
body::before { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.06; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
@media print { body::before { display: none; } }

.band + * { margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.essay-band + .essay-grid { margin-top: 0; }

/* now page */
.now-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.now-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.3rem 3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
@media (min-width: 48rem) { .now-list li { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); } }
.now-word { font-family: var(--display); font-size: clamp(3rem, 8vw, 5.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--c); text-decoration: none; white-space: nowrap; }
.now-word:hover, .now-word:focus-visible { font-style: italic; }
.now-text { margin: 0; font-size: 1.25rem; line-height: 1.5; max-width: 36rem; }
.now-foot { margin: 1.6rem 0 4rem; color: var(--ink-2); font-style: italic; }


/* ================= field: glance, coverage, map ================= */
.field-glance { padding-top: 0.4rem; padding-bottom: 1rem; }
.glance-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3.2rem; align-items: start; }
@media (min-width: 56rem) { .glance-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.homes { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-card { padding: 1.2rem 1.3rem 1.4rem; border: 1px solid var(--ink); }
.home-card.now { background: var(--wander); color: var(--paper); border-color: var(--wander); }
.hc-k { margin: 0 0 0.6rem; font-style: italic; opacity: 0.8; }
.home-card h2, .home-card h3 { font-size: clamp(2.2rem, 5vw, 3.3rem); margin-bottom: 0.5rem; }
.home-card p:last-child { margin: 0; font-size: 1rem; line-height: 1.35; }
.cov-k { margin: 0 0 0.3rem; font-style: italic; color: var(--ink-2); }
.cov-big { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.cov-big b { font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 9vw, 5.4rem); line-height: 0.9; margin-right: 0.3rem; color: var(--wander); vertical-align: -0.1em; }
.cov-big span { color: var(--ink-2); }
.cov-bar { height: 10px; background: var(--paper-2); margin: 0.9rem 0 1.3rem; border: 1px solid var(--rule); }
.cov-bar i { display: block; height: 100%; background: var(--wander); }
.cov-regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.cov-regions li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) 4rem; gap: 0.8rem; align-items: center; font-size: 0.98rem; }
.rg-bar { height: 6px; background: var(--paper-2); position: relative; }
.rg-bar i { position: absolute; inset: 0 auto 0 0; background: var(--wander); }
.rg-n { text-align: right; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }
.cov-togo { margin: 1.5rem 0 0; color: var(--ink-2); max-width: 62rem; line-height: 1.5; }
.cov-togo b { color: var(--ink); font-weight: 500; }

.map-block { padding-top: 2.4rem; padding-bottom: 3rem; }
.map-head { margin: 0 0 1.4rem; }
.map-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.map-count { margin: 0.5rem 0 0; color: var(--ink-2); max-width: 40rem; }
.map-count strong { color: var(--ink); font-weight: 500; }
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem 3rem; border-top: 1px solid var(--ink); padding-top: 1.6rem; align-items: start; }
@media (min-width: 56rem) { .map-grid { grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); } }
.map-stage { max-width: 34rem; width: 100%; margin: 0 auto; }
@media (min-width: 56rem) { .map-stage { position: sticky; top: 1rem; } }
.india { width: 100%; height: auto; display: block; overflow: hidden; touch-action: manipulation; --ps: 1.25; }
@media (max-width: 47.99rem) { .india { --ps: 1.7; } }
.st { fill: color-mix(in srgb, var(--paper-2) 55%, var(--paper)); stroke: var(--ink-2); stroke-width: 0.9; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer; outline: none; transition: fill 0.2s ease; }
.st.on { fill: color-mix(in srgb, var(--wander) 34%, var(--paper)); }
.st:hover { fill: color-mix(in srgb, var(--wander) 18%, var(--paper-2)); }
.st.on:hover { fill: color-mix(in srgb, var(--wander) 50%, var(--paper)); }
.st.sel { fill: color-mix(in srgb, var(--wander) 68%, var(--paper)); stroke: var(--ink); stroke-width: 1.6; }
.st:focus-visible { stroke: var(--write); stroke-width: 2.6; }
.pin { cursor: pointer; outline: none; transition: opacity 0.25s; }
.pin.dim { opacity: 0.22; }
.pin .hit { fill: transparent; }
.pin .dot { r: calc(var(--pr, 6) * var(--ps, 1) * 1px); fill: var(--wander); stroke: var(--paper); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: r 0.15s ease; }
.pin.written .dot { fill: var(--write); }
.pin.hometown .dot { fill: var(--ink); }
.pin.home .dot { fill: var(--paper); stroke: var(--wander); stroke-width: 3; }
.pin .ring { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; r: calc(var(--pr, 6) * var(--ps, 1) * 1.95px); }
.pin.home .ring { stroke: var(--wander); }
.pin:hover .dot, .pin:focus-visible .dot, .pin.is-on .dot { r: calc(var(--pr, 6) * var(--ps, 1) * 1.5px); stroke: var(--ink); }
.india .lbl { display: none; font-family: var(--text); font-size: calc(var(--pr, 6) * var(--ps, 1) * 2.1px); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; pointer-events: none; transform: translate(calc(var(--pr, 6) * var(--ps, 1) * 2.1px), calc(var(--pr, 6) * var(--ps, 1) * 0.7px)); }
.india .lbl.always { font-size: calc(var(--pr, 6) * var(--ps, 1) * 2.5px); font-style: italic; }
.india .lbl.always, .india .lbl.show { display: block; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1.1rem; margin: 0.8rem 0 0; font-size: 0.92rem; color: var(--ink-2); }
.k-dot { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--wander); margin-right: 0.35rem; vertical-align: -0.05rem; }
.k-dot.written { background: var(--write); }
.k-dot.hometown { background: var(--ink); }
.k-dot.home { background: var(--paper); border: 2px solid var(--wander); }

.map-side { min-width: 0; }
.ro-hint { color: var(--ink-2); font-style: italic; margin: 0 0 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.state-chip, .sv-back { font: inherit; font-size: 0.98rem; line-height: 1.2; background: none; color: var(--ink); border-radius: 999px; cursor: pointer; }
.state-chip { border: 1px solid var(--rule); padding: 0.34rem 0.85rem; }
.state-chip span { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-2); margin-left: 0.3rem; }
.state-chip:hover { background: var(--paper-2); }
.sv-back { border: 1px solid var(--ink); padding: 0.35rem 1rem; margin-bottom: 1.1rem; }
.sv-back:hover { background: var(--ink); color: var(--paper); }
.sv-name { font-size: clamp(2.6rem, 5.4vw, 4rem); line-height: 1; }
.sv-meta { margin: 0.5rem 0 1.4rem; color: var(--ink-2); }
.sv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.6rem, 1fr)); gap: 1.2rem 1rem; }
.place-tile { font: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--ink); transform: rotate(var(--rot, 0deg)); transition: transform 0.2s ease; }
.place-tile[hidden] { display: none; }
.place-tile:hover, .place-tile.is-on { transform: rotate(0deg) translateY(-3px); }
.pt-stamp { display: grid; place-items: center; align-content: center; gap: 0.2rem; text-align: center; aspect-ratio: 1; padding: 0.8rem; border: 2px solid var(--wander); outline: 1px dashed var(--wander); outline-offset: -7px; color: var(--wander); border-radius: 4px; background: color-mix(in srgb, var(--wander) 6%, var(--paper)); }
.pt-stamp b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1; }
.pt-stamp i { font-size: 0.85rem; opacity: 0.85; }
.place-tile.hometown .pt-stamp { color: var(--ink); border-color: var(--ink); outline-color: var(--ink); background: var(--paper); }
.place-tile.home .pt-stamp { color: var(--paper); background: var(--wander); }
.place-tile.written .pt-stamp { color: var(--write); border-color: var(--write); outline-color: var(--write); background: color-mix(in srgb, var(--write) 6%, var(--paper)); }
.pt-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); box-shadow: 0 8px 18px -10px rgba(26, 25, 24, 0.5); }
.pt-img img { width: 100%; height: 100%; object-fit: cover; }
.place-tile .pt-name { display: none; margin-top: 0.4rem; font-style: italic; font-size: 0.98rem; }
.place-tile.has-img .pt-name { display: block; }
.place-card { margin-top: 1.6rem; padding: 1.2rem; border: 1px solid var(--ink); display: grid; gap: 1.1rem 1.4rem; grid-template-columns: minmax(0, 1fr); background: var(--paper-2); }
.place-card[hidden] { display: none; }
@media (min-width: 40rem) { .place-card { grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr); } }
.pc-k { margin: 0 0 0.2rem; font-style: italic; color: var(--wander); }
.pc-name { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.pc-state { margin: 0.2rem 0 0; color: var(--ink-2); }
.pc-note { margin: 0.8rem 0 0; }
.ro-jump { margin-top: 0.8rem; font: inherit; font-size: 1rem; background: none; border: 0; padding: 0; color: var(--write); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* ================= shelf: cinematic header, dark wall, takes ================= */
.cine { position: relative; min-height: clamp(23rem, 56vh, 34rem); background: #0d0b09; color: #f1eee6; overflow: hidden; display: grid; align-items: end; border-bottom: 1px solid #000; }
.cine-img { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07) translate(-1.4%, -1%); } }
.cine-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 6, 4, 0.92) 0%, rgba(8, 6, 4, 0.4) 46%, rgba(8, 6, 4, 0.55) 100%), radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.55) 100%); }
.cine::before, .cine::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(0.9rem, 3vw, 2rem); background: #050403; z-index: 2; }
.cine::before { top: 0; }
.cine::after { bottom: 0; }
.cine-text { position: relative; z-index: 3; padding-top: 5rem; padding-bottom: clamp(2.6rem, 5vw, 3.8rem); }
.cine h1 { font-size: clamp(3.4rem, 11vw, 8rem); line-height: 0.95; color: #f1eee6; }
.cine .lede { color: #f1eee6; opacity: 0.86; max-width: 34rem; }
.cine h1::after { display: none; }

.wall-dark { position: relative; background: #14110d; color: #efe9db; padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(2.6rem, 6vw, 4.4rem); overflow: hidden; }
.wall-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 28% 0%, rgba(255, 196, 120, 0.16), transparent 70%), radial-gradient(50% 40% at 92% 100%, rgba(255, 150, 80, 0.08), transparent 70%); pointer-events: none; }
.wall-top { position: relative; }
.wall-top h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.wall-top p { max-width: 40rem; opacity: 0.74; margin: 0.5rem 0 1.8rem; }
.wall-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem 3rem; }
@media (min-width: 56rem) { .wall-grid { grid-template-columns: minmax(0, 1fr) 21.5rem; align-items: start; } }
.shelf { margin: 0 0 1.5rem; }
.shelf h3 { font-family: var(--text); font-style: italic; font-weight: 400; font-size: 1rem; opacity: 0.7; margin: 0 0 0.5rem; }
.shelf h3 span { font-family: var(--mono); font-style: normal; font-size: 0.75rem; margin-left: 0.4rem; }
.board { display: flex; align-items: flex-end; gap: 3px; padding: 18px 8px 0; border-bottom: 7px solid #6b5337; box-shadow: 0 10px 14px -8px rgba(0, 0, 0, 0.6), inset 0 -2px 0 rgba(255, 255, 255, 0.08); overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.spine { flex: none; position: relative; width: var(--w); height: var(--h); background-color: var(--c); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0, transparent 22%, transparent 68%, rgba(0, 0, 0, 0.34) 100%); color: var(--t); border: 0; padding: 0; cursor: pointer; border-radius: 2px 2px 0 0; box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.1); transition: transform 0.2s ease, filter 0.2s ease; }
.spine span { position: absolute; inset: 14px 0 12px; display: block; writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; font-family: var(--display); font-size: 0.92rem; line-height: var(--w); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spine:hover, .spine:focus-visible { transform: translateY(-8px) rotate(-1.2deg); filter: brightness(1.08); }
.spine[aria-pressed="true"] { transform: translateY(-16px); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.55)) brightness(1.1); outline: 2px solid #f1eee6; outline-offset: 1px; }
.spine.marked::after { content: ""; position: absolute; left: 50%; top: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--write); box-shadow: 0 0 0 1.5px #14110d; }
.spine.reading::before { content: ""; position: absolute; top: -7px; right: 6px; width: 8px; height: 20px; background: var(--write); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.detail { position: relative; padding: 1.4rem 1.5rem 1.7rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); min-height: 14rem; }
@media (min-width: 56rem) { .detail { position: sticky; top: 1.5rem; } }
.detail-close { display: none; }
.dt-hint { margin: 0; opacity: 0.7; font-style: italic; }
.dt-card[hidden], .dt-hint[hidden] { display: none; }
.dt-shelf { margin: 0 0 0.4rem; color: #e3a64d; font-style: italic; }
.dt-title { font-size: clamp(2rem, 3.4vw, 2.5rem); line-height: 1.05; }
.dt-author { margin: 0.35rem 0 0; opacity: 0.7; }
.dt-quote { margin: 1.1rem 0 0; padding-left: 1rem; border-left: 3px solid #e3a64d; font-family: var(--display); font-size: 1.35rem; line-height: 1.28; }
.dt-quote:empty { display: none; }
.dt-take { margin: 1rem 0 0; font-size: 1.1rem; line-height: 1.55; }
.dt-take:empty { display: none; }
@media (max-width: 55.99rem) {
  .detail { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-height: 72vh; overflow: auto; background: #1b1712; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 1.2rem 1.3rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1); box-shadow: 0 -24px 40px rgba(0, 0, 0, 0.45); min-height: 0; color: #efe9db; }
  .detail.open { transform: none; }
  .detail-close { display: inline-block; position: absolute; right: 1rem; top: 0.9rem; font: inherit; font-size: 0.95rem; background: none; border: 1px solid rgba(255, 255, 255, 0.4); color: #efe9db; border-radius: 999px; padding: 0.2rem 0.8rem; cursor: pointer; }
  .dt-card { padding-top: 1.6rem; }
}
.lede-s { font-size: 1.15rem; color: var(--ink-2); max-width: 40rem; margin: 0.6rem 0 1.4rem; }
.takes { padding-bottom: 3rem; }
.take-group h3 { font-family: var(--display); font-size: 2rem; font-weight: 400; padding: 1rem 0 0.6rem; border-top: 1px solid var(--ink); margin-top: 2.2rem; }
.take-group ul { list-style: none; margin: 0; padding: 0; }
.take-group li { padding: 1rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: 0.35rem 3rem; align-content: start; }
@media (min-width: 56rem) { .take-group li { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); } .take-group li > .tk-head { grid-row: 1 / span 2; } }
.tk-title { display: block; font-family: var(--display); font-size: 1.65rem; line-height: 1.1; }
.tk-author { display: block; color: var(--ink-2); font-size: 1rem; }
.tk-now { display: inline-block; margin-top: 0.3rem; font-size: 0.9rem; font-style: italic; color: var(--write); }
.tk-text { margin: 0; max-width: 40rem; }
.take-group blockquote { margin: 0 0 0.4rem; padding-left: 1rem; border-left: 3px solid var(--read); font-family: var(--display); font-size: 1.3rem; line-height: 1.25; }
.shelf-itself { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem 3rem; padding-bottom: 4rem; align-items: center; }
@media (min-width: 48rem) { .shelf-itself { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); } }
.shelf-itself img { width: 100%; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6); }
.shelf-itself .sub-h { margin-top: 0; }

/* ================= notes grid ================= */
.notes-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-bottom: 5rem; }
@media (min-width: 48rem) { .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; } }
.note-card { background: var(--paper-2); padding: 1.6rem 1.7rem 1.8rem; border-top: 4px solid var(--accent, var(--ink)); }
.nc-n { margin: 0 0 0.6rem; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); }
.note-card p { margin: 0 0 0.8em; }
.note-card strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.55rem, 2.7vw, 2rem); line-height: 1.12; margin-bottom: 0.8rem; color: var(--ink); }
.note-card em { color: var(--ink-2); }

/* ================= studio: texture header, enquiry ================= */
.band-art { background: #0f1a33; }
.band-art::before { background: linear-gradient(rgba(12, 22, 44, 0.74), rgba(12, 22, 44, 0.6)), var(--bandimg) center / cover; opacity: 1; }
.avail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin-top: 0.7rem; font-size: 0.95rem; }
.avail-t { color: var(--wander); }
.enquire { font: inherit; font-size: 0.95rem; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 0.22rem 0.95rem; color: var(--ink); cursor: pointer; }
.enquire:hover { background: var(--ink); color: var(--paper); }
.lb { grid-template-rows: minmax(0, 1fr) auto auto; }
.lb .avail { color: #e9e5da; justify-content: center; }
.lb .avail-t { color: #9fd5b6; }
.lb .enquire { color: #f1eee6; border-color: #f1eee6; }
.lb .enquire:hover { background: #f1eee6; color: #14110d; }

/* operator table */
.prose.wide { max-width: 62rem; }
.prose.wide table { display: table; width: 100%; }
.prose.wide th:first-child, .prose.wide td:first-child { width: 22%; }
.prose.wide h2 { margin-top: 3rem; }
.prose ul li strong { font-weight: 500; }

@media (prefers-reduced-motion: reduce) { .cine-img { animation: none; } .detail { transition: none; } }

img { height: auto; }


/* ================= v4: Build page ================= */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.op-intro { padding-top: 0.5rem; }
.op-lead p { font-family: var(--display); font-size: clamp(1.8rem, 3.8vw, 2.8rem); line-height: 1.15; max-width: 52rem; margin: 0; }
.op-lead a { color: var(--build); text-decoration-thickness: 2px; }
.op-h { font-size: clamp(2.3rem, 5vw, 3.5rem); margin: 0 0 0.4rem; }
.op-sub { color: var(--ink-2); margin: 0 0 2rem; max-width: 36rem; }
.climb { padding-top: 3.4rem; padding-bottom: 1rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.step { display: flex; flex-direction: column; }
.st-card { background: var(--paper-2); padding: 1.2rem 1.3rem 1.4rem; border-top: 3px solid var(--build); }
.st-years { margin: 0 0 0.4rem; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }
.st-card h3 { font-size: 2.1rem; line-height: 1; }
.st-card h3 a { text-decoration: none; border-bottom: 2px solid var(--build); }
.st-role { margin: 0.45rem 0 0.7rem; font-style: italic; color: var(--ink-2); font-size: 1rem; line-height: 1.35; }
.st-what { margin: 0; font-size: 1rem; line-height: 1.45; }
.st-bar { display: none; }
@media (min-width: 56rem) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 0.8rem; }
  .st-bar { display: block; height: calc(var(--n) * 3.6rem); background: var(--build); margin-top: 0.5rem; transform-origin: bottom; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--n) * 0.14s); }
  .step:nth-child(1) .st-bar { opacity: 0.35; }
  .step:nth-child(2) .st-bar { opacity: 0.55; }
  .step:nth-child(3) .st-bar { opacity: 0.78; }
  .js .st-bar { transform: scaleY(0); }
  .js .climb.in .st-bar { transform: none; }
}
@media (max-width: 55.99rem) { .step { margin-left: calc((var(--n) - 1) * 5vw); } }
.stats { padding-top: 3.2rem; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); border-top: 1px solid var(--ink); }
.stats li { padding: 1.4rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--rule); }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; color: var(--build); margin-bottom: 0.5rem; }
.stats span { display: block; font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.process { padding-top: 3.4rem; }
.process ol { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.process li { background: var(--paper); padding: 1.4rem 1.3rem; }
.pr-n { display: block; font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--build); }
.process h3 { font-size: 1.7rem; margin: 0.4rem 0 0.5rem; }
.process p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.impact { padding-top: 3.4rem; }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.imp { border: 1px solid var(--ink); padding: 1.2rem 1.2rem 1.3rem; display: grid; gap: 0.7rem; align-content: start; }
.imp h3 { font-size: 1.55rem; line-height: 1.08; }
.imp p { margin: 0; font-size: 0.98rem; line-height: 1.4; }
.imp span { display: block; font-style: italic; font-size: 0.85rem; color: var(--ink-2); margin-bottom: 0.1rem; }
.imp-a { color: var(--build); padding-top: 0.6rem; border-top: 1px dashed var(--rule); font-weight: 500; }
.imp-a span { color: var(--build); font-weight: 400; }
.outside { padding-top: 3.4rem; padding-bottom: 2rem; }
.outside .prose { max-width: 44rem; padding-bottom: 0; }
.op-cta { background: var(--build); color: var(--paper); margin-top: 3rem; }
.cta-in { padding-top: 3rem; padding-bottom: 3.4rem; }
.cta-in h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 32rem; line-height: 1.03; }
.cta-in p { margin: 0.8rem 0 1.4rem; max-width: 34rem; opacity: 0.92; }
.enquire.solid { font: inherit; font-size: 1.1rem; padding: 0.65rem 1.6rem; border-radius: 999px; border: 1px solid currentColor; background: var(--paper); color: var(--ink); cursor: pointer; }
.op-cta .enquire.solid { color: var(--build); }
.studio-cta { padding-bottom: 4.5rem; }
.studio-cta .cta-in { border-top: 1px solid var(--ink); padding-bottom: 0; }
.studio-cta .enquire.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.enquire.ghost { font: inherit; font-size: 0.95rem; background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.2em; border-radius: 0; cursor: pointer; }
.enquire.ghost:hover { color: var(--ink); background: none; }
.foot-links .enquire { text-decoration: underline; }

/* ================= v4: studio header ================= */
.band-dabs { background: #13203f; }
.band-dabs::before { opacity: 0.07; }
.dabs { position: absolute; right: clamp(1rem, 8vw, 7rem); top: 50%; transform: translateY(-50%); height: calc(100% - 1.8rem); max-height: 23rem; width: auto; pointer-events: none; z-index: 0; }
@media (max-width: 47.99rem) { .dabs { opacity: 0.3; right: -1.2rem; } }

/* ================= v4: map legend and reset ================= */
.legend { flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; gap: 0.3rem 0.85rem; font-size: 0.86rem; scrollbar-width: none; }
.legend::-webkit-scrollbar { display: none; }
.legend .k-dot { margin-right: 0.3rem; }
@media (max-width: 55.99rem) { .map-stage { position: relative; } }
.map-reset { position: absolute; top: 0.4rem; left: 0.4rem; z-index: 3; font: inherit; font-size: 0.95rem; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 0.3rem 0.95rem; cursor: pointer; }
.map-reset[hidden] { display: none; }

/* ================= v4: enquiry dialog ================= */
.enq { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; background: rgba(16, 15, 13, 0.72); }
.enq-box { position: relative; width: min(100%, 34rem); max-height: 92vh; overflow: auto; background: var(--paper); color: var(--ink); padding: 1.7rem 1.6rem 1.8rem; border: 1px solid var(--ink); }
.enq-x { position: absolute; right: 1rem; top: 1rem; font: inherit; font-size: 0.95rem; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 0.2rem 0.85rem; cursor: pointer; color: var(--ink); }
.enq-box h3 { font-size: 2.3rem; margin: 0 0 0.3rem; }
.enq-sub { margin: 0 0 0.6rem; color: var(--ink-2); font-size: 1rem; }
.enq-box label { display: block; font-size: 0.9rem; font-style: italic; color: var(--ink-2); margin: 0.85rem 0 0.25rem; }
.enq-box input, .enq-box select, .enq-box textarea { width: 100%; font: inherit; font-size: 1rem; padding: 0.55rem 0.7rem; border: 1px solid var(--ink); background: var(--paper-2); color: var(--ink); border-radius: 2px; }
.enq-box textarea { min-height: 7rem; resize: vertical; }
.enq-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
.enq-actions button { font: inherit; font-size: 1rem; padding: 0.55rem 1.2rem; border-radius: 999px; border: 1px solid var(--ink); background: none; color: var(--ink); cursor: pointer; }
.enq-actions .primary { background: var(--ink); color: var(--paper); }
.enq-note { margin: 1rem 0 0; font-size: 0.95rem; color: var(--ink-2); line-height: 1.45; }
.enq-addr { font-family: var(--mono); font-size: 0.9rem; word-break: break-all; color: var(--ink); }
.enq-done { margin: 1rem 0 0; color: var(--wander); font-weight: 500; }

/* ================= v4: 3D bookshelf ================= */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.6rem; }
.flt { font: inherit; font-size: 0.98rem; line-height: 1.2; background: none; color: #efe9db; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 0.4rem 0.95rem; cursor: pointer; transition: background 0.2s; }
.flt span { font-family: var(--mono); font-size: 0.74rem; opacity: 0.7; margin-left: 0.3rem; }
.flt:hover { background: rgba(255, 255, 255, 0.1); }
.flt.on { background: #efe9db; color: #14110d; border-color: #efe9db; }
.wall3d { position: relative; display: grid; gap: 2.4rem; padding-bottom: 1rem; }
.shelf3d[hidden] { display: none; }
.shelf3d h3 { font-family: var(--text); font-style: italic; font-weight: 400; font-size: 1rem; opacity: 0.7; margin: 0 0 0.3rem; }
.shelf3d h3 span { font-family: var(--mono); font-style: normal; font-size: 0.75rem; margin-left: 0.4rem; }
.row { display: flex; align-items: flex-end; gap: 7px; padding: 0 12px; min-height: 232px; perspective: 1200px; perspective-origin: 50% 35%; }
@media (max-width: 47.99rem) { .row { overflow-x: auto; overflow-y: hidden; padding-top: 30px; scrollbar-width: thin; } }
.bk-wrap { flex: none; position: relative; width: var(--w); height: var(--h); padding: 0; border: 0; background: none; cursor: pointer; color: inherit; transform-style: preserve-3d; }
.bk-wrap::after { content: ""; position: absolute; left: -2px; right: -34px; bottom: -6px; height: 12px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, 0.6), transparent 70%); z-index: -1; }
.bk3d { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(-24deg); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bk-wrap:hover, .bk-wrap:focus-visible { z-index: 5; }
.bk-wrap:hover .bk3d, .bk-wrap:focus-visible .bk3d { transform: rotateY(-62deg) translateX(-8px) translateY(-6px); }
.bk-wrap.sel .bk3d { transform: rotateY(-62deg) translateX(-8px) translateY(-16px); }
.f { position: absolute; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.f.spine { inset: 0; transform: translateZ(calc(var(--d) / 2)); background-color: var(--c); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 25%, transparent 70%, rgba(0, 0, 0, 0.3)); color: var(--t); }
.sp { position: absolute; inset: 14px 0 12px; display: block; writing-mode: vertical-rl; text-align: left; font-family: var(--display); font-size: 0.9rem; line-height: var(--w); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f.cover { width: var(--d); height: 100%; left: calc((var(--w) - var(--d)) / 2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); background-color: var(--c); background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 12%), linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent 40%); color: var(--t); padding: 16px 12px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.f.cover b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; line-height: 1.08; }
.f.cover i { font-size: 0.72rem; opacity: 0.85; font-style: normal; }
.f.lcover { width: var(--d); height: 100%; left: calc((var(--w) - var(--d)) / 2); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: var(--c); filter: brightness(0.82); }
.f.back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--c); filter: brightness(0.78); }
.f.top { width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); background-color: #e9e1cd; background-image: repeating-linear-gradient(90deg, #d6cdb5 0 1px, transparent 1px 3px); }
.f.bottom { width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); background: #cfc6ad; }
.bk-wrap.marked .f.spine::after { content: ""; position: absolute; left: 50%; top: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--write); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.35); }
.bk-wrap.reading .f.spine::before { content: ""; position: absolute; top: 0; right: 4px; width: 7px; height: 18px; background: var(--write); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); z-index: 2; }
.shelf3d.dropping .bk-wrap { animation: fall 0.95s cubic-bezier(0.3, 1.45, 0.5, 1) both; animation-delay: calc(var(--i, 0) * 42ms); }
@keyframes fall { 0% { transform: translateY(-80vh) rotate(var(--rz)); opacity: 0; } 18% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.plank { height: 13px; background: linear-gradient(#8a6a44, #5a4328); box-shadow: 0 12px 16px -8px rgba(0, 0, 0, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.12); }

/* the detail sheet is for phones only; larger screens open a 3D book */
.detail { display: none; }
@media (max-width: 47.99rem) {
  .detail { display: block; position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; max-height: 72vh; overflow: auto; background: #1b1712; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 1.2rem 1.3rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1); box-shadow: 0 -24px 40px rgba(0, 0, 0, 0.45); min-height: 0; color: #efe9db; }
  .detail.open { transform: none; }
  .detail-close { display: inline-block; }
}

/* open book */
.bko { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 1rem; background: rgba(10, 8, 6, 0.9); perspective: 2600px; cursor: zoom-out; }
.bko-x { position: absolute; right: 1.2rem; top: 1.2rem; z-index: 5; font: inherit; font-size: 1rem; background: none; border: 1px solid rgba(255, 255, 255, 0.5); color: #f1eee6; border-radius: 999px; padding: 0.3rem 1rem; cursor: pointer; }
.bko-book { position: relative; width: min(94vw, 58rem); height: min(80vh, 40rem); transform: translateX(-25%) rotateX(6deg); transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(0.5, 0.1, 0.2, 1); cursor: default; font-size: clamp(12px, 1.5vw, 17px); }
.bko-book.open { transform: translateX(0) rotateX(3deg); }
.bko-lpage { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background: #efe9d8; border-radius: 0.3em 0 0 0.3em; box-shadow: inset -2em 0 2em -2em rgba(0, 0, 0, 0.28), 0 2em 4em -1em rgba(0, 0, 0, 0.6); }
.bko-page { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; background: #f4efe1; color: #1a1918; padding: 2.4em 2.4em 2em; overflow: auto; box-shadow: inset 2em 0 2em -2em rgba(0, 0, 0, 0.28), 0 2em 4em -1em rgba(0, 0, 0, 0.6); border-radius: 0 0.3em 0.3em 0; line-height: 1.5; }
.bko-page > * { opacity: 0; transition: opacity 0.6s ease 0.9s; }
.bko-book.open .bko-page > * { opacity: 1; }
.bko-cover { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(0.6, 0.05, 0.2, 1); }
.bko-book.open .bko-cover { transform: rotateY(-180deg); }
.bko-front, .bko-inside { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bko-front { background-color: var(--c); background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 10%); color: var(--t); padding: 2.4em 2.2em; display: flex; flex-direction: column; justify-content: space-between; border-radius: 0 0.35em 0.35em 0; box-shadow: 0 2em 4em -1em rgba(0, 0, 0, 0.6); }
.bko-front b { font-family: var(--display); font-weight: 400; font-size: 2.5em; line-height: 1.02; }
.bko-front i { font-size: 1.15em; opacity: 0.85; font-style: normal; }
.bko-inside { transform: rotateY(180deg); background-color: color-mix(in srgb, var(--c) 72%, #2a2118); color: var(--t); display: grid; place-items: center; align-content: center; text-align: center; padding: 2em; border-radius: 0.35em 0 0 0.35em; }
.bko-inside .seal { width: 5.5em; height: 5.5em; }
.bko-inside p { margin: 0.9em 0 0; font-style: italic; font-size: 1.05em; opacity: 0.9; }
.bko-page .dt-shelf { color: #9a5f14; margin: 0 0 0.4em; font-style: italic; }
.bko-page .dt-title { font-size: 2.2em; line-height: 1.04; color: #1a1918; }
.bko-page .dt-author { margin: 0.4em 0 0; color: #5b574f; }
.bko-page .dt-quote { margin: 1.1em 0 0; padding-left: 0.9em; border-left: 3px solid #9a5f14; font-family: var(--display); font-size: 1.3em; line-height: 1.25; color: #1a1918; }
.bko-page .dt-take { margin: 1em 0 0; font-size: 1.1em; color: #1a1918; }
@media (prefers-reduced-motion: reduce) { .bko-book, .bko-cover, .shelf3d.dropping .bk-wrap { transition: none; animation: none; } }

/* hit-testing: only a flat overlay takes clicks, so rotated covers never block a neighbour */
.bk3d, .bk3d * { pointer-events: none; }
.bk-wrap .hit { position: absolute; inset: -2px -4px; pointer-events: auto; z-index: 1; }
.bk3d { transform: rotateY(-17deg); }
.row { gap: 10px; }

@media (min-width: 56rem) { .band-dabs .section-head { padding-right: 15rem; } }
.bko-inside { background-color: #d9cdb0; background-image: repeating-linear-gradient(45deg, rgba(60, 45, 25, 0.06) 0 2px, transparent 2px 9px); color: #2a2118; }
.bko-inside .seal { --seal: var(--write); }


/* ================= v5: home design pass ================= */
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.6rem 2rem; margin-top: 2rem; }
.hero-meta .hero-sub { margin: 0; }
.clock { margin: 0; font-family: var(--mono); font-size: 0.85rem; color: var(--ink-2); white-space: nowrap; }
.clock time { color: var(--ink); }
.clock-dot { display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.55rem; border-radius: 50%; background: var(--wander); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

/* hero tile leans toward the pointer */
@media (min-width: 56rem) {
  .stage .tile.is-active { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
  .stage.tilting .tile { transition: opacity 0.5s ease, transform 0.12s linear; }
}

/* manifesto: drifting motes, words that light up as you scroll */
.manifesto { position: relative; overflow: hidden; }
.motes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.manifesto-in { position: relative; z-index: 1; }
.manifesto.live .w { opacity: 0.22; transition: opacity 0.4s ease; }
.manifesto.live .w.on { opacity: 1; }
.manifesto p .w { display: inline; }

/* places marquee */
.marquee { display: block; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--ink); padding: 1rem 0 1.1rem; }
.mq-track { display: flex; width: max-content; animation: mq 70s linear infinite; }
.marquee:hover .mq-track, .marquee:focus-visible .mq-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; }
.mq-set span { font-family: var(--display); font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1; padding: 0 1.3rem; white-space: nowrap; }
.mq-set span.hl { font-style: italic; color: var(--write); }
.mq-set i { display: block; width: 1px; height: 0.9em; background: var(--ink-2); opacity: 0.55; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .clock-dot { animation: none; } }


/* ================= v6: essay reading experience ================= */
.prose p, .prose li { text-wrap: pretty; }
h1, h2, .dek, .lede { text-wrap: balance; }
.essay-prose { --rs: 1; font-size: calc(1.22rem * var(--rs)); }
.essay-prose blockquote { position: relative; padding-left: 1.6rem; }
.essay-prose blockquote::before { content: "\201C"; position: absolute; left: -0.1rem; top: -0.55rem; font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--accent); opacity: 0.85; }
.essay-prose blockquote.data::before { content: none; }
.essay-prose blockquote.data { padding-left: 1.4rem; }

/* reading rail */
.rd-prog { position: relative; width: 3px; height: 5.5rem; margin: 1rem 0 0.7rem; background: var(--rule); }
.rd-prog i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--accent); }
.rail .rd-left { font-family: var(--mono); font-size: 0.78rem; font-style: normal; color: var(--ink-2); margin-bottom: 0.9rem; }
.rd-left span { color: var(--ink); }
.rd-size { display: flex; gap: 0.4rem; margin: 0 0 0.9rem; }
.rd-size button { font: inherit; font-size: 0.9rem; line-height: 1; background: none; color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: 0.35rem 0.7rem; cursor: pointer; }
.rd-size button:hover { border-color: var(--ink); }

/* quote tool on text selection */
.qt { position: fixed; z-index: 120; transform: translate(-50%, -100%); font: inherit; font-size: 0.95rem; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 0.4rem 1rem; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5); }
.qt::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }

/* keep reading */
.keep-reading { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); border-top: 1px solid var(--ink); padding: 2rem 0 5rem; }
.kr-card { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.2rem; align-items: center; text-decoration: none; padding: 1.1rem; background: var(--paper-2); border-top: 4px solid var(--accent); transition: transform 0.25s ease; }
.kr-card:not(:has(.kr-img)) { grid-template-columns: minmax(0, 1fr); }
.kr-card:hover { transform: translateY(-3px); }
.kr-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); padding: 0.25rem; box-shadow: 0 10px 20px -12px rgba(26, 25, 24, 0.5); }
.kr-k { display: block; font-style: italic; color: var(--accent); font-size: 0.95rem; margin-bottom: 0.3rem; }
.kr-t { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1.04; margin-bottom: 0.4rem; }
.kr-s { display: block; color: var(--ink-2); font-size: 0.98rem; line-height: 1.4; }

/* essays index: artwork and pull quote */
@media (min-width: 48rem) { .essay-row.has-art { grid-template-columns: 11rem minmax(0, 1fr) 9.5rem; } }
.er-art img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); padding: 0.3rem; box-shadow: 0 12px 24px -14px rgba(26, 25, 24, 0.55); transform: rotate(1.6deg); transition: transform 0.3s ease; }
.essay-row:hover .er-art img { transform: rotate(0deg) translateY(-3px); }
.er-pull { display: block; margin-top: 0.8rem; font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.2; color: var(--c); max-width: 36rem; }
@media (max-width: 47.99rem) { .er-art { display: none; } }
.foot-links .enquire { border: 0; border-radius: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.foot-links .enquire:hover { background: none; color: inherit; text-decoration-thickness: 2px; }
.keep-reading { grid-template-columns: repeat(auto-fit, minmax(18rem, 28rem)); }


/* ================= v7: studio as a gallery ================= */
.studio-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; padding-bottom: 0.6rem; }
.sb-count { margin: 0; color: var(--ink-2); }
.sb-count b { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--ink); margin-right: 0.3rem; vertical-align: -0.12em; }
.sb-filters { display: flex; flex-wrap: wrap; gap: 0.45rem; flex: 1 1 auto; }
.sf, .vw { font: inherit; font-size: 0.96rem; line-height: 1.2; background: none; color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: 0.36rem 0.9rem; cursor: pointer; }
.sf span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); margin-left: 0.3rem; }
.sf:hover, .vw:hover { border-color: var(--ink); }
.sf.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sf.on span { color: inherit; opacity: 0.75; }
.sb-view { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.vw { border: 0; border-radius: 0; padding: 0.4rem 1.1rem; }
.vw[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.plate-group[hidden] { display: none; }
.cap-no { display: block; font-family: var(--mono); font-size: 0.74rem; color: var(--ink-2); margin-bottom: 0.25rem; }
.avail .add-enq { margin-left: 0; }
.add-enq { font: inherit; font-size: 0.92rem; background: none; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 999px; padding: 0.2rem 0.8rem; cursor: pointer; }
.add-enq:hover { border-color: var(--ink); color: var(--ink); }
.add-enq .ae-on { display: none; }
.add-enq[aria-pressed="true"] { background: var(--wander); color: var(--paper); border-color: var(--wander); }
.add-enq[aria-pressed="true"] .ae-on { display: inline; }
.add-enq[aria-pressed="true"] .ae-off { display: none; }
.plate.picked img { outline: 3px solid var(--wander); outline-offset: 3px; }

/* index view */
.view-index { display: none; padding-bottom: 3rem; }
.studio-views[data-view="index"] .view-wall { display: none; }
.studio-views[data-view="index"] .view-index { display: block; }
.ix-list { list-style: none; margin: 0.8rem 0 0; padding: 0; border-top: 1px solid var(--ink); }
.ix-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.4rem 1.4rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
.ix-row[hidden] { display: none; }
.ix-no { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }
.ix-open { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; align-items: center; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ix-th { display: block; width: 4.2rem; height: 5.2rem; background: var(--paper-2); overflow: hidden; }
.ix-th img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ix-open:hover .ix-th img { transform: scale(1.08); }
.ix-t b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.05; }
.ix-open:hover .ix-t b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.ix-t i { display: block; font-style: normal; color: var(--ink-2); font-size: 0.98rem; line-height: 1.4; margin-top: 0.25rem; max-width: 36rem; }
.ix-meta { color: var(--ink-2); font-size: 0.98rem; }
@media (min-width: 56rem) {
  .ix-row { grid-template-columns: 4.5rem minmax(0, 1.7fr) minmax(0, 0.8fr) 11rem; }
  .ix-act { text-align: right; }
}

/* enquiry list tray */
.enq-tray { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 0.8rem 1rem; flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 1.6rem); background: var(--ink); color: var(--paper); padding: 0.7rem 1.1rem; border-radius: 999px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.55); }
.enq-tray[hidden] { display: none; }
.enq-tray p { margin: 0; font-size: 0.98rem; }
.enq-tray b { font-family: var(--mono); font-weight: 400; }
.enq-tray button { font: inherit; font-size: 0.96rem; border-radius: 999px; padding: 0.3rem 1rem; cursor: pointer; border: 1px solid var(--paper); }
.tray-go { background: var(--paper); color: var(--ink); }
.tray-clear { background: none; color: var(--paper); border-color: transparent !important; text-decoration: underline; padding-left: 0.2rem !important; padding-right: 0.2rem !important; }

/* lightbox with navigation */
.lb { grid-template-rows: minmax(0, 1fr) auto auto; }
.lb img { max-height: 100%; }
.lb p.lb-cap { margin: 0; color: #e9e5da; text-align: center; max-width: 42rem; font-size: 1rem; line-height: 1.4; }
.lb .lb-no { display: block; font-family: var(--mono); font-size: 0.76rem; opacity: 0.7; margin-bottom: 0.2rem; }
.lb p.lb-cap b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; display: block; }
.lb-act { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.lb-act button { font: inherit; font-size: 0.95rem; background: none; color: #f1eee6; border: 1px solid rgba(241, 238, 230, 0.7); border-radius: 999px; padding: 0.3rem 1rem; cursor: pointer; }
.lb-act button:hover { background: #f1eee6; color: #14110d; }
.lb-act .add-enq[aria-pressed="true"] { background: #6fc496; color: #10201a; border-color: #6fc496; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid rgba(241, 238, 230, 0.6); background: rgba(20, 17, 13, 0.5); color: #f1eee6; font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 2; }
.lb-nav:hover { background: #f1eee6; color: #14110d; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-count { position: absolute; top: 1.1rem; left: 1.2rem; font-family: var(--mono); font-size: 0.8rem; color: rgba(241, 238, 230, 0.8); }
@media (max-width: 47.99rem) { .lb-nav { top: auto; bottom: 1rem; transform: none; } .lb-prev { left: 0.8rem; } .lb-next { right: 0.8rem; } }
body:has(.lb) .enq-tray, body:has(.enq) .enq-tray { display: none; }
.lb { background: rgba(14, 12, 10, 0.97); }


/* ================= v8: photo books ================= */
.photobooks { padding-top: 2.4rem; padding-bottom: 1rem; }
.pb-row { display: flex; flex-wrap: wrap; gap: 2.6rem; margin-top: 1.6rem; }
.pb-cover-btn { font: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; display: flex; gap: 1.6rem; align-items: flex-end; perspective: 900px; }
.pbc-book { position: relative; display: block; width: 11.5rem; aspect-ratio: 3 / 4; background-size: cover; background-position: center; color: #f1eee6; transform: rotateY(-18deg); transform-origin: left center; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); box-shadow: inset 7px 0 7px -5px rgba(0, 0, 0, 0.55), 14px 18px 30px -14px rgba(0, 0, 0, 0.6); border-radius: 2px 5px 5px 2px; }
.pbc-book::after { content: ""; position: absolute; right: -5px; top: 3px; bottom: 3px; width: 5px; background: repeating-linear-gradient(0deg, #e9e1cd 0 1px, #cfc6ad 1px 2px); transform: skewY(-4deg); }
.pb-cover-btn:hover .pbc-book, .pb-cover-btn:focus-visible .pbc-book { transform: rotateY(-5deg) translateY(-4px); }
.pbc-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 10, 26, 0.82), transparent 58%); border-radius: inherit; }
.pbc-book b { position: absolute; left: 1rem; bottom: 2.3rem; font-family: var(--display); font-weight: 400; font-size: 2.3rem; line-height: 1; }
.pbc-book i { position: absolute; left: 1rem; bottom: 0.95rem; font-size: 0.8rem; font-style: normal; opacity: 0.9; }
.pbc-meta { max-width: 14rem; color: var(--ink-2); font-size: 1rem; line-height: 1.4; padding-bottom: 0.4rem; }
.pbc-meta b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--ink); line-height: 1.05; margin-bottom: 0.3rem; }
.dispatch-book { margin-top: 1.8rem; }
.pb-open.pb-open-main, .dispatch-book .pb-open { font: inherit; font-size: 1.05rem; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 0.6rem 1.5rem; cursor: pointer; }
.db-n { margin: 0.7rem 0 0; color: var(--ink-2); font-size: 0.95rem; }
.db-strip { display: flex; gap: 0.3rem; overflow-x: auto; margin-top: 0.9rem; padding-bottom: 0.4rem; scrollbar-width: thin; }
.db-strip img { height: 4.6rem; width: auto; flex: none; }

/* the book */
.pb { position: fixed; inset: 0; z-index: 260; background: radial-gradient(90% 70% at 50% 40%, #1d1a16, #090807); display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; padding: 3.4rem 1rem 1rem; overflow: hidden; color: #f1eee6; animation: pbin 0.5s ease both; }
@keyframes pbin { from { opacity: 0; } to { opacity: 1; } }
.pb-x { position: absolute; right: 1.2rem; top: 1.1rem; z-index: 6; font: inherit; font-size: 1rem; background: none; border: 1px solid rgba(255, 255, 255, 0.5); color: #f1eee6; border-radius: 999px; padding: 0.3rem 1rem; cursor: pointer; }
.pb-stage { perspective: 3200px; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.pb-book { position: relative; width: min(94vw, calc((100dvh - 10rem) * 1.5)); aspect-ratio: 3 / 2; transform-style: preserve-3d; transition: transform 0.95s cubic-bezier(0.5, 0.1, 0.2, 1); }
.pb-book.s0 { transform: translateX(-25%); }
.pb.phone .pb-book { width: calc(2 * min(90vw, (100dvh - 10rem) * 0.75)); }
.pb.phone .pb-book.R { transform: translateX(-25%); }
.pb.phone .pb-book.L { transform: translateX(25%); }
.pb-backcover { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; background: #15233f; border-radius: 0 0.6em 0.6em 0; display: grid; place-items: center; box-shadow: 0 2.5em 4em -1em rgba(0, 0, 0, 0.7); }
.pb-leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1.05s cubic-bezier(0.55, 0.05, 0.2, 1); }
.pb-leaf.flipped { transform: rotateY(-180deg); }
.pb-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #f4efe3; }
.pb-face.back { transform: rotateY(180deg); }
.pb-face.front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 7%); pointer-events: none; }
.pb-face.back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0, 0, 0, 0.22), transparent 7%); pointer-events: none; }
.pb-leaf:first-of-type .pb-face.front { border-radius: 0 0.5em 0.5em 0; }
.pb-ctl { display: flex; align-items: center; gap: 1.2rem; margin-top: 0.7rem; }
.pb-ctl button { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid rgba(241, 238, 230, 0.55); background: none; color: #f1eee6; font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pb-ctl button:hover { background: #f1eee6; color: #14110d; }
.pb-count { font-family: var(--mono); font-size: 0.82rem; min-width: 11rem; text-align: center; opacity: 0.85; }

/* pages scale with their own width */
.pg { position: absolute; inset: 0; color: #1a1918; font-family: var(--text); }
.pb-face { container-type: size; }
.pg .folio { position: absolute; bottom: 4cqw; font-family: var(--mono); font-size: 2.6cqw; color: #7b7568; }
.back .pg .folio { left: 6cqw; }
.front .pg .folio { right: 6cqw; }
.pg figure { margin: 0; }
.pg figcaption { margin-top: 2cqw; font-size: 3.2cqw; line-height: 1.35; color: #3a362f; }
.pg figcaption span { display: block; font-family: var(--mono); font-size: 2.6cqw; color: #9a5f14; margin-bottom: 0.6cqw; }
.pg .kick { position: absolute; top: 5.5cqw; left: 7cqw; margin: 0; font-family: var(--display); font-size: 5.4cqw; font-style: italic; color: #9a5f14; }
.pg-photo, .pg-portrait, .pg-two { padding: 11cqw 7cqw 11cqw; display: flex; flex-direction: column; justify-content: center; }
.pg-photo img, .pg-two img { display: block; width: 100%; height: auto; }
.pg-two { gap: 3.2cqw; }
.pg-two img { width: 76cqw; margin: 0 auto; }
.pg-two figcaption { margin-left: 5cqw; }
.pg-portrait figure { text-align: center; }
.pg-portrait img { display: block; max-height: 92cqw; width: auto; margin: 0 auto; }
.pg-portrait figcaption { text-align: left; margin-left: 12cqw; }
.pg-half { background-size: 200% 100%; background-repeat: no-repeat; }
.pg-half.l { background-position: 0 50%; }
.pg-half.r { background-position: 100% 50%; }
.pg-half .sp-cap { position: absolute; left: 6cqw; bottom: 9cqw; margin: 0; max-width: 70cqw; color: #f4efe3; font-size: 3.4cqw; line-height: 1.35; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.pg-half .sp-cap span { display: block; font-family: var(--mono); font-size: 2.6cqw; opacity: 0.85; }
.pg-half .folio { color: rgba(244, 239, 227, 0.8); }
.pg-title, .pg-colophon { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10cqw; gap: 3cqw; }
.pg-title h3 { font-size: 22cqw; line-height: 0.95; }
.pg-title .tt-k { margin: 0; font-style: italic; color: #9a5f14; font-size: 4cqw; }
.pg-title .tt-s { margin: 0; font-size: 4.6cqw; }
.pg-title .tt-n { margin: 0; max-width: 60cqw; font-size: 3.4cqw; color: #5b574f; line-height: 1.4; }
.pg-title .seal, .pg-colophon .seal { width: 12cqw; height: 12cqw; margin-top: 4cqw; }
.pg-colophon h3 { font-size: 13cqw; }
.pg-colophon p { margin: 0; font-size: 3.6cqw; color: #4a463e; }
.pg-cover { background-size: cover; background-position: center; color: #f1eee6; }
.cv-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 10, 26, 0.88), rgba(5, 10, 26, 0.05) 60%), linear-gradient(to bottom, rgba(5, 10, 26, 0.35), transparent 24%); }
.pg-cover .seal { position: absolute; right: 7cqw; top: 7cqw; width: 12cqw; height: 12cqw; }
.cv-t { position: absolute; left: 8cqw; right: 8cqw; bottom: 9cqw; }
.cv-t b { display: block; font-family: var(--display); font-weight: 400; font-size: 24cqw; line-height: 0.92; }
.cv-t i { display: block; margin-top: 3cqw; font-style: normal; font-size: 4.2cqw; opacity: 0.9; }
.pg-endpaper { background-color: #15233f; background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 12px); color: #d8d2c2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5cqw; text-align: center; padding: 10cqw; }
.pg-endpaper .seal { width: 26cqw; height: 26cqw; }
.pg-endpaper p { margin: 0; font-style: italic; font-size: 4.2cqw; }
.pb-backcover .seal { width: 24%; height: auto; aspect-ratio: 1; }
@media (prefers-reduced-motion: reduce) { .pb, .pb-book, .pb-leaf { animation: none; transition: none; } }
.pg-two { padding: 15cqw 7cqw 9cqw; gap: 3cqw; }
.pg-two img { width: 60cqw; }
.pg-two figcaption { margin-left: 0; margin-top: 1.6cqw; }
.pg-two figure { margin-left: 8cqw; }
.pg-two img { margin: 0; }
/* phone: centre the over-wide book explicitly, then slide to the page being read */
.pb.phone .pb-stage { position: relative; }
.pb.phone .pb-book { position: absolute; left: 50%; top: 50%; }
.pb.phone .pb-book.R { transform: translate(-75%, -50%); }
.pb.phone .pb-book.L { transform: translate(-25%, -50%); }


/* ================= v9: live photos and portrait layouts in the photo book ================= */
.lv { position: relative; display: block; line-height: 0; }
.lv video.live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.lv.playing video.live { opacity: 1; }
.live-badge { position: absolute; left: 2.2cqw; top: 2.2cqw; padding: 0.5cqw 1.6cqw 0.5cqw 4.2cqw; border-radius: 99cqw; background: rgba(20, 17, 13, 0.55); color: #f4efe3; font-family: var(--text); font-style: normal; font-size: 2.5cqw; line-height: 1.4; backdrop-filter: blur(2px); }
.live-badge::before { content: ""; position: absolute; left: 1.4cqw; top: 50%; width: 1.7cqw; height: 1.7cqw; margin-top: -0.85cqw; border-radius: 50%; border: 0.35cqw solid #f4efe3; box-shadow: 0 0 0 0.35cqw rgba(244, 239, 227, 0.35); }
.lv.playing .live-badge { background: rgba(194, 51, 30, 0.85); }
.pg-photo .lv { display: block; }
.pg-portrait figure { display: grid; justify-content: center; }
.pg-portrait .lv { display: inline-block; }
.pg-portrait figcaption { width: 0; min-width: 100%; margin-left: 0; }
.pg-portrait img { max-height: 96cqw; }
.pg-pair { padding: 14cqw 5cqw 10cqw; display: flex; gap: 3.2cqw; align-items: center; justify-content: center; }
.pg-pair figure { width: 40cqw; flex: none; }
.pg-pair img { display: block; width: 100%; height: auto; }
.pg-pair figcaption { font-size: 2.8cqw; margin-top: 1.4cqw; }
.pg-pair figcaption span { font-size: 2.3cqw; }

/* full-page photographs */
.pg-bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-bleed::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.72)); z-index: 1; }
.pg-bleed .bl-cap { position: absolute; left: 6cqw; bottom: 9cqw; margin: 0; max-width: 72cqw; z-index: 2; color: #f4efe3; font-size: 3.4cqw; line-height: 1.35; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.pg-bleed .bl-cap span { display: block; font-family: var(--mono); font-size: 2.6cqw; opacity: 0.85; margin-bottom: 0.6cqw; }
.pg-bleed .kick { z-index: 2; color: #f4efe3; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.pg-bleed .folio { z-index: 2; color: rgba(244, 239, 227, 0.8); }
.pg figcaption, .pg-bleed .bl-cap, .pg-half .sp-cap { text-wrap: balance; }


/* ================= v9: relief map ================= */
.relief { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.relief { overflow: hidden; }
.relief-stage { position: relative; perspective: 1500px; width: min(100%, 42rem); margin: 0 auto; aspect-ratio: 800 / 640; touch-action: pan-y; }
.relief-plane { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 54deg)) rotateZ(var(--rz, -14deg)) scale(1.28); transition: transform 0.25s ease-out; animation: sway 14s ease-in-out infinite; }
.relief-stage.live .relief-plane { animation: none; }
@keyframes sway { 0%, 100% { transform: rotateX(54deg) rotateZ(-20deg) scale(1.28); } 50% { transform: rotateX(58deg) rotateZ(-8deg) scale(1.28); } }
.rl { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(var(--z, 0px)); }
.rl path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.rl-base path { fill: color-mix(in srgb, var(--paper-2) 80%, var(--paper)); stroke: var(--ink-2); stroke-width: 0.8; filter: drop-shadow(0 6px 4px rgba(26, 25, 24, 0.22)); }
.rl-up path { fill: color-mix(in srgb, var(--wander) calc(22% + var(--k) * 10%), var(--paper)); stroke: color-mix(in srgb, var(--wander) 85%, var(--ink)); stroke-width: 1; }
.rl-mk circle { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.rl-mk.home circle { fill: var(--paper); stroke: var(--wander); stroke-width: 4; }
.rl-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; margin: 1.2rem 0 0; font-size: 0.92rem; color: var(--ink-2); }
.rl-key i { display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: 0.4rem; vertical-align: -0.1rem; border-radius: 2px; }
.rl-key .k1 { background: color-mix(in srgb, var(--wander) 32%, var(--paper)); border: 1px solid var(--wander); }
.rl-key .k3 { background: color-mix(in srgb, var(--wander) 62%, var(--paper)); border: 1px solid var(--wander); }
.rl-key .k-ink { background: var(--ink); border-radius: 50%; }
.rl-key .k-ring { border: 3px solid var(--wander); border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .relief-plane { animation: none; transition: none; } }


/* ================= v10: dark theme (follows the device, or the footer toggle) ================= */
:root { --hatch: rgba(26, 25, 24, 0.05); color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151412; --paper-2: #211f1b; --ink: #ece8dd; --ink-2: #aaa398; --rule: #3a372f; --hatch: rgba(236, 232, 221, 0.06);
    --build: #8fa8ff; --draw: #b7b1a6; --wander: #6fc496; --read: #e3a64d; --write: #ff7058;
  }
  :root:not([data-theme="light"]) body::before { mix-blend-mode: screen; opacity: 0.035; }
}
:root[data-theme="dark"] {
  --paper: #151412; --paper-2: #211f1b; --ink: #ece8dd; --ink-2: #aaa398; --rule: #3a372f; --hatch: rgba(236, 232, 221, 0.06);
  --build: #8fa8ff; --draw: #b7b1a6; --wander: #6fc496; --read: #e3a64d; --write: #ff7058;
}
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.035; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
/* surfaces that stay dark in both themes */
.manifesto { background: #1a1918; color: #f1eee6; }
.manifesto .seal { --seal-ink: #f1eee6; }
.band-dabs { color: #f1eee6; }
.band-dabs .section-head h1, .band-dabs .lede, .band-dabs a { color: #f1eee6; }
.tile-art, .tile-cap { color: #f1eee6; }
.tile { color: #f1eee6; }
.vig-quote, .vig-quote cite { color: #f1eee6; }
.vig-flow text, .vig-map path { fill: none; }
.vig-flow text { fill: #f1eee6; }
.vig-flow rect { stroke: #f1eee6; }
.vig-flow rect.last { fill: #f1eee6; }
.vig-flow .links path { stroke: #f1eee6; }
.vig-map path { stroke: #f1eee6; }
.vig-map .mp { fill: #f1eee6; }
.vig-map .mp.m-home { fill: none; stroke: #f1eee6; }
.vig-spines { border-bottom-color: rgba(241, 238, 230, 0.85); }
.seal { --seal-ink: #f1eee6; }
.theme-toggle { font: inherit; font-size: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.theme-toggle span { font-style: italic; }

/* tiles keep their deep brand colours in both themes so light text stays readable */
:root { --build-d: #1e3a8a; --draw-d: #3d3a36; --wander-d: #24523b; --read-d: #8f5811; --write-d: #b52d19; }
.vig-flow text.last { fill: var(--build-d); }

/* section bands keep deep colours with light text in both themes */
body[data-accent="build"] { --band: var(--build-d); }
body[data-accent="draw"] { --band: var(--draw-d); }
body[data-accent="wander"] { --band: var(--wander-d); }
body[data-accent="read"] { --band: var(--read-d); }
body[data-accent="write"] { --band: var(--write-d); }
body[data-accent="ink"] { --band: #1a1918; }
.band { background: var(--band, var(--accent)); color: #f1eee6; }
.band .section-head h1, .band .lede, .band a, .band .essay-meta, .band .folio { color: #f1eee6; }
.band .section-head h1::after { background: #f1eee6; }
.op-cta { background: var(--build-d); color: #f1eee6; }
.op-cta .enquire.solid { background: #f1eee6; color: var(--build-d); }

/* 404 */
.lost { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.lost li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.2rem 2rem; padding: 0.4rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
@media (min-width: 48rem) { .lost li { grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); } }
.lost a { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; color: var(--c); text-decoration: none; }
.lost a:hover { font-style: italic; }
.lost span { color: var(--ink-2); }
.lost-home { margin: 1.6rem 0 4rem; }
.pg-bleed::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24%; background: linear-gradient(rgba(0, 0, 0, 0.55), transparent); z-index: 1; pointer-events: none; }


/* ================= v11: the years ================= */
.years { padding-top: 1.6rem; padding-bottom: 1rem; }
.years-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem 1.4rem; }
.years-head .sub-h { margin: 0; }
.yr-play { font: inherit; font-size: 1rem; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 0.45rem 1.3rem; cursor: pointer; }
.yr-play[aria-pressed="true"] { background: var(--write); color: #fff; }
.yr-scroll { overflow-x: auto; padding: 0.4rem 0 0.4rem; margin-top: 0.6rem; scrollbar-width: thin; }
.yr-canvas { position: relative; min-width: 60rem; height: calc(2.7rem + 3.2rem + 1.5rem + var(--n) * 3.4rem + 3.6rem); margin: 0 0.6rem; }
.yr-home-lane { position: absolute; left: 0; right: 0; top: 0; height: 2.2rem; }
.yr-lived { position: absolute; left: 0; right: 0; top: 2.7rem; height: 3.2rem; }
.yr-bar { position: absolute; top: 0; height: 3.2rem; display: flex; flex-direction: column; justify-content: center; padding: 0 0.9rem; text-align: left; font: inherit; color: #f1eee6; background: var(--wander-d); border: 0; border-right: 2px solid var(--paper); cursor: pointer; overflow: hidden; transition: filter 0.2s, transform 0.2s; }
.yr-bar:nth-child(odd) { background: var(--draw-d); }
.yr-bar.now { background: var(--wander-d); border-right: 0; background-image: linear-gradient(90deg, transparent 75%, rgba(255, 255, 255, 0.18)); }
.yr-bar b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1; }
.yr-bar span { font-family: var(--mono); font-size: 0.72rem; opacity: 0.85; margin-top: 0.15rem; }
.yr-bar:hover, .yr-bar.on { filter: brightness(1.18); transform: translateY(-2px); }
.yr-mk { position: absolute; top: calc(7.4rem + var(--lv) * 3.4rem); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); text-align: left; }
.yr-lab { display: block; padding-left: 0.7rem; border-left: 2px solid var(--write); white-space: nowrap; line-height: 1.15; }
.yr-lab b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.yr-lab span { display: block; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-2); margin-top: 0.1rem; }
.yr-stem { position: absolute; left: -1px; top: 2.5rem; width: 2px; height: calc((var(--n) - var(--lv)) * 3.4rem - 2.5rem + 1.6rem); background: var(--write); opacity: 0.55; }
.yr-stem::after { content: ""; position: absolute; left: -4px; bottom: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--write); }
.yr-mk.r { transform: translateX(-100%); }
.yr-mk.r .yr-lab { padding-left: 0; padding-right: 0.7rem; border-left: 0; border-right: 2px solid var(--write); text-align: right; }
.yr-mk.r .yr-stem { left: auto; right: -1px; }
.yr-mk.r .yr-stem::after { left: auto; right: -4px; }
.yr-mk:hover .yr-stem, .yr-mk.on .yr-stem { opacity: 1; }
.yr-mk:hover .yr-lab b, .yr-mk.on .yr-lab b { color: var(--write); }
.yr-mk.on .yr-stem::after, .yr-mk:hover .yr-stem::after { transform: scale(1.5); }
.yr-axis { position: absolute; left: 0; right: 0; bottom: 2.6rem; height: 1px; background: var(--ink); }
.yr-tick { position: absolute; bottom: 0.8rem; font-family: var(--mono); font-size: 0.74rem; color: var(--ink-2); padding-top: 0.5rem; }
.yr-tick i { position: absolute; left: 0; top: -1.75rem; width: 1px; height: 0.9rem; background: var(--ink); }
.yr-now { position: absolute; bottom: 0.8rem; transform: translateX(-100%); font-family: var(--mono); font-size: 0.74rem; color: var(--write); padding-top: 0.5rem; padding-right: 0.2rem; }
.yr-now i { position: absolute; right: 0; top: -1.75rem; width: 2px; height: 0.9rem; background: var(--write); animation: pulse 2.4s ease-in-out infinite; }
.yr-card { margin-top: 0.8rem; padding: 1.2rem 1.4rem 1.3rem; background: var(--paper-2); border-left: 4px solid var(--write); display: grid; gap: 0.2rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .yr-card { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: start; } .yc-act { grid-column: 2; } }
.yc-k { margin: 0; font-style: italic; color: var(--write); font-size: 0.95rem; grid-column: 1 / -1; }
.yc-title { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; grid-column: 1; }
.yc-when { margin: 0; font-family: var(--mono); font-size: 0.84rem; color: var(--ink-2); grid-column: 1; }
.yc-note { margin: 0; grid-column: 1 / -1; max-width: 40rem; }
@media (min-width: 48rem) { .yc-note { grid-column: 2; grid-row: 2 / span 2; } }
.yc-act { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; grid-column: 1 / -1; }
.yc-act button { font: inherit; font-size: 0.96rem; background: none; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 0.3rem 1rem; cursor: pointer; }
.yc-act button:hover { background: var(--ink); color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .yr-now i { animation: none; } .yr-bar { transition: none; } }

.yr-lab { position: relative; z-index: 2; background: var(--paper); }
.yr-stem { z-index: 1; }
.yr-now { left: auto !important; right: 0; transform: none; text-align: right; }
.yr-now i { right: 0; }

/* shelf: filtered list of takes */
.tk-filter { margin: 0 0 0.6rem; font-family: var(--mono); font-size: 0.85rem; color: var(--ink-2); }
.tk-all { font: inherit; background: none; border: 0; padding: 0; color: var(--read); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

.yr-bar.home { height: 2.2rem; flex-direction: row; align-items: center; gap: 0.9rem; background: var(--read-d); border-right: 0; white-space: nowrap; }
.yr-bar.home b { font-size: 1.2rem; }
.yr-bar.home span { margin: 0; }
.yr-bar.cut::before { content: "\2039"; font-size: 1.5rem; line-height: 1; opacity: 0.8; margin-right: -0.3rem; }

/* ================= v12: About, redesigned ================= */
.ab-band .section-head { position: relative; }
.ab-seal { position: absolute; right: 0; top: 50%; width: 8.5rem; height: 8.5rem; transform: translateY(-50%) rotate(-8deg); }
@media (max-width: 48rem) { .ab-seal { display: none; } }
.passport { display: grid; grid-template-columns: minmax(0, 1fr); margin: 2.2rem 0 0.6rem; border: 1px solid var(--ink); background: var(--paper-2); box-shadow: 0 34px 50px -34px rgba(0, 0, 0, 0.45); }
@media (min-width: 56rem) { .passport { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .pp-data { border-right: 1px dashed var(--ink-2); } }
.pp-page { position: relative; padding: 1.5rem 1.6rem 1.6rem; background-image: repeating-radial-gradient(circle at 18% 22%, transparent 0 9px, color-mix(in srgb, var(--ink) 4.5%, transparent) 9px 10px); }
.pp-k { margin: 0 0 1rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--write); }
.pp-grid { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.pp-ph { width: 6.2rem; height: 7.6rem; border: 1px solid var(--ink-2); display: grid; place-items: center; background: var(--paper); }
.pp-ph .seal { width: 3.8rem; height: 3.8rem; }
.pp-grid dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0.1rem; }
.pp-grid dt { margin-top: 0.7rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.pp-grid dt:first-child { margin-top: 0; }
.pp-grid dd { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.pp-grid dd:first-of-type { font-family: var(--display); font-size: 2rem; line-height: 1; }
.pp-mrz { margin: 1.4rem 0 0; font-family: var(--mono); font-size: clamp(0.62rem, 1.5vw, 0.85rem); letter-spacing: 0.16em; line-height: 1.5; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.stamp-board { display: flex; flex-wrap: wrap; gap: 0.9rem 0.7rem; align-items: center; justify-content: center; min-height: 16rem; padding: 0.4rem 0; }
.stamp { display: inline-grid; place-items: center; text-align: center; gap: 0.1rem; color: var(--c); border: 3px double var(--c); padding: 0.55rem 0.9rem; transform: rotate(var(--r)); opacity: 0.9; font-family: var(--mono); }
.stamp.round { width: 8.8rem; height: 8.8rem; border-radius: 50%; padding: 0.5rem; }
.stamp.sq { border-radius: 0.35rem; min-width: 8.6rem; }
.stamp.pill { border-radius: 999px; padding: 0.6rem 1.5rem; }
.stamp small { font-size: 0.5rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.stamp b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; }
.stamp > span { font-size: 0.56rem; letter-spacing: 0.05em; text-transform: uppercase; max-width: 6.2rem; line-height: 1.25; }
.pp-cap { margin: 0.8rem 0 0; font-size: 0.95rem; color: var(--ink-2); }
.ab-verbs { padding-top: 2.6rem; }
.verbs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.vb { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.2rem 1.3rem 1.3rem; background: var(--c); color: #f1eee6; text-decoration: none; min-height: 9rem; overflow: hidden; }
.vb-w { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 2.8rem); line-height: 1; }
.vb-t { max-width: 22rem; line-height: 1.35; }
.vb-s { margin-top: auto; font-family: var(--mono); font-size: 0.76rem; opacity: 0.92; }
@media (min-width: 56rem) {
  .verbs { flex-direction: row; min-height: 17rem; }
  .vb { flex: 1 1 0; min-width: 0; transition: flex 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .vb-w { font-size: 2.3rem; }
}
@media (min-width: 56rem) and (hover: hover) {
  .vb-t { max-height: 0; opacity: 0; transition: max-height 0.5s, opacity 0.4s; }
  .verbs:hover .vb { flex: 0.8 1 0; }
  .verbs .vb:hover, .verbs .vb:focus-visible { flex: 2.6 1 0; }
  .vb:hover .vb-t, .vb:focus-visible .vb-t { max-height: 8rem; opacity: 1; }
}
.ab-storywrap { padding-top: 2.8rem; }
.ab-story { max-width: 42rem; margin: 1rem auto 0; font-size: 1.16rem; line-height: 1.62; }
.ab-story p { margin: 0 0 1.2rem; }
.ab-story > p:first-of-type::first-letter { float: left; font-family: var(--display); font-size: 5.2rem; line-height: 0.78; padding: 0.4rem 0.6rem 0 0; color: var(--write); }
.ab-story blockquote { margin: 2.2rem 0; padding: 1.2rem 0 1.2rem 1.6rem; border-left: 4px solid var(--write); font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.14; }
@media (min-width: 64rem) { .ab-story blockquote { margin-left: -4rem; margin-right: -4rem; } }
.ab-story blockquote p { margin: 0; }
.ab-story .moment { position: relative; padding: 1.2rem 1.4rem; background: var(--paper-2); border-left: 4px solid var(--build); }
.ab-story .moment::before { content: "10:47"; display: block; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.1em; color: var(--build); margin-bottom: 0.4rem; }
.ab-years { padding-top: 2.4rem; padding-bottom: 2.6rem; }
.aby { position: relative; margin-top: 1rem; padding-bottom: 2rem; }
.aby-row { position: relative; height: 2.7rem; margin-bottom: 0.45rem; }
.aby-bar { position: absolute; top: 0; height: 100%; display: flex; align-items: center; gap: 0.7rem; padding: 0 0.8rem; background: var(--c); color: #f1eee6; white-space: nowrap; overflow: hidden; }
.aby-bar b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.aby-bar span { font-family: var(--mono); font-size: 0.72rem; opacity: 0.9; }
.aby-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 1.4rem; border-top: 1px solid var(--ink); }
.aby-axis span { position: absolute; top: 0.3rem; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }

.aby-out { position: absolute; top: 0; height: 100%; display: flex; align-items: center; gap: 0.7rem; padding-right: 0.7rem; white-space: nowrap; }
.aby-out b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.aby-out span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }

.yr-bar span, .vb-s, .aby-bar span { opacity: 1; }
.yr-bar.home { justify-content: flex-start; }
