/* Cloudnhyne Designz, comp: gallery white (A) with the warm room (C). Every colour and size lives here. */
:root {
  --paper: #F4F2EE;
  --wall: #E8E3DA;
  --sand: #EFE8DC;
  --ink: #121212;
  --espresso: #2A211B;
  --bone: #EFE9DF;
  --clay: #A5472A;
  --clay-deep: #8A3A21;
  --clay-light: #EDB57E;
  --muted: #6B6760;
  --line: #D9D5CE;
  --night: #0C0A09;
  --stage: #1C1917;
  --text-soft: #2C2A27;
  --amber: #FFD9A8;
  --foot-text: #CFC6B8;
  --foot-rule: #4A3D33;
  --foot-fine: #A99D8D;
  --edge: #8A857D;
  --white: #FFF;
  --glass: rgb(244 242 238 / .94);
  --lamp: rgb(255 214 160 / .5);
  --lamp-edge: rgb(255 196 130 / .15);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --cycle: 6s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 500 0.75rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.875rem, 6.4vw, 5.75rem); line-height: .96; }
h2, .h2 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.02; }
h1, h2 { text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--clay); }
.lede { font-size: 1.1875rem; line-height: 1.5; max-width: 34em; margin: 22px 0 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.material-symbols-outlined { font-size: 1.3125rem; line-height: 1; }

/* page to page: the framed piece flies from the collection into the piece page */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
.top { view-transition-name: top; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--glass); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; }
.brand b { font: 400 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.brand span { font: 500 0.6875rem/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin-left: auto; font: 500 0.9375rem/1 var(--sans); }
.nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: var(--radius); border: 1.5px solid transparent; font: 600 0.9375rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-clay { background: var(--clay); color: var(--white); }
.btn-clay:hover { background: var(--clay-deep); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-glass { border-color: rgb(255 255 255 / .55); background: rgb(255 255 255 / .08); color: var(--white); backdrop-filter: blur(8px); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 0.875rem; }
.btn:focus-visible, .tab:focus-visible, .opt:focus-visible, .card:focus-visible, .lights:focus-visible, .rail a:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

/* rooms: every room panel is the room photo at its own proportion, with the framed pieces placed in inches */
.stage { position: relative; aspect-ratio: 1408 / 768; overflow: hidden; background: var(--stage); container-type: inline-size; }
.room { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.room.on { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.scene { position: absolute; inset: 0; transform-origin: 0 0; }
.room .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .9s ease; }
/* each frame and the tape carry their placement for every size (--l18, --l24 ...) plus the default (--l0);
   the chosen size, data-size on an ancestor, picks one and the frames glide to it */
.hang, .dims { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  --l: var(--l0); --t: var(--t0); --w: var(--w0); --h: var(--h0); --fx: var(--fx0); --fy: var(--fy0); --b: var(--b0, 0); }
[data-size="18x24"] :is(.hang, .dims) { --l: var(--l18, var(--l0)); --t: var(--t18, var(--t0)); --w: var(--w18, var(--w0));
  --h: var(--h18, var(--h0)); --fx: var(--fx18, var(--fx0)); --fy: var(--fy18, var(--fy0)); --b: var(--b18, var(--b0, 0)); }
[data-size="24x36"] :is(.hang, .dims) { --l: var(--l24, var(--l0)); --t: var(--t24, var(--t0)); --w: var(--w24, var(--w0));
  --h: var(--h24, var(--h0)); --fx: var(--fx24, var(--fx0)); --fy: var(--fy24, var(--fy0)); --b: var(--b24, var(--b0, 0)); }
.hang { display: block; filter: var(--light, none);
  transition: filter .9s ease, left .8s var(--ease), top .8s var(--ease), width .8s var(--ease), height .8s var(--ease);
  box-shadow: 0 calc(var(--in) * .5) calc(var(--in) * 1.6) rgb(0 0 0 / .42), 0 calc(var(--in) * .12) calc(var(--in) * .3) rgb(0 0 0 / .38); }
.hang img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
:is(.hang, .shot) img:not(.d), [data-size] :is(.hang, .shot) img { opacity: 0; }
:is(.hang, .shot) img.d, [data-size="18x24"] :is(.hang, .shot) img.z18, [data-size="24x36"] :is(.hang, .shot) img.z24 { opacity: 1; }
/* the piece close up: large on a plain wall, the chosen size's image stacked over the other */
.room.close { background: var(--wall); display: flex; align-items: center; justify-content: center; gap: 2.5%; padding: 0 4%; }
.shot { position: relative; flex: none; height: var(--sh); aspect-ratio: var(--a); --a: var(--a0);
  box-shadow: 0 1.6cqw 3.6cqw rgb(0 0 0 / .3), 0 .3cqw .8cqw rgb(0 0 0 / .25); transition: aspect-ratio .5s var(--ease); }
[data-size="18x24"] .shot { --a: var(--a18, var(--a0)); }
[data-size="24x36"] .shot { --a: var(--a24, var(--a0)); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s ease; }
[data-size="18x24"] .t24, [data-size="24x36"] .t18 { display: none; }

/* the tape: overall width along the top, frame height down one side, in inches */
.dims { pointer-events: none; opacity: 0; color: var(--white); --tick: calc(max(7px, 1.2cqw) / var(--z, 1)); --gap: calc(max(16px, 2.4cqw) / var(--z, 1)); --rule: calc(1.5px / var(--z, 1));
  filter: drop-shadow(0 0 2px rgb(0 0 0 / .7));
  transition: opacity .4s ease, left .8s var(--ease), top .8s var(--ease), width .8s var(--ease), height .8s var(--ease); }
.measure .dims { opacity: 1; }
.dw, .dh { position: absolute; display: grid; place-items: center; border: 0 solid currentColor; }
/* --b is 1 where the wall above is too short: the width tape then runs under the frames */
.dw { left: 0; right: 0; height: var(--tick); border-width: 0 var(--rule); transition: top .8s var(--ease);
  top: calc(var(--b) * (100% + var(--gap)) + (1 - var(--b)) * (0px - var(--gap) - var(--tick))); }
.dh { top: 0; bottom: 0; left: calc(100% + var(--gap)); width: var(--tick); border-width: var(--rule) 0; }
.dims-left .dh { left: auto; right: calc(100% + var(--gap)); }
.dw::before, .dh::before { content: ""; position: absolute; background: currentColor; }
.dw::before { left: 0; right: 0; top: 50%; height: var(--rule); }
.dh::before { top: 0; bottom: 0; left: 50%; width: var(--rule); }
.dims b { position: relative; font: 500 calc(max(0.6875rem, 1.35cqw) / var(--z, 1))/1 var(--mono); letter-spacing: .04em; white-space: nowrap;
  background: rgb(18 18 18 / .78); padding: .45em .6em; border-radius: var(--radius); }
.dh b { position: absolute; left: calc(100% + 5px / var(--z, 1)); }
.dims-left .dh b { left: auto; right: calc(100% + 5px / var(--z, 1)); }
/* the styrene front catches a sweep of light as the piece goes up */
.hang::after, .frame::after { content: ""; position: absolute; inset: var(--fy, 4%) var(--fx, 5%); pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / .28) 46%, rgb(255 255 255 / .06) 52%, transparent 60%);
  background-size: 260% 100%; background-position: 140% 0; mix-blend-mode: screen; }
.room.on .hang { animation: hang .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 200ms); }
.room.on .hang::after { animation: glare 1.7s ease both; animation-delay: calc(var(--i, 0) * 110ms + 700ms); }
@keyframes hang { from { opacity: 0; transform: translateY(-4%); } to { opacity: 1; transform: none; } }
@keyframes glare { from { background-position: 140% 0; } to { background-position: -40% 0; } }
.glow { position: absolute; pointer-events: none; opacity: 0; transition: opacity 1s ease; mix-blend-mode: screen;
  background: radial-gradient(ellipse 60% 70% at 50% 16%, var(--lamp), var(--lamp-edge) 55%, transparent 76%); }
