/* ==========================================================================
   Gasto-Rainbow Art Gallery — main stylesheet
   Palette: black, white, orange, dark grey
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --ink: #101010;
  --graphite: #171717;
  --grey: #242424;
  --grey-2: #333333;
  --mid: #8c8a86;
  --soft: #bdb9b2;
  --white: #f4f1ec;
  --pure: #ffffff;
  --orange: #ff6b1a;
  --orange-2: #ff8a3d;
  --orange-dim: rgba(255, 107, 26, .14);

  --line: rgba(244, 241, 236, .12);
  --line-strong: rgba(244, 241, 236, .24);

  --f-display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--black); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  background: var(--orange); color: var(--black); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Film grain overlay — adds texture, sits above everything, ignores clicks */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 5%); }
  80% { transform: translate(6%, 2%); }
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 180px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 110px) 0; }
.section--light { background: var(--white); color: var(--black); }
.section--light ::selection { background: var(--black); color: var(--white); }
.section--grey { background: var(--graphite); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.display {
  font-family: var(--f-display); font-weight: 700; line-height: .92;
  letter-spacing: -.035em; text-transform: uppercase;
}
.h1 { font-size: clamp(48px, 9vw, 150px); }
.h2 { font-size: clamp(40px, 6.4vw, 104px); }
.h3 { font-size: clamp(28px, 3.4vw, 52px); }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; text-transform: none; letter-spacing: -.01em; }
.accent { color: var(--orange); }
.muted { color: var(--mid); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--soft); max-width: 60ch; }
.section--light .lead { color: #4a4844; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head__title { display: grid; gap: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--black);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), transform .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--white); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--black); }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--dark { --bg: var(--black); --fg: var(--white); }
.btn--dark::before { background: var(--orange); }
.btn--block { width: 100%; }
.section--light .btn--ghost { --fg: var(--black); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.section--light .btn--ghost::before { background: var(--black); }
.section--light .btn--ghost:hover { color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { color: var(--orange); background-size: 0 1px; background-position: 100% 100%; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 500; height: var(--header-h);
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.header.is-scrolled { background: rgba(10, 10, 10, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: grid; gap: 3px; font-size: 17px; text-transform: uppercase; white-space: nowrap; }
.logo__text small { font-family: var(--f-body); font-size: 9.5px; font-weight: 700; letter-spacing: .3em; color: var(--mid); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--soft);
  border-radius: 999px; transition: color .3s, background .3s;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--orange);
}
.header__cta { min-height: 44px; padding: 0 20px; font-size: 14px; }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px var(--line-strong); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 450; background: var(--black);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 40px) 38px); visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}
.nav-open .menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
.menu__list { display: grid; gap: 4px; }
.menu__link {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em;
  font-size: clamp(38px, 11vw, 64px); line-height: 1.05;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease), color .3s;
}
.menu__link small { font-family: var(--f-body); font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: .1em; }
.menu__link[aria-current="page"], .menu__link:hover { color: var(--orange); }
.nav-open .menu__link { opacity: 1; transform: none; }
.nav-open .menu__list li:nth-child(1) .menu__link { transition-delay: .25s; }
.nav-open .menu__list li:nth-child(2) .menu__link { transition-delay: .3s; }
.nav-open .menu__list li:nth-child(3) .menu__link { transition-delay: .35s; }
.nav-open .menu__list li:nth-child(4) .menu__link { transition-delay: .4s; }
.nav-open .menu__list li:nth-child(5) .menu__link { transition-delay: .45s; }
.nav-open .menu__list li:nth-child(6) .menu__link { transition-delay: .5s; }
.menu__foot { display: grid; gap: 18px; color: var(--soft); font-size: 15px; }
.menu__foot a:hover { color: var(--orange); }
.nav-open { overflow: hidden; }

