/* marisaaltepost.art — generated by build.sh from src/. Edit src/, not this file. */
/* ===== Tokens (from the Marisa Altepost design system, tokens.json) ===== */
@font-face { font-family: "Hedvig Letters Serif"; src: url("assets/fonts/HedvigLettersSerif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/InstrumentSans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --paper: #eae7dc; --paper-deep: #dfdacb; --kiln: #1b1a18; --kiln-raised: #272522;
  --ink: var(--kiln); --ink-muted: #5c574d; --bone: var(--paper); --bone-muted: #a39e91;
  --ochre: #a95a16; --ochre-deep: #8f4b12; --ochre-light: #d08a45;
  --ferro: #9e4734; --ferro-light: #d98265; --ferro-glaze: #b14f34;
  --celadon: #8fa592; --cobalt: #3d3a96; --manganese: #4a3b38;
  --rule-paper: rgba(27, 26, 24, .22); --rule-kiln: rgba(234, 231, 220, .18);
  --font-serif: "Hedvig Letters Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px; --space-5: 40px; --space-6: 64px; --space-7: 112px;
  --radius-none: 0; --radius-round: 50%;
  --shadow-plate: 0 28px 56px -28px rgba(0, 0, 0, .6);
  --tap-min: 40px; --hairline: 1px; --measure: 36em;
  --ease: cubic-bezier(.22, .7, .2, 1);
}
/* Marisa Altepost — component styles. Reads the tokens.css custom properties. */

/* The ochre paint texture (a tileable crop of the brand's ochre swatch). A site overrides this path. */
:root { --texture-ochre: url("/_blob/c186b30c3fdb2ffbd177047e1be71cad"); }

/* Painted ochre type: large text only (24px+), filled with the paint texture */
.ma-painted { color: var(--ochre); background: var(--ochre) var(--texture-ochre) center / 220px; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* A painted ochre field: blocks, bands, the swatch */
.ma-swatch { background: var(--ochre) var(--texture-ochre) center / 280px; }

/* ---------- Pages: the two grounds ---------- */
.ma-page { position: relative; box-sizing: border-box; padding: var(--space-7) var(--space-6) var(--space-6); font-family: var(--font-serif); }
.ma-page--paper { background: var(--paper); color: var(--ink); }
.ma-page--kiln  { background: var(--kiln);  color: var(--bone); }
.ma-page--paper ::selection { background: var(--ochre); color: var(--paper); }
.ma-page--kiln ::selection  { background: var(--ochre-light); color: var(--kiln); }

/* ---------- Type ---------- */
.ma-kicker { font-family: var(--font-sans); font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 var(--space-4); color: var(--ochre-deep); display: flex; align-items: center; gap: 12px; }
.ma-kicker::after { content: ""; flex: 0 0 44px; height: 4px; background: var(--ochre) var(--texture-ochre) center / 140px; }
.ma-page--kiln .ma-kicker { color: var(--ochre-light); }
.ma-display { font-family: var(--font-serif); font-weight: 400; font-size: clamp(48px, 6.4vw, 88px); line-height: .94; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.ma-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 52px); line-height: 1; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.ma-heading { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 0; }
.ma-lede { font-size: 21px; line-height: 1.45; margin: var(--space-6) 0 var(--space-4); max-width: 30em; text-wrap: pretty; }
.ma-body { font-size: 16px; line-height: 1.62; max-width: var(--measure); text-wrap: pretty; }
.ma-body p { margin: 0 0 1em; }
.ma-meta { font-family: var(--font-sans); font-size: 12px; line-height: 1.5; letter-spacing: .04em; color: var(--ink-muted); }
.ma-page--kiln .ma-meta { color: var(--bone-muted); }
.ma-quote { font-style: normal; font-size: 21px; line-height: 1.45; margin: var(--space-5) 0; padding-top: var(--space-3); border-top: var(--hairline) solid var(--rule-paper); max-width: 28em; }
.ma-quote cite { display: block; margin-top: var(--space-2); font-family: var(--font-sans); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

/* ---------- Links ---------- */
.ma-link { color: var(--ochre-deep); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; transition: background-size .5s cubic-bezier(.22,.7,.2,1); }
.ma-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.ma-page--kiln .ma-link { color: var(--ochre-light); }
.ma-link:focus-visible, .ma-arrow:focus-visible, .ma-nav a:focus-visible { outline: 2px solid var(--ochre-deep); outline-offset: 4px; }
.ma-cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: inherit; text-decoration: none; min-height: var(--tap-min); border-bottom: var(--hairline) solid currentColor; }
.ma-cta::after { content: "→"; letter-spacing: 0; transition: transform .4s cubic-bezier(.22,.7,.2,1); }
.ma-cta:hover::after { transform: translateX(4px); }

/* ---------- Plate: the photograph frame ---------- */
.ma-plate { margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.ma-plate__frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--kiln-raised); border: var(--hairline) solid var(--rule-kiln); box-shadow: var(--shadow-plate); border-radius: var(--radius-none); }
.ma-plate--landscape .ma-plate__frame { aspect-ratio: 4 / 3; }
.ma-plate--square .ma-plate__frame { aspect-ratio: 1; }
.ma-plate__frame img, .ma-plate__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ma-plate--contain .ma-plate__frame img { object-fit: contain; }
.ma-plate figcaption { display: flex; justify-content: space-between; gap: var(--space-3); font-family: var(--font-sans); font-size: 12px; line-height: 1.5; letter-spacing: .04em; color: var(--bone-muted); }
.ma-page--paper .ma-plate__frame { border-color: var(--rule-paper); box-shadow: none; }
.ma-page--paper .ma-plate figcaption { color: var(--ink-muted); }
.ma-plate a { color: inherit; }

/* ---------- Index table ---------- */
.ma-index { width: 100%; max-width: 30em; border-collapse: collapse; font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; }
.ma-index caption { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-bottom: var(--space-2); }
.ma-index tr { border-top: var(--hairline) solid var(--rule-paper); }
.ma-index tr:last-child { border-bottom: var(--hairline) solid var(--rule-paper); }
.ma-index td { padding: 10px 0; vertical-align: baseline; }
.ma-index td:first-child { width: 3.2em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.ma-index td:last-child { text-align: right; color: var(--ink-muted); }
.ma-index a { color: var(--ink); text-decoration: none; display: block; }
.ma-index tr:hover { background: var(--paper-deep); }
.ma-index tr:hover a { color: var(--ochre-deep); }

/* ---------- Link directory ---------- */
.ma-directory { list-style: none; margin: var(--space-6) 0 0; padding: 0; max-width: 32em; }
.ma-directory li { border-top: var(--hairline) solid var(--rule-paper); }
.ma-directory li:last-child { border-bottom: var(--hairline) solid var(--rule-paper); }
.ma-directory a { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--space-3); padding: 18px 0; text-decoration: none; color: var(--ink); }
.ma-directory .ma-directory__name { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; }
.ma-directory .ma-directory__url { grid-column: 1; font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; color: var(--ink-muted); }
.ma-directory .ma-directory__go { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--font-sans); color: var(--ochre-deep); transition: transform .4s cubic-bezier(.22,.7,.2,1); }
.ma-directory a:hover .ma-directory__name { color: var(--ochre-deep); }
.ma-directory a:hover .ma-directory__go { transform: translate(3px, -3px); }

