/* Hallmark · shape: showroom wall · genre: editorial · theme: custom (by request: direction contract) · job: visit · idea: "every door family hangs on a birch slat wall; lift one to see it finished" · vibe: "trade showroom, birch slats, manila tags" · hero: the wall of six hung doors under a black sign · nav: steel rail · footer: dark mast · imagery: photographs (stock stand-ins) · signature: a door lifts off its hook
 * axes: custom · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: E, text on slats lost contrast; moved every block onto plaques */
/* Hallmark · waive 80 · each hung door is the product drawn in its real profile · the door family drawings are the catalogue itself, not decoration */
/* 01 · Showroom Door Wall — world material */
:root {
  --floor: #1e1d1b; --floor-2: #272623; --floor-3: #33312d; --line: #45423c;
  --birch: #d8c29c; --birch-l: #e7d6b6; --birch-d: #b89d72; --groove: #3b2f22;
  --tag: #e8c66a; --tag-ink: #2a2412; --chalk: #f4efe6; --mute: #b9b1a3;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sand: #cfc7b9; --dust: #958d80; --sand-l: #d9d2c5; --tag-mute: #5b4d33; --tag-body: #3d3220; --err: #f0a48e; --photo-ink: #e7e0d3; --ok: #7fb08a; --floor-4: #3f3c36; --floor-0: #151412; --tone-1: rgba(255, 247, 230, .55); --tone-2: rgba(255, 247, 230, 0); --tone-3: rgba(0, 0, 0, 0); --tone-4: rgba(0, 0, 0, .16); --tone-5: rgba(0,0,0,.1); --tone-6: #2b2a27; --tone-7: #1a1917; --tone-8: #0d0c0b; --tone-9: rgba(255,255,255,.06); --tone-10: rgba(0,0,0,.6); --tone-11: rgba(0,0,0,.25); --tone-12: rgba(0,0,0,.55); --tone-13: rgba(0,0,0,.45); --tone-14: rgba(0,0,0,.2); --tone-15: rgba(0,0,0,.5); --tone-16: rgba(0,0,0,.4); --tone-17: #161513; --tone-18: rgba(0,0,0,.7); --tone-19: #111; --tone-20: rgba(255,255,255,.4); --tone-21: #f1d27c; --tone-22: rgba(244,239,230,.35); --tone-23: rgba(244,239,230,.06); --tone-24: rgba(0,0,0,.28); --tone-25: #dcd5c8; --tone-26: rgba(255,255,255,.04); --tone-27: #fffdf8; --tone-28: #6d685f; --tone-29: #8f887c; --tone-30: #a39b8e; --tone-31: #615d55; --tone-32: #e2775b; --tone-33: rgba(255,255,255,.08); --tone-34: rgba(10, 9, 8, .72); --tone-35: #efe4cc; --tone-36: rgba(255,255,255,.6); --tone-37: rgba(0,0,0,.18); --tone-38: #d8d2c4; --tone-39: #6d6559; --pool: rgba(255, 232, 178, .78); --tone-shadow: rgba(0,0,0,.7); --font-display: "Bricolage Grotesque", system-ui, sans-serif; --font-body: Figtree, system-ui, sans-serif;
}
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { background: var(--floor); color: var(--chalk); font-family: var(--font-body); text-rendering: optimizeLegibility; }
::selection { background: var(--tag); color: var(--tag-ink); }
:focus-visible { outline: 2px solid var(--tag); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--line) var(--floor); }
input, select { caret-color: var(--tag); }
.num { font-variant-numeric: tabular-nums; }
a.ul { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.display { font-family: var(--font-display); font-stretch: 78%; font-variation-settings: "wdth" 78; letter-spacing: -0.02em; line-height: .95; }

/* Slat wall: vertical birch slats with dark grooves, track-light falloff from the top */
.slatwall {
  background-color: var(--birch);
  background-image:
    radial-gradient(120% 70% at 50% -10%, var(--tone-1), var(--tone-2) 60%),
    linear-gradient(180deg, var(--tone-3) 55%, var(--tone-4) 100%),
    url("slat.svg");
  color: var(--tag-ink);
}
.slatwall.dim { background-image: linear-gradient(180deg, var(--tone-3), var(--tone-5)), url("slat.svg"); }

/* Steel rail (nav) */
.rail { background: linear-gradient(180deg, var(--tone-6), var(--tone-7)); border-bottom: 1px solid var(--tone-8); box-shadow: 0 1px 0 var(--tone-9) inset, 0 6px 18px -8px var(--tone-10); }
.rail a[aria-current="page"] { color: var(--tag); }

/* A hung door */
.hung { position: relative; display: block; padding-top: 32px; transform-origin: 50% 8px; transition: transform .5s var(--ease-out); }
.hung .hook { position: absolute; left: 50%; top: 0; width: 26px; height: 34px; transform: translateX(-50%); z-index: 2; }
.hung .slab {
  position: relative; display: block; aspect-ratio: 3 / 5; border-radius: 2px;
  box-shadow: 0 2px 2px var(--tone-11), 0 14px 22px -10px var(--tone-12), 0 30px 40px -24px var(--tone-13);
  transition: transform .5s var(--ease-out);
}
.hung .slab svg { display: block; border-radius: 2px; }
.hung:hover, .hung:focus-visible { transform: translateY(-10px) rotate(-1.2deg); }
.hung:hover .slab, .hung:focus-visible .slab {
  box-shadow: 0 4px 4px var(--tone-14), 0 30px 40px -14px var(--tone-12), 0 60px 70px -30px var(--tone-15);
}
/* Manila hang tag on string */
.tag { position: absolute; right: -8px; top: 40%; width: 8.2rem; transform: rotate(4deg); transform-origin: 85% -20px;
  background: var(--tag); color: var(--tag-ink); padding: .55rem .7rem .6rem 1.35rem; border-radius: 2px 6px 6px 2px;
  box-shadow: 0 6px 12px -6px var(--tone-10); transition: transform .6s var(--ease-out); }
.tag::before { content: ""; position: absolute; left: .45rem; top: 50%; width: .45rem; height: .45rem; margin-top: -.22rem; border-radius: 50%; background: var(--birch-d); box-shadow: inset 0 1px 1px var(--tone-16); }
.tag::after { content: ""; position: absolute; left: .67rem; bottom: 100%; width: 1px; height: 2.4rem; background: var(--tag-ink); transform-origin: bottom; transform: rotate(-24deg); }
.hung:hover .tag, .hung:focus-visible .tag { transform: rotate(-3deg); }
.tag b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1; letter-spacing: -.01em; }
.tag span { display: block; margin-top: .25rem; font-size: .72rem; font-weight: 600; }

