/*
  Lawrence Grau Sundström — homepage study V2
  See index.html for the development note on image sourcing.
*/

:root {
  --bg: #F5F4F0;
  --ink: #161616;
  --ink-soft: #4a4642;
  --accent: #A8674C;   /* dusty terracotta / rust — primary provisional accent, DESIGN.md */
  --ochre: #C9A05C;    /* muted ochre — secondary supporting tone, DESIGN.md */
  --border: #D9D8D4;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --edge: clamp(1.25rem, 4vw, 4rem);
  --gap: clamp(1rem, 2.2vw, 2.25rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, p, figure { margin: 0; }

ul { list-style: none; margin: 0; padding: 0; }

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-family: var(--font-body);
}
.skip-link:focus {
  left: var(--edge);
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  /* Non-sticky by design: the header scrolls away with the page so it can
     never sit on top of artwork — the art stays more important than the
     nav at every scroll position, not just at the very top. */
  position: relative; /* not sticky — relative only anchors the mobile menu panel */
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.1rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav ul {
  display: flex;
  gap: clamp(1.1rem, 2vw, 2rem);
}
.primary-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  padding: 0.25rem 0.1rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.primary-nav a:hover { border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  padding: 0.4rem;
}
.nav-toggle-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Shared: section label ---------- */

.section-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: 0.01em;
}

/* ---------- Shared: art frame ----------
   Each source screenshot bundles the artwork together with Instagram's own
   UI chrome (comment panels, avatars, toast popups, letterboxing bars).
   Rather than cropping the source files, each .art-frame below is sized to
   the artwork's own natural aspect ratio within its screenshot, and its img
   is absolutely positioned/scaled (per-image values, computed from the
   source file's real pixel dimensions) so only the clean artwork region is
   ever visible. The source screenshots themselves are never modified. */

.art-frame {
  position: relative;
  overflow: hidden;
  background: #eceae4;
  border-radius: 0; /* DESIGN.md: no rounded corners on artwork */
}
.art-frame img {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  max-width: none;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) var(--edge) clamp(6rem, 11vw, 11rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 7rem);
}
.hero-copy { align-self: center; padding-bottom: clamp(0rem, 6vw, 6rem); }
.hero-kicker {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: clamp(2.5rem, 6vw, 6rem);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.8rem, 6.3vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}
.hero h1 em { font-weight: 400; }
.hero-practice {
  margin-top: clamp(2rem, 4vw, 4rem);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.hero-link, .section-link {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  width: fit-content;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}
.hero-link { margin-top: 2rem; }
.hero-link:hover, .section-link:hover { color: var(--accent); gap: 1.35rem; }
.hero-art { min-width: 0; }
.hero-art-media { position: relative; width: 100%; aspect-ratio: 2000 / 2833; }
.hero-art-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  font-size: 0.73rem;
  color: var(--ink-soft);
}
.hero-art figcaption span:first-child { font-family: var(--font-display); font-size: 0.9rem; color: var(--ink); }

/* ---------- Selected works ---------- */
.selected-works {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 var(--edge) clamp(7rem, 13vw, 13rem);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--ink);
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}
.section-heading .section-label {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 400;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 3vw, 4rem);
  align-items: start;
}
.work { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.work--pineal { grid-column: 1 / span 7; }
.work--autonomy { grid-column: 9 / span 4; margin-top: clamp(4rem, 11vw, 12rem); }
.work--conducting { grid-column: 4 / span 6; }
.work .art-frame { background: transparent; }
.work .art-frame img { position: static; width: 100%; height: auto; max-width: 100%; }
.work figcaption { display: flex; flex-direction: column; gap: 0.2rem; }
.work-title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; }
.work-meta { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.005em; }

/* ---------- Poetry ---------- */
.poetry-moment {
  background: #211e1c;
  color: #f5f1e9;
  padding: clamp(6rem, 11vw, 11rem) var(--edge);
}
.poetry-inner { max-width: 820px; margin: 0 auto; }
.poetry-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: clamp(2.5rem, 6vw, 6rem);
}
.poem {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.75vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.poem-attribution { margin-top: 2.5rem; font-size: 0.78rem; letter-spacing: 0.05em; }

/* ---------- About / Lawrence ---------- */
.about { padding: clamp(7rem, 13vw, 13rem) var(--edge); }
.about-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 8vw, 9rem);
  align-items: start;
}
.about-inner .section-label {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 400;
}
.about-text { max-width: 33ch; font-family: var(--font-display); font-size: clamp(1.5rem, 2.3vw, 2.6rem); line-height: 1.35; }

