/* Layout: the Attik design system's homepage. The header floats over a full-bleed hero and turns solid once the
   hero has scrolled away. White rooms alternate with stone and espresso rooms. Every route out of this page
   leads to a page Attik already has. Tokens mirror the Figma variables. Single light look by choice. */
:root {
  --color-bg-page: #ffffff;
  --color-bg-subtle: #f4f1ec;
  --color-bg-inverse: #1b1613;
  --color-bg-inverse-hover: #3d3833;
  --color-text-primary: #1b1613;
  --color-text-secondary: #5c554d;
  --color-text-accent: #8a5f38;
  --color-text-inverse: #fbfaf8;
  --color-text-on-media: #d5cec3;
  --color-border-default: #e8e3db;
  --color-border-control: #7a7268;
  --color-border-strong: #1b1613;
  --color-border-focus: #b3804d;
  --dark-bg: #1b1613; --dark-subtle: #26211d; --dark-text: #fbfaf8; --dark-text-2: #a89f93; --dark-accent: #d2a57a; --dark-border: #3d3833;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-text: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4.4vw, 4rem);
  --section: clamp(4rem, 9vw, 8rem);
  --max: 90rem;
  --ease: cubic-bezier(.22,.7,.2,1);
  --ease-inout: cubic-bezier(.65,0,.25,1);
  --head-h: 5.25rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--color-bg-page); color: var(--color-text-primary); font-family: var(--font-text); font-size: 1rem; line-height: 1.5; }
h1, h2, h3, p, figure, dl, dd, ol, ul, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
cite { font-style: normal; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-border-focus); outline-offset: 2px; border-radius: 2px; }
section[id] { scroll-margin-top: 6rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: .75rem; font-weight: 500; line-height: 1.33; letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-accent); }
.body-l { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.6; color: var(--color-text-secondary); }
.cap { font-size: .75rem; line-height: 1.33; letter-spacing: .01em; color: var(--color-text-secondary); padding-top: .5rem; }
.frame { position: relative; overflow: hidden; background: var(--color-bg-subtle); }
.frame img { outline: 1px solid rgb(0 0 0 / .05); outline-offset: -1px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; padding: 0 2rem; border-radius: 64rem; font-size: 1rem; font-weight: 500; line-height: 1.25; white-space: nowrap; border: 1px solid var(--color-bg-inverse); background: var(--color-bg-inverse); color: var(--color-text-inverse); transition: background-color .2s ease, border-color .2s ease, color .2s ease, scale .2s ease-out; }
.btn svg { width: 1rem; height: 1rem; flex: none; transition: translate .25s var(--ease); }
.btn:active { scale: .97; }
.btn.secondary { background: transparent; color: var(--color-text-primary); border-color: var(--color-border-strong); }
.btn.light { background: var(--dark-text); color: var(--dark-bg); border-color: var(--dark-text); }
.btn.outline-light { background: transparent; color: var(--dark-text); border-color: var(--dark-text); }
.link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .875rem; font-weight: 500; }
.link span { border-bottom: 1px solid currentColor; padding-bottom: .25rem; }
.link svg { width: 1rem; height: 1rem; transition: translate .25s var(--ease); }
@media (hover: hover) {
  .btn:hover { background: var(--color-bg-inverse-hover); border-color: var(--color-bg-inverse-hover); }
  .btn.secondary:hover { background: var(--color-bg-subtle); border-color: var(--color-border-strong); }
  .btn.light:hover { background: var(--color-border-default); border-color: var(--color-border-default); }
  .btn.outline-light:hover { background: rgb(255 255 255 / .12); border-color: var(--dark-text); }
  .btn:hover svg, .link:hover svg { translate: 3px 0; }
  .btn:hover svg.out, .link:hover svg.out { translate: 2px -2px; }
  .link:hover { color: var(--color-text-accent); }
}
.skip { position: absolute; left: -999rem; top: .5rem; background: var(--color-bg-inverse); color: var(--color-text-inverse); padding: .6rem 1rem; z-index: 60; border-radius: 4px; }
.skip:focus { left: .5rem; }

