/* Tanya Zafirovic — a storybook of the North
   Warm linen paper, Garamond type, paintings treated as objects. */

:root {
  --paper: #f3ede3;
  --paper-deep: #e8dfcf;
  --paper-card: #faf6ef;
  --ink: #2a2520;
  --ink-soft: #4f463d;
  --ink-faint: #6f6558;
  --line: rgba(42, 37, 32, 0.16);
  --forest: #1f2b25;
  --forest-2: #2b3a31;
  --forest-ink: #efe8da;
  --berry: #9a3a2c;
  --gold: #a8823f;
  --gold-hi: #e4c98a;
  --gold-lo: #6f5222;

  --serif-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1280px;
  --radius: 2px;
  --shadow-canvas: 0 1px 1px rgba(40, 28, 16, 0.12), 0 2px 4px rgba(40, 28, 16, 0.08), 0 18px 40px -16px rgba(40, 28, 16, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; font-size: 106.25%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(18.5px, 0.4vw + 16.9px, 21.5px);
  line-height: 1.66;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .32 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif-display); font-weight: 400; line-height: 1.08; margin: 0 0 0.4em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 300; }
em { font-style: italic; }
::selection { background: #e6d3ad; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }

.eyebrow {
  font-family: var(--serif);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.16em;
  font-size: 1.02em;
  color: var(--ink-soft);
  margin-bottom: 0.9em;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--berry); }
.signature { font-family: var(--script); font-size: 2.6em; line-height: 1; color: var(--ink); margin: 0.2em 0 0.3em; }
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--serif);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  font-size: 1.05em;
  padding: 0.7em 1.6em 0.8em;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--berry); border-color: var(--berry); }
.btn:active { transform: translateY(1px); }
.btn-light { background: transparent; color: var(--forest-ink); border-color: rgba(239, 232, 218, 0.6); }
.btn-light:hover { background: var(--forest-ink); color: var(--forest); border-color: var(--forest-ink); }
.link {
  font-style: italic; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size 0.4s var(--ease), color 0.3s;
}
.link:hover { color: var(--berry); background-size: 0 1px; background-position: 100% 100%; }
.link::after { content: " →"; font-style: normal; }

/* ---------- header ---------- */
.site-header {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) var(--gutter) clamp(10px, 2vw, 20px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap;
}
.wordmark { text-decoration: none; display: grid; justify-items: start; line-height: 1; }
.wordmark-name { font-family: var(--serif-display); font-style: italic; font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: 0.01em; }
.wordmark-sub { display: flex; align-items: center; gap: 0.45em; margin-top: 0.35em; font-variant-caps: all-small-caps; letter-spacing: 0.24em; font-size: 0.86rem; color: var(--ink-soft); }
.wordmark-flake { width: 15px; height: 15px; color: var(--berry); transition: transform 1.2s var(--ease); }
.wordmark:hover .wordmark-flake { transform: rotate(60deg); }
.site-nav { display: flex; gap: clamp(16px, 2.6vw, 36px); flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: 1.06rem; position: relative; padding: 4px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current] { font-style: italic; }

main { display: block; }
section { position: relative; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- ornaments & dividers ---------- */
.orn { display: block; }
.divider { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 520px; margin: clamp(48px, 8vw, 110px) auto; padding: 0 var(--gutter); color: var(--ink-soft); }
.divider span { flex: 1; height: 1px; background: var(--line); }
.divider .orn-sprig { width: 86px; height: 36px; }
.divider .orn-snowflake { width: 26px; height: 26px; color: var(--ink-faint); }
.divider .orn-pines { width: 96px; height: 44px; color: var(--forest-2); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(28px, 5vw, 70px) var(--gutter) clamp(56px, 8vw, 110px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 96px); align-items: center;
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero-text h1 { margin-bottom: 0.5em; }
.hero-text h1 em { display: block; color: var(--berry); font-weight: 300; }
.hero-quote { margin: 0 0 2.2em; padding-left: 1.3em; border-left: 1px solid var(--line); max-width: 31em; }
.hero-quote p { font-size: 1.18em; font-style: italic; color: var(--ink-soft); margin-bottom: 0.3em; }
.hero-quote .signature { font-size: 2.4em; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-art { margin: 0; position: relative; justify-self: center; max-width: 520px; width: 100%; }

/* the hero painting, unframed: just the canvas and a soft shadow on the wall */
.hero-canvas { display: block; position: relative; box-shadow: var(--shadow-canvas); transition: transform 0.8s var(--ease); }
.hero-canvas img { display: block; width: 100%; height: auto; }
.hero-canvas:hover { transform: translateY(-4px); }
.museum-label {
  position: absolute; right: clamp(-10px, -1.5vw, -24px); bottom: clamp(-26px, -2.4vw, -34px);
  background: var(--paper-card); padding: 0.75em 1.1em 0.8em; border: 1px solid var(--line);
  box-shadow: 0 8px 22px -12px rgba(40, 28, 16, 0.5);
  display: grid; gap: 0.1em; font-size: 0.9em; transform: rotate(1.2deg); z-index: 3;
}
.museum-label strong { font-family: var(--serif-display); font-style: italic; font-weight: 500; font-size: 1.25em; }
.museum-label span { color: var(--ink-soft); }
.museum-label .badge { color: var(--berry); }

/* ---------- owl story ---------- */
.owl {
  max-width: 1120px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: center;
}
.owl-text h2 { max-width: 13em; }
.dropcap::first-letter {
  float: left; font-family: var(--serif-display); font-weight: 400; color: var(--berry);
  font-size: 4.3em; line-height: 0.8; padding: 0.06em 0.1em 0 0;
}
.taped { margin: 0; position: relative; background: var(--paper-card); padding: 12px 12px 14px; box-shadow: var(--shadow-canvas); transform: rotate(-1.6deg); }
.taped::before, .taped::after {
  content: ""; position: absolute; width: 92px; height: 26px; top: -12px;
  background: rgba(232, 218, 186, 0.78); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0);
}
.taped::before { left: 18px; transform: rotate(-6deg); }
.taped::after { right: 18px; transform: rotate(5deg); }
.taped figcaption { font-style: italic; color: var(--ink-soft); font-size: 0.92em; padding: 10px 4px 0; }

/* ---------- section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 60px); padding: 0 var(--gutter); }
.section-lede { font-size: 1.12em; color: var(--ink-soft); font-style: italic; max-width: 36em; margin-inline: auto; }
.section-head.light, .section-head.light .eyebrow, .section-head.light .section-lede { color: var(--forest-ink); }

/* ---------- chapters ---------- */
.chapters { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(70px, 10vw, 140px); }
.chapter-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px); counter-reset: ch; }
.chapter-card a { display: grid; text-decoration: none; }
.chapter-art { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-deep); box-shadow: var(--shadow-canvas); }
.chapter-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s var(--ease); filter: saturate(0.92); }
.chapter-card a:hover .chapter-art img { transform: scale(1.045); filter: saturate(1.05); }
.chapter-num { margin-top: 1.1em; font-variant-caps: all-small-caps; letter-spacing: 0.2em; color: var(--berry); font-size: 0.95em; }
.chapter-title { font-family: var(--serif-display); font-size: clamp(1.6rem, 2.3vw, 2.05rem); line-height: 1.1; margin-top: 0.1em; }
.chapter-card a:hover .chapter-title { font-style: italic; }
.chapter-sv { color: var(--ink-faint); font-style: italic; font-size: 0.95em; margin-top: 0.15em; }

