/* =========================================================
   Brian Glenn — Fine Art Photography
   ========================================================= */
:root {
  --ink: #0d0c0a;
  --ink-2: #15130f;
  --ink-3: #1d1a15;
  --ivory: #f3ede3;
  --ivory-2: #d8d0c2;
  --muted: #8f877a;
  --gold: #c9a86a;
  --gold-2: #e3c893;
  --peach: #e9a58b;
  --line: rgba(243, 237, 227, 0.14);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", "Brush Script MT", cursive;

  --ease: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
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 {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -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; cursor: pointer; }
ul { list-style: none; }
em { font-style: italic; color: var(--gold-2); }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(90px, 13vw, 180px); position: relative; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.08;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.eyebrow .line { width: 42px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow.center { display: flex; justify-content: center; }
.sig { font-family: var(--script); font-size: clamp(38px, 4vw, 56px); color: var(--gold-2); line-height: 1; display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 34px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 100px; overflow: hidden; isolation: isolate;
  transition: color .6s var(--ease-out), border-color .6s var(--ease-out);
}
.btn span { position: relative; z-index: 2; display: inline-block; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  transform: translateY(101%); transition: transform .7s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--ivory); }
.btn--line { border: 1px solid rgba(243,237,227,.45); color: var(--ivory); }
.btn--line::before { background: var(--ivory); }
.btn--line:hover { color: var(--ink); border-color: var(--ivory); }
.btn--ghost { height: 46px; padding: 0 26px; border: 1px solid var(--line); }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn--full { width: 100%; }

.link-arrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; display: inline-flex; gap: 12px; align-items: center; }
.link-arrow i { font-style: normal; transition: transform .5s var(--ease-out); }
.link-arrow:hover i { transform: translateX(8px); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  pointer-events: all;
}
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); z-index: 0; }
.loader__panel--1 { top: 0; }
.loader__panel--2 { bottom: 0; }
.loader__inner { position: relative; z-index: 2; text-align: center; }
.loader__sig { font-family: var(--script); font-size: clamp(64px, 11vw, 150px); color: var(--ivory); line-height: 1.1; clip-path: inset(0 100% 0 0); animation: sigDraw 2s var(--ease) .2s forwards; }
.loader__sub { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-top: 6px; opacity: 0; animation: fadeIn 1s ease 1s forwards; }
.loader__bar { width: min(280px, 60vw); height: 1px; background: var(--line); margin: 38px auto 14px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold); }
.loader__count { font-family: var(--serif); font-size: 18px; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes sigDraw { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; display: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(201,168,106,.6);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .45s, border-color .45s;
}
.cursor__label { font-style: normal; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; font-weight: 600; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(201,168,106,.12); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body, a, button { cursor: none; }
  input, textarea, select { cursor: text; }
}

/* ---------- Grain & progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 998; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); }
  60% { transform: translate(-6%,-2%); } 80% { transform: translate(5%,4%); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--peach)); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; gap: 40px;
  padding: 26px var(--pad);
  transition: padding .6s var(--ease-out), background .6s, transform .7s var(--ease-out), backdrop-filter .6s;
}
.header.is-scrolled { padding-block: 14px; background: rgba(13,12,10,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand__sig { font-family: var(--script); font-size: 34px; color: var(--ivory); }
.brand__sub { font-size: 9px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 4px; padding-left: 4px; }
.nav { display: flex; gap: 38px; }
.nav__link { position: relative; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: 6px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; position: relative; z-index: 3; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ivory); transition: transform .6s var(--ease-out), top .6s var(--ease-out); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 105; visibility: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 120px var(--pad) 40px;
}
.menu__bg { position: absolute; inset: 0; background: var(--ink-2); clip-path: circle(0% at calc(100% - 60px) 50px); transition: clip-path 1s var(--ease); }
.menu-open .menu { visibility: visible; }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 60px) 50px); }
.menu__preview { position: relative; height: 62vh; border-radius: 4px; overflow: hidden; opacity: 0; transform: scale(.9); transition: opacity .8s var(--ease-out) .3s, transform 1.2s var(--ease-out) .3s; }
.menu__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.menu-open .menu__preview { opacity: 1; transform: none; }
.menu__list { position: relative; padding-left: 8vw; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-size: clamp(38px, 5vw, 72px); line-height: 1.15; font-weight: 300;
  transform: translateY(110%); transition: transform .9s var(--ease-out), color .4s;
}
.menu__list a i { font-family: var(--sans); font-size: 12px; font-style: normal; color: var(--gold); letter-spacing: .2em; }
.menu__list a:hover { color: var(--gold-2); font-style: italic; }
.menu-open .menu__list a { transform: none; }
.menu-open .menu__list li:nth-child(1) a { transition-delay: .35s; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .41s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .47s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .53s; }
.menu-open .menu__list li:nth-child(5) a { transition-delay: .59s; }
.menu-open .menu__list li:nth-child(6) a { transition-delay: .65s; }
.menu__foot { position: absolute; bottom: 32px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .15em; color: var(--muted); opacity: 0; transition: opacity .6s .6s; }
.menu-open .menu__foot { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 0s 1.9s; }
.hero__slide.is-active img { transform: scale(1.04); transition: transform 9s linear; }
body.is-loading .hero__slide.is-active img { transform: scale(1.18); }
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(13,12,10,.55) 0%, rgba(13,12,10,0) 30%),
    linear-gradient(0deg, rgba(13,12,10,.92) 0%, rgba(13,12,10,.35) 45%, rgba(13,12,10,0) 70%),
    linear-gradient(90deg, rgba(13,12,10,.55) 0%, rgba(13,12,10,0) 60%);
}
.hero__content { position: relative; z-index: 3; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(90px, 13vh, 150px); }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(58px, 11vw, 188px); line-height: .9; letter-spacing: -0.025em;
  margin-bottom: 30px;
}
.hero__title .row { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .split { display: inline-block; }
.hero__title em { color: var(--gold-2); }
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; will-change: transform; }
.hero__lede { max-width: 520px; font-size: clamp(15px, 1.2vw, 17px); color: var(--ivory-2); margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(90px, 13vh, 150px); text-align: right; }
.hero__counter { display: flex; align-items: center; justify-content: flex-end; gap: 14px; font-family: var(--serif); font-size: 20px; }
.hero__counter i { width: 70px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__counter i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.hero__counter i.run::after { animation: slideTimer 6s linear forwards; }
@keyframes slideTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__caption { font-size: 12px; letter-spacing: .14em; color: var(--ivory-2); margin-top: 10px; font-style: italic; font-family: var(--serif); font-size: 16px; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--ivory-2); }
.hero__scroll i { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--gold); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--ink); }
.marquee__track { display: flex; width: max-content; gap: 44px; align-items: center; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee__track b { color: var(--gold); font-size: 18px; font-weight: 400; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.2vw, 64px); line-height: 1.18; letter-spacing: -0.01em;
  max-width: 1200px;
}
.statement__text .w { opacity: .14; transition: opacity .2s; }
.statement__foot { display: flex; align-items: center; gap: 40px; margin-top: 56px; flex-wrap: wrap; }

/* ---------- Works (horizontal) ---------- */
.works { position: relative; background: var(--ink-2); }
.works__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 90px 40px; }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(26px, 4vh, 50px); }
.works__head .eyebrow { margin-bottom: 18px; }
.works__head .h2 { font-size: clamp(38px, 5vw, 78px); }
.works__hint { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.works__hint i { font-style: normal; color: var(--gold); display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.works__track { display: flex; gap: clamp(24px, 3vw, 48px); padding-inline: var(--pad); width: max-content; will-change: transform; }
.work { flex: 0 0 auto; width: clamp(260px, 26vw, 400px); }
.work--wide { width: clamp(360px, 44vw, 680px); }
.work__frame { position: relative; height: clamp(300px, 52vh, 560px); overflow: hidden; border-radius: 3px; background: var(--ink-3); }
.work__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease-out), filter 1s; filter: saturate(.92); }
.work:hover .work__frame img { transform: scale(1.02); filter: saturate(1.08); }
.work__frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(243,237,227,.0); transition: border-color .8s var(--ease-out), inset .8s var(--ease-out); pointer-events: none; }
.work:hover .work__frame::after { border-color: rgba(243,237,227,.5); inset: 20px; }
.work__info { display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; }
.work__no { font-size: 11px; color: var(--gold); letter-spacing: .2em; padding-top: 8px; }
.work__info h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.work__info p { font-size: 13px; color: var(--muted); }
.work__price { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-2); white-space: nowrap; padding-top: 4px; }
.work--end { width: clamp(300px, 30vw, 460px); align-self: center; padding-right: var(--pad); }
.work--end .h3 { margin-bottom: 34px; }
.works__bar { margin: clamp(26px, 4vh, 44px) var(--pad) 0; height: 1px; background: var(--line); }
.works__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(50px, 7vw, 100px); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head__note { max-width: 380px; color: var(--ivory-2); }

