/* ==========================================================
   Nourhan Salama — gallery at night
   ========================================================== */
:root {
  /* Catalogue identity: espresso, cream paper, bronze, Caladea */
  --ink: #1d1712;
  --ink-2: #251e18;     /* catalogue cover */
  --ink-3: #2e261f;
  --ivory: #f7f4ed;     /* catalogue page */
  --ivory-dim: rgba(247, 244, 237, .64);
  --ivory-faint: rgba(247, 244, 237, .15);
  --gold: #b2945a;      /* catalogue bronze */
  --gold-hi: #d9bd85;
  --sand: #e6d3a8;
  --river: #3d6a8c;
  --emerald: #2f5f4c;
  --earth: #8a4a2a;
  --paper: #f7f4ed;
  --paper-ink: #2a211a;
  --display: "Caladea", "Cambria", Georgia, serif;
  --serif: "Caladea", "Cambria", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
em { font-style: italic; }

@media (hover: hover) and (pointer: fine) {
  body:not(.is-touch), body:not(.is-touch) a, body:not(.is-touch) button, body:not(.is-touch) input,
  body:not(.is-touch) textarea, body:not(.is-touch) label { cursor: none; }
}

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1500px; margin: 0 auto; }
.view { position: relative; z-index: 2; outline: none; }

/* ---------- Type ---------- */
.cap { font: 500 11px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.cap--dim { color: var(--ivory-dim); }
.h1, .h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: .98; margin: 0; }
.h1 { font-size: clamp(52px, 10vw, 168px); }
.h2 { font-size: clamp(40px, 6.4vw, 104px); }
.h1 em, .h2 em, .cta__h em, .hero__headline em { font-family: var(--serif); font-weight: 300; font-style: italic; color: var(--sand); letter-spacing: 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

[data-reveal] { opacity: 0; transform: translateY(40px); }

.link { display: inline-flex; gap: 10px; align-items: center; font: 500 12px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); padding: 10px 0; border-bottom: 1px solid var(--ivory-faint); transition: border-color .5s, color .5s; }
.link span { transition: transform .6s var(--ease); }
.link:hover { color: var(--gold-hi); border-color: var(--gold); }
.link:hover span { transform: translateX(8px); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px; border: 1px solid rgba(201, 162, 74, .55);
  font: 500 11.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ivory);
  overflow: hidden; isolation: isolate; transition: color .6s var(--ease), border-color .6s;
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--gold);
  clip-path: inset(0 100% 0 0 round 999px); transition: clip-path .7s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--gold); }
.btn:hover::before { clip-path: inset(0 0 0 0 round 999px); }
.btn--solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--solid::before { background: var(--ivory); }
.btn--ghost { border-color: var(--ivory-faint); }