/* ---------- royals (prints scattered on a table) ---------- */
.royals {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(120, 150, 110, 0.18), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(154, 58, 44, 0.16), transparent 50%),
    var(--forest);
  color: var(--forest-ink);
  padding: clamp(70px, 10vw, 130px) 0;
  overflow: hidden;
}
.royals-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.scatter { list-style: none; padding: 0; margin: 0 auto clamp(40px, 6vw, 70px); display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 2vw, 24px); }
.scatter li { width: clamp(140px, 16vw, 205px); transform: rotate(var(--tilt)); transition: transform 0.6s var(--ease); }
.scatter li:nth-child(even) { margin-top: clamp(16px, 4vw, 54px); }
.scatter a { display: block; background: #fbf8f1; padding: 10px 10px 0; color: var(--ink); text-decoration: none; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25), 0 24px 40px -18px rgba(0, 0, 0, 0.7); }
.scatter span { display: block; text-align: center; font-family: var(--serif-display); font-style: italic; font-size: 1.12em; padding: 0.55em 0 0.7em; }
.scatter li:hover { transform: rotate(0deg) translateY(-10px) scale(1.04); z-index: 2; }

/* ---------- studio polaroids ---------- */
.studio-strip { padding: clamp(70px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.polaroids { list-style: none; margin: 0; padding: 10px var(--gutter) 30px; display: flex; gap: clamp(18px, 2.4vw, 34px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.polaroids li { flex: 0 0 clamp(220px, 22vw, 300px); scroll-snap-align: center; transform: rotate(var(--tilt)); }
.polaroids figure { margin: 0; background: #fbf8f1; padding: 12px 12px 4px; box-shadow: var(--shadow-canvas); }
.polaroids img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.polaroids figcaption { font-family: var(--serif-display); font-style: italic; font-size: 1.08em; text-align: center; padding: 0.6em 0.3em 0.7em; line-height: 1.25; color: var(--ink-soft); }
.polaroids-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: var(--max); margin: 0 auto; gap: clamp(26px, 3.4vw, 50px); }
.polaroids-grid li { flex: none; }

/* ---------- collector words ---------- */
.words { max-width: 1080px; margin: 0 auto; padding: clamp(50px, 7vw, 100px) var(--gutter); display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.words-art { display: block; box-shadow: var(--shadow-canvas); transform: rotate(1.4deg); transition: transform 0.6s var(--ease); }
.words-art:hover { transform: rotate(0); }
.words blockquote { margin: 0 0 1em; font-family: var(--serif-display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.62rem); line-height: 1.38; }
.words blockquote p { margin-bottom: 0.55em; }
.words blockquote p:first-child::before { content: "“"; color: var(--berry); }
.words blockquote p:last-child::after { content: "”"; color: var(--berry); }
.translation summary { cursor: pointer; font-variant-caps: all-small-caps; letter-spacing: 0.14em; color: var(--ink-soft); list-style: none; }
.translation summary::-webkit-details-marker { display: none; }
.translation summary::before { content: "+ "; }
.translation[open] summary::before { content: "– "; }
.translation p { color: var(--ink-soft); font-style: italic; margin: 0.7em 0 0; }
.words-by { margin-top: 1.4em; color: var(--ink-soft); }

/* ---------- letter ---------- */
.letter-wrap { padding: clamp(60px, 9vw, 120px) var(--gutter) clamp(80px, 11vw, 150px); }
.letter {
  max-width: 640px; margin: 0 auto; background: var(--paper-card); padding: clamp(32px, 5vw, 64px) clamp(26px, 5vw, 70px);
  box-shadow: 0 1px 2px rgba(40, 28, 16, 0.12), 0 30px 60px -30px rgba(40, 28, 16, 0.45);
  transform: rotate(-0.7deg); position: relative;
  background-image: repeating-linear-gradient(transparent 0 calc(1.62em - 1px), rgba(120, 140, 170, 0.12) calc(1.62em - 1px) 1.62em);
  background-position: 0 0.5em;
}
.letter::before { content: ""; position: absolute; left: clamp(18px, 3.2vw, 48px); top: 0; bottom: 0; width: 1px; background: rgba(154, 58, 44, 0.22); }
.letter-greeting { font-family: var(--serif-display); font-style: italic; font-size: 1.6em; margin-bottom: 0.6em; }
.letter .signature { font-size: 3em; margin: 0.4em 0 0.6em; }
.letter-ps { font-style: italic; color: var(--ink-soft); }
.letter-ps abbr { text-decoration: none; font-style: normal; font-variant-caps: all-small-caps; letter-spacing: 0.1em; }
.letter-cta { margin: 1.6em 0 0; }

/* ---------- works index ---------- */
.page-intro { max-width: 860px; margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(30px, 4vw, 50px); text-align: center; }
.filters { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 1.4em 0 1.8em; padding: 5px; border: 1px solid var(--line); border-radius: 40px; background: var(--paper-card); }
.filters button, .lang-toggle button {
  font: inherit; font-size: 0.98em; font-style: italic; color: var(--ink-soft);
  background: none; border: 0; border-radius: 30px; padding: 0.4em 1.1em; cursor: pointer; transition: background 0.3s, color 0.3s;
}
.filters button[aria-pressed="true"], .lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); font-style: normal; }
.chapter-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.chapter-index a { text-decoration: none; color: var(--ink-soft); }
.chapter-index a:hover { color: var(--berry); }
.chapter-index span { font-variant-caps: all-small-caps; letter-spacing: 0.1em; color: var(--berry); margin-right: 0.2em; }

.chapter { max-width: var(--max); margin: 0 auto; padding: clamp(30px, 5vw, 60px) var(--gutter) 0; }
.chapter-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 40px); align-items: start; margin-bottom: clamp(28px, 4vw, 50px); max-width: 860px; }
.chapter-numeral { font-family: var(--serif-display); font-weight: 300; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 0.8; color: var(--berry); opacity: 0.85; }
.chapter-head h2 { margin-bottom: 0.1em; }
.chapter-head .chapter-sv { margin: 0 0 0.6em; font-size: 1.05em; }
.chapter-blurb { color: var(--ink-soft); font-style: italic; max-width: 34em; margin: 0; }

.masonry { columns: 3 300px; column-gap: clamp(20px, 2.6vw, 40px); }
.work-card { break-inside: avoid; margin: 0 0 clamp(28px, 3.4vw, 48px); }
.work-card a { display: block; text-decoration: none; }
.work-card-art { display: block; box-shadow: var(--shadow-canvas); overflow: hidden; }
.work-card-art img { width: 100%; transition: transform 1.2s var(--ease); }
.work-card a:hover .work-card-art img { transform: scale(1.035); }
.work-card figcaption { display: grid; padding-top: 0.85em; }
.work-card-title { font-family: var(--serif-display); font-size: 1.4em; line-height: 1.15; }
.work-card a:hover .work-card-title { font-style: italic; color: var(--berry); }
.work-card-sub { font-style: italic; color: var(--ink-soft); font-size: 0.95em; }
.work-card-meta { color: var(--ink-faint); font-size: 0.9em; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.badge { font-variant-caps: all-small-caps; letter-spacing: 0.1em; color: var(--berry); display: inline-flex; align-items: center; gap: 0.4em; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--berry); }
.work-card.is-hidden { display: none; }
.chapter.is-empty .masonry, .chapter.is-empty .wall { display: none; }
/* the gallery wall: paintings hang at sizes that follow their real size */
.wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 6%; row-gap: clamp(40px, 5vw, 72px); }
.wall .work-card { width: var(--dw); margin: 0; }
.wall .work-card.is-hidden { display: none; }
@media (max-width: 760px) {
  .wall { flex-direction: column; align-items: center; row-gap: 44px; }
  .wall .work-card { width: var(--mw); min-width: 0; }
}
.chapter-empty { color: var(--ink-soft); font-style: italic; }

/* ---------- single work ---------- */
.work {
  max-width: var(--max); margin: 0 auto; padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start;
}
.work-wall {
  position: sticky; top: 20px;
  background: radial-gradient(ellipse at 50% 35%, #f6f1e8, var(--paper-deep));
  padding: clamp(26px, 5vw, 70px); display: grid; justify-items: center;
  box-shadow: inset 0 0 80px rgba(120, 100, 70, 0.12);
}
.work-art { display: block; cursor: zoom-in; }
.work-art img { max-height: 76vh; width: auto; box-shadow: var(--shadow-canvas); }
.work-zoom-hint { margin: 1.1em 0 0; font-size: 0.85em; font-style: italic; color: var(--ink-faint); }
.work-info { padding-top: clamp(0px, 2vw, 30px); }
.work-info h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); margin-bottom: 0.15em; }
.work-subtitle { font-family: var(--serif-display); font-style: italic; font-size: 1.4em; color: var(--ink-soft); }
.work-story { margin: 1.6em 0; padding: 0 0 0 1.2em; border-left: 2px solid var(--berry); }
.work-story p { font-style: italic; font-size: 1.1em; }
.work-story .signature { font-size: 2.3em; margin: 0; }
.work-story.testimonial p { font-family: var(--serif-display); font-size: 1.22em; margin-bottom: 0.5em; }
.work-story.testimonial footer { color: var(--ink-soft); font-size: 0.95em; margin-top: 0.8em; }
.work-details { margin: 1.6em 0; border-top: 1px solid var(--line); }
.work-details div { display: grid; grid-template-columns: 7em 1fr; gap: 1em; padding: 0.7em 0; border-bottom: 1px solid var(--line); }
.work-details dt { font-variant-caps: all-small-caps; letter-spacing: 0.14em; color: var(--ink-soft); }
.work-details dd { margin: 0; }
/* under the shop box: a gentle invitation to commission something new */
.commission { margin: 1.6em 0 2em; padding: 1.4em 0 0.2em; border-top: 1px solid var(--line); text-align: center; }
.commission-orn { width: 72px; height: 30px; color: var(--berry); opacity: 0.8; display: block; margin: 0 auto 0.4em; }
.commission-lead { font-family: var(--serif-display); font-style: italic; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); max-width: 30em; margin: 0 auto 1em; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost span { transition: transform 0.3s var(--ease); }
.btn-ghost:hover span { transform: translateX(4px); }
.work-pager { display: flex; justify-content: space-between; gap: 18px; padding-top: 1.4em; border-top: 1px solid var(--line); }
.work-pager a { text-decoration: none; font-style: italic; color: var(--ink-soft); max-width: 48%; }
.work-pager a:hover { color: var(--berry); }
.work-pager a[rel="next"] { text-align: right; margin-left: auto; }
.more { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(60px, 9vw, 120px); }
.more h2 { text-align: center; margin-bottom: 1.2em; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); align-items: start; }

