/* Tiệm Minimalist — light, wood, moss. v2 */
:root {
  --paper: #F5F4F0;
  --white: #FFFFFF;
  --sand: #ECE8E1;
  --ink: #211D18;
  --ink-2: #5C554C;
  --walnut: #6B4329;
  --walnut-d: #3F2718;
  --oak: #C9A57B;
  --oak-l: #E7D6BF;
  --moss: #5D6947;
  --moss-d: #454E32;
  --moss-l: #E2E5D7;

  --display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;

  --m: clamp(16px, 2.4vw, 36px);
  --gap: clamp(120px, 13vw, 220px);
  --t-hero: clamp(76px, 12vw, 220px);
  --t-h2: clamp(56px, 8vw, 150px);
  --t-body: clamp(16px, 1.1vw, 18px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 250; background-image: var(--grain, none); background-size: 180px; opacity: .035; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--oak-l); color: var(--ink); }
:focus-visible { outline: 3px solid var(--walnut); outline-offset: 3px; }
.wrap { padding-inline: var(--m); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 400; background: var(--ink); color: var(--paper); padding: 12px 18px; }
.skip:focus { left: var(--m); }

/* type roles */
.h2, .doors__title, .finale__title, .hero__title { font-family: var(--display); font-weight: 850; text-transform: uppercase; letter-spacing: -.005em; line-height: .9; }
.h2 { font-size: var(--t-h2); max-width: 14ch; padding-top: .06em; }
.h2 em, .doors__title em, .finale__title em, .hero__l2 {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none;
  letter-spacing: -.02em; line-height: 1.02; font-size: .62em; color: var(--walnut); margin-top: .1em;
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; position: relative; overflow: hidden; transition: transform .4s var(--ease), color .3s; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.97); }
.btn--wood { background: var(--walnut); color: var(--paper); }
.btn--wood::before { background: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--walnut); }
.btn--paper { background: var(--paper); color: var(--walnut-d); }
.btn--paper::before { background: var(--oak); }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: transparent; transition: text-decoration-color .3s; }
.link:hover { text-decoration-color: currentColor; }

/* loader */
.loader { display: none; }
.js:not(.rm) .loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--walnut-d) url(../assets/textures/wood-door.jpg) center / cover; color: var(--paper);
  animation: loaderOut .8s 5s forwards;
}
.js:not(.rm) .loader::before { content: ""; position: absolute; inset: 0; background: rgba(40, 24, 14, .55); }
.loader > * { position: relative; }
.loader__house { width: 120px; height: 120px; fill: none; stroke: var(--paper); stroke-width: 3; stroke-linejoin: round; }
.loader__line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.4s var(--ease) .2s forwards; }
.loader__line + .loader__line { animation-delay: .7s; }
.loader__name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; letter-spacing: .02em; }
.loader__count { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px; color: var(--oak-l); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 260; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); pointer-events: none; display: none; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s; }
.has-cursor .cursor { display: grid; }
.cursor.is-big { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--walnut); }
.cursor__label { color: var(--paper); font: 600 13px var(--sans); opacity: 0; transition: opacity .2s; }
.cursor.is-big .cursor__label { opacity: 1; }

