:root {
  --bg: #e8e2d6;
  --bg-2: #f4f0e8;
  --white: #fbfaf6;
  --ink: #1a1714;
  --muted: #5e574e;
  --line: rgba(26, 23, 20, 0.16);
  --copper: #9c4328;
  --copper-2: #c46a45;
  --moss: #2c3832;
  --dark: #141210;
  --header: 72px;
  --rail: 76px;
  --display: "Unbounded", "Segoe UI", sans-serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }

button, input, select, textarea { font: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

p { margin: 0; }

a { color: inherit; }

::selection { background: #efc7b6; color: var(--ink); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 8px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  padding-left: calc(var(--rail) + 28px);
  padding-right: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fine {
  color: var(--muted);
  font-size: 14px;
  max-width: 68ch;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header);
  padding: 0 22px 0 22px;
  background: rgba(232, 226, 214, 0.92);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(232, 226, 214, 0.72);
  backdrop-filter: blur(16px);
}

.header.is-stuck { box-shadow: 0 1px 0 var(--line); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.logo__mark {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  position: relative;
}

.logo__mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav > a,
.nav__item > a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
}

.nav__item { position: relative; }

.nav__sub {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 210px;
  padding: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  z-index: 5;
}

.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { display: grid; }

.nav__sub a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 14px;
}

.nav__sub a:hover { background: rgba(26, 23, 20, 0.05); }

.nav__phone { display: none; font-weight: 800; text-decoration: none; }

.header__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  line-height: 1.25;
}

.header__phones a {
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.phones { display: grid; gap: 2px; }

.burger {
  display: none;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  font-weight: 800;
}

.burger__lines,
.burger__lines::before,
.burger__lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }

.rail {
  position: fixed;
  top: var(--header);
  left: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: var(--bg);
  pointer-events: none;
}

.rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 1.06fr);
  gap: 24px 32px;
  align-items: end;
  min-height: calc(100svh - var(--header));
  padding: 18px 20px 28px calc(var(--rail) + 28px);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 4.7vw, 80px);
}

.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero__lead {
  max-width: min(42ch, 100%);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.stats li { border-top: 1px solid var(--line); padding-top: 10px; }

.stats b {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.stats span { color: var(--muted); font-size: 13px; }

.hero__visual {
  position: relative;
  width: calc(100% + 18px);
}

.hero__visual img,
.hero__visual video {
  display: block;
  width: 100%;
  height: min(72vh, 760px);
  min-height: 460px;
  object-fit: cover;
  border-radius: 170px 22px 22px 22px;
  background: #d9d3c8;
}

.hero__float {
  position: absolute;
  left: -42px;
  bottom: 32px;
  width: 240px;
  padding: 16px;
  background: var(--bg-2);
  border-radius: 16px;
}

.hero__float b {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.hero__float span { color: var(--muted); font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 750;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn--light { background: var(--white); color: var(--ink); }

.btn--copper { background: var(--copper); color: white; }

.marquee {
  margin-left: var(--rail);
  overflow: hidden;
  background: var(--dark);
  color: var(--bg-2);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 8px 15px 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-2);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section { padding: 78px 0; }

.sec-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}

.sec-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
}

.sec-head p:last-child { color: var(--muted); }

.switch {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 28px;
  align-items: stretch;
}

.switch__btns {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.switch__btns button {
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.04em;
  color: rgba(26, 23, 20, 0.35);
}

.switch__btns button[aria-selected="true"] { color: var(--ink); }

.switch figure { margin: 0; }

.switch img {
  width: 100%;
  height: min(620px, 68vh);
  object-fit: cover;
  border-radius: 24px;
  transition: opacity 0.25s ease;
}

.switch figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-areas:
    "lay lay rem"
    "sill top edge";
  gap: 12px;
}

.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 250px;
  overflow: hidden;
  border-radius: 22px;
  color: #f7f3ec;
  text-decoration: none;
}

.tile:nth-child(1) { grid-area: lay; min-height: 520px; }
.tile:nth-child(2) { grid-area: rem; }
.tile:nth-child(3) { grid-area: sill; }
.tile:nth-child(4) { grid-area: top; }
.tile:nth-child(5) { grid-area: edge; }

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 12, 10, 0.05) 20%, rgba(16, 12, 10, 0.74));
}