/* ---------- Studio ---------- */
.studio {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 var(--edge) clamp(7rem, 11vw, 11rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
}
.studio-art { aspect-ratio: 642.4 / 634.8; }
.studio-art img { width: 190.84%; left: -6.68%; top: -2.17%; }
.studio-caption { border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.studio-caption .section-label { font-size: clamp(2.8rem, 5vw, 5.6rem); line-height: 1; letter-spacing: -0.055em; font-weight: 400; }
.studio-text { margin-top: 1.5rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem var(--edge) 2.5rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(3.3rem, 6vw, 5.2rem); }
  .work--pineal { grid-column: 1 / span 7; }
  .work--autonomy { grid-column: 8 / span 5; margin-top: 5rem; }
  .work--conducting { grid-column: 3 / span 8; }
  .studio { grid-template-columns: 1fr 0.8fr; }
}

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 2.8rem; padding-top: 2.5rem; padding-bottom: 6rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-kicker { margin-bottom: 2.2rem; }
  .hero h1 { font-size: clamp(3.15rem, 11vw, 5.2rem); }
  .hero-practice { margin-top: 2.2rem; }
  .hero-link { margin-top: 1.5rem; }
  .hero-art { max-width: 650px; }
  .section-heading { align-items: start; flex-direction: column; gap: 1.5rem; }
  .works-grid { grid-template-columns: 1fr; row-gap: 4.5rem; }
  .work--pineal, .work--autonomy, .work--conducting { grid-column: 1; margin-top: 0; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .studio { grid-template-columns: 1fr; }
  .studio-caption { margin-top: 1rem; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0.9rem var(--edge); }
  .wordmark { font-size: 0.95rem; }
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--edge) 1.25rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0.9rem; }
  .hero-art figcaption { flex-direction: column; gap: 0.1rem; }
  .poetry-moment { padding-top: 5rem; padding-bottom: 5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ==========================================================================
   Works archive page (/works/)
   Reuses .art-frame, .work-title, .work-meta, .reveal and the shared header/
   footer/nav — no new component styling, only new layout utilities and
   per-artwork crop values following the same technique as the homepage.
   ========================================================================== */

.primary-nav a.is-active {
  border-bottom-color: var(--accent);
}

.warchive-intro {
  padding: clamp(3rem, 5vw, 5rem) var(--edge) clamp(2rem, 3vw, 3rem);
}
.warchive-intro .section-label {
  font-size: clamp(3.8rem, 8vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 400;
}

.warchive {
  padding: 0 var(--edge) clamp(5rem, 10vw, 8rem);
}


.warchive-grid > .wa-offset:first-child { margin-top: 0; }
.archive-divider {
  grid-column: 1 / -1;
  border-top: 1px solid var(--ink);
  padding-top: 1.2rem;
  margin-top: clamp(2rem, 5vw, 5rem);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.warchive-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap) var(--gap);
}

.wa-item { display: flex; flex-direction: column; gap: 1rem; }
.wa-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wa-s4 { grid-column: span 4; }
.wa-s5 { grid-column: span 5; }
.wa-s6 { grid-column: span 6; }
.wa-s7 { grid-column: span 7; }
.wa-s8 { grid-column: span 8; }
.wa-offset { margin-top: clamp(1.5rem, 4vw, 3rem); }

/* A quiet, generous "pause" moment — reserved for the two oil pieces and the
   largest-scale / exhibition-tied paper works, so the archive doesn't read as
   one unbroken grid and the oil works aren't forced into the paper treatment. */
.wa-feature {
  grid-column: 3 / span 7;
  margin: clamp(2.5rem, 6vw, 5rem) 0;
}
.wa-feature .work-title { font-size: 1.1rem; }

/* ---------- Per-artwork crops (reused from homepage, same values) ---------- */

.wa-seductive .art-frame { aspect-ratio: 650.0 / 487.2; }
.wa-seductive img { width: 192.31%; left: -8.65%; top: -22.07%; }

.wa-anouk .art-frame { aspect-ratio: 608.2 / 437.9; }
.wa-anouk img { width: 194.67%; left: -20.53%; top: -19.77%; }

.wa-tiles .art-frame { aspect-ratio: 643.5 / 707.6; }
.wa-tiles img { width: 190.51%; left: -9.83%; top: -3.42%; }

.wa-sunlit .art-frame { aspect-ratio: 517.2 / 644.9; }
.wa-sunlit img { width: 180.58%; left: -13.90%; top: -5.66%; }

.wa-yellowman .art-frame { aspect-ratio: 543.6 / 673.9; }
.wa-yellowman img { width: 176.62%; left: -5.65%; top: -3.42%; }

.wa-fete .art-frame { aspect-ratio: 496.4 / 712.6; }
.wa-fete img { width: 250.61%; left: -21.32%; top: -3.54%; }

.wa-cada .art-frame { aspect-ratio: 503.5 / 657.1; }
.wa-cada img { width: 231.18%; left: -18.72%; top: -3.42%; }

.wa-apex .art-frame { aspect-ratio: 645.4 / 686.3; }
.wa-apex img { width: 191.20%; left: -3.82%; top: -2.72%; }

.wa-formation .art-frame { aspect-ratio: 507.8 / 692.6; }
.wa-formation img { width: 213.10%; left: -13.52%; top: -3.42%; }

.wa-dichotomy .art-frame { aspect-ratio: 501.6 / 702.0; }
.wa-dichotomy img { width: 234.84%; left: -21.47%; top: -3.42%; }

/* These four works use clean master-derived photographs at their natural ratio. */
.wa-master .art-frame { aspect-ratio: auto; }
.wa-master .art-frame img { position: static; width: 100%; height: auto; max-width: 100%; }

/* ---------- Per-artwork crops (new for the Works archive) ---------- */

.wa-lemons .art-frame { aspect-ratio: 579.5 / 634.9; }
.wa-lemons img { width: 168.78%; left: -9.70%; top: -6.04%; }

.wa-choreography .art-frame { aspect-ratio: 637.8 / 673.0; }
.wa-choreography img { width: 187.51%; left: -10.63%; top: -3.91%; }

.wa-gaze .art-frame { aspect-ratio: 602.2 / 671.2; }
.wa-gaze img { width: 179.34%; left: -11.19%; top: -4.05%; }

.wa-break-free .art-frame { aspect-ratio: 491.7 / 643.6; }
.wa-break-free img { width: 248.51%; left: -16.30%; top: -4.05%; }

.wa-between-drops .art-frame { aspect-ratio: 494.0 / 687.4; }
.wa-between-drops img { width: 239.69%; left: -11.22%; top: -3.91%; }

.wa-dropping-by .art-frame { aspect-ratio: 629.9 / 436.3; }
.wa-dropping-by img { width: 204.79%; left: -10.18%; top: -32.84%; }

.wa-spheres .art-frame { aspect-ratio: 506.0 / 703.3; }
.wa-spheres img { width: 198.02%; left: -11.09%; top: -4.20%; }

.wa-existence .art-frame { aspect-ratio: 505.1 / 617.5; }
.wa-existence img { width: 203.92%; left: -10.11%; top: -3.91%; }

.wa-33 .art-frame { aspect-ratio: 501.5 / 662.3; }
.wa-33 img { width: 216.17%; left: -14.14%; top: -3.91%; }

.wa-calibrating .art-frame { aspect-ratio: 493.0 / 674.8; }
.wa-calibrating img { width: 242.60%; left: -22.27%; top: -3.91%; }

.wa-romping .art-frame { aspect-ratio: 489.4 / 674.8; }
.wa-romping img { width: 254.19%; left: -19.73%; top: -3.91%; }

.wa-tlatilcos .art-frame { aspect-ratio: 591.0 / 683.8; }
.wa-tlatilcos img { width: 195.92%; left: -7.37%; top: -3.91%; }

.wa-other-side .art-frame { aspect-ratio: 623.8 / 658.7; }
.wa-other-side img { width: 185.94%; left: -9.71%; top: -3.91%; }

.wa-inside-womb .art-frame { aspect-ratio: 637.1 / 658.7; }
.wa-inside-womb img { width: 189.93%; left: -14.34%; top: -3.91%; }

.wa-mysteries .art-frame { aspect-ratio: 638.4 / 484.6; }
.wa-mysteries img { width: 185.77%; left: -11.83%; top: -23.04%; }

.wa-thirsty .art-frame { aspect-ratio: 668.0 / 596.1; }
.wa-thirsty img { width: 189.83%; left: -12.19%; top: -5.87%; }

.wa-bitter-blue .art-frame { aspect-ratio: 673.1 / 632.9; }
.wa-bitter-blue img { width: 175.01%; left: -11.48%; top: -11.38%; }

.wa-cleaning-up .art-frame { aspect-ratio: 634.3 / 533.5; }
.wa-cleaning-up img { width: 195.50%; left: -13.78%; top: -12.50%; }

.wa-those-routines .art-frame { aspect-ratio: 504.8 / 683.8; }
.wa-those-routines img { width: 232.18%; left: -15.86%; top: -3.91%; }

.wa-four-seasons .art-frame { aspect-ratio: 606.7 / 437.3; }
.wa-four-seasons img { width: 211.64%; left: -13.02%; top: -27.58%; }

.wa-anatomy .art-frame { aspect-ratio: 514.8 / 678.8; }
.wa-anatomy img { width: 233.10%; left: -25.64%; top: -4.67%; }

/* ---------- Responsive: tablet ---------- */

@media (max-width: 980px) {
  .warchive-grid { row-gap: clamp(2.5rem, 6vw, 4rem); }
  .wa-s4, .wa-s5, .wa-s6, .wa-s7, .wa-s8 {
    grid-column: span 6;
    margin-top: 0;
  }
  .wa-feature { grid-column: span 12; margin: clamp(2rem, 5vw, 3.5rem) 0; }
}

/* ---------- Responsive: mobile ---------- */

@media (max-width: 640px) {
  .wa-s4, .wa-s5, .wa-s6, .wa-s7, .wa-s8, .wa-feature {
    grid-column: span 12;
    margin-top: 0;
    margin-bottom: 0;
  }
  .warchive-grid { row-gap: clamp(2.5rem, 7vw, 4rem); }
  .warchive { padding-left: var(--edge); padding-right: var(--edge); }
}

/* ---------- Exhibition preview and editorial pages ---------- */
.about-link { margin-top: 2rem; }
.home-exhibitions { max-width: 1760px; margin: 0 auto; padding: 0 var(--edge) clamp(7rem, 11vw, 11rem); }
.home-exhibitions .section-label { font-size: clamp(2.8rem, 5vw, 5.6rem); line-height: 1; letter-spacing: -0.055em; font-weight: 400; }
.home-exhibition-entry { display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr) minmax(0, 0.7fr); align-items: baseline; gap: 1.5rem; }
.home-exhibition-entry p { font-size: 0.85rem; color: var(--ink-soft); }
.home-exhibition-entry h3 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4.5rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1.1; }
.editorial-intro { max-width: 1760px; margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) var(--edge) clamp(6rem, 10vw, 10rem); }
.editorial-kicker { margin-bottom: clamp(2rem, 5vw, 5rem); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.editorial-intro h1 { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 10rem); font-weight: 400; letter-spacing: -0.07em; line-height: 0.95; }
.editorial-deck { max-width: 44ch; margin-top: clamp(2rem, 4vw, 4rem); font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 2.3rem); line-height: 1.35; }
.exhibition-feature { background: #211e1c; color: #f5f1e9; padding: clamp(3rem, 6vw, 6rem) var(--edge); }
.exhibition-feature-inner { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 0.65fr 1.3fr 0.7fr; align-items: end; gap: 2rem; }
.feature-year, .feature-date { font-size: 0.82rem; letter-spacing: 0.03em; }
.exhibition-feature h2 { font-family: var(--font-display); font-size: clamp(3.8rem, 8vw, 9rem); font-weight: 400; letter-spacing: -0.07em; line-height: 1; }
.exhibition-feature h2 + p { margin-top: 1rem; font-size: 0.9rem; }
.exhibition-history { max-width: 1760px; margin: 0 auto; padding: clamp(6rem, 10vw, 10rem) var(--edge) 0; }
.exhibition-history:last-child { padding-bottom: clamp(8rem, 12vw, 12rem); }
.history-heading { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 4.8rem); font-weight: 400; letter-spacing: -0.055em; line-height: 1.05; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.history-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.history-list li { display: grid; grid-template-columns: minmax(4rem, 0.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); padding: 1.4rem 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.history-year { font-size: 0.83rem; color: var(--ink-soft); }
.history-title { font-family: var(--font-display); font-size: clamp(1.2rem, 1.7vw, 1.8rem); line-height: 1.2; }
.history-place { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.profile-section { max-width: 1760px; margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) var(--edge); border-top: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 7rem); }
.profile-heading { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 5.4rem); font-weight: 400; letter-spacing: -0.055em; line-height: 1; }
.profile-copy { max-width: 68ch; }
.profile-copy p { font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.65; margin-bottom: 1.4rem; }
.profile-copy p:last-child { margin-bottom: 0; }
.profile-records { border-top: 1px solid var(--ink); }
.profile-record { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.profile-record > span { font-size: 0.8rem; color: var(--ink-soft); }
.profile-record h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 1.7vw, 1.8rem); font-weight: 400; line-height: 1.2; }
.profile-record p { margin-top: 0.45rem; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
.profile-next { max-width: 1760px; margin: 0 auto; padding: 1rem var(--edge) clamp(7rem, 11vw, 11rem); }
@media (max-width: 800px) {
  .exhibition-feature-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .history-list li { grid-template-columns: 4rem minmax(0, 1fr); }
  .history-place { grid-column: 2; }
  .profile-section { grid-template-columns: 1fr; }
  .home-exhibition-entry { grid-template-columns: 1fr; gap: 0.75rem; }
}
@media (max-width: 640px) {
  .editorial-intro h1 { font-size: clamp(3.4rem, 12vw, 5.5rem); }
  .history-heading { font-size: clamp(2.1rem, 8vw, 3rem); }
  .history-list li { grid-template-columns: 1fr; gap: 0.35rem; }
  .history-place { grid-column: 1; }
  .profile-record { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------- Selected works gallery ---------- */
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin: -2.5rem 0 1.5rem; }
.gallery-toolbar > p { color: var(--ink-soft); font-size: 0.8rem; letter-spacing: 0.03em; }
.gallery-controls { display: flex; align-items: center; gap: 0.65rem; }
.gallery-count { min-width: 4.5rem; color: var(--ink-soft); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.gallery-arrow { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border: 1px solid var(--ink); font-size: 1.3rem; line-height: 1; transition: background-color 0.2s ease, color 0.2s ease; }
.gallery-arrow:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.gallery-arrow:disabled { opacity: 0.35; cursor: default; }
.works-gallery { --gallery-card-width: min(50vw, 600px); display: flex; gap: clamp(1.5rem, 4vw, 4rem); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--border) transparent; cursor: grab; }
.works-gallery::after { content: ""; flex: 0 0 max(0px, calc(100% - var(--gallery-card-width) - var(--edge))); }
.works-gallery.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.gallery-work { flex: 0 0 var(--gallery-card-width); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.8rem; }
.gallery-image { height: clamp(420px, 58vw, 760px); display: flex; align-items: center; justify-content: center; }
.gallery-image img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; }
.gallery-work figcaption { display: flex; flex-direction: column; gap: 0.2rem; }
@media (max-width: 700px) {
  .gallery-toolbar { margin-top: -1.5rem; }
  .works-gallery { --gallery-card-width: min(82vw, 440px); }
  .gallery-image { height: clamp(400px, 115vw, 580px); }
}

/* ---------- Contact ---------- */
.contact { max-width: 1760px; margin: 0 auto; padding: clamp(6rem, 10vw, 10rem) var(--edge); border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 9rem); }
.contact-kicker { margin-bottom: 1.4rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.contact h2 { max-width: 9ch; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.5rem, 6.5vw, 7rem); line-height: 0.95; letter-spacing: -0.065em; }
.contact-intro > p:last-child { max-width: 31ch; margin-top: 2.5rem; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.65; }
.contact-intro a { text-underline-offset: 0.2em; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-field { display: flex; flex-direction: column; gap: 0.55rem; }
.contact-field label { font-size: 0.82rem; font-weight: 500; }
.contact-field input, .contact-field textarea { width: 100%; padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; }
.contact-field textarea { resize: vertical; min-height: 8rem; }
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-bottom: 2px solid var(--accent); }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-note, .contact-status { color: var(--ink-soft); font-size: 0.82rem; line-height: 1.55; }
.contact-status a { color: var(--ink); }
.contact-submit { align-self: flex-start; display: inline-flex; align-items: center; gap: 3rem; padding: 0.85rem 1.25rem; border: 1px solid var(--ink); font-size: 0.9rem; transition: background-color 0.2s ease, color 0.2s ease; }
.contact-submit:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 800px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.5rem var(--edge) 1.25rem; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .works-gallery { scroll-behavior: auto; } }