/* header */
.bar { position: fixed; inset: 0 0 auto; z-index: 80; height: 78px; display: flex; align-items: center; gap: 28px; padding-inline: var(--m); transition: background-color .4s, transform .6s var(--ease); }
.bar.is-solid { background: var(--paper); }
.bar.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: .01em; }
.bar__nav { display: flex; gap: 28px; }
.bar__nav a { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.bar__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
/* no transform transition here: GSAP animates the bar's children on load, and a CSS transition on the same property leaves the button stuck mid-slide */
.bar__cta { min-height: 46px; padding: 0 22px; font-size: 15px; white-space: nowrap; transition: color .3s; }
.bar__menu { display: none; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; font: 600 15px var(--sans); min-height: 46px; padding: 0 22px; }
.menu { position: fixed; inset: 0; z-index: 79; background: var(--paper); padding: 110px var(--m) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a { font-family: var(--display); font-weight: 850; text-transform: uppercase; font-size: 56px; line-height: 1; text-decoration: none; }

/* HERO */
.hero { height: 190vh; position: relative; }
.hero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero__frame { position: absolute; right: var(--m); top: 96px; bottom: 76px; width: 45vw; }
.hero__fallback { width: 100%; height: 100%; object-fit: cover; transition: opacity 1s; }
.gl-on .hero__fallback { opacity: 0; }
.hero__cap { position: absolute; left: 0; right: 0; bottom: -42px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-2); }
.hero__copy { position: absolute; left: var(--m); bottom: clamp(28px, 4vw, 60px); width: min(50vw, 820px); display: grid; gap: 30px; z-index: 3; }
.hero__title { font-size: var(--t-hero); }
.hero__title span { display: block; }
.hero__l2 { font-size: .6em; }
.hero__lede { font-size: clamp(17px, 1.25vw, 20px); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* DOORS */
.doors { height: 250vh; position: relative; }
.doors__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1800px; background: var(--ink); }
.doors__room { position: absolute; inset: 0; }
.doors__room img { width: 100%; height: 100%; object-fit: cover; }
.doors__leaf { position: absolute; top: 0; bottom: 0; width: 50.1%; z-index: 3; background: var(--walnut) url(../assets/textures/wood-door.jpg) center / cover; backface-visibility: hidden; }
.doors__leaf--l { left: 0; transform-origin: 0 50%; }
.doors__leaf--r { right: 0; transform-origin: 100% 50%; background-position: right center; }
.doors__leaf::after { content: ""; position: absolute; inset: 0; background: rgba(40, 24, 14, .18); }
.doors__handle { position: absolute; z-index: 1; top: 42%; width: 12px; height: 18%; background: #D9BE97; border-radius: 6px; }
.doors__leaf--l .doors__handle { right: 32px; }
.doors__leaf--r .doors__handle { left: 32px; }
.doors__copy { position: absolute; left: var(--m); bottom: var(--m); z-index: 4; background: var(--paper); padding: clamp(24px, 3vw, 48px); max-width: min(720px, calc(100vw - 2 * var(--m))); display: grid; gap: 22px; }
.doors__title { font-size: clamp(56px, 7vw, 130px); }
.doors__title span { display: block; }
.doors__copy p { max-width: 44ch; font-size: clamp(16px, 1.2vw, 19px); }

/* WALK-IN: scroll scrubs a walk through the front door */
.walk { height: 420vh; position: relative; }
.hero.walk { height: calc(var(--dur, 18) * 34vh + 100vh); }
.walk [data-show] { opacity: 0; }
.walk__ch { position: absolute; right: var(--m); top: 104px; z-index: 3; display: grid; justify-items: end; gap: 6px; color: var(--paper); text-align: right; text-shadow: 0 1px 24px rgba(28, 17, 9, .35); }
.walk__ch em { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(56px, 5vw, 96px); line-height: .8; letter-spacing: -.03em; }
.walk__ch small { font-size: .32em; margin-left: .2em; letter-spacing: 0; }
.walk__ch span { font-family: var(--display); font-weight: 850; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 46px); line-height: 1; }
/* set straight on the picture like the opening line: no panel, a soft shadow for the bright sunset sky */
.walk__end { position: absolute; left: var(--m); bottom: calc(var(--m) + 8px); z-index: 3; display: grid; gap: 22px; justify-items: start; max-width: min(760px, calc(100vw - 2 * var(--m))); color: #fff; text-shadow: 0 1px 2px rgba(20, 12, 6, .5), 0 2px 14px rgba(20, 12, 6, .45), 0 0 48px rgba(20, 12, 6, .4); }
.walk__end .btn { text-shadow: none; }
.walk__endT { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 84px); line-height: .92; padding-top: .06em; }
.walk__endT em { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; color: #F4E7D4; font-size: .6em; line-height: 1.05; margin-top: .12em; }
.walk__end, .walk__tag, .walk__copy { pointer-events: none; }
.walk .is-on { pointer-events: auto; }
.hero__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(28, 17, 9, .72) 0%, rgba(28, 17, 9, .28) 38%, rgba(28, 17, 9, 0) 62%), linear-gradient(to bottom, rgba(28, 17, 9, .35), rgba(28, 17, 9, 0) 18%); }
.hero.walk .hero__copy { position: absolute; left: var(--m); right: var(--m); bottom: clamp(28px, 4vw, 56px); width: auto; z-index: 3; display: flex; justify-content: space-between; align-items: end; gap: 40px; color: var(--paper); }
.hero.walk .hero__title { font-size: clamp(76px, 11vw, 210px); }
.hero.walk .hero__l2 { color: var(--oak-l); }
.hero__side { display: grid; gap: 24px; width: min(420px, 34vw); padding-bottom: .6vw; }
.hero.walk .hero__lede { font-size: clamp(16px, 1.15vw, 19px); }
.hero.walk .link { color: var(--paper); }
.hero__scroll { position: absolute; left: 50%; top: calc(100svh - 150px); translate: -50% 0; z-index: 3; display: none; }
.hero__scroll span { display: block; width: 2px; height: 46px; margin: 0 auto 10px; background: linear-gradient(var(--paper), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: 50% 0; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.bar.is-over { color: var(--paper); }
.bar.is-over .bar__cta { background: var(--paper); color: var(--ink); }
@media (max-width: 1080px) {
  .hero.walk .hero__copy { flex-direction: column; align-items: start; gap: 22px; }
  .hero__side { width: min(520px, 100%); }
}
@media (max-width: 760px) {
  .hero.walk { height: 420vh; }
  .hero.walk .hero__title { font-size: clamp(54px, 15vw, 88px); }
  .hero.walk .hero__lede { font-size: 15px; }
  .hero__side { gap: 16px; }
}
.walk__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--walnut-d); }
.walk__cv, .walk__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.walk__cv { z-index: 1; }
.walk.is-ready .walk__poster { visibility: hidden; }
/* set straight on the picture, no panel: a soft shadow keeps it legible on the pale walls */
.walk__copy { position: absolute; left: var(--m); bottom: calc(var(--m) + 8px); z-index: 3; max-width: min(760px, calc(100vw - 2 * var(--m))); display: grid; gap: 20px; color: #fff; text-shadow: 0 1px 2px rgba(20, 12, 6, .5), 0 2px 14px rgba(20, 12, 6, .45), 0 0 48px rgba(20, 12, 6, .4); }
.walk__copy .doors__title em { color: #F4E7D4; }
.walk__copy p { max-width: 44ch; font-size: clamp(16px, 1.2vw, 19px); font-weight: 500; }
.walk__step { position: absolute; right: var(--m); top: 100px; z-index: 3; background: var(--paper); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.walk__step em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--walnut); margin-right: 6px; }
.walk__tag { position: absolute; left: var(--x); top: var(--y); z-index: 3; display: flex; align-items: center; gap: 10px; text-decoration: none; opacity: 0; pointer-events: none; }
.walk__tag.is-on { pointer-events: auto; }
.walk__tag i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 6px rgba(245, 244, 240, .35); animation: pulse 1.8s infinite; }
.walk__tag span { background: var(--paper); padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.walk__tag em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--walnut); }
.walk__tag--r { flex-direction: row-reverse; translate: -100% 0; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(245, 244, 240, 0); } }
.walk__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 4; background: rgba(245, 244, 240, .3); }
.walk__bar span { display: block; height: 100%; background: var(--oak); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 760px) {
  .walk { height: 340vh; }
  .walk__copy { gap: 12px; }
  .walk__step { top: 76px; }
  .walk__tag span { font-size: 13px; padding: 9px 14px; }
  .walk__tag { --x: 6% !important; }
  .walk__tag--r { --x: 94% !important; }
}
@media (prefers-reduced-motion: reduce) {
  .walk { height: auto; }
  .walk__stage { position: relative; }
  .walk__cv, .walk__tag, .walk__bar { display: none; }
}
/* ===== type v3 ===== */
/* Bricolage Grotesque (expressive grotesque) for headlines, Fraunces italic for the soft accents.
   Headlines are sentence case: stacked capitals with Vietnamese tone marks collided with the line above. */