.zoom { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.zoom::backdrop { background: rgba(22, 20, 17, 0.92); }
.zoom[open] { display: grid; place-items: center; }
.zoom img { max-width: 94vw; max-height: 92vh; width: auto; height: auto; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6); cursor: zoom-out; }
.zoom-close { position: fixed; top: 14px; right: 18px; font: 300 2.6rem/1 var(--serif-display); color: #f3ede3; background: none; border: 0; cursor: pointer; padding: 6px 12px; }

/* ---------- about ---------- */
.about-hero { max-width: 1180px; margin: 0 auto; padding: clamp(30px, 5vw, 70px) var(--gutter); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.lang-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 40px; margin: 0.4em 0 1.8em; background: var(--paper-card); }
.bio p { max-width: 34em; }
.facts { max-width: var(--max); margin: clamp(30px, 5vw, 60px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.facts div { padding: 1.4em 1.4em 1.5em; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 0.4em; align-content: start; }
.facts div + div { border-left: 1px solid var(--line); }
.fact-k { font-variant-caps: all-small-caps; letter-spacing: 0.16em; color: var(--berry); }
.fact-v { font-family: var(--serif-display); font-size: 1.22em; line-height: 1.3; }
.studio-gallery { padding: 0 0 clamp(20px, 4vw, 40px); }

/* ---------- contact ---------- */
.contact { max-width: 1180px; margin: 0 auto; padding: clamp(30px, 5vw, 70px) var(--gutter) clamp(70px, 10vw, 130px); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-intro .section-lede { margin-inline: 0; }
.contact-social { display: grid; gap: 10px; margin-top: 2em; }
.contact-social a, .footer-social a { display: inline-flex; align-items: center; gap: 0.6em; text-decoration: none; }
.contact-social a:hover { color: var(--berry); }
.contact-social .orn, .footer-social .orn { width: 22px; height: 22px; }
.contact-form { background: var(--paper-card); padding: clamp(24px, 4vw, 48px); box-shadow: 0 1px 2px rgba(40, 28, 16, 0.1), 0 30px 60px -34px rgba(40, 28, 16, 0.5); display: grid; gap: 1.2em; }
.contact-form label { display: grid; gap: 0.35em; font-variant-caps: all-small-caps; letter-spacing: 0.12em; color: var(--ink-soft); font-size: 1.02em; }
.contact-form small { font-variant-caps: normal; letter-spacing: 0; font-style: italic; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-variant-caps: normal; letter-spacing: 0; color: var(--ink); font-size: 1.02rem;
  background: transparent; border: 0; border-bottom: 1px solid rgba(42, 37, 32, 0.35); border-radius: 0; padding: 0.45em 0.1em;
  transition: border-color 0.3s;
}
.contact-form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235e554b' stroke-width='1.3'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.contact-form textarea { resize: vertical; border: 1px solid rgba(42, 37, 32, 0.25); padding: 0.7em; background: rgba(255, 255, 255, 0.4); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--berry); }
.contact > *, .about-hero > *, .hero > *, .owl > *, .words > * { min-width: 0; }
.contact-form select { width: 100%; text-overflow: ellipsis; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.hp { position: absolute !important; left: -9999px !important; }
.contact-form .btn { justify-self: start; margin-top: 0.4em; }
.form-status { margin: 0; font-style: italic; min-height: 1.6em; }
.form-status.ok { color: var(--forest-2); font-size: 1.15em; }
.form-status.err { color: var(--berry); }

/* ---------- 404 ---------- */
.lost { padding-bottom: clamp(80px, 12vw, 160px); }
.lost-flake { width: 56px; margin: 0 auto 1em; color: var(--ink-faint); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lost-flake { animation: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--forest); color: var(--forest-ink); padding: clamp(50px, 7vw, 90px) var(--gutter) 30px; position: relative; }
.footer-pines { width: 130px; margin: 0 auto 1.4em; color: #3d5246; }
.footer-countries { text-align: center; font-family: var(--serif-display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.5; max-width: 40em; margin: 0 auto clamp(40px, 6vw, 70px); }
.footer-countries span { white-space: nowrap; font-style: normal; }
.footer-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 30px; border-top: 1px solid rgba(239, 232, 218, 0.16); }
.footer-name { font-family: var(--serif-display); font-style: italic; font-size: 1.7rem; margin-bottom: 0.2em; }
.footer-small { color: rgba(239, 232, 218, 0.7); font-size: 0.95em; }
.site-footer nav, .footer-social { display: grid; gap: 8px; align-content: start; }
.site-footer nav a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-hi); }
.footer-copy { max-width: var(--max); margin: 40px auto 0; font-size: 0.82em; color: rgba(239, 232, 218, 0.5); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .chapter-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .polaroids-grid { grid-template-columns: repeat(2, 1fr); }
  .work { grid-template-columns: 1fr; }
  .work-wall { position: static; }
}
@media (max-width: 820px) {
  .hero, .owl, .words, .about-hero, .contact { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-bottom: 30px; }
  .hero { padding-top: 10px; }
  .owl-photo { max-width: 360px; justify-self: center; }
  .words-art { max-width: 300px; justify-self: center; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  .site-header { align-items: center; }
}
@media (max-width: 560px) {
  .chapter-grid, .polaroids-grid, .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .site-nav { width: 100%; justify-content: space-between; gap: 10px; }
  .site-nav a { font-size: 1rem; }
  .museum-label { right: 8px; }
  .scatter li { width: calc(50% - 12px); }
  .scatter li:nth-child(even) { margin-top: 24px; }
  .chapter-head { grid-template-columns: 1fr; gap: 0; }
  .work-details div { grid-template-columns: 5.5em 1fr; }
  .filters { border-radius: 18px; }
}

/* =========================================================
   Studio, films, press
   ========================================================= */

/* film loops, presented like a phone propped on the studio table */
.film-frame {
  position: relative; background: #1b1915; padding: 8px; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 24px 46px -22px rgba(40, 28, 16, 0.6);
}
.film-frame video { display: block; width: 100%; height: auto; border-radius: 8px; background: #2b2721; }
.film-frame::after { /* soft glare */
  content: ""; position: absolute; inset: 8px; border-radius: 8px; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 40%);
}

/* process steps */
.process { max-width: var(--max); margin: 0 auto; padding: clamp(10px, 3vw, 30px) var(--gutter) 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(60px, 9vw, 120px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.step-flip .step-media { order: 2; }
.step-media { display: grid; justify-items: center; }
.step-photo { max-width: 460px; width: 100%; }
.step-photo:nth-child(odd) { transform: rotate(1.4deg); }
.step-film { margin: 0; width: min(300px, 70vw); }
.step-film figcaption { font-family: var(--serif-display); font-style: italic; text-align: center; color: var(--ink-soft); padding-top: 0.8em; font-size: 1.05em; }
.step-wide { grid-template-columns: 1fr; }
.step-wide .step-text { order: -1; max-width: 640px; margin: 0 auto; text-align: center; }
.step-trio { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.step-trio .step-film { width: min(250px, 42vw); }
.step-trio .step-film:nth-child(1) { transform: rotate(-2deg); }
.step-trio .step-film:nth-child(2) { transform: translateY(-18px); }
.step-trio .step-film:nth-child(3) { width: min(400px, 88vw); transform: rotate(1.5deg); }
.step-num { display: block; font-family: var(--serif-display); font-weight: 300; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 0.9; color: var(--berry); opacity: 0.85; }
.step-text h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; margin: 0.15em 0 0.05em; }
.step-sv { font-style: italic; color: var(--ink-faint); margin-bottom: 1em; }
.step-text p:last-child { max-width: 30em; }
.step-wide .step-text p:last-child { margin-inline: auto; }

/* studio diary (TikTok) */
.diary { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vw, 70px); }
.diary-group { margin-bottom: clamp(40px, 6vw, 70px); }
.diary-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0.5em; margin-bottom: 1.4em; }
.diary-head h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 400; margin: 0; }
.diary-head span { font-style: italic; color: var(--ink-faint); }
.diary-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.diary-grid li { display: grid; align-content: start; gap: 0.35em; scroll-margin-top: 30px; }
.diary-card { display: grid; gap: 0.6em; text-decoration: none; }
.diary-cover { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 6px; background: var(--paper-deep); box-shadow: var(--shadow-canvas); }
.diary-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.8s; }
.diary-card:hover .diary-cover img { transform: scale(1.05); filter: brightness(0.9); }
.diary-play {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(250, 246, 239, 0.88); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.diary-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--ink); }
.diary-card:hover .diary-play { transform: scale(1.1); background: #fff; }
.diary-title { font-family: var(--serif-display); font-size: 1.18em; line-height: 1.2; }
.diary-card:hover .diary-title { font-style: italic; color: var(--berry); }
.diary-work { font-size: 0.88em; color: var(--ink-faint); text-decoration: none; }
.diary-work:hover { color: var(--berry); }
.diary-grid li:target .diary-cover { outline: 3px solid var(--berry); outline-offset: 4px; }

.tt-modal { border: 0; padding: 0; background: var(--paper-card); max-width: min(980px, 94vw); width: 100%; max-height: 92vh; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5); }
.tt-modal::backdrop { background: rgba(22, 20, 17, 0.88); }
.tt-modal-inner { display: grid; grid-template-columns: minmax(0, 340px) 1fr; }
.tt-player { background: #000; aspect-ratio: 9 / 16; max-height: 92vh; }
.tt-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.tt-text { padding: clamp(24px, 4vw, 48px); overflow: auto; max-height: 92vh; }
.tt-text h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 400; }
.tt-caption p { font-style: italic; color: var(--ink-soft); font-size: 1.08em; }
.tt-text .signature { font-size: 2.3em; }
.tt-modal .zoom-close { color: var(--ink); position: absolute; }

/* work page film */
.work-film { display: flex; gap: 22px; align-items: center; margin: 1.6em 0; padding: 18px; background: var(--paper-card); border: 1px solid var(--line); }
.work-film .film-frame { flex: 0 0 120px; padding: 5px; border-radius: 10px; }
.work-film .film-frame video { border-radius: 6px; }
.work-film .eyebrow { margin-bottom: 0.3em; }
.work-film p { margin: 0 0 0.3em; }
.work-film-title { font-family: var(--serif-display); font-style: italic; font-size: 1.25em; }
.work-film-body { flex: 1; min-width: 0; }
.work-clips { list-style: none; margin: 0.5em 0 0; padding: 0; display: grid; gap: 10px; }
.work-clip-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; cursor: pointer; }
.work-clip-cover { position: relative; flex: 0 0 56px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 6px rgba(40, 28, 16, 0.25); }
.work-clip-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-clip-cover .diary-play { transform: scale(0.6); }
.work-clip-card .diary-title { font-family: var(--serif-display); font-style: italic; font-size: 1.15em; line-height: 1.25; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.work-clip-card:hover .diary-title { border-color: currentColor; }
.tt-links .btn { margin-top: 0.4em; }

/* newspaper clippings */
.clippings { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(30px, 5vw, 70px); }
.clipping { display: grid; gap: 1.1em; width: min(380px, 86vw); text-decoration: none; }
.clipping-paper { display: block; background: #fbf8f1; padding: 10px; transform: rotate(var(--tilt, -2deg)); box-shadow: 0 2px 3px rgba(40, 28, 16, 0.15), 0 26px 48px -22px rgba(40, 28, 16, 0.55); transition: transform 0.6s var(--ease); position: relative; }
.clipping-paper::before { /* a pin */
  content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 35%, #e07a68, var(--berry) 55%, #5e1f16);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.35);
}
.clipping-paper img { filter: sepia(0.12) contrast(1.02); }
.clipping:hover .clipping-paper { transform: rotate(0deg) translateY(-6px); }
.clipping-meta { display: grid; gap: 0.15em; text-align: center; }
.clipping-meta .eyebrow { margin: 0; }
.clipping-title { font-family: var(--serif-display); font-size: 1.45em; line-height: 1.15; }
.clipping:hover .clipping-title { color: var(--berry); }
.clipping-en { font-style: italic; color: var(--ink-soft); }
.press-teaser { max-width: var(--max); margin: 0 auto; padding: clamp(50px, 8vw, 110px) var(--gutter) 0; }
.press-teaser .clippings { margin-bottom: 2.4em; }

/* press index */
.press-list { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: clamp(60px, 9vw, 120px); }
.press-item { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.press-item .clipping { justify-self: center; }
.press-item .clipping-meta { display: none; }
.press-item.flip .clipping { order: 2; }
.press-text h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.press-text h2 a { text-decoration: none; }
.press-text h2 a:hover { color: var(--berry); }
.press-en { font-family: var(--serif-display); font-style: italic; font-size: 1.3em; color: var(--ink-soft); }
.press-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 1.4em; }
.pill-link-legacy { font-variant-caps: all-small-caps; letter-spacing: 0.12em; font-size: 0.95em; color: var(--ink-soft); text-decoration: none; border: 1px solid var(--line); padding: 0.15em 0.8em 0.25em; border-radius: 20px; }



.memorial { margin-top: clamp(80px, 11vw, 150px); background: var(--forest); color: var(--forest-ink); padding: clamp(60px, 9vw, 110px) var(--gutter); text-align: center; }
.memorial-inner { max-width: 640px; margin: 0 auto; }
.memorial .eyebrow { color: rgba(239, 232, 218, 0.7); }
.memorial-pines { width: 110px; margin: 0 auto 1.4em; color: #3d5246; }
.memorial-lede { font-family: var(--serif-display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; margin-bottom: 1.6em; }
.md-note { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) var(--gutter) clamp(70px, 10vw, 120px); text-align: center; color: var(--ink-soft); font-size: 0.95em; }

/* article */
.article { max-width: 1120px; margin: 0 auto; padding: clamp(20px, 4vw, 50px) var(--gutter) clamp(30px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.article-head { grid-column: 1 / -1; margin-bottom: -1em; }
.article-head a { text-decoration: none; }
.article-clip { margin: 0; position: sticky; top: 30px; }
.article-clip .clipping-paper { --tilt: -1.5deg; }
.article-clip figcaption { margin-top: 1.6em; font-style: italic; font-size: 0.92em; color: var(--ink-soft); text-align: center; }
.prose h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 400; margin-top: 1.6em; }
.prose blockquote { margin: 1.2em 0; padding: 1.2em 1.5em; background: var(--paper-card); border-left: 2px solid var(--berry); font-family: var(--serif-display); font-size: 1.16em; line-height: 1.45; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--berry); }
.md-source { margin-top: 2.4em; }

@media (max-width: 1000px) {
  .tt-modal-inner { grid-template-columns: 1fr; }
  .tt-player { max-height: 70vh; aspect-ratio: auto; height: 70vh; }
  .tt-text { max-height: none; }
  .tt-modal { overflow: auto; }
}
@media (max-width: 820px) {
  .step, .press-item, .article { grid-template-columns: 1fr; }
  .step-flip .step-media, .press-item.flip .clipping { order: 0; }
  .article-clip { position: static; max-width: 420px; justify-self: center; }
  .work-film .film-frame { flex-basis: 96px; }
}
@media (max-width: 560px) {
  .site-nav { gap: 6px 14px; justify-content: flex-start; }
  .diary-grid { grid-template-columns: repeat(2, 1fr); }
  .step-trio .step-film:nth-child(2) { transform: none; }
}
.tt-links .link { display: inline-block; margin-bottom: 0.8em; }
@media (max-width: 820px) {
  .step-film { width: min(240px, 62vw); }
  .step-trio .step-film { width: min(200px, 40vw); }
  .step-trio .step-film:nth-child(3) { width: min(340px, 86vw); }
}

/* article photographs */
.prose-fig { margin: 1.6em 0; }
.prose-fig a { display: block; }
.prose-fig img { width: 100%; height: auto; box-shadow: var(--shadow-canvas); background: var(--paper-deep); }
.prose-fig figcaption { font-style: italic; font-size: 0.9em; color: var(--ink-soft); padding-top: 0.6em; }
.prose-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; margin: 1.8em 0; align-items: start; }
.prose-gallery .prose-fig { margin: 0; }
.prose-gallery .prose-fig:nth-child(odd) img { transform: rotate(-1deg); }
.prose-gallery .prose-fig:nth-child(even) img { transform: rotate(1deg); }
.memorial-portrait { width: 150px; height: 150px; margin: 0 auto 1.4em; border-radius: 50%; overflow: hidden; border: 3px solid rgba(239, 232, 218, 0.35); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.memorial-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(0.35); }
.article-toc { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; padding: 0.9em 1.1em; margin: 0 0 1.4em; border: 1px solid var(--line); background: var(--paper-card); font-size: 0.95em; }
.article-toc .eyebrow { margin: 0; width: 100%; }
.article-toc a { text-decoration: none; font-style: italic; color: var(--ink-soft); }
.article-toc a:hover { color: var(--berry); }
.prose h2[id] { scroll-margin-top: 24px; }

/* about: definition, timeline, FAQ */
.about-definition { font-family: var(--serif-display); font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.45; color: var(--ink); margin: 0.2em 0 0.4em; max-width: 30em; }
.timeline-wrap { max-width: 900px; margin: 0 auto; padding: clamp(60px, 9vw, 110px) var(--gutter) 0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4em; border-left: 1px solid var(--line); display: grid; gap: 1.6em; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.4em - 6px); top: 0.5em; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--berry); }
.tl-when { display: block; font-variant-caps: all-small-caps; letter-spacing: 0.14em; color: var(--berry); }
.timeline p { margin: 0.15em 0 0; max-width: 38em; }
.tl-src { font-style: italic; color: var(--ink-soft); font-size: 0.92em; white-space: nowrap; }
.faq { max-width: 1060px; margin: 0 auto; padding: clamp(60px, 9vw, 110px) var(--gutter) 0; }
/* one question per row: the question on the left, its answer beside it */
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: 0.5em clamp(28px, 5vw, 72px); align-items: baseline; padding: 1.5em 0; border-top: 1px solid var(--line); }
.faq-item h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); font-weight: 500; line-height: 1.25; margin: 0; display: flex; gap: 0.7em; align-items: baseline; }
.faq-list { counter-reset: faq; }
.faq-item h3::before { counter-increment: faq; content: counter(faq, decimal-leading-zero); font-family: var(--serif-display); font-style: italic; font-size: 0.8em; color: var(--berry); flex: none; min-width: 1.4em; }
.faq-item p { color: var(--ink-soft); margin: 0; max-width: 62ch; }
.faq-links { display: flex; gap: 12px 28px; justify-content: center; flex-wrap: wrap; margin-top: 2.4em; }
@media (max-width: 760px) { .faq-item { grid-template-columns: 1fr; padding: 1.2em 0; } }