.tile:hover img { transform: scale(1.05); }

.tile__index {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.tile__text {
  margin-top: auto;
  display: grid;
  gap: 6px;
  padding: 20px;
}

.tile__text small {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tile__text strong {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: clamp(26px, 2.4vw, 42px);
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0 0 64px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 22px 18px 0 0;
  margin-right: 16px;
  border-right: 1px solid var(--line);
  min-height: 230px;
}

.steps li:last-child { border-right: 0; margin-right: 0; }
.steps li:nth-child(even) { transform: translateY(42px); }

.steps b {
  display: block;
  margin-bottom: 18px;
  color: var(--copper);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.steps p { color: var(--muted); font-size: 15px; }

.mosaic {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: 230px;
  gap: 12px;
}

.mosaic .card:first-child { grid-row: span 2; }

.card.is-hidden { display: none; }

.card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
}

.card__media { flex: 1; min-height: 0; }

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  display: grid;
  gap: 4px;
  padding: 14px 14px 16px;
}

.card__tags {
  color: var(--copper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card__body strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.card__body span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0 14px;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
  font-size: 18px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--copper);
  font-family: var(--display);
  font-weight: 500;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  max-width: 68ch;
  margin-top: 8px;
  color: var(--muted);
}

.cta {
  margin-left: var(--rail);
  padding: 64px 0;
  background: var(--copper);
  color: #fff8f4;
}

.cta .eyebrow { color: rgba(255, 248, 244, 0.75); }

.cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
}

.cta h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 62px);
  max-width: 14ch;
}

.cta__side {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.footer {
  background: var(--dark);
  color: #d8d2c7;
  padding-top: 48px;
}

.footer a { text-decoration: none; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 24px;
}

.footer__lead { max-width: 36ch; margin-top: 14px; color: #b7b0a5; }

.footer__label {
  margin: 0 0 8px;
  color: #8d867c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__grid a { display: block; padding: 4px 0; }

.logo--light { color: var(--bg-2); }

.footer__word {
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(72px, 18vw, 280px);
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 226, 214, 0.28);
  overflow: hidden;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 22px;
  color: #8d867c;
  font-size: 13px;
}

.pagehead { padding-top: 26px; padding-bottom: 12px; }

.crumbs {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.crumbs a { color: inherit; }

.pagehead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.7fr);
  gap: 24px;
  align-items: end;
}

.pagehead h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
}

.pagehead__grid > p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: start;
}

.split--top { align-items: stretch; }

.frame { margin: 0; }

.frame img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.frame--tall img {
  height: 100%;
  min-height: 420px;
  max-height: 680px;
}

.frame figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.prose { display: grid; gap: 12px; }
.prose h2 { margin: 8px 0 0; font-size: clamp(28px, 3vw, 40px); }
.prose h3 { margin: 8px 0 0; font-size: 24px; }

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-top: 1px solid var(--line);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
}

.table-wrap { overflow-x: auto; }

.prices {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.prices th,
.prices td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
}

.prices th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prices td:last-child {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.formats {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.slab {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 120px;
  padding: 16px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--bg-2);
}

.slab b {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.slab span { color: rgba(244, 240, 232, 0.72); font-size: 14px; }

.s60 { grid-column: span 3; aspect-ratio: 1; }
.s120 { grid-column: span 5; aspect-ratio: 2 / 1; background: #3a342c; }
.ssq { grid-column: span 4; aspect-ratio: 1; background: var(--moss); }
.formats__note {
  grid-column: span 8;
  margin: 0;
  color: var(--muted);
  align-self: center;
}
.sslab {
  grid-column: 1 / -1;
  min-height: 150px;
  background:
    linear-gradient(90deg, rgba(20, 18, 16, 0.15), rgba(20, 18, 16, 0.45)),
    url("../img/texture.jpg") center/cover;
}

.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 22px;
}

.calc label,
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 750;
}

.calc input,
.calc select,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: 12px;
  font-weight: 550;
}

