/* Version B: a family practice, in chapters. DZYN's own type: Gambetta for
   display (the serif of "Builds" in their logo), General Sans for text. */

/* The headline face loads with this stylesheet; the other faces come in
   brand-fonts.css after load, so they do not hold up the first paint. No font is
   preloaded: a preload competed with the stylesheets and cost 0.4 s of LCP. The
   fallbacks are scaled to each face's measured width, so the swap does not
   re-wrap lines (Georgia and Arial, measured 2026-10-27). */
@font-face { font-family: "Gambetta"; src: url("fonts/gambetta-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Gambetta Fallback"; src: local("Georgia"); font-weight: 300; size-adjust: 97.1%; }
@font-face { font-family: "Gambetta Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-weight: 300; font-style: italic; size-adjust: 86.9%; }
@font-face { font-family: "General Sans Fallback"; src: local("Arial"); font-weight: 400; size-adjust: 99.7%; }
@font-face { font-family: "General Sans Fallback"; src: local("Arial"); font-weight: 500; size-adjust: 102.6%; }
:root {
  --sc-canvas: #f4f1e9;
  --sc-surface: #ebe7dc;
  --sc-ink: #272924;
  --sc-ink-soft: #5d6156;
  --sc-accent: #304739;
  --sc-accent-ink: #f4f1e9;
  --sc-font-display: "Gambetta", "Gambetta Fallback", Georgia, serif;
  --sc-font-text: "General Sans", "General Sans Fallback", Arial, sans-serif;
  --rule: rgba(39, 41, 36, 0.14);
  --sage: #b9beb2;
  --night: #1f221d;
  --rail: 6.5rem;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
}

html { background: var(--sc-canvas); }
body { background: var(--sc-canvas); color: var(--sc-ink); font-family: var(--sc-font-text); font-size: 1.0625rem; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--sc-font-display); font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a[href^="tel:"] { white-space: nowrap; }

/* The folio in the margin: the chapter you are in, and the phone. */
.folio { position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.4rem 0 0; border-right: 1px solid var(--rule); background: var(--sc-canvas); }
.folio__mark { padding: 2px; }
.folio__mark img { width: 40px; height: 40px; border-radius: 8px; }
.folio__chapter { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--sc-font-display); font-weight: 300; font-size: 1.15rem; line-height: 1; white-space: nowrap; color: var(--sc-ink); }
.folio__call { align-self: stretch; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; justify-content: center; padding: 1.4rem 0; text-decoration: none; font-weight: 500; font-size: 0.95rem; background: var(--sc-accent); color: var(--sc-accent-ink); transition: opacity 160ms ease; }
.folio__call:hover { opacity: 0.86; }

main { margin-left: var(--rail); }
.chapter { display: flex; align-items: center; }
.sheet { width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; }
.chapter h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; margin: 0 0 1.6rem; }
.first { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; max-width: 52ch; margin: 0 0 1.4rem; }
.text p { max-width: 58ch; }

/* Title page: type on paper. The headline is the image. */
.title-page { min-height: 100svh; padding: 2rem 0 3rem; align-items: stretch; }
.title-page .sheet { display: flex; flex-direction: column; }
.title-page__lockup { font-size: 1.35rem; align-self: flex-start; padding: 0.3rem 0; }
.title-page h1 { font-size: clamp(3rem, 6.3vw, 7rem); line-height: 0.98; letter-spacing: -0.03em; margin: auto 0 2.4rem; }
.title-page h1 span { display: block; }
.title-page__who { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.45; max-width: 40ch; margin: 0 0 0.6rem; }
.title-page__sub { color: var(--sc-ink-soft); max-width: 56ch; margin: 0 0 1.6rem; }
/* The call to action is a sentence, in the headline's face: Carson's own number
   and the consultation, both underlined links. */
