/* ==========================================================================
   Veronika Mazouni (Bogusch) — Artist site
   A dark gallery. The walls recede so the paintings become the light source.
   Palette drawn from her own work: the teal of the seascape, the ember of the
   crimson canvas, on a warm near-black ground.
   ========================================================================== */

:root {
  --void: #0C0B0A;
  --wall: #131110;
  --wall-lift: #1C1917;
  --ink: #F2EDE5;
  --ink-soft: #A69D8F;
  --ink-faint: #6E665A;
  --teal: #4FB3A3;
  --teal-bright: #7FD3C5;
  --teal-dim: #1D3B37;
  --ember: #C4614A;
  --ember-dim: #3A1F1A;
  --hairline: #2A2622;
  --hairline-strong: #453E36;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Karla", -apple-system, "Segoe UI", sans-serif;
  --f-label: "DM Mono", ui-monospace, "Courier New", monospace;

  --measure: 60ch;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

/* This site commits to one visual world — a darkened gallery — in both themes.
   Every colour is painted explicitly so it holds on any host background. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--teal-dim); color: var(--teal-bright); }

img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0 0 1.15rem; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.eyebrow.muted { color: var(--ink-faint); }

/* ---------------- Navigation ---------------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem var(--gutter);
  transition: border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

/* The blurred bar is painted by a pseudo-element rather than by .site-nav
   itself. A backdrop-filter on the bar would make it the containing block for
   its own fixed-position children — which collapsed the full-screen mobile
   menu down to the height of the bar as soon as the page had been scrolled. */
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
  pointer-events: none;
}
.site-nav.is-scrolled::before {
  background: rgba(12, 11, 10, 0.86);
  backdrop-filter: blur(10px);
}
.site-nav.is-scrolled { border-bottom-color: var(--hairline); }
.brand {
  font-family: var(--f-display);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand em { font-style: italic; color: var(--teal); }

.nav-links {
  display: flex;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--teal); }

.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--void);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
    font-size: 0.95rem;
    transform: translateY(-101%);
    transition: transform 0.45s cubic-bezier(.65,.05,.36,1);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 110;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--f-label);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.35rem 0;
  }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: driftIn 2.4s cubic-bezier(.2,.7,.25,1) forwards;
}
@keyframes driftIn { to { transform: scale(1); } }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(12,11,10,0.70) 0%,
      rgba(12,11,10,0.14) 14%,
      rgba(12,11,10,0.08) 42%,
      rgba(12,11,10,0.34) 66%,
      rgba(12,11,10,0.78) 86%,
      var(--void) 100%);
}

.hero-inner {
  padding: 0 var(--gutter) clamp(3.5rem, 9vh, 6rem);
  max-width: 820px;
}
.hero-inner .eyebrow {
  margin-bottom: 1.6rem;
  color: var(--ink);
  text-shadow: 0 1px 18px rgba(12,11,10,0.9);
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}
.hero-title {
  font-size: clamp(2.7rem, 8.5vw, 6.2rem);
  line-height: 0.98;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 100;
  margin-bottom: 2rem;
  text-shadow: 0 2px 34px rgba(12,11,10,0.85), 0 1px 4px rgba(12,11,10,0.4);
  opacity: 0;
  animation: fadeUp 1.2s ease 0.75s forwards;
}
.hero-title em {
  font-style: italic;
  display: block;
  color: var(--teal-bright);
  text-shadow: 0 2px 30px rgba(12,11,10,0.5);
}
.hero-lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 2.4rem;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.05s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  padding: 0.85rem 1.7rem;
  border-radius: 2px;
  transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.3s forwards;
}
.hero-cta:hover { border-color: var(--teal); background: var(--teal-dim); color: var(--teal-bright); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- Sections ---------------- */
section { position: relative; }
.section-pad { padding: clamp(5rem, 12vw, 9rem) 0; }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head h2 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  margin-top: 0.7rem;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 60;
}
.section-head p {
  color: var(--ink-soft);
  max-width: var(--measure);
  margin-top: 1.1rem;
}

