@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url('/assets/fonts/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* Shared scale: respect the reader's font preference and cap wide layouts. */
:root {
  --paper: #f4f3ee;
  --paper-deep: #eae9e2;
  --ink: #252922;
  --muted: #5e6658;
  --line: #cbd1c2;
  --input-line: #858f7c;
  --orange: #d94c25;
  --accent-text: #b43c1c;
  --dark: #252b25;
  --on-dark-muted: #bdc7b4;
  --radius: 3px;
  --text-meta: .75rem;
  --text-small: .875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --title-section: clamp(2.375rem, 1.25rem + 3vw, 4.25rem);
  --title-card: clamp(1.5rem, 1.25rem + .7vw, 1.875rem);
  --gutter: clamp(1.25rem, 3.9vw, 4rem);
  --page-width: 90rem;
  --section-space: clamp(3.5rem, 6vw, 6rem);
  font-family: Manrope, Arial, sans-serif;
  font-size: 100%;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: var(--text-body); line-height: 1.7; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.045em; overflow-wrap: break-word; }
h2 { font-size: var(--title-section); line-height: 1.15; text-wrap: balance; }
p { line-height: 1.75; text-wrap: pretty; }
em { font-style: normal; color: var(--accent-text); }
::selection { background: #f2b79c; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
button:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
.section-shell { width: calc(100% - var(--gutter) * 2); max-width: var(--page-width); margin-inline: auto; }
.mono, .eyebrow { font-family: Plex, monospace; font-size: var(--text-meta); font-weight: 400; letter-spacing: .055em; line-height: 1.65; }
.eyebrow { letter-spacing: .07em; }
.muted { color: var(--muted); }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 50; background: var(--paper); padding: .75rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.reading-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--orange); z-index: 45; }