/* evening: the room goes dark and a picture light washes the art */
.stage.evening .bg { filter: brightness(.3) saturate(.78); }
.stage.evening .hang { filter: none; }
.stage.evening .glow { opacity: 1; }
.room.m3d { background: var(--sand); }
.room.m3d model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; }
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0 2px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0 2px; }
.tools-end { display: flex; gap: 8px; margin-left: auto; }
.seg { display: flex; }
.seg .tab + .tab { margin-left: -1px; }
.tablist { display: contents; }
.tab, .lights { position: relative; overflow: hidden; min-height: 44px; font: 500 0.75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 12px 14px;
  border: 1px solid var(--edge); background: transparent; color: var(--ink); border-radius: var(--radius); white-space: nowrap; cursor: pointer; }
.tab[aria-selected="true"], .size-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.tab[hidden] { display: none; }
.lights { display: inline-flex; align-items: center; gap: 6px; }
.reel-bar .lights { margin-left: auto; }
.lights .material-symbols-outlined { font-size: 1.0625rem; }
.lights[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--amber); }
.caption { font: 400 0.8125rem/1.5 var(--mono); color: var(--muted); margin: 10px 0 0; }

/* home: the room reel */
.reel { position: relative; --h: clamp(560px, 86vh, 860px); height: var(--h); color: var(--white); background: var(--night); }
.reel-media { position: absolute; inset: 0; overflow: hidden; }
.reel .stage { position: absolute; left: 50%; top: 50%; width: max(100%, calc(var(--h) * 1.8334)); transform: translate(-50%, -50%); }
.reel .room.on { animation: drift calc(var(--cycle) + 2s) ease-out both; transform-origin: var(--ox) var(--oy); }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.reel-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(12 10 9 / .86) 0%, rgb(12 10 9 / .55) 30%, rgb(12 10 9 / 0) 58%); }
.reel-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 56px; }
.reel-copy .eyebrow { color: var(--white); text-shadow: 0 1px 8px rgb(0 0 0 / .65); }
.reel-copy .lede { color: rgb(255 255 255 / .86); }
.reel-copy h1 em { color: var(--clay-light); }
.reel .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.reel-bar { position: absolute; top: 22px; right: var(--gutter); z-index: 3; display: flex; gap: 8px; align-items: center; padding: 0; }
.reel-bar .tab:focus-visible, .reel-bar .lights:focus-visible { outline-color: var(--white); }
.reel-bar .tab, .reel-bar .lights { border-color: rgb(255 255 255 / .32); background: rgb(18 18 18 / .28); color: var(--white); backdrop-filter: blur(10px); margin: 0; }
.reel-bar .tab[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.reel-bar .lights[aria-pressed="true"] { background: var(--amber); color: var(--ink); border-color: transparent; }
.bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--clay); }
.reel.auto .tab[aria-selected="true"] .bar { animation: fill var(--cycle) linear both; }
.reel.auto:hover .bar, .reel.auto:focus-within .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.reel-caption { position: absolute; right: var(--gutter); bottom: 60px; z-index: 3; margin: 0; font: 400 0.8125rem/1.4 var(--mono); color: rgb(255 255 255 / .8); }
.reel-caption a { color: var(--white); }

