/* Instrument Sans: self-hosted Latin and Latin Extended; SIL OFL. */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --cream: #edf1ea;
  --ink: #25332e;
  --body: #4b5952;
  --muted: #606e64;
  --line: #d5ddd3;
  --rust: #a14d35;
  --rust-deep: #803b29;
  --rust-tint: #ecd8cb;
  --on-ink: #f7f8f4;
  --on-ink-muted: #becbc0;
  --deep: #10302f;
  --focus: var(--rust);
  --display: var(--sans);
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --page-width: 72rem;
  --page-gutter: clamp(1.25rem, 5vw, 4rem);
  --section-gap: clamp(3.5rem, 7vw, 6rem);
  --hero-gap: clamp(3rem, 6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: #a5b4a7 var(--paper); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: var(--rust-tint); }
a { color: inherit; text-decoration-color: currentColor; text-underline-offset: .23em; text-decoration-thickness: 1px; transition: color .18s ease-out; }
a:hover { color: var(--rust); }
a:focus-visible, main:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
p { color: var(--body); }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 550; }
h1 { font-size: clamp(2.75rem, 4.5vw, 4rem); font-weight: 550; line-height: 1.045; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3vw, 2.625rem); line-height: 1.12; letter-spacing: -.03em; }
h3, h4 { font-size: 1.0625rem; line-height: 1.45; font-weight: 600; }
section[id] { scroll-margin-top: var(--space-7); }
.wrap { width: min(var(--page-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: var(--space-2); left: var(--space-2); padding: var(--space-3) var(--space-4); background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.nowrap { white-space: nowrap; }

/* A small personal masthead. The portrait appears only here. */
.site-header { display: flex; align-items: center; gap: var(--space-6); padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.identity { display: flex; gap: var(--space-3); align-items: center; text-decoration: none; flex-shrink: 0; }
.identity img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; outline: 1px solid rgb(37 51 46 / .1); outline-offset: 3px; }
.identity-name { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.identity-role { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.6; }
nav { display: flex; gap: var(--space-6); align-items: center; margin-left: auto; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--body); text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; }
.header-cta { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 40px; padding-inline: var(--space-4); border: 1px solid var(--line); border-radius: 5px; color: var(--ink); font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .18s ease-out, border-color .18s ease-out; }
.header-cta:hover { border-color: var(--rust); color: var(--rust); }
.lang-switch { margin-left: var(--space-2); padding-left: var(--space-6); border-left: 1px solid var(--line); }

/* Title and argument are distinct, aligned parts of the same opening. */
.hero { padding-top: clamp(3.5rem, 7.5vw, 7rem); }
.hero-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: var(--hero-gap); }
.hero-role { display: block; color: var(--rust); }
.hero-summary { padding-top: var(--space-2); }
.hero-intro { font-size: 1.125rem; line-height: 1.75; max-width: 42ch; text-wrap: pretty; }
.hero-intro strong { font-weight: 600; color: var(--ink); }
.hero-fit { margin-top: var(--space-5); font-size: .875rem; line-height: 1.7; color: var(--muted); max-width: 48ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 54px; padding: .9375rem 1.25rem; border: 1px solid transparent; border-radius: 5px; background: var(--rust); color: var(--paper); font-size: .875rem; font-weight: 500; line-height: 1.5; text-align: left; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out); }
.button svg { flex-shrink: 0; transition: transform .25s var(--ease-out); }
.button:hover { color: var(--paper); background: var(--rust-deep); }

.button:active { background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: .875rem; line-height: 1.5; }
.text-link svg { flex-shrink: 0; }

.hiring-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-5) var(--hero-gap);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.hiring-story h2 { max-width: 21ch; }
.hiring-story p { max-width: 62ch; font-size: clamp(1rem, 1.35vw, 1.125rem); text-wrap: pretty; }
.hiring-story strong { color: var(--rust-deep); font-weight: 650; }

/* Proof is set like figures in a report, with its qualifications attached.
   The caption sits on the paper just above the ice it names. */