/* ---------- Seal (hanko) ---------- */
.ma-seal { display: inline-block; width: 96px; height: 96px; flex: none; }
.ma-seal img, .ma-seal svg { width: 100%; height: 100%; display: block; }
.ma-seal--lg { width: 132px; height: 132px; }
.ma-seal--deboss { filter: drop-shadow(0 1px 0 rgba(255,255,255,.06)) drop-shadow(0 -1px 0 rgba(0,0,0,.5)); }

/* ---------- Furniture: fixed corners ---------- */
.ma-furniture { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ma-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.ma-nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.ma-nav a { color: inherit; text-decoration: none; min-height: var(--tap-min); display: inline-flex; align-items: center; opacity: .72; transition: opacity .3s; }
.ma-nav a:hover, .ma-nav a[aria-current="true"] { opacity: 1; }
.ma-nav a[aria-current="true"] { box-shadow: inset 0 -1px 0 currentColor; }
.ma-arrows { display: inline-flex; gap: 8px; }
.ma-arrow { width: var(--tap-min); height: var(--tap-min); display: inline-grid; place-items: center; border: var(--hairline) solid currentColor; background: transparent; color: inherit; cursor: pointer; font: inherit; font-size: 15px; letter-spacing: 0; border-radius: var(--radius-none); transition: background .3s, color .3s; }
.ma-arrow:hover:not(:disabled) { background: var(--ochre) var(--texture-ochre) center / 140px; border-color: var(--ochre); color: var(--paper); }
.ma-arrow:disabled { opacity: .3; cursor: default; }
.ma-folio { font-variant-numeric: tabular-nums; letter-spacing: .14em; }
.ma-folio b { font-weight: 600; }
.ma-folio .ma-folio__bar { display: inline-block; width: 56px; height: var(--hairline); background: currentColor; opacity: .35; vertical-align: middle; margin: 0 10px; position: relative; }
/* ===== Site layout: the horizontal magazine ===== */
:root { --texture-ochre: url("/assets/img/ochre-paint.jpg"); }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--kiln); }
body { font-family: var(--font-serif); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow: hidden; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--ochre-deep); color: var(--paper); padding: 10px 14px; font-family: var(--font-sans); font-size: 12px; }
.skip:focus { top: 12px; }