/* ---------- Social icons ---------- */
.socials { display: flex; gap: 10px; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.socials a:hover { background: var(--orange); color: var(--black); box-shadow: none; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 0 32px; overflow: hidden;
}
.hero__glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: -25vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,107,26,.28), rgba(255,107,26,0) 70%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero__title { position: relative; z-index: 2; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__title .word-outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.hero__title .serif { font-size: .62em; color: var(--orange); margin-left: .1em; }
.hero__intro { display: grid; gap: 28px; margin-top: 40px; max-width: 520px; opacity: 0; transform: translateY(20px); transition: opacity .7s .15s, transform .9s .15s var(--ease); }
.is-loaded .hero__intro { opacity: 1; transform: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__art { position: relative; height: min(68vh, 640px); }
.frame {
  position: absolute; overflow: hidden; border-radius: 6px; background: var(--grey);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
  opacity: 0; transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
  will-change: transform;
}
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.is-loaded .frame { opacity: 1; }
.is-loaded .frame img { transform: scale(1); }
.frame--a { width: 58%; aspect-ratio: 4/5; right: 4%; top: 0; transition-delay: .2s; }
.frame--b { width: 42%; aspect-ratio: 1/1; left: 0; top: 34%; transition-delay: .35s; }
.frame--c { width: 36%; aspect-ratio: 3/4; right: 18%; bottom: -4%; transition-delay: .5s; }
.frame__tag {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px;
  background: rgba(10,10,10,.7); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: .04em;
}

.badge {
  position: absolute; z-index: 3; width: 140px; height: 140px; left: 34%; top: 2%;
  display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--black);
  transition: transform .5s var(--ease);
}
.badge:hover { transform: scale(1.06); }
.badge svg.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge__ring text { font-family: var(--f-body); font-size: 10.6px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; fill: var(--black); }
.badge__arrow { width: 34px; height: 34px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.badge:hover .badge__arrow { transform: rotate(0); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__bar {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--mid); font-weight: 600;
}
.hero__bar strong { color: var(--white); font-weight: 700; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue__line { position: relative; width: 56px; height: 1px; background: var(--line-strong); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0; background: var(--orange); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--orange); color: var(--black); padding: 18px 0; transform: rotate(-1.6deg) scale(1.04); margin: 20px 0; position: relative; z-index: 2; }
.marquee--flat { transform: none; margin: 0; }
.marquee--dark { background: var(--grey); color: var(--white); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 3vw, 40px); text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.marquee__item .serif { text-transform: none; font-size: 1.1em; }
.marquee__star { width: .7em; height: .7em; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement (scroll word reveal) ---------- */
.statement { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -.03em; max-width: 20ch; }
.statement .w { opacity: .5; transition: opacity .4s; }
.statement .serif .w { opacity: .75; }
.statement .w.is-on, .statement .serif .w.is-on { opacity: 1; }
.statement .serif { color: var(--orange); }
.statement-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.statement-meta { display: grid; align-content: start; gap: 20px; }
.stat { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.stat__num .accent { font-size: .6em; vertical-align: top; }
.stat__label { font-size: 13px; color: var(--mid); font-weight: 600; }

/* ---------- Horizontal featured scroller ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hscroll__track { display: flex; gap: clamp(20px, 2.4vw, 40px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hscroll__head { padding: 0 var(--gutter); margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: var(--max); width: 100%; margin-inline: auto; }
.hscroll__progress { width: 180px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.hscroll__progress span { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }

.feature-card { position: relative; flex: none; width: clamp(260px, min(30vw, (100vh - 330px) * .8), 440px); display: grid; gap: 18px; align-content: start; }
.feature-card__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4/5; background: var(--grey); }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.feature-card:hover .feature-card__media img { transform: scale(1.06); }
.feature-card__num { position: absolute; top: 14px; left: 14px; font-family: var(--f-display); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 999px; background: rgba(10,10,10,.65); backdrop-filter: blur(6px); }
.feature-card__info { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.feature-card__title { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -.02em; }
.feature-card__meta { font-size: 13px; color: var(--mid); margin-top: 6px; }
.feature-card__price { font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--orange); }
.feature-card--end { width: clamp(240px, min(26vw, (100vh - 330px) * .8), 380px); align-content: center; justify-items: start; aspect-ratio: 4/5; padding: 32px; border-radius: 6px; background: var(--orange); color: var(--black); }
.feature-card--end .display { font-size: clamp(34px, 3.4vw, 54px); }

/* ---------- Hover reveal list (categories) ---------- */
.reveal-list { border-top: 1px solid var(--line); }
.reveal-list__item { border-bottom: 1px solid var(--line); }
.reveal-list__link {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px;
  padding: clamp(20px, 3vw, 36px) 0; position: relative; transition: padding .5s var(--ease), color .4s;
}
.reveal-list__num { font-size: 13px; font-weight: 700; color: var(--mid); }
.reveal-list__name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; font-size: clamp(36px, 6.4vw, 96px); line-height: .95; transition: transform .6s var(--ease); }
.reveal-list__count { font-size: 14px; color: var(--mid); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }
.reveal-list__count svg { width: 22px; height: 22px; transition: transform .5s var(--ease), color .3s; }
.reveal-list__link:hover { color: var(--orange); }
.reveal-list__link:hover .reveal-list__name { transform: translateX(18px); }
.reveal-list__link:hover .reveal-list__count svg { transform: rotate(-45deg); color: var(--orange); }
.reveal-float {
  position: fixed; left: 0; top: 0; z-index: 60; width: 300px; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg);
  transition: opacity .35s, transform .5s var(--ease); box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.reveal-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.reveal-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Artist spotlight ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.spotlight__media { position: relative; }
.spotlight__img { border-radius: 6px; overflow: hidden; aspect-ratio: 4/5; background: #ddd; }
.spotlight__img img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__sticker {
  position: absolute; right: -24px; bottom: 40px; padding: 18px 22px; border-radius: 12px;
  background: var(--black); color: var(--white); transform: rotate(4deg); display: grid; gap: 4px; max-width: 220px;
}
.spotlight__sticker strong { font-family: var(--f-display); font-size: 20px; line-height: 1.1; }
.spotlight__sticker span { font-size: 12px; color: var(--orange); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.spotlight__body { display: grid; gap: 28px; }
.quote { font-family: var(--f-serif); font-style: italic; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -.01em; }
.quote::before { content: "“"; color: var(--orange); }
.quote::after { content: "”"; color: var(--orange); }
.quote--plain::before, .quote--plain::after { content: none; }

/* ---------- Exhibitions ---------- */
.ex-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ex-row {
  display: grid; grid-template-columns: 180px minmax(0, 1fr) 260px; gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); position: relative;
}
.ex-row__date { display: grid; gap: 4px; }
.ex-row__date strong { font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; }
.ex-row__date span { font-size: 13px; color: var(--mid); font-weight: 600; }
.ex-row__body { display: grid; gap: 10px; }
.ex-row__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 44px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.ex-row__summary { color: var(--soft); max-width: 58ch; }
.ex-row__venue { font-size: 13px; color: var(--mid); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.ex-row__venue svg { width: 14px; height: 14px; color: var(--orange); }
.ex-row__media { border-radius: 6px; overflow: hidden; aspect-ratio: 3/2; background: var(--grey); }
.ex-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ex-row:hover .ex-row__media img { transform: scale(1.06); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--orange-dim); color: var(--orange);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--current::before { animation: pulse 1.6s infinite; }
.pill--upcoming { background: rgba(244,241,236,.08); color: var(--white); }
.pill--past { background: rgba(244,241,236,.05); color: var(--mid); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Visit / map ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.visit__info { display: grid; gap: 36px; align-content: start; }
.info-block { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.section--light .info-block { border-color: rgba(0,0,0,.12); }
.info-block__label { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.info-block__value { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -.01em; }
.info-block__value a:hover { color: var(--orange); }
.hours { display: grid; gap: 6px; font-size: 16px; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.section--light .hours li { border-color: rgba(0,0,0,.12); }
.hours span:last-child { font-weight: 700; }
.map {
  position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; background: var(--grey);
  box-shadow: 0 0 0 1px var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
.section--light .map iframe { filter: grayscale(1) contrast(1.05); }
.map__pin {
  position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 12px; background: rgba(10,10,10,.85); color: var(--white); backdrop-filter: blur(10px);
}
.map__pin strong { display: block; font-family: var(--f-display); font-size: 16px; }
.map__pin span { font-size: 13px; color: var(--soft); }
.map__pin .btn { min-height: 42px; padding: 0 18px; font-size: 13px; }

/* ---------- Big CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta__title { font-size: clamp(52px, 11vw, 190px); }
.cta__title .serif { color: var(--orange); display: block; font-size: .5em; margin-bottom: .1em; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.cta__orb { position: absolute; width: 50vmax; height: 50vmax; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,107,26,.22), transparent 70%); pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__lead { display: grid; gap: 22px; align-content: start; max-width: 360px; }
.footer__lead p { color: var(--soft); }
.footer__title { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: var(--soft); transition: color .3s; }
.footer__links a:hover { color: var(--orange); }
.footer__word {
  margin-top: clamp(56px, 8vw, 100px); font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 8.4vw, 136px); line-height: .85; letter-spacing: -.055em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(244,241,236,.45); user-select: none;
  display: flex; justify-content: center;
}
.footer__word span { color: var(--orange); -webkit-text-stroke: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mid); }
.footer__bottom a:hover { color: var(--orange); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 400; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.4);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: ring 2.4s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

/* ---------- Custom cursor (desktop only) ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; box-shadow: inset 0 0 0 1px rgba(244,241,236,.5);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--black);
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, box-shadow .3s, opacity .3s;
}
.cursor span { opacity: 0; transition: opacity .2s; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; box-shadow: inset 0 0 0 1px var(--orange); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--orange); box-shadow: none; }
.cursor.is-view span { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.no-js .reveal, .no-js .reveal-img { opacity: 1; transform: none; clip-path: none; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 130px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero__title { font-size: clamp(56px, 12vw, 200px); }
.page-hero__title .serif { color: var(--orange); font-size: .55em; }
.page-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 60px; margin-top: 36px; }
.page-hero__glow { position: absolute; width: 60vmax; height: 60vmax; left: -15vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,107,26,.18), transparent 70%); pointer-events: none; }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--mid); font-weight: 600; margin-bottom: 28px; }
.crumbs a:hover { color: var(--orange); }
.crumbs span[aria-hidden] { color: var(--grey-2); }

/* ---------- Catalogue toolbar ---------- */
.toolbar {
  position: sticky; top: 0; z-index: 40; padding: 14px 0; margin-bottom: 40px;
  background: rgba(10,10,10,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: top .5s var(--ease);
}
.header:not(.is-hidden) ~ main .toolbar { top: var(--header-h); }
.toolbar__inner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s, box-shadow .3s;
}
.chip:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.chip[aria-pressed="true"] { background: var(--orange); color: var(--black); box-shadow: none; }
.chip sup { font-size: 10px; margin-left: 3px; opacity: .7; }
.chip[aria-pressed="true"] sup { opacity: 1; }
.toolbar__controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.field-inline { position: relative; }
.field-inline svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--mid); pointer-events: none; }
.input-pill, .select-pill {
  height: 44px; border-radius: 999px; border: 0; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line);
  padding: 0 18px; font-size: 14px; font-weight: 600; outline: none; transition: box-shadow .3s;
}
.input-pill { padding-left: 40px; width: 220px; }
.input-pill:focus, .select-pill:focus { box-shadow: inset 0 0 0 1px var(--orange); }
.select-pill { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23bdb9b2' stroke-width='2'><path d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.select-pill option { background: var(--graphite); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--soft); cursor: pointer; user-select: none; }
.toggle input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--grey-2); position: relative; transition: background .3s; cursor: pointer; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .35s var(--ease); }
.toggle input:checked { background: var(--orange); }
.toggle input:checked::after { transform: translateX(16px); }
.result-count { font-size: 14px; color: var(--mid); font-weight: 600; margin-bottom: 24px; }

/* ---------- Artwork grid (masonry) ---------- */
.masonry { columns: 3 320px; column-gap: clamp(16px, 2vw, 32px); }
.art-card { break-inside: avoid; margin-bottom: clamp(28px, 3vw, 48px); display: block; }
.art-card__media { position: relative; overflow: hidden; border-radius: 6px; background: var(--grey); }
.art-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.art-card:hover .art-card__media img { transform: scale(1.05); }
.art-card__overlay {
  position: absolute; inset: auto 0 0; padding: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .5s var(--ease);
}
.art-card:hover .art-card__overlay, .art-card:focus-visible .art-card__overlay { opacity: 1; transform: none; }
.art-card__overlay span { font-size: 13px; font-weight: 700; }
.art-card__status { position: absolute; top: 12px; left: 12px; }
.status {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; background: rgba(10,10,10,.72); backdrop-filter: blur(6px); color: var(--white);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; }
.status--reserved::before { background: #ffc23d; }
.status--sold::before { background: #ff4d4d; }
.art-card__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-top: 16px; }
.art-card__title { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; transition: color .3s; }
.art-card:hover .art-card__title { color: var(--orange); }
.art-card__meta { font-size: 13px; color: var(--mid); margin-top: 4px; }
.art-card__price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.art-card--sold .art-card__price { color: var(--mid); text-decoration: line-through; }
.empty { padding: 80px 0; text-align: center; color: var(--mid); display: grid; gap: 18px; justify-items: center; }
.empty strong { font-family: var(--f-display); font-size: 28px; color: var(--white); }

/* ---------- Artwork detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); align-items: start; padding-top: calc(var(--header-h) + 40px); }
.detail__media { position: sticky; top: calc(var(--header-h) + 24px); }
.detail__img { position: relative; display: block; width: 100%; padding: 0; border-radius: 8px; overflow: hidden; background: var(--grey); cursor: zoom-in; }
.detail__img img { width: 100%; height: auto; max-height: calc(100vh - var(--header-h) - 120px); object-fit: contain; margin: 0 auto; }
.detail__zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,10,.7); backdrop-filter: blur(6px); }
.detail__zoom svg { width: 18px; height: 18px; }
.detail__body { display: grid; gap: 32px; padding-bottom: 40px; }
.detail__title { font-size: clamp(40px, 5vw, 76px); }
.detail__artist { font-size: 17px; color: var(--soft); }
.detail__artist a { color: var(--white); font-weight: 700; border-bottom: 1px solid var(--orange); }
.detail__artist a:hover { color: var(--orange); }
.detail__price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.detail__price strong { font-family: var(--f-display); font-size: clamp(30px, 3vw, 42px); letter-spacing: -.02em; }
.specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.specs div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.specs div:nth-child(odd) { padding-right: 16px; }
.specs dt { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); }
.specs dd { font-weight: 600; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.icon-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s, box-shadow .3s; }
.icon-btn:hover { background: var(--white); color: var(--black); box-shadow: none; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 22px; }
.form-card__head { display: grid; gap: 8px; }
.form-card__head h2, .form-card__head h3 { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.1; }
.form-card__head p { color: var(--soft); font-size: 15px; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: grid; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 16px 10px; border-radius: 10px; border: 0; outline: none;
  background: var(--black); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; transition: box-shadow .3s;
}
.field select { appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 16px; top: 17px; font-size: 15px; color: var(--mid); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: inset 0 0 0 1.5px var(--orange); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px); font-size: 12px; color: var(--orange); font-weight: 700; letter-spacing: .04em; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 1.5px #ff4d4d; }
.field__error { font-size: 12.5px; color: #ff6b6b; margin-top: 6px; display: none; }
.field.is-invalid .field__error { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row legend { font-size: 13px; color: var(--mid); font-weight: 600; margin-bottom: 10px; width: 100%; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio-row label { position: relative; }
.radio-row input { position: absolute; opacity: 0; pointer-events: none; }
.radio-row span { display: inline-flex; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.radio-row input:checked + span { background: var(--white); color: var(--black); box-shadow: none; }
.radio-row input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form__note { font-size: 12.5px; color: var(--mid); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 16px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.form-status.is-ok { display: block; background: rgba(61,220,132,.12); color: #7ff0b0; }
.form-status.is-err { display: block; background: rgba(255,77,77,.12); color: #ff9a9a; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; background: rgba(5,5,5,.94); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; padding: 24px; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 4px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--black); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__cap { position: absolute; left: 24px; bottom: 20px; font-size: 14px; color: var(--soft); }

/* ---------- Artists ---------- */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.artist-card { position: relative; display: grid; gap: 20px; }
.artist-card__media { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4/5; background: var(--grey); }
.artist-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: transform 1.1s var(--ease), filter .6s; }
.artist-card:hover .artist-card__media img { transform: scale(1.05); filter: none; }
.artist-card__name { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); text-transform: uppercase; letter-spacing: -.03em; line-height: 1; transition: color .3s; }
.artist-card:hover .artist-card__name { color: var(--orange); }
.artist-card__role { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .14em; text-transform: uppercase; }
.artist-card__short { color: var(--soft); }
.artist-card__works { position: absolute; top: 14px; right: 14px; }

.profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: start; padding-top: calc(var(--header-h) + 48px); }
.profile__media { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 8px; overflow: hidden; aspect-ratio: 4/5; background: var(--grey); }
.profile__media img { width: 100%; height: 100%; object-fit: cover; }
.profile__body { display: grid; gap: 28px; }
.profile__bio { display: grid; gap: 18px; font-size: 18px; color: var(--soft); line-height: 1.7; }
.profile__bio p:first-child::first-letter { font-family: var(--f-display); font-weight: 700; float: left; font-size: 4.2em; line-height: .8; padding: 6px 12px 0 0; color: var(--orange); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.split__media { border-radius: 8px; overflow: hidden; aspect-ratio: 4/5; background: var(--grey); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: grid; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.section--light .prose { color: #44423e; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: rgba(0,0,0,.12); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--white); padding: clamp(28px, 3vw, 44px); display: grid; gap: 16px; align-content: start; min-height: 280px; transition: background .4s, color .4s; }
.value:hover { background: var(--black); color: var(--white); }
.value__num { font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--orange); }
.value h3 { font-family: var(--f-display); font-size: 28px; letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; margin-top: auto; }
.value p { color: #5a5752; transition: color .4s; }
.value:hover p { color: var(--soft); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.service { padding: 32px; border-radius: var(--radius); background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; transition: transform .5s var(--ease), box-shadow .4s; }
.service:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--orange); }
.service__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-dim); color: var(--orange); }
.service__icon svg { width: 24px; height: 24px; }
.service h3 { font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; }
.service p { color: var(--soft); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s, transform .45s var(--ease);
}
.contact-card:hover { box-shadow: inset 0 0 0 1px var(--orange); transform: translateX(6px); }
.contact-card__icon { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--black); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); }
.contact-card__value { font-family: var(--f-display); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; word-break: break-word; }
.contact-card__arrow { margin-left: auto; width: 20px; height: 20px; color: var(--mid); flex: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.notfound__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(96px, 30vw, 420px); line-height: .8; letter-spacing: -.06em; background: linear-gradient(120deg, var(--orange), #ffc23d 40%, var(--white) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ex-row { grid-template-columns: 140px minmax(0, 1fr); }
  .ex-row__media { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { height: 440px; order: -1; margin-top: 8px; }
  .badge { width: 110px; height: 110px; left: auto; right: 0; top: auto; bottom: 0; }
  .badge__ring text { font-size: 10px; }
  .statement-grid { grid-template-columns: 1fr; }
  .statement-meta { grid-template-columns: repeat(3, 1fr); order: 2; }
  .spotlight, .visit, .split, .contact-grid, .detail, .profile { grid-template-columns: 1fr; }
  .spotlight__sticker { right: 12px; }
  .detail__media, .profile__media { position: relative; top: 0; }
  .map { min-height: 380px; }
  .reveal-float { display: none; }
  .reveal-list__link { grid-template-columns: 40px 1fr auto; gap: 14px; }

  /* Featured: native horizontal swipe on small screens */
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: relative; height: auto; padding: clamp(80px, 12vw, 120px) 0; }
  .hscroll__track { transform: none !important; overflow-x: auto; width: 100%; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .feature-card { scroll-snap-align: start; width: 78vw; }
  .feature-card--end { width: 70vw; }
  .hscroll__progress { display: none; }
}

@media (max-width: 640px) {
  .hero__art { height: 360px; }
  .frame--a { width: 60%; }
  .frame--b { width: 46%; top: 30%; }
  .frame--c { width: 40%; right: 30%; bottom: 0; }
  .statement-meta { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat__num { font-size: 32px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .ex-row { grid-template-columns: 1fr; gap: 14px; }
  .toolbar__controls { width: 100%; }
  .field-inline { flex: 1 1 100%; }
  .input-pill { width: 100%; }
  .select-pill { flex: 1; }
  .specs { grid-template-columns: 1fr; }
  .specs div:nth-child(odd) { padding-right: 0; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .masonry { columns: 2 150px; column-gap: 14px; }
  .art-card { margin-bottom: 26px; }
  .art-card__info { flex-direction: column; gap: 4px; margin-top: 10px; }
  .art-card__title { font-size: 16px; }
  .art-card__price { font-size: 14px; }
  .hero__bar .hide-sm { display: none; }
  .logo__text { font-size: 15px; }
  .footer { padding-bottom: 92px; }
  .logo__mark { width: 36px; height: 36px; }
  .reveal-list__count svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .statement .w { opacity: 1; }
  .grain { display: none; }
}

@media print {
  .header, .footer, .wa-float, .grain, .cursor, .cursor-dot, .marquee, .toolbar { display: none !important; }
  body { background: #fff; color: #000; }
}



/* ==========================================================================
   Mobile health-check fixes: readable text (12px+), 44px tap targets,
   no iOS input zoom, no sideways scroll
   ========================================================================== */
main { overflow-x: clip; }
.logo { min-height: 44px; }
.logo__text small { font-size: 12px; letter-spacing: .16em; }
.pill, .status, .specs dt, .art-card__status, .artist-card__works { font-size: 12px; }
.chip sup { font-size: 12px; }
.crumbs a { display: inline-block; padding: 12px 6px; margin: 0 -6px; min-width: 44px; text-align: center; }
.crumbs { margin-bottom: 16px; }
.link-arrow { padding-top: 10px; padding-bottom: 8px; }
.toggle { min-height: 44px; }
.hours a { display: inline-block; padding: 10px 0; }
@media (max-width: 900px) {
  .input-pill, .select-pill { font-size: 16px; height: 48px; }
}
.burger { flex: none; }
@media (max-width: 640px) {
  .reveal-list__link { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; }
  .reveal-list__name { font-size: clamp(26px, 8.6vw, 44px); }
}
@media (max-width: 370px) {
  .logo { gap: 9px; }
  .logo__text { font-size: 13px; }
  .logo__mark { width: 32px; height: 32px; }
}

/* Reserve space for content the catalogue builds with JavaScript (stops layout jumps) */
.chips { min-height: 44px; }
.result-count { min-height: 1.6em; }
#art-grid:empty { min-height: 100vh; }
#artwork-root:empty, #artist-root:empty, #artist-grid:empty { min-height: 100vh; }
#related-grid:empty, #artist-works:empty, #featured-track:empty { min-height: 60vh; }

/* ==========================================================================
   Image protection
   ========================================================================== */
/* No dragging, selecting or long-press "Save image" on artwork */
.protect-on img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.protect-on :is(.art-card__media, .feature-card__media, .detail__img, .frame, .spotlight__img, .artist-card__media, .profile__media, .ex-row__media, .split__media, .lightbox__frame) {
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none;
}
/* Invisible shield: right-click / long-press hits this layer, not the image */
.protect-on :is(.art-card__media, .feature-card__media, .detail__img, .frame, .spotlight__img, .artist-card__media, .profile__media, .ex-row__media, .split__media, .lightbox__frame)::after {
  content: ""; position: absolute; inset: 0; z-index: 1; background: transparent;
}
/* Keep labels and badges above the shield */
.art-card__status, .art-card__overlay, .feature-card__num, .frame__tag, .detail__zoom, .artist-card__works { z-index: 2; }

/* Watermark pattern over artwork */
.wm-on :is(.art-card__media, .feature-card__media, .detail__img, .frame, .ex-row__media, .lightbox__frame)::after {
  background-image: var(--wm); background-size: 240px auto; opacity: .16; mix-blend-mode: overlay;
}
.wm-on :is(.detail__img, .lightbox__frame)::after { opacity: .26; background-size: 300px auto; }

.lightbox__frame { position: relative; display: inline-block; max-width: 100%; line-height: 0; }

/* Screenshot black-out */
.shield {
  position: fixed; inset: 0; z-index: 2147483647; background: #000; color: #f4f1ec;
  display: none; place-items: center; text-align: center; padding: 24px;
}
.shield div { display: grid; gap: 10px; }
.shield strong { font-family: var(--f-display); font-size: clamp(22px, 3vw, 34px); letter-spacing: -.02em; }
.shield span { color: var(--orange); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.shield-on .shield { display: grid; }
.shield-on img, .shield-on iframe { visibility: hidden; }

/* Printing shows a notice instead of the artwork */
@media print {
  img, iframe, .lightbox { display: none !important; }
  body::before { content: "Artwork images are © Gasto-Rainbow Art Gallery and cannot be printed. Visit the gallery in Kpasrakope, Aflao — 059 220 0130."; display: block; padding: 40px; font: 16px/1.5 Arial, sans-serif; color: #000; }
}
.spotlight__img, .ex-row__media, .split__media { position: relative; }

/* Solid lettering instead of outlines: outline strokes showed the overlapping
   inner shapes of W, A and N in this typeface */
.hero__title .word-outline { color: var(--orange); -webkit-text-stroke: 0; }
.hero__title .serif { color: var(--soft); }
.hero__title .line > span { padding-right: .06em; }
.footer__word { color: #5f5d5a; -webkit-text-stroke: 0; }
.footer__word span { color: var(--orange); }

/* Back button + breadcrumb row on artwork / artist pages */
.page-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 20px; }
.page-top .crumbs { margin: 0; }
.crumbs { align-items: center; flex-wrap: wrap; }
.crumbs > span { display: inline-flex; align-items: center; min-height: 44px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px;
  border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s, box-shadow .3s;
}
.back-btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.back-btn:hover { background: var(--orange); color: var(--black); box-shadow: none; }
.back-btn:hover svg { transform: translateX(-4px); }

/* Hero title always fits its column: RAINBOW is ~5.5em wide in Syne, so cap
   the font size by the column width (container query units) */
.hero__grid > div:first-child { container-type: inline-size; min-width: 0; }
.hero__title { font-size: min(clamp(48px, 9vw, 150px), 17cqi); }

/* Artist page: art forms + legacy */
.art-forms { padding: 26px 28px; border-radius: var(--radius); background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); }
.art-forms__title { font-family: var(--f-display); font-size: 20px; letter-spacing: -.01em; margin-bottom: 16px; }
.art-forms__list { counter-reset: af; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.art-forms__list li { counter-increment: af; display: flex; gap: 12px; align-items: baseline; font-size: 17px; font-weight: 600; }
.art-forms__list li::before { content: counter(af) "."; color: var(--orange); font-family: var(--f-display); font-weight: 700; min-width: 22px; }
.legacy { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,107,26,.12), rgba(255,107,26,0) 60%), var(--graphite); box-shadow: inset 0 0 0 1px rgba(255,107,26,.35); }
.legacy__img { border-radius: 10px; overflow: hidden; aspect-ratio: 198/217; background: var(--grey); }
.legacy__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.legacy figcaption { display: grid; gap: 6px; }
.legacy strong { font-family: var(--f-display); font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.legacy__known { color: var(--orange); font-size: 24px; }
.legacy figcaption > span:not(.eyebrow):not(.legacy__known) { font-weight: 600; color: var(--soft); }
.legacy p { font-size: 14px; }
.profile__tagline { font-size: clamp(26px, 2.6vw, 36px); color: var(--orange); }
@media (max-width: 640px) {
  .art-forms__list { grid-template-columns: 1fr; }
  .legacy { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; }
  .legacy strong { font-size: 18px; }
}

/* Exhibition history (text-only rows), artist statement, timeline */
.ex-row--text { grid-template-columns: 180px minmax(0, 1fr); }
.ex-row--text .ex-row__title { font-size: clamp(22px, 2.4vw, 34px); }
@media (max-width: 1100px) { .ex-row--text { grid-template-columns: 140px minmax(0, 1fr); } }
@media (max-width: 640px) { .ex-row--text { grid-template-columns: 1fr; } }

.statement-card { margin: 0; padding: 28px 30px; border-left: 3px solid var(--orange); background: var(--graphite); border-radius: 0 var(--radius) var(--radius) 0; display: grid; gap: 14px; }
.statement-card p { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; color: var(--white); }
.statement-card footer { font-size: 14px; color: var(--mid); font-weight: 600; }

.history { display: grid; gap: 14px; }
.history .art-forms__title { margin-bottom: 0; }
.history__countries { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.timeline { border-left: 1px solid var(--line-strong); margin-left: 6px; display: grid; }
.timeline li { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 12px 0 12px 22px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.timeline__year { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--orange); white-space: nowrap; }
.timeline strong { display: block; font-weight: 700; line-height: 1.3; }
.timeline div span { font-size: 14px; color: var(--mid); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Official GR logo badge */
.logo__mark { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
@media (max-width: 640px) { .logo__mark { width: 40px; height: 40px; } }
@media (max-width: 370px) { .logo__mark { width: 36px; height: 36px; } }
@media (max-width: 370px) {
  .header__inner { gap: 10px; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: 12.5px; }
  .logo__text small { letter-spacing: .1em; }
}

/* Site credit under the copyright line */
.footer__credit { margin-top: 14px; font-size: 13px; color: var(--mid); text-align: center; }
.footer__credit a { display: inline-block; padding: 10px 4px; font-weight: 700; color: var(--soft); border-bottom: 1px solid transparent; }
.footer__credit a:hover { color: var(--orange); }

/* Artists page — single-artist feature */
.artist-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.artist-feature__media { display: block; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/5; background: var(--grey); }
.artist-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.artist-feature__media:hover img { transform: scale(1.04); }
.artist-feature__body { display: grid; gap: 22px; align-content: center; }
.artist-feature__name { font-size: clamp(44px, 6.4vw, 104px); }
.artist-feature__bio { color: var(--soft); font-size: 17px; line-height: 1.7; max-width: 62ch; }
.artist-feature__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.artist-feature__stats div { padding-top: 14px; border-top: 1px solid var(--line); }
.artist-feature__stats dt { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.artist-feature__stats dd { margin: 6px 0 0; font-size: 13px; color: var(--mid); font-weight: 600; }
.artist-feature__forms { display: flex; flex-wrap: wrap; gap: 8px; }
.artist-feature__forms li { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--soft); box-shadow: inset 0 0 0 1px var(--line-strong); }
.artist-feature__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(48px, 6vw, 80px); }
.artist-feature__work { display: grid; gap: 10px; }
.artist-feature__work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.artist-feature__work:hover img { transform: scale(1.05); }
.artist-feature__work span { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.artist-feature__work:hover span { color: var(--orange); }
@media (max-width: 900px) {
  .artist-feature { grid-template-columns: 1fr; }
  .artist-feature__media { max-width: 520px; }
  .artist-feature__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.contact-card--static { cursor: default; }
.contact-card--static:hover { transform: none; }

/* Back to top — sits above the WhatsApp button */
.to-top {
  position: fixed; right: 26px; bottom: 96px; z-index: 400; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(23,23,23,.9); color: var(--white);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s, background .3s, color .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--ease), visibility 0s, background .3s, color .3s; }
.to-top:hover { background: var(--orange); color: var(--black); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2.5; stroke: rgba(244,241,236,.14); }
.to-top__ring .to-top__bar { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.to-top:hover .to-top__bar { stroke: var(--black); }
.to-top__arrow { width: 20px; height: 20px; position: relative; transition: transform .35s var(--ease); }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }
@media (max-width: 640px) { .to-top { right: 19px; bottom: 82px; } }
@media print { .to-top { display: none !important; } }
