/* Ernesto's Color Circus — Gallery Concept 02
   Mobile-first. Page rhythm: dark cinematic arrival → light gallery (gallery-white featured wall, pale-teal collection,
   light-blue prints) → dark originals + artist → pale-teal materials → dark world, collect. Light sections opt in with .theme-light (token scope).
   Fonts: Fraunces + Manrope (SIL Open Font License), self-hosted Latin subsets. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

@property --a1 { syntax: "<color>"; inherits: true; initial-value: #6a3cff; }
@property --a2 { syntax: "<color>"; inherits: true; initial-value: #ff4f8b; }
@property --a3 { syntax: "<color>"; inherits: true; initial-value: #ff9b3d; }

:root {
  --ink: #0c0b10;
  --ink-2: #14121a;
  --ink-3: #1d1a24;
  --line: rgba(239, 233, 223, .12);
  --text: #efe9df;
  --muted: rgba(239, 233, 223, .64);
  --faint: rgba(239, 233, 223, .55); /* ≥4.5:1 on --ink for small notes */
  --paper: #f7f6f2;      /* gallery white — neutral, so the paintings carry the colour */
  --paper-text: #15212a; /* deep blue-ink */
  --paper-muted: #4b5961; /* cool slate, ≥ 4.5:1 on every light wall */
  --mist: #dcecee;       /* pale teal (artist feedback 2026-11: softer, comforting light walls) */
  --sky: #e5eff4;        /* light blue */
  --panel-r: clamp(22px, 3.6vw, 52px); /* radius of the light/dark panel edges */
  --pink: #ff4f8b;
  --amber: #ffad4a;
  --teal: #4fd1c5;
  --violet: #7b6cff;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-pour: cubic-bezier(.65, .02, .2, 1);
  --a1: #6a3cff; --a2: #ff4f8b; --a3: #ff9b3d;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
main { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 600; }
.eyebrow--dark { color: var(--paper-muted); }
.display {
  font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 8vw, 96px); line-height: .98; letter-spacing: -.025em; margin: 0;
}
.display em, .wordmark em { font-style: italic; font-weight: 300; }
.display--sm { font-size: clamp(34px, 5.4vw, 64px); }
.display--dark { color: var(--paper-text); }
.pending-note { max-width: 62ch; margin: 40px auto 0; font-size: 13px; color: var(--faint); text-align: center; }
.small-print { font-size: 12.5px; color: var(--faint); margin: 12px 0 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .35s, color .35s, border-color .35s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--text); color: var(--ink); box-shadow: 0 10px 40px -12px color-mix(in srgb, var(--a2) 70%, transparent); }
.btn--ghost { border-color: rgba(239,233,223,.32); background: rgba(239,233,223,.04); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: var(--paper-text); color: var(--paper); }
.btn--line-dark { border-color: rgba(21,33,42,.3); color: var(--paper-text); }
.btn--line-dark:hover { border-color: var(--paper-text); }
.link-btn { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(239,233,223,.3); font-size: 13px; }
.link-btn:hover { color: var(--text); }

/* ---------- ambient paint-light (signature 03) ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .55; transition: --a1 2.4s ease, --a2 2.4s ease, --a3 2.4s ease, opacity 1.2s; }
.ambient i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(80px); opacity: .5; mix-blend-mode: screen; will-change: transform; }
.ambient i:nth-child(1) { background: radial-gradient(circle, var(--a1) 0%, transparent 62%); left: -25vmax; top: -20vmax; animation: drift1 38s ease-in-out infinite alternate; }
.ambient i:nth-child(2) { background: radial-gradient(circle, var(--a2) 0%, transparent 62%); right: -30vmax; top: 10vh; animation: drift2 44s ease-in-out infinite alternate; }
.ambient i:nth-child(3) { background: radial-gradient(circle, var(--a3) 0%, transparent 62%); left: 10vw; bottom: -40vmax; animation: drift3 52s ease-in-out infinite alternate; }
.ambient.is-dim { opacity: .18; }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, 18vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(14vw, -26vh) scale(1.1); } }
body::after { /* fine film grain keeps the dark from looking digital */
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 16px;
  padding: 14px var(--gutter); color: var(--text); transition: background-color .5s, backdrop-filter .5s, padding .5s, border-color .5s, color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(12, 11, 16, .82); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__dot { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 0deg, var(--pink), var(--amber), var(--teal), var(--violet), var(--pink)); box-shadow: 0 0 18px -2px var(--a2); animation: spin 9s linear infinite; position: relative; }