/* concept strip */
.strip { background: var(--color-bg-subtle); color: var(--color-text-secondary); font-size: .75rem; position: relative; z-index: 2; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1.5rem; padding-block: .5rem; }
.strip strong { color: var(--color-text-primary); font-weight: 500; }

/* header: floats over the hero, turns solid after it */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; height: var(--head-h); margin-bottom: calc(var(--head-h) * -1); color: var(--dark-text); border-bottom: 1px solid rgb(255 255 255 / .16); transition: background-color .3s ease, color .3s ease, border-color .3s ease; --nav: var(--color-text-on-media); }
.site-head.is-solid { background: rgb(255 255 255 / .92); backdrop-filter: blur(14px) saturate(1.4); color: var(--color-text-primary); border-bottom-color: var(--color-border-default); --nav: var(--color-text-secondary); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 100%; }
.wordmark { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1; }
.nav { display: flex; gap: 2rem; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 3rem; font-size: .875rem; font-weight: 500; color: var(--nav); transition: color .15s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .6rem; height: 1px; background: currentColor; scale: 0 1; transform-origin: right; transition: scale .4s var(--ease); }
@media (hover: hover) { .nav a:hover { color: inherit; } .nav a:hover::after { scale: 1 1; transform-origin: left; } }
.head-actions { display: flex; align-items: center; gap: .5rem; }
.site-head .btn { background: var(--dark-text); color: var(--dark-bg); border-color: var(--dark-text); }
.site-head.is-solid .btn { background: var(--color-bg-inverse); color: var(--color-text-inverse); border-color: var(--color-bg-inverse); }
.round { width: 3.125rem; height: 3.125rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; flex: none; transition: background-color .2s ease, scale .2s ease-out; }
.round svg { width: 1rem; height: 1rem; }
.round:active { scale: .95; }
.site-head.is-solid .round, .menu .round { border-color: var(--color-border-control); }
.bars { position: relative; width: 1rem; height: 1rem; }
.bars i { position: absolute; left: 1px; right: 1px; top: calc(50% - .75px); height: 1.5px; background: currentColor; translate: 0 -3px; transition: translate .45s var(--ease-inout), rotate .45s var(--ease-inout); }
.bars i + i { translate: 0 3px; }
.menu-btn[aria-expanded="true"] .bars i, .menu.is-open .bars i { translate: 0 0; rotate: 45deg; }
.menu-btn[aria-expanded="true"] .bars i + i, .menu.is-open .bars i + i { rotate: -45deg; }
.menu-btn, .short { display: none; }

/* menu overlay */
.menu { position: fixed; inset: 0; z-index: 50; background: var(--color-bg-page); display: flex; flex-direction: column; gap: 2rem; padding: var(--menu-top, env(safe-area-inset-top, 0px)) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem); overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease-inout) .1s; }
.menu.is-open { clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease); }
.menu-top { display: flex; align-items: center; justify-content: space-between; flex: none; height: var(--head-h); margin-bottom: -1rem; }
.menu-links { list-style: none; padding: 0; border-top: 1px solid var(--color-border-strong); }
.menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--color-border-default); font-family: var(--font-display); font-size: clamp(2rem, 6vw, 2.5rem); line-height: 1.04; letter-spacing: -.015em; }
.menu-links svg { width: 1rem; height: 1rem; color: var(--color-text-secondary); flex: none; }
.menu-info { margin-top: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem 2rem; }
.menu-info dt { color: var(--color-text-secondary); margin-bottom: .4rem; }
.menu-info dd { font-size: 1.0625rem; }
.menu .btn { width: 100%; }

/* hero */
.hero { position: relative; color: var(--dark-text); background: var(--dark-bg); overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { object-position: 50% 78%; }
.hero-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(27 22 19 / .38) 0%, rgb(27 22 19 / .15) 40%, rgb(27 22 19 / .9) 100%); }
.hero .wrap { position: relative; min-height: 48rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem; padding-top: calc(var(--head-h) + 4rem); padding-bottom: 2rem; }
.hero h1 { font-size: clamp(3.5rem, 9.4vw, 8rem); line-height: .88; letter-spacing: -.03em; }
.hero h1 .line, .hero h1 .line > span { display: block; }
.hero h1 .line { clip-path: inset(-.12em -.1em -.2em -.1em); }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.hero-row p { max-width: 28rem; color: var(--color-text-on-media); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .5rem; }
.jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .2); }
.jump a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .875rem; font-weight: 500; color: var(--color-text-on-media); transition: color .15s ease; }
.jump svg { width: .875rem; height: .875rem; transition: translate .3s var(--ease); }
@media (hover: hover) { .jump a:hover { color: var(--dark-text); } .jump a:hover svg { translate: 0 3px; } }