.brush-line { display: block; width: 100%; height: 22px; overflow: visible; }
.brush-line path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; opacity: .7; filter: url(#rough); }

/* ---------- Layers ---------- */
.trail { position: fixed; inset: 0; z-index: 60; pointer-events: none; mix-blend-mode: screen; }
.wipe { position: fixed; inset: 0; z-index: 200; pointer-events: none; visibility: hidden; }
.grain {
  position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; will-change: transform; }
.cursor__brush { position: absolute; left: -11px; top: 0; transform-origin: 11px 0; transition: scale .5s var(--ease); filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.cursor__brush svg { display: block; }
.cursor__tip { transition: fill 1.2s; }
.cursor.is-hover .cursor__brush { scale: 1.18; }
.cursor.is-down .cursor__brush { scale: .9; }
.cursor__label {
  position: absolute; left: 22px; top: -34px; white-space: nowrap;
  font: 500 10px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink);
  background: var(--gold); padding: 7px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(8px) scale(.8); transition: .5s var(--ease);
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
body.is-touch .cursor { display: none; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 150; background: var(--ink); display: grid; place-items: center; }
.loader__canvas { position: absolute; inset: 0; }
.loader__inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 14px; padding: 0 var(--gutter); }
.loader__mark { width: min(340px, 70vw); min-height: 40px; display: grid; place-items: center; }
.loader__mark img { width: 100%; }
.loader__count { font: 400 clamp(64px, 12vw, 150px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.loader__count span { color: var(--ivory); }
.loader__label { font: 500 11px var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.loader__enter { display: none; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.loader.is-ready .loader__enter { display: flex; }
.loader.is-ready .loader__label { display: none; }
.loader__hint { width: 100%; margin: 6px 0 0; font: 400 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); }

/* ---------- Side mark ---------- */
.side { position: fixed; z-index: 40; top: 50%; right: 18px; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; font: 500 10px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-dim); pointer-events: none; mix-blend-mode: difference; }
.side i { width: 1px; height: 40px; background: currentColor; opacity: .5; }
@media (max-width: 700px) { .side { display: none; } }

/* ---------- Pill nav ---------- */
.pill {
  position: fixed; z-index: 100; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: min(460px, calc(100% - 32px)); display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 6px;
  padding: 8px 8px 8px 16px; border-radius: 22px;
  background: rgba(18, 14, 10, .62); border: 1px solid rgba(201, 162, 74, .22);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transition: border-radius .6s var(--ease);
}
.pill__logo { display: grid; place-items: center; height: 34px; min-width: 40px; }
.pill__logo img { height: 22px; width: auto; }
.pill__mono { font: italic 400 20px var(--display); color: var(--gold); }
.pill__current { text-align: center; font: 500 11px var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.pill__sound, .pill__burger { width: 42px; height: 38px; border-radius: 14px; display: grid; place-items: center; transition: background .4s; }
.pill__sound:hover, .pill__burger:hover { background: rgba(239,230,212,.06); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.bars i { width: 2px; height: 3px; background: var(--ivory-dim); border-radius: 2px; transition: background .4s; }
.pill__sound.is-on .bars i { background: var(--gold); animation: bar 1.1s ease-in-out infinite; }
.pill__sound.is-on .bars i:nth-child(2) { animation-delay: -.3s; } .pill__sound.is-on .bars i:nth-child(3) { animation-delay: -.6s; } .pill__sound.is-on .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes bar { 0%,100% { height: 3px } 50% { height: 14px } }
.pill__burger { flex-direction: column; gap: 5px; display: flex; align-items: center; justify-content: center; }
.pill__burger i { display: block; width: 18px; height: 1px; background: var(--ivory); transition: transform .5s var(--ease); }
.pill.is-open .pill__burger i:first-child { transform: translateY(3px) rotate(45deg); }
.pill.is-open .pill__burger i:last-child { transform: translateY(-3px) rotate(-45deg); }
.pill__menu {
  grid-column: 1 / -1; grid-row: 1; display: grid; gap: 2px; overflow: hidden;
  max-height: 0; transition: max-height .8s var(--ease), padding .8s var(--ease);
}
.pill.is-open .pill__menu { max-height: 460px; padding: 10px 2px 14px; }
.pill__menu a { display: flex; align-items: baseline; gap: 16px; padding: 6px 4px; font: 400 clamp(30px, 6vw, 40px)/1.1 var(--display); color: var(--ivory); transition: color .4s, padding .6s var(--ease); }
.pill__menu a em { font: 500 10px var(--sans); letter-spacing: .2em; color: var(--gold); font-style: normal; }
.pill__menu a:hover, .pill__menu a.is-active { color: var(--gold-hi); padding-left: 14px; }
.pill__menu a.is-active { font-style: italic; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.hero__art, .hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__art img { object-fit: cover; will-change: transform; }
.hero__art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, transparent 30%, rgba(10,8,6,.85) 100%); }
.hero__wall { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.hero__beam {
  position: absolute; left: 50%; top: -10%; width: 9vw; min-width: 70px; height: 120%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(243,213,138,.0), rgba(243,213,138,.55) 30%, rgba(201,162,74,.25) 70%, rgba(201,162,74,0));
  filter: blur(26px); mix-blend-mode: screen; z-index: 2; pointer-events: none;
  animation: beam 5s ease-in-out infinite;
}
@keyframes beam { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
.hero__dust { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__copy { position: absolute; z-index: 5; left: var(--gutter); bottom: clamp(110px, 20vh, 200px); max-width: 640px; }
.hero__name { font: 400 clamp(38px, 7.4vw, 112px)/.95 var(--display); margin: 0 0 18px; letter-spacing: -.01em; }
.hero__name .dot { color: var(--gold); }
.hero__copy .cap { margin: 0 0 6px; }
.hero__copy .cap--dim { margin-top: 18px; }
.hero__word { margin: 0; font: italic 300 clamp(26px, 3vw, 40px)/1.2 var(--serif); color: var(--sand); min-height: 1.3em; }
.hero__inside {
  position: absolute; z-index: 6; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 0 var(--gutter) 80px; background: radial-gradient(ellipse at center, rgba(10,8,6,.55), rgba(10,8,6,.15) 70%);
}
.hero__headline { font: 400 clamp(40px, 6.6vw, 110px)/1 var(--display); margin: 0 0 22px; max-width: 14ch; }
.hero__tag { max-width: 560px; color: var(--ivory-dim); margin: 0 0 32px; font: italic 300 clamp(18px, 1.6vw, 22px)/1.5 var(--serif); }
.hero__inside .btns { justify-content: center; }
.hero__hint { position: absolute; z-index: 5; left: 50%; bottom: 100px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font: 500 10px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ivory-dim); }
.hero__hint i { width: 1px; height: 28px; background: linear-gradient(var(--gold), transparent); animation: hint 2s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0) } 50% { transform: scaleY(1) } 100% { transform: scaleY(1); opacity: 0 } }

/* ---------- Intro ---------- */
.intro { padding-top: clamp(120px, 20vh, 240px); padding-bottom: clamp(100px, 16vh, 200px); }
.intro__text { font: 400 clamp(30px, 4.4vw, 68px)/1.15 var(--display); margin: 0 0 42px; max-width: 22ch; letter-spacing: -.01em; }

/* ---------- Works rail ---------- */
.works__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 4vh; overflow: hidden; }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.works__head .cap { font-variant-numeric: tabular-nums; }
.works__track { display: flex; gap: clamp(18px, 3vw, 44px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card { width: clamp(240px, 26vw, 400px); flex: none; }
.card:nth-child(even) { margin-top: 6vh; }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.card__img img { width: 116%; max-width: none; height: 100%; object-fit: cover; margin-left: -8%; transition: filter .8s; }
.card:hover .card__img img { filter: brightness(1.1) saturate(1.1); }
.card__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding-top: 16px; }
.card__meta span { font: 500 11px var(--sans); color: var(--gold); letter-spacing: .2em; padding-top: 6px; }
.card__meta h3 { margin: 0; font: 400 26px/1.1 var(--display); }
.card__meta small { grid-column: 2; color: var(--ivory-dim); font-size: 13px; }
.card--more { display: grid; place-items: center; aspect-ratio: 4/5; border: 1px solid var(--ivory-faint); align-self: flex-start; font: 400 32px/1.2 var(--display); text-align: center; transition: background .6s, color .6s; }
.card--more em { font-family: var(--serif); color: var(--sand); }
.card--more:hover { background: var(--gold); color: var(--ink); }
.card--more:hover em { color: var(--ink); }

.brush-cover { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
[data-brush] { position: relative; }
[data-brush].is-covered::after { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: 1; }

/* ---------- Expect rows ---------- */
.sec-head { margin-bottom: clamp(40px, 7vh, 80px); }
.expect { padding-top: clamp(100px, 18vh, 220px); padding-bottom: clamp(80px, 12vh, 140px); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { position: relative; display: grid; grid-template-columns: 80px 1fr 1.1fr; gap: 24px; padding: 34px 0 40px; align-items: baseline; }
.row__n { font: 500 12px var(--sans); letter-spacing: .2em; color: var(--gold); }
.row__t { margin: 0; font: 400 clamp(24px, 2.6vw, 38px)/1.15 var(--display); transition: color .5s, transform .8s var(--ease); }
.row__d { margin: 0; color: var(--ivory-dim); font-size: 16px; max-width: 52ch; }
.row__line { position: absolute; left: 0; bottom: 0; height: 18px; }
.row:hover .row__t { color: var(--gold-hi); transform: translateX(10px); }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Quote ---------- */
.quote, .vision-hero { position: relative; padding: clamp(120px, 22vh, 260px) 0; overflow: hidden; text-align: center; }
.quote__paint { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.quote blockquote { position: relative; margin: 0 auto; max-width: 1200px; }
.quote p, .vision__q { font: italic 300 clamp(36px, 6vw, 96px)/1.08 var(--serif); margin: 0 0 30px; color: var(--ivory); }
.quote cite, .vision-hero cite { font: 500 11px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-style: normal; }
.vision-hero .wrap { position: relative; max-width: 1200px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--ivory-faint); border-bottom: 1px solid var(--ivory-faint); padding: 28px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.swatch { display: inline-flex; align-items: center; gap: 22px; padding: 0 44px; font: 400 clamp(34px, 5vw, 72px)/1 var(--display); white-space: nowrap; }
.swatch i {
  width: 1.4em; height: .5em; background: var(--c);
  border-radius: 50% 40% 55% 45% / 60% 50% 50% 40%; filter: url(#rough);
  transform: rotate(-6deg);
}
.swatch:nth-child(even) { font-family: var(--serif); font-style: italic; color: var(--sand); }

/* ---------- CTA ---------- */
.cta { padding-top: clamp(120px, 22vh, 260px); padding-bottom: clamp(120px, 20vh, 240px); text-align: center; display: grid; justify-items: center; }
.cta__h { font: 400 clamp(42px, 7vw, 120px)/1 var(--display); margin: 0 0 44px; max-width: 16ch; }

/* ---------- Footer ---------- */
.foot { padding: 80px var(--gutter) 140px; border-top: 1px solid var(--ivory-faint); text-align: center; }
.foot__logo { display: grid; place-items: center; margin-bottom: 20px; }
.logo-full { width: min(440px, 80vw); }
.logo-word { font: 500 clamp(26px, 4vw, 44px) var(--display); letter-spacing: .2em; text-transform: uppercase; display: grid; gap: 6px; }
.logo-word small { font: 400 12px var(--display); letter-spacing: .6em; color: var(--ivory-dim); }
.foot__sig { font: italic 300 clamp(22px, 2.4vw, 32px) var(--serif); color: var(--sand); margin: 0 0 60px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim); }
.foot__row nav, .foot__social { display: flex; flex-wrap: wrap; gap: 26px; }
.foot__row a:hover { color: var(--gold-hi); }
@media (max-width: 700px) { .foot__row { justify-content: center; text-align: center; } }

/* ---------- Page head ---------- */
.page-head { padding-top: clamp(120px, 22vh, 220px); padding-bottom: clamp(40px, 8vh, 90px); position: relative; }
.toggle { position: absolute; right: var(--gutter); bottom: clamp(40px, 8vh, 90px); display: flex; gap: 4px; padding: 4px; border: 1px solid var(--ivory-faint); border-radius: 999px; }
.toggle button { padding: 10px 18px; border-radius: 999px; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); transition: .5s var(--ease); }
.toggle button.is-on { background: var(--gold); color: var(--ink); }
@media (max-width: 700px) { .toggle { position: static; margin-top: 30px; width: max-content; } }

/* ---------- Collection ---------- */
.coll { padding-bottom: 140px; }
.coll__grid { columns: 3 320px; column-gap: clamp(18px, 3vw, 40px); }
.tile { display: block; break-inside: avoid; margin-bottom: clamp(30px, 5vw, 70px); }
.tile:nth-child(3n+2) .tile__img { aspect-ratio: 3 / 4; }
.tile__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.tile:hover .tile__img img { transform: scale(1.05); filter: brightness(1.08); }
.tile__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding-top: 14px; }
.tile__meta span { font: 500 11px var(--sans); color: var(--gold); letter-spacing: .2em; padding-top: 6px; }
.tile__meta h3 { margin: 0; font: 400 26px/1.15 var(--display); }
.tile__meta small { grid-column: 2; color: var(--ivory-dim); font-size: 13px; }
.coll__list { display: none; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ivory-faint); }
.coll[data-mode="list"] .coll__grid { display: none; }
.coll[data-mode="list"] .coll__list { display: block; }
.coll__list a { display: grid; grid-template-columns: 60px 1fr 200px 140px 80px; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--ivory-faint); transition: padding .6s var(--ease), color .4s; }
.coll__list a span { font: 500 11px var(--sans); color: var(--gold); letter-spacing: .2em; }
.coll__list h3 { margin: 0; font: 400 clamp(28px, 3.6vw, 54px)/1 var(--display); }
.coll__list small { color: var(--ivory-dim); font-size: 13px; }
.coll__list a:hover { padding-left: 20px; color: var(--gold-hi); }
.coll__list a:hover h3 { font-style: italic; }
@media (max-width: 800px) { .coll__list a { grid-template-columns: 40px 1fr; } .coll__list small { display: none; } }
.float-prev { position: fixed; left: 0; top: 0; z-index: 50; width: 260px; aspect-ratio: 4/5; pointer-events: none; margin: -160px 0 0 40px; opacity: 0; scale: .8; transition: opacity .4s, scale .6s var(--ease); overflow: hidden; }
.float-prev.is-on { opacity: 1; scale: 1; }
.float-prev img { width: 100%; height: 100%; object-fit: cover; }
body.is-touch .float-prev { display: none; }

/* ---------- Artwork ---------- */
.work { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 6vw, 100px); padding-top: clamp(100px, 16vh, 160px); padding-bottom: 120px; align-items: start; }
.work__media { position: sticky; top: 40px; }
.work__img { position: relative; overflow: hidden; background: var(--ink-3); margin-bottom: 14px; }
.work__img img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; margin: 0 auto; }
.lens {
  position: absolute; left: 0; top: 0; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%;
  border: 1px solid rgba(243,213,138,.6); box-shadow: 0 10px 40px rgba(0,0,0,.6), inset 0 0 30px rgba(0,0,0,.3);
  background-repeat: no-repeat; opacity: 0; scale: .6; transition: opacity .4s, scale .5s var(--ease); pointer-events: none; z-index: 3;
}
.work__img.is-lens .lens { opacity: 1; scale: 1; }
body.is-touch .lens { display: none; }
.work__info { padding-top: 20px; }
.link--back { margin-bottom: 40px; }
.work__info .h1 { font-size: clamp(48px, 6.6vw, 110px); margin-bottom: 40px; }
.facts { margin: 0 0 30px; border-top: 1px solid var(--ivory-faint); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--ivory-faint); }
.facts dt { font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 0; text-align: right; }
.work__note { font: italic 300 21px/1.5 var(--serif); color: var(--ivory-dim); margin: 0 0 36px; }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } .work__media { position: relative; top: 0; } }