.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* Scroll reveal — slow, to match the work */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.3,1), transform 1.1s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Gallery: hung canvases with wall labels ---------------- */
.hang {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--hairline);
}
.hang:first-of-type { border-top: 0; }
.hang.flip > .hang-media { order: 2; }

@media (max-width: 900px) {
  .hang { grid-template-columns: 1fr; gap: 1.6rem; }
  .hang.flip > .hang-media { order: 0; }
}

.hang-media {
  position: relative;
  background: var(--wall);
  overflow: hidden;
}
.hang-media img {
  width: 100%;
  height: auto;
  transition: transform 1.4s cubic-bezier(.2,.7,.3,1), filter 0.8s ease;
}
.hang-media:hover img { transform: scale(1.028); }

/* a faint gallery spotlight sitting over each canvas */
.hang-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,250,240,0.07) 0%, transparent 60%);
}

/* Wall label — the museum card beside the work */
.label { max-width: 34ch; }
.label .num {
  font-family: var(--f-label);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 1rem;
}
.label h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
  margin-bottom: 0.15rem;
}
.label .medium {
  font-family: var(--f-label);
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}
.label .note {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 1.4rem;
}

.label-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline);
}
.price {
  font-family: var(--f-display);
  font-size: 1.22rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price small {
  display: block;
  font-family: var(--f-label);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

.status {
  font-family: var(--f-label);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 30px;
  white-space: nowrap;
}
.status.available { background: var(--teal-dim); color: var(--teal-bright); }
.status.sold { background: var(--ember-dim); color: var(--ember); }
.status.series { background: var(--wall-lift); color: var(--ink-soft); }

.enquire {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.enquire:hover { color: var(--teal-bright); border-bottom-color: var(--teal); }
.enquire::after { content: "→"; transition: transform 0.3s ease; }
.enquire:hover::after { transform: translateX(3px); }

@media (max-width: 900px) {
  /* The enquiry link is the whole point of the page — on touch it gets a
     full-width, thumb-sized target instead of a 22px underline. */
  .enquire {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--hairline-strong);
    border-radius: 2px;
    margin-top: 0.3rem;
  }
  .enquire:hover, .enquire:active {
    border-color: var(--teal);
    background: var(--teal-dim);
    color: var(--teal-bright);
  }
}

/* ---------------- Full-bleed quiet moment ---------------- */
.interlude {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.interlude-media { position: absolute; inset: 0; z-index: -2; }
.interlude-media img { width: 100%; height: 100%; object-fit: cover; }
.interlude-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--void) 0%, rgba(12,11,10,0.72) 30%, rgba(12,11,10,0.78) 70%, var(--void) 100%);
}
.interlude-inner {
  text-align: center;
  padding: 5rem var(--gutter);
  max-width: 760px;
}
.interlude blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  line-height: 1.3;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 90;
  color: var(--ink);
}
.interlude cite {
  display: block;
  margin-top: 2.2rem;
  font-family: var(--f-label);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------------- Story / About ---------------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .story { grid-template-columns: 1fr; } }

.story-portrait { position: relative; }
.story-portrait img { width: 100%; filter: grayscale(1) contrast(1.05); }
.story-portrait figcaption {
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-top: 0.9rem;
}

.story-copy p { color: var(--ink-soft); }
.story-copy p.lead {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
  margin-bottom: 1.6rem;
}

/* Exhibition record — a real chronology, so it is numbered by year */
.record {
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}
.record li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem;
}
.record .year {
  font-family: var(--f-label);
  font-size: 0.72rem;
  color: var(--teal);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}
.record .what { color: var(--ink-soft); }
.record .what strong { color: var(--ink); font-weight: 500; display: block; }

/* ---------------- Collaboration ---------------- */
.collab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
@media (max-width: 880px) { .collab { grid-template-columns: 1fr; } }
.collab-copy h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: 0.6rem 0 1.1rem;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 50;
}
.collab-copy p { color: var(--ink-soft); }
.collab-media img { width: 100%; }

