/* ==========================================================
   the ART GALLERY — theartgallery.world
   Brand: Brandingkit-tAG-2025 (orange #E28117, wall #F2F2F2,
   graphite #333333, black #000000). Brand font Louis George
   Café is replaced on the web by Urbanist (free, very close in
   shape); Arabic uses Tajawal. The logo is the official artwork.
   Motif: the logo's three offset steps, the curated journey we
   build in any space, any medium, at any scale. Layout uses
   logical properties so the Arabic (RTL) page mirrors itself.
   ========================================================== */

:root {
  --orange: #E28117;
  --wall: #F2F2F2;
  --white: #FFFFFF;
  --graphite: #333333;
  --ink: #000000;
  --muted: #6B6B6B;
  --line: rgba(0, 0, 0, .14);
  --line-dark: rgba(242, 242, 242, .16);

  --font: "Urbanist", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --step: clamp(20px, 3.6vw, 60px);   /* offset of one "stair" */
}
:root:lang(ar) { --font: "Tajawal", "Urbanist", system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-weight: 400;
  background: var(--wall); color: var(--ink);
  font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:lang(ar) body, body:lang(ar) { line-height: 1.75; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Logo (official artwork) */
.brand { display: flex; align-items: center; text-decoration: none; }
.logo { width: auto; height: 44px; }
.site-footer .logo { height: 40px; }

/* ---------- Eyebrow: the kit's "—— LABEL ——" rule */
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .eyebrow { color: rgba(242, 242, 242, .6); }
.level { color: var(--orange); font-weight: 600; letter-spacing: .1em; }

/* Display headings step in, like the logo */
.display { font-weight: 300; font-size: clamp(36px, 5vw, 68px); line-height: 1.06; letter-spacing: -.01em; }
:lang(ar) .display { line-height: 1.3; letter-spacing: 0; }
.display span { display: block; padding-inline-start: var(--step); }
.display em, h1 em { font-style: normal; color: var(--orange); }

/* ---------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 242, 242, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .3s;
}
.site-header:empty { height: 77px; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: .04em; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 0 100%; bottom: -4px; height: 2px;
  background: var(--orange); transition: inset-inline-end .3s ease;
}
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { inset-inline-end: 0; }
.lang { font-family: "Tajawal", "Urbanist", sans-serif; }
:lang(ar) .lang { font-family: "Urbanist", sans-serif; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--wall);
  text-decoration: none; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
:lang(ar) .btn { letter-spacing: 0; font-size: 16px; }
.btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--wall); border-color: var(--ink); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px); }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 7px 8px; transition: transform .3s; }
.menu-toggle span:nth-child(1) { margin-inline-end: 20px; }
.menu-toggle span:nth-child(2) { margin-inline: 14px; }
.menu-toggle span:nth-child(3) { margin-inline-start: 20px; }

/* ---------- Hero */
.hero { padding: clamp(48px, 7vw, 100px) 0 clamp(72px, 9vw, 130px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 {
  font-weight: 300; font-size: clamp(46px, 6.6vw, 98px); line-height: .98; letter-spacing: -.015em;
  margin: 28px 0 32px;
}
:lang(ar) .hero h1 { line-height: 1.2; letter-spacing: 0; font-size: clamp(44px, 6vw, 88px); }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { padding-inline-start: var(--step); }
.hero h1 span:nth-child(3) { padding-inline-start: calc(var(--step) * 2); }
.hero h1 span:nth-child(4) { padding-inline-start: calc(var(--step) * 3); }
.hero .lede { max-width: 32em; font-size: clamp(17px, 1.4vw, 20px); color: var(--graphite); margin-bottom: 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* two places, offset like steps: where it began → where it travels */
.hero-stack { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.hero-stack figure { position: relative; }
.hero-stack img { width: 100%; object-fit: cover; }
.hero-a { grid-column: 1 / 9; grid-row: 1; }
.hero-a img { aspect-ratio: 3 / 4; object-position: 50% 62%; }
.hero-b { grid-column: 6 / 13; grid-row: 1; margin-bottom: -56px; border: 8px solid var(--wall); }
.hero-b img { aspect-ratio: 4 / 3; }
.hero-stack figcaption { font-size: 13px; color: var(--muted); letter-spacing: .04em; padding-top: 8px; }
.hero-a figcaption { position: absolute; bottom: 100%; inset-inline-start: 0; padding: 0 0 8px; }
.hero-b figcaption { background: var(--wall); }

.steps { position: absolute; display: grid; gap: 10px; pointer-events: none; }
.steps i { display: block; height: 16px; background: var(--orange); }
.steps i:nth-child(1) { width: 70%; margin-inline-start: 30%; }
.steps i:nth-child(2) { width: 70%; margin-inline-start: 15%; }
.steps i:nth-child(3) { width: 70%; }
.hero-stack .steps { inset-inline-start: calc(var(--step) * -1); top: 14%; width: 38%; }

/* ---------- Sections */
.on-dark { background: var(--ink); color: var(--wall); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-lede { max-width: 38em; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); }
.section-lede b { color: var(--orange); font-weight: 600; }

/* ---------- Approach */
.approach-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(56px, 8vw, 110px); }
.approach-intro .display { margin-top: 22px; }
.approach-copy p { color: rgba(242, 242, 242, .78); font-size: clamp(16px, 1.3vw, 18px); margin-bottom: 1.1em; max-width: 34em; }
.approach-copy .pull {
  color: var(--wall); font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25;
  border-inline-start: 3px solid var(--orange); padding-inline-start: 24px; margin: 26px 0;
}
/* four pillars climb like the logo's steps */
.pillars { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.pillars li { border-top: 2px solid var(--orange); padding-top: 22px; }
.pillars li:nth-child(1) { margin-top: calc(var(--step) * 1.8); }
.pillars li:nth-child(2) { margin-top: calc(var(--step) * 1.2); }
.pillars li:nth-child(3) { margin-top: calc(var(--step) * .6); }
.pnum { color: var(--orange); font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.pillars h3 { font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; margin: 10px 0 12px; }
.pillars p { color: rgba(242, 242, 242, .7); font-size: 15px; }

.projects { margin-top: clamp(64px, 8vw, 110px); }
.projects-title { font-weight: 300; font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 14px; }
.projects ul { list-style: none; }
.projects li {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 20px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--line-dark);
}
.projects li:last-child { border-bottom: 1px solid var(--line-dark); }
.p-place { color: var(--orange); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
:lang(ar) .p-place { letter-spacing: 0; font-size: 16px; }
.p-what { font-size: clamp(17px, 1.5vw, 21px); }
.p-when { color: rgba(242, 242, 242, .5); font-size: 14px; }

/* ---------- Numbers */
.stats-band { padding: clamp(48px, 6vw, 80px) 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 0 0; border-top: 1px solid var(--line); }
.stat + .stat { padding-inline-start: clamp(16px, 3vw, 40px); border-inline-start: 1px solid var(--line); }
.stat b { display: block; font-weight: 300; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; color: var(--orange); }
.stat span { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .stat span { letter-spacing: 0; font-size: 16px; }

/* ---------- Exhibitions: each show's own poster, cards descend like stairs */
.archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 40px); }
.archive .card:nth-child(3n+2) { margin-top: var(--step); }
.archive .card:nth-child(3n+3) { margin-top: calc(var(--step) * 2); }
.card { display: block; text-align: start; background: none; border: 0; padding: 0; cursor: pointer; }
.card .img { display: block; overflow: hidden; background: var(--graphite); position: relative; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover img, .card:focus-visible img { transform: scale(1.04); }
.card .img::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 10px; width: 0;
  background: var(--orange); transition: width .4s ease;
}
.card:hover .img::after, .card:focus-visible .img::after { width: 62%; }
.card:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
.card .info { display: flex; justify-content: space-between; padding-top: 16px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
:lang(ar) .card .info { letter-spacing: 0; font-size: 15px; }
.card .no { color: var(--orange); font-weight: 600; }
.card .year { color: var(--muted); }
.card .title { display: block; font-size: 24px; line-height: 1.25; margin-top: 6px; }
.card .meta { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- Artists A–Z */
.artists { border-top: 1px solid var(--line); padding-top: clamp(72px, 10vw, 140px); }
.artists-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.artists-head .section-head { margin-bottom: 0; }
.search { width: min(340px, 100%); }
.search input {
  font: inherit; font-size: 17px; width: 100%; padding: 12px 0 10px;
  background: transparent; border: 0; border-bottom: 2px solid var(--ink); color: var(--ink); outline: none; border-radius: 0;
}
.search input:focus { border-bottom-color: var(--orange); }
.az { columns: 3; column-gap: clamp(24px, 4vw, 64px); direction: ltr; text-align: left; }
.az-group { break-inside: avoid-column; margin-bottom: 28px; }
.az-letter { font-weight: 300; font-size: 34px; color: var(--orange); line-height: 1; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-family: "Urbanist", sans-serif; }
.az ul { list-style: none; }
.az li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.aname { font-family: "Urbanist", sans-serif; font-size: 18px; text-decoration: none; text-align: left; transition: color .2s, padding .3s; }
.aname:hover { padding-left: 8px; }
.aname:hover { color: var(--orange); }
.ashows { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; flex: none; max-width: 52%; }
.ashows a {
  text-decoration: none;
  border: 1px solid var(--line); background: transparent; cursor: pointer; font-family: "Urbanist", sans-serif;
  font-size: 11px; letter-spacing: .06em; padding: 2px 6px; line-height: 1.4; color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}
.ashows a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.empty { color: var(--muted); }

/* ---------- Work with us */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-bottom: clamp(40px, 5vw, 64px); }
.audiences article { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.audiences article:nth-child(2) { margin-top: calc(var(--step) * .5); }
.audiences article:nth-child(3) { margin-top: calc(var(--step) * 1); }
.audiences article:nth-child(4) { margin-top: calc(var(--step) * 1.5); }
.audiences h3 { font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin-bottom: 12px; }
.audiences p { color: rgba(242, 242, 242, .72); font-size: 15px; margin-bottom: 18px; }
.audiences a { color: var(--orange); text-decoration: none; letter-spacing: .04em; }
.audiences a:hover { text-decoration: underline; }
.status {
  display: flex; gap: 12px; align-items: baseline; margin: clamp(24px, 4vw, 48px) 0 clamp(32px, 4vw, 56px);
  padding: 16px 20px; border: 1px solid var(--line-dark); color: rgba(242, 242, 242, .85); font-size: 15px;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; transform: translateY(-1px); }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.contact-list dt { color: rgba(242, 242, 242, .5); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
:lang(ar) .contact-list dt { letter-spacing: 0; font-size: 15px; }
.contact-list dd a { text-decoration: none; border-bottom: 1px solid var(--orange); }
.contact-list dd a:hover { color: var(--orange); }

/* ---------- Reveal on scroll */


.link-arrow { display: inline-flex; gap: 10px; align-items: baseline; color: inherit; text-decoration: none; border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.link-arrow span { transition: transform .25s; }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover span { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover span { transform: translateX(-4px); }
.crumb { display: inline-block; font-size: 14px; letter-spacing: .08em; color: var(--muted); text-decoration: none; margin-bottom: 22px; }
.crumb:hover { color: var(--orange); }
.h-sec { font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.h-sec span { font-size: 15px; color: var(--muted); letter-spacing: .04em; }
.h-sec a { text-decoration: none; }
.h-sec a:hover { color: var(--orange); }
.on-dark .h-sec span { color: rgba(242, 242, 242, .55); }
.section.tight { padding: clamp(48px, 6vw, 88px) 0; }
.bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.page-head { padding: clamp(48px, 7vw, 104px) 0 clamp(32px, 4vw, 56px); }
.page-head .display { margin: 20px 0 18px; }
.lede { max-width: 36em; font-size: clamp(17px, 1.4vw, 20px); color: var(--graphite); }
.note { color: var(--muted); font-size: 15px; padding: 14px 0; }
.select select {
  font: inherit; font-size: 15px; padding: 10px 36px 10px 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 0; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
[dir="rtl"] .select select { padding: 10px 14px 10px 36px; background-position: 18px 55%, 13px 55%; }

/* ---------- Motion: reveal, hero lines */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hero h1 span { opacity: 0; transform: translateY(.5em); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero h1 span:nth-child(2) { animation-delay: .12s; }
.hero h1 span:nth-child(3) { animation-delay: .24s; }
.hero h1 span:nth-child(4) { animation-delay: .42s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.steps i { transform-origin: 0 50%; animation: grow 1s cubic-bezier(.2, .7, .2, 1) both; }
[dir="rtl"] .steps i { transform-origin: 100% 50%; }
.steps i:nth-child(2) { animation-delay: .15s; }
.steps i:nth-child(3) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleX(0); } }
.hero-stack img { will-change: transform; }

/* ---------- Marquee of artist names */
.marquee { overflow: hidden; display: flex; border-block: 1px solid var(--line); padding: 18px 0; direction: ltr; user-select: none; }
.mq-track { display: flex; align-items: center; flex: none; gap: 28px; padding-right: 28px; animation: mq 140s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track a { font-family: "Urbanist", sans-serif; font-weight: 300; font-size: clamp(20px, 2vw, 28px); white-space: nowrap; text-decoration: none; transition: color .2s; }
.mq-track a:hover { color: var(--orange); }
.mq-track i { width: 22px; height: 6px; background: var(--orange); flex: none; }
@keyframes mq { to { transform: translateX(-100%); } }

/* ---------- Exhibitions carousel */
.carousel { position: relative; }
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; outline: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
.slide { scroll-snap-align: start; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.slide-img { display: block; overflow: hidden; background: var(--graphite); aspect-ratio: 4 / 3; position: relative; }
.slide-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6.5s ease-out; }
.slide.is-active .slide-img img { transform: scale(1); }
.slide-info { display: grid; gap: 14px; align-content: center; }
.slide-info > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.slide.is-active .slide-info > * { opacity: 1; transform: none; }
.slide.is-active .slide-info > :nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-info > :nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-info > :nth-child(4) { transition-delay: .22s; }
.slide.is-active .slide-info > :nth-child(5) { transition-delay: .28s; }
.slide h3 { font-weight: 300; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; }
:lang(ar) .slide h3 { line-height: 1.3; }
.slide h3 a { text-decoration: none; }
.slide h3 a:hover { color: var(--orange); }
.slide-blurb { color: var(--graphite); max-width: 30em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.slide-meta { color: var(--muted); font-size: 15px; }
.slide .link-arrow { justify-self: start; margin-top: 8px; }
.car-ctrl { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(24px, 3vw, 40px); }
.car-dots { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.car-dots button { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.car-dots i { display: block; width: 100%; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.car-dots i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .car-dots i::after { transform-origin: 100% 50%; }
.car-dots [aria-selected="true"] i::after { transform: scaleX(1); background: var(--orange); }
.car-dots .run i::after { animation: fill 6s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.car-btns { display: flex; gap: 8px; }
.car-btns button {
  width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 18px;
  display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s;
}
.car-btns button:hover { background: var(--ink); color: var(--wall); }
.i-pause { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.i-play { width: 0; height: 0; border-block: 7px solid transparent; border-inline-start: 11px solid currentColor; margin-inline-start: 3px; }

/* ---------- Founder teaser & about */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.founder-portrait { position: relative; width: clamp(180px, 22vw, 280px); }
.founder-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.founder-portrait:hover img { filter: none; }
.founder-portrait .steps { position: absolute; width: 70%; inset-inline-end: -28%; bottom: 10%; }
.founder-line { font-weight: 300; font-size: clamp(26px, 3vw, 42px); line-height: 1.2; max-width: 20em; }
.founder-line em { font-style: normal; color: var(--orange); }
.founder-line { margin-top: 20px; }
.founder-sub { color: var(--graphite); max-width: 34em; margin: 18px 0 28px; }
.about-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.about-body p { margin-bottom: 1.1em; max-width: 34em; }
.on-dark .about-body p, .on-dark .lede { color: rgba(242, 242, 242, .8); }
.vision-quote { font-weight: 300; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.18; border-inline-start: 3px solid var(--orange); padding-inline-start: 26px; }
.vision-quote em { font-style: normal; color: var(--orange); }
.timeline { list-style: none; border-inline-start: 1px solid var(--line); margin-inline-start: 8px; }
.timeline > li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 34px 28px; position: relative; }
[dir="rtl"] .timeline > li { padding: 0 28px 34px 0; }
.timeline > li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 10px; width: 13px; height: 13px; background: var(--orange); }
.tl-year { font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--orange); }
.timeline ul { list-style: none; display: grid; gap: 10px; padding-top: 6px; }
.timeline a { text-decoration: none; font-size: clamp(18px, 1.6vw, 22px); }
.timeline a:hover { color: var(--orange); }
.tl-no { font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-inline-end: 8px; }
.tl-tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); border: 1px solid var(--orange); padding: 1px 6px; margin-inline-start: 8px; vertical-align: 3px; }
.tl-note { font-size: clamp(18px, 1.6vw, 22px); color: var(--graphite); }

/* ---------- Featured artworks strip */
.featured { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 320px); gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.featured li { scroll-snap-align: start; }
.featured li:nth-child(even) { margin-top: var(--step); }
.featured button { display: block; width: 100%; padding: 0; border: 0; background: var(--graphite); cursor: zoom-in; overflow: hidden; }
.featured img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.featured button:hover img { transform: scale(1.05); }
.fw-title { display: block; margin-top: 12px; font-size: 18px; line-height: 1.3; }
.fw-artist { font-size: 14px; color: var(--muted); text-decoration: none; }
.fw-artist:hover { color: var(--orange); }

/* ---------- Exhibitions page */
.year-group { display: grid; grid-template-columns: 140px 1fr; gap: clamp(20px, 3vw, 48px); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.year-label { font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--orange); }
.year-label span { position: sticky; top: 100px; display: block; }
.year-group .archive { grid-template-columns: repeat(2, 1fr); }
.year-group .archive .card:nth-child(n) { margin-top: 0; }
.year-group .archive .card:nth-child(2n) { margin-top: var(--step); }
.card { text-decoration: none; color: inherit; }

/* ---------- Exhibition page */
.ex-hero { padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 5vw, 72px); }
.ex-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ex-hero-img { overflow: hidden; background: var(--graphite); position: sticky; top: 96px; }
.ex-hero-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transform: scale(1.12); }
.ex-hero .display { margin: 18px 0 8px; font-size: clamp(40px, 5vw, 76px); }
.alt-title { font-size: 20px; color: var(--graphite); }
.alt-title[lang="ar"] { font-family: "Tajawal", sans-serif; }
.ex-blurb { color: var(--graphite); font-size: clamp(17px, 1.35vw, 19px); margin: 22px 0 30px; max-width: 34em; }
.ex-facts { display: grid; border-top: 1px solid var(--ink); }
.ex-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ex-facts dt { color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
:lang(ar) .ex-facts dt { letter-spacing: 0; font-size: 15px; }
.name-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.name-cloud li { font-family: "Urbanist", sans-serif; }
.name-cloud li:not(:has(a)) { padding: 6px 12px; border: 1px solid var(--line); }
.name-cloud a { display: block; padding: 6px 12px; border: 1px solid var(--line); text-decoration: none; font-size: 17px; transition: background .2s, border-color .2s; }
.name-cloud a:hover { background: var(--orange); border-color: var(--orange); }
.more-works { margin-top: 36px; border-top: 1px solid var(--ink); }
.more-works summary { cursor: pointer; padding: 16px 0; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; }
:lang(ar) .more-works summary { letter-spacing: 0; }
.more-works summary span { color: var(--orange); }
.tlist { list-style: none; columns: 2; column-gap: 40px; }
.tlist li { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.tlist a { font-family: "Urbanist", sans-serif; font-size: 14px; color: var(--muted); text-decoration: none; }
.tlist a:hover { color: var(--orange); }
.tlist .t { font-size: 17px; }
.tlist .m { font-size: 13.5px; color: var(--muted); }
.views { list-style: none; columns: 3 260px; column-gap: 16px; margin-top: 28px; }
.views li { break-inside: avoid; margin-bottom: 16px; }
.views button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.views img { width: 100%; transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.views button:hover img { transform: scale(1.04); }

/* ---------- Artwork grid (masonry) */
.masonry { list-style: none; columns: 4 230px; column-gap: clamp(16px, 2vw, 28px); }
.wcard { break-inside: avoid; margin-bottom: clamp(24px, 3vw, 40px); display: grid; opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.wcard.in { opacity: 1; transform: none; }
.wc-img { display: block; width: 100%; padding: 0; border: 0; background: #e6e6e6; cursor: zoom-in; overflow: hidden; position: relative; }
.wc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.wc-img:hover img, .wc-img:focus-visible img { transform: scale(1.045); }
.wc-img::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 8px; width: 0; background: var(--orange); transition: width .4s ease; }
.wc-img:hover::after, .wc-img:focus-visible::after { width: 55%; }
.wc-img:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.wc-more { position: absolute; top: 10px; inset-inline-end: 10px; background: var(--ink); color: var(--wall); font-size: 12px; padding: 3px 8px; letter-spacing: .06em; }
.wc-title { font-size: 17px; line-height: 1.3; margin-top: 12px; }
.wc-artist { font-family: "Urbanist", sans-serif; font-size: 15px; text-decoration: none; justify-self: start; }
.wc-artist:hover, .wc-ex:hover { color: var(--orange); }
.wc-meta { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.wc-ex { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-top: 6px; justify-self: start; }
:lang(ar) .wc-ex { letter-spacing: 0; font-size: 14px; }
.wcard.is-text { background: var(--white); padding: 22px 20px 20px; border-top: 2px solid var(--ink); }
.wcard.is-text .wc-title { margin-top: 14px; font-size: 20px; font-weight: 300; }
.wc-steps { display: grid; gap: 5px; width: 44px; }
.wc-steps i { height: 5px; background: var(--orange); width: 70%; }
.wc-steps i:nth-child(1) { margin-inline-start: 30%; }
.wc-steps i:nth-child(2) { margin-inline-start: 15%; }

/* ---------- Artworks page */
.filters { position: sticky; top: 76px; z-index: 20; background: rgba(242, 242, 242, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 3vw, 40px); transition: top .45s cubic-bezier(.2, .7, .2, 1); }
.site-header.is-hidden ~ main .filters { top: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; font: inherit; font-size: 14px; padding: 8px 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.chips button span { color: var(--muted); font-size: 12px; margin-inline-start: 4px; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--wall); border-color: var(--ink); }
.chips button[aria-pressed="true"] span { color: var(--orange); }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.filter-row .search { width: min(320px, 100%); }
.filter-row .search input { padding: 8px 0 6px; font-size: 16px; }
.works-count { color: var(--muted); font-size: 14px; letter-spacing: .06em; }
#ex-note { margin-bottom: 24px; }
#ex-note:empty { display: none; }
.more-btn { display: flex; margin: 16px auto 0; }

/* ---------- Artists page */
.az-letters { display: flex; flex-wrap: wrap; gap: 4px; direction: ltr; margin-bottom: 32px; }
.az-letters a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; font-family: "Urbanist", sans-serif; transition: background .2s, border-color .2s; }
.az-letters a:hover { background: var(--orange); border-color: var(--orange); }
.az-group { scroll-margin-top: 100px; }
.preview { position: fixed; top: 0; left: 0; z-index: 60; width: 180px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.preview.on { opacity: 1; }
.preview img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); border-bottom: 6px solid var(--orange); }

/* ---------- Artist page */
.artist-hero { padding: clamp(32px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.artist-hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.a-portrait { width: clamp(180px, 24vw, 320px); position: relative; }
.a-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.a-portrait::after { content: ""; position: absolute; width: 46%; height: 12px; background: var(--orange); bottom: -6px; inset-inline-end: -14%; }
.artist-hero .display { margin-bottom: 18px; }
.bio { color: var(--graphite); margin-bottom: 26px; max-width: 42em; font-size: clamp(16px, 1.25vw, 18px); }
.show-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.show-chips a { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; transition: background .2s, border-color .2s; }
.show-chips a:hover { border-color: var(--orange); background: var(--orange); }
.show-chips .no { font-size: 11px; letter-spacing: .1em; color: var(--orange); font-weight: 600; text-transform: uppercase; }
.show-chips a:hover .no { color: var(--ink); }
.show-chips .y { color: var(--muted); font-size: 13px; }
.artist-show { border-top: 1px solid var(--line); }

/* ---------- Prev / next */
.pager { border-top: 1px solid var(--line); }
.pager .wrap { display: grid; grid-template-columns: 1fr 1fr; }
.pg { display: grid; gap: 6px; padding: clamp(28px, 4vw, 48px) 0; text-decoration: none; transition: color .2s; }
.pg.next { text-align: end; border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.pg-k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .pg-k { letter-spacing: 0; font-size: 14px; }
.pg-t { font-weight: 300; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.15; }
.pg:hover .pg-t { color: var(--orange); }

/* ---------- Lightbox */
.lightbox { margin: 0; padding: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(10, 10, 10, .96); color: var(--wall); overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox[open] { display: grid; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
body.lb-open { overflow: hidden; }
.lb-fig { display: grid; grid-template-rows: 1fr auto; height: 100dvh; padding: 64px 80px 0; }
.lb-stage { position: relative; min-height: 0; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.lb-stage img.in { opacity: 1; transform: none; }
.lb-cap { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; padding: 18px 0 22px; border-top: 1px solid rgba(242, 242, 242, .14); margin-top: 18px; }
.lb-cap a { color: inherit; text-decoration: none; }
.lb-cap a:hover { color: var(--orange); }
.lb-artist { font-family: "Urbanist", sans-serif; color: var(--orange) !important; }
.lb-title { font-size: 20px; font-weight: 300; }
.lb-meta { color: rgba(242, 242, 242, .6); font-size: 14px; }
.lb-ex { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 242, 242, .6) !important; }
.lb-count { margin-inline-start: auto; color: rgba(242, 242, 242, .5); font-size: 13px; letter-spacing: .1em; }
.lb-close, .lb-nav { position: absolute; z-index: 2; border: 0; background: transparent; color: var(--wall); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.lb-close { top: 12px; inset-inline-end: 12px; width: 48px; height: 48px; font-size: 30px; }
.lb-nav { top: 50%; width: 56px; height: 56px; margin-top: -56px; font-size: 24px; border: 1px solid rgba(242, 242, 242, .25); }
.lb-prev { inset-inline-start: 14px; }
.lb-next { inset-inline-end: 14px; }
.lb-close:hover, .lb-nav:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }

/* ---------- Footer */
.site-footer { background: var(--ink); color: rgba(242, 242, 242, .65); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 15px; }
.f-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(242, 242, 242, .12); }
.site-footer .logo { height: 40px; }
.f-line { color: var(--wall); font-weight: 300; font-size: clamp(20px, 2vw, 28px); }
.f-line em { font-style: normal; color: var(--orange); }
.f-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px 0; }
.f-cols nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: start; }
.f-cols nav + nav { justify-content: flex-end; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.f-copy { font-size: 13px; color: rgba(242, 242, 242, .4); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .wcard, .hero h1 span, .slide-info > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .steps i, .mq-track { animation: none; }
  .marquee { overflow-x: auto; }
  .slide-img img { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive */
@media (max-width: 1100px) {
  .pillars, .audiences { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(n), .audiences article:nth-child(n) { margin-top: 0; }
  .pillars li:nth-child(2n), .audiences article:nth-child(2n) { margin-top: var(--step); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .nav { gap: 24px; }
}
@media (max-width: 960px) {
  .hero .wrap, .approach-intro, .slide, .ex-hero .wrap, .about-body, .about-hero .wrap { grid-template-columns: 1fr; }
  .hero-stack { margin-bottom: 40px; }
  .archive, .year-group .archive { grid-template-columns: 1fr 1fr; }
  .az { columns: 2; }
  .contact-list { grid-template-columns: 1fr; }
  .projects li { grid-template-columns: 1fr auto; }
  .p-what { grid-column: 1 / -1; grid-row: 2; }
  .ex-hero-img { position: relative; top: 0; }
  .ex-hero-img img { aspect-ratio: 4 / 3; }
  .year-group { grid-template-columns: 1fr; }
  .year-label span { position: static; }
  .tlist { columns: 1; }
  .slide-info { padding-bottom: 4px; }
}
@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--wall); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-130%); transition: transform .35s ease; z-index: -1;
  }
  .nav a:not(.btn) { padding: 14px 0; font-size: 22px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current] { color: var(--orange); }
  .nav .btn { margin-top: 20px; }
  .nav-open .nav { transform: none; }
  .menu-toggle { display: block; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); margin: 7px 8px; }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); margin: 7px 8px; }
}
@media (max-width: 760px) {
  .logo { height: 38px; }
  .hero-a { grid-column: 1 / 11; }
  .hero-b { grid-column: 4 / 13; border-width: 6px; margin-bottom: -40px; }
  .hero-stack .steps { inset-inline-start: -8px; width: 46%; }
  .steps i { height: 11px; }
  .pillars, .audiences { grid-template-columns: 1fr; }
  .pillars li:nth-child(n), .audiences article:nth-child(n) { margin-top: 0; }
  .archive, .year-group .archive { grid-template-columns: 1fr; }
  .archive .card:nth-child(n), .year-group .archive .card:nth-child(n) { margin-top: 0; }
  .az { columns: 1; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .founder, .artist-hero .wrap { grid-template-columns: 1fr; }
  .founder-portrait .steps { inset-inline-end: -18%; }
  .masonry { columns: 2; column-gap: 14px; }
  .wc-title { font-size: 15px; }
  .wc-meta { font-size: 12px; }
  .featured li:nth-child(even) { margin-top: 0; }
  .lb-fig { padding: 56px 12px 0; }
  .lb-nav { top: auto; bottom: 14px; margin: 0; width: 44px; height: 44px; }
  .lb-cap { padding-bottom: 72px; }
  .car-ctrl { flex-direction: column; align-items: stretch; }
  .car-btns { justify-content: flex-end; }
  .car-dots { gap: 4px; }
  .car-dots button { width: 17px; }
  .f-cols { grid-template-columns: 1fr; }
  .f-cols nav + nav { justify-content: flex-start; }
  .pg.next { padding-inline-start: 14px; }
  .timeline > li { grid-template-columns: 1fr; gap: 8px; }
  .ex-facts div { grid-template-columns: 96px 1fr; }
}
.hl { color: var(--orange); font-weight: 600; }
.about-hero .founder-portrait .steps { inset-inline-end: auto; inset-inline-start: -28%; }
.about-hero .founder-portrait .steps i:nth-child(1) { margin-inline-start: 0; }
.about-hero .founder-portrait .steps i:nth-child(3) { margin-inline-start: 30%; }
html, body { overflow-x: clip; }
.a-portrait.is-small { width: 168px; }

/* ---------- View in your space */
.space-head { padding-bottom: clamp(24px, 3vw, 40px); }
.space-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.stage-col { position: sticky; top: 92px; }
.stage-wrap { width: 100%; display: grid; place-items: center; background: #e4e1dc; }
#stage { display: block; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage-hint { font-size: 14px; color: var(--muted); margin-top: 10px; min-height: 1.4em; }
.picked { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-top: 8px; }
.picked:empty { display: none; }
.picked a { text-decoration: none; font-family: "Urbanist", sans-serif; }
.picked a:hover { color: var(--orange); }
.picked .t { font-size: 20px; font-weight: 300; }
.picked .m { font-size: 13px; color: var(--muted); }
.picked .x { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.picked .av { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); border: 1px solid var(--orange); padding: 1px 7px; }
:lang(ar) .picked .x, :lang(ar) .picked .av { letter-spacing: 0; font-size: 14px; }
.panel { display: grid; gap: 0; }
.step { border-top: 1px solid var(--ink); padding: 18px 0 24px; }
.step h2 { font-weight: 300; font-size: 24px; display: flex; gap: 12px; align-items: baseline; margin-bottom: 14px; }
.step h2 span { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--orange); }
.step h2 em { font-style: normal; font-size: 13px; color: var(--muted); margin-inline-start: auto; }
.step .row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-bottom: 12px; }
.step .small, .small { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.small b { color: var(--ink); font-weight: 600; display: block; margin-top: 6px; }
.step label.btn { cursor: pointer; }
.small-btn { padding: 9px 14px; font-size: 12px; }
.small-btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.field { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.field input[type="number"] { width: 84px; font: inherit; padding: 8px 10px; border: 1px solid var(--ink); background: var(--white); border-radius: 0; }
.field.range input { accent-color: var(--orange); width: 140px; }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { accent-color: var(--orange); width: 18px; height: 18px; }
.step .search { width: auto; flex: 1; min-width: 160px; }
.step .search input { padding: 8px 0 6px; font-size: 16px; }
.step .select select { max-width: 220px; }
.step .chips { overflow: visible; flex-wrap: wrap; }
.step .chips .lbl { font-size: 15px; margin-inline-end: 4px; }
.step .chips button { padding: 6px 12px; }
.pick-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 360px; overflow-y: auto; padding: 2px 4px 2px 2px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.pick-grid button { display: grid; width: 100%; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; text-align: start; }
.pick-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #e6e6e6; transition: opacity .2s; }
.pick-grid button:hover img { opacity: .8; }
.pick-grid span { font-family: "Urbanist", sans-serif; font-size: 11.5px; line-height: 1.3; padding: 4px 2px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--graphite); }
.pick-grid [aria-pressed="true"] { border-color: var(--orange); }
.pick-grid .empty { grid-column: 1 / -1; }
.btn.buy { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn.buy:hover { background: var(--ink); border-color: var(--ink); color: var(--wall); }
.req { display: grid; gap: 12px; margin-top: 8px; padding: 18px; background: var(--white); }
.req label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.req input, .req textarea { font: inherit; font-size: 16px; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); background: var(--wall); border-radius: 0; }
.req input:focus, .req textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: transparent; }
.req .btn { justify-self: start; }
.lb-space { margin-inline-start: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--orange); color: var(--orange) !important; padding: 4px 10px; }
:lang(ar) .lb-space { letter-spacing: 0; font-size: 14px; }
.lb-space:hover { background: var(--orange); color: var(--ink) !important; }
@media (max-width: 960px) {
  .space-grid { grid-template-columns: 1fr; }
  .stage-col { position: sticky; top: 0; z-index: 5; background: var(--wall); padding-top: 8px; }
  .pick-grid { max-height: 280px; }
}

/* ---------- Posters shown whole, never cropped */
.card .img { background: var(--graphite); }
.card img { aspect-ratio: auto; height: 100%; object-fit: cover; }
.card .img.is-tall img { object-fit: contain; }
.slide-img { aspect-ratio: 1; background: var(--ink); }
.slide-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) brightness(.55); }
.slide-img img { position: relative; object-fit: contain; transform: scale(1.03); }
.slide.is-active .slide-img img { transform: none; }
.slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ex-hero-img { background: none; overflow: visible; }
.ex-hero-img img { aspect-ratio: auto; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 130px); object-fit: contain; transform: none; margin-inline: auto; display: block; }
@media (max-width: 960px) {
  .ex-hero-img img { aspect-ratio: auto; max-height: 80vh; }
  .slide-img { aspect-ratio: 1; }
}

/* ---------- Per-artist photo strips (shows without per-piece photos) */
.sets { display: grid; gap: clamp(28px, 3vw, 44px); margin-top: 24px; }
.set { border-top: 1px solid var(--line); padding-top: 16px; }
.artist-show .set { border-top: 0; padding-top: 0; margin-bottom: 28px; }
.set-name { font-weight: 300; font-size: 24px; }
.set-name a { text-decoration: none; font-family: "Urbanist", sans-serif; }
.set-name a:hover { color: var(--orange); }
.set-note { font-size: 13px; color: var(--muted); margin: 2px 0 12px; }
.set-strip { list-style: none; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.set-strip li { flex: none; }
.set-strip button { display: block; padding: 0; border: 0; background: #e6e6e6; cursor: zoom-in; overflow: hidden; }
.set-strip img { height: clamp(180px, 22vw, 280px); width: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.set-strip button:hover img { transform: scale(1.04); }
