/* ==========================================================================
   Studio D Glass — site styles
   Palette from the approved v2 draft: olive / cream / marigold / ink.
   ========================================================================== */

@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/courier-prime-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/courier-prime-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/courier-prime-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/courier-prime-latin-700-italic.woff2") format("woff2"); }

:root {
  --olive: #6C6834;
  --olive-2: #5F5B2C;
  --olive-deep: #4E4B24;
  --ink: #221F1A;
  --cream: #EDE7D0;
  --text: #F2EDDA;
  --muted: #E2DCC4;
  --gold: #FFB612;
  --line: rgba(221, 214, 185, .42);
  --line-soft: rgba(221, 214, 185, .22);

  --font: "Courier Prime", "Courier New", Courier, ui-monospace, monospace;
  --gutter: clamp(20px, 4.2vw, 108px);
  --max: 1600px;
  --hh: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec: clamp(88px, 10vw, 180px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0; background: var(--olive); color: var(--text);
  font-family: var(--font); font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* tactile grain, like cut glass on paper */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
button, input, select, textarea, code, pre { font: inherit; font-family: var(--font); color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: italic; color: inherit; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--text); padding: 10px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.dot { color: var(--gold); }
.u { border-bottom: 1px solid currentColor; }
.u:hover { border-color: var(--gold); }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text); line-height: 1.5; }
.display {
  font-weight: 400; font-size: clamp(46px, 7.2vw, 136px); line-height: .98; letter-spacing: -.045em;
  color: var(--cream); text-wrap: balance;
}
.display--xl { font-size: clamp(54px, 8.4vw, 160px); line-height: .92; }
.display--md { font-size: clamp(42px, 5.6vw, 104px); }
.display--sm { font-size: clamp(36px, 4.2vw, 72px); }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.8; color: var(--text); max-width: 60ch; text-wrap: pretty; }
.subhead { font-size: clamp(26px, 2.6vw, 44px); line-height: 1.12; letter-spacing: -.015em; color: var(--cream); }

/* ---------- Controls ---------- */
.link-line {
  display: inline-flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 64px);
  font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 12px; border-bottom: 1px solid var(--cream); color: var(--cream);
  transition: color .25s, border-color .25s, gap .4s var(--ease);
}
.link-line:hover { color: var(--gold); border-color: var(--gold); gap: clamp(32px, 5vw, 80px); }
.link-line--quiet { border-color: var(--line); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 0 28px;
  border: 1.5px solid var(--cream); border-radius: 999px; background: transparent; color: var(--cream);
  font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn:hover { background: var(--cream); color: var(--ink); }
.btn--gold { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--gold:hover { background: transparent; border-color: var(--cream); color: var(--cream); }
.circle-btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--cream); background: transparent; color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: background .25s, color .25s;
}
.circle-btn:hover { background: var(--cream); color: var(--ink); }
.pill-btn {
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--cream); background: var(--cream); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.pill-btn:hover { background: var(--gold); border-color: var(--gold); }
.frame { display: block; overflow: hidden; }
/* Artwork photos are cropped to the frame edge, so only the portrait keeps a border. */
.frame--photo { border: 1.5px solid var(--ink); background: var(--olive-deep); }
.frame--art img { object-fit: contain; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hh);
  background: var(--olive-deep); transition: background .35s, border-color .35s, width .5s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); }
.wordmark { font-size: 24px; line-height: 1; letter-spacing: -.03em; color: var(--cream); white-space: nowrap; transition: opacity .35s, transform .35s var(--ease); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 48px); }
.nav ul { display: flex; gap: clamp(20px, 2.6vw, 48px); }
.nav a { font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; color: var(--cream); transition: border-color .25s, color .25s; }
.nav a:hover { border-bottom-color: var(--gold); color: var(--cream); }
.nav a[aria-current="page"] { border-bottom-color: var(--cream); }
.nav__ig { display: inline-flex; border: 0 !important; }
.nav-center { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 48px); }
.nav-ig { display: inline-flex; align-items: center; padding: 8px 0; color: var(--cream); }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 12px; }
.nav-cta { display: none; }
.nav-ig:hover { color: var(--gold); }
.nav-ig svg { width: 20px; height: 20px; }
.nav__ig:hover { color: var(--gold) !important; }
.menu-btn { margin-left: auto; display: none; align-items: center; gap: 12px; background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--cream);
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.menu-btn__bars { width: 26px; height: 10px; position: relative; }
.menu-btn__bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn__bars i:first-child { top: 0; } .menu-btn__bars i:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { top: 4px; transform: rotate(-45deg); }

