/* Plovdiv Art — contemporary white-cube gallery */
:root {
  --white: #FFFFFF;
  --off: #F7F7F5;
  --black: #0A0A0A;
  --accent: #E23D28;
  --muted: #6B6B6B;
  --line: #E6E6E4;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Fraunces", serif;
  --space: clamp(1.25rem, 4vw, 3.5rem);
  --space-y: clamp(4rem, 12vw, 9rem);
  --max: 1280px;
  --rhythm: 1.15rem;
  --focus: 2px solid var(--black);
  --focus-offset: 3px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(10, 10, 10, 0.035), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(10, 10, 10, 0.03), transparent 50%),
    var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.exhibit-card:focus-visible,
.strip-card:focus-visible {
  outline: var(--focus);
  outline-offset: var(--focus-offset);
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* Cursor accent line */
.cursor-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 10, 10, 0.14) 20%,
    rgba(10, 10, 10, 0.22) 50%,
    rgba(10, 10, 10, 0.14) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.35s var(--ease-soft);
  will-change: left;
}

.cursor-line.is-active {
  opacity: 1;
}

@media (hover: none), (max-width: 900px) {
  .cursor-line {
    display: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.05rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo span {
  font-weight: 400;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--black);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.nav-toggle:hover {
  background: var(--black);
  color: var(--white);
}

.nav-list {
  display: flex;
  gap: 1.85rem;
  align-items: center;
}

.nav-list a {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a:hover {
  text-decoration: none;
}

/* Main */
main {
  flex: 1;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal--slow {
  transform: translateY(3.5rem) scale(0.985);
}

.reveal--slow.is-in {
  transform: translateY(0) scale(1);
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}

.hero.is-ready .hero__media img {
  transform: scale(1);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.78) 0%,
    rgba(10, 10, 10, 0.28) 42%,
    rgba(10, 10, 10, 0.12) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: var(--space);
  padding-bottom: clamp(3rem, 9vh, 5.5rem);
}

.hero__brand {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(3.25rem, 11vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin-bottom: 1.15rem;
  max-width: 10ch;
}

.hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 28ch;
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.hero__content > * {
  opacity: 0;
  transform: translateY(1.5rem);
  animation: heroIn 1s var(--ease-out) both;
}

.hero__content > *:nth-child(1) { animation-delay: 0.15s; }
.hero__content > *:nth-child(2) { animation-delay: 0.32s; }
.hero__content > *:nth-child(3) { animation-delay: 0.48s; }

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.55rem;
  border: 1px solid currentColor;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), transform 0.25s;
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--light:hover {
  background: var(--white);
  color: var(--black);
}

.btn--dark {
  color: var(--black);
  border-color: var(--black);
}

.btn--dark:hover {
  background: var(--black);
  color: var(--white);
}

/* Sections */
.section {
  padding: var(--space-y) 0;
}

.section--tight {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.section--flush {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 0;
}

.section__head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 52ch;
}

.section__label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.section__text {
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Now badge — only accent use */
.badge-now {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

/* Horizontal scroll strip — home */
.strip-section {
  padding: clamp(2rem, 6vw, 4rem) 0 var(--space-y);
}

.strip-section .section__head {
  padding: 0 var(--space);
  max-width: calc(var(--max) + var(--space) * 2);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.gallery-strip {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space);
  padding: 0.25rem var(--space) 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.gallery-strip::-webkit-scrollbar {
  height: 3px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: var(--black);
}

.strip-card {
  flex: 0 0 min(78vw, 420px);
  scroll-snap-align: start;
  border: none;
  background: none;
  text-align: left;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

@media (min-width: 900px) {
  .strip-card {
    flex-basis: min(38vw, 460px);
  }
}

.strip-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.15rem;
  background: var(--off);
}

.strip-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 0.85s var(--ease-out),
    transform 1s var(--ease-out);
}

.strip-card.is-in .strip-card__media img,
.strip-card:hover .strip-card__media img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.strip-card:hover .strip-card__media img {
  transform: scale(1.04);
}

.strip-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.strip-card__meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.strip-hint {
  padding: 0 var(--space);
  max-width: calc(var(--max) + var(--space) * 2);
  margin: 0.5rem auto 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Exhibition grid */
.exhibit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 720px) {
  .exhibit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .exhibit-grid--stack .exhibit-card:nth-child(odd) {
    margin-top: 0;
  }

  .exhibit-grid--stack .exhibit-card:nth-child(even) {
    margin-top: clamp(2rem, 6vw, 5rem);
  }
}

.exhibit-card {
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  padding: 0;
  display: block;
  color: inherit;
}

.exhibit-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.35rem;
  background: var(--off);
  perspective: 800px;
}

.exhibit-card__media img,
.exhibit-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}

/* Wipe / clip reveal on hover */
.exhibit-card__media img {
  clip-path: inset(0 32% 0 0);
  transition:
    clip-path 0.75s var(--ease-out),
    transform 0.75s var(--ease-out),
    filter 0.75s;
  filter: grayscale(0.1);
}

.exhibit-card:hover .exhibit-card__media img,
.exhibit-card:focus-visible .exhibit-card__media img {
  clip-path: inset(0 0 0 0);
  filter: grayscale(0);
  transform: scale(1.03);
}

.exhibit-card.is-tilting .exhibit-card__media img {
  transition: transform 0.12s linear, clip-path 0.75s var(--ease-out), filter 0.75s;
}

.exhibit-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
  max-width: 12ch;
}

.exhibit-card__meta {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Opening night — dynamic feature */
.opening {
  position: relative;
  min-height: clamp(28rem, 72vh, 42rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  margin: 0;
}

.opening__media {
  position: absolute;
  inset: 0;
}

.opening__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease-out);
}

.opening.is-in .opening__media img {
  transform: scale(1);
}

.opening__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.35) 48%, rgba(10, 10, 10, 0.15) 100%),
    linear-gradient(to top, rgba(10, 10, 10, 0.55), transparent 50%);
}

