/* Korogard Expressions homepage, Build 274. The studio's own look: Jost, cards, chips, one button at the bottom. */
:root { --bg:#f4f2ee; --surf:#ffffff; --surf2:#f7f5f1; --fg:#1c1c1c; --muted:#5f5f5f; --line:#e5e1db; --edge:#d3cdc4; --rose:#b0675f; --rose-soft:#f6ebe9; --ok:#23804c; --okbg:#e5f3ea; --shadow:0 1px 2px rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.06); --r:16px; --stage:radial-gradient(120% 100% at 50% 0%, #f0eee9 0%, #e3dfd8 100%); --glass:rgba(244,242,238,.82); --ease:cubic-bezier(.2,.8,.2,1); --spring:cubic-bezier(.34,1.45,.64,1); --max:1120px; --gx:16px; }
@media (min-width:900px) { :root { --gx:32px; } }
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { background:var(--bg); color:var(--fg); font-family:'Jost', system-ui, sans-serif; font-size:16px; line-height:1.45; -webkit-font-smoothing:antialiased; -webkit-tap-highlight-color:transparent; overflow-x:hidden; }
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; background:none; border:0; cursor:pointer; touch-action:manipulation; -webkit-user-select:none; user-select:none; }
svg { display:block; }
:focus-visible { outline:3px solid rgba(176,103,95,.55); outline-offset:2px; }
.wrap { width:min(var(--max), 100% - 2 * var(--gx)); margin:0 auto; }
section { padding:clamp(40px, 7vw, 80px) 0; }
.eyebrow { font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--rose); margin-bottom:8px; }
h1 { font-size:clamp(34px, 5.4vw, 52px); font-weight:600; letter-spacing:-.025em; line-height:1.08; text-wrap:balance; }
h2 { font-size:clamp(26px, 3.4vw, 36px); font-weight:600; letter-spacing:-.02em; line-height:1.15; text-wrap:balance; }
.lead { font-size:clamp(16px, 1.3vw, 18px); color:var(--muted); margin-top:10px; max-width:42ch; text-wrap:pretty; }
.head { margin-bottom:22px; }
.row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

