:root {
  --paper: #ece9e2;
  --paper-deep: #e2dfd7;
  --ink: #1d292f;
  --ink-soft: #627078;
  --line: rgba(29, 41, 47, 0.18);
  --line-soft: rgba(29, 41, 47, 0.1);
  --sea: #b7c9c3;
  --sea-deep: #7d9c96;
  --clay: #b76544;
  --clay-light: #d18c67;
  --serif: "Fraunces", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }

button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.site-shell { min-height: 100vh; padding: 0 4.2vw; }

.site-header {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.wordmark-mark {
  width: 17px;
  height: 17px;
  display: block;
  flex: 0 0 auto;
}

.primary-nav { display: flex; align-items: center; gap: 30px; }

.nav-link, .about-link, .quiet-button, .room-tab, .filter-chip, .round-control, .save-control, .next-control, .text-action, .overlay-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.inline-icon { display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.external-arrow { width: 13px; height: 13px; }
.action-arrow { width: 23px; height: 23px; }
.action-arrow-small { width: 17px; height: 17px; }

.nav-link, .about-link {
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--clay); transition: width 180ms ease; }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active, .nav-link:hover, .about-link:hover { color: var(--ink); }

.saved-count { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 4px; padding: 0 4px; border-radius: 10px; background: var(--sea); color: var(--ink); font-family: var(--mono); font-size: 9px; line-height: 1; }
.about-link { justify-self: end; display: inline-flex; align-items: center; gap: 4px; }
.about-link .external-arrow, .quiet-button .external-arrow, .overlay-link .external-arrow { color: var(--clay); }

.discover-view { display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(500px, 1.8fr); gap: 6vw; max-width: 1440px; margin: 0 auto; padding: clamp(54px, 8vh, 104px) 0 62px; }
.intro-column { padding-top: 38px; }
.eyebrow, .studio-kicker, .browse-label, .selector-heading, .source-note, .keyboard-note, .room-stamp, .art-number, .saved-count, .note-rule, .source-dot { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; }
.eyebrow { margin: 0 0 28px; color: var(--clay); font-size: 10px; font-weight: 500; }

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 420px; margin-bottom: 30px; font-family: var(--serif); font-size: clamp(42px, 4vw, 72px); font-weight: 500; letter-spacing: -0.065em; line-height: 0.97; }
h1 em { color: var(--sea-deep); font-style: italic; font-weight: 500; }
.intro-copy { max-width: 320px; margin-bottom: 54px; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.intro-note { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 62px; color: var(--ink); }
.intro-note p { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.28; }
.note-rule { width: 26px; height: 1px; flex: 0 0 auto; margin-top: 9px; background: var(--clay); }
.source-note { display: grid; gap: 6px; max-width: 320px; color: var(--ink-soft); font-size: 9px; line-height: 1.5; letter-spacing: 0.06em; }
.source-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sea-deep); text-underline-offset: 3px; }
.source-note-label { color: var(--ink-soft); }
.source-list { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.source-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.source-item .source-dot { margin-top: 0; width: 5px; height: 5px; }
.source-dot, .browse-label-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: var(--clay); }
.source-dot.is-loading { background: var(--ink-soft); animation: source-pulse 1.2s ease-in-out infinite; }
.source-dot.is-live { background: var(--sea-deep); }
.source-dot.is-fallback { background: var(--clay); }
.source-status { color: var(--ink-soft); letter-spacing: .04em; }
.source-status.is-live { color: var(--sea-deep); }
.source-status.is-fallback { color: var(--clay); }
@keyframes source-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.studio-column { min-width: 0; }
.studio-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.studio-kicker { margin-bottom: 8px; color: var(--ink-soft); font-size: 9px; }
.studio-title-row { display: flex; align-items: baseline; gap: 10px; }
.studio-title { margin: 0; font-family: var(--serif); font-size: 20px; letter-spacing: -0.035em; }
.studio-art-number { color: var(--clay); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.studio-artist { margin: 4px 0 0; color: var(--ink-soft); font-size: 10px; }
.quiet-button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; color: var(--ink-soft); font-size: 11px; }
.quiet-button:hover { color: var(--ink); }