.next { position: relative; display: block; padding: clamp(80px, 14vh, 160px) var(--gutter); border-top: 1px solid var(--ivory-faint); overflow: hidden; text-align: center; }
.next__t { display: block; font: 400 clamp(48px, 9vw, 150px)/1 var(--display); position: relative; z-index: 2; transition: color .5s; }
.next__t em { font-family: var(--serif); color: var(--gold); display: inline-block; transition: transform .8s var(--ease); }
.next__img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.next__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.35); scale: 1.1; transition: scale 1.6s var(--ease); }
.next:hover .next__img { opacity: 1; }
.next:hover .next__img img { scale: 1; }
.next:hover .next__t em { transform: translateX(20px); }
.next .cap { position: relative; z-index: 2; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: start; padding-bottom: 120px; }
.about__media { position: sticky; top: 40px; aspect-ratio: 4/5; overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { font-size: 18px; color: var(--ivory-dim); margin: 0 0 28px; max-width: 60ch; }
.about__text p.lead { font: 400 clamp(26px, 2.8vw, 40px)/1.25 var(--display); color: var(--ivory); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__media { position: relative; top: 0; } }
.why { padding-top: 60px; padding-bottom: 120px; }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--ivory-faint); border: 1px solid var(--ivory-faint); }
.why__item { background: var(--ink); padding: 40px 34px 46px; transition: background .6s; }
.why__item:hover { background: var(--ink-2); }
.why__item span { font: italic 400 34px var(--display); color: var(--gold); display: block; margin-bottom: 30px; }
.why__item h3 { margin: 0 0 12px; font: 400 26px/1.15 var(--display); }
.why__item p { margin: 0; color: var(--ivory-dim); }
.why__close { text-align: center; font: italic 300 clamp(28px, 3.6vw, 52px)/1.2 var(--serif); color: var(--sand); margin: 100px auto 0; max-width: 24ch; }
.bio { padding-bottom: 140px; max-width: 900px; }
.bio p:last-child { font: 400 clamp(20px, 2vw, 28px)/1.45 var(--serif); }

