/* Hallmark · shape: Narrative Workflow · genre: modern-minimal · theme: Console (deal 1/3, seed freelance-aiops-platform-engineer-efae·a0af1a7b·2026-11-18·r0) · job: hire · draw: 76ae83
 * hero: Stage, portrait (swapped from Index: a person, not a product, is what is hired) · nav: edge-aligned (swapped from search-led: one person, nothing to search) · footer: statement · imagery: photographs 2 (user's own, in colour by request; the hero one a cut-out without a frame), product image 1 (the Dribbr app preview, the user's own), sample trail built in the case · signature: the hero line IT … YOU, typing what IT does with and for YOU in a loop, from built with to handed over to; the case trail shows the agent proposing in cool and a person approving in amber · console: graphite
 * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: P, the argument (AI proposes, a person decides) lives mostly in the hero; the case section repeats it in its last stage */
/* Hallmark · override 18 by the owner · the hero line loops with no pause control, at the owner's explicit request; it still stops off-screen and stays still under reduced motion */
/* Hallmark · waive 38iii · the amber is a typing caret on the typed hero line, the signature, once on the page · the word itself stays in ink; only the caret bar marks where the whiteboard phrase is being typed */
/* Hallmark · dismissed 25 · the lead quote is set at display size, where 28ch keeps one spoken sentence to three lines */
/* Hallmark · waive 77 · the work list is a timeline on one spine; each entry holds a short fact, so its text ends before the right edge · five companies with their clients read as a timeline, not as a block that needs filling */
/* Hallmark · dismissed 58 · the screen at y=3450 is the seven-row project index, each row counted with its years and client */
@import url("./tokens.css");
@import url("./base.css");

/* The user asked for the photographs in their own colours, so the theme's duotone is switched off. */
[data-slot] > img { filter: none; mix-blend-mode: normal; }
[data-slot]:has(> img)::before { content: none; }

/* Page-wide pieces */
.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); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); outline: 2px solid var(--color-focus); outline-offset: 2px; }
a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }
.measured { font-family: var(--font-outlier); font-size: var(--text-sm); font-variant-numeric: tabular-nums slashed-zero; color: var(--color-cool); }
.reading-sm { font-family: var(--font-outlier); font-variant-numeric: tabular-nums slashed-zero; color: var(--color-ok); }

/* Buttons: one amber primary, the rest outlined */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); 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:hover { background: var(--color-rule); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.btn--quiet { background: transparent; }
.btn--small { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } .btn:active { transform: none; } }