main { padding-top: var(--hh); }

/* Home, at the top on wide screens: nav sits over the left half, no wordmark (the H1 is the wordmark) */
@media (min-width: 900px) {
  /* Desktop bar: name left, links centered, Inquire right. */
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .wordmark { justify-self: start; }
  .nav-cta { display: inline-flex; justify-self: end; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--olive); padding: calc(var(--hh) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  animation: menuIn .45s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
.mobile-menu ol { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; font-size: clamp(40px, 11vw, 64px); line-height: 1; letter-spacing: -.04em; color: var(--cream); }
.mobile-menu nav a span { font-size: 13px; letter-spacing: .2em; color: var(--text); }
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.mobile-menu__foot a { border-bottom: 1px solid currentColor; }
.mobile-menu__foot { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 28px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.mobile-menu ol a { justify-content: center; }
.mobile-menu ol a { position: relative; }
.mobile-menu ol a > span:first-child { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.mobile-menu__ig { display: inline-flex; padding: 6px; color: var(--cream); border: 0 !important; }
.mobile-menu__ig:hover { color: var(--gold); }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { display: grid; grid-template-columns: 1fr; background: var(--olive); }
.hero__text { display: flex; flex-direction: column; gap: 48px; padding: 40px var(--gutter) 48px; }
.hero__head { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 32px); }
.hero__title { font-weight: 400; font-size: clamp(64px, 7.4vw, 140px); line-height: .88; letter-spacing: -.05em; color: var(--cream); }
.hero__lede { max-width: 30ch; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.4; text-wrap: pretty; }
.hero__lede em { font-size: 1.15em; font-weight: 400; }
.hero__lede--wide { max-width: 38ch; }
.divided { border-top: 1.5px solid var(--line); }
.hero__small { display: flex; flex-direction: column; gap: 12px; width: min(calc(62% + 5px), 285px); align-self: center; color: var(--cream); }
.hero__small .frame { aspect-ratio: 4 / 5; }
.hero__small .frame img { object-position: center bottom; }
.hero__small .frame img { transition: transform 1s var(--ease); }
.hero__small:hover .frame img { transform: scale(1.04); }
.hero__small .caption { font-style: italic; font-size: 18px; line-height: 1.2; text-align: center; }
.hero__foot { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; }
.hero__media { position: relative; display: block; min-height: 118vw; overflow: hidden; background: var(--ink); border: 1.5px solid var(--ink); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: transform 1.6s var(--ease); }
.hero__media:hover img { transform: scale(1.025); }
.hero__media-cap { position: absolute; left: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 28px); font-style: italic; font-size: 20px; color: var(--text); text-shadow: 0 1px 14px rgba(0,0,0,.55); }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--hh)); }
  .hero__text { display: grid; grid-template-rows: auto minmax(32px, 1fr) auto minmax(32px, 1fr) auto; gap: 0; padding: clamp(40px, 7vh, 96px) var(--gutter) clamp(32px, 5vh, 56px); }
  .hero__head { grid-row: 1; } .hero__foot { grid-row: 5; }
  .hero__small { grid-row: 3; align-self: auto; margin-left: clamp(0px, 7vw, 140px); width: clamp(185px, calc(17vw + 5px), 295px); }
  .hero__media { min-height: 640px; }
}

/* Phone hero: text full width, then the two pieces side by side */
@media (max-width: 759px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "foot foot" "small media"; column-gap: 12px; padding: 0 var(--gutter) 44px; }
  .hero__text { display: contents; }
  .hero__head { grid-area: head; padding-top: 40px; }
  .hero__foot { grid-area: foot; padding-block: 24px 32px; }
  .hero__small { grid-area: small; width: 100%; margin: 0; align-self: start; gap: 10px; }
  .hero__small .frame { aspect-ratio: 4 / 5; }
  .hero__small .frame img { object-fit: cover; object-position: center; }
  .hero__media { grid-area: media; min-height: 0; display: flex; flex-direction: column; gap: 10px; background: none; border: 0; overflow: visible; align-self: start; }
  .hero__media img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 45%; }
  .hero__media:hover img { transform: none; }
  .hero__small .caption, .hero__media-cap { position: static; font-size: 16px; text-align: center; text-shadow: none; color: var(--cream); font-style: italic; line-height: 1.2; }
}

