/* Ting — shared page skeleton for the redesign-home variants (v1–v6).
   Chrome (header + buttons) lives in common.css; this is everything else
   that every variant shares, so each file only carries its centerpiece. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#07070b;color:#fff;font-family:'Outfit',-apple-system,BlinkMacSystemFont,sans-serif;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%}
.wrap{width:100%;max-width:1100px;margin:0 auto;padding:0 20px}
.bar{position:fixed;top:0;left:0;height:3px;background:var(--y);width:0;z-index:95}

h1{font-size:40px;line-height:1.15;font-weight:700;letter-spacing:-.02em;margin:0}
h2{font-size:32px;line-height:1.19;font-weight:700;letter-spacing:-.02em;margin:0}
h3{font-size:20px;font-weight:600;margin:0}
p{margin:0;line-height:1.5}
@media(min-width:992px){h1{font-size:64px}h2{font-size:40px}}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--y)}
.dim{color:rgba(255,255,255,.6)}
.mark{color:var(--y)}
section{padding:96px 0;position:relative}
section:has(.glow){overflow:hidden}
.glow{position:absolute;left:50%;top:42%;width:860px;height:860px;transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(255,204,0,.12),transparent 62%);pointer-events:none;filter:blur(20px)}

.rv{opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.25,.1,.25,1),transform .7s cubic-bezier(.25,.1,.25,1)}
.rv.in{opacity:1;transform:none}

/* ── Motion layer ─────────────────────────────────────────────────────────
   Shared across every variant so the six move as one product: an immersive
   hero, warm dust motes drifting in the glow, a bobbing scroll cue, and the
   signature moment — the room *furnishes itself* as it scrolls into view. */
.hero{min-height:100svh}
@media(max-width:991px){.hero{min-height:auto}}

.motes{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.motes i{position:absolute;width:4px;height:4px;border-radius:9999px;background:var(--y);
  opacity:0;filter:blur(.4px);animation:mote linear infinite}
@keyframes mote{
  0%{opacity:0;transform:translateY(14px) scale(.6)}
  12%{opacity:.55}
  85%{opacity:.5}
  100%{opacity:0;transform:translateY(-46px) scale(1)}}

.cue{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:2;
  font-size:12px;color:rgba(255,255,255,.5);display:flex;flex-direction:column;align-items:center;gap:6px;
  animation:bob 2s ease-in-out infinite}
.cue i{display:block;width:22px;height:22px;border:1px solid rgba(255,255,255,.3);border-radius:9999px;position:relative}
.cue i::after{content:"";position:absolute;left:50%;top:5px;width:4px;height:4px;border-radius:9999px;
  background:var(--y);transform:translateX(-50%);animation:cuedot 1.6s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,7px)}}
@keyframes cuedot{0%{opacity:0;top:5px}30%{opacity:1}70%{opacity:1}100%{opacity:0;top:12px}}

/* The room comes to life: furniture fades + rises in as a staggered cascade.
   The trigger sits on the room's stable parent (added on scroll-in), so a
   variant re-theming the <svg>'s class never interrupts the cascade. */
.furnish-go .dress{animation:furnishIn .6s cubic-bezier(.25,.1,.25,1) both}
@keyframes furnishIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  .motes i,.cue{animation:none}
  .room.furnish-go .dress{animation:none}
}

.grid{display:grid;gap:40px;align-items:center}
@media(min-width:992px){.grid{grid-template-columns:1fr 1fr}}
.panel{background:rgba(20,20,28,.72);border:1px solid rgba(255,255,255,.1);border-radius:20px;
  padding:20px;backdrop-filter:blur(20px);box-shadow:0 20px 60px rgba(0,0,0,.5)}

.pillrow{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500;color:rgba(255,255,255,.8);
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);padding:5px 12px;border-radius:9999px}
.chip{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
  background:var(--ys);color:var(--ink);padding:3px 8px;border-radius:9999px;margin-left:10px;vertical-align:middle}

/* Eight steps (0–7), so the grid has to breathe wider than the rent pages. */
.steps{display:grid;gap:15px;margin-top:40px}
@media(min-width:768px){.steps{grid-template-columns:repeat(2,1fr)}}
@media(min-width:992px){.steps{grid-template-columns:repeat(4,1fr)}}
.st{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:20px;
  transition:border-color .15s,background .15s,transform .15s}
.st:hover{border-color:rgba(255,204,0,.4);background:rgba(255,204,0,.05);transform:translateY(-3px)}
.st .n{width:40px;height:40px;border-radius:15px;background:var(--ys);color:var(--ink);display:flex;
  align-items:center;justify-content:center;font-size:16px;font-weight:700;
  box-shadow:inset 0 0 10px rgba(0,0,0,.05);font-variant-numeric:tabular-nums}
