/* Sixpitch Roofing & Exteriors: concept demo. A studio-stone stage for the roof, slate ink, chalk paper, one tape-measure yellow. */
:root {
  --ink: #141a20;
  --ink-deep: #0d1216;
  --ink-soft: #232c35;
  --paper: #eceef0;
  --white: #f8f9fa;
  --stone: #c9c4b8;
  --stone-deep: #bcb6a9;
  --stone-ink: #3b434c;
  --slate: #4a5560;
  --mist: #c6ccd2;
  --line: #d3d0c8;
  --line-dark: #323c46;
  --yellow: #f2b81b;
  --pad: clamp(18px, 4.2vw, 64px);
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --rail-h: 78px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fg: var(--ink); --fg2: var(--slate); --rule: var(--line); --ring: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, ul, dl, dd, dt, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
p, li, dd, summary { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }

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

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 32px; background: var(--ink); color: var(--white); border: 0; border-radius: 3px; font: 600 1.125rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.btn:hover { background: var(--yellow); color: var(--ink); }
.book .btn { background: var(--yellow); color: var(--ink); }
.book .btn:hover { background: var(--white); }
.arrow-link { display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; font-weight: 600; text-decoration: underline; color: var(--fg); }
.arrow-link span { display: inline-block; transition: transform 0.4s var(--ease); }
.arrow-link:hover span { transform: translate(3px, 3px); }

/* sections arrive as they are reached (only when motion is welcome and JavaScript is running) */
.reveal [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity 1s ease, transform 1.3s var(--ease); }
.reveal [data-reveal].is-in { opacity: 1; transform: none; }
.reveal [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.reveal [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.reveal [data-reveal]:nth-child(4) { transition-delay: 0.24s; }

/* ---------- header (sits over the top of the stage, scrolls away) ---------- */
.top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); color: var(--ink); }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__mark { align-self: center; flex: none; }
.brand__name { font: 800 1.6rem/1 var(--display); letter-spacing: -0.03em; }
.brand__sub { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; color: var(--stone-ink); }
.top__concept { font-size: 0.8125rem; color: var(--stone-ink); padding-left: 28px; border-left: 1px solid rgba(20, 26, 32, 0.35); }
.top__nav { margin-left: auto; display: flex; gap: 30px; font-size: 0.9375rem; font-weight: 600; }
.top__nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.top__nav a:hover { text-decoration: underline; }
.top__nav a:last-child { padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 3px; }
.top__nav a:last-child:hover { background: var(--ink); color: var(--white); text-decoration: none; }

/* ---------- the roof story: default (still) layout ---------- */
.story { position: relative; background: var(--stone); color: var(--ink); --fg: var(--ink); --fg2: var(--stone-ink); --rule: rgba(20, 26, 32, 0.3); }
.stage { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; column-gap: 24px; padding: 96px var(--pad) 0; }
.visual { grid-column: 2; grid-row: 1; position: relative; }
.visual__poster { width: 100%; height: auto; }
.stage__canvas, .stage__leader, .rail { display: none; }
.hero { grid-column: 1; grid-row: 1; max-width: 40rem; padding: 24px 0 56px; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4.2rem); letter-spacing: -0.04em; line-height: 0.94; }
.h1-turn { color: #5c6066; display: block; margin-top: 0.12em; }
.hero__lede { margin-top: 1.7rem; font-size: 1.1875rem; color: var(--fg2); max-width: 31rem; }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.layers { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 80px); margin: 24px calc(var(--pad) * -1) 0; padding: clamp(56px, 8vw, 110px) var(--pad); background: var(--paper); color: var(--ink); --fg: var(--ink); --fg2: var(--slate); --rule: var(--line); }
.layers__intro { grid-column: 1 / -1; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 64px); }
.layers__intro h2, .section-head h2, .outro h2, .book h2, .faq h2, .colour h2 { font-size: clamp(2.3rem, 4.8vw, 4.6rem); letter-spacing: -0.035em; line-height: 0.96; }
.layers__intro p { margin-top: 1rem; color: var(--fg2); font-size: 1.125rem; }
.diagram { grid-column: 1; align-self: start; position: sticky; top: 24px; background: var(--stone); border-radius: 3px; }
.diagram__frame { position: relative; margin: 0 auto; }
.diagram__mark { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 700 0.875rem/1 var(--display); border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.layers__list { grid-column: 2; }
.layer { padding: 26px 0 28px; border-top: 1px solid var(--rule); }
.layer:last-child { border-bottom: 1px solid var(--rule); }
.layer__num { font: 600 0.875rem/1 var(--body); color: var(--fg2); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.layer__num span { color: var(--fg); }
.layer h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-top: 0.6rem; }
.layer__why { margin-top: 0.8rem; max-width: 30rem; }
.layer__skip { margin-top: 0.9rem; padding-left: 14px; border-left: 3px solid var(--yellow); max-width: 30rem; color: var(--fg2); }
.layer__skip strong { color: var(--fg); font-weight: 600; }
.outro { grid-column: 2; padding-top: clamp(40px, 6vw, 72px); max-width: 36rem; }
.outro p { margin: 1rem 0 0.75rem; color: var(--fg2); font-size: 1.125rem; }

/* ---------- the roof story: the scroll film ---------- */
.live .story { height: calc(100svh + 9.6 * 70svh); }
.live .stage { position: sticky; top: 0; height: 100svh; display: block; padding: 0; overflow: hidden; }
.live .visual { position: absolute; top: 64px; bottom: calc(var(--rail-h) + 4px); left: 36%; right: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 80%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 84%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 80%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 84%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.live .visual__poster, .live .stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.live .visual__poster { object-fit: contain; }
.live .stage__canvas { display: block; visibility: hidden; pointer-events: none; }
.live .is-film .stage__canvas { visibility: visible; }
.live .is-film .visual__poster { visibility: hidden; }
.live .stage__leader { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; }
.live .stage__leader.is-on { opacity: 1; transition-delay: 0.25s; }
.stage__leader line { stroke: var(--ink); stroke-width: 1.25; }
.stage__leader circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.75; }

.live .layers { display: block; padding: 0; margin: 0; border: 0; position: static; background: none; color: var(--ink); --fg: var(--ink); --fg2: var(--stone-ink); --rule: rgba(20, 26, 32, 0.3); }
.live .hero, .live .layer, .live .outro { position: absolute; left: var(--pad); width: min(36%, 31rem); top: 50%; margin-top: calc(var(--rail-h) / -2 + 22px); transform: translateY(-50%); padding: 0; border: 0; max-width: none; }
.live .hero { width: min(44%, 42rem); transition: opacity 0.6s ease; z-index: 1; }
.live .stage:not([data-step="0"]) .hero { opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.live .stage:not([data-step="0"]) .hero__actions { visibility: hidden; transition: visibility 0s linear 0.4s; }
.live .diagram { display: none; }
.live .layers__intro { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.live .layer, .live .outro { opacity: 0; transform: translateY(calc(-50% + 26px)); transition: opacity 0.4s ease, transform 0.9s var(--ease); pointer-events: none; }
.live .outro { visibility: hidden; transition: opacity 0.4s ease, transform 0.9s var(--ease), visibility 0s linear 0.4s; }
.live .layer.is-active, .live .outro.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; transition-delay: 0.14s; }
.live .outro.is-active { visibility: visible; transition: opacity 0.6s ease 0.14s, transform 0.9s var(--ease) 0.14s, visibility 0s; }
.live .layer:last-child { border: 0; }
/* the big number behind each label */
.live .layer::before { content: attr(data-n) / ""; position: absolute; left: -0.05em; bottom: calc(100% - 0.02em); z-index: -1; font: 800 clamp(9rem, 19vw, 19rem)/0.8 var(--display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(20, 26, 32, 0.22); pointer-events: none; }
.live .layer__num { font-size: 0.9375rem; }
.live .layer h3 { font-size: clamp(2.6rem, 5vw, 5rem); margin-top: 0.9rem; letter-spacing: -0.04em; }
.live .layer__why { font-size: 1.1875rem; margin-top: 1.2rem; }
.live .layer__skip { margin-top: 1.3rem; padding: 2px 0 2px 16px; border-left-width: 4px; font-size: 1.0625rem; }
.live .outro h2 { font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -0.04em; }

.live .rail { display: flex; align-items: stretch; position: absolute; left: 0; right: 0; padding: 0 var(--pad); bottom: 0; height: var(--rail-h); background: var(--ink); color: var(--white); z-index: 2; --ring: var(--yellow); }
.rail ol { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); flex: 1; }
.rail button { position: relative; width: 100%; height: 100%; padding: 16px 8px 0 0; background: none; border: 0; text-align: left; font: 400 0.875rem/1.25 var(--body); color: var(--mist); cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.rail button::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.rail button[aria-current="step"]::before { transform: scaleX(1); }
.rail button:focus-visible { outline-offset: -3px; }
.rail button[aria-current="step"], .rail button:hover { color: #fff; }
.rail button[aria-current="step"] .rail__t { font-weight: 600; }
.rail__n { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.rail__skip { align-self: center; margin-left: 24px; font-size: 0.875rem; font-weight: 600; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; color: #fff; }

/* ---------- ordinary sections ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 80px); align-items: end; }
.section-head p { color: var(--fg2); font-size: 1.1875rem; max-width: 27rem; padding-bottom: 0.5rem; }

.facts { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 96px) 0; }
.facts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts__row > div { padding: 4px 28px 4px 0; }
.facts__row > div + div { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.facts dt { font: 800 clamp(4.4rem, 9vw, 9rem)/0.82 var(--display); letter-spacing: -0.06em; color: var(--yellow); }
.facts dd { margin-top: 1.1rem; color: var(--mist); max-width: 15rem; }

.anatomy { background: var(--paper); padding: clamp(88px, 12vw, 180px) 0 clamp(40px, 6vw, 80px); }
.anatomy__list { margin-top: clamp(48px, 7vw, 110px); display: grid; row-gap: clamp(56px, 9vw, 140px); }
.shot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; column-gap: clamp(28px, 6vw, 110px); padding-right: var(--pad); max-width: 1680px; }
.shot--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); padding: 0 0 0 var(--pad); margin-left: auto; width: 100%; }
.shot--flip .shot__img { order: 2; }
.shot__img { background: var(--stone); overflow: hidden; }
.shot__img img { width: 100%; transition: transform 2.4s var(--ease); }
.shot:hover .shot__img img { transform: scale(1.035); }
.shot__n { font: 600 0.875rem/1 var(--body); letter-spacing: 0.04em; color: var(--slate); }
.shot h3 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); letter-spacing: -0.04em; margin-top: 0.8rem; }
.shot figcaption > p:not(.shot__n) { margin-top: 1.2rem; font-size: 1.1875rem; color: var(--slate); max-width: 28rem; }
.shot__spec { margin-top: 1.8rem; border-top: 2px solid var(--ink); max-width: 28rem; }
.shot__spec > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.shot__spec dt { font-weight: 600; }
.shot__spec dd { color: var(--slate); }

.colour { background: var(--stone); padding: clamp(80px, 10vw, 150px) 0; --fg2: var(--stone-ink); }
.colour__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(24px, 4vw, 64px); align-items: center; }
.colour__text > p { margin-top: 1.3rem; font-size: 1.1875rem; color: var(--stone-ink); max-width: 27rem; }
.swatches { border: 0; padding: 0; margin-top: 2.2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 27rem; }
.swatches legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.swatches label { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 14px 8px 8px; border: 1.5px solid rgba(20, 26, 32, 0.3); border-radius: 3px; cursor: pointer; font-weight: 600; transition: border-color 0.3s ease, background-color 0.3s ease; }
.swatches input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.swatch { width: 46px; height: 46px; flex: none; background: var(--c); border-radius: 2px; }
.swatches label:hover { border-color: var(--ink); }
.swatches label:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.swatches label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.colour__text > .colour__note { margin-top: 1.6rem; font-size: 0.9375rem; }
.colour__stage { position: relative; aspect-ratio: 4 / 3; }
.colour__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.9s ease; }
.colour__stage img.is-on { opacity: 1; }

.services { background: var(--white); padding: clamp(88px, 12vw, 180px) 0; --fg2: var(--slate); }
.service-list { margin-top: clamp(40px, 6vw, 88px); border-top: 2px solid var(--ink); }
.service-list li { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.6fr); column-gap: clamp(20px, 4vw, 64px); align-items: baseline; padding: clamp(22px, 2.8vw, 38px) 0; border-bottom: 1px solid var(--line); transition: padding-left 0.6s var(--ease), background-color 0.4s ease; }
.service-list li:hover { padding-left: 18px; background: var(--paper); }
.service-list h3 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); letter-spacing: -0.035em; }
.service-list p { color: var(--slate); }
.service-list .service-list__meta { font-size: 0.9375rem; font-weight: 600; color: var(--ink); text-align: right; }

.band { background: var(--yellow); color: var(--ink); padding: clamp(80px, 11vw, 160px) 0; }
.band h2 { font-size: clamp(2.5rem, 6.4vw, 6.2rem); letter-spacing: -0.045em; line-height: 0.94; max-width: 16ch; }
.spec { width: 100%; margin-top: clamp(40px, 6vw, 80px); border-collapse: collapse; text-align: left; font-size: 1.0625rem; }
.spec caption { text-align: left; font-weight: 600; padding-bottom: 14px; }
.spec thead th { font-weight: 600; font-size: 0.875rem; padding: 12px 16px 12px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.spec tbody th, .spec td { padding: 16px 16px 17px 0; border-bottom: 1px solid rgba(20, 26, 32, 0.35); vertical-align: baseline; }
.spec tbody th { font: 700 1.3rem/1.15 var(--display); letter-spacing: -0.015em; white-space: nowrap; }
.spec tbody th span { display: inline-block; width: 2.4em; font: 600 0.875rem/1 var(--body); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

.day { background: var(--ink); color: var(--white); padding: clamp(88px, 12vw, 180px) 0; --fg2: var(--mist); --ring: var(--yellow); }
.timeline { margin-top: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--white); }
.timeline li { padding: 22px 28px 44px 0; border-bottom: 1px solid var(--line-dark); }
.timeline li:not(:nth-child(4n + 1)) { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.timeline__t { font: 800 clamp(3rem, 5.6vw, 5.4rem)/0.9 var(--display); letter-spacing: -0.05em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.5rem; line-height: 1.08; margin-top: 1.3rem; }
.timeline li > p:last-child { margin-top: 0.7rem; color: var(--mist); font-size: 1rem; }

.estimate { padding: clamp(88px, 12vw, 180px) 0; --fg2: var(--slate); }
.steps { margin-top: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 22px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 800 clamp(3.6rem, 7vw, 6.4rem)/0.9 var(--display); letter-spacing: -0.05em; color: var(--stone-deep); }
.steps h3 { font-size: 1.5rem; line-height: 1.08; margin-top: 1.2rem; }
.steps p { margin-top: 0.7rem; color: var(--slate); font-size: 1rem; }

.faq { background: var(--white); padding: clamp(88px, 12vw, 180px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: clamp(28px, 6vw, 110px); align-items: start; }
.faq h2 { position: sticky; top: 32px; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 56px 24px 0; font: 700 clamp(1.3rem, 2vw, 1.7rem)/1.15 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 2px; margin-top: -1px; background: var(--ink); transition: transform 0.5s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 56px 26px 0; color: var(--slate); max-width: 38rem; font-size: 1.0625rem; }

.book { background: var(--ink); color: var(--white); padding: clamp(88px, 12vw, 170px) 0; --ring: var(--yellow); }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 7vw, 120px); align-items: start; }
.book__intro p { margin-top: 1.2rem; font-size: 1.1875rem; color: #d5dade; max-width: 28rem; }
.book__intro .book__note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); font-size: 0.9375rem; color: #b6bfc7; }
.book__form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.book__form legend, .field label { display: block; padding: 0; font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
.choice { display: flex; align-items: center; gap: 14px; min-height: 52px; border-top: 1px solid var(--line-dark); cursor: pointer; }
.choice:last-of-type { border-bottom: 1px solid var(--line-dark); }
.choice input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid #b6bfc7; border-radius: 2px; background: transparent; flex: none; }
.choice input:checked { background: var(--yellow); border-color: var(--yellow); box-shadow: inset 0 0 0 4px var(--ink); }
.field { margin-bottom: 22px; }
.field__opt { font-weight: 400; color: #b6bfc7; font-size: 0.875rem; margin-left: 6px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; background: transparent; color: var(--white); border: 1px solid #8894a0; border-radius: 3px; font: 400 1.0625rem/1.4 var(--body); }
.field textarea { resize: vertical; }
.book__status { min-height: 1.6em; margin-top: 16px; color: var(--yellow); font-weight: 600; }

.foot { background: var(--ink-deep); color: #c3cad1; padding: clamp(56px, 8vw, 110px) 0 56px; font-size: 0.9375rem; --ring: var(--yellow); }
.foot__big { font: 800 clamp(3rem, 10.5vw, 11rem)/0.86 var(--display); letter-spacing: -0.055em; color: var(--white); text-wrap: balance; }
.foot__grid { margin-top: clamp(40px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px clamp(24px, 5vw, 80px); }
.foot__name { font: 700 1.25rem/1.2 var(--display); color: var(--white); margin-bottom: 0.4rem; }
.foot a { display: inline-flex; align-items: center; min-height: 32px; }
.foot__concept { margin-top: 40px; max-width: 50ch; color: #9aa4ae; }

/* ---------- narrower screens ---------- */
@media (max-width: 1180px) {
  .top__concept { display: none; }
  .top__nav { gap: 22px; }
  .rail__skip { position: absolute; right: var(--pad); bottom: calc(var(--rail-h) + 4px); margin: 0; color: var(--ink); }
  .stage[data-step="0"] .rail__skip, .stage[data-step="9"] .rail__skip { visibility: hidden; }
}
@media (max-width: 899px) {
  :root { --rail-h: 56px; }
  .top { padding: 8px var(--pad) 0; gap: 0 12px; flex-wrap: wrap; }
  .brand__sub { display: none; }
  .top__nav a:not(:last-child) { display: none; }
  .top__nav a:last-child { min-height: 40px; padding: 0 12px; }
  .top__concept { display: block; order: 3; flex-basis: 100%; border: 0; padding: 0; margin-top: -2px; font-size: 0.75rem; line-height: 1.3; }
  .stage { grid-template-columns: minmax(0, 1fr); padding-top: 76px; }
  .visual, .hero, .diagram, .layers__list, .outro { grid-column: 1; }
  .visual { grid-row: 1; margin: 0 calc(var(--pad) * -1); }
  .hero { grid-row: 2; padding: 4px 0 44px; }
  h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero__lede { font-size: 1.0625rem; margin-top: 1rem; }
  .hero__actions { margin-top: 1.1rem; gap: 4px 28px; }
  .layers { grid-template-columns: minmax(0, 1fr); }
  .diagram { position: static; margin: 0 0 32px; }
  .section-head, .book__grid, .colour__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .book__grid { row-gap: 40px; }
  .faq h2 { position: static; margin-bottom: 20px; }
  .facts__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 36px; }
  .facts__row > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts__row > div:nth-child(even) { padding-left: 18px; padding-right: 0; }
  .shot, .shot--flip { grid-template-columns: minmax(0, 1fr); padding: 0; row-gap: 22px; }
  .shot--flip .shot__img { order: 0; }
  .shot figcaption { padding: 0 var(--pad); }
  .colour__stage { order: -1; margin: 0 calc(var(--pad) * -1) 12px; }
  .service-list li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .service-list li:hover { padding-left: 0; background: none; }
  .service-list .service-list__meta { text-align: left; }
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .spec, .spec tbody, .spec tr, .spec tbody th, .spec td { display: block; }
  .spec caption { display: block; }
  .spec tr { padding: 14px 0 16px; border-bottom: 1px solid rgba(20, 26, 32, 0.35); }
  .spec tbody th, .spec td { padding: 0; border: 0; white-space: normal; }
  .spec td { margin-top: 4px; }
  .spec td:last-child { font-size: 0.9375rem; }
  .spec td:last-child::before { content: "Check: "; font-weight: 600; }
  .steps, .timeline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps li, .timeline li { padding: 20px 16px 28px 0; border-bottom: 1px solid var(--line); }
  .timeline li { border-bottom-color: var(--line-dark); }
  .steps li + li, .timeline li:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .timeline li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dark); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }

  .live .story { height: calc(100svh + 9.6 * 66svh); }
  .live .visual { top: 58px; left: 0; right: 0; bottom: auto; height: 39svh; margin: 0; }
  .live .hero, .live .layer, .live .outro { left: var(--pad); right: var(--pad); width: auto; top: calc(58px + 39svh + 2px); margin-top: 0; transform: none; }
  .live .layer, .live .outro { transform: translateY(14px); }
  .live .layer.is-active, .live .outro.is-active { transform: none; }
  .live .layer::before { left: auto; right: -0.04em; bottom: auto; top: -0.5em; font-size: 7.5rem; }
  .live .layer h3, .live .outro h2 { font-size: clamp(2.1rem, 9.5vw, 2.9rem); margin-top: 0.5rem; }
  .live .layer__why { font-size: 1.0625rem; margin-top: 0.7rem; }
  .live .layer__skip { margin-top: 0.8rem; font-size: 1rem; }
  .rail button { padding: 0; align-items: center; justify-content: center; min-height: 44px; font-size: 0.9375rem; }
  .rail__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .live .stage__leader { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .live .hero .arrow-link { display: none; }
  .live .hero__lede { font-size: 1rem; line-height: 1.45; }
  .live .visual { height: 30svh; }
  .live .hero, .live .layer, .live .outro { top: calc(58px + 30svh + 2px); }
}
@media (max-width: 420px) {
  .steps, .timeline { grid-template-columns: minmax(0, 1fr); }
  .steps li:nth-child(even), .timeline li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* pictures with a floor shadow fade out at their edges, so no frame shows against the stage colour */
.colour__stage, .diagram__frame img, .stage:not(.is-film) .visual__poster {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 82%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 82%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 86%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
