/* Salon v2. The showroom as a listening gallery: the product is the only ornament, the type is its plinth.
   Plan: .impeccable/surfaces/salon-v2-plan.md */

@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant-garamond-latin-var.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('/assets/fonts/nunito-sans-latin-var.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }

:root {
  color-scheme: light;
  --plaster: #E9E7E2;
  --plaster-2: #E1DED8;
  --sweep-hi: #D6D2CB;
  --sweep: #C9C5BD;
  --sweep-lo: #B7B2A9;
  --ink: #1F1D1A;
  --graphite: #5E5A54;
  --rule: rgb(31 29 26 / .14);
  --walnut: #1E1A15;
  --walnut-2: #2A251E;
  --walnut-ink: #EDE9E2;
  --walnut-ink-2: #BDB6AB;
  --brass: #A8875A;
  --t-reference: #C9A24A; --t-premium: #D4AF6A; --t-mid: #A9B7C0; --t-entry: #7B8B92;
  --serif: 'Cormorant Garamond', Cormorant, Garamond, 'Times New Roman', serif;
  --sans: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 92rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 4.5rem;
  /* type scale, rem */
  --s-1: .8125rem; --s0: .9375rem; --s1: 1.0625rem; --s2: 1.25rem; --s3: 1.5rem; --s4: 2rem; --s5: 2.75rem; --s6: 3.75rem; --s7: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); -webkit-tap-highlight-color: transparent; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body { margin: 0; background: var(--plaster); color: var(--ink); font: 400 var(--s1)/1.55 var(--sans); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.005em; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--ink); color: var(--plaster); padding: .7rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.walnut :focus-visible, .foot :focus-visible { outline-color: var(--walnut-ink); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* text roles */
.label { font-size: var(--s0); color: var(--graphite); }
.lede { font-size: var(--s2); line-height: 1.5; color: var(--graphite); max-width: 36rem; }
.prose { max-width: 38rem; }
.prose p + p { margin-top: 1em; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* buttons: sentence case, quiet rectangles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .75rem 1.35rem; font: 600 var(--s0)/1.1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; background: none; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn-sm { min-height: 2.5rem; padding: .5rem 1rem; font-size: var(--s-1); }
.btn-ink { background: var(--ink); color: var(--plaster); }
.btn-ink:hover { background: #3A3631; }
.btn-line { border-color: rgb(31 29 26 / .4); }
.btn-line:hover { border-color: var(--ink); background: rgb(31 29 26 / .05); }
.btn-light { border-color: rgb(237 233 226 / .45); color: var(--walnut-ink); }
.btn-light:hover { border-color: var(--walnut-ink); background: rgb(237 233 226 / .06); }
.wa { width: 1.1rem; height: 1.1rem; fill: currentColor; flex: none; }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgb(31 29 26 / .35); transition: text-decoration-color .3s var(--ease); }
.link:hover { text-decoration-color: currentColor; }

/* ---------------------------------------------------------------- navigation (glass once the stage passes under it) */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: env(safe-area-inset-top, 0px); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.brand img { width: 8.25rem; height: auto; }
.links { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.links a { font: 600 var(--s0)/1 var(--sans); text-decoration: none; padding: .55rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.links a:hover, .links a[aria-current] { background-size: 100% 1px; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.nav-search { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; text-decoration: none; }
.nav-search svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.presence { font-size: var(--s-1); color: var(--ink); display: flex; align-items: center; gap: .5rem; }
.presence::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--graphite); flex: none; }
.presence[data-open='true']::before { background: #3E8E5E; box-shadow: 0 0 0 3px rgb(62 142 94 / .18); }
.nav.is-glass { background: rgb(233 231 226 / .9); -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25); box-shadow: inset 0 -1px 0 var(--rule); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav.is-glass { background: var(--plaster); } }
.menu { display: none; }
.page-top { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }

/* ---------------------------------------------------------------- the sweep and the piece */
.stage, .tile, .slide { background: radial-gradient(120% 85% at 50% 32%, var(--sweep-hi), var(--sweep) 58%, var(--sweep-lo)); }
.piece { margin: 0; position: relative; aspect-ratio: 1; }
.piece img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.piece .shade { mix-blend-mode: multiply; }
.piece .cut { z-index: 2; }
/* a piece never creates a stacking context (no transform, z-index, opacity or filter on the figure):
   the multiply layer must find the sweep behind it */
.piece.framed { background: var(--plaster); }
.piece.framed img { object-fit: cover; }
.piece.empty { display: grid; place-items: center; }
.piece.empty span { font: 300 var(--s5)/1 var(--serif); color: rgb(31 29 26 / .25); }

.stage { position: relative; overflow: hidden; isolation: isolate; container-type: inline-size; }
.mark { position: absolute; z-index: 1; left: 50%; top: 36%; transform: translate(-50%, -50%); margin: 0; white-space: nowrap; pointer-events: none; user-select: none;
  font: 300 calc(var(--fit, 20) * 1cqi)/.8 var(--serif); font-variant-numeric: lining-nums; letter-spacing: -0.035em; color: #FCFBF8; }
.no-cut-stage .mark { top: 27%; }

/* ---------------------------------------------------------------- hero slideshow */
.hero { height: max(40rem, 100svh); touch-action: pan-y; }
.slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s; }
.slide.is-on { visibility: visible; opacity: 1; transition: opacity 1.2s var(--ease), visibility 0s; }
.hero-piece { position: absolute; inset: 24% 0 0 0; margin: auto; width: min(33rem, 58vh, 56cqi); height: auto; }
.no-cut-stage .hero-piece { inset-block-start: 38%; width: min(29rem, 50vh, 50cqi); }
.js .slide.is-on .hero-piece img { animation: settle 1.4s var(--ease) both; }
.js .slide.is-on .mark { animation: mark-in 1.8s var(--ease) both; }
.js .slide.is-leaving .hero-piece img { animation: leave .9s var(--ease) both; }
@keyframes settle { from { opacity: 0; translate: 0 1rem; } }
@keyframes leave { to { opacity: 0; translate: 0 -.6rem; } }
@keyframes mark-in { from { opacity: 0; } }
.cap { position: absolute; z-index: 4; left: var(--gutter); bottom: clamp(1.5rem, 5vh, 3.25rem); max-width: 30rem; display: grid; gap: .35rem; }
.cap .label { color: #3B3833; }
.cap-title { font-size: var(--s4); line-height: 1.1; }
.cap-title a { text-decoration: none; }
.cap-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.price { font: 500 var(--s1)/1.35 var(--sans); font-variant-numeric: tabular-nums lining-nums; }
.price small { font-size: var(--s-1); color: var(--graphite); font-weight: 400; }
.stage .price small, .stage .label { color: #3B3833; }
.hero-end { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(1.5rem, 5vh, 3.25rem); display: flex; align-items: flex-end; gap: 1.5rem; }
.tabs { display: flex; gap: 1.1rem; }
.tabs button { all: unset; cursor: pointer; display: grid; gap: .45rem; min-width: 5rem; padding-bottom: .2rem; }
.tabs .t { font: 400 var(--s2)/1 var(--serif); font-variant-numeric: lining-nums; color: #3B3833; transition: color .3s var(--ease); }
.tabs .bar { height: 2px; background: rgb(31 29 26 / .2); position: relative; overflow: hidden; }
.tabs .bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.tabs button[aria-current] .t { color: var(--ink); }
.tabs button[aria-current] .bar i { transform: scaleX(1); }
.js .hero:not(.is-held) .tabs button[aria-current] .bar i { animation: progress var(--dwell, 7s) linear both; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.hero-ctrl { display: flex; gap: .4rem; }
.round { all: unset; cursor: pointer; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid rgb(31 29 26 / .3); border-radius: 50%; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.round:hover { border-color: var(--ink); background: rgb(31 29 26 / .05); }
.round:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.round svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.round .ic-play { display: none; }
.is-held .round .ic-pause { display: none; }
.is-held .round .ic-play { display: block; }

/* ---------------------------------------------------------------- sections */
.sec { padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec-head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 44rem; }
.sec-head h2 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, var(--s6)); }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; flex-wrap: wrap; }
.sec-head.row > div { display: grid; gap: .9rem; max-width: 44rem; }

/* ladder: a ruled index, because tiers are a ranked scale */
.rungs { border-top: 1px solid var(--rule); }
.rung { display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(14rem, 1.25fr) minmax(16rem, 2fr) minmax(9rem, 12rem); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--rule); }
.rung-head { display: grid; gap: .3rem; }
.rung h3 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem); font-weight: 300; }
.rung h3 a { text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; }
.rung h3 a::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tier); flex: none; }
.rung h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
[data-tier='reference'] { --tier: var(--t-reference); }
[data-tier='premium'] { --tier: var(--t-premium); }
[data-tier='mid'] { --tier: var(--t-mid); }
[data-tier='entry'] { --tier: var(--t-entry); }
.rung-note { color: var(--graphite); max-width: 24rem; }
.makers { display: flex; flex-wrap: wrap; gap: .15rem 1rem; font: 400 1.075rem/1.65 var(--serif); }
.makers a { text-decoration: none; white-space: nowrap; }
.makers a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.rung-piece { position: relative; display: block; text-decoration: none; }
.tile img { transition: scale .9s var(--ease); }
a:hover .tile img, .rung-piece:hover .tile img { scale: 1.035; }

/* press chapter */
.press-fig { margin: 0; position: relative; }
.press-fig img { width: 100%; height: min(86svh, 56rem); object-fit: cover; }
.credit { position: absolute; right: var(--gutter); bottom: .9rem; font-size: var(--s-1); color: var(--ink); background: rgb(233 231 226 / .82); padding: .35rem .6rem; }
.press-cap { display: grid; gap: 1rem; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.press-cap h2 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, var(--s7)); font-weight: 300; }
.press-pair { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.75rem); padding-block: clamp(1rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
.press-pair figure { margin: 0; position: relative; overflow: hidden; }
.press-pair img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.press-pair .pp-tall img { aspect-ratio: auto; }

/* collections index */
.coll-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.coll { display: grid; gap: .55rem; text-decoration: none; }
.coll .tile { margin-bottom: .45rem; }
.coll h3 { font-size: var(--s3); }
.coll:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.coll p { color: var(--graphite); font-size: var(--s0); }

/* walnut: the listening room after dark (one chapter and the footer) */
.walnut { background: var(--walnut); color: var(--walnut-ink); }
.walnut .label, .walnut .lede, .walnut .price small { color: var(--walnut-ink-2); }
.night { padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.night-in { display: grid; grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.night-copy { display: grid; gap: 1.1rem; align-content: center; }
.night h2 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4.2rem); font-weight: 300; }
.night-piece { width: 100%; background: radial-gradient(60% 55% at 50% 55%, var(--walnut-2), transparent 70%); }
.night-piece .shade { display: none; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgb(237 233 226 / .16); }
.fig { font: 300 clamp(3.2rem, 2rem + 4vw, 5.4rem)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; display: flex; align-items: baseline; flex-wrap: wrap; }
.fig .unit { font: 600 var(--s0)/1 var(--sans); margin-left: .3em; }
.fig .to { font: 400 var(--s1)/1 var(--sans); margin-inline: .6em; color: var(--walnut-ink-2); }
.fig-cap { margin-top: .7rem; font-size: var(--s0); color: var(--walnut-ink-2); max-width: 18rem; }
.figs-light { border-top-color: var(--rule); margin-top: 0; padding-block: clamp(2rem, 4vw, 3rem); }
.figs-light .fig-cap, .figs-light .fig .to { color: var(--graphite); }

/* services */
.services { border-top: 1px solid var(--rule); }
.services a { display: grid; grid-template-columns: minmax(12rem, 1fr) auto; gap: 1.5rem; align-items: baseline; padding-block: clamp(1.15rem, 2.2vw, 1.75rem); border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding-inline .5s var(--ease); }
.services .t { font: 300 clamp(1.8rem, 1.3rem + 1.6vw, 2.75rem)/1.05 var(--serif); }
.services .go { font-size: var(--s0); color: var(--graphite); opacity: 0; transition: opacity .4s var(--ease); }
.services a:hover, .services a:focus-visible { padding-inline: .75rem; }
.services a:hover .go, .services a:focus-visible .go { opacity: 1; }

/* visit */
.visit { background: var(--plaster-2); padding-block: clamp(4.5rem, 9vw, 7rem); }
.visit-in { display: grid; grid-template-columns: minmax(18rem, 1.3fr) minmax(16rem, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.visit-in > div { display: grid; gap: 1.15rem; }
.visit h2 { font-size: clamp(3rem, 2rem + 4vw, var(--s7)); font-weight: 300; letter-spacing: -0.015em; }
.visit-cta { display: flex; gap: .75rem; flex-wrap: wrap; padding-top: .4rem; }
.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--graphite); }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- cards and grids (layer 2) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.card { display: grid; gap: .3rem; text-decoration: none; min-width: 0; }
.cards > li { min-width: 0; }
.card .tile { margin-bottom: .7rem; }
.card-brand { font-size: var(--s-1); color: var(--graphite); }
.card-title { font: 400 1.3rem/1.2 var(--serif); font-variant-numeric: lining-nums; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .55rem; margin-top: .2rem; border-top: 1px solid var(--rule); font-size: var(--s0); }
.card-price { font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.card-price small { display: block; font-size: var(--s-1); color: var(--graphite); }
.tier { display: inline-flex; align-items: center; gap: .45em; font-size: var(--s-1); color: var(--graphite); white-space: nowrap; }
.tier::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tier, var(--graphite)); flex: none; }