.st h3{margin:15px 0 5px;font-size:16px}
.st p{font-size:14px;color:rgba(255,255,255,.6)}

.stats{display:grid;gap:15px;margin-top:40px}
@media(min-width:768px){.stats{grid-template-columns:repeat(3,1fr)}}
.s{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:15px;padding:20px}
.s b{display:block;font-size:32px;font-weight:700;color:var(--y);font-variant-numeric:tabular-nums;line-height:1.1}
.s span{display:block;font-size:14px;color:rgba(255,255,255,.6);margin-top:5px}

footer{border-top:1px solid rgba(255,255,255,.08);padding:30px 0;font-size:12px;color:rgba(255,255,255,.5)}
footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px}

/* ── The room ─────────────────────────────────────────────────────────────
   One SVG, drawn once and re-themed by a palette class on the <svg>. Every
   variant that has to *show* a redesign uses it, so the six pages read as
   one product rather than six unrelated mockups.
   .bare  → the room as it is today: dull, undressed, a bulb on a wire.
   default→ the room after Ting: palette, rug, art, plant, pendant. */
/* A full designer palette — walls/floor/sky get gradients, fabric gets
   three-stop shading, plus wood, metal, plant, accent-cushions and art.
   The default is a warm-minimal "after"; each .p-* swaps the whole story. */
.room{--wall-hi:#F7F2EA;--wall-lo:#EBE2D3;--floor-hi:#E6CDA8;--floor-lo:#C7A575;--plank:#B7955F;
      --sky-hi:#DCEAF2;--sky-lo:#F5E8CF;--sun:#FFE6A6;--glowc:#FFCF8A;
      --sofa-hi:#F0E8DB;--sofa:#E2D6C2;--sofa-lo:#CBB99C;--pillow:#DB8E56;--pillow2:#B55E36;--throw:#C9A067;
      --wood:#B07E4C;--metal:#C6A046;--plant:#6E8B52;--plant-lo:#4E6B3A;--pot:#CD6B45;--rug:#F0E7D6;--rug2:#D8C29C;
      --art1:#DB8E56;--art2:#6E8B52;--art3:#3A5A78;
      display:block;width:100%;height:auto}