.h2, .doors__title, .finale__title, .hero__title, .menu nav a, .walk__ch span, .walk__endT, .card__name, .mq-word, .row h3, .ask__title, .cfg__range output {
  font-family: var(--display); text-transform: none; font-stretch: 90%; font-weight: 700; letter-spacing: -.018em; font-optical-sizing: auto;
}
.brand__name, .loader__name, .foot__word { font-family: var(--display); font-stretch: 78%; font-weight: 800; letter-spacing: -.02em; }
.h2, .doors__title, .finale__title, .ask__title { line-height: 1.02; padding-top: .1em; }
.hero__title, .hero.walk .hero__title { line-height: 1.0; padding-top: .08em; }
.walk__endT { line-height: 1.04; padding-top: .1em; }
.row h3 { line-height: 1.08; padding-top: .1em; }
.mq-word { line-height: 1.12; padding-top: .1em; }
.card__name { font-size: clamp(64px, 10vw, 200px); line-height: 1.0; max-width: 15ch; padding-top: .1em; letter-spacing: -.025em; }
.h2 em, .doors__title em, .finale__title em, .hero__l2, .walk__endT em, .ask__title em { font-weight: 300; letter-spacing: -.025em; line-height: 1.08; }
.walk__ch span { font-size: clamp(26px, 2.3vw, 42px); line-height: 1.1; letter-spacing: -.012em; }
.foot__word { font-size: 17vw; line-height: .9; }
.cfg__range output { font-size: 32px; font-weight: 700; }