/* ---------- Ticker ---------- */
.ticker { border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--olive); }
.ticker__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: ticker 48s linear infinite; font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.ticker__track i { font-style: normal; color: var(--gold); font-size: 12px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-top: var(--sec); padding-bottom: var(--sec); }
.section--deep { background: var(--olive-deep); }
.split { display: grid; grid-template-columns: 1fr; gap: 32px clamp(32px, 6vw, 120px); }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } .split--end { align-items: end; } }
.section-head { margin-bottom: clamp(56px, 6vw, 110px); }
.section-head--center { align-items: center; }
.section-head--center .section-head__aside { gap: 22px; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.section-head__aside { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; max-width: 440px; }
@media (min-width: 760px) { .section-head__aside { justify-self: end; } .section-head > .link-line { justify-self: end; } }

/* Featured work */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
.feature-card { display: flex; flex-direction: column; gap: 20px; color: var(--cream); }
.feature-card__img { aspect-ratio: var(--ar, 4/5); max-height: 80vh; }
.feature-card__img img { transition: transform 1.1s var(--ease); }
.feature-card:hover .feature-card__img img { transform: scale(1.035); }
.feature-card__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline; border-top: 1.5px solid var(--line); padding-top: 18px; }
.feature-card__status { grid-column: 2; }
.feature-card__num { font-size: 13px; letter-spacing: .2em; color: var(--text); }
.feature-card__title { font-size: clamp(26px, 2.2vw, 36px); line-height: 1.1; letter-spacing: -.02em; transition: color .25s; }
.feature-card:hover .feature-card__title { color: var(--gold); }
.feature-card__status { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
@media (min-width: 760px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 56px); align-items: start; }
  .feature-card:nth-child(2) { margin-top: clamp(48px, 7vw, 140px); }
}