/* Buttons and chips, as in the studio */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:52px; padding:0 22px; border-radius:14px; background:var(--fg); color:#fff; font-size:15.5px; font-weight:600; border:1.5px solid var(--fg); box-shadow:0 6px 18px rgba(0,0,0,.16); white-space:nowrap; transition:transform .14s var(--ease), filter .18s, border-color .18s; }
.btn svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.btn.ghost { background:var(--surf); color:var(--fg); border-color:var(--edge); box-shadow:none; }
.btn:active { transform:scale(.97); }
@media (hover:hover) { .btn:hover { filter:brightness(1.08); } .btn.ghost:hover { filter:none; border-color:var(--fg); } }
.linkbtn { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:15px; font-weight:600; color:var(--rose); text-decoration:underline; text-underline-offset:3px; }
.linkbtn svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.chips { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; margin:0 calc(-1 * var(--gx)); padding:2px var(--gx); scroll-snap-type:x proximity; -webkit-mask-image:linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image:linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.chips::-webkit-scrollbar { display:none; }
.chips > * { scroll-snap-align:start; flex:none; }
.chips.wrap { flex-wrap:wrap; overflow:visible; margin:0; padding:0; -webkit-mask-image:none; mask-image:none; }
.chip { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:0 16px; border-radius:999px; background:var(--surf); border:1.5px solid var(--edge); font-size:14.5px; font-weight:500; white-space:nowrap; transition:transform .14s var(--ease), background-color .18s, border-color .18s, color .18s; }
.chip i { width:14px; height:14px; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,.14); flex:none; }
.chip svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.chip.on { background:var(--fg); color:#fff; border-color:var(--fg); }
.chip.quiet { background:var(--surf2); color:var(--muted); border-color:var(--line); font-size:13.5px; min-height:36px; padding:0 12px; }
.chip:active { transform:scale(.96); }
@media (hover:hover) { .chip:hover { border-color:var(--fg); } }
.seg { display:inline-flex; background:var(--surf2); border:1.5px solid var(--edge); border-radius:14px; padding:4px; gap:4px; }
.seg button { min-height:38px; padding:0 16px; border-radius:10px; font-size:14.5px; font-weight:600; color:var(--muted); transition:transform .14s var(--ease), background-color .18s, color .18s; }
.seg button.on { background:var(--fg); color:#fff; box-shadow:0 1px 3px rgba(0,0,0,.15); }
.seg button:active { transform:scale(.96); }
.icon { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--surf); border:1px solid var(--line); box-shadow:0 1px 2px rgba(0,0,0,.06); color:var(--fg); flex:none; transition:transform .14s var(--ease); }
.icon svg { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.icon:active { transform:scale(.9); }

/* Cards and tiles */
.card { background:var(--surf); border-radius:var(--r); box-shadow:var(--shadow); padding:16px; }
.tile { position:relative; background:var(--surf); border-radius:18px; overflow:hidden; box-shadow:var(--shadow); border:2px solid transparent; text-align:left; transition:transform .14s var(--ease), box-shadow .22s, border-color .18s; }
.tile .vis { position:relative; aspect-ratio:4/3; background:var(--stage); overflow:hidden; }
.tile .vis > img { width:100%; height:100%; object-fit:cover; }
.tile .m { padding:12px 14px 14px; }
.tile .num { font-size:12.5px; font-weight:700; letter-spacing:.12em; color:var(--rose); }
.tile b { display:block; font-size:17px; font-weight:600; letter-spacing:-.01em; margin-top:2px; }
.tile span { display:block; font-size:13.5px; color:var(--muted); margin-top:2px; }
.tile.on { border-color:var(--fg); }
.tile:active { transform:scale(.98); }
@media (hover:hover) { .tile:hover { transform:translateY(-2px); box-shadow:0 2px 4px rgba(0,0,0,.05), 0 12px 28px rgba(0,0,0,.1); } .tile:hover:active { transform:scale(.98); } }
.tile .chk { position:absolute; top:10px; right:10px; width:28px; height:28px; margin:0; border-radius:50%; background:var(--fg); color:#fff; display:none; place-items:center; box-shadow:0 1px 4px rgba(0,0,0,.25); }
.tile .chk svg { width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.tile.on > .chk { display:grid; animation:pop .4s var(--spring); }
.facts { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
@media (min-width:900px) { .facts { grid-template-columns:repeat(4, minmax(0,1fr)); } }
.fact { background:var(--surf); border-radius:14px; box-shadow:var(--shadow); padding:14px 16px; }
.fact b { display:block; font-size:24px; font-weight:600; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.fact span { display:block; font-size:13px; color:var(--muted); margin-top:2px; }

/* Top bar */
.top { position:sticky; top:0; z-index:100; background:var(--glass); -webkit-backdrop-filter:saturate(1.4) blur(16px); backdrop-filter:saturate(1.4) blur(16px); box-shadow:0 1px 0 rgba(28,28,28,.05); }
.top .in { min-height:60px; display:flex; align-items:center; gap:12px; width:min(var(--max), 100% - 2 * var(--gx)); margin:0 auto; }
.logo { font-size:15px; font-weight:600; letter-spacing:.02em; white-space:nowrap; }
.logo em { font-style:normal; color:var(--rose); }
.links { display:none; gap:2px; margin-left:8px; }
.links a { min-height:38px; display:inline-flex; align-items:center; padding:0 12px; border-radius:999px; font-size:14px; font-weight:500; color:var(--muted); }
.links a:hover { background:var(--surf); color:var(--fg); }
.top .sp { flex:1; }
.top .btn { min-height:40px; padding:0 16px; font-size:14px; border-radius:999px; box-shadow:none; }
.top .chip { min-height:40px; }
.top-actions { display:flex; align-items:center; gap:12px; min-width:0; }
.top-actions > * { flex:none; }
.top-actions > .home-account { flex:0 1 auto; }
.menu-toggle, .mobile-nav { display:none; }
@media (min-width:1100px) { .links { display:flex; } }
@media (max-width:599px) {
  .top .in { min-height:64px; gap:8px; padding:8px 0; }
  .top .logo { flex:none; line-height:1.15; }
  .top .logo em { display:block; }
  .top-actions { flex:0 1 auto; }
  .top-actions > :not(.home-account) { display:none; }
  .top .chip, .top .btn { padding:0 12px; min-height:44px; font-size:14px; }
  .menu-toggle { display:grid; width:44px; height:44px; box-shadow:none; }
  .menu-toggle .menu-close, .menu-toggle[aria-expanded="true"] .menu-lines { display:none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display:block; }
  .mobile-nav { display:block; position:absolute; top:100%; left:0; right:0; max-height:calc(100vh - 64px); max-height:calc(100dvh - 64px); overflow-y:auto; overscroll-behavior:contain; background:var(--bg); border-top:1px solid var(--line); border-bottom:1px solid var(--line); box-shadow:0 12px 20px rgba(28,28,28,.08); }
  .mobile-nav[hidden] { display:none; }
  .mobile-nav-inner { padding:12px var(--gx) 20px; }
  .mobile-nav-links { display:grid; }
  .mobile-nav-links a { display:flex; align-items:center; min-height:48px; padding:0 12px; border-radius:12px; font-size:16px; font-weight:500; }
  .mobile-nav-links a:hover { background:var(--surf); }
  .mobile-nav-actions { display:flex; gap:12px; padding-top:12px; margin-top:8px; border-top:1px solid var(--line); }
  .mobile-nav-actions .btn { flex:1; }
  :is(#how, #colour, #rooms, #strike) { scroll-margin-top:76px; }
}
/* Hero: the words, then the wall in a card */
.hero { padding:clamp(20px, 4vw, 56px) 0 clamp(32px, 5vw, 64px); }
.hero-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:22px; grid-template-areas:"copy" "demo" "trust"; }
.hero-grid > * { min-width:0; }
.hero-copy { grid-area:copy; } .hero-demo { grid-area:demo; } .trust { grid-area:trust; }
@media (min-width:900px) { .hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:12px 48px; align-items:center; grid-template-areas:"copy demo" "trust demo"; } }
.hero .row { margin-top:22px; }
.hero .row .btn { flex:1 1 180px; }
@media (min-width:900px) { .hero .row .btn { flex:0 0 auto; } }
.hero .tour { margin-top:6px; }
.trust { display:flex; gap:8px; flex-wrap:wrap; }
.pv { background:var(--surf); border-radius:var(--r); box-shadow:var(--shadow); overflow:hidden; }
.stage { position:relative; aspect-ratio:4/3; background:var(--stage); overflow:hidden; }
#hero-canvas, .fallback { position:absolute; inset:0; width:100%; height:100%; }
.fallback { display:none; background:url(img/way-neutral.jpg) center / 17.7% repeat; }
.stage.no-gl .fallback { display:block; }
.stage.no-gl #hero-canvas { display:none; }
/* Build 282: a frosted scale figure and the panel numbers, carried by the hero wall's camera */
.hero-person { position:absolute; left:0; top:0; width:24px; height:72px; transform-origin:0 0; pointer-events:none; will-change:transform, opacity; }
.hero-person svg { display:block; width:100%; height:100%; }
.hero-person .fig { fill:rgba(255,255,255,.6); stroke:rgba(30,26,22,.5); stroke-width:.4; stroke-linejoin:round; }
.hero-person .sh { fill:#000; opacity:.12; }
.hero-tag { position:absolute; left:0; top:0; min-width:26px; height:26px; margin-left:-13px; padding:0 8px; border-radius:13px; background:rgba(28,28,28,.88); color:#fff; font-size:13px; font-weight:600; line-height:26px; text-align:center; pointer-events:none; opacity:0; will-change:transform, opacity; }
.stage.no-gl .hero-person, .stage.no-gl .hero-tag { display:none; }
.pvbar { display:flex; align-items:center; gap:12px; padding:11px 14px; }
.pvbar .l { flex:1; min-width:0; }
.pvbar b { display:block; font-size:15px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pvbar span { display:block; font-size:13px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pvbar .seg { flex:none; }
.pvbar .seg button { min-height:34px; padding:0 12px; font-size:13.5px; }
.hero-demo .demo-chips { gap:6px; flex-wrap:nowrap; overflow-x:auto; margin:10px 0 0; padding:3px 1px; scroll-padding:1px; -webkit-mask-image:none; mask-image:none; }
.hero-demo .demo-chips .chip { flex:1 0 auto; justify-content:center; gap:6px; min-height:44px; padding:0 10px; border-width:1px; font-size:13.5px; }
.hero-demo .demo-chips .chip:focus-visible { outline-offset:-3px; }
.hero-demo .demo-chips .chip i { width:12px; height:12px; }

/* The idea */
.idea { padding-top:0; }
.idea h2 { font-size:clamp(28px, 4.4vw, 44px); }
.idea .w { display:inline-block; opacity:.28; transition:opacity .35s; }
.idea .w.on { opacity:1; }
.idea .sub { font-size:clamp(18px, 2vw, 22px); color:var(--muted); margin-top:8px; font-weight:400; letter-spacing:0; }

/* How it works */
.steps { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
@media (min-width:900px) { .steps { grid-template-columns:repeat(4, minmax(0,1fr)); } }
.vis-grid { position:absolute; inset:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:minmax(0,1fr) minmax(0,1fr); gap:6px; padding:12px; }
.vis-grid > * { min-width:0; min-height:0; }
.vis-grid img { width:100%; height:100%; object-fit:cover; border-radius:8px; }
.vis-grid .up { background:var(--surf); border:1.5px dashed var(--edge); border-radius:8px; display:grid; place-items:center; color:var(--muted); font-size:11px; font-weight:600; text-align:center; padding:6px; line-height:1.3; }
.vis-dots { position:absolute; left:12px; bottom:12px; display:flex; gap:6px; }
.vis-dots i { width:22px; height:22px; border-radius:50%; box-shadow:0 2px 8px rgba(0,0,0,.25), inset 0 0 0 2px #fff; }
.vis-panels { position:absolute; inset:0; padding:14px; display:grid; place-items:center; }
.vis-panels svg { width:100%; height:100%; }
.vis-frames b { position:absolute; width:11%; aspect-ratio:8.5/11; border:2px solid #fff; box-shadow:0 0 0 1px rgba(0,0,0,.5), 0 6px 18px rgba(0,0,0,.35); background:rgba(255,255,255,.1); }
.vis-frames b::after { content:attr(data-n); position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); background:var(--fg); color:#fff; font-size:10.5px; font-weight:600; min-width:18px; height:18px; padding:0 5px; border-radius:9px; display:grid; place-items:center; }

/* Colour: the studio's swatch grid */
.colour-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
.colour-grid > * { min-width:0; }
@media (min-width:900px) { .colour-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; } }
.mini { position:relative; aspect-ratio:4/3; overflow:hidden; background:#ddd; }
.mini img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.02); transition:filter .4s; }
.mini.plain img { filter:none; }
.mini .tint { position:absolute; inset:0; mix-blend-mode:multiply; background:#cfcac1; transition:background .5s, opacity .4s; }
.mini.plain .tint { opacity:0; }
.mini .seam { position:absolute; top:0; bottom:0; border-left:1.5px dashed rgba(0,0,0,.45); }
.sw { display:grid; grid-template-columns:repeat(8, 1fr); gap:6px; margin-top:12px; }
.sw button { aspect-ratio:1; border-radius:10px; border:3px solid transparent; box-shadow:inset 0 0 0 1px rgba(0,0,0,.1); transition:transform .14s var(--ease); }
.sw button.on { border-color:var(--fg); box-shadow:inset 0 0 0 2px #fff; animation:swpop .35s var(--spring); }
.sw button:active { transform:scale(.92); }
.swname { display:flex; justify-content:space-between; align-items:baseline; gap:10px; font-size:14px; margin-top:12px; color:var(--muted); }
.swname b { color:var(--fg); font-weight:600; }

/* Live room settings sit beside the wall, directly below its colour controls. */
.colour-options { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
.colour-options > * { min-width:0; }
.colour-options #fams { margin:0; padding:2px 0; gap:6px; -webkit-mask-image:none; mask-image:none; }
.colour-options #fams .chip { min-height:40px; padding:0 13px; }
.colour-rooms { scroll-margin-top:84px; }
.colour-rooms-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:10px; }
.colour-rooms-head h3 { font-size:17px; font-weight:600; letter-spacing:-.01em; }
.colour-rooms-head > span { font-size:12.5px; color:var(--muted); }
.room-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 10px; }
.room-card { min-width:0; text-align:left; border-radius:10px; }
.room-card .room-image { aspect-ratio:3/2; border-radius:10px; overflow:hidden; background:var(--stage); box-shadow:var(--shadow); }
.room-image { position:relative; isolation:isolate; }
.room-image img { display:block; width:100%; height:100%; object-fit:cover; }
.room-image img + img { position:absolute; inset:0; }
.room-card-label { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-top:5px; font-size:12.5px; font-weight:500; }
.room-card-label svg { width:12px; height:12px; flex:none; fill:none; stroke:currentColor; stroke-width:1.5; color:var(--muted); }
.room-card .room-image::after { content:''; position:absolute; inset:0; border:1px solid rgba(28,28,28,.08); border-radius:inherit; pointer-events:none; transition:border-color .2s; }
@media (hover:hover) { .room-card:hover .room-image::after { border:2px solid var(--rose); } .room-card:hover .room-card-label { color:var(--rose); } }
.room-status { min-height:1.45em; margin-top:8px; font-size:12px; color:var(--muted); }
.room-dialog { position:fixed; inset:0; width:calc(100% - 40px); max-width:1040px; max-height:calc(100dvh - 40px); margin:auto; padding:0; border:0; border-radius:22px; background:var(--surf); color:var(--fg); box-shadow:0 16px 60px rgba(0,0,0,.25); overflow:hidden; }
.room-dialog[open] { display:flex; flex-direction:column; }
.room-dialog::backdrop { background:rgba(0,0,0,.5); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
html:has(.room-dialog[open]), body:has(.room-dialog[open]) { overflow:hidden; }
.room-dialog-head { display:flex; flex:none; align-items:center; justify-content:space-between; gap:16px; padding:18px 24px; border-bottom:1px solid var(--line); }
.room-dialog-head h2 { font-size:22px; text-wrap:initial; }
.room-dialog-head p { color:var(--muted); font-size:14px; margin-top:3px; }
.room-dialog-body { padding:16px 24px 20px; overflow:auto; min-height:0; }
.room-choices { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.room-choices .chip { min-height:40px; font-size:14px; padding:0 14px; }
.room-large { position:relative; background:var(--surf2); border-radius:14px; overflow:hidden; }
.room-large .room-image { width:100%; aspect-ratio:3/2; max-height:calc(100dvh - 300px); min-height:160px; }
.room-large .room-image img { position:absolute; inset:0; object-fit:contain; }
.room-loading { position:absolute; left:50%; bottom:16px; transform:translateX(-50%); padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.94); color:var(--muted); font-size:13px; box-shadow:var(--shadow); opacity:0; transition:opacity .2s; pointer-events:none; }
.room-large[aria-busy="true"] .room-loading { opacity:1; }
.room-dialog-caption { display:flex; align-items:center; gap:12px; min-height:30px; margin-top:8px; }
#room-dialog-status { font-size:14px; font-weight:500; }
#room-dialog-note { font-size:12.5px; color:var(--muted); }
#room-retry[hidden] { display:none; }
@media (max-width:599px) {
  .room-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 12px; }
  .room-card-label { font-size:14px; }
  .room-dialog { width:calc(100% - 24px); max-height:calc(100dvh - 24px); border-radius:18px; }
  .room-dialog-head { padding:14px 16px; }
  .room-dialog-head h2 { font-size:20px; }
  .room-dialog-body { padding:14px 16px 18px; }
  .room-choices { gap:6px; }
  .room-choices .chip { padding:0 10px; font-size:13px; }
  .room-large .room-image { max-height:none; min-height:0; }
}
@media (prefers-reduced-motion:reduce) { .room-loading, .room-card .room-image::after { transition:none; } }

/* Ask the designer */
.prompt { display:flex; gap:12px; align-items:flex-start; }
.prompt .av { width:36px; height:36px; border-radius:50%; background:var(--rose-soft); color:var(--rose); display:grid; place-items:center; flex:none; }
.prompt .av svg { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.prompt .t { flex:1; min-width:0; }
.prompt .k { font-size:12.5px; color:var(--muted); font-weight:600; }
.prompt .q { font-size:18px; font-weight:500; margin-top:2px; min-height:1.4em; }
.prompt .caret { display:inline-block; width:2px; height:1em; background:var(--fg); vertical-align:-.15em; margin-left:1px; animation:blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity:0; } }
.ideas { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin-top:12px; }
@media (min-width:640px) { .ideas { grid-template-columns:repeat(3, minmax(0,1fr)); } }
.ideas .tile .vis { aspect-ratio:3/2; }
.ideas .tile small { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:var(--rose); margin-top:4px; }
.ideas .tile small i { width:12px; height:12px; border-radius:50%; }

/* Your wall */
.wall-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
.wall-grid > * { min-width:0; }
@media (min-width:900px) { .wall-grid { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:24px; align-items:center; } }
.wallcard { padding:12px; }
.wallcard .in { background:var(--stage); border-radius:12px; padding:10px; }
.wallcard svg { width:100%; height:auto; display:block; }
.readouts { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
.readouts .fact b { font-size:26px; }
.readouts .fact.size b { font-size:19px; letter-spacing:-.03em; }

/* Strike-off */
.strike-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
.strike-grid > * { min-width:0; }
@media (min-width:900px) { .strike-grid { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:24px; align-items:center; } }
.swall { position:relative; aspect-ratio:3/2; overflow:hidden; border-radius:var(--r); box-shadow:var(--shadow); background:var(--stage); }
.swall > img { width:100%; height:100%; object-fit:cover; }
.swall .seam { position:absolute; top:0; bottom:0; border-left:1.5px dashed rgba(0,0,0,.45); }
.sheet { position:absolute; width:12%; aspect-ratio:8.5/11; top:38%; background:#fff; border-radius:2px; box-shadow:0 1px 0 rgba(0,0,0,.2), 0 14px 30px rgba(0,0,0,.3); overflow:hidden; will-change:transform; }
.sheet img { position:absolute; width:900%; max-width:none; height:auto; }
.sheet b { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); background:var(--fg); color:#fff; font-size:11px; font-weight:600; min-width:20px; height:20px; padding:0 6px; border-radius:10px; display:grid; place-items:center; }
.env { position:relative; aspect-ratio:1.45; max-width:420px; margin:28px auto 40px; }
@media (min-width:900px) { .env { margin:0 auto; } }
.env svg { width:100%; height:100%; display:block; overflow:visible; }
.env .promise { position:absolute; left:0; right:0; bottom:-30px; text-align:center; font-size:13px; font-weight:600; color:var(--rose); opacity:0; white-space:nowrap; }
.two { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin-top:22px; }
@media (min-width:640px) { .two { grid-template-columns:repeat(2, minmax(0,1fr)); } }
.two .card b { display:block; font-size:18px; font-weight:600; letter-spacing:-.01em; }
.two .card span { display:block; font-size:14px; color:var(--muted); margin-top:4px; }

/* Who it is for */
.who-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
@media (min-width:900px) { .who-grid { grid-template-columns:repeat(3, minmax(0,1fr)); } }
.who-grid .card b { display:block; font-size:19px; font-weight:600; letter-spacing:-.01em; margin:0 0 12px; }

/* Start */
.start { text-align:center; padding-bottom:clamp(56px, 9vw, 110px); }
.start .lead { margin:10px auto 0; }
.start .row { justify-content:center; margin-top:22px; }
.start .row .btn { flex:1 1 180px; max-width:280px; }

/* Footer */
footer { padding:28px 0 130px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
footer .wrap { display:flex; flex-wrap:wrap; gap:6px 18px; }
footer .legal-links { flex-basis:100%; display:flex; flex-wrap:wrap; gap:0 22px; }
footer .legal-links a { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; color:inherit; font-weight:400; text-underline-offset:3px; }
footer .legal-links a:hover, footer .legal-links a:focus-visible { text-decoration:underline; }
footer .tm { flex-basis:100%; font-size:12.5px; line-height:1.5; margin-top:6px; }
@media (min-width:900px) { footer { padding-bottom:40px; } }

/* The action buttons that stay on screen on a phone */
.bar { position:fixed; left:0; right:0; bottom:0; z-index:90; padding:10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background:var(--glass); -webkit-backdrop-filter:saturate(1.4) blur(16px); backdrop-filter:saturate(1.4) blur(16px); box-shadow:0 -1px 0 rgba(28,28,28,.05); display:flex; gap:8px; align-items:center; transform:translateY(110%); transition:transform .35s var(--ease); }
.bar .btn { flex:1; min-width:0; min-height:56px; padding:0 12px; border-radius:16px; font-size:clamp(14px, 4vw, 16.5px); }
body.show-bar .bar { transform:none; }
@media (min-width:900px) { .bar { display:none; } }

/* The tour */
html:has(#tour[open]), body:has(#tour[open]) { overflow:hidden; }
#tour { --tour-dialog-gap:24px; position:fixed; inset:env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); width:calc(100% - 2 * var(--tour-dialog-gap)); max-width:1120px; height:fit-content; max-height:calc(100vh - 2 * var(--tour-dialog-gap) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); max-height:calc(100dvh - 2 * var(--tour-dialog-gap) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); margin:auto; padding:0; border:0; border-radius:22px; background:var(--surf); color:var(--fg); box-shadow:0 16px 60px rgba(0,0,0,.25); overflow:hidden; animation:tour-up .24s var(--ease); }
#tour[open] { display:flex; flex-direction:column; }
#tour[hidden], #tour [hidden] { display:none !important; }
#tour::backdrop { background:rgba(0,0,0,.45); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); animation:tour-fade .22s ease; }
#tour .hd { display:flex; flex:none; align-items:center; justify-content:space-between; gap:12px; padding:16px 24px; border-bottom:1px solid var(--line); }
#tour h3 { font-size:20px; font-weight:600; margin:0; }
#tour .tour-body { display:flex; flex:1 1 auto; min-height:0; padding:20px 24px 0; }
#tour .tour-player { display:flex; flex-direction:column; width:100%; min-width:0; min-height:0; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--surf2); }
#tour .tour-screen { position:relative; flex:1 1 auto; min-height:0; width:100%; aspect-ratio:8/5; overflow:hidden; background:var(--fg); }
#tour-video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
#tour .tour-brand { position:absolute; display:flex; align-items:center; justify-content:center; gap:.3em; white-space:nowrap; pointer-events:none; border:1px solid rgba(255,255,255,.9); border-radius:5px; background:#f5f3ef; box-shadow:0 2px 10px rgba(28,28,28,.12), inset 0 1px 0 #fff; color:var(--fg); font-family:'Jost',sans-serif; font-weight:600; letter-spacing:.02em; line-height:1; }
#tour .tour-brand em { color:var(--rose); font-style:normal; }
#tour .tour-end { position:absolute; inset:0; z-index:2; display:grid; align-items:safe center; justify-items:center; padding:20px 16px; overflow:auto; background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(246,235,233,.97)); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); text-align:center; }
#tour .tour-end-content { display:grid; justify-items:center; gap:24px; max-width:100%; }
#tour .tour-end-logo { margin:0; color:var(--fg); font-size:clamp(20px,3vw,36px); font-weight:600; letter-spacing:.02em; line-height:1.2; }
#tour .tour-end-logo em { color:var(--rose); font-style:normal; }
#tour .tour-end-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
#tour .tour-end-actions :is(button, a) { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 12px; border:1px solid var(--edge); border-radius:12px; background:var(--surf); color:var(--fg); font-size:14px; font-weight:600; cursor:pointer; }
#tour .tour-end-actions #tour-customize { background:var(--fg); border-color:var(--fg); color:#fff; box-shadow:0 4px 12px rgba(0,0,0,.12); }
#tour .tour-end-actions :is(button, a):hover { filter:brightness(.94); }
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  #tour .tour-brand { background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(245,243,239,.92)); -webkit-backdrop-filter:blur(18px) saturate(.3); backdrop-filter:blur(18px) saturate(.3); }
}
#tour .tour-controls { display:grid; grid-template-columns:44px minmax(50px,1fr) auto 44px 72px 44px; gap:12px; align-items:center; flex:none; padding:12px 16px; background:var(--surf2); }
#tour .tour-control { display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid transparent; border-radius:50%; background:transparent; color:var(--fg); cursor:pointer; }
#tour .tour-control:hover { background:var(--surf); border-color:var(--line); }
#tour #tour-play { background:var(--fg); color:#fff; box-shadow:0 2px 6px rgba(0,0,0,.12); }
#tour #tour-play:hover { background:#383431; }
#tour .tour-control svg { width:20px; height:20px; stroke:currentColor; stroke-width:1.8; fill:none; stroke-linecap:round; stroke-linejoin:round; }
#tour .tour-control svg [data-fill] { fill:currentColor; stroke:none; }
#tour .tour-range { --tour-progress:0%; display:block; width:100%; height:36px; min-width:0; margin:0; padding:0; border:0; border-radius:4px; appearance:none; -webkit-appearance:none; background:transparent; cursor:pointer; }
#tour .tour-range::-webkit-slider-runnable-track { height:4px; border-radius:4px; background:linear-gradient(to right,var(--rose) var(--tour-progress),var(--line) var(--tour-progress)); }
#tour .tour-range::-moz-range-track { height:4px; border-radius:4px; background:var(--line); }
#tour .tour-range::-moz-range-progress { height:4px; border-radius:4px; background:var(--rose); }
#tour .tour-range::-webkit-slider-thumb { width:12px; height:12px; margin-top:-4px; border:2px solid #fff; border-radius:50%; appearance:none; -webkit-appearance:none; background:var(--rose); box-shadow:0 1px 4px rgba(0,0,0,.2); }
#tour .tour-range::-moz-range-thumb { width:8px; height:8px; border:2px solid #fff; border-radius:50%; background:var(--rose); box-shadow:0 1px 4px rgba(0,0,0,.2); }
#tour .tour-range:disabled { opacity:.4; cursor:default; }
#tour .tour-time { min-width:82px; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap; }
#tour .tour-status { position:absolute; top:12px; left:12px; right:12px; margin:0; padding:10px 14px; border-radius:10px; background:rgba(255,255,255,.95); color:var(--fg); font-size:14px; }
#tour .tour-player:fullscreen { width:100%; height:100%; border:0; border-radius:0; }
#tour .tour-player:fullscreen .tour-screen { aspect-ratio:auto; }
#tour.tour-expanded { width:calc(100% - 2 * var(--tour-dialog-gap)); max-width:none; height:calc(100dvh - 2 * var(--tour-dialog-gap)); }
#tour.tour-expanded .tour-screen { aspect-ratio:auto; }
#tour.tour-expanded :is(.hd, .tour-caption) { display:none; }
#tour.tour-expanded .tour-body { padding:0; }
#tour.tour-expanded .tour-player { border:0; border-radius:inherit; }
#tour .tour-caption { flex:none; padding:14px 24px 20px; }
#tour-note { margin:0; font-size:14px; line-height:1.5; color:var(--muted); }
@media (max-width:599px) {
  #tour .tour-controls { grid-template-columns:40px minmax(0,1fr) 40px 40px; gap:4px 8px; padding:8px 10px; }
  #tour #tour-seek { grid-column:1/-1; grid-row:1; height:24px; }
  #tour .tour-control { width:40px; height:40px; }
  #tour #tour-volume { display:none; }
  #tour .tour-time { padding-left:4px; }
}
@media (max-width:599px), (max-height:499px) {
  #tour { --tour-dialog-gap:12px; border-radius:18px; }
  #tour .hd { padding:10px 16px; }
  #tour .tour-body { padding:16px 16px 0; }
  #tour .tour-caption { padding:12px 16px 16px; }
}
@keyframes tour-up { from { transform:translateY(40px); opacity:0; } to { transform:none; opacity:1; } }
@keyframes tour-fade { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) {
  #tour, #tour::backdrop { animation:none !important; }
}

/* Motion: things rise in as they arrive, the way steps do in the studio */
.rv { opacity:0; transform:translateY(16px); }
.rv.in { animation:rise .55s var(--ease) both; animation-delay:var(--d, 0s); }
@keyframes rise { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes pop { 0% { transform:scale(.4); opacity:0; } 60% { transform:scale(1.12); opacity:1; } 100% { transform:scale(1); opacity:1; } }
@keyframes swpop { 0% { transform:scale(.88); } 60% { transform:scale(1.08); } 100% { transform:scale(1); } }
.swap { animation:textin .28s var(--ease); }
@keyframes textin { from { opacity:0; transform:translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .rv, .rv.in { opacity:1; transform:none; animation:none; }
  .idea .w { opacity:1; }
  .tile.on > .chk, .sw button.on, .swap { animation:none; }
  .prompt .caret { animation:none; }
}