/* ---------- Vision ---------- */
.vision { max-width: 1100px; padding-bottom: 60px; }
.vision > p { font: 400 clamp(26px, 3.2vw, 48px)/1.2 var(--display); margin: 0 0 80px; }
.promise { border: 1px solid rgba(201,162,74,.35); padding: clamp(30px, 5vw, 70px); text-align: center; }
.promise__t { font: italic 300 clamp(28px, 3.4vw, 50px)/1.2 var(--serif); margin: 0 auto 26px; max-width: 26ch; }
.promise__line { width: 220px; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); padding-top: clamp(120px, 20vh, 200px); padding-bottom: 140px; align-items: start; }
.contact .h1 { font-size: clamp(50px, 7.4vw, 124px); margin-bottom: 36px; }
.contact__lead { font: italic 300 22px/1.5 var(--serif); color: var(--ivory-dim); max-width: 44ch; margin: 0 0 40px; }
.contact__details { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ivory-faint); }
.contact__details li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--ivory-faint); }
.contact__details span { font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.contact__details a:hover { color: var(--gold-hi); }
.form { display: grid; gap: 26px; padding: clamp(26px, 4vw, 50px); background: var(--ink-2); border: 1px solid var(--ivory-faint); }
.form label > span, .form legend { display: block; font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.form input:not([type=radio]), .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ivory-faint); color: var(--ivory);
  font: 400 22px var(--serif); padding: 8px 0 12px; outline: none; transition: border-color .5s; resize: vertical; border-radius: 0;
}
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips label span { display: inline-block; margin: 0; padding: 11px 18px; border: 1px solid var(--ivory-faint); border-radius: 999px; font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-dim); transition: .4s var(--ease); }
.chips input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.chips input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.form .btn { justify-self: start; }
.form__note { margin: 0; min-height: 1.4em; color: var(--sand); font: italic 300 18px var(--serif); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track, .hero__beam, .hero__hint i { animation: none; }
}