/* ---------- Collections list ---------- */
.collections { overflow: hidden; }
.clist { border-top: 1px solid var(--line); }
.clist__item { border-bottom: 1px solid var(--line); position: relative; }
.clist__item a {
  display: grid; grid-template-columns: 80px 1.3fr 1fr 120px; align-items: center; gap: 30px;
  padding: clamp(26px, 3.4vw, 46px) 0;
  position: relative; z-index: 1;
  transition: padding .7s var(--ease-out), color .5s;
}
.clist__item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201,168,106,.1), rgba(201,168,106,0)); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.clist__item:hover::before { transform: scaleY(1); }
.clist__item:hover a { padding-left: 24px; }
.clist__no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.clist__name { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 68px); font-weight: 300; line-height: 1; transition: font-style .3s, color .5s; }
.clist__item:hover .clist__name { color: var(--gold-2); font-style: italic; }
.clist__desc { color: var(--muted); font-size: 14px; }
.clist__count { text-align: right; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-2); }
.clist__float {
  position: fixed; top: 0; left: 0; z-index: 50; width: 320px; height: 400px; pointer-events: none;
  border-radius: 4px; overflow: hidden; opacity: 0; transform: scale(.7);
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.clist__float.is-on { opacity: 1; transform: scale(1); }
.clist__float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Quote parallax ---------- */
.quote { position: relative; height: 110vh; min-height: 640px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.quote__media { position: absolute; inset: -15% 0; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; }
.quote__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(13,12,10,.35), rgba(13,12,10,.85)); }
.quote__body { position: relative; z-index: 2; }
.quote__mark { font-family: var(--serif); font-size: 180px; line-height: .6; color: var(--gold); display: block; height: 80px; }
.quote__body p { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 5.2vw, 82px); line-height: 1.08; letter-spacing: -0.01em; }
.quote__body cite { display: block; margin-top: 36px; font-style: normal; font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-2); }
.js-lines .ln { display: block; overflow: hidden; }
.js-lines .ln > span { display: inline-block; }

