/* ==========================================================================
   Gigi Lopez — Artist Portfolio & Online Gallery
   A warm, editorial gallery: canvas grounds, ink type, terracotta accents.
   ========================================================================== */

:root {
  --canvas: #F4F0E8;
  --canvas-deep: #EDE7DB;
  --linen: #D8CCB8;
  --olive: #6F755C;
  --terracotta: #A65C47;
  --terracotta-deep: #8E4C3A;
  --ink: #252521;
  --ink-soft: #4A4943;
  --muted: #77736A;
  --rule: rgba(37, 37, 33, .14);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--terracotta); color: var(--canvas); }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--canvas); padding: .6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.display { font-size: clamp(3.4rem, 10.5vw, 9.5rem); line-height: .88; letter-spacing: -.025em; font-weight: 400; }
.h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .95; }
.h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.12; }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }

.lede { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.32; font-weight: 400; color: var(--ink); }
.prose p { margin: 0 0 1.15em; max-width: 38rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(5rem, 11vw, 10rem) 0; }
.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- Links & buttons ---------- */
.link {
  text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: .75rem; padding-bottom: .35rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: transform .4s var(--ease); }
.link:hover { background-size: 30% 1px; color: var(--terracotta); }
.link:hover::after { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  padding: 1.05rem 1.9rem; border: 1px solid var(--ink); background: var(--ink); color: var(--canvas);
  text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--terracotta); border-color: var(--terracotta); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.btn--light { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.btn--light:hover { background: transparent; color: var(--canvas); border-color: var(--canvas); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 240, 232, .92);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.wordmark {
  font-family: var(--serif); font-size: 1.85rem; font-weight: 500; letter-spacing: .005em;
  text-decoration: none; line-height: 1; display: inline-flex; align-items: baseline; gap: .1em;
}
.wordmark__dot { color: var(--terracotta); font-size: 1.1em; line-height: 0; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.2rem); }
.nav a {
  text-decoration: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 450;
  padding: .4rem 0; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--terracotta); }

.menu-toggle {
  display: none; background: none; border: 0; padding: .6rem 0 .6rem .6rem; cursor: pointer;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  align-items: center; gap: .7rem;
}
.menu-toggle__bars { width: 22px; height: 9px; position: relative; display: inline-block; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s;
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 7.5px; }
.menu-open .menu-toggle__bars::before { top: 3.75px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 3.75px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 78px 0 0 0; background: var(--canvas);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 2rem var(--gutter) 3rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav a {
    font-family: var(--serif); text-transform: none; letter-spacing: -.01em; font-size: clamp(2.1rem, 8vw, 3rem);
    font-weight: 400; padding: .35rem 0; width: 100%; border-bottom: 1px solid var(--rule);
  }
  .nav a::after { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Page transitions & reveal ---------- */
main { min-height: 70vh; }
.page { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .page { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Artwork image frame ---------- */
.art { position: relative; background: var(--canvas-deep); overflow: hidden; }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .8s var(--ease); }
.art img.is-loading { opacity: 0; }
.art--contain { background: transparent; }
.art--contain img { object-fit: contain; }
a:hover > .art img, .art-link:hover .art img { transform: scale(1.025); }
.art--shadow img { box-shadow: 0 1px 1px rgba(37,37,33,.06), 0 18px 40px -18px rgba(37,37,33,.35); }

/* wall label */
.label { margin-top: 1rem; display: grid; gap: .15rem; }
.label__title { font-family: var(--serif); font-size: 1.32rem; font-style: italic; line-height: 1.15; }
.label__meta { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--linen); border: 1px solid var(--muted); }
.status--available::before { background: var(--olive); border-color: var(--olive); }
.status--sold::before { background: var(--terracotta); border-color: var(--terracotta); }
.status--donated::before { background: var(--linen); border-color: var(--terracotta); }

.draft-tag {
  display: inline-block; font-family: var(--sans); font-style: normal; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--terracotta); border: 1px dashed var(--terracotta); padding: .2rem .55rem; margin-top: .9rem; vertical-align: middle;
}
.tbc { color: var(--muted); font-style: italic; }

/* polka-dot motif — drawn from the montera hats of the Dons */
.dots {
  background-color: var(--terracotta);
  background-image: radial-gradient(circle, rgba(244,240,232,.9) 0 3.2px, transparent 3.7px);
  background-size: 22px 22px;
}
.dots--ink { background-color: var(--ink); background-image: radial-gradient(circle, rgba(244,240,232,.85) 0 3px, transparent 3.5px); }
.dots--soft { background-color: var(--linen); background-image: radial-gradient(circle, rgba(244,240,232,.85) 0 3px, transparent 3.5px); }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero__text { padding-bottom: clamp(1rem, 4vw, 4rem); position: relative; z-index: 2; }
.hero__name { margin: 0 0 clamp(1.6rem, 3vw, 2.6rem); }
.hero__name span { display: block; }
.hero__name span:last-child { padding-left: clamp(1.5rem, 9vw, 9rem); font-style: italic; }
.hero__sub { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2.6rem; }
.hero__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.3; max-width: 26rem; margin: 0 0 2.4rem; color: var(--ink); }
.hero__quote cite { display: block; font-style: normal; font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }
.hero__art { position: relative; justify-self: end; width: min(100%, 560px); }
.hero__block { position: absolute; z-index: 0; width: 62%; height: 74%; right: -9%; top: -6%; }
.hero__art .art { position: relative; z-index: 1; aspect-ratio: 1066 / 1544; background: var(--ink); }
.hero__art .label { position: relative; z-index: 1; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 1.6rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { justify-self: stretch; width: 100%; max-width: 520px; margin: 0 auto; }
  .hero__block { right: -6%; }
  .hero__scroll { display: none; }
}

