/* prints by infinite art — gallery stylesheet
   Palette from the A3 catalogue: paper #F4EFE6 · sage #5D6B5B · butter #FCEFCD · charcoal ink.
   Motifs from the original site, refined: ghost words, vertical labels, spaced capitals, ink buttons. */

:root {
  --paper: #F4EFE6;
  --paper-2: #ECE5D8;
  --paper-3: #E2D9C8;
  --ghost: #E9E2D4;
  --mat: #FBF8F2;
  --ink: #22231F;
  --ink-2: #44453E;
  --muted: #75766C;
  --line: rgba(34, 35, 31, .14);
  --line-2: rgba(34, 35, 31, .07);
  --sage: #5D6B5B;
  --sage-2: #4A5648;
  --sage-3: #8E9B8A;
  --butter: #FCEFCD;
  --frame: #1C1D19;
  --shadow-art: 0 1px 1px rgba(34, 35, 31, .06), 0 10px 24px -10px rgba(34, 35, 31, .35), 0 30px 60px -30px rgba(34, 35, 31, .25);
  --shadow-soft: 0 18px 40px -24px rgba(34, 35, 31, .35);

  --f-sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --f-label: "Josefin Sans", "Futura", "Avenir Next", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", "Cormorant", "Baskerville", Georgia, serif;
  --f-mono: "Courier Prime", "Courier New", ui-monospace, monospace;

  --ease: cubic-bezier(.19, .71, .16, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1480px;
  --header-h: 76px;
  --section: clamp(88px, 12vw, 180px);
  color-scheme: light;
}

:root[data-theme="night"] {
  --paper: #1B1C19;
  --paper-2: #23241F;
  --paper-3: #2D2E28;
  --ghost: #24251F;
  --mat: #EFEADF;
  --ink: #EEE8DC;
  --ink-2: #D4CEC1;
  --muted: #9C9A8F;
  --line: rgba(238, 232, 220, .16);
  --line-2: rgba(238, 232, 220, .08);
  --sage: #93A38F;
  --sage-2: #AEBDAA;
  --sage-3: #6E7C6B;
  --frame: #0D0E0C;
  --shadow-art: 0 1px 1px rgba(0, 0, 0, .3), 0 12px 28px -10px rgba(0, 0, 0, .7), 0 34px 70px -30px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 300 1.0625rem/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* older Safari ignores clip: hidden stops any sideways scroll there */
  overflow-x: clip;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
html { max-width: 100%; }
/* photo protection: no dragging, no long-press save, no selection highlight on artwork */
img, canvas { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.framed, .room, .atelier__box, .hero__stage, .feature figure, .cat-grid figure, .frames-teaser figure, .lightbox { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
figure, blockquote, dl, dd { margin: 0; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--sage); color: var(--butter); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 300; }
p { margin: 0 0 1em; }
.visually-hidden { 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: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; font: 400 .75rem var(--f-label); letter-spacing: .2em; text-transform: uppercase; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 920px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper2 { background: var(--paper-2); }

/* ── type ─────────────────────────────────────────────────────────────── */
.eyebrow, .label {
  font: 400 .72rem/1.3 var(--f-label);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }
.display {
  font: 300 clamp(2.6rem, 6.4vw, 6.2rem)/.98 var(--f-serif);
  letter-spacing: -.012em;
  color: var(--ink);
}
.display em, .h2 em, .h3 em { font-style: italic; }
.h2 { font: 300 clamp(2.1rem, 4.4vw, 4rem)/1.02 var(--f-serif); letter-spacing: -.01em; }
.h3 { font: 400 clamp(1.5rem, 2.3vw, 2.05rem)/1.12 var(--f-serif); }
.lede { font: 300 clamp(1.12rem, 1.55vw, 1.38rem)/1.6 var(--f-sans); color: var(--ink-2); max-width: 38em; }
.mono, .code { font-family: var(--f-mono); font-weight: 400; letter-spacing: .02em; }
.muted { color: var(--muted); }
.serif-i { font-family: var(--f-serif); font-style: italic; }
.measure { max-width: 36em; }

/* ghost words — the giant pale lettering of the original site, now in italic serif */
.ghost {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font: italic 300 clamp(7rem, 24vw, 27rem)/.8 var(--f-serif);
  letter-spacing: -.03em;
  color: var(--ghost);
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0);
}
.ghost--tl { top: .05em; left: 0; }
.ghost--tr { top: .02em; right: 0; }
.ghost--br { bottom: -.12em; right: 0; }
.ghost { max-width: 100%; overflow: hidden; } /* decorative words never widen the page */
.section > *:not(.ghost):not(.vlabel):not(.float-preview) { position: relative; z-index: 1; }

/* vertical side label — "ABOUT", "LET'S GET STARTED" on the original site */
.vlabel {
  position: absolute;
  left: calc(var(--gutter) * .45);
  top: var(--section);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 400 .66rem var(--f-label);
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 1;
}
.vlabel::after { content: ""; width: 1px; height: 64px; background: var(--line); }
@media (max-width: 900px) { .vlabel { display: none; } }

/* ── buttons & links ──────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--paper); --hover: var(--sage);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  background: var(--bg);
  color: var(--fg);
  font: 400 .72rem/1 var(--f-label);
  letter-spacing: .26em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--bg);
  transition: color .45s var(--ease), border-color .45s var(--ease);
  white-space: nowrap;
  max-width: 100%;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--hover);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .6s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover { border-color: var(--hover); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --hover: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--paper); }
.btn--sage { --bg: var(--sage); --fg: var(--butter); --hover: var(--ink); }
.btn--butter { --bg: var(--butter); --fg: var(--sage-2); --hover: var(--paper); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .66rem; }
.btn[aria-pressed="true"] { --bg: var(--sage); --fg: var(--butter); }
:root[data-theme="night"] .btn--butter { --fg: #3E4A3C; }

.link {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 .72rem var(--f-label);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block: 6px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(1); }
.link .arr { transition: transform .5s var(--ease); }
.link:hover .arr { transform: translateX(5px); }
.text-link { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ── header ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-2);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--sage); width: 148px; flex: none; }
.brand svg { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav a:not(.btn) {
  position: relative;
  font: 400 .7rem/1 var(--f-label);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 0;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: .28em; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.shortlist-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 16px;
  border: 1px solid var(--line);
  font: 400 .66rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.shortlist-pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.shortlist-pill .count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: inline-grid; place-items: center;
  background: var(--sage); color: var(--butter);
  font: 400 .7rem/1 var(--f-mono); letter-spacing: 0;
}
.shortlist-pill .count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.icon-btn svg { width: 17px; height: 17px; }
.menu-btn { display: none; }
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .shortlist-pill .txt { display: none; }
  .shortlist-pill { padding: 0 10px; }
  .brand { width: 126px; }
}

/* full-screen menu (mobile) */
.menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--sage); color: var(--butter);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0); visibility: visible; }
.menu__close { position: absolute; top: 18px; right: var(--gutter); color: var(--butter); border-color: rgba(252, 239, 205, .35); }
.menu__close:hover { background: var(--butter); color: var(--sage-2); }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font: italic 300 clamp(2.6rem, 11vw, 4.4rem)/1.08 var(--f-serif); color: var(--butter); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .06s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .18s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .24s; }
.menu__foot { font: 300 .95rem/1.7 var(--f-sans); color: rgba(252, 239, 205, .85); }
.menu__foot a { color: var(--butter); }

