/* =============================================================================
   LUMEN & GRAIN — furniture showroom
   Warm paper, deep walnut ink, one clay accent. Fraunces + Instrument Sans (OFL).
   ============================================================================= */
:root {
  --paper: #f6f1ea; --paper-2: #efe8dd; --stone: #ece7e0; --card: #fbf8f3;
  --ink: #1d1914; --ink-2: #3d352d; --muted: #675c51; --line: #ddd2c4; --line-2: #c9bcaa;
  --clay: #a4532f; --clay-2: #c8693f; --sage: #6f7d62; --gold: #c49a5a;
  --night: #16120f; --night-2: #211b16; --night-3: #2c241e; --cream: #f3ece2; --cream-2: #cdbfae;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --r: 14px; --r-sm: 8px; --r-lg: 22px;
  --ease: cubic-bezier(.2, .75, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: min(1360px, 100% - 56px); --head-h: 76px;
  --shadow: 0 1px 2px rgba(29, 25, 20, .05), 0 14px 34px -18px rgba(29, 25, 20, .35);
  --shadow-lg: 0 34px 80px -28px rgba(14, 10, 8, .55);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: calc(var(--head-h) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.09rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.015em; margin: 0 0 .4em; font-variation-settings: "opsz" 120; }
h1 { font-size: clamp(2.8rem, 1.6rem + 5vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.6rem); }
h3 { font-size: 1.45rem; font-variation-settings: "opsz" 36; }
em, .it { font-style: italic; }
p { margin: 0 0 1em; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 600; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.dark .eyebrow, .eyebrow.light { color: #e9b48f; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--cream); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { box-shadow: 0 12px 30px -14px rgba(29, 25, 20, .6); }
.btn:active { transform: scale(.98); }
.btn svg { width: 19px; height: 19px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.go { transform: translateX(4px); }
.btn-light { --bg: var(--cream); --fg: var(--ink); }
.btn-clay { --bg: var(--clay); --fg: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-ghost.on-dark, .dark .btn-ghost { --fg: var(--cream); border-color: rgba(243, 236, 226, .38); }
.btn-ghost.on-dark:hover, .dark .btn-ghost:hover { border-color: var(--cream); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .2s; display: inline-flex; align-items: center; gap: 8px; }
.link:hover { text-decoration-color: currentColor; }
.link svg { width: 17px; height: 17px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; display: inline-grid; place-items: center; position: relative; color: inherit; transition: border-color .2s, background-color .2s, transform .2s var(--ease); text-decoration: none; }
.icon-btn:hover { border-color: currentColor; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--clay); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.icon-btn .count:empty, .icon-btn .count[data-n="0"] { display: none; }
.icon-btn.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 100; height: var(--head-h); background: rgba(246, 241, 234, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, color .4s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.has-hero .site-head { position: fixed; inset: 0 0 auto; background: transparent; color: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-head.scrolled { background: rgba(246, 241, 234, .92); color: var(--ink); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; font-variation-settings: "opsz" 48; white-space: nowrap; }
.brand span i { font-style: italic; color: var(--clay-2); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 16px; text-decoration: none; font-weight: 500; font-size: 1rem; opacity: .86; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.has-hero .site-head:not(.scrolled) .icon-btn { border-color: rgba(243, 236, 226, .4); }
.menu-btn { display: none; }
.mnav { position: fixed; inset: var(--head-h) 0 0; z-index: 99; background: var(--paper); padding: 26px; display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
body.menu-open .mnav { opacity: 1; visibility: visible; transform: none; }
body.menu-open .site-head { background: var(--paper) !important; color: var(--ink) !important; }
.mnav a { font-family: var(--serif); font-size: 2.3rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden; background: var(--night); color: var(--cream); isolation: isolate; }
.hero .scene { position: absolute; inset: 0; }
.scene { position: relative; overflow: hidden; }
.scene-imgs { position: absolute; inset: 0; }
.scene-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.4s var(--ease); }
.scene-imgs img.night { opacity: 0; }
.scene.is-night .scene-imgs img.night { opacity: 1; }
.hero .scene-imgs { animation: heroZoom 9s var(--ease-out) both; transform-origin: 58% 55%; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(14, 10, 8, .78) 0%, rgba(14, 10, 8, .25) 34%, transparent 56%), linear-gradient(90deg, rgba(14, 10, 8, .55) 0%, transparent 46%), linear-gradient(180deg, rgba(14, 10, 8, .45), transparent 22%); }
.hero-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(36px, 7vh, 80px); pointer-events: none; }
.hero-copy > .wrap > * { pointer-events: auto; }
.hero-copy h1 { max-width: 11.5em; margin-bottom: 18px; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-copy h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-copy h1 .ln > span { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease-out); }
.hero-copy h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.hero.go h1 .ln > span { transform: none; }
.hero-copy p.lead { max-width: 33em; font-size: 1.2rem; color: #eee5d9; opacity: 0; transform: translateY(12px); transition: opacity 1s .45s, transform 1s .45s var(--ease-out); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; opacity: 0; transform: translateY(12px); transition: opacity 1s .6s, transform 1s .6s var(--ease-out); }
.hero.go p.lead, .hero.go .hero-ctas { opacity: 1; transform: none; }
.mode-switch { position: absolute; z-index: 4; right: max(28px, (100% - 1360px) / 2); top: calc(var(--head-h) + 18px); display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(22, 18, 15, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(243, 236, 226, .18); }
.mode-switch button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--cream); font-weight: 600; font-size: .9rem; transition: background-color .3s, color .3s; }
.mode-switch button svg { width: 18px; height: 18px; }
.mode-switch button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.scene .mode-switch { top: 16px; right: 16px; }
.hero .scene .mode-switch { top: calc(var(--head-h) + 18px); right: max(28px, (100% - 1360px) / 2); }
.hint { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: #e6dccf; margin-top: 22px; opacity: 0; transition: opacity 1s 1.4s; }
.hero.go .hint { opacity: 1; }
.hint i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: ping 2s infinite; flex: none; }

/* hotspots */
.hotspots { position: absolute; inset: 0; z-index: 2; }
.hs { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .22); display: grid; place-items: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transform: scale(.4); transition: opacity .5s, transform .6s var(--ease-out), background-color .25s; }
.hs::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.hs::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: ring 2.6s var(--ease-out) infinite; animation-delay: var(--dl, 0s); }
.show-hs .hs { opacity: 1; transform: none; transition-delay: var(--dl, 0s); }
.hs:hover, .hs[aria-expanded="true"] { background: rgba(255, 255, 255, .45); }
.hs:hover::before, .hs[aria-expanded="true"]::before { transform: scale(1.25); background: var(--clay-2); }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
.hs-card { position: absolute; z-index: 6; width: 270px; padding: 10px; border-radius: 16px; background: rgba(251, 248, 243, .97); color: var(--ink); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: center; text-decoration: none; opacity: 0; transform: translateY(6px) scale(.97); transform-origin: var(--ox, 50%) var(--oy, 100%); pointer-events: none; transition: opacity .25s, transform .35s var(--ease-out); }
.hs-card.on { opacity: 1; transform: none; pointer-events: auto; }
.hs-card img { width: 82px; height: 62px; object-fit: cover; border-radius: 10px; background: var(--stone); }
.hs-card b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.08rem; line-height: 1.15; }
.hs-card span { display: block; font-size: .88rem; color: var(--muted); margin-top: 3px; }
.hs-card span strong { color: var(--ink); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.dark { background: var(--night); color: var(--cream); }
.dark .muted { color: var(--cream-2); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head h2 { margin: 0; max-width: 14em; }
.sec-head p { margin: 14px 0 0; max-width: 34em; color: var(--muted); }
.dark .sec-head p { color: var(--cream-2); }
.sec-tools { display: flex; gap: 10px; align-items: center; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; white-space: nowrap; }
.marquee div { display: inline-flex; gap: 46px; animation: marq 46s linear infinite; padding-left: 46px; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 46px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .9rem; color: var(--clay); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pmedia { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--stone); }
.pmedia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.pmedia img.alt { opacity: 0; }
.pcard:hover .pmedia img.alt.ok { opacity: 1; }
.pcard:hover .pmedia img { transform: scale(1.035); }
.pmedia img.fade { opacity: 0; }
.pbadges { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.pbadge { height: 28px; padding: 0 11px; border-radius: 999px; display: inline-flex; align-items: center; font-size: .76rem; font-weight: 600; letter-spacing: .02em; background: rgba(251, 248, 243, .94); color: var(--ink); }
.pbadge.new { background: var(--ink); color: var(--cream); }
.pbadge.last { background: var(--clay); color: #fff; }
.save { position: absolute; right: 12px; top: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(251, 248, 243, .94); display: grid; place-items: center; color: var(--ink); transition: transform .25s var(--ease), color .2s; }
.save svg { width: 20px; height: 20px; }
.save:hover { transform: scale(1.08); }
.save[aria-pressed="true"] { color: var(--clay); }
.save[aria-pressed="true"] svg path { fill: currentColor; }
.save.pop { animation: pop .45s var(--ease); }
.pinfo { display: grid; gap: 6px; }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.pname { font-family: var(--serif); font-size: 1.32rem; line-height: 1.15; margin: 0; font-variation-settings: "opsz" 30; }
.pname a { text-decoration: none; }
.pname a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pprice { font-weight: 600; white-space: nowrap; font-size: 1.02rem; }
.pmeta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.dots { display: flex; gap: 6px; position: relative; z-index: 2; }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 0; padding: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); position: relative; transition: transform .2s var(--ease); }
.dot:hover { transform: scale(1.15); }
.dot[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.stat { display: inline-flex; align-items: center; gap: 7px; }
.stat i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: none; }
.stat.mto i { background: var(--gold); }
.stat.last i { background: var(--clay); }

/* rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 26px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn[disabled] { opacity: .3; pointer-events: none; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3.4; text-decoration: none; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat div { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.cat b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.cat span { font-size: .85rem; color: var(--muted); font-weight: 600; }


/* room cards */
.room-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.room-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; text-decoration: none; color: var(--cream); background: var(--night-2); }
.room-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity 1s; }
.room-card img.night { opacity: 0; }
.room-card:hover img.night { opacity: 1; }
.room-card:hover img { transform: scale(1.04); }
.room-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 10, 8, .74), transparent 52%); }
.room-card > div { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.room-card h3 { font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.4rem); margin: 0; color: #fff; }
.room-card p { margin: 6px 0 0; color: #eadfd2; font-size: .98rem; max-width: 30em; }
.room-card .arrow { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 236, 226, .18); backdrop-filter: blur(6px); transition: background-color .3s, transform .4s var(--ease); }
.room-card:hover .arrow { background: var(--cream); color: var(--ink); transform: rotate(-45deg); }
.room-card .arrow svg { width: 20px; height: 20px; }

/* spin */
.spin-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.spin { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.spin:active { cursor: grabbing; }
.spin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.spin-ui { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(251, 248, 243, .92); color: var(--ink); font-size: .85rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }
.spin-ui svg { width: 18px; height: 18px; }
.spin-bar { width: 90px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.spin-bar i { display: block; height: 100%; background: var(--clay); width: 0; transition: width .2s; }
.spin.loading .spin-ui span { opacity: .6; }

/* materials */
.mats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.mat { display: grid; gap: 14px; text-decoration: none; }
.mat .ph { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--night-3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.mat .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--ease); }
.mat:hover .ph img { transform: scale(1.28); }
.mat h3 { margin: 4px 0 0; font-size: 1.5rem; }
.mat p { margin: 0; color: var(--cream-2); font-size: .98rem; }

/* visit band */
.visit { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.visit-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; }
.hours { width: 100%; border-collapse: collapse; margin: 22px 0 26px; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid rgba(243, 236, 226, .14); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.today th, .hours tr.today td { color: #f0b98f; }
.light-hours th, .light-hours td { border-bottom-color: var(--line); }
.light-hours tr.today th, .light-hours tr.today td { color: var(--clay); }
.contact-list { display: grid; gap: 12px; margin: 0 0 26px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; }
.contact-list svg { width: 20px; height: 20px; color: var(--clay-2); }

/* ---------- page head ---------- */
.page-head { padding: clamp(46px, 6vw, 84px) 0 clamp(26px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); margin: 0 0 14px; }
.page-head p { max-width: 38em; color: var(--muted); font-size: 1.15rem; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs svg { width: 13px; height: 13px; }

/* ---------- collection ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s, color .2s, border-color .2s; }
.chip em { font-style: normal; font-size: .78rem; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip[aria-pressed="true"] em { color: var(--cream-2); }
.tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 22px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.tools .count { font-weight: 600; margin-right: auto; }
.tools .count span { color: var(--muted); font-weight: 400; }
.search { position: relative; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { height: 48px; width: min(300px, 100%); border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); padding: 0 18px 0 44px; }
.search input:focus, .sel:focus { outline: none; border-color: var(--ink); }
.sel { height: 48px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1914' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center / 15px; padding: 0 42px 0 18px; appearance: none; -webkit-appearance: none; font-weight: 600; font-size: .95rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.grid .pcard { animation: cardIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.empty { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); }
.empty h3 { margin-bottom: 8px; }

/* ---------- piece page ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); gap: clamp(30px, 4vw, 64px); align-items: start; padding-bottom: 40px; }
.gallery { position: sticky; top: calc(var(--head-h) + 18px); display: grid; gap: 14px; }
.g-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.g-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); cursor: zoom-in; }
.g-main > img.out { opacity: 0; }
.g-main .spin { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.g-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.g-thumbs button { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 0; padding: 0; background: var(--stone); opacity: .6; transition: opacity .25s, box-shadow .25s; }
.g-thumbs button:hover { opacity: 1; }
.g-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs .t360 { display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--ink); }
.g-thumbs .t360 svg { width: 22px; height: 22px; display: block; margin: 0 auto 2px; }
.info { display: grid; gap: 22px; }
.info h1 { font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.8rem); margin: 0; }
.info .price { font-size: 1.6rem; font-weight: 600; }
.info .lead { font-size: 1.12rem; color: var(--ink-2); margin: 0; }
.opt-label { display: flex; gap: 8px; align-items: baseline; font-size: .95rem; margin-bottom: 12px; }
.opt-label b { font-weight: 600; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); position: relative; transition: transform .25s var(--ease); }
.swatch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(140deg, rgba(255, 255, 255, .35), transparent 45%, rgba(0, 0, 0, .18)); }
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.status { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--paper-2); font-size: .98rem; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); margin-top: 7px; flex: none; box-shadow: 0 0 0 5px color-mix(in srgb, var(--sage) 20%, transparent); }
.status.mto i { background: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 22%, transparent); }
.status.last i { background: var(--clay); box-shadow: 0 0 0 5px color-mix(in srgb, var(--clay) 18%, transparent); }
.status b { display: block; }
.actions { display: grid; gap: 10px; }
.actions .row { display: flex; gap: 10px; }
.actions .row > * { flex: 1; }
.dims { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 20px; border-radius: var(--r); border: 1.5px solid var(--line); }
.dims dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.dims dt { color: var(--muted); }
.dims dd { margin: 0; font-weight: 600; }
.dims svg { width: 130px; height: auto; color: var(--ink-2); }
.units { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 3px; margin-bottom: 12px; }
.units button { border: 0; background: none; height: 32px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.units button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-style: normal; transition: transform .35s var(--ease), background-color .2s; flex: none; }
.acc details[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--cream); border-color: var(--ink); }
.acc .a { padding: 0 0 20px; color: var(--ink-2); }
.acc ul { margin: 0; padding-left: 20px; }
.acc li { margin: 4px 0; }
.note { font-size: .9rem; color: var(--muted); font-style: italic; }
.seen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* ---------- rooms page ---------- */
.room-nav { position: sticky; top: var(--head-h); z-index: 50; background: rgba(246, 241, 234, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.room-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.room-nav a { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; border: 1.5px solid transparent; }
.room-nav a:hover { border-color: var(--line-2); }
.room-nav a.on { background: var(--ink); color: var(--cream); }
.room-block { padding: clamp(46px, 6vw, 90px) 0 0; }
.room-block .scene { aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--night-2); }
.room-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.room-head h2 { margin: 0; }
.room-head p { margin: 10px 0 0; color: var(--muted); max-width: 36em; }
.room-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin-top: 26px; }
.room-list .pcard .pname { font-size: 1.12rem; }

/* ---------- visit page ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.panel { padding: clamp(24px, 3vw, 38px); border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.faq { display: grid; gap: 0; }
.credits { columns: 2; column-gap: 40px; font-size: .9rem; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.credits li { break-inside: avoid; margin-bottom: 10px; }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--cream-2); padding: clamp(60px, 7vw, 100px) 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-foot .brand { color: var(--cream); margin-bottom: 18px; }
.site-foot h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--cream); margin-bottom: 14px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--cream); text-decoration: underline; }
.site-foot p { max-width: 26em; }
.foot-big { font-family: var(--serif); font-size: clamp(3rem, 1rem + 9vw, 10rem); color: rgba(243, 236, 226, .08); line-height: .9; margin: 50px 0 10px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(243, 236, 226, .12); font-size: .88rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(243, 236, 226, .2); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }

/* ---------- drawer, overlay, toast, lightbox ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(14, 10, 8, .5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(450px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; box-shadow: var(--shadow-lg); }
.drawer.on { transform: none; visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 6px 24px; }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sv { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sv img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--stone); }
.sv a { text-decoration: none; font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; display: block; }
.sv span { font-size: .88rem; color: var(--muted); }
.sv .icon-btn { width: 38px; height: 38px; }
.total { display: flex; justify-content: space-between; font-weight: 600; padding: 4px 0; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 450; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--cream); padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-lg); pointer-events: none; transition: opacity .3s, transform .45s var(--ease-out); max-width: calc(100% - 28px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: var(--stone); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.on { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.lb-top b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; }
.lb-stage img { max-width: 96vw; max-height: 80vh; object-fit: contain; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-count { text-align: center; padding: 14px; font-weight: 600; }

/* page transition */
main { animation: pagein .6s var(--ease-out); }
@keyframes pagein { from { opacity: 0; } }
body.leaving main, body.leaving .site-foot { opacity: 0; transition: opacity .22s; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --head-h: 66px; --wrap: min(1360px, 100% - 36px); }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .head-actions { margin-left: auto; }
  .brand span { font-size: 1.35rem; }
  .spin-feature, .visit, .visit-grid, .pd { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; }
  .room-cards { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 600px; }
  .mode-switch { top: calc(var(--head-h) + 12px); right: 16px; }
  .mode-switch button { height: 36px; padding: 0 12px; }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat b { font-size: 1.25rem; }
  .rail { grid-auto-columns: 82%; }
  .hero { height: 92svh; }
  .hero::after { background: linear-gradient(0deg, rgba(14, 10, 8, .85) 0%, rgba(14, 10, 8, .35) 45%, transparent 65%), linear-gradient(180deg, rgba(14, 10, 8, .5), transparent 22%); }
  .hero .scene-imgs img { object-position: 58% 50%; }
  .hero-copy p.lead { font-size: 1.05rem; }
  .hs { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .hs-card { width: 240px; }
  .mode-switch button span { display: none; }
  .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .g-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .tools .search, .tools .search input, .tools .sel { width: 100%; }
  .tools .count { width: 100%; }
  .credits { columns: 1; }
  .seen { grid-template-columns: 1fr; }
  .dims { grid-template-columns: 1fr; }
  .dims svg { width: 110px; }
  .actions .row { flex-direction: column; }
  .room-block .scene { border-radius: var(--r); aspect-ratio: 4 / 3; }
  .room-block .scene .scene-imgs img { object-position: 55% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

.hero-copy { pointer-events: none; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.hero-copy * { pointer-events: none; }
.hero-copy a, .hero-copy a *, .hero-copy button { pointer-events: auto; }
