/* Hallmark · shape: Long Document, swapped to a five-page studio site · genre: editorial · theme: brand · job: hire · draw: 057297
 * paper: #f7f7f2 · accent: #a3e635 · display: Space Grotesk · body: IBM Plex Sans · hero: Poster · nav: three-part bar, four real destinations · footer: statement · signature: the pixel crown at poster scale, its top pixel lifting off
 * axes: light/grotesk-sans/chromatic-lime · posture: Committed, the deep green field carries the heroes, one band and the footer · imagery: none, the brand's own mark and pixel device · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, no photographs to vary the pages, so each page changes its composition (split, figures, rows, steps, table, form) instead */
/* Hallmark · waive 77 · the project list section holds one text slot · the owner asked for projects placeholders until real case studies arrive; the team now has photos, one slot left empty on request */
/* Hallmark · dismissed 58 · services and about windows hold dense rows of three-word bullets, 82 and 87 words, counted across two adjoining sections */
/* Hallmark · waive 59 · sections part by 72 to 112px · the owner found the wider gaps left the studio pages too empty and asked for tighter spacing and more copy */
/* Hallmark · waive 80 · pixel icons, page layouts and a map of Australia on the logo grid · the owner asked for images in the pixel style of the crown mark */
/* Hallmark · waive 42 · four real destinations plus the review action · the studio site needs services, projects and about one click away */
@import url("./tokens.css");
@import url("./base.css");

:root { --display-weight: 600; --rule-c: var(--color-rule); --head-c: var(--color-heading); --soft-c: var(--color-ink-2); --nav-h: 72px; }
h1 { font-weight: 700; }
h1, h2, h3 { color: var(--head-c); }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.soft { color: var(--soft-c); }
.small { font-size: var(--text-sm); color: var(--soft-c); }
a.text-link { color: var(--color-link); }
.on-field a.text-link { color: var(--color-accent); }

/* Grounds */
.on-field { background: var(--color-field); color: var(--color-on-field); --color-focus: var(--color-accent); --rule-c: var(--color-rule-field); --head-c: var(--color-on-field); --soft-c: var(--color-on-field-muted); }
.on-tint { background: var(--color-paper-2); }

/* The lifting pixel, after a headline */
.px { display: inline-block; width: 0.3em; height: 0.3em; margin-left: 0.08em; background: var(--color-heading); vertical-align: 0.5em; }
.on-field .px { background: var(--color-accent); }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 2px solid var(--color-accent); border-radius: var(--radius-input); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-display); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--quiet { background: transparent; border-color: currentColor; color: var(--head-c); }
.btn--quiet:hover { background: var(--color-paper-3); border-color: currentColor; }
.on-field .btn--quiet:hover { background: var(--color-field-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }

.skip { display: inline-flex; align-items: center; min-height: 44px; position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-md); }

/* Header: stays at the top of the screen */
.site-head { position: sticky; top: 0; z-index: var(--z-sticky-nav); }

/* Phone menu: a modal over a blurred page */
.menu { width: min(calc(100% - 2 * var(--gutter)), 26rem); max-height: calc(100dvh - 2 * var(--space-md)); margin: var(--space-md) auto auto; padding: 0; border: var(--rule-hair) solid var(--color-rule-field); border-radius: var(--radius-card); }
.menu::backdrop { background: color-mix(in oklab, var(--color-field) 55%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.menu[open] { animation: menu-in var(--dur-short) var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .menu[open] { animation: none; } }
.menu__panel { padding: var(--space-md) var(--space-lg) var(--space-lg); }
.menu__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-md); }
.menu ul { margin-bottom: var(--space-lg); }
.menu li a { display: flex; align-items: center; min-height: 60px; border-top: var(--rule-hair) solid var(--color-rule-field); font: 600 var(--text-xl)/1.2 var(--font-display); text-decoration: none; }
.menu li:last-child a { border-bottom: var(--rule-hair) solid var(--color-rule-field); }
.menu li a:hover, .menu li a[aria-current="page"] { color: var(--color-accent); }
.menu .menu__panel > .btn { width: 100%; }
html:has(.menu[open]) { overflow-y: hidden; }