/* ── frames: the gallery's core visual unit ───────────────────────────── */
.framed {
  --fw: 5px;          /* frame moulding */
  --mw: 7%;           /* mount, as a share of width */
  position: relative;
  background: var(--frame);
  padding: var(--fw);
  box-shadow: var(--shadow-art);
}
.framed__mat { background: var(--mat); padding: var(--mw); position: relative; }
.framed__mat::after { /* bevel shadow where mount meets print */
  content: ""; position: absolute; inset: var(--mw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 1px 1px 3px rgba(0, 0, 0, .14);
  pointer-events: none;
}
.framed img { width: 100%; height: auto; background: var(--paper-3); }
.framed--oak { background: linear-gradient(135deg, #B48E5F, #9C7546 45%, #B89569); }
.framed--white { background: #F6F4EE; box-shadow: var(--shadow-art), inset 0 0 0 1px rgba(0, 0, 0, .06); }
.framed--none { background: transparent; padding: 0; }
.framed--none .framed__mat { padding: 0; background: transparent; }
.framed--none .framed__mat::after { display: none; }

/* image fade-in */
.fade-img { opacity: 0; transition: opacity .9s var(--ease); }
.fade-img.is-loaded { opacity: 1; }

/* ── art cards (gallery grid) ─────────────────────────────────────────── */
.art-card { position: relative; display: block; color: inherit; }
.art-card .framed { --fw: 4px; --mw: 6.5%; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.art-card:hover .framed { transform: translateY(-6px); box-shadow: var(--shadow-art), 0 40px 60px -40px rgba(34, 35, 31, .4); }
.art-card .framed img { transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.art-card:hover .framed img { transform: scale(1.025); }
.art-card .framed__mat { overflow: hidden; }
.art-label { display: grid; gap: 2px; padding-top: 14px; }
.art-label__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; align-items: baseline; }
.art-label__top > * { white-space: nowrap; }
.vbadge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  padding: 4px 8px; background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink-2);
  font: 400 .58rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase;
  pointer-events: none; opacity: .92;
}
.art-label .code { font-size: .74rem; color: var(--sage); }
.art-label .max { font: 400 .66rem var(--f-label); letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.art-label .title { font: italic 400 1.18rem/1.2 var(--f-serif); color: var(--ink); }
.art-label .place { font: 300 .82rem/1.4 var(--f-sans); color: var(--muted); }
.add-btn {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .35);
  opacity: 0; transform: scale(.7);
  transition: opacity .4s var(--ease), transform .5s var(--ease), background .3s, color .3s;
}
.add-btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.art-card:hover .add-btn, .add-btn:focus-visible, .add-btn[aria-pressed="true"] { opacity: 1; transform: none; }
.add-btn[aria-pressed="true"] { background: var(--sage); color: var(--butter); }
.add-btn[aria-pressed="true"] svg { transform: rotate(45deg); }
@media (hover: none) { .add-btn { opacity: 1; transform: none; width: 34px; height: 34px; top: 8px; right: 8px; } }

/* justified grid */
.jgrid { display: flex; flex-wrap: wrap; gap: var(--jgap, 44px) var(--jgap-x, 34px); align-items: flex-start; }
.jgrid > .art-card { flex: 0 0 auto; width: var(--w, 280px); }
.jgrid:not(.is-laid) > .art-card { width: calc(25% - 26px); }
@media (max-width: 900px) { .jgrid:not(.is-laid) > .art-card { width: calc(50% - 17px); } }
.jgrid .art-card.is-hidden { display: none; }
.empty-state { padding: 80px 0; text-align: center; }
.empty-state[hidden] { display: none; }

/* ── filters ──────────────────────────────────────────────────────────── */
.filters {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-block: 1px solid var(--line-2);
  transition: top .6s var(--ease);
}
.site-header:not(.is-hidden) ~ main .filters { top: var(--header-h); }
.filters__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-block: 14px; }
.fgroup { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fgroup__name { font: 400 .62rem var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.chip {
  height: 32px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 16px;
  font: 400 .78rem/1 var(--f-sans); color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .sw { width: 10px; height: 10px; border-radius: 50%; }
.chip svg { width: 14px; height: 14px; flex: none; }
.select {
  height: 34px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: 17px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2375766C' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none; font: 400 .8rem var(--f-sans); color: var(--ink);
}
.search {
  height: 34px; min-width: 200px; flex: 1 1 200px; max-width: 320px;
  padding: 0 14px 0 36px; border: 1px solid var(--line); border-radius: 17px; background: transparent;
  font: 400 .85rem var(--f-sans);
}
.search-wrap { position: relative; flex: 1 1 220px; max-width: 320px; display: flex; }
.search-wrap svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 14px; height: 14px; color: var(--muted); }
.search-wrap .search { max-width: none; }
.filters__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-bottom: 12px; font: 400 .8rem var(--f-sans); color: var(--muted); }
.filters__meta > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.filters__meta .count { white-space: nowrap; }
.filters__toggle { white-space: nowrap; }
.filters__meta .count { font-family: var(--f-mono); color: var(--ink); }
.filters__toggle { display: none; }
@media (max-width: 900px) {
  .filters__toggle { display: inline-flex; }
  .filters__panel { display: none; width: 100%; }
  .filters.is-open .filters__panel { display: grid; gap: 14px; padding-bottom: 8px; }
  .search-wrap { max-width: none; }
}
@media (min-width: 901px) { .filters__panel { display: contents; } }

/* ── hero: real rooms, our frames ───────────────────────────────────── */
.hero { position: relative; height: 460vh; background: #1b1c19; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper-2); }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.4s var(--ease); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero.is-3d .hero__poster { opacity: 0; }
.hero__scrim { position: absolute; inset: auto 0 0 0; height: 58%; pointer-events: none; background: linear-gradient(transparent, rgba(16, 15, 12, .38) 45%, rgba(16, 15, 12, .72)); opacity: 0; }
.hero__intro {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--header-h) + 2vh) var(--gutter) 14vh;
  pointer-events: none; z-index: 2;
}
.hero__intro > * { pointer-events: auto; }
.hero:not(.is-3d) .hero__intro { background: radial-gradient(closest-side, rgba(244, 239, 230, .9), rgba(244, 239, 230, .55) 60%, transparent); }
.hero__mark { width: min(80vw, 640px, 88vh); color: var(--sage); position: relative; margin: clamp(14px, 3vh, 28px) 0 clamp(14px, 3vh, 26px); font-size: 0; }
.hero__mark .mk { width: 100%; height: auto; }
.hero__mark .mk--top { position: relative; clip-path: inset(0 100% 38% 0); animation: typeit 1.5s steps(6, end) .35s forwards; }
.hero__mark .mk--bot { position: absolute; inset: 0; clip-path: inset(62% 100% 0 0); animation: writeit 1.6s var(--ease-io) 1.85s forwards; }
@keyframes typeit { to { clip-path: inset(0 0 38% 0); } }
@keyframes writeit { to { clip-path: inset(62% 0 0 0); } }
.hero__lede { font: 300 clamp(1.06rem, 1.6vw, 1.32rem)/1.55 var(--f-sans); color: var(--ink-2); max-width: 30em; opacity: 0; animation: rise 1.2s var(--ease) 2.6s forwards; }
.hero__eyebrow { opacity: 0; animation: rise 1.2s var(--ease) .2s forwards; color: var(--ink-2); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__cue {
  margin-top: clamp(26px, 6vh, 64px);
  display: grid; justify-items: center; gap: 12px;
  font: 400 .62rem var(--f-label); letter-spacing: .4em; text-transform: uppercase; color: var(--ink-2);
  opacity: 0; animation: rise 1s var(--ease) 3.1s forwards;
}
.hero__cue i { display: block; position: relative; width: 1px; height: 54px; overflow: hidden; background: linear-gradient(rgba(70, 72, 64, .28), rgba(70, 72, 64, 0)); }
/* a soft bead gliding down a faint track: fades in and out at both ends, so it never snaps or blinks */
.hero__cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: linear-gradient(transparent, var(--ink-2) 60%, transparent); opacity: 0; transform: translate3d(0, -18px, 0); animation: cue 2.8s cubic-bezier(.45, 0, .25, 1) infinite; will-change: transform, opacity; }
@keyframes cue { 0% { transform: translate3d(0, -18px, 0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translate3d(0, 54px, 0); opacity: 0; } }
.hero__captions { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero__cap {
  position: absolute; left: var(--gutter); bottom: clamp(36px, 9vh, 96px); max-width: min(560px, 86vw);
  color: #F7F2E8; opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  text-shadow: 0 1px 18px rgba(0, 0, 0, .35);
}
.hero__cap.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero__cap .eyebrow { color: rgba(247, 242, 232, .82); }
.hero__cap .h2 { color: #F7F2E8; margin: 12px 0 12px; }
.hero__cap p:not(.h2) { margin: 0; color: rgba(247, 242, 232, .92); font-size: 1.05rem; max-width: 34em; }
.hero__cap p.h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.02; }
.hero__cap p.frameline { margin-top: 14px; font: 400 .64rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 242, 232, .75); }
.hero__cap .cta-row { margin-top: 22px; }
.hero__progress { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; display: grid; gap: 10px; z-index: 2; }
.hero__progress i { width: 2px; height: 26px; background: rgba(247, 242, 232, .3); position: relative; overflow: hidden; }
.hero__progress i::after { content: ""; position: absolute; inset: 0; background: #F7F2E8; transform: scaleY(var(--p, 0)); transform-origin: top; }
.hero.is-static { height: auto; }
.hero.is-static .hero__stage { position: relative; height: auto; min-height: 100svh; }
.hero.is-static .hero__intro { position: relative; min-height: 100svh; }
.hero.is-static .hero__captions, .hero.is-static .hero__progress, .hero.is-static .hero__canvas, .hero.is-static .hero__scrim { display: none; }
@media (max-width: 700px) {
  .hero { height: 420vh; }
  .hero__progress { display: none; }
  /* phones: the room's furniture sits where the caption goes, so the caption gets a deep band of shade to sit on */
  .hero__scrim { height: 66%; background: linear-gradient(transparent, rgba(16, 15, 12, .5) 30%, rgba(16, 15, 12, .86) 62%, rgba(16, 15, 12, .94)); }
  .hero.is-split .hero__scrim { display: none; } /* the shader draws its own caption band */
  .hero.is-split .hero__cap { top: var(--band-top); bottom: auto; }
  .hero__cap { bottom: max(28px, 5vh); right: var(--gutter); max-width: none; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
  .hero__cap .eyebrow { display: block; font-size: .6rem; letter-spacing: .24em; line-height: 1.6; }
  .hero__cap .eyebrow::before { display: none; }
  .hero__cap .h2 { margin: 8px 0 8px; }
  .hero__cap p.h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .hero__cap p:not(.h2) { font-size: .95rem; line-height: 1.5; }
  .hero__cap p.frameline { margin-top: 10px; font-size: .58rem; letter-spacing: .18em; line-height: 1.6; }
  .hero__cap .cta-row { margin-top: 16px; flex-wrap: nowrap; gap: 10px; }
  .hero__cap .cta-row .btn { padding-left: 16px; padding-right: 16px; letter-spacing: .2em; white-space: nowrap; }
  .hero__cap .cta-long { display: none; }
}

/* ── generic layout pieces ────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--gutter); align-items: start; }
.split > .a { grid-column: 1 / span 5; }
.split > .b { grid-column: 7 / span 6; }
@media (max-width: 900px) { .split > .a, .split > .b { grid-column: 1 / -1; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* statement */
.statement { overflow: hidden; }
.statement .display { max-width: 11em; }
.statement .tilt { display: inline-block; transform: rotate(-7deg) translateY(.05em); text-shadow: 0 .18em .35em rgba(34, 35, 31, .12); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.benefit { padding: 40px 34px 46px 0; border-bottom: 1px solid var(--line); position: relative; }
.benefit + .benefit { padding-left: 34px; border-left: 1px solid var(--line); }
.benefit:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.benefit .num { font: 400 .78rem var(--f-mono); color: var(--sage); }
.benefit h3 { font: 400 1.62rem/1.15 var(--f-serif); margin: 22px 0 12px; }
.benefit p { font-size: .98rem; color: var(--ink-2); margin: 0; max-width: 30em; }
.benefit .ico { width: 34px; height: 34px; color: var(--sage); position: absolute; top: 36px; right: 34px; }
.benefit:nth-child(3n) .ico { right: 0; }
@media (max-width: 1020px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3n + 1) { padding-left: 34px; border-left: 1px solid var(--line); }
  .benefit:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .benefit:nth-child(3n) .ico { right: 34px; }
  .benefit:nth-child(2n) .ico { right: 0; }
}
@media (max-width: 640px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 34px 0 38px; border-left: 0; }
  .benefit .ico { right: 0 !important; }
}

/* collections index (editorial list with floating preview) */
.cindex { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cindex li { border-bottom: 1px solid var(--line); }
.cindex a {
  display: grid; grid-template-columns: 64px 1fr auto auto; align-items: baseline; gap: 18px 28px;
  padding: 26px 0; color: var(--ink);
  transition: padding .6s var(--ease), color .4s;
}
.cindex .n { font: 400 .78rem var(--f-mono); color: var(--sage); }
.cindex .nm { font: 300 clamp(2rem, 4.6vw, 4.1rem)/1 var(--f-serif); transition: transform .7s var(--ease), font-style .3s; }
.cindex .sub { font: 300 .95rem var(--f-sans); color: var(--muted); }
.cindex .ct { font: 400 .7rem var(--f-label); letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }
.cindex a:hover { padding-left: 14px; }
.cindex a:hover .nm { font-style: italic; transform: translateX(10px); }
.cindex .thumb { display: none; }
@media (max-width: 760px) {
  .cindex a { grid-template-columns: 44px 1fr; }
  .cindex .sub { grid-column: 2; margin-top: -10px; }
  .cindex .ct { grid-column: 2; }
}
.float-preview {
  position: fixed; left: 0; top: 0; z-index: 30; width: 300px; pointer-events: none;
  opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg)) scale(.92);
  transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.float-preview.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg)) scale(1); }
.float-preview .framed { --fw: 4px; --mw: 6%; }
@media (hover: none), (max-width: 900px) { .float-preview { display: none; } }

/* collection cards (collections page / mobile) */
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 64px 44px; }
.ccard { display: grid; gap: 22px; color: var(--ink); }
.ccard__wall { aspect-ratio: 4 / 3; background: var(--paper-2); display: grid; place-items: center; padding: 9% 12%; position: relative; overflow: hidden; transition: background .6s var(--ease); }
.ccard__wall .framed { max-height: 100%; width: auto; transition: transform 1s var(--ease); }
.ccard__wall .framed img { max-height: 100%; width: auto; }
.ccard:hover .ccard__wall { background: var(--paper-3); }
.ccard:hover .ccard__wall .framed { transform: scale(1.04) rotate(-.6deg); }
.ccard h3 { font: 300 2.1rem/1.05 var(--f-serif); }
.ccard p { margin: 0; color: var(--muted); font-size: .95rem; }