/* Black showroom sign */
.sign { background: var(--tone-17); color: var(--chalk); box-shadow: 0 2px 0 var(--tone-8), 0 20px 30px -16px var(--tone-18); border-radius: 3px; position: relative; }
.sign::before, .sign::after { content: ""; position: absolute; top: -26px; width: 1px; height: 26px; background: var(--tone-19); }
.sign::before { left: 18%; } .sign::after { right: 18%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.15rem; border-radius: 3px; font-weight: 650; font-size: .95rem; transition: background-color .2s, color .2s, transform .2s var(--ease-out), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-tag { background: var(--tag); color: var(--tag-ink); box-shadow: 0 1px 0 var(--tone-20) inset, 0 4px 10px -4px var(--tone-15); }
.btn-tag:hover { background: var(--tone-21); }
.btn-ghost { color: var(--chalk); box-shadow: inset 0 0 0 1px var(--tone-22); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--chalk); background: var(--tone-23); }
.btn-ink { background: var(--tone-17); color: var(--chalk); }
.btn-outline { color: var(--tag-ink); box-shadow: inset 0 0 0 1.5px var(--tag-ink); }
.btn-outline:hover { background: var(--tag-ink); color: var(--chalk); }
.btn-ink:hover { background: var(--tone-8); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Photo with track-light vignette */
.lit { position: relative; overflow: hidden; background: var(--floor-3); }
.lit img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.lit::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(130% 90% at 50% 0%, var(--tone-3) 55%, var(--tone-24)); }