.site-head .container { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--nav-h); }
.site-head__logo { display: block; flex-shrink: 0; }
.site-head__logo img { width: 202px; height: 28px; }
.site-nav { display: flex; align-items: center; gap: var(--space-xl); margin-left: auto; }
.site-nav ul { display: flex; gap: var(--space-xl); }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--color-on-field-muted); transition: color var(--dur-short) var(--ease-out); }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--color-on-field); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.menu-btn { display: none; margin-left: auto; }
@media (max-width: 60rem) {
  .js .menu-btn { display: inline-flex; }
  .site-head .container { flex-wrap: wrap; row-gap: 0; }
  .site-head__logo { display: flex; align-items: center; min-height: var(--nav-h); }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: var(--space-md); margin-left: 0; padding-bottom: var(--space-lg); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav { display: none; }
}

/* Heroes */
.hero { display: grid; align-items: center; min-height: min(calc(100svh - var(--nav-h)), 720px); padding-block: var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 3.4vw + 1rem, 4.5rem); max-width: 16ch; }
.hero h1 + .lead { margin-top: var(--space-lg); color: var(--soft-c); }
.hero .actions { margin-top: var(--space-xl); }
.crown { width: 100%; max-width: 480px; height: auto; justify-self: end; overflow: visible; }
.crown__body { fill: var(--color-on-field); }
.crown__lift { fill: var(--color-accent); animation: lift 700ms var(--ease-out) 300ms backwards; }
@keyframes lift { from { transform: translateY(6px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .crown__lift { animation: none; } }

/* The living pixel field (js/pixels.js): the canvas takes over from the static artwork */
.hero { position: relative; }
.pixel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; z-index: var(--z-base); }
.is-live .crown path { visibility: hidden; }
.is-live .crown__lift { animation: none; }
.is-live.banner::after { display: none; }

.banner { position: relative; padding-block: var(--space-2xl); }
.banner .container { position: static; }
.banner::after { content: ""; position: absolute; top: 0; bottom: 0; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); aspect-ratio: 95 / 239; background: url("../assets/pixel-rain-lime.svg") no-repeat right top / auto 100%; pointer-events: none; }
.banner .container > * { position: relative; z-index: var(--z-base); }
.banner h1 { max-width: 16ch; }
.banner .lead { margin-top: var(--space-lg); color: var(--soft-c); }
.banner .actions { margin-top: var(--space-xl); }

/* Sections */
.section { margin-top: var(--section-gap); }
.section--s { margin-top: var(--section-gap-s); }
.section--l { margin-top: var(--section-gap-l); }
.band { padding-block: var(--section-gap); }
.band + .band { margin-top: 0; }
.head-block h2 + .lead { margin-top: var(--space-lg); color: var(--soft-c); }
.head-block + * { margin-top: var(--space-xl); }
.head-block--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-3xl); row-gap: var(--space-md); align-items: end; }
.head-block--split h2 + .lead { margin-top: 0; }
.cols h2 + p, .cols p + p { margin-top: var(--space-md); }
.cols--mid { align-items: center; }
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.cols > .c-5 { grid-column: span 5; } .cols > .c-4 { grid-column: span 4; } .cols > .c-7 { grid-column: 6 / -1; } .cols > .c-8 { grid-column: 5 / -1; } .cols > .c-6 { grid-column: 7 / -1; }
.cols .actions { margin-top: var(--space-xl); }

/* The review sheet and other fact lists */
.sheet { padding: var(--space-xl); background: var(--color-paper-2); border-radius: var(--radius-card); }
.facts > div { display: grid; grid-template-columns: 44px minmax(0, 4fr) minmax(0, 7fr); align-items: center; column-gap: var(--gap-columns); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--rule-c); }
.facts > div:first-child { padding-top: 0; border-top: 0; }
.facts > div:last-child { padding-bottom: 0; }
.facts dt { font: 600 var(--text-title)/1.2 var(--font-display); color: var(--head-c); }
.facts dd { color: var(--soft-c); }