/* ---------- scrapbook collages (About + Studio heroes) ---------- */
.collage { position: relative; width: 100%; }
.about-collage { aspect-ratio: 1 / 1.24; max-width: 560px; justify-self: center; }
.studio-collage { aspect-ratio: 1.15 / 1; }
.snap {
  position: absolute; margin: 0; background: #fbf8f1; padding: 8px 8px 0;
  box-shadow: 0 2px 4px rgba(40, 28, 16, 0.18), 0 22px 40px -18px rgba(40, 28, 16, 0.55);
  transform: rotate(var(--r, 0deg)); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); z-index: 1;
}
.snap img { width: 100%; height: auto; display: block; }
.snap figcaption { font-family: var(--script); font-size: clamp(1.05rem, 1.4vw + 0.45rem, 1.7rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; text-align: center; padding: 0.3em 0.3em 0.45em; color: var(--ink); }
.snap::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; margin-left: -42px; transform: rotate(-3deg);
  background: rgba(232, 218, 186, 0.8); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); z-index: 2;
}
.snap:hover { transform: rotate(0deg) scale(1.03); z-index: 5; box-shadow: 0 4px 8px rgba(40, 28, 16, 0.2), 0 30px 60px -20px rgba(40, 28, 16, 0.6); }
.about-collage .c-tall { left: 41%; top: 0; width: 56%; --r: 2.5deg; }
.about-collage .c-forest { left: 0; top: 5%; width: 41%; --r: -5deg; z-index: 2; }
.about-collage .c-baby { left: 7%; top: 59%; width: 48%; --r: -3deg; z-index: 3; }
.about-collage .c-baby figcaption { color: var(--berry); }
.doodle { position: absolute; color: var(--berry); pointer-events: none; z-index: 4; }
.doodle-arrow { left: 57%; top: 79%; width: 15%; transform: scaleX(-1) rotate(-8deg); }
.doodle-note { left: 66%; top: 88%; font-family: var(--script); font-size: clamp(1.4rem, 1.6vw + 0.6rem, 2.2rem); transform: rotate(-6deg); white-space: nowrap; }
.studio-collage .c-big { left: 0; top: 3%; width: 70%; --r: -1.5deg; }
.studio-collage .c-tall { left: 63%; top: 16%; width: 35%; --r: 3deg; z-index: 2; }
.studio-collage .c-small { left: -2%; top: 58%; width: 25%; --r: -6deg; z-index: 3; }