.intro { text-align: left; }
.intro__grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro__text .lede { max-width: 48rem; }
.intro__text .lede + .prose { margin-top: 2rem; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } }

/* section heading row */
.sec-head { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head__num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--terracotta); align-self: start; padding-top: .4rem; }
.sec-head__intro { max-width: 30rem; color: var(--ink-soft); margin: 1.2rem 0 0; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 1rem; } .sec-head__num { padding: 0; } }

/* Don's & Doña's editorial grid */
.dons { background: var(--canvas-deep); }
.dons-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.4vw, 2.4rem); align-items: start; }
.dons-col { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.dons-col--a { grid-column: 1 / span 5; }
.dons-col--b { grid-column: 7 / span 6; padding-top: clamp(4rem, 12vw, 11rem); }
.dons-col .salon__item { margin: 0; padding: 0 !important; }
.dons-col .is-narrow { width: 72%; }
.dons-col .is-right { justify-self: end; }
.dons-col .is-mid { width: 82%; justify-self: center; }
@media (max-width: 760px) {
  .dons-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .dons-col--a, .dons-col--b { grid-column: auto; }
  .dons-col--b { padding-top: 4rem; }
  .dons-col .is-narrow, .dons-col .is-mid { width: 100%; }
  .dons-col { gap: 2.5rem; }
}

.art-link { text-decoration: none; display: block; }

/* Abstract feature */
.abstract-feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.abstract-feature__side { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.abstract-feature__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 860px) { .abstract-feature { grid-template-columns: 1fr; } }

/* Collections index */
.collections-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ci-row { border-bottom: 1px solid var(--rule); }
.ci-row a {
  display: grid; grid-template-columns: 4rem 1fr auto 9rem; gap: 2rem; align-items: center;
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0; text-decoration: none; transition: padding .5s var(--ease), color .3s;
}
.ci-row a:hover { padding-left: 1rem; color: var(--terracotta); }
.ci-row__num { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.1rem; }
.ci-row__title { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1; }
.ci-row__count { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ci-row__thumb { width: 9rem; height: 6rem; }
.ci-row__thumb .art { height: 100%; }
@media (max-width: 760px) {
  .ci-row a { grid-template-columns: 2.4rem 1fr 5rem; gap: 1rem; }
  .ci-row__count { display: none; }
  .ci-row__thumb { width: 5rem; height: 5rem; }
}

/* Commission feature — a contrasting colour block */
.commission-band { background: var(--olive); color: var(--canvas); position: relative; overflow: hidden; }
.commission-band .eyebrow, .commission-band .muted { color: rgba(244,240,232,.75); }
.commission-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.commission-band__media { position: relative; }
.commission-band__media .art { aspect-ratio: 4 / 5; }
.commission-band__media .dots { position: absolute; width: 34%; aspect-ratio: 1; right: -7%; top: -6%; z-index: 0; }
.commission-band__media .art { position: relative; z-index: 1; }
.commission-band .prose p { color: rgba(244,240,232,.86); }
@media (max-width: 860px) { .commission-band__grid { grid-template-columns: 1fr; } }

/* Portrait */
.portrait-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.portrait-grid .art { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .portrait-grid { grid-template-columns: 1fr; } }

/* Exhibitions list (shared) */
.ex-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ex-item { display: grid; grid-template-columns: 6rem 1fr auto; gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ex-item__year { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--terracotta); }
.ex-item__venue { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.ex-item__title { display: block; font-family: var(--sans); font-size: .9rem; color: var(--ink-soft); margin-top: .2rem; }
.ex-item__place { display: block; font-size: .82rem; color: var(--muted); margin-top: .15rem; }
.ex-item__type { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) {
  .ex-item { grid-template-columns: 1fr; gap: .25rem; }
  .ex-item__type { order: -1; }
}

/* Contact invitation */
.invite { text-align: center; }
.invite .h1 { max-width: 15ch; margin: 0 auto 2rem; }
.invite p { max-width: 34rem; margin: 0 auto 2.6rem; color: var(--ink-soft); }
.invite__ornament { width: 72px; height: 72px; margin: 0 auto 2.4rem; border-radius: 50%; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-head { padding: clamp(3rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.page-head__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-head .lede { margin: 0; }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: 1.3rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.filters a { text-decoration: none; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .3rem 0; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.filters a:hover { color: var(--ink); }
.filters a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--terracotta); }
.filters sup { font-size: .62rem; margin-left: .2rem; letter-spacing: 0; }

/* Salon-hang gallery (CSS columns, not a product grid) */
.salon { columns: 3 300px; column-gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.salon__item { break-inside: avoid; margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); display: block; text-decoration: none; }
.salon__item:nth-child(3n+2) { padding-top: clamp(0rem, 3vw, 3rem); }
.salon__item .art img { transition: transform 1.2s var(--ease); }

.collection-group { margin-bottom: clamp(4rem, 9vw, 8rem); }
.collection-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }

/* Artwork detail */
.work { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 8vw, 7rem); }
.crumbs { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); display: flex; gap: .6rem; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--terracotta); }
.work__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.work__media { position: relative; }
.work__stage {
  background: var(--canvas-deep); padding: clamp(1.5rem, 5vw, 4.5rem); display: flex; align-items: center; justify-content: center;
  min-height: min(78vh, 820px); cursor: zoom-in; border: 0; width: 100%;
}
.work__stage img { max-height: min(70vh, 720px); width: auto; max-width: 100%; box-shadow: 0 1px 1px rgba(37,37,33,.06), 0 24px 50px -22px rgba(37,37,33,.45); }
.work__thumbs { display: flex; gap: .8rem; margin-top: 1rem; }
.work__thumbs button { width: 74px; height: 74px; padding: 0; border: 1px solid transparent; background: var(--canvas-deep); cursor: pointer; }
.work__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.work__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.work__info { position: sticky; top: 110px; }
.work__title { font-size: clamp(2.4rem, 4.6vw, 4rem); font-style: italic; line-height: 1; margin-bottom: 1.6rem; }
.specs { margin: 0 0 2rem; border-top: 1px solid var(--rule); }
.specs div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.specs dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.specs dd { margin: 0; }
.work__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.work__credit { font-size: .76rem; color: var(--muted); margin-top: 1.5rem; }
.work__credit a { color: var(--muted); }
.work__nav { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.work__nav a { text-decoration: none; display: grid; gap: .3rem; max-width: 45%; }
.work__nav a span:first-child { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.work__nav a span:last-child { font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.work__nav a:hover span:last-child { color: var(--terracotta); }
.work__nav a:last-child { text-align: right; margin-left: auto; }
@media (max-width: 900px) {
  .work__grid { grid-template-columns: 1fr; }
  .work__info { position: static; }
  .work__stage { min-height: 0; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(28, 28, 25, .96); display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; animation: pageIn .35s var(--ease); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.4rem; background: none; border: 0; color: var(--canvas); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: .6rem; }

/* About */
.about-hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.about-hero .art { aspect-ratio: 1600 / 1146; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } .about-hero > :first-child { order: 2; } }
.bio { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } }
.pullquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.3vw, 2.8rem); line-height: 1.18; margin: 0; }
.pullquote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 1.2rem; }

