/* ==========================================================================
   CDC Thermix — "wall cross-section / layers"
   Cool outside (ice), warm inside (amber / apricot), slate outlines.
   No shadows anywhere: depth comes from stacked, offset slabs.
   ========================================================================== */
:root {
  --ice: #e3f2fb;
  --amber: #f6a609;
  --apricot: #ffe9c2;
  --navy: #14324a;
  --white: #fff;
  --line: 2px solid var(--navy);
  --r: 6px;
  --o: 7px;                         /* offset between stacked slab edges */
  --p: 26px;                        /* slab inner padding */
  --strip: 50px;                    /* width of the layer callout strip */
  --pad: clamp(18px, 4vw, 56px);
  --hatch: repeating-linear-gradient(135deg, transparent 0 7px, rgba(20, 50, 74, .16) 7px 9px);
  --font-head: "Urbanist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  overflow-wrap: break-word;
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }
svg { max-width: 100%; }
h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }
a[href^="mailto:"] { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--navy); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; font-weight: 700;
  background: var(--amber); border: var(--line); border-radius: var(--r);
}
.skip-link:focus { top: 12px; }

/* ---------- Header: nav as overlapping layer tabs ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: var(--line); }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 0 20px; padding: 12px var(--pad) 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 12px;
  font: 800 1.3rem/1 var(--font-head); letter-spacing: -.01em; text-decoration: none;
}
.brand svg { flex: none; width: 38px; height: 38px; }
.brand small {
  display: block; margin-top: 4px;
  font: 600 .66rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.nav-toggle {
  display: none; align-items: center; gap: 10px; margin-bottom: 10px; padding: 10px 14px;
  font: 800 .95rem/1.2 var(--font-head); color: var(--navy);
  background: var(--apricot); border: var(--line); border-radius: var(--r); cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--amber); }
.nav-toggle__icon {
  width: 20px; height: 16px;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 0 / 16px 3px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 4px 50% / 16px 3px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 0 100% / 16px 3px no-repeat;
}
.site-nav ul { display: flex; align-items: flex-end; list-style: none; margin: 0; padding: 0 0 0 12px; }
.site-nav li { position: relative; margin-left: -12px; }
.site-nav li:nth-child(1) { z-index: 5; --i: 0; }
.site-nav li:nth-child(2) { z-index: 4; --i: 1; }
.site-nav li:nth-child(3) { z-index: 3; --i: 2; }
.site-nav li:nth-child(4) { z-index: 2; --i: 3; }
.site-nav li:nth-child(5) { z-index: 1; --i: 4; }
.site-nav li.is-current { z-index: 9; }
.site-nav a {
  display: block; padding: 9px 24px 9px 22px;
  font: 700 .95rem/1.25 var(--font-head); text-decoration: none;
  background: var(--ice); border: var(--line); border-bottom: 0; border-radius: var(--r) var(--r) 0 0;
  transition: padding .15s ease, background-color .15s ease;
}
.site-nav li:nth-child(even) a { background: var(--apricot); }
.site-nav li a:hover { padding-top: 13px; background: var(--white); }
.site-nav li.is-current a { padding-top: 14px; font-weight: 800; background: var(--amber); }   /* lifted to the front */

/* ---------- Layers: every section is a stratum with a callout tab ---------- */
.layer { display: grid; grid-template-columns: var(--strip) minmax(0, 1fr); border-bottom: var(--line); }
.layer__tab {
  display: flex; justify-content: center; align-items: flex-start; margin: 0;
  border-right: var(--line); background: var(--ice) var(--hatch);
}
.layer:nth-of-type(even) > .layer__tab { background-color: var(--apricot); }
.layer__label {
  position: sticky; top: 76px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  padding: 16px 9px; white-space: nowrap;
  font: 800 .72rem/1.2 var(--font-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); background: var(--navy); border-radius: var(--r) var(--r) 0 0;
}
.layer__body { min-width: 0; padding: clamp(40px, 6vw, 84px) var(--pad); }
.layer__body--flush { padding: 0; }
.layer--cool > .layer__body { background: var(--ice); }
.layer--warm > .layer__body { background: var(--apricot); }
.wrap { max-width: 1100px; margin-inline: auto; }
.layer__head { max-width: 64ch; margin-bottom: clamp(24px, 4vw, 44px); }