.studio-hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(26px, 4vw, 60px) var(--gutter) clamp(50px, 7vw, 90px);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center;
}
.studio-hero > * { min-width: 0; }
.studio-hero-text .section-lede { margin-inline: 0; }
.studio-hero-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 1.6em; }

.polaroids-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .polaroids-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .studio-hero { grid-template-columns: 1fr; }
  .studio-hero-links { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .about-collage { max-width: 440px; margin-bottom: 10px; }
}
@media (max-width: 560px) {
  .polaroids-4 { grid-template-columns: 1fr; }
}

/* ---------- exhibitions ---------- */
.exh-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 1.2em; }
.exh-index a { text-decoration: none; color: var(--ink-soft); }
.exh-index a:hover { color: var(--berry); }
.exh-index span { font-variant-caps: all-small-caps; letter-spacing: 0.1em; color: var(--berry); margin-right: 0.2em; }
.exh-trail { list-style: none; margin: 0 auto; padding: clamp(10px, 3vw, 30px) var(--gutter) 0; max-width: var(--max); display: grid; gap: clamp(90px, 12vw, 160px); }
.exh { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; position: relative; scroll-margin-top: 30px; }
.exh > * { min-width: 0; }
.exh-flip .exh-text { order: 2; }
.exh + .exh::before { /* a dotted path from one exhibition to the next */
  content: ""; position: absolute; left: 50%; top: calc(-1 * clamp(90px, 12vw, 160px) + 18px); height: calc(clamp(90px, 12vw, 160px) - 36px);
  border-left: 2px dotted rgba(154, 58, 44, 0.45);
}
.ticket {
  display: inline-flex; align-items: baseline; gap: 0.6em; margin: 0 0 1em; padding: 0.35em 1.2em 0.4em;
  background: var(--berry); color: #fbf3ea; transform: rotate(-2.5deg); box-shadow: 0 6px 16px -8px rgba(90, 30, 20, 0.6);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 7px, #000 7.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 7px, #000 7.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 7px, #000 7.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 7px, #000 7.5px) right / 51% 100% no-repeat;
}
.ticket-year { font-family: var(--serif-display); font-size: 1.9rem; line-height: 1; }
.ticket-when { font-variant-caps: all-small-caps; letter-spacing: 0.12em; font-size: 1.02rem; }
.exh h2 { margin-bottom: 0.05em; }
.exh-kind { font-variant-caps: all-small-caps; letter-spacing: 0.1em; color: var(--berry); font-size: 1.08rem; margin: 0.15em 0 0.1em; }
.exh-sv { font-style: italic; color: var(--ink-faint); margin-bottom: 0.6em; }
.exh-place { display: flex; align-items: center; gap: 0.4em; color: var(--ink-soft); }
.exh-place .orn { width: 18px; height: 18px; color: var(--berry); flex: none; }
.exh-place a { color: inherit; }
.exh-note { font-family: var(--script); font-size: clamp(1.6rem, 1.6vw + 0.8rem, 2.2rem); line-height: 1.15; color: var(--berry); transform: rotate(-1.5deg); margin: 0.6em 0 0.8em; }
.exh-works { font-size: 0.95em; }
.exh-works .eyebrow { display: block; margin-bottom: 0.2em; }
.exh-works a { font-style: italic; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.exh-works a:hover { color: var(--berry); border-color: var(--berry); }

.exh-photos { display: grid; gap: clamp(16px, 2.4vw, 30px); align-items: start; }
.exh-photos .snap { position: relative; left: auto; top: auto; width: auto; }
.exh-photos .snap a { display: block; cursor: zoom-in; }
.exh-photos .ph-1 { --r: -1.6deg; }
.exh-photos .ph-2 { --r: 2.2deg; }
.exh-photos .ph-3 { --r: -2.4deg; }
.exh-photos.count-1 { max-width: 520px; justify-self: center; width: 100%; }
.exh-photos.count-2 { grid-template-columns: 1fr 1fr; }
.exh-photos.count-2 .ph-2 { margin-top: clamp(30px, 5vw, 70px); }
.exh-photos.count-3 { grid-template-columns: 1fr 1fr; }
.exh-photos.count-3 .ph-1 { grid-column: 1 / -1; width: 86%; justify-self: center; }
.exh-photos.count-3 .ph-3 { margin-top: clamp(24px, 4vw, 50px); }
.exh-more { margin: clamp(70px, 10vw, 120px) auto 0; color: var(--ink-soft); font-style: italic; padding: 0 var(--gutter); }
.exh-more .link { margin-left: 0.4em; }

.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(22, 20, 17, 0.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { color: #efe8da; font-style: italic; text-align: center; max-width: 60ch; padding: 0 16px; }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); font: 300 3.2rem/1 var(--serif-display); color: #efe8da; background: rgba(0, 0, 0, 0.25); border: 0; width: 52px; height: 72px; cursor: pointer; border-radius: 4px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-prev:hover, .lb-next:hover { background: rgba(0, 0, 0, 0.5); }
.lightbox .zoom-close { color: #efe8da; }

@media (max-width: 820px) {
  .exh { grid-template-columns: 1fr; }
  .exh-flip .exh-text { order: 0; }
  .exh + .exh::before { left: 24px; }
}
@media (max-width: 560px) {
  .site-nav { gap: 6px 11px; justify-content: space-between; flex-wrap: nowrap; }
  .site-nav a { font-size: 0.93rem; white-space: nowrap; }
}
@media (max-width: 370px) {
  .site-nav { flex-wrap: wrap; justify-content: flex-start; }
}
.exh-photos.count-0 { display: none; }
.exh:has(.count-0) { grid-template-columns: minmax(0, 640px); justify-content: center; }
.exh:has(.count-0) .exh-text { order: 0; }
.exh-photos.count-4 { grid-template-columns: 1fr 1fr; }
.exh-photos.count-4 .ph-2, .exh-photos.count-4 .ph-4 { margin-top: clamp(26px, 4vw, 56px); }
.exh-photos .ph-4 { --r: 1.8deg; }
.exh-film { margin: 1.2em 0 1.4em; display: flex; align-items: center; gap: 18px; }
.exh-film .film-frame { flex: 0 0 150px; padding: 6px; border-radius: 12px; transform: rotate(-2deg); }
.exh-film .film-frame video { border-radius: 7px; }
.exh-film figcaption { display: grid; gap: 0.2em; }
.exh-film figcaption span { font-family: var(--serif-display); font-style: italic; font-size: 1.2em; }
.exh-film figcaption small { color: var(--ink-faint); font-size: 0.85em; }
/* a film that leads the photo wall: the big first frame */
.exh-photos .exh-film-lead.ph-1 { flex-direction: column; align-items: center; gap: 12px; margin: 0; width: 100%; max-width: 420px; justify-self: center; grid-column: 1 / -1; }
.exh-photos .exh-film-lead .film-frame { flex: none; width: 100%; padding: 9px; border-radius: 18px; transform: rotate(-1.4deg); }
.exh-photos .exh-film-lead .film-frame video { border-radius: 10px; }
.exh-photos .exh-film-lead figcaption { text-align: center; }
.exh-aside { margin: 1.2em 0 1.6em; }
.exh-aside .snap { position: relative; left: auto; top: auto; width: min(220px, 60%); --r: -2.4deg; }
.exh-aside .snap a { display: block; cursor: zoom-in; }
.exh-aside .snap.wide { width: min(360px, 92%); --r: 1.6deg; }
.exh-photos .snap img { max-height: min(540px, 70vh); object-fit: cover; object-position: center 30%; }
.exh-photos.count-3 .ph-1 { width: 74%; }
.exh-photos.count-3 .exh-film-lead.ph-1 { width: 100%; }

/* everything visible without clicks */
.translation { margin-top: 1.2em; }
.translation .eyebrow { margin-bottom: 0.3em; }
.translation p { color: var(--ink-soft); font-style: italic; margin: 0.4em 0 0; }
.bio-sv { margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line); color: var(--ink-soft); }
.bio-sv-h { font-size: 1.35rem; font-weight: 400; font-style: italic; margin: 0 0 0.6em; color: var(--ink); }
.diary-text { font-size: 0.86em; line-height: 1.5; color: var(--ink-soft); margin: 0.1em 0 0; }
.pill-link { font-variant-caps: all-small-caps; letter-spacing: 0.12em; font-size: 0.95em; color: var(--ink-soft); text-decoration: none; border: 1px solid var(--line); padding: 0.15em 0.8em 0.25em; border-radius: 20px; }
.pill-link:hover { color: var(--berry); border-color: var(--berry); }
@media (min-width: 821px) { .about-collage { position: sticky; top: 40px; } }

/* snow falling inside snowy paintings */
.snowfall { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.work-card-art, .chapter-art, .scatter-art { position: relative; }
.scatter-art { display: block; }
.work-art { position: relative; width: fit-content; max-width: 100%; }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; mix-blend-mode: screen; }
.paintfx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .snowfall, .sparks, .paintfx { display: none; } }

/* Days in the studio: an endless, gently rolling strip of polaroids */
.studio-strip { overflow: hidden; }
.polaroids.is-rolling {
  width: max-content; overflow: visible; scroll-snap-type: none;
  padding: 18px 0 34px; padding-left: var(--gutter);
  animation: polaroid-roll var(--roll, 40s) linear infinite;
  will-change: transform;
}
.studio-strip:has(.is-rolling) {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.polaroids.is-rolling:hover, .polaroids.is-rolling:focus-within, .polaroids.is-paused { animation-play-state: paused; }
.polaroids.is-rolling li { transition: transform 0.5s var(--ease); }
.polaroids.is-rolling li:hover { transform: rotate(0deg) scale(1.04); }
@keyframes polaroid-roll { to { transform: translateX(var(--shift, -50%)); } }

/* film cards are buttons: they play the film here, they never open a new page */
button.diary-card, button.work-clip-card { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; width: 100%; cursor: pointer; }
button.work-clip-card { display: flex; }

/* ---------- the shop box on a painting page ---------- */
.buy { margin: 1.8em 0 0.4em; padding: clamp(18px, 2.4vw, 26px); background: var(--paper-card); border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(40, 28, 16, 0.45); }
.buy-h { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 400; margin: 0 0 0.7em; }
.buy-options { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.buy-options legend { position: absolute; left: -9999px; }
.buy-opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.buy-opt:hover { border-color: var(--ink-faint); }
.buy-opt:has(input:checked) { border-color: var(--ink); background: #fffdf8; box-shadow: 0 0 0 1px var(--ink) inset; }
.buy-opt input { accent-color: var(--berry); width: 18px; height: 18px; margin: 0; }
.buy-opt-text { display: grid; gap: 0.1em; min-width: 0; }
.buy-opt-name { font-family: var(--serif-display); font-size: 1.15em; line-height: 1.2; }
.buy-opt-original .buy-opt-name { color: var(--berry); }
.buy-opt-detail { font-size: 0.88em; color: var(--ink-soft); }
.buy-opt-price { font-family: var(--serif-display); font-size: 1.15em; white-space: nowrap; }
.buy-row { display: flex; align-items: flex-end; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.buy-qty { display: grid; gap: 4px; font-size: 0.8em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.buy-qty[hidden] { display: none; }
.buy-qty input { width: 80px; padding: 10px 12px; font: inherit; font-size: 1.1rem; letter-spacing: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.buy-btn { flex: 1; min-width: 200px; text-align: center; }
.buy-note { margin: 12px 0 0; font-size: 0.86em; color: var(--ink-soft); font-style: italic; }
.buy-unavailable { margin: 0; color: var(--ink-soft); font-style: italic; }
.order-dialog { border: 0; padding: clamp(24px, 4vw, 44px); background: var(--paper-card); max-width: min(620px, 94vw); width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5); }
.order-dialog::backdrop { background: rgba(22, 20, 17, 0.75); }
.order-dialog h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400; margin: 0 0 0.2em; }
.order-summary { font-style: italic; color: var(--ink-soft); margin: 0 0 1.2em; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.order-grid label { display: grid; gap: 4px; font-size: 0.8em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.order-grid input, .order-grid textarea { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); }
.order-wide { grid-column: 1 / -1; }
.order-fine { font-size: 0.88em; color: var(--ink-soft); margin: 1em 0 0.4em; }
.order-error { color: var(--berry); }
.order-actions { display: flex; align-items: center; gap: 20px; margin-top: 0.8em; }
.order-actions .link { background: none; border: 0; font: inherit; cursor: pointer; color: var(--ink-soft); }
.order-done .signature { font-size: 2.2em; margin: 0.2em 0 0.6em; }
.order-dialog .zoom-close { color: var(--ink); position: absolute; }
@media (max-width: 560px) {
  .order-grid { grid-template-columns: 1fr; }
  .buy-opt { padding: 11px 12px; gap: 10px; }
  .buy-btn { min-width: 0; width: 100%; }
}

/* ---------- films: big enough to really see ---------- */
/* laptop and up */
.step-film { width: min(380px, 80vw); }
.step-trio { gap: clamp(24px, 4vw, 56px); }
.step-trio .step-film { width: min(340px, 42vw); }
.step-trio .step-film:nth-child(3) { width: min(640px, 88vw); }
.diary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3.4vw, 48px); }
.diary-title { font-size: 1.35em; }
.diary-play { transform: scale(1.25); }
.work-film { flex-direction: column; align-items: stretch; }
.work-film .film-frame { flex: none; width: min(100%, 300px); align-self: center; }
.work-clips { gap: 16px; }
.work-clip-card { flex-direction: column; align-items: stretch; gap: 10px; }
button.work-clip-card { display: flex; }
.work-clip-cover { flex: none; width: min(100%, 300px); align-self: center; }
.work-clip-cover .diary-play { transform: scale(1.1); }
.work-clip-card .diary-title { text-align: center; }
.exh-film .film-frame { flex-basis: 220px; }
/* phones: one film at a time, the full width of the screen */
@media (max-width: 700px) {
  .step-film, .step-trio .step-film, .step-trio .step-film:nth-child(3) { width: 100%; transform: none !important; }
  .step-trio { flex-direction: column; align-items: stretch; }
  .diary-grid { grid-template-columns: 1fr; gap: 40px; }
  .diary-title { font-size: 1.45em; }
  .work-film { padding: 14px; }
  .work-film .film-frame, .work-clip-cover { width: 100%; }
  .exh-film { flex-direction: column; align-items: stretch; }
  .exh-film .film-frame { flex: none; width: 100%; transform: none; }
  /* the film player fills the whole screen */
  .tt-modal { max-width: 100vw; width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .tt-player { height: 100dvh; max-height: none; aspect-ratio: auto; }
  .tt-modal .zoom-close { position: fixed; z-index: 3; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
}
.diary-card:hover .diary-play { transform: scale(1.35); }

/* ---------- checkout ---------- */
.checkout { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 4vw, 50px) var(--gutter) clamp(60px, 8vw, 110px); }
.checkout-back { display: inline-block; margin-bottom: 1em; color: var(--ink-soft); text-decoration: none; font-style: italic; }
.checkout-back:hover { color: var(--berry); }
.checkout-h { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 300; margin: 0 0 0.6em; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.checkout-summary { position: sticky; top: 24px; padding: clamp(18px, 2.4vw, 28px); background: var(--paper-card); border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(40, 28, 16, 0.45); }
.checkout-art { margin: 0 0 1em; }
.checkout-art img { width: 100%; height: auto; max-height: 360px; object-fit: contain; display: block; box-shadow: var(--shadow-canvas); background: var(--paper-deep); }
.checkout-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; margin: 0.1em 0 0.15em; }
.checkout-option { color: var(--ink-soft); margin: 0 0 1em; }
.checkout-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.82em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.6em; }
.checkout-qty[hidden] { display: none; }
.qty-box { display: inline-flex; border: 1px solid var(--line); background: var(--paper); }
.qty-box button { width: 40px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty-box input { width: 48px; text-align: center; border: 0; border-inline: 1px solid var(--line); font: inherit; font-size: 1.05rem; background: transparent; color: var(--ink); -moz-appearance: textfield; }
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.checkout-totals { margin: 0.4em 0 0; }
.checkout-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 0.5em 0; border-bottom: 1px solid var(--line); }
.checkout-totals dt { color: var(--ink-soft); }
.checkout-totals dt small { color: var(--ink-faint); }
.checkout-totals dd { margin: 0; font-family: var(--serif-display); font-size: 1.1em; white-space: nowrap; }
.checkout-total { border-bottom: 0 !important; padding-top: 0.8em !important; }
.checkout-total dt { color: var(--ink); font-weight: 600; }
.checkout-total dd { font-size: 1.45em; }
.checkout-days { font-size: 0.9em; color: var(--forest, var(--ink-soft)); font-style: italic; margin: 0.4em 0 0; min-height: 1.2em; }
.checkout-trust { list-style: none; margin: 1.2em 0 0; padding: 1em 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.45em; font-size: 0.92em; color: var(--ink-soft); }
.checkout-trust li::before { content: "✓"; color: var(--berry); margin-right: 0.6em; }
.checkout-form fieldset { border: 0; margin: 0 0 1.4em; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.checkout-form legend { font-family: var(--serif-display); font-size: 1.4rem; margin-bottom: 0.5em; padding: 0; }
.checkout-form label { display: grid; gap: 5px; font-size: 0.8em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.checkout-form label small { text-transform: none; letter-spacing: 0; }
.checkout-form .wide { grid-column: 1 / -1; }
.checkout-form input, .checkout-form select, .checkout-form textarea { font: inherit; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); background: var(--paper-card); border-radius: 2px; }
.checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus { outline: 2px solid var(--berry); outline-offset: 0; border-color: transparent; }
.checkout-pay { width: 100%; justify-content: center; font-size: 1.25em; padding: 0.95em 1.6em 1em; background: var(--berry); border-color: var(--berry); }
.checkout-pay:hover { background: var(--ink); border-color: var(--ink); }
.checkout-pay.is-busy { opacity: 0.7; cursor: progress; }
.checkout-pay .lock { font-size: 0.85em; }
.checkout-methods { text-align: center; color: var(--ink-soft); font-size: 0.9em; letter-spacing: 0.06em; margin: 0.9em 0 0.3em; }
.checkout-fine { text-align: center; font-size: 0.85em; color: var(--ink-faint); font-style: italic; margin: 0; }
.checkout-error { color: var(--berry); font-weight: 600; margin: 0 0 0.8em; }
.checkout-msg { font-size: 1.2em; }
.order-complete { max-width: 640px; margin: 0 auto; padding: clamp(40px, 7vw, 100px) var(--gutter); text-align: center; }
.order-complete h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; }
.order-complete .checkout-totals { text-align: left; margin: 1.6em 0; }
.order-complete .signature { font-size: 2.4em; }
.order-state[data-state="loading"] h1::after { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-left: 0.4em; border: 2px solid var(--line); border-top-color: var(--berry); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 820px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .checkout-art img { max-height: 260px; }
}
@media (max-width: 520px) { .checkout-form fieldset { grid-template-columns: 1fr; } }

/* phones: every painting at the full width of the screen, never cropped */
@media (max-width: 760px) {
  .wall .work-card { width: 100%; }
  .chapter-art { aspect-ratio: auto; }
  .chapter-art img { height: auto; object-fit: contain; display: block; }
}

/* form fields: typed text large and easy to read, every box the same height */
.checkout-form input, .checkout-form select, .checkout-form textarea,
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 500; line-height: 1.35; color: var(--ink); letter-spacing: 0.01em;
}
.checkout-form input, .checkout-form select { height: 60px; padding: 0 16px; box-sizing: border-box; }
.checkout-form textarea { padding: 14px 16px; min-height: 92px; }
.checkout-form select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--paper-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232a2520' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center no-repeat; }
.checkout-form input::placeholder, .checkout-form textarea::placeholder { color: var(--ink-faint); font-weight: 400; }
.checkout-form label { font-size: 0.86em; gap: 7px; }
.checkout-form fieldset { gap: 16px 18px; }
.contact-form input, .contact-form select { min-height: 52px; }
@media (max-width: 520px) {
  .checkout-form input, .checkout-form select { height: 58px; }
  .checkout-form input, .checkout-form select, .checkout-form textarea, .contact-form input, .contact-form select, .contact-form textarea { font-size: 1.28rem; }
}

/* form fields, larger again: big, comfortable typed text that stays inside the box */
.checkout-form input, .checkout-form select, .checkout-form textarea,
.contact-form input, .contact-form select, .contact-form textarea { font-size: 1.62rem; line-height: 1.3; }
.checkout-form input, .checkout-form select { height: 68px; padding: 0 18px; }
.checkout-form select { padding-right: 48px; }
.checkout-form textarea { padding: 14px 18px; min-height: 104px; }
.contact-form input, .contact-form select { min-height: 60px; }
@media (max-width: 520px) {
  .checkout-form input, .checkout-form select, .checkout-form textarea,
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 1.5rem; }
  .checkout-form input, .checkout-form select { height: 64px; padding: 0 14px; }
  .checkout-form select { padding-right: 42px; }
}

/* keep the checkout fields at their size now that the base text is larger */
.checkout-form input, .checkout-form select, .checkout-form textarea,
.contact-form input, .contact-form select, .contact-form textarea { font-size: 1.52rem; }
@media (max-width: 520px) {
  .checkout-form input, .checkout-form select, .checkout-form textarea,
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 1.41rem; }
}

/* forms: fields always fit their column; label and its "(optional)" on one line, so boxes line up */
.field-row, .checkout-form fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form label, .checkout-form label { min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea,
.checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.lbl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.45em; }
.lbl small { font-size: 0.92em; }
@media (max-width: 760px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .checkout-form fieldset { grid-template-columns: minmax(0, 1fr); } }
