:root {
    --showroom-ink: #122746;
    --showroom-paper: #f3f0e9;
    --showroom-line: rgba(18, 39, 70, .17);
    --showroom-muted: #6f747b;
    --showroom-gold: #b69b63;
}

.showroom-loading[hidden], .showroom-empty[hidden], .showroom-error[hidden],
.selection-dock[hidden], .showroom-toast[hidden] { display: none !important; }

.page-showroom { background: var(--showroom-paper); color: var(--showroom-ink); }

.showroom-hero { position: relative; min-height: min(820px, 91vh); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--showroom-line); padding: 180px 0 92px; }
.showroom-hero__wash { position: absolute; inset: 0; background:
    radial-gradient(circle at 74% 20%, rgba(221, 192, 189, .54), transparent 34%),
    radial-gradient(circle at 88% 74%, rgba(153, 179, 201, .38), transparent 31%),
    linear-gradient(118deg, #f6f0e6 0%, #edf0ef 54%, #e6dfd8 100%); }
.showroom-hero__wash::after { content: ""; position: absolute; width: min(47vw, 680px); aspect-ratio: 1; border: 1px solid rgba(18, 39, 70, .12); border-radius: 50%; right: 7vw; top: 13%; box-shadow: inset 0 0 100px rgba(255,255,255,.46), 0 36px 90px rgba(18,39,70,.06); }
.showroom-hero__inner { position: relative; z-index: 1; }
.showroom-hero h1 { max-width: 970px; margin: 24px 0 28px; font-family: var(--font-display, Georgia, serif); font-size: clamp(70px, 10vw, 158px); line-height: .82; letter-spacing: -.065em; font-weight: 400; }
.showroom-hero h1 em { display: inline-block; margin-left: 12vw; color: #6f7e92; font-weight: 400; }
.showroom-hero__intro { max-width: 610px; margin-left: auto; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.6; color: #4f5a68; }
.showroom-hero__start { display: inline-flex; gap: 16px; align-items: center; margin-top: 36px; padding-bottom: 8px; border-bottom: 1px solid currentColor; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; }
.showroom-hero__note { position: absolute; z-index: 1; right: 34px; top: 50%; writing-mode: vertical-rl; letter-spacing: .24em; font-size: 9px; color: rgba(18,39,70,.45); }

.showroom-workspace { padding: clamp(86px, 9vw, 150px) 0 140px; }
.showroom-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 8vw; align-items: end; margin-bottom: 64px; }
.showroom-heading h2 { margin: 18px 0 0; font-family: var(--font-display, Georgia, serif); font-size: clamp(46px, 6.2vw, 90px); line-height: .95; letter-spacing: -.045em; font-weight: 400; }
.showroom-heading > p { max-width: 490px; color: var(--showroom-muted); line-height: 1.75; }

.showroom-filters { position: sticky; top: 78px; z-index: 6; display: grid; grid-template-columns: minmax(220px, 1.55fr) repeat(5, minmax(128px, 1fr)) auto; gap: 1px; background: var(--showroom-line); border: 1px solid var(--showroom-line); box-shadow: 0 16px 34px rgba(18,39,70,.07); }
.showroom-filters label { display: flex; flex-direction: column; gap: 8px; min-width: 0; background: rgba(250,248,243,.97); padding: 15px 17px; }
.showroom-filters label > span { text-transform: uppercase; letter-spacing: .13em; font-size: 8px; font-weight: 700; color: #7f7d78; }
.showroom-filters input, .showroom-filters select { width: 100%; border: 0; padding: 0; background: transparent; color: var(--showroom-ink); font: inherit; font-size: 13px; outline: 0; }
.showroom-filters input::placeholder { color: #99968f; }
.showroom-reset { border: 0; background: var(--showroom-ink); color: white; padding: 18px; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; cursor: pointer; }
.showroom-reset:hover { background: #28466d; }

.showroom-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0 24px; border-bottom: 1px solid var(--showroom-line); }
.showroom-results-bar p { margin: 0; color: #626872; font-size: 13px; }
.showroom-results-bar div { display: flex; gap: 22px; }
.showroom-results-bar button, .showroom-empty button { border: 0; border-bottom: 1px solid currentColor; padding: 0 0 4px; background: transparent; color: var(--showroom-ink); text-transform: uppercase; letter-spacing: .11em; font-size: 9px; font-weight: 700; cursor: pointer; }

.showroom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 24px; padding-top: 34px; }
.showroom-card { position: relative; min-width: 0; }
.showroom-card__select { position: absolute; z-index: 3; left: 13px; top: 13px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(13,25,42,.42); color: white; backdrop-filter: blur(10px); cursor: pointer; transition: .25s ease; }
.showroom-card__select::before { content: "+"; font-size: 20px; font-weight: 300; line-height: 1; }
.showroom-card.is-selected .showroom-card__select { background: white; color: var(--showroom-ink); border-color: white; transform: rotate(45deg); }
.showroom-card__image-button { position: relative; display: grid; place-items: center; width: 100%; min-height: clamp(300px, 35vw, 520px); border: 0; padding: clamp(22px, 3vw, 50px); overflow: hidden; background: #e7e2d8; cursor: pointer; }
.showroom-card:nth-child(4n+2) .showroom-card__image-button { background: #dfe5e5; }
.showroom-card:nth-child(4n+3) .showroom-card__image-button { background: #e8e0dc; }
.showroom-card:nth-child(4n+4) .showroom-card__image-button { background: #e4e4d8; }
.showroom-card__image-button::after { content: "Select work"; position: absolute; inset: auto 14px 14px auto; padding: 8px 10px; background: rgba(250,248,243,.92); text-transform: uppercase; letter-spacing: .1em; font-size: 8px; opacity: 0; transform: translateY(5px); transition: .25s ease; }
.showroom-card__image-button:hover::after { opacity: 1; transform: none; }
.showroom-card.is-selected .showroom-card__image-button { box-shadow: inset 0 0 0 3px var(--showroom-ink); }
.showroom-card__image-button img { display: block; max-width: 100%; max-height: clamp(255px, 29vw, 430px); width: auto; height: auto; object-fit: contain; box-shadow: 0 18px 32px rgba(18,39,70,.16); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.showroom-card__image-button:hover img { transform: scale(1.018); }
.showroom-card__caption { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: 17px 2px 0; }
.showroom-card__caption h3 { margin: 0 0 7px; font-family: var(--font-display, Georgia, serif); font-size: clamp(21px, 2vw, 30px); line-height: 1.05; font-weight: 400; letter-spacing: -.025em; }
.showroom-card__caption p { margin: 0; color: var(--showroom-muted); font-size: 12px; line-height: 1.5; }
.showroom-card__caption > span { font-size: 11px; color: #787b80; }
.showroom-card__status { display: inline-block; margin-top: 9px; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; color: #6f654f; }
.showroom-card__open { display: inline-flex; margin-top: 14px; padding-bottom: 3px; border-bottom: 1px solid rgba(18,39,70,.32); text-transform: uppercase; letter-spacing: .12em; font-size: 8px; font-weight: 700; }

.showroom-loading { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 18px; color: var(--showroom-muted); }
.showroom-loading span { width: 34px; height: 34px; border: 1px solid rgba(18,39,70,.18); border-top-color: var(--showroom-ink); border-radius: 50%; animation: showroom-spin .8s linear infinite; }
.showroom-loading p { font-size: 12px; letter-spacing: .08em; }
@keyframes showroom-spin { to { transform: rotate(360deg); } }
.showroom-empty { text-align: center; padding: 120px 24px; }
.showroom-empty h3 { font-family: var(--font-display, Georgia, serif); font-size: clamp(34px,5vw,64px); font-weight: 400; }
.showroom-error { margin: 40px 0; padding: 28px; border: 1px solid #d4b7aa; background: #f6e9e3; }

.selection-dock { position: fixed; z-index: 30; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(880px, calc(100vw - 32px)); display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 10px; background: rgba(16,31,53,.94); color: white; box-shadow: 0 20px 70px rgba(5,15,29,.28); backdrop-filter: blur(20px); }
.selection-dock > div { display: flex; align-items: center; gap: 10px; }
.selection-dock span { padding: 0 16px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.selection-dock button { border: 0; padding: 15px 18px; background: transparent; color: white; font: inherit; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.selection-dock__share { border: 1px solid rgba(255,255,255,.25)!important; }
.selection-dock__start { background: white!important; color: var(--showroom-ink)!important; }
.showroom-toast { position: fixed; z-index: 60; left: 50%; bottom: 110px; transform: translateX(-50%); padding: 13px 18px; background: white; color: var(--showroom-ink); box-shadow: 0 15px 50px rgba(18,39,70,.2); font-size: 12px; }

.presentation { position: fixed; z-index: 10000; inset: 0; overflow: hidden; background: #0e1115; color: #f5f2eb; }
.presentation[hidden] { display: none; }
.presentation__ambient { position: absolute; inset: -8%; background: radial-gradient(circle at 50% 45%, rgba(102,112,119,.17), transparent 45%); filter: blur(50px); transition: background 1s ease; }
.presentation__header { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 34px; }
.presentation__brand { display: inline-flex; align-items: baseline; gap: 9px; width: max-content; color: white; }
.presentation__brand span { font-family: var(--font-display, Georgia, serif); font-size: 28px; font-style: italic; letter-spacing: -.04em; }
.presentation__brand small { font-size: 7px; letter-spacing: .28em; text-transform: uppercase; opacity: .58; }
.presentation__counter { font-size: 10px; letter-spacing: .18em; }
.presentation__close { justify-self: end; border: 0; padding: 10px; background: transparent; color: white; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; cursor: pointer; }
.presentation__close span { margin-left: 10px; font-size: 20px; font-weight: 300; vertical-align: -2px; }
.presentation__stage { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 90px minmax(0,1fr) 90px; align-items: center; padding: 102px 0 92px; }
.presentation__figure { height: 100%; min-height: 0; margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; gap: 20px; }
.presentation__image-wrap { width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; }
.presentation__image-wrap img { display: block; max-width: calc(100vw - 210px); max-height: calc(100vh - 285px); width: auto; height: auto; object-fit: contain; box-shadow: 0 26px 90px rgba(0,0,0,.48); opacity: 1; transform: none; transition: opacity .32s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.presentation.is-changing .presentation__image-wrap img { opacity: 0; transform: scale(.985); }
.presentation figcaption { width: min(700px, 84vw); text-align: center; transition: opacity .3s ease, transform .3s ease; }
.presentation.is-captions-off figcaption { opacity: 0; transform: translateY(8px); pointer-events: none; }
.presentation figcaption h2 { margin: 4px 0 6px; font-family: var(--font-display, Georgia, serif); font-size: clamp(24px, 2.4vw, 38px); line-height: 1; font-weight: 400; }
.presentation figcaption p { margin: 0; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.presentation__arrow { width: 58px; height: 58px; justify-self: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.04); color: white; font-size: 19px; cursor: pointer; transition: .2s ease; }
.presentation__arrow:hover { background: white; color: #10151c; }
.presentation__controls { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid rgba(255,255,255,.12); background: rgba(14,17,21,.76); backdrop-filter: blur(18px); }
.presentation__controls button, .presentation__controls label, .presentation__controls a { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0 13px; background: transparent; color: rgba(255,255,255,.77); font: inherit; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.presentation__controls button, .presentation__controls select { cursor: pointer; }
.presentation__controls button[aria-pressed="true"] { background: rgba(255,255,255,.1); color: white; }
.presentation__controls select { border: 0; background: transparent; color: white; font: inherit; font-size: 9px; }
.presentation__controls a { background: white; color: #111b29; }
.presentation__progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.presentation__progress span { display: block; width: 0; height: 100%; background: white; }
.presentation.is-playing .presentation__progress span { animation: showroom-progress linear forwards; animation-duration: var(--presentation-speed, 8s); }
@keyframes showroom-progress { from { width: 0; } to { width: 100%; } }
body.presentation-open { overflow: hidden; }

@media (max-width: 1120px) {
    .showroom-filters { grid-template-columns: repeat(3, 1fr); top: 70px; }
    .showroom-search { grid-column: span 2; }
    .showroom-reset { min-height: 64px; }
    .showroom-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .showroom-hero { min-height: 720px; padding: 150px 0 70px; }
    .showroom-hero h1 { font-size: clamp(58px, 19vw, 94px); }
    .showroom-hero h1 em { margin-left: 0; }
    .showroom-hero__intro { margin: 30px 0 0; }
    .showroom-hero__note { display: none; }
    .showroom-heading { grid-template-columns: 1fr; gap: 28px; }
    .showroom-filters { position: static; grid-template-columns: 1fr 1fr; }
    .showroom-search { grid-column: span 2; }
    .showroom-reset { grid-column: span 2; }
    .showroom-grid { grid-template-columns: 1fr; row-gap: 42px; }
    .showroom-card__image-button { min-height: 390px; }
    .showroom-card__image-button img { max-height: 340px; }
    .selection-dock { align-items: stretch; }
    .selection-dock > div:first-child { display: none; }
    .selection-dock > div:last-child { flex: 1; }
    .selection-dock button { flex: 1; padding-inline: 10px; }
    .presentation__header { height: 72px; padding: 0 16px; }
    .presentation__brand span { font-size: 23px; }
    .presentation__brand small { display: none; }
    .presentation__stage { grid-template-columns: 52px minmax(0,1fr) 52px; padding: 78px 0 122px; }
    .presentation__arrow { width: 42px; height: 42px; }
    .presentation__figure { gap: 14px; }
    .presentation__image-wrap img { max-width: calc(100vw - 118px); max-height: calc(100vh - 260px); }
    .presentation__controls { width: calc(100vw - 20px); bottom: 14px; overflow-x: auto; justify-content: flex-start; }
    .presentation__controls button, .presentation__controls label, .presentation__controls a { flex: 0 0 auto; }
}
@media (max-width: 480px) {
    .showroom-filters { grid-template-columns: 1fr; }
    .showroom-search, .showroom-reset { grid-column: auto; }
    .showroom-results-bar { align-items: flex-start; }
    .showroom-results-bar div { flex-direction: column; gap: 8px; align-items: flex-end; }
    .presentation__stage { grid-template-columns: 42px minmax(0,1fr) 42px; }
    .presentation__arrow { width: 36px; height: 36px; }
    .presentation__counter { display: none; }
    .presentation__header { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .showroom-loading span, .presentation.is-playing .presentation__progress span { animation: none; }
    .showroom-card__image-button img, .presentation__image-wrap img { transition: none; }
}