/* Nav: the wordmark and one action at opposite edges */
.nav { border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.wordmark { font: 500 var(--text-lg)/1 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.nav__links a:not(.btn) { color: var(--color-ink-2); text-decoration: none; }
.nav__links a:not(.btn):hover { color: var(--color-ink); }
.nav__avail a { color: var(--color-accent) !important; }
.nav__avail a { white-space: nowrap; }

/* Hero: text on five columns, the trail on seven */
.hero { padding-block: var(--space-2xl) var(--space-3xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; min-height: calc(100svh - 72px - var(--space-2xl) - var(--space-3xl)); }
.hero__text { display: grid; gap: var(--space-lg); }
.hero__text .lead { color: var(--color-ink-2); }
/* The typed hero line: IT and YOU stay, the middle is typed out. */
.typed { display: grid; gap: var(--space-sm); justify-items: start; }
/* Three fixed lines, so only the middle changes and nothing else on the page moves while it types. */
.typed h1 { max-width: none; font-size: min(var(--text-display), 10vw); text-wrap: nowrap; line-height: 1.02; }
.typed__line { display: block; min-height: 1.02em; }
.typed__verb { box-shadow: inset -2px 0 0 var(--color-accent); padding-right: 0.06em; transition: box-shadow var(--dur-long) var(--ease-out); }
.typed__verb.is-done, html:not(.js) .typed__verb { box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }

.trail { margin: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }
.trail__title { padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); font-weight: 500; }
.chip { display: inline-flex; align-items: center; padding: var(--space-3xs) var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 4px; font-size: var(--text-sm); color: var(--color-ink-2); }
.chip--cool { background: var(--color-cool-soft); }
.trail__rows { margin: 0; padding: 0; list-style: none; }
.trail__row { display: grid; grid-template-columns: 4rem 5.5rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.trail__row p { color: var(--color-ink-2); }
.trail__row--person { background: var(--color-accent-soft); }
.trail__row--person p { color: var(--color-ink); }
.who { font-size: var(--text-sm); font-weight: 500; }
.who--tool { color: var(--color-cool); }
.who--person { color: var(--color-accent); }
.trail figcaption { margin-top: 0; padding: var(--space-md) var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); background: var(--color-paper-3); }

/* Case: numbered stages as full-width rows */
.case { padding-block: var(--section-gap-s); background: var(--color-paper-3); }
.case__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.case__head .lead { color: var(--color-ink-2); }
.case__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.stages { margin: 0; padding: 0; list-style: none; counter-reset: stage; border-top: var(--rule-hair) solid var(--color-rule-2); }
.stages li { counter-increment: stage; display: grid; gap: var(--space-2xs); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.stages h3::before { content: counter(stage) ". "; color: var(--color-muted); }
.stages p { color: var(--color-ink-2); }
.stages li:last-child h3::before { color: var(--color-accent); }
/* Habits are not steps, so they carry no number. */
.stages--plain h3::before { content: none; }
.trail--steps .trail__row { grid-template-columns: 1.5rem 5.5rem minmax(0, 1fr); }
/* The examples sit under each other, next to the list of habits. */
.case__examples { display: grid; gap: var(--space-lg); }

/* Services: the list beside the whiteboard */
.services { padding-block: var(--section-gap-s); }
.services__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; }
.services__list > div { display: grid; align-content: start; gap: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.services__list dt { font: 500 var(--text-2xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); }
.services__list dd { margin: 0; color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.45; }
.about__photo { margin: 0; }
.photo { border-radius: var(--radius-card); }
.photo--wide { aspect-ratio: 4 / 3; min-height: 440px; }
figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* Own product: the app preview beside its story */
.product { padding-block: var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); }
.product__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.shot.shot--square { aspect-ratio: 1 / 1; min-height: 440px; }
.product__text { display: grid; gap: var(--space-md); }
.product__title { margin-bottom: var(--space-2xl); }
.product__grid + .product__grid { margin-top: var(--space-3xl); padding-top: var(--space-3xl); border-top: var(--rule-hair) solid var(--color-rule); }
.product__text h3 { font: 500 var(--text-3xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); }
.product__text h3 a { text-decoration-color: var(--color-rule-2); }
.product__points { display: grid; gap: var(--space-xs); margin: 0; padding-left: 1.1em; color: var(--color-ink-2); }
.product__points li::marker { color: var(--color-accent); }
/* The Mentivator facts sit in a card, like the example cards higher up. */
.facts--card { margin: 0; padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.facts--card > div:nth-child(-n+2) { padding-top: 0; border-top: 0; }
.product__text .lead { color: var(--color-ink-2); }
.product__text p:not(.lead) { color: var(--color-muted); }
.product__text .note { font-size: var(--text-sm); }

/* Work: every client as an index */
.work { padding-block: var(--section-gap-s) var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); }
.work h2 { margin-bottom: var(--space-2xl); }
.shot { margin: 0; aspect-ratio: 16 / 10; min-height: 360px; border-radius: var(--radius-card); }
.shot > img { object-position: 0 0; }
/* The Dribbr picture is almost white on a dark page, so it is dimmed to be easy on the eyes. */
.product .shot > img { filter: brightness(0.78) saturate(0.95); }

.index { width: 100%; border-collapse: collapse; }
.index th, .index td { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: baseline; }
.index thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; border-bottom-color: var(--color-rule-2); }
.index tbody th { font-weight: 500; font-size: var(--text-lead); white-space: nowrap; }
.index tbody td:last-child { color: var(--color-ink-2); }
.index td.measured { width: 10rem; white-space: nowrap; }

/* Quotes: one set large, four beneath */
/* Mentor: a short text beside what the mentor wrote */
.mentor { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.mentor__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: end; }
.mentor__text { display: grid; gap: var(--space-lg); }
.mentor__text .lead { color: var(--color-ink-2); }
.mentor .quote { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.quotes { padding-block: var(--section-gap-s) var(--section-gap); }
.quote { margin: 0; display: grid; gap: var(--space-md); align-content: space-between; }
.quote blockquote { margin: 0; }
.quote p { text-indent: -0.4em; color: var(--color-ink-2); }
.quote--lead p { font: 500 var(--text-display-s)/1.12 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 28ch; text-wrap: balance; }
.quote figcaption { display: grid; gap: var(--space-3xs); margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.quote__name { color: var(--color-ink); font-weight: 500; }
.quotes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-3xl); }
.quotes__grid .quote { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }

/* Work: a timeline, years on the left, each company on one spine */
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: var(--gap-columns); align-items: baseline; }
.timeline__body { position: relative; display: grid; gap: var(--space-2xs); padding: 0 0 var(--space-xl) var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule-2); }
.timeline li:last-child .timeline__body { padding-bottom: 0; }
.timeline__body::before { content: ""; position: absolute; left: 0; top: 0.75em; width: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); }
.timeline__body h3 { font-size: var(--text-title); }
.timeline__body p { color: var(--color-ink-2); }