.field textarea { min-height: 130px; resize: vertical; }

.calc .check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

.calc .check input { width: auto; }

.calc__sum {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding-top: 6px;
}

.calc__sum strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.chapters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.chapter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: 22px;
}

.chapter img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
}

.chapter h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.filters a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 750;
}

.filters a.is-on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.mosaic--flow {
  grid-auto-rows: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mosaic--flow .card:first-child { grid-row: auto; }

.mosaic--flow .card__media img { aspect-ratio: 4 / 3; height: auto; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 72px;
}

.reqs { margin: 0; }
.reqs div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 8px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.reqs dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.reqs dd { margin: 0; overflow-wrap: anywhere; }

.phone-xl {
  display: inline-block;
  margin: 12px 0;
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.04em;
  font-weight: 500;
}

.form {
  padding: 22px;
  background: var(--white);
  border-radius: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { box-shadow: inset 0 -2px 0 var(--copper); }

.error {
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
}

.alert {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3d7cc;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 28px;
}

.related a {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  min-height: 120px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(24px, 2vw, 32px);
  letter-spacing: -0.04em;
}

.related a span {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--copper);
}

.thanks {
  min-height: calc(100svh - 280px);
  display: grid;
  align-content: center;
  padding-top: 36px;
  padding-bottom: 64px;
}

.thanks h1 { margin: 0 0 12px; font-size: clamp(40px, 6vw, 76px); }
.thanks p { max-width: 42ch; color: var(--muted); }
.thanks .hero__actions { margin-top: 22px; }

.stack { display: grid; gap: 18px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero > * { min-width: 0; }
  .hero__visual { width: 100%; }
  .hero__visual img,
  .hero__visual video { height: 58vw; min-height: 300px; border-radius: 36px; }
  .hero__float { position: static; width: auto; margin-top: 12px; }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "lay lay"
      "rem sill"
      "top edge";
  }
  .tile:nth-child(1) { min-height: 380px; }
  .sec-head,
  .switch,
  .pagehead__grid,
  .split,
  .cta__grid,
  .footer__grid,
  .contact,
  .chapters { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(even) { transform: none; }
  .mosaic,
  .mosaic--flow { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .mosaic .card:first-child,
  .mosaic--flow .card:first-child { grid-row: auto; }
  .switch img { height: 420px; }
}

@media (max-width: 860px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .nav {
    position: fixed;
    z-index: 35;
    top: var(--header);
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 18px 22px 32px;
    background: var(--bg-2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: auto;
    visibility: hidden;
    pointer-events: none;
  }
  .nav.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .nav > a,
  .nav__item > a {
    font-size: 28px;
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.04em;
    padding: 8px 0;
  }
  .nav a[aria-current="page"] {
    background: transparent;
    color: var(--copper);
  }
  .nav__sub {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 8px 4px;
    border: 0;
    background: transparent;
  }
  .nav__sub a { font-family: var(--sans); font-size: 16px; }
  .marquee, .cta { margin-left: 0; }
  .hero { padding: 12px 18px 24px; }
  .hero h1 { font-size: clamp(28px, 8vw, 44px); }
  .hero__lead { font-size: 16px; max-width: 100%; }
  .header__phones { display: none; }
  .nav > a.nav__phone {
    display: block;
    padding-bottom: 8px;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
  }
  .wrap { padding-right: 20px; }
  .stats, .calc, .form__row, .related, .mosaic, .mosaic--flow, .steps, .bento {
    grid-template-columns: 1fr;
  }
  .bento { grid-template-areas: "lay" "rem" "sill" "top" "edge"; }
  .s60, .s120, .ssq, .formats__note, .sslab {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: 130px;
  }
  .footer__word { font-size: 22vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .tile img, .switch img { transition: none; }
}
