/* Lion Tree Inc. — site styles
   One motif: the sectional garage door panel (horizontal slats with thin joints). */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* brand palette, from the current site and logo */
  --paper: #f4ede1;
  --paper-2: #eadcc4;
  --tan: #eddabe;
  --ink: #232322;
  --ink-soft: #4a443b;
  --brown: #43331b;
  --brown-2: #563f20;
  --gold: #866636;
  --leaf: #3d7d51;
  --leaf-hi: #4a8e60;
  --night: #1c1b19;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* five type steps */
  --t-display: clamp(40px, 4vw, 64px);
  --t-h2: clamp(34px, 3.6vw, 56px);
  --t-statement: clamp(24px, 2.35vw, 36px);
  --t-body: 17px;
  --t-small: 14px;

  --margin: clamp(16px, 2.4vw, 32px);
  --gap-section: clamp(96px, 12vw, 200px);
  --joint: 5px;

  /* motion tokens (Emil Kowalski's curves) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--leaf); color: var(--paper); }
:focus-visible { outline: 3px solid var(--leaf-hi); outline-offset: 3px; }
html { scrollbar-color: var(--gold) var(--paper-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--margin); top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display, .h2, .statement, .footer__name, .deal__type {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 450;
  letter-spacing: -0.025em;
}
.display { font-size: var(--t-display); line-height: 1.02; text-wrap: balance; }
.h2 { font-size: var(--t-h2); line-height: 1.04; text-wrap: balance; }
.h3 { font: 700 19px/1.3 var(--sans); letter-spacing: -0.01em; margin-bottom: 10px; }
.statement { font-size: var(--t-statement); line-height: 1.24; font-weight: 400; letter-spacing: -0.015em; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--leaf); color: #fff;
  font: 700 16px/1 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}
/* the door-slat motif rises through the button on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 260ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
}
.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--light { background: var(--tan); color: var(--brown); }
.btn--light::before { background: var(--paper); }

.link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); transition: color 150ms ease; }
.link--arrow::after { content: " \2192"; display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { color: var(--leaf); }
  .link--arrow:hover::after { transform: translateX(4px); }
}

/* ---------- the motif ---------- */
.slatband { display: grid; gap: var(--joint); }
.slatband i { display: block; height: 9px; background: var(--ink); }

