html { overflow-x: clip; }
/* ==========================================================================
   Sarle Art Gallery & Studio — stylesheet
   Color tokens and type scale carried over verbatim from the original design.
   ========================================================================== */

:root {
  --bg: #131312;
  --fg: #FAF9F6;
  --muted: #A3A3A3;
  --hairline: #2C2B28;
  --hairline-soft: rgba(250, 249, 246, 0.08);
  --dim: #57554F;
  --card-bg: #1B1B19;
  --input-border: #3A3936;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

*, *::before, *::after { box-sizing: border-box; }

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--muted); }

:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

::selection { background: var(--fg); color: var(--bg); }

/* No browser-default blue flash on tap and no stray selection on controls */
html { -webkit-tap-highlight-color: transparent; }
a, button, label, summary, [role="button"], [tabindex] { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
button, .btn, .lang-btn, .burger, .nav-link, .mobile-nav-link, .footer-nav-link,
.hp-gallery-3d, .art-ring-wrap, .lightbox { -webkit-user-select: none; user-select: none; }
a, button, label { touch-action: manipulation; }
img { -webkit-user-drag: none; }
:focus:not(:focus-visible) { outline: none; }

button { font: inherit; }

img { max-width: none; }

@keyframes sarle-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}
[data-pulse] { animation: sarle-pulse 2600ms ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-pulse] { animation: none; }
}

.wrap { max-width: 1320px; margin: 0 auto; }

