/* Landing page */
.L { font-size: 17px; overflow-x: clip; }
.L section { position: relative; }
.L h2 { letter-spacing: -.03em; font-weight: 500; line-height: 1.02; }
.gcard { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 18px 18px 18px 36px; backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); box-shadow: 0 20px 60px rgba(0, 0, 0, .10); }
.gc-title { font-weight: 600; font-size: 14px; }
.gc-sub { font-size: 13px; color: var(--muted); }
.kw { display: flex; flex-wrap: wrap; gap: 6px; }
.kw span { font-size: 13px; padding: 4px 10px; border-radius: 6px 6px 6px 12px; background: var(--accent-soft); color: var(--accent); }
.btn.glassbtn { background: var(--glass); border-color: var(--glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* hero */
.hero { height: 100svh; min-height: 700px; overflow: hidden; }
.hero-scene { position: absolute; inset: 0; }
.hero-scene > canvas { position: absolute; inset: 0; }
.hero-copy { position: relative; z-index: 2; padding: 22vh var(--margin) 0; max-width: 760px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero h1 { font-size: clamp(42px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; margin: 0 0 24px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; }
.hero .lede { font-size: 19px; line-height: 1.5; max-width: 34ch; margin: 0 0 32px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.facts-line { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.style-card { position: absolute; z-index: 3; right: calc(var(--margin) + 2vw); top: 15vh; width: 300px; padding: 16px; display: grid; gap: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px 6px 6px 14px; }
.tier-card { position: absolute; z-index: 3; right: var(--margin); bottom: 8vh; width: 360px; padding: 16px; }
.tc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tc-price { font-size: 30px; letter-spacing: -.02em; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 22px; height: 36px; border: 2px solid var(--control); border-radius: 12px; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--muted); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* steps: pinned, sideways */
.steps-pin { height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); }
.steps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 104px var(--margin) 0; }
.steps-head h2 { font-size: clamp(32px, 3.6vw, 56px); margin: 0; max-width: 16ch; }
.steps-nav { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.steps-nav li { padding: 8px 14px; border-radius: 8px 8px 8px 16px; color: var(--muted); background: var(--raised); font-size: 15px; transition: background .3s, color .3s; }
.steps-nav li.on { background: var(--text); color: var(--on-ink); }
.track { flex: 1; display: flex; width: max-content; will-change: transform; }
.step { width: min(100vw, 1280px); flex: none; display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 48px; padding: 32px var(--margin) 64px; }
.p-copy h3 { font-size: clamp(30px, 3vw, 46px); letter-spacing: -.03em; line-height: 1.05; font-weight: 500; margin: 0 0 16px; }
.p-copy p { font-size: 18px; max-width: 36ch; margin: 0; color: var(--muted); }
.p-vis { position: relative; height: min(56vh, 480px); display: grid; place-items: center; }
.stack { position: relative; width: 100%; height: 100%; }
.stack img { position: absolute; width: 56%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 10px 10px 10px 40px; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
.stack .s0 { left: 2%; top: 8%; rotate: -6deg; }
.stack .s1 { left: 40%; top: 0; rotate: 4deg; }
.stack .s2 { left: 12%; top: 46%; rotate: 3deg; }
.stack .s3 { left: 46%; top: 42%; rotate: -3deg; }
.brief { width: min(520px, 100%); padding: 24px; display: grid; gap: 16px; }
.typed { font-size: 20px; line-height: 1.5; margin: 0; }
.plandraw { width: min(560px, 100%); height: auto; overflow: visible; }
.pd-floor { fill: var(--accent-soft); }
.pd-wall { fill: none; stroke: var(--text); stroke-width: 8; stroke-linejoin: miter; stroke-dasharray: 1300; }
.pd-win { stroke: var(--accent); stroke-width: 10; }
.pd-door { fill: none; stroke: var(--text); stroke-width: 2; stroke-dasharray: 4 4; }
.plandraw text { font-size: 15px; fill: var(--muted); text-anchor: middle; }
.plandraw .pd-area { font-size: 22px; font-weight: 600; fill: var(--text); }
.budgetcard { width: min(480px, 100%); padding: 24px; }
.bc-total { font-size: 56px; letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; }
.bc-left { color: var(--muted); margin-bottom: 16px; }
.bc-strip { display: flex; gap: 3px; height: 18px; margin-bottom: 16px; }
.bc-strip span { background: var(--accent); border-radius: 3px; opacity: .85; }
.bc-strip span:first-child { border-bottom-left-radius: 9px; }
.bc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.bc-list li { display: flex; justify-content: space-between; }
.steps-progress { height: 3px; margin: 0 var(--margin) 28px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.steps-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* live products */
.live { padding: 140px var(--margin) 40px; }
.live-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.live-head h2 { font-size: clamp(34px, 4vw, 64px); margin: 0; }
.live-head p { margin: 0; font-size: 18px; color: var(--muted); max-width: 40ch; }
.chips { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { height: 38px; padding: 0 16px; border-radius: 8px 8px 8px 18px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--control); }
.chips button[aria-pressed="true"] { background: var(--text); color: var(--on-ink); border-color: var(--text); }
.live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: 14px 14px 14px 40px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .2s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--control); }
.pc-img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 24px; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .pc-img img { transform: scale(1.04); }
.pc-body { padding: 18px 20px 20px; display: grid; gap: 4px; }
.pc-tier { font-size: 14px; color: var(--accent); font-weight: 600; }
.pc-price { font-size: 32px; letter-spacing: -.02em; }
.pc-title { color: var(--muted); }
.pc-link { margin-top: 8px; color: var(--text); font-weight: 500; text-decoration: none; }
.pc-link:hover { color: var(--accent); }
.pcard.loading .pc-img, .pcard.loading .pc-price, .pcard.loading .pc-title { background: var(--raised); color: transparent; animation: pulse 1.2s ease-in-out infinite; }
.pcard.loading .pc-price, .pcard.loading .pc-title { border-radius: 4px; width: 60%; }
@keyframes pulse { 50% { opacity: .55; } }

/* shapes */
.shapes { height: 320vh; }
.shapes-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 80px var(--margin) 40px; }
.shapes-copy h2 { font-size: clamp(34px, 4vw, 64px); margin: 0 0 20px; max-width: 12ch; }
.shapes-copy p { font-size: 18px; color: var(--muted); max-width: 40ch; margin: 0 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--accent); border-top-right-radius: 100%; }
.shapes-vis { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px 20px 20px 64px; padding: 32px; }
.morph { width: 100%; height: auto; display: block; }
.m-floor { fill: var(--accent-soft); }
.m-wall { fill: none; stroke: var(--text); stroke-width: 7; stroke-linejoin: miter; }
.shape-meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 20px; font-weight: 500; }
.shape-meta .num { color: var(--muted); }

/* bento */
.bento-wrap { padding: 80px var(--margin) 40px; }
.sec-title { font-size: clamp(34px, 4vw, 64px); margin: 0 0 40px; max-width: 14ch; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px 14px 14px 40px; padding: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tile h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; max-width: 32ch; }
.t-budget { grid-column: span 2; grid-row: span 2; background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.t-budget p { color: inherit; opacity: .8; }
.tb-fig { margin-top: auto; font-size: clamp(56px, 7vw, 104px); letter-spacing: -.04em; line-height: 1; }
.tb-of { opacity: .75; margin: 6px 0 20px; }
.tb-strip { position: relative; display: flex; gap: 3px; height: 22px; background: rgba(0, 0, 0, .12); border-radius: 4px 4px 4px 11px; padding: 3px; }
.tb-strip span { background: var(--accent-ink); opacity: .85; border-radius: 2px; }
.t-door svg { margin-top: auto; width: 100%; height: 120px; }
.td-wall { stroke: var(--text); stroke-width: 6; }
.td-zone { fill: var(--accent-soft); }
.td-swing { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 4; }
.td-sofa { fill: var(--raised); stroke: var(--control); }
.tc-pair { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.tc-pair img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px 6px 6px 18px; }
.sw3 { display: flex; gap: 6px; }
.sw3 span { width: 34px; height: 34px; border-radius: 6px 6px 6px 14px; border: 1px solid var(--border); }
.dg { margin-top: auto; height: 100px; border-radius: 8px 8px 8px 22px; background-color: var(--well); background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 20px 20px; position: relative; overflow: hidden; }
.dg-item { position: absolute; top: 30px; left: 20px; width: 70px; height: 40px; border-radius: 6px; background: var(--accent); animation: dragit 5s var(--ease) infinite; }
.dg-cursor { position: absolute; top: 50px; left: 60px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--text); animation: dragit 5s var(--ease) infinite; }
@keyframes dragit { 0%, 15% { transform: translate(0, 0); } 45%, 60% { transform: translate(110px, 10px); } 90%, 100% { transform: translate(0, 0); } }
.th-split { margin-top: auto; height: 100px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 8px 8px 8px 22px; overflow: hidden; border: 1px solid var(--border); }
.th-l { background: #f4f3f0; position: relative; }
.th-d { background: #16171a; position: relative; }
.th-l::after, .th-d::after { content: ""; position: absolute; left: 14px; right: 14px; top: 16px; height: 12px; border-radius: 4px; background: #1b6c80; box-shadow: 0 22px 0 -2px rgba(127, 127, 127, .35), 0 42px 0 -2px rgba(127, 127, 127, .25); }
.th-d::after { background: #5fb6ca; }
.sv { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sv svg { width: 100%; height: auto; background: var(--well); border-radius: 6px 6px 6px 16px; padding: 6px; }
.sv path { fill: var(--accent-soft); stroke: var(--text); stroke-width: 10; }

/* faq */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: 120px var(--margin) 40px; }
.faq h2 { grid-column: 1 / 5; font-size: clamp(34px, 4vw, 64px); position: sticky; top: 110px; align-self: start; margin: 0; }
.faq .qs { grid-column: 5 / 13; display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px 10px 10px var(--swing); transition: background .3s, color .3s, border-color .3s; }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; padding: 20px 64px 20px 24px; font-size: 19px; font-weight: 500; position: relative; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 16px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 24px 24px; max-width: 58ch; font-size: 17px; }

/* cta */
.cta { margin: 120px var(--margin) 0; height: 78svh; min-height: 520px; border-radius: 24px 24px 24px 96px; overflow: hidden; display: grid; place-items: center; }
.cta-bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.cta-card { position: relative; width: min(560px, calc(100% - 32px)); padding: 40px; text-align: left; }
.cta-card h2 { font-size: clamp(32px, 3.4vw, 52px); margin: 0 0 12px; }
.cta-card p { margin: 0 0 24px; font-size: 18px; }

/* footer */
.footer { padding: 80px var(--margin) 32px; }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.f-brand { font-size: 22px; }
.f-brand .mark { width: 28px; height: 28px; }
.f-links { display: flex; gap: 24px; flex-wrap: wrap; }
.f-links a, .f-links button { all: unset; cursor: pointer; color: var(--muted); }
.f-links a:hover, .f-links button:hover { color: var(--text); }
.f-links button:focus-visible, .f-links a:focus-visible { outline: 2px solid var(--accent); }
.credits { font-size: 13px; color: var(--muted); max-width: 90ch; margin: 24px 0 8px; }
.copy { font-size: 13px; color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { padding: 120px var(--margin) 0; }
  .hero h1 { font-size: 11vw; }
  .hero-scene { position: relative; inset: auto; height: 56svh; order: 2; }
  .style-card { display: none; }
  .tier-card { position: relative; right: auto; bottom: auto; width: auto; margin: -60px 16px 24px; order: 3; }
  .scroll-cue { display: none; }
  .steps-pin { height: auto; }
  .steps-head { flex-direction: column; align-items: flex-start; padding-top: 80px; }
  .steps-nav { display: none; }
  .track { flex-direction: column; width: auto; }
  .step { width: auto; grid-template-columns: 1fr; gap: 24px; padding: 40px var(--margin); }
  .p-vis { height: 320px; }
  .steps-progress { display: none; }
  .live-head { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: 1fr; }
  .shapes { height: auto; }
  .shapes-sticky { position: relative; height: auto; grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .t-budget { grid-column: span 2; grid-row: span 1; }
  .faq { display: block; }
  .faq h2 { position: static; margin-bottom: 20px; }
  .cta { margin: 80px 0 0; border-radius: 0; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .t-budget { grid-column: auto; }
}
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--raised); border-radius: 10px; padding: 4px; position: relative; }
.seg3 button { position: relative; z-index: 1; height: 34px; border: 0; background: transparent; cursor: pointer; font-size: 14px; color: var(--muted); border-radius: 7px; transition: color .2s; }
.seg3 button[aria-pressed="true"] { color: var(--text); font-weight: 600; }
.seg3 .thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); background: var(--surface); border-radius: 7px 7px 7px 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); transition: transform .35s var(--ease); }
