/* ==========================================================================
   Renata Guzera — Art Portfolio / CV
   Design tokens: headings in Jost (free Futura-alike), body in Work Sans
   (free Avenir-alike). See /README-EDITING.md for how to swap in the
   licensed Futura/Avenir files if the client owns them.
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #ffffff;
  --color-surface: #ffffff;
  --color-text: #1c1b19;
  --color-text-muted: #6b665e;
  --color-border: #e4ddd0;
  --color-accent: #a4802f;
  --color-accent-dark: #7d611f;

  --font-heading: "Jost", "Futura", "Century Gothic", sans-serif;
  --font-body: "Work Sans", "Avenir", "Segoe UI", sans-serif;

  --nav-height: 110px;
  --max-width: 1240px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 140px;

  --transition: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  /* Basic deterrent against casual right-click/long-press saving — see
     README-EDITING.md for what this does and doesn't actually stop. */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
  line-height: 1.25;
}

h1 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 400; letter-spacing: 0.06em; }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; letter-spacing: 0.08em; color: var(--color-text-muted); }

p {
  margin: 0 0 var(--space-3);
  max-width: 68ch;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-3); }
}

/* ---------------- Skip link (accessibility) ---------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus {
  left: var(--space-3);
  top: var(--space-2);
}

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}
/* The frosted-glass look lives on a ::before layer rather than directly on
   .site-header: backdrop-filter (like transform/filter) turns its element
   into the containing block for any position:fixed descendant, which broke
   the mobile nav — it was resolving its fixed offsets against the ~76px
   header box instead of the viewport and collapsing to zero height. A
   pseudo-element can't be an ancestor of real DOM nodes, so it gets the
   blur without capturing .main-nav's fixed positioning. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  z-index: -1;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
@media (max-width: 640px) {
  .site-header__inner { padding: 0 var(--space-3); }
}
@media (max-width: 860px) {
  :root { --nav-height: 90px; }
}
@media (max-width: 400px) {
  :root { --nav-height: 76px; }
}

.logo {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo img { height: 75px; width: auto; display: block; }
@media (max-width: 860px) {
  .logo img { height: 60px; }
}
@media (max-width: 400px) {
  .logo img { height: 46px; }
}

.site-header__navrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-switch {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  flex-shrink: 0;
  transition: var(--transition);
}
.lang-switch:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  transition: var(--transition);
}
.nav-toggle span { margin: 4px 0; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent-dark);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: var(--color-bg);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    overflow-y: auto;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: var(--space-3) var(--space-4);
  }
  .main-nav a {
    display: block;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
  }
}

/* ---------------- Hero (home) ---------------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-6) 0 var(--space-5);
}
.hero__image {
  /* Sticks below the header and travels with the page while the bio text
     (the taller column) scrolls past, releasing once the text runs out. */
  position: sticky;
  top: calc(var(--nav-height) + var(--space-3));
  align-self: start;
}
.hero__image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  /* As large as possible while still showing the whole photo (plus the
     credit caption below it) on screen without scrolling. */
  max-height: calc(100vh - var(--nav-height) - var(--space-6) - var(--space-4) - 28px);
}
.photo-credit {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-align: left;
}
.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-2);
}
.hero__body p { color: var(--color-text-muted); }
.hero__body p:first-of-type {
  color: var(--color-text);
  font-size: 19px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-4) 0; }
  .hero__image { position: static; }
  .hero__image img { max-height: 70vh; }
}

/* ---------------- Page header (non-home pages) ---------------- */
.page-header {
  padding: var(--space-6) 0 var(--space-4);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-5);
}
.page-header p {
  color: var(--color-text-muted);
  font-size: 18px;
  max-width: 72ch;
}
.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.breadcrumb a { border-bottom: 1px solid var(--color-border); }
.breadcrumb a:hover { color: var(--color-accent-dark); border-color: var(--color-accent); }

/* ---------------- Crossfade slideshow (shared) ---------------- */
/* Used by both the home page Explore tiles and the page-hero banners. */
[data-slideshow] {
  position: absolute;
  inset: 0;
}
[data-slideshow] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1400ms ease;
}
[data-slideshow] img.is-active {
  opacity: 1;
}

/* ---------------- Page hero banner (Process / Featured / Photography) --- */
.page-hero {
  position: relative;
  height: 56vh;
  min-height: 380px;
  max-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-bottom: var(--space-5);
  background: var(--color-bg-alt);
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.6) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: var(--space-5);
  color: #fff;
}
.page-hero__content h1 { color: #fff; }
.page-hero__content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  max-width: 72ch;
}
@media (max-width: 640px) {
  .page-hero { height: 46vh; min-height: 320px; }
}