/* Shared two-column grid: ratios set per-section below, collapses under 880px */
.two-col { display: grid; }
@media (max-width: 879px) {
  .two-col { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Shared type helpers ------------------------------------------------- */
.eyebrow {
  margin: 0 0 clamp(16px, 2.4vh, 26px);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.lead {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--fg);
  max-width: 40ch;
  text-wrap: pretty;
}
.lead-center { margin: clamp(20px, 3vh, 32px) auto 0; max-width: 56ch; }
.body-copy {
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}
.display-xl {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(34px, 6.1vw, 98px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.display-large {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(38px, 6vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.display-huge {
  margin: clamp(34px, 5vh, 56px) 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(38px, 6.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.display-medium {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.display-xl-center {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(34px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}
.btn-outline { background: none; border: 1px solid var(--muted); color: var(--muted); }
.btn-outline:hover { border-color: var(--fg); color: var(--fg); }

/* Skip link --------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
}
.skip-link:focus-visible { left: 0; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 56px);
  height: 72px;
  background: rgba(19, 19, 18, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 500ms ease, border-color 500ms ease;
  border-bottom: 1px solid var(--hairline-soft);
}
.site-header.is-solid {
  background: rgba(19, 19, 18, 0.72);
  border-bottom-color: var(--hairline);
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; height: 25px; width: auto; }
.brand-logo-text {
  display: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.desk-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-link {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  transition: opacity 300ms ease;
}
.nav-link:hover { opacity: 0.6; }

.desk-lang { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.lang-group {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.lang-btn {
  background: none;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.lang-btn.is-active { color: var(--fg); border-bottom-color: currentColor; }
.lang-sep { color: var(--dim); }
.mobile-foot .lang-btn, .mobile-foot .lang-sep { padding: 8px 0; }
.footer-col .lang-btn, .footer-col .lang-sep { padding: 6px 0; font-size: 10.5px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px; height: 48px;
  padding: 0 12px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger-bar { display: block; height: 1px; background: var(--fg); transition: all 350ms ease; }
.burger.is-open .burger-bar:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open .burger-bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 939px) {
  .brand-logo { display: none; }
  .brand-logo-text { display: block; }
  .desk-nav, .desk-lang { display: none; }
  .burger { display: flex; }
}

/* Mobile menu --------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  color: var(--fg);
  padding: 112px clamp(24px, 7vw, 56px) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 450ms ease, transform 450ms ease, visibility 450ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  color: var(--fg);
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.mobile-foot { display: flex; flex-direction: column; gap: 22px; }
.mobile-subscribe { height: 56px; }
.mobile-lang { font-size: 11px; color: var(--muted); }
.mobile-contact {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  line-height: 2;
  color: var(--muted);
}

/* Hero ring carousel --------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 768px) {
  .hero { height: 100vh; height: 100svh; min-height: 520px; max-height: none; }
}
/* Hero 3D gallery */
.hp-gallery-3d, .hp-gallery-3d *, .hp-gallery-3d__lightbox, .hp-gallery-3d__lightbox * { box-sizing: border-box; }
.hp-gallery-3d {
  position: absolute; inset: 0;
  background-color: #131312;
  overflow: hidden;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
.hp-gallery-3d--dragging { cursor: grabbing; }
.hp-gallery-3d__scene { width: 100%; height: 100%; position: relative; background-color: #131312; transform-style: preserve-3d; }
.hp-gallery-3d__item {
  position: absolute; top: 50%; left: 50%;
  width: 185px; aspect-ratio: 9 / 16;
  margin-top: calc(185px * 16 / 9 / -2); margin-left: -92.5px;
  border-radius: 10px; overflow: hidden;
  will-change: transform;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: box-shadow 0.25s ease;
}
.hp-gallery-3d__item:hover { box-shadow: 0 14px 44px rgba(0, 0, 0, 0.8); }
.hp-gallery-3d__item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.hp-gallery-3d__logo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 620px; height: 620px;
  z-index: 10; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hp-gallery-3d__logo-glow {
  position: absolute; width: 110%; height: 75%; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 35%, rgba(255,255,255,0) 70%);
  filter: blur(20px);
}
@keyframes hp-logo-pulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.hp-gallery-3d__logo-inner { position: relative; z-index: 2; width: 78%; height: 78%; display: flex; align-items: center; justify-content: center; padding: 8px; }
.hp-gallery-3d__logo-img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.18)) drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}
@keyframes hp-logo-fade-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
.hp-gallery-3d__lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.hp-gallery-3d__lightbox--open { opacity: 1; visibility: visible; }
.hp-gallery-3d__lb-bg { position: absolute; inset: 0; background: #131312; cursor: zoom-out; }
.hp-gallery-3d__lb-img {
  position: relative; z-index: 1;
  max-width: min(88vw, 520px); max-height: 90vh; width: auto; height: auto;
  border-radius: 10px; object-fit: contain;
  box-shadow: 0 32px 90px rgba(0,0,0,0.7);
  transform: scale(0.86);
  transition: transform 0.38s cubic-bezier(0.34, 1.45, 0.64, 1);
  pointer-events: none;
}
.hp-gallery-3d__lightbox--open .hp-gallery-3d__lb-img { transform: scale(1); }
.hp-gallery-3d__lb-close {
  position: absolute; top: 18px; right: 20px; z-index: 2;
  width: 42px; height: 42px; border: none;
  background: rgba(255,255,255,0.12); border-radius: 50%; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hp-gallery-3d__lb-close:hover { background: rgba(255,255,255,0.24); transform: rotate(90deg); }
@media (max-width: 960px) {
  .hp-gallery-3d__item { width: 140px; margin-top: calc(140px * 16 / 9 / -2); margin-left: -70px; }
  .hp-gallery-3d__logo { width: 300px; height: 300px; }
}
@media (max-width: 640px) {
  .hp-gallery-3d__item { width: 24vh; width: 24svh; max-width: 175px; }
  .hp-gallery-3d__logo { width: min(64vw, 260px); height: min(64vw, 260px); }
  .hp-gallery-3d__lb-img { max-width: 94vw; border-radius: 8px; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(19, 19, 18, 0.55) 0%, rgba(19, 19, 18, 0) 22%, rgba(19, 19, 18, 0) 60%, rgba(19, 19, 18, 0.95) 100%);
}
.hero-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-hint-arrow {
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  animation: hero-hint-bob 2s ease-in-out infinite;
}
@keyframes hero-hint-bob { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(4px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .hero-hint-arrow { animation: none; } }

/* Intro slider ------------------------------------------------------------ */
.intro {
  position: relative;
  min-height: clamp(540px, 76vh, 860px);
  overflow: hidden;
  background: var(--bg);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 759px) { .slide-img--kos { object-position: 78% 50%; } }
.slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #131312 0%, rgba(19, 19, 18, 0.78) 24%, rgba(19, 19, 18, 0.42) 55%, rgba(19, 19, 18, 0.94) 100%);
}
.slide-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(90px, 16vh, 190px);
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(19, 19, 18, 0) 0%, rgba(19, 19, 18, 0.72) 58%, #131312 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 55%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 55%);
}
.slide-pad {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(96px, 11vh, 124px) clamp(18px, 4vw, 56px) 104px;
}
@media (min-width: 900px) {
  .slide-pad {
    padding-left: clamp(104px, 8vw, 150px);
    padding-right: clamp(104px, 8vw, 150px);
    padding-bottom: clamp(72px, 10vh, 110px);
  }
}
/* The final design pins the intro copy to a single column at every width. */
.slide-grid {
  max-width: 900px;
  margin: 0 auto 0 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}
.slide-copy { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 32px); padding-bottom: 6px; }
.slide-dates {
  margin: clamp(18px, 2.6vh, 30px) 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--fg);
}
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.slide-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  line-height: 1;
}
.slide-arrow-prev { left: clamp(10px, 2.5vw, 34px); }
.slide-arrow-next { right: clamp(10px, 2.5vw, 34px); }
@media (max-width: 899px) {
  .slide-arrow { top: auto; bottom: 26px; transform: none; }
  .slide-arrow-prev { left: clamp(18px, 4vw, 56px); right: auto; }
  .slide-arrow-next { left: calc(clamp(18px, 4vw, 56px) + 62px); right: auto; }
}
.slide-count {
  position: absolute;
  z-index: 6;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(26px, 4vh, 44px);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* About ------------------------------------------------------------------ */
.about { background: var(--bg); padding: clamp(80px, 12vh, 152px) clamp(18px, 4vw, 56px); }
#about .two-col { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.about-media { aspect-ratio: 4 / 5; position: sticky; top: 120px; overflow: hidden; }
@media (max-width: 879px) { .about-media { position: static; } }
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media--duo { aspect-ratio: auto; position: static; overflow: visible; display: grid; gap: clamp(12px, 1.6vw, 20px); }
.about-photo { overflow: hidden; }
.about-photo--wide { aspect-ratio: 3 / 2; }
.about-photo--tall { aspect-ratio: 4 / 5; width: 78%; justify-self: end; }
.about-photo--tall img { object-position: 50% 20%; }
.about-copy { padding-top: clamp(0px, 2vw, 26px); position: sticky; top: 120px; }
@media (max-width: 879px) {
  .about-copy { position: static; order: 2; }
  .about-media--duo { display: contents; }
  .about-photo--wide { order: 1; }
  .about-photo--tall { order: 3; width: 100%; justify-self: stretch; }
}
.about-lead {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(26px, 2.9vw, 42px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: pretty;
}
.about-body {
  margin: clamp(28px, 3.5vh, 44px) 0 0;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 54ch;
  text-wrap: pretty;
}
.map-link {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: clamp(32px, 4vh, 52px);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--input-border);
  color: var(--fg);
  transition: border-color 300ms ease;
}
.map-link:hover { border-color: var(--fg); color: var(--fg); }
.map-link-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; }
.map-link-cta { font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.about-cta { margin-top: clamp(32px, 4vh, 48px); }

/* Exhibition --------------------------------------------------------------- */
.exhibition { background: var(--bg); padding: clamp(80px, 12vh, 152px) clamp(18px, 4vw, 56px); }
.exhibition-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.live-tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1;
  color: var(--fg);
}
.pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--fg); flex: 0 0 auto; }
.exhibition-hero { margin-top: clamp(34px, 5vh, 56px); aspect-ratio: 16 / 8; overflow: hidden; }
.exhibition-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; display: block; }
@media (max-width: 759px) { .exhibition-hero img { object-position: 38% 50%; } }
.exhibition-grid.two-col { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(30px, 5vw, 88px); margin-top: clamp(34px, 5vh, 56px); }
.exhibition-cta { margin-top: clamp(20px, 3vh, 32px); display: flex; flex-wrap: wrap; gap: 14px; }
.fact-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--fg);
}
.fact-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.fact-row dt { color: var(--muted); }
.fact-row dd { margin: 0; text-align: right; }
.fact-row-last { border-bottom: 1px solid var(--hairline); }
.exhibition-grid3 { margin-top: clamp(20px, 3vh, 32px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 619px) {
  .exhibition-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exhibition-grid3 .grid3-item:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}
.grid3-item { aspect-ratio: 3 / 4; overflow: hidden; }
.grid3-item img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; top: 5px; }

/* Artists ------------------------------------------------------------------ */
.artists { background: var(--bg); padding: clamp(80px, 12vh, 152px) 0 clamp(36px, 5vh, 64px) 0; }
.artists-head.two-col {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
}
.artists .wrap { padding: 0 clamp(18px, 4vw, 56px); }
.the-tilt { display: inline-block; transform: rotate(-7deg) translateY(-0.06em); transform-origin: 80% 80%; margin-right: -0.08em; }

.artist-ring-block { margin-top: clamp(24px, 4vh, 44px); }
.art-ring-wrap {
  position: relative;
  height: clamp(400px, 52vh, 600px);
  perspective: 1500px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
.art-ring-wrap.is-dragging { cursor: grabbing; }
.art-ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.ar-item {
  position: absolute;
  top: 50%; left: 50%;
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  will-change: transform;
}
.ar-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; border-radius: 10px; pointer-events: none; }

.artist-row {
  max-width: 1320px;
  margin: clamp(22px, 3.5vh, 40px) auto 0;
  padding: 0 clamp(18px, 4vw, 56px);
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 44px);
  justify-content: center;
}
.artist-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  line-height: 1;
}
.artist-caption { flex: 1 1 auto; max-width: 640px; min-height: 190px; text-align: center; transition: opacity 350ms ease; }
.artist-role { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); transition: opacity 300ms ease; }
.artist-name { margin: 12px 0 0; font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; color: var(--fg); transition: opacity 300ms ease; }
.artist-bio { margin: 16px auto 0; font-size: 14px; line-height: 1.75; color: var(--muted); max-width: 62ch; text-wrap: pretty; transition: opacity 300ms ease; }