/* headline words rise into place */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .w > span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: calc(var(--i) * 75ms + 200ms); }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }

/* scroll reveals */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { font: 500 0.8125rem/1.45 var(--mono); letter-spacing: .04em; }
.facts li span { display: block; color: var(--muted); font-weight: 400; }

/* the gallery rail: every frame at the same scale, drifting past */
.rail { overflow: hidden; background: var(--wall); padding: 44px 0 40px; }
.rail-track { display: flex; align-items: center; width: max-content; animation: slide 80s linear infinite; }
.rail:hover .rail-track, .rail:focus-within .rail-track { animation-play-state: paused; }
@media (hover: none) { .rail { overflow-x: auto; } .rail-track { animation: none; padding: 0 var(--gutter); } }
.rail a { display: block; margin-right: 34px; box-shadow: 0 10px 22px rgb(0 0 0 / .26), 0 2px 5px rgb(0 0 0 / .22); transition: transform .35s var(--ease); }
.rail a:hover { transform: translateY(-6px); }
.rail img { height: calc(var(--oh) / 37.93 * 210px); width: auto; }
@keyframes slide { to { transform: translateX(-50%); } }

.section { padding: 96px 0; }
.section-top { padding-top: 56px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head.tight { margin-bottom: 28px; }
.section-head a { font: 500 0.875rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* collection cards: the frame on a plain wall, and on hover the same piece hanging in a room, both to scale */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 56px 32px; }
.card { display: block; text-decoration: none; color: inherit; }
.wallbox { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wall); display: grid; place-items: center; container-type: inline-size; }
.frame { position: relative; display: block; width: calc(var(--w) * 1cqw); box-shadow: 0 1.2cqw 3.4cqw rgb(0 0 0 / .28), 0 .3cqw .8cqw rgb(0 0 0 / .25); }
.card:hover .frame::after, .card:focus-visible .frame::after { animation: glare 1.3s ease both; }
.inroom { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.inroom .zoom { position: absolute; aspect-ratio: 1408 / 768; container-type: inline-size; transform: scale(1.05); transition: transform 1.2s var(--ease); }
.inroom .room { opacity: 1; visibility: visible; }
.inroom .hang { animation: none; }
.room-name { position: absolute; left: 10px; top: 10px; font: 500 0.6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); background: rgb(18 18 18 / .45); padding: 7px 9px; border-radius: var(--radius); backdrop-filter: blur(6px); }
@media (hover: none) { .hover-only { display: none; } }
@media (hover: hover) {
  .card:hover .inroom, .card:focus-visible .inroom { opacity: 1; }
  .card:hover .inroom .zoom, .card:focus-visible .inroom .zoom { transform: none; }
}
.label { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; margin-top: 16px; }
.label .no { font: 500 0.75rem/1.6 var(--mono); color: var(--muted); grid-row: span 2; padding-top: 5px; }
.label h3 { font-size: 1.625rem; line-height: 1.1; }
.label p { margin: 6px 0 0; font: 400 0.8125rem/1.4 var(--mono); color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 40px; }
.scale-note { font: 400 0.8125rem/1.5 var(--mono); color: var(--muted); margin: -20px 0 36px; }