/* Match the temporary gallery images to the verified Works-page crops. */
.gallery-work.wa-seductive { --crop-ratio: 1.3341; --crop-width: 192.31%; }
.gallery-work.wa-anouk { --crop-ratio: 1.3889; --crop-width: 194.67%; }
.gallery-work.wa-yellowman { --crop-ratio: 0.8067; --crop-width: 176.62%; }
.gallery-work.wa-spheres { --crop-ratio: 0.7195; --crop-width: 198.02%; }
.gallery-image--screenshot { --gallery-image-height: clamp(420px, 58vw, 760px); }
.gallery-image--screenshot .art-frame { width: min(100%, calc(var(--gallery-image-height) * var(--crop-ratio))); height: auto; aspect-ratio: var(--crop-ratio); flex: 0 0 auto; }
.gallery-image--screenshot .art-frame img { width: var(--crop-width); height: auto; max-width: none; max-height: none; object-fit: fill; }
@media (max-width: 700px) {
  .gallery-image--screenshot { --gallery-image-height: clamp(400px, 115vw, 580px); }
}

/* ---------- Artwork hover zoom ---------- */
.gallery-image { overflow: hidden; }
.warchive .art-frame img,
.works-gallery .gallery-image img { transition: transform 0.6s cubic-bezier(.16, 1, .3, 1); transform-origin: center center; }
@media (hover: hover) and (pointer: fine) {
  .warchive .wa-item:hover .art-frame img,
  .works-gallery:not(.is-dragging) .gallery-work:hover .gallery-image img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .warchive .art-frame img,
  .works-gallery .gallery-image img { transition: none; }
}