/* About: the portrait beside the facts */
.about { padding-block: var(--section-gap); background: var(--color-paper-2); }
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
/* The hero photo is a cut-out on the page itself: no frame, nothing cropped. */
/* The hoodie is as dark as the page: a soft light behind it and a little extra brightness keep the figure readable. */
.cutout { margin: 0; display: grid; justify-items: center; background: radial-gradient(ellipse 62% 58% at 50% 46%, color-mix(in oklab, var(--color-cool) 22%, transparent), transparent 72%); }
.cutout img { width: auto; max-width: 100%; max-height: 68svh; object-fit: contain; filter: brightness(1.28) contrast(0.96); -webkit-mask-image: linear-gradient(to bottom, var(--color-ink) 78%, transparent); mask-image: linear-gradient(to bottom, var(--color-ink) 78%, transparent); }
.about__text { display: grid; gap: var(--space-lg); }
.about__text .lead { color: var(--color-ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); margin: var(--space-md) 0 0; }
.facts > div { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { margin: var(--space-2xs) 0 0; font-weight: 500; }

/* Close: availability and the address to write to */
.close { padding-block: var(--section-gap-l) var(--section-gap); }
.close__grid { display: grid; gap: var(--space-2xl); }
.display-s { font-size: var(--text-display-s); max-width: 24ch; }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.terms > div { padding-inline: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.terms > div:first-child { padding-left: 0; border-left: 0; }
.terms dt { font-size: var(--text-sm); color: var(--color-muted); }
.terms dd { margin: var(--space-2xs) 0 0; font-size: var(--text-lead); color: var(--color-ink); }
.terms dd.measured { font-size: var(--text-lead); color: var(--color-ink); }
.mail { justify-self: start; font: 500 var(--text-section)/1.1 var(--font-display); letter-spacing: var(--tracking-display); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.18em; overflow-wrap: anywhere; min-width: 0; }
.mail:hover { color: var(--color-accent); }

.quotes__note { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }

/* An idea worked out: problem, idea and solution on one stage. Each thing on the stage carries its own place per step. */
.idea { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.idea__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.idea__head .lead { color: var(--color-ink-2); }
.idea__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl); align-items: stretch; }
.idea__steps { display: grid; gap: var(--space-sm); align-content: start; margin: 0; padding: 0; list-style: none; }
.idea__step { display: grid; gap: var(--space-2xs); width: 100%; padding: var(--space-md) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: transparent; color: var(--color-muted); font: inherit; line-height: 1.5; text-align: left; cursor: pointer; transition: background-color var(--dur-short) linear, border-color var(--dur-short) linear, color var(--dur-short) linear; }
.idea__step:hover { border-color: var(--color-rule-2); }
.idea__step-title { font: 500 var(--text-title)/1.2 var(--font-display); color: var(--color-ink-2); }
.idea__step[aria-pressed="true"] { background: var(--color-paper-2); border-color: var(--color-accent); color: var(--color-ink-2); }
.idea__step[aria-pressed="true"] .idea__step-title { color: var(--color-ink); }
html:not(.js) .idea__step { color: var(--color-ink-2); cursor: default; }
.idea__note { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.stage { position: relative; min-height: 540px; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2) radial-gradient(var(--color-rule) 1px, transparent 1px) 0 0 / 24px 24px; overflow: hidden; }
.stage > * { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -50%; transition: left 900ms var(--ease-in-out), top 900ms var(--ease-in-out), opacity var(--dur-long) linear, border-color var(--dur-long) linear, color var(--dur-long) linear, scale var(--dur-long) var(--ease-out); }
[data-step="1"] .stage > * { --x: var(--x1); --y: var(--y1); }
[data-step="2"] .stage > * { --x: var(--x2); --y: var(--y2); }
[data-step="3"] .stage > * { --x: var(--x3); --y: var(--y3); }
/* Where the browser can, the pieces slide instead of being drawn again every frame. That keeps the picture from flickering on phones. */
@supports (width: 1cqw) {
  /* The picture takes its height from the row, not from a minimum of its own: only then does the browser know the height while it places the pieces. */
  .idea__grid { grid-template-rows: minmax(540px, auto); }
  .stage { container-type: size; min-height: 0; }
  .stage > * { left: 0; top: 0; translate: calc(var(--x) * 1cqw - 50%) calc(var(--y) * 1cqh - 50%); transition: translate 900ms var(--ease-in-out), opacity var(--dur-long) linear, border-color var(--dur-long) linear, color var(--dur-long) linear, scale var(--dur-long) var(--ease-out); }
}
.fact { padding: var(--space-2xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.5; white-space: nowrap; }
[data-step="1"] .fact--lost { opacity: 0.45; }
[data-step="1"] .fact--stale { border-style: dashed; color: var(--color-muted); }
[data-step="1"] .fact--ask { border-color: var(--color-accent); color: var(--color-ink); }
[data-step="3"] .fact { border-color: color-mix(in oklab, var(--color-ok) 60%, var(--color-rule-2)); color: var(--color-ink); }
[data-step="3"] .fact::before { content: "\2713\00a0"; color: var(--color-ok); }
.person { width: 30px; height: 30px; border: var(--rule-hair) solid var(--color-rule-2); border-radius: 50%; background: var(--color-paper); }
.person::before { content: ""; position: absolute; left: 50%; top: 6px; width: 8px; height: 8px; translate: -50% 0; border-radius: 50%; background: var(--color-ink-2); }
.person::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 16px; height: 8px; translate: -50% 0; border-radius: 8px 8px 3px 3px; background: var(--color-ink-2); }
[data-step="1"] .person--expert { border-color: var(--color-accent); box-shadow: 0 0 0 5px var(--color-accent-soft); }
/* The teammate stays in front, so a passing label never covers it. */
.mate { z-index: 1; display: grid; justify-items: center; gap: var(--space-xs); }
.mate__dot { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--color-accent); border-radius: 50%; background: var(--color-accent-soft); }
.mate__dot::before { content: ""; width: 30px; height: 6px; background: radial-gradient(circle, var(--color-accent) 2.6px, transparent 3px) 0 0 / 10px 6px; }
.mate__label { padding-inline: var(--space-2xs); border-radius: 4px; background: var(--color-paper-2); font-size: var(--text-sm); font-weight: 500; color: var(--color-accent); white-space: nowrap; }
[data-step="1"] .mate { opacity: 0; scale: 0.5; }
/* The pulse is a disc behind the dot that grows and fades, which a phone can show without drawing it again. */
.mate::before { content: ""; position: absolute; z-index: -1; top: 0; left: calc(50% - 32px); width: 64px; height: 64px; border-radius: 50%; background: color-mix(in oklab, var(--color-accent) 40%, transparent); opacity: 0; }
[data-live][data-step="2"] .mate::before { animation: mate-pulse 2.4s var(--ease-in-out) infinite; }
@keyframes mate-pulse { 0%, 100% { opacity: 1; scale: 1; } 60% { opacity: 0; scale: 1.5; } }
.stage__lane { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; opacity: 0; }
[data-step="3"] .stage__lane { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .stage > * { transition: none; } [data-live][data-step="2"] .mate::before { animation: none; } }
/* Below a wide laptop screen the picture uses its tall layout: the wide one needs about 840px of room, or labels run into each other. */
@media (max-width: 89.9375rem) {
  .stage { min-height: 640px; }
  @supports (width: 1cqw) { .idea__grid { grid-template-rows: minmax(640px, auto); } .stage { min-height: 0; } }
  [data-step="1"] .stage > * { --x: var(--mx1); --y: var(--my1); }
  [data-step="2"] .stage > * { --x: var(--mx2); --y: var(--my2); }
  [data-step="3"] .stage > * { --x: var(--mx3); --y: var(--my3); }
}
@media (max-width: 60rem) {
  .idea__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  @supports (width: 1cqw) { .idea__grid { grid-template-rows: none; } .stage { height: 640px; } }
}