.brand__dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--ink); }
.brand__name { font-family: var(--serif); font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand__artist { font-style: italic; font-weight: 300; }
[data-wordmark="b"] .brand__name, [data-wordmark="b"] .footer__brand { display: inline-flex; align-items: baseline; gap: .55em; }
[data-wordmark="b"] .brand__artist { font-size: 1.16em; }
[data-wordmark="b"] .brand__studio { font-family: var(--sans); font-size: .58em; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
[data-wordmark="c"] .brand__name, [data-wordmark="c"] .footer__brand { font-style: italic; font-weight: 300; }
.nav__links { display: none; }
.preview-pill { display: none; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px dashed rgba(239,233,223,.35); color: var(--muted); white-space: nowrap; }
.nav__toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(12,11,16,.4); cursor: pointer; display: grid; place-items: center; }
.nav__bars, .nav__bars::before { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s; }
.nav__bars::before { content: ""; position: absolute; top: 6px; }
.nav__bars { transform: translateY(-3px); }
.nav__toggle[aria-expanded="true"] .nav__bars { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: rotate(-90deg); top: 0; }
/* over the light gallery the bar turns to frosted paper, so it never sits as a dark slab on the warm walls */
.nav.is-light { --text: var(--paper-text); --muted: rgba(21,33,42,.72); --ink: var(--paper); --line: rgba(21,33,42,.12); }
.nav.is-light.is-solid { background: rgba(247,246,242,.84); }
.nav.is-light .preview-pill { border-color: rgba(21,33,42,.35); }
.nav.is-light .nav__toggle { background: rgba(247,246,242,.5); }
@keyframes spin { to { transform: rotate(360deg); } }

.menu { position: fixed; inset: 0; z-index: 45; background: rgba(12,11,16,.96); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gutter) 40px; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu a { font-family: var(--serif); font-size: clamp(30px, 9vw, 48px); text-decoration: none; line-height: 1.25; opacity: 0; transform: translateY(14px); animation: menuIn .6s var(--ease) forwards; }
.menu a:nth-child(2) { animation-delay: .04s; } .menu a:nth-child(3) { animation-delay: .08s; } .menu a:nth-child(4) { animation-delay: .12s; }
.menu a:nth-child(5) { animation-delay: .16s; } .menu a:nth-child(6) { animation-delay: .2s; } .menu a:nth-child(7) { animation-delay: .24s; }
.menu__note { margin-top: 40px; color: var(--faint); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

@media (min-width: 980px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; align-items: center; gap: 4px; }
  .nav__links a { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .03em; padding: 8px 14px; border-radius: 999px; color: var(--muted); transition: color .3s, background-color .3s; }
  .nav__links a:hover, .nav__links a.is-current { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
  .nav__links .nav__cta { color: var(--ink); background: var(--text); margin-left: 8px; }
  .nav__links .nav__cta:hover { background: color-mix(in srgb, var(--text) 85%, var(--ink)); color: var(--ink); }
  .preview-pill { display: inline-block; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 96px var(--gutter) calc(var(--panel-r) + 76px); overflow: hidden; }
.hero__inner { width: 100%; max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.hero__copy { order: 2; position: relative; z-index: 2; }
/* Wordmark — one structure, three reviewable treatments on <html data-wordmark>. Monochrome by design:
   the colour wheel and the paintings carry the colour. Sized from the copy column (cqi) so it never
   reaches into the disc. */
.hero__copy { container-type: inline-size; }
.wordmark { margin: 0 0 26px; font-family: var(--serif); font-weight: 340; color: var(--text); font-variation-settings: "opsz" 144; letter-spacing: -.03em; }
.wordmark > span { display: block; opacity: 0; transform: translateY(26px); animation: up 1.3s var(--ease) forwards; }
.wordmark__artist { animation-delay: .35s !important; }
.wordmark__studio { animation-delay: .55s !important; }
/* A · balanced editorial: both names at one size, italic artist over roman studio */
[data-wordmark="a"] .wordmark { font-size: clamp(48px, 18.5cqi, 136px); line-height: .95; }
[data-wordmark="a"] .wordmark__artist { font-style: italic; font-weight: 300; }
/* B · artist-first: Ernesto's leads, Color Circus becomes a quiet spaced-caps line beneath */
[data-wordmark="b"] .wordmark__artist { font-style: italic; font-weight: 300; font-size: clamp(72px, 27cqi, 196px); line-height: .9; letter-spacing: -.035em; }
[data-wordmark="b"] .wordmark__studio { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-family: var(--sans); font-size: clamp(12px, 2.6cqi, 18px); font-weight: 600; letter-spacing: .5em; text-transform: uppercase; color: var(--text); }
[data-wordmark="b"] .wordmark__studio::before { content: ""; flex: none; width: clamp(28px, 7cqi, 56px); height: 1px; background: currentColor; opacity: .6; }
/* C · unified signature: one line, one style, a single drawn stroke */
[data-wordmark="c"] .wordmark { font-size: clamp(34px, 12.5cqi, 84px); line-height: 1.05; font-style: italic; font-weight: 300; letter-spacing: -.02em; }
[data-wordmark="c"] .wordmark > span { display: inline; }
[data-wordmark="c"] .wordmark::after { content: ""; display: block; width: 72px; height: 1px; margin-top: 22px; background: var(--text); opacity: .55; transform-origin: 0 50%; transform: scaleX(0); animation: stroke 1.2s 1s var(--ease) forwards; }
[data-wordmark="c"] .wordmark__studio::before { content: " "; }
@keyframes stroke { to { transform: scaleX(1); } }
/* review-only switch (inside the hero, so it scrolls away with it) */
.review-switch { position: absolute; left: var(--gutter); bottom: calc(var(--panel-r) + 16px); z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 11px; color: var(--faint); }
.review-switch__label { letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.review-switch__opts { display: inline-flex; gap: 4px; padding: 3px; border: 1px dashed rgba(239,233,223,.3); border-radius: 999px; }
.review-switch button { min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.review-switch button span { font-weight: 400; margin-left: 2px; }
.review-switch button[aria-checked="true"] { background: var(--text); color: var(--ink); }
@media (max-width: 520px) { .review-switch button span { display: none; } }
.hero__lede { max-width: 36ch; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reveal-up { opacity: 0; transform: translateY(18px); animation: up 1.1s var(--ease) forwards; }
.hero .eyebrow.reveal-up { animation-delay: .25s; } .hero__lede.reveal-up { animation-delay: .9s; } .hero__actions.reveal-up { animation-delay: 1.1s; }
@keyframes up { to { opacity: 1; transform: none; } }

/* Signature 01: spinning colour wheel */
.holo { order: 1; margin: 0 auto; width: min(78vw, 440px); position: relative; perspective: 1100px; }
.holo__tilt { position: relative; aspect-ratio: 1; transform-style: preserve-3d; transition: transform .6s var(--ease); animation: float 7s ease-in-out infinite; }
.holo__canvas, .holo__fallback { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.holo__fallback { object-fit: cover; opacity: 0; }
.holo.no-canvas .holo__fallback { opacity: 1; animation: spin 90s linear infinite; }
.holo__halo { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a2) 45%, transparent) 0%, color-mix(in srgb, var(--a1) 25%, transparent) 38%, transparent 66%); filter: blur(30px); opacity: 0; animation: haloIn 2.4s 1s ease forwards; }
.holo__tilt::after { /* floor reflection */ content: ""; position: absolute; left: 15%; right: 15%; bottom: -16%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a2) 40%, transparent), transparent); filter: blur(10px); opacity: .7; }
.holo__cap { position: relative; margin-top: 30px; justify-content: center; display: flex; gap: 8px; align-items: baseline; white-space: nowrap; font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.holo__cap em { font-style: italic; }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes haloIn { to { opacity: 1; } }
.scroll-cue { position: absolute; left: 50%; bottom: calc(var(--panel-r) + 14px); translate: -50% 0; width: 26px; height: 42px; border: 1px solid rgba(239,233,223,.35); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .hero__copy { order: 1; }
  .holo { order: 2; width: min(42vw, 560px); }
  .scroll-cue { display: block; }
}

/* ---------- sections ---------- */
section { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head__lede { max-width: 48ch; color: var(--muted); font-size: 17px; margin: 22px 0 0; }
.section-head--row { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .section-head--row { grid-template-columns: 1fr auto; } .section-head--row .section-head__lede { margin: 0; } }

/* ---------- light gallery (gallery white · pale teal · light blue · ink) ---------- */
/* Token scope: components keep using --text/--muted/--faint/--line/--ink and re-theme automatically. */
.theme-light {
  --text: var(--paper-text); --muted: rgba(21,33,42,.74); --faint: rgba(21,33,42,.66); --line: rgba(21,33,42,.14);
  --ink: var(--paper); --ink-3: #e1eaec;
  background: var(--paper); color: var(--text); color-scheme: light;
}
.theme-light :focus-visible { outline-color: var(--paper-text); }
.theme-light > * { position: relative; }
/* collection: gallery white eases into pale teal, then settles into the light blue of the prints room */
.theme-light--mist { --ink-3: #cddfe2; background: linear-gradient(var(--paper), var(--mist) 260px, var(--mist) calc(100% - 260px), var(--sky)); }
/* the ambient paint-light carries on as a faint wash on the walls, tinted by the work in view */
.featured::before, .collection::before, .materials::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(55% 40% at 88% 8%, color-mix(in srgb, var(--a2) 12%, transparent), transparent 72%),
              radial-gradient(50% 36% at 6% 62%, color-mix(in srgb, var(--a1) 9%, transparent), transparent 72%);
  transition: --a1 2.4s ease, --a2 2.4s ease;
}
/* panel edge: where light meets dark, the next room slides over the last with a rounded top */
.panel-edge { border-radius: var(--panel-r) var(--panel-r) 0 0; margin-top: calc(var(--panel-r) * -1); z-index: 2; }
.featured.panel-edge { box-shadow: 0 -40px 110px -50px rgba(200, 236, 244, .32); }
.materials.panel-edge { box-shadow: 0 -40px 110px -50px rgba(200, 236, 244, .24); }
.panel-edge--dark { z-index: 4; box-shadow: 0 -36px 70px -40px rgba(21, 33, 42, .45); }

/* ---------- featured wall (parallax + pour reveal) ---------- */
.wall { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.piece { position: relative; min-width: 0; margin: 0; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; display: block; width: 100%; }
.piece__frame { position: relative; overflow: hidden; border-radius: 3px; background: var(--ink-3); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.piece__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; background-size: cover; }
.piece:hover .piece__frame img { transform: scale(1.035); }
.piece__cap { display: flex; justify-content: space-between; gap: 8px; padding: 12px 2px 0; font-size: 12.5px; color: var(--muted); }
.piece__cap b { color: var(--text); font-weight: 600; letter-spacing: .04em; }
.piece__cap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wall .piece:nth-child(3n+1) { grid-column: span 2; }
@media (min-width: 900px) {
  .wall { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; row-gap: 88px; align-items: start; padding-bottom: 32px; }
  .wall .piece { grid-column: span 4; }
  .wall .piece:nth-child(8n+1) { grid-column: 1 / span 7; }
  .wall .piece:nth-child(8n+2) { grid-column: 9 / span 4; margin-top: 18%; }
  .wall .piece:nth-child(8n+3) { grid-column: 2 / span 4; }
  .wall .piece:nth-child(8n+4) { grid-column: 7 / span 5; margin-top: 7%; }
  .wall .piece:nth-child(8n+5) { grid-column: 1 / span 4; margin-top: 6%; }
  .wall .piece:nth-child(8n+6) { grid-column: 6 / span 7; }
  .wall .piece:nth-child(8n+7) { grid-column: 2 / span 5; }
  .wall .piece:nth-child(8n+8) { grid-column: 8 / span 4; margin-top: 10%; }
  .wall .piece { will-change: transform; }
}

/* Signature 04a: pour reveal — artwork floods in from a point, like paint finding its edge */
.reveal-pour { clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); transition: clip-path 1.5s var(--ease-pour); }
.reveal-pour img { transform: scale(1.12); transition: transform 2.2s var(--ease); }
.reveal-pour.is-in { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.reveal-pour.is-in img { transform: scale(1); }
.piece__frame.reveal-pour.is-in img { transition: transform 1.2s var(--ease); }

/* ---------- collection grid ---------- */
.collection { padding-top: clamp(60px, 8vw, 120px); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filters { margin: 0; padding-inline: 2px; flex-wrap: wrap; justify-content: flex-end; } }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(239,233,223,.03); color: var(--muted); font-size: 13px; cursor: pointer; transition: all .3s; }
.chip span { font-size: 11px; opacity: .6; }
.chip:hover { color: var(--text); border-color: rgba(239,233,223,.3); }
.chip.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }
.theme-light .chip { background: rgba(255,255,255,.4); }
.theme-light .chip:hover { border-color: rgba(21,33,42,.4); }
.theme-light .chip.is-active { background: var(--text); }
.theme-light .piece__frame { box-shadow: 0 1px 2px rgba(16,40,52,.14), 0 26px 46px -28px rgba(16,40,52,.48); }
.swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.swatch--burst { background: conic-gradient(var(--pink), var(--amber), var(--violet), var(--pink)); }
.swatch--flow { background: linear-gradient(135deg, #3d7bff, #b48cff); }
.swatch--field { background: radial-gradient(circle at 30% 30%, #fff 0 15%, #e2463c 16% 40%, #1b2a55 41%); }
.swatch--gesture { background: linear-gradient(120deg, #111 0 45%, #ffd23f 46%); }
.filter-hint { max-width: var(--max); margin: -40px auto 24px; font-size: 13px; color: var(--faint); min-height: 1.4em; }
.grid { max-width: var(--max); margin: 0 auto; columns: 2; column-gap: 12px; }
.grid .piece { break-inside: avoid; margin-bottom: 22px; transition: opacity .5s, transform .5s var(--ease); }
.grid .piece.is-hidden { display: none; }
.grid .piece.is-entering { opacity: 0; transform: translateY(20px); }
.grid .piece__cap { font-size: 12px; }
@media (min-width: 700px) { .grid { columns: 3; column-gap: 20px; } }
@media (min-width: 1100px) { .grid { columns: 4; column-gap: 26px; } .grid .piece { margin-bottom: 34px; } }

/* ---------- prints (paper section) ---------- */
.prints { background: var(--sky); color: var(--paper-text); display: grid; gap: 48px; max-width: none; z-index: 3; padding-bottom: calc(clamp(80px, 12vw, 160px) + var(--panel-r)); }
.prints::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: radial-gradient(800px 400px at 85% 10%, rgba(255,255,255,.7), transparent 70%), radial-gradient(700px 500px at 0% 100%, rgba(79,209,197,.14), transparent 70%); }
.prints > * { position: relative; }
.prints__intro { max-width: 520px; }
.prints__intro > p:not(.eyebrow):not(.small-print) { color: var(--paper-muted); font-size: 17px; margin: 22px 0 26px; }
.facts { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid rgba(21,33,42,.14); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(21,33,42,.14); font-size: 14px; color: var(--paper-muted); font-style: italic; }
.facts span { font-style: normal; color: var(--paper-text); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.prints__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.prints .small-print { color: var(--paper-muted); }
@media (min-width: 1000px) {
  .prints { grid-template-columns: minmax(320px, 440px) 1fr; gap: 72px; align-items: center; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
}

.studio { display: grid; gap: 20px; }
.studio__room {
  --wall: #efe8dc; position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 5 / 4;
  background: linear-gradient(180deg, color-mix(in srgb, var(--wall) 92%, white) 0%, var(--wall) 55%, color-mix(in srgb, var(--wall) 82%, black) 100%);
  display: grid; place-items: center; container-type: size; transition: background-color .6s; color: color-mix(in srgb, var(--wall) 55%, black);
  box-shadow: inset 0 -80px 120px -60px rgba(0,0,0,.18);
}
.studio__room::before { /* soft gallery light from above */ content: ""; position: absolute; inset: -20% 10% auto; height: 70%; background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent); pointer-events: none; }
.studio__room[data-wall="mist"] { --wall: #dfeaee; }
.studio__room[data-wall="sage"] { --wall: #aeb7a0; }
.studio__room[data-wall="clay"] { --wall: #c99a7e; }
.studio__room[data-wall="night"] { --wall: #2b2a30; color: #6b6872; }
.studio__frame { --ar: 1; position: relative; z-index: 1; padding: 1.6cqh; background: #141216; box-shadow: 0 24px 40px -18px rgba(0,0,0,.55), 0 4px 10px rgba(0,0,0,.25); transition: all .5s var(--ease); margin-top: -8%; }
.studio__frame[data-frame="white"] { background: #f7f5f1; box-shadow: 0 24px 40px -18px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.08); }
.studio__frame[data-frame="oak"] { background: linear-gradient(90deg, #b88a5a, #d2a774 30%, #a87a4c 55%, #c99c69 80%, #a47448); }
.studio__frame[data-frame="none"] { padding: 0; background: none; box-shadow: 4px 4px 0 rgba(0,0,0,.12), 0 24px 40px -18px rgba(0,0,0,.5); }
.studio__mat { background: #fbfaf7; padding: 6cqh; box-shadow: inset 0 2px 6px rgba(0,0,0,.18); transition: padding .5s var(--ease); }
.studio__frame[data-frame="none"] .studio__mat { padding: 0; box-shadow: none; }
.studio__mat img { width: min(46cqw, 42cqh * var(--ar)); height: auto; aspect-ratio: var(--ar); object-fit: cover; transition: opacity .4s; }
.studio__frame[data-frame="none"] .studio__mat img { width: min(56cqw, 52cqh * var(--ar)); }
.studio__bench { position: absolute; bottom: 9%; width: 46%; left: 27%; opacity: .55; }
.studio__scale { position: absolute; right: 10px; bottom: 10px; font-size: 10.5px; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.55); color: #3b3740; }
.studio__room[data-wall="night"] .studio__scale { background: rgba(0,0,0,.35); color: #dcd8e0; }
.studio__controls { display: grid; gap: 18px; }
.studio__picks { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; }
.studio__pick { flex: none; width: 58px; height: 58px; border-radius: 4px; padding: 0; border: 2px solid transparent; overflow: hidden; cursor: pointer; background: #ddd; transition: transform .3s, border-color .3s; }
.studio__pick img { width: 100%; height: 100%; object-fit: cover; }
.studio__pick[aria-checked="true"] { border-color: var(--paper-text); transform: translateY(-3px); }
.studio__row { display: flex; flex-wrap: wrap; gap: 18px 28px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--paper-muted); margin-bottom: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(21,33,42,.2); background: transparent; color: var(--paper-text); font-size: 13px; cursor: pointer; transition: all .25s; }
.seg button[aria-pressed="true"] { background: var(--paper-text); color: var(--paper); border-color: var(--paper-text); }
.seg--dots button { width: 38px; padding: 0; display: grid; place-items: center; }
.seg--dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.seg--dots button[aria-pressed="true"] { background: transparent; border-color: var(--paper-text); border-width: 2px; }
.studio__label { margin: 0; font-size: 13px; color: var(--paper-muted); }
.studio__label b { color: var(--paper-text); }

/* ---------- originals (spotlight) ---------- */
.originals { --mx: 50%; --my: 40%; background: radial-gradient(900px 700px at var(--mx) var(--my), rgba(255,240,220,.07), transparent 60%), #08070b; z-index: 3; }
.orig { max-width: var(--max); margin: 0 auto; display: grid; gap: 36px; grid-template-areas: "head" "stage" "info"; }
.orig .section-head { grid-area: head; margin: 0; }
.orig__stage { grid-area: stage; }
.orig__info { grid-area: info; }
.orig__stage { position: relative; display: grid; place-items: center; min-height: 340px; padding: 6% 0; }
.orig__stage::before { /* gallery spotlight cone */ content: ""; position: absolute; inset: -10% 0 0; background: radial-gradient(60% 55% at 50% 45%, rgba(255,244,228,.13), transparent 70%); pointer-events: none; }
.orig__art { position: relative; overflow: hidden; isolation: isolate; max-width: 100%; box-shadow: 0 50px 80px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.04); cursor: zoom-in; touch-action: pan-y; transition: opacity .5s; }
.orig__art img { max-height: min(72vh, 760px); width: auto; max-width: 100%; }
.orig__art.is-swapping { opacity: 0; }
.orig__ref { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin: 0 0 10px; font-weight: 600; }
.orig__title { font-family: var(--serif); font-weight: 340; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin: 0 0 10px; }
.orig__title span, .room__title span { font-style: italic; font-weight: 300; color: var(--muted); font-size: .6em; }
.orig__desc { color: var(--muted); margin: 0 0 24px; }
.spec { margin: 0 0 28px; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec dt { color: var(--faint); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding-top: 3px; }
.spec dd { margin: 0; color: var(--muted); font-style: italic; }
.orig__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.orig__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.orig__thumb { width: 56px; height: 56px; padding: 0; border: 0; border-radius: 3px; overflow: hidden; cursor: pointer; opacity: .45; transition: opacity .3s, transform .3s; outline-offset: 3px; }
.orig__thumb img { width: 100%; height: 100%; object-fit: cover; }
.orig__thumb[aria-selected="true"], .orig__thumb:hover { opacity: 1; transform: translateY(-2px); }
.orig__thumb[aria-selected="true"] { box-shadow: 0 0 0 2px var(--text); }
@media (min-width: 1000px) {
  .orig { grid-template-columns: 1.5fr 1fr; grid-template-areas: "stage head" "stage info"; column-gap: 64px; row-gap: 28px; align-items: start; }
  .orig .section-head { align-self: end; }
  .orig .display { font-size: clamp(48px, 5vw, 72px); }
  .orig__stage { align-self: center; }
}

/* texture loupe */
.loupe { position: absolute; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .25s, transform .25s var(--ease); background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 20px 50px rgba(0,0,0,.6), inset 0 0 30px rgba(0,0,0,.25); z-index: 3; }
.loupe.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- process ---------- */
.process { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; display: grid; gap: clamp(48px, 7vw, 96px); }
.process__quote blockquote { margin: 0; }
.process__quote blockquote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 18px; max-width: 30ch; }
.process__quote footer { color: var(--faint); font-size: 13px; }
.process { padding-bottom: calc(clamp(80px, 12vw, 160px) + var(--panel-r)); } /* the materials panel slides over its foot */
.process__intro p { color: var(--muted); font-size: 17px; max-width: 52ch; margin: 22px 0 0; }
.process__intro p + p { margin-top: 14px; }
.moves { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.move { display: grid; gap: 18px; }
.move__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--ink-3); }
.move__img img { width: 100%; height: 100%; object-fit: cover; }
.move__n { font-family: var(--serif); font-style: italic; color: var(--amber); font-size: 15px; }
.move h3 { font-family: var(--serif); font-weight: 340; font-size: 34px; margin: 2px 0 6px; }
.move p { margin: 0; color: var(--muted); max-width: 34ch; }
.studio-shot { margin: 0; position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; }
.studio-shot img { width: 100%; height: 100%; object-fit: cover; }
.studio-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-size: 13px; color: rgba(255,255,255,.85); }
@media (min-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; align-items: end; }
  .moves { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .move:nth-child(2) { margin-top: 80px; } .move:nth-child(3) { margin-top: 160px; }
  .studio-shot { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .process .pending-note { grid-column: 1 / -1; }
}

/* ---------- materials (light · pale teal) ---------- */
/* Light room between the dark artist story and the dark world rail: the panel edges carry the change. */
.materials { background: linear-gradient(var(--mist), var(--sky)); padding-bottom: calc(clamp(80px, 12vw, 160px) + var(--panel-r)); }
.materials__body { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(32px, 5vw, 64px); }
.surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-self: start; }
.surface { margin: 0; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--ink-3); cursor: zoom-in; box-shadow: 0 1px 2px rgba(16,40,52,.14), 0 26px 46px -30px rgba(16,40,52,.5); }
.surface img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .surface__lbl { display: none; } }
.surface figcaption { position: absolute; z-index: 1; left: 8px; bottom: 8px; font-size: 11px; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: rgba(247,246,242,.9); color: var(--paper-text); white-space: nowrap; }
.mats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; border-top: 1px solid var(--line); }
.mat { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mat h3 { font-family: var(--serif); font-weight: 340; font-size: 24px; line-height: 1.15; margin: 0 0 6px; }
.mat p { margin: 0; color: var(--muted); font-size: 15px; }
.words { max-width: var(--max); margin: clamp(56px, 7vw, 96px) auto 0; }
.words__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px 48px; }
.words__list li { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -.01em; max-width: 30ch; }
.words figcaption { margin-top: 20px; font-size: 13px; color: var(--faint); }
.confirm { max-width: var(--max); margin: 44px auto 0; padding: 22px 24px; border: 1px dashed rgba(21,33,42,.3); border-radius: 8px; background: rgba(255,255,255,.42); }
.confirm h3 { margin: 0 0 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.confirm ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
@media (min-width: 700px) { .mats { grid-template-columns: 1fr 1fr; } .surfaces { gap: 14px; } }
@media (min-width: 900px) { .words__list { grid-template-columns: 1fr 1fr; } .confirm ul { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1100px) { .materials__body { grid-template-columns: 1fr 1.15fr; align-items: start; } }

/* ---------- in the world ---------- */
/* dark panel over the materials room: solid ink under the rounded edge, then open to the ambient light */
.world.panel-edge--dark { background: linear-gradient(var(--ink) 0, var(--ink) calc(var(--panel-r) * 2), rgba(12, 11, 16, 0) calc(var(--panel-r) * 8)); }
.reach { display: flex; gap: 12px; align-items: baseline; margin: 18px 0 0; max-width: 48ch; font-size: 15px; color: var(--muted); }
.reach strong { color: var(--text); font-weight: 600; }
.reach em { color: var(--faint); font-size: 13px; }
.reach__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.world { padding-inline: 0; }
.world .section-head { padding-inline: var(--gutter); max-width: calc(var(--max) + var(--gutter) * 2); }
.rail { --inset: max(var(--gutter), calc((100vw - var(--max)) / 2)); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--inset) 26px; scroll-padding-inline: var(--inset); scrollbar-width: thin; scrollbar-color: rgba(239,233,223,.25) transparent; }
.rail__item { flex: none; width: min(78vw, 380px); margin: 0; scroll-snap-align: start; }
.rail__item--wide { width: min(88vw, 640px); }
.rail__item .ph { height: clamp(320px, 52vh, 520px); overflow: hidden; border-radius: 3px; background: var(--ink-3); }
.rail__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rail__item:hover img { transform: scale(1.03); }
.rail__item figcaption { padding-top: 12px; font-size: 14px; display: flex; flex-direction: column; }
.rail__item figcaption span { color: var(--faint); font-size: 12px; font-style: italic; }
.finder { max-width: calc(var(--max) + var(--gutter) * 2); margin: 56px auto 0; padding: 32px var(--gutter); display: grid; gap: 24px; }
.finder__text h3 { font-family: var(--serif); font-weight: 340; font-size: 30px; margin: 0 0 8px; }
.finder__text p { margin: 0; color: var(--muted); max-width: 52ch; }
.finder code { font-size: 13px; background: rgba(239,233,223,.08); padding: 2px 6px; border-radius: 4px; }
.finder__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.finder__form input { flex: 1 1 140px; min-height: 52px; border-radius: 999px; border: 1px solid rgba(239,233,223,.25); background: rgba(239,233,223,.05); color: var(--text); font: 600 18px var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 0 22px; }
.finder__form input::placeholder { color: var(--faint); letter-spacing: .06em; font-weight: 400; text-transform: none; }
.finder__msg { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--amber); min-height: 1.3em; }
@media (min-width: 900px) { .finder { grid-template-columns: 1fr 420px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 40px; } }

/* ---------- collect ---------- */
.paths { max-width: var(--max); margin: 0 auto; display: grid; gap: 16px; }
.path { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(160deg, rgba(239,233,223,.05), rgba(239,233,223,.01)); overflow: hidden; transition: border-color .4s, transform .4s var(--ease); }
.path:hover { border-color: rgba(239,233,223,.3); transform: translateY(-4px); }
.path::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(closest-side, var(--c, var(--a2)), transparent); opacity: .22; filter: blur(10px); transition: opacity .5s; }
.path--print { --c: var(--teal); }
.path--original { --c: var(--amber); border-color: rgba(255,173,74,.32); background: radial-gradient(120% 90% at 100% 0%, rgba(255,240,220,.08), transparent 60%), #08070b; } /* one of one: the spotlight room */
.path--original .path__n { color: var(--amber); }
.path:hover::after { opacity: .45; }
.path__n { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--faint); }
.path h3 { font-family: var(--serif); font-weight: 340; font-size: 34px; margin: 6px 0 10px; }
.path p { color: var(--muted); margin: 0 0 22px; }
.path__link { font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(239,233,223,.3); padding-bottom: 3px; }
.path__link:hover { border-color: var(--text); }
.paths__hello { max-width: var(--max); margin: 28px auto 0; color: var(--muted); font-size: 15px; }
.paths__hello a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(239,233,223,.3); padding-bottom: 2px; margin-left: 4px; white-space: nowrap; }
.paths__hello a:hover { border-color: var(--text); }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; gap: 22px; } }

.inquire { max-width: var(--max); margin: clamp(56px, 8vw, 96px) auto 0; display: grid; gap: 48px; scroll-margin-top: 90px; }
.inquire__form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--faint); font-style: italic; }
.field input, .field select, .field textarea { min-height: 50px; border-radius: 10px; border: 1px solid rgba(239,233,223,.18); background: rgba(239,233,223,.04); color: var(--text); font: 16px var(--sans); padding: 12px 16px; transition: border-color .3s, background-color .3s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); background: rgba(239,233,223,.07); }
.field textarea { resize: vertical; min-height: 120px; }
.inquire__submit .small-print { margin-top: 14px; }
.inquire__msg { color: var(--amber); font-size: 13px; margin: 8px 0 0; min-height: 1.3em; }
.inquire__aside h3 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 22px; transition: padding .3s var(--ease); }
.links a span { font-family: var(--sans); font-size: 13px; color: var(--faint); align-self: center; text-align: right; }
.links a:hover { padding-left: 8px; }
@media (min-width: 700px) { .inquire__form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .inquire { grid-template-columns: 1.4fr 1fr; gap: 80px; } }

.footer { position: relative; z-index: 1; padding: 60px var(--gutter) 48px; border-top: 1px solid var(--line); text-align: center; color: var(--faint); font-size: 12.5px; }
.footer p { max-width: 70ch; margin: 0 auto; }
.footer__brand { font-family: var(--serif); font-size: 26px; color: var(--text); margin-bottom: 14px !important; }


/* ---------- viewing room (signature 04b) ---------- */
.room { position: fixed; inset: 0; z-index: 80; background: rgba(6,5,9,.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: block; opacity: 0; overflow-x: hidden; transition: opacity .45s; overflow-y: auto; }
.room[hidden] { display: none; }
.room.is-open { opacity: 1; }
.room__glow { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(50% 50% at 35% 45%, color-mix(in srgb, var(--r1, #555) 40%, transparent), transparent 70%), radial-gradient(40% 40% at 70% 60%, color-mix(in srgb, var(--r2, #333) 30%, transparent), transparent 70%); opacity: .55; transition: background .8s; }
.room__stage { position: relative; z-index: 1; display: grid; place-items: center; padding: 70px 16px 16px; perspective: 1400px; min-height: 58vh; }
.room__art { position: relative; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), opacity .35s; box-shadow: 0 60px 100px -40px rgba(0,0,0,.95); touch-action: pan-y; }
.room__art img { max-width: calc(100vw - 32px); max-height: 56vh; width: auto; height: auto; }
.room__art.is-swapping { opacity: 0; }
.room__sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: linear-gradient(calc(110deg + var(--sx, 0) * 40deg), transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%); opacity: .7; }
.room.loupe-mode .room__art { cursor: none; }
.room__panel { position: relative; z-index: 2; padding: 28px var(--gutter) 48px; max-width: 640px; }
.room__ref { color: var(--amber); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin: 0 0 6px; }
.room__title { font-family: var(--serif); font-weight: 340; font-size: 32px; margin: 0 0 6px; }
.room__desc { color: var(--muted); margin: 0 0 16px; }
.room__palette { display: flex; gap: 6px; margin-bottom: 18px; }
.room__palette i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.spec--compact { margin-bottom: 20px; }
.room__actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.room__notice { font-size: 12.5px; color: var(--amber); margin: 12px 0 0; min-height: 1.2em; }
.room__close, .room__nav { position: fixed; z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(239,233,223,.25); background: rgba(12,11,16,.6); backdrop-filter: blur(10px); cursor: pointer; font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.room__close:hover, .room__nav:hover { background: rgba(239,233,223,.12); border-color: var(--text); }
.room__close { top: 14px; right: 14px; }
.room__nav { top: 30vh; }
.room__nav--prev { left: 10px; } .room__nav--next { right: 10px; }
@media (min-width: 1000px) {
  .room { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: 1fr; overflow: hidden; }
  .room__stage { padding: 40px 80px; min-height: 0; }
  .room__art img { max-width: calc(100vw - 380px - 180px); max-height: 84vh; }
  .room__panel { align-self: center; padding: 40px 48px 40px 8px; }
  .room__nav { top: 50%; translate: 0 -50%; }
  .room__nav--next { right: calc(380px + 10px); }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-pour { clip-path: none; }
  .reveal-pour img { transform: none; }
  .ambient i:nth-child(n) { animation: none; } /* :nth-child(n) matches the specificity of the drift rules above */
}