.magazine { position: fixed; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.magazine::-webkit-scrollbar { display: none; }
.magazine.is-animating { scroll-snap-type: none; }

.spread { flex: 0 0 100vw; width: 100vw; height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: 1fr 1fr; }
.spread > .ma-page { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.ma-page--paper { justify-content: safe center; padding: 140px clamp(40px, 6vw, 112px) var(--space-7) clamp(40px, 6vw, 96px); }
.ma-page--kiln { align-items: center; justify-content: safe center; padding: 140px clamp(32px, 5vw, 96px) var(--space-7); }

/* entrance: content settles as its spread arrives */
.spread .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.spread.is-active .reveal { opacity: 1; transform: none; }
.spread.is-active .reveal:nth-child(2) { transition-delay: .08s; } .spread.is-active .reveal:nth-child(3) { transition-delay: .16s; }
.spread.is-active .reveal:nth-child(4) { transition-delay: .24s; } .spread.is-active .reveal:nth-child(5) { transition-delay: .32s; }
.spread .ma-page--kiln .reveal { transform: scale(.985); transition-duration: 1.2s; }
.spread.is-active .ma-page--kiln .reveal { transform: none; }

/* plates sized to the viewport height */
.hero-plate { width: min(100%, calc((100dvh - 280px) * .92)); }
.hero-plate--tall { width: min(100%, calc((100dvh - 280px) * .75)); }
.hero-plate--wide { width: min(100%, calc((100dvh - 280px) * 1.333)); }
.ma-plate--seamless .ma-plate__frame { background: #050505; }
.ma-plate--seamless .ma-plate__frame img { object-fit: contain; }
.ma-plate figcaption a { text-decoration: none; }
.ma-plate figcaption a:hover { color: var(--ochre-light); }

.pair { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(16px, 2.4vw, 40px); align-items: end; width: min(100%, calc((100dvh - 280px) * 1.6)); }
.pair .ma-plate:last-child { margin-bottom: 12%; }

.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); width: min(100%, calc((100dvh - 300px) * 1.5)); }
.works .ma-plate figcaption { font-size: 11px; }
.works .ma-plate__frame { box-shadow: 0 18px 36px -22px rgba(0,0,0,.7); }
.works a { display: block; color: inherit; text-decoration: none; }
.works .ma-plate__frame img { transition: transform 1.2s var(--ease); }
.works a:hover img { transform: scale(1.04); }

.catalogue { list-style: none; margin: var(--space-5) 0 var(--space-4); padding: 0; max-width: 30em; font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; color: var(--ink-muted); columns: 2; column-gap: var(--space-4); }
.catalogue li { padding: 7px 0; border-top: var(--hairline) solid var(--rule-paper); break-inside: avoid; }
.catalogue b { font-weight: 600; color: var(--ink); margin-right: 6px; font-variant-numeric: tabular-nums; }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 0 var(--space-4); margin: var(--space-5) 0 var(--space-4); max-width: 30em; font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; }
.facts dt, .facts dd { margin: 0; padding: 9px 0; border-top: var(--hairline) solid var(--rule-paper); }
.facts dt { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--ink-muted); }
.facts dt:nth-last-child(2), .facts dd:last-child { border-bottom: var(--hairline) solid var(--rule-paper); }