/* Facts */
.section--deep .display { margin: clamp(24px, 3vw, 40px) 0 clamp(48px, 6vw, 96px); }
.facts { display: grid; grid-template-columns: 1fr; gap: 0 clamp(24px, 4vw, 72px); }
.facts li { border-top: 1.5px solid var(--line); padding: 28px 0 40px; display: grid; gap: 14px; }
.facts__n { font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.facts h3 { font-weight: 400; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.05; letter-spacing: -.03em; color: var(--cream); }
.facts p { color: var(--text); max-width: 44ch; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* Artist */
.artist { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.artist__fig { display: flex; flex-direction: column; gap: 16px; max-width: 480px; width: 100%; }
.artist__fig .frame { aspect-ratio: 4 / 5; }
.artist__fig .frame img { object-position: center 20%; }
figcaption { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.artist__body { display: flex; flex-direction: column; gap: clamp(28px, 3.6vw, 56px); align-items: flex-start; }
@media (min-width: 760px) { .artist { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 8vw, 200px); } }

/* Quote */
.quote { border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); background: var(--olive-2); }
.quote figure { padding-top: clamp(88px, 9vw, 180px); padding-bottom: clamp(88px, 9vw, 180px); display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 3vw, 48px); text-align: center; }
.quote blockquote { font-size: clamp(36px, 5.2vw, 100px); line-height: 1.05; letter-spacing: -.04em; color: var(--cream); text-wrap: balance; max-width: 20ch; }

/* Accordion */
.faq-teaser > div:first-child { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); align-items: flex-start; }
.accordion { border-top: 1.5px solid var(--line); }
.accordion details { border-bottom: 1.5px solid var(--line); }
.accordion summary { list-style: none; display: flex; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; color: var(--cream); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h2, .accordion summary h3 { flex: 1; font-weight: 400; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.3; letter-spacing: -.01em; transition: color .25s; }
.accordion summary:hover h2, .accordion summary:hover h3 { color: var(--gold); }
.accordion__n { font-size: 13px; letter-spacing: .2em; color: var(--gold); flex: none; width: 2.4em; }
.accordion__icon { position: relative; width: 18px; height: 18px; flex: none; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.accordion__icon::after { transform: rotate(90deg); }
details[open] .accordion__icon::after { transform: rotate(0); }
.accordion details p { padding: 0 0 28px; color: var(--text); max-width: 64ch; }
.accordion--lg summary { padding: 32px 0; }
.accordion--lg summary h2 { font-size: clamp(22px, 2.2vw, 36px); line-height: 1.2; letter-spacing: -.02em; }
.accordion--lg details p { padding-left: 0; font-size: clamp(17px, 1.25vw, 20px); }
@media (min-width: 760px) { .accordion--lg details p { padding-left: calc(2.4em * 13 / 18 + 20px + 4px); } }
.faq-page { padding-bottom: var(--sec); }

/* CTA band */
.cta { border-top: 1.5px solid var(--line); }
.cta__inner { padding-top: var(--sec); padding-bottom: var(--sec); display: grid; grid-template-columns: 1fr; gap: 40px; align-items: end; }
.cta__aside { display: flex; flex-direction: column; gap: 28px; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.3fr 1fr; } .cta__aside { justify-self: end; } }

/* ---------- Page heads ---------- */
.page-head { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); display: flex; flex-direction: column; gap: clamp(28px, 3vw, 48px); }
.page-head__aside { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
@media (min-width: 760px) { .page-head__aside { justify-self: end; } }
.work-head { display: grid; grid-template-columns: 1fr; gap: 18px 32px; align-items: start; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(96px, 18vh, 230px); }
.work-head__title { font-weight: 400; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.2; letter-spacing: -.01em; color: var(--cream); }
.work-head__intro { display: flex; flex-direction: column; gap: 12px; max-width: 440px; font-size: 15px; line-height: 1.6; }
.work-head .filters { grid-column: 1 / -1; margin-top: 24px; }
@media (min-width: 760px) { .work-head { grid-template-columns: 1fr 1fr; } .work-head__intro { justify-self: end; } }
.page-head__count { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { opacity: .5; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); transition: all .25s; }
.chip:hover { border-color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery-wrap { padding-bottom: var(--sec); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 8px; }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 3.6vw, 64px) 8px; } }
.gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.gallery__item > a { display: flex; flex-direction: column; gap: 10px; color: var(--cream); }
.gallery__img { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--olive-deep); border: 1.5px solid var(--ink); }
@media (min-width: 1000px) { .gallery:not(.gallery--3) .gallery__img { aspect-ratio: 4 / 9; } }
.gallery--3 .gallery__img { aspect-ratio: 3 / 4; }
.gallery__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item a:hover .gallery__img img { transform: scale(1.04); }
/* Wide pieces: whole piece centered over a soft blur of itself */
.gallery__img--whole img { object-fit: contain; z-index: 1; }
.gallery__img--whole .gallery__bg { object-fit: cover; z-index: 0; filter: blur(22px) brightness(.5) saturate(1.1); transform: scale(1.25); }
.gallery__item a:hover .gallery__img--whole .gallery__bg { transform: scale(1.25); }
.gallery__meta { display: flex; flex-direction: column; gap: 2px; }
.gallery__title { font-size: 13px; line-height: 1.4; transition: color .25s; }
.gallery__item a:hover .gallery__title { color: var(--gold); }
.gallery__status { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.gallery__item.is-filtered { display: none; }

/* ---------- Piece page ---------- */
.piece { padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(64px, 7vw, 120px); display: flex; flex-direction: column; gap: clamp(28px, 3vw, 48px); }
.piece__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.piece__media img { width: 100%; height: auto; max-height: 86svh; object-fit: contain; }
.piece__info { display: flex; flex-direction: column; gap: 24px; }
.piece__title { font-weight: 400; font-size: clamp(44px, 5vw, 96px); line-height: .95; letter-spacing: -.045em; color: var(--cream); text-wrap: balance; }
.piece__by { font-size: 16px; color: var(--text); }
.piece__by a { border-bottom: 1px solid currentColor; }
.piece__story { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.5; color: var(--cream); text-wrap: pretty; display: flex; flex-direction: column; gap: 1em; }
.piece__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.piece__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1.5px solid var(--line); padding-top: 24px; margin-top: 8px; }
.piece__nav a { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.3; color: var(--cream); }
.piece__nav a:last-child { text-align: right; }
.piece__nav span { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
@media (min-width: 900px) {
  .piece__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 100px); }
  .piece--wide .piece__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .piece__info { position: sticky; top: calc(var(--hh) + 24px); }
}
.more { border-top: 1.5px solid var(--line-soft); }