/* ---------- In your space ---------- */
.space__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(50px, 7vw, 120px); align-items: center; }
.space__media { position: relative; padding-bottom: 18%; }
.space__img { overflow: hidden; border-radius: 3px; }
.space__img img { width: 100%; height: 100%; object-fit: cover; }
.space__img:first-child { aspect-ratio: 1 / 1.05; width: 86%; }
.space__img--small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; border: 10px solid var(--ink); }
.space__badge { position: absolute; top: 6%; right: 2%; width: 130px; height: 130px; display: grid; place-items: center; }
.space__badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.space__badge text { font-size: 10.5px; letter-spacing: 3.2px; fill: var(--gold-2); font-family: var(--sans); font-weight: 500; }
.space__badge span { color: var(--gold); font-size: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
.space__copy > p { color: var(--ivory-2); margin: 28px 0 36px; max-width: 520px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 34px; margin-bottom: 44px; }
.features li { border-top: 1px solid var(--line); padding-top: 18px; }
.features b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 4px; }
.features span { font-size: 13px; color: var(--muted); line-height: 1.55; display: block; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--ink-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(40px, 5vw, 70px) 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num, .stat__plus { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6vw, 88px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__plus { color: var(--gold); }
.stat p { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* ---------- Journal ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter { padding: 11px 24px; border: 1px solid var(--line); border-radius: 100px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; transition: background .5s, color .5s, border-color .5s; }
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 21vw, 320px); grid-auto-flow: dense; gap: 22px; }
.tile--tall { grid-row: span 2; }
.tile { position: relative; overflow: hidden; border-radius: 3px; transition: opacity .5s, transform .6s var(--ease-out); }
.tile.pre { opacity: 0; transform: translateY(70px); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.tile.pre.is-in { opacity: 1; transform: none; }
.tile.is-out, .tile.pre.is-in.is-out { opacity: 0; transform: scale(.95); transition: opacity .45s, transform .45s; }
.tile.is-gone { display: none; }
.tile__img { overflow: hidden; height: 100%; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out), filter .8s; }
.tile:hover .tile__img img { transform: scale(1.14); filter: brightness(.7); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 24px; transform: translateY(100%); transition: transform .7s var(--ease-out); background: linear-gradient(0deg, rgba(13,12,10,.8), rgba(13,12,10,0)); }
.tile figcaption i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ivory); display: grid; place-items: center; font-family: var(--sans); font-size: 18px; }
.tile:hover figcaption { transform: none; }