.big-number { font-family: var(--font-serif); font-size: clamp(64px, 9vw, 132px); line-height: .9; letter-spacing: -.03em; margin: var(--space-4) 0 0; font-variant-numeric: lining-nums; }
.big-number sup { font-size: .42em; vertical-align: .9em; margin-left: .04em; }

.cover-title { margin: 0; }
.cover-title .ma-display { display: block; }
.cover-title { font-size: inherit; font-weight: 400; }
.cover-title .sub { display: block; margin-top: .12em; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.005em; }
.cover .ma-index { margin-top: var(--space-5); }
.cover .ma-lede { margin-top: var(--space-5); }

.address { font-style: normal; font-size: 21px; line-height: 1.45; margin: var(--space-5) 0; }
.address a { display: inline-block; }
.colophon { max-width: 32em; margin-top: auto; padding-top: var(--space-5); }

.seal-stage { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.seal-stage .ma-seal--lg { width: clamp(132px, 16vw, 200px); height: clamp(132px, 16vw, 200px); }
.seal-stage p { margin: 0; max-width: 22em; }

.film { position: relative; width: min(100%, calc((100dvh - 280px) * .5625)); }
.film .ma-plate__frame { aspect-ratio: 9 / 16; }
.film video { background: var(--kiln-raised); }
.film__empty { position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 24px; font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; color: var(--bone-muted); }
.film.is-missing .film__empty { display: grid; }
.film.is-missing video { visibility: hidden; }
.film__controls { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; }
.film__btn.ma-arrow { color: var(--bone); background: rgba(27,26,24,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-color: rgba(234,231,220,.5); font-family: var(--font-sans); font-size: 11px; font-weight: 600; width: auto; padding: 0 12px; letter-spacing: .14em; text-transform: uppercase; }
.film__btn.ma-arrow[aria-pressed="true"].film__sound { background: var(--paper); color: var(--kiln); border-color: var(--paper); }
.film.is-missing .film__controls { display: none; }
.film__link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
.film__link:hover { color: var(--ochre-light); }
.film-open.ma-cta { background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0; cursor: pointer; }
.chapters { grid-template-columns: 2.2em 1fr; align-items: baseline; }
.chapters dt { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }
.chapters dd { font-family: var(--font-serif); font-size: 16px; letter-spacing: 0; }

/* full-screen viewer */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--kiln); color: var(--bone); }
.viewer::backdrop { background: var(--kiln); }
.viewer[open] { display: grid; place-items: center; animation: viewer-in .6s var(--ease); }
.viewer video { width: min(100vw, calc(100dvh * 16 / 9)); max-height: 100dvh; display: block; background: #000; }
.viewer.is-vertical video { width: auto; height: 100dvh; max-width: 100vw; }
.viewer__close { position: fixed; top: 24px; right: 24px; z-index: 2; color: var(--bone); background: rgba(27,26,24,.5); }
.viewer__close:hover { background: var(--paper) !important; color: var(--kiln) !important; border-color: var(--paper) !important; }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }

.end-link { margin-top: var(--space-4); }

/* ===== Layout variety ===== */
/* cover: her name carries the page; the index is only for screens without the top menu */
/* her signature, traced from ink on paper, with the printed name on a signature line below */
.cover-signature { display: block; width: clamp(190px, 20vw, 320px); height: auto; margin: 0 0 0 -1%; }
.cover-printed { display: block; width: clamp(300px, 36vw, 600px); margin-top: 10px; padding-top: 12px; border-top: var(--hairline) solid var(--rule-paper); font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.cover .cover-title .sub { margin-top: .22em; line-height: 1.15; }
/* painted type: let the texture reach descenders and commas, which background-clip:text otherwise cuts at the line box */
.ma-painted { padding-bottom: .16em; margin-bottom: -.16em; }
.cover-begin { margin-top: var(--space-5); align-self: flex-start; }
.cover .ma-index { display: none; }

/* wide: the photographs take the larger share of the spread */
.spread--wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.spread--wide .ma-page--kiln { padding-left: clamp(32px, 4vw, 72px); padding-right: clamp(32px, 4vw, 72px); }
.spread--wide .pair { width: min(100%, calc((100dvh - 260px) * 1.9)); }
.spread--wide .works { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, calc((100dvh - 290px) * 1.5)); }