/* ==========================================================
   Catalogue identity layer
   ========================================================== */
body { background: var(--ink); }
.cap { font-family: var(--serif); font-weight: 400; font-size: 11.5px; letter-spacing: .34em; }
.h1, .h2 { letter-spacing: -.015em; line-height: 1.02; }
.h1 em, .h2 em, .cta__h em, .hero__headline em { font-family: var(--serif); font-weight: 400; color: var(--gold-hi); }
.hero__name, .hero__headline, .intro__text, .cta__h, .loader__count { letter-spacing: -.02em; }
.hero__word, .hero__tag, .quote p, .vision__q, .foot__sig, .work__note, .contact__lead, .why__close, .promise__t { font-weight: 400; }

/* Thin bronze frame, like the catalogue cover */
body::after {
  content: ""; position: fixed; inset: 12px; z-index: 65; pointer-events: none;
  border: 1px solid rgba(178, 148, 90, .38);
}
@media (max-width: 700px) { body::after { inset: 8px; } }

.btn--line { border-color: rgba(42, 33, 26, .35); color: var(--paper-ink); }
.btn--line::before { background: var(--paper-ink); }
.btn--line:hover { color: var(--paper); border-color: var(--paper-ink); }

/* ---------- Series filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: clamp(40px, 7vh, 80px); position: relative; z-index: 3; }
.filters button {
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--ivory-faint);
  font: 400 13px var(--serif); letter-spacing: .04em; color: var(--ivory-dim); transition: .5s var(--ease);
}
.filters button sup { font: 500 9px var(--sans); color: var(--gold); margin-left: 4px; letter-spacing: .1em; }
.filters button:hover { color: var(--ivory); border-color: rgba(178,148,90,.6); }
.filters button.is-on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.filters button.is-on sup { color: var(--ink); }

/* ---------- Series sections (catalogue dividers) ---------- */
.coll__grid { columns: auto; }
.series { margin-bottom: clamp(70px, 12vh, 140px); }
.series[hidden], .coll__list li[hidden] { display: none; }
.series__head { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(40px, 8vh, 90px) 0 clamp(40px, 7vh, 70px); }
.series__no { font: italic 400 22px var(--serif); color: var(--gold); }
.series__t { margin: 0; font: 400 clamp(30px, 4.4vw, 64px)/1.05 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.series__rule { width: 90px; height: 1px; background: var(--gold); transform-origin: center; }
.series__head .cap { margin: 0; }
.series__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(26px, 3.4vw, 50px) clamp(18px, 2.6vw, 40px); align-items: start; }
.tile { margin: 0; }
.tile__img { aspect-ratio: 4 / 5; background: var(--ink-2); }
.tile:nth-child(3n+2) .tile__img { aspect-ratio: 4 / 5; }
.tile__meta h3 { font-size: 23px; }
.coll__list a { grid-template-columns: 60px 1fr 260px 80px; }
@media (max-width: 800px) { .coll__list a { grid-template-columns: 40px 1fr; } }