/* Figures */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats > * { padding-inline: var(--space-xl); border-left: var(--rule-hair) solid var(--rule-c); }
.stats > :first-child { padding-left: 0; border-left: 0; }
.stats > :last-child { padding-right: 0; }
.stats b { display: block; font: 700 var(--text-display)/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--head-c); }
.stats p { margin-top: var(--space-md); font-size: var(--text-lead); line-height: 1.4; }
.stats cite { display: block; margin-top: var(--space-sm); font-size: var(--text-sm); font-style: normal; color: var(--soft-c); }

/* Team */
.team { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.team img, .team__empty { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; background: var(--color-paper-3); }
.team h3 { margin-top: var(--space-md); font-size: var(--text-xl); }
.team__empty { background: var(--color-paper-3) url("../assets/mark-ink.svg") center / 22% auto no-repeat; opacity: 0.6; }
.team p { color: var(--soft-c); }

/* Rows */
.rows > * { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); column-gap: var(--gap-columns); row-gap: var(--space-xs); align-items: baseline; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--rule-c); }
.rows > :last-child { border-bottom: var(--rule-hair) solid var(--rule-c); }
.rows h3 a { text-decoration: none; white-space: nowrap; }
a.text-link { white-space: nowrap; }
.rows h3 a:hover { color: var(--color-link); text-decoration: underline; }
.rows p { color: var(--soft-c); }

/* Services, one large row each */
.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--rule-c); }
.service:first-child { padding-top: 0; border-top: 0; }
.service__head { grid-column: span 5; display: flex; align-items: center; gap: var(--space-lg); align-self: start; }
.service__head h2 { font-size: var(--text-3xl); }
.service__body .lead + p { margin-top: var(--space-md); max-width: 60ch; }
.service__body { grid-column: 7 / -1; }
.service__body .lead { color: var(--color-ink); }
.ticks { margin-top: var(--space-lg); }
.ticks li { position: relative; padding: var(--space-sm) 0 var(--space-sm) var(--space-lg); border-top: var(--rule-hair) solid var(--rule-c); color: var(--soft-c); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 8px; height: 8px; background: var(--color-accent); outline: 1px solid var(--color-heading); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--space-lg); border-top: 2px solid var(--color-accent); }
.steps li::before { content: counter(step); display: block; font: 700 var(--text-display-s)/1 var(--font-display); letter-spacing: -0.04em; color: var(--color-accent); }
.steps h3 { margin-top: var(--space-md); }
.steps p { margin-top: var(--space-xs); color: var(--soft-c); }
.band .small { margin-top: var(--space-xl); }

/* Numbered list (onboarding) */
.needs { counter-reset: need; }
.needs li { counter-increment: need; display: grid; grid-template-columns: var(--space-2xl) minmax(0, 1fr); align-items: baseline; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--rule-c); font: 600 var(--text-title)/1.2 var(--font-display); color: var(--head-c); }
.needs li:last-child { border-bottom: var(--rule-hair) solid var(--rule-c); }
.needs li::before { content: counter(need); font-variant-numeric: tabular-nums; color: var(--color-link); }

/* Table */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: var(--space-lg) 0; border-top: var(--rule-hair) solid var(--rule-c); text-align: left; vertical-align: baseline; }
.table tr:last-child > * { border-bottom: var(--rule-hair) solid var(--rule-c); }
.table th { width: 34%; padding-right: var(--gap-columns); font: 600 var(--text-title)/1.2 var(--font-display); color: var(--head-c); white-space: nowrap; }
.table td { font-size: var(--text-lead); color: var(--soft-c); }

/* Two options side by side */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.pair > * { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; column-gap: var(--space-xl); align-items: start; padding: var(--space-xl); border: var(--rule-hair) solid var(--rule-c); border-radius: var(--radius-card); }
.pair h3 + p { max-width: 40ch; margin-top: var(--space-sm); color: var(--soft-c); }

/* A fact still to come */
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Closing line with one action */
.callout { padding-block: var(--space-2xl); }
.callout .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xl); }