/* night: the film spread is dark on both pages */
.ma-page--text { padding: 140px clamp(40px, 6vw, 112px) var(--space-7) clamp(40px, 6vw, 96px); justify-content: safe center; align-items: stretch !important; }
.spread--night .ma-page--text { border-right: var(--hairline) solid var(--rule-kiln); }
.spread--night .facts dt, .spread--night .facts dd { border-color: var(--rule-kiln); }
.spread--night .chapters dt { color: var(--bone); }
.spread--night .ma-cta { color: var(--bone); }
.spread--night .ma-cta:hover { color: var(--ochre-light); }
.spread--night .ma-kicker { color: var(--ochre-light); }
.spread--night .film { width: min(100%, calc((100dvh - 200px) * .5625)); }

/* bleed: one photograph fills the page to its edges, under the header band */
.ma-page--bleed { padding: 0 !important; justify-content: stretch !important; align-items: stretch !important; }
.bleed { position: relative; margin: 0; height: 100%; overflow: hidden; }
.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.bleed::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 112px; background: var(--kiln); z-index: 1; }
.bleed::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(10,10,9,.78), rgba(10,10,9,0)); pointer-events: none; }
.bleed figcaption { position: absolute; z-index: 2; left: clamp(32px, 4vw, 64px); right: clamp(32px, 4vw, 64px); bottom: 92px; display: flex; justify-content: space-between; gap: var(--space-3); font-family: var(--font-sans); font-size: 13px; letter-spacing: .04em; color: var(--bone); }
.bleed figcaption a { color: inherit; text-decoration: none; }
.bleed figcaption a:hover { color: var(--ochre-light); }

/* collage: three works, overlapping like pieces set out on a shelf */
.collage { position: relative; width: min(100%, calc((100dvh - 260px) * 1.05)); aspect-ratio: 1 / 1; }
.collage a { position: absolute; display: block; color: inherit; }
.collage .ma-plate--portrait .ma-plate__frame { aspect-ratio: 3 / 4; }
.collage__a { left: 0; top: 0; width: 54%; z-index: 1; }
.collage__b { right: 0; top: 12%; width: 50%; z-index: 2; }
.collage__c { left: 30%; bottom: 0; width: 40%; z-index: 3; }
.collage img { transition: transform 1.2s var(--ease); }
.collage a:hover { z-index: 4; }
.collage a:hover img { transform: scale(1.04); }
.collage__cap { position: absolute; right: 0; bottom: 0; width: 26%; margin: 0; display: flex; flex-direction: column; gap: 2px; text-align: right; }
.collage__cap a { position: static; color: var(--ochre-light); text-decoration: none; }

