/* Hallmark · shape: Feature Stack (swapped: a pinned story, one sticky stage under the hero and four stages) · genre: atmospheric · theme: Midnight (deal 1/3, seed web-studio-dark-cinematic-6dc8·a66142d5·2026-11-27·r0), retuned on request: Montserrat, slate and fog palette with an amber accent from the hero photo · job: hire · draw: 886d93
 * hero: Poster, centred, the title set behind the ridge (by request, the AVA and Elemental references) · nav: floating pill (by request) · footer: statement · imagery: photographs, library 1, natural colour · product sample in the story stage, capture of this site in work-1 · signature: a fog valley scanned into a blueprint, then built into a website in exploded 3D as you scroll
 * axes: dark/grotesk-sans/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a studio with no client work yet; the work section shows this site itself and one honest invitation instead of invented projects */
/* Hallmark · waive 47c · the stage site is a sample built inside the story, labelled Your business · the founder asked for a 3D build of a website on scroll and this studio sells websites */
/* Hallmark · dismissed 41 · the panel well inherits ink from body, 95% L on 18.5% L, well past 7:1 */
/* Hallmark · dismissed 25 · the stage lines are one-sentence ledes beside a display word, set at 30ch */
/* Hallmark · dismissed F6 · the price head holds no figures, only words */
/* Hallmark · dismissed 29 · the atmospheric genre's one glass licence, the nav pill on a blur over the hero photograph */
/* Hallmark · dismissed 58 · the word count is privacy.html, a legal policy that has to be set out in full, not a landing screen */
/* Hallmark · dismissed 42 · the nav is a floating pill at top centre, asked for by the founder, not the edge bar */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Shared ---------- */
h1, h2 { font-weight: var(--display-weight); line-height: 1.04; }
h3 { font-weight: 500; }
.lead { color: var(--color-ink-2); }
.settle { animation: settle var(--dur-long) var(--ease-out) both; }
@keyframes settle { from { opacity: 0.6; } }

.skip { 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-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: var(--radius-pill); background: none; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-focus); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }

.logo { display: block; width: 30px; aspect-ratio: 540 / 424; background: var(--color-ink); -webkit-mask: url("../images/fsg-logo.png") center / contain no-repeat; mask: url("../images/fsg-logo.png") center / contain no-repeat; }

/* ---------- Nav: a small pill, top centre ---------- */
.nav { position: fixed; inset-inline: 0; top: var(--space-md); z-index: var(--z-sticky-nav); display: flex; justify-content: center; pointer-events: none; }
.nav__pill { display: flex; align-items: center; gap: var(--space-2xs); padding: var(--space-2xs); border-radius: var(--radius-nav); background: var(--color-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); pointer-events: auto; }
.nav__mark, .nav__link, .nav__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-nav); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav__mark { padding: 0 var(--space-sm) 0 var(--space-md); }
.nav__link { color: var(--color-ink-2); }
.nav__link:hover, .nav__mark:hover { background: var(--color-paper-3); color: var(--color-ink); }
.nav__cta { border: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); }
.nav__cta:hover { background: var(--color-paper-3); }
.nav__mark:focus-visible, .nav__link:focus-visible, .nav__cta:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__link:active, .nav__cta:active { background: var(--color-paper-2); }

/* ---------- The story: sticky stage behind, the hero and four stages scrolling over it ---------- */
.story { position: relative; z-index: 2; display: grid; }
.js .story { margin-top: -70dvh; }
@media (prefers-reduced-motion: reduce) { html.js .hero-wrap { height: auto; } html.js .hero-still { position: relative; } html.js .story { margin-top: 0; } }
.stage, .flow { grid-area: 1 / 1; min-width: 0; }
.stage { position: sticky; top: 0; height: 100dvh; align-self: start; overflow: hidden; z-index: 0; }
.flow { position: relative; z-index: 1; }

/* the hero: a still photograph that holds while the story rises, then eases back and dissolves */
.hero-wrap { position: relative; z-index: 1; }
.js .hero-wrap { height: 170dvh; }
.hero-still { position: relative; height: 100dvh; min-height: 560px; overflow: hidden; transform-origin: 50% 35%; }
.js .hero-still { position: fixed; inset: 0 0 auto; }
.hero-still__photo { position: absolute; inset: 0; overflow: hidden; background: var(--color-paper); }
.cover { position: absolute; left: 50%; top: 50%; width: max(100%, calc(100dvh * 1920 / 1254)); aspect-ratio: 1920 / 1254; translate: -50% -50%; container-type: inline-size; }
.cover__img, .cover__fg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover__fg { z-index: 2; pointer-events: none; }