/* Persistent invitation. The header can grow when text is enlarged. */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .75rem 2rem; min-height: 5.5rem;
  padding: 1rem max(var(--gutter), calc((100% - var(--page-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: #f4f3eef5; backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: .625rem; font-weight: 700; font-size: 1.1875rem; letter-spacing: -.04em; line-height: 1.3; }
.brand-sub { display: block; font-family: Plex, monospace; font-size: .625rem; letter-spacing: .16em; font-weight: 400; margin-top: .25rem; }
.desktop-nav { display: flex; gap: 1.75rem; font-size: var(--text-small); font-weight: 500; }
.desktop-nav a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; }
.desktop-nav a::after { content: ''; position: absolute; bottom: .25rem; left: 0; right: 100%; height: 1px; background: var(--orange); transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.header-cta { display: inline-flex; justify-content: center; align-items: center; gap: 1.25rem; min-height: 2.875rem; padding: .75rem 1.125rem; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); font-size: var(--text-small); font-weight: 600; line-height: 1.4; transition: background .25s, border-color .25s; }
.header-cta:hover { background: var(--accent-text); border-color: var(--accent-text); }
.header-cta span { font-size: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.25rem; padding: 1rem 1.375rem; border: 0; border-radius: var(--radius); font-size: var(--text-small); font-weight: 600; line-height: 1.4; transition: background .25s; }
.button span { font-size: 1.25rem; line-height: 1; transition: transform .25s; }
.button:hover span { transform: translate(2px, -2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #40473c; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 2.75rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-small); font-weight: 600; line-height: 1.5; transition: border-color .25s; }
.text-link:hover { border-color: var(--accent-text); }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.12fr 1fr; gap: 1rem; padding-top: clamp(2.5rem, 4vw, 4.5rem); }
.hero-copy { position: relative; z-index: 2; min-width: 0; padding-top: .75rem; padding-bottom: 2rem; padding-right: 1rem; }
.hero-intro { display: flex; gap: .625rem; align-items: center; margin-bottom: 2rem; }
.hero h1 { position: relative; font-size: clamp(2.875rem, 1.3rem + 4vw, 5.25rem); font-weight: 550; line-height: 1.1; letter-spacing: -.055em; margin-left: -.04em; }
.hero-line { display: block; }
.hero-last em { color: var(--orange); margin-left: .06em; }
.hero-description { font-size: var(--text-lead); max-width: 45ch; margin-top: 1.75rem; color: var(--muted); }
.hero-experience { font-size: var(--text-small); color: var(--muted); margin-top: 1.5rem; }
.hero-experience strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; }
.hero-github { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: var(--text-small); color: var(--muted); }
.hero-github strong { color: var(--ink); font-weight: 700; }
.hero-github:hover { color: var(--accent-text); }
.star-icon { width: 1rem; height: 1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-github > .star-icon { color: var(--accent-text); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-object { position: relative; align-self: stretch; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, #f4f4ef, #eeefe7); margin-bottom: 2rem; }
.hero-model-caption { padding: .875rem 1rem; border-top: 1px solid var(--line); font-size: var(--text-meta); line-height: 1.65; color: var(--muted); }
.model-topline { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1rem; border-bottom: 1px solid #cbd1c266; color: var(--muted); }
.model-stage { position: relative; min-height: 28rem; flex: 1; overflow: hidden; }
.model-stage canvas { position: absolute; inset: 0 0 var(--model-controls-height, 3.75rem); width: 100%; height: calc(100% - var(--model-controls-height, 3.75rem)); z-index: 2; opacity: 0; transition: opacity 1s; pointer-events: none; touch-action: pan-y pinch-zoom; }
.model-stage.is-ready canvas { opacity: 1; pointer-events: auto; }
.model-fallback { position: absolute; inset: 7% 0 9%; width: 100%; height: 84%; object-fit: cover; transition: opacity .6s; z-index: 1; border-radius: var(--radius); }
.is-ready .model-fallback { opacity: 0; pointer-events: none; }
.model-grid { position: absolute; inset: 3% 0 0; background-image: linear-gradient(#969e8712 1px, transparent 1px), linear-gradient(90deg, #969e8712 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse, #000 10%, transparent 70%); }
.model-loading { position: absolute; bottom: 1rem; right: 1rem; max-width: 60%; color: var(--muted); z-index: 3; }
.is-ready .model-loading { display: none; }

/* Inline inspection controls keep touch scrolling available until requested. */
.model-controls { position: absolute; z-index: 4; bottom: .5rem; left: .75rem; right: .75rem; display: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; color: var(--muted); }
.is-ready > .model-controls { display: flex; }
.model-controls-help { font-size: .75rem; line-height: 1.4; }
.model-buttons { display: flex; flex-wrap: wrap; gap: .25rem; }
.model-control { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 2.75rem; min-height: 2.75rem; padding: .5rem; color: var(--ink); background: #f4f3eef0; border: 1px solid var(--line); border-radius: var(--radius); font-size: .75rem; font-weight: 600; line-height: 1.3; }
.model-control:hover { border-color: var(--accent-text); color: var(--accent-text); }
.model-control svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.model-touch-toggle { display: none; gap: .375rem; }
.model-controls [aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.model-touch-mode .model-controls-help { display: none; }
.model-touch-mode .model-touch-toggle { display: inline-flex; }
.model-stage.is-ready canvas, .inline-model.is-ready canvas { cursor: grab; }
.model-stage.is-ready canvas:active, .inline-model.is-ready canvas:active { cursor: grabbing; }
.model-touch-mode:not(.is-interactive) canvas { cursor: auto; }
.model-stage canvas:focus-visible, .inline-model canvas:focus-visible { outline-offset: -5px; }
.model-accessible-help { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Experience and section rhythm */
.section-index { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; color: var(--muted); }
.experience { padding-block: 1.25rem 3.5rem; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.engineering-icon { display: block; flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-accent { stroke: var(--icon-accent, var(--orange)); }
.capability-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; margin: 0; padding: 2rem 0 0; border-top: 1px solid var(--line); }
.capability-item { position: relative; display: flex; align-items: center; gap: 1rem; min-width: 0; padding-right: 1rem; }
.capability-icon { width: 2.25rem; height: 2.25rem; }
.capability-label { font-family: Plex, monospace; font-size: .8125rem; line-height: 1.6; letter-spacing: .04em; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 3rem; }
.section-heading h2 { font-size: var(--title-section); }
.section-heading > p { font-size: var(--text-body); color: var(--muted); padding-bottom: .25rem; max-width: 30ch; }

/* Services */
.services { padding-block: var(--section-space); }
.services-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; padding: 3rem 0; }
.services-intro > p { max-width: 40ch; color: var(--muted); padding-bottom: .5rem; }
.service-row { border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row summary { list-style: none; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 2rem; align-items: center; gap: .75rem; padding: 1.75rem 0; cursor: pointer; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.375rem); letter-spacing: -.04em; line-height: 1.35; }
.service-row summary::-webkit-details-marker { display: none; }
.service-index { color: var(--muted); }
.service-toggle { font-size: 1.875rem; text-align: center; font-weight: 300; transition: transform .3s; }
.service-row[open] .service-toggle { transform: rotate(45deg); color: var(--accent-text); }
.service-row[open] summary { color: var(--ink); }
.service-content { padding: 0 2rem 2rem 4.25rem; display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 8%; row-gap: 1.5rem; }
.service-content p, .service-content li { color: var(--muted); font-size: var(--text-body); line-height: 1.75; }
.service-content p { max-width: 55ch; }
.service-content ul { margin: 0; padding: 0; list-style: none; }
.service-content li { position: relative; padding-left: 1.25rem; margin-bottom: .5rem; }
.service-content li::before { content: ""; position: absolute; left: 0; top: .8rem; width: .4rem; height: 1px; background: var(--accent-text); }
.service-content > a { justify-self: start; grid-column: 1/-1; }

/* Direct collaboration */
.personal { display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); color: var(--paper); }
.personal-image { position: relative; overflow: hidden; }
.personal-image > img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }
.personal-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 65%, #111b); }
.photo-caption { position: absolute; bottom: 2rem; left: var(--gutter); right: var(--gutter); z-index: 1; }
.personal-copy { padding: clamp(2.5rem, 4.5vw, 5rem); max-width: 48rem; }
.personal-copy > .eyebrow { color: var(--on-dark-muted); }
.personal-copy h2 { margin-top: 2rem; font-size: clamp(2.375rem, 1.5rem + 2.5vw, 3.75rem); }
.personal-copy em { color: #ed9679; }
.personal-copy > p { color: var(--on-dark-muted); margin-top: 1.75rem; max-width: 47ch; }
.process-steps { margin-top: 2rem; }
.process-steps > div { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid #505a48; }
.process-steps .mono { color: #ed9679; padding-top: .2rem; }
.process-steps p { font-size: var(--text-body); line-height: 1.6; }
.process-steps strong { font-weight: 600; display: block; }
.process-steps p > span { display: block; font-size: var(--text-small); color: var(--on-dark-muted); margin-top: .375rem; }

/* Brief: fluid columns, comfortable inputs and readable qualification details. */
.project-intake { padding-block: var(--section-space); }
.intake-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; margin-top: 3.5rem; }
.intake-intro { min-width: 0; }
.intake-intro h2 { font-size: clamp(2.625rem, 1.4rem + 2.5vw, 4.25rem); }
.intake-intro > p { color: var(--muted); max-width: 36ch; margin-top: 1.5rem; }
.intake-intro > p.intake-expectation { font-size: var(--text-small); max-width: 42ch; }
.intake-form-wrap { padding-top: .25rem; min-width: 0; }
.form-progress { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; position: relative; padding-bottom: 1.25rem; margin-bottom: 2rem; color: var(--muted); }
.form-progress-track { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.form-progress-track > div { width: 33.333%; height: 100%; background: var(--orange); transition: width .5s; }
.form-step h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); letter-spacing: -.035em; line-height: 1.35; margin-bottom: 1.75rem; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend, .field-label { font-size: var(--text-small); font-weight: 600; line-height: 1.6; display: block; margin-bottom: .625rem; }
.field-label { margin-top: 1.5rem; }
.field-label span { color: var(--muted); font-weight: 400; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .5rem; }
.choice { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid var(--input-line); border-radius: var(--radius); cursor: pointer; background: #ffffff1a; transition: border-color .2s, background .2s; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span { font-size: var(--text-small); font-weight: 600; line-height: 1.5; }
.choice > span > span { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; margin-top: .375rem; line-height: 1.6; }
.choice i { font-size: 1rem; font-style: normal; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--accent-text); background: #f8eae1; }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.choice:has(input:checked) i { color: var(--accent-text); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; border: 1px solid var(--input-line); border-radius: var(--radius); background: #fafaf5; color: var(--ink); padding: .8125rem .875rem; font-size: 1rem; line-height: 1.5; outline-offset: 3px; transition: border-color .2s; min-width: 0; }
textarea { resize: vertical; min-height: 6rem; }
select { padding-right: 2rem; min-height: 3.125rem; text-overflow: ellipsis; }
input::placeholder, textarea::placeholder { color: #687060; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-text); }
[aria-invalid=true] { border-color: var(--accent-text) !important; }
.field-help { font-size: .8125rem; color: var(--muted); line-height: 1.7; margin-top: .625rem; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-columns > div { min-width: 0; }
.fit-gate { padding: 1.25rem 0; margin-top: 1rem; border-top: 1px solid var(--accent-text); }
.fit-gate strong { font-size: var(--text-body); font-weight: 600; }
.fit-gate p { font-size: var(--text-small); margin-top: .5rem; color: var(--muted); }
.fit-gate a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: var(--text-small); margin-top: .5rem; border-bottom: 1px solid var(--accent-text); }
.form-navigation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 1.75rem; gap: 1rem; }
.form-navigation > .button { margin-left: auto; min-width: 10rem; }
.form-back { border: 0; background: transparent; font-size: var(--text-small); min-height: 2.75rem; padding: .75rem .5rem .75rem 0; }
.consent { display: flex; align-items: flex-start; gap: .75rem; padding-block: .5rem; margin-top: 1.25rem; font-size: var(--text-small); line-height: 1.65; }
.consent input { accent-color: var(--accent-text); margin-top: .25rem; flex: none; width: 1.125rem; height: 1.125rem; }
.inline-button { background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: .25rem 0; font-size: inherit; color: inherit; }
.spam-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--accent-text); font-size: var(--text-small); padding: .875rem 0 0; }
.form-success { padding: 2rem 0; }
.success-mark { width: 3.25rem; height: 3.25rem; border: 1px solid var(--accent-text); border-radius: 50%; display: grid; place-items: center; color: var(--accent-text); font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-success h3 { font-size: clamp(2.5rem, 1.5rem + 3vw, 3.25rem); line-height: 1.15; margin: 1rem 0 1.25rem; }
.form-success p { color: var(--muted); max-width: 45ch; margin-bottom: 1.25rem; }
.form-success p.mono { font-size: var(--text-meta); overflow-wrap: anywhere; }

/* Footer and privacy */
.site-footer { padding: 3rem 0 2rem; border-top: 1px solid var(--line); }
.footer-wordmark { display: block; font-size: clamp(2rem, .4rem + 7vw, 6.5rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; }
.footer-wordmark span { font-size: .2em; vertical-align: top; position: relative; top: 1.2em; margin-left: .5rem; color: var(--accent-text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.footer-bottom .mono { color: var(--muted); }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: var(--text-small); }
.footer-bottom a, .footer-bottom button { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-bottom a:hover { color: var(--accent-text); }
dialog { border: 0; border-radius: 5px; background: var(--paper); color: var(--ink); padding: 0; box-shadow: 0 30px 150px #0003; }
dialog::backdrop { background: #1b221c99; backdrop-filter: blur(9px); }
.dialog-close { border: 1px solid var(--input-line); border-radius: 50%; background: transparent; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; font-size: 1.5rem; font-weight: 300; line-height: 1; }
.privacy-dialog { width: min(40rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1.5rem, 4vw, 3rem); overflow: auto; }
.privacy-dialog > .dialog-close { float: right; margin: -.5rem -.5rem .75rem 1rem; }
.privacy-dialog h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.5rem); margin: 1.25rem 0 1.5rem; }
.privacy-dialog p { font-size: var(--text-body); color: var(--muted); margin-top: 1rem; }
.privacy-dialog p a { border-bottom: 1px solid var(--muted); }

/* Layout changes follow available reading space, rather than shrinking copy. */
@media (max-width: 70rem) {
  .desktop-nav { display: none; }
}
@media (max-width: 64rem) {
  .intake-layout { grid-template-columns: 1fr; gap: 3rem; }
  .intake-intro { max-width: 42rem; }
  .intake-intro > p { max-width: 50ch; }
  .intake-form-wrap { max-width: 46rem; width: 100%; }
}
@media (max-width: 62rem) {
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 2.5rem; }
  .hero-copy { padding: .5rem 0 .5rem; }
  .hero h1 { font-size: clamp(2.625rem, 1.2rem + 6.5vw, 4.75rem); }
  .hero-description { max-width: 43ch; }
  .hero-object { width: 100%; max-width: 44rem; margin: 1.75rem auto 1.5rem; }
  .model-stage { min-height: 26rem; }
  .services-intro > p { max-width: 34ch; }
  .service-content { grid-template-columns: 1fr; gap: 1.25rem; }
  .personal { grid-template-columns: 1fr; }
  .personal-image { aspect-ratio: 1.6; max-height: 40rem; }
  .personal-copy { padding: 3rem var(--gutter); max-width: 48rem; }
}
@media (max-width: 52rem) {
  .site-header { min-height: 4.75rem; padding-block: .75rem; gap: .625rem; }
  .section-index > span:last-child { display: none; }
  .capability-line { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
  .capability-item { flex-direction: column; align-items: flex-start; gap: .75rem; padding: 0; }
  .capability-item::after { display: none; }
  .section-heading { display: block; margin-top: 2rem; }
  .section-heading > p { margin-top: 1.5rem; max-width: 45ch; }
  .services-intro { display: block; padding: 2rem 0; }
  .services-intro > p { max-width: 50ch; margin-top: 1.5rem; }
}
@media (max-width: 36rem) {
  .brand { font-size: .9375rem; gap: .5rem; }
  .header-cta { padding: .6875rem .75rem; gap: .75rem; font-size: .8125rem; }
  .hero { padding-top: 2rem; }
  .hero-intro { margin-bottom: 1.75rem; }
  .hero-description { font-size: 1.0625rem; margin-top: 1.5rem; }
  .hero-actions { gap: .75rem 1.25rem; margin-top: 1.5rem; }
  .model-topline { padding-inline: 1rem; }
  .model-topline > span:last-child { display: none; }
  .model-stage { min-height: 22rem; }
  .service-row summary { grid-template-columns: 1.5rem minmax(0, 1fr) 1.5rem; gap: .5rem; padding: 1.5rem 0; }
  .service-content { padding: 0 0 1.75rem 2rem; }
  .personal-image { aspect-ratio: 1.2; }
  .personal-copy { padding-block: 2.5rem; }
  .intake-layout { margin-top: 2.5rem; }
  .choice-grid, .form-columns { grid-template-columns: 1fr; }
  .form-columns { gap: 0; }
  .choice { padding: 1rem 1.125rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .footer-bottom > div { gap: .5rem 1.25rem; }
}
@media (max-width: 24rem) {
  :root { --gutter: 1rem; }
  .header-cta > span { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .capability-line { grid-template-columns: 1fr; }
  .capability-item { flex-direction: row; align-items: center; gap: 1rem; }
  .model-stage { min-height: 20rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Draw navigation arrows as vectors; never platform emoji. */
.link-arrow { display: inline-block; flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.1em; }
.scroll-cue { color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { .scroll-cue { display: none; } }