.artist-row.is-tight { flex-wrap: nowrap; padding: 0 14px; }
.artist-row.is-tight .artist-caption { max-width: none; min-height: 0; }
.artist-row.is-tight .artist-arrow { border: 0; background: none; width: 26px; height: 26px; border-radius: 0; }
.name-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 0; }
.artist-row.is-tight .artist-name { margin: 0; white-space: nowrap; overflow: hidden; text-align: center; }

/* Philosophy --------------------------------------------------------------- */
.philosophy { position: relative; background: var(--bg); padding: clamp(48px, 7vh, 96px) clamp(18px, 4vw, 56px) clamp(80px, 12vh, 152px); overflow: hidden; }
.philosophy-grid.two-col { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.philosophy-quote {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 5.2vw, 82px);
  line-height: 0.91;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-wrap: pretty;
}
.philosophy-media { aspect-ratio: 4 / 5; overflow: hidden; }
.philosophy-media img { width: 112%; height: 100%; object-fit: cover; display: block; will-change: transform; }

/* Newsletter --------------------------------------------------------------- */
.newsletter { background: var(--bg); padding: clamp(80px, 13vh, 168px) clamp(18px, 4vw, 56px); }
.newsletter-wrap { max-width: 1000px; margin: 0 auto; text-align: center; }
.newsletter-form { margin: clamp(34px, 5vh, 56px) auto 0; max-width: 560px; text-align: left; }
.field-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.newsletter-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.newsletter-input {
  flex: 1 1 240px;
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--input-border);
  border-radius: 0;
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: var(--fg);
  transition: border-color 250ms ease;
  text-align: left;
}
.newsletter-input:focus-visible { border-color: var(--fg); outline: none; }
.newsletter-submit { height: 54px; padding: 0 30px; font-family: Inter, sans-serif; font-size: 13.5px; }
.newsletter-help { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.newsletter-msg { margin: 14px 0 0; display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.6; color: var(--fg); }
.newsletter-msg[hidden] { display: none; }
.newsletter-msg span[aria-hidden] { font-family: 'Space Grotesk', sans-serif; font-size: 12px; }
.newsletter-msg-muted { color: var(--muted); }
.newsletter-submit:disabled { opacity: 0.5; cursor: progress; }
.newsletter-consent { margin: 16px 0 0; display: flex; align-items: flex-start; gap: 10px; text-align: left; }
.newsletter-consent input { flex: none; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--fg); cursor: pointer; }
.newsletter-consent p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.newsletter-consent label { cursor: pointer; }
.newsletter-privacy { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.newsletter-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 759px) {
  .newsletter-form { text-align: center; }
  .newsletter-row { justify-content: center; }
  .newsletter-msg { justify-content: center; }
  .newsletter-input { flex: 1 1 100%; text-align: center; }
  .newsletter-submit { width: 100%; }
}