.list-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1rem; }
.list-head h1 { font-size: clamp(2.8rem, 1.8rem + 3.4vw, var(--s7)); font-weight: 300; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; font-size: var(--s-1); color: var(--graphite); }
.crumbs li + li::before { content: '/'; margin-right: .45rem; opacity: .55; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5em; min-height: 2.5rem; padding: .45rem .9rem; border: 1px solid var(--rule); font-size: var(--s0); text-decoration: none; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.chip:hover { border-color: rgb(31 29 26 / .5); }
.chip[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--plaster); }
.chip .n { color: var(--graphite); font-variant-numeric: tabular-nums; }
.chip[aria-current] .n { color: rgb(233 231 226 / .75); }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem 1.5rem; padding-block: 1.25rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); border-block: 1px solid var(--rule); }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-size: var(--s-1); color: var(--graphite); }
.field select, .field input, .field textarea { min-height: 2.75rem; padding: .55rem .8rem; border: 1px solid rgb(31 29 26 / .3); background: #F3F1ED; color: var(--ink); border-radius: 0; }
.field select { padding-right: 2.25rem; appearance: none; background-color: #F3F1ED;
  /* chevron drawn with gradients: the CSP allows no data: images */
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 1.05rem center, right .75rem center; background-size: .32rem .32rem; background-repeat: no-repeat; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.filters .count { margin-left: auto; color: var(--graphite); font-size: var(--s0); font-variant-numeric: tabular-nums; }
.pager { display: flex; justify-content: center; align-items: center; gap: .4rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 5vw, 4rem); }
.pager .gap { min-width: 1.5rem; color: var(--graphite); }
.pager a, .pager span { min-width: 2.75rem; min-height: 2.75rem; display: inline-grid; place-items: center; padding-inline: .6rem; font-variant-numeric: tabular-nums; text-decoration: none; border: 1px solid transparent; }
.pager a:hover { border-color: var(--rule); }
.pager [aria-current] { border-color: var(--ink); }
.pt0 { padding-top: 0; } .pt1 { padding-top: 1rem; } .pb5 { padding-bottom: 5rem; } .hours-gap { margin-top: 1.25rem; }
.empty-note { padding-block: 3rem; color: var(--graphite); max-width: 34rem; }

/* brands index */
.brand-tier { padding-block: 2rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); }
.brand-tier h2 { font-size: var(--s5); font-weight: 300; display: flex; align-items: center; gap: .7rem; }
.brand-tier h2::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tier); }
.brand-list { columns: 3 13rem; column-gap: 2rem; }
.brand-list li { break-inside: avoid; padding-block: .4rem; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 1rem; }
.brand-list a { font: 400 1.2rem/1.3 var(--serif); text-decoration: none; }
.brand-list a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.brand-list .n { color: var(--graphite); font-size: var(--s-1); font-variant-numeric: tabular-nums; align-self: center; }