/* The results open directly under the hero; the story that follows the ice
   needs no rule of its own, because the sheet's edge already divides them. */
.proof-section { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.proof-section + .hiring-story { margin-top: 0; border-top: 0; }
.proof-title { padding-bottom: var(--space-4); font-size: .875rem; font-weight: 550; line-height: 1.6; letter-spacing: 0; }
.proof-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.proof-band li { display: flex; flex-direction: column; align-items: flex-start; }
.proof-num { margin-bottom: var(--space-4); font-family: var(--display); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 450; line-height: 1; letter-spacing: -.035em; font-variant-numeric: lining-nums tabular-nums; }
.proof-label { font-size: .875rem; line-height: 1.5; }
.proof-note { max-width: 27ch; margin-top: var(--space-2); font-size: .8125rem; line-height: 1.65; color: var(--muted); }

/* The lead: an icebreaker's channel through the page's own paper. Without
   JavaScript the figures rest on static floes in open water; with it, one
   canvas draws the sheet, plates and water behind the same native text. */
.lead {
  position: relative;
  isolation: isolate;
  padding-block: 7.5rem 8rem;
  border: 0;
  background: #829d99;
  box-shadow: 0 0 0 100vmax #829d99;
  clip-path: inset(0 -100vmax);
}
.lead-canvas { display: none; position: absolute; z-index: -1; top: 0; left: calc((100% - 100vw) / 2); width: 100vw; height: 100%; pointer-events: none; }
.lead .proof-band { align-items: start; justify-items: start; gap: 4.5rem clamp(2.75rem, 5vw, 4.5rem); }
.lead [data-floe] { position: relative; filter: drop-shadow(0 3px 0 #abc1be) drop-shadow(2px 4px 5px rgb(44 72 69 / .18)); }
.lead [data-floe]::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.5rem -1.75rem -1.75rem;
  background: linear-gradient(160deg, #fdfefc, #edf3f1);
  clip-path: polygon(5% 8%, 39% 0, 84% 5%, 100% 33%, 95% 83%, 66% 100%, 20% 95%, 0 60%);
}
.lead [data-floe]:nth-child(even)::before { clip-path: polygon(0 24%, 22% 2%, 71% 0, 97% 16%, 100% 68%, 80% 98%, 31% 100%, 4% 80%); }
.lead [data-floe]:nth-child(2) { margin-top: 6.5rem; }
.lead [data-floe]:nth-child(3) { margin-top: 1.25rem; }
.lead [data-floe]:nth-child(4) { margin-top: 7.5rem; }
.lead .proof-figure { display: block; margin-bottom: var(--space-3); font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1; }
.lead .proof-num { display: block; margin: 0; font-size: inherit; font-weight: 500; letter-spacing: -.04em; }
.lead .proof-label { font-size: .9375rem; font-weight: 550; line-height: 1.5; }
.lead .proof-note { max-width: 21ch; color: var(--body); line-height: 1.6; }
.lead-live .lead { background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); }
.lead-live .lead-canvas { display: block; }
.lead-live .lead [data-floe] { filter: none; }
.lead-live .lead [data-floe]::before { display: none; }

/* A founder's words between the figures and the fit: the lead excerpt of the
   quote that the Copix case carries in full. A photo and links are optional. */
.quote.quote-lead { max-width: 46rem; margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.quote.quote-lead p { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.4; letter-spacing: -.015em; }

/* Open case studies: the brief on the left, the evidence on the right. */
.section { padding-block: var(--section-gap); }
.work > h2 { margin-bottom: var(--space-8); }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-9); padding-block: var(--space-7) var(--space-8); border-top: 1px solid var(--line); }
.case + .case { padding-top: var(--space-8); }
.case-heading { margin-bottom: var(--space-5); }
.case-heading h3 { max-width: 23ch; font-family: var(--display); font-size: clamp(1.875rem, 3vw, 2.625rem); font-weight: 500; line-height: 1.17; letter-spacing: -.025em; }
.case-heading h3 a { text-decoration-color: var(--rust); }
.case-context { margin-top: var(--space-4); font-size: .8125rem; line-height: 1.65; color: var(--muted); }
.case-overview > p { max-width: 48ch; font-size: 1rem; text-wrap: pretty; }
.case-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); padding-bottom: var(--space-6); }
.case-results dt { margin-bottom: var(--space-3); font-size: .8125rem; color: var(--body); }
.case-results dd { font-family: var(--display); font-size: clamp(2.75rem, 4vw, 3.5rem); line-height: 1; font-weight: 450; letter-spacing: -.035em; color: var(--rust); font-variant-numeric: lining-nums tabular-nums; }
.case-results dd span { display: block; max-width: 24ch; margin-top: var(--space-3); font-family: var(--sans); font-size: .8125rem; line-height: 1.65; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.case-contribution { padding-block: var(--space-5); border-top: 1px solid var(--line); }
.case-contribution:last-child { padding-bottom: 0; }
.case-contribution h4 { margin-bottom: var(--space-2); font-size: 1rem; }
.case-contribution p { font-size: 1rem; line-height: 1.7; }
/* The analytics stack as the path it is: four stops, one direction. */
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3) 1.75rem; margin: var(--space-4) 0 0; padding: 0; list-style: none; font-size: .8125rem; font-weight: 550; line-height: 1.4; }
.pipeline li { position: relative; padding: .625rem .625rem; border: 1px solid var(--line); border-radius: 4px; }
.pipeline li span { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); }
.pipeline li + li::before { content: ""; position: absolute; top: 50%; left: -1.25rem; width: .75rem; height: 1px; background: var(--rust); }
.pipeline li + li::after { content: ""; position: absolute; top: 50%; left: -.8125rem; width: 5px; height: 5px; border: solid var(--rust); border-width: 1px 1px 0 0; transform: translateY(-50%) rotate(45deg); transform-origin: center; margin-top: .5px; }
.pipeline li:last-child { background: var(--cream); border-color: transparent; }
/* A caveat belongs to the figures directly above it, before anything else. */
.case-note { margin-top: calc(-1 * var(--space-3)); padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.quote { margin: var(--space-6) 0 0; padding-left: var(--space-5); border-left: 2px solid var(--rust); }
.quote blockquote { margin: 0; }
.quote p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); text-wrap: pretty; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .3em; margin-top: var(--space-3); font-size: .8125rem; color: var(--muted); }
.quote-name { font-weight: 600; color: var(--ink); margin-right: -.3em; }
.quote-photo { width: 40px; height: 40px; margin-right: var(--space-3); border-radius: 50%; object-fit: cover; }
.work-contact { display: flex; justify-content: flex-end; padding-top: var(--space-4); }
.work-contact .button { background: transparent; color: var(--ink); border-color: var(--line); }
.work-contact .button:hover { border-color: var(--rust); color: var(--rust); }

