/* BR Code.ai page CSS: only what sits inside a visual and the kit lacks (the live viewer, the
   configurator window, the tool panels) and one --p-h per card group. Tokens from system.css. */

/* ---------- the client's logo: a black-ground file, so it lightens onto the warm-black bar */
.brand-logo img { height: 30px; width: auto; mix-blend-mode: lighten; }
@media (max-width: 639px) { .brand-logo img { height: 24px; } }

/* ---------- the live viewer (hero stage and the configurator's open pane) */
.viewer { position: relative; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.viewer:active { cursor: grabbing; }
.viewer__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; z-index: 1; }
.viewer__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 0; }
/* a held viewer (built, not yet used) shows its pre-rendered still or video; the live canvas fades in on first use */
.viewer > .viewer__canvas { transition: opacity .5s ease; }
.viewer.is-held > .viewer__canvas { opacity: 0; visibility: hidden; }
/* the still poster always sits under the canvas; the canvas carries the stage's own ground, so it covers the poster
   while it draws and the poster shows the moment the canvas is gone (no WebGL, a rejected shader) */
.hero__stage--live .viewer.has-frame > .viewer__canvas { background: radial-gradient(48% 62% at 50% 64%, color-mix(in oklab, var(--p-accent) 16%, var(--p-bg)), var(--p-bg) 70%); }
.app__pane--open .viewer.has-frame > .viewer__canvas { background: radial-gradient(70% 80% at 50% 70%, #24201c, #121110 75%); }
.app.is-room .app__pane--open .viewer__canvas { background: none; }
.viewer.is-fallback { cursor: default; }

/* the product hero's stage, held like a render frame: no box, the page's ground, across the wrap */
.hero--product .hero__stage--live {
  margin-top: var(--s-6); margin-bottom: calc(var(--s-5) - var(--hpadb, 64px));
  border-radius: 0; overflow: visible;
  background: radial-gradient(48% 62% at 50% 64%, color-mix(in oklab, var(--p-accent) 16%, transparent), transparent 70%);
}
.hero--product .hero__stage--live > .est { position: absolute; inset: 0; }
.est > .viewer { position: absolute; inset: 0; height: auto; }
@media (min-width: 1024px) {
  .hero--product:has(.hero__stage--live) .hero__head { grid-template-rows: auto auto; row-gap: var(--s-5); }
  .hero--product:has(.hero__stage--live) .hero__head > :first-child { display: contents; }
  .hero--product:has(.hero__stage--live) .hero__head h1 { grid-column: 1 / span 7; grid-row: 1 / span 2; align-self: end; margin: 0; }
  .hero--product:has(.hero__stage--live) .hero__head .hero__lead { grid-column: 9 / -1; grid-row: 1; align-self: end; margin: 0; max-width: none; }
  .hero--product:has(.hero__stage--live) .hero__head > .btn-row { grid-column: 9 / -1; grid-row: 2; justify-content: flex-start; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero--product:has(.hero__stage--live) .hero__head h1 { grid-column: 1 / span 6; }
  .hero--product:has(.hero__stage--live) .hero__head .hero__lead,
  .hero--product:has(.hero__stage--live) .hero__head > .btn-row { grid-column: 7 / -1; }
}

/* ---------- app-frame (sections-library.md, app-frame) */
.config-intro p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 56ch; }
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7);
  background: var(--p-surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 40px 80px -40px rgb(0 0 0 / .7); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--line); }
.app > .app__pane--open { background: radial-gradient(70% 80% at 50% 70%, #24201c, #121110 75%); }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--line); }
}

.cfg { display: grid; gap: var(--s-5); padding: var(--s-5) var(--s-6) var(--s-6); align-content: start; height: 100%; }
.cfg__bar { display: flex; align-items: center; gap: 6px; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.cfg__dot { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in oklab, var(--ink) 18%, transparent); }
.cfg__crumb { margin-left: var(--s-3); font: 500 13px/1 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfg__group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-3); }
.cfg__group legend { font: 500 13px/1.4 var(--font-text); color: var(--muted); padding: 0; margin-bottom: var(--s-3); }
.cfg__swatches { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.sw { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: 6px 12px 6px 6px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 14px/1.2 var(--font-text); text-align: left; cursor: pointer; }
.sw__chip { flex: none; width: 30px; height: 30px; border-radius: 7px; background:
  radial-gradient(circle at 30% 25%, rgb(255 255 255 / .28), transparent 55%), var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .25); }