/* text: the biography gets the larger share, set in two columns like a magazine page */
.spread--text { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.bio { max-width: none; margin-top: var(--space-5); columns: 2 17em; column-gap: clamp(28px, 3vw, 48px); font-size: 15.5px; line-height: 1.58; }
.bio p { margin: 0 0 .85em; }
.bio__quote { break-inside: avoid; margin: .2em 0 1em; padding: 12px 0 0; border-top: var(--hairline) solid var(--rule-paper); font-size: 19px; line-height: 1.38; }
.bio__plate { width: min(100%, calc((100dvh - 280px) * 1.0)); }
.spread--text .ma-page--kiln { padding-left: clamp(28px, 3vw, 56px); padding-right: clamp(28px, 3vw, 56px); }
@media (max-width: 1340px) and (min-width: 601px) {
  .spread--text { grid-template-columns: minmax(0, 1.55fr) minmax(0, .45fr); }
  .spread--text .ma-page--paper { padding-left: 56px; padding-right: 48px; }
  .bio { font-size: 14.5px; line-height: 1.52; column-gap: 32px; }
  .bio__quote { font-size: 17px; }
}
@media (max-width: 900px) and (min-width: 601px) {
  .spread--text { grid-template-columns: 1fr; }
  .spread--text .ma-page--kiln { display: none; }
}

/* captions on kiln: a touch larger and lighter than the token default */
.ma-page--kiln .ma-plate figcaption, .ma-page--kiln .ma-meta { font-size: 13px; color: #b5b0a3; }
.works .ma-plate figcaption { font-size: 12px; }

/* ===== Motion: each spread arrives in order ===== */
.spread .reveal:nth-child(6) { transition-delay: 0s; }
.spread.is-active .reveal:nth-child(6) { transition-delay: .4s; }
.ma-kicker::after { transform-origin: left; transition: transform 1.1s var(--ease) .25s; }
.spread:not(.is-active) .ma-kicker::after { transform: scaleX(0); }
/* photographs uncover from the bottom, like a print lifted from the tray */
.spread .ma-page--kiln .ma-plate__frame, .spread .bleed img { clip-path: inset(calc(100% + 90px) -70px -90px -70px); transition: clip-path 1.3s var(--ease) .18s; }
.spread.is-active .ma-page--kiln .ma-plate__frame, .spread.is-active .bleed img { clip-path: inset(-70px -70px -90px -70px); }
.spread.is-active .works a:nth-child(2) .ma-plate__frame, .spread.is-active .collage__b .ma-plate__frame { transition-delay: .26s; }
.spread.is-active .works a:nth-child(3) .ma-plate__frame, .spread.is-active .collage__c .ma-plate__frame { transition-delay: .34s; }
.spread.is-active .works a:nth-child(4) .ma-plate__frame { transition-delay: .42s; }
.spread.is-active .works a:nth-child(5) .ma-plate__frame { transition-delay: .5s; }
.spread.is-active .works a:nth-child(6) .ma-plate__frame { transition-delay: .58s; }
.spread.is-active .pair .ma-plate:last-child .ma-plate__frame { transition-delay: .32s; }
.bleed img { transform: scale(1.06); transition: clip-path 1.4s var(--ease) .1s, transform 6s var(--ease) .1s; }
.spread.is-active .bleed img { transform: scale(1); }

/* ===== Fixed furniture ===== */
.furniture { position: fixed; inset: 0; pointer-events: none; z-index: 10; padding: 40px var(--space-5) 28px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; column-gap: var(--space-5); }
.furniture > * { pointer-events: auto; }
/* one blended layer: paper-coloured text reads as ink over paper and as bone over kiln */
.furniture { color: var(--paper); mix-blend-mode: difference; }
.furniture .ma-brand { grid-column: 1; grid-row: 1; align-self: start; min-height: var(--tap-min); padding-left: 112px; }
.seal-fixed { position: fixed; z-index: 11; top: 12px; left: var(--space-5); display: block; line-height: 0; }
.seal-fixed .ma-seal { width: 96px; height: 96px; }
.furniture .ma-nav { grid-column: 2; grid-row: 1; justify-self: start; flex-wrap: nowrap; gap: 4px clamp(14px, 1.5vw, 22px); padding-left: clamp(0px, calc(5vw - 40px), 56px); }
.furniture .place { grid-column: 2; grid-row: 1; justify-self: end; min-height: var(--tap-min); display: flex; align-items: center; gap: 20px; }
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang a { color: inherit; text-decoration: none; min-width: 32px; min-height: var(--tap-min); display: inline-grid; place-items: center; opacity: .6; transition: opacity .3s; }
.lang a + a::before { content: "/"; position: absolute; transform: translateX(-17px); opacity: .5; pointer-events: none; }
.lang a { position: relative; }
.lang a:hover, .lang a[aria-current="true"] { opacity: 1; }
.lang a[aria-current="true"] { box-shadow: inset 0 -1px 0 currentColor; cursor: default; }
.lang a:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.furniture .ma-arrows { grid-column: 1; grid-row: 3; align-self: end; }
.furniture .ma-arrow { color: inherit; }
.furniture .ma-arrow:hover:not(:disabled) { background: var(--paper); border-color: var(--paper); color: var(--kiln); }
.furniture .ma-folio { grid-column: 2; grid-row: 3; justify-self: end; align-self: end; min-height: var(--tap-min); display: flex; align-items: center; }
.ma-folio__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: currentColor; transition: width .9s var(--ease); }
.ma-folio__bar { opacity: 1 !important; background: rgba(234,231,220,.35) !important; }

.furniture .place__text { display: none; }
@media (max-width: 1340px) {
  .furniture .ma-nav { display: none; }
  .catalogue { columns: 1; }
}

/* ===== Short laptop screens: compact type so every spread fits under the logo ===== */
@media (max-height: 840px) and (min-width: 601px) {
  .ma-page--paper { padding-top: 132px; padding-bottom: 84px; }
  .ma-page--kiln { padding-top: 132px; padding-bottom: 84px; }
  .ma-kicker { margin-bottom: 14px; }
  .ma-display { font-size: clamp(40px, 5vw, 66px); }
  .ma-title { font-size: clamp(30px, 3vw, 42px); }
  .cover-title .sub { font-size: clamp(26px, 2.6vw, 36px); }
  .ma-lede, .cover .ma-lede { font-size: 18px; line-height: 1.42; margin: 18px 0 12px; }
  .ma-body { font-size: 15px; line-height: 1.55; }
  .ma-body p { margin-bottom: .7em; }
  .big-number { font-size: clamp(54px, 6.5vw, 92px); margin-top: 12px; }
  .facts, .chapters { margin: 18px 0 14px; }
  .facts dt, .facts dd { padding: 6px 0; }
  .chapters dt { font-size: 17px; }
  .cover .ma-index { margin-top: 20px; }
  .ma-index td { padding: 6px 0; }
  .ma-quote { font-size: 18px; margin: 18px 0; }
  .catalogue { margin: 18px 0 12px; }
  .catalogue li { padding: 5px 0; }
  .ma-directory { margin-top: 24px; }
  .ma-directory a { padding: 11px 0; }
  .ma-directory .ma-directory__name { font-size: 19px; }
  .address { font-size: 18px; margin: 20px 0; }
  .colophon { padding-top: 20px; }
  .hero-plate, .hero-plate--tall { width: min(100%, calc((100dvh - 250px) * .92)); }
  .cover-signature { width: clamp(170px, 17vw, 250px); }
  .cover-printed { width: clamp(280px, 32vw, 480px); }
  .ma-page--text { padding-top: 132px; padding-bottom: 84px; }
  .collage { width: min(100%, calc((100dvh - 230px) * 1.05)); }
  .film { width: min(100%, calc((100dvh - 250px) * .5625)); }
}

/* ===== Small screens: pages stack, spreads still swipe ===== */
@media (max-width: 600px) {
  .spread { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow-y: auto; overscroll-behavior-y: contain; }
  .spread > .ma-page { height: auto; min-height: auto; }
  .ma-page--paper { padding: 104px 24px 48px; justify-content: flex-start; }
  .ma-page--kiln { padding: 48px 24px 96px; min-height: 70vh; }
  .hero-plate, .hero-plate--tall, .hero-plate--wide, .pair, .works, .film { width: 100%; }
  .film { max-width: 320px; }
  .furniture { padding: 22px 20px 16px; }
  body::before, body::after { content: ""; position: fixed; left: 0; right: 0; z-index: 9; background: var(--paper); pointer-events: none; }
  body::before { top: 0; height: 84px; border-bottom: var(--hairline) solid var(--rule-paper); }
  body::after { bottom: 0; height: 72px; border-top: var(--hairline) solid var(--rule-paper); }
  .spread { padding-bottom: 72px; }
  .seal-fixed { top: 10px; left: 20px; }
  .seal-fixed .ma-seal { width: 64px; height: 64px; }
  .furniture .ma-brand { padding-left: 78px; }
  .furniture .place__text { display: none; }
  .ma-lede { font-size: 19px; }
  .address { font-size: 19px; }
  .cover .ma-index { margin-top: var(--space-5); }
  .catalogue { columns: 1; }
  .cover-signature { width: 56%; max-width: 220px; }
  .cover-printed { width: 100%; max-width: 340px; }
  .cover .ma-index { display: table; }
  .cover-begin { display: none; }
  .ma-page--text { padding: 104px 24px 48px; }
  .spread--night .ma-page--text { border-right: 0; }
  .ma-page--bleed { min-height: 0; } .bleed { height: 78vh; }
  .bleed::before { display: none; }
  .bleed figcaption { bottom: 24px; left: 24px; right: 24px; }
  .collage { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .spread .reveal, .spread.is-active .reveal { opacity: 1; transform: none; transition: none; }
  .spread .ma-page--kiln .ma-plate__frame, .spread .bleed img { clip-path: none; transform: none; transition: none; }
  .ma-kicker::after, .spread:not(.is-active) .ma-kicker::after { transform: none; transition: none; }
  .collage img { transition: none; }
  .works .ma-plate__frame img { transition: none; }
}
.ma-cta:focus-visible, .film__link:focus-visible, .film__btn:focus-visible { outline: 2px solid var(--ochre-deep); outline-offset: 4px; }
.ma-page--kiln .ma-cta:focus-visible, .film__link:focus-visible, .film__btn:focus-visible { outline-color: var(--ochre-light); }
