/* Melenica Group homepage: chrome studio (D-074). Black, white and silver only. Loaded after shell.css. */
html, body { background: #000; }
main { --sec-pad: clamp(5rem, 12vw, 10rem); }

/* ---------- Shared section heading ---------- */
.sec-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 1.2rem; }
.sec-head h2 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.6rem); font-weight: 500; letter-spacing: -.045em; line-height: .95; max-width: 14ch; }
.sec-head h2 .serif { font-size: 1.08em; letter-spacing: -.02em; color: #d9d9dc; }
.sec-head p { color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 38em; text-shadow: 0 0 18px #000, 0 0 6px #000; } /* readable where an ambient sculpture passes behind (D-083) */
.reveal-lines .line-mask { overflow: clip; padding-bottom: .08em; }
.demo-tag { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.demo-tag::before { content: ""; display: inline-block; width: 1.6rem; height: 1px; margin-right: .7rem; vertical-align: .3em; background: linear-gradient(90deg, #fff, #8f8f95); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; align-items: end; gap: 2rem; min-height: calc(100svh - 104px); padding: clamp(9rem, 29vh, 22rem) var(--gutter) clamp(1.5rem, 3vh, 2.5rem); overflow: hidden; }
.hero-stage { position: absolute; inset: 0; z-index: -1; background: #000; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .35s ease; }
.hero-canvas.is-ready { opacity: 1; }
/* CSS chrome fallback: shown until (or instead of) the WebGL ribbon. */
.hero-fallback { position: absolute; inset: -10% -10% 10% 10%; opacity: .55; transition: opacity 1.2s ease;
  background:
    radial-gradient(60% 16% at 62% 34%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(162deg, transparent 32%, #2a2a2e 38%, #f4f4f6 42%, #77777d 46%, #e9e9ec 49%, #151517 54%, transparent 60%),
    linear-gradient(170deg, transparent 50%, #1d1d20 55%, #c9c9cd 58%, #3a3a3f 61%, transparent 66%);
  -webkit-mask-image: radial-gradient(70% 70% at 65% 35%, #000 40%, transparent 85%); mask-image: radial-gradient(70% 70% at 65% 35%, #000 40%, transparent 85%); }
.js .hero-fallback { opacity: 0; } /* shown only if WebGL is unavailable or lost: no soft blur before the crisp chrome */
.js .hero.gl-failed .hero-fallback { opacity: .55; }
.hero.gl-ready .hero-fallback { opacity: 0; }
/* Motion off: the still frame needs a moment to compile; show the CSS chrome at once so the hero is never blank. */
.js.motion-still .hero:not(.gl-ready) .hero-fallback { opacity: .55; transition: none; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(58% 46% at 50% 68%, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, 0) 100%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .6) 14%, rgba(0, 0, 0, 0) 34%); }
.hero-copy { position: relative; max-width: 66rem; margin-inline: auto; }
.hero-title { font-size: clamp(3rem, 1.2rem + 6.6vw, 7.6rem); font-weight: 500; letter-spacing: -.05em; line-height: .92; max-width: none; }
main h1.hero-title { background: none; color: var(--ink); }
.ht-line { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.ht-line > span { display: inline-block; background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .serif { font-size: 1.1em; letter-spacing: -.025em; padding-right: .06em; }
.lede { color: #dcdce0; font-size: clamp(1.1rem, 1rem + .4vw, 1.32rem); line-height: 1.55; max-width: 34em; margin: 1.8rem auto 0; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.2rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: clamp(8.5rem, 30svh, 22rem); }
  .hero-scrim { background: radial-gradient(90% 44% at 50% 70%, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, 0) 100%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .7) 12%, rgba(0, 0, 0, 0) 32%); }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Demos ---------- */
.demos { padding: var(--sec-pad) 0 0; }
.demo { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.demo + .demo { border-top: 1px solid var(--hair); }
.sec-head + .demo { padding-top: clamp(3rem, 6vw, 5rem); }
.demo-copy h3 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; max-width: 13ch; }
.demo-copy h3 .serif { color: #d9d9dc; }
.demo-copy > p:not(.demo-tag) { color: #cfcfd4; font-size: 1.06rem; line-height: 1.6; margin-top: 1.4rem; max-width: 32em; }
.demo-copy .btn { margin-top: 1.8rem; }

.mark-stage { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; background: radial-gradient(80% 70% at 50% 35%, #17171a 0%, #050506 70%); }
/* The hairline is drawn above the WebGL canvas, so no antialiased background edge can show at the rounded corners (QA-8 m2). */
.mark-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--hair); pointer-events: none; z-index: 2; }
/* Keyboard focus: a 2px white ring, well over 3:1 against the black page (WCAG 2.4.7, 1.4.11). Never after pointer use. */
.mark-stage:active { cursor: grabbing; }
.mark-stage:focus { outline: none; }
.mark-stage:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.mark-stage.by-pointer:focus-visible { outline: none; }
.mark-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; pointer-events: none; user-select: none; }
.mark-stage.is-ready .mark-canvas { opacity: 1; }
.mark-fallback { position: absolute; inset: 0; margin: auto; width: 46%; height: auto; transition: opacity .6s ease; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.mark-stage.is-ready .mark-fallback { opacity: 0; }
.mark-hint { margin-top: 1rem; color: #b9b9be; font-size: .92rem; text-align: center; }
.hint-touch { display: none; }
.demo-media { display: grid; justify-items: center; }
.demo-media .mark-stage { width: 100%; }
.mark-reset { margin-top: .8rem; }
@media (hover: none) and (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.key { display: inline-block; min-width: 1.7rem; padding: .15rem .45rem; margin: 0 .12rem; border: 1px solid var(--hair-2); border-radius: 6px; color: var(--ink); font-size: .8rem; text-align: center; }

/* Speed-to-lead: a product console for a made-up business. Chrome-edged frame, a status bar with the live clock,
   the inquiry form on the left and the activity log on the right. */
.demo-lead { grid-template-columns: minmax(0, .72fr) minmax(0, 1.55fr); align-items: start; }
.console { position: relative; border-radius: 22px; background: linear-gradient(180deg, #121214, #070708 60%); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08); }
.console::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .03) 60%, rgba(255, 255, 255, .28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.console-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--hair); }
.cb-title { display: inline-flex; align-items: center; gap: .55rem; font: 600 .95rem/1 var(--font-display); letter-spacing: -.01em; }
.cb-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .1), 0 0 12px rgba(255, 255, 255, .6); }
.cb-biz { font-size: .85rem; color: #b9b9be; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-biz em { font-style: normal; margin-left: .45rem; padding: .12rem .5rem; border: 1px solid var(--hair-2); border-radius: 999px; font-size: .75rem; color: #a6a6ac; }
.cb-clock { display: inline-flex; align-items: baseline; gap: .6rem; font-size: .78rem; color: #a6a6ac; }
.cb-clock strong { min-width: 4.2ch; text-align: right; font: 500 1.5rem/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cb-clock.stopped strong { background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.console-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.lead-form { display: grid; gap: .85rem; align-content: start; padding: 1.2rem; border-right: 1px solid var(--hair); }
.lf-head { font: 500 1rem/1.2 var(--font-display); color: var(--ink); }
.lead-form label { display: grid; gap: .35rem; font-size: .82rem; color: #b9b9be; }
.lead-form input, .lead-form textarea { width: 100%; font: .98rem/1.4 var(--font-body); color: var(--ink); background: rgba(255, 255, 255, .035); border: 1px solid var(--hair-2); border-radius: 10px; padding: .6rem .75rem; resize: vertical; transition: border-color .2s, background .2s; }
.lead-form input:hover, .lead-form textarea:hover { border-color: rgba(255, 255, 255, .24); }
.lead-form input:focus-visible, .lead-form textarea:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-color: #fff; background: rgba(255, 255, 255, .06); }
.lead-form .btn { width: 100%; margin-top: .3rem; }
.lf-note { font-size: .78rem; color: #a6a6ac; text-align: center; }
.lead-feed { display: grid; min-height: 26rem; padding: .4rem .5rem .4rem 1.1rem; background: radial-gradient(80% 50% at 100% 0%, rgba(255, 255, 255, .035), transparent 70%); } /* grows with the log: every card stays fully visible, no scrolling inside the pane (QA-8 m6) */
.timeline { list-style: none; margin: 0; padding: .8rem .6rem .8rem 0; display: grid; gap: .6rem; align-content: start; min-height: 0; }
.timeline:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.timeline li { display: grid; gap: .4rem; padding: .7rem .9rem; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--hair); }
.timeline li.tl-empty { display: grid; place-items: center; min-height: 12rem; border-style: dashed; background: none; color: #a6a6ac; font-size: .92rem; text-align: center; padding: 1.5rem; }
.tl-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.tl-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .22rem .6rem; border-radius: 999px; font: 600 .72rem/1.2 var(--font-body); letter-spacing: .02em; color: #d9d9dc; border: 1px solid var(--hair-2); }
.tl-pill::before { content: ""; width: .38rem; height: .38rem; border-radius: 50%; background: currentColor; }
.k-auto .tl-pill { color: #ededf0; background: rgba(255, 255, 255, .06); }
.k-alert .tl-pill { color: #000; background: #d4d4d8; border-color: transparent; }
.k-hold { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .045); }
.k-hold .tl-pill { color: #fff; border-color: rgba(255, 255, 255, .5); }
.k-hold .tl-pill::before { animation: tl-pulse 1.4s ease-in-out infinite; }
.k-done .tl-pill { color: #000; background: var(--chrome); border-color: transparent; }
@keyframes tl-pulse { 50% { opacity: .25; } }
.tl-time { font: 500 .8rem/1 var(--font-display); color: #b9b9be; font-variant-numeric: tabular-nums; }
.tl-body b { display: block; font-weight: 700; font-size: .95rem; color: var(--ink); }
.tl-body > p { color: #b9b9be; font-size: .86rem; margin-top: .2rem; line-height: 1.5; }
.msg { margin-top: .6rem; padding: .65rem .8rem .7rem; border-radius: 4px 14px 14px 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .12); max-width: 34em; }
.msg-to { display: block; font-size: .72rem; color: #a6a6ac; margin-bottom: .25rem; }
.msg p { color: #ececef; font-size: .88rem; line-height: 1.5; }
.tl-body .btn { margin-top: .75rem; }
.timeline li.enter { animation: tl-in .55s var(--ease-out) both; }
@keyframes tl-in { from { opacity: 0; transform: translateY(10px); } }
.no-motion .timeline li.enter, .no-motion .k-hold .tl-pill::before { animation: none; }

@media (max-width: 1100px) {
  .demo-lead { grid-template-columns: 1fr; }
  .demo-copy h3 { max-width: 18ch; }
}
@media (max-width: 760px) {
  .demo { grid-template-columns: 1fr; }
  .demo-3d .demo-copy { order: -1; }
  .console-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .cb-biz { grid-column: 1 / -1; grid-row: 2; }
  .console-body { grid-template-columns: 1fr; }
  .lead-form { border-right: 0; border-bottom: 1px solid var(--hair); }
  .lead-feed { min-height: 0; padding: .4rem .5rem .4rem .9rem; }
}

/* ---------- Demo 3: a finished website for a fictional business assembles as you scroll ----------
   Motion: the section is tall and the stage pins; studio.js maps scroll progress to five build stages.
   Static (reduced motion): the finished site and all steps are shown in place. */
.build { position: relative; border-top: 1px solid var(--hair); }
.build-live .build { height: 330vh; }
.build-pin { max-width: calc(var(--max) + 8rem); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter); display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.build-live .build-pin { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; padding-block: calc(72px + 1.5rem) 2rem; }
.build-copy h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; max-width: 12ch; }
.build-lede { color: #cfcfd4; font-size: 1.06rem; line-height: 1.6; margin-top: 1.3rem; max-width: 30em; }
.build-steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .2rem; counter-reset: bs; }
.build-steps li { counter-increment: bs; position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: .6rem; padding: .6rem 0; color: #8e8e95; transition: color .4s ease; }
.build-steps li::before { content: counter(bs); grid-row: 1 / span 2; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font: 600 .75rem/1 var(--font-display); border: 1px solid var(--hair-2); transition: background .4s, color .4s, border-color .4s; }
.build-steps b { font-weight: 600; font-size: 1rem; }
.build-steps span { font-size: .88rem; line-height: 1.45; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease-out), opacity .4s; }
.build-steps li.is-done { color: #c9c9ce; }
.build-steps li.is-done::before { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.build-steps li.is-now { color: var(--ink); }
.build-steps li.is-now::before { background: var(--chrome); color: #000; border-color: transparent; box-shadow: 0 0 18px rgba(255, 255, 255, .35); }
.build-steps li.is-now span { max-height: 4.5em; opacity: 1; color: #cfcfd4; }
/* Static mode (reduced motion or no animation libraries): every step's caption is shown (QA-8 m5). */
.no-motion .build-steps span { max-height: none; opacity: 1; color: #b9b9be; }
.no-motion .build-steps li.is-now span { color: #cfcfd4; }

.build-frame { margin: 0; border-radius: 16px; overflow: hidden; background: #0c0c0e; border: 1px solid var(--hair-2); box-shadow: 0 60px 140px -60px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 255, 255, .03); }
.build-frame .browser-bar { background: #111113; }
.bf-state { margin-left: auto; font-style: normal; font-size: .72rem; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--hair-2); color: #b9b9be; }
.build[data-stage="5"] .bf-state { background: var(--chrome); color: #000; border-color: transparent; }

/* The sample site (revision 6): Valmorne, a fictional monochrome fashion label. Editorial serif headlines,
   thin, widely tracked grotesque for everything small, minimal navigation. Sized to the frame (container units). */
.ss { container-type: inline-size; --ss-ink: #f1f1f3; --ss-soft: #8e8e94; --ss-line: rgba(255, 255, 255, .1); --ss-skel: #161618;
  --ss-ease: cubic-bezier(.16, 1, .3, 1);
  background: radial-gradient(110% 60% at 70% 0%, #1d1d20, rgba(8, 8, 9, 0) 62%), linear-gradient(180deg, #070708, #111113); color: var(--ss-ink); font-family: var(--font-body); padding: 0 0 2.4cqi; display: grid; gap: 2.6cqi; }
.build-live .ss { max-height: calc(100svh - 72px - 6rem - 34px); overflow: hidden; }
.ss-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 2cqi 3.4cqi; border-bottom: 1px solid var(--ss-line);
  font: 300 1cqi/1 var(--font-display); text-transform: uppercase; letter-spacing: .32em; color: var(--ss-soft); }
.ss-links { grid-column: 1; display: flex; gap: 2.8cqi; }
.ss-logo { font: 200 2.2cqi/1 var(--font-display); text-transform: uppercase; letter-spacing: .48em; margin-right: -.48em; color: var(--ss-ink); }
.ss-nav .ss-logo { grid-column: 2; }
.ss-bag { grid-column: 3; justify-self: end; }
.ss-hero { display: grid; margin: 0 3.4cqi; }
.ss-hero > * { grid-area: 1 / 1; }
.ss-hero-copy { position: relative; z-index: 2; align-self: center; padding-left: 4.4cqi; max-width: 48%; }
.ss-kicker { font: 300 1.05cqi/1 var(--font-display); text-transform: uppercase; letter-spacing: .42em; color: #c4c4c9; }
.ss-h { font: 400 8.4cqi/.9 var(--font-serif); letter-spacing: -.025em; margin-top: 2cqi; }
.ss-h .l { display: block; overflow: hidden; padding-bottom: .07em; }
.ss-h .l > span { display: inline-block; }
.ss-p { font-size: 1.25cqi; line-height: 1.65; color: var(--ss-soft); margin: 2cqi 0 2.6cqi; max-width: 24em; }
.ss-cta { display: inline-block; padding-bottom: .8cqi; font: 400 1cqi/1 var(--font-display); text-transform: uppercase; letter-spacing: .34em; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; }
.ss-img { position: relative; overflow: hidden; background: var(--ss-skel); }
.ss-img svg, .ss-img img { display: block; width: 100%; height: 100%; }
.ss-img img { object-fit: cover; }
.ss-img-hero { aspect-ratio: 16 / 8.6; }
.ss-img-hero img { object-position: 78% 38%; animation: ss-kb 26s ease-in-out infinite alternate; }
.ss-img-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(6, 6, 7, .9), rgba(6, 6, 7, .55) 34%, rgba(6, 6, 7, 0) 62%); }
@keyframes ss-kb { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.4%, -1%); } }
.ss-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqi; padding: 0 3.4cqi; }
.ss-look .ss-img { aspect-ratio: 4 / 5; }
.ss-img-sheen img { object-position: 50% 50%; }
.ss-img-ivory img { object-position: 62% 30%; }
.ss-img-edit img { object-position: 50% 40%; }
.ss-look p { margin-top: 1.3cqi; display: grid; gap: .6cqi; }
.ss-look b { font: 400 1.8cqi/1.1 var(--font-serif); }
.ss-look span { font: 300 .9cqi/1 var(--font-display); text-transform: uppercase; letter-spacing: .28em; color: var(--ss-soft); }
/* The jacket's "liquid sheen": a slow satin highlight crossing the fabric, not a chrome mirror. */
.ss-img-sheen::before { content: ""; position: absolute; inset: -10% -60%; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 40%, rgba(226, 226, 232, .2) 48%, rgba(255, 255, 255, .34) 50%, rgba(226, 226, 232, .2) 52%, rgba(255, 255, 255, 0) 60%);
  animation: ss-sheen 7s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes ss-sheen { 0%, 25% { translate: -45% 0; } 75%, 100% { translate: 45% 0; } }
.calm .ss-img-sheen::before { animation-duration: 14s; }
.calm .ss-img-hero img { animation-duration: 40s; }
.no-motion .ss-img img, .no-motion .ss-img-sheen::before { animation: none; }
.ss-bagbar { margin: 0 3.4cqi; display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 2cqi; align-items: center; padding: 1.5cqi 0; border-block: 1px solid var(--ss-line); font-size: 1.2cqi; }
.ss-bagbar small { display: block; font: 300 .85cqi/1 var(--font-display); text-transform: uppercase; letter-spacing: .3em; color: var(--ss-soft); margin-bottom: .7cqi; }
.ss-sizes i { font-style: normal; margin-right: 1.4cqi; color: var(--ss-soft); }
.ss-sizes .is-on { color: var(--ss-ink); text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.ss-swatches i { display: inline-block; width: 1.5cqi; height: 1.5cqi; border-radius: 50%; margin-right: 1cqi; vertical-align: middle; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.ss-swatches .sw-g { background: linear-gradient(135deg, #8a8a90, #2c2c30 45%, #6e6e74 70%, #232326); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 .4cqi #0b0b0c, 0 0 0 calc(.4cqi + 1px) rgba(255, 255, 255, .55); }
.ss-swatches .sw-i { background: #e8e8e5; }
.ss-add { padding: 1.2cqi 2.8cqi; background: var(--ss-ink); color: #0a0a0b; font: 400 .95cqi/1 var(--font-display); text-transform: uppercase; letter-spacing: .32em; white-space: nowrap; }
.ss-foot { display: flex; justify-content: space-between; align-items: center; gap: 2cqi; margin: 0 3.4cqi; font-size: 1.05cqi; color: var(--ss-soft); }
.ss-foot .ss-logo { font-size: 1.4cqi; }

/* Build stages: a part that is not in yet is a gray skeleton block; it fills in when its stage arrives. */
/* Fall-on (revision 5): each piece drops onto the page from above and lands with a small bounce.
   It uses the individual translate/rotate properties, so it composes with the --ss-over transform.
   Revision 6: the hero copy and hero image do not drop; they get editorial reveals instead (below). */
.ss { --ss-drop: cubic-bezier(.34, 1.4, .64, 1); }
@supports (transition-timing-function: linear(0, 1)) {
  .ss { --ss-drop: linear(0, .06 4.5%, .25 9%, .56 13.6%, 1 18.2%, .86 24%, .79 29%, .82 33%, 1 38%, .95 44%, .94 48%, 1 56%, .985 66%, 1); }
}
.ss [data-in], .ss-looks > .ss-look { transition: translate 1.1s var(--ss-drop), rotate 1.1s var(--ss-drop), opacity .35s ease; }
.build-live .ss [data-in]:not(.on):not(.ss-looks):not(.ss-hero-copy):not(.ss-img-hero), .build-live .ss-looks:not(.on) > .ss-look { translate: 0 -42cqi; rotate: -2.5deg; opacity: 0; }
.build-live .ss-looks:not(.on) > .ss-look:nth-child(2) { rotate: 3deg; }
.ss-looks.on > .ss-look:nth-child(2) { transition-delay: .12s; }
.ss-looks.on > .ss-look:nth-child(3) { transition-delay: .24s; }
.ss-bagbar.on { transition-delay: .34s; }
.calm .build-live .ss [data-in]:not(.on):not(.ss-looks):not(.ss-hero-copy):not(.ss-img-hero), .calm .build-live .ss-looks:not(.on) > .ss-look { translate: 0 -14cqi; rotate: 0deg; }
/* Editorial reveals: the kicker's tracking closes in, each headline line rises out of its own mask,
   the CTA underline draws, and the hero photograph wipes open from the right and settles. */
.ss-kicker, .ss-p { transition: letter-spacing 1.6s var(--ss-ease), opacity 1.2s ease; }
.ss-h .l > span { transition: translate 1.3s var(--ss-ease); }
.ss-h .l:nth-child(2) > span { transition-delay: .14s; }
.ss-p { transition-delay: .35s; }
.ss-cta { transition: background-size 1.1s var(--ss-ease) .55s, opacity .8s ease .45s; }
.build-live .ss-hero-copy:not(.on) .ss-kicker { letter-spacing: 1.1em; opacity: 0; }
.build-live .ss-hero-copy:not(.on) .l > span { translate: 0 110%; }
.build-live .ss-hero-copy:not(.on) .ss-p { opacity: 0; }
.build-live .ss-hero-copy:not(.on) .ss-cta { opacity: 0; background-size: 0 1px; }
.ss-img-hero { transition: clip-path 1.6s cubic-bezier(.77, 0, .18, 1); }
.ss-img-hero img { transition: scale 2.4s var(--ss-ease); }
.build-live .ss-img-hero:not(.on) { clip-path: inset(0 0 0 100%); }
.build-live .ss-img-hero:not(.on) img { scale: 1.22; }

@media (max-width: 900px) {
  .build-pin { grid-template-columns: 1fr; gap: 1.6rem; }
  .build-live .build-pin { align-content: start; padding-block: calc(64px + 1rem) 1.5rem; }
  .build-live .build-steps li:not(.is-now) { display: none; }
  .build-live .build-lede { display: none; }
  .build-live .ss { max-height: none; }
  .build-copy h2 { max-width: none; }
}
@media (max-width: 560px) {
  .ss-links { display: none; }
  .ss-nav, .ss-cta, .ss-add { font-size: 2.1cqi; }
  .ss-logo { font-size: 3.6cqi; }
  .ss-img-hero { aspect-ratio: 4 / 3; }
  .ss-hero-copy { max-width: 62%; padding-left: 4cqi; }
  .ss-kicker { font-size: 1.9cqi; letter-spacing: .3em; }
  .ss-h { font-size: 11cqi; }
  .ss-p { font-size: 2.4cqi; }
  .ss-look b { font-size: 3cqi; }
  .ss-look span, .ss-foot, .ss-bagbar small { font-size: 1.9cqi; }
  .ss-bagbar { font-size: 2.4cqi; }
  .ss-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-look:nth-child(3) { display: none; }
  .ss-bagbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-bagbar > span:nth-child(3) { display: none; }
  .ss-bagbar .ss-add { grid-column: 1 / -1; text-align: center; }
  .ss-swatches i { width: 2.6cqi; height: 2.6cqi; }
}


/* ---------- Bands ---------- */
.band { padding: var(--sec-pad) 0 0; }
.build + .demos-end .demo { padding-top: clamp(3rem, 6vw, 5rem); } /* the pinned build already ends in its own margin (QA-8 m4) */
.band:last-of-type { padding-bottom: var(--sec-pad); }

/* Services: the offer as a ruled schedule, not cards. Each package is one row between chrome hairlines, led by a
   large chrome numeral. The "start here" pair sits in a lit, chrome-edged band; the rest follow on plain rules.
   No prices. */
.offer { max-width: var(--max); margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0 var(--gutter); display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.offer-group { display: grid; }
.offer-start { position: relative; padding: clamp(1.2rem, 2.5vw, 2.2rem) clamp(1.1rem, 2.5vw, 2.4rem) .4rem; border-radius: 28px;
  background: radial-gradient(90% 70% at 0% 0%, rgba(255, 255, 255, .08), transparent 60%), linear-gradient(180deg, #111113, #060607); }
.offer-start::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .12) 28%, rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .35) 85%, rgba(255, 255, 255, .1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.offer-start-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .8rem 2rem; padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.offer-flag { display: inline-flex; align-items: center; gap: .7rem; font: 300 .78rem/1 var(--font-brand); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.offer-flag span { width: .7rem; height: .7rem; border-radius: 50%; background: var(--chrome); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06), 0 0 18px rgba(255, 255, 255, .35); }
.offer-flag-quiet { color: var(--muted); padding: 0 clamp(1.1rem, 2.5vw, 2.4rem) clamp(1rem, 2vw, 1.5rem); }
.offer-start-q { font: 500 clamp(1.25rem, 1rem + .9vw, 1.8rem)/1.15 var(--font-display); letter-spacing: -.025em; color: var(--ink); max-width: 34ch; }
.offer-start-q .serif { font-size: 1.05em; letter-spacing: -.01em; color: #b9b9be; }

/* One package = one row: name and outcome | what is included | fit and link */
.pkg { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 1rem clamp(1.2rem, 2.5vw, 2.5rem); align-items: start; padding: clamp(1.4rem, 2.4vw, 2rem) 0; }
.offer-more .pkg { padding-inline: clamp(1.1rem, 2.5vw, 2.4rem); }
.pkg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .14) 45%, rgba(255, 255, 255, .45) 80%, rgba(255, 255, 255, .08)); }
.offer-more .pkg:last-child { border-bottom: 1px solid var(--hair); }
.pkg-head { display: grid; gap: .55rem; align-content: start; }
.pkg-when { font: 400 .85rem/1.3 var(--font-body); color: #d9d9dc; }
.pkg-name { font: 500 clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem)/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); padding-bottom: .06em; }
.offer-start .pkg-name { background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg-out { color: #d4d4d8; font-size: 1.02rem; line-height: 1.4; }
.pkg-inc { list-style: none; display: grid; gap: .45rem; margin: 0; padding: .15rem 0 0; }
.pkg-inc li { position: relative; padding-left: 1.3rem; color: #c2c2c7; font-size: .95rem; line-height: 1.4; }
.pkg-inc li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .3rem; border-left: 1.5px solid #e6e6e9; border-bottom: 1.5px solid #e6e6e9; transform: rotate(-45deg); }
.pkg-end { display: grid; gap: .9rem; justify-items: start; }
.pkg-meta { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.pkg .price-slot { margin-top: 0; }
.pkg-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid var(--hair-2); color: var(--ink); font-weight: 700; text-decoration: none; transition: background .25s, border-color .25s, color .25s; }
.pkg-cta:hover, .pkg-cta:focus-visible { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.offer-start .pkg-cta { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.offer-start .pkg-cta:hover, .offer-start .pkg-cta:focus-visible { background: #fff; box-shadow: 0 10px 30px -10px rgba(236, 236, 242, .5); }
.price-slot:empty { display: none; }
.svc-cta { max-width: var(--max); margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.svc-cta p { color: #c2c2c7; max-width: 44em; }
.svc-cta strong { color: var(--ink); }
/* Care plan: a lit band of its own, the monthly work in one ruled row */
.care { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 28px; background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .07), transparent 60%), #08080a; }
.care::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(200deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .03) 70%, rgba(255, 255, 255, .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.care-head { display: grid; gap: .9rem; justify-items: start; }
.care-name { font: 500 clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem)/1 var(--font-display); letter-spacing: -.035em; background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.care-head p { color: #cfcfd4; max-width: 30em; }
.care-month { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.care-month li { display: grid; gap: .45rem; align-content: start; padding: .2rem 1.2rem 0; border-left: 1px solid var(--hair-2); }
.care-month b { font: 500 1.1rem/1.2 var(--font-display); letter-spacing: -.015em; }
.care-month span { color: #b9b9be; font-size: .92rem; line-height: 1.45; }

/* Included in every build: a ruled definition list, not cards */
.included { max-width: var(--max); margin: clamp(3rem, 6vw, 5rem) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); }
.included-title { font: 500 clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem)/1.05 var(--font-display); letter-spacing: -.035em; max-width: 10ch; }
.included-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
.included-list div { padding: 1.1rem 0 1.2rem; border-top: 1px solid var(--hair-2); }
.included-list dt { font-weight: 700; color: var(--ink); }
.included-list dd { margin: .35rem 0 0; color: #b9b9be; font-size: .95rem; line-height: 1.5; }

@media (max-width: 1100px) {
  .pkg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pkg-end { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .care { grid-template-columns: 1fr; }
  .care-month li:first-child { border-left: 0; padding-left: 0; }
  .included { grid-template-columns: 1fr; }
  .included-title { max-width: none; }
}
@media (max-width: 700px) {
  .pkg { grid-template-columns: minmax(0, 1fr); gap: .9rem 1rem; }
  .pkg-end { grid-template-columns: minmax(0, 1fr); }
  .offer-start { padding: 1.1rem 1rem .2rem; border-radius: 22px; }
  .offer-more .pkg, .offer-flag-quiet { padding-inline: 0; }
  .care { padding: 1.2rem 1rem; border-radius: 22px; }
  .care-month { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.2rem; }
  .care-month li { padding: 0 0 0 1rem; }
  .care-month li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .included-list { grid-template-columns: 1fr; }
}

/* Process: a ruled seven-step sequence */
.steps-row { list-style: none; counter-reset: step; max-width: var(--max); margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1.4rem; }
.steps-row li { counter-increment: step; position: relative; padding-top: 3.2rem; }
.steps-row li::before { content: counter(step); position: absolute; top: 0; left: 0; font: 400 2rem/1 var(--font-serif); font-style: italic; color: #d9d9dc; }
.steps-row li::after { content: ""; position: absolute; top: 2.4rem; left: 0; right: -1.4rem; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .08)); }
.steps-row li:last-child::after { right: 0; }
.steps-row h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.steps-row p { color: #b9b9be; font-size: .92rem; line-height: 1.5; margin-top: .5rem; }
.ai-note { max-width: var(--max); margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0 var(--gutter); color: #b9b9be; }
.ai-note strong { color: var(--ink); }
@media (max-width: 1100px) {
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.4rem; }
  .steps-row li::after { right: 0; }
}
@media (max-width: 560px) {
  .steps-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps-row li { padding: 0 0 0 3.2rem; }
  .steps-row li::before { top: -.1rem; }
  .steps-row li::after { display: none; }
}

/* Work: a grayscale teaser of the five demonstrations in /work/ */
.work { max-width: var(--max); margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0 var(--gutter); }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.work-grid > li { grid-column: span 2; min-width: 0; }
.work-grid > li:nth-child(-n+2) { grid-column: span 3; }
.work-card { display: block; height: 100%; text-decoration: none; color: var(--ink); border: 1px solid var(--hair-2); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #0d0d0f, #050506); transition: border-color .4s, transform .6s var(--ease-out); }
.work-card:hover { border-color: rgba(255, 255, 255, .45); transform: translateY(-4px); }
.work-card:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.work-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--hair-2); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1); transition: transform 1.2s var(--ease-out); }
.work-card:hover .work-thumb img, .work-card:focus-visible .work-thumb img { transform: scale(1.04); }
.work-meta { display: grid; gap: .35rem; padding: 1rem 1.15rem 1.2rem; }
.work-meta strong { font: 500 clamp(1.15rem, 1rem + .5vw, 1.45rem)/1.15 var(--font-display, inherit); letter-spacing: -.02em; }
.work-meta > span:last-child { color: #c2c2c7; font-size: .95rem; }
.work-cap { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.work-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work-grid > li, .work-grid > li:nth-child(-n+2) { grid-column: span 1; } .work-grid > li:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: minmax(0, 1fr); } .work-grid > li:first-child { grid-column: auto; } }
.work-meta .tag { justify-self: start; }
.no-motion .work-card, .no-motion .work-thumb img { transition: none; }
.browser-bar { display: flex; align-items: center; gap: .4rem; height: 34px; padding: 0 .9rem; border-bottom: 1px solid var(--hair); font-size: .8rem; color: #b9b9be; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.browser-bar span { margin-left: .6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { display: inline-block; font-size: .85rem; color: var(--ink); border: 1px solid var(--hair-2); border-radius: 999px; padding: .3rem .8rem; }

/* FAQ */
.faq { max-width: var(--max); margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0 var(--gutter); }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; font: 500 clamp(1.2rem, 1rem + .8vw, 1.7rem)/1.2 var(--font-display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(#fff, #fff) center / 100% 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #c2c2c7; max-width: 46em; padding: 0 0 1.6rem; font-size: 1.0625rem; }
.faq details[open] summary { font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); }

/* Finale: a liquid-chrome pool (chrome3d.js) under still text. The pointer stirs it; touch taps drop ripples. */
.finale { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; padding: var(--sec-pad) var(--gutter); text-align: center; display: grid; place-items: center; align-content: center; background: #000; }
.finale-stage { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 60% at 50% 100%, #2a2a2e, #000 70%); }
.finale-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.finale-canvas.is-ready { opacity: 1; }
.finale.pool-failed .finale-stage { background:
  linear-gradient(176deg, transparent 52%, rgba(255, 255, 255, .5) 58%, #3a3a3f 63%, #d9d9dd 70%, #1a1a1d 78%, #8d8d93 88%, #0d0d0f 100%), #000; }
.finale-scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(52% 46% at 50% 54%, rgba(0, 0, 0, .9), rgba(0, 0, 0, .62) 55%, rgba(0, 0, 0, .12) 100%), linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 22%); }
.finale-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.8rem; pointer-events: none; }
.finale-inner a, .finale-inner button { pointer-events: auto; }
.finale-logo img { width: clamp(140px, 18vw, 220px); height: auto; -webkit-user-drag: none; user-select: none; }
.finale-title { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 6.4rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; max-width: 13ch; text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 0, 0, .6); }
.finale-lede { color: #e8e8ec; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 30em; text-shadow: 0 1px 20px rgba(0, 0, 0, .8); }
.finale-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Phone action bar */
.m-bar { display: none; }
@media (max-width: 760px) {
  .m-bar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .55rem max(.75rem, env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left)); background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--hair); transition: transform .35s var(--ease-out), visibility .35s; }
  .m-bar .btn { min-height: 46px; padding: .6rem 1rem; font-size: .95rem; }
  .m-bar.away { transform: translateY(110%); visibility: hidden; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .prelaunch { font-size: .78rem; line-height: 1.4; padding-block: .4rem; }
  .timeline li { scroll-margin-bottom: 96px; }
}
.no-motion .m-bar { transition: none; }

.nw { white-space: nowrap; }

/* Finale logo: the mark, the official wordmark lettering and a legible tagline (live text, not a raster) */
.finale-logo { display: grid; justify-items: center; gap: 1rem; }
.finale-logo .mark { width: clamp(96px, 10vw, 140px); height: auto; filter: drop-shadow(0 0 24px rgba(255, 255, 255, .18)); }
.finale-logo .wordmark { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); gap: .5rem; }
.finale-logo .wordmark span { font-size: .5em; }
.finale-logo .tagline { font: 300 .8rem/1.4 var(--font-brand); letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; color: #c9c9cd; }


/* Hero chrome: bands that leave through the top fade out instead of ending on a hard edge under the header */
.hero-canvas { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }

/* QA-7 phone fixes: one-line action bar, a tagline that breaks cleanly, and an outline button that reads over bright chrome */
.hero-actions .btn-line, .finale-actions .btn-line { background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255, 255, 255, .4); }
.m-bar .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .finale-logo .tagline { max-width: 15em; font-size: .74rem; letter-spacing: .22em; margin-right: -.22em; text-align: center; text-wrap: balance; }
  .m-bar .btn { padding-inline: .8rem; font-size: .9rem; }
}

/* Scroll-built site: the page slides up from step 4 so nothing is cropped; imagery gets film grain and lens falloff */
.ss { position: relative; }
.ss > * { transform: translateY(calc(-1 * var(--ss-over, 0px))); }
.ss > .ss-foot { transition: transform .8s var(--ease-out); }
.build-live .ss > [data-in].on { transform: translateY(calc(-1 * var(--ss-over, 0px))); }

.ss-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: .5; mix-blend-mode: overlay;
  background: radial-gradient(120% 90% at 50% 40%, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, .55) 100%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/></filter><rect width='160' height='160' filter='url(%23g)'/></svg>"); }
.ss-img { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 1.6cqi 3.4cqi -1.2cqi rgba(0, 0, 0, .95); }

.no-motion .ss > * { transition: none; }

/* ---------- Scroll-built site in 3D (revision 4): a chrome-rimmed browser on a tilted rig, settling flat as the
   build completes; a phone joins in front at "Tested, then live"; the pointer tilts the rig. ---------- */
.build { overflow-x: clip; }
.build-stage { position: relative; perspective: 1700px; perspective-origin: 50% 35%; --rx: 4; --ry: -8; --lift: 0; --glare: 50; }
.build-rig { position: relative; transform-style: preserve-3d; will-change: transform;
  transform: translateZ(calc(var(--lift) * 1px)) rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg)); }
.build-stage .build-frame { position: relative; transform: translateZ(0); border: 1px solid transparent;
  background: linear-gradient(#0c0c0e, #0c0c0e) padding-box, linear-gradient(135deg, #fafafa, #4a4a50 22%, #d8d8dc 46%, #222226 68%, #b4b4ba 88%, #5a5a60) border-box;
  box-shadow: 0 70px 120px -50px rgba(0, 0, 0, .95), 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02); }
/* a sheen that follows the tilt, and a light sweep each time a layer lands */
.build-stage .build-frame::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; mix-blend-mode: screen;
  background: linear-gradient(112deg, transparent calc(var(--glare) * 1% - 22%), rgba(255, 255, 255, .11) calc(var(--glare) * 1%), transparent calc(var(--glare) * 1% + 22%)); }
.build-stage .build-frame::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; z-index: 4; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .16) 50%, transparent); transform: translateY(-100%); }
.build-stage .build-frame.is-sweep::before { animation: bf-sweep 1.1s var(--ease-out) forwards; }
@keyframes bf-sweep { 0% { opacity: 1; transform: translateY(-100%); } 100% { opacity: 0; transform: translateY(380%); } }


.build-stage { padding-right: 11%; }
.build-phone { container-type: inline-size; position: absolute; right: -12.5%; bottom: 6%; width: 13.5%; aspect-ratio: 9 / 18.5; border-radius: 13% / 6.4%; padding: 2.2%;
  background: linear-gradient(140deg, #f4f4f6, #3c3c42 24%, #c9c9ce 48%, #1b1b1f 72%, #9c9ca2);
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .25);
  transform: translateZ(60px) translateY(40%) rotateY(-10deg); opacity: 0; transition: transform 1.1s var(--ease-out), opacity .7s ease; pointer-events: none; }
.build[data-stage="5"] .build-phone { transform: translateZ(60px) translateY(0) rotateY(-10deg); opacity: 1; }
.bp-screen { position: relative; height: 100%; border-radius: 11% / 5.4%; overflow: hidden; background: linear-gradient(180deg, #0c0c0d, #1a1a1d); color: #f2f2f4;
  display: flex; flex-direction: column; gap: 4cqi; padding: 15cqi 7cqi 8cqi; }
.bp-notch { position: absolute; top: 3.4cqi; left: 50%; width: 28cqi; height: 7cqi; border-radius: 99px; background: #0b0b0c; transform: translateX(-50%); }
.bp-nav { display: flex; align-items: center; justify-content: space-between; }
.bp-nav .ss-logo { font-size: 6.4cqi; letter-spacing: .4em; margin-right: -.4em; }
.bp-burger { display: grid; gap: 2cqi; width: 9cqi; } .bp-burger i { height: 1.2cqi; background: #f2f2f4; border-radius: 1px; }
.bp-img { width: 100%; aspect-ratio: 4 / 5; display: block; object-fit: cover; object-position: 64% 30%; }
.bp-k { font: 300 3.6cqi var(--font-display); text-transform: uppercase; letter-spacing: .3em; color: #9a9aa0; }
.bp-h { font: 400 14cqi/.92 var(--font-serif); letter-spacing: -.02em; }
.bp-cta { align-self: flex-start; padding: 0 0 1.4cqi; border-bottom: 1px solid #f2f2f4; color: #f2f2f4; font: 400 3.6cqi var(--font-display); text-transform: uppercase; letter-spacing: .3em; }
.bp-bar { margin-top: auto; align-self: center; width: 36cqi; height: 1.6cqi; border-radius: 9px; background: #f2f2f4; opacity: .6; }
.build-floor { position: absolute; left: 6%; right: 6%; bottom: -14%; height: 18%; pointer-events: none; border-radius: 50%; filter: blur(18px);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0)); transform: translateX(calc(var(--ry) * -.6%)); opacity: .9; }
@media (max-width: 900px) {
  .build-stage { perspective: 1100px; }
  .build-stage { padding-right: 0; }
  .build-phone { width: 15%; right: 3%; bottom: auto; top: 18%; }
}
@media (max-width: 560px) {
  .build-phone { width: 22%; right: 4%; top: 25%; }
  .build-floor { bottom: -10%; }
}
.no-motion .build-rig { transform: rotateX(1deg) rotateY(5deg); }
.build-credit { margin: 0 0 14px; font: 300 11px/1.4 var(--font-display); letter-spacing: .32em; text-transform: uppercase; color: #a3a3a9; }
.no-motion .build-phone { transition: none; }

/* ---------- Experience selector (revision 3): tilted screens in perspective ---------- */
/* Experience selector (revision 3): a dark rounded panel, four cards whose pictures are rendered live (choose3d.js). */
.band.xp { padding-top: clamp(.5rem, 1.5vw, 1.5rem); } /* the hero flows straight into "Your vision" (owner, 2026-12-03) */
.xp-panel { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(2.2rem, 4.5vw, 4rem) 0 clamp(2.4rem, 5vw, 4.5rem); border: 1px solid var(--hair); border-radius: clamp(22px, 3vw, 36px); background: radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,.06), transparent 70%), #000; }
@media (min-width: 761px) { .xp { padding-left: var(--gutter); padding-right: var(--gutter); } }
.xp .xp-head { justify-items: center; text-align: center; }
.xp .xp-head h2 { max-width: 16ch; margin-inline: auto; }
.xp .xp-head p { max-width: 36em; }
.xp-grid { list-style: none; margin: clamp(2.6rem, 5vw, 4.5rem) auto 0; padding: 0 clamp(1rem, 3vw, 3rem); max-width: var(--max); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.4rem) clamp(1.2rem, 2.4vw, 2rem); }
.xp-card { display: grid; gap: .6rem; align-content: start; height: 100%; text-decoration: none; color: var(--ink); border-radius: 22px; }
.xp-card:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.xp-card h3 { margin-top: .9rem; font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -.03em; }
.xp-card p { color: var(--muted); max-width: 32em; }
.xp-go { margin-top: .3rem; font-weight: 600; display: inline-flex; gap: .35em; align-items: baseline; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: .3em; }
.xp-card:hover .xp-go, .xp-card:focus-visible .xp-go { text-decoration-color: #fff; }
.xp-vis { position: relative; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; border: 1px solid var(--hair); background: radial-gradient(70% 55% at 50% 100%, rgba(255,255,255,.12), transparent 70%), radial-gradient(60% 60% at 50% 40%, #161618, #000 75%); transition: border-color .4s; }
.xp-card:hover .xp-vis { border-color: rgba(255,255,255,.4); }
.xp-vis canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.xp-v2 { background: linear-gradient(160deg, #2a2a2d, #050506 60%); }
/* 03 Professional: a white mini-site, deliberately plain. */
.xp-v3 { background: #f3f3f4; border-color: rgba(255,255,255,.55); container-type: inline-size; }
.xp-site { position: absolute; inset: 0; color: #0a0a0a; font-family: var(--font-body); }
.xp-nav { position: absolute; left: 6cqw; right: 6cqw; top: 5cqw; display: flex; align-items: center; gap: 3cqw; font-size: 2.2cqw; }
.xp-nav b { font-weight: 700; letter-spacing: -.02em; margin-right: auto; }
.xp-nav i { display: block; width: 6cqw; height: .5cqw; background: #9a9aa0; border-radius: 1px; }
.xp-nav u { text-decoration: none; padding: .8cqw 2cqw; border: 1px solid #0a0a0a; border-radius: 99px; }
.xp-word { position: absolute; left: 4.5cqw; top: 13cqw; font-family: var(--font-display); font-weight: 600; font-size: 21cqw; line-height: .9; letter-spacing: -.06em; white-space: nowrap; transition: transform 1.2s var(--ease-out); }
.xp-row { position: absolute; left: 6cqw; bottom: 7cqw; display: grid; gap: 2.4cqw; justify-items: start; }
.xp-row p { margin: 0; max-width: 34cqw; font-size: 2.3cqw; line-height: 1.35; color: #3a3a3e; }
.xp-pill { font-size: 2.1cqw; font-weight: 600; color: #fff; background: #0a0a0a; padding: 1.3cqw 3.2cqw; border-radius: 99px; }
.xp-obj { position: absolute; right: 7cqw; bottom: 5cqw; width: 30cqw; height: 26cqw; border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%; background: radial-gradient(60% 50% at 35% 30%, #fff, #c9c9cd 40%, #6e6e74 75%, #2c2c30); box-shadow: 0 3cqw 4cqw -2cqw rgba(0,0,0,.45); transition: transform 1.2s var(--ease-out); }
.xp-card:hover .xp-word { transform: translateX(-2cqw); }
.xp-card:hover .xp-obj { transform: translateY(-1.5cqw) rotate(-4deg); }
@media (max-width: 760px) { .xp-grid { grid-template-columns: 1fr; } .xp-panel { border-radius: 0; border-inline: 0; } }
.calm .xp-word, .calm .xp-obj { transition-duration: 2s; }

/* Site-wide ambient chrome (revision 3): one fixed WebGL layer behind every section; the body lets it through. */
.ambient-chrome { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
html.has-ambient body { background: transparent; }