/* the title sits in the fog, behind the ridge: the hills are drawn again on top of it */
.hero__title { position: absolute; z-index: 1; inset-inline: 0; top: 15%; display: flex; flex-direction: column-reverse; align-items: center; gap: 4.2cqw; max-width: none; margin: 0; color: var(--color-hero-ink); font-weight: var(--display-weight); text-transform: uppercase; text-align: center; line-height: 1; letter-spacing: 0; }
.hero__big { display: block; font-size: min(17cqw, 24vw); line-height: 0.8; letter-spacing: 0.04em; margin-right: -0.04em; white-space: nowrap; }
.hero__wordmark { display: block; font-size: max(1.4cqw, 1.125rem); font-weight: 500; letter-spacing: 0.42em; margin-right: -0.42em; white-space: nowrap; }
.hero-still__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--color-paper) 0%, color-mix(in oklab, var(--color-paper) 78%, transparent) 22%, transparent 46%); pointer-events: none; }


/* the sample site, where the plate lands and the layers come apart */
.build { position: absolute; z-index: 5; left: 44%; top: 50%; width: 50%; aspect-ratio: 16 / 10; translate: 0 -50%; perspective: 1800px; opacity: 0; pointer-events: none; }
html:not(.js) .build { opacity: 1; }
.layer__wire i, .layer__wire b { transform-origin: 0 50%; }
.build__site { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 55%; }
.layer { position: absolute; inset-inline: 0; transform-style: preserve-3d; }
.layer--nav { top: 0; height: 10%; }
.layer--hero { top: 10%; height: 46%; }
.layer--cards { top: 56%; height: 27%; }
.layer--foot { top: 83%; height: 17%; }
.layer__wire, .layer__fill { position: absolute; inset: 0; display: flex; align-items: center; gap: 3%; padding: 0 4%; }
.layer__wire { border: 1px solid var(--color-accent); background: color-mix(in oklab, var(--color-paper-2) 78%, transparent); }
.layer__wire i { display: block; height: 18%; flex: 0 0 9%; background: var(--color-accent-2); }
.layer__wire b { display: block; height: 34%; flex: 0 0 16%; margin-left: auto; border: 1px solid var(--color-accent); }
.layer--hero .layer__wire { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-bottom: 5%; }
.layer--hero .layer__wire i { flex: 0 0 auto; width: 46%; height: 9%; }
.layer--hero .layer__wire i + i { width: 30%; }
.layer--hero .layer__wire b { flex: 0 0 auto; width: 18%; height: 12%; margin-left: 0; }
.layer--cards .layer__wire i { flex: 1 1 0; height: 72%; background: none; border: 1px solid var(--color-accent-2); }
.layer__fill { opacity: 0; background: var(--color-ink); color: var(--color-accent-ink); font-size: clamp(0.5rem, 0.9vw, 0.875rem); }
.layer__fill strong { font-weight: 500; font-stretch: var(--display-stretch); }
.layer__fill em { margin-left: auto; padding: 0.5em 1em; font-style: normal; font-weight: 500; background: var(--color-accent-ink); color: var(--color-ink); }
.layer--nav .layer__fill { border-bottom: 1px solid var(--color-muted); }
.layer--nav .layer__fill strong { margin-right: auto; }
.layer__fill--photo { padding: 0; overflow: hidden; background: var(--color-paper); }
.layer__fill--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.layer__fill--photo strong { position: relative; align-self: flex-end; margin: 0 0 6% 5%; padding: 0.4em 0.6em; font-size: 2.2em; font-weight: 300; line-height: 1.05; color: var(--color-ink); background: var(--color-scrim); }
.layer--cards .layer__fill span { flex: 1 1 0; align-self: stretch; margin-block: 4%; padding: 4%; background: var(--color-ink-2); font-weight: 500; }
.layer--foot .layer__fill { background: var(--color-ink-2); }

/* the hero */
.hero { position: relative; z-index: 3; min-height: 100%; display: grid; align-items: end; justify-items: center; padding-block: var(--space-4xl) var(--space-2xl); }
.hero__side { display: grid; gap: var(--space-lg); justify-items: center; text-align: center; }
.hero__side .lead { color: var(--color-ink); max-width: 34ch; }