.page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- Prose sections ---------------- */
.prose {
  max-width: 78ch;
  color: var(--color-text);
}
.prose p { color: var(--color-text-muted); }
.prose p:first-of-type { color: var(--color-text); font-size: 18px; }
.prose ul { color: var(--color-text-muted); padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

.section {
  padding: var(--space-5) 0;
}
.section--alt {
  background: var(--color-bg-alt);
}

/* ---------------- Gallery grid ---------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.gallery--2col { grid-template-columns: repeat(2, 1fr); }
.gallery--loose { gap: var(--space-4); }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-2);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}
.gallery-item:hover figcaption,
.gallery-item:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery--free .gallery-item img { aspect-ratio: auto; }
.gallery--free { grid-auto-rows: auto; }

/* ---------------- Prints slider (Original Prints) ---------------- */
/* Full-bleed (edge-to-edge) so the 3 visible prints can run noticeably
   bigger than they could inside the standard content column; the arrows
   float on top of the images instead of taking up side columns, which
   was the other big chunk of width previously "wasted" on chrome. */
.prints-slider {
  position: relative;
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
  /* Tighter local gap (instead of the usual 24px) so the 3 visible
     prints can run bigger — this cascades into the track gap, the item
     width math, and the arrow inset below, all at once. */
  --space-3: var(--space-1);
}
.slider-viewport {
  overflow: hidden;
}
.slider-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-3);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.slider-item {
  flex: 0 0 calc((100% - 2 * var(--space-3)) / 3);
  min-width: 0;
}
.slider-item a {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.slider-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.slider-item a:hover img,
.slider-item a:focus-visible img {
  transform: scale(1.05);
}
.slider-item__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-2);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}
.slider-item a:hover .slider-item__title,
.slider-item a:focus-visible .slider-item__title {
  opacity: 1;
  transform: translateY(0);
}
/* Shared overlay-style arrow, used by this slider and the big Process
   slider — floats on top of the image rather than beside it. */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(28, 27, 25, 0.35);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
/* The SVG fills the button exactly (not inset), and the circle it draws
   (r=22.5 of a 24-radius viewBox) fills the SVG almost edge-to-edge — the
   drawn white circle IS the button's outer boundary, nothing else extends
   past it. */
.slider-nav svg { width: 42px; height: 42px; display: block; }
.slider-nav--prev { left: var(--space-3); }
.slider-nav--next { right: var(--space-3); }
/* The icon art points right; flip it for the "previous" direction instead
   of keeping a second mirrored version. */
.slider-nav--prev svg { transform: scaleX(-1); }
.slider-nav:hover:not(:disabled) {
  background: var(--color-text);
}
.slider-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .slider-item { flex-basis: calc((100% - 1 * var(--space-3)) / 2); }
}
@media (max-width: 640px) {
  .slider-nav { width: 35px; height: 35px; }
  .slider-nav svg { width: 35px; height: 35px; }
}
@media (max-width: 560px) {
  .slider-item { flex-basis: 100%; }
}

/* Utility: break an element out of its centered .container to span the
   full browser width edge-to-edge. */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------------- Big slider (The Process gallery) ---------------- */
/* One large, full-window-width image at a time, manually navigated —
   reuses the same .slider-viewport/.slider-track/.slider-nav mechanics
   as the Original Prints slider (see js/prints-slider.js), just laid
   out full-bleed with the arrows floating on top of the image instead
   of sitting beside it. */
.big-slider {
  position: relative;
  height: 78vh;
  min-height: 460px;
  max-height: 760px;
  overflow: hidden;
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
  background: var(--color-bg-alt);
}
.big-slider .slider-viewport {
  height: 100%;
}
.big-slider .slider-track {
  height: 100%;
}
.big-slider .slider-item {
  position: relative;
  flex-basis: 100%;
  height: 100%;
}
.big-slider .slider-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
/* An on-image photo credit, e.g. "Fot. Name" — sits in the corner of the
   slide rather than as a caption below it. */
.photo-credit-overlay {
  position: absolute;
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 2;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  pointer-events: none;
}
@media (max-width: 640px) {
  .big-slider { height: 56vh; min-height: 340px; }
}

/* ---------------- Thumbnail gallery (Featured — Interior Visualisations) --- */
.thumb-gallery {
  margin-top: var(--space-4);
}
.thumb-gallery__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  max-height: 720px;
  background: var(--color-bg-alt);
  margin-bottom: var(--space-3);
}
.thumb-gallery__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.thumb-gallery__link {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.thumb-gallery__link.is-active-link {
  cursor: pointer;
}
.thumb-gallery__stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  /* Full image, uncropped — this is the "full resolution" main view. */
  max-height: min(68vh, 660px);
  transition: opacity 250ms ease;
}
.thumb-gallery__thumbs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-1);
  scroll-behavior: smooth;
}
.thumb-gallery__thumbs li { flex: 0 0 auto; }
.thumb-gallery__thumbs button {
  display: block;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.55;
  transition: var(--transition);
}
.thumb-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb-gallery__thumbs button:hover {
  opacity: 0.85;
}
.thumb-gallery__thumbs button.is-active {
  opacity: 1;
  border-color: var(--color-accent);
}
@media (max-width: 640px) {
  .thumb-gallery__main { min-height: 40vh; }
  .thumb-gallery__stage { padding: var(--space-2); }
  .thumb-gallery__thumbs button { width: 64px; height: 64px; }
}

