/* Prints gallery + product sheet */

.p-hero { padding: calc(var(--nav-h) + clamp(64px, 10vw, 120px)) 0 clamp(40px, 6vw, 72px); background: #fff; }
.p-hero .h-hero { font-size: clamp(56px, 11vw, 136px); }
.p-hero .lede { margin-top: 18px; }
.p-promise { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 14px; color: var(--grey); }
.p-promise span { display: inline-flex; align-items: center; gap: 8px; }
.p-promise svg { width: 18px; height: 18px; color: var(--ink); }

/* Feature: lead print */
.feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; min-height: 420px; color: #fff; cursor: pointer; isolation: isolate; background: #111; }
.feature__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease-out), visibility 0s .9s; isolation: isolate; }
.feature__slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease-out), visibility 0s; z-index: 1; }
.feature__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 5s linear; }
.feature__slide.is-on img { transform: scale(1); }
.feature__slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 100%); }
.feature__dots { position: absolute; z-index: 3; right: clamp(20px, 4vw, 48px); bottom: clamp(24px, 5vw, 60px); display: flex; gap: 10px; padding: 8px 10px; border-radius: 999px; background: rgba(0,0,0,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.feature__dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; overflow: hidden; transition: width .4s var(--ease-out), background .3s; }
.feature__dot::before { content: ""; position: absolute; inset: -8px; }
.feature__dot:hover { background: rgba(255,255,255,.75); }
.feature__dot.is-on { width: 32px; background: rgba(255,255,255,.35); }
.feature__dot i { position: absolute; inset: 0; width: 0; border-radius: inherit; background: #fff; }
.feature__dot.is-on i { animation: featFill var(--feat-delay, 4000ms) linear forwards; }
.feature.is-paused .feature__dot.is-on i { animation: none; width: 100%; }
.feature__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes featFill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .feature__slide img { transition: none; transform: none; } }
.feature__body { position: absolute; left: clamp(24px, 5vw, 64px); bottom: clamp(24px, 5vw, 60px); max-width: 520px; }
.feature__body .eyebrow { color: rgba(255,255,255,.75); }
.feature__body p { color: rgba(255,255,255,.85); margin: 14px 0 22px; }
@media (max-width: 700px) { .feature { aspect-ratio: 4 / 5; } .feature__slide::after { background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0) 65%); } .feature__dots { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; } .feature__body { bottom: 76px; } }

