/* SAUNETA — smoke-test landing page
   No external requests: system fonts, CSS-only texture, no framework. */

:root {
  --ink:    #16130f;
  --ink-80: #2a251e;
  --bone:   #f5f1ea;
  --sand:   #e6dccb;
  --clay:   #b56a3c;
  --ice:    #8fb2c4;
  --ice-dk: #47707f;
  --muted:  #6d6459;
  --rule:   rgba(22,19,15,.14);
  --rule-l: rgba(245,241,234,.18);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --wrap: 68rem;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

h1, h2, h3 {
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 9vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); letter-spacing: -.02em; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p  { margin: 0; text-wrap: pretty; }

/* ---------- announcement bar ---------- */
.bar {
  background: var(--ink);
  color: var(--sand);
  font-size: .8125rem;
  letter-spacing: .01em;
  text-align: center;
  padding: .65rem var(--pad);
}
.bar strong { color: #fff; font-weight: 600; }

/* ---------- header ---------- */
.head {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--pad);
  color: var(--bone);
}
.mark {
  font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none;
}
.lang { display: flex; gap: .55rem; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.lang a { text-decoration: none; opacity: .55; }
.lang a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang a:hover { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex; align-items: flex-end;
  color: var(--bone);
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-color: #16130f;
  background-image: url("img/hero.webp");
  background-size: cover;
  background-position: 52% center;
}
/* Readability scrim. The headline sits lower-left, so weight the darkening there —
   this is what guarantees contrast whatever the image behind it is doing. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14,12,10,.92) 0%, rgba(14,12,10,.55) 38%, rgba(14,12,10,.15) 70%),
    linear-gradient(to right, rgba(14,12,10,.6) 0%, transparent 55%);
}
@media (min-width: 48rem) {
  .hero-bg { background-image: url("img/hero-wide.webp"); background-position: center; }
}
.hero .wrap { position: relative; z-index: 2; padding-block: 6rem 4rem; width: 100%; }
.hero p.sub {
  margin-top: 1.4rem; max-width: 34ch;
  font-size: clamp(1.0625rem, 2.4vw, 1.3rem);
  color: rgba(245,241,234,.82);
}
.hero .cta-group { margin-top: 2.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: baseline; justify-content: center;
  flex-wrap: wrap; gap: .1rem .6rem;
  background: var(--clay); color: #fff;
  font: inherit; font-weight: 620;
  font-size: clamp(.9375rem, 3.8vw, 1.0625rem);
  padding: 1.05rem 1.25rem;
  border: 0; border-radius: 2px;
  text-decoration: none; cursor: pointer;
  text-align: center; line-height: 1.25;
  transition: background .18s ease, transform .18s ease;
}
/* Label and price are separate spans so the price can never be orphaned
   or split across lines — "20" on one line and "€" on the next looks broken. */
.btn-label { white-space: nowrap; }
.btn-price { white-space: nowrap; position: relative; padding-left: .75rem; }
.btn-price::before {
  content: ""; position: absolute; left: 0; top: .1em; bottom: .1em;
  width: 1px; background: rgba(255,255,255,.42);
}
@media (max-width: 22.5rem) {
  .btn { padding-inline: 1rem; letter-spacing: -.005em; }
}
.btn:hover { background: #a25c30; }
.btn:active { transform: translateY(1px); }
.btn-wide { width: 100%; max-width: 26rem; }
.micro { margin-top: .85rem; font-size: .875rem; color: rgba(245,241,234,.62); }
.micro-dk { color: var(--muted); }

/* ---------- sections ---------- */
section { padding-block: clamp(4rem, 11vw, 7.5rem); }
.eyebrow {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}

/* steps */
.steps { display: grid; gap: 0; margin-top: 3rem; }
.step { padding: 2rem 0; border-top: 1px solid var(--rule); }
.step-n {
  font-size: .8125rem; letter-spacing: .14em; color: var(--clay);
  font-weight: 640; margin-bottom: .85rem;
}
.step p { color: var(--muted); margin-top: .5rem; max-width: 38ch; }
@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .step { border-top: 2px solid var(--ink); }
}

/* room list */
.room { background: var(--sand); }
.room-grid { display: grid; gap: 0; margin-top: 2.5rem; }
.room-grid div {
  padding: 1.35rem 0; border-top: 1px solid rgba(22,19,15,.16);
  font-size: clamp(1.35rem, 4vw, 1.9rem); font-weight: 640; letter-spacing: -.02em;
}
@media (min-width: 48rem) { .room-grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

/* price */
.price { background: var(--bone); }
.price-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 52rem) { .price-grid { grid-template-columns: 1fr 1.35fr; gap: 2rem; align-items: stretch; } }
.card { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 3px; }
.card-quiet { border: 1px solid var(--rule); }
.card-loud { background: var(--ink); color: var(--bone); position: relative; }
.card-loud::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ice);
}
.card .label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card-loud .label { color: var(--ice); }
.card .figure { font-size: clamp(2.1rem, 6vw, 3.1rem); font-weight: 680; letter-spacing: -.03em; margin: .6rem 0 0; }
.card .figure .was {
  display: block; margin-top: .35rem;
  font-size: .875rem; font-weight: 500; letter-spacing: 0;
  color: rgba(245,241,234,.5); text-decoration: line-through;
}
.card .save {
  margin-top: 1.5rem; padding: .9rem 1rem;
  background: rgba(143,178,196,.12); border-left: 3px solid var(--ice);
  font-size: .9375rem; color: rgba(245,241,234,.92);
}
.card .save strong { color: #fff; }
.card ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.card li { padding: .55rem 0; border-top: 1px solid var(--rule-l); font-size: .9375rem; color: rgba(245,241,234,.78); }
.card-quiet li { border-top-color: var(--rule); color: var(--muted); }
.card-loud .btn { margin-top: 2rem; }

/* promises */
.promise { background: var(--ink); color: var(--bone); }
.promise h2 { color: var(--bone); }
.promise-list { margin-top: 2.75rem; }
.promise-list div {
  padding: 1.5rem 0; border-top: 1px solid var(--rule-l);
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem); max-width: 52ch;
  color: rgba(245,241,234,.9);
}
.promise-list div:first-child { border-top: 2px solid var(--ice); }