/* Footer: one closing line, the links and the legal details */
.footer { padding-block: var(--space-3xl) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-3); color: var(--color-ink); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-xl) var(--gap-columns); }
.footer__line { font: 500 var(--text-display-s)/1.05 var(--font-display); letter-spacing: var(--tracking-display); max-width: 18ch; text-wrap: balance; }
.footer__links { display: grid; gap: var(--space-xs); align-content: start; margin: 0; padding: 0; list-style: none; }
.footer__links a { color: var(--color-ink-2); }
.footer__legal { grid-column: 1 / -1; font-style: normal; font-size: var(--text-sm); color: var(--color-muted); }

/* Page not found: one calm screen that points home */
.missing { padding-block: var(--space-4xl); }
.missing__inner { display: grid; gap: var(--space-lg); justify-items: start; }
.missing .lead { color: var(--color-ink-2); }

/* Narrow screens: every composition stacks in reading order */
@media (max-width: 60rem) {
  :root { --gutter: 20px; }
  .hero { padding-block: var(--space-2xl); }
  .hero__grid, .case__grid, .product__grid, .about__grid, .mentor__grid, .footer__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); margin-top: var(--space-2xl); }
  .quote p { text-indent: 0; }
  .services__list > div { min-height: 0; }
  .trail__row { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .trail__row p { grid-column: 1 / -1; }
  .trail--steps .trail__row { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .photo--wide, .shot, .shot.shot--square { min-height: 0; }
  .cutout img { max-height: 60svh; }
  .terms { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .terms > div { padding: var(--space-md) 0 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .terms > div:first-child { padding-top: 0; border-top: 0; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .index thead { display: none; }
  .index tr { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .index th, .index td { padding: 0; border: 0; white-space: normal; }
  .nav__links li:not(:last-child):not(.nav__avail):not(.nav__lang) { display: none; }
  .nav__links { gap: var(--space-md); }
  .nav__long { display: none; }
}
