/* Z Industries website. One dark room: a slate ground from top to bottom, lit things in it. */

@font-face {
  font-family: 'TikTok Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  font-stretch: 75% 150%;
  src: url(fonts/tiktok-sans-latin-wdth.woff2) format('woff2-variations'), url(fonts/tiktok-sans-latin-wdth.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'TikTok Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  font-stretch: 75% 150%;
  src: url(fonts/tiktok-sans-latin-ext-wdth.woff2) format('woff2-variations'), url(fonts/tiktok-sans-latin-ext-wdth.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #10171d;          /* the room: slate, nearly black, from the brochure */
  --surface: #17212a;     /* one step lighter, for the fields that need it */
  --surface-2: #213039;
  --ink: #e8ede6;         /* light with a green cast, never pure white */
  --muted: #b3bdb6;       /* secondary text, still 9:1 on the ground */
  --accent: #c6dc35;      /* the green of the metallic Z; only on the primary action */
  --accent-press: #b2c82a;
  --on-accent: #10171d;
  --inv-bg: #e8ede6;
  --inv-ink: #10171d;
  --inv-accent: #4b6810;
  --f-slate: #1b252d;     /* chapter fields, each the darkest tone of its picture */
  --f-oak: #22180f;
  --f-vent: #151b20;
  --f-walnut: #1e1510;

  --font: 'TikTok Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.1rem + 0.9vw, 2.125rem);
  --step-head: clamp(2.125rem, 1.4rem + 3vw, 4rem);

  --m: clamp(16px, 2.2vw, 40px);
  --g: clamp(12px, 1.6vw, 24px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px;
  background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 500; border: 0; cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}
.btn:hover { background: #d4e85a; color: var(--on-accent); }
.btn:active { transform: translateY(1px); background: var(--accent-press); }
.btn-line {
  min-height: 48px; padding: 12px 20px; background: var(--surface-2); color: var(--ink); border: 0; cursor: pointer; font-weight: 500;
  transition: background-color .2s ease, transform .15s ease;
}
.btn-line:hover { background: #2b3c47; }
.btn-line:active { transform: translateY(1px); }
.btn-line[aria-pressed="true"] { background: #33464f; }
.text-link { text-decoration: underline; font-weight: 500; }

/* -------------------------------------------------------------- the stage ---- */
/* Desktop: the 3D view is fixed behind the hero and the builder (it lives inside the builder in the markup,
   so on phones it can pin itself above the builder's controls). */
.stage { position: relative; }
.stage-view { position: fixed; inset: 0; z-index: -1; background: var(--bg); }
.stage-off .stage-view { visibility: hidden; }
#zi3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#zi3d:active { cursor: grabbing; }
.light-note { position: absolute; left: var(--m); bottom: 20px; font-size: var(--step-small); color: var(--muted); max-width: 40ch; }
html:not(.has-3d) .stage-view { display: none; }
.stage-flow { position: relative; }

/* nav, laid over the top of the first screen */
.site-nav { position: absolute; top: 0; right: 0; z-index: 10; padding: 22px var(--m); }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink); padding: 6px 0; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
.menu-btn { display: none; }

/* hero: the lit window above, the name below */
.hero { position: relative; height: 100vh; /* taste-skill-ignore: fallback for browsers without svh */ height: 100svh; display: grid; grid-template-rows: 58fr 42fr; }
.hero-view { grid-row: 1; position: relative; overflow: hidden; }
.hero-still { width: 100%; height: 100%; object-fit: cover; }
.has-3d .hero-view { pointer-events: none; }
.has-3d .hero-still { visibility: hidden; }
.hero-band {
  grid-row: 2; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px var(--m) 22px; overflow: hidden;
}
.hero-strip { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; order: 1; }
.hero-strip p { max-width: 38ch; font-size: var(--step-body); }
.hero-name {
  font-size: calc((100vw - 2 * var(--m)) * 0.2025); line-height: 0.8; font-weight: 300; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; margin: 0 0 -0.04em -0.04em;
}
.hero-name { order: 2; }
.hero-name span { display: inline-block; transform-origin: 0 100%; will-change: transform; }

/* the builder */
.build { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: 96px var(--m) 120px; min-height: 100vh; pointer-events: none; }
.build-panel { grid-column: 7 / 13; background: var(--bg); padding: 40px clamp(20px, 3vw, 48px) 48px; pointer-events: auto; }
.build h2 { font-size: var(--step-head); line-height: 1; font-stretch: 80%; font-weight: 300; letter-spacing: -0.01em; text-transform: uppercase; }
.build .lead { margin-top: 20px; max-width: 46ch; }
.about-more { margin-top: 1.5em; max-width: 60ch; color: var(--muted); }
.builder { margin-top: 36px; }
.opts { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.opts legend { padding: 0; margin-bottom: 12px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .swatch { position: relative; cursor: pointer; }
.chip input, .swatch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: block; padding: 10px 14px; background: var(--surface); transition: background-color .2s ease, color .2s ease; }
.chip:hover span { background: var(--surface-2); }
.chip input:checked + span { background: var(--ink); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { display: flex; flex-direction: column; gap: 8px; width: 88px; padding: 8px; background: var(--surface); transition: background-color .2s ease; }
.swatch img { width: 72px; height: 104px; object-fit: cover; }
.swatch span { font-size: var(--step-small); line-height: 1.3; }
.swatch:hover { background: var(--surface-2); }
.swatch:has(input:checked) { background: var(--ink); color: var(--bg); }
.swatch input:focus-visible ~ span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-row { display: grid; grid-template-columns: 9.5em 7.5em 1fr; align-items: center; gap: 12px; margin-bottom: 12px; }
.size-row label { font-size: var(--step-body); }
input[type=number], input[type=text] {
  width: 100%; min-height: 48px; padding: 10px 12px; background: var(--surface); border: 0; border-bottom: 2px solid var(--surface-2);
  color: var(--ink); font-variant-numeric: tabular-nums;
}
input[type=number]:focus, input[type=text]:focus { border-bottom-color: var(--accent); outline: none; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.hint { font-size: var(--step-small); color: var(--muted); margin: 4px 0 16px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty-label { margin-right: 8px; }
.qty button { width: 48px; height: 48px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 1.25rem; transition: background-color .2s ease; }
.qty button:hover { background: #2b3c47; }
.qty input { width: 4.5em; text-align: center; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; padding: 24px 0; margin-bottom: 8px; }
.readout .fig { display: block; font-size: var(--step-head); line-height: 1; font-weight: 300; font-stretch: 80%; font-variant-numeric: tabular-nums; }
.readout .spec { grid-column: 1 / -1; color: var(--muted); margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.actions .note { flex-basis: 100%; }
.note { font-size: var(--step-small); color: var(--muted); }
.schedule { margin-bottom: 24px; overflow-x: auto; }
.schedule table { width: 100%; border-collapse: collapse; font-size: var(--step-small); }
.schedule caption { text-align: left; font-weight: 500; font-size: var(--step-body); padding-bottom: 8px; }
.schedule th, .schedule td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--surface-2); vertical-align: top; }
.schedule .num { text-align: right; font-variant-numeric: tabular-nums; }
.schedule tfoot th, .schedule tfoot td { font-weight: 500; border-bottom: 0; }
.row-del { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.row-del:hover { color: var(--accent); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 28px; }
.who label { grid-row: 1; }
.who label span { color: var(--muted); font-size: var(--step-small); }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* ------------------------------------------------------------- chapters ---- */
.chapter {
  position: relative; min-height: 100vh; /* taste-skill-ignore: fallback for browsers without svh */ min-height: 100svh; display: grid; place-items: center;
  padding: 112px var(--m) 112px; overflow: hidden;
}
.ch-sliding { background: var(--f-slate); }
.ch-casement { background: var(--f-oak); }
.ch-vent { background: var(--f-vent); }
.ch-doors { background: var(--f-walnut); }
.chapter h2 { position: absolute; top: 32px; left: var(--m); font-size: var(--step-lead); line-height: 1.1; }
.portrait { margin: 0; }
.portrait img { width: auto; height: min(75vh, 675px); height: min(75svh, 675px); aspect-ratio: 3 / 4; object-fit: cover; }
.ch-text { position: absolute; left: var(--m); bottom: 32px; max-width: 32ch; }
.ch-link { position: absolute; right: var(--m); bottom: 32px; font-weight: 500; text-decoration: underline; }

/* ------------------------------------------------------------- features ---- */
.features { background: var(--bg); padding: 20vh var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.features h2 { grid-column: 1 / 13; font-size: var(--step-lead); margin-bottom: 96px; }
.feature-cols { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.fcol:nth-child(1) { grid-column: 1 / 4; }
.fcol:nth-child(2) { grid-column: 4 / 7; }
.fcol:nth-child(3) { grid-column: 7 / 10; }
.fcol h3 { font-size: var(--step-body); font-weight: 500; margin-bottom: 1.25em; }
.fcol li { margin: 0; }
.cap {
  display: block; width: 100%; text-align: left; background: none; border: 0; padding: 3px 0; cursor: default;
  font-size: var(--step-body); line-height: 1.25; color: var(--muted); transition: color .2s ease;
}
.cap:hover, .cap:focus-visible { color: var(--ink); }
.fsum { display: none; }
.feature-note { grid-column: 10 / 13; grid-row: 1; color: var(--muted); transition: color .2s ease; }
.feature-note.on { color: var(--ink); }

/* ---------------------------------------------------------------- about ---- */
.about { padding: 140px var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); background: var(--surface); }
.facts { grid-column: 1 / 3; font-size: var(--step-small); color: var(--muted); padding-top: 72px; }
.facts li { margin-bottom: 10px; }
.about-text { grid-column: 3 / 13; }
.about-text h2 { font-size: var(--step-lead); margin-bottom: 28px; }
.statement { font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); line-height: 1.25; max-width: 52ch; color: var(--muted); }
.statement strong { color: var(--ink); font-weight: 500; }
.statement.soft { margin-top: 1.25em; }
.dropcap { float: left; width: 3.75em; height: 3.75em; margin: 0.18em 0.5em 0 0; object-fit: cover; }

/* -------------------------------------------------------------- process ---- */
.process { --col: calc((100cqw - 11 * var(--g)) / 12); container-type: inline-size; padding: 160px var(--m) 200px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.process h2 { grid-column: 7 / 13; grid-row: 1; font-size: var(--step-head); font-weight: 300; font-stretch: 80%; text-transform: uppercase; line-height: 1; }
.stage-one h2 + figure { grid-row: 1; }
.process figure { margin: 0; }
.process img { width: 100%; height: auto; }
.process p { max-width: 36ch; }
.process strong { font-weight: 500; }
.stage-one, .stage-two, .stage-three { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.stage-one { grid-row: 1; }
.stage-one figure { grid-column: 1 / 5; grid-row: 1; }
.stage-one p { grid-column: 7 / 11; grid-row: 1; margin-top: calc(var(--step-head) * 2.4); }
.stage-two { grid-row: 2; margin-top: calc(220px - (4 * var(--col) + 3 * var(--g)) * 4 / 3); }
.stage-two figure { grid-column: 6 / 9; }
.stage-two p { grid-column: 9 / 12; }
.stage-three { grid-row: 3; margin-top: 180px; }
.stage-three figure { grid-column: 8 / 13; grid-row: 1; }
.stage-three p { grid-column: 4 / 8; grid-row: 1; justify-self: end; padding-right: var(--g); }

/* ------------------------------------------------------------------ faq ---- */
.faq { background: var(--surface); padding: 0 var(--m) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.faq-text { grid-column: 1 / 6; padding: 140px 0 140px; }
.faq h2 { font-size: var(--step-head); font-weight: 300; font-stretch: 80%; text-transform: uppercase; line-height: 1; margin-bottom: 36px; }
.faq-facts { margin-bottom: 40px; }
.faq-facts li { margin-bottom: 6px; }
.faq details { margin-bottom: 28px; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding-right: 36px; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.faq summary::before { transform: translate(-6px, 0) rotate(45deg); }
.faq summary::after { transform: rotate(-45deg); }
.faq details[open] summary::before { transform: translate(-6px, 0) rotate(-45deg); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--muted); margin-top: 8px; max-width: 52ch; }
.faq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; }
.faq-pics { grid-column: 7 / 13; position: relative; margin-top: -80px; margin-bottom: 80px; }
.faq-pics .tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq-pics .square { position: absolute; left: -40px; bottom: -40px; width: 34%; aspect-ratio: 1; object-fit: cover; }

/* -------------------------------------------------------------- contact ---- */
.contact {
  position: relative; min-height: 100vh; /* taste-skill-ignore: fallback for browsers without svh */ min-height: 100svh; background: var(--inv-bg); color: var(--inv-ink);
  padding: 40px var(--m); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden;
}
.contact a:hover { color: var(--inv-accent); }
.contact h2 { font-size: var(--step-lead); max-width: 26ch; line-height: 1.2; }
.contact-mail { grid-row: 3; align-self: end; margin-bottom: 9vh; }
.contact-mail a {
  display: block; font-size: calc((100vw - 2 * var(--m)) * 0.105); line-height: 1; font-weight: 300; font-stretch: 75%;
  letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: color .25s ease;
}
.contact-left, .contact-right { grid-row: 4; font-size: var(--step-small); }
.contact-left { justify-self: start; }
.contact-right { justify-self: end; display: flex; gap: 20px; grid-column: 1; }
.contact-right a, .contact-left a { font-weight: 500; }

/* --------------------------------------------------------------- footer ---- */
.site-foot { min-height: 72vh; display: grid; grid-template-rows: auto 1fr auto auto; padding: 40px var(--m) 20px; }
.foot-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.foot-cols > div { grid-column: span 3; }
.foot-cols h2 { font-size: var(--step-body); font-weight: 500; margin-bottom: 8px; }
.foot-cols p, .foot-cols li { color: var(--muted); }
.foot-cols li { margin-bottom: 4px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-name {
  grid-row: 3; font-size: calc((100vw - 2 * var(--m)) * 0.2025); line-height: 0.8; font-weight: 300; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; margin: 0 0 20px -0.04em; transform-origin: 50% 100%;
}
.legal { grid-row: 4; font-size: var(--step-small); color: var(--muted); }

/* ---------------------------------------------------------------- motion ---- */
[data-reveal-item] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.pre [data-reveal-item] { opacity: 0; transform: translateY(24px); }
.js .chapter { clip-path: inset(20px); transition: clip-path .6s ease-out; }
.js .chapter.is-in { clip-path: inset(0); }
.js .chapter .portrait img { transform: scale(.92); transition: transform .8s ease-out; }
.js .chapter.is-in .portrait img { transform: scale(1); }
.js .chapter h2, .js .chapter .ch-text, .js .chapter .ch-link { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) .25s, transform .6s var(--ease) .25s; }
.js .chapter.is-in h2, .js .chapter.is-in .ch-text, .js .chapter.is-in .ch-link { opacity: 1; transform: none; }
.js .chapter.is-in .ch-text { transition-delay: .33s; }
.js .chapter.is-in .ch-link { transition-delay: .41s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .js .chapter { clip-path: none; }
  .js .chapter .portrait img, .js .chapter h2, .js .chapter .ch-text, .js .chapter .ch-link { transform: none; opacity: 1; }
  .pre [data-reveal-item] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------- tablet and phone ---- */
@media (max-width: 1023px) {
  .stage-view { position: sticky; top: 0; z-index: 3; height: 46vh; /* taste-skill-ignore: fallback for browsers without svh */ height: 46svh; inset: auto; margin: 24px calc(-1 * var(--m)) 0; }
  .light-note { bottom: 10px; }
  .hero { height: auto; display: block; }
  .hero-view { height: 46vh; /* taste-skill-ignore: fallback for browsers without svh */ height: 46svh; }
  .has-3d .hero-still { visibility: visible; }
  .hero-band { padding: 20px var(--m) 32px; gap: 20px; }
  .hero-name { order: 1; font-size: 21vw; line-height: 0.85; white-space: normal; margin: 0; }
  .hero-name span { display: inline; }
  .hero-strip { order: 2; flex-direction: column; gap: 20px; }
  .hero-strip p { font-size: 1.125rem; }
  .site-nav { padding: 14px var(--m); }
  .menu-btn { display: block; background: none; border: 0; padding: 10px 0; font-weight: 500; cursor: pointer; min-height: 44px; }
  .site-nav ul { display: none; position: absolute; right: var(--m); top: 58px; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 20px; min-width: 200px; }
  .site-nav.open ul { display: flex; }
  .site-nav ul a { display: block; padding: 12px 0; }
  .build { display: block; padding: 0; min-height: 0; pointer-events: auto; }
  .build-panel { padding: 48px var(--m) 64px; }
  .builder { margin-top: 28px; }
  .size-row { grid-template-columns: 1fr 7em; }
  .size-row input[type=range] { grid-column: 1 / -1; }
  .chapter { padding: 88px var(--m) 140px; }
  .chapter h2 { top: 24px; }
  .portrait img { width: 80vw; height: auto; max-width: 506px; }
  .ch-text { bottom: 64px; max-width: none; right: var(--m); }
  .ch-link { left: var(--m); right: auto; bottom: 24px; }
  .features { padding: 96px var(--m); display: block; }
  .features h2 { margin-bottom: 48px; }
  .feature-cols { display: block; }
  .fcol { margin-bottom: 40px; }
  .cap { font-size: 1.125rem; line-height: 1.4; }
  .fsum { display: block; margin-top: 12px; color: var(--muted); }
  .feature-note { display: none; }
  .about { display: flex; flex-direction: column; padding: 96px var(--m); }
  .about-text { order: 1; }
  .facts { order: 2; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 32px; }
  .dropcap { width: 4.6em; height: 4.6em; }
  .process { display: block; padding: 96px var(--m); }
  .process h2 { margin-bottom: 40px; font-size: clamp(1.875rem, 1.2rem + 3vw, 2.5rem); }
  .stage-one, .stage-two, .stage-three { display: block; margin: 0 0 56px; }
  .stage-one figure { width: 100%; }
  .stage-two figure { width: 62%; margin-left: auto; }
  .stage-three figure { width: 78%; }
  .stage-one p, .stage-two p, .stage-three p { margin-top: 16px; padding: 0; }
  .stage-two p { margin-left: 38%; }
  .faq { display: flex; flex-direction: column-reverse; padding: 0 var(--m); }
  .faq-text { padding: 56px 0 96px; }
  .faq h2 { font-size: clamp(1.875rem, 1.2rem + 3vw, 2.5rem); }
  .faq-pics { margin: 56px 0 0; }
  .faq-pics .tall { aspect-ratio: 4 / 5; }
  .faq-pics .square { left: auto; right: 0; bottom: -32px; width: 38%; }
  .faq-actions .btn { width: 100%; }
  .contact { min-height: 86vh; /* taste-skill-ignore: fallback for browsers without svh */ min-height: 86svh; }
  .contact h2 { font-size: 1.25rem; }
  .contact-mail { margin-bottom: 6vh; }
  .contact-mail a { white-space: normal; font-size: 9.4vw; line-height: 1.02; overflow-wrap: anywhere; }
  .contact-left { grid-row: 4; }
  .contact-right { grid-row: 5; justify-self: start; flex-direction: column; gap: 12px; margin-top: 12px; }
  .foot-cols > div { grid-column: span 6; margin-bottom: 32px; }
  .foot-name { font-size: 21vw; white-space: normal; line-height: 0.85; }
}

/* Desktop: pointer events pass through the transparent parts of the first two screens to the 3D view. */
@media (min-width: 1024px) {
  .has-3d .stage, .has-3d .stage-flow, .has-3d .hero, .has-3d .build { pointer-events: none; }
  .has-3d .hero-band, .has-3d .build-panel { pointer-events: auto; }
}

.foot-cols a { overflow-wrap: anywhere; }