/* ---------------- Pricing / acquire ---------------- */
.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 780px) { .formats { grid-template-columns: 1fr; } }
.format {
  background: var(--wall);
  padding: 2rem 1.75rem;
}
.format .eyebrow { margin-bottom: 1rem; }
.format .amount {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}
.format .dims {
  font-family: var(--f-label);
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}
.format p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.acquire-note {
  margin-top: 2.2rem;
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--teal);
  background: var(--wall);
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.acquire-note strong { color: var(--ink); font-weight: 500; }

/* ---------------- Questions ---------------- */
.faq { margin-top: 3rem; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink);
  transition: color 0.3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-bright); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-family: var(--f-body);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0;
  padding: 0 2.5rem 1.4rem 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.75;
  max-width: 62ch;
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--wall);
  padding: 2.2rem 1.9rem;
  text-decoration: none;
  display: block;
  transition: background 0.4s ease;
}
.contact-card:hover { background: var(--wall-lift); }
.contact-card .eyebrow { margin-bottom: 0.9rem; }
.contact-card strong {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 400;
  display: block;
  color: var(--ink);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
  word-break: break-word;
}

/* ---------------- Footer ---------------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 2.6rem 0 3.2rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a {
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links a:hover { color: var(--teal); }

/* ---------------- Legal pages ---------------- */
.legal-page { padding: 8.5rem 0 6rem; }
.legal-page h1 {
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  margin-bottom: 0.6rem;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 60;
}
.legal-page .updated {
  display: block;
  font-family: var(--f-label);
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-bottom: 3.2rem;
}
.legal-page h2 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: 2.6rem 0 0.7rem;
  letter-spacing: 0.01em;
}
.legal-page p, .legal-page li { color: var(--ink-soft); max-width: var(--measure); }
.legal-page .fill {
  background: var(--teal-dim);
  color: var(--teal-bright);
  padding: 0.08em 0.45em;
  border-radius: 3px;
  font-family: var(--f-label);
  font-size: 0.88em;
}
.legal-page a.back {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--teal);
}
.legal-page a.back:hover { color: var(--teal-bright); }

/* ==========================================================================
   Groups, tiles, detail shots and lightbox
   Several works are photographed more than once — whole, then close enough
   to read the surface. The extra shots hang under the main image like
   contact prints, and open full-size on click.
   ========================================================================== */