/* ---------- Split: cold side / warm side ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split__side { min-width: 0; padding: clamp(36px, 5.5vw, 76px) var(--pad); }
.split__side--cool { background: var(--ice); }
.split__side--warm { background: var(--apricot); }
.split__side + .split__side { border-left: var(--line); }
.duo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.duo--top { align-items: start; }

/* ---------- Small drawing details ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 800 .76rem/1.2 var(--font-head); letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before {                        /* leader line ending in a dot */
  content: ""; flex: none; width: 36px; height: 10px;
  background:
    radial-gradient(circle at 5px 5px, var(--amber) 0 2.5px, var(--navy) 3px 5px, transparent 5.5px) no-repeat,
    linear-gradient(var(--navy), var(--navy)) 8px 4px / 28px 2px no-repeat;
}
.lead { max-width: 58ch; font-size: clamp(1.08rem, 1.5vw, 1.24rem); }
.fine { font-size: .9rem; }
.side-tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 10px;
  font: 800 .7rem/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase;
  background: var(--white); border: var(--line); border-radius: var(--r);
}
.side-tag::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber); border: 2px solid var(--navy);
}
.side-tag--cool::before { background: var(--ice); }
.dim-row {
  display: flex; align-items: center; gap: 12px; margin-top: 34px; max-width: 460px;
  font: 800 .7rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase;
}
.dim {                                    /* dimension arrow, deliberately without a number */
  position: relative; flex: 1; height: 14px;
  border-inline: 2px solid var(--navy);
  background: linear-gradient(var(--navy), var(--navy)) center / 100% 2px no-repeat;
}
.dim::before, .dim::after { content: ""; position: absolute; top: 2px; width: 10px; height: 10px; background: var(--navy); }
.dim::before { left: 0; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.dim::after { right: 0; clip-path: polygon(100% 50%, 0 0, 0 100%); }
.note {
  display: inline-block; margin: 16px 0 0; padding: 10px 14px; font-size: .9rem;
  background: var(--white); border: 2px dashed var(--navy); border-radius: var(--r);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 26px; }

/* ---------- Buttons: a face with one offset edge behind it ---------- */
.btn {
  position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 10px;
  margin: 0 5px 5px 0; padding: 12px 22px;
  font: 800 1rem/1.3 var(--font-head); color: var(--navy); text-decoration: none;
  background: none; border: 2px solid transparent; border-radius: var(--r); cursor: pointer;
  transition: transform .16s ease;
}
.btn::before, .btn::after {
  content: ""; position: absolute; inset: -2px;
  border: var(--line); border-radius: var(--r); transition: transform .16s ease;
}
.btn::before { z-index: -1; background: var(--amber); }
.btn::after { z-index: -2; background: var(--white); transform: translate(5px, 5px); }
.btn:hover { transform: translate(2px, 2px); }
.btn:hover::after { transform: translate(3px, 3px); }
.btn:active { transform: translate(5px, 5px); }
.btn:active::after { transform: none; }
.btn--ghost::before { background: var(--white); }
.btn--ghost::after { background: var(--ice); }

/* ---------- Slabs: three stacked faces, two edges showing ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.slab {
  position: relative; isolation: isolate; min-width: 0;
  margin: calc(var(--o) * 2) 0 0 calc(var(--o) * 2);
  padding: calc(var(--p) - var(--o) * 2) calc(var(--p) + var(--o) * 2) calc(var(--p) + var(--o) * 2) calc(var(--p) - var(--o) * 2);
  background: var(--apricot); border: var(--line); border-radius: var(--r);   /* back face */
}
.slab::before, .slab::after {
  content: ""; position: absolute; inset: -2px;
  border: var(--line); border-radius: var(--r);
}
.slab::after { z-index: -2; background: var(--ice); transform: translate(calc(var(--o) * -1), calc(var(--o) * -1)); }
.slab::before { z-index: -1; background: var(--white); transform: translate(calc(var(--o) * -2), calc(var(--o) * -2)); }
.slab > :last-child { margin-bottom: 0; }
.slab__icon { display: block; width: 72px; height: 72px; margin-bottom: 14px; }
.more { display: inline-flex; gap: 8px; font: 800 1rem/1.3 var(--font-head); }
.more::after { content: "\2192"; transition: transform .16s ease; }
.more:hover::after { transform: translateX(4px); }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px;
  background: var(--amber); border: 2px solid var(--navy);
}

