@font-face {
  font-family: "Geist Pixel Circle";
  src: url("/fonts/GeistPixel-Circle.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  --pad-y: clamp(16px, 2.4vh, 28px);
  --pad-x: clamp(14px, 3vw, 32px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; background: var(--bg); }
html { scroll-behavior: smooth; scrollbar-color: #555 #000; }
body { overflow-x: clip; color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, h1, h2, p { margin: 0; }
button { border: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
::selection { color: #000; background: #fff; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; background: white; color: black; padding: 12px 20px; border-radius: 999px; }
.skip-link:focus { top: 16px; }
.bg { position: absolute; inset: 0; overflow: hidden; background: #000; pointer-events: none; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 0; }
.hero-shader { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; pointer-events: none; }
.shader-ready .hero-shader { visibility: visible; }
.shader-ready .bg-video { visibility: hidden; }
.bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.12) 42%, rgba(0,0,0,.55)); }
.shader-ready .bg::after { background: linear-gradient(180deg, #00000018, #00000060 30%, #00000020 58%, #0000008c); }
.page { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; padding: calc(var(--pad-y) + 64px) var(--pad-x) var(--pad-y); padding-bottom: max(var(--pad-y), env(safe-area-inset-bottom)); }
.header-wrap { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; justify-content: center; padding: var(--pad-y) var(--pad-x); background: linear-gradient(#0008, transparent); pointer-events: none; }
.header-wrap .header { pointer-events: auto; }
.header, .hero, .hero-footer { z-index: 1; }
#main:focus, [data-section]:focus { outline: none; }
.header { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 720px; flex-shrink: 0; gap: clamp(18px, 2.8vw, 28px); animation: slideDown .7s cubic-bezier(.22,1,.36,1) both; }
.logo { display: grid; place-items: center; flex-shrink: 0; width: clamp(40px, 4.4vw, 46px); height: clamp(40px, 4.4vw, 46px); border-radius: 50%; background: #fff; box-shadow: var(--nav-shadow); transition: transform .25s; }
.logo img { width: 72%; height: 72%; object-fit: contain; border-radius: 50%; filter: invert(1); }
.logo:hover { transform: scale(1.04); }
.nav-pill { display: flex; align-items: stretch; flex: 1; max-width: 430px; height: clamp(44px, 5.2vw, 48px); padding: 4px 8px; border-radius: 999px; background: #fff; box-shadow: var(--nav-shadow); }
.nav-link { position: relative; display: grid; place-items: center; flex: 1; padding: 0 12px 3px; font-weight: 500; font-size: clamp(13px, 1.4vw, 15px); letter-spacing: -.01em; color: var(--nav-text); opacity: .5; transition: opacity .2s; }
.nav-link:hover { opacity: .75; }
.nav-link.active { opacity: 1; }
.nav-link.active::after, .mobile-link.active::after { content: ""; position: absolute; bottom: 5px; left: calc(50% - 1.5px); width: 3px; height: 3px; background: #000; border-radius: 50%; box-shadow: -5px 0 #000, 5px 0 #000; }
.nav-link:focus-visible, .mobile-link:focus-visible { outline-color: #222; outline-offset: 0; border-radius: 999px; }
.contact-pill { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: clamp(44px, 5.2vw, 48px); padding: 0 23px; border-radius: 999px; background: var(--pill-dark); color: var(--sign-in-text); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: var(--nav-shadow); transition: background .2s, color .2s, transform .2s; }
.contact-pill:hover { background: #323234; color: #fff; transform: translateY(-1px); }
.contact-pill.active { color: #fff; box-shadow: var(--nav-shadow), inset 0 0 0 1px #ffffff60; }
.burger { display: none; }

.hero { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 900px; text-align: center; padding: 36px 0 48px; }
.hero:focus { outline: 0; }
.trust-row { --trust-size: clamp(36px, 4.5vw, 42px); display: inline-flex; align-items: center; flex-shrink: 0; margin-bottom: clamp(16px, 2.5vh, 26px); }
.avatar { position: relative; width: var(--trust-size); height: var(--trust-size); flex-shrink: 0; border: 1px solid var(--trust-border); border-radius: 50%; padding: 5px; background: var(--trust-bg); transition: transform .35s; }
.avatar-inner { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: white; color: #111; }
.avatar-inner i { font-size: calc(var(--trust-size) * .34); }
.avatar-inner img { width: 100%; height: 100%; object-fit: cover; }
.avatar-one { z-index: 1; }
.avatar-two { z-index: 2; margin-left: calc(var(--trust-size) * -.42); }
.avatar-three { z-index: 4; margin-left: calc(var(--trust-size) * -.42); }
.trust-row:hover .avatar-one, .trust-row:hover .avatar-three { transform: translateY(-2px); }
.trust-row:hover .avatar-two { transform: translateY(-4px); }
.trust-pill { display: flex; align-items: center; height: var(--trust-size); padding: 0 15px 0 calc(var(--trust-size) * .58); margin-left: calc(var(--trust-size) * -.42); border: 1px solid var(--trust-border); border-radius: 999px; background: var(--trust-bg); color: var(--trust-text); font-size: clamp(12px, 1.4vw, 13.5px); font-weight: 500; white-space: nowrap; }
.headline { width: 100%; font-family: var(--font-display); font-size: clamp(28px, 6.2vw, 80px); font-weight: 400; letter-spacing: -.04em; line-height: 1.12; color: #fff; }
.headline span { display: block; white-space: nowrap; animation: headlineFade .85s cubic-bezier(.22,1,.36,1) both; animation-delay: .12s; }
.headline span + span { animation-delay: .3s; }
.subhead { width: 100%; max-width: min(500px, 92%); margin-top: clamp(18px, 2.8vh, 28px); color: #d0d0d0; opacity: .8; font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt)); font-weight: 400; line-height: 1.55; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(22px, 3.5vh, 34px); padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px); min-height: 46px; background: #fff; color: #000; border-radius: 999px; font-weight: 600; font-size: clamp(13.5px, 1.5vw, 14.5px); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 0 22px rgba(255,255,255,.32), 0 0 44px rgba(255,255,255,.12); transition: transform .25s, box-shadow .25s; }
.cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 0 30px rgba(255,255,255,.5), 0 0 60px rgba(255,255,255,.2); }

.hero-footer { width: 100%; flex-shrink: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 920px; margin: 0 auto; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; padding: 4px; }
.stat-icon { font-family: var(--font-display); font-size: clamp(22px, 3vw, 33px); line-height: 1; min-height: 33px; transition: transform .25s; }
a.stat:hover .stat-icon { transform: translateY(-3px); }
.stat-value { font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -.025em; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-label { font-size: clamp(11px, 1.2vw, 12.5px); color: var(--muted); line-height: 1.4; }
.hero-utility { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: clamp(26px, 4.5vh, 50px) auto 0; max-width: 1320px; color: var(--muted); font-size: 12px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; min-height: 40px; }
.scroll-cue:hover { color: white; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px; background: transparent; color: var(--muted); font-size: 12px; }
.motion-toggle:hover { color: #fff; }
.playback-icon { font-size: 14px; width: 14px; }

.anim { animation: reveal .85s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d, 0s); }
.subhead.anim { animation-name: revealSubhead; }
.cta.anim { animation-name: revealPulse; animation-fill-mode: backwards; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes headlineFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { from { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes revealSubhead { from { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); } to { opacity: .8; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes revealPulse { from { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); } 75% { opacity: 1; transform: translateY(-2px) scale(1.03); filter: blur(0); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }

.mobile-menu { border: 0; background: transparent; color: #222; }
.mobile-menu::backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(6px); animation: overlayIn .28s both; }
.content { position: relative; background: #000; padding: 0 max(var(--pad-x), calc((100vw - 1120px) / 2)); }
.section { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid #ffffff26; scroll-margin-top: 96px; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.eyebrow { font-size: 12px; font-weight: 500; color: #aaa; letter-spacing: .08em; text-transform: uppercase; }
.section-symbol { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.section h2 { font-family: var(--font-display); font-size: clamp(30px, 4.1vw, 54px); line-height: 1.15; font-weight: 400; letter-spacing: -.04em; text-wrap: balance; }
.section-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: end; margin-bottom: 52px; }
.section-intro > p, .about-copy > p, .contact-intro { color: #aaa; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; }
.section-intro > p { max-width: 360px; justify-self: end; }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.portrait-frame { margin: 0; width: 100%; max-width: 320px; }
.portrait { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; padding: 8px; background: #191919; border: 1px solid #ffffff40; }
.portrait-frame figcaption { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; }
.portrait-frame figcaption span { color: var(--muted); font-size: 12px; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p + p { margin-top: 20px; }
.about-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 28px 0; margin: 32px 0 24px; border-top: 1px solid #ffffff26; border-bottom: 1px solid #ffffff26; font-size: 14px; line-height: 1.6; }
.about-details dt { margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.about-details dd { margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 14px; border-bottom: 1px solid #777; padding: 8px 0; }
.text-link:hover { border-color: white; }
.project-link, .writing-link, .contact-link { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 24px; align-items: start; padding: 32px 0; border-top: 1px solid #ffffff26; }
.project-link { grid-template-columns: 40px minmax(0, 1fr) 220px 24px; align-items: center; padding: 36px 0; gap: 32px; }
.project-link > .row-number { align-self: start; padding-top: 6px; }
.project-text-only { grid-template-columns: 40px minmax(0, 1fr) 24px; }
.project-copy { max-width: 610px; }
.project-media { display: block; aspect-ratio: 1.6; overflow: hidden; border: 1px solid #ffffff26; border-radius: 12px; background: #161616; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.project-link:hover .project-media img { transform: scale(1.04); }
.row-number { padding-top: 5px; font-family: var(--font-display); font-size: 19px; color: #888; }
.row-title { display: block; margin-bottom: 12px; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.025em; line-height: 1.35; transition: color .2s; }
.row-copy { display: block; color: #aaa; font-size: 16px; line-height: 1.7; }
.row-meta { display: block; margin-top: 10px; color: #888; font-size: 12px; line-height: 1.5; }
.project-category { margin-top: 0; margin-bottom: 12px; }
.row-arrow { font-size: 24px; transition: transform .25s; }
.project-link:hover .row-arrow, .writing-link:hover .row-arrow, .contact-link:hover .row-arrow { transform: translate(3px, -3px); }
.writing-link { align-items: center; }
.writing-link .row-title { max-width: 780px; margin-bottom: 10px; font-size: clamp(18px, 1.8vw, 23px); }
.writing-list { margin-bottom: 24px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 100px); }
.contact-section h2 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 24px; }
.contact-intro { max-width: 400px; }
.contact-link { grid-template-columns: 24px minmax(0, 1fr) 24px; }
.contact-link > i { margin-top: 5px; font-size: 22px; }
.contact-link .row-copy { font-size: 14px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff26; color: #8e8e8e; font-size: 12px; line-height: 1.6; }
.site-footer a:hover { color: white; }
.back-to-top { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; white-space: nowrap; }
.no-script { margin: 24px 0; color: #aaa; font-size: 16px; line-height: 1.6; }
.no-script a { text-decoration: underline; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes linkIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll choreography is a progressive enhancement over the ordinary page. */
.hero-chapter { position: relative; }
.project-controls, .work-progress, .project-text-only .project-typographic { display: none; }
.notes-line { display: block; }
.notes-line + .notes-line { margin-left: 12%; }
.cinematic .hero-chapter { height: calc(var(--hero-height, 100svh) + 70svh); }
.cinematic .page { position: sticky; top: 0; transform: scale(var(--hero-scale, 1)); border-radius: var(--hero-radius, 0); transform-origin: center 44%; will-change: transform; }
.cinematic .hero { transform: translateY(var(--hero-copy-y, 0)); }
.cinematic .content { z-index: 2; margin-top: -24svh; clip-path: inset(0 var(--content-inset, 0px) 0 round var(--content-radius, 0px) var(--content-radius, 0px) 0 0); border-top: 1px solid #ffffff26; }
.cinematic .about-section { border-top: 0; padding-top: clamp(80px, 10vw, 140px); }
.spatial-motion .portrait { border-radius: var(--portrait-radius, 4%); }
.spatial-motion .portrait-frame { transform: translateY(var(--portrait-y, 0)); }
.spatial-motion .about-copy { transform: translateX(var(--about-copy-x, 0)); }
.spatial-motion .notes-line:first-child { transform: translateX(calc(var(--notes-shift, 0px) * -1)); }
.spatial-motion .notes-line + .notes-line { transform: translateX(var(--notes-shift, 0px)); }
.spatial-motion .writing-list { transform: translateY(var(--notes-rise, 0px)); }
.spatial-motion .contact-layout { transform: translateY(var(--contact-rise, 0px)); }
.cinematic .work-section { padding-bottom: 80px; }
.cinematic .work-section .section-intro { margin-bottom: 36px; }
.cinematic .work-stage { position: sticky; top: 112px; height: var(--stage-height, 600px); display: flex; flex-direction: column; }
.cinematic .project-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-shrink: 0; height: 56px; padding-bottom: 12px; border-bottom: 1px solid #ffffff26; }
.project-counter { font-family: var(--font-display); font-size: 23px; color: #b7b7b7; }
.project-steps { display: flex; align-items: center; gap: 8px; }
.project-step { position: relative; display: grid; place-items: center; width: 44px; height: 36px; border-radius: 999px; background: transparent; color: #888; font-size: 13px; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.project-step:hover { background: #242424; color: white; }
.project-step[aria-pressed="true"] { background: #fff; color: #000; }
.cinematic .project-list { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.cinematic .project-link { position: absolute; inset: 0; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(36px, 5vw, 72px); align-items: center; border: 0; padding: 34px 4px; will-change: transform; }
.cinematic .project-link > .row-number { display: none; }
.cinematic .project-link > .row-arrow { position: absolute; top: 14px; right: 4px; }
.cinematic .project-link:focus-visible { outline-offset: -4px; }
.cinematic .project-copy { max-width: none; }
.cinematic .project-link .row-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 60px); font-weight: 400; line-height: 1.1; letter-spacing: -.045em; margin-bottom: 22px; }
.cinematic .project-link .row-copy { max-width: 410px; font-size: 16px; line-height: 1.75; }
.cinematic .project-link .row-meta { margin-top: 18px; font-size: 12px; }
.cinematic .project-link .project-category { margin-top: 0; margin-bottom: 18px; }
.cinematic .project-media { display: block; width: 100%; height: min(100%, 420px); aspect-ratio: auto; border-radius: 16px; transform-origin: center; will-change: transform; }
.cinematic .project-media img { object-fit: cover; }
.cinematic .project-text-only .project-typographic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; background: #0d0d0e; }
.project-monogram { font-family: var(--font-display); font-size: clamp(100px, 15vw, 220px); letter-spacing: -.08em; line-height: 1; color: #e5e5e5; }
.project-domain { font-size: 13px; color: #888; letter-spacing: .03em; }
.cinematic .work-progress { display: block; height: 1px; flex-shrink: 0; background: #ffffff20; overflow: hidden; }
.work-progress span { display: block; height: 100%; background: #fff; transform: scaleX(var(--work-progress, 0)); transform-origin: left; }
.cinematic .notes-section { position: relative; background: #000; }
.cinematic .notes-section h2 { font-size: clamp(48px, 6vw, 82px); }

@media (max-width: 720px) {
  .shader-ready .bg::after { background: linear-gradient(180deg, #00000035, #00000090 26%, #00000030 56%, #0000008c); }
  .desktop-nav, .desktop-contact { display: none; }
  .header { justify-content: space-between; max-width: none; }
  .logo { width: 48px; height: 48px; }
  .burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: #28282a; box-shadow: var(--nav-shadow); }
  .burger span { display: block; width: 18px; height: 1.5px; background: white; }
  .hero { padding: 20px 0 28px; }
  .headline { font-size: clamp(28px, 6.7vw, 48px); letter-spacing: -.08em; line-height: 1.05; }
  .subhead { max-width: 420px; padding: 0 8px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; gap: 24px 16px; }
  .stat { gap: 7px; }
  .stat-icon { min-height: 24px; }
  .stat-value { font-size: 19px; }
  .stat-label { font-size: 12px; }
  .hero-utility { margin-top: 24px; font-size: 12px; }
  .mobile-menu { position: fixed; inset: 0; margin: 0; padding: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; overflow: auto; }
  .menu-close { position: absolute; top: var(--pad-y); right: var(--pad-x); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: white; }
  .menu-close span { position: absolute; width: 18px; height: 1.5px; background: black; transform: rotate(45deg); }
  .menu-close span + span { transform: rotate(-45deg); }
  .menu-sheet { display: flex; flex-direction: column; margin: calc(var(--pad-y) + 66px) var(--pad-x) 24px; padding: 22px 18px 20px; background: white; border-radius: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.45); animation: menuIn .38s cubic-bezier(.22,1,.36,1) both; }
  .mobile-link { position: relative; padding: 18px; text-align: center; font-size: 16px; color: #777; animation: linkIn .35s both; animation-delay: calc(var(--i) * .05s); }
  .mobile-link.active { color: #222; }
  .mobile-link.active::after { bottom: 8px; }
  .menu-contact { display: flex; justify-content: center; gap: 16px; padding: 16px; margin-top: 12px; border-radius: 999px; background: #28282a; color: white; font-size: 15px; animation: linkIn .35s .2s both; }
  .section { scroll-margin-top: 88px; }
  .section-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .section-intro > p { max-width: 440px; justify-self: start; }
  .section h2 { font-size: clamp(28px, 6vw, 42px); }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .portrait-frame { width: min(64%, 240px); }
  .portrait-frame figcaption { align-items: flex-start; }
  .about-copy h2 { margin-bottom: 24px; }
  .about-details { gap: 12px; }
  .project-link { grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 16px; padding: 28px 0; }
  .project-copy { grid-column: 2; }
  .project-media { grid-column: 2; grid-row: 2; width: min(100%, 380px); margin-top: 6px; }
  .project-link .row-arrow { grid-column: 3; grid-row: 1; align-self: start; }
  .writing-link { grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 16px; align-items: start; padding: 26px 0; }
  .row-arrow { font-size: 21px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-section h2 { font-size: 48px; }
  .site-footer { flex-wrap: wrap; gap: 12px 24px; }
  .back-to-top { margin-left: auto; }
}

@media (max-width: 420px) {
  .trust-row { --trust-size: 34px; }
  .trust-pill { padding-right: 12px; font-size: 12px; }
  .headline { letter-spacing: -.09em; line-height: 1.04; font-size: clamp(25px, 6.65vw, 28px); }
  .subhead { font-size: 16px; }
  .hero-utility { gap: 6px; }
  .motion-toggle { padding-right: 0; }
  .about-details { grid-template-columns: 1fr; gap: 20px; }
  .about-details dt { margin-bottom: 3px; }
  .row-meta { font-size: 12px; }
}

@media (max-height: 700px) {
  .hero { padding-top: 16px; padding-bottom: 20px; }
  .trust-row { margin-bottom: 14px; }
  .subhead { margin-top: 16px; }
  .cta { margin-top: 18px; }
  .stats { row-gap: 14px; }
  .hero-utility { margin-top: 16px; }
}

@media (max-height: 590px) {
  .hero { padding: 12px 0; }
  .trust-row { --trust-size: 30px; margin-bottom: 10px; }
  .headline { font-size: clamp(25px, 4.7vw, 48px); }
  .subhead { max-width: 560px; font-size: 15px; line-height: 1.4; margin-top: 12px; }
  .cta { min-height: 42px; padding: 10px 22px; margin-top: 14px; }
  .stats { gap: 10px; }
  .stat { gap: 4px; }
  .stat-icon { font-size: 20px; min-height: 20px; }
  .stat-value { font-size: 16px; }
  .stat-label { font-size: 11px; }
  .hero-utility { margin-top: 8px; }
}

@media (max-height: 590px) and (min-width: 560px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 920px; }
}

/* Keep the hero comfortable when the viewport is too short for one screen. */
@media (max-height: 460px), (max-width: 340px) {
  .hero { flex: auto; min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim, .headline span { opacity: 1; transform: none; filter: none; }
  .subhead.anim { opacity: .8; }
  .trust-row:hover .avatar, a.stat:hover .stat-icon, .cta:hover, .logo:hover, .contact-pill:hover { transform: none; }
}