.sw[aria-pressed="true"] { border-color: var(--p-accent); background: color-mix(in oklab, var(--p-accent) 10%, transparent); }
.cfg__seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; gap: 3px; border-radius: 10px; background: color-mix(in oklab, var(--ink) 6%, transparent); }
.cfg__seg button { min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 500 14px/1 var(--font-text); cursor: pointer; white-space: nowrap; padding: 0 8px; }
.cfg__seg button[aria-pressed="true"] { background: var(--p-ink); color: var(--p-bg); }
.cfg__spec { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.cfg__spec dt { font: 500 13px/1.4 var(--font-text); color: var(--muted); }
.cfg__spec dd { margin: 4px 0 0; font: 500 14px/1.3 var(--font-mono); color: var(--ink); }
.cfg__tools { position: absolute; left: var(--s-5); bottom: var(--s-5); z-index: 3; display: flex; gap: var(--s-2); }
.cfg__tool { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); background: rgb(13 12 11 / .72); color: var(--p-ink); font: 500 14px/1 var(--font-text); cursor: pointer; }
.cfg__tool[aria-pressed="true"] { background: var(--p-ink); color: var(--p-bg); border-color: var(--p-ink); }
.viewer__room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; opacity: 0; transition: opacity .5s ease; z-index: 0; }
.app.is-room .viewer__room { opacity: 1; }
.app.is-room .viewer__poster { opacity: 0; }
.dims { position: absolute; left: 50%; top: 18%; z-index: 2; translate: -50% 0; display: grid; justify-items: center; gap: 8px; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.dims__line { width: min(60vw, 520px); height: 12px; border: 1.5px solid var(--p-accent); border-top: 0; border-bottom: 0; background: linear-gradient(var(--p-accent), var(--p-accent)) center / 100% 1.5px no-repeat; }
.dims__label { font: 500 14px/1 var(--font-mono); color: var(--p-bg); background: var(--p-accent); padding: 6px 10px; border-radius: 6px; }
.app.is-dims .dims { opacity: 1; }

/* ---------- bento panels */
#tools .panel { --p-h: 300px; }
@media (max-width: 639px) { #tools .panel { --p-h: 140px; } }
.panel .frame__img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }

.plan { position: absolute; inset: 0; color: var(--ink); --m-cycle: 3.6s; --m-still: .7; }
.plan__svg { position: absolute; inset: 0 0 48px; width: 100%; height: calc(100% - 48px); color: #f6f2ec; }
.plan__wall { fill: none; stroke: #f6f2ec; stroke-width: 6; stroke-linejoin: round; opacity: .85; }
.plan__rug { fill: rgb(255 255 255 / .06); stroke: rgb(255 255 255 / .18); stroke-dasharray: 4 4; }
.plan__item { fill: rgb(255 255 255 / .1); stroke: rgb(255 255 255 / .28); }
.plan__sofa { animation: sofa-in var(--m-cycle) cubic-bezier(.2,.7,.2,1) infinite; }
.plan__sofa > rect:first-child { fill: #b4532b; }
.plan__seat { fill: rgb(255 255 255 / .16); }
.plan__dim path { stroke: var(--p-accent); stroke-width: 1.5; fill: none; }
.plan__dim text { fill: var(--p-accent); font: 500 14px var(--font-mono); }
.plan__dim { animation: dim-in var(--m-cycle) ease infinite; }
@keyframes sofa-in {
  0%   { transform: translate(410px, 250px) rotate(-12deg); opacity: 0; }
  15%  { opacity: 1; }
  60%, 100% { transform: translate(380px, 72px) rotate(0); opacity: 1; }
}
@keyframes dim-in { 0%, 55% { opacity: 0; } 70%, 100% { opacity: 1; } }
.plan__bar { position: absolute; left: 16px; right: 16px; bottom: 8px; height: 32px; display: flex; align-items: center; gap: 4px; }
.plan__seg { font: 500 13px/1 var(--font-text); color: rgb(246 242 236 / .7); padding: 8px 12px; border-radius: 999px; }
.plan__seg.is-on { background: #f6f2ec; color: #0d0c0b; }
.plan__meta { margin-left: auto; margin-right: 48px; font: 500 13px/1 var(--font-mono); color: rgb(246 242 236 / .7); }
#tools .panel:has(.plan) { background: #1d1a17; }

.ar__reticle { position: absolute; left: 58%; top: 70%; z-index: 2; width: 96px; height: 40px; translate: -50% -50%;
  border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 6px rgb(255 255 255 / .18); }
.ar__reticle span { position: absolute; inset: 40% 46%; border-radius: 50%; background: #fff; }
.ar__chip { position: absolute; left: 16px; top: 16px; z-index: 2; font: 500 13px/1 var(--font-mono); color: #0d0c0b; background: #f6f2ec; padding: 8px 10px; border-radius: 999px; }

.mats, .mods { position: absolute; inset: 0; display: grid; align-content: center; gap: var(--s-5); padding: var(--s-6); }
.mats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mats__grid span { aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 30% 25%, rgb(255 255 255 / .3), transparent 60%), var(--m); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
.mats__grid span.is-on { outline: 2px solid #0d0c0b; outline-offset: 3px; }
.mats__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: #f6f2ec; color: #0d0c0b; }
.mats__name { font: 500 15px/1.2 var(--font-text); }
.mats__code { font: 500 13px/1 var(--font-mono); color: #5a5855; }
.mods__shape { position: relative; height: 112px; }
.mods__shape i { position: absolute; border-radius: 10px; background: #b4532b; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18), inset 0 8px 0 rgb(255 255 255 / .12); }
.mods__shape .m1 { left: 0; top: 0; width: 26%; height: 56%; }
.mods__shape .m2 { left: 27%; top: 0; width: 26%; height: 56%; }
.mods__shape .m3 { left: 54%; top: 0; width: 26%; height: 56%; }
.mods__shape .m4 { left: 54%; top: 58%; width: 26%; height: 42%; background: #c76a40; }
.mods__parts { display: flex; flex-wrap: wrap; gap: 6px; }
.mods__parts span { font: 500 13px/1 var(--font-text); color: #0d0c0b; background: rgb(255 255 255 / .55); padding: 8px 10px; border-radius: 999px; }
.mods__parts .mods__add { background: #0d0c0b; color: #f6f2ec; }

.vto__chips { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; gap: 6px; }
.vto__chips span { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--font-text); color: #0d0c0b; background: #f6f2ec; padding: 6px 10px 6px 6px; border-radius: 999px; }
.vto__chips span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--m); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
.vto__chips span.is-on { outline: 2px solid var(--p-accent); }

/* ---------- industries */
.trades { margin-bottom: var(--s-5); }
.trades .mo-mq__track li { font: var(--display-weight) clamp(22px, 2.2vw, 32px)/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.trades .mo-mq__track li::after { content: "·"; margin-left: 0.6em; color: var(--p-accent); }
#industries .panel { --p-h: 356px; }
@media (max-width: 639px) { #industries .panel { --p-h: 232px; } }
.ind { text-decoration: none; color: inherit; }
.ind:hover .frame__img { transform: scale(1.03); }
.plan-mini { background: #1d1a17 !important; }
.plan-mini svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-mini path { fill: none; stroke: #f6f2ec; stroke-width: 5; stroke-linejoin: round; opacity: .85; }
.plan-mini rect, .plan-mini circle { fill: rgb(255 255 255 / .1); stroke: rgb(255 255 255 / .3); }
.plan-mini rect.acc { fill: #b4532b; stroke: none; }
.plan-mini text { fill: #f6f2ec; font: 500 14px var(--font-mono); }

/* ---------- the statement on the light band */
.statement { max-width: none; }
.statement .mo-lt__type { font-size: clamp(44px, 7.4vw, 112px); line-height: 0.98; letter-spacing: -0.04em; max-width: 13ch; }
.statement p { max-width: 52ch; }

/* ---------- services */
.svc { margin-top: var(--s-6); }
.svc li { font-size: 16px; }
.svc__panel { --p-h: 520px; border-radius: var(--r-lg); }
@media (max-width: 639px) { .svc__panel { --p-h: 300px; } }
.svc__panel .dg { position: absolute; inset: 0; }

/* ---------- the AR placement band under the statement */
#try-on .wrap { display: flex; flex-direction: column; gap: var(--s-6); }
#try-on .tryon { --p-h: clamp(220px, 34vh, 340px); border-radius: var(--r-lg); }
#try-on .tryon .frame__img { object-position: 50% 78%; }
.tryon__reticle { position: absolute; left: 52%; top: 66%; z-index: 2; width: 220px; height: 64px; translate: -50% -50%;
  border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 8px rgb(255 255 255 / .2); animation: tryon-pulse 3.2s ease-in-out infinite; }
.tryon__reticle span { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; translate: -50% -50%; border-radius: 50%; background: #fff; }
.tryon__dim { position: absolute; left: 52%; top: 34%; z-index: 2; width: 260px; translate: -50% 0; display: flex; justify-content: center; padding-bottom: 12px;
  background: linear-gradient(#ff6b1a, #ff6b1a) bottom / 100% 2px no-repeat; }
.tryon__dim::before, .tryon__dim::after { content: ""; position: absolute; bottom: -6px; width: 2px; height: 14px; background: #ff6b1a; }
.tryon__dim::before { left: 0; } .tryon__dim::after { right: 0; }
.tryon__dim span { font: 500 13px/1 var(--font-mono); color: #0d0c0b; background: #ff6b1a; padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.tryon__chip { position: absolute; left: 16px; bottom: 16px; z-index: 2; font: 500 13px/1 var(--font-mono); color: #0d0c0b; background: #f6f2ec; padding: 9px 12px; border-radius: 999px; }
@keyframes tryon-pulse { 50% { box-shadow: 0 0 0 16px rgb(255 255 255 / 0); } }
@media (prefers-reduced-motion: reduce) { .tryon__reticle { animation: none; } }
@media (max-width: 639px) { .tryon__reticle { width: 140px; height: 44px; } .tryon__dim { width: 200px; } }

/* the kit sets a heavier panel height inside the grid; this page's services panel is taller */
#services .panel.svc__panel { --p-h: 520px; }
@media (max-width: 639px) { #services .panel.svc__panel { --p-h: 300px; } }

/* ---------- configurator on tablet and phone: the frame grows, the live pane keeps a real height */
@media (max-width: 1023px) {
  #configurator .app.fill { flex: none; height: auto; min-height: 0; }
  #configurator .app > .app__pane--open { min-height: clamp(320px, 62vw, 520px); }
  #configurator .cfg { height: auto; }
}
@media (max-width: 639px) {
  #configurator .cfg { padding: var(--s-4); gap: var(--s-4); }
  .cfg__swatches { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sw { padding-right: 8px; font-size: 13px; gap: var(--s-2); }
  .sw__chip { width: 26px; height: 26px; }
}

/* one look for "Book a demo" everywhere: the accent pill, the light footer too */
.closing .btn--primary { background: var(--p-action); color: var(--p-action-ink); border-color: transparent; }
/* the industries marquee runs edge to edge */
/* the module and material cards keep their last row inside the panel */
.mats, .mods { gap: var(--s-4); padding: var(--s-5); }
/* a phone: the live render takes what the head leaves, like the kit's render stage, so the hero ends on the fold */
@media (max-width: 639px) {
  .hero--product .hero__stage.hero__stage--live { flex: 1 1 auto; aspect-ratio: auto; min-height: 240px; margin-bottom: 0; }
}
/* the services diagram runs the full screen beside the list */
@media (min-width: 1024px) { #services .panel.svc__panel { --p-h: calc(100svh - var(--padt) - var(--padb) - var(--bar, 0px)); } }
/* the questions section: a finished home under the contact line */
#questions .section-head { display: flex; flex-direction: column; align-items: flex-start; }
.faq__photo { --p-h: 424px; width: 100%; margin-top: var(--s-6); border-radius: var(--r-lg); }
@media (max-width: 639px) { .faq__photo { --p-h: 220px; } }
/* industries: the top panels at the group's height, not square, so the row holds one screen */
#industries .card > .panel--top { aspect-ratio: auto; height: var(--p-h); }
/* diagram captions that sit on the sand panel (the phone's stacked layout) take the ground's own ink */
#services .svc__panel .dg-cap { color: var(--ground-ink, #2b241c); }
/* the trades marquee runs edge to edge: the section is the container, so 100cqw is the page's width without the scrollbar */
#industries { container-type: inline-size; }
@media (min-width: 640px) { #industries .trades { margin-inline: calc((100% - 100cqw) / 2); overflow-x: clip; } }
@media (max-width: 639px) { #questions .faq__photo { --p-h: 600px; } }

/* ---------- the tower hero: the floor rail on the left, the card on the right, flat pins over the open floor */
.est { --est-bg: rgb(20 18 16 / .8); }
.est__rail { position: absolute; left: 0; top: 50%; translate: 0 -50%; z-index: 3; }
.est__rail-h { margin: 0 0 var(--s-2); font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.est__floors { display: grid; gap: 3px; }
.est__floors button { display: flex; align-items: baseline; gap: 10px; min-height: 28px; padding: 5px 12px 5px 10px; border-radius: 8px; border: 1px solid transparent;
  background: rgb(255 255 255 / .04); color: var(--ink); font: 500 13px/1 var(--font-text); cursor: pointer; text-align: left; transition: background-color .2s ease, color .2s ease; }
.est__floors b { width: 2ch; font: 500 14px/1 var(--font-mono); }
.est__floors span { color: var(--muted); font-size: 12px; }
.est__floors button:hover { background: rgb(255 255 255 / .1); }
.est__floors button[aria-pressed="true"] { background: var(--p-accent); color: var(--p-accent-ink); }
.est__floors button[aria-pressed="true"] span { color: inherit; }
.est__card { position: absolute; right: 0; top: 50%; translate: 0 -50%; z-index: 3; width: 300px; padding: var(--s-5); border-radius: 16px;
  background: var(--est-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgb(255 255 255 / .08); }
.est__crumb { margin: 0 0 var(--s-2); font: 500 12px/1.4 var(--font-mono); color: var(--muted); }
.est__title { margin: 0 0 var(--s-3); font: var(--display-weight) 22px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.est__card > p:not(.est__crumb, .est__title) { margin: 0 0 var(--s-4); font-size: 14px; line-height: 1.45; color: color-mix(in oklab, var(--ink) 78%, transparent); }
.est__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.est__legend { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0 0 var(--s-3); padding: 0; list-style: none; font-size: 13px; color: var(--ink); }
.est__legend li::before, .est__facts i { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--c); }
.est__facts { display: grid; gap: var(--s-3); margin: 0 0 var(--s-4); }
.est__facts dt { font-size: 12px; color: var(--muted); }
.est__facts dd { margin: 2px 0 0; font-size: 14px; color: var(--ink); }
.est__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); background: transparent; color: var(--ink); font: 500 16px/1 var(--font-text); cursor: pointer; transition: background-color .2s ease; }
.est__icon:hover { background: rgb(255 255 255 / .08); }
.est__icon:disabled { opacity: .35; cursor: not-allowed; }
.est__step { display: flex; gap: 6px; }
.est__rooms { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.est__room { padding: 7px 11px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); background: transparent; color: var(--ink); font: 500 12px/1 var(--font-text); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.est__room:hover { background: rgb(255 255 255 / .08); }
.est__room[aria-pressed="true"] { background: var(--p-accent); color: var(--p-accent-ink); border-color: transparent; }
.est__hot { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; pointer-events: auto; cursor: pointer; color: #fff; font: 500 12px/1 var(--font-text); }
.est__hot[hidden] { display: none; }
.est__hot span { padding: 6px 10px; border-radius: 999px; background: rgb(20 18 16 / .72); white-space: nowrap; transition: background-color .2s ease; }
.est__hot i { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .92); background: rgb(255 255 255 / .2); box-shadow: 0 2px 12px rgb(0 0 0 / .35); transform: perspective(240px) rotateX(58deg); transition: transform .2s ease, background-color .2s ease; }
.est__hot:hover span, .est__hot:focus-visible span { background: var(--p-accent); color: var(--p-accent-ink); }
.est__hot:hover i { transform: perspective(240px) rotateX(58deg) scale(1.14); background: rgb(255 255 255 / .4); }
.est__pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.est__pin { position: absolute; left: 0; top: 0; display: grid; gap: 3px; padding: 7px 11px; border-radius: 10px; pointer-events: auto; cursor: pointer; text-align: left; white-space: nowrap;
  background: rgb(20 18 16 / .88); border: 1px solid rgb(255 255 255 / .14); color: var(--ink); font: 500 12px/1.2 var(--font-text); transition: background-color .2s ease, color .2s ease; }
.est__pin b { font: 500 14px/1 var(--font-mono); }
.est__pin b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--c, #55524d); }
.est__pin[data-status="available"] { --c: #ff6b1a; } .est__pin[data-status="reserved"] { --c: #d8c3a0; }
.est__pin:hover { background: rgb(40 36 32 / .95); }
.est__pin[aria-pressed="true"] { background: var(--p-accent); color: var(--p-accent-ink); --c: var(--p-accent-ink); }
.est__fade { position: absolute; inset: 0; z-index: 4; background: #0d0c0b; opacity: 0; pointer-events: none; transition: opacity .38s ease; }
.est__fade.is-on { opacity: 1; }
.est[data-mode="walk"] { border-radius: var(--r-lg); overflow: hidden; }
.est[data-mode="walk"] .est__rail { opacity: 0; pointer-events: none; }
.est.is-fallback .est__rail, .est.is-fallback .est__pins { display: none; }
@media (max-width: 1023px) { .est__card { width: 260px; } }
@media (max-width: 639px) {
  .est__rail { display: none; }
  .est__card { left: 0; right: 0; top: auto; bottom: 0; translate: none; width: auto; padding: var(--s-4); }
  .est__title { font-size: 18px; }
  .est__card > p:not(.est__crumb, .est__title) { display: none; }
}

/* ---------- the wardrobe and kitchen frames: denser option panes */
.app.ui.app--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cfg--dense { gap: var(--s-3); padding: var(--s-4) var(--s-5) var(--s-5); grid-template-columns: minmax(0, 1fr); }
.cfg--dense .cfg__crumb { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* every option stays in view: the frame grows to the height of its options (no scroll inside the card),
   and the live model fills whatever height that gives, never less than a real viewing height */
.app.ui.fill:has(.cfg--dense) { flex: none; height: auto; min-height: 0; }
.app > .app__pane:has(> .cfg--dense) { overflow: visible; }
.app.ui:has(.cfg--dense) > .app__pane--open { min-height: clamp(320px, 42vw, 600px); }
.app > .app__pane > .cfg--dense { height: auto; min-height: 100%; }
.cfg--dense .cfg__group legend { margin-bottom: var(--s-2); }
.cfg--dense .cfg__group { gap: var(--s-2); }
.cfg--dense .cfg__seg button { min-height: 36px; font-size: 13px; padding-inline: 8px; }
@media (min-width: 640px) { .cfg--dense .cfg__seg button { white-space: nowrap; } }
/* a small laptop: the options get half the frame so every label fits */
@media (min-width: 1024px) and (max-width: 1279px) {
  .app.ui:has(.cfg--dense) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.cfg__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); }
.cfg__seg button[hidden] { display: none; }
.cfg__spec--2 { grid-template-columns: repeat(2, auto); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-sw { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 2px solid transparent; cursor: pointer;
  background: radial-gradient(circle at 30% 25%, rgb(255 255 255 / .3), transparent 55%) padding-box, var(--sw) padding-box; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .25); transition: border-color .2s ease; }
.chip-sw[aria-pressed="true"] { border-color: var(--p-accent); box-shadow: inset 0 0 0 2px var(--p-surface); }
.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mod-grid button { min-height: 36px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 13px/1 var(--font-text); cursor: pointer; transition: background-color .2s ease; }
.mod-grid button:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); }
.mod-grid button:disabled { opacity: .35; cursor: not-allowed; }
.mod-sel { display: flex; align-items: center; gap: var(--s-2); }
.mod-sel > span { flex: 1; min-width: 0; font: 500 14px/1.3 var(--font-mono); color: var(--ink); }
.mod-sel__rm { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--p-accent) 55%, transparent); background: transparent; color: var(--p-accent); font: 500 13px/1 var(--font-text); cursor: pointer; }
.mod-sel__rm:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 1023px) {
  #kitchen .app.fill { flex: none; height: auto; min-height: 0; }
  #kitchen .app > .app__pane--open { min-height: clamp(320px, 62vw, 520px); }
  #kitchen .cfg { height: auto; }
  .app.ui.app--flip { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) { #kitchen .cfg { padding: var(--s-4); } .cfg__pair { grid-template-columns: minmax(0, 1fr); }
  #kitchen .app > .app__pane--open { min-height: 400px; } }

/* ---------- the luxury finish: light in the materials, not flat fills
   buttons: a molten amber with a lit top edge and a warm glow; the secondary is frosted glass */
.btn--primary, .closing .btn--primary {
  background: linear-gradient(180deg, #ff9a52 0%, #ff6b1a 52%, #e4520c 100%);
  color: #140a04; border-color: transparent;
  box-shadow: inset 0 1px 0 rgb(255 236 214 / .55), inset 0 -1px 0 rgb(120 40 0 / .35), 0 10px 28px -12px rgb(255 107 26 / .75);
  transition: box-shadow .3s ease, filter .3s ease, transform .2s ease;
}
.btn--primary:hover, .closing .btn--primary:hover {
  background: linear-gradient(180deg, #ffab6b 0%, #ff7a2e 52%, #ec5d14 100%);
  box-shadow: inset 0 1px 0 rgb(255 240 222 / .65), inset 0 -1px 0 rgb(120 40 0 / .35), 0 16px 36px -12px rgb(255 120 40 / .9);
}
html[data-buttons="pill"] .btn--secondary, .btn--secondary {
  background: linear-gradient(180deg, rgb(255 255 255 / .12), rgb(255 255 255 / .03));
  border: 1px solid rgb(255 255 255 / .14); color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 8px 24px -14px rgb(0 0 0 / .8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html[data-buttons="pill"] .btn--secondary:hover, .btn--secondary:hover { background: linear-gradient(180deg, rgb(255 255 255 / .18), rgb(255 255 255 / .05)); border-color: rgb(255 200 160 / .3); }

/* sections: a low ambient light in alternating corners, as if each room were lit from one side */
main > section.section:not(.ground-inverse):not(.hero) {
  background:
    radial-gradient(55% 45% at 100% 0%, rgb(255 107 26 / .075), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgb(176 131 90 / .07), transparent 70%),
    linear-gradient(180deg, #100e0c 0%, #0c0b0a 100%);
}
main > section.section:not(.ground-inverse):not(.hero):nth-of-type(even) {
  background:
    radial-gradient(55% 45% at 0% 0%, rgb(255 107 26 / .07), transparent 70%),
    radial-gradient(50% 50% at 100% 100%, rgb(150 170 200 / .05), transparent 70%),
    linear-gradient(180deg, #0c0b0a 0%, #110f0d 100%);
}
.hero { background: radial-gradient(70% 60% at 70% 30%, rgb(255 107 26 / .09), transparent 70%), linear-gradient(180deg, #0f0d0c, #0c0b0a); }
.ground-inverse { background: radial-gradient(60% 60% at 80% 10%, #fffaf3, transparent 70%), linear-gradient(180deg, #f3eee6, #e9e3da); }

/* cards and frames: a bronze-edged rim of light, depth under them, and a warm glow on hover */
.app.ui, .menu-card, .t-card {
  background: linear-gradient(160deg, #1f1c19 0%, #161412 55%, #121110 100%) padding-box,
              linear-gradient(140deg, rgb(255 190 140 / .38), rgb(255 255 255 / .07) 35%, rgb(255 255 255 / .03) 70%, rgb(255 140 70 / .18)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 50px 90px -45px rgb(0 0 0 / .9), 0 0 0 1px rgb(0 0 0 / .4);
}
.card.card--open > .panel {
  box-shadow: 0 0 0 1px rgb(255 255 255 / .07), inset 0 1px 0 rgb(255 255 255 / .08), 0 34px 64px -34px rgb(0 0 0 / .9);
  transition: box-shadow .4s ease;
}
@media (hover: hover) and (pointer: fine) {
  a.card:hover > .panel, .card.card--open:hover > .panel { box-shadow: 0 0 0 1px rgb(255 170 110 / .32), inset 0 1px 0 rgb(255 255 255 / .1), 0 40px 70px -30px rgb(255 107 26 / .28); }
}
.cfg__seg { background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .02)); }
.cfg__seg button[aria-pressed="true"] { background: linear-gradient(180deg, #fbf6ef, #e6ddd0); color: #14110e; box-shadow: inset 0 1px 0 #fff, 0 4px 14px -6px rgb(0 0 0 / .7); }

/* the tower HUD: frosted glass over the 3D, readable over the bright sky */
.est__card, .est__rail {
  background: linear-gradient(160deg, rgb(28 24 21 / .78), rgb(14 12 11 / .62)) padding-box,
              linear-gradient(140deg, rgb(255 190 140 / .35), rgb(255 255 255 / .06) 45%, rgb(255 255 255 / .02)) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .85);
}
.est__rail { border-radius: 14px; padding: 8px 6px; }
.viewer--est { box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 60px 120px -50px rgb(0 0 0 / .95), 0 0 120px -40px rgb(255 120 50 / .25); }

/* ---------- services, in focus: numbered service cards that light their stage in the pipeline */
#services {
  background:
    radial-gradient(55% 65% at 88% 45%, rgb(255 120 40 / .13), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgb(170 120 80 / .12), transparent 70%),
    linear-gradient(180deg, #13100e 0%, #0b0a09 100%);
}
.svc-list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: 10px; }
.svc-item {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; cursor: default;
  background: linear-gradient(120deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015) 60%) padding-box,
              linear-gradient(120deg, rgb(255 190 140 / .3), rgb(255 255 255 / .06) 40%, rgb(255 255 255 / .03)) border-box;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 18px 40px -28px rgb(0 0 0 / .9);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.svc-item::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease;
  background: linear-gradient(100deg, rgb(255 107 26 / .24), rgb(255 160 90 / .07) 45%, transparent 75%); }
.svc-item:hover, .svc-item:focus-visible { transform: translateX(6px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 24px 50px -26px rgb(255 107 26 / .5); }
.svc-item:hover::before, .svc-item:focus-visible::before { opacity: 1; }
.svc-item:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.svc-item__n { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; color: #ffab6b; }
.svc-item__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px;
  background: linear-gradient(160deg, #2c231c, #140f0c); box-shadow: inset 0 1px 0 rgb(255 255 255 / .09), 0 0 0 1px rgb(255 190 140 / .2), 0 8px 18px -10px rgb(255 107 26 / .45); }
.svc-item__ic svg, .svc-item__go svg { width: 20px; height: 20px; fill: none; stroke: #ffab6b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-item__t { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.svc-item__go { opacity: .35; transform: translateX(-4px); transition: opacity .4s ease, transform .4s ease; }
.svc-item:hover .svc-item__go, .svc-item:focus-visible .svc-item__go { opacity: 1; transform: none; }
@media (max-width: 639px) { .svc-item { grid-template-columns: auto minmax(0, 1fr) auto; } .svc-item__n { display: none; } }

/* the pipeline on a dark bronze ground: a warm core light, a slow turning sheen, a lit rim */
#services .svc__panel {
  --ground-bg: #16120f; --ground-surface: #211a15; --ground-ink: #f3ebe1; --ground-muted: #b3a697; --ground-accent: #ff8a3d;
  --bg: #16120f; --ink: #f3ebe1; --muted: #b3a697; --accent: #ff7a2e; --accent-ink: #140a04; --card: #241c17;
  position: relative; isolation: isolate; overflow: hidden; border: 1px solid transparent;
  background: radial-gradient(55% 50% at 42% 52%, rgb(255 120 40 / .24), transparent 70%) padding-box,
              radial-gradient(80% 80% at 100% 0%, rgb(210 160 115 / .14), transparent 60%) padding-box,
              linear-gradient(160deg, #1e1814, #0d0a08) padding-box,
              linear-gradient(140deg, rgb(255 190 140 / .5), rgb(255 255 255 / .06) 40%, rgb(255 140 70 / .32)) border-box;
  box-shadow: 0 60px 120px -50px rgb(0 0 0 / .95), 0 0 160px -60px rgb(255 110 40 / .45);
}
#services .svc__panel::before { content: ""; position: absolute; inset: -45%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 38%, rgb(255 150 80 / .13) 50%, transparent 62% 100%);
  animation: lux-spin 22s linear infinite; }
@keyframes lux-spin { to { transform: rotate(1turn); } }
#services .dg-node { transition: box-shadow .35s ease, filter .35s ease; }
#services .dg-node.is-lit { box-shadow: 0 0 0 1px rgb(255 170 110 / .85), 0 0 34px -4px rgb(255 107 26 / .75); filter: brightness(1.15); }
#services.is-tracing .dg-node:not(.is-lit) { filter: brightness(.7); }

/* ---------- transitions between sections: a bronze hairline and a soft light where one room meets the next */
main > section.section:not(.hero) { position: relative; isolation: isolate; }
main > section.section:not(.hero)::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(214 160 110 / .35) 25%, rgb(255 140 70 / .6) 50%, rgb(214 160 110 / .35) 75%, transparent); }
main > section.section:not(.hero)::after { content: ""; position: absolute; inset: 0 0 auto; height: 220px; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 100% at 50% 0%, rgb(255 107 26 / .1), transparent 72%); }
main > section.ground-inverse::before { background: linear-gradient(90deg, transparent, rgb(168 121 74 / .5) 50%, transparent); }
main > section.ground-inverse::after { background: radial-gradient(45% 100% at 50% 0%, rgb(255 170 110 / .18), transparent 72%); }

/* the rise into place (js/lux.js adds .lux below the first screen, .is-in when it comes on screen) */
.lux { opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--lux-d, 0ms), transform 1s cubic-bezier(.2,.7,.2,1) var(--lux-d, 0ms), filter .9s ease var(--lux-d, 0ms); }
.lux.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- light that travels: a sheen sweeps across the buttons and the card frames on hover */
.btn--primary, .closing .btn--primary {
  background-image: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / .4) 50%, transparent 62%), linear-gradient(180deg, #ff9a52 0%, #ff6b1a 52%, #e4520c 100%);
  background-size: 260% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat;
  transition: background-position .9s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, transform .2s ease;
}
.btn--primary:hover, .closing .btn--primary:hover {
  background-image: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / .4) 50%, transparent 62%), linear-gradient(180deg, #ffab6b 0%, #ff7a2e 52%, #ec5d14 100%);
  background-size: 260% 100%, 100% 100%; background-position: -30% 0, 0 0;
}
.card.card--open > .panel { position: relative; isolation: isolate; }
.card.card--open > .panel::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgb(255 235 215 / .16) 48%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 130% 0;
  transition: background-position 1.1s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) { .card.card--open:hover > .panel::after { background-position: -40% 0; } }
.card.card--open > h3 { background: linear-gradient(90deg, currentColor, currentColor) no-repeat 0 100% / 0 1px; padding-bottom: 2px; transition: background-size .5s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) { .card.card--open:hover > h3 { background-image: linear-gradient(90deg, #ffab6b, #ff6b1a); background-size: 100% 1px; } }

@media (prefers-reduced-motion: reduce) {
  #services .svc__panel::before { animation: none; }
  .svc-item, .svc-item__go, .btn--primary, .card.card--open > .panel::after { transition: none; }
}
#services .dg-node--core.is-ink { background-image: linear-gradient(180deg, #ffab6b 0%, #ff7a2e 55%, #e4520c 100%); color: #1a0c04;
  box-shadow: inset 0 1px 0 rgb(255 236 214 / .6), 0 0 0 1px rgb(255 170 110 / .5), 0 14px 40px -10px rgb(255 107 26 / .7); }
#services.is-tracing .dg-node:not(.is-lit) { filter: brightness(.78); }

/* ---------- tool cards: working tools, not clips. Taller panels so each tool has room to be used */
#tools .panel:is(.sd, .cz, .pd, .vt) { --p-h: 380px; overflow: hidden; isolation: isolate; }
@media (max-width: 639px) { #tools .panel:is(.sd, .cz, .pd, .vt) { --p-h: 330px; } }
.vid__chips { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; z-index: 2; }
.vid__chips span { font: 500 13px/1 var(--font-text); color: #f6f2ec; background: rgb(14 12 10 / .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px 12px; border-radius: 999px; }
.vid__chips span.is-on { background: #f6f2ec; color: #0d0c0b; }

/* live space designer: a planner window. A catalogue on the left, the floor plan in the middle, the live
   3D view on the right; a sofa leaves the catalogue, lands on the plan and the price follows */
#tools .panel.sd { display: grid; grid-template-rows: 38px minmax(0, 1fr) 34px; background: #17140f; color: #efe7db; font: 500 12px/1.2 var(--font-text); }
.sd__top { display: flex; align-items: center; gap: 12px; padding: 0 12px; border-bottom: 1px solid rgb(255 255 255 / .08); background: linear-gradient(180deg, #221d17, #1a1611); }
.sd__dots { display: flex; gap: 5px; } .sd__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.sd__file { color: rgb(239 231 219 / .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sd__tabs { margin-left: auto; display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgb(255 255 255 / .06); }
.sd__tabs b { font-weight: 500; padding: 5px 9px; border-radius: 6px; color: rgb(239 231 219 / .65); }
.sd__tabs b.is-on { background: #f6f2ec; color: #14110e; }
.sd__btn { padding: 6px 10px; border-radius: 999px; background: linear-gradient(180deg, #ff8a3d, #e85a12); color: #1a0c03; white-space: nowrap; }
.sd__body { display: grid; grid-template-columns: 118px minmax(0, 1.05fr) minmax(0, 1fr); min-height: 0; }
.sd__cat { display: grid; align-content: start; gap: 6px; padding: 10px 8px; border-right: 1px solid rgb(255 255 255 / .08); background: #1b1813; }
.sd__h { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgb(239 231 219 / .5); padding: 0 4px 2px; }
.sd__card { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 8px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .06); white-space: nowrap; }
.sd__card.is-pick { border-color: rgb(255 138 61 / .7); background: rgb(255 138 61 / .1); animation: sd-pick 7s ease-in-out infinite; }
.sd__ic { flex: none; width: 22px; height: 16px; border-radius: 4px; background: #9a9186; box-shadow: inset 0 -5px 0 rgb(0 0 0 / .25); }
.sd__ic--sofa { background: #8f8b85; border-radius: 5px 5px 3px 3px; }
.sd__ic--chair { width: 14px; margin-inline: 4px; background: #b4532b; }
.sd__ic--table { height: 10px; border-radius: 50%; background: #c49a6c; margin-block: 3px; }
.sd__ic--lamp { width: 8px; height: 18px; margin-inline: 7px; border-radius: 4px 4px 1px 1px; background: linear-gradient(#f3d9a8 40%, #3a332c 40%); }
.sd__ic--rug { height: 12px; background: repeating-linear-gradient(90deg, #d8cbb6 0 3px, #bfae93 3px 6px); }
.sd__canvas { position: relative; min-width: 0; background: #f1ebe1; }
.sd__plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.sd__floor { fill: #e7dccb; } .sd__wall { fill: none; stroke: #2a241d; stroke-width: 6; stroke-linejoin: round; }
.sd__win { fill: none; stroke: #8fb1c9; stroke-width: 6; }
.sd__rug { fill: #d6c6ab; } .sd__it { fill: #cdbfa9; stroke: #8f826f; stroke-width: 1.2; }
.sd__lbl, .sd__room { font: 500 10px var(--font-text); fill: #6a5f50; text-anchor: middle; }
.sd__room { font-size: 11px; fill: #8a7d6b; }
.sd__drop rect { fill: #8f8b85; stroke: #ff6b1a; stroke-width: 2; } .sd__drop .sd__seat { fill: #a29d96; stroke: none; }
.sd__drop { animation: sd-drop 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sd__dim path { stroke: #ff6b1a; stroke-width: 1.5; fill: none; } .sd__dim text { font: 600 10px var(--font-mono); fill: #d9520c; text-anchor: middle; }
.sd__dim { animation: sd-dim 7s ease-in-out infinite; }
.sd__ghost { position: absolute; left: -96px; top: 40px; padding: 8px; border-radius: 8px; background: rgb(255 255 255 / .9); box-shadow: 0 10px 24px -8px rgb(0 0 0 / .45); animation: sd-ghost 7s ease-in-out infinite; pointer-events: none; }
.sd__ghost .sd__ic { width: 30px; height: 20px; }
.sd__view { position: relative; min-width: 0; border-left: 1px solid rgb(255 255 255 / .08); overflow: hidden; }
.sd__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: sd-orbit 14s ease-in-out infinite alternate; }
.sd__tag { position: absolute; left: 10px; top: 10px; padding: 5px 8px; border-radius: 999px; background: rgb(14 12 10 / .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 11px var(--font-mono); }
.sd__foot { display: flex; align-items: center; gap: 16px; padding: 0 12px; border-top: 1px solid rgb(255 255 255 / .08); color: rgb(239 231 219 / .7); font-family: var(--font-mono); font-size: 11px; white-space: nowrap; overflow: hidden; }
.sd__price { margin-left: auto; color: #ffab6b; }
@keyframes sd-ghost { 0%, 12% { transform: translate(110px, 0) scale(.6); opacity: 0; } 18% { transform: translate(110px, 0) scale(1); opacity: 1; } 44% { transform: translate(calc(100% + 150px), 140px) scale(1); opacity: 1; } 50%, 100% { transform: translate(calc(100% + 150px), 140px) scale(.8); opacity: 0; } }
@keyframes sd-drop { 0%, 46% { opacity: 0; transform: scale(.9); } 52%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes sd-dim { 0%, 54% { opacity: 0; } 60%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sd-pick { 0%, 10%, 50%, 100% { box-shadow: none; } 16%, 40% { box-shadow: 0 0 0 3px rgb(255 138 61 / .25); } }
@keyframes sd-orbit { from { transform: scale(1.12) translateX(-3%); } to { transform: scale(1.12) translateX(3%); } }
@media (max-width: 1279px) { .sd__body { grid-template-columns: 96px minmax(0, 1fr) minmax(0, .8fr); } .sd__card { font-size: 11px; } }
@media (max-width: 639px) { .sd__body { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); } .sd__cat, .sd__ghost, .sd__file, .sd__foot span:nth-child(2) { display: none; } }

/* 3D customizer: the live sofa or chair on a warm studio sweep, with its own controls */
#tools .panel.cz { background: radial-gradient(90% 70% at 50% 62%, #f6efe4, #ddd0bd 70%, #c9b8a0); }
.viewer--cz { position: absolute; inset: 0; }
.viewer--cz .viewer__canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.cz__seg { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgb(20 17 14 / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cz__seg button { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #efe7db; font: 500 13px/1 var(--font-text); cursor: pointer; }
.cz__seg button[aria-pressed="true"] { background: #f6f2ec; color: #14110e; }
.cz__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: grid; gap: 8px; }
.cz__row { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgb(20 17 14 / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); justify-self: start; }
.cz__row .chip-sw { width: 28px; height: 28px; }
.chip-sw.chip-sw--sm { width: 22px; height: 22px; }
.cz__sep { width: 1px; height: 18px; background: rgb(255 255 255 / .25); margin-inline: 4px; }
.cz .mats__row { padding: 8px 12px; }
.cz .loop-pause { top: 14px; right: 14px; bottom: auto; }

/* 3D product designer: a frameless glass railing. The glass, clamps and handrail assemble in turn; the
   buttons change the glass and the rail finish, and the name and price follow */
#tools .panel.pd { --glass: #bfe3ea; --glass-o: .34; --rail: #c9ccd0; --rail-hi: #f4f6f8; --rail-lo: #8d9298;
  background: radial-gradient(90% 70% at 50% 40%, #e9eef0, #c9d3d6 70%, #a9b6ba); }
.pd[data-glass="bronze"] { --glass: #9b6a3e; --glass-o: .42; }
.pd[data-glass="frosted"] { --glass: #f3f6f7; --glass-o: .78; }
.pd[data-rail="black"] { --rail: #26272a; --rail-hi: #5a5c61; --rail-lo: #0e0f10; }
.pd[data-rail="brass"] { --rail: #c79a5c; --rail-hi: #f2d39d; --rail-lo: #8c6534; }
.pd__svg { position: absolute; left: 8px; right: 8px; top: 56px; bottom: 100px; width: calc(100% - 16px); height: calc(100% - 156px); }
.pd__glass { fill: var(--glass); fill-opacity: var(--glass-o); stroke: rgb(255 255 255 / .7); stroke-width: 1; transition: fill .5s ease, fill-opacity .5s ease; }
.pd__glare { fill: #fff; opacity: .35; }
.pd[data-glass="frosted"] .pd__glare { opacity: .15; }
.pd__clamp { fill: var(--rail); stroke: var(--rail-lo); stroke-width: .6; transition: fill .5s ease; }
.pd__deck2 { fill: #8a6640; }
.pd__dims path { stroke: #1d5f74; stroke-width: 1.2; fill: none; } .pd__dims text { font: 600 10px var(--font-mono); fill: #1d5f74; text-anchor: middle; }
.pd__pane { animation: pd-pane 7s cubic-bezier(.2, .7, .2, 1) infinite; animation-delay: calc(var(--i) * .25s); }
.pd__rail { animation: pd-rail 7s cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes pd-pane { 0%, 4% { transform: translateY(-46px); opacity: 0; } 18%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes pd-rail { 0%, 26% { transform: translateY(-34px); opacity: 0; } 40%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.pd__ctl { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.pd__seg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgb(20 17 14 / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pd__seg button { min-height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: #efe7db; font: 500 12px/1 var(--font-text); cursor: pointer; }
.pd__seg button[aria-pressed="true"] { background: #f6f2ec; color: #14110e; }
.pd__row { position: absolute; left: 14px; right: 14px; bottom: 14px; }

/* virtual try-on: a shopper's camera image; the jacket recolours, the lenses re-tint, a face and body
   track sits over the picture */
#tools .panel.vt { background: #1a1612; container-type: size; }
/* the photograph covers the panel at any shape, the overlays keep their place on it */
.vt__stage { position: absolute; left: 50%; top: 50%; width: max(100cqw, 100cqh * 960 / 1247); aspect-ratio: 960 / 1247; transform: translate(-50%, -50%); }
.vt__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vt__jacket { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  filter: hue-rotate(var(--vt-hue, 0deg)) saturate(var(--vt-sat, 1)); opacity: 0; transition: opacity .7s ease, filter .7s ease; }
.vt.has-matte.is-recolour .vt__jacket { opacity: 1; }
.vt__lens { position: absolute; left: 56%; top: 45.8%; width: 9.2%; height: 5%; opacity: 0; transition: opacity .6s ease, background-color .6s ease; mix-blend-mode: color; }
.vt__lens::before, .vt__lens::after { content: ""; position: absolute; top: 0; bottom: 0; width: 46%; border-radius: 40%; background: var(--vt-lens, transparent); }
.vt__lens::before { left: 0; } .vt__lens::after { right: 0; }
.vt.is-tint .vt__lens { opacity: .95; }
.vt__mesh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vt__mesh circle { fill: #7df3c0; } .vt__mesh path { fill: none; stroke: #7df3c0; stroke-width: .25; stroke-opacity: .75; }
.vt__mesh-e { transform: translateY(12px); transition: opacity .5s ease; }
.vt__mesh-b { transition: opacity .5s ease; }
.vt[data-mode="apparel"] .vt__mesh-e, .vt[data-mode="eyewear"] .vt__mesh-b { opacity: 0; }
.vt__scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, transparent, rgb(125 243 192 / .16) 85%, rgb(125 243 192 / .55)); animation: vt-scan 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes vt-scan { 0% { transform: translateY(-40%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(260%); opacity: 0; } }
.vt__chips { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgb(20 17 14 / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vt__chips button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #efe7db; font: 500 13px/1 var(--font-text); cursor: pointer; }
.vt__chips button[aria-pressed="true"] { background: #f6f2ec; color: #14110e; }
.vt__sw { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgb(246 242 236 / .94); }
.vt__name { margin-left: auto; font: 500 12px/1.2 var(--font-mono); color: #3a332c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .sd__ghost, .vt__scan { display: none; } .sd__drop, .sd__dim, .pd__pane, .pd__rail, .sd__view img { animation: none; } .sd__drop, .sd__dim { opacity: 1; } }

/* the two 3D configurator sections hold every option in view, so they grow past one screen by what that
   takes instead of cutting the frame (the frame was laid over the next section at 1440 x 900) */
main > section.section:has(.cfg--dense) { height: auto; min-height: 100vh; min-height: 100svh; }
/* a short window: the floor list tightens so every floor stays inside the tower frame */
@media (min-width: 640px) and (max-height: 820px) {
  .est__floors { gap: 1px; }
  .est__floors button { min-height: 22px; padding-block: 2px; }
  .est__rail { padding-block: 6px; }
}
/* a very short window: the tower frame is too low for twelve floors, so the list steps aside as on a
   phone; the card's arrows and its Open button still reach every floor */
@media (min-width: 640px) and (max-height: 740px) { .est__rail { display: none; } }

/* ---------- About us (about.html) ---------- */
main > section.about-intro { height: auto; min-height: auto; overflow: visible; padding-block: clamp(120px, 14vw, 180px) clamp(56px, 7vw, 96px); }
.about-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.about-intro h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1.02; margin-block: 14px 20px; max-width: 14ch; }
.about-intro .t-lead { max-width: 54ch; color: var(--p-muted); }
.about-intro__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.about-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid color-mix(in oklab, var(--p-ink) 14%, transparent); }
.about-facts > div { display: grid; grid-template-columns: 5.2rem 1fr; align-items: baseline; gap: 16px; padding-block: 20px; border-bottom: 1px solid color-mix(in oklab, var(--p-ink) 14%, transparent); }
.about-facts dt { font: var(--display-weight) clamp(2rem, 3.4vw, 2.8rem)/1 var(--font-display); letter-spacing: var(--display-tracking); color: var(--p-accent); }
.about-facts dd { margin: 0; color: var(--p-muted); }

main > section.team { height: auto; min-height: auto; overflow: visible; padding-block: clamp(72px, 7vw, 96px) clamp(80px, 9vw, 140px); }
.team__head { max-width: 620px; margin-bottom: clamp(28px, 4vw, 48px); }
.team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.founder { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--p-surface);
  border: 1px solid color-mix(in oklab, var(--p-ink) 9%, transparent); transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s; }
.founder:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--p-accent) 40%, transparent); }
.founder__media { position: relative; aspect-ratio: auto; height: clamp(260px, calc(100vh - 480px), 480px); overflow: hidden; background: #050505; }
.founder__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.founder:hover .founder__video { transform: scale(1.025); }
.founder__media::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to top, rgb(0 0 0 / .55), transparent); pointer-events: none; }
.founder__sound { position: absolute; z-index: 1; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border: 1px solid rgb(255 255 255 / .22); border-radius: 999px; background: rgb(12 11 10 / .55); color: #f6f2ec; font: 500 .85rem/1 var(--font-text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: background .2s, transform .15s; }
.founder__sound:hover { background: rgb(12 11 10 / .8); }
.founder__sound:active { transform: scale(.97); }
.founder__sound:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.founder__sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.founder__sound .on { display: none; }
.founder__sound[aria-pressed="true"] .on { display: inline; }
.founder__sound[aria-pressed="true"] .off { display: none; }
/* the slot for a clip still to come: the same frame, dark, with the founder's initials */
.founder__media--soon { display: grid; place-items: center;
  background: radial-gradient(120% 80% at 50% 18%, color-mix(in oklab, var(--p-accent) 22%, #1b1916) 0%, #121110 55%, #080807 100%); }
.founder__mono { font: 500 clamp(4rem, 8vw, 6.5rem)/1 var(--font-display); letter-spacing: -0.05em; color: color-mix(in oklab, var(--p-ink) 82%, transparent); }
.founder__soon { position: absolute; z-index: 1; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border: 1px dashed rgb(255 255 255 / .28); border-radius: 999px; color: rgb(246 242 236 / .78); font: 500 .85rem/1 var(--font-text); }
.founder__soon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.founder__body { padding: 22px 24px 26px; }
.founder__body h3 { font: var(--display-weight) 1.45rem/1.15 var(--font-display); letter-spacing: -0.02em; margin: 8px 0 10px; }
.founder__body p:last-child { margin: 0; color: var(--p-muted); line-height: 1.55; }
.founder__body .t-label { color: var(--p-accent); }

@media (max-width: 960px) {
  .about-intro__grid { grid-template-columns: 1fr; align-items: start; }
  .team__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .founder__media { height: auto; aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) { .founder, .founder__video { transition: none; } .founder:hover, .founder:hover .founder__video { transform: none; } }

/* ---------- Footer alignment ---------- */
/* the wordmark runs the full width of the content, edge to edge with the columns below
   (Urbanist at this tracking is ~4.27 font-sizes wide; the glyphs land on both content edges) */
.closing__cta { container-type: inline-size; }
.close__word { font-size: calc(100cqi / 4.27); white-space: nowrap; }
/* the bottom line: copyright on the left, credits on the right, one row (the empty social slot takes no room) */
.footer__legal .socials:empty { display: none; }
.footer__legal { align-items: center; }
.footer__legal .credits { flex: 0 1 auto; width: auto; text-align: right; }
@media (max-width: 640px) {
  /* the three link columns side by side, the statement above them */
  /* (each takes four of the system's twelve columns, so every one starts on a grid line) */
  .closing__links .grid > .span-4 { grid-column: 1 / -1; }
  .closing__links .grid > .footer__col { grid-column: auto / span 4; font-size: .92rem; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__legal .credits { text-align: left; }
}

/* ---------- 3D option panels (js/ui3d.js on pmndrs uikit) ----------
   On a desktop each tool's options float inside its 3D view (the tool root gets .ui3d-on once the panel is up).
   The HTML controls stay in the page for keyboards and screen readers: hidden until focus moves into them,
   then they open over the frame as before. Phones and touch tablets never get .ui3d-on and keep the HTML. */
.ui3d-on :is(.app__pane--list, .cfg__tools, .cz__seg, .cz__bar, .est__rail, .est__card):not(:focus-within) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none;
}
.app.ui.ui3d-on { position: relative; grid-template-columns: minmax(0, 1fr); }
.app.ui.ui3d-on > .app__pane + .app__pane { border: 0; }
.app.ui.ui3d-on > .app__pane--open { min-height: clamp(560px, 44vw, 660px); }
.app.ui.ui3d-on > .app__pane--list:focus-within {
  position: absolute; inset: 0 auto 0 0; z-index: 5; width: min(440px, 46%); overflow: auto;
  background: var(--p-surface); border-right: 1px solid var(--line); box-shadow: 0 20px 60px rgb(0 0 0 / .45);
}
.app.ui.app--flip.ui3d-on > .app__pane--list:focus-within { left: auto; right: 0; border-right: 0; border-left: 1px solid var(--line); }
/* the glass railing in live 3D (js/railing.js): the drawing is its still until the first frame lands */
#tools .pd .viewer--pd { position: absolute; inset: 0; z-index: 1; }
#tools .pd .viewer--pd .viewer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#tools .pd:has(.viewer--pd.has-frame) .pd__svg { opacity: 0; transition: opacity .4s; }
#tools .pd .pd__ctl, #tools .pd .pd__row { z-index: 3; }
.ui3d-on :is(.pd__ctl, .pd__row):not(:focus-within) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none;
}

/* ---------- the hero names the whole offer: an eyebrow over the h1 */
.hero__eyebrow { margin: 0 0 var(--s-4); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #ff8a4a; }
@media (min-width: 1024px) {
  .hero--product:has(.hero__stage--live) .hero__head .hero__eyebrow { grid-column: 1 / span 7; grid-row: 1; align-self: start; }
  .hero--product:has(.hero__stage--live) .hero__head { grid-template-rows: auto auto auto; }
  .hero--product:has(.hero__stage--live) .hero__head h1 { grid-row: 2 / span 2; }
  .hero--product:has(.hero__stage--live) .hero__head .hero__lead { grid-row: 2; }
  .hero--product:has(.hero__stage--live) .hero__head > .btn-row { grid-row: 3; }
}


/* the book-a-demo pop-up (#demo-dialog): a native modal dialog over a dimmed, blurred page */
.demo-dialog {
  width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto;
  margin: auto; padding: var(--s-7); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--bg) 92%, var(--ink)); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.demo-dialog::backdrop { background: rgba(8, 6, 5, .62); backdrop-filter: blur(6px); }
.demo-dialog[open] { animation: demo-in .26s cubic-bezier(.2, .8, .2, 1); }
.demo-dialog[open]::backdrop { animation: demo-fade .26s ease-out; }
@keyframes demo-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes demo-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .demo-dialog[open], .demo-dialog[open]::backdrop { animation: none; } }
html.is-demo-open { overflow: hidden; }
.demo-dialog__head { display: flex; align-items: start; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6);
  position: sticky; top: calc(-1 * var(--s-7)); z-index: 1; margin-top: calc(-1 * var(--s-7)); padding-top: var(--s-7); padding-bottom: var(--s-4);
  background: color-mix(in oklab, var(--bg) 92%, var(--ink)); }
.demo-dialog__head h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; margin-bottom: var(--s-3); }
.demo-dialog__close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s, transform .15s;
}
.demo-dialog__close:hover { background: color-mix(in oklab, var(--ink) 10%, transparent); }
.demo-dialog__close:active { transform: scale(.94); }
.demo-dialog__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
.demo-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 639px) {
  .demo-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; padding: var(--s-6) var(--s-5); }
  .demo-dialog__head { top: calc(-1 * var(--s-6)); margin-top: calc(-1 * var(--s-6)); padding-top: var(--s-6); }
}

/* the configurators' self-demo (js/showcase.js): a chip on the frame while it runs, a pulse on each option it presses */
.app__pane--open { position: relative; }
.demo-chip { position: absolute; left: 16px; top: 16px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 999px;
  background: rgb(20 18 16 / .78); border: 1px solid rgb(255 255 255 / .14); color: var(--ink); font: 500 12px/1 var(--font-text); pointer-events: none;
  opacity: 0; transform: translateY(-4px); transition: opacity .35s ease, transform .35s ease; }
.demo-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); }
.app.is-demo .demo-chip, .est.is-demo .demo-chip { opacity: 1; transform: none; }
.est > .demo-chip { left: auto; right: 16px; }
.is-demo-press { animation: demo-press .7s ease; }
@keyframes demo-press { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--p-accent) 70%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@media (prefers-reduced-motion: reduce) { .is-demo-press { animation: none; } }

/* ---------- the tool landing pages (3d-configurator.html and its siblings): one search intent each, built on the about
   page's intro, then a plain answer, the steps, what you get, who it is for, questions, and the related tools */
.seo-crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: clamp(24px, 4vw, 40px); font-size: .875rem; color: var(--p-muted); }
.seo-crumbs a { color: var(--p-muted); text-decoration: none; } .seo-crumbs a:hover { color: var(--p-ink); }
.seo-crumbs [aria-current] { color: var(--p-ink); }
.seo-hero h1 { max-width: 18ch; }
.seo-hero .about-facts > div { grid-template-columns: minmax(8.5rem, auto) 1fr; }
.seo-hero .about-facts dt { font-size: clamp(1.5rem, 2.2vw, 2rem); white-space: nowrap; }
main > section.seo-sec { height: auto; min-height: auto; overflow: visible; padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid color-mix(in oklab, var(--p-ink) 10%, transparent); }
.seo-sec h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; margin: 0 0 clamp(20px, 3vw, 32px); max-width: 22ch; }
main > section.seo-sec > .wrap.seo-what { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.seo-what .t-lead { color: var(--p-muted); max-width: 60ch; }
.seo-what__img { margin: 0; border-radius: var(--r-lg, 20px); overflow: hidden; aspect-ratio: 1105 / 900; background: var(--p-surface); }
.seo-what__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.seo-what__img:hover img { transform: scale(1.025); }
.seo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.seo-steps li { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg, 20px); background: var(--p-surface); border: 1px solid color-mix(in oklab, var(--p-ink) 8%, transparent); }
.seo-steps__n { font: 500 .8125rem/1 var(--font-mono); color: var(--p-accent); }
.seo-steps h3 { margin: 14px 0 8px; font-size: 1.35rem; } .seo-steps p { margin: 0; color: var(--p-muted); }
main > section.seo-sec > .wrap.seo-two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); }
.seo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.seo-list li { padding: 14px 0 14px 28px; border-bottom: 1px solid color-mix(in oklab, var(--p-ink) 10%, transparent); position: relative; }
.seo-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--p-accent); }
.seo-list--tags { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-list--tags li { padding: 10px 16px; border: 1px solid color-mix(in oklab, var(--p-ink) 16%, transparent); border-radius: 999px; }
.seo-list--tags li::before { display: none; }
.seo-faq { max-width: 880px; }
.seo-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.seo-related__card { display: grid; gap: 8px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-lg, 20px); background: var(--p-surface); color: var(--p-muted); text-decoration: none;
  border: 1px solid color-mix(in oklab, var(--p-ink) 8%, transparent); transition: transform .3s ease, border-color .3s ease; }
.seo-related__card .t-card { color: var(--p-ink); }
.seo-related__card:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--p-accent) 50%, transparent); }
@media (max-width: 900px) {
  main > section.seo-sec > .wrap:is(.seo-what, .seo-two) { grid-template-columns: 1fr; }
  .seo-steps, .seo-related { grid-template-columns: 1fr; }
}
/* the home page's "About the …" links to each tool's own page */
.seo-more { display: inline-block; margin-left: 4px; color: var(--p-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; white-space: nowrap; }
.seo-more:hover { color: var(--p-ink); }