.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.journey__step { padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--rule); }
.journey__step + .journey__step { padding-left: 2rem; }
.journey__step:last-child { border-right: 0; }
.journey__place { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; margin: .4rem 0 .8rem; }
.journey__when { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); }
.journey__step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr 1fr; }
  .journey__step { padding: 1.6rem 1.2rem 1.6rem 0 !important; border-right: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }

.techniques { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; padding: 0; list-style: none; }
.techniques li { border: 1px solid var(--rule); padding: .55rem 1.1rem; font-size: .82rem; letter-spacing: .04em; border-radius: 999px; background: rgba(255,255,255,.25); }

.ink-band { background: var(--ink); color: var(--canvas); }
.ink-band .eyebrow { color: rgba(244,240,232,.6); }
.ink-band .muted { color: rgba(244,240,232,.62); }
.ink-band .prose p { color: rgba(244,240,232,.82); }

/* Commissions page */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.steps li::before { content: "0" counter(step); font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 1.3rem; display: block; margin-bottom: .8rem; }
.steps h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.comm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.comm-grid > :nth-child(3n+2) { margin-top: clamp(0rem, 5vw, 4rem); }
@media (max-width: 760px) { .comm-grid { grid-template-columns: 1fr 1fr; } .comm-grid > * { margin-top: 0 !important; } }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(37,37,33,.35);
  padding: .7rem 0; border-radius: 0; transition: border-color .3s; width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 1.2rem, calc(100% - 5px) 1.2rem; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.5rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terracotta); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--terracotta); }
