/* Jumbo’s Hausservice — one motif: the gable house from the logo.
   Direction: taste-skill "one-motif" (seed 619245160), palette proportions "Sheet and biro",
   accent taken from the logo blue. Type: Libre Franklin 700 / Source Serif 4, self-hosted. */

@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --surface: #f1f2f3;
  --ink: #16191f;
  --muted: #55595f;
  --accent: #185ca5;        /* the logo blue */
  --accent-strong: #124985;
  --accent-ink: #ffffff;
  --accent-soft: #2a6db6;   /* one step lighter on the coupon */
  --wa: #0f7a3e;            /* WhatsApp actions only */
  --wa-strong: #0b6b36;
  --field-1: #16191f; --field-1-ink: #ffffff;

  --font-display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* five sizes */
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.15rem + 0.9vw, 2rem);
  --step-head: clamp(2.125rem, 1.4rem + 2.8vw, 3.75rem);
  --step-display: clamp(2.75rem, 1rem + 6.4vw, 6.25rem);

  --margin: clamp(1rem, 4vw, 4rem);
  --gutter: clamp(1rem, 2.4vw, 2.5rem);
  --section: clamp(6rem, 12vw, 13rem);
  --radius: 0px;
  --dock-h: 0px;

  /* the motif */
  --house: polygon(50% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
  --house-slot: polygon(50% 0%, 100% 34%, 100% 100%, 0% 100%, 0% 34%);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms; --t-hover: 180ms; --t-ui: 240ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; scroll-padding-bottom: calc(var(--dock-h) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: var(--dock-h); }
h1, h2, h3, p, figure, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
input::placeholder { color: #5d6168; opacity: 1; }
.sprite { position: absolute; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 50; background: var(--ink); color: #fff; padding: 0.75rem 1rem; text-decoration: none; font-family: var(--font-display); }
.skip:focus { top: 0.75rem; }
.nowrap { white-space: nowrap; }
.small { font-size: var(--step-small); line-height: 1.45; }
p { max-width: 62ch; text-wrap: pretty; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; hyphens: manual; }
.head { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.03em; }

/* ---------- layout ---------- */
.wrap { padding-inline: max(var(--margin), env(safe-area-inset-left)) max(var(--margin), env(safe-area-inset-right)); }
.section { padding-block: calc(var(--section) / 2); }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 3.25rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); letter-spacing: -0.01em; line-height: 1.2; text-align: left; padding-block: 0.6rem; clip-path: polygon(0 0, calc(100% - 0.9rem) 0, 100% 50%, calc(100% - 0.9rem) 100%, 0 100%); padding-right: 2.1rem; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.button:active { transform: scale(0.97); }
.button--wa { background: var(--wa); }
.button--small { min-height: 2.75rem; font-size: var(--step-small); padding-left: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button--wa:hover { background: var(--wa-strong); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- bar ---------- */
.bar { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; background: var(--bg); padding-block: 0.5rem; }
.bar__brand img { height: 3rem; width: auto; }
.bar__nav { display: none; gap: 2rem; font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); }
.bar__nav a { text-decoration-color: transparent; padding-block: 0.6rem; }
.bar__tel { color: var(--accent); }
.bar__short { font-family: var(--font-display); font-weight: 700; padding: 0.75rem 0; }
@media (min-width: 48em) { .bar { position: sticky; top: 0; } }
@media (min-width: 60em) {
  .bar { min-height: 5.5rem; }
  .bar__brand img { height: 4rem; }
  .bar__nav { display: flex; }
  .bar__short { display: none; }
}

/* ---------- 1. hero ---------- */
.hero__rating { margin-top: 1rem; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; color: var(--ink); text-decoration: none; padding-block: 0.35rem; }
.hero__rating strong { font-family: var(--font-display); }
.hero__stars { display: inline-flex; gap: 0.1rem; color: #b8860b; }
.hero__stars .icon { width: 1.1em; height: 1.1em; }
@media (hover: hover) and (pointer: fine) { .hero__rating:hover > span:last-child { text-decoration: underline; } }
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 4.5rem - var(--dock-h)); display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.hero__text { position: relative; z-index: 2; padding-top: clamp(1.5rem, 6svh, 3rem); }
.hero__title { font-size: 11.5vw; line-height: 0.95; letter-spacing: -0.035em; max-width: 9ch; }
.hero__lead { margin-top: 1.25rem; font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }
.hero__sub { margin-top: 0.75rem; max-width: 34ch; }
.hero__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.hero__call { font-family: var(--font-display); font-weight: 700; color: var(--accent); padding-block: 0.75rem; text-decoration-color: currentColor; }
.hero__hours { margin-top: 0.25rem; color: var(--muted); }
/* the giant house */
.hero__house { --house: polygon(50% 0%, 100% 20%, 100% 100%, 0% 100%, 0% 20%); position: relative; z-index: 1; margin-top: 1.75rem; width: 112vw; margin-left: -6vw; aspect-ratio: 1 / 0.74; clip-path: var(--house); background: var(--accent); }
.hero__house img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 80%; object-fit: cover; object-position: 72% 55%; }
@media (min-width: 48em) and (max-width: 59.99em) {
  .hero__title { font-size: 9vw; }
  .hero__text { padding-top: 3rem; }
  .hero__house { width: 100vw; margin-left: calc(var(--margin) * -1 + 0px); margin-left: 0; aspect-ratio: 1 / 0.62; margin-top: 3rem; }
}
@media (min-width: 60em) {
  .hero { min-height: calc(100svh - 5.5rem); align-content: center; }
  .hero__text { padding-block: 4rem 6rem; max-width: 52%; }
  .hero__title { font-size: var(--step-display); }
  .hero__lead { margin-top: 2rem; }
  .hero__actions { margin-top: 2.25rem; }
  .hero__house { --house: polygon(50% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%); position: absolute; margin: 0; left: 53vw; top: 7%; width: 50vw; aspect-ratio: auto; height: 116%; }
  .hero__house img { height: 72%; object-position: 78% 62%; }
}

/* ---------- 2. rooms ---------- */
.rooms { display: grid; gap: 3rem; }
.rooms__intro { margin-top: 1.25rem; }
.rooms__list { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.room { font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); min-height: 2.75rem; padding: 0 1rem; background: var(--surface); color: var(--ink); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); touch-action: manipulation; }
.room:active { transform: scale(0.97); }
.room[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .room[aria-pressed="false"]:hover { background: #e3e5e8; } }
.compare { width: min(100%, 34rem); justify-self: center; }
.compare__frame { position: relative; aspect-ratio: 3 / 4; clip-path: var(--house); background: var(--surface); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.compare__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 200ms var(--ease-out); }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__frame.is-swapping img { opacity: 0; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; }
.compare__handle svg { position: absolute; top: 58%; left: 50%; width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; color: #fff; overflow: visible; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.compare__frame:has(.compare__range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; clip-path: none; }
.compare__ends { display: flex; justify-content: space-between; margin-top: 0.75rem; font-family: var(--font-display); font-weight: 700; color: var(--muted); }
.compare__caption { margin-top: 0.5rem; text-align: center; font-size: var(--step-small); color: var(--muted); }
@media (min-width: 48em) {
  .rooms { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
  .rooms__text { grid-column: 1 / 7; }
  .compare { grid-column: 8 / 13; width: 100%; max-width: 32rem; justify-self: end; }
  .rooms__list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .room { font-size: var(--step-lead); min-height: 3.25rem; background: none; padding: 0 0.5rem 0 0; color: var(--muted); letter-spacing: -0.02em; }
  .room[aria-pressed="true"] { background: none; color: var(--accent); }
  .room[aria-pressed="true"]::before { content: ""; display: inline-block; width: 0.7em; height: 0.75em; margin-right: 0.45em; background: currentColor; clip-path: var(--house-slot); }
}
@media (min-width: 48em) and (hover: hover) and (pointer: fine) { .room[aria-pressed="false"]:hover { background: none; color: var(--ink); } }

/* ---------- 3. steps ---------- */
.steps { background: var(--surface); }
.steps__head { max-width: 36rem; }
.steps__head p { margin-top: 1.25rem; }
.steps__body { margin-top: 3rem; display: grid; grid-template-columns: 40% 1fr; gap: 1.25rem; align-items: stretch; }
.diagram { width: 100%; height: auto; }
.diagram--wide { display: none; }
.d-pale { fill: #c3c7cd; }
.d-mid { fill: #7d838b; }
.d-acc { fill: var(--accent); }
.steps__list { display: grid; grid-template-rows: 1fr 1fr 1fr; gap: 1rem; }
.steps__list li { align-self: center; }
.steps__name { font-size: var(--step-lead); letter-spacing: -0.015em; }
.steps__list p { margin-top: 0.35rem; }
@media (min-width: 48em) {
  .steps__body { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 4rem; }
  .diagram--wide { display: block; }
  .diagram--tall { display: none; }
  .steps__list { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); column-gap: var(--gutter); }
  .steps__list li { align-self: start; }
  .steps__list p { max-width: 30ch; }
}

/* ---------- 4. services ---------- */
.statement { margin-top: 2rem; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; max-width: 44ch; }
.slot { display: inline-block; width: 1.5em; height: 1.3em; vertical-align: -0.22em; clip-path: var(--house-slot); background: var(--surface); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.services__cols { margin-top: 3.5rem; display: grid; gap: 3rem; }
.services__pic { aspect-ratio: 4 / 3; clip-path: var(--house); background: var(--surface); margin-bottom: 1.75rem; overflow: hidden; }
.services__pic img { width: 100%; height: 100%; object-fit: cover; }
.services__name { font-size: var(--step-lead); letter-spacing: -0.02em; }
.services__cols p { margin-top: 0.75rem; }
.ticks { margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.8em; height: 0.85em; background: var(--accent); clip-path: var(--house-slot); }
.services__cta { margin-top: 3.5rem; }
@media (min-width: 48em) {
  .statement { margin-top: 2.5rem; }
  .services__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 4.5rem; }
  .services__cta { margin-top: 4.5rem; }
}

/* ---------- 5. reviews ---------- */
.reviews { display: grid; gap: 2rem; }
.reviews__tile { background: var(--accent); color: var(--accent-ink); padding: clamp(1.75rem, 4vw, 3.5rem); }
.reviews__count { margin-top: 0.75rem; font-size: var(--step-lead); line-height: 1.3; }
.reviews__widget { min-width: 0; overflow-x: clip; }
@media (min-width: 60em) {
  .reviews { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .reviews__tile { grid-column: 1 / 5; position: sticky; top: 7rem; }
  .reviews__widget { grid-column: 5 / 13; }
}

/* ---------- 6. area ---------- */
.area__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.area__count { font-family: var(--font-display); font-weight: 700; color: var(--muted); }
.area__list { margin-top: 2.5rem; display: grid; gap: 1.75rem; }
.town { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; align-items: center; }
.town img { width: 4.5rem; height: 4.75rem; object-fit: cover; clip-path: var(--house-slot); background: var(--surface); }
.town h3 { font-size: var(--step-body); letter-spacing: -0.01em; }
.town p { margin-top: 0.15rem; color: var(--muted); }
.area__note { margin-top: 3rem; font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
@media (min-width: 48em) {
  .area__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; row-gap: 2.25rem; margin-top: 3.5rem; }
  .town { grid-template-columns: 6rem 1fr; }
  .town img { width: 6rem; height: 6.25rem; }
}

/* ---------- 7. contact: the coupon ---------- */
.coupon { --notch: 1rem; position: relative; background: var(--accent); color: var(--accent-ink); display: grid;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore: mask that cuts the coupon notches, not a fill */
          mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore: mask that cuts the coupon notches, not a fill */
  --cut: 15.5rem; }
.coupon__left { padding: 2rem 1.5rem 2.25rem; border-bottom: 5px dotted var(--bg); }
.coupon__title { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.03em; }
.coupon__left p { margin-top: 1rem; }
.coupon__alt { margin-top: 1.5rem !important; }
.coupon__alt a { color: #fff; text-underline-offset: 0.2em; }
.coupon__right { padding: 2rem 1.5rem 2rem; display: grid; gap: 0.5rem; align-content: start; }
.coupon__what { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.coupon__what legend, .field-label { font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); margin-bottom: 0.35rem; }
.field-label { margin-top: 0.75rem; }
.opt { font-family: var(--font-text); font-weight: 400; opacity: 0.85; }
.chip { position: relative; display: flex; align-items: center; min-height: 3.25rem; padding: 0.6rem 1rem 0.6rem 3rem; background: var(--accent-soft); cursor: pointer; transition: background-color var(--t-hover) ease; }
.chip input { position: absolute; left: 1rem; top: 50%; width: 1.25rem; height: 1.25rem; margin: -0.625rem 0 0; accent-color: #fff; }
.chip:has(input:checked) { background: #fff; color: var(--accent); font-weight: 600; }
.chip:has(input:checked) input { accent-color: var(--accent); }
.chip:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.field { width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; background: #fff; color: var(--ink); border: 0; border-radius: var(--radius); font-size: max(1rem, var(--step-body)); }
.field:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.coupon__submit { margin-top: 1.25rem; width: 100%; min-height: 3.5rem; clip-path: none; padding-right: 1.5rem; }
.coupon__status:empty { display: none; }
@media (min-width: 60em) {
  .coupon { grid-template-columns: 46% 54%; --cut: 50%;
    -webkit-mask: radial-gradient(circle var(--notch) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask that cuts the coupon notches, not a fill */
            mask: radial-gradient(circle var(--notch) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask that cuts the coupon notches, not a fill */
    max-width: 78rem; margin-inline: auto; }
  .coupon__left { padding: 3.5rem 3rem; border-bottom: 0; border-right: 5px dotted var(--bg); display: flex; flex-direction: column; }
  .coupon__alt { margin-top: auto !important; padding-top: 2rem; }
  .coupon__right { padding: 3.5rem 3rem; }
  .coupon__what { grid-template-columns: 1fr 1fr; }
}

/* ---------- footer ---------- */
.foot { background: var(--field-1); color: var(--field-1-ink); padding-block: 4rem 6.5rem; }
.foot__mark { width: 100%; height: auto; max-height: 34svh; }
.fm-roof, .fm-roof2 { fill: var(--accent); }
.fm-wall { fill: #2c3038; }
.fm-door { fill: var(--field-1); }
.foot__name { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.foot__cols { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gutter); }
.foot__h { font-size: var(--step-small); margin-bottom: 0.6rem; color: #b9bec6; }
.foot__cols li + li { margin-top: 0.35rem; }
.foot__cols a { display: inline-block; padding-block: 0.3rem; }
.foot__credits { margin-top: 3.5rem; color: #b9bec6; max-width: 70ch; }
.foot__credits a { color: inherit; }
.foot__end { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.foot .button--small { background: #fff; color: var(--ink); }
@media (min-width: 48em) { .foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (hover: hover) and (pointer: fine) { .foot .button--small:hover { background: #dfe2e6; } }

/* ---------- floating WhatsApp button: every width, always on screen ---------- */
.fab { /* taste-skill-ignore: white ring that separates the always-floating button from photos, not a resting shadow */ position: fixed; z-index: 30; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, calc(env(safe-area-inset-bottom) + 0.5rem)); display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 0 0 3px #fff; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.fab .icon { width: 2rem; height: 2rem; }
.fab:active { transform: scale(0.94); }
.fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .fab:hover { background: var(--wa-strong); } }
@media (min-width: 60em) { .fab { right: 1.75rem; bottom: 1.75rem; } }

/* ---------- motion (content stays visible without script) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: polygon(50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter[data-reveal].is-in { clip-path: var(--house); }
  .js .shutter[data-reveal] img { transform: scale(1.12); transition: transform 1600ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in img { transform: none; }
  .js .hero__title, .js .hero__lead, .js .hero__actions, .js .hero__hours { animation: rise 800ms var(--ease-out) both; }
  .js .hero__lead { animation-delay: 90ms; }
  .js .hero__actions { animation-delay: 180ms; }
  .js .hero__hours { animation-delay: 260ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- legal pages ---------- */
.legal { padding-block: 3rem 6rem; max-width: 52rem; }
.legal h1 { margin-bottom: 2.5rem; }
.legal h2 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal h3 { font-size: var(--step-body); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal p, .legal li, .legal address, .legal dd, .legal dt { max-width: 68ch; }
.legal p + p { margin-top: 0.9em; }
.legal address { font-style: normal; background: var(--surface); padding: 1.25rem 1.5rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; }
.legal dl > div { display: contents; }
.legal dt { font-family: var(--font-display); font-weight: 700; }
.legal dd { margin: 0; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal a { color: var(--accent); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.legal__back { font-family: var(--font-display); font-weight: 700; padding: 0.75rem 0; }
.legal-page .foot { padding-bottom: 2rem; }
@media (max-width: 30em) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 0.5rem; } }

/* ======================================================================
   Round 2 (2026-11-05): whole van visible, plain step pictograms,
   room picker for the thumb. Later rules override the ones above.
   ====================================================================== */

/* hero: the photo keeps its own 4:3 frame; the roof sits on top instead of cutting into the picture.
   box ratio 1 : 0.9146 with the picture at 82 % height gives the picture exactly 4 : 3 */
.hero__house { --house: polygon(50% 0%, 100% 18%, 100% 100%, 0% 100%, 0% 18%); width: 100%; margin-left: 0; aspect-ratio: 1 / 0.9146; }
.hero__house img { height: 82%; object-position: 50% 50%; }
/* phones: a lower roof so more of the van sits in the first screen (picture 4:3 at 88 % height) */
@media (max-width: 47.99em) {
  .hero__house { --house: polygon(50% 0%, 100% 12%, 100% 100%, 0% 100%, 0% 12%); aspect-ratio: 1 / 0.8523; margin-top: 1.25rem; }
  .hero__house img { height: 88%; }
}
@media (min-width: 48em) and (max-width: 59.99em) {
  .hero__house { width: min(100% - 2 * var(--margin), 40rem); margin-inline: var(--margin); aspect-ratio: 1 / 0.9146; }
}
@media (min-width: 60em) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .hero__text { max-width: none; grid-column: 1; }
  .hero__house { position: relative; grid-column: 2; left: auto; top: auto; height: auto; width: auto; margin: 0 var(--margin) 0 0; aspect-ratio: 1 / 0.9146; }
  .hero__house img { height: 82%; object-position: 50% 50%; }
}

/* steps: one plain pictogram per step instead of the abstract diagram */
.steps__body { display: block; }
.steps__list { grid-template-rows: none; gap: 2.25rem; }
.steps__list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1.125rem; align-self: start; }
.steps__list li > :not(.steps__icon) { grid-column: 2; }
.steps__icon { grid-row: 1 / span 2; width: 3.5rem; height: 3.5rem; display: grid; place-items: end center; padding-bottom: 0.55rem; background: var(--accent); color: var(--accent-ink); clip-path: polygon(50% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%); }
.steps__icon svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 48em) {
  .steps__list li { grid-template-columns: minmax(0, 1fr); }
  .steps__list li > :not(.steps__icon) { grid-column: 1; }
  .steps__icon { grid-row: auto; margin-bottom: 1.25rem; width: 4rem; height: 4rem; }
  .steps__icon svg { width: 2rem; height: 2rem; }
}

/* rooms on a phone: all six rooms in two short rows, the picture right under them */
@media (max-width: 47.99em) {
  .rooms { gap: 1.75rem; }
  .rooms__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.375rem; margin-top: 1.5rem; }
  .rooms__list li { min-width: 0; }
  .room { width: 100%; padding: 0 0.25rem; font-size: 0.9375rem; letter-spacing: -0.01em; }
  .compare { width: 100%; }
}
/* the handle reads as a handle on light and dark floors alike */
.compare__handle svg { width: 3.25rem; height: 3.25rem; max-width: none; margin: -1.625rem 0 0 -1.625rem; }