/* tags on the walk-through: plain upright text on the picture, no white pill */
.walk__tag { gap: 12px; }
.walk__tag span { background: none; padding: 0 0 5px; border-radius: 0; color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .01em; border-bottom: 1px solid rgba(255, 255, 255, .85); text-shadow: 0 0 3px rgba(20, 12, 6, .6), 0 1px 3px rgba(20, 12, 6, .55), 0 0 22px rgba(20, 12, 6, .55); }
.walk__tag em { font-family: var(--sans); font-style: normal; font-weight: 500; color: inherit; opacity: .9; }

/* configurator drawing sits straight on the page, no white panel */
/* no orphans: headings break into evenly filled lines, never one stray word on its own line */
.h2, .doors__title, .finale__title, .ask__title, .walk__endT, .hero__title, .card__name, .tunnel__copy .h2, .approach__text, .card__list li { text-wrap: balance; }
p, li, .lede { text-wrap: pretty; }
/* SHOP: two-level filters, load-more, photo viewer */
.filters[hidden], .shop__more[hidden], .lb__nav[hidden] { display: none; }
#filters { margin-bottom: 14px; }
.filters--sub { margin: 0; }
.filters--sub button { min-height: 38px; padding: 0 16px; font-size: 14px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--sand); }
.filters--sub button[aria-pressed="true"] { background: var(--walnut); color: var(--paper); box-shadow: none; }
.shop .grid { margin-top: clamp(24px, 3vw, 40px); }
button.item__pic { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); cursor: zoom-in; }
button.item__pic:focus-visible { outline: 3px solid var(--walnut); outline-offset: 3px; }
.item__n { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: rgba(28, 17, 9, .62); color: #fff; font: 600 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; }
.item.is-new { animation: itemIn .6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes itemIn { from { opacity: 0; transform: translateY(18px); } }
.item__err { grid-column: 1 / -1; padding: 40px 0; font-family: var(--serif); font-style: italic; }
.shop__more { display: grid; justify-items: center; gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.shop__more p { font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.lb { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; color: #fff; }
.lb[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: 12px; padding: 24px 20px 20px; }
.lb::backdrop { background: rgba(20, 12, 6, .9); }
.lb__fig { margin: 0; grid-column: 2; grid-row: 1; display: grid; gap: 12px; justify-items: center; max-height: 100%; min-height: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 4px; background: var(--sand); }
.lb__fig figcaption { display: flex; gap: 20px; font-size: 15px; opacity: .85; }
.lb__nav { grid-row: 1; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: 300 32px/1 var(--sans); cursor: pointer; transition: background-color .25s; }
.lb__nav:hover { background: rgba(255, 255, 255, .28); }
.lb__nav--p { grid-column: 1; } .lb__nav--n { grid-column: 3; }
.lb__x { position: absolute; top: 12px; right: 16px; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: 300 34px/1 var(--sans); cursor: pointer; }
.lb__ask { grid-column: 1 / -1; grid-row: 2; }
.lb button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .lb[open] { grid-template-columns: minmax(0, 1fr); padding: 60px 10px 14px; }
  .lb__fig { grid-column: 1; }
  .lb__nav { position: absolute; top: 45%; width: 44px; height: 44px; z-index: 2; background: rgba(20, 12, 6, .5); }
  .lb__nav--p { left: 8px; } .lb__nav--n { right: 8px; }
  .lb__ask { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .item.is-new { animation: none; } }

/* ===== below the hero: a tidier, catalogue-like arrangement, in the Tiệm palette and type ===== */
.wrapc { width: min(1280px, 100% - 2 * var(--m)); margin-inline: auto; }
.kicker { font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--walnut); }
main .h2 { font-size: clamp(38px, 4.2vw, 76px); max-width: 18ch; }
main .h2 em { font-size: .66em; }
.h2--c { margin-inline: auto; text-align: center; }
.sec-head, .shop__head { display: grid; justify-items: center; text-align: center; gap: 16px; margin-bottom: clamp(36px, 4vw, 64px); }
.sec-head > p:not(.kicker), .shop__head > p:not(.kicker) { max-width: 52ch; font-size: clamp(16px, 1.2vw, 19px); color: var(--ink-2); }
.on-dark .h2 em, .svc .h2 em, .about .h2 em { color: var(--oak-l); }

/* SERVICES: dark field, words left, four picture tiles right */
.svc { display: grid; grid-template-columns: minmax(320px, 1fr) 2.2fr; background: var(--walnut-d); color: var(--paper); }
.svc__text { align-self: center; display: grid; gap: 24px; justify-items: start; padding: clamp(48px, 6vw, 110px) clamp(24px, 4vw, 72px); }
.svc__text > p { font-size: clamp(16px, 1.15vw, 19px); max-width: 40ch; }
.svc__list { display: grid; gap: 10px; font-size: 16px; }
.svc__list li { display: flex; gap: 12px; }
.svc__list li::before { content: ""; flex: none; width: 14px; height: 1.5px; margin-top: .8em; background: var(--oak); }
.svc__tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: grid; place-items: center; min-height: clamp(200px, 20vw, 340px); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(28, 17, 9, .34); transition: background-color .5s; }
.tile span { display: grid; gap: 6px; font-family: var(--display); font-stretch: 90%; font-weight: 700; letter-spacing: -.015em; font-size: clamp(22px, 1.9vw, 34px); line-height: 1.1; text-align: center; padding: 0 16px; text-shadow: 0 2px 24px rgba(20, 12, 6, .45); }
.tile small { font: 500 14px/1.3 var(--sans); letter-spacing: 0; opacity: .92; }
.tile small:empty { display: none; }
.tile--custom::after { background: rgba(63, 39, 24, .62); }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { background: rgba(28, 17, 9, .5); }

/* COLLECTIONS: four rooms in a row */
.coll { padding-block: var(--gap2); }
.coll .h2 { margin-bottom: clamp(36px, 4vw, 64px); }
.coll__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.concept { display: grid; gap: 6px; text-decoration: none; }
.concept__pic { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); margin-bottom: 10px; }
.concept__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.concept:hover .concept__pic img { transform: scale(1.05); }
.concept b { font-family: var(--display); font-stretch: 90%; font-weight: 700; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.15; letter-spacing: -.015em; }
.concept small { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-2); }

/* ABOUT: dark field, big picture left */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--walnut-d); color: var(--paper); }
.about__pic { position: relative; min-height: clamp(460px, 52vw, 860px); overflow: hidden; }
.about__pic img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.about__text { align-self: center; display: grid; gap: 22px; justify-items: start; padding: clamp(48px, 6vw, 110px) clamp(24px, 5vw, 96px); }
.about__text > p { font-size: clamp(16px, 1.15vw, 19px); max-width: 46ch; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 20px clamp(20px, 3vw, 48px); padding-block: 12px 8px; }
.stats div { display: grid; gap: 4px; }
.stats dd { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(48px, 4.4vw, 80px); line-height: .95; letter-spacing: -.03em; color: var(--oak); }
.stats dt { font-size: 14px; max-width: 18ch; color: var(--oak-l); }