/* A quieter change of paper marks the move from evidence to fit. */
.situations-section { background: var(--cream); box-shadow: 0 0 0 100vmax var(--cream); clip-path: inset(0 -100vmax); }
.situations-section h2 { margin-bottom: var(--space-7); }
/* Three parallel situations, each with its own picture. The quiet clause sets
   the scene; the strong one is the part a founder recognises. */
.situations-compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); margin: 0; padding: 0; list-style: none; }
.situations-compact li { padding-top: var(--space-5); border-top: 1px solid var(--line); }
.situations-compact p { font-family: var(--display); font-size: clamp(1.1875rem, 1.75vw, 1.375rem); line-height: 1.4; letter-spacing: -.015em; color: var(--muted); text-wrap: pretty; }
.situations-compact strong { display: block; margin-top: var(--space-1); font-weight: 550; color: var(--ink); }
.situation-art { width: 4rem; height: 3rem; margin-bottom: var(--space-5); stroke: var(--ink); stroke-width: 1.5; overflow: visible; }
.situation-art .accent { stroke: var(--rust); }
.situation-art .accent-fill { fill: var(--rust); stroke: none; }
.situation-art .solid { fill: var(--ink); stroke: none; }
.situation-art .dashed { stroke-dasharray: 3 4; }

/* The same reading rail organizes process and background. */
#how-i-work, .background { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--space-9); row-gap: var(--space-7); }
#how-i-work > h2 { grid-column: 1; grid-row: 1; }
.engagement-aside { grid-column: 1; grid-row: 2; }
.engagement-details { display: grid; gap: var(--space-2); margin: var(--space-5) 0 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.background-head { grid-column: 1; grid-row: 1 / span 2; }
.background-summary { margin-top: var(--space-4); max-width: 32ch; }
.portrait { width: min(100%, 15rem); height: auto; margin-top: var(--space-6); border-radius: 5px; }
/* The engagement at a glance: a paid month, then months divided by checkpoints. */
.engagement { margin: 0; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.engagement-track { display: flex; align-items: stretch; }
.engagement-month { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 3.75rem; padding: .5rem clamp(.375rem, .7vw, .625rem); border: 1px solid var(--line); border-radius: 4px; }
.engagement-month b { font-weight: 600; color: var(--ink); }
.engagement-paid { flex-grow: 1.6; background: var(--rust-tint); border-color: transparent; color: var(--rust-deep); }
.engagement-open { flex-grow: .6; align-items: center; border-style: dashed; }
.engagement-track i { position: relative; flex: 0 0 clamp(.75rem, 1.2vw, 1rem); }
.engagement-track i::before, .engagement figcaption::before { content: ""; width: 8px; height: 8px; background: var(--rust); transform: rotate(45deg); }
.engagement-track i::before { position: absolute; top: calc(50% - 4px); left: calc(50% - 4px); }
.engagement figcaption { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); padding-left: 3px; }
.engagement figcaption::before { flex-shrink: 0; }
.steps { display: grid; grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: var(--space-6) minmax(0, 1fr); column-gap: var(--space-5); counter-increment: step; padding-block: var(--space-6); border-top: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 2; padding-top: .15rem; font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--rust); }
.steps li > * { grid-column: 2; }
.steps h3 { margin-bottom: var(--space-3); }
.steps p { max-width: 65ch; font-size: 1rem; }
.responsibilities { grid-column: 2; padding-top: var(--space-6); border-top: 1px solid var(--line); }
.responsibilities h3 { margin-bottom: var(--space-3); }
.responsibilities p { font-size: 1rem; }
.responsibilities .decision-example { margin-block: var(--space-4); max-width: 65ch; color: var(--ink); }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin: var(--space-4) 0 0; }
.roles dt { margin-bottom: var(--space-2); padding-top: var(--space-3); border-top: 2px solid var(--line); font-size: .8125rem; font-weight: 600; color: var(--ink); }
.roles div:first-child dt { border-color: var(--rust); color: var(--rust); }
.roles dd { font-size: .9375rem; line-height: 1.6; color: var(--body); }
.responsibilities .scope-note { margin-top: var(--space-4); font-size: .8125rem; color: var(--muted); }
.background { border-top: 1px solid var(--line); }
.timeline { display: grid; margin: 0; }
.timeline > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-5); padding-block: 1.125rem; border-bottom: 1px solid var(--line); }
.timeline > div:first-child { padding-top: 0; }
.timeline dt { font-size: .8125rem; line-height: 1.8; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline dd { font-size: .9375rem; line-height: 1.6; color: var(--body); }
.maker-work { grid-column: 2; padding-top: var(--space-5); }
.maker-work p { margin-bottom: var(--space-5); font-family: var(--display); font-size: 1.75rem; line-height: 1.3; font-weight: 550; letter-spacing: -.02em; color: var(--ink); }
.project-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-6); }
.project-links a { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--line); font-size: .9375rem; text-decoration: none; }
.project-name { display: block; font-weight: 600; }
.project-note { display: block; margin-top: var(--space-1); font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.project-links svg { margin-top: .2rem; color: var(--rust); flex-shrink: 0; transition: transform .25s var(--ease-out); }


/* The close carries the largest type after the opening. */
.contact, .site-footer { --focus: var(--on-ink); background: var(--deep); color: var(--on-ink); box-shadow: 0 0 0 100vmax var(--deep); clip-path: inset(0 -100vmax); }
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: var(--space-9); align-items: start; }
.contact h2 { grid-column: 1; grid-row: 1 / span 3; max-width: 14ch; font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1.06; }
.contact > p { grid-column: 2; max-width: 45ch; color: var(--on-ink-muted); font-size: 1rem; }
.contact-options { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.contact .button { margin-right: var(--space-9); margin-bottom: var(--space-3); background: var(--paper); color: var(--ink); }
.contact .button:hover { background: var(--rust-tint); }
.contact .text-link { color: var(--on-ink); }
.contact .text-link:hover, .social-links a:hover { color: var(--rust-tint); }
.contact .email-address { margin-top: var(--space-4); font-size: .8125rem; overflow-wrap: anywhere; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: var(--space-5); border-top: 1px solid rgb(247 248 244 / .16); }
.site-footer p { color: var(--on-ink-muted); font-size: .8125rem; }
.social-links { display: flex; gap: var(--space-5); }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; text-decoration: none; }