/* faq */
details {
  border-top: 1px solid var(--rule);
  padding: 1.35rem 0;
}
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary {
  cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 2.6vw, 1.3rem); font-weight: 620; letter-spacing: -.015em;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--clay); font-weight: 500; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: .9rem; color: var(--muted); max-width: 60ch; }
.faq-list { margin-top: 2.5rem; }

/* email fallback */
.notify { background: var(--sand); }
.notify h2 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); max-width: 22ch; }
.notify .embed { margin-top: 1.75rem; max-width: 30rem; }
.embed iframe { width: 100%; border: 0; }

/* footer */
footer { background: var(--ink); color: rgba(245,241,234,.6); font-size: .875rem; padding-block: 3.5rem; }
footer .mark { color: var(--bone); display: inline-block; margin-bottom: 1.25rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
footer .line { max-width: 34ch; }

/* sticky mobile cta */
.sticky {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  padding: .75rem var(--pad) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(245,241,234,.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.on { transform: translateY(0); }
.sticky .btn { width: 100%; padding-block: .95rem; }
@media (min-width: 48rem) { .sticky { display: none; } }
body { padding-bottom: 0; }

/* consent banner */
.consent {
  position: fixed; inset: auto .75rem .75rem .75rem; z-index: 40;
  max-width: 26rem; background: var(--ink); color: var(--bone);
  padding: .95rem 1.1rem; border-radius: 3px; font-size: .8125rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
}
.consent.on { opacity: 1; transform: none; }
/* never sit on top of the sticky CTA on mobile */
@media (max-width: 47.99rem) {
  .consent { bottom: 4.75rem; }
}
.consent[hidden] { display: none; }
.consent p { color: rgba(245,241,234,.8); }
.consent a { color: var(--ice); }
.consent-actions { display: flex; gap: .5rem; margin-top: .8rem; }
.consent button {
  font: inherit; font-size: .8125rem; font-weight: 600; padding: .5rem .9rem;
  border-radius: 2px; cursor: pointer; border: 1px solid var(--rule-l);
  background: transparent; color: var(--bone);
}
.consent button.accept { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* thank-you page */
.thanks { min-height: 100svh; display: flex; align-items: center; background: var(--bone); }
.thanks .wrap { padding-block: 5rem; width: 100%; }
.thanks h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); max-width: 18ch; }
.thanks .sub { margin-top: 1.25rem; color: var(--muted); max-width: 46ch; font-size: 1.125rem; }
.thanks .embed { margin-top: 3rem; max-width: 40rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- render caption ---------- */
.renders { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 48rem) { .renders { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.render { position: relative; margin: 0; }
.render img { width: 100%; height: auto; border-radius: 3px; }
.render figcaption {
  margin-top: .6rem; font-size: .75rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- lede + routine ---------- */
.lede {
  margin-top: 1.5rem; max-width: 46ch;
  font-size: clamp(1.125rem, 2.8vw, 1.4rem); line-height: 1.45;
  color: var(--muted); text-wrap: pretty;
}
.lede-dk { color: rgba(245,241,234,.72); max-width: 50ch; }
.room .lede { margin-bottom: -.5rem; }
.routine { background: var(--bone); border-top: 1px solid var(--rule); }
.routine h2 { max-width: 16ch; }
.routine .lede { color: var(--ink); opacity: .78; max-width: 52ch; }

/* ---------- pre-checkout modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex;
         align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
@media (min-width: 40rem) { .modal { align-items: center; } }
.modal-bg { position: absolute; inset: 0; background: rgba(14,12,10,.72);
            backdrop-filter: blur(4px); animation: fade .18s ease both; }
.modal-card {
  position: relative; width: 100%; max-width: 30rem;
  background: var(--bone); color: var(--ink);
  padding: 2rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom));
  border-radius: 4px 4px 0 0; max-height: 92svh; overflow-y: auto;
  animation: rise .22s cubic-bezier(.2,.7,.3,1) both;
}
@media (min-width: 40rem) { .modal-card { border-radius: 4px; padding: 2.5rem; } }
@keyframes fade { from { opacity: 0 } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) } }
.modal-card .label { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
                     color: var(--clay); margin: 0 0 .75rem; }
.modal-card h3 { font-size: clamp(1.5rem, 5vw, 1.9rem); letter-spacing: -.02em; }
.modal-lede { margin-top: .6rem; color: var(--muted); font-size: .9375rem; }
.modal-x { position: absolute; top: .5rem; right: .75rem; background: none; border: 0;
           font-size: 1.75rem; line-height: 1; color: var(--muted); cursor: pointer; padding: .25rem .5rem; }
.modal-x:hover { color: var(--ink); }
.form { margin-top: 1.75rem; }
.form label { display: block; font-size: .8125rem; font-weight: 600;
                    margin: 1.1rem 0 .4rem; letter-spacing: .01em; }
.form input[type=email], .form input[type=text], .form select {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem;
  border: 1px solid var(--rule); border-radius: 2px; background: #fff; color: var(--ink);
}
.form input[type=email]:focus, .form input[type=text]:focus, .form select:focus {
  outline: 2px solid var(--clay); outline-offset: 1px; border-color: transparent;
}
.form .check { display: flex; gap: .65rem; align-items: flex-start;
                     margin: 1.35rem 0 0; font-weight: 400; font-size: .8125rem;
                     color: var(--muted); line-height: 1.45; }
.form .check input { margin-top: .15rem; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--clay); }
.form .check a { color: var(--ink); }
.form .btn { margin-top: 1.5rem; }
.modal-err { margin-top: 1rem; color: #a3302a; font-size: .875rem; font-weight: 600; }
.modal-err[hidden] { display: none; }
.modal-fine { margin-top: .85rem; font-size: .75rem; color: var(--muted); text-align: center; }
body.modal-open { overflow: hidden; }

/* ---------- legal pages ---------- */
.legal-body { background: var(--bone); }
.legal-head { position: static; color: var(--ink); align-items: baseline;
              border-bottom: 1px solid var(--rule); }
.legal-head .back { font-size: .8125rem; text-decoration: none; color: var(--muted); }
.legal-head .back:hover { color: var(--ink); }
.legal { padding-block: clamp(3rem, 8vw, 5rem) clamp(4rem, 10vw, 7rem); }
.legal .wrap { max-width: 42rem; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal .updated { margin-top: .9rem; font-size: .8125rem; letter-spacing: .04em;
                  text-transform: uppercase; color: var(--muted); }
.legal .lede-legal {
  margin-top: 2.25rem; padding: 1.25rem 1.35rem;
  background: var(--sand); border-left: 3px solid var(--clay);
  font-size: 1.0625rem; line-height: 1.55;
}
.legal h2 { font-size: 1.1875rem; letter-spacing: -.01em; margin-top: 3rem;
            padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.legal h2 + p { margin-top: 1rem; }
.legal p { margin-top: 1rem; color: var(--ink); opacity: .86; line-height: 1.65; }
.legal p strong { opacity: 1; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal code { font-size: .9em; background: var(--sand); padding: .1em .35em; border-radius: 2px; }

/* ---------- session temperature curve ---------- */
.session { background: var(--sand); }
.curve-wrap { margin-top: 2.5rem; }
.curve { width: 100%; height: auto; display: block; overflow: visible; }
.curve .temp { fill: none; stroke: url(#tempgrad); stroke-width: 5;
               stroke-linecap: round; stroke-linejoin: round; }
.curve .axis { stroke: rgba(22,19,15,.22); stroke-width: 1; }
.curve .grid { stroke: rgba(22,19,15,.10); stroke-width: 1; stroke-dasharray: 3 5; }
.curve .dot  { fill: var(--ink); }
.curve text  { font-family: var(--sans); font-size: 15px; font-weight: 600;
               letter-spacing: .02em; }
.curve .t-hot  { fill: var(--clay); }
.curve .t-cold { fill: var(--ice-dk); }
.curve .t-ax   { fill: var(--muted); font-weight: 500; }
.curve .t-end  { text-anchor: end; }

.stages { list-style: none; margin: 2rem 0 0; padding: 0;
          display: grid; gap: 0; }
.stages li { display: flex; gap: .85rem; align-items: baseline;
             padding: .8rem 0; border-top: 1px solid rgba(22,19,15,.14);
             font-size: 1rem; }
.stages li span { font-size: .75rem; font-weight: 700; letter-spacing: .1em;
                  color: var(--clay); flex: none; }
@media (min-width: 48rem) {
  .stages { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .stages li { display: block; border-top: 2px solid var(--ink); font-size: .9375rem; }
  .stages li span { display: block; margin-bottom: .5rem; }
}

.notes { margin-top: 3.5rem; display: grid; gap: 0; }
.notes > div { padding: 1.5rem 0; border-top: 1px solid rgba(22,19,15,.14); }
.notes h3 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
            color: var(--clay); font-weight: 700; }
.notes p { margin-top: .7rem; color: var(--muted); max-width: 44ch; line-height: 1.6; }
@media (min-width: 48rem) {
  .notes { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* ---------- post-purchase upsell ---------- */
.upsell {
  margin: 2.5rem 0 3rem; padding: 1.75rem 1.5rem;
  background: var(--ink); color: var(--bone); border-radius: 3px;
  max-width: 34rem; position: relative; overflow: hidden;
}
.upsell::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--clay); }
.upsell .label { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
                 color: var(--clay); margin: 0; }
.upsell h2 { margin-top: .8rem; font-size: clamp(1.5rem, 5vw, 2rem); color: var(--bone); }
.upsell-lede { margin-top: .9rem; font-size: .9375rem; line-height: 1.6;
               color: rgba(245,241,234,.82); }
.upsell-lede strong { color: #fff; }
.upsell .btn { margin-top: 1.5rem; }
.upsell-fine { margin-top: .9rem; font-size: .8125rem; color: rgba(245,241,234,.5); text-align: center; }
@media (min-width: 40rem) { .upsell { padding: 2.25rem; } }

/* ---------- curve animation ----------
   The line draws itself once, when it first scrolls into view. pathLength="1"
   on the path means the dash values are fractions, so no JS measurement. */
.curve .temp { stroke-dasharray: 1; stroke-dashoffset: 1; }
.curve .dot, .curve text { opacity: 0; }
.curve.on .temp { animation: draw 1.9s cubic-bezier(.35,.1,.25,1) forwards; }
.curve.on .dot:first-of-type { animation: pop .4s ease .1s forwards; }
.curve.on .dot:last-of-type  { animation: pop .4s ease 1.8s forwards; }
.curve.on .t-hot  { animation: pop .5s ease .75s forwards; }
.curve.on .t-cold { animation: pop .5s ease 1.15s forwards; }
.curve.on .t-ax   { animation: pop .5s ease 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop  { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .curve .temp { stroke-dashoffset: 0 !important; animation: none !important; }
  .curve .dot, .curve text { opacity: 1 !important; animation: none !important; }
}

/* ---------- shared forms (notify + post-purchase survey) ---------- */
.form fieldset { border: 0; padding: 0; margin: 1.4rem 0 0; }
.form legend { font-size: .8125rem; font-weight: 600; padding: 0; margin-bottom: .5rem; }
.form .radios { display: grid; gap: .5rem; }
.form .radios label {
  display: flex; align-items: center; gap: .7rem; margin: 0;
  padding: .8rem .9rem; border: 1px solid var(--rule); border-radius: 2px;
  background: #fff; font-weight: 400; font-size: .9375rem; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.form .radios label:hover { border-color: var(--clay); }
.form .radios input { accent-color: var(--clay); width: 1.05rem; height: 1.05rem; flex: none; }
.form .radios input:checked + span { font-weight: 600; }
.form .ok {
  margin-top: 1.25rem; padding: 1rem 1.15rem; border-left: 3px solid var(--clay);
  background: var(--sand); font-size: .9375rem;
}
.form .ok[hidden] { display: none; }
.form-err { margin-top: 1rem; color: #a3302a; font-size: .875rem; font-weight: 600; }
.form-err[hidden] { display: none; }
.notify .form, .thanks .form { max-width: 32rem; }

/* =================================================================
   MOTION
   Deliberately small: opacity and a 12px rise, nothing else. No
   scale, no blur, no parallax. The brand is calm; the motion should
   be too.

   Built on scroll-driven animations (animation-timeline: view()) so
   it runs off the main thread with no scroll listeners. Everything
   sits inside @supports and the default state is *visible* — a
   browser without support shows a normal, complete page rather than
   a blank one waiting for JavaScript that never comes.
   ================================================================= */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    @keyframes rise-in {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: none; }
    }

    .eyebrow,
    section > .wrap > h2,
    .lede,
    .step,
    .room-grid > div,
    .render,
    .card,
    .promise-list > div,
    .faq-list details,
    .notes > div,
    .stages li,
    .curve-wrap {
      /* Longhand on purpose: the `animation` shorthand sets duration to 0s,
         which makes a scroll-driven animation resolve instantly to its end
         state and quietly do nothing. */
      animation-name: rise-in;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 8% entry 46%;
    }

    /* A light stagger, produced by shifting each item's range rather
       than by delays — so it stays tied to scroll position. */
    .step:nth-child(2), .stages li:nth-child(2), .notes > div:nth-child(2),
    .room-grid > div:nth-child(2), .card:nth-child(2)
      { animation-range: entry 12% entry 52%; }
    .step:nth-child(3), .stages li:nth-child(3), .notes > div:nth-child(3),
    .room-grid > div:nth-child(3)
      { animation-range: entry 16% entry 58%; }
    .room-grid > div:nth-child(4), .stages li:nth-child(4)
      { animation-range: entry 20% entry 64%; }
    .stages li:nth-child(5)
      { animation-range: entry 24% entry 70%; }

    /* The hero is above the fold — it should never wait for a scroll. */
    .hero .wrap > * { animation: none; opacity: 1; transform: none; }
  }
}

/* Smooth same-origin page changes (ES↔EN, legal pages). One line,
   ignored entirely by browsers that don't support it. */
@supports (view-transition-name: none) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: .22s; }
  ::view-transition-new(root) { animation-duration: .22s; }
}

/* Micro-interactions */
.btn { will-change: transform; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(22,19,15,.18); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.render img { transition: opacity .3s ease; }
.card-loud { transition: transform .25s cubic-bezier(.2,.7,.3,1); }
@media (hover: hover) and (min-width: 52rem) {
  .card-loud:hover { transform: translateY(-3px); }
}
summary { transition: color .15s ease; }
summary:hover { color: var(--clay); }
summary::after { transition: transform .2s ease; }
details[open] summary::after { transform: rotate(180deg); }

/* Accordions that actually slide, where the browser can size them. */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    details::details-content {
      block-size: 0; overflow: hidden;
      transition: block-size .3s cubic-bezier(.2,.7,.3,1), content-visibility .3s allow-discrete;
    }
    details[open]::details-content { block-size: auto; }
  }
}

/* Focus visibility must survive all of the above. */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible {
  outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}

/* ---------- first-visit offer ---------- */
.offer { position: fixed; inset: 0; z-index: 70; display: flex;
         align-items: flex-end; justify-content: center; }
.offer[hidden] { display: none; }
@media (min-width: 40rem) { .offer { align-items: center; } }
.offer-card {
  position: relative; width: 100%; max-width: 27rem;
  background: var(--ink); color: var(--bone);
  padding: 2.25rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom));
  border-radius: 4px 4px 0 0; text-align: center;
  max-height: 92svh; overflow-y: auto;
  animation: rise .28s cubic-bezier(.2,.7,.3,1) both;
}
@media (min-width: 40rem) { .offer-card { border-radius: 4px; padding: 2.5rem; } }
.offer-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--clay); }
.offer-card .label { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
                     color: var(--clay); margin: 0; }
.offer-card h2 { margin-top: .9rem; font-size: clamp(1.6rem, 6.5vw, 2.15rem); color: var(--bone); }
.offer-card .modal-x { color: rgba(245,241,234,.45); }
.offer-card .modal-x:hover { color: var(--bone); }

.offer-prices { display: flex; align-items: baseline; justify-content: center;
                gap: .85rem; margin-top: 1.5rem; }
.offer-prices .was { font-size: 1.5rem; font-weight: 600; color: rgba(245,241,234,.42);
                     text-decoration: line-through; text-decoration-thickness: 2px; }
.offer-prices .arrow { font-size: 1.1rem; color: var(--clay); }
.offer-prices .now { font-size: clamp(2.6rem, 11vw, 3.4rem); font-weight: 700;
                     letter-spacing: -.03em; color: #fff; }
.offer-lede { margin-top: 1.1rem; font-size: .9375rem; line-height: 1.6;
              color: rgba(245,241,234,.78); }
.offer-card .btn { margin-top: 1.75rem; }
.offer-skip { display: block; width: 100%; margin-top: 1rem; padding: .55rem;
              background: none; border: 0; font: inherit; font-size: .875rem;
              color: rgba(245,241,234,.55); cursor: pointer; text-decoration: underline;
              text-underline-offset: 3px; }
.offer-skip:hover { color: var(--bone); }
.offer-fine { margin-top: 1rem; font-size: .75rem; color: rgba(245,241,234,.4); }

/* ---------- language suggestion (never a redirect) ---------- */
.langbar {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  padding: .6rem var(--pad); background: var(--sand); color: var(--ink);
  font-size: .8125rem; border-bottom: 1px solid var(--rule);
  position: relative;
}
.langbar[hidden] { display: none; }
.langbar span { opacity: .7; }
.langbar a { font-weight: 600; text-underline-offset: 3px; }
.langbar button {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; font-size: 1.25rem; line-height: 1;
  color: var(--muted); cursor: pointer; padding: .25rem .5rem;
}
.langbar button:hover { color: var(--ink); }

/* ---------- thank-you page ---------- */
.thanks .eyebrow { margin-bottom: 1rem; }
.thanks h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); }
.thanks .sub { margin-top: 1rem; }

.next { list-style: none; counter-reset: n; margin: 2.5rem 0 0; padding: 0; max-width: 40rem; }
.next li {
  counter-increment: n; position: relative; padding: 1.35rem 0 1.35rem 2.6rem;
  border-top: 1px solid var(--rule); color: var(--muted); line-height: 1.6;
}
.next li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 1.45rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--clay);
}
.next li strong { color: var(--ink); }

/* A filled block, not a whisper. Used wherever the point is scarcity or an
   offer — never for plain section eyebrows, or it stops meaning anything. */
.flag, .upsell-flag {
  display: inline-block; margin: 0 0 1.1rem;
  background: var(--clay); color: #fff;
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .5rem .85rem; border-radius: 2px; line-height: 1.3;
}
.offer-card .flag { margin-bottom: 1.25rem; }
.modal-card .flag { margin-bottom: .9rem; }
.card-loud .flag { margin-bottom: 1.1rem; font-size: .75rem; }
.upsell h2 { line-height: 1.1; }
.upsell .upsell-lede + .upsell-lede { margin-top: .7rem; color: rgba(245,241,234,.62); font-size: .875rem; }

.survey-block { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.survey-block .lede { margin-top: .9rem; font-size: 1.0625rem; }
.form .radios label em { font-style: normal; color: var(--muted); font-size: .875rem; }
.closing { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

.form legend .q-hint { display: block; margin-top: .3rem; font-weight: 400; color: var(--muted); }