/* Filter chips */
.chips-bar { position: sticky; top: var(--nav-h); z-index: 20; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; background: var(--silver); color: var(--ink); transition: background .2s, color .2s; white-space: nowrap; }
.chip:hover { background: #e8e8ed; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chips-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sort { font-size: 14px; color: var(--grey); flex: none; }
.sort select { font: inherit; color: var(--ink); background: transparent; border: 0; padding: 4px; cursor: pointer; }

/* Masonry grid */
.grid { columns: 3 340px; column-gap: 24px; padding: 40px 0 0; }
.print { break-inside: avoid; margin: 0 0 32px; cursor: pointer; display: block; width: 100%; text-align: left; }
.print__frame { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--silver); }
.print__frame img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out), filter .6s; }
.print:hover .print__frame img { transform: scale(1.04); }
.print:focus-visible { outline: none; }
.print:focus-visible .print__frame { box-shadow: 0 0 0 3px var(--accent); }
.print__badge {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.print__badge--low { color: #b6411a; }
.print__badge--sold { background: rgba(0,0,0,.6); color: #fff; }
.print__sample { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(255, 214, 10, .92); color: #1d1d1f; }
.print__view {
  position: absolute; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.9); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out);
}
.print:hover .print__view, .print:focus-visible .print__view { opacity: 1; transform: none; }
.print__meta { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px 0; }
.print__title { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.print__loc { font-size: 14px; color: var(--grey); margin-top: 2px; }
.print__price { font-size: 14px; color: var(--ink-2); white-space: nowrap; text-align: right; }
.print__price small { display: block; color: var(--grey); font-size: 12px; }
.empty { text-align: center; color: var(--grey); padding: 80px 0; }

/* Why our prints */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.why .tile { min-height: 240px; }
.why svg { width: 40px; height: 40px; margin-bottom: auto; }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--grey); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 720px; }

/* ---------- Product sheet (modal) ---------- */
.sheet { position: fixed; inset: 0; z-index: 200; display: none; }
.sheet.is-open { display: block; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s var(--ease); }
.sheet.is-visible .sheet__scrim { opacity: 1; }
.sheet__panel {
  position: absolute; inset: clamp(0px, 2.5vw, 28px); border-radius: clamp(0px, 2vw, 24px); background: #fff; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr);
  transform: translateY(40px) scale(.98); opacity: 0; transition: transform .55s var(--ease-out), opacity .35s var(--ease);
}
.sheet.is-visible .sheet__panel { transform: none; opacity: 1; }
.sheet__close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(232,232,237,.9); display: grid; place-items: center; transition: background .2s;
}
.sheet__close:hover { background: #d2d2d7; }

/* Viewer */
.viewer { position: relative; background: #0b0b0c; display: flex; flex-direction: column; min-height: 0; }
.viewer__stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); position: relative; overflow: hidden; transition: background .5s var(--ease); }
.viewer__stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); transition: opacity .4s; }
/* Wall preview mode */
.viewer__stage.is-room { background: linear-gradient(180deg, #e9e4dc 0%, #e2dcd2 72%, #b9a48b 72%, #a58f75 100%); }
.viewer__stage.is-room .room-art { position: relative; max-width: 62%; max-height: 52%; margin-bottom: 14%; transition: max-width .5s var(--ease-out); }
.viewer__stage .room-art { display: grid; place-items: center; max-width: 100%; max-height: 100%; }
.viewer__stage .room-art img { display: block; }
.viewer__stage.is-room .room-art.framed-black { padding: 4.5%; background: #fff; box-shadow: 0 0 0 10px #161616, 0 30px 50px -12px rgba(0,0,0,.45); }
.viewer__stage.is-room .room-art.framed-oak { padding: 4.5%; background: #fff; box-shadow: 0 0 0 10px #c9a377, 0 30px 50px -12px rgba(0,0,0,.45); }
.viewer__stage.is-room .room-art img { box-shadow: none; }
.viewer__stage.is-room .room-art.framed-none img, .viewer__stage.is-room .room-art:not(.framed-black):not(.framed-oak) img { box-shadow: 0 24px 40px -14px rgba(0,0,0,.45); }
.room-sofa { display: none; position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 58%; height: 16%; border-radius: 14px 14px 6px 6px; background: linear-gradient(180deg, #5b6168, #474c52); box-shadow: 0 18px 30px -10px rgba(0,0,0,.4); }
.room-sofa::before { content: ""; position: absolute; left: -4%; right: -4%; top: 38%; height: 70%; border-radius: 12px; background: #3e4247; z-index: -1; }
.viewer__stage.is-room .room-sofa { display: block; }
.room-scale { display: none; position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: rgba(0,0,0,.55); }
.viewer__stage.is-room .room-scale { display: block; }
.viewer__bar { display: flex; justify-content: center; gap: 8px; padding: 14px; background: #0b0b0c; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); }
.seg button { padding: 7px 16px; border-radius: 999px; font-size: 13px; color: rgba(255,255,255,.8); transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }

/* Configurator */
.config { overflow-y: auto; padding: clamp(28px, 4vw, 56px) clamp(24px, 3.5vw, 48px) 0; display: flex; flex-direction: column; }
.config__id { font-size: 12px; color: var(--grey); letter-spacing: .04em; }
.config h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 6px 0 4px; }
.config__loc { color: var(--grey); font-size: 15px; }
.config__story { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 18px 0 8px; }
.step { margin-top: 26px; }
.step__label { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.step__label span { font-size: 13px; font-weight: 400; color: var(--grey); }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt {
  position: relative; text-align: left; padding: 14px 16px; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px #d2d2d7; transition: box-shadow .2s;
}
.opt:hover:not(:disabled) { box-shadow: inset 0 0 0 1px #86868b; }
.opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.opt:disabled { opacity: .4; cursor: not-allowed; }
.opt__row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.opt__name { font-size: 15px; font-weight: 600; }
.opt__price { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.opt__note { font-size: 12px; color: var(--grey); margin-top: 3px; line-height: 1.4; }
.avail { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--grey); }
.avail__bar { flex: 1; height: 4px; border-radius: 4px; background: #e8e8ed; overflow: hidden; }
.avail__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), #b6411a); border-radius: 4px; }

.buy { position: sticky; bottom: 0; margin-top: 28px; padding: 18px 0 22px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 18px); }
.buy__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.buy__total strong { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.buy__total small { color: var(--grey); font-size: 12px; }
.buy .btn { width: 100%; margin-top: 14px; min-height: 52px; font-size: 17px; }
.buy__fine { font-size: 12px; color: var(--grey); margin-top: 10px; text-align: center; }

.sheet__nav { position: absolute; top: 50%; z-index: 4; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; transform: translateY(-50%); transition: background .2s; }
.sheet__nav:hover { background: rgba(255,255,255,.28); }
.sheet__nav--prev { left: 14px; } .sheet__nav--next { right: 14px; }
.viewer__stage.is-room ~ .sheet__nav, .viewer.is-room .sheet__nav { background: rgba(0,0,0,.18); }

@media (max-width: 900px) {
  .sheet__panel { inset: 0; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; display: block; }
  .viewer { height: 44vh; }
  .buy { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .config { overflow: visible; }
}

/* Styled room mock-up view */
.viewer__stage.is-styled { padding: 0; }
.viewer__stage.is-styled img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; }
.viewer__stage.is-styled .room-art { width: 100%; height: 100%; max-width: none; max-height: none; }
.seg button[hidden] { display: none; }

/* Hero: exhibition wall; the floor fades to white (baked into the image) and the type sits on it */
.p-hero--expo { position: relative; overflow: hidden; padding: 0 0 clamp(96px, 12vw, 168px); background: #fff; }
.p-hero--expo .p-hero__bg { margin-top: var(--nav-h); }
.p-hero--expo .p-hero__bg img { display: block; width: 100%; height: auto; }
/* image is 2400x1523; the white fade covers roughly its bottom 15% */
.p-hero--expo .wrap { position: relative; z-index: 1; margin-top: calc(-100vw * 1523 / 2400 * 0.21); }
.p-hero--expo .h-hero { margin-top: 0; color: var(--accent); }
@media (min-width: 821px) {
  .p-hero--expo .wrap { display: grid; grid-template-columns: auto minmax(0, 560px); column-gap: clamp(40px, 6vw, 96px); align-items: end; }
  .p-hero--expo .eyebrow { grid-column: 1; grid-row: 1; }
  .p-hero--expo .h-hero { grid-column: 1; grid-row: 2; line-height: .9; }
  .p-hero--expo .lede { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0 0 calc(56px + 1.2em); }
  .p-hero--expo .p-promise { grid-column: 2; grid-row: 2; align-self: end; margin: 0 0 6px; }
}
@media (max-width: 820px) {
  .p-hero--expo { padding-bottom: 72px; }
  .p-hero--expo .wrap { margin-top: -6vw; }
}