.opening__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--space);
}

.opening__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.opening__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 10ch;
  margin-bottom: 1.15rem;
}

.opening__text {
  max-width: 36ch;
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

.opening__actions .btn--light {
  border-color: rgba(255, 255, 255, 0.9);
}

/* Artists */
.artist-list {
  display: grid;
  gap: 0;
}

.artist-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  padding: clamp(1.75rem, 4vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
}

.artist-row:last-child {
  border-bottom: 1px solid var(--line);
}

.artist-row:hover {
  padding-left: 0.5rem;
}

@media (min-width: 720px) {
  .artist-row {
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 2.5rem;
    align-items: baseline;
  }
}

.artist-row__name {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.artist-row__bio {
  color: var(--muted);
  max-width: 48ch;
}

/* About / content pages */
.page-hero {
  padding: clamp(3.25rem, 9vw, 6rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  max-width: 10ch;
}

.page-hero__lead {
  margin-top: 1.25rem;
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose {
  max-width: 58ch;
}

.prose p + p {
  margin-top: 1.25rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 2.75rem 0 1rem;
  letter-spacing: -0.03em;
}

.prose ul {
  margin: 1rem 0 1rem 1.25rem;
  list-style: disc;
}

.prose li + li {
  margin-top: 0.4rem;
}

.split {
  display: grid;
  gap: 2.75rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
    align-items: start;
  }
}

.split__media {
  overflow: hidden;
  background: var(--off);
}

.split__media img,
.split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: inset(0 18% 0 0);
  transition: clip-path 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.split.is-in .split__media img,
.split.is-in > div > img,
.split:hover .split__media img {
  clip-path: inset(0 0 0 0);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 3.25rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.contact-block dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-block dd {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-bottom: 1.85rem;
  letter-spacing: -0.02em;
}

.contact-block a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--black);
  background: transparent;
  padding: 0.7rem 0;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-width: 2px;
  box-shadow: 0 1px 0 0 var(--black);
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 1rem;
}

.form-success {
  display: none;
  padding: 1.5rem 0;
  font-size: 1.125rem;
}

.form-success.is-visible {
  display: block;
}

/* Lightbox — cinematic */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  display: none;
  overflow-y: auto;
  padding: var(--space);
  opacity: 0;
}

.lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s var(--ease-soft) both;
}

.lightbox__panel {
  max-width: 760px;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 80px rgba(10, 10, 10, 0.08);
}

.lightbox.is-open .lightbox__panel {
  animation: lbIn 0.55s var(--ease-out) both;
}

.lightbox__inner {
  max-width: 640px;
  width: 100%;
}

.lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.65rem 0.9rem;
  z-index: 201;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lightbox__close:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  text-decoration: none;
}

.lightbox__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0.85rem 0 0.55rem;
  max-width: 12ch;
}

.lightbox__meta {
  color: var(--muted);
  margin-bottom: 2.25rem;
  font-size: 1rem;
}

.lightbox__note-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.lightbox__note {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  max-width: 36ch;
  letter-spacing: -0.01em;
}

body.lightbox-open {
  overflow: hidden;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.25rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a {
  font-size: 0.9375rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--black);
  padding: 1.25rem var(--space);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: heroIn 0.45s var(--ease-out) both;
}

.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.cookie-banner__text {
  font-size: 0.9375rem;
  max-width: 52ch;
  color: var(--black);
}

.cookie-banner__text a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.8125rem;
}

/* Legal */
.legal-meta {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

/* CTA band */
.cta-band {
  border-top: 1px solid var(--line);
  padding: var(--space-y) 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.15rem;
  max-width: 12ch;
}

.cta-band p {
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 1.85rem;
  font-size: 1.05rem;
}

/* Mobile nav */
@media (max-width: 719px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1.15rem var(--space) 1.65rem;
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.05rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal--slow {
    opacity: 1;
    transform: none;
  }

  .exhibit-card__media img,
  .strip-card__media img,
  .split__media img,
  .split img {
    clip-path: none;
    filter: none;
  }

  .cursor-line {
    display: none;
  }
}
