/* Evolution Haus brand fonts */
@font-face { font-family: "The Seasons"; src: url("fonts/the-seasons-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("fonts/the-seasons-light-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("fonts/the-seasons-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("fonts/the-seasons-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("fonts/the-seasons-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Visby CF"; src: url("fonts/visby-cf-regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Visby CF"; src: url("fonts/visby-cf-medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Visby CF"; src: url("fonts/visby-cf-demibold.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Lilac is the frame (progress, house, labels, links). Peach is everything the client chooses or fills in. */
  --ink: #11120d;
  --bg: #faf7f2;
  --bg-deep: #f3eee6;
  --lilac: #d8c2ec;
  --lilac-deep: #c4a8e2;
  --violet: #6a4c93;      /* small lilac-family text, readable on cream */
  --peach: #f2a579;
  --peach-soft: #f8e3d4;      /* apricot-25 on the site */
  --peach-text: #a5522a;  /* small peach text, 5.1:1 on cream */
  --mist: #4a4a45;
  --faint: #6f6e68;
  --line: #d9d7d2;            /* the site's hairline */
  --card: #ffffff;
  --edge: 0 18px 40px -28px rgba(17, 18, 13, 0.22);   /* the site's soft card shadow */
  --danger: #b4321f;
  --good: #3f6b3a;

  --head: "The Seasons", "Bodoni 72", Didot, Georgia, serif;
  --body: "Visby CF", "Jost", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* The house front grows past its box when the camera walks in; never let that widen the page */
html, body { overflow-x: clip; }
body {
  margin: 0; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

.glow { display: none; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.app {
  max-width: 520px; margin: 0 auto; min-height: 100dvh;
  padding: max(20px, env(safe-area-inset-top)) 20px max(40px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 14px;
}

/* ---------- Header ---------- */
.topbar { display: flex; align-items: center; }
.logo { display: block; height: 38px; width: auto; }

.bar { height: 3px; background: rgba(17, 18, 13, 0.08); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--lilac-deep); transition: width .5s var(--ease); }

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.back { background: none; border: 0; padding: 6px 0; font: 500 15px/1 var(--body); color: var(--violet); cursor: pointer; }
.back::before { content: "\2190"; margin-right: 8px; }
.where { margin-left: auto; font: 500 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* ---------- Type ---------- */
.eyebrow { font: 500 12px/1.3 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--violet); }
h1, h2 { font-family: var(--head); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 10vw, 50px); line-height: 1.04; }
h2 { font-size: clamp(28px, 7.4vw, 34px); line-height: 1.1; }
p { margin: 0; color: var(--mist); max-width: 56ch; }
.note { font-size: 14px; color: var(--faint); }

/* ---------- Screen ---------- */
#view { outline: none; }
.screen { display: flex; flex-direction: column; gap: 20px; animation: in .5s var(--ease) both; }
@keyframes in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.foot { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none; width: 100%; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--lilac); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(150, 110, 190, 0.45);
  font: 600 16px/1 var(--body); letter-spacing: .02em; padding: 18px 24px; min-height: 52px;
  transition: transform .2s var(--ease), opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.off { opacity: .32; cursor: default; transform: none; }
.link { background: none; border: 0; color: var(--violet); font: 500 15px/1.2 var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 10px 4px; align-self: center; }

/* ---------- Fields ---------- */
.fields { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .lbl { font: 500 12px/1.3 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.field .hint { font-size: 14px; color: var(--faint); }
input[type=text], input[type=email], input[type=url], textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  color: var(--ink); font: 400 17px/1.45 var(--body); padding: 14px 16px; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
select { width: 100%; appearance: none; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); font: 400 17px/1.45 var(--body); padding: 14px 44px 14px 16px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2311120d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center; }
select:focus { outline: none; border-color: var(--peach); box-shadow: 0 0 0 4px rgba(242, 165, 121, 0.28); }
input::placeholder, textarea::placeholder { color: #8f8d85; }
input[type=text]:focus, input[type=email]:focus, input[type=url]:focus, textarea:focus {
  outline: none; border-color: var(--peach); box-shadow: 0 0 0 4px rgba(242, 165, 121, 0.28);
}
.addrow { display: flex; gap: 10px; }
.addrow input { flex: 1; min-width: 0; }
.addrow select.cur { flex: none; width: 108px; padding-right: 36px; background-position: right 14px center; }
.addbtn { flex: none; appearance: none; border: 0; cursor: pointer; border-radius: 12px; padding: 0 22px; min-height: 52px; background: var(--peach); color: var(--ink); font: 600 15px/1 var(--body); transition: transform .2s var(--ease); }
.addbtn:hover { transform: translateY(-1px); }
.err { font-size: 14px; color: var(--danger); }

/* ---------- Cards, choices ---------- */
.card { background: var(--card); border: 1px solid var(--line); box-shadow: var(--edge); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.choices { display: flex; flex-direction: column; gap: 12px; }
.choice {
  appearance: none; text-align: left; border: 0; cursor: pointer; border-radius: 20px; padding: 20px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--edge); color: var(--ink);
  font: inherit; display: flex; flex-direction: column; gap: 8px; min-height: 64px;
  transition: box-shadow .25s var(--ease), background .25s;
}
.choice:hover { border-color: var(--ink); box-shadow: var(--edge); }
.choice.picked { background: var(--peach-soft); border-color: var(--peach); box-shadow: var(--edge), 0 0 0 1px var(--peach); }
.choice .tag { font: 500 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--peach-text); }
.choice .big { font-family: var(--head); font-size: 23px; line-height: 1.22; }
.choice .txt { font-size: 16px; }
.choice .sub { font-size: 15px; color: var(--faint); }
.or { text-align: center; font-family: var(--head); font-style: italic; font-size: 20px; color: var(--faint); margin: -4px 0; }
.dots { display: flex; gap: 8px; justify-content: center; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(17, 18, 13, .14); }
.dots i.on { background: var(--lilac-deep); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 12px 18px; min-height: 44px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink);
  font: 500 15px/1 var(--body); transition: background .2s, box-shadow .2s;
}
.chip.on { background: var(--peach-soft); box-shadow: inset 0 0 0 2px var(--peach); }
.chip .free-tag { margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--lilac); color: var(--ink); font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.chip.banned { background: var(--peach); color: var(--ink); text-decoration: line-through; box-shadow: none; }

.tog { appearance: none; width: 100%; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--edge); border-radius: 14px; padding: 16px 18px; min-height: 64px; color: var(--ink); font: inherit; }
.tog small { display: block; color: var(--faint); font-size: 14px; }
.tog .sw { flex: none; width: 48px; height: 28px; border-radius: 999px; background: rgba(17, 18, 13, .14); position: relative; transition: background .25s; }
.tog .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .25s var(--ease); }
.tog[aria-checked="true"] .sw { background: var(--peach); }
.tog[aria-checked="true"] .sw::after { left: 23px; }

.incl { display: flex; flex-direction: column; gap: 10px; }
.inc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--edge); }
.inc.on { border-color: var(--peach); box-shadow: var(--edge), 0 0 0 1px var(--peach); }
.step { display: flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.step button { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: var(--peach-soft); color: var(--ink); font: 500 20px/1 var(--body); }
.step span { min-width: 20px; text-align: center; font-weight: 600; }

/* ---------- Offer list ---------- */
.offers { display: flex; flex-direction: column; gap: 10px; }
.offer { appearance: none; border: 0; cursor: pointer; text-align: left; display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; min-height: 72px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--edge); color: var(--ink); font: inherit; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.offer:hover { transform: translateY(-1px); border-color: var(--ink); box-shadow: var(--edge); }
.offer .num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: italic 400 19px/1 var(--head); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.offer.done .num { background: var(--lilac); font: 600 16px/1 var(--body); }
.offer.add { background: var(--peach-soft); border: 1px dashed var(--peach); box-shadow: none; }
.offer.add .num { background: var(--peach-soft); box-shadow: inset 0 0 0 1.5px var(--peach); color: var(--peach-text); font: 500 22px/1 var(--body); }
.offer .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.offer .tx b { font: 400 21px/1.2 var(--head); }
.offer .tx small { font-size: 14px; color: var(--faint); }

/* Migration item with its follow-up questions */
.mig { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.mig .field > label, .mig .lbl { letter-spacing: .12em; }

/* ---------- Voice ---------- */
.voice { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 0; }
.rec-btn { width: 104px; height: 104px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink);
  background: var(--peach); box-shadow: 0 14px 28px -12px rgba(218, 149, 109, 0.65); transition: transform .2s var(--ease); }
.rec-btn:hover { transform: scale(1.03); }
.rec-btn svg { width: 34px; height: 34px; }
.rec-btn.on { background: var(--danger); color: #fff; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 50, 31, .4); } 50% { box-shadow: 0 0 0 18px rgba(180, 50, 31, 0); } }
.wave { display: flex; align-items: center; gap: 3px; height: 38px; }
.wave i { width: 3px; border-radius: 2px; background: var(--violet); height: 5px; transition: height .09s; opacity: .8; }
.timer { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--faint); }
.clip { width: 100%; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--card); border-color: var(--peach); box-shadow: var(--edge), 0 0 0 1px var(--peach); }
.clip .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.clip b { font-weight: 600; }
.clip audio { width: 100%; height: 40px; }

.nudge { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: rgba(216, 194, 236, .35); }
.pair { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pair div { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.pair b { flex: none; width: 18px; }
.pair .bad { color: var(--faint); } .pair .bad span { text-decoration: line-through; text-decoration-color: var(--danger); }
.pair .good b { color: var(--good); }

/* ---------- Uploads ---------- */
.drop { border: 1.5px dashed rgba(17, 18, 13, .3); border-radius: 16px; padding: 26px 18px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; cursor: pointer; background: #fff; transition: border-color .2s, background .2s; }
.drop:hover { border-color: var(--peach); background: var(--peach-soft); }
.drop strong { font-weight: 600; }
.drop.has { border-style: solid; border-color: var(--peach); background: var(--peach-soft); }
.drop.drag { border-style: solid; border-color: var(--peach); background: var(--peach-soft); box-shadow: 0 0 0 4px rgba(242, 165, 121, .25); }
.files { display: flex; flex-direction: column; gap: 8px; }
.file { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; padding: 10px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--edge); }
.file span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .x { background: none; border: 0; color: var(--violet); cursor: pointer; font: 500 14px/1 var(--body); padding: 8px; flex: none; }
.file .sz { color: var(--faint); flex: none; font-size: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.thumb { position: relative; }
.thumb .tx { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(250, 247, 242, .94); color: var(--ink); font: 400 22px/1 var(--body); box-shadow: 0 2px 8px rgba(17, 18, 13, .25); }
.thumb .tx:hover { background: var(--peach); }
.checker { border-radius: 16px; padding: 20px; display: grid; place-items: center; min-height: 120px; background: repeating-conic-gradient(#eee6dc 0 25%, #fff 0 50%) 0 0/18px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.checker img { max-height: 110px; max-width: 100%; }
.verdict { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.verdict b { flex: none; width: 20px; }
.verdict.ok b { color: var(--good); } .verdict.no b { color: var(--danger); }
.msg { border-radius: 14px; padding: 16px; font-size: 15px; display: flex; flex-direction: column; gap: 12px; background: rgba(216, 194, 236, .35); }
.count { font-size: 15px; font-weight: 600; }

/* ---------- Quick-fire ---------- */
.qf { background: var(--lilac); color: var(--ink); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 22px; min-height: 230px; justify-content: space-between; box-shadow: 0 20px 40px -22px rgba(106, 76, 147, .55); }
.qf .n { font: 500 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; opacity: .65; }
.qf .q { font-family: var(--head); font-size: 28px; line-height: 1.15; text-wrap: balance; }
.qf .opts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.qf-b { appearance: none; border: 0; border-radius: 999px; padding: 14px 6px; min-height: 48px; font: 600 15px/1 var(--body); cursor: pointer; background: var(--bg); color: var(--ink); }
.qf-b.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(17, 18, 13, .35); }
.answers { display: flex; flex-direction: column; font-size: 15px; }
.answers div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-block: 10px; }
.answers span:last-child { font-weight: 600; flex: none; }

/* ---------- The Haus ---------- */
/* Two layers on one stage: the facade tips back on its ground line while the plan settles in from above. */
.haus { width: min(340px, 100%); margin: 4px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.haus .stage { position: relative; width: 100%; aspect-ratio: 300 / 262; perspective: 900px; perspective-origin: 50% -40%; }
.haus .layer { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 1.6s var(--ease), opacity 1.1s var(--ease), filter 1.3s var(--ease); }
.haus .layer svg { width: 100%; height: auto; overflow: visible; }
.haus .facade { transform-origin: 50% 89%; }
.haus .plan { opacity: 0; transform: scale(.94) translateY(8px); filter: blur(4px); pointer-events: none; }
/* Gentle fold: the front fades back while the plan settles into the same spot */
.haus[data-view="plan"] .facade { transform: scale(.96) translateY(-6px); opacity: 0; filter: blur(3px); transition: transform .7s var(--ease), opacity .55s ease, filter .6s ease; }
.haus[data-view="plan"] .plan { opacity: 1; transform: none; filter: none; transition: transform .8s var(--ease) .3s, opacity .6s ease .3s, filter .7s ease .3s; }
.haus[data-view="facade"] .facade { transition: transform .8s var(--ease) .35s, opacity .6s ease .35s, filter .7s ease .35s; }
.haus[data-view="facade"] .plan { transition-duration: .55s; }
.haus .stage { z-index: 2; }
.haus .door-f { fill: var(--peach-soft); stroke: var(--ink); stroke-width: 1.2; transition: fill .4s ease; }
.haus .knob { fill: var(--ink); }
.haus .door-l { stroke: var(--ink); stroke-width: 1; }
.haus .step { stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.haus.flying .door-f { fill: var(--lilac); filter: drop-shadow(0 0 6px rgba(196, 168, 226, .95)); }
.haus figcaption { font: 500 12px/1.3 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--violet); text-align: center; }
.haus.sm { width: min(230px, 100%); }
.haus.sm figcaption { display: none; }

/* Facade */
.haus .ground { stroke: var(--peach); stroke-width: 2.5; stroke-linecap: round; }
.haus .roof { fill: var(--lilac); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.haus .chim, .haus .ocul, .haus .body { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; }
.haus .w { fill: #fff; stroke: var(--ink); stroke-width: 1.2; transition: fill .8s var(--ease) var(--d, 0s); }
.haus .w.lit { fill: var(--lilac); filter: drop-shadow(0 0 9px rgba(196, 168, 226, .95)); }
.haus .w.next { fill: var(--peach-soft); stroke: var(--peach); stroke-width: 2; stroke-dasharray: 4 3; }
.haus .wn { font: italic 400 15px var(--head); text-anchor: middle; fill: var(--faint); }
.haus .wn.lit { fill: var(--ink); }
.haus .wn.next { fill: var(--peach-text); }

/* Floor plan: lilac blueprint lines on cream, black only for the words */
.haus .walls { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: square; }
.haus .door { stroke: var(--bg); stroke-width: 4; }
.haus .swing { fill: none; stroke: var(--lilac-deep); stroke-width: 1; stroke-dasharray: 2 3; }
.haus .front { font: 500 6.5px var(--body); letter-spacing: .2em; text-transform: uppercase; text-anchor: middle; fill: var(--faint); }
.haus .fl { fill: #fff; transition: fill .9s var(--ease); }
.haus .furn { fill: none; stroke: var(--lilac-deep); stroke-width: 1; opacity: .8; }
.haus .trace { fill: none; stroke: none; }
.haus .rn { font: italic 400 15px var(--head); text-anchor: middle; fill: var(--violet); }
.haus .rt { font: 600 9.5px var(--body); text-anchor: middle; fill: var(--ink); }
.haus .rs { font: 500 6.5px var(--body); letter-spacing: .18em; text-transform: uppercase; text-anchor: middle; fill: var(--faint); }
.haus .rm.lit .fl { fill: rgba(216, 194, 236, .78); }
.haus .rm.lit .furn { stroke: var(--violet); opacity: .55; }
.haus .rm.next .fl { fill: rgba(251, 227, 211, .85); animation: breathe 2.4s ease-in-out infinite; }
.haus .rm.next .trace { stroke: var(--peach); stroke-width: 1.5; stroke-dasharray: 5 4; }
.haus .rm.next .rn { fill: var(--peach-text); }
/* The room she just finished: its outline draws itself, then it fills with lilac */
.haus .rm.just .fl { animation: fillIn 1.2s var(--ease) 1.5s both; }
.haus .rm.just .trace { stroke: var(--violet); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease) .4s forwards, fadeOut .6s ease 2.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fillIn { from { fill: #fff; } }
@keyframes breathe { 50% { fill: rgba(242, 165, 121, .32); } }
@media (prefers-reduced-motion: reduce) {
  .haus .layer { transition: opacity .25s linear !important; transform: none !important; filter: none !important; }
  .haus .rm.next .fl, .haus .rm.just .fl, .haus .rm.just .trace { animation: none; }
}

.checklist { display: flex; flex-direction: column; gap: 8px; }
.ci { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.pill { font: 600 12px/1 var(--body); border-radius: 999px; padding: 6px 12px; flex: none; }
.pill.ok { background: rgba(63, 107, 58, .14); color: var(--good); }
.pill.no { background: var(--peach-soft); color: var(--peach-text); }
.save { font-size: 14px; color: var(--faint); text-align: center; }
.save.bad { color: var(--danger); }

@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
  .rec-btn.on { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Laptop and up (14-inch screens and wider) ----------
   Phones and tablets keep the single column above. Here the house moves into a
   sticky panel on the left and the questions get a roomier column on the right. */
.desk { display: block; }
.side { display: none; }
@media (min-width: 1100px) {
  body { font-size: 18px; }
  .app { max-width: 1260px; padding: 36px 56px 72px; gap: 18px; }
  .logo { height: 44px; }
  .desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(56px, 7vw, 104px); align-items: start; margin-top: 8px; }
  .side {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: sticky; top: 40px; min-height: min(660px, calc(100dvh - 190px)); padding: 48px 40px;
    border-radius: 28px; background: #fff;
    border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(17, 18, 13, 0.18);
  }
  .side .haus { width: min(460px, 100%); margin: 0; gap: 18px; }
  .side .haus figcaption { display: block; font-size: 13px; }
  #view { padding-top: 8px; }
  .screen { gap: 24px; }
  h1 { font-size: 62px; }
  h2 { font-size: 44px; }
  p { max-width: 52ch; }
  .choice .big { font-size: 25px; }
  .qf .q { font-size: 32px; }
}