/* ---------------- Explore tiles (home page) ---------------- */
.explore-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.explore-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.explore-tile__scrim {
  /* Darkens each photo by ~20% so the plain white title text stays
     readable, with no background plate/frame behind the letters. */
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 1;
}
.explore-tile:hover .explore-tile__scrim {
  background: rgba(0, 0, 0, 0.32);
}
.explore-tile__title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 20px;
  color: #fff;
  font-size: clamp(20px, 2.6vw, 30px);
  text-align: center;
  transition: var(--transition);
}
.explore-tile:hover .explore-tile__title,
.explore-tile:focus-visible .explore-tile__title {
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .explore-tiles { grid-template-columns: 1fr; }
}

/* A single photo sized to fit entirely within one screen (viewport height),
   nothing cropped, no scrolling needed to see the whole thing. */
.full-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - var(--nav-height) - var(--space-4) - var(--space-4));
  margin: var(--space-4) auto;
}

/* Photo-only galleries (process / mockups / photography) — usually no
   caption/link, but a photo can optionally be wrapped in <a> (e.g. the
   publication link on the Photography page). */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.photo-grid a { display: block; }
.photo-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }

/* Masonry-style variant: shows each photo at its natural aspect ratio,
   nothing cropped. Used on the Featured page. */
.photo-grid--natural {
  column-count: 3;
  column-gap: var(--space-3);
  margin-top: var(--space-4);
}
.photo-grid--natural img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: var(--space-3);
  break-inside: avoid;
}
@media (max-width: 900px) { .photo-grid--natural { column-count: 2; } }
@media (max-width: 560px) { .photo-grid--natural { column-count: 1; } }

/* ---------------- Buttons / links ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--color-text);
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn--accent {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}
.btn--accent:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.text-link {
  border-bottom: 1px solid var(--color-accent);
  color: var(--color-accent-dark);
  transition: var(--transition);
}
.text-link:hover { color: var(--color-text); border-color: var(--color-text); }

/* ---------------- Artwork detail page ---------------- */
.artwork-header {
  padding: var(--space-5) 0 var(--space-3);
}
.artwork-title {
  margin-bottom: var(--space-1);
}
.artwork-meta {
  color: var(--color-text-muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.artwork-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-6);
  align-items: start;
  margin: var(--space-4) 0 var(--space-6);
}
.artwork-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.artwork-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.artwork-info {
  /* Stays in view alongside the (usually much taller) stacked photos,
     the same sticky treatment used for the photo on the home page. */
  position: sticky;
  top: calc(var(--nav-height) + var(--space-4));
}

@media (max-width: 860px) {
  .artwork-layout { grid-template-columns: 1fr; gap: var(--space-4); }
  .artwork-info { position: static; }
}

.artwork-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: var(--space-2) var(--space-4);
  list-style: none;
  padding: var(--space-3) 0;
  margin: var(--space-3) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  max-width: 560px;
}
.artwork-specs dt {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.artwork-specs dd { margin: 2px 0 0; }
@media (max-width: 480px) {
  .artwork-specs { grid-template-columns: 1fr; column-gap: 0; }
}

.artwork-nav {
  display: flex;
  justify-content: space-between;
  padding: var(--space-4) 0 var(--space-6);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-5);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.artwork-nav a { transition: var(--transition); }
.artwork-nav a:hover { color: var(--color-accent-dark); }

/* ---------------- Reference / callout box ---------------- */
.callout {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-4);
  margin: var(--space-4) 0;
  max-width: 72ch;
}
.callout p:last-child { margin-bottom: 0; }
.callout cite {
  display: block;
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* ---------------- Exhibitions / list ---------------- */
.timeline {
  list-style: none;
  margin: var(--space-3) 0;
  padding: 0;
  max-width: 78ch;
}
.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.timeline li strong { color: var(--color-text); font-weight: 500; }
@media (max-width: 480px) {
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-6);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}
.contact-details dt {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.contact-details dd { margin: 4px 0 0; font-size: 17px; }
.contact-details dd a.text-link { display: inline-block; }

.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  border-radius: 2px;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-status {
  margin-top: var(--space-2);
  font-size: 14px;
}
.form-status[data-state="success"] { color: #3d7a3d; }
.form-status[data-state="error"] { color: #a83a3a; }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-5) 0 var(--space-4);
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: 14px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
}
.site-footer a.text-link { color: var(--color-text-muted); }
.site-footer small { display: block; margin-top: var(--space-3); font-size: 12px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: var(--transition);
}
.footer-social svg { width: 19px; height: 19px; }
.footer-social:hover {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---------------- Utility ---------------- */
.mt-0 { margin-top: 0; }
.text-muted { color: var(--color-text-muted); }
.center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