.room-scene { --wall: #d6c7b4; --wall-shadow: rgba(119, 85, 64, 0.16); --floor: #b1a18d; --floor-line: rgba(64, 55, 45, 0.25); --trim: #e7dfd2; --decor: #76908a; position: relative; overflow: hidden; min-height: 555px; aspect-ratio: 1.43 / 1; isolation: isolate; background: var(--wall); box-shadow: 0 22px 44px rgba(29, 41, 47, 0.09); transition: background-color 480ms ease; }
.room-image { background-position: center; background-repeat: no-repeat; background-size: cover; }
.room-image::before { display: none; }
.room-image > .scene-light, .room-image > .scene-wall-line, .room-image > .scene-floor, .room-image > .scene-rug, .room-image > .scene-window, .room-image > .scene-console, .room-image > .scene-plant, .room-image > .scene-chair, .room-art-only > .scene-light, .room-art-only > .scene-wall-line, .room-art-only > .scene-floor, .room-art-only > .scene-rug, .room-art-only > .scene-window, .room-art-only > .scene-console, .room-art-only > .scene-plant, .room-art-only > .scene-chair { display: none; }
.room-scene::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 67% 17%, rgba(255,255,255,0.48), transparent 34%), linear-gradient(110deg, transparent 0 62%, var(--wall-shadow) 62.2%, transparent 62.6%); opacity: .75; }
.scene-light { position: absolute; z-index: -1; top: -21%; right: 14%; width: 46%; height: 70%; background: rgba(255, 246, 216, 0.18); filter: blur(10px); transform: rotate(13deg); }
.scene-wall-line { position: absolute; z-index: 0; top: 0; right: 7%; width: 1px; height: 79%; background: rgba(63, 66, 61, .12); }
.scene-floor { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 22%; background: linear-gradient(7deg, var(--floor) 0%, color-mix(in srgb, var(--floor) 78%, white) 100%); border-top: 2px solid var(--floor-line); }
.scene-floor::after { content: ""; position: absolute; inset: 26% 0 auto; height: 1px; background: rgba(255,255,255,.18); box-shadow: 0 22px rgba(70, 63, 54, .09), 0 45px rgba(70, 63, 54, .07); }
.scene-rug { position: absolute; z-index: 0; right: 10%; bottom: 5%; width: 57%; height: 10%; border-radius: 50%; background: rgba(235, 227, 209, .34); transform: rotate(-2deg); filter: blur(.2px); }

.scene-window { position: absolute; top: 10%; left: 7%; width: 16%; height: 27%; border: 5px solid var(--trim); background: linear-gradient(134deg, rgba(204, 224, 220, .65), rgba(130, 163, 158, .55)); box-shadow: 0 3px 0 rgba(50, 56, 53, .1); }
.scene-window::before, .scene-window::after { content: ""; position: absolute; background: rgba(232, 231, 211, .75); }
.scene-window::before { top: 0; bottom: 0; left: 49%; width: 2px; }
.scene-window::after { right: 0; left: 0; top: 50%; height: 2px; }
.scene-window span { position: absolute; bottom: -12px; left: 12%; width: 76%; height: 10px; background: var(--trim); }
.scene-window span + span { display: none; }