/* ---------- Full-screen artwork viewer ---------- */
.warchive .artwork-open { display: block; width: 100%; padding: 0; text-align: left; }
.artwork-viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); }
.artwork-viewer::backdrop { background: rgba(22, 22, 22, 0.85); }
.artwork-viewer-shell { height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 1rem; padding: clamp(1rem, 2vw, 2rem) var(--edge); }
.artwork-viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.artwork-viewer-close { padding: 0.35rem 0; border-bottom: 1px solid currentColor; font-size: 0.85rem; }
.artwork-viewer-close span { margin-left: 0.6rem; font-size: 1.2rem; line-height: 0; }
.artwork-viewer-close:hover, .artwork-viewer-arrow:hover { color: var(--accent); }
.artwork-viewer-stage { min-height: 0; display: grid; grid-template-columns: clamp(2.25rem, 4vw, 4rem) minmax(0, 1fr) clamp(2.25rem, 4vw, 4rem); align-items: center; gap: clamp(0.5rem, 2vw, 2rem); }
.artwork-viewer-arrow { align-self: center; width: 100%; min-height: 3rem; font-size: 1.5rem; }
.artwork-viewer-image { --viewer-ratio: 1; width: min(100%, calc(72dvh * var(--viewer-ratio)), 1100px); max-height: 72dvh; aspect-ratio: var(--viewer-ratio); justify-self: center; }
.artwork-viewer-image:not(.wa-master) { max-width: 760px; }
.artwork-viewer-image .art-frame { width: 100%; height: 100%; aspect-ratio: auto; }
.artwork-viewer-image.wa-master .art-frame img { width: 100%; height: 100%; object-fit: contain; }
.artwork-viewer-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.artwork-viewer-caption p:first-child { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); }
.artwork-viewer-caption p:last-child { color: var(--ink-soft); font-size: 0.8rem; }
@media (max-width: 640px) {
  .artwork-viewer-shell { gap: 0.5rem; }
  .artwork-viewer-stage { gap: 0.15rem; }
  .artwork-viewer-image { width: min(100%, calc(70dvh * var(--viewer-ratio))); max-height: 70dvh; }
  .artwork-viewer-caption { flex-direction: column; align-items: flex-start; }
}

/* ---------- Archive navigation and exhibition documentation ---------- */
.warchive-index { display: flex; flex-wrap: wrap; gap: 1rem clamp(2rem, 5vw, 5rem); max-width: 44rem; margin-top: clamp(1.5rem, 2.5vw, 2.5rem); padding-top: 1rem; border-top: 1px solid var(--ink); }
.warchive-index a { display: inline-flex; align-items: baseline; gap: 0.8rem; padding-bottom: 0.3rem; border-bottom: 1px solid transparent; text-decoration: none; font-size: 0.9rem; }
.warchive-index a:hover { border-bottom-color: var(--accent); }
.warchive-index a span { color: var(--ink-soft); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.archive-divider--first { margin-top: 0; }
.exhibition-document { max-width: 1760px; margin: 0 auto; padding: clamp(6rem, 10vw, 10rem) var(--edge) 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; gap: clamp(2.5rem, 8vw, 9rem); }
.exhibition-document-figure { min-width: 0; }
.exhibition-document-image { width: 100%; aspect-ratio: 675 / 675; overflow: hidden; background: #eceae4; }
.exhibition-document-image img { width: 182.82%; max-width: none; height: auto; }
.exhibition-document-figure figcaption { margin-top: 0.7rem; color: var(--ink-soft); font-size: 0.75rem; }
.exhibition-document-copy { padding-bottom: clamp(1rem, 5vw, 5rem); }
.exhibition-document-copy .editorial-kicker { margin-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.exhibition-document-copy h2 { max-width: 12ch; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; letter-spacing: -0.06em; line-height: 1; }
.exhibition-document-copy > p:last-child { max-width: 34ch; margin-top: 2rem; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.55; }
@media (max-width: 800px) {
  .exhibition-document { grid-template-columns: 1fr; }
  .exhibition-document-copy { padding-bottom: 0; }
}


/* Artwork-first opening: a masthead and one large work, with small side notes. */
.hero {
  display: block;
  max-width: 1760px;
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}
.hero-masthead { position: relative; }
.hero-kicker { margin-bottom: clamp(1rem, 2.4vw, 2.5rem); }
.hero h1 {
  font-size: clamp(4.6rem, 10vw, 11.5rem);
  line-height: 0.84;
  letter-spacing: -0.055em;
  word-spacing: 0.12em;
  white-space: nowrap;
}
.hero h1 em { font-weight: 400; }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3.5rem);
  align-items: end;
  margin-top: clamp(1.75rem, 3vw, 3rem);
}
.hero-copy {
  padding: 0 0 clamp(4rem, 10vw, 11rem);
  align-self: end;
}
.hero-practice { margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 2.3rem); line-height: 1.2; }
.hero-link { margin-top: 2.5rem; }
.hero-art { width: 100%; max-width: 720px; justify-self: center; }
.hero-art-media { aspect-ratio: 2000 / 2833; }
.hero-aside { padding-bottom: clamp(4rem, 10vw, 11rem); align-self: end; }
.hero-aside-label { font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-detail-link, .work-detail-link {
  display: inline-flex; align-items: center; gap: 0.8rem;
  width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 0.2rem;
  font-size: 0.85rem; text-decoration: none;
}
.hero-detail-link:hover, .work-detail-link:hover { color: var(--accent); }
.work-detail-link { margin-top: 0.45rem; }
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(3.8rem, 11vw, 7rem); }
  .hero-stage { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-top: 2rem; }
  .hero-art { grid-column: 1; grid-row: 1 / span 2; }
  .hero-copy { grid-column: 2; grid-row: 1; padding: 0; }
  .hero-aside { grid-column: 2; grid-row: 2; padding: 0; align-self: start; }
}
@media (max-width: 640px) {
  .hero { padding-top: 2rem; padding-bottom: 5rem; }
  .hero h1 { font-size: clamp(3.15rem, 11.7vw, 5.5rem); line-height: 0.91; white-space: normal; }
  .hero-stage { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2.5rem; }
  .hero-art { grid-column: 1; grid-row: 1; max-width: none; }
  .hero-copy { grid-column: 1; grid-row: 2; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
  .hero-practice { font-size: 1.1rem; }
  .hero-link { margin: 0; max-width: 11rem; }
  .hero-aside { grid-column: 1; grid-row: 3; }
  .hero-aside-label { display: none; }
}

/* Individual artwork pages. */
.artwork-page { max-width: 1760px; margin: 0 auto; padding: clamp(2rem, 4vw, 4rem) var(--edge) clamp(6rem, 10vw, 10rem); }
.artwork-back { display: inline-block; padding-bottom: 0.25rem; border-bottom: 1px solid currentColor; font-size: 0.85rem; text-decoration: none; }
.artwork-back:hover { color: var(--accent); }
.artwork-page-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.7fr); gap: clamp(2rem, 7vw, 8rem); align-items: start; margin-top: clamp(2rem, 5vw, 5rem); }
.artwork-page-image { width: 100%; max-width: 820px; justify-self: center; }
.artwork-page-image img { width: 100%; height: auto; }
.artwork-page-copy { position: sticky; top: 2rem; padding-top: 0.6rem; }
.artwork-page-kicker { margin-bottom: 1.5rem; font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase; }
.artwork-page h1 { max-width: 11ch; font-family: var(--font-display); font-size: clamp(3.2rem, 5.5vw, 7rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.04em; word-spacing: 0.08em; }
.artwork-facts { display: grid; gap: 0; margin: clamp(2rem, 4vw, 4rem) 0; border-top: 1px solid var(--ink); }
.artwork-facts div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
.artwork-facts dt { font-size: 0.78rem; color: var(--ink-soft); }
.artwork-facts dd { margin: 0; font-size: 0.9rem; }
.artwork-description { max-width: 42ch; font-size: 1rem; line-height: 1.65; }
.artwork-enquiry { display: inline-flex; gap: 2rem; margin-top: 2.5rem; padding: 0.8rem 1rem; border: 1px solid var(--ink); text-decoration: none; font-size: 0.9rem; }
.artwork-enquiry:hover { background: var(--ink); color: var(--bg); }
.artwork-contact-note { max-width: 36ch; margin-top: 0.9rem; color: var(--ink-soft); font-size: 0.8rem; }
.artwork-next { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); margin-top: clamp(4rem, 8vw, 8rem); }
.artwork-next a { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 2rem); text-decoration: none; }
.artwork-next a:hover { color: var(--accent); }
@media (max-width: 800px) {
  .artwork-page-grid { grid-template-columns: 1fr; }
  .artwork-page-copy { position: static; }
  .artwork-page h1 { max-width: none; }
}