/* SHOP: framed product cards */
.shop { padding-block: var(--gap2); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 12px; }
.filters button { all: unset; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; border-radius: 999px; background: var(--sand); font-weight: 500; transition: background-color .25s, color .25s; }
.filters button sup { font-family: var(--serif); font-style: italic; font-size: 14px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filters button:focus-visible { outline: 3px solid var(--walnut); outline-offset: 2px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.shop .grid { margin-top: clamp(28px, 3vw, 44px); }
.item { display: grid; gap: 10px; align-content: start; background: var(--white); padding: 10px 10px 14px; box-shadow: 0 0 0 1px rgba(33, 29, 24, .08); transition: box-shadow .35s; }
.item:hover { box-shadow: 0 0 0 1px rgba(33, 29, 24, .14), 0 18px 40px -24px rgba(33, 29, 24, .35); }
.item__pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); display: block; }
.item__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.item__pic img + img { opacity: 0; }
.item:hover .item__pic img:first-child { transform: scale(1.05); }
.item:hover .item__pic img + img { opacity: 1; }
.item__meta { display: grid; justify-items: center; text-align: center; gap: 2px; padding-top: 4px; }
.item__name { font-weight: 600; font-size: 17px; line-height: 1.3; }
.item__cat { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 15px; }
.item__ask { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 999px; background: var(--walnut); color: var(--paper); font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .3s; }
.item__ask:hover { background: var(--ink); }