.specs { display: grid; grid-template-columns: 120px 1fr; gap: 12px 20px; font-size: 16px; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); padding: 20px 0; }
.specs dt { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding-top: 4px; color: var(--text); }
.specs dd { color: var(--cream); }
.specs--lg { font-size: clamp(17px, 1.3vw, 21px); gap: 18px 28px; grid-template-columns: 140px 1fr; }
.specs:empty { display: none; }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1fr; gap: 48px; }
.about-hero__text { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 44px); }
.about-hero__fig { display: flex; flex-direction: column; gap: 16px; }
.about-hero__fig .frame { aspect-ratio: 4 / 5; }
.about-hero__fig .frame img { object-position: center 20%; }
@media (min-width: 900px) { .about-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 7vw, 160px); align-items: end; } }
.story { padding-bottom: clamp(64px, 8vw, 140px); }
.story__list { display: grid; grid-template-columns: 1fr; gap: 0 clamp(32px, 5vw, 96px); border-top: 1.5px solid var(--line); }
.story__list li { display: grid; gap: 16px; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1.5px solid var(--line); }
.story__n { font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.story__list h2 { font-weight: 400; font-size: clamp(32px, 3.4vw, 56px); line-height: 1; letter-spacing: -.035em; color: var(--cream); }
.story__list p { max-width: 56ch; }
@media (min-width: 760px) { .story__list { grid-template-columns: 1fr 1fr; } }
.glance > div:first-child { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
.contact__text { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.contact__text .specs { max-width: 560px; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 160px); } .form-card { margin-top: 40px; } }
.form-card { border: 1.5px solid var(--line); border-radius: clamp(24px, 3vw, 40px); padding: clamp(24px, 4vw, 60px); }
.form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.field .opt { font-weight: 400; letter-spacing: .08em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--cream); border-radius: 0; background: transparent; padding: 10px 0;
  font-size: clamp(20px, 1.8vw, 26px); color: var(--cream); line-height: 1.35; transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field ::placeholder { color: var(--cream); opacity: .45; }
.field [aria-invalid="true"] { border-bottom-color: #FFB4A0; }
.field__err { font-size: 14px; color: #FFD2C4; }
.select { position: relative; }
.select::after { content: "↓"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--cream); font-size: 16px; }
.select select { padding-right: 28px; cursor: pointer; }
.select option { background: var(--olive); color: var(--cream); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { border: 1px solid var(--gold); color: var(--text); padding: 12px 16px; font-size: 15px; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--text); max-width: 26ch; opacity: .9; }
.send-btn {
  width: 148px; height: 148px; border-radius: 50%; border: 1.5px solid var(--cream); background: transparent; color: var(--cream);
  font-size: 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .35s, color .35s, transform .35s var(--ease);
}
.send-btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); transform: rotate(-6deg); }
.send-btn[disabled], .send-cta[disabled] { opacity: .6; cursor: progress; }
.form-card__done { display: flex; flex-direction: column; gap: 22px; padding: 24px 0; outline: none; }

.error-page { min-height: 70svh; justify-content: center; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 80; background: var(--olive); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 14px var(--gutter); border-bottom: 1.5px solid var(--line); background: var(--olive); }
.lb__brand { font-size: 24px; letter-spacing: -.03em; color: var(--cream); }
.lb__count { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--text); }
.lb__controls { display: flex; gap: 10px; margin-left: auto; }
.lb__body { flex: 1; display: grid; grid-template-columns: 1fr; gap: 32px; padding: 24px var(--gutter) 48px; }
.lb__stage { display: flex; align-items: center; justify-content: center; min-height: 50svh; touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; height: auto; object-fit: contain; border: 1.5px solid var(--ink); transition: opacity .3s; }
.lb__stage img.is-loading { opacity: .25; }
.lb__info { display: flex; flex-direction: column; gap: 22px; align-self: center; }
.lb__title { font-weight: 400; font-size: clamp(40px, 4.6vw, 88px); line-height: .95; letter-spacing: -.045em; color: var(--cream); text-wrap: balance; }
.lb__story { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; color: var(--cream); }
.lb__actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
@media (min-width: 900px) { .lb__body { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 100px); } }
@media (max-width: 639px) { .lb__brand { display: none; } .lb__stage img { max-height: 62svh; } }
body.lb-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1.5px solid var(--line); background: var(--olive-deep); }
.site-footer__card { color: var(--text); padding-block: clamp(52px, 6vw, 88px) 26px; }
.site-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.site-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.site-footer__mark { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; line-height: 1; letter-spacing: -.02em; color: var(--cream); }
.site-footer__mark:hover { color: var(--cream); }
.site-footer__logo { flex: none; }
.site-footer__social { display: inline-flex; color: var(--cream); padding: 4px; margin-left: -4px; }
.site-footer__social:hover { color: var(--gold); }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer__col h2 { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); margin-bottom: 4px; }
.site-footer__col a { font-size: 14px; color: var(--text); opacity: .85; }
.site-footer__col a:hover { color: var(--cream); opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; margin-top: clamp(32px, 4vw, 52px); padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--text); }
.site-footer__right { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.site-footer__credit { color: inherit; opacity: .65; text-decoration: none; transition: opacity .2s; }
a.site-footer__credit[href]:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .site-footer__top { grid-template-columns: 1fr 180px 180px; gap: 40px; } .site-footer__brand { grid-column: auto; } }