.work-detail-link[hidden] { display: none; }


/* Collect draft: artwork led, clearly separate from a live store. */
.nav-draft { margin-left: 0.15rem; color: var(--ink-soft); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
.collect-intro { max-width: 1760px; margin: 0 auto; padding: clamp(3rem, 5vw, 5rem) var(--edge) clamp(5rem, 8vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr); grid-template-areas: "title visual" "notice visual"; gap: 2rem clamp(3rem, 8vw, 9rem); align-items: start; }
.collect-eyebrow { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; }
.collect-intro h1 { margin-top: 1.4rem; font-family: var(--font-display); font-size: clamp(6rem, 13vw, 14rem); font-weight: 400; line-height: 0.85; letter-spacing: -0.07em; }
.collect-intro-title { grid-area: title; }
.collect-intro-title > p:last-child { max-width: 22ch; margin-top: clamp(2.5rem, 5vw, 5rem); font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.9rem); line-height: 1.25; letter-spacing: -0.035em; }
.collect-intro-visual { grid-area: visual; width: 100%; align-self: start; }
.collect-intro-visual a { display: block; overflow: hidden; }
.collect-intro-visual img { width: 100%; height: clamp(500px, 46vw, 690px); object-fit: cover; object-position: center 34%; }
.collect-intro-visual figcaption { padding-top: 0.7rem; font-size: 0.76rem; color: var(--ink-soft); }
.collect-intro-visual figcaption em { font-family: var(--font-display); font-style: normal; color: var(--ink); }
.collect-notice { grid-area: notice; max-width: 43ch; padding-top: 1.1rem; border-top: 1px solid var(--ink); color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; }
.collect-notice strong { color: var(--ink); font-weight: 600; }
.collect-section { max-width: 1760px; margin: 0 auto; padding: 0 var(--edge) clamp(7rem, 12vw, 12rem); }
.collect-section-heading { display: grid; grid-template-columns: minmax(7rem, 0.4fr) minmax(0, 1.5fr) minmax(15rem, 0.65fr); gap: clamp(1rem, 4vw, 4rem); align-items: start; padding-top: 1.2rem; border-top: 1px solid var(--ink); margin-bottom: clamp(3rem, 6vw, 6rem); }
.collect-section-heading > span { color: var(--ink-soft); font-size: 0.77rem; }
.collect-section-heading h2, .collect-originals h2 { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 400; letter-spacing: -0.06em; line-height: 0.98; }
.collect-section-heading > p { max-width: 30ch; font-size: 0.95rem; line-height: 1.55; }
.collect-pair { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: clamp(2rem, 8vw, 9rem); align-items: start; }
.collect-piece { min-width: 0; }
.collect-piece--pineal { margin-top: clamp(6rem, 15vw, 16rem); }
.collect-piece-image { display: block; overflow: hidden; }
.collect-piece-image img, .collect-limited-image img { width: 100%; height: auto; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.collect-piece-image:hover img, .collect-limited-image:hover img { transform: scale(1.018); }
.collect-piece-caption { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding-top: 1rem; }
.collect-piece-number { color: var(--ink-soft); font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; }
.collect-piece-caption h3 { margin-top: 0.5rem; font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.6rem); font-weight: 400; line-height: 1.1; }
.collect-piece-caption h3 + p { margin-top: 0.45rem; color: var(--ink-soft); font-size: 0.78rem; }
.collect-piece-caption a, .collect-limited-copy a, .collect-original-actions a, .collect-teaser a { flex: 0 0 auto; padding-bottom: 0.25rem; border-bottom: 1px solid currentColor; font-size: 0.83rem; text-decoration: none; }
.collect-piece-caption a:hover, .collect-limited-copy a:hover, .collect-original-actions a:hover, .collect-teaser a:hover { color: var(--accent); }
.collect-image-note { max-width: 55ch; margin-top: clamp(2rem, 5vw, 5rem); color: var(--ink-soft); font-size: 0.8rem; }
.collect-limited { background: #211e1c; color: #f5f1e9; padding: clamp(5rem, 9vw, 9rem) var(--edge); }
.collect-limited-inner { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 10rem); align-items: center; }
.collect-limited-copy h2 { max-width: 8ch; margin: 2rem 0; font-family: var(--font-display); font-size: clamp(3.5rem, 6vw, 7rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.06em; }
.collect-limited-copy > p:not(.collect-eyebrow) { max-width: 42ch; line-height: 1.7; }
.collect-limited-copy a { display: inline-block; margin-top: 2.5rem; }
.collect-limited-image { display: block; max-width: 620px; overflow: hidden; }
.collect-originals { max-width: 1760px; margin: 0 auto; padding: clamp(7rem, 13vw, 13rem) var(--edge); display: grid; grid-template-columns: minmax(9rem, 0.45fr) minmax(0, 1.4fr); gap: clamp(2rem, 7vw, 8rem); }
.collect-originals > span { padding-top: 1rem; border-top: 1px solid var(--ink); font-size: 0.77rem; color: var(--ink-soft); }
.collect-originals > div { padding-top: 1rem; border-top: 1px solid var(--ink); }
.collect-originals p { max-width: 47ch; margin-top: 2.5rem; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65; }
.collect-original-actions { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2.5rem; }
.collect-teaser { max-width: 1760px; margin: 0 auto; padding: 1.3rem var(--edge) clamp(7rem, 13vw, 13rem); border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1.5fr) minmax(11rem, 0.5fr); gap: clamp(1rem, 4vw, 4rem); align-items: end; }
.collect-teaser > p { align-self: start; color: var(--ink-soft); font-size: 0.77rem; }
.collect-teaser h2 { max-width: 15ch; font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 5.5rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.055em; }
.collect-teaser a { justify-self: end; }
@media (max-width: 850px) {
  .collect-section-heading { grid-template-columns: 1fr 2fr; }
  .collect-section-heading > p { grid-column: 2; }
  .collect-teaser { grid-template-columns: 1fr 2fr; }
  .collect-teaser a { grid-column: 2; justify-self: start; }
}
@media (max-width: 640px) {
  .collect-intro h1 { font-size: clamp(5.5rem, 19vw, 8rem); }
  .collect-intro, .collect-section-heading, .collect-pair, .collect-limited-inner, .collect-originals, .collect-teaser { grid-template-columns: 1fr; }
  .collect-intro { grid-template-areas: "title" "visual" "notice"; gap: 2rem; }
  .collect-intro-visual img { height: auto; aspect-ratio: 1 / 1; }
  .collect-intro-title > p:last-child { margin-top: 2.5rem; }
  .collect-section-heading > p, .collect-teaser a { grid-column: 1; }
  .collect-piece--pineal { margin-top: 3rem; }
  .collect-piece-caption { align-items: start; flex-direction: column; }
  .collect-limited-image { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .collect-piece-image img, .collect-limited-image img { transition: none; }
  .collect-piece-image:hover img, .collect-limited-image:hover img { transform: none; }
}

/* Collect: a quiet, dark gallery entrance; the work remains the brightest element. */
.collect-intro-shell { background: #211e1c; color: #f5f1e9; }
.collect-intro { padding-top: clamp(4rem, 6vw, 6.5rem); padding-bottom: clamp(5rem, 8vw, 8rem); }
.collect-intro-title { padding-top: 1rem; border-top: 1px solid #807973; }
.collect-intro .collect-eyebrow { color: #d5cec7; }
.collect-intro h1 { font-size: clamp(6rem, 11vw, 11.5rem); }
.collect-intro-title > p:last-child { max-width: 24ch; margin-top: clamp(2.5rem, 5vw, 5rem); font-size: clamp(1.6rem, 2.35vw, 2.55rem); }
.collect-intro-visual img { height: clamp(520px, 47vw, 720px); }
.collect-intro-visual figcaption { color: #d5cec7; }
.collect-intro-visual figcaption em { color: #f5f1e9; }
.collect-notice { border-top-color: #807973; color: #d5cec7; }
.collect-notice strong { color: #f5f1e9; }
.collect-open { padding-top: clamp(5rem, 8vw, 8rem); }
@media (max-width: 640px) {
  .collect-intro h1 { font-size: clamp(5.25rem, 18vw, 8rem); }
  .collect-intro-visual img { height: auto; aspect-ratio: 1 / 1; }
  .collect-open { padding-top: 5rem; }
}

/* Home: give the artwork the first view, with the name as its quiet counterpart. */
@media (min-width: 901px) {
  .hero { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr auto; gap: 1.5rem clamp(2rem, 5vw, 6rem); align-items: start; padding-top: clamp(3rem, 5vw, 5rem); }
  .hero-masthead { grid-column: 1; grid-row: 1; min-width: 0; padding-top: 1.15rem; border-top: 1px solid var(--ink); }
  .hero-kicker { margin-bottom: clamp(2rem, 4vw, 4rem); }
  .hero h1 { font-size: clamp(4.5rem, 6.2vw, 7.5rem); line-height: 0.93; white-space: normal; }
  .hero-stage { display: contents; }
  .hero-art { grid-column: 2; grid-row: 1 / 4; max-width: 650px; justify-self: end; }
  .hero-art-media { width: 100%; height: clamp(620px, 79dvh, 820px); aspect-ratio: auto; }
  .hero-copy { grid-column: 1; grid-row: 2; align-self: center; padding: 0; }
  .hero-aside { grid-column: 1; grid-row: 3; align-self: end; padding: 0; }
  .hero-practice { font-size: clamp(1.1rem, 1.6vw, 1.6rem); }
  .hero-link { margin-top: 1.5rem; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .hero h1 { font-size: clamp(3.8rem, 9vw, 6.5rem); }
}

/* Works: a composed threshold before the open, light archive. */
.warchive-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); gap: 1rem clamp(3rem, 8vw, 9rem); align-items: end; padding-top: clamp(3rem, 5vw, 5rem); padding-bottom: clamp(2.5rem, 4vw, 4rem); background: #211e1c; color: #f5f1e9; }
.warchive-intro .section-label { font-size: clamp(5rem, 10vw, 10rem); }
.warchive-lead { max-width: 21ch; padding-bottom: 0.45rem; font-family: var(--font-display); font-size: clamp(1.5rem, 2.3vw, 2.5rem); line-height: 1.25; letter-spacing: -0.025em; }
.warchive-index { grid-column: 1 / -1; max-width: none; margin-top: clamp(2rem, 4vw, 4rem); padding-top: 1.1rem; border-top-color: #807973; }
.warchive-index a { color: #f5f1e9; }
.warchive-index a span { color: #d5cec7; }
.warchive-index a:hover { border-bottom-color: #f5f1e9; }
.warchive { padding-top: clamp(2rem, 4vw, 4rem); }
@media (max-width: 640px) {
  .warchive-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .warchive-intro .section-label { font-size: clamp(5rem, 17vw, 8rem); }
  .warchive-lead { max-width: 24ch; }
  .warchive-index { grid-column: 1; margin-top: 0.5rem; }
}

/* Give the four photographed works the presence of individual gallery labels. */
.warchive .wa-master figcaption { padding-top: 0.9rem; border-top: 1px solid var(--border); }
.warchive .wa-master .work-title { font-size: clamp(1.45rem, 1.9vw, 2rem); font-weight: 400; line-height: 1.18; }
.warchive .wa-master .work-meta { margin-top: 0.25rem; }
.warchive .wa-master .work-detail-link { margin-top: 0.8rem; }

/* Home: one artwork action, four consistent photographs, quieter supporting sections. */
@media (min-width: 901px) {
  .hero { grid-template-rows: auto 1fr; }
  .hero-art { grid-row: 1 / 3; }
  .hero-aside { grid-row: 2; align-self: center; }
}
@media (max-width: 640px) {
  .hero-aside { grid-row: 2; }
}
.works-gallery { --gallery-card-width: min(62vw, 760px); }
.gallery-image { height: clamp(440px, 60vw, 780px); }
.collect-teaser { padding-bottom: clamp(4rem, 7vw, 7rem); }
.collect-teaser h2 { font-size: clamp(2.8rem, 4vw, 4.5rem); }
.about { padding-top: clamp(5rem, 8vw, 8rem); padding-bottom: clamp(5rem, 8vw, 8rem); }
.about-text { max-width: 38ch; font-size: clamp(1.35rem, 1.8vw, 2rem); }
@media (max-width: 700px) {
  .works-gallery { --gallery-card-width: min(82vw, 440px); }
  .gallery-image { height: clamp(400px, 115vw, 580px); }
}

/* Studio and Contact have their own destinations in the main navigation. */
.studio-page-intro, .contact-page-intro { max-width: 1760px; margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) var(--edge) clamp(5rem, 8vw, 8rem); }
.studio-page-intro h1, .contact-page-intro h1 { font-family: var(--font-display); font-size: clamp(5rem, 13vw, 14rem); font-weight: 400; line-height: 0.88; letter-spacing: -0.07em; }
.studio-page-intro > p:last-child { max-width: 33ch; margin: clamp(3rem, 6vw, 6rem) 0 0 auto; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.8rem); line-height: 1.3; }
.studio-page-view { max-width: 1760px; margin: 0 auto; padding: 0 var(--edge) clamp(7rem, 12vw, 12rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.65fr); gap: clamp(2rem, 7vw, 8rem); align-items: end; }
.studio-page-view .studio-art { width: 100%; }
.studio-page-caption { padding-top: 1.1rem; border-top: 1px solid var(--ink); }
.studio-page-caption > p:first-child { color: var(--ink-soft); font-size: 0.8rem; }
.studio-page-caption h2 { margin-top: 1.5rem; font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.05em; }
.studio-page-caption > p:last-child { max-width: 32ch; margin-top: 2rem; line-height: 1.65; }
.studio-page-practice { max-width: 1760px; margin: 0 auto; padding: 1.4rem var(--edge) clamp(8rem, 13vw, 13rem); border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 9rem); }
.studio-page-practice h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 400; line-height: 1; letter-spacing: -0.055em; }
.studio-page-practice p { max-width: 53ch; margin-bottom: 1.25rem; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.7; }
.studio-page-practice a { margin-top: 1.2rem; }
.contact-page-intro > div { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: clamp(3rem, 7vw, 7rem); }
.contact-page-intro > div p { max-width: 28ch; font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 3rem); line-height: 1.3; }
.contact-page-intro > div a { padding-bottom: 0.35rem; border-bottom: 1px solid currentColor; font-size: clamp(1rem, 1.3vw, 1.25rem); text-decoration: none; }
.contact-page-intro > div a:hover { color: var(--accent); }
.contact-page-form { padding-top: clamp(4rem, 7vw, 7rem); }
.contact-page-form h2 { max-width: 10ch; }
@media (max-width: 800px) {
  .studio-page-view, .studio-page-practice { grid-template-columns: 1fr; }
  .contact-page-intro > div { flex-direction: column; align-items: start; }
}


/* Bring each destination's useful content into the opening view. */
.studio-page-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem clamp(2rem, 7vw, 7rem); align-items: end; padding-top: 4rem; padding-bottom: 4rem; }
.studio-page-intro .editorial-kicker { grid-column: 1 / -1; margin-bottom: 1rem; }
.studio-page-intro h1 { grid-column: 1; }
.studio-page-intro > p:last-child { grid-column: 2; max-width: 28ch; margin: 0; }
.contact-page-intro { padding-top: 4rem; padding-bottom: 4rem; }
.contact-page-intro > div { margin-top: clamp(2rem, 4vw, 4rem); }
@media (max-width: 800px) {
  .studio-page-intro { grid-template-columns: 1fr; }
  .studio-page-intro .editorial-kicker, .studio-page-intro h1, .studio-page-intro > p:last-child { grid-column: 1; }
  .studio-page-intro > p:last-child { margin-top: 1rem; }
}

/* Gallery-scale presentation for the four photographed works and their detail pages. */
.warchive-intro {
  padding-top: clamp(2.5rem, 3.5vw, 4rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}
.warchive-intro .section-label { font-size: clamp(4.2rem, 6vw, 6.5rem); }
.warchive-lead { max-width: 24ch; font-size: clamp(1.2rem, 1.65vw, 1.7rem); }
.warchive-index { margin-top: clamp(1rem, 2vw, 2rem); }
.warchive { max-width: 1760px; margin: 0 auto; padding-top: clamp(2.5rem, 4vw, 4rem); }
.warchive-grid { row-gap: clamp(3.5rem, 6vw, 6rem); }
.warchive .archive-divider--first {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}
.warchive .wa-master { margin-top: 0; margin-bottom: clamp(3rem, 6vw, 6rem); }
.warchive .wa-master figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 2rem;
  align-items: end;
}
.warchive .wa-master .work-title { grid-column: 1; }
.warchive .wa-master .work-meta { grid-column: 1; }
.warchive .wa-master .work-detail-link {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  align-self: end;
}
.warchive .archive-divider:not(.archive-divider--first) { margin-top: clamp(2rem, 4vw, 4rem); }
@media (min-width: 981px) {
  .warchive .wa-pineal { grid-column: 2 / span 7; }
  .warchive .wa-autonomy { grid-column: 6 / span 6; }
  .warchive .wa-fountain { grid-column: 2 / span 8; }
  .warchive .wa-conducting { grid-column: 5 / span 7; }
}
@media (min-width: 641px) and (max-width: 980px) {
  .warchive .wa-master { grid-column: 2 / span 10; }
}
@media (max-width: 640px) {
  .warchive-intro .section-label { font-size: clamp(4.2rem, 15vw, 6rem); }
  .warchive .wa-master { grid-column: 1 / -1; margin-bottom: 2rem; }
  .warchive .wa-master figcaption { grid-template-columns: 1fr; }
  .warchive .wa-master .work-detail-link { grid-column: 1; grid-row: auto; margin-top: 0.5rem; justify-self: start; }
}

.artwork-page { padding-top: clamp(1.5rem, 3vw, 3rem); }
.artwork-page-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  margin-top: clamp(2rem, 3vw, 3.5rem);
}
.artwork-page-image { max-width: 940px; }
.artwork-page-copy {
  position: static;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.75fr);
  gap: 0.9rem clamp(3rem, 8vw, 9rem);
  align-items: start;
}
.artwork-page-kicker { grid-column: 1; margin: 0; }
.artwork-page h1 {
  grid-column: 1;
  max-width: 13ch;
  font-size: clamp(3.2rem, 5.2vw, 6.5rem);
}
.artwork-facts {
  grid-column: 2;
  grid-row: 1 / span 4;
  margin: 0;
  border-top: 0;
}
.artwork-enquiry {
  grid-column: 1;
  justify-self: start;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 0 0 0.35rem;
  border: 0;
  border-bottom: 1px solid currentColor;
}
.artwork-enquiry:hover { background: transparent; color: var(--accent); }
.artwork-contact-note { grid-column: 1; margin-top: 0; }
@media (max-width: 800px) {
  .artwork-page-copy { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .artwork-page-kicker, .artwork-page h1, .artwork-facts, .artwork-enquiry, .artwork-contact-note {
    grid-column: 1;
    grid-row: auto;
  }
  .artwork-facts { margin-top: 1rem; border-top: 1px solid var(--ink); }
  .artwork-enquiry { margin-top: 1rem; }
}

/* Homepage gallery wall: the changing artwork carries the opening. */
@media (min-width: 1101px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.15fr) minmax(0, 0.55fr);
    grid-template-rows: auto;
    gap: clamp(1.5rem, 3.5vw, 4rem);
    align-items: start;
    padding-top: clamp(2.5rem, 4vw, 4.5rem);
    padding-bottom: clamp(5rem, 8vw, 8rem);
  }
  .hero-masthead {
    grid-column: 1;
    grid-row: 1;
    padding-top: 1.1rem;
    border-top: 1px solid var(--ink);
  }
  .hero-kicker { margin-bottom: clamp(1.25rem, 2.5vw, 2.5rem); }
  .hero h1 {
    font-size: clamp(2.6rem, 3.1vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
    word-spacing: normal;
    white-space: normal;
  }
  .hero-stage { display: contents; }
  .hero-art {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 780px;
    justify-self: center;
  }
  .hero-art-media { width: 100%; height: auto; }
  .hero-aside {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    padding: 1rem 0 2rem;
    border-top: 1px solid var(--ink);
  }
}
@media (max-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding-top: 2rem;
    padding-bottom: clamp(4rem, 8vw, 6rem);
  }
  .hero-masthead {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0.9rem;
    border-top: 1px solid var(--ink);
  }
  .hero-kicker { margin-bottom: 0.8rem; }
  .hero h1 {
    font-size: clamp(2.9rem, 5.4vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    word-spacing: normal;
    white-space: normal;
  }
  .hero-stage { display: contents; }
  .hero-art {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 700px;
    justify-self: center;
  }
  .hero-art-media { width: 100%; height: auto; }
  .hero-aside {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    align-self: start;
    padding: 0;
  }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.85rem, 11vw, 4.2rem); }
  .hero-art { max-width: none; }
}
.hero-art-media img { object-fit: contain; }
.selected-works .section-heading { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.selected-works .section-heading .section-label { font-size: clamp(2.4rem, 3.8vw, 4.2rem); }
.gallery-toolbar { margin-top: 0; }
.works-gallery { --gallery-card-width: min(76vw, 860px); gap: clamp(2rem, 5vw, 6rem); }
.gallery-image { height: clamp(520px, 67vw, 900px); }
@media (max-width: 700px) {
  .gallery-toolbar { margin-top: 0; }
  .works-gallery { --gallery-card-width: min(84vw, 440px); }
  .gallery-image { height: clamp(400px, 115vw, 580px); }
}


/* The fixed opening photograph keeps its complete natural proportions. */
.hero-art-media { aspect-ratio: 2000 / 2943; }

/* Former-site archive and writing */
.warchive .wa-legacy .art-frame { aspect-ratio: auto; background: transparent; overflow: visible; }
.warchive .wa-legacy .art-frame img { position: static; width: 100%; max-width: 100%; height: auto; transform: none; }
.warchive .wa-legacy:hover .art-frame img { transform: scale(1.012); }
.writing-page { max-width: 1760px; margin: 0 auto; padding: 0 var(--edge) clamp(8rem, 15vw, 15rem); }
.writing-intro { padding: clamp(5rem, 9vw, 9rem) 0 clamp(5rem, 9vw, 9rem); border-bottom: 1px solid var(--border); }
.writing-intro h1 { font-family: var(--font-display); font-size: clamp(5rem, 11vw, 12rem); font-weight: 400; line-height: .9; letter-spacing: -.065em; }
.writing-poem { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding-top: clamp(3rem, 7vw, 7rem); }
.writing-index, .writing-source { color: var(--ink-soft); font-size: .82rem; }
.writing-poem h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.04em; }
.writing-poem h2 + p { max-width: 42ch; margin-top: 3rem; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.75; }
.writing-source { margin-top: 3rem; }
@media (max-width: 700px) { .writing-poem { grid-template-columns: 1fr; gap: 2rem; } }

/* Dark gallery preview: charcoal ground, warm white type, unaltered artwork. */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101011;
  --ink: #f2f0ec;
  --ink-soft: #c3beb7;
  --accent: #d2a58d;
  --ochre: #d5ad76;
  --border: #494745;
}
html[data-theme="dark"] .art-frame,
html[data-theme="dark"] .exhibition-document-image { background: #252424; }
html[data-theme="dark"] .warchive-intro,
html[data-theme="dark"] .collect-intro-shell,
html[data-theme="dark"] .collect-limited,
html[data-theme="dark"] .exhibition-feature,
html[data-theme="dark"] .about-dark { background: #1b1a1a; color: var(--ink); }
html[data-theme="dark"] .warchive-index a,
html[data-theme="dark"] .collect-intro-visual figcaption em,
html[data-theme="dark"] .collect-notice strong { color: var(--ink); }
html[data-theme="dark"] .warchive-index a span,
html[data-theme="dark"] .collect-intro .collect-eyebrow,
html[data-theme="dark"] .collect-intro-visual figcaption,
html[data-theme="dark"] .collect-notice { color: var(--ink-soft); }
html[data-theme="dark"] .warchive-index,
html[data-theme="dark"] .collect-intro-title,
html[data-theme="dark"] .collect-notice { border-color: var(--border); }
html[data-theme="dark"] .artwork-viewer::backdrop { background: rgba(0, 0, 0, .92); }
.theme-preview-toggle { padding: .2rem 0; border-bottom: 1px solid currentColor; font-size: .75rem; letter-spacing: .03em; white-space: nowrap; }
.theme-preview-toggle:hover { color: var(--accent); }

/* Calm two-column browsing for the full archive. */
@media (min-width: 701px) {
  .warchive .wa-item:not(.wa-master) { grid-column: span 6; margin-top: 0; }
}
@media (max-width: 700px) {
  .warchive .wa-item:not(.wa-master) { grid-column: 1 / -1; margin-top: 0; }
}
.artwork-viewer-image.wa-legacy .art-frame { background: transparent; }
.artwork-viewer-image.wa-legacy .art-frame img { position: static; width: 100%; max-width: 100%; height: 100%; object-fit: contain; transform: none; }

.writing-poem + .writing-poem { margin-top: clamp(5rem, 10vw, 10rem); padding-top: clamp(3rem, 7vw, 7rem); border-top: 1px solid var(--border); }
.poem-full-link { display: inline-block; margin-top: 1.8rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor; font-size: .82rem; text-decoration: none; }
.poem-full-link:hover { color: var(--accent); }

/* Works series filters */
.work-filters { grid-column: 1 / -1; margin-top: clamp(1.5rem, 3vw, 3rem); padding-top: 1rem; border-top: 1px solid var(--border); }
.work-filter-label { margin-bottom: 1.25rem; color: var(--ink-soft); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.work-filter-options { display: flex; flex-wrap: wrap; gap: .75rem clamp(1.4rem, 3vw, 3rem); align-items: center; }
.work-filter-options button { padding: .2rem 0 .4rem; border-bottom: 1px solid transparent; font-size: .88rem; text-align: left; transition: border-color .2s ease, color .2s ease; }
.work-filter-options button:hover, .work-filter-options button[aria-pressed="true"] { border-bottom-color: currentColor; }
.work-filter-options button[aria-pressed="true"] { color: var(--ink); }
.work-filter-options button:not([aria-pressed="true"]) { color: var(--ink-soft); }
.work-filter-options button span { margin-left: .3rem; font-size: .7rem; font-variant-numeric: tabular-nums; }
.work-filter-status { margin-top: 1.25rem; color: var(--ink-soft); font-size: .75rem; }
.warchive .wa-item[hidden], .works-filtered .warchive .archive-divider { display: none !important; }
@media (max-width: 640px) {
  .work-filter-options { gap: .55rem 1.1rem; }
  .work-filter-options button { font-size: .82rem; }
}