/* series rail — horizontal walk pinned to vertical scroll */
.rail { position: relative; }
.rail__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.rail__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 5vh, 56px); }
.rail__track { display: flex; gap: clamp(40px, 6vw, 110px); padding-inline: var(--gutter); will-change: transform; transform: translate3d(var(--tx, 0px), 0, 0); }
.wallset { flex: 0 0 auto; display: grid; gap: 22px; color: var(--ink); }
.wallset__hang { height: clamp(210px, 34vh, 380px); display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); padding: 0 6px; }
.wallset__hang .framed { --fw: 4px; --mw: 7%; height: 100%; flex: 0 0 auto; transition: transform .9s var(--ease); }
.wallset__hang .framed .framed__mat { height: 100%; }
.wallset__hang .framed img { height: 100%; width: auto; }
.wallset:hover .wallset__hang .framed:nth-child(odd) { transform: translateY(-6px); }
.wallset:hover .wallset__hang .framed:nth-child(even) { transform: translateY(4px); }
.wallset__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.wallset__cap h3 { font: italic 400 1.6rem var(--f-serif); }
.wallset__cap span { font: 400 .68rem var(--f-label); letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }
.rail__bar { margin: clamp(28px, 5vh, 54px) var(--gutter) 0; height: 1px; background: var(--line); position: relative; }
.rail__bar i { position: absolute; inset: 0; background: var(--sage); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 900px) {
  .wallset__hang { height: clamp(190px, 30vh, 280px); }
  .wallset__cap { flex-direction: column; align-items: flex-start; gap: 4px; }
  .wallset__cap h3 { font-size: 1.35rem; }
  .wallset__hang { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rail { height: auto !important; }
  .rail__pin { position: relative; height: auto; padding-block: var(--section); }
  .rail__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 18px; -webkit-overflow-scrolling: touch; }
  .wallset { scroll-snap-align: start; }
  .wallset__hang { height: 220px; }
  .rail__bar { display: none; }
}