/* the four stages */
.stages { list-style: none; margin: 0; padding-block: 0 var(--space-3xl); }
.panel { min-height: 100dvh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.panel__text { grid-column: 1 / span 4; display: grid; gap: var(--space-md); }
.panel__text h2 { font-size: var(--text-display); }
.panel__text p { color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.45; max-width: 30ch; }
html:not(.js) .panel__text { padding: var(--space-xl); background: var(--color-paper-2); }

/* ---------- Two ways in ---------- */
.ways { padding-block: var(--section-gap-l) var(--section-gap); }
.ways__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-3xl); align-items: start; }
.ways__head { display: grid; gap: var(--space-lg); }
.seg { display: inline-flex; flex-wrap: wrap; gap: var(--space-2xs); margin-bottom: var(--space-2xl); }
.seg__tab { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: none; color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg__tab:hover { background: var(--color-paper-2); color: var(--color-ink); }
.seg__tab:active { background: var(--color-paper-3); }
.seg__tab[aria-selected="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.seg__tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.switch__line { font-size: var(--text-display-s); font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.08; letter-spacing: var(--tracking-display); max-width: 18ch; margin-bottom: var(--space-2xl); text-wrap: balance; }
.rows { margin: 0; }
.rows > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--gap-columns); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.rows > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows dt { font-size: var(--text-title); font-weight: 500; line-height: 1.25; }
.rows dd { margin: 0; color: var(--color-muted); }
html:not(.js) .switch__panel[hidden] { display: block !important; margin-top: var(--space-3xl); }

/* ---------- Price statement, a band ---------- */
.price { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.price__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.price__head { grid-column: 1 / span 10; max-width: 18ch; font-size: var(--text-display); }
.price__line { grid-column: 7 / span 5; }

/* ---------- Work ---------- */
.work { padding-block: var(--section-gap) var(--section-gap-s); }
.work__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.work__head .lead { justify-self: end; max-width: 34ch; }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
/* project flip cards: the site on the front, what it is and a link on the back */
.flip-card { position: relative; height: 480px; border-radius: 14px; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: pan-y; }
.flip-card[data-dragging] { cursor: grabbing; }
.flip-card__shadow { position: absolute; inset: 12% 9% -4%; border-radius: 14px; background: var(--color-scrim); opacity: 0.9; filter: blur(22px); pointer-events: none; }
.flip-card__rotor { position: absolute; inset: 0; transform-style: preserve-3d; }
.flip-card__face { position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 14px; background: var(--color-paper-3); color: var(--color-ink); backface-visibility: hidden; -webkit-backface-visibility: hidden; outline: 1px solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.flip-card__face--back { transform: rotateY(180deg); justify-content: space-between; padding: var(--space-xl); }
.flip-card__face img { -webkit-user-drag: none; }
.flip-card__shot { position: relative; flex: 1 1 auto; overflow: hidden; background: var(--color-paper); }
.flip-card__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.flip-card__caption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-lg); }
.flip-card__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-xl); line-height: 1.1; }
.flip-card__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); line-height: 1.08; max-width: 14ch; }
.flip-card__facts { display: grid; margin: var(--space-xl) 0 0; }
.flip-card__facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule-2); }
.flip-card__facts dt { font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; }
.flip-card__facts dd { margin: 0; }
.flip-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); }
.flip-card__visit { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.flip-card__visit:hover { background: var(--color-focus); }
.flip-card__visit:active { transform: translateY(1px); }
.flip-card__turn { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-nav); background: none; color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.flip-card__turn:hover { background: var(--color-paper-2); color: var(--color-ink); }
.flip-card__turn:active { background: var(--color-paper); }
.flip-card__visit:focus-visible, .flip-card__turn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.flip-card__glare { position: absolute; inset: 0; background: radial-gradient(circle farthest-side at var(--fc-gx, 50%) var(--fc-gy, 50%), color-mix(in oklab, var(--color-ink) 20%, transparent) 0%, color-mix(in oklab, var(--color-ink) 9%, transparent) 30%, transparent 75%); opacity: var(--fc-sheen, 0); pointer-events: none; }
/* reduced motion: the faces cross-fade instead of turning */
.js .flip-card[data-fade] .flip-card__face { transform: none; opacity: 0; backface-visibility: visible; -webkit-backface-visibility: visible; transition: opacity 200ms linear; }
.js .flip-card[data-fade][data-face="front"] .flip-card__face--front, .js .flip-card[data-fade][data-face="back"] .flip-card__face--back { opacity: 1; }
/* without script, the card shows its front with the details beneath, no turning */
html:not(.js) .flip-card { height: auto; }
html:not(.js) .flip-card__rotor, html:not(.js) .flip-card__face { position: relative; transform: none; }
html:not(.js) .flip-card__shot { aspect-ratio: 16 / 10; }
html:not(.js) .flip-card__turn { display: none; }
.work__next { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xl); background: var(--color-paper-2); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.work__next:hover { background: var(--color-paper-3); }
.work__next:active { background: var(--color-paper-2); }
.work__next:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.work__next-title { font-size: var(--text-3xl); font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.08; letter-spacing: var(--tracking-display); text-wrap: balance; }
.work__next-line { color: var(--color-muted); }
.work__next-act { margin-top: auto; font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }

/* ---------- Enquire ---------- */
.enquire { padding-block: var(--section-gap) var(--section-gap-l); border-top: var(--rule-hair) solid var(--color-rule); }
.enquire__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-3xl); align-items: start; }
.enquire__head { display: grid; gap: var(--space-lg); position: sticky; top: var(--space-4xl); }
.contact { margin: var(--space-xl) 0 0; display: grid; }
.contact > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.contact dt { font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.contact a { text-decoration-color: var(--color-rule-2); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.contact a:hover { text-decoration-color: var(--color-accent); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-lg); row-gap: var(--space-sm); }
.field { display: grid; gap: var(--space-xs); min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); padding: 0; }
.field__opt { color: var(--color-muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { background: var(--color-paper-2); }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field input:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--color-error); }
.field input::placeholder { color: var(--color-muted); }
.field__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-error); }
.form__trap { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.choice legend { margin-bottom: var(--space-xs); }
.choice__row { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink-2); font-size: var(--text-md); font-weight: 400; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.choice label:hover { background: var(--color-paper-2); color: var(--color-ink); }
.choice input:checked + label { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.choice input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.choice input:disabled + label { opacity: 0.55; cursor: not-allowed; }

.consent { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-sm); align-items: start; }
.consent input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--color-accent); cursor: pointer; }
.consent label { font-weight: 400; line-height: 1.5; cursor: pointer; }
.consent label a { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.consent .field__help { grid-column: 2; }
.form__foot {display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-md); }
.form__status { min-height: 1lh; max-width: 44ch; color: var(--color-ink-2); }