/* ---------- About ---------- */
.about { background: var(--ink-2); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(50px, 7vw, 120px); align-items: center; }
.about__media { position: relative; padding-right: 22%; padding-bottom: 14%; }
.about__img { overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border: 10px solid var(--ink-2); }
.about__lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.3; margin: 26px 0 22px; color: var(--ivory); }
.about__copy > p:not(.eyebrow):not(.about__lead) { color: var(--ivory-2); margin-bottom: 18px; max-width: 580px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 44px 0 36px; }
.process__step { border-top: 1px solid var(--gold); padding-top: 16px; }
.process__step span { font-size: 11px; color: var(--gold); letter-spacing: .2em; }
.process__step h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 4px 0; }
.process__step p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- Testimonials ---------- */
.voices { text-align: center; }
.voices__slider { position: relative; min-height: 300px; max-width: 1080px; margin: 0 auto; display: grid; }
.voice { grid-area: 1 / 1; opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); pointer-events: none; }
.voice.is-active { opacity: 1; transform: none; pointer-events: auto; }
.voice p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(26px, 3.3vw, 48px); line-height: 1.22; }
.voice cite { display: block; margin-top: 34px; font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.voice cite b { display: block; color: var(--gold-2); font-weight: 500; margin-bottom: 4px; }
.voices__nav { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 50px; }
.voices__btn { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .5s, color .5s, border-color .5s; }
.voices__btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.voices__dots { display: flex; gap: 10px; }
.voices__dots span { width: 28px; height: 2px; background: var(--line); transition: background .5s, width .5s var(--ease-out); }
.voices__dots span.is-active { background: var(--gold); width: 56px; }

/* ---------- Exhibitions ---------- */
.expo { position: relative; overflow: hidden; padding-block: clamp(110px, 14vw, 200px); }
.expo__media { position: absolute; inset: -12% 0; }
.expo__media img { width: 100%; height: 100%; object-fit: cover; }
.expo__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,12,10,.94) 0%, rgba(13,12,10,.8) 50%, rgba(13,12,10,.6) 100%); }
.expo__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.expo__list li { display: grid; grid-template-columns: 170px 1fr; grid-template-rows: auto auto; column-gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease-out); }
.expo__list li:first-child { border-top: 1px solid var(--line); }
.expo__list li:hover { padding-left: 16px; }
.expo__date { grid-row: span 2; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 10px; }
.expo__name { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; }
.expo__place { font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 120px); align-items: start; }
.contact__copy > p:not(.eyebrow) { color: var(--ivory-2); margin: 26px 0 40px; max-width: 480px; }
.contact__info li { display: grid; grid-template-columns: 100px 1fr; padding: 18px 0; border-top: 1px solid var(--line); gap: 20px; }
.contact__info span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.contact__info a:hover { color: var(--gold-2); }
.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: clamp(28px, 4vw, 56px); }
.field { position: relative; margin-bottom: 30px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ivory); font: inherit; font-size: 17px; padding: 26px 0 12px; outline: none; border-radius: 0;
  transition: border-color .5s; resize: vertical; -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: var(--ink-2); color: var(--ivory); }