/* ---------- Leader-line lists ---------- */
.leaders { list-style: none; margin: 0 0 1em; padding: 0; }
.leaders li { position: relative; padding: 0 0 14px 48px; }
.leaders li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 38px; height: 10px;
  background:
    radial-gradient(circle at 5px 5px, var(--amber) 0 2.5px, var(--navy) 3px 5px, transparent 5.5px) no-repeat,
    linear-gradient(var(--navy), var(--navy)) 8px 4px / 30px 2px no-repeat;
}
.leaders strong { font-family: var(--font-head); font-weight: 800; }

/* ---------- Staggered stacks (hero links, process steps) ---------- */
.stagger { --step: 14px; --n: 5; list-style: none; margin: 0 0 1em; padding: 0; }
.stagger > * {
  --i: 0; margin-top: -2px;
  margin-left: calc(var(--i) * var(--step));
  margin-right: calc((var(--n) - var(--i)) * var(--step));
}
.stagger > :nth-child(2) { --i: 1; }
.stagger > :nth-child(3) { --i: 2; }
.stagger > :nth-child(4) { --i: 3; }
.stagger > :nth-child(5) { --i: 4; }
.stagger > :nth-child(6) { --i: 5; }
.stagger > :nth-child(7) { --i: 6; }
.stagger > :nth-child(8) { --i: 7; }
.stack { --step: 18px; --n: 2; }
.stack a {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; text-decoration: none;
  background: var(--white); border: var(--line); border-radius: var(--r);
  transition: transform .2s ease;
}
.stack li:nth-child(2) a { background: var(--ice); }
.stack li:nth-child(3) a { background: var(--amber); }
.stack a:hover { transform: translateX(-8px); }
.stack strong { display: block; font: 800 1.15rem/1.2 var(--font-head); }
.stack small { display: block; font-size: .9rem; }
.stack__no {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px;
  font: 800 .85rem/1 var(--font-head); background: var(--white); border: var(--line); border-radius: 50%;
}
.steps { counter-reset: step; }
.steps > li {
  counter-increment: step; position: relative; padding: 16px 20px 16px 76px;
  background: var(--white); border: var(--line); border-radius: var(--r);
}
.steps > li:nth-child(3n+1) { background: var(--ice); }
.steps > li:nth-child(3n) { background: var(--apricot); }
.steps > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 14px;
  font: 800 1.5rem/1.2 var(--font-head);
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }

/* ---------- Interactive sections (wall, roof, pipe) ---------- */
.xsection {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px); align-items: start;
}
.figure { margin: 0; overflow: hidden; background: var(--white); border: var(--line); border-radius: var(--r); }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { padding: 10px 14px; font-size: .88rem; border-top: var(--line); background: var(--white); }
.xs-svg text { font-family: var(--font-head); font-weight: 800; fill: var(--navy); }
.xs-cap { font-size: 12px; letter-spacing: .16em; }
.xs-line { fill: none; stroke: var(--navy); stroke-width: 2; }
.xs-arrow { fill: var(--navy); }
.xs-leader { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.xs-dot, .xs-badge { fill: var(--white); stroke: var(--navy); stroke-width: 2; }
.xs-badge-t { font-size: 13px; text-anchor: middle; pointer-events: none; }
.xs-layer { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.js .xs-layer { cursor: pointer; }
.js .xs-layer:hover .xs-badge { fill: var(--apricot); }
.xs-layer.is-active { transform: translate(var(--xs-x, 0px), var(--xs-y, -22px)); }
.xs-layer.is-active .xs-badge, .js .xs-layer.is-active:hover .xs-badge { fill: var(--amber); }
.xs--side { --xs-x: 22px; --xs-y: 0px; }
.xs-list { list-style: none; margin: 0; padding: 0; }
.xs-item {
  margin-top: -2px; background: var(--white); border: var(--line); border-radius: var(--r);
  transition: transform .25s ease;
}
.js .xs-item.is-active { position: relative; background: var(--apricot); transform: translateX(-8px); }
.xs-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px;
  font: 700 1.04rem/1.25 var(--font-head); color: var(--navy); text-align: left;
  background: none; border: 0; border-radius: 4px; cursor: pointer;
}
.xs-btn:focus-visible { outline-offset: -4px; }
.xs-num {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  font: 800 .82rem/1 var(--font-head); background: var(--white); border: var(--line); border-radius: 50%;
}
.xs-btn:hover .xs-num, .xs-item.is-active .xs-num { background: var(--amber); }
.xs-desc { margin: 0; padding: 0 16px 16px 56px; font-size: .98rem; }
.js .xs-item:not(.is-active) .xs-desc { display: none; }
.legend { list-style: none; margin: 0; padding: 0; }
.legend li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 11px 0;
  border-bottom: 2px dotted rgba(20, 50, 74, .45);
}
.legend strong { font-family: var(--font-head); font-weight: 800; }