/* on your wall */
.wallsec { background: var(--sand); }
.wallsec .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; font-size: 1.125rem; }
.steps li span { font: 500 0.8125rem/1.9 var(--mono); color: var(--clay); }
.steps li p { margin: 0; }
.small { font-size: 0.9375rem; color: var(--muted); margin-top: 26px; }

/* how to buy */
.buy { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.buy > div { padding: 28px 28px 0 0; }
.buy h3 { font-size: 1.875rem; margin: 10px 0 10px; }
.buy p { margin: 0; color: var(--text-soft); }
.buy .n { font: 500 0.8125rem var(--mono); color: var(--muted); }
.custom { margin-top: 48px; padding: 22px 26px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.custom p { margin: 0; }

/* piece page */
.crumbs { font: 400 0.8125rem var(--mono); color: var(--muted); padding: 26px 0 20px; }
.crumbs a { color: var(--muted); }
.piece { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; padding-bottom: 96px; }
.piece .viewer { position: sticky; top: 92px; }
.info h1 { font-size: clamp(2.625rem, 4.8vw, 4rem); }
.opt-name { margin: 14px 0 0; }
.price { font: 400 1.875rem/1.2 var(--serif); margin: 18px 0 0; }
.price span { font: 400 0.875rem var(--mono); color: var(--muted); margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.opt { display: grid; justify-items: center; gap: 8px; width: 84px; padding: 8px 6px 10px; background: transparent; border: 1px solid var(--edge);
  border-radius: var(--radius); cursor: pointer; font: 500 0.6875rem/1.25 var(--mono); color: var(--ink); text-align: center; }
.opt img { height: 64px; width: auto; }
.opt-set { font: 400 1.875rem/4rem var(--serif); }
.opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
/* size picker: both frames drawn to one scale on a shared floor line, each with its tape */
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 0; max-width: 420px; }
.size { display: grid; justify-items: center; align-content: end; gap: 4px; padding: 14px 10px 16px; background: transparent;
  border: 1px solid var(--edge); border-radius: var(--radius); cursor: pointer; color: var(--ink); font: inherit; }
.size:hover { border-color: var(--muted); }
.size[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: rgb(255 255 255 / .55); }
.size:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.fig { display: flex; align-items: flex-end; justify-content: center; height: 176px; width: 100%; padding: 0 0 26px 34px; }
.fr { position: relative; height: calc(var(--r) * 140px); aspect-ratio: var(--a); }
.fr img { width: 100%; height: 100%; box-shadow: 0 6px 14px rgb(0 0 0 / .24), 0 1px 3px rgb(0 0 0 / .2); }
.mw, .mh { position: absolute; display: grid; place-items: center; border: 0 solid var(--muted); font: 500 0.6875rem/1 var(--mono); color: var(--muted); }
.mw { left: 0; right: 0; top: calc(100% + 9px); height: 7px; border-width: 0 1px; }
.mh { top: 0; bottom: 0; right: calc(100% + 9px); width: 7px; border-width: 1px 0; }
.mw::before, .mh::before { content: ""; position: absolute; background: var(--muted); }
.mw::before { left: 0; right: 0; top: 50%; height: 1px; }
.mh::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.mw b, .mh b { position: absolute; font-weight: 500; white-space: nowrap; }
.mw b { top: 11px; }
.mh b { right: 11px; writing-mode: vertical-rl; transform: rotate(180deg); }
.size-name { font: 400 1.625rem/1.1 var(--serif); margin-top: 6px; }
.size-note { font: 400 0.75rem/1.4 var(--mono); color: var(--muted); }
.info .actions { display: grid; gap: 10px; margin: 30px 0 0; max-width: 420px; }
.info .actions .btn { width: 100%; }
.specs { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.specs dt { font: 500 0.75rem/1.8 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; }
.desc { margin: 28px 0 0; color: var(--text-soft); }

dialog.qr { border: 0; padding: 32px; max-width: 360px; background: var(--paper); color: var(--ink); border-radius: var(--radius); text-align: center; }
dialog.qr::backdrop { background: rgb(18 18 18 / .55); }
dialog.qr h2 { font-size: 1.875rem; }
dialog.qr svg { width: 200px; height: 200px; margin: 18px auto; display: block; }
dialog.qr svg path { stroke: var(--ink); }
dialog.qr p { margin: 0; }
dialog.qr .close { margin-top: 20px; }

/* footer */
.foot { background: var(--espresso); color: var(--bone); padding: 64px 0 48px; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot .brand b { font-size: 2.125rem; }
.foot p, .foot li { color: var(--foot-text); font-size: 0.9375rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot .foot-h { font: 500 0.75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; color: var(--bone); }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--foot-rule); padding-top: 22px; font: 400 0.8125rem var(--mono); color: var(--foot-fine); }

@media (max-width: 900px) {
  .wallsec .wrap, .piece { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .piece .viewer { position: static; margin: 0 calc(var(--gutter) * -1); }
  .piece .viewer .tabs, .piece .viewer .tools, .piece .viewer .caption { padding-left: var(--gutter); padding-right: var(--gutter); }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .buy { grid-template-columns: 1fr; }
  .buy > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
  .foot .wrap { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .label h3 { font-size: 1.3125rem; }
  .label { grid-template-columns: 1fr; }
  .label .no { grid-row: auto; padding: 0; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top .wrap { height: 60px; }
  .brand b { font-size: 1.5rem; }
  /* the reel stacks: rooms on top, the words underneath on paper */
  .reel { --h: 470px; height: auto; background: var(--paper); color: var(--ink); }
  .reel-media { position: relative; height: var(--h); }
  .reel-media::after { background: linear-gradient(to top, rgb(12 10 9 / .6) 0%, rgb(12 10 9 / 0) 30%); }
  .reel-copy { position: static; padding: 30px 0 8px; }
  .reel-copy .eyebrow { color: var(--muted); }
  .reel-copy .lede { color: var(--text-soft); }
  .reel-copy h1 em { color: var(--clay); }
  .reel .btn-glass { border-color: var(--ink); background: transparent; color: var(--ink); backdrop-filter: none; }
  .reel .btn-paper { background: var(--ink); color: var(--paper); }
  .reel-bar { left: var(--gutter); right: var(--gutter); top: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .reel-bar .tab, .reel-bar .lights { padding: 10px 2px; font-size: 0.625rem; letter-spacing: .06em; justify-content: center; text-align: center; }
  .reel-bar .lights .material-symbols-outlined { display: none; }
  .reel-caption { left: var(--gutter); right: auto; bottom: 14px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab, .lights { text-align: center; justify-content: center; padding: 12px 6px; margin-left: 0; }
  .tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tools-end { display: contents; }
  .seg { grid-column: 1 / -1; }
  .seg .tab { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rail { overflow-x: auto; }
  html { scroll-behavior: auto; }
}

/* a heading that looks one level down from its tag */
.h3 { font-size: 1.875rem; line-height: 1.1; margin: 40px 0 10px; }

/* sold and reserved: the edge sets data-status and fills the badges; an empty badge never shows */
.badge:empty { display: none; }
.badge { display: inline-block; margin-left: 12px; vertical-align: middle; font: 500 0.6875rem/1 var(--mono); letter-spacing: .14em;
  text-transform: uppercase; padding: 7px 9px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.label .badge { margin: 8px 0 0; grid-column: 1 / -1; justify-self: start; }
[data-status="reserved"] .badge { background: var(--clay); color: var(--white); }
.grid li[data-status="sold"] { order: 1; }
.grid li[data-status="sold"] .wallbox { filter: grayscale(.85) opacity(.7); }
.rail a[data-status="sold"] { display: none; }
.opt-status:empty { display: none; }
.opt-status { font-size: 0.625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-deep); }
.opt[data-status="sold"] img { filter: grayscale(1) opacity(.55); }
#reserve[data-status="sold"] { background: transparent; border-color: var(--ink); color: var(--ink); }
#reserve[data-status="reserved"] { background: var(--clay-deep); }

/* about and not found */
.prose { max-width: 40em; }
.prose p:not(.eyebrow) { font-size: 1.125rem; margin: 0 0 14px; }
.prose .lede { font-size: 1.3125rem; }
.prose a:not(.btn) { color: var(--clay-deep); }

/* links outside running text are at least a fingertip tall */
.foot a, .crumbs a, .section-head a, .reel-caption a { display: inline-flex; align-items: center; min-height: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