/* PROCESS: picture and words, sides alternating */
.proc { padding-block: var(--gap2); border-top: 1px solid rgba(33, 29, 24, .1); }
.proc__list { display: grid; gap: clamp(36px, 4vw, 64px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 96px); align-items: center; }
.step:nth-child(even) .step__pic { order: 2; }
.step__pic { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.step__pic img { width: 100%; height: 100%; object-fit: cover; }
.step__text { display: grid; gap: 14px; justify-items: start; max-width: 520px; }
.step__n { font: italic 300 clamp(28px, 2.4vw, 40px)/1 var(--serif); color: var(--walnut); }
.step h3 { font-family: var(--display); font-stretch: 90%; font-weight: 700; letter-spacing: -.018em; font-size: clamp(30px, 2.8vw, 50px); line-height: 1.08; padding-top: .08em; }
.step p { font-size: clamp(16px, 1.15vw, 19px); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags li { border: 1.5px solid var(--walnut); color: var(--walnut); border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }

/* MATERIALS: sand band of cards */
.mats { background: var(--sand); padding-block: var(--gap2); }
.mats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.mat { background: var(--white); display: grid; align-content: start; }
.mat figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.mat figure img { width: 100%; height: 100%; object-fit: cover; }
.mat__tag { position: absolute; left: 14px; bottom: 14px; background: var(--moss); color: var(--paper); font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 4px; }
.mat__body { display: grid; gap: 14px; padding: 20px 20px 24px; }
.mat__body h3 { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 2vw, 32px); line-height: 1.1; }
.mat__body ul { display: flex; flex-wrap: wrap; gap: 6px; }
.mat__body li { background: var(--paper); padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; }

/* CUSTOM (the configurator): unchanged behaviour, set in the same frame */
.custom { padding-block: var(--gap2); display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px 5vw; align-items: center; }
.custom__copy { display: grid; gap: 22px; }
.custom__copy > p:not(.kicker) { font-size: clamp(16px, 1.2vw, 19px); max-width: 40ch; }
.cfg { display: grid; gap: 24px; }
.cfg fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.cfg legend, .cfg__range label { font-weight: 600; font-size: 16px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input, .sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; min-height: 46px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--sand); font-weight: 500; transition: background-color .25s, color .25s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span, .sw input:focus-visible + span { outline: 3px solid var(--walnut); outline-offset: 2px; }
.cfg__range { display: grid; gap: 10px; }
.cfg__range output { font-family: var(--display); font-stretch: 90%; font-size: 32px; font-weight: 700; color: var(--walnut); margin-left: 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--sand); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--sand); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--walnut); transition: transform .2s; }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--walnut); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sw { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; min-height: 44px; }
.sw span { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(35,31,26,.14); transition: transform .25s var(--ease); }
.sw input:checked + span { transform: scale(1.12); box-shadow: inset 0 0 0 1px rgba(35,31,26,.14), 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.cfg__send { justify-self: start; }
.cfg__note { font-size: 15px; color: var(--ink-2); }
.custom__draw { background: var(--white); aspect-ratio: 8 / 7; display: grid; place-items: center; padding: 5%; }
.custom__draw svg { width: 100%; height: 100%; overflow: visible; }
.custom__draw .dim { font: 700 26px var(--display); fill: var(--walnut); }
.custom__draw .dim-s { font: 500 14px var(--sans); fill: var(--ink-2); }

/* PROJECTS: real photos, the heading takes one cell of the grid */
.real { padding-block: var(--gap2); border-top: 1px solid rgba(33, 29, 24, .1); }
.real__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.real__grid figure { aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.real__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.real__grid figure:hover img { transform: scale(1.05); }
.real__head { display: grid; align-content: center; gap: 16px; padding: 0 clamp(4px, 1vw, 16px) 0 0; }
.real__head .h2 { font-size: clamp(30px, 2.6vw, 46px); }
.real__head p { font-size: 16px; color: var(--ink-2); }
.real__head .link { color: var(--walnut); justify-self: start; }

/* CONTACT: tag line, then details and map side by side */
.contact { padding-block: var(--gap2) clamp(60px, 7vw, 110px); }
.contact__tag { display: grid; justify-items: center; text-align: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.contact__tag > p:not(.h2) { max-width: 56ch; font-size: clamp(16px, 1.2vw, 19px); color: var(--ink-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.contact__info { display: grid; gap: 22px; align-content: start; }
.contact__h { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 2.4vw, 40px); color: var(--walnut); }
.contact__info dl { display: grid; }
.contact__info dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(33, 29, 24, .12); }
.contact__info dt { font-weight: 600; font-size: 15px; }
.contact__info dd a { text-decoration: none; }
.contact__info dd a:hover { color: var(--walnut); text-decoration: underline; text-underline-offset: 4px; }
.contact__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 6px; }
.contact__map { min-height: 380px; background: var(--sand); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.35) sepia(.12); }

/* FOOTER: three columns on walnut */
.foot { background: var(--walnut-d); color: var(--paper); padding-top: clamp(56px, 6vw, 96px); }
.foot__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px 4vw; padding-bottom: clamp(40px, 5vw, 72px); }
.foot h3 { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 24px; color: var(--oak-l); margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; font-size: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--oak); }
.foot__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 26px; font-size: 14px; color: var(--oak-l); border-top: 1px solid rgba(245, 244, 240, .14); }