/* ---------- Outside / inside divider (illustration) ---------- */
.divide {
  --split: 50%;
  position: relative; height: clamp(230px, 32vw, 330px); overflow: hidden;
  border: var(--line); border-radius: var(--r); background: var(--amber);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.divide__zone { position: absolute; top: 0; bottom: 0; overflow: hidden; transition: width .15s ease, left .15s ease; }
.divide__zone--out {
  left: 0; width: var(--split); background-color: var(--ice);
  background-image: radial-gradient(circle, rgba(20, 50, 74, .4) 1.5px, transparent 2px); background-size: 22px 22px;
}
.divide__zone--in {
  left: var(--split); right: 0; background-color: var(--amber);
  background-image: repeating-linear-gradient(0deg, transparent 0 18px, rgba(20, 50, 74, .16) 18px 20px);
}
.divide .side-tag { position: absolute; top: 14px; margin: 0; padding: 5px 8px; font-size: .62rem; }
.divide__zone--out .side-tag { left: 12px; }
.divide__zone--in .side-tag { right: 12px; }
.divide__handle {
  position: absolute; top: 0; bottom: 0; left: var(--split); width: 36px; margin-left: -18px;
  display: grid; place-items: center; cursor: ew-resize; touch-action: none;
  border-inline: var(--line);
  background: repeating-linear-gradient(45deg, var(--white) 0 6px, var(--apricot) 6px 12px);
  transition: left .15s ease;
}
.divide__handle:focus-visible { outline-offset: -5px; }
.divide__grip {
  display: grid; place-items: center; width: 28px; height: 56px;
  background: var(--white); border: var(--line); border-radius: var(--r);
}
.divide__grip svg { width: 18px; height: 18px; }
.divide.is-dragging .divide__zone, .divide.is-dragging .divide__handle { transition: none; }

/* ---------- FAQ: native details as offset slabs ---------- */
.faq details { margin-top: -2px; background: var(--white); border: var(--line); border-radius: var(--r); }
.faq details:nth-child(odd) { margin-right: 14px; }
.faq details:nth-child(even) { margin-left: 14px; }
.faq details[open] { background: var(--ice); }
.faq summary {
  position: relative; padding: 16px 52px 16px 20px; list-style: none; cursor: pointer;
  font: 700 1.06rem/1.3 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font: 800 1.5rem/1 var(--font-head);
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:focus-visible { outline-offset: -4px; }
.faq details p { margin: 0; padding: 0 20px 18px; max-width: 70ch; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 6px; font: 700 .98rem/1.3 var(--font-head); }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: 12px 14px;
  font: inherit; color: var(--navy);
  background: var(--white); border: var(--line); border-radius: var(--r);
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 2px; background: var(--ice); }
.field [aria-invalid="true"] { border-style: dashed; background: var(--apricot); }
.field__hint { margin: 6px 0 0; font-size: .88rem; }
.field__error { margin: 6px 0 0; padding-left: 10px; font-size: .92rem; font-weight: 700; border-left: 5px solid var(--amber); }
.form__status { margin: 0; font-weight: 700; }
.form__status:empty { display: none; }
.company-rows { list-style: none; margin: 0 0 1em; padding: 0; }
.company-rows li { padding: 8px 0; border-bottom: 2px dotted rgba(20, 50, 74, .45); }
.company-rows strong { display: block; font: 800 .72rem/1.4 var(--font-head); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Footer: the base layer ---------- */
.site-footer { color: var(--white); background: var(--navy); }
.site-footer__strata {
  height: 18px; border-bottom: var(--line);
  background: var(--hatch), linear-gradient(90deg, var(--ice) 0 34%, var(--apricot) 34% 67%, var(--amber) 67%);
}
.site-footer__inner {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 32px; padding: 48px var(--pad) 36px;
}
.site-footer__brand { margin-bottom: 8px; font: 800 1.5rem/1.1 var(--font-head); }
.site-footer__h { margin-bottom: 10px; font: 800 .72rem/1.2 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a:hover { color: var(--amber); }
.site-footer :focus-visible { outline-color: var(--amber); }
.site-footer__bottom { padding: 16px var(--pad) 22px; font-size: .92rem; border-top: 2px solid rgba(255, 255, 255, .28); }
.site-footer__bottom p { margin: 0; }

/* ---------- Scroll reveal: slabs slide into their place in the stack.
   Only an offset is hidden behind .js, so content is always readable. ---------- */
.js .reveal, .js .split__side.reveal > * { transform: translate(-14px, 14px); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible, .js .split__side.reveal.is-visible > * { transform: none; }
.js .split__side.reveal { transform: none; }          /* full-bleed halves stay put; their content moves */
.js .grid > .reveal:nth-child(2) { transition-delay: .08s; }
.js .grid > .reveal:nth-child(3) { transition-delay: .16s; }
.js .grid > .reveal:nth-child(4) { transition-delay: .08s; }
.js .grid > .reveal:nth-child(5) { transition-delay: .16s; }
.js .grid > .reveal:nth-child(6) { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  :root { --o: 5px; --p: 22px; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { flex: 0 0 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  html:not(.js) .site-header { position: static; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 4px 0 16px; }
  .site-nav li { margin: -2px 0 0 calc(var(--i, 0) * 7px); }
  .site-nav li a, .site-nav li a:hover, .site-nav li.is-current a {
    padding: 13px 16px; border-bottom: var(--line); border-radius: var(--r);
  }
  .layer { display: block; }
  .layer__tab { justify-content: flex-start; border-right: 0; border-bottom: var(--line); }
  .layer__label {
    position: static; writing-mode: horizontal-tb; transform: none;
    padding: 8px 14px; white-space: normal; border-radius: 0;
  }
  .split, .split--hero, .duo, .xsection, .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .split__side + .split__side { border-left: 0; border-top: var(--line); }
  .stagger { --step: 5px; }
  .stack { --step: 8px; }
  .steps > li { padding-left: 62px; }
  .steps > li::before { left: 14px; }
  .xs-desc { padding-left: 16px; }
  .js .xs-item.is-active { transform: translateX(-5px); }
  .faq details:nth-child(odd) { margin-right: 6px; }
  .faq details:nth-child(even) { margin-left: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .split__side.reveal > * { transform: none; }
}