.page-shell { overflow: clip; }

/* Small, interruptible feedback for pointer actions; no touch hover movement. */
nav a:not(.lang-switch) { position: relative; }
nav a:not(.lang-switch)::after { content: ""; position: absolute; inset: auto 0 .45rem; height: 1px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  nav a:not(.lang-switch):hover { text-decoration: none; }
  nav a:not(.lang-switch):hover::after { transform: scaleX(1); }
  .button:hover svg { transform: translateX(4px); }
  .button:active { transform: scale(.98); }
  .project-links a:hover svg { transform: translate(3px, -3px); }
}

@media (max-width: 1100px) {
  :root { --hero-gap: var(--space-7); }
  .hero-main { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .hero-intro { font-size: 1rem; }
  .case, #how-i-work, .background, .contact { column-gap: var(--space-7); }
  .situations-compact { gap: var(--space-6); }
  .contact .button { margin-right: 0; }
}
@media (max-width: 900px) {
  .site-header { gap: var(--space-4); padding-block: var(--space-5); }
  nav { gap: var(--space-5); }
  .lang-switch { margin-left: 0; padding-left: var(--space-5); }
  .hero-main { grid-template-columns: 1fr; gap: var(--space-6); }
  h1 { max-width: 20ch; font-size: clamp(2.5rem, 6.8vw, 4rem); }
  .hero-summary { padding: 0; }
  .hero-intro { max-width: 51ch; font-size: 1.0625rem; }
  .hero-fit { max-width: 61ch; margin-top: var(--space-4); }
  .actions { margin-top: var(--space-5); }
  .hiring-story { grid-template-columns: 1fr; gap: var(--space-4); }
  .proof-band { grid-template-columns: 1fr 1fr; gap: var(--space-7); }
  .proof-num { font-size: 3rem; margin-bottom: var(--space-3); }
  .proof-note { max-width: 30ch; }
  .lead { padding-block: 6rem 6.5rem; }
  .lead .proof-band { gap: 4.25rem 2.75rem; }
  .lead [data-floe]:nth-child(2) { margin-top: 1.75rem; }
  .lead [data-floe]:nth-child(3) { margin-top: 0; }
  .lead [data-floe]:nth-child(4) { margin-top: 1.75rem; }
  .lead .proof-figure { font-size: clamp(2.25rem, 7vw, 3.5rem); }
  .lead .proof-note { max-width: 26ch; }
  .engagement-aside, .steps { grid-column: 1; grid-row: auto; }
  .work > h2 { margin-bottom: var(--space-6); }
  .case { grid-template-columns: 1fr; gap: var(--space-6); padding-bottom: var(--space-7); }
  .case + .case { padding-top: var(--space-7); }
  .case-heading h3 { max-width: 25ch; font-size: 2rem; }
  .case-overview > p { max-width: 65ch; }
  .case-context { margin-top: var(--space-3); }
  .case-results dd { font-size: 3rem; }
  .case-results dd span { max-width: 30ch; }
  .case-contribution p { max-width: 70ch; }
  .work-contact { justify-content: flex-start; padding-top: var(--space-3); }
  #how-i-work, .background, .contact { grid-template-columns: 1fr; gap: var(--space-7); }
  .situations-section h2 { margin-bottom: var(--space-6); }
  .situations-compact { grid-template-columns: 1fr; gap: 0; }
  .situations-compact li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: var(--space-5); align-items: start; padding-block: var(--space-5); }
  .situations-compact li:last-child { padding-bottom: 0; }
  .situation-art { width: 3.5rem; height: 2.625rem; margin: .25rem 0 0; }
  .situations-compact p { font-size: 1.1875rem; }
  #how-i-work > h2, .background-head, .contact h2 { grid-column: 1; grid-row: auto; }
  .portrait { width: 9rem; margin-top: var(--space-5); }
  .responsibilities, .maker-work, .contact > p, .contact-options { grid-column: 1; }
  .responsibilities { padding-top: var(--space-5); }
  .maker-work { padding-top: var(--space-3); }
  .contact { gap: var(--space-5); }
  .contact h2 { max-width: 16ch; }
  .contact-options { margin-top: 0; }
  .contact .email-address { margin-top: 0; }
}
@media (max-width: 720px) {
  /* Name and booking link share the first row; the section links take the second. */
  .site-header { flex-wrap: wrap; row-gap: var(--space-2); }
  .header-cta { order: 2; margin-left: auto; }
  nav { order: 3; flex-basis: 100%; margin-left: 0; justify-content: space-between; }
}
@media (max-width: 420px) {
  .site-header { gap: var(--space-3); }
  nav { gap: var(--space-3); }
  .header-cta { min-height: 38px; padding-inline: .625rem; font-size: .8125rem; }
  .identity { gap: var(--space-2); }
  .identity img { width: 36px; height: 36px; }
  nav a { font-size: .8125rem; }
  .lang-switch { padding-left: var(--space-4); }
  h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); }
  .hero { padding-top: var(--space-7); }
  .hero-intro { font-size: 1rem; }
  .hero-fit { font-size: .8125rem; }
  .actions { gap: var(--space-2) var(--space-5); }
  .roles { grid-template-columns: 1fr; gap: var(--space-4); }
  /* Phones: the floes are inset from both screen edges and given room, so
     no plate crowds its text or runs off the side. */
  .lead { padding-block: 5rem 5.5rem; }
  .lead .proof-band { gap: 4.5rem 2.5rem; padding-inline: .875rem; }
  .lead [data-floe]::before { inset: -1.125rem -.875rem -1.25rem; }
  .lead .proof-figure { font-size: clamp(2rem, 9vw, 2.5rem); margin-bottom: var(--space-2); }
  .lead .proof-label { font-size: .875rem; }
  .lead .proof-note { font-size: .75rem; line-height: 1.55; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline li:nth-child(odd)::before, .pipeline li:nth-child(odd)::after { display: none; }
  .case-results { gap: var(--space-5); }
  .case-results dt { font-size: .8125rem; }
  .case-results dd { font-size: 2.75rem; }
  .steps li { grid-template-columns: var(--space-5) minmax(0, 1fr); gap: 0 var(--space-3); }
  .timeline > div { grid-template-columns: 1fr; gap: var(--space-1); }
  .project-links { grid-template-columns: 1fr; }
  .contact-options { align-items: flex-start; flex-direction: column; gap: var(--space-2); }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button svg, .project-links svg, nav a::after { transition: none; }
}