/* photographs are seen through a sectional door: four panels with joints */
.slatpic { position: relative; margin: 0; }
.slatpic img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(25% - var(--joint) * .75) no-repeat,
                linear-gradient(#000 0 0) 0 33.333%/100% calc(25% - var(--joint) * .75) no-repeat,
                linear-gradient(#000 0 0) 0 66.666%/100% calc(25% - var(--joint) * .75) no-repeat,
                linear-gradient(#000 0 0) bottom/100% calc(25% - var(--joint) * .75) no-repeat;
          mask: linear-gradient(#000 0 0) top/100% calc(25% - var(--joint) * .75) no-repeat,
                linear-gradient(#000 0 0) 0 33.333%/100% calc(25% - var(--joint) * .75) no-repeat,
                linear-gradient(#000 0 0) 0 66.666%/100% calc(25% - var(--joint) * .75) no-repeat,
                linear-gradient(#000 0 0) bottom/100% calc(25% - var(--joint) * .75) no-repeat;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--margin);
  background: var(--paper);
  transition: transform 300ms var(--ease-out);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px/1 var(--sans); letter-spacing: 0.01em; margin-right: auto; }
.nav__brand img { width: 30px; height: auto; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--leaf); } }

/* ---------- hero ---------- */
.hero { position: relative; height: 230svh; background: var(--paper); }
.hero__stage {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 12px;
  padding: 70px 12px 12px;
}
.hero__card {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  background: var(--paper-2);
  padding: clamp(28px, 3.4vw, 56px);
  padding-top: 0;
  min-height: 0; overflow: hidden;
}
.hero__card .slatband { align-self: stretch; margin: 0 calc(clamp(28px, 3.4vw, 56px) * -1) auto; }
.hero__card .slatband i { background: var(--ink); height: 6px; }
.hero__card .slatband { gap: 7px; }
.hero__logo { width: clamp(110px, 11vw, 168px); margin: 28px 0 auto; }
.hero__card .display { max-width: 17ch; margin-bottom: 22px; }
.hero__lede { max-width: 40ch; font-size: 18px; color: var(--ink); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.hero__room { position: relative; background: var(--night); overflow: hidden; min-height: 0; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__fallback { display: none; }
.no-webgl .hero__fallback { display: block; }
.no-webgl .hero__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: var(--tan); font-size: var(--t-small); font-weight: 600; letter-spacing: 0.01em;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.hero__cue::after {
  content: ""; width: 2px; height: 28px; background: var(--tan);
  animation: cue 1.8s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.no-webgl .hero__cue { display: none; }

/* ---------- value ---------- */
.value {
  padding: var(--gap-section) var(--margin) 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px;
}
.value .statement { grid-column: 1 / span 8; max-width: 34ch; font-size: clamp(26px, 2.7vw, 42px); line-height: 1.2; }
.pw {
  display: inline-block; vertical-align: -0.14em;
  width: 1.9em; height: 0.95em; overflow: hidden;
}
.pw img { width: 100%; height: 100%; object-fit: cover; }
.value__aside { grid-column: 9 / span 4; align-self: end; display: grid; gap: 22px; justify-items: start; }
.value__aside p { max-width: 52ch; }

/* ---------- about ---------- */
.about { padding: var(--gap-section) clamp(10px, 1.4vw, 20px) 0; }
.about__panel {
  background: var(--brown); color: var(--tan);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px;
  padding: clamp(28px, 4vw, 64px);
  padding-bottom: 0;
  overflow: hidden;
}
.about__lead { display: flex; flex-direction: column; gap: 48px; }
.about .h2 { color: var(--paper); max-width: 12ch; }
.about__pic { width: min(100%, 560px); aspect-ratio: 4 / 5; margin-bottom: -14%; }
.about__text { display: grid; align-content: start; gap: 40px; padding-bottom: clamp(40px, 5vw, 72px); max-width: 520px; }
.about__text p { color: var(--tan); }
.about .h3 { color: var(--paper); }
.states { display: flex; flex-wrap: wrap; gap: 8px; }
.states li {
  background: var(--brown-2); color: var(--paper);
  padding: 9px 14px; font-weight: 600; font-size: 15px;
}

/* ---------- process ---------- */
.process { padding: var(--gap-section) var(--margin) 0; }
.process__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.process__head .h2 { max-width: 14ch; }
.process__head p { max-width: 50ch; }
.steps { display: grid; grid-template-columns: 2fr 2fr 2.2fr 2.6fr 3.2fr; grid-template-rows: auto auto auto; column-gap: 10px; align-items: end; }
.step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; }
.step__panel { align-self: end; }
.step__name, .step p { align-self: start; }
.step__panel { background: var(--paper-2); transform-origin: bottom; }
.step:nth-child(1) .step__panel { height: 18vh; background: var(--tan); }
.step:nth-child(2) .step__panel { height: 25vh; background: var(--paper-2); background: #e1cba6; }
.step:nth-child(3) .step__panel { height: 33vh; background: var(--gold); }
.step:nth-child(4) .step__panel { height: 42vh; background: var(--brown); }
.step__panel--photo { height: 54vh; overflow: hidden; position: relative; }
.step__panel--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step__name { font: 700 19px/1.25 var(--sans); letter-spacing: -0.01em; margin-top: 8px; }
.step p { color: var(--ink-soft); font-size: 16px; max-width: 30ch; }

/* ---------- what we buy ---------- */
.buy {
  padding: var(--gap-section) var(--margin) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start;
}
.buy__pic { aspect-ratio: 1; position: sticky; top: 90px; }
.buy__text { display: grid; gap: 40px; max-width: 560px; padding-top: 8px; }
.buy .h2 { max-width: 12ch; }

/* ---------- deals ---------- */
.deals { padding: var(--gap-section) var(--margin) 0; }
.deals__board {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 8px;
}
.deals__lead {
  grid-column: span 2; grid-row: span 2;
  background: var(--leaf); color: #fff;
  padding: clamp(24px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
}
.deals__lead .h2 { max-width: 15ch; margin-bottom: auto; }
.deals__lead > p:not(.picker__answer) { font-weight: 700; margin-top: 36px; }
.picker { display: flex; flex-wrap: wrap; gap: 8px; }
.picker button {
  font: 600 15px/1.2 var(--sans); color: #fff;
  background: rgba(0, 0, 0, 0.18); border: 0; border-radius: 0;
  padding: 12px 16px; min-height: 44px; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, transform 140ms var(--ease-out);
}
.picker button:active { transform: scale(0.97); }
.picker button[aria-checked="true"] { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .picker button:not([aria-checked="true"]):hover { background: rgba(0, 0, 0, 0.32); }
}
.picker__answer { min-height: 3.1em; font-size: 16px; max-width: 46ch; }
.picker__answer a { color: #fff; font-weight: 700; }

.deal {
  background: var(--paper-2);
  padding: clamp(20px, 2.2vw, 30px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.deal__type { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.08; max-width: 11ch; }
.deal dl { display: grid; gap: 10px; }
.deal dt { font-size: var(--t-small); color: var(--ink-soft); }
.deal dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.deal div:nth-child(2) dd { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; line-height: 1.1; }
.deal.is-match { background: var(--ink); color: var(--paper); }
.deal.is-match dt { color: var(--tan); }
.deals__board.has-pick .deal:not(.is-match) { opacity: 0.55; }
.deal { transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), opacity 300ms ease; }

/* ---------- testimonials ---------- */
.words {
  padding: var(--gap-section) var(--margin) 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 72px;
}
.words__pic { grid-column: 1 / span 5; grid-row: 1 / span 2; aspect-ratio: 3 / 4; }
.quote--main { grid-column: 7 / span 6; margin-top: 110px; }
.quote--main p { font-family: var(--serif); font-size: var(--t-statement); line-height: 1.22; letter-spacing: -0.015em; max-width: 28ch; }
.quote figcaption { margin-top: 22px; font-weight: 700; font-size: 15px; }
.words__more { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-self: end; }
.words__more p { font-size: 17px; }

/* ---------- contact coupon ---------- */
.contact { padding: var(--gap-section) var(--margin); }
.coupon {
  --notch: 15px;
  max-width: 1240px; margin: 0 auto;
  background: var(--brown); color: var(--tan);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  position: relative;
  -webkit-mask: radial-gradient(circle var(--notch) at 38% 0, #0000 98%, #000) top/100% 51% no-repeat,
                radial-gradient(circle var(--notch) at 38% 100%, #0000 98%, #000) bottom/100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 38% 0, #0000 98%, #000) top/100% 51% no-repeat,
                radial-gradient(circle var(--notch) at 38% 100%, #0000 98%, #000) bottom/100% 51% no-repeat;
}
.coupon::before {
  content: ""; position: absolute; top: 28px; bottom: 28px; left: 38%;
  border-left: 5px dotted var(--paper); transform: translateX(-50%);
}
.coupon__stub { padding: clamp(28px, 4vw, 56px); padding-right: clamp(36px, 4vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.coupon .h2 { color: var(--paper); max-width: 9ch; }
.coupon__direct { margin-top: auto; display: grid; gap: 6px; padding-top: 32px; }
.coupon__direct a { color: var(--paper); font-weight: 700; }

.form {
  padding: clamp(28px, 4vw, 56px); padding-left: clamp(36px, 4vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; align-content: start;
}
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-small); font-weight: 700; color: var(--paper); }
.opt { font-weight: 400; color: var(--tan); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--brown-2); color: var(--paper);
  border: 0; border-radius: 0; outline: 0;
  font: 400 16px/1.4 var(--sans);
  box-shadow: inset 0 -2px 0 transparent;
  transition: background-color 150ms ease, box-shadow 150ms ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--tan) 50%), linear-gradient(135deg, var(--tan) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.field select option { color: var(--ink); background: var(--paper); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #c9b28e; }
.field input:focus, .field select:focus, .field textarea:focus { background-color: #654a26; box-shadow: inset 0 -2px 0 var(--tan); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 -2px 0 #f0a589; }
.field__error { font-size: 13px; color: #f6c3ae; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--submit { min-height: 56px; background: var(--ink); margin-top: 8px; }
.btn--submit::before { background: var(--leaf); }
.btn--submit[disabled] { opacity: 0.7; cursor: progress; }
.form__status { font-size: 15px; color: var(--paper); min-height: 1.5em; }
.form__status.is-ok { color: #cfe8d5; font-weight: 700; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--tan); padding: 0 var(--margin) 28px; }
.slatband--footer { margin: 0 calc(var(--margin) * -1); }
.slatband--footer i { background: var(--paper); height: 8px; }
.slatband--footer { background: var(--night); }
.footer__mark { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: clamp(16px, 3vw, 48px); padding: 72px 0 56px; }
.footer__mark img { width: clamp(90px, 14vw, 220px); }
.footer__name { font-size: clamp(54px, 13.2vw, 220px); line-height: 0.86; color: var(--paper); letter-spacing: -0.04em; font-weight: 400; white-space: nowrap; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-content: start; }
.footer nav a, .footer address a { color: var(--paper); text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .footer nav a:hover, .footer address a:hover { color: var(--leaf-hi); } }
.footer address { font-style: normal; line-height: 1.7; }
.footer__base { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: var(--t-small); }
.footer__base p { color: #b9a27e; }

/* ---------- entrances (only when JS is running, so content never stays hidden) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal-pic img { clip-path: inset(100% 0 0 0); transform: translateY(6%); }
.js .reveal-pic.is-in img {
  clip-path: inset(0 0 0 0); transform: none;
  transition: clip-path 1100ms var(--ease-in-out), transform 1300ms var(--ease-out);
}
.js .steps .step__panel { transform: scaleY(0.2); opacity: 0; }
.js .steps .step > :not(.step__panel) { opacity: 0; transform: translateY(14px); }
.js .steps.is-in .step__panel {
  transform: none; opacity: 1;
  transition: transform 900ms var(--ease-out), opacity 400ms ease;
  transition-delay: calc(var(--i) * 90ms);
}
.js .steps.is-in .step > :not(.step__panel) {
  opacity: 1; transform: none;
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i) * 90ms + 250ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-in, .js .steps .step > *, .js .steps.is-in .step > * { transform: none !important; }
  .js .reveal-pic img, .js .reveal-pic.is-in img { clip-path: none; transform: none; }
  .js .reveal.is-in, .js .steps.is-in .step > * { transition: opacity 300ms ease !important; }
  .hero__cue::after { animation: none; }
  .btn::before { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero__stage { grid-template-columns: 1fr 1fr; }
  .hero__card .display { font-size: clamp(32px, 4.4vw, 44px); }
  .about__panel { grid-template-columns: 1fr; }
  .about__text { max-width: none; grid-template-columns: 1fr 1fr; gap: 32px; }
  .about__text > :last-child { grid-column: 1 / -1; }
  .about__lead { display: contents; }
  .about__pic { order: 3; width: 72%; margin: 0 auto -14%; }
  .about__text { order: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; row-gap: 36px; align-items: start; }
  .step { grid-row: auto; grid-template-rows: none; }
  .step:nth-child(n) .step__panel { height: auto; aspect-ratio: 16 / 7; }
  .step:nth-child(5) { grid-column: 1 / -1; }
  .step:nth-child(5) .step__panel { aspect-ratio: 16 / 6; }
  .deals__board { grid-template-columns: 1fr 1fr; }
  .deals__lead { grid-column: 1 / -1; grid-row: auto; }
  .words__pic { grid-column: 1 / span 5; }
  .quote--main { grid-column: 6 / span 7; margin-top: 40px; }
  .words__more { grid-column: 1 / -1; }
  .coupon { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .coupon::before { display: none; }
  .coupon__stub { padding-bottom: 8px; }
  .form { padding-left: clamp(28px, 4vw, 56px); }
}

/* ---------- hero stacks on phones and portrait tablets ---------- */
@media (max-width: 720px), (max-width: 1080px) and (orientation: portrait) {
  .hero { height: 200svh; }
  .hero__stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 46fr) auto; padding: 60px 10px 10px; gap: 0; }
  .hero__room { order: -1; }
  .hero__card { justify-content: flex-start; padding: 0 20px 22px; }
  .hero__card .slatband { margin: 0 -20px 18px; }
  .hero__card .slatband i { height: 6px; }
  .hero__card .slatband { gap: 4px; }
  .hero__logo { display: none; }
  .hero__card .display { font-size: clamp(32px, 9vw, 44px); margin-bottom: 12px; }
  .hero__lede { font-size: 16px; margin-bottom: 18px; }
  .hero__cue { bottom: 14px; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  :root { --t-body: 16px; }
  .nav { padding: 10px 16px; gap: 12px; }
  .nav__brand span { font-size: 16px; }


  .value { display: block; }
  .value .statement { font-size: clamp(23px, 6.6vw, 30px); }
  .pw { width: 1.6em; }
  .value__aside { margin-top: 36px; }

  .about__panel { padding: 28px 20px 0; gap: 32px; }
  .about__text { grid-template-columns: 1fr; }
  .about__pic { width: 86%; }

  .process__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  /* on a phone the panels become a door rising: each bar a little wider than the last */
  .step:nth-child(n) .step__panel { aspect-ratio: auto; height: 14px; transform-origin: left; }
  .step:nth-child(1) .step__panel { width: 28%; }
  .step:nth-child(2) .step__panel { width: 46%; }
  .step:nth-child(3) .step__panel { width: 64%; }
  .step:nth-child(4) .step__panel { width: 82%; }
  .step:nth-child(5) .step__panel { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .js .steps .step__panel { transform: scaleX(0.2); }

  .buy { grid-template-columns: 1fr; }
  .buy__pic { position: relative; top: 0; width: 100%; }

  .deals__board { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 6px; }
  .deal { min-height: 0; }
  .deal__type { max-width: none; }

  .words { display: block; }
  .words__pic { width: 72%; margin-bottom: 32px; }
  .quote--main { margin-top: 0; }
  .words__more { grid-template-columns: 1fr; margin-top: 40px; }

  .form { grid-template-columns: 1fr; padding: 20px; }
  .coupon__stub { padding: 28px 20px 4px; }
  .coupon__direct { padding-top: 10px; }

  .footer__mark { grid-template-columns: 1fr; gap: 20px; padding: 56px 0 40px; }
  .footer__mark img { width: 96px; }
  .footer__name { font-size: 15.5vw; white-space: normal; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* ---------- WordPress: ordinary pages and posts ---------- */
.page { padding: 140px var(--margin) var(--gap-section); }
.page__article { max-width: 720px; margin: 0 auto; display: grid; gap: 28px; }
.page__content { display: grid; gap: 18px; }
.page__content h2, .page__content h3 { font-family: var(--serif); font-weight: 450; letter-spacing: -0.02em; line-height: 1.1; margin-top: 16px; }
.page__content a { color: var(--leaf); }
.page__content img { height: auto; }
.page__content ul, .page__content ol { padding-left: 1.2em; list-style: revert; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