/* ---------- Footer: a statement ---------- */
.foot { padding-block: var(--section-gap-s) var(--space-2xl); background: var(--color-paper-2); }
.foot__line { font-size: var(--text-display-s); font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.08; letter-spacing: var(--tracking-display); max-width: 24ch; text-wrap: balance; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xl); margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.logo--foot { width: 64px; }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--color-ink-2); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.foot__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.foot__links a:focus-visible, .foot__colophon a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__colophon { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.foot__colophon + .foot__colophon { margin-top: var(--space-2xs); }

/* ---------- The slat sea behind the whole site; sections lay a veil of the ground over it ---------- */
body { background: var(--color-paper); }
.slats { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }

/* Privacy policy page */
.policy { padding-block: calc(var(--space-4xl) * 2) var(--section-gap); }
.policy__body { max-width: 72ch; }
.policy__body h1 { font-size: var(--text-display); }
.policy__body .lead { margin-top: var(--space-md); }
.policy__date { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.policy__body h2 { margin-top: var(--space-2xl); font-size: var(--text-display-s); }
.policy__body p, .policy__body ul { margin-top: var(--space-sm); color: var(--color-ink-2); line-height: 1.6; }
.policy__body ul { padding-left: 1.2em; }
.policy__body li + li { margin-top: var(--space-2xs); }
.policy__body strong { color: var(--color-ink); font-weight: 500; }
.policy__body a:not(.btn) { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.policy__back { margin-top: var(--space-2xl); }
.ways, .work, .enquire { background: var(--color-veil); }
.price { background: var(--color-veil-2); }
.foot { background: var(--color-veil-2); }
.stages .panel { background: linear-gradient(to right, var(--color-veil) 0%, var(--color-veil) 34%, transparent 58%); }
@media (max-width: 60rem) { .stages .panel { background: none; } }

/* ---------- Under 60rem ---------- */
@media (max-width: 60rem) {
  .hero { padding-block: var(--space-4xl) var(--space-xl); }
  .hero__title { top: 18%; gap: var(--space-lg); }
  .build { left: 6%; width: 88%; top: 14%; translate: none; }
  .panel { align-items: end; padding-bottom: var(--space-2xl); }
  .panel__text { grid-column: 1 / -1; padding: var(--space-lg); background: var(--color-paper-2); }
  .panel__text h2 { font-size: var(--text-display-s); }
  .ways__grid, .enquire__grid, .work__head, .work__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .work__head .lead { justify-self: start; }
  .flip-card { height: 500px; }
  .flip-card__face--back { padding: var(--space-lg); }
  .flip-card__facts { margin-top: var(--space-lg); }
  .price__head, .price__line { grid-column: 1 / -1; }
  .enquire__head { position: static; }
}
@media (max-width: 40rem) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .rows > div { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xs); }
  .nav__mark, .nav__link, .nav__cta { padding: 0 var(--space-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .settle { animation: none; }
  .btn, .seg__tab, .choice label, .nav__link, .nav__cta, .nav__mark, .work__next, .field input, .field textarea, .foot__links a, .contact a { transition: none; }
}