.field--select::after { content: "↓"; position: absolute; right: 4px; bottom: 14px; color: var(--gold); pointer-events: none; }
.field label { position: absolute; left: 0; top: 26px; color: var(--muted); pointer-events: none; transition: top .45s var(--ease-out), font-size .45s var(--ease-out), color .45s, letter-spacing .45s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  top: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: var(--peach); }
.form__note { margin-top: 18px; font-size: 14px; color: var(--gold-2); min-height: 1.5em; text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(70px, 9vw, 130px); overflow: hidden; background: var(--ink); }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.footer__news p { color: var(--muted); margin: 14px 0 26px; max-width: 420px; }
.news { display: flex; border-bottom: 1px solid var(--ivory-2); max-width: 460px; }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ivory); font: inherit; font-size: 16px; padding: 14px 0; outline: none; }
.news button { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-left: 16px; white-space: nowrap; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols h5 { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 18px; }
.footer__cols a { display: block; color: var(--ivory-2); padding: 5px 0; transition: color .4s, transform .5s var(--ease-out); }
.footer__cols a:hover { color: var(--ivory); transform: translateX(6px); }
.footer__giant {
  font-family: var(--script); font-size: clamp(64px, 15vw, 250px); line-height: 1.15; padding-inline: .15em;
  text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, var(--gold-2) 0%, rgba(201,168,106,.12) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: clamp(40px, 6vw, 80px) 0 -0.12em;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 0 34px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.to-top:hover { color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(9,8,7,.96); display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out), visibility .6s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { grid-column: 2; display: flex; flex-direction: column; align-items: center; max-height: 100vh; padding: 60px 0; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 200px); object-fit: contain; box-shadow: 0 40px 120px rgba(0,0,0,.6); transform: scale(.94); opacity: 0; transition: transform 1s var(--ease-out), opacity .7s; }
.lightbox.is-open .lightbox__fig img.is-ready { transform: none; opacity: 1; }
.lightbox__fig figcaption { text-align: center; margin-top: 22px; }
.lightbox__fig h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.lightbox__fig p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.lightbox__close { position: absolute; top: 26px; right: 30px; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; font-size: 16px; transition: transform .6s var(--ease-out), border-color .4s; }
.lightbox__close:hover { transform: rotate(90deg); border-color: var(--gold); }
.lightbox__nav { justify-self: center; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: background .4s, color .4s; }
.lightbox__nav:hover { background: var(--gold); color: var(--ink); }
.lightbox__count { position: absolute; top: 40px; left: 36px; font-family: var(--serif); font-size: 18px; color: var(--muted); }

/* ---------- Reveal states (only when JS animation is active) ---------- */
.has-anim .reveal-up { opacity: 0; transform: translateY(50px); }
.has-anim .clip-reveal { clip-path: inset(100% 0 0 0); }
.has-anim .clip-reveal img { transform: scale(1.3); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .clist__item a { grid-template-columns: 50px 1fr 100px; }
  .clist__desc { display: none; }
  .space__grid, .about__grid, .contact__grid, .expo__inner, .footer__top { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .works__pin { height: auto; padding-block: 100px 70px; }
  .works__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .works__track::-webkit-scrollbar { display: none; }
  .work { scroll-snap-align: start; width: 78vw; }
  .work--wide { width: 88vw; }
  .work__frame { height: 60vh; max-height: 480px; }
  .works__bar { display: none; }
  .menu { grid-template-columns: 1fr; }
  .menu__preview { display: none; }
  .menu__list { padding-left: 0; }
  .clist__float { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero__meta { display: none; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__fig { grid-column: 1; padding: 80px 16px 110px; }
  .lightbox__nav { position: absolute; bottom: 30px; }
  .lightbox__nav--prev { left: calc(50% - 70px); }
  .lightbox__nav--next { right: calc(50% - 70px); }
}
@media (max-width: 640px) {
  .header { padding-block: 18px; }
  .brand__sig { font-size: 28px; }
  .hero__title { font-size: clamp(52px, 15vw, 80px); }
  .hero__actions .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr; grid-auto-rows: 64vw; }
  .clist__item a { grid-template-columns: 36px 1fr; }
  .clist__count { display: none; }
  .expo__list li { grid-template-columns: 1fr; }
  .expo__date { grid-row: auto; padding-top: 0; margin-bottom: 6px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .works__head { flex-direction: column; align-items: flex-start; }
  .space__badge { width: 100px; height: 100px; }
  .contact__info li { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader__sig { clip-path: none; }
}