/* ---------- Artwork page = catalogue spread ---------- */
.work {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start;
  background: var(--paper); color: var(--paper-ink);
  padding: clamp(90px, 14vh, 140px) clamp(20px, 5vw, 80px) clamp(70px, 10vh, 110px);
  max-width: none;
}
.work .cap { color: #9a7b45; }
.work .cap--dim { color: rgba(42, 33, 26, .5); }
.work__media { position: sticky; top: 50px; }
.work__img { background: #ece6da; box-shadow: 0 30px 60px -30px rgba(42,33,26,.45); }
.work__img img { max-height: 78vh; width: 100%; object-fit: contain; }
.views { display: flex; gap: 10px; margin: 16px 0 10px; flex-wrap: wrap; }
.views button { display: grid; gap: 6px; width: 92px; opacity: .55; transition: opacity .4s; }
.views button img { width: 92px; height: 70px; object-fit: cover; border: 1px solid transparent; transition: border-color .4s; }
.views button span { font: 400 10px var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-ink); text-align: left; }
.views button.is-on, .views button:hover { opacity: 1; }
.views button.is-on img { border-color: var(--gold); }
.work__info { padding-top: 0; display: grid; justify-items: center; text-align: center; }
.work__logo { width: 150px; margin-bottom: clamp(30px, 6vh, 60px); min-height: 20px; }
.work__logo img { width: 100%; }
.work__title { margin: 4px 0 10px; font: 400 clamp(38px, 4.6vw, 72px)/1.05 var(--display); color: var(--paper-ink); letter-spacing: -.01em; }
.work__year { margin: 0 0 18px; font: 400 15px var(--serif); color: rgba(42,33,26,.7); letter-spacing: .1em; }
.work__rule { width: 70px; height: 1px; background: var(--gold); margin: 6px 0 28px; }
.work__desc { margin: 0 0 22px; font: 400 clamp(17px, 1.35vw, 19px)/1.75 var(--serif); text-align: justify; text-align-last: center; max-width: 52ch; color: #3a2e24; }
.work__edition { margin: 0 0 30px; font: italic 400 15px var(--serif); color: #9a7b45; }
.work .btns { justify-content: center; }
.work .btn--solid { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
.work .btn--solid::before { background: var(--gold); }
.work .btn--solid:hover { color: var(--paper-ink); }
.work__nav { display: flex; justify-content: space-between; gap: 20px; width: 100%; margin-top: clamp(40px, 8vh, 80px); padding-top: 18px; border-top: 1px solid rgba(42,33,26,.15); font: 400 13px var(--serif); letter-spacing: .06em; color: rgba(42,33,26,.7); }
.work__nav a:hover { color: #9a7b45; }
.work .lens { border-color: rgba(154,123,69,.8); }
body[data-page="work"] .side { color: var(--paper-ink); mix-blend-mode: normal; opacity: .6; }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } .work__media { position: relative; top: 0; } }

/* Loader on the catalogue espresso */
.loader { background: var(--ink-2); }

/* Real hieroglyphs in the rotating word (Noto Sans Egyptian Hieroglyphs) */
.hero__word em { font-family: "Caladea", "Noto Sans Egyptian Hieroglyphs", Georgia, serif; }

/* Gateway columns: carved hieroglyphs with a slow gold glint travelling down */
.hg-cols .hg-band { stroke: #b2945a; stroke-opacity: .22; stroke-width: 1.5; fill: none; }
.hg-cols .hg {
  font-family: "Noto Sans Egyptian Hieroglyphs", serif; font-size: 34px; text-anchor: middle; dominant-baseline: middle;
  fill: #b2945a; fill-opacity: .42; stroke: none;
  animation: hg-glint 6s ease-in-out infinite;
}
/* Contact buttons (email + Instagram) */
.cbtns { display: flex; flex-wrap: wrap; gap: 12px; }
.cbtn svg { flex: none; }
.cbtn span { white-space: nowrap; }
.cbtns--contact { margin: 0 0 34px; }
.cbtns--foot { justify-content: center; }
.cbtns--foot .cbtn { padding: 13px 22px; font-size: 10.5px; }
@media (max-width: 700px) { .cbtns--contact .cbtn { flex: 1 1 100%; } }

@keyframes hg-glint { 0%, 70%, 100% { fill-opacity: .38; } 82% { fill-opacity: .95; fill: #e6cf98; } }
@media (prefers-reduced-motion: reduce) { .hg-cols .hg { animation: none; } }

/* ---------- Mobile polish (iOS + Android) ---------- */
body.is-touch .grain { animation: none; }
body.is-touch .work__media > .cap--dim { display: none; }
@media (max-width: 760px) {
  /* keep the menu pill clear of Wix's corner badge and the home indicator */
  .pill { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .hero__copy {
    left: 0; right: 0; max-width: none;
    bottom: calc(150px + env(safe-area-inset-bottom, 0px));
    padding: 70px var(--gutter) 18px;
    background: linear-gradient(to top, rgba(29, 23, 18, .94) 45%, rgba(29, 23, 18, 0));
  }
  .hero__hint { display: none; }
  .hero__inside { padding-bottom: 150px; }
  .work { padding-top: 76px; }
  .foot { padding-bottom: 200px; }
}

/* Pre-rendered page content (for search engines and no-JS visitors; replaced by the animated view) */
.seo { max-width: 860px; margin: 0 auto; padding: 120px 24px 160px; font-family: var(--serif); color: var(--ivory); line-height: 1.7; }
.seo h1 { font: 400 clamp(36px, 6vw, 64px)/1.1 var(--display); margin: 24px 0 18px; }
.seo h2 { font: 400 28px/1.2 var(--display); margin: 48px 0 14px; color: var(--gold-hi); }
.seo a { color: var(--gold-hi); }
.seo img { max-width: 100%; height: auto; display: block; }
.seo-works { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.seo-works a { display: grid; gap: 8px; text-decoration: none; font-size: 15px; }
.seo-nav, .seo-foot { font-size: 14px; color: var(--ivory-dim); }