.room *{transition:fill .55s ease,opacity .5s ease}
.room stop{transition:stop-color .55s ease,stop-opacity .55s ease}
.room .dress{opacity:1}
.room.bare .dress{opacity:0}
.room .bare-only{opacity:0}
.room.bare .bare-only{opacity:1}
/* before — cold, overcast, undressed */
.p-bare{--wall-hi:#D3D3D2;--wall-lo:#C0C0C0;--floor-hi:#BAB2A6;--floor-lo:#9C948A;--plank:#8E877D;
  --sky-hi:#C7CED3;--sky-lo:#B2B9BE;--sun:#C9CFD2;--glowc:#B4BCC4;
  --wood:#9C968C;--metal:#8C8C8C;--rug:#C4C0B8;--rug2:#ADA79E}
/* Nordic — warm white, pale oak, bouclé cream + terracotta */
.p-scandi{--wall-hi:#F7F2EA;--wall-lo:#EBE2D3;--floor-hi:#E6CDA8;--floor-lo:#C7A575;--plank:#B7955F;
  --sky-hi:#DCEAF2;--sky-lo:#F5E8CF;--sun:#FFE6A6;--glowc:#FFCF8A;
  --sofa-hi:#F0E8DB;--sofa:#E2D6C2;--sofa-lo:#CBB99C;--pillow:#DB8E56;--pillow2:#B55E36;--throw:#C9A067;
  --wood:#B07E4C;--metal:#C6A046;--plant:#6E8B52;--plant-lo:#4E6B3A;--pot:#CD6B45;--rug:#F0E7D6;--rug2:#D8C29C;
  --art1:#DB8E56;--art2:#6E8B52;--art3:#3A5A78}
/* Terracotta — limewash clay, rust velvet, rattan, olive */
.p-warm{--wall-hi:#ECD6BB;--wall-lo:#DCBF9C;--floor-hi:#CB9E67;--floor-lo:#A5773E;--plank:#946A38;
  --sky-hi:#F2DCB8;--sky-lo:#F6C795;--sun:#FFD07A;--glowc:#F0A860;
  --sofa-hi:#DE8F5C;--sofa:#C5703E;--sofa-lo:#9F5228;--pillow:#EAD8BC;--pillow2:#7C8F58;--throw:#8B9A62;
  --wood:#8B5E3C;--metal:#B98A4A;--plant:#6F8A4E;--plant-lo:#4E6634;--pot:#B5865A;--rug:#EBDABF;--rug2:#C08A5A;
  --art1:#C5703E;--art2:#7C8F58;--art3:#E0C9A6}
/* Modern luxe — charcoal plaster, walnut, emerald velvet, brass */
.p-modern{--wall-hi:#34343C;--wall-lo:#26262C;--floor-hi:#5C4838;--floor-lo:#3C2E23;--plank:#4A3829;
  --sky-hi:#1D2B39;--sky-lo:#3B3651;--sun:#F3C577;--glowc:#D8B45A;
  --sofa-hi:#22604F;--sofa:#17463A;--sofa-lo:#0E3129;--pillow:#C8A24C;--pillow2:#8A6D2E;--throw:#37474F;
  --wood:#6B4E34;--metal:#D8B45A;--plant:#5E7A4A;--plant-lo:#3E5632;--pot:#232329;--rug:#2C2C33;--rug2:#4A4A55;
  --art1:#C8A24C;--art2:#22604F;--art3:#0E0E12}
/* Japandi — oatmeal, pale wood, sage grey, black accents */
.p-japandi{--wall-hi:#EEE9DE;--wall-lo:#DFD8C9;--floor-hi:#CFB693;--floor-lo:#AE926A;--plank:#A0855E;
  --sky-hi:#E6ECE8;--sky-lo:#EFE8D8;--sun:#F1E7C9;--glowc:#CFC6AC;
  --sofa-hi:#AAAE9F;--sofa:#94998B;--sofa-lo:#767C6E;--pillow:#33332D;--pillow2:#8A8578;--throw:#C4B79E;
  --wood:#7A5C3E;--metal:#2A2A26;--plant:#6B7F55;--plant-lo:#4A5A38;--pot:#33332D;--rug:#E2DACA;--rug2:#B8AE98;
  --art1:#2A2A26;--art2:#C4B79E;--art3:#94998B}
/* Bold — deep petrol wall, mustard velvet, warm wood, coral */
.p-bold{--wall-hi:#1F3B53;--wall-lo:#152C40;--floor-hi:#CB9E67;--floor-lo:#8A5E30;--plank:#7C5228;
  --sky-hi:#1B3448;--sky-lo:#2F5B6F;--sun:#F5D080;--glowc:#E0B24C;
  --sofa-hi:#E4B650;--sofa:#C89434;--sofa-lo:#A2761F;--pillow:#DA6140;--pillow2:#EAD7B4;--throw:#2E5A6E;
  --wood:#8A5E38;--metal:#E0B24C;--plant:#4E7C55;--plant-lo:#35603C;--pot:#0E2534;--rug:#123244;--rug2:#2E5A6E;
  --art1:#DA6140;--art2:#E0B24C;--art3:#7FB0C4}

/* ── Style tiles — the picker shared by v2 and v4 ─────────────────────────── */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tile{cursor:pointer;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);
  border-radius:15px;padding:10px;text-align:left;font-family:inherit;color:#fff;
  transition:border-color .15s,background .15s,transform .15s}
.tile:hover{border-color:rgba(255,204,0,.45);transform:translateY(-2px)}
.tile[aria-pressed="true"]{border-color:var(--y);background:rgba(255,204,0,.1)}
.tile i{display:flex;gap:3px;margin-bottom:8px}
.tile i b{width:100%;height:14px;border-radius:5px;display:block}
.tile span{font-size:12px;font-weight:600;display:block}

/* ── Sliders — shared by v4 and v6 ────────────────────────────────────────── */
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:9999px;
  background:rgba(255,255,255,.12);margin-top:12px;outline:none}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;
  background:var(--ys);cursor:grab;box-shadow:0 0 0 4px rgba(255,204,0,.2),0 2px 8px rgba(0,0,0,.5)}
input[type=range]::-moz-range-thumb{width:26px;height:26px;border:0;border-radius:50%;background:var(--ys);
  box-shadow:0 0 0 4px rgba(255,204,0,.2)}
.crow{display:flex;align-items:baseline;justify-content:space-between;font-size:14px}
.crow b{font-size:22px;font-weight:700;color:var(--y);font-variant-numeric:tabular-nums}

/* ── Refine prompts — the "tell Ting" chips shared by v1, v3, v4, v5 ──────── */
.asks{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}
.ask{font-family:inherit;font-size:13px;color:#fff;cursor:pointer;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);
  padding:8px 14px;border-radius:9999px;transition:background .15s,border-color .15s}
.ask:hover{background:rgba(255,204,0,.12);border-color:rgba(255,204,0,.45)}
.ask[aria-pressed="true"]{background:var(--ys);border-color:var(--ys);color:var(--ink);font-weight:600}