/* ---------- Reveal on scroll (JS only) ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive nav ---------- */
@media (max-width: 899px) {
  :root { --hh: 64px; }
  .nav-center, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .wordmark { font-size: 21px; }
  body { font-size: 17px; }
}
@media (max-width: 759px) {
  .specs, .specs--lg { grid-template-columns: 104px 1fr; gap: 12px 16px; }
}

/* Phones: center all text */
@media (max-width: 759px) {
  main, .site-footer { text-align: center; }
  .gallery__item, .card, .hero__small, .feature-card, .gallery__item > a { text-align: center; }
  .stack, .aside, .hero__head, .site-footer__brand, .site-footer__col, .site-footer__nav, .work-head__intro, .piece__info,
  .about-hero__fig, .artist__fig, .artist__body, .about-hero__text, .contact__text, .page-head__aside, .section-head__aside,
  .section-head > div:first-child, .faq-teaser > div:first-child, .glance > div:first-child, .form-card__done, .gallery__meta { align-items: center; }
  .hero__lede, .lead, .aside, .work-head__intro, .story p, .story__list p, .accordion details p, .piece__story, .facts p,
  .about-hero__fig, .artist__fig, .page-head__aside, .section-head__aside, .note, .form__note { margin-inline: auto; }
  .hero__foot, .actions, .cta__actions, .crumbs, .filters, .site-footer__base, .piece__actions, .form__foot { justify-content: center; }
  .work-head__intro, .aside, .section-head__aside, .page-head__aside { justify-self: center; }
  .site-footer__top { justify-items: center; }
  .work-head { padding-bottom: 36px; }
  .site-header .wordmark { font-size: 17px; letter-spacing: -.01em; }
  .menu-btn { font-size: 12px; gap: 10px; }
  .split { justify-items: center; }
  .split > .link-line, .section-head .link-line { justify-self: center !important; }
  .site-footer__base { flex-direction: column; align-items: center; }
  .site-footer__right { justify-content: center; }
  .card__meta, .feature-card__meta { grid-template-columns: 1fr; justify-items: center; }
  .card__status, .feature-card__status { grid-column: auto; }
  .specs, .specs--lg { grid-template-columns: 1fr; gap: 2px; }
  .specs dd { margin-bottom: 10px; }
  .story li, .story__list li, .facts li { justify-items: center; }
  .accordion summary { justify-content: center; }
  .accordion summary h2, .accordion summary h3 { flex: 0 1 auto; text-align: center; }
  .field label { text-align: center; }
  .field input, .field select, .field textarea { text-align: center; text-align-last: center; }
  .piece__nav button, .piece__nav a { text-align: center !important; align-items: center !important; }
  .admin, .email-preview, .msg { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

@media print {
  body::after, .site-header, .mobile-menu, .ticker, .cta, .lb { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding-top: 0; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .page-home main { padding-top: var(--hh); }
  .page-home .hero { min-height: calc(100svh - var(--hh)); }
  .page-home .hero__text { padding-top: clamp(40px, 6vh, 72px); }
}
.field select { font-size: clamp(17px, 1.35vw, 20px); padding-top: 13px; padding-bottom: 13px; text-overflow: ellipsis; }