.title-page__reach { font-family: var(--sc-font-display); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.35; max-width: 34ch; margin: 0 0 2.6rem; }
.title-page__reach a, .running a { color: var(--sc-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; padding-block: 0.35em; transition: text-decoration-thickness 160ms ease; }
.title-page__reach a:hover, .running a:hover { text-decoration-thickness: 2px; }
.toc { list-style: none; margin: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 0.5rem 2.2rem; }
.toc a { display: inline-block; padding: 0.7rem 0; text-decoration: none; color: var(--sc-ink-soft); font-size: 0.98rem; transition: color 160ms ease; }
.toc a:hover { color: var(--sc-ink); text-decoration: underline; text-underline-offset: 0.25em; }

/* I: the family photo runs to the edge of the page. */
.ch-1 { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.ch-1 .spread { width: 100%; margin: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: end; padding-right: var(--gut); }
.ch-1 .media img { width: 100%; aspect-ratio: 1200 / 798; object-fit: cover; }
.ch-1 .media figcaption { padding-left: var(--gut); }
.ch-1 .text { padding-top: clamp(3rem, 6vw, 5rem); }
.pull { font-family: var(--sc-font-display); font-style: italic; font-weight: 300; font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.3; margin: 2.2rem 0; max-width: 30ch; }
.team { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; max-width: 36rem; }
.team li { font-size: 0.9rem; line-height: 1.4; color: var(--sc-ink-soft); }
/* Their own round portrait crops, shown as they made them. */
.team img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 0.7rem; }
.team b { display: block; color: var(--sc-ink); font-weight: 500; font-size: 1rem; }
figcaption { margin-top: 0.7rem; font-size: 0.88rem; color: var(--sc-ink-soft); }

/* II: text beside a tall photo of The Overlook. */
.ch-2 { background: var(--sc-surface); padding: clamp(5rem, 10vw, 9rem) 0; }
.ch-2 .spread { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.ch-2 .media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.steps { margin: 2.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.6rem; max-width: 54ch; }
.steps li { color: var(--sc-ink-soft); }
.steps b { display: block; color: var(--sc-ink); font-weight: 500; font-size: 1.1rem; margin-bottom: 0.2rem; }
.aside { margin: 2.4rem 0 0; font-family: var(--sc-font-display); font-weight: 300; font-size: 1.35rem; line-height: 1.35; }

/* III: the price, then the bring-list. */
.ch-3 { padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }
.ch-3 .spread { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.figure-line { font-family: var(--sc-font-display); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; margin: 2.2rem 0 1.6rem; }
.figure-line span { display: block; margin-top: 0.6rem; font-family: var(--sc-font-text); font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--sc-ink-soft); }
.fine { font-size: 0.92rem; color: var(--sc-ink-soft); }
.bring { border: 0; margin: 0; padding: clamp(1.4rem, 3vw, 2.2rem); background: #fbf9f4; box-shadow: 0 1px 0 var(--rule), 0 24px 48px -32px rgba(39, 41, 36, 0.35); }
.bring legend { float: left; width: 100%; font-family: var(--sc-font-display); font-weight: 300; font-size: 1.7rem; line-height: 1.15; margin: 0 0 0.5rem; padding: 0; }
.bring__help { clear: both; margin: 0 0 1rem; color: var(--sc-ink-soft); font-size: 0.95rem; }
.bring label { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.75rem 0; border-top: 1px solid var(--rule); cursor: pointer; line-height: 1.45; }
.bring input { appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: 0.12rem 0 0; border: 1.5px solid var(--sc-accent); border-radius: 2px; display: grid; place-items: center; cursor: pointer; transition: background-color 160ms ease; }
.bring input::after { content: ""; width: 0.6rem; height: 0.35rem; border-left: 2px solid var(--sc-accent-ink); border-bottom: 2px solid var(--sc-accent-ink); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 160ms ease; }
.bring input:checked { background: var(--sc-accent); }
.bring input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.bring input:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.bring__out { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); font-family: var(--sc-font-display); font-style: italic; font-weight: 300; font-size: 1.1rem; line-height: 1.45; color: var(--sc-accent); }

/* IV: the film in its own column, pinned while it plays. */
.ch-4.film { display: block; padding: 0; background: var(--night); color: var(--sc-canvas); }
.film__stage { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: 0 var(--gut); }
.film__text h2 { color: var(--sc-canvas); }
.film__text p { color: rgba(244, 241, 233, 0.78); max-width: 32ch; }
.film__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #2b2d29; }
.film__media figcaption { color: rgba(244, 241, 233, 0.7); }

/* IV continued: the projects, photo first. */
.ch-4b { background: var(--night); color: var(--sc-canvas); padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 8rem); }
.project { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.project + .project { margin-top: clamp(5rem, 10vw, 8rem); }
.project h3 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1; margin: 0 0 1rem; color: var(--sc-canvas); }
.project__lede { font-family: var(--sc-font-display); font-style: italic; font-weight: 300; font-size: 1.3rem; line-height: 1.4; color: rgba(244, 241, 233, 0.86); margin: 0 0 1.8rem; }
.facts { margin: 0 0 1.8rem; font-size: 0.95rem; line-height: 1.5; }
.facts dt { color: var(--sage); font-weight: 500; }
.facts dd { margin: 0.1rem 0 0.9rem; color: rgba(244, 241, 233, 0.9); }
.parade { width: 170px; background: var(--sc-canvas); padding: 0.6rem 0.8rem; }
.project__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0.8rem; align-items: start; }
.project__grid img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.project__grid figure:first-child img { aspect-ratio: auto; }
.project__grid--wide { grid-template-columns: 1fr 1fr; }
.project__grid--wide figure:first-child { grid-column: 1 / -1; }
.project__grid--wide figure:first-child img { aspect-ratio: 3 / 2; }
.project__grid--wide figure:not(:first-child) img { aspect-ratio: 4 / 3; }
.ch-4b figcaption { color: rgba(244, 241, 233, 0.66); }