/* Form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); }
.form .wide { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 600; color: var(--head-c); }
.form input { width: 100%; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; }
.form input:focus-visible { outline-color: var(--color-focus); }
.form input[aria-invalid] { border-color: var(--color-error); }
.form input:disabled { opacity: 0.55; cursor: not-allowed; }
.form__help { min-height: 1lh; font-size: var(--text-sm); color: var(--soft-c); }
.form input::placeholder { color: var(--color-muted); }

/* The first question: review the site you have, or build one. The answer decides which details the form asks for. */
.choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice legend { padding: 0; margin-bottom: var(--space-md); font: 600 var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); color: var(--head-c); }
.choice__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.form .choice__opt { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; row-gap: var(--space-xs); margin: 0; padding: var(--space-lg); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); font-size: var(--text-md); font-weight: 400; color: var(--soft-c); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.form .choice__opt input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.choice__answer { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: var(--head-c); }
.choice__px { flex: none; width: 14px; height: 14px; border: 2px solid var(--color-heading); background: transparent; transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.choice__do { font: 600 var(--text-xl)/1.15 var(--font-display); letter-spacing: var(--tracking-display); color: var(--head-c); }
.choice__what { font-size: var(--text-sm); line-height: 1.5; }
.choice__price { justify-self: start; margin-top: var(--space-sm); padding: var(--space-2xs) var(--space-sm); border: 2px solid var(--color-heading); border-radius: var(--radius-input); font: 700 var(--text-lg)/1.2 var(--font-display); color: var(--head-c); font-variant-numeric: tabular-nums; }
.choice__price--free { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.choice__opt:hover { border-color: var(--color-heading); }
.choice__opt:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.choice__opt:has(input:checked) { background: var(--color-field); border-color: var(--color-field); color: var(--color-on-field-muted); }
.choice__opt:has(input:checked) :is(.choice__answer, .choice__do) { color: var(--color-on-field); }
.choice__opt:has(input:checked) .choice__price:not(.choice__price--free) { border-color: var(--color-on-field); color: var(--color-on-field); }
/* The chosen box fills lime and lifts up and right, as the crown's top pixel does */
.choice__opt:has(input:checked) .choice__px { background: var(--color-accent); border-color: var(--color-accent); transform: translate(4px, -4px); }
.form:not(:has([name="path"]:checked)) > :not(.choice),
.form:has([value="build"]:checked) .for-review,
.form:has([value="review"]:checked) .for-build { display: none; }
.form:has([name="path"]:checked) > :not(.choice) { animation: form-in var(--dur-long) var(--ease-out) backwards; }
@keyframes form-in { from { opacity: 0; transform: translateY(8px); } }
.contact { margin-top: var(--space-xl); }
.contact > div { display: grid; grid-template-columns: 5rem minmax(0, 1fr); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--rule-c); }
.contact dt { font-size: var(--text-sm); color: var(--soft-c); }
.contact dd { font-weight: 600; }
.contact a, .site-foot a { white-space: nowrap; }
.site-foot li a, .contact a { display: inline-flex; align-items: center; min-height: 32px; }

/* Prose */
.prose p + p { margin-top: var(--space-md); }
.prose p { font-size: var(--text-lead); line-height: 1.6; max-width: 60ch; }

/* Footer */
.site-foot { margin-top: var(--section-gap); padding-block: var(--space-2xl) var(--space-xl); }
.site-foot__line { max-width: 20ch; font: 600 var(--text-section)/1.05 var(--font-display); letter-spacing: var(--tracking-display); }
.site-foot__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--rule-c); }
.site-foot__cols > * { grid-column: span 4; }
.site-foot li + li { margin-top: var(--space-2xs); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.site-foot__legal { margin-top: var(--space-2xl); font-size: var(--text-sm); color: var(--soft-c); }
main:has(> .band:last-child) + .site-foot { margin-top: 0; }

/* Pixel art on the logo's grid */
.pix { display: block; width: 44px; height: auto; flex-shrink: 0; fill: var(--head-c); }
.pix .a { fill: var(--color-accent-strong); }
.on-field .pix .a { fill: var(--color-accent); }
.pix--l { width: 88px; }
.pix--art { grid-row: 1 / 3; width: 100%; max-width: 200px; }
.pair h3 { align-self: end; }
.pix--map { width: 100%; max-width: 480px; margin-inline: auto; }
.rows--icons > * { grid-template-columns: 44px minmax(0, 3fr) minmax(0, 5fr); align-items: center; }
.needs li > span { display: grid; row-gap: var(--space-2xs); }
.needs li b { font-weight: 600; }
.needs li span span { font: 400 var(--text-md)/1.5 var(--font-body); color: var(--soft-c); }

/* Questions */
.faq details { border-top: var(--rule-hair) solid var(--rule-c); }
.faq details:last-child { border-bottom: var(--rule-hair) solid var(--rule-c); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; padding-block: var(--space-md); font: 600 var(--text-title)/1.2 var(--font-display); color: var(--head-c); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; background: var(--color-accent-strong); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-8px); background: var(--color-heading); }
.faq summary:hover { color: var(--color-link); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq details p { max-width: 65ch; padding-bottom: var(--space-lg); color: var(--soft-c); }

/* Phone: the main action stays within reach */
.sticky-cta { display: none; }

@media (max-width: 60rem) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-cta { display: block; position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: var(--color-field); color: var(--color-on-field); border-top: var(--rule-hair) solid var(--color-rule-field); transition: transform var(--dur-short) var(--ease-out); }
  .sticky-cta .btn { width: 100%; }
  .sticky-cta.is-away { transform: translateY(100%); visibility: hidden; transition: transform var(--dur-short) var(--ease-in), visibility 0s var(--dur-short); }
  .site-foot { padding-bottom: calc(var(--space-xl) + 80px); }
  .head-block--split { grid-template-columns: minmax(0, 1fr); }
  .rows.rows--icons > *, .facts > div { grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--space-md); align-items: start; }
  .rows--icons p, .facts dd { grid-column: 2; }
  .pix--l { width: 64px; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .crown { max-width: 160px; justify-self: start; order: -1; }
  .banner { padding-block: var(--space-2xl); }
  .banner::after { display: none; }
  .cols > [class*="c-"], .service__head, .service__body, .site-foot__cols > * { grid-column: 1 / -1; }
  /* Phone: the question comes straight after the heading; the contact list drops below the form */
  #review > .cols { row-gap: 0; }
  #review .c-5 { display: contents; }
  #review .c-5 > * { grid-column: 1 / -1; }
  #review .form { margin-top: var(--space-xl); }
  #review .contact { order: 1; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > * { padding: var(--space-lg) 0; border-left: 0; border-top: var(--rule-hair) solid var(--rule-c); }
  .stats > :first-child { padding-top: 0; border-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }
  .steps li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: var(--space-md); }
  .steps li::before { grid-row: 1 / 3; }
  .steps h3 { margin-top: 0; }
  .rows > * { grid-template-columns: minmax(0, 1fr); }
  .table th { white-space: normal; }
}
@media (max-width: 40rem) {
  .steps, .pair, .form, .choice__opts { grid-template-columns: minmax(0, 1fr); }
  .sheet, .pair > * { padding: var(--space-lg); }
  .pair > * { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-sm); }
  .pix--art { grid-row: auto; max-width: 160px; margin-bottom: var(--space-sm); }
  .contact > div { grid-template-columns: minmax(0, 1fr); }
  .contact a { white-space: normal; overflow-wrap: anywhere; }
  .site-foot li a, .contact a, .rows h3 a { min-height: 44px; }
  .rows h3 a { display: inline-flex; align-items: center; }
  .table th, .table td { display: block; width: 100%; }
  .table td { padding-top: 0; border-top: 0; }
  .table th { padding-bottom: var(--space-xs); }
  .table tr:last-child th { border-bottom: 0; }
  .actions .btn { flex: 1 1 auto; }
}