/* Contact -------------------------------------------------------------------- */
.contact { background: var(--bg); padding: clamp(80px, 12vh, 152px) clamp(18px, 4vw, 56px); }
.contact-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.contact-grid.two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 88px); margin-top: clamp(32px, 5vh, 56px); }
.contact-map { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--hairline); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-facts { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--fg); }
.contact-fact { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--hairline); }
.contact-fact dt { font-family: 'Space Grotesk', sans-serif; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-fact dd { margin: 0; text-align: right; }
.contact-fact-last { border-bottom: 1px solid var(--hairline); }
.contact-directions { margin-top: 26px; }

/* Tight-viewport section padding (matches source's <760px behavior) --------- */
@media (max-width: 759px) {
  .about, .exhibition, .artists, .newsletter, .contact, .philosophy {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

/* Lightbox ------------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 5vw, 72px);
  background: rgba(10, 10, 9, 0.93);
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms ease, visibility 350ms;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7); }
.lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  width: 48px; height: 48px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}

/* Footer ---------------------------------------------------------------------- */
.site-footer { background: var(--bg); color: var(--fg); padding: clamp(64px, 10vh, 112px) clamp(18px, 4vw, 56px) 36px; border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
@media (max-width: 999px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 619px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-logo { display: block; height: 42px; width: auto; }
.footer-blurb { margin: 26px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--muted); max-width: 34ch; text-wrap: pretty; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-heading { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.footer-address { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--fg); }
.footer-link { font-size: 14.5px; color: var(--fg); border-bottom: 1px solid var(--hairline); align-self: flex-start; padding-bottom: 2px; }
.footer-link:hover { border-color: var(--fg); color: var(--fg); }
.footer-nav-link { font-size: 14.5px; color: var(--fg); }
.footer-bottom {
  margin-top: clamp(48px, 7vh, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.footer-bottom-link { white-space: nowrap; font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer-bottom-link-strong { color: var(--fg); }

/* Privacy policy modal ---------------------------------------------------- */
.pp-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: clamp(12px, 4vw, 48px); background: rgba(10, 10, 9, 0.82); }
.pp-modal.is-open { display: flex; }
.pp-panel { position: relative; width: 100%; max-width: 760px; max-height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg); color: var(--fg); border: 1px solid var(--hairline); padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px); }
.pp-close { position: sticky; top: 0; float: right; margin: -12px -12px 0 12px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--fg); font-size: 30px; line-height: 1; cursor: pointer; }
.pp-body h2 { margin: 0 0 8px; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.pp-body h3 { margin: 30px 0 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.pp-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.pp-body p strong { color: var(--fg); font-weight: 500; }
.pp-body .pp-date { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 0.08em; margin-bottom: 22px; }
.pp-body a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