.group-head {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0 0 1.6rem;
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.group-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.hang + .group-head,
.grid + .group-head { margin-top: clamp(4rem, 9vw, 7rem); }

.group-note {
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: -0.7rem 0 2.6rem;
  font-size: 0.95rem;
}
.group-note em { font-style: italic; color: var(--ink); }

/* ---- zoomable image button ---- */
.zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.zoom img { width: 100%; transition: opacity 0.4s ease; }
.zoom:hover img { opacity: 0.88; }

/* ---- detail shot strip ---- */
.shots {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.55rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.shot {
  flex: 0 0 auto;
  width: 92px;
  padding: 0;
  border: 1px solid var(--hairline);
  background: var(--wall);
  cursor: zoom-in;
  transition: border-color 0.3s ease;
}
.shot:hover { border-color: var(--teal); }
.shot img { width: 100%; height: 68px; object-fit: cover; display: block; }
.shot span {
  display: block;
  padding: 0.32rem 0.2rem;
  font-family: var(--f-label);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}

/* ---- grid of smaller works ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: clamp(1.6rem, 3.5vw, 2.8rem);
}
.grid.two { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.grid.archive { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

.tile { display: flex; flex-direction: column; margin: 0; }
.tile .zoom { background: var(--wall); }
.tile .zoom img { aspect-ratio: 1 / 1; object-fit: cover; }
.grid.two .tile .zoom img { aspect-ratio: auto; }

.tile-label, .tile figcaption { padding-top: 0.9rem; }
.tile h3 {
  font-size: 1.18rem;
  margin-bottom: 0.28rem;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}
.tile .num {
  display: block;
  font-family: var(--f-label);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
}
.tile .medium {
  font-family: var(--f-label);
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.tile-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.7rem;
  border-top: 1px solid var(--hairline);
  margin-bottom: 0.6rem;
}
.tile .price { font-size: 1.05rem; }
.tile .enquire { margin-left: 0; font-size: 0.64rem; }

/* provisional titles, before Veronika has named the work */
h3.untitled { color: var(--ink-soft); font-style: italic; }

/* price shown as "on request" */
.price.ask {
  font-family: var(--f-label);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* archive: quieter, no prices */
.tile.sold .zoom img { opacity: 0.72; transition: opacity 0.45s ease; }
.tile.sold:hover .zoom img { opacity: 1; }
.tile.sold figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
.tile.sold h3 { font-size: 1rem; }
.tile.sold .medium { margin-bottom: 0.35rem; }

/* ---- lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 7, 6, 0.96);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(1rem, 4vw, 3rem);
  animation: lbIn 0.25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lb-img {
  grid-column: 2;
  max-width: 100%;
  max-height: 88vh;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}
.lb-nav {
  background: none;
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  font-size: 1.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.lb-nav:hover { border-color: var(--teal); background: var(--teal-dim); }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  background: none;
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  min-height: 44px;
}
.lb-close:hover { border-color: var(--teal); color: var(--teal-bright); }
.lb-count {
  position: absolute;
  bottom: clamp(0.8rem, 3vw, 1.8rem);
  left: 0; right: 0;
  text-align: center;
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin: 0;
}
.lightbox.single .lb-nav, .lightbox.single .lb-count { display: none; }

@media (max-width: 700px) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-img { grid-column: 1; max-height: 74vh; }
  .lb-nav { position: absolute; bottom: 3.2rem; }
  .lb-prev { left: 1.2rem; }
  .lb-next { right: 1.2rem; }
  .shot { width: 78px; }
  .shot img { height: 58px; }
}

/* ==========================================================================
   Signature work — Al Aqsa, immediately under the hero
   The largest piece she has made. It sits above the available works because
   it is the thing worth walking into the room for, sold or not.
   ========================================================================== */
.signature {
  padding: clamp(4rem, 10vw, 7.5rem) 0;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(79,179,163,0.07) 0%, transparent 60%),
    var(--wall);
  border-bottom: 1px solid var(--hairline);
}
.signature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) { .signature-inner { grid-template-columns: 1fr; } }

.signature-media .zoom img {
  width: 100%;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.signature-copy .eyebrow { margin-bottom: 1rem; }
.signature-copy h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 0.55rem;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 90;
}
.signature-copy .medium {
  font-family: var(--f-label);
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.signature-copy p { color: var(--ink-soft); max-width: 46ch; }
.signature-copy .shots { max-width: 220px; margin-bottom: 1.4rem; }

.signature-status {
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
  margin-bottom: 1.6rem;
}

/* sub-heading inside a group, for the set of four */
.group-head.sub { color: var(--ink-faint); margin-top: clamp(3.5rem, 8vw, 6rem); }
.group-head.sub::after { background: var(--hairline); }

/* the four small framed works, kept in one row where there is room */
.grid.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid.four .tile .zoom img { aspect-ratio: 21 / 27; object-fit: contain; background: var(--wall); }

/* ==========================================================================
   3D badge — for works where the relief is the subject, not a side effect
   ========================================================================== */
.badge3d {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
  font-family: var(--f-label);
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: var(--teal-dim);
  border: 1px solid rgba(79,179,163,0.35);
  border-radius: 2px;
  padding: 0.42em 0.6em 0.36em;
  cursor: help;
  translate: 0 -0.15em;
}
/* size is clamped globally below, so these only nudge the ratio */

/* ==========================================================================
   Out in the world — exhibitions, collectors, and a silent studio loop
   ========================================================================== */
.world-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start;
}
@media (max-width: 940px) {
  .world-grid { grid-template-columns: 1fr 1fr; }
  .world-film { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .world-grid { grid-template-columns: 1fr; }
}

.world-grid figure { margin: 0; }
.world-grid figcaption {
  padding-top: 0.75rem;
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.world-film video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--wall);
  border: 1px solid var(--hairline);
}

.world-shot .zoom img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--wall);
}