/* ---------------------------------------------------------------- product (layer 3) */
.pdp { height: max(34rem, min(86svh, 60rem)); }
.pdp .mark { top: 40%; }
.pdp-piece { position: absolute; inset: 22% 0 0 0; margin: auto; width: min(36rem, 62vh, 60cqi); height: auto; }
.no-cut-stage .pdp-piece { inset-block-start: 38%; width: min(29rem, 52vh, 50cqi); }
.pdp-crumbs { position: absolute; z-index: 4; left: var(--gutter); top: calc(var(--nav-h) + 1.25rem + env(safe-area-inset-top, 0px)); }
.pdp-crumbs ol { color: #3B3833; }
.thumbs { position: absolute; z-index: 4; right: var(--gutter); bottom: 1.25rem; display: flex; gap: .5rem; }
.thumbs button { all: unset; cursor: pointer; width: 3.5rem; height: 3.5rem; background: rgb(233 231 226 / .55); box-shadow: inset 0 0 0 1px rgb(31 29 26 / .18); transition: box-shadow .3s var(--ease); }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs button[aria-current] { box-shadow: inset 0 0 0 2px var(--ink); }
.thumbs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.view-alt { position: absolute; inset: 14% var(--gutter) 9%; z-index: 3; margin: 0; display: none; background: radial-gradient(120% 85% at 50% 32%, var(--sweep-hi), var(--sweep) 58%, var(--sweep-lo)); }
.view-alt.is-on { display: block; }
.view-alt img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buy { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.25rem, 4vw, 3.5rem); align-items: start; }
.buy-id { display: grid; gap: .6rem; }
.buy-id .label a { text-decoration: none; }
.buy-id .label a:hover { text-decoration: underline; }
.buy h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.75rem); }
.buy-act { display: grid; gap: .7rem; padding-top: .2rem; }
.buy-act .price { font-size: var(--s3); }
.avail { font-size: var(--s0); color: var(--graphite); }
.buy-cta { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .45rem; }
.story { padding-block: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 3fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--rule); }
.story > h2 { font: 400 var(--s0)/1.4 var(--sans); color: var(--graphite); padding-top: .55rem; }
.story-lead { font: 300 clamp(1.55rem, 1.2rem + 1.2vw, 2.25rem)/1.32 var(--serif); font-variant-numeric: lining-nums; max-width: 44rem; }
.story-body { grid-column: 2; columns: 2 22rem; column-gap: 3rem; color: #3F3B36; max-width: 60rem; }
.story-body p { margin-bottom: 1rem; orphans: 3; widows: 3; }
.story-body h3 { font: 500 1.35rem/1.2 var(--serif); color: var(--ink); margin: 1.4rem 0 .5rem; break-after: avoid; }
.story-body h3:first-child { margin-top: 0; }
.specs { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.spec-cols { columns: 2 24rem; column-gap: clamp(2rem, 5vw, 4.5rem); }
.spec-group { break-inside: avoid; margin-bottom: 2.25rem; }
.spec-group h3 { font: 600 var(--s0)/1.4 var(--sans); padding-bottom: .7rem; border-bottom: 1px solid var(--ink); }
.spec-group dl { margin: 0; }
.spec-group div { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem; padding-block: .6rem; border-bottom: 1px solid var(--rule); font-size: var(--s0); }
.spec-group dt { color: var(--graphite); }
.spec-group dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
.specs-empty { display: flex; gap: 1rem 2rem; align-items: baseline; flex-wrap: wrap; color: var(--graphite); }
.dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); background: rgb(233 231 226 / .9); -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25); box-shadow: inset 0 1px 0 var(--rule); transform: translateY(100%); transition: transform .5s var(--ease); }
.dock.is-on { transform: none; }
/* the dock must never cover the footer's last line on product pages */
.product .foot { padding-bottom: calc(1.75rem + 4.5rem + env(safe-area-inset-bottom, 0px)); }
.dock-in { max-width: var(--max); margin-inline: auto; padding: .7rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dock-t { display: flex; gap: 1.5rem; align-items: baseline; min-width: 0; }
.dock-t span:first-child { font: 400 1.15rem/1.2 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-p { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: var(--s0); }

/* ---------------------------------------------------------------- search, contact, guides, 404 */
.search-box { display: flex; gap: .6rem; align-items: end; max-width: 44rem; }
.search-box .field { flex: 1; }
.search-box input { width: 100%; font-size: var(--s2); min-height: 3.25rem; }
.results-note { color: var(--graphite); padding-block: 1.5rem; font-variant-numeric: tabular-nums; }
.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form textarea { min-height: 9rem; resize: vertical; }
.form .error { color: #8A2B1F; font-size: var(--s0); }
.field [aria-invalid='true'] { border-color: #8A2B1F; }
.form-note { font-size: var(--s0); color: var(--graphite); }
.guide-list a { display: grid; gap: .4rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); text-decoration: none; }
.guide-list a:first-child { border-top: 1px solid var(--rule); }
.guide-list h2 { font-size: var(--s4); }
.guide-list a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; }
.article { padding-bottom: clamp(4rem, 8vw, 6rem); }
.article .prose { font: 400 1.15rem/1.65 var(--serif); }
.article .prose h2 { font-size: var(--s3); margin: 2rem 0 .7rem; }
.faqs { border-top: 1px solid var(--rule); max-width: 52rem; }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; font: 400 var(--s3)/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 1.6rem/1 var(--sans); color: var(--graphite); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.faq p { padding-bottom: 1.25rem; max-width: 40rem; color: #3F3B36; }
.notfound { min-height: 70svh; display: grid; align-content: center; gap: 1.25rem; }
.notfound h1 { font-size: clamp(3rem, 2rem + 4vw, var(--s7)); font-weight: 300; }

/* ---------------------------------------------------------------- footer (Hallatec footer pattern) */
.foot { background: var(--walnut); color: var(--walnut-ink-2); padding-block: clamp(3.5rem, 7vw, 5rem) 1.75rem; font-size: var(--s0); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem 2rem; }
.foot h2 { font: 600 var(--s0)/1.3 var(--sans); color: var(--walnut-ink); margin-bottom: .9rem; }
.foot-brand img { filter: invert(1) brightness(.93); margin-bottom: 1.1rem; }
.foot-brand p { max-width: 22rem; }
.foot-brand p + p { margin-top: .7rem; }
.foot address { font-style: normal; }
.foot ul { display: grid; gap: .5rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--walnut-ink); text-decoration: underline; text-underline-offset: .2em; }
.foot-contact { display: grid; gap: .5rem; align-content: start; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }
.foot-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgb(237 233 226 / .12); display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; font-size: var(--s-1); color: #A69F94; }
.foot-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hallatec-sig { all: unset; cursor: pointer; display: inline-flex; align-items: baseline; gap: .6rem; color: #A69F94; }
.hallatec-sig:hover, .hallatec-sig:focus-visible { color: var(--walnut-ink); }
.hallatec-sig:focus-visible { outline: 2px solid var(--walnut-ink); outline-offset: 3px; }
.hallatec-sig .dia { font-size: .7em; margin-right: .35em; }
.hallatec-about { max-width: 26rem; padding: 1.75rem; border: 0; background: var(--plaster); color: var(--ink); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); overscroll-behavior: contain; }
.hallatec-about::backdrop { background: rgb(20 18 15 / .45); }
.hallatec-about h2 { font-size: var(--s3); margin-bottom: .75rem; }
.hallatec-about p + p { margin-top: .7rem; }
.hallatec-about .dia { color: var(--brass); }
.hallatec-about .actions { display: flex; gap: .75rem; align-items: center; margin-top: 1.25rem; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .menu { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding-inline: .25rem; font: 600 var(--s0)/1 var(--sans); }
  .menu:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .menu-bars { width: 1.1rem; height: 7px; border-block: 1.5px solid currentColor; transition: height .3s var(--ease); }
  .menu[aria-expanded='true'] .menu-bars { height: 0; border-bottom: 0; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem; background: var(--plaster); box-shadow: inset 0 1px 0 var(--rule), 0 18px 30px -20px rgb(20 18 15 / .35); overscroll-behavior: contain; }
  .links.is-open { display: flex; }
  .links a { display: block; padding: 1rem 0; font-size: var(--s1); border-bottom: 1px solid var(--rule); background: none; }
  .nav-in { gap: 1rem; }
  .rung { grid-template-columns: minmax(0, 1fr) minmax(8rem, 11rem); }
  .rung-note, .makers { grid-column: 1; }
  .rung-piece { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --nav-h: 4rem; }
  .presence:not(.presence-lg) { display: none; }
  .hero { height: max(38rem, 92svh); }
  .hero-piece { width: min(26rem, 76vw); inset: 6% 0 0 0; }
  .mark { top: 31%; }
  .no-cut-stage .mark { top: 25%; }
  .no-cut-stage .hero-piece { inset-block-start: 22%; width: min(22rem, 64vw); }
  .cap { right: var(--gutter); bottom: 9.5rem; }
  .cap-title { font-size: var(--s3); }
  .hero-end { left: var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; }
  .hero-end > .btn { grid-column: 1 / -1; }
  .tabs { gap: .5rem; flex: 1; }
  .tabs li { flex: 1; min-width: 0; }
  .tabs button { min-width: 0; width: 100%; }
  /* five names do not fit a phone: only the current piece is named, every piece keeps its progress line */
  .tabs .t { font-size: var(--s1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; visibility: hidden; }
  .tabs button[aria-current] .t { visibility: visible; overflow: visible; }
  .hero-ctrl .round[data-step] { display: none; }
  .night-in, .visit-in, .buy, .story, .press-pair, .brand-tier { grid-template-columns: 1fr; }
  .story-body { grid-column: 1; }
  .night-piece { order: -1; max-width: 30rem; margin-inline: auto; }
  .press-fig img { height: 62svh; }
  .services a { grid-template-columns: 1fr; }
  .services .go { display: none; }
  .pdp { height: max(24rem, 54svh); }
  .pdp-piece { width: min(24rem, 78vw); inset: 26% 0 0 0; }
  .pdp .mark { top: 42%; }
  .no-cut-stage .pdp-piece { inset-block-start: 40%; width: min(20rem, 62vw); }
  .thumbs { left: var(--gutter); right: auto; bottom: .75rem; }
  .thumbs button { width: 2.75rem; height: 2.75rem; }
  .buy { padding-block: 1.5rem 2rem; gap: 1rem; }
  .form .two { grid-template-columns: 1fr; }
  .filters .count { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .rung { grid-template-columns: 1fr; }
  .rung-piece { grid-column: 1; grid-row: auto; max-width: 14rem; }
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
  .brand img { width: 7rem; }
  .nav-end .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .foot-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .9rem; }
  .card-title { font-size: 1.1rem; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .card-price { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  /* transition: none, not a tiny duration: the default transition-property is all, so a short duration still
     animates font-size and breaks the mark's measurement */
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .piece .shade { mix-blend-mode: normal; }
  .mark { color: CanvasText; opacity: .25; }
}