.scene-console { position: absolute; z-index: 2; right: 7%; bottom: 18%; width: 23%; height: 20%; }
.console-top { position: absolute; z-index: 2; right: -3%; left: -3%; top: 0; height: 9px; border-radius: 1px; background: #9c694d; box-shadow: 0 2px rgba(58, 45, 36, .25); }
.console-body { position: absolute; right: 4%; bottom: 0; left: 4%; height: 77%; background: #ad7758; box-shadow: inset 0 6px rgba(255,255,255,.08); }
.console-leg { position: absolute; bottom: -23%; width: 4px; height: 25%; background: #75503d; }
.console-leg-left { left: 11%; } .console-leg-right { right: 11%; }

.scene-plant { position: absolute; z-index: 3; right: 28%; bottom: 17%; width: 9%; height: 29%; }
.plant-pot { position: absolute; z-index: 2; right: 12%; bottom: 0; width: 76%; height: 26%; border-radius: 2px 2px 8px 8px; background: var(--decor); }
.leaf { position: absolute; bottom: 21%; left: 45%; width: 24%; height: 62%; border-radius: 100% 0 100% 0; background: #587d71; transform-origin: bottom center; }
.leaf-one { transform: rotate(-32deg); } .leaf-two { height: 70%; transform: rotate(17deg); background: #668b7d; } .leaf-three { height: 54%; transform: rotate(52deg); background: #426c64; } .leaf-four { height: 47%; transform: rotate(-63deg); background: #719389; }

.scene-chair { position: absolute; z-index: 1; left: 6%; bottom: 17%; width: 16%; height: 28%; }
.chair-back { position: absolute; top: 0; left: 10%; width: 80%; height: 62%; border-radius: 40% 40% 6px 6px; background: #9a6b53; }
.chair-seat { position: absolute; bottom: 23%; left: 4%; width: 92%; height: 24%; border-radius: 4px; background: #a87559; }
.chair-leg { position: absolute; bottom: 0; width: 4px; height: 27%; background: #694d3d; transform: rotate(7deg); }
.chair-leg-left { left: 17%; } .chair-leg-right { right: 17%; }

.art-placement { position: absolute; z-index: 5; top: 18%; left: 37%; width: min(29%, 245px); min-width: 170px; transition: transform 420ms cubic-bezier(.22,.75,.25,1), opacity 220ms ease; }
.art-placement.is-landscape { top: 26%; left: 31%; width: min(41%, 350px); }
.art-placement.is-changing { opacity: 0; transform: translateY(7px) rotate(.5deg); }
.art-frame { padding: 8px; background: #353630; box-shadow: 14px 18px 24px rgba(48, 41, 35, .27), inset 0 0 0 1px rgba(255,255,255,.12); }
.art-mat { position: relative; aspect-ratio: 0.74; overflow: hidden; padding: 10px; background: #e9e3d4; box-shadow: inset 0 0 0 1px rgba(35, 39, 36, .14); }
.art-placement.is-landscape .art-mat { aspect-ratio: 1.42; }
.art-mat img { display: block; width: 100%; height: 100%; position: relative; z-index: 1; object-fit: cover; background: #b9afa0; transition: opacity 250ms ease; }
.art-placement.is-landscape .art-mat img { object-fit: contain; }
.art-mat img.image-failed { opacity: 0; }
.art-fallback { position: absolute; inset: 10px; overflow: hidden; background: #a99d8e; }
.art-fallback span { position: absolute; display: block; }
.art-fallback span:nth-child(1) { inset: 0 0 44%; background: #d7c3a3; }
.art-fallback span:nth-child(2) { right: 0; bottom: 0; left: 0; height: 47%; background: #6d7d76; clip-path: polygon(0 42%, 42% 20%, 64% 48%, 100% 6%, 100% 100%, 0 100%); }
.art-fallback span:nth-child(3) { top: 15%; left: 13%; width: 27%; height: 30%; border-radius: 50%; background: #c47752; }
.art-fallback span:nth-child(4) { top: 18%; right: 16%; width: 38%; height: 42%; background: #4a5a61; transform: rotate(16deg); }
.room-stamp { position: absolute; right: 3.2%; bottom: 4%; display: flex; align-items: center; gap: 10px; color: rgba(29, 41, 47, .58); font-size: 8px; }
.stamp-line { display: inline-block; width: 28px; height: 1px; background: currentColor; }

.room-blue-hour { background-color: #d7c4aa; background-image: url("assets/limestone-salon.png"); }
.room-blue-hour .room-stamp { color: #2b322f; text-shadow: none; }
.room-plaster-gallery { background-color: #d8d4cb; background-image: url("assets/two.jpg"); }
.room-rose-bedroom { background-color: #d6b8b2; background-image: url("assets/three.jpg"); }
.room-art-only { background-color: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.room-art-only::before { display: block; z-index: -1; background: radial-gradient(ellipse at 50% 25%, rgba(255,255,255,.68), transparent 52%), linear-gradient(180deg, rgba(226,223,215,.42), transparent 70%); opacity: 1; }

.room-selector-wrap { margin-top: 23px; }
.selector-heading { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--ink-soft); font-size: 9px; letter-spacing: .08em; }
.selector-hint { opacity: .7; }
.room-selector { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-tab { min-height: 55px; display: flex; align-items: center; gap: 10px; padding: 12px 11px; color: var(--ink-soft); text-align: left; font-size: 11px; transition: color 180ms ease, background 180ms ease; }
.room-tab + .room-tab { border-left: 1px solid var(--line-soft); }
.room-tab:hover { color: var(--ink); background: rgba(255,255,255,.24); }
.room-tab.is-active { color: var(--ink); background: rgba(183, 201, 195, .22); }
.tab-index { color: var(--clay); font-family: var(--mono); font-size: 8px; }

.browse-bar { display: flex; align-items: center; gap: 22px; margin-top: 27px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.browse-label { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 9px; letter-spacing: .08em; }
.filter-count { color: var(--clay); white-space: nowrap; }
.filter-list { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.filter-list::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); font-size: 10px; }
.filter-chip:hover { border-color: var(--sea-deep); color: var(--ink); }
.filter-chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.control-deck { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.round-control, .save-control, .next-control { min-height: 47px; border: 1px solid var(--line); transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.round-control { display: grid; place-items: center; width: 47px; padding: 0; border-radius: 50%; }
.round-control:hover { border-color: var(--ink); background: rgba(255,255,255,.4); transform: translateX(-2px); }
.save-control { display: flex; align-items: center; gap: 9px; padding: 0 16px; font-size: 11px; }
.save-control:hover { border-color: var(--clay); color: var(--clay); }
.save-control.is-saved { border-color: var(--clay); background: rgba(183, 101, 68, .1); color: var(--clay); }
.heart-icon { width: 20px; height: 20px; }
.next-control { display: flex; flex: 1; align-items: center; justify-content: space-between; padding: 0 17px 0 19px; border-color: var(--ink); background: var(--ink); color: var(--paper); font-size: 11px; }
.next-control:hover { background: var(--clay); border-color: var(--clay); transform: translateX(2px); }
.next-arrow { width: 23px; height: 23px; }
.keyboard-note { margin: 12px 0 0; color: var(--ink-soft); font-size: 8px; letter-spacing: .06em; text-align: right; }
.keyboard-note span { color: var(--clay); }
kbd { padding: 2px 4px; border: 1px solid var(--line); border-radius: 2px; font-family: var(--mono); font-size: 8px; }

.browse-view { max-width: 1220px; margin: 0 auto; padding: clamp(58px, 9vh, 112px) 0 80px; }
.browse-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.browse-heading h2 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(40px, 5vw, 70px); font-weight: 500; letter-spacing: -.065em; line-height: .95; }
.browse-tools { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: end; gap: 24px; padding: 26px 0 18px; border-bottom: 1px solid var(--line); }
.browse-search { display: grid; gap: 7px; color: var(--ink-soft); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.browse-search input { width: 100%; padding: 9px 0 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 14px; }
.browse-search input:focus { border-color: var(--clay); }
.browse-search input::placeholder { color: var(--ink-soft); opacity: .72; }
.browse-filters { display: flex; gap: 7px; }
.browse-count { padding-bottom: 9px; color: var(--ink-soft); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.browse-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; padding-top: 32px; }
.browse-card { cursor: pointer; }
.browse-card-image { position: relative; overflow: hidden; aspect-ratio: .82; padding: 12px; background: var(--paper-deep); }
.browse-card-image::before { content: ""; position: absolute; inset: 9%; background: rgba(255,255,255,.34); transform: rotate(-4deg); }
.browse-card-image img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; background: #c7c1b7; box-shadow: 8px 10px 14px rgba(29, 41, 47, .13); transition: transform 350ms cubic-bezier(.22,.75,.25,1); }
.browse-card:hover .browse-card-image img { transform: scale(1.025); }
.browse-card-info { padding-top: 12px; }
.browse-card-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--clay); font-family: var(--mono); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.browse-card h3 { margin: 8px 0 3px; font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.browse-card p { margin: 0; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.browse-more { display: grid; justify-items: center; gap: 10px; margin-top: 44px; padding: 34px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.browse-more::before { content: ""; width: 28px; border-top: 1px solid var(--clay); }
.browse-more button { color: var(--ink); font-family: var(--serif); font-size: 22px; letter-spacing: -.035em; }
.browse-more-status { color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.browse-more button:disabled { opacity: .55; cursor: wait; }
.action-arrow-small { width: 16px; height: 16px; }
.browse-empty { display: grid; place-items: center; min-height: 300px; border-bottom: 1px solid var(--line); text-align: center; }
.browse-empty h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.browse-empty p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.saved-view { max-width: 1220px; margin: 0 auto; padding: clamp(58px, 9vh, 112px) 0 80px; }
.saved-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.saved-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5vw, 70px); font-weight: 500; letter-spacing: -.065em; line-height: .95; }
.saved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 22px; padding-top: 34px; }
.saved-card { cursor: pointer; }
.saved-card-image { position: relative; overflow: hidden; aspect-ratio: .82; padding: 16px; background: #d9d4c9; }
.saved-card-image::before { content: ""; position: absolute; inset: 10%; background: rgba(255,255,255,.16); transform: rotate(-5deg); }
.saved-card-image img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: 8px 10px 14px rgba(29, 41, 47, .16); transition: transform 350ms cubic-bezier(.22,.75,.25,1); }
.saved-card:hover .saved-card-image img { transform: scale(1.025); }
.saved-card-info { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding-top: 13px; }
.saved-card-number { grid-row: span 2; color: var(--clay); font-family: var(--mono); font-size: 9px; }
.saved-card-title { font-family: var(--serif); font-size: 19px; letter-spacing: -.04em; }
.saved-card-artist { color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.saved-empty { display: grid; place-items: center; min-height: 380px; border-bottom: 1px solid var(--line); text-align: center; }
.empty-mark { color: var(--clay); font-size: 48px; font-family: var(--serif); }
.saved-empty h3 { margin: 15px 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.saved-empty p { max-width: 270px; margin-bottom: 23px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.text-action { display: inline-flex; align-items: center; gap: 5px; padding: 0 0 4px; border-bottom: 1px solid var(--clay); color: var(--ink); font-size: 11px; }
.text-action .action-arrow { color: var(--clay); }

.site-footer { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.footer-center { position: absolute; left: 50%; color: var(--clay); transform: translateX(-50%); white-space: nowrap; }

.overlay { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 24px; }
.overlay-scrim { position: absolute; inset: 0; background: rgba(29, 41, 47, .38); backdrop-filter: blur(3px); }
.overlay-panel { position: relative; width: min(100%, 420px); padding: 44px 42px 42px; background: var(--paper); box-shadow: 0 24px 80px rgba(29,41,47,.24); animation: panel-in 260ms ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.overlay-close { position: absolute; top: 15px; right: 18px; padding: 3px; color: var(--ink-soft); font-size: 25px; font-weight: 300; line-height: 1; }
.overlay-panel h2 { max-width: 320px; margin-bottom: 9px; font-family: var(--serif); font-size: 42px; font-weight: 500; letter-spacing: -.06em; line-height: .96; }
.overlay-meta { color: var(--ink-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.overlay-rule { width: 100%; height: 1px; margin: 28px 0 23px; background: var(--line); }
.overlay-panel > p:not(.eyebrow):not(.overlay-meta) { color: var(--ink-soft); font-size: 14px; line-height: 1.62; }
.overlay-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--ink); font-size: 11px; text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 4px; }
.overlay-link .external-arrow { text-decoration: none; }
.overlay-source { display: flex; gap: 10px; margin-top: 50px; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; line-height: 1.55; letter-spacing: .08em; text-transform: uppercase; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: 260px; padding: 12px 15px; border: 1px solid var(--line); background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .discover-view { grid-template-columns: 1fr; gap: 48px; padding-top: 62px; }
  .intro-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr); column-gap: 42px; padding-top: 0; }
  .intro-column .eyebrow, .intro-column h1, .intro-column .intro-copy { grid-column: 1; }
  .intro-note { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0 0 10px; }
  .source-note { grid-column: 1; }
  .studio-column { max-width: 900px; width: 100%; margin: 0 auto; }
  .browse-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .site-shell { padding: 0 18px; }
  body { overflow-x: hidden; }
  .site-header { display: flex; height: 64px; min-width: 0; justify-content: space-between; gap: 12px; }
  .wordmark { font-size: 18px; }
  .primary-nav { min-width: 0; margin-left: auto; gap: 18px; }
  .nav-link { white-space: nowrap; }
  .about-link { display: none; }
  .discover-view { gap: 42px; padding: 48px 0 50px; }
  .intro-column { display: block; }
  h1 { max-width: 330px; font-size: clamp(44px, 14vw, 66px); }
  .intro-copy { margin-bottom: 30px; }
  .intro-note { margin: 0 0 30px; }
  .source-note { margin-bottom: 12px; }
  .studio-header { align-items: start; gap: 16px; }
  .studio-title { max-width: 180px; font-size: 18px; line-height: 1.05; }
  .quiet-button { flex: 0 0 auto; }
  .room-scene { min-height: 0; height: clamp(390px, 92vw, 470px); aspect-ratio: auto; }
  .art-placement { top: 18%; left: 31%; width: 38%; min-width: 125px; }
  .art-placement.is-landscape { top: 29%; left: 17%; width: 66%; min-width: 0; }
  .art-frame { padding: 5px; }
  .art-mat { padding: 6px; }
  .art-fallback { inset: 6px; }
  .scene-chair { left: 3%; width: 20%; }
  .scene-console { right: 4%; width: 28%; }
  .scene-plant { right: 29%; }
  .room-stamp { right: 4%; bottom: 3%; font-size: 6px; gap: 6px; }
  .stamp-line { width: 17px; }
  .selector-heading { font-size: 8px; }
  .selector-hint { display: none; }
  .room-selector { grid-template-columns: repeat(4, minmax(118px, 1fr)); overflow-x: auto; }
  .room-selector::-webkit-scrollbar { display: none; }
  .room-tab { min-height: 48px; padding: 10px 9px; font-size: 10px; }
  .browse-bar { display: block; margin-top: 20px; }
  .browse-label { margin-bottom: 10px; }
  .control-deck { gap: 8px; }
  .round-control { width: 43px; min-height: 43px; }
  .save-control { min-height: 43px; padding: 0 12px; }
  .next-control { min-height: 43px; padding: 0 13px; }
  .keyboard-note { display: none; }
  .site-footer { display: block; line-height: 1.7; }
  .footer-center { position: static; display: block; margin: 4px 0; transform: none; }
  .saved-view { padding-top: 48px; }
  .browse-view { padding-top: 48px; }
  .browse-heading { display: block; }
  .browse-heading .quiet-button { margin-top: 22px; }
  .browse-tools { grid-template-columns: 1fr; gap: 18px; }
  .browse-filters { overflow-x: auto; }
  .browse-count { padding-bottom: 0; }
  .browse-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; padding-top: 26px; }
  .browse-more { gap: 9px; margin-top: 30px; padding: 28px 0 24px; }
  .browse-card-image { padding: 9px; }
  .browse-card h3 { font-size: 17px; }
  .saved-heading { display: block; }
  .saved-heading .quiet-button { margin-top: 22px; }
  .saved-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .saved-card-image { padding: 9px; }
  .saved-card-title { font-size: 16px; }
  .saved-card-artist, .saved-card-number { font-size: 6px; }
  .overlay-panel { padding: 38px 25px 30px; }
  .overlay-panel h2 { font-size: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