/* V and VI. */
.ch-5 { padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem); }
.rating { font-weight: 500; color: var(--sc-accent); margin: -0.6rem 0 2.4rem; }
.pull--big { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.22; max-width: 26ch; margin: 0 0 3.6rem; }
.pull cite, .quotes cite { display: block; margin-top: 1.1rem; font-family: var(--sc-font-text); font-style: normal; font-size: 0.95rem; font-weight: 500; color: var(--sc-ink-soft); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); max-width: 64rem; margin-left: auto; }
.quotes blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.ch-6 { background: var(--sc-surface); padding: clamp(4rem, 8vw, 7rem) 0; }
.towns { list-style: none; margin: 2.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 2.4rem; font-family: var(--sc-font-display); font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.2; }

/* Colophon: the request. */
.colophon { flex-direction: column; align-items: stretch; padding: clamp(5rem, 10vw, 8rem) 0 2rem; }
.colophon__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.running { font-family: var(--sc-font-display); font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.45; max-width: 32ch; }
.bring__summary { margin-top: 1.6rem; padding: 1rem 1.2rem; border-left: 2px solid var(--sc-accent); background: #fbf9f4; font-size: 0.95rem; line-height: 1.5; }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--sc-ink-soft); }
.form input, .form textarea { font: inherit; color: var(--sc-ink); background: #fbf9f4; border: 0; border-bottom: 1px solid rgba(39, 41, 36, 0.62); border-radius: 0; padding: 0.7rem 0.4rem; }
.form input { min-height: 46px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--sc-accent); outline-offset: 1px; }
/* Sending reads like signing the bottom of a form: a rule, then the words. */
.sign { justify-self: stretch; width: 100%; margin-top: 1.2rem; padding: 0.9rem 0 0.5rem; border: 0; border-top: 1.5px solid var(--sc-ink); background: none; color: var(--sc-accent); font-family: var(--sc-font-display); font-weight: 300; font-size: 1.7rem; line-height: 1.2; text-align: left; cursor: pointer; transition: color 160ms ease; }
.sign:hover { color: var(--sc-ink); }
.sign:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 4px; }
.form__note { margin: 0; font-size: 0.88rem; color: var(--sc-ink-soft); }
.foot { width: min(1240px, 100% - 2 * var(--gut)); margin: clamp(4rem, 8vw, 7rem) auto 0; padding: 1.6rem 0 0.4rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 2.4rem; font-size: 0.9rem; color: var(--sc-ink-soft); }
.foot .lockup { color: var(--sc-ink); font-size: 1.1rem; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot p { margin: 0 0 0 auto; }

/* Desktop: every chapter holds at least one screen, each placed differently in it. */
@media (min-width: 861px) {
  .ch-1, .ch-3, .ch-6 { min-height: 100svh; }
}

/* The phone hero and the bar text exist only on a phone. */
.title-page__top { display: contents; }
.title-page__photo, .title-page__ask, .title-page__card, .folio__where { display: none; }
.folio__call u { text-decoration: none; }

/* Phone: its own layout, taken from buildcover.com at 390 px, not the desktop
   stacked. A dark call bar on top, a full-screen photograph with the headline,
   centred statements on paper, photographs as rounded cards, the method as a
   dark list that lights one step at a time, the projects as swipeable cards,
   and the request with the footer as two-column ruled rows on dark. */
@media (max-width: 860px) {
  :root { --rail: 0px; --bar: 2.75rem; --pad: 1.25rem; --rule-dark: rgba(244, 241, 233, 0.18); }
  html { scroll-padding-top: var(--bar); }
  body { font-size: 1rem; }
  main { padding-top: var(--bar); }
  .sheet { width: auto; }
  .chapter { display: block; }
  .chapter h2 { font-size: 2.3rem; line-height: 1.08; margin: 0 0 1rem; }
  .first { font-size: 1.05rem; }

  /* The call bar. */
  .folio { inset: 0 0 auto 0; width: auto; height: var(--bar); flex-direction: row; justify-content: center; padding: 0 var(--pad); border: 0; background: var(--night); }
  .folio__mark, .folio__chapter { display: none; }
  .folio__call { writing-mode: horizontal-tb; transform: none; align-self: stretch; padding: 0; background: none; color: rgba(244, 241, 233, 0.72); font-weight: 400; font-size: 0.82rem; white-space: nowrap; }
  .folio__where { display: inline; }
  .folio__call u { margin-left: 0.3em; color: var(--sc-canvas); font-weight: 500; text-decoration: underline; text-underline-offset: 0.22em; }

  /* The hero: one photograph, the headline centred on it, a small card into the work. */
  .title-page { min-height: 0; padding: 0; }
  .title-page__top { position: relative; isolation: isolate; display: block; height: calc(100svh - var(--bar)); min-height: 33rem; padding: 1.15rem var(--pad); color: #fff; overflow: hidden; }
  .title-page__photo { display: block; position: absolute; inset: 0; z-index: -2; }
  .title-page__photo img { width: 100%; height: 100%; object-fit: cover; }
  .title-page__top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 19, 0.5) 0%, rgba(20, 22, 19, 0.32) 32%, rgba(20, 22, 19, 0.36) 60%, rgba(20, 22, 19, 0.5) 100%); }
  .title-page__lockup { position: relative; color: #fff; font-size: 1rem; padding: 0.7rem 0; }
  .title-page__ask { display: inline-flex; position: absolute; top: 1.15rem; right: var(--pad); align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 4px; background: #fff; color: var(--sc-ink); text-decoration: none; font-size: 0.88rem; font-weight: 500; }
  .title-page h1 { position: absolute; left: var(--pad); right: var(--pad); top: 42%; transform: translateY(-50%); margin: 0; text-align: center; color: #fff; font-size: 2.2rem; line-height: 1.12; letter-spacing: -0.02em; text-shadow: 0 1px 28px rgba(0, 0, 0, 0.28); }
  .title-page h1 span { display: block; }
  .title-page__card { display: block; position: absolute; right: var(--pad); bottom: var(--pad); width: 58%; aspect-ratio: 460 / 329; border-radius: 1.1rem; overflow: hidden; color: #fff; text-decoration: none; }
  .title-page__card img { width: 100%; height: 100%; object-fit: cover; }
  .title-page__card span { position: absolute; left: 0.9rem; bottom: 0.65rem; font-size: 0.88rem; font-weight: 500; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
  .title-page__who { box-sizing: content-box; max-width: 19ch; margin: 0 auto; padding: 4.5rem var(--pad) 0; text-align: center; font-family: var(--sc-font-display); font-weight: 300; font-size: 1.85rem; line-height: 1.2; letter-spacing: -0.015em; }
  .title-page__sub { box-sizing: content-box; max-width: 30ch; margin: 1.2rem auto 0; padding: 0 var(--pad); text-align: center; }
  .title-page__reach { box-sizing: content-box; max-width: 22ch; margin: 1.4rem auto 0; padding: 0 var(--pad) 4rem; text-align: center; font-size: 1.4rem; }
  .toc { display: none; }

  /* Photographs as rounded cards with the caption on the picture. */
  .ch-1 .media, .ch-2 .media { position: relative; border-radius: 1rem; overflow: hidden; }
  .ch-1 .media figcaption, .ch-2 .media figcaption, .film__media figcaption, .project__grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 3rem 1rem 0.85rem; color: #fff; font-size: 0.9rem; font-weight: 500; line-height: 1.35; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); }

  /* I: a centred statement, the card, the quote, the team as ruled rows. */
  .ch-1 { padding: 0 0 4rem; }
  .ch-1 .spread { display: flex; flex-direction: column; align-items: stretch; padding: 0 var(--pad); }
  .ch-1 .text { display: contents; }
  .ch-1 h2 { order: 1; text-align: center; }
  .ch-1 .first { order: 2; text-align: center; margin-bottom: 2rem; }
  .ch-1 .media { order: 3; }
  .ch-1 .media img { aspect-ratio: 4 / 5; }
  .ch-1 .pull { order: 4; margin: 2.6rem auto 0; text-align: center; font-size: 1.5rem; }
  .team { order: 5; display: block; max-width: none; margin: 2.4rem 0 0; border-top: 1px solid var(--rule); }
  .team li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 0.9rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); font-size: 0.9rem; }
  .team img { grid-row: span 2; width: 3rem; height: 3rem; margin: 0; }
  .team b { align-self: end; }

  /* II: the method on dark, the photograph above, one step lit at a time. */
  .ch-2 { background: var(--night); color: var(--sc-canvas); padding: 2.4rem 0 4rem; }
  .ch-2 .spread { display: flex; flex-direction: column; align-items: stretch; padding: 0 var(--pad); }
  .ch-2 .text { display: contents; }
  .ch-2 .media { order: 1; margin-bottom: 2.4rem; }
  .ch-2 .media img { aspect-ratio: 7 / 6; }
  .ch-2 h2 { order: 2; color: var(--sc-canvas); }
  .ch-2 .first { order: 3; color: rgba(244, 241, 233, 0.8); }
  .steps { order: 4; gap: 1.5rem; margin-top: 1.4rem; }
  .steps li { color: rgba(244, 241, 233, 0.5); transition: color 320ms ease; }
  .steps b { font-family: var(--sc-font-display); font-weight: 300; font-size: 1.85rem; line-height: 1.12; letter-spacing: -0.015em; color: inherit; margin-bottom: 0.45rem; }
  .steps li.is-on { color: rgba(244, 241, 233, 0.82); }
  .steps li.is-on b { color: var(--sc-canvas); }
  .ch-2 .aside { order: 5; color: var(--sc-canvas); font-size: 1.25rem; }

  /* III: the price as a centred statement, the bring-list on a rounded card. */
  .ch-3 { padding: 4rem 0; }
  .ch-3 .spread { display: block; padding: 0 var(--pad); }
  .ch-3 .text { text-align: center; }
  .ch-3 .text p { margin-inline: auto; }
  .figure-line { font-size: 2.6rem; margin: 2rem 0 1.6rem; }
  .bring { margin-top: 2.6rem; padding: 1.4rem 1.15rem 1.2rem; border-radius: 1rem; }
  .bring legend { font-size: 1.5rem; }

  /* IV: the film as a rounded card under a centred title. */
  .ch-4.film .film__stage { grid-template-columns: 1fr; align-content: center; gap: 1.4rem; padding: var(--bar) var(--pad) 0; }
  .film__text { text-align: center; }
  .film__text h2 { margin-bottom: 0.6rem; }
  .film__text p { margin: 0 auto; }
  .film__media { position: relative; }
  .film__frame { aspect-ratio: 4 / 5; border-radius: 1rem; }
  .film__media figcaption { border-radius: 0 0 1rem 1rem; }

  /* IV continued: each project's photographs as cards you swipe. */
  .ch-4b { padding: 3.2rem 0 4rem; }
  .project { display: block; }
  .project + .project { margin-top: 4rem; }
  .project__head { padding: 0 var(--pad); }
  .project h3 { font-size: 2.3rem; }
  .project__grid, .project__grid--wide { display: flex; gap: 0.75rem; margin-top: 1.6rem; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
  .project__grid::-webkit-scrollbar { display: none; }
  .project__grid figure { position: relative; flex: 0 0 82%; border-radius: 1rem; overflow: hidden; scroll-snap-align: start; }
  .project__grid img, .project__grid figure:first-child img, .project__grid--wide figure:first-child img, .project__grid--wide figure:not(:first-child) img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .project__grid:focus-visible { outline: 2px solid var(--sc-canvas); outline-offset: 4px; }

  /* V and VI: centred statements. */
  .ch-5 { padding: 4rem 0 3.4rem; text-align: center; }
  .ch-5 .sheet, .ch-6 .sheet { padding: 0 var(--pad); }
  .rating { margin: -0.3rem 0 2rem; }
  .pull--big { font-size: 1.65rem; line-height: 1.28; margin: 0 auto 2.6rem; }
  .quotes { grid-template-columns: 1fr; gap: 2rem; margin: 0; }
  .quotes blockquote { font-size: 1rem; }
  .ch-6 { padding: 3.6rem 0; text-align: center; }
  .ch-6 .first { margin-inline: auto; }
  .towns { justify-content: center; gap: 0 1.1rem; margin-top: 1.8rem; font-size: 1.9rem; }

  /* The request and the footer: ruled rows in two columns, on dark. */
  .colophon { background: var(--night); color: var(--sc-canvas); padding: 3.6rem 0 1.4rem; }
  .colophon__grid { display: block; padding: 0 var(--pad); }
  .colophon h2 { color: var(--sc-canvas); }
  .running { font-size: 1.15rem; color: rgba(244, 241, 233, 0.86); }
  .running a { color: var(--sc-canvas); }
  .bring__summary { background: rgba(244, 241, 233, 0.08); border-left-color: var(--sage); color: var(--sc-canvas); }
  .form { gap: 0; margin-top: 2rem; border-top: 1px solid var(--rule-dark); }
  .form label { grid-template-columns: 38% 1fr; column-gap: 0.8rem; align-items: center; padding: 0.3rem 0; border-bottom: 1px solid var(--rule-dark); color: rgba(244, 241, 233, 0.72); font-size: 0.85rem; line-height: 1.35; }
  .form input, .form textarea { background: transparent; color: var(--sc-canvas); border-bottom: 0; padding: 0.6rem 0; }
  .form textarea::placeholder { color: rgba(244, 241, 233, 0.5); }
  .form input:focus, .form textarea:focus { outline-color: var(--sc-canvas); }
  .sign { margin-top: 1.6rem; color: var(--sc-canvas); border-top-color: var(--sc-canvas); font-size: 1.45rem; }
  .sign:hover { color: var(--sage); }
  .sign:focus-visible { outline-color: var(--sc-canvas); }
  .form__note { margin-top: 0.6rem; color: rgba(244, 241, 233, 0.7); }
  .foot { width: auto; margin: 3.4rem var(--pad) 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; align-items: end; font-size: 0.85rem; color: rgba(244, 241, 233, 0.72); }
  .foot__links { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; border-top: 1px solid var(--rule-dark); }
  .foot__links li { border-bottom: 1px solid var(--rule-dark); }
  .foot__links a { min-height: 2.75rem; color: var(--sc-canvas); text-decoration: none; }
  .foot__links { order: -1; }
  .foot .lockup { margin-top: 2.6rem; color: var(--sc-canvas); font-size: 1rem; }
  .foot p { margin: 2.6rem 0 0; font-size: 0.8rem; }
}

/* Narrow phones (360): the mark alone beside the request, as in the reference. */
@media (max-width: 374px) {
  .title-page__lockup .lockup__dzyn, .title-page__lockup .lockup__builds { display: none; }
  .title-page h1 { font-size: 2rem; }
}
/* Short phones (375x667): the film card a little shorter so the title fits. */
@media (max-width: 860px) and (max-height: 720px) {
  .film__frame { aspect-ratio: 1 / 1; }
}
/* Tablets: the phone layout, at a size that fills the screen. */
@media (min-width: 600px) and (max-width: 860px) {
  :root { --pad: 2rem; }
  .title-page h1 { font-size: 3.2rem; }
  .title-page__card { width: 40%; }
  .title-page__who { font-size: 2.3rem; }
  .project__grid figure { flex-basis: 46%; }
}

/* Reduced motion: the film holds its first frame, so its chapter is a plain section, not a pin. */
@media (prefers-reduced-motion: reduce) {
  .ch-4.film { height: auto !important; }
  .ch-4.film .film__stage { position: relative; height: auto; min-height: 100svh; padding-top: 4rem; padding-bottom: 4rem; }
}