/* the idea */
.idea { padding-block: var(--section) 4rem; }
.idea .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2rem; row-gap: clamp(2rem, 5vw, 4rem); }
.idea h2 { grid-column: 1 / span 8; font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: .96; letter-spacing: -.02em; }
.idea h2 > span:not(.w) { color: var(--color-text-secondary); }
.idea .a { grid-column: 1 / span 8; }
.idea .a .frame { aspect-ratio: 864 / 568; }
.idea .eyebrow { display: none; }
.idea .side { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 2rem; padding-top: clamp(0rem, 5vw, 4rem); min-width: 0; }
.idea .side p { color: var(--color-text-secondary); }
.idea .b .frame { aspect-ratio: 416 / 568; }

/* facts */
.facts { padding-block: 4rem; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.fact { border-top: 1px solid var(--color-border-strong); padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.fact b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.04; letter-spacing: -.015em; font-variant-numeric: lining-nums tabular-nums; }
.fact > span { font-size: .875rem; color: var(--color-text-secondary); max-width: 16rem; }

/* section heading */
.sh { display: flex; flex-direction: column; gap: 1rem; }
.sh h2 { font-size: clamp(2.5rem, 4.6vw, 3.5rem); line-height: 1; letter-spacing: -.02em; }

/* process */
.process { background: var(--color-bg-subtle); padding-block: var(--section); }
.process .wrap { display: grid; grid-template-columns: 1fr 36rem; gap: 3rem clamp(3rem, 8.9vw, 8rem); align-items: start; }
.steps { list-style: none; padding: 0; margin-top: 2rem; border-top: 1px solid var(--color-border-strong); }
.step { border-bottom: 1px solid var(--color-border-default); border-bottom-color: #d5cec3; }
.step-btn { width: 100%; display: grid; grid-template-columns: 2rem 1fr 1rem; align-items: center; gap: 1rem; min-height: 4.5rem; padding-block: 1rem; text-align: left; border-radius: 2px; }
.step-btn .n { font-family: var(--font-text); font-size: .75rem; font-weight: 500; color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }
.step-btn .t { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.01em; color: var(--color-text-secondary); transition: color .2s ease; }
.pm { position: relative; width: 1rem; height: 1rem; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--color-text-primary); transition: rotate .3s var(--ease), opacity .2s ease; }
.pm::after { rotate: 90deg; }
.step.is-open .t { color: var(--color-text-primary); }
.step.is-open .pm::after { rotate: 0deg; opacity: 0; }
@media (hover: hover) { .step-btn:hover .t { color: var(--color-text-primary); } }
.step-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.step.is-open .step-panel { grid-template-rows: 1fr; }
.step-panel > div { overflow: hidden; min-height: 0; }
.step-body { padding: 0 2rem 1.5rem 3rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.step-body p { color: var(--color-text-secondary); max-width: 30rem; }
.step-body .frame { display: none; width: 100%; aspect-ratio: 4 / 3; background: var(--color-bg-page); }
.stage { position: sticky; top: 7rem; }
.stage .frame { aspect-ratio: 576 / 704; background: var(--color-bg-page); }
.stage figure { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); background: var(--color-bg-page); }
.stage figure img { scale: 1.07; }
.stage figure.was-on { clip-path: inset(0); z-index: 1; }
.stage figure.was-on img { scale: 1; }
.stage figure.is-on { clip-path: inset(0); z-index: 2; transition: clip-path .85s var(--ease); }
.stage figure.is-on img { scale: 1; transition: scale 1.4s var(--ease); }
.stage figure.pad img { object-fit: contain; object-position: 50% 0; padding: 1.5rem; }
.stage-cap { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; font-size: .75rem; color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }

/* try it in 3d */
.three { padding-block: var(--section); }
.three .wrap { display: grid; grid-template-columns: 1fr 36rem; gap: 2rem clamp(3rem, 8.9vw, 8rem); align-items: center; }
.three .copy { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; min-width: 0; }
.swatch-group { display: flex; flex-direction: column; gap: 1rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.swatch-group legend { padding: 0; font-size: .875rem; font-weight: 500; margin-bottom: 1rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { position: relative; width: 2.5rem; height: 2.5rem; border-radius: 50%; padding: .25rem; border: 1px solid transparent; display: grid; transition: border-color .2s ease, scale .2s ease-out; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch i { border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(27 22 19 / .1); }
.swatch:has(input:checked) { border-color: var(--color-border-strong); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--color-border-focus); outline-offset: 2px; }
.swatch:active { scale: .94; }
.viewer { aspect-ratio: 1; background: #f7f7f6; }
.viewer .tint { position: absolute; inset: 0; mix-blend-mode: color; pointer-events: none; }
.viewer img { object-fit: cover; }
.note { font-size: .875rem; color: var(--color-text-secondary); }

/* collection */
.collection { padding-block: var(--section); overflow: hidden; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: 2rem; }
.rail-ctl { display: flex; gap: .5rem; }
.rail-ctl .round { border-color: var(--color-border-control); transition: border-color .2s ease, opacity .2s ease, scale .2s ease-out; }
.rail-ctl .round:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .rail-ctl .round:not(:disabled):hover { border-color: var(--color-border-strong); } }
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail.is-dragging .piece { pointer-events: none; }
.rail img, .rail a { -webkit-user-drag: none; }
@media (hover: hover) and (pointer: fine) { .rail { cursor: grab; } }
.piece { flex: 0 0 clamp(16rem, 24vw, 20rem); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem; border-radius: 2px; }
.piece .frame { aspect-ratio: 4 / 5; background: #fbfaf9; }
.piece img { transition: scale .9s var(--ease); }
@media (hover: hover) { .piece:hover img { scale: 1.035; } }
.piece-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.piece h3 { font-family: var(--font-text); font-size: 1rem; font-weight: 500; line-height: 1.25; }
.tag { font-size: .75rem; font-weight: 500; line-height: 1.33; padding: .25rem .5rem; border-radius: 64rem; background: var(--color-bg-subtle); white-space: nowrap; }
.collection .after { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--color-border-default); }
.collection .after p { font-size: .875rem; color: var(--color-text-secondary); }
.drag-tip { position: fixed; left: 0; top: 0; z-index: 30; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--color-bg-inverse); color: var(--color-text-inverse); font-size: .75rem; font-weight: 500; pointer-events: none; opacity: 0; scale: .4; transition: opacity .25s ease, scale .35s var(--ease); }
.drag-tip.is-on { opacity: 1; scale: 1; }
.drag-tip.is-down { scale: .82; }

/* room planner */
.planner { background: var(--color-bg-subtle); padding-block: var(--section); }
.planner .wrap { display: grid; grid-template-columns: 1fr 28rem; gap: 2rem clamp(3rem, 8.9vw, 8rem); align-items: center; }
.planner .frame { aspect-ratio: 736 / 512; background: var(--color-bg-page); }
.planner .copy { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; min-width: 0; }

/* ready now */
.ready { background: var(--dark-bg); color: var(--dark-text); }
.ready .wrap { display: grid; grid-template-columns: 36rem 1fr; gap: 3rem clamp(3rem, 8.9vw, 8rem); align-items: center; padding-block: var(--section); }
.ready .frame { aspect-ratio: 576 / 704; background: var(--dark-subtle); }
.ready .frame img { object-position: 78% 100%; outline-color: rgb(255 255 255 / .08); }
.ready .eyebrow { color: var(--dark-accent); }
.ready .cap, .ready .body-l { color: var(--dark-text-2); }
.ready .copy { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; min-width: 0; }
.ready .body-l { max-width: 28rem; }

/* quote */
.quote { padding-block: var(--section); text-align: center; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); line-height: .92; letter-spacing: -.025em; text-wrap: balance; max-width: 9.5em; margin-inline: auto; }
.quote cite { display: block; margin-top: 2rem; color: var(--color-text-secondary); }

/* showroom */
.showroom { padding-block: var(--section); }
.showroom .top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border-strong); }
.showroom h2 { font-size: clamp(3rem, 7.4vw, 6rem); line-height: .92; letter-spacing: -.025em; margin-top: 1rem; }
.showroom .acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.showroom .body { display: grid; grid-template-columns: 16rem 1fr; gap: 2rem 4rem; margin-top: 4rem; align-items: start; }
.visit { display: flex; flex-direction: column; gap: 2rem; }
.visit dt { color: var(--color-text-secondary); margin-bottom: .5rem; }
.visit dd { font-size: 1.125rem; line-height: 1.6; overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
.rooms { display: grid; grid-template-columns: 544fr 384fr; gap: 4rem; min-width: 0; align-items: start; }
.rooms .frame { aspect-ratio: 1; }
.rooms .b .frame { aspect-ratio: 3 / 4; }

/* footer */
.site-foot { background: var(--dark-bg); color: var(--dark-text); padding-top: 4rem; overflow: hidden; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot .lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; max-width: 10em; }
.site-foot ul { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.site-foot li { font-size: .875rem; overflow-wrap: break-word; }
.site-foot .eyebrow { color: var(--dark-text-2); }
.site-foot li a { position: relative; display: inline-block; }
.site-foot li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; scale: 0 1; transform-origin: right; transition: scale .4s var(--ease); }
@media (hover: hover) { .site-foot li a:hover::after { scale: 1 1; transform-origin: left; } }
.giant-clip { clip-path: inset(-40% 0 0 0); }
.giant { font-family: var(--font-display); font-weight: 400; font-size: clamp(7rem, 29vw, 26rem); line-height: .76; letter-spacing: -.04em; margin: clamp(2rem, 5vw, 4rem) 0 0 -.04em; padding-bottom: .1em; user-select: none; }
.site-foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1rem 2rem; border-top: 1px solid var(--dark-border); font-size: .75rem; color: var(--dark-text-2); }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-img { will-change: translate; }
  .hero-img img { animation: settle 2.4s var(--ease) both; }
  .hero h1 .line > span { animation: line-up 1.1s var(--ease) both; }
  .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
  .hero-row { animation: lift .9s var(--ease) .5s both; }
  .jump { animation: lift .9s var(--ease) .7s both; }
  @keyframes settle { from { scale: 1.09; } to { scale: 1; } }
  @keyframes line-up { from { translate: 0 115%; } to { translate: 0 0; } }
  @keyframes lift { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
  @keyframes swap { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
  .frame.rv img { clip-path: inset(0 0 100% 0); scale: 1.12; }
  .frame.rv.in img { clip-path: inset(0 0 0 0); scale: 1; transition: clip-path 1.2s var(--ease), scale 1.7s var(--ease); }
  .motion .giant { translate: 0 62%; }
  .motion .giant.in { translate: 0 0; transition: translate 1.5s var(--ease); }
  .swap { animation: swap .5s var(--ease) both; }
  /* headings rise line by line; the quote arrives word by word */
  .rise .w, .words .w { display: inline-block; }
  .rise .w { clip-path: inset(-.12em -.1em -.2em -.1em); }
  .rise .w > span { display: inline-block; translate: 0 115%; }
  .rise.in .w > span { translate: 0 0; transition: translate 1.1s var(--ease) var(--d, 0s); }
  .words .w > span { display: inline-block; opacity: 0; translate: 0 .25em; }
  .words.in .w > span { opacity: 1; translate: 0 0; transition: opacity .9s ease var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
  .quote cite.wait { opacity: 0; }
  .quote cite.wait.in { opacity: 1; transition: opacity .9s ease var(--d, 0s); }
  /* collection cards arrive from the right, one after another */
  .rail.cards .piece { opacity: 0; translate: 4rem 0; }
  .rail.cards.in .piece { opacity: 1; translate: 0 0; transition: opacity .8s ease var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s); }
  /* menu: the sheet drops from the top, its rows follow one by one, and everything lifts away on close */
  .menu-links li, .menu-info, .menu > .btn { opacity: 0; translate: 0 -1.5rem; transition: opacity .2s ease, translate .3s var(--ease-inout); }
  .menu.is-open .menu-links li, .menu.is-open .menu-info, .menu.is-open > .btn { opacity: 1; translate: 0 0; transition: opacity .5s ease var(--d, 0s), translate .8s var(--ease) var(--d, 0s); }
  .menu-links li:nth-child(1) { --d: .16s; } .menu-links li:nth-child(2) { --d: .21s; } .menu-links li:nth-child(3) { --d: .26s; }
  .menu-links li:nth-child(4) { --d: .31s; } .menu-links li:nth-child(5) { --d: .36s; } .menu-links li:nth-child(6) { --d: .41s; }
  .menu-info { --d: .5s; } .menu > .btn { --d: .56s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step-panel, .stage figure, .stage figure img, .piece img, .btn, .btn svg, .link svg, .nav a::after, .site-foot li a::after, .jump svg, .drag-tip, .menu, .bars i, .site-head { transition: none; }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .long { display: none; } .short { display: inline; }
  .site-head .btn { padding-inline: 1.5rem; }
  .process .wrap, .three .wrap, .planner .wrap, .ready .wrap { grid-template-columns: 1fr; }
  .hero .wrap { min-height: 40rem; }
  .hero h1 { font-size: clamp(3.5rem, 12.5vw, 6rem); }
  .hero-row p { max-width: none; }
  .jump { display: none; }
  /* process: one photo sits between the heading and the steps */
  .process .wrap { row-gap: 2rem; }
  .process .wrap > div:first-child { display: contents; }
  .steps { margin-top: 0; order: 2; }
  .stage { position: static; order: 1; }
  .stage .frame { aspect-ratio: 704 / 512; }
  .planner .frame { aspect-ratio: 704 / 512; }
  .idea h2, .idea .a, .idea .side { grid-column: 1 / -1; }
  .idea .side { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .three .viewer { order: 2; aspect-ratio: 704 / 848; }
  .step-btn { min-height: 3.5rem; }
  .piece .frame { aspect-ratio: 256 / 400; }
  .ready .frame { aspect-ratio: 704 / 640; }
  .showroom .body { grid-template-columns: 1fr; margin-top: 2rem; }
  .visit { flex-direction: row; flex-wrap: wrap; gap: 1.5rem 3rem; }
  .visit > div { flex: 1 1 12rem; }
  .rooms { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .rooms .b .frame { aspect-ratio: 1; }
  .site-foot .cols { grid-template-columns: 1fr 1fr 1fr; }
  .site-foot .lead { grid-column: 1 / -1; max-width: none; }
}
/* tablet type sizes and section spacing from the Figma tokens */
@media (min-width: 641px) and (max-width: 1100px) {
  :root { --section: 4rem; }
  .wordmark { font-size: 2rem; }
  .body-l { font-size: 1.125rem; }
  .idea h2 { font-size: 3.5rem; }
  .sh h2 { font-size: 3rem; }
  .quote blockquote, .showroom h2 { font-size: 4.5rem; }
}
@media (max-width: 640px) {
  .hero-cta, .hero-cta .btn, .three .btn, .planner .btn, .ready .btn, .showroom .acts, .showroom .acts .btn { width: 100%; }
  .jump { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .idea .side { grid-template-columns: 1fr; }
  .idea .side p { order: 2; }
  .facts-row { gap: 2rem 1rem; }
  .rail-ctl { display: none; }
  .rooms { grid-template-columns: 1fr; }
  .rooms .frame, .rooms .b .frame { aspect-ratio: 358 / 320; }
  .visit { flex-direction: column; gap: 2rem; }
  .visit > div { flex: none; }
  .idea .eyebrow { display: block; grid-column: 1 / -1; margin-bottom: -1rem; }
  .stage .frame { aspect-ratio: 358 / 384; }
  .three .viewer { aspect-ratio: 3 / 4; }
  .planner .frame { aspect-ratio: 358 / 320; }
  .ready .frame { aspect-ratio: 4 / 5; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .collection .after { flex-direction: column; align-items: flex-start; }
}
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
