/* Gallery Light II — design system for the Mishaal Atheer prototype.
   Sections: tokens · base · type · header · footer · pour · cursor · controls · figure · stage · wall label ·
   cards · home · works · work · exhibitions · studio · about · contact · viewer · palette · motion */

@property --f { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --ry { syntax: '<length>'; inherits: false; initial-value: 0px; }

/* ---------- tokens ---------- */
:root {
  --wall: #fff; --floor: #F3EFE9; --paper: #FAF8F4; --ink: #161412; --stone: #6B655C; --mute: #A39C92; --line: #E8E2D9;
  --bronze: #B0814D; --bronze-txt: #8A6236; --sand: #DBBFA7; --sand-soft: #EFE3D7;
  --molten: linear-gradient(180deg, #FFF3CF 0%, #F6C66A 7%, #D4954A 22%, #A8692C 52%, #6E4317 100%);
  --gold-line: linear-gradient(90deg, #7c4e1f, #B0814D 30%, #F2C46D 60%, #FFF1C9 70%, #B0814D 90%);
  --serif: "Cormorant Garamond", Georgia, serif; --sans: "Source Sans 3", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.21,1); --ease-io: cubic-bezier(.65,0,.25,1);
  --gut: clamp(18px, 4vw, 64px); --max: 1480px; --hdr: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: calc(var(--hdr) + 20px); }
body { background: var(--wall); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { 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(--gut); }
main { display: block; min-height: 100svh; }  /* the footer starts below the first screen, so content drawn from the data never pushes it */
.salon:empty, .bb-list:empty, .fa-pair:empty { min-height: 100svh; }  /* likewise the bands that follow these lists */
::selection { background: var(--sand); }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 400 .72rem/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--stone); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--bronze); }
.eyebrow--plain::before { display: none; }
.display { margin: 0; font: 200 clamp(2.6rem, 6.4vw, 6.6rem)/.92 var(--sans); letter-spacing: .03em; text-transform: uppercase; }
.display--sm { font-size: clamp(2.2rem, 4.6vw, 4.6rem); }
.serif { font-family: var(--serif); }
.ti { font-family: var(--serif); font-style: italic; font-weight: 500; }
.ti.code { font-style: normal; font-weight: 400; letter-spacing: .02em; }
.h-serif { margin: 0; font: italic 400 clamp(2.4rem, 5.4vw, 5.4rem)/1 var(--serif); }
.lead { font: 300 clamp(1.25rem, 1.7vw, 1.55rem)/1.55 var(--sans); color: #34302b; max-width: 36em; }
.prose { max-width: 40em; color: #2f2b26; }
.prose p { margin: 0 0 1.15em; }
.muted { color: var(--stone); }
.small { font-size: .88rem; }
.num { font-variant-numeric: tabular-nums; }
.molten-text { background: var(--gold-line); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); transition: background .5s, box-shadow .5s, transform .6s var(--ease); }
.hdr.is-solid { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__nav { display: flex; gap: clamp(16px, 2.4vw, 40px); margin-left: auto; }
.hdr__nav a { position: relative; padding: 8px 0; font: 400 .72rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-line); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current=page]::after { transform: scaleX(1); transform-origin: left; }
.hdr__search { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: .78rem; color: var(--stone); transition: border-color .3s, color .3s; background: rgba(255,255,255,.6); }
.hdr__search:hover { border-color: var(--bronze); color: var(--ink); }
.hdr__search kbd { font: 500 .66rem var(--sans); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.hdr__menu { display: none; align-items: center; gap: 10px; font: 600 .72rem var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.hdr__menu i { display: grid; gap: 5px; } .hdr__menu i::before, .hdr__menu i::after { content: ""; width: 24px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
body.menu-open .hdr__menu i::before { transform: translateY(3.25px) rotate(45deg); } body.menu-open .hdr__menu i::after { transform: translateY(-3.25px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: #fff; padding: calc(var(--hdr) + 30px) var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s; }
body.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-io); }
@media (max-width: 960px) { .hdr__nav { display: none; } .hdr__menu { display: flex; } .hdr__search span, .hdr__search kbd { display: none; } .hdr__search { margin-left: auto; padding: 9px; } }

/* ---------- footer ---------- */
.ftr { position: relative; margin-top: clamp(60px, 8vw, 120px); padding: clamp(80px, 10vw, 150px) var(--gut) 34px; border-top: 1px solid var(--line); overflow: hidden; }
.ftr__cta { margin: 0 0 clamp(60px, 8vw, 110px); font: italic 400 clamp(2.8rem, 8vw, 8rem)/.95 var(--serif); }
.ftr__cta a { background: var(--gold-line) 0 100% / 0 2px no-repeat; transition: background-size .9s var(--ease); }
.ftr__cta a:hover { background-size: 100% 2px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; padding-bottom: 50px; }
.ftr__grid h2 { margin: 0 0 14px; font: 400 .7rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--stone); }
.ftr__grid a { display: block; padding: 3px 0; } .ftr__grid a:hover { color: var(--bronze-txt); }
.ftr__grid img { width: 210px; margin-bottom: 16px; }
.ftr__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; font-size: .8rem; color: var(--stone); }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- the pour: page transition in molten bronze ---------- */
.pour { position: fixed; inset: 0; z-index: 200; pointer-events: none; visibility: hidden; }
.pour.is-on { visibility: visible; pointer-events: all; }
.pour__metal { position: absolute; left: 0; right: 0; bottom: 0; height: 112%; transform: translateY(100%); background: var(--molten); }
.pour__metal::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 8%, rgba(255,240,200,.55), transparent 70%); mix-blend-mode: screen; }
.pour__wave { position: absolute; left: 0; width: 200%; height: 60px; top: -58px; animation: wave 1.6s linear infinite; }
.pour__wave path { fill: #FFF3CF; }
.pour__wave--2 { top: -50px; opacity: .7; animation-duration: 2.3s; animation-direction: reverse; } .pour__wave--2 path { fill: #F6C66A; }
@keyframes wave { to { transform: translateX(-50%); } }
.pour.is-in .pour__metal { transform: translateY(0); transition: transform .62s cubic-bezier(.55,.05,.35,1); }
.pour.is-full .pour__metal { transform: translateY(0); transition: none; }
.pour.is-out .pour__metal { transform: translateY(100%); transition: transform .85s cubic-bezier(.6,.0,.3,1) .12s; }
.pour__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; color: #FFF6DD; text-shadow: 0 1px 0 rgba(90,50,10,.35); transition: opacity .35s; }
.pour.is-in .pour__mark { opacity: 1; transition-delay: .35s; }
.pour.is-full .pour__mark { opacity: 1; transition: none; }
.pour.is-out .pour__mark { opacity: 0; transition-delay: 0s; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 190; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bronze); pointer-events: none; display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; }
.cursor span { font: 600 .58rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(22,20,18,.88); }
.cursor.is-big span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 17px 28px; background: var(--ink); color: #fff; font: 600 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; position: relative; overflow: hidden; isolation: isolate; transition: color .4s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--molten); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px transparent; }
.btn--sm { padding: 12px 18px; font-size: .66rem; }
.link { display: inline-flex; gap: .7em; align-items: center; padding-bottom: 5px; font: 400 .74rem var(--sans); letter-spacing: .26em; text-transform: uppercase; background: var(--gold-line) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.link:hover { color: var(--bronze-txt); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font: 400 .78rem var(--sans); letter-spacing: .06em; background: #fff; transition: all .35s var(--ease); white-space: nowrap; }
.chip sup { margin-left: 4px; font-size: .64rem; color: var(--stone); }
.chip:hover { border-color: var(--bronze); }
.chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; } .chip[aria-pressed=true] sup { color: var(--sand); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: #fff; }
.seg button { padding: 8px 16px; border-radius: 99px; font-size: .78rem; color: var(--stone); transition: all .3s; }
.seg button[aria-pressed=true], .seg button[aria-selected=true] { background: var(--ink); color: #fff; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 180; transform: translate(-50%, 30px); opacity: 0; padding: 12px 20px; background: var(--ink); color: #fff; font-size: .84rem; border-radius: 99px; transition: all .5s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- figure: a work that is cast in bronze as it appears ---------- */
.fig { position: relative; height: 100%; aspect-ratio: var(--r, .8); max-width: none; }
.fig__ws { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: brightness(0) blur(16px); opacity: .1; transform: translate(calc(var(--lx, 0) * -70px), calc(-3% + var(--ly, 0) * -14px)) scale(1.05); transform-origin: bottom; pointer-events: none; }
.fig__cast { position: absolute; inset: 0; -webkit-mask: var(--m) bottom center / contain no-repeat; mask: var(--m) bottom center / contain no-repeat; transition: --f 1.7s cubic-bezier(.55,.05,.25,1); }
.fig__cast > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.fig__sand { background: var(--sand); }
.fig__metal { object-fit: contain; object-position: bottom; clip-path: inset(calc(100% - var(--f)) 0 0 0); }
.fig__melt { top: auto !important; height: 9% !important; bottom: calc(var(--f) - 4.5%); background: linear-gradient(transparent, rgba(255,176,80,.9) 46%, #FFF1C8 50%, rgba(255,176,80,.9) 54%, transparent); mix-blend-mode: screen; opacity: calc(1 - var(--f) / 100%); }
.fig__floor { position: absolute; left: 50%; bottom: -2.5%; width: 86%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40,28,14,.3), transparent); transform: translateX(calc(-50% + var(--lx, 0) * -40px)) scaleX(calc(1 + var(--lx, 0) * var(--lx, 0) * .3)); opacity: 0; transition: opacity 1.2s .9s; }
.fig.is-cast .fig__cast { --f: 100%; }
.fig.is-cast .fig__floor { opacity: 1; }
.fig--photo { transition: --f 1.4s var(--ease-io); }
.fig--photo .fig__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; clip-path: inset(calc(100% - var(--f)) 0 0 0); }
.fig--photo::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; bottom: var(--f); background: linear-gradient(90deg, transparent, #F6C66A 30%, #FFF1C8 50%, #F6C66A 70%, transparent); box-shadow: 0 0 14px 3px rgba(246,198,106,.5); opacity: calc(1 - var(--f) / 100%); pointer-events: none; }
.fig--photo.is-cast { --f: 100%; }
.fig.is-white .fig__photo { mix-blend-mode: multiply; }
.fig--paper { aspect-ratio: var(--r); background: #fff; padding: 4%; box-shadow: 0 2px 0 rgba(0,0,0,.03), calc(var(--lx, 0) * -24px) 30px 50px -24px rgba(40,30,15,.4); }
.fig--paper .fig__photo { inset: 4%; width: 92%; height: 92%; object-position: center; }

/* visitor: a line-drawn person for scale (5 ft 7 in) */
.visitor { height: 100%; width: auto; color: #CBBFAF; flex: 0 0 auto; }
.dim { position: absolute; top: 0; bottom: 0; left: -34px; width: 10px; border-left: 1px solid var(--bronze); opacity: 0; transition: opacity .6s; }
.dim::before, .dim::after { content: ""; position: absolute; left: -5px; width: 10px; height: 1px; background: var(--bronze); } .dim::before { top: 0; } .dim::after { bottom: 0; }
.dim span { position: absolute; top: 50%; left: -12px; transform: translate(-100%, -50%); white-space: nowrap; font: 400 .7rem var(--sans); letter-spacing: .08em; color: var(--bronze-txt); background: rgba(255,255,255,.8); padding: 2px 4px; }

/* ---------- stage: the lit gallery room ---------- */
.stage { position: relative; overflow: hidden; isolation: isolate; --lx: 0; --ly: 0; --tint: #6E6A5E; }
.stage__wall { position: absolute; inset: 0; background: radial-gradient(110% 85% at 50% 16%, color-mix(in srgb, var(--tint) 10%, #fff) 0%, #fff 62%); transition: background 1.6s var(--ease); z-index: -2; }
.stage__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(#fff, var(--floor)); z-index: -2; }
.stage__floor::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(176,129,77,.18), transparent); }
.stage__light { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(34vmax 28vmax at calc(50% + var(--lx) * 36%) calc(38% + var(--ly) * 24%), rgba(255,233,196,.5), transparent 70%); mix-blend-mode: multiply; opacity: .5; }

/* ---------- wall label (museum tombstone) ---------- */
.wl { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.wl__row { display: grid; grid-template-columns: 9.5em 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.wl__row dt { font: 400 .68rem/1.9 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.wl__row dd { margin: 0; }
.wl__row dd a { border-bottom: 1px solid var(--sand); } .wl__row dd a:hover { border-color: var(--bronze); }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }

/* ---------- cards: works in a grid, each cast as it arrives ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 17vw, 240px), 1fr)); gap: clamp(34px, 4vw, 60px) clamp(16px, 2.4vw, 36px); align-items: end; }
.card { display: grid; gap: 14px; }
.card__box { position: relative; height: var(--bh, 280px); display: flex; align-items: flex-end; justify-content: center; }
.card__box .fig { height: calc(var(--bh, 280px) * var(--hs, .86)); max-width: 100%; }
.card__box .fig--photo { width: 100%; height: 100%; aspect-ratio: auto; }
.card__box .fig--photo .fig__photo { object-fit: cover; object-position: center; background: var(--paper); }
.card__box .fig--photo.is-white .fig__photo { object-fit: contain; object-position: bottom; background: none; mix-blend-mode: multiply; }
.card__box { container-type: size; }
.card__box .fig--paper { width: min(92cqw, calc(100cqh * var(--r))); height: auto; aspect-ratio: var(--r); }
.card__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; transition: border-color .4s; }
.card:hover .card__cap { border-color: var(--bronze); }
.card__cap .ti { font-size: 1.22rem; line-height: 1.15; }
.card__cap small { font-size: .78rem; color: var(--stone); white-space: nowrap; text-align: right; }
.card .fig { transition: transform .8s var(--ease); } .card:hover .fig { transform: translateY(-8px); }

/* ---------- shared controls and keyframes (formerly in the home section) ---------- */
@keyframes rise { to { transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(176,129,77,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(176,129,77,0); } }
@keyframes bar { to { transform: scaleX(1); } }
.round { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); transition: border-color .3s; }
.round:hover { border-color: var(--bronze); }
.toggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; font-size: .78rem; background: rgba(255,255,255,.7); transition: all .3s; }
.toggle[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.toggle svg { width: 12px; height: 22px; }
.hall__tools { display: flex; gap: 8px; align-items: center; }
.swap-in { animation: fadeup .8s var(--ease); }
.paper { margin: 0; background: #fff; padding: clamp(14px, 2.2vw, 32px); box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 34px 70px -34px rgba(40,30,15,.38); transform: rotate(var(--rot, 0deg)); transition: transform 1s var(--ease); }
.paper:hover { transform: rotate(0) scale(1.01); }
/* figures on one floor at true relative size (sculptures: True scale view) */
.fl { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; user-select: none; }
.fl__fig { height: calc(var(--u) * 70); display: flex; align-items: flex-end; }
.fl__fig .fig { height: calc(var(--u) * var(--h)); }
.fl__fig .visitor { height: calc(var(--u) * 67); }
.fl__cap { margin-top: 16px; text-align: center; white-space: nowrap; }
.fl__cap .ti { display: block; font-size: 1.15rem; } .fl__cap small { font-size: .76rem; color: var(--stone); }

/* ---------- page heads (inner pages) ---------- */
.phead { padding: calc(var(--hdr) + clamp(60px, 9vw, 130px)) var(--gut) clamp(40px, 5vw, 70px); max-width: var(--max); margin: 0 auto; }
.phead__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gut); align-items: end; }
.phead p { margin: 0; }
@media (max-width: 860px) { .phead__row { grid-template-columns: 1fr; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 30px; }
.facts div b { display: block; font: 200 2.4rem/1 var(--sans); }
.facts div span { font-size: .8rem; color: var(--stone); }

/* ---------- works ---------- */
.tools { position: sticky; top: var(--hdr); z-index: 30; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.tools__in { max-width: var(--max); margin: 0 auto; padding: 12px var(--gut); display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; }
.tools__find { flex: 1 1 200px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.tools__find input { border: 0; outline: 0; background: none; width: 100%; font-size: .92rem; }
.tools__count { font-size: .8rem; color: var(--stone); white-space: nowrap; }
.years { display: flex; overflow-x: auto; scrollbar-width: none; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.years::-webkit-scrollbar { display: none; }
.years a { flex: 1 0 auto; padding: 14px 18px 12px 0; position: relative; color: var(--stone); font-size: .8rem; white-space: nowrap; }
.years a b { display: block; font: 300 1.2rem/1.1 var(--sans); color: var(--ink); }
.years a::after { content: ""; position: absolute; left: 0; right: 18px; bottom: 0; height: 2px; background: var(--gold-line); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.years a.on::after { transform: scaleX(1); }
.chapter { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 9vw, 130px) var(--gut) 0; }
.chapter__head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: end; padding-bottom: 30px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.chapter__head h2 { margin: 0; font: 200 clamp(3rem, 7vw, 7rem)/.85 var(--sans); letter-spacing: -.01em; }
.chapter__head h2 em { font: italic 400 .62em var(--serif); letter-spacing: 0; }
.chapter__head p { margin: 0; max-width: 34em; color: #46413a; font-size: .98rem; }
.chapter__head .meta { text-align: right; font-size: .8rem; color: var(--stone); line-height: 1.6; }
@media (max-width: 860px) { .chapter__head { grid-template-columns: 1fr; } .chapter__head .meta { text-align: left; } }
.index { max-width: var(--max); margin: 0 auto; padding: 40px var(--gut) 0; }
.trow { display: grid; grid-template-columns: 56px minmax(0, 2.4fr) 1fr 1.4fr 1.5fr 1fr; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .45s var(--ease); }
.trow.head { font: 400 .66rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); border-bottom-color: var(--ink); padding-bottom: 10px; position: sticky; top: calc(var(--hdr) + 66px); background: #fff; z-index: 2; }
.trow:not(.head)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.trow:not(.head):hover::before { transform: scaleY(1); } .trow:not(.head):hover { padding-left: 14px; }
.trow .ti { font-size: 1.35rem; line-height: 1.15; }
.trow small { font-size: .86rem; color: var(--stone); }
@media (max-width: 860px) { .trow { grid-template-columns: 40px 1fr auto; } .trow > :nth-child(4), .trow > :nth-child(5), .trow > :nth-child(6) { display: none; } }
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: 240px; height: 300px; display: grid; place-items: center; background: var(--paper); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); pointer-events: none; opacity: 0; transform: scale(.88); transition: opacity .3s, transform .45s var(--ease); }
.peek.on { opacity: 1; transform: none; }
.peek img { max-width: 84%; max-height: 86%; width: auto; } .peek img.cover { max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .peek { display: none; } }
.scaleview { max-width: var(--max); margin: 0 auto; padding: 60px var(--gut) 0; }
.scaleview__floor { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 46px 30px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); --u: 4.6px; }
.empty { padding: 80px 0; text-align: center; color: var(--stone); }

/* ---------- work ---------- */
.work { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); min-height: 100svh; }
.work__stage { position: sticky; top: 0; height: 100svh; }
.work__holder { position: absolute; left: 0; right: 0; top: calc(var(--hdr) + 40px); bottom: 110px; display: flex; justify-content: center; align-items: flex-end; gap: clamp(30px, 4vw, 70px); padding: 0 8%; }
.work__holder .fig { height: 100%; max-width: 100%; transition: height 1s var(--ease-io); }
.work__holder .fig--paper { height: auto; width: min(86%, calc((100svh - var(--hdr) - 160px) * var(--r))); }
.work__holder .fig--photo:not(.fig--paper) { width: 100%; aspect-ratio: auto; }
.work__holder .visitor { width: 0; opacity: 0; transition: opacity .8s, width .8s var(--ease-io); }
.work.is-scale .work__holder .visitor { width: auto; opacity: 1; height: 100%; }
.work.is-scale .work__holder .fig { height: calc(100% * var(--hp)); }
.work.is-scale .work__holder .fig--paper { height: calc(100% * var(--hp)); width: auto; aspect-ratio: var(--r); padding: 2%; }
.work.is-scale .dim { opacity: 1; }
.work__bar { position: absolute; left: var(--gut); right: var(--gut); bottom: 32px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.views { display: flex; gap: 8px; }
.views button { width: 56px; height: 56px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 4px; transition: border-color .3s; }
.views button img { max-width: 100%; max-height: 100%; object-fit: contain; }
.views button[aria-pressed=true] { border-color: var(--ink); }
.work__info { padding: calc(var(--hdr) + 60px) var(--gut) 80px clamp(24px, 3vw, 50px); border-left: 1px solid var(--line); background: #fff; }
.work__info h1 { margin: 0 0 30px; font: italic 500 clamp(2.6rem, 4.4vw, 4.6rem)/1 var(--serif); }
.work__info h1.code { font-style: normal; font-weight: 400; }
.work__desc { margin: 34px 0; }
.work__desc p { margin: 0 0 10px; font-size: 1.05rem; color: #2f2b26; }
.work__desc p.eyebrow, .note p.eyebrow { font-size: .7rem; color: var(--stone); }
.work__acts { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 46px; }
.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pn a { padding: 18px 0; display: grid; gap: 4px; } .pn a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 18px; }
.pn a span:first-child { font: 400 .66rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.pn a .ti { font-size: 1.25rem; } .pn a:hover .ti { color: var(--bronze-txt); }
.more { padding: clamp(80px, 10vw, 140px) var(--gut) 0; max-width: var(--max); margin: 0 auto; }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } .work__stage { position: relative; height: 78svh; } .work__info { border-left: 0; padding-top: 40px; } .work__holder { bottom: 96px; } }

/* ---------- exhibitions ---------- */
.ex-hero { display: grid; grid-template-columns: 6fr 5fr; gap: var(--gut); align-items: center; padding: calc(var(--hdr) + 50px) var(--gut) clamp(80px, 10vw, 140px); background: linear-gradient(var(--wall) 50%, var(--ivory-2)); }
.ex-hero h1 { margin: 10px 0 24px; font: italic 400 clamp(3.4rem, 8vw, 8.4rem)/.9 var(--serif); }
.ex-hero__art { position: relative; height: min(76svh, 760px); }
.ex-hero__art .paper { position: absolute; width: 62%; }
.ex-hero__art .paper:nth-child(1) { left: 0; top: 4%; --rot: -3deg; } .ex-hero__art .paper:nth-child(2) { right: 0; top: 18%; --rot: 2.5deg; } .ex-hero__art .paper:nth-child(3) { left: 18%; bottom: 0; --rot: -1deg; }
.ex-hero__art .paper:nth-child(n) { margin: 0; padding: 12px; }
.ex-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin: 26px 0 30px; }
.ex-facts div { padding: 14px 0; border-bottom: 1px solid var(--line); } .ex-facts div:nth-child(odd) { padding-right: 14px; }
.ex-facts span { display: block; font: 400 .66rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.ex-facts b { font: italic 500 1.3rem var(--serif); }
.row-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .ex-hero { grid-template-columns: 1fr; } .ex-hero__art { height: 70vw; } }
.gwall { position: relative; height: calc(100svh * 4); }
.gwall__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #fff; }
.gwall__head { position: absolute; top: calc(var(--hdr) + 26px); left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; align-items: baseline; z-index: 2; }
.gwall__row { position: absolute; left: 0; bottom: 21svh; display: flex; align-items: flex-end; gap: 7vw; padding: 0 12vw 0 36vw; will-change: transform; }
.gwall__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 21svh; background: linear-gradient(#F6F2EC, #EEE8DF); }
.gwall__floor::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #E2D9CC; }
.hang { flex: 0 0 auto; display: grid; grid-template-columns: auto 150px; gap: 26px; align-items: center; margin-bottom: 10svh; cursor: zoom-in; }
.hang img { height: 36svh; width: auto; max-width: none; background: #fff; padding: 1.4svh; box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 26px 40px -24px rgba(40,30,15,.4); }
.hang .wlab { font-size: .78rem; line-height: 1.5; color: var(--stone); }
.hang .wlab b { display: block; font: italic 500 1.08rem/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
.gwall__visitor { position: absolute; left: 4vw; bottom: -46svh; height: 118svh; width: auto; z-index: 3; color: #D9CDBD; opacity: .55; transform: translateX(calc(var(--gp, 0) * -60vw)); pointer-events: none; filter: blur(.4px); }
.gwall__prog { position: absolute; left: var(--gut); right: var(--gut); bottom: 30px; height: 1px; background: var(--line); }
.gwall__prog i { position: absolute; left: 0; top: 0; height: 1px; width: calc(var(--gp, 0) * 100%); background: var(--gold-line); }
@media (max-width: 760px) { .hang { grid-template-columns: auto; } .hang img { height: 34svh; } .hang .wlab { width: 60vw; } }
.list { border-top: 1px solid var(--ink); }
.lrow { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lrow .yr { font: 300 1.05rem var(--sans); font-variant-numeric: tabular-nums; }
.lrow .ti { font-size: 1.3rem; line-height: 1.2; }
.lrow small { display: block; color: var(--stone); font-size: .86rem; }
@media (max-width: 760px) { .lrow { grid-template-columns: 90px 1fr; } .lrow > :nth-child(3) { grid-column: 2; } }
.cities-bar { display: flex; gap: 2px; height: 46px; margin: 26px 0 10px; }
.cities-bar div { position: relative; flex: var(--n) 1 0; background: var(--c); display: flex; align-items: center; padding: 0 10px; color: #fff; font-size: .78rem; overflow: hidden; white-space: nowrap; min-width: 0; }
.media { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.yt { position: relative; aspect-ratio: 16/9; background: #141210; overflow: hidden; display: block; width: 100%; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .4s, transform 1s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt span { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.photos figure { margin: 0; cursor: zoom-in; } .photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photos figcaption { margin-top: 10px; font-size: .86rem; color: var(--stone); line-height: 1.45; }
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 160px) var(--gut) 0; }
.sec__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); align-items: end; margin-bottom: 44px; }
.sec__head p { margin: 0; color: #46413a; max-width: 34em; }
@media (max-width: 860px) { .sec__head { grid-template-columns: 1fr; } }
details.more-ex summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font: 400 .74rem var(--sans); letter-spacing: .24em; text-transform: uppercase; }
details.more-ex summary::-webkit-details-marker { display: none; }
details.more-ex summary::after { content: "+"; font-size: 1.2rem; letter-spacing: 0; transition: transform .4s var(--ease); }
details.more-ex[open] summary::after { transform: rotate(45deg); }

/* ---------- about ---------- */
.ab-hero { display: grid; grid-template-columns: 5fr 6fr; gap: var(--gut); align-items: end; padding: calc(var(--hdr) + 50px) var(--gut) 0; max-width: var(--max); margin: 0 auto; }
.ab-hero img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ab-hero h1 { margin: 0 0 18px; font: 200 clamp(3.4rem, 8vw, 8rem)/.86 var(--sans); text-transform: uppercase; letter-spacing: .02em; }
.ab-hero dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 30px 0 0; font-size: .95rem; }
.ab-hero dt { font: 400 .68rem/2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.ab-hero dd { margin: 0; }
@media (max-width: 860px) { .ab-hero { grid-template-columns: 1fr; } }
.subnav { position: sticky; top: var(--hdr); z-index: 30; margin-top: clamp(60px, 8vw, 110px); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.subnav__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav a { position: relative; padding: 18px 0; font: 400 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.subnav a.on { color: var(--ink); }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold-line); transform: scaleX(0); transition: transform .5s var(--ease); }
.subnav a.on::after { transform: scaleX(1); }
.bio { display: grid; grid-template-columns: 3fr 8fr; gap: var(--gut); }
.bio__side { position: sticky; top: calc(var(--hdr) + 90px); align-self: start; }
.bio__text { font-size: 1.12rem; line-height: 1.8; max-width: 38em; }
.bio__text p { margin: 0 0 1.3em; }
.bio__text p:first-child::first-letter { float: left; font: 400 5.2em/.78 var(--serif); padding: .06em .1em 0 0; color: var(--bronze-txt); }
.pull { margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--bronze); font: italic 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.25 var(--serif); }
.bio figure { margin: 2.2em 0; } .bio figure img { width: 100%; } .bio figcaption { margin-top: 10px; font-size: .86rem; color: var(--stone); }
.note { padding: 22px 24px; background: var(--paper); border-left: 2px solid var(--sand); font-size: .98rem; color: #3d3933; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } .bio__side { position: static; } }
.tabs { display: flex; gap: 6px; margin-bottom: 40px; flex-wrap: wrap; }
.stmt { display: none; } .stmt.on { display: block; animation: fadeup .8s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } }
.stmt__lead { margin: 0 0 40px; font: italic 400 clamp(2.2rem, 4.6vw, 4.4rem)/1.08 var(--serif); max-width: 20em; }
.stmt__cols { columns: 2 340px; column-gap: var(--gut); font-size: 1.1rem; line-height: 1.8; color: #2f2b26; }
.stmt__cols p { margin: 0 0 1.2em; break-inside: avoid; }
.chron { position: relative; }
.chron__line { position: absolute; left: 230px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.chron__line i { position: absolute; left: -1px; top: 0; width: 3px; height: calc(var(--cp, 0) * 100%); background: linear-gradient(180deg, #8A5A26, #B0814D 60%, #F6C66A); border-radius: 2px; }
.chron__line i::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #FFE8B0; box-shadow: 0 0 0 4px rgba(246,198,106,.35), 0 0 22px 6px rgba(255,170,70,.45); }
.place { display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.place__name { position: sticky; top: calc(var(--hdr) + 90px); align-self: start; padding: 40px 30px 0 0; }
.place__name b { display: block; font: italic 500 clamp(1.8rem, 2.6vw, 2.5rem)/1.05 var(--serif); }
.place__name span { font-size: .82rem; color: var(--stone); letter-spacing: .08em; }
.ev { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 22px 0 22px 40px; position: relative; transform: translateX(10px); transition: transform .8s var(--ease); }
.ev.on { transform: none; }
.ev::before { content: ""; position: absolute; left: -5px; top: 31px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--bronze); transition: background .5s; }
.ev.on::before { background: var(--bronze); }
.ev .y { font: 300 1rem var(--sans); font-variant-numeric: tabular-nums; color: var(--stone); padding-top: 3px; }
.ev p { margin: 0; font-size: 1.04rem; color: #2f2b26; }
.ev .kind { display: inline-block; margin-bottom: 6px; font: 400 .62rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-txt); }
.ev .imgs { display: flex; gap: 12px; margin-top: 14px; align-items: flex-end; }
.ev .imgs img { height: 110px; width: auto; cursor: zoom-in; }
.ev .imgs img.cut { height: 130px; }
@media (max-width: 860px) { .chron__line { left: 0; } .place { grid-template-columns: 1fr; } .place__name { position: static; padding: 40px 0 0 24px; } .ev { grid-template-columns: 1fr; gap: 4px; padding-left: 24px; } }
.cv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); }
.cvb { padding: 30px 0; border-top: 1px solid var(--line); break-inside: avoid; }
.cvb h3 { margin: 0 0 16px; font: 400 .7rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--stone); }
.cvi { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 8px 0; font-size: .98rem; }
.cvi .y { color: var(--stone); font-variant-numeric: tabular-nums; }
.cvi small { display: block; color: var(--stone); font-size: .88rem; }
.cvi ul { margin: 6px 0 0; padding-left: 18px; color: #46413a; font-size: .92rem; }
.cvb--wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .cv { grid-template-columns: 1fr; } .cvi { grid-template-columns: 90px 1fr; } }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.doc { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.doc:hover { border-color: var(--bronze); transform: translateY(-3px); }
.doc i { width: 54px; height: 68px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font: 600 .62rem var(--sans); letter-spacing: .1em; color: var(--bronze-txt); font-style: normal; }
.doc b { display: block; font: italic 500 1.2rem/1.2 var(--serif); } .doc span { font-size: .8rem; color: var(--stone); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: var(--gut); padding: calc(var(--hdr) + clamp(50px, 8vw, 110px)) var(--gut) 0; max-width: var(--max); margin: 0 auto; }
.contact h1 { margin: 0 0 26px; font: italic 400 clamp(3.2rem, 7vw, 7rem)/.92 var(--serif); }
.contact__mail { display: inline-block; margin: 14px 0 34px; font: 300 clamp(1.3rem, 2.2vw, 1.9rem) var(--sans); background: var(--gold-line) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 8px; font: 400 .68rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.form input, .form select, .form textarea { border: 0; border-bottom: 1px solid #CFC7BB; padding: 10px 0; font: 400 1.05rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: none; border-radius: 0; outline: 0; transition: border-color .3s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--bronze); }
.form textarea { min-height: 150px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.attached { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 16px; background: var(--paper); border: 1px solid var(--line); }
.attached img { width: 90px; height: 100px; object-fit: contain; }
.attached .ti { font-size: 1.3rem; display: block; }
.sent { display: none; padding: 40px; background: var(--paper); text-align: center; }
.sent b { display: block; font: italic 400 2.4rem var(--serif); margin-bottom: 8px; }
.form.done > *:not(.sent) { display: none; } .form.done .sent { display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form .two { grid-template-columns: 1fr; } }

/* ---------- viewer (zoom) ---------- */
.viewer { position: fixed; inset: 0; z-index: 150; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(255,255,255,.98); color: var(--ink); }
.viewer::backdrop { background: rgba(255,255,255,.9); }
.viewer__canvas { position: absolute; inset: 70px 0 90px; overflow: hidden; cursor: zoom-in; touch-action: none; }
.viewer__canvas.zoomed { cursor: grab; }
.viewer__canvas img { position: absolute; left: 50%; top: 50%; max-width: 92%; max-height: 100%; transform: translate(-50%, -50%) translate(var(--px, 0px), var(--py, 0px)) scale(var(--z, 1)); transition: transform .45s var(--ease); user-select: none; -webkit-user-drag: none; }
.viewer__canvas.panning img { transition: none; }
.viewer__top, .viewer__bot { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 var(--gut); }
.viewer__top { top: 0; height: 70px; } .viewer__bot { bottom: 0; height: 90px; }
.viewer__cap .ti { font-size: 1.4rem; display: block; } .viewer__cap small { color: var(--stone); font-size: .86rem; }

/* ---------- search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 160; display: none; place-items: start center; padding-top: 12vh; background: rgba(250,248,244,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.palette.on { display: grid; animation: fadeup .35s var(--ease); }
.palette__box { width: min(680px, calc(100vw - 32px)); background: #fff; box-shadow: 0 40px 100px -30px rgba(30,20,10,.4); border: 1px solid var(--line); }
.palette__in { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.palette__in input { flex: 1; border: 0; outline: 0; font: 300 1.3rem var(--sans); background: none; }
.palette__list { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; margin: 0; list-style: none; }
.palette__list li a { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 4px; }
.palette__list li a[aria-selected=true] { background: var(--paper); }
.palette__list img, .palette__list .ic { width: 48px; height: 48px; object-fit: contain; background: var(--paper); display: grid; place-items: center; font: italic 500 1.2rem var(--serif); color: var(--bronze-txt); }
.palette__list .ti { font-size: 1.1rem; display: block; line-height: 1.2; } .palette__list small { color: var(--stone); font-size: .8rem; }
.palette__list .grp { padding: 12px 12px 4px; font: 400 .64rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
.palette__foot { display: flex; gap: 18px; padding: 10px 22px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--stone); }

/* ---------- motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .fig__cast { --f: 100%; }
}

/* covers the page until the arriving pour takes over (class set inline in <head>) */
html.pouring::after { content: ""; position: fixed; inset: 0; z-index: 205; background: var(--molten); }
.stagewords { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 28px; font: 400 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
.stagewords span { transition: color .5s; } .stagewords span.on { color: var(--ink); font-weight: 600; } .stagewords span.hot { color: var(--bronze-txt); }
.stagewords i { font-style: normal; color: var(--line); }
.place__evs { min-width: 0; }
.cv-intro { max-width: 46em; font-size: 1.1rem; color: #2f2b26; margin: 0 0 30px; }

/* ---------- phone refinements ---------- */
.gwall__head .num { white-space: nowrap; }
@media (max-width: 760px) {
  .tools__in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 10px; padding: 10px var(--gut); }
  .tools__in::-webkit-scrollbar { display: none; }
  .tools .chips { flex-wrap: nowrap; }
  .tools__find { flex: 0 0 170px; }
  .tools__count { display: none; }
  .years a { padding: 10px 16px 9px 0; } .years a b { font-size: 1.05rem; }
  .trow.head { top: calc(var(--hdr) + 104px); }
  .dim { left: -18px; }
  .dim span { left: -4px; transform: translate(-50%, -50%) rotate(-90deg); }
  .gwall__visitor { display: none; }
  .gwall__row { padding-left: var(--gut); }
  .seg.tabs { border-radius: 16px; width: 100%; }
  .seg.tabs button { flex: 1 1 100%; text-align: left; }
}


/* =====================================================================================
   Edition 2026-10 — the client's direction: ivory ground, serif wordmark, bronze accents,
   large photographs. Overrides the tokens above and adds the rebuilt and new pages.
   ===================================================================================== */

/* ---------- tokens ---------- */
:root {
  --wall: #F6F1E8; --floor: #EFE7DA; --paper: #EFE8DC; --card: #FBF8F2; --ivory-2: #F1EADF;
  --ink: #241C14; --stone: #5F554A; --mute: #8C8173; --line: #DED3C3;
  --bronze: #B0814D; --bronze-txt: #7A4F2A; --bronze-deep: #5A3A1E; --btn: #6E4A2B; --sand: #DBBFA7; --sand-soft: #EADCCB;
  --gold-line: linear-gradient(90deg, #7c4e1f, #B0814D 30%, #E2B66E 60%, #F3DDA9 70%, #B0814D 90%);
  --hdr: 84px;
}
body { background: var(--wall); }
::selection { background: var(--sand-soft); }
.display { font: 400 clamp(2.7rem, 5.6vw, 5.8rem)/1 var(--serif); letter-spacing: -.005em; text-transform: none; }
.display--sm { font-size: clamp(2.3rem, 4.2vw, 4.2rem); }
.caps { font-family: var(--serif); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { color: var(--bronze-txt); letter-spacing: .32em; }
.eyebrow::before { background: var(--bronze); }
.muted, .small.muted { color: var(--stone); }
.btn { background: var(--btn); }
.btn--ghost { background: transparent; color: var(--bronze-deep); box-shadow: inset 0 0 0 1px var(--bronze-txt); }
.link { color: var(--bronze-deep); }
.chip { background: var(--card); }
.chip[aria-pressed=true] { background: var(--bronze-deep); border-color: var(--bronze-deep); }
.seg { background: var(--card); }
.seg button[aria-pressed=true], .seg button[aria-selected=true] { background: var(--bronze-deep); }
.wl { border-top-color: var(--bronze-txt); }
.tools, .subnav { background: rgba(246,241,232,.94); }
.trow.head { background: var(--wall); }
.trow:not(.head)::before { background: var(--ivory-2); }
.card__box .fig--photo .fig__photo { background: var(--paper); }
.palette { background: rgba(239,231,218,.85); }
.palette__box, .viewer { background: var(--card); }
.viewer { background: rgba(246,241,232,.98); }

/* ---------- wordmark: the name alone, in type (Mishaal, email 11); the two lines are set to the same width ---------- */
.wm { display: inline-grid; justify-items: start; gap: 7px; color: var(--bronze-deep); }
.wm__name, .wm__role { display: block; white-space: nowrap; text-transform: uppercase; margin-right: calc(var(--ls) * -1); letter-spacing: var(--ls); }  /* no trailing space after the last letter */
.wm__name { --ls: .22em; font: 500 1.38rem/1 var(--serif); }
.wm__role { --ls: .519em; font: 400 .66rem/1 var(--sans); color: var(--stone); }

/* ---------- header ---------- */
.hdr { gap: 20px; }
.hdr { background: rgba(246,241,232,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hdr.is-solid { background: rgba(246,241,232,.94); box-shadow: 0 1px 0 var(--line); }
.hdr__nav { gap: clamp(12px, 1.3vw, 22px); }
.hdr__nav a { font: 500 .64rem/1 var(--sans); letter-spacing: .13em; color: var(--ink); white-space: nowrap; }
.hdr__nav a[aria-current=page] { color: var(--bronze-txt); }
.hdr__search { padding: 9px; border-color: transparent; background: transparent; color: var(--ink); }
.hdr__search:hover { border-color: var(--line); }
@media (max-width: 1279px) { .hdr__nav { display: none; } .hdr__menu { display: flex; } .hdr__search { margin-left: auto; } }
@media (max-width: 760px) { :root { --hdr: 70px; } }
@media (max-width: 480px) {
  .wm { gap: 6px; } .wm__name { --ls: .16em; font-size: 1.1rem; } .wm__role { --ls: .331em; font-size: .6rem; }
  .hdr__menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }  /* hidden, still the button's name */
}
@media (max-width: 359px) { .wm__name { --ls: .13em; font-size: .98rem; } .wm__role { --ls: .212em; } }
.hdr__menu { padding: 18px 10px; margin-right: -10px; }  /* a 44 px target */

/* ---------- menu (phones and tablets): a quiet list, small capitals, hairlines (Mishaal, email 11) ---------- */
body.menu-open { overflow: hidden; }
.menu { background: var(--wall); justify-content: flex-start; gap: 36px; padding: calc(var(--hdr) + clamp(8px, 2.6svh, 26px)) var(--gut) max(28px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; clip-path: none; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s; }
body.menu-open .menu { clip-path: none; opacity: 1; transition: opacity .4s var(--ease); }
@media (min-width: 1280px) { .menu { display: none; } }
.menu__list { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 560px; border-top: 1px solid var(--line); }
.menu__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
body.menu-open .menu__list li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 30ms + 60ms); }
.menu__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; font: 500 .8rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); transition: color .3s; }
.menu__list a::after { content: ""; flex: none; width: 22px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.menu__list a:hover, .menu__list a:focus-visible, .menu__list a[aria-current=page] { color: var(--bronze-txt); }
.menu__list a:hover::after, .menu__list a:focus-visible::after, .menu__list a[aria-current=page]::after { transform: none; }
.menu__foot { margin-top: auto; display: grid; gap: 6px; width: 100%; max-width: 560px; font: 400 .82rem/1.5 var(--sans); color: var(--stone); }
.menu__foot p { margin: 0; }
.menu__foot a { color: var(--bronze-deep); }

/* ---------- footer ---------- */
.ftr { background: var(--ivory-2); border-top: 0; }
.ftr__top { padding-bottom: clamp(50px, 6vw, 90px); margin-bottom: clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.ftr__cta { margin: 0; font: italic 400 clamp(1.6rem, 3vw, 2.6rem)/1.25 var(--serif); color: var(--stone); }
.ftr__cta a { font-style: normal; color: var(--bronze-deep); font-size: 1.35em; }
.ftr__grid h2 { color: var(--bronze-txt); }
.ftr__base a:hover { color: var(--bronze-txt); }

/* ---------- the name as a centred lockup: the first-visit intro and the pour between pages. Text only until Mishaal
   gives one of his own sculptures for it (email 11); the two lines keep the header's proportions, so they are equally wide ---------- */
.lockup { --s: 1.38rem; display: grid; justify-items: center; gap: calc(var(--s) * .36); text-transform: uppercase; white-space: nowrap; }
.lockup__name { margin: 0 -.22em 0 0; font: 500 var(--s)/1 var(--serif); letter-spacing: .22em; }
.lockup__role { margin: 0 -.519em 0 0; font: 400 calc(var(--s) * .4783)/1 var(--sans); letter-spacing: .519em; }
.intro { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; background: var(--wall); transition: opacity .6s var(--ease), visibility 0s .6s; }
.intro.is-done { opacity: 0; visibility: hidden; }  /* a tap ends it early (js/home.js) */
html.first .intro[hidden] { display: grid !important; }
.intro .lockup { --s: clamp(1.3rem, 5.4vw, 3.1rem); }
.pour .lockup { --s: clamp(1.15rem, 3.4vw, 1.9rem); }
/* CSS alone runs it from the first paint, so it never waits for the scripts: the letters fill with bronze from the bottom
   behind a rising line of molten metal (clip-path and transform follow --f; nothing reflows), the title fades in, the screen lifts */
.intro__name { position: relative; color: var(--sand-soft); }
.intro__name span { position: absolute; inset: 0; background: linear-gradient(180deg, #F3CC7A, #B0814D 60%, #8A5A26); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(calc(100% - var(--f)) 0 0 0); }
.intro__name i { position: absolute; left: -6%; right: -6%; top: -12%; bottom: -12%; background: linear-gradient(90deg, transparent, #F0C877 20%, #FFF3D6 50%, #F0C877 80%, transparent) top / 100% 2px no-repeat; filter: drop-shadow(0 0 6px rgba(240,200,119,.8)); transform: translateY(calc(100% - var(--f))); pointer-events: none; }
.intro__role { color: var(--stone); opacity: 0; }
html.first .intro { animation: intro-lift .7s var(--ease) 2s forwards; }
html.first .intro__name { animation: intro-cast 1.4s cubic-bezier(.6,.05,.3,1) .15s forwards; }
html.first .intro__name i { animation: intro-fade .4s 1.4s forwards reverse; }
html.first .intro__role { animation: intro-fade .8s 1s forwards; }
@keyframes intro-cast { to { --f: 100%; } }
@keyframes intro-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-lift { to { opacity: 0; visibility: hidden; } }


/* ---------- a photograph that rises into place behind a line of molten bronze ---------- */
.rise { position: relative; overflow: hidden; display: block; transition: --f 1.3s cubic-bezier(.6,.05,.3,1); }
.rise > img { display: block; width: 100%; height: 100%; object-fit: cover; clip-path: inset(calc(100% - var(--f)) 0 0 0); }
.rise::after { content: ""; position: absolute; left: -2%; right: -2%; height: 2px; bottom: var(--f); background: linear-gradient(90deg, transparent, #F0C877 20%, #FFF3D6 50%, #F0C877 80%, transparent); box-shadow: 0 0 18px 5px rgba(240,200,119,.45); opacity: calc(1 - var(--f) / 100%); pointer-events: none; }
.rise.in { --f: 100%; }
@media (prefers-reduced-motion: reduce) { .rise { --f: 100%; } }

/* ---------- home ---------- */
.h-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) min(52vw, calc((max(100svh, 680px) - var(--hdr)) * .82)); min-height: max(100svh, 680px); padding-top: var(--hdr); background: var(--wall); }
.h-hero__text { display: flex; flex-direction: column; justify-content: center; padding: 30px clamp(24px, 4vw, 70px) 50px clamp(var(--gut), 6.5vw, 130px); }
.h-hero__name { margin: 0 0 18px; font: 400 clamp(3rem, 5.2vw, 5.7rem)/.98 var(--serif); letter-spacing: .07em; text-transform: uppercase; color: var(--bronze-deep); }
.h-hero__name span { display: block; overflow: hidden; }
.h-hero__name span i { display: block; font-style: normal; transform: translateY(105%); animation: rise 1.4s var(--ease) forwards; }
.h-hero__name span + span i { animation-delay: .12s; }
.h-hero__role { margin: 0 0 6px; font: 500 .8rem var(--sans); letter-spacing: .36em; text-transform: uppercase; color: var(--ink); }
.h-hero__place { margin: 0 0 34px; font: italic 400 1.3rem var(--serif); color: var(--stone); }
.h-hero__text .row-btns { align-items: center; gap: 14px 26px; }
.h-hero__text > :not(.h-hero__name) { opacity: 0; animation: fadein 1.4s var(--ease) .4s forwards; }
.h-hero__news { display: flex; align-items: center; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 30em; font-size: .86rem; color: var(--stone); }
.h-hero__news .ti { color: var(--ink); font-size: 1.08rem; }
.h-hero__news .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); animation: ping 2.4s infinite; }
.h-hero__news:hover .ti { color: var(--bronze-txt); }
.h-stage { position: relative; overflow: hidden; background: #E9E1D5; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
.h-slide { position: absolute; inset: 0; margin: 0; clip-path: inset(calc(100% - var(--f)) 0 0 0); transition: --f 1.25s cubic-bezier(.6,.05,.3,1); z-index: 0; }
.h-slide.on { --f: 100%; z-index: 2; }
.h-slide.was { --f: 100%; z-index: 1; transition: none; }
.h-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.04); transition: transform 7s linear; }
.h-slide.on img { transform: scale(1); }
.h-slide::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; bottom: var(--f); background: linear-gradient(90deg, transparent, #F0C877 20%, #FFF3D6 50%, #F0C877 80%, transparent); box-shadow: 0 0 20px 6px rgba(240,200,119,.5); opacity: calc(1 - var(--f) / 100%); }
.h-cap { position: absolute; right: clamp(16px, 2vw, 32px); bottom: clamp(18px, 3svh, 34px); z-index: 4; width: min(320px, 80%); padding: 16px 18px 14px; background: rgba(246,241,232,.93); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.h-cap .ti { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.h-cap p { margin: 4px 0 12px; font-size: .84rem; color: var(--stone); }
.h-cap__nav { display: flex; align-items: center; gap: 10px; }
.h-cap__nav .round { width: 34px; height: 34px; background: transparent; border-color: #CDBFA9; color: var(--ink); }
.h-cap__count { font-size: .74rem; letter-spacing: .12em; color: var(--stone); font-variant-numeric: tabular-nums; }
.h-cap__count b { color: var(--ink); font-weight: 600; }
.h-cap__bar { position: relative; flex: 1; height: 1px; background: #D6C9B6; overflow: hidden; }
.h-cap__bar i { position: absolute; inset: 0; background: var(--gold-line); transform: scaleX(0); transform-origin: left; }
.h-cap__bar.run i { animation: bar var(--dur, 4s) linear forwards; }
@media (max-width: 900px) {
  .h-hero { grid-template-columns: 1fr; min-height: 0; }
  .h-stage { order: -1; height: 72svh; -webkit-mask-image: none; mask-image: none; }
  .h-cap { right: 16px; left: 16px; width: auto; bottom: 22px; }
  .h-hero__text { padding: 34px var(--gut) 20px; }
  .h-hero__name { font-size: 2.9rem; }
}

.h-intro { max-width: 1100px; margin: 0 auto; padding: clamp(100px, 12vw, 170px) var(--gut); text-align: center; }
.h-intro h2 { margin: 0 0 28px; font: 400 clamp(2.3rem, 4.4vw, 4rem)/1.05 var(--serif); color: var(--bronze-deep); }
.h-intro p { margin: 0 auto; max-width: 30em; font: 400 clamp(1.35rem, 2.1vw, 1.85rem)/1.55 var(--serif); color: var(--ink); }
.h-intro .sig { margin-top: 30px; font: italic 400 1.15rem var(--serif); color: var(--stone); }
.h-intro .eyebrow { justify-content: center; }

.h-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); padding: 0 var(--gut); max-width: 1680px; margin: 0 auto; }
.h-col { display: grid; grid-template-rows: auto 1fr; background: var(--paper); transition: background .5s; }
.h-col:hover { background: var(--sand-soft); }
.h-col__img { aspect-ratio: 4 / 4.6; background: #E6DDCF; }
.h-col__img img { object-position: 50% 60%; transition: transform 1.6s var(--ease); }
.h-col:hover .h-col__img img { transform: scale(1.04); }
.h-col__txt { padding: 26px clamp(20px, 2vw, 32px) 30px; display: grid; gap: 8px; align-content: start; }
.h-col__txt small { font: 400 .7rem var(--sans); letter-spacing: .2em; color: var(--bronze-txt); }
.h-col__txt h3 { margin: 0; font: 500 clamp(1.5rem, 2.1vw, 2rem)/1.1 var(--serif); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze-deep); }
.h-col__txt p { margin: 0 0 12px; color: var(--stone); font-size: .98rem; }
.h-col__txt .link { justify-self: start; }
@media (max-width: 900px) { .h-cols { grid-template-columns: 1fr; } .h-col { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .h-col__img { aspect-ratio: auto; min-height: 260px; } }
@media (max-width: 520px) { .h-col { grid-template-columns: 1fr; } .h-col__img { aspect-ratio: 4 / 4.2; } }

.h-ex { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin: clamp(90px, 10vw, 150px) var(--gut) 0; max-width: 1680px; background: var(--ivory-2); }
@media (min-width: 1800px) { .h-ex { margin-inline: auto; } }
.h-ex__txt { padding: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.h-ex__txt h2 { margin: 6px 0 22px; font: 400 clamp(2.6rem, 4.6vw, 4.6rem)/.98 var(--serif); color: var(--ink); }
.h-ex__venue { margin: 0 0 30px; font-size: 1.05rem; line-height: 1.6; color: var(--stone); }
.h-ex__venue b { display: block; font: 500 1.35rem var(--serif); color: var(--ink); }
.h-ex__art { display: grid; place-items: center; padding: clamp(30px, 4vw, 64px); background: #E9E2D6; }
.h-ex__art .sheet { width: min(100%, 560px); background: #fff; padding: 14px; box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 40px 70px -40px rgba(40,26,10,.5); }
.h-ex__art .sheet .rise { aspect-ratio: var(--r); }
.h-ex__art figcaption { margin-top: 14px; font-size: .84rem; color: var(--stone); text-align: center; }
@media (max-width: 900px) { .h-ex { grid-template-columns: 1fr; } }

.h-sel { padding: clamp(90px, 10vw, 150px) var(--gut) 0; max-width: 1680px; margin: 0 auto; }
.h-sel__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.h-sel__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.h-tile { display: grid; gap: 12px; }
.h-tile__img { aspect-ratio: 1; background: var(--paper); }
.h-tile__img img { object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.h-tile__img.cover img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.h-tile:hover .h-tile__img img { transform: scale(1.05); }
.h-tile .ti { font-size: 1.2rem; line-height: 1.15; }
.h-tile small { display: block; color: var(--stone); font-size: .8rem; margin-top: 3px; }
@media (max-width: 900px) { .h-sel__row { grid-template-columns: repeat(5, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; } .h-tile { scroll-snap-align: start; } }

.h-studio { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 90px); align-items: center; padding: clamp(100px, 12vw, 170px) var(--gut) 0; max-width: 1680px; margin: 0 auto; }
.h-studio__imgs { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.h-studio__imgs .rise { aspect-ratio: 3 / 4.2; }
.h-studio__imgs .rise:last-child { margin-top: 18%; aspect-ratio: 3 / 3.6; }
.h-studio__txt h2 { margin: 6px 0 20px; }
.h-studio__txt p { margin: 0 0 28px; color: var(--stone); font-size: 1.08rem; max-width: 32em; }
@media (max-width: 900px) { .h-studio { grid-template-columns: 1fr; } }

.h-fashion { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin: clamp(100px, 12vw, 170px) var(--gut) 0; max-width: 1680px; background: linear-gradient(120deg, #F3E9DA, #EADBC4); overflow: hidden; }
@media (min-width: 1800px) { .h-fashion { margin-inline: auto; } }
.h-fashion__txt { padding: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.h-fashion__brand { margin: 0; font: 500 .8rem var(--serif); letter-spacing: .6em; text-transform: uppercase; color: var(--bronze-txt); }
.h-fashion__title { margin: 6px 0 4px; font: 400 clamp(3.2rem, 7vw, 6.4rem)/.9 var(--serif); letter-spacing: .04em; text-transform: uppercase; color: var(--bronze-deep); }
.h-fashion__tag { margin: 0 0 22px; font: 500 .74rem var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--ink); }
.h-fashion__txt p { max-width: 30em; color: var(--stone); margin: 0 0 26px; }
.h-fashion__img { position: relative; min-height: 420px; }
.h-fashion__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon { display: inline-flex; align-items: center; gap: 14px; font: 500 .72rem var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--bronze-txt); }
.soon::before, .soon::after { content: ""; width: 34px; height: 1px; background: var(--bronze); }
@media (max-width: 900px) { .h-fashion { grid-template-columns: 1fr; } .h-fashion__img { min-height: 320px; order: -1; } }

/* ---------- about me ---------- */
.am-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 90px); align-items: center; padding: calc(var(--hdr) + clamp(30px, 4vw, 60px)) var(--gut) clamp(40px, 5vw, 70px); max-width: 1680px; margin: 0 auto; }
.am-hero__photo { margin: 0; background: #fff; padding: clamp(10px, 1.2vw, 18px); box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 50px 80px -50px rgba(40,26,10,.5); }
.am-hero__photo .rise { aspect-ratio: var(--r); }
.am-hero h1 { margin: 6px 0 12px; font: 400 clamp(2.8rem, 5vw, 5.2rem)/1 var(--serif); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.am-hero__role { margin: 0 0 30px; font: 500 .74rem var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--stone); }
.am-hero__intro p { margin: 0 0 1em; font: 400 clamp(1.2rem, 1.6vw, 1.45rem)/1.55 var(--serif); color: var(--ink); max-width: 30em; }
@media (max-width: 900px) { .am-hero { grid-template-columns: 1fr; } }
.am-tabs { position: sticky; top: var(--hdr); z-index: 30; background: rgba(246,241,232,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); transition: top .6s var(--ease); }
.hdr.is-hidden ~ main .am-tabs { top: 0; }
.am-tabs__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1680px; margin: 0 auto; padding: 0 var(--gut); }
.am-tab { position: relative; display: grid; gap: 6px; padding: 22px 18px 20px; text-align: left; color: var(--stone); transition: color .3s, background .3s; }
.am-tab + .am-tab { border-left: 1px solid var(--line); }
.am-tab small { font: 400 .72rem var(--sans); letter-spacing: .16em; color: var(--bronze-txt); }
.am-tab b { font: 500 .8rem var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.am-tab i { display: flex; align-items: center; gap: 10px; font-style: normal; color: var(--bronze); }
.am-tab i::before { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.am-tab:hover i::before, .am-tab[aria-selected=true] i::before { width: 58px; }
.am-tab[aria-selected=true] { background: var(--ivory-2); }
.am-tab[aria-selected=true] b { color: var(--bronze-deep); }
.am-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold-line); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.am-tab[aria-selected=true]::after { transform: scaleX(1); }
@media (max-width: 760px) { .am-tabs__in { grid-template-columns: 1fr 1fr; padding: 0; } .am-tab { padding: 14px 16px; } .am-tab:nth-child(3) { border-left: 0; } .am-tab:nth-child(n+3) { border-top: 1px solid var(--line); } .am-tab i { display: none; } .am-tab b { font-size: .7rem; letter-spacing: .18em; } }
.am-panel { display: none; max-width: 1680px; margin: 0 auto; padding: clamp(60px, 7vw, 110px) var(--gut) 0; }
.am-panel.on { display: block; animation: fadeup .8s var(--ease); }
.am-panel__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding-bottom: 30px; margin-bottom: clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.am-panel__head h2 { margin: 6px 0 0; font: 400 clamp(2.6rem, 5vw, 5rem)/1 var(--serif); color: var(--ink); }
.am-panel__head h2 em { display: block; margin-top: 10px; font-size: .5em; color: var(--bronze-txt); }
.story { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); }
.story__toc { position: sticky; top: calc(var(--hdr) + 110px); align-self: start; display: grid; gap: 2px; }
.story__toc a { display: grid; grid-template-columns: 28px 1fr; padding: 9px 0; font-size: .9rem; color: var(--stone); border-bottom: 1px solid var(--line); transition: color .3s; }
.story__toc a small { color: var(--bronze-txt); font-variant-numeric: tabular-nums; }
.story__toc a.on, .story__toc a:hover { color: var(--ink); }
.story__body { max-width: 40em; }
.story__body h3 { margin: 2.2em 0 .8em; font: 500 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--serif); color: var(--bronze-deep); }
.story__body h3:first-child { margin-top: 0; }
.story__body p { margin: 0 0 1.15em; font: 400 1.22rem/1.75 var(--serif); color: #2D241B; }
.story__body > section:first-child > p:first-of-type::first-letter { float: left; font: 400 4.6em/.8 var(--serif); padding: .06em .1em 0 0; color: var(--bronze-txt); }
.story__body figure { margin: 2em 0; } .story__body figure .rise { aspect-ratio: var(--r); }
.story__body figcaption { margin-top: 10px; font-size: .86rem; color: var(--stone); }
.story__quote { margin: 2em 0; padding: 32px 0; border-block: 1px solid var(--line); font: italic 400 clamp(1.7rem, 2.8vw, 2.4rem)/1.3 var(--serif); color: var(--bronze-deep); }
.story__sig { margin-top: 2em; font: italic 400 1.6rem var(--serif); color: var(--ink); } .story__sig small { display: block; font: 400 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); font-style: normal; margin-top: 6px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__toc { position: static; } }
.am-bio { max-width: 44em; }
.am-bio p { margin: 0 0 1.2em; font: 400 1.18rem/1.8 var(--serif); color: #2D241B; }
.am-bio .note { font-family: var(--sans); }

/* ---------- contact ---------- */
.ct { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: max(100svh, 760px); }
.ct-stage { position: relative; overflow: hidden; background: #E9E1D5; }
.ct-stage .h-slide img { object-position: 50% 55%; }
.ct-stage .h-cap { left: var(--gut); right: auto; width: min(340px, 80%); }
.ct-form { padding: calc(var(--hdr) + clamp(30px, 4vw, 60px)) var(--gut) clamp(40px, 5vw, 70px) clamp(30px, 4.6vw, 80px); }
.ct-form h1 { margin: 6px 0 18px; font: 400 clamp(2.8rem, 4.6vw, 4.6rem)/1 var(--serif); color: var(--ink); }
.ct-form .lead { font-size: 1.08rem; color: var(--stone); max-width: 32em; margin: 0 0 34px; }
.ct-form .form input, .ct-form .form select, .ct-form .form textarea { background: var(--card); border: 1px solid #D3C7B5; padding: 13px 14px; }
.ct-form .form input:focus, .ct-form .form select:focus, .ct-form .form textarea:focus { border-color: var(--bronze-txt); box-shadow: 0 0 0 3px rgba(176,129,77,.15); }
.ct-form .form .btn { padding: 18px 34px; }
.ct-info { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.ct-info div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.ct-info svg { width: 20px; height: 20px; color: var(--bronze-txt); margin-top: 2px; }
.ct-info b { display: block; margin-bottom: 4px; font: 500 .66rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.ct-info span, .ct-info a { font-size: .95rem; color: var(--stone); }
.ct-info a:hover { color: var(--bronze-txt); }
.ct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); padding: clamp(70px, 8vw, 120px) var(--gut) 0; max-width: 1680px; margin: 0 auto; }
.ct-card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; padding: 18px; background: var(--paper); text-align: left; transition: background .4s; }
.ct-card:hover { background: var(--sand-soft); }
.ct-card__img { aspect-ratio: 1; background: #E6DDCF; overflow: hidden; }
.ct-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ct-card h2 { margin: 0 0 6px; font: 500 1.35rem var(--serif); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-deep); }
.ct-card p { margin: 0 0 12px; font-size: .92rem; color: var(--stone); }
@media (max-width: 1000px) { .ct { grid-template-columns: 1fr; } .ct-stage { height: 70svh; margin-top: var(--hdr); } .ct-form { padding-top: 40px; } .ct-cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ct-info { grid-template-columns: 1fr; } .ct-card { grid-template-columns: 90px 1fr; } }

/* ---------- collection pages (drawings, beyond the box) ---------- */
.cp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 90px); align-items: center; padding: calc(var(--hdr) + clamp(30px, 4vw, 60px)) var(--gut) clamp(60px, 7vw, 100px); max-width: 1680px; margin: 0 auto; }
.cp-hero h1 { margin: 6px 0 20px; }
.cp-hero .lead { margin: 0 0 28px; color: var(--stone); max-width: 30em; }
.cp-hero__img { box-shadow: 0 50px 80px -50px rgba(40,26,10,.45); }
.cp-hero__img .rise { aspect-ratio: var(--r); }  /* --r is set on the .rise itself: the box keeps its size while the photograph loads */
@media (max-width: 900px) { .cp-hero { grid-template-columns: 1fr; } }
.salon { columns: 3 320px; column-gap: clamp(22px, 3vw, 46px); max-width: 1680px; margin: 0 auto; padding: 0 var(--gut); }
.sheet-card { break-inside: avoid; display: block; margin: 0 0 clamp(36px, 4vw, 60px); }
.sheet-card__paper { background: #fff; padding: clamp(10px, 1vw, 16px); box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 34px 60px -34px rgba(40,26,10,.4); transform: rotate(var(--rot, 0deg)); transition: transform .9s var(--ease), box-shadow .9s var(--ease); }
.sheet-card:hover .sheet-card__paper { transform: rotate(0) translateY(-6px); box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 50px 70px -40px rgba(40,26,10,.45); }
.sheet-card__paper .rise { aspect-ratio: var(--r); }
.sheet-card__lab { display: grid; gap: 2px; margin-top: 16px; }
.sheet-card__lab .ti { font-size: 1.35rem; line-height: 1.15; }
.sheet-card__lab small { font-size: .84rem; color: var(--stone); }
.badge { justify-self: start; margin-top: 6px; padding: 4px 10px; border-radius: 99px; background: var(--sand-soft); font: 500 .62rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-deep); }
.band { margin: clamp(60px, 7vw, 110px) 0; position: relative; }
.band .rise { height: min(78svh, 760px); }
.band figcaption { position: absolute; left: var(--gut); bottom: 20px; padding: 8px 14px; background: rgba(246,241,232,.88); font-size: .82rem; color: var(--stone); }
.bb-list { max-width: 1680px; margin: 0 auto; padding: 0 var(--gut); display: grid; gap: clamp(80px, 9vw, 140px); }
.bb { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.bb:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.bb:nth-child(even) .bb__art { order: 2; }
.bb__art { display: block; height: min(86svh, 860px); background: #EAE2D6; }
.bb__art .rise { height: 100%; }
.bb__art .rise img { object-fit: contain; }
.bb__txt h2 { margin: 8px 0 16px; font: italic 500 clamp(2.2rem, 3.6vw, 3.6rem)/1 var(--serif); color: var(--ink); }
.bb__txt p { color: var(--stone); font-size: 1.05rem; max-width: 30em; }
@media (max-width: 900px) { .bb, .bb:nth-child(even) { grid-template-columns: 1fr; } .bb:nth-child(even) .bb__art { order: 0; } .bb__art { height: 70svh; } }
.next-band { max-width: 1680px; margin: clamp(80px, 9vw, 140px) auto 0; padding: clamp(40px, 5vw, 70px) var(--gut); border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.next-band p { margin: 0; font: italic 400 clamp(1.4rem, 2.4vw, 2rem) var(--serif); color: var(--stone); }

/* ---------- fashion ---------- */
.fa-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 90px); padding: calc(var(--hdr) + clamp(30px, 4vw, 60px)) var(--gut) 0; max-width: 1680px; margin: 0 auto; align-items: center; }
.fa-hero__brand { margin: 0; font: 500 .9rem var(--serif); letter-spacing: .7em; text-transform: uppercase; color: var(--bronze-txt); }
.fa-hero h1 { margin: 8px 0 6px; font: 400 clamp(4rem, 9vw, 8.6rem)/.86 var(--serif); letter-spacing: .03em; text-transform: uppercase; color: var(--bronze-deep); }
.fa-hero__tag { margin: 0 0 34px; padding-bottom: 28px; border-bottom: 1px solid var(--bronze); font: 500 .8rem var(--sans); letter-spacing: .55em; text-transform: uppercase; }
.fa-hero h2 { margin: 0 0 16px; font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.15 var(--serif); }
.fa-hero p { margin: 0 0 1em; color: #3A3027; font-size: 1.05rem; }
.fa-hero ul { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 8px; }
.fa-hero li { position: relative; padding-left: 20px; color: #3A3027; }
.fa-hero li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.fa-hero__img { aspect-ratio: var(--r); }
.fa-pair { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(14px, 2vw, 30px); padding: clamp(60px, 7vw, 110px) var(--gut) 0; max-width: 1680px; margin: 0 auto; }
.fa-pair figure { margin: 0; } .fa-pair .rise { aspect-ratio: var(--r); }
.fa-pair figcaption, .fa-hero figcaption { margin-top: 12px; text-align: center; font: italic 400 1.1rem var(--serif); color: var(--stone); }
.fa-soon { text-align: center; padding: clamp(80px, 9vw, 130px) var(--gut) 0; }
.fa-soon h2 { margin: 0; font: 400 clamp(3rem, 7vw, 6rem)/1 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: var(--bronze-deep); display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); }
.fa-soon h2::before, .fa-soon h2::after { content: ""; flex: 0 1 140px; height: 1px; background: var(--bronze); }
.fa-soon p { margin: 10px 0 0; font: italic 400 1.2rem var(--serif); color: var(--stone); }
.fa-soon .motto { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--ink); margin: 6px 0 34px; }
.fa-note { margin: 22px auto 0; max-width: 40em; font-size: .82rem; color: var(--mute); }
@media (max-width: 900px) { .fa-hero, .fa-pair { grid-template-columns: 1fr; } }

/* ---------- studio & process: the beach first, then Mishaal's eighteen photographs from the studio (October 2026) ---------- */
.sp-beach { max-width: 1680px; margin: 0 auto; padding: calc(var(--hdr) + clamp(40px, 6vw, 90px)) var(--gut) 0; }
.sp-beach__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 90px); align-items: end; margin-bottom: clamp(36px, 4.6vw, 64px); }
.sp-beach h1 { margin: 6px 0 14px; font: 400 clamp(2.8rem, 5.6vw, 5.6rem)/1 var(--serif); color: var(--bronze-deep); }
.sp-place { margin: 0; font: 500 .72rem/1.6 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--stone); }
.sp-intro { margin: 0; max-width: 34em; font: 400 clamp(1.16rem, 1.5vw, 1.38rem)/1.65 var(--serif); color: var(--ink); }
.sp-collage { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(8px, 1vw, 14px); }
.sp-collage__side { display: grid; grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr); gap: inherit; }
.sp-collage__pair { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.12fr); gap: inherit; }
.sp-collage figure { margin: 0; min-height: 0; cursor: zoom-in; }
.sp-collage .rise { height: 100%; }
.sp-collage > figure .rise { height: auto; aspect-ratio: .856; }
@media (min-width: 761px) { .sp-collage { aspect-ratio: 1.65; } .sp-collage > figure .rise { height: 100%; aspect-ratio: auto; } }  /* room kept before the photographs load */
.sp-quote { max-width: 940px; margin: clamp(60px, 7vw, 110px) auto 0; padding: 0 var(--gut); text-align: center; }
.sp-quote blockquote { margin: 0; }
.sp-quote p { margin: 0 0 1em; font: italic 400 clamp(1.25rem, 1.9vw, 1.65rem)/1.6 var(--serif); color: var(--ink); }
.sp-quote figcaption { margin-top: 10px; font: 500 .7rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--bronze-txt); }

.sp-making { max-width: 1680px; margin: 0 auto; padding: clamp(110px, 12vw, 180px) var(--gut) 0; }
.sp-making__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 90px); align-items: end; padding-bottom: clamp(30px, 3.4vw, 46px); margin-bottom: clamp(50px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.sp-making__head h2 { margin: 6px 0 0; }
.sp-making__head p { margin: 0; max-width: 34em; color: var(--stone); font-size: 1.04rem; }
.sp-making__head .sp-place { display: block; margin-bottom: 12px; }
.sp-wall { display: grid; gap: clamp(56px, 6.5vw, 104px); }
/* two photographs per row at one height, neither cropped: widths follow their proportions (--r), rows no taller than the screen */
.sp-row { --mat: clamp(7px, .75vw, 12px); --gap: clamp(22px, 2.8vw, 48px); display: flex; align-items: flex-start; gap: var(--gap); width: 100%; max-width: calc(min(74svh, 760px) * var(--sr) + var(--gap) + var(--mat) * 4); margin: 0 auto; }
.sp-ph { flex: var(--r) 1 calc(var(--mat) * 2); min-width: 0; margin: 0; }
.sp-ph__img { display: block; width: 100%; padding: var(--mat); background: #fff; box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 40px 70px -46px rgba(40,26,10,.5); cursor: zoom-in; transition: transform .9s var(--ease), box-shadow .9s var(--ease); }
.sp-ph__img:hover { transform: translateY(-4px); box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 50px 80px -46px rgba(40,26,10,.55); }
.sp-ph__img img { display: block; width: 100%; height: auto; aspect-ratio: var(--r); background: var(--paper); }
.sp-ph figcaption { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.sp-ph .n { font: 500 .7rem/2 var(--sans); letter-spacing: .14em; color: var(--bronze-txt); font-variant-numeric: tabular-nums; }
.sp-ph .ti { display: block; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.sp-ph small { display: block; margin-top: 5px; font-size: .88rem; line-height: 1.5; color: var(--stone); }
.sp-ph small + small { margin-top: 2px; font-size: .8rem; color: var(--mute); }
.sp-end { margin: clamp(70px, 8vw, 120px) 0 0; text-align: center; }
@media (max-width: 900px) { .sp-beach__head, .sp-making__head { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 760px) {
  .sp-collage { grid-template-columns: 1fr; }
  .sp-collage__side { grid-template-rows: none; }
  .sp-collage__pair .rise { aspect-ratio: 1; height: auto; }
  .sp-collage__side > figure .rise { aspect-ratio: 2.4; height: auto; }
  .sp-wall { gap: 52px; }
  .sp-row { flex-direction: column; gap: 52px; max-width: none; }
  .sp-ph { flex: none; width: 100%; }
}
.ex-photo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.ex-photo figure { margin: 0; background: #fff; padding: 12px; box-shadow: 0 40px 70px -46px rgba(40,26,10,.5); cursor: zoom-in; }
.ex-photo .rise { aspect-ratio: var(--r); }
.ex-photo h3 { margin: 8px 0 12px; font: 400 clamp(1.9rem, 3.2vw, 3rem)/1.1 var(--serif); }
.ex-photo p { color: var(--stone); }
@media (max-width: 860px) { .ex-photo { grid-template-columns: 1fr; } }
.bb__n { display: block; margin-bottom: 14px; font: 300 clamp(2.6rem, 4vw, 4rem)/.8 var(--serif); color: var(--bronze); }
@media (min-width: 1001px) { .ct-stage { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); align-self: start; } .ct { padding-top: var(--hdr); } .ct-form { padding-top: clamp(30px, 4vw, 60px); } }
/* contact carousel on wide screens: the whole sculpture, never cropped, and its label beneath the photograph
   instead of over it (Mishaal, email 8). Phones keep the full-bleed version. */
@media (min-width: 1001px) {
  .ct-stage { display: flex; flex-direction: column; background: var(--paper); }
  .ct-stage #ctSlides { position: relative; flex: 1; min-height: 0; margin: clamp(28px, 3.2vw, 52px) clamp(28px, 3.2vw, 52px) 0; }
  .ct-stage .h-slide img { object-fit: contain; object-position: 50% 50%; transform: none; transition: none; filter: drop-shadow(0 30px 28px rgba(40,26,10,.22)); }
  .ct-stage .h-cap { position: static; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; width: auto; padding: 24px clamp(28px, 3.2vw, 52px) 30px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ct-stage .h-cap #ctCap { min-width: 0; }
  .ct-stage .h-cap p { margin: 6px 0 0; }
  .ct-stage .h-cap__nav { flex: 0 0 min(250px, 42%); }
}
body[data-page=contact] .ftr__top { display: none; }
.fa-note { text-align: center; font-family: var(--sans); font-style: normal; }
.fa-soon p:not(.motto):not(.fa-note) { margin-left: auto; margin-right: auto; }
.bb__art .rise { background: transparent; }
.bb__art { background: linear-gradient(#EFE8DC, #E7DED0); }

/* artwork pages: Mishaal's own photographs are shown whole, without a mat */
.work__holder .fig.is-fresh { height: 100%; width: auto; max-width: 100%; aspect-ratio: var(--r); }
.work__holder .fig.is-fresh .fig__photo { object-fit: contain; object-position: center bottom; box-shadow: none; }
.work__holder .fig.is-fresh::before { content: ""; position: absolute; inset: auto 4% -1.6% 4%; height: 3%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40,28,14,.22), transparent); }
.work__info { background: var(--card); }
.stage__wall { background: radial-gradient(110% 85% at 50% 16%, color-mix(in srgb, var(--tint) 8%, #FBF8F2) 0%, var(--wall) 62%); }
.stage__floor { background: linear-gradient(var(--wall), var(--floor)); }
@media (max-width: 760px) { .am-panel__head { grid-template-columns: 1fr; gap: 14px; } .am-panel__head .seg { justify-self: start; } .am-panel { padding-top: 44px; } }
.fa-soon p.fa-note { font: 400 .82rem/1.5 var(--sans); }
@media (max-width: 600px) { .fa-soon h2 { font-size: 2.5rem; } .fa-soon h2::before, .fa-soon h2::after { flex-basis: 28px; } }
@media (max-width: 900px) { .bb__art { height: auto; } .bb__art .rise { height: auto; aspect-ratio: var(--r); } }

/* ---------- home hero, revised: the photograph fills the right side up to the text and runs to the top;
   the caption sits beside the sculpture, not over it ---------- */
.h-slides { position: absolute; inset: 0; }
.h-stage .h-slide__img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 901px) {
  .h-hero { --tw: clamp(420px, 34vw, 660px); --hh: max(100svh, 680px); --iw: calc((var(--hh) - var(--hdr)) * .9);
    grid-template-columns: var(--tw) minmax(0, 1fr); height: var(--hh); min-height: 0; padding-top: var(--hdr); }
  .h-hero__text { padding: 16px clamp(20px, 2.4vw, 40px) 36px clamp(var(--gut), 5vw, 110px); }
  .h-stage { height: 100%; -webkit-mask-image: none; mask-image: none; }
  .h-stage::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: clamp(50px, 6vw, 110px); z-index: 3; background: linear-gradient(90deg, var(--wall), transparent); pointer-events: none; }
  /* the sculpture keeps its full height; it sits right of centre so the caption has room on its left */
  .h-stage .h-slide { display: flex; justify-content: flex-end; padding-right: max(0px, calc((100vw - var(--tw) - var(--iw)) / 2 - 40px)); }
  .h-stage .h-slide__img { flex: none; width: auto; max-width: 100%; height: 100%; object-fit: contain; transform: none !important; transition: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
  .h-cap { left: clamp(18px, 2vw, 34px); right: auto; bottom: clamp(22px, 4svh, 40px); width: 228px; padding: 14px 16px 12px; background: rgba(246,241,232,.84); }
  .h-cap .ti { font-size: 1.32rem; }
  .h-cap p { font-size: .8rem; margin: 4px 0 10px; }
  .h-cap__nav .round { width: 30px; height: 30px; }
}
@media (max-width: 900px) {
  .h-stage { height: auto; overflow: visible; background: none; }
  .h-slides { position: relative; inset: auto; height: 64svh; overflow: hidden; background: #E9E1D5; }
  .h-cap { position: static; width: auto; padding: 14px var(--gut) 4px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .h-cap .ti { font-size: 1.3rem; }
  .h-cap p { margin: 2px 0 10px; }
}

.ftr__credit a { color: var(--bronze-deep); border-bottom: 1px solid var(--sand); transition: border-color .3s; }
.ftr__credit a:hover { border-color: var(--bronze); }