/* Filters */
.check { display: flex; align-items: center; gap: .65rem; padding: .45rem .25rem; border-radius: 3px; cursor: pointer; color: var(--tone-25); }
.check:hover { background: var(--tone-26); color: var(--tone-27); }
.check input { appearance: none; width: 18px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--tone-28); display: grid; place-items: center; flex: none; transition: background .15s, box-shadow .15s; }
.check input:checked { background: var(--tag); box-shadow: inset 0 0 0 1.5px var(--tag); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--tag-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check .n { margin-left: auto; font-size: .78rem; color: var(--tone-29); }
.field { background: var(--floor-2); border: 1px solid var(--tone-29); color: var(--chalk); border-radius: 3px; min-height: 46px; padding: 0 .9rem; width: 100%; transition: border-color .2s; }
.field::placeholder { color: var(--tone-30); }
.field:hover { border-color: var(--tone-31); }
.field:focus { outline: none; border-color: var(--tag); }
.field[aria-invalid="true"] { border-color: var(--tone-32); }
select.field { appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23F4EFE6' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }

.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; padding: 0 .4rem 0 .75rem; border-radius: 999px; background: var(--floor-3); color: var(--chalk); font-size: .85rem; }
.chip button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); }
.chip button:hover { background: var(--tone-33); color: var(--tone-27); }

/* Product tile */
.tile { display: block; text-align: left; width: 100%; }
.tile .lit { aspect-ratio: 4 / 3; border-radius: 3px; }
.tile:hover h3 { color: var(--tag); }

/* Dialogs */
dialog { color: var(--chalk); }
dialog::backdrop { background: var(--tone-34); }
dialog[open] { animation: dlg .45s var(--ease-out); }
@keyframes dlg { from { opacity: 0; transform: translateY(14px) scale(.985); } }

/* Timeline */
.station { position: relative; padding-left: 2.6rem; }
.station::before { content: ""; position: absolute; left: .78rem; top: 1.9rem; bottom: -1rem; width: 2px; background: var(--line); }
.station:last-child::before { display: none; }
.station .dot { position: absolute; left: 0; top: .2rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--floor-3); box-shadow: inset 0 0 0 2px var(--line); }
.station.done .dot { background: var(--tag); box-shadow: none; color: var(--tag-ink); }
.station.done::before { background: var(--tag); }
.station.now .dot { background: var(--chalk); outline: 2px solid var(--chalk); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hung:hover, .hung:focus-visible { transform: none; }
}

/* Plaque: a solid birch board screwed to the wall, for any text that sits on the slats */
.plaque { background: var(--tone-35); color: var(--tag-ink); border-radius: 3px; position: relative;
  box-shadow: 0 1px 0 var(--tone-36) inset, 0 2px 2px var(--tone-37), 0 22px 34px -20px var(--tone-12); }
.plaque::before, .plaque::after { content: ""; position: absolute; top: 12px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--tone-38), var(--tone-39)); }
.plaque::before { left: 12px; } .plaque::after { right: 12px; }
.mini .tag { width: 6.6rem; padding: .45rem .5rem .5rem 1.2rem; } .mini .tag b { font-size: .88rem; }

html, body { overflow-x: clip; }

.slatwall :focus-visible, .plaque :focus-visible, .bg-tag :focus-visible { outline-color: var(--tone-17); }
.sign :focus-visible { outline-color: var(--tag); }
.btn { white-space: nowrap; }

/* Track light: a warm pool painted on the wall above each hung door */
.hung::before { content: ""; position: absolute; left: -22%; right: -22%; top: -60px; height: 80%; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 46% at 50% 56%, var(--pool), var(--tone-2) 100%); }
.hung .slab, .hung .tag { z-index: 1; } .hung .hook { z-index: 2; }
.mini .hung::before { display: none; }

#wall, #bays, #others { overflow-x: clip; overflow-y: visible; }