/* The new Al Aqsa photograph is a tall portrait — cap it so the block stays
   readable beside its text instead of running off the screen. */
.signature-media .zoom img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .signature-media .zoom img { max-height: 70vh; }
}

/* keep the badge a badge, whatever heading it sits in */
.badge3d,
.tile h3 .badge3d,
.signature-copy h2 .badge3d { font-size: clamp(0.52rem, 0.5em, 0.72rem); }

/* ==========================================================================
   Art Battle — four frames in sequence: working, halfway, finished, sold
   ========================================================================== */
.battle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 2vw, 1.4rem);
  margin-top: 1.6rem;
}
@media (max-width: 900px) { .battle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .battle-grid { grid-template-columns: 1fr; } }

.battle-grid figure { margin: 0; }
.battle-grid .zoom img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--wall);
}
.battle-grid figcaption {
  padding-top: 0.7rem;
  font-family: var(--f-label);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
}
/* the last frame is the payoff, so let it hold the accent */
.battle-grid figure:last-child figcaption { color: var(--teal); }

/* the sub-heading is reused here, outside the works section */
#world .group-head.sub { margin-top: clamp(3rem, 7vw, 5rem); }

/* ==========================================================================
   Enquiry modal — writes the email, then hands it to the visitor's mail app
   ========================================================================== */
.enquiry {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(8, 7, 6, 0.9);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  overflow-y: auto;
  animation: lbIn 0.22s ease;
}
.enquiry[hidden] { display: none; }

.enquiry-panel {
  position: relative;
  width: min(520px, 100%);
  background: var(--wall);
  border: 1px solid var(--hairline-strong);
  padding: clamp(1.7rem, 4vw, 2.6rem);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.enquiry-panel .eyebrow { margin-bottom: 0.8rem; }
.enquiry-panel h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  margin-bottom: 0.4rem;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 50;
}
.enq-work {
  font-family: var(--f-label);
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--hairline);
}

.enq-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: none;
  border: 1px solid var(--hairline-strong);
  color: var(--ink-soft);
  font-family: var(--f-label);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  min-height: 40px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.enq-close:hover { color: var(--teal-bright); border-color: var(--teal); }

.enq-field { display: block; margin-bottom: 1.1rem; }
.enq-field span {
  display: block;
  font-family: var(--f-label);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.45rem;
}
.enq-field input,
.enq-field textarea {
  width: 100%;
  background: var(--void);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 2px;
  transition: border-color 0.3s ease;
}
.enq-field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.enq-field input:focus,
.enq-field textarea:focus { outline: none; border-color: var(--teal); }
.enq-field ::placeholder { color: var(--ink-faint); }

.enq-error {
  font-size: 0.85rem;
  color: var(--ember);
  margin: -0.3rem 0 1rem;
}

.enq-send {
  width: 100%;
  min-height: 50px;
  background: var(--teal-dim);
  border: 1px solid var(--teal);
  color: var(--teal-bright);
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.enq-send:hover { background: var(--teal); color: var(--void); }

.enq-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-faint);
  margin: 1rem 0 0;
}

/* ==========================================================================
   Credentials — four plain facts, placed before anything is asked for
   ========================================================================== */
.creds {
  list-style: none;
  margin: 0 0 clamp(2.4rem, 5vw, 3.6rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 820px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .creds { grid-template-columns: 1fr; } }

.creds li {
  background: var(--void);
  padding: 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cred-what {
  font-family: var(--f-display);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.2;
}
.cred-where {
  font-family: var(--f-label);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  line-height: 1.45;
}