.field__hint { font-size: .78rem; color: var(--muted); }
.form-note { padding: 1.2rem 1.4rem; background: var(--canvas-deep); border-left: 2px solid var(--terracotta); font-size: .92rem; }
.form-note[hidden] { display: none; }

.enquiry-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.enquiry-type {
  text-align: left; background: transparent; border: 1px solid var(--rule); padding: 1.6rem 1.4rem 1.4rem; cursor: pointer;
  display: grid; gap: .6rem; transition: border-color .3s, background .3s;
}
.enquiry-type:hover { border-color: var(--ink); }
.enquiry-type[aria-pressed="true"] { border-color: var(--terracotta); background: rgba(166,92,71,.06); }
.enquiry-type__n { font-family: var(--serif); font-style: italic; color: var(--terracotta); }
.enquiry-type__t { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.enquiry-type__d { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 960px) { .enquiry-types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .enquiry-types { grid-template-columns: 1fr; } }

.details { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.details li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.details span:first-child { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }

/* Studio & Art Therapy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.subnav { display: flex; gap: 2rem; flex-wrap: wrap; }
.therapy { background: var(--linen); }
.offer-list { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid rgba(37,37,33,.2); }
.offer-list li { padding: 1rem 0; border-bottom: 1px solid rgba(37,37,33,.2); display: flex; justify-content: space-between; gap: 1.5rem; }
.offer-list li span:last-child { color: var(--muted); font-size: .85rem; text-align: right; }

/* Exhibitions page */
.ex-year { display: grid; grid-template-columns: 11rem 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--rule); }
.ex-year__y { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: .9; position: sticky; top: 100px; align-self: start; }
.ex-year .ex-list { border-top: 0; }
.ex-year .ex-item { grid-template-columns: 1fr auto; padding-top: 0; }
.ex-year .ex-item + .ex-item { padding-top: 1.15rem; }
.ex-year .ex-item:last-child { border-bottom: 0; }
.ex-dates { font-size: .78rem; color: var(--muted); display: block; margin-top: .15rem; }
@media (max-width: 700px) { .ex-year { grid-template-columns: 1fr; } .ex-year__y { position: static; } }
.ex-stats { display: flex; gap: clamp(1.5rem, 3vw, 3rem); flex-wrap: wrap; }
.ex-stats div { display: grid; }
.ex-stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.ex-stats span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--canvas); padding: clamp(4rem, 8vw, 6.5rem) 0 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #E3A48F; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__mark { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; margin-bottom: 1.2rem; }
.footer__h { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,240,232,.55); margin: 0 0 1rem; font-weight: 500; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid rgba(244,240,232,.15); font-size: .76rem; color: rgba(244,240,232,.55); }
.footer__strip { height: 14px; margin-bottom: clamp(3rem, 6vw, 5rem); opacity: .9; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

.not-found { padding: 8rem 0; text-align: center; }