/* in the room */
.rooms { columns: 3 300px; column-gap: 28px; }
.room { break-inside: avoid; margin: 0 0 28px; position: relative; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.room img { width: 100%; transition: transform 1.6s var(--ease); }
.room:hover img { transform: scale(1.03); }
.room figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; background: #FBF8F2; color: #22231F; padding: 10px 14px; font: 300 .8rem/1.4 var(--f-sans); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.room figcaption b { font: italic 400 1rem var(--f-serif); }
.room:hover figcaption, .room:focus-within figcaption { opacity: 1; transform: none; }
/* touch screens: the piece in the middle of the screen gets what a mouse hover gives on desktop (site.js adds .is-focus) */
@media (hover: none) {
  .art-card.is-focus .framed { transform: translateY(-6px); box-shadow: var(--shadow-art), 0 40px 60px -40px rgba(34, 35, 31, .4); }
  .art-card.is-focus .framed img { transform: scale(1.025); }
  .ccard.is-focus .ccard__wall { background: var(--paper-3); }
  .ccard.is-focus .ccard__wall .framed { transform: scale(1.04) rotate(-.6deg); }
  .wallset.is-focus .wallset__hang .framed:nth-child(odd) { transform: translateY(-6px); }
  .wallset.is-focus .wallset__hang .framed:nth-child(even) { transform: translateY(4px); }
  .room.is-focus img, .frames-teaser figure.is-focus img { transform: scale(1.03); }
  .cindex a.is-focus { padding-left: 14px; }
  .cindex a.is-focus .nm { font-style: italic; transform: translateX(10px); }
}
@media (hover: none) { .room figcaption { opacity: 1; transform: none; position: static; background: transparent; color: var(--ink-2); padding: 10px 0 0; } }
.page-head .framed { width: fit-content; max-width: 100%; }
.page-head .framed img { max-height: min(62vh, 640px); width: auto; max-width: 100%; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--sage); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1.8s var(--ease); }
.steps.is-in::after { --p: 1; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--sage); color: var(--sage); font: 400 .74rem var(--f-mono); }
.section--paper2 .step::before { background: var(--paper-2); }
.step h3 { font: 400 1.5rem/1.15 var(--f-serif); margin-bottom: 10px; }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* studio band */
.band { background: var(--sage); color: var(--butter); position: relative; overflow: hidden; }
.band .h2, .band h2, .band h3 { color: var(--butter); }
.band p { color: rgba(252, 239, 205, .86); }
.band .eyebrow { color: rgba(252, 239, 205, .75); }
.band .ghost { color: rgba(252, 239, 205, .07); }
:root[data-theme="night"] .band { background: #2A3229; }

/* ── page heads ───────────────────────────────────────────────────────── */
.page-head { padding: calc(var(--header-h) + clamp(56px, 9vw, 130px)) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.page-head .display { margin: 18px 0 22px; max-width: 14em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 400 .66rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ── work page ────────────────────────────────────────────────────────── */
.work { padding-top: calc(var(--header-h) + 34px); }
.work__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: clamp(32px, 4.4vw, 80px); align-items: start; }
.work__stagecol { position: sticky; top: calc(var(--header-h) + 12px); }
.work__info { padding-block: 4px 40px; }
.work__code { display: flex; align-items: center; gap: 14px; font: 400 .85rem var(--f-mono); color: var(--sage); }
.work__code a { font: 400 .66rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.work__title { font: italic 300 clamp(2.4rem, 4.2vw, 4rem)/1 var(--f-serif); margin: 16px 0 10px; color: var(--ink); }
.work__place { font: 400 .72rem var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.work__desc { font: 300 1.1rem/1.65 var(--f-sans); margin: 22px 0 26px; color: var(--ink-2); }
.variants { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.variant { display: grid; gap: 8px; justify-items: center; width: 92px; text-align: center; }
.variant .framed { --fw: 3px; --mw: 6%; width: 100%; transition: transform .5s var(--ease), outline-color .3s; outline: 2px solid transparent; outline-offset: 4px; }
.variant .framed__mat { display: grid; place-items: center; aspect-ratio: 1; }
.variant .framed img { max-height: 100%; width: auto; max-width: 100%; }
.variant span { font: 400 .62rem/1.3 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.variant[aria-pressed="true"] .framed { outline-color: var(--sage); }
.variant[aria-pressed="true"] span { color: var(--ink); }
.work__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 30px; }
.work__actions .btn { width: 100%; }
.work__actions .wide { grid-column: 1 / -1; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.specs dt { font: 400 .64rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; font: 300 .98rem/1.5 var(--f-sans); color: var(--ink); }
.palette { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px;
  border: 1px solid var(--line); border-radius: 20px;
  font: 400 .74rem var(--f-mono); color: var(--ink-2);
  transition: border-color .3s;
}
.swatch i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.swatch:hover { border-color: var(--ink); }
.downloads { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
@media (max-width: 980px) {
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .work__stagecol { position: relative; top: 0; }
}
@media (max-width: 480px) {
  .specs > div { grid-template-columns: 1fr; gap: 6px; }
  .work__actions { grid-template-columns: 1fr; }
}

/* ── the frame atelier (stage + controls) ─────────────────────────────── */
.atelier__stage { display: grid; gap: 12px; }
.atelier__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 22px; padding: 3px; background: var(--paper); }
.seg button { height: 34px; padding: 0 16px; border-radius: 18px; font: 400 .66rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); transition: background .35s var(--ease), color .35s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.atelier__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.atelier__tools .link { font-size: .62rem; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font: 400 .62rem var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
.toggle input { accent-color: var(--sage); margin: 0; }
.atelier__box {
  position: relative; height: min(calc(100vh - var(--header-h) - 190px), 760px); min-height: 380px;
  display: grid; place-items: center; background: var(--paper-2); overflow: hidden;
  transition: background .6s var(--ease);
}
.is-room .atelier__box { background: #DCD5C8; }
:root[data-theme="night"] .is-room .atelier__box { background: #141512; }
.atelier__box canvas { display: block; opacity: 0; transition: opacity .6s var(--ease); touch-action: pan-y; outline: none; }
.atelier__box canvas.is-ready { opacity: 1; }
.atelier__box canvas.can-drag { cursor: grab; }
.atelier__box canvas.is-dragging { cursor: grabbing; }
.atelier__fallback { position: absolute; max-width: 70%; --fw: 6px; --mw: 7%; }
.atelier__fallback img { max-height: 58vh; width: auto; }
.atelier__note { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; background: rgba(251, 248, 242, .94); color: #22231F; font: 400 .84rem/1.45 var(--f-sans); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .4); }
.atelier__busy { position: absolute; top: 12px; right: 12px; padding: 6px 12px; background: rgba(251, 248, 242, .92); color: #22231F; font: 400 .6rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; }
.atelier__hint { position: absolute; left: 12px; top: 12px; padding: 5px 10px; background: rgba(28, 29, 25, .7); color: #F4EFE6; font: 400 .58rem var(--f-label); letter-spacing: .2em; text-transform: uppercase; opacity: 0; transition: opacity .4s; pointer-events: none; }
.is-room .atelier__hint { opacity: 1; }
.atelier__rooms { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.atelier__rooms button { display: grid; gap: 6px; text-align: left; }
.atelier__rooms img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .3s, transform .5s var(--ease), filter .4s; filter: saturate(.9); }
.atelier__rooms button:hover img { transform: translateY(-2px); filter: none; }
.atelier__rooms button[aria-pressed="true"] img { outline-color: var(--sage); filter: none; }
.atelier__rooms span { font: 400 .56rem/1.25 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.atelier__rooms button[aria-pressed="true"] span { color: var(--ink); }
@media (max-width: 1200px) { .atelier__rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .atelier__box { height: min(66vh, 620px); min-height: 0; }
  .atelier__rooms { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .atelier__rooms button { flex: 0 0 34%; scroll-snap-align: start; }
}

.cfg { display: grid; gap: 20px; padding: 22px 0 6px; border-top: 1px solid var(--line); }
.cfg__group { display: grid; gap: 10px; }
.cfg__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cfg__head b { font: 400 .62rem var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.cfg__head output, .cfg__head span { font: 400 .8rem var(--f-mono); color: var(--ink); text-align: right; }
.cfg__row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cfg__sub { font: 400 .58rem var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); width: 100%; margin-top: 2px; }
.cfg input[type="range"] { width: 100%; accent-color: var(--sage); }
.cfg .chip { height: 30px; font-size: .74rem; }
.cfg .chip:disabled { opacity: .35; pointer-events: none; }
.cfg__note { font: 300 .86rem/1.5 var(--f-sans); color: var(--muted); margin: 0; }
.fsw { /* frame finish swatch */
  width: 40px; height: 40px; border-radius: 50%; position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 3px 8px -4px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease); outline: 2px solid transparent; outline-offset: 3px;
}
.fsw:hover { transform: translateY(-2px); }
.fsw[aria-pressed="true"] { outline-color: var(--ink); }
.fsw--oak { background: repeating-linear-gradient(100deg, #d5b384 0 3px, #c49c68 3px 5px, #d9ba8d 5px 9px), #cda877; }
.fsw--teak { background: repeating-linear-gradient(100deg, #9a6438 0 3px, #84522c 3px 5px, #a46d40 5px 9px); }
.fsw--walnut { background: repeating-linear-gradient(100deg, #61412d 0 3px, #4d3322 3px 5px, #6a4832 5px 9px); }
.fsw--ebony { background: repeating-linear-gradient(100deg, #2a2825 0 3px, #1f1d1b 3px 5px, #302d29 5px 9px); }
.fsw--whitewash { background: repeating-linear-gradient(100deg, #efebe3 0 3px, #ddd5c6 3px 5px, #f3efe8 5px 9px); }
.fsw--gilt { background: radial-gradient(circle at 35% 30%, #f3d98c, #c39a4c 45%, #7e5c24 100%); }
.fsw--carved { background: radial-gradient(circle at 50% 50%, #c9a256 0 3px, transparent 4px) 0 0 / 10px 10px, #24211d; }
.fsw--heritage { background: repeating-linear-gradient(100deg, #7f5531 0 3px, #6b4426 3px 5px, #8a5d36 5px 9px); }
.fsw--brass { background: linear-gradient(135deg, #e6cf97, #b99a5c 45%, #f1dda9 60%, #a8874b); }
.fsw--blackmetal { background: linear-gradient(135deg, #4a4a4c, #262628 50%, #3c3c3e); }
.fsw--steel { background: linear-gradient(135deg, #e3e5e5, #a7aaab 45%, #f2f3f3 60%, #9a9d9e); }
.fsw--bronze { background: linear-gradient(135deg, #a07650, #6e4f33 50%, #94704b); }
.shp { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); transition: border-color .3s, background .3s, color .3s; }
.shp svg { width: 26px; height: 26px; }
.shp[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.msw { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); outline: 2px solid transparent; outline-offset: 3px; }
.msw[aria-pressed="true"] { outline-color: var(--ink); }
.msw:disabled { opacity: .35; }
.msw--white { background: #F6F3EC; } .msw--ivory { background: #EEE5D2; } .msw--black { background: #201F1D; }
.cfg__readout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px; background: var(--paper-2); }
.cfg__readout div { display: grid; gap: 4px; }
.cfg__readout span { font: 400 .58rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cfg__readout output { font: 400 .92rem var(--f-mono); color: var(--ink); }

/* home: frames teaser */
.frames-teaser { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.frames-teaser figure { margin: 0; cursor: zoom-in; position: relative; overflow: hidden; background: var(--paper-2); }
.frames-teaser figure:first-child { grid-row: span 2; }
.frames-teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frames-teaser figure:hover img { transform: scale(1.03); }
.frames-teaser figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; background: rgba(251, 248, 242, .92); color: #22231F; font: 400 .58rem var(--f-label); letter-spacing: .2em; text-transform: uppercase; }

/* ── frames page ──────────────────────────────────────────────────────── */
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 40px; }
.facts3 > div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.facts3 > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts3 b { display: block; font: 300 1.7rem/1.1 var(--f-serif); color: var(--ink); margin-bottom: 6px; }
.facts3 span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .facts3 { grid-template-columns: 1fr; } .facts3 > div + div { padding-left: 0; border-left: 0; } }
.picker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.picker button { width: 64px; height: 64px; padding: 4px; border: 1px solid var(--line); background: var(--paper); transition: border-color .3s, transform .4s var(--ease); }
.picker button img { width: 100%; height: 100%; object-fit: cover; }
.picker button[aria-pressed="true"] { border-color: var(--ink); outline: 1px solid var(--ink); }
.picker button:hover { transform: translateY(-2px); }
.finishes { display: grid; gap: 54px; }
.finish-group h3 { font: 300 2rem var(--f-serif); margin-bottom: 6px; }
.finish-group > p { color: var(--muted); max-width: 40em; margin-bottom: 22px; }
.finish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.finish-card { display: grid; gap: 12px; }
.finish-card canvas { width: 100%; aspect-ratio: 4 / 3; display: block; background: #E9E2D4; }
.finish-card b { font: italic 400 1.25rem var(--f-serif); color: var(--ink); }
.finish-card span { font: 400 .62rem var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.shape-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.shape-card { display: grid; gap: 10px; }
.shape-card canvas { width: 100%; aspect-ratio: 4 / 5; display: block; background: var(--paper-2); }
.shape-card b { font: italic 400 1.2rem var(--f-serif); color: var(--ink); }
.shape-card span { font-size: .88rem; color: var(--muted); }
.cat-grid { columns: 3 300px; column-gap: 26px; }
.cat-grid figure { break-inside: avoid; margin: 0 0 26px; cursor: zoom-in; }
.cat-grid img { width: 100%; background: var(--paper-2); }
.cat-grid figcaption { padding-top: 10px; font: 300 .9rem/1.45 var(--f-sans); color: var(--ink-2); }
.cat-grid figcaption b { display: block; font: italic 400 1.15rem var(--f-serif); color: var(--ink); }
.cat-grid figcaption .mono { font-size: .78rem; color: var(--sage); }
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px var(--gutter); align-items: center; }
.feature__img { grid-column: 1 / span 7; cursor: zoom-in; }
.feature__img img { width: 100%; }
.feature__txt { grid-column: 9 / span 4; }
.feature figure { margin: 0; cursor: zoom-in; }
.feature figure img { width: 100%; }
.feature figcaption { padding-top: 10px; font: 300 .9rem/1.45 var(--f-sans); color: var(--ink-2); }
.feature figcaption b { display: block; font: italic 400 1.15rem var(--f-serif); color: var(--ink); }
.feature figcaption .mono, .cat-grid figcaption .mono { display: block; margin-top: 4px; font-size: .76rem; color: var(--sage); }
.feature__txt figure { margin-top: 22px; }
.feature--flip .feature__img { grid-column: 6 / span 7; order: 2; }
.feature--flip .feature__txt { grid-column: 1 / span 4; order: 1; }
@media (max-width: 900px) { .feature__img, .feature__txt, .feature--flip .feature__img, .feature--flip .feature__txt { grid-column: 1 / -1; order: initial; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(20, 21, 18, .96); display: none; touch-action: none; }
.lightbox.is-open { display: block; animation: lbin .5s var(--ease); }
@keyframes lbin { from { opacity: 0; } }
.lightbox img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; cursor: grab; }
.lightbox__bar { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); color: #EEE8DC; font: 400 .66rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; z-index: 2; background: linear-gradient(rgba(20, 21, 18, .7), transparent); }
.lightbox__bar .icon-btn { color: #EEE8DC; border-color: rgba(238, 232, 220, .3); }
.lightbox__bar .icon-btn:hover { background: #EEE8DC; color: #1B1C19; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 160; translate: -50% 0; background: var(--ink); color: var(--paper); padding: 13px 20px; display: flex; align-items: center; gap: 14px; font: 400 .85rem var(--f-sans); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s var(--ease), transform .6s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast a { color: var(--butter); font: 400 .66rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

/* custom cursor (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink); transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0); transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s; display: grid; place-items: center; mix-blend-mode: normal; }
.cursor span { font: 400 .58rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .3s; }
.cursor.is-view { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--sage); }
.cursor.is-view span { opacity: 1; color: var(--butter); }
.cursor.is-link { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: transparent; border: 1px solid var(--ink); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ── shortlist page ───────────────────────────────────────────────────── */
.sl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.sl-project { display: block; font: italic 300 clamp(2.2rem, 5vw, 4rem)/1.05 var(--f-serif); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 4px 0; width: min(100%, 720px); }
.sl-project::placeholder { color: var(--muted); opacity: .6; }
.sl-project:focus { outline: none; border-bottom-color: var(--sage); }
.sl-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 26px; }
.field { display: grid; gap: 6px; }
.field span { font: 400 .6rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { height: 40px; padding: 0 12px; border: 1px solid var(--line); background: var(--paper); font: 300 .92rem var(--f-sans); border-radius: 0; }
.field textarea { height: auto; min-height: 40px; padding: 9px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); }
.sl-list { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.sl-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sl-item .framed { --fw: 3px; --mw: 6%; }
.sl-item h3 { font: italic 400 1.5rem/1.15 var(--f-serif); }
.sl-item .code { font-size: .8rem; color: var(--sage); }
.sl-item .opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.sl-item .opts .field.note { grid-column: 1 / -1; }
.sl-item .side { display: grid; gap: 8px; justify-items: end; }
.sl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.sl-share { margin-top: 18px; display: flex; gap: 8px; align-items: center; }
.sl-share input { flex: 1; height: 40px; border: 1px solid var(--line); background: var(--paper); padding: 0 12px; font: 400 .8rem var(--f-mono); }
.banner { padding: 16px 20px; background: var(--butter); color: #3E4A3C; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 26px; }
@media (max-width: 720px) {
  .sl-item { grid-template-columns: 96px minmax(0, 1fr); }
  .sl-item .side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
}

/* ── content pages ────────────────────────────────────────────────────── */
.prose { font-size: 1.06rem; }
.prose h2 { font: 300 clamp(1.9rem, 3.4vw, 2.8rem)/1.08 var(--f-serif); margin: 2.4em 0 .6em; }
.prose h3 { font: 400 1.45rem/1.2 var(--f-serif); margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .4em; }
.factlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.fact b { display: block; font: 300 3rem/1 var(--f-serif); color: var(--ink); margin-bottom: 8px; }
.fact span { font: 400 .66rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 1.3rem/1.3 var(--f-serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; max-width: 46em; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 400 .62rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.contact-card { padding: 30px 26px 34px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.contact-card h3 { font: 400 1.5rem var(--f-serif); }
.contact-card a { color: var(--ink); }

/* ── footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--sage-2); color: rgba(252, 239, 205, .86); position: relative; overflow: hidden; padding: clamp(70px, 9vw, 130px) 0 34px; }
:root[data-theme="night"] .site-footer { background: #1F241E; }
.site-footer .ghost { color: rgba(252, 239, 205, .06); bottom: -.18em; right: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.foot-brand { width: 210px; color: var(--butter); margin-bottom: 22px; }
.foot-grid h4 { font: 400 .62rem var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: rgba(252, 239, 205, .62); margin-bottom: 16px; }
.foot-grid a { color: var(--butter); }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-grid p, .foot-grid li { font-size: .95rem; line-height: 1.75; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: clamp(56px, 8vw, 110px); padding-top: 22px; border-top: 1px solid rgba(252, 239, 205, .18); font-size: .8rem; position: relative; z-index: 1; }
.foot-ia { display: inline-flex; align-items: center; gap: 12px; color: var(--butter); }
.foot-ia svg { width: 34px; height: 34px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── reveal on scroll ─────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; clip-path: none; }
html:not(.js) .split-line > span { transform: none; }

/* page transitions (cross-document view transitions, progressive) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
::view-transition-group(*) { animation-duration: .7s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100svh; }
  .ghost { transform: none !important; }
  .hero__mark .mk--top, .hero__mark .mk--bot { clip-path: none; }
  .hero__lede, .hero__eyebrow, .hero__cue { opacity: 1; }
}

/* ── print: spec sheets ───────────────────────────────────────────────── */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  :root { --paper: #fff; --paper-2: #fff; --ink: #111; --ink-2: #222; --muted: #555; --line: #ccc; }
  body { background: #fff; font-size: 10.5pt; }
  .site-header, .site-footer, .cursor, .toast, .no-print, .filters, .lightbox, .menu, .add-btn { display: none !important; }
  .print-only { display: block; }
  .work { padding-top: 0; }
  .work__grid { grid-template-columns: 1fr 1fr; gap: 10mm; }
  .work__stagecol { position: static; }
  .atelier__box { height: 110mm; min-height: 0; background: #f4efe6 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .atelier__box canvas { max-height: 106mm; width: auto !important; height: auto !important; max-width: 100%; }
  .atelier__bar, .atelier__rooms, .atelier__tools, .atelier__note, .atelier__hint, .cfg__group, .cfg__note { display: none !important; }
  .cfg { border: 0; padding: 0; }
  .work__title { font-size: 28pt; }
  .swatch i, .framed, .framed__mat { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sl-item { break-inside: avoid; grid-template-columns: 38mm 1fr; }
  .sl-item .side { display: none; }
  .sl-item input, .sl-item select, .sl-item textarea { border: 0; padding: 0; height: auto; appearance: none; background: none; }
  .print-head { display: flex !important; justify-content: space-between; align-items: center; border-bottom: 1px solid #ccc; padding-bottom: 4mm; margin-bottom: 6mm; }
  .print-head svg { width: 46mm; color: #5D6B5B; }
  a[href^="http"]::after { content: ""; }
  *:focus, *:focus-visible { outline: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ── small phones ─────────────────────────────────────────────────────── */
.atelier__tools { min-width: 0; }
.cta-row > * { max-width: 100%; }
.feature__txt .btn, .work__info .btn, .cta-row .btn { white-space: normal; text-align: center; line-height: 1.35; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.35; padding-block: 12px; }
  .atelier__bar { gap: 8px; }
  .atelier__tools { gap: 4px 12px; }
}
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .brand { width: 104px; }
  .header-tools { gap: 6px; }
  .icon-btn { width: 36px; height: 36px; }
  .shortlist-pill { height: 36px; padding: 0 8px; }
  .seg button { padding: 0 12px; }
}