:root { --gap2: clamp(80px, 9vw, 150px); }
main .h2, .tile span, .concept b, .step h3, .real__head .h2 { text-wrap: balance; }

@media (max-width: 1080px) {
  .bar__nav { display: none; }
  .svc { grid-template-columns: 1fr; }
  .tile { min-height: clamp(180px, 30vw, 300px); }
  .coll__grid, .mats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .about__pic { min-height: 64vw; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .custom { grid-template-columns: 1fr; }
  .real__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .real__head { grid-column: 1 / -1; padding: 0 0 12px; }
  .real__grid figure:last-child { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bar { height: 64px; }
  .bar__cta { display: none; }
  .bar__menu { display: inline-flex; align-items: center; }
  .brand__name { font-size: 21px; }
  main .h2 { font-size: clamp(32px, 9vw, 46px); }
  .svc__tiles { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 150px; }
  .tile span { font-size: 19px; padding: 0 10px; }
  .tile small { font-size: 12px; }
  .tile--custom { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .item { padding: 6px 6px 10px; gap: 8px; }
  .item__name { font-size: 15px; }
  .item__ask { min-height: 38px; font-size: 14px; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 18px; }
  .step:nth-child(even) .step__pic { order: 0; }
  .mats__grid { grid-template-columns: 1fr; }
  .mat figure { aspect-ratio: 16 / 9; }
  .custom__draw { order: -1; aspect-ratio: 1 / 1; }
  .real__grid { grid-template-columns: 1fr 1fr; }
  .real__grid figure:last-child { display: block; }
  .contact__info dl div { grid-template-columns: 96px 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > div:first-child { grid-column: 1 / -1; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
}
@media (max-width: 420px) { .coll__grid { gap: 10px; } .concept b { font-size: 19px; } .concept small { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
