@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700;800;900;1000&family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #191c1e;
  --accent: #82b9c8;
  --accent-ink: #326471;
  --accent-light: #e2f0f4;
  --paper: #ffffff;
  --muted: #657077;
  --line: #d5e0e4;
  --sans: 'DM Sans', Arial, sans-serif;
  --display: 'Space Grotesk', var(--sans);
  --mono: 'DM Mono', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-height: 100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: white; color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-anchor: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 5px; }
button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: calc(100% - 112px); max-width: 1328px; margin-inline: auto; }
[hidden] { display: none !important; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-200%); background: white; color: var(--ink); border: 2px solid var(--accent-ink); border-radius: 8px; padding: 10px 16px; }
.skip-link:focus { transform: none; }

/* A blank opening becomes a full-screen personal workbench. */
.opening { position: relative; isolation: isolate; color: var(--ink); }
.hero-canvas { position: absolute; inset: calc(-1 * var(--header-height)) 0 0; z-index: -1; background-color: white; background-image: linear-gradient(#82b9c80c 1px, transparent 1px), linear-gradient(90deg, #82b9c80c 1px, transparent 1px); background-size: 80px 80px; }
.site-header { color: var(--ink); min-height: var(--header-height); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.wordmark { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent-light); color: var(--ink); border-radius: 14px; font: 700 34px/1 var(--display); letter-spacing: -4px; padding-right: 4px; padding-bottom: 3px; }
.wordmark > span:last-child { font-size: 14px; font-weight: 600; letter-spacing: -.3px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
nav > a { transition: color .2s; }
nav > a:hover { color: var(--accent-ink); }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; transition: background .2s; }
.social-link svg { width: 17px; height: 17px; fill: currentColor; }
.social-link:hover { background: var(--accent-light); color: var(--ink); }
.hero { min-height: calc(100svh - var(--header-height)); display: flex; flex-direction: column; padding-top: clamp(28px, 4.5vh, 55px); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; flex: 0 0 auto; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 54px; flex: 1; padding-block: 36px 50px; }
.hero-name { min-width: 0; }
h1 { margin: 0; font: 600 clamp(72px, 7.8vw, 114px)/.95 var(--display); letter-spacing: -.065em; }
h1 > span { display: block; min-height: .95em; white-space: nowrap; }
h1 .surname { color: #5b95a8; margin-top: 14px; }
.hero-windows { min-width: 0; padding: 0 10px; }
.note-window, .directory-window { background: #ffffff; border: 1.5px solid var(--ink); border-radius: 11px; overflow: hidden; color: var(--ink); box-shadow: 7px 9px 0 #191c1e16; }
.note-window { max-width: 395px; transform: rotate(-3deg); }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 39px; padding: 9px 14px; border-bottom: 1px solid #191c1e30; font: 11px var(--mono); }
.window-bar > span:nth-child(2) { flex: 1; }
.window-dots { display: inline-flex; align-items: center; gap: 5px; }
.window-dots i { display: inline-block; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
.window-dots i:first-child { background: currentColor; }
.window-symbol { font: 10px/1 var(--mono); color: var(--muted); }
.note-body { padding: 25px 27px 28px; }
.note-index, .section-kicker { font: 11px/1.6 var(--mono); letter-spacing: .02em; }
.note-index { color: var(--muted); }
.note-body p { font: 500 clamp(24px, 2.3vw, 33px)/1.18 var(--display); letter-spacing: -1px; margin: 15px 0 21px; }
.note-foot { font-size: 12px; color: var(--muted); }
.directory-window { margin: 25px 0 0 auto; max-width: 345px; transform: rotate(3deg); }
.directory-window .window-bar { background: var(--accent-light); }
.directory-count { font-size: 10px; border: 1px solid #191c1e50; border-radius: 4px; padding: 0 4px; }
.directory-window > a { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border-bottom: 1px solid #191c1e18; font-size: 16px; letter-spacing: -.3px; transition: color .2s, background .2s; }
.directory-window > a:hover { background: var(--accent-light); color: var(--accent-ink); }
.directory-window > a > span:last-child { margin-left: auto; font-size: 22px; line-height: 1; }
.directory-index { color: var(--muted); font: 10px var(--mono); }
.directory-foot { display: flex; align-items: center; gap: 7px; padding: 11px 17px; color: var(--muted); font: 10px var(--mono); }
.directory-foot .status-dot { width: 5px; height: 5px; color: var(--accent-ink); }
.hero-baseline { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); min-height: 77px; font: 10px var(--mono); letter-spacing: .04em; }
.scroll-cue { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 9px 17px; border: 1px solid #c0d6de; border-radius: 99px; font: 13px var(--sans); letter-spacing: 0; transition: color .2s, background .2s; }
.scroll-cue > span[aria-hidden] { font-size: 20px; line-height: 1; }
.scroll-cue:hover { background: var(--accent-light); color: var(--ink); border-color: var(--accent-light); }
.baseline-number { color: var(--muted); }

/* Project windows, assembled one piece at a time on arrival. */
.content { background: var(--paper); }
.apps-section { padding-top: 110px; padding-bottom: 120px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding-bottom: 54px; }
.section-kicker { display: block; margin-bottom: 24px; color: var(--muted); }
h2 { margin: 0; font: 500 clamp(42px, 4.65vw, 65px)/1.03 var(--display); letter-spacing: -.065em; }
.section-heading h2 .heading-accent { color: var(--accent-ink); }
.collection-intro { padding-bottom: 3px; }
.project-count { font: 10px var(--mono); color: var(--accent-ink); }
.collection-intro p { font-size: 17px; line-height: 1.5; margin: 18px 0 0; letter-spacing: -.25px; }
.project-list { display: flex; flex-direction: column; gap: 50px; }
.project-card { border: 1.5px solid var(--ink); border-radius: 13px; background: #ffffff; box-shadow: 6px 7px 0 #191c1e0c; overflow: hidden; scroll-margin-top: 28px; }
.project-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px; border-bottom: 1px solid var(--ink); font: 11px var(--mono); }
.project-bar > span:first-child { display: inline-flex; align-items: center; gap: 15px; }
.bar-status { font-size: 9px; color: var(--muted); }
.project-body { display: grid; grid-template-columns: 1.28fr 1fr; }
.project-art { min-height: 395px; overflow: hidden; padding: 26px 30px; display: flex; flex-direction: column; justify-content: space-between; }
.checkmate-cover { background: var(--accent-light); color: var(--ink); border-right: 1px solid var(--ink); background-image: linear-gradient(#3264710d 1px, transparent 1px), linear-gradient(90deg, #3264710d 1px, transparent 1px); background-size: 46px 46px; }
.poster-index { font: 12px var(--mono); }
.checkmate-type, .gunball-cover .type-dot { color: var(--accent); }
.gunball-type { display: flex; flex-direction: column; align-self: center; font: 1000 clamp(75px, 7.5vw, 108px)/.8 var(--sans); letter-spacing: -.08em; }
.checkmate-type { transform: rotate(-4deg); }
.type-dot { color: var(--ink); }
.poster-baseline { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 10px var(--mono); }
.project-info { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 40px; }
.project-info h3 { margin: 25px 0 0; font: 500 clamp(35px, 3.55vw, 50px)/1.02 var(--display); letter-spacing: -.065em; }
.title-period { color: var(--accent-ink); }
.project-info p { margin: 22px 0 28px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.development-label { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; font: 11px var(--mono); }
.development-label .status-dot { color: var(--accent-ink); width: 5px; height: 5px; }
.gunball-card .project-body { grid-template-columns: 1fr 1.28fr; }
.gunball-card .project-info { grid-column: 1; grid-row: 1; }
.gunball-cover { grid-column: 2; grid-row: 1; background: var(--ink); color: white; border-left: 1px solid var(--ink); }
.gunball-type { font-size: clamp(92px, 9vw, 132px); font-style: italic; letter-spacing: -.085em; transform: rotate(-7deg); }
.gunball-card .poster-baseline { font-size: 9px; }

.scrolling-section { padding-block: 85px 95px; border-top: 1px solid var(--line); }
.scrolling-status { color: var(--muted); font-size: 16px; margin: 24px 0 0; }

/* The supplied portrait is sketched, then colored into its own window. */
.profile-section { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(60px, 9vw, 140px); padding-block: 100px 120px; border-top: 1px solid var(--line); }
.profile-copy { grid-column: 2; grid-row: 1; max-width: 490px; }
.profile-copy h2 { font-size: clamp(62px, 7vw, 96px); }
.profile-name { color: var(--ink); }
.profile-copy p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 25px 0 0; max-width: 410px; }
.profile-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 14px; font-weight: 600; }
.profile-social svg { width: 15px; height: 15px; fill: currentColor; }
.profile-social:hover { color: var(--accent-ink); }
.portrait-frame { grid-column: 1; grid-row: 1; width: 100%; max-width: 420px; margin: 0; border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: white; box-shadow: 10px 12px 0 var(--accent-light); }
.portrait-frame .window-bar { background: var(--accent-light); }
.portrait-image { position: relative; aspect-ratio: 1; overflow: hidden; background: white; }
.portrait-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait-sketch { filter: url(#portrait-outline); opacity: .65; }
.portrait-color { z-index: 1; }
.portrait-frame figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--ink); font-size: 14px; }
.portrait-frame figcaption > span:last-child { font: 10px var(--mono); color: var(--muted); }
.portrait-image[data-portrait-state='pending'] img { clip-path: inset(0 0 100% 0); }
.portrait-image[data-portrait-state='drawing'] .portrait-color { clip-path: inset(0 0 100% 0); }
.portrait-scan { position: absolute; left: 0; right: 0; height: 1px; z-index: 2; background: var(--accent-ink); opacity: 0; box-shadow: 0 0 16px 3px #82b9c833; }
.portrait-image[data-portrait-state='drawing'] .portrait-scan, .portrait-image[data-portrait-state='rendering'] .portrait-scan { opacity: .35; }
.portrait-filters { position: absolute; pointer-events: none; }

.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 25px; color: var(--muted); font-size: 12px; }
.footer-middle { font: 10px var(--mono); }
.footer-replay { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 6px 0; background: transparent; color: var(--accent-ink); font-size: 12px; }

/* Broad, softly rounded pointers shaped to the supplied reference. */
.cursor-layer { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.agent-cursor { position: absolute; left: 0; top: 0; opacity: 0; transform: translate(50vw, 50vh); transition: transform .68s var(--ease), opacity .2s; will-change: transform; --agent: #3155e7; }
.agent-cursor.active { opacity: 1; }
.agent-cursor svg { width: 32px; height: 32px; fill: var(--agent); stroke: white; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 2px #0002); position: relative; z-index: 1; }
.type-agent { --agent: #8557d5; }
.apps-agent { --agent: #e27034; }
.review-agent { --agent: #198773; }
.agent-cursor.is-approaching { transition: opacity .2s; }
.agent-cursor.is-selecting { transition: opacity .2s; }
.agent-cursor.is-drawing { transition: opacity .2s; }
.agent-cursor svg.cursor-ibeam { display: none; width: 18px; height: var(--caret-height, 40px); fill: none; stroke: var(--agent); stroke-width: 2.5; }
.agent-cursor svg.cursor-ibeam .ibeam-outline { stroke: white; stroke-width: 5; }
.agent-cursor.is-typing { transition: opacity .2s; }
.agent-cursor.is-typing .cursor-arrow { display: none; }
.agent-cursor.is-typing svg.cursor-ibeam { display: block; }
.cursor-label { position: absolute; left: 25px; top: 25px; background: var(--agent); color: white; white-space: nowrap; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px 12px 12px 12px; box-shadow: 0 3px 12px #0002; }
.agent-cursor.label-left .cursor-label { left: auto; right: calc(100% + 8px); border-radius: 12px 8px 12px 12px; }
.agent-cursor.label-above .cursor-label { top: auto; bottom: calc(100% + 6px); }
.agent-cursor.is-typing .cursor-label { left: 21px; top: calc(var(--caret-height, 40px) - 5px); }
.agent-cursor.is-typing.label-left .cursor-label { left: auto; right: calc(100% + 8px); }
.agent-cursor.is-typing.label-above .cursor-label { top: auto; bottom: calc(100% + 6px); }
.cursor-task { opacity: .85; font-weight: 400; }
.cursor-task:not(:empty)::before { content: ' · '; }
.selection-layer { position: fixed; inset: 0; z-index: 39; pointer-events: none; overflow: hidden; }
.selection-box { position: absolute; border: 1.5px solid var(--agent); background: color-mix(in srgb, var(--agent) 7%, transparent); border-radius: 2px; box-shadow: 0 0 0 1px #ffffff50; opacity: 1; transition: opacity .3s; }
.selection-box.complete::before, .selection-box.complete::after { content: ''; position: absolute; width: 5px; height: 5px; background: white; border: 1px solid var(--agent); }
.selection-box.complete::before { left: -3px; top: -3px; }
.selection-box.complete::after { right: -3px; bottom: -3px; }
.selection-box.released { opacity: 0; }
.click-ring { position: absolute; width: 32px; height: 32px; border: 2px solid var(--agent); border-radius: 50%; left: -12px; top: -11px; opacity: 0; }
.agent-cursor.click .click-ring { animation: cursor-click .6s ease-out; }
.build-status { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; background: #ffffffed; color: var(--ink); border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 4px 22px #0001; font-size: 12px; white-space: nowrap; backdrop-filter: blur(8px); max-width: calc(100% - 24px); }
.agent-avatars { display: flex; padding-left: 4px; flex-shrink: 0; }
.agent-avatars span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid white; color: white; margin-left: -4px; font: 10px var(--mono); background: #3155e7; }
.agent-avatars span:nth-child(2) { background: #8557d5; }
.agent-avatars span:nth-child(3) { background: #e27034; }
.agent-avatars span:nth-child(4) { background: #198773; }
#build-count { font: 10px var(--mono); color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; flex-shrink: 0; }
#build-message { overflow: hidden; text-overflow: ellipsis; }
.assembling :is(.site-header, .hero, .hero-canvas) [data-build], .assembling :is(.site-header, .hero-canvas)[data-build] { opacity: 0; pointer-events: none; }
.assembling :is(.site-header, .hero, .hero-canvas) [data-build].placed, .assembling :is(.site-header, .hero-canvas)[data-build].placed { opacity: 1; transform: none; transition: opacity .55s ease, transform .7s var(--ease); }
.assembling .hero-canvas { transform: none; }
.write-surface { display: inline-grid; max-width: 100%; vertical-align: baseline; }
.write-measure, .write-ink { grid-area: 1 / 1; min-width: 0; }
.write-measure { visibility: hidden; }
.write-pending .write-ink { visibility: hidden; }
.assembling [data-build].writing, .scroll-building [data-build].writing { transition: opacity .12s ease; }
.assembling .hero-name { min-height: 2.1em; }
.scroll-awaiting [data-build], .scroll-awaiting[data-build], .scroll-building [data-build], .scroll-building[data-build] { opacity: 0; pointer-events: none; }
.scroll-building [data-build].placed, .scroll-building[data-build].placed { opacity: 1; transform: none; transition: opacity .55s ease, transform .65s var(--ease); }
.agent-selected { outline: 1px solid #3155e790; outline-offset: 5px; border-radius: 6px; }
.type-selected { outline-color: #a37bea; }
.apps-selected { outline-color: #e2703490; }
.hero-canvas.agent-selected { outline: none; }
.reduced-motion [data-replay] { display: none; }
@keyframes cursor-click { 0% { opacity: .8; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8); } }

@media (min-width: 1550px) {
  .hero-grid { gap: 85px; }
  h1 { font-size: 118px; }
  .hero-windows { padding-left: 30px; }
  .note-window { max-width: 420px; }
  .directory-window { max-width: 355px; }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero-grid { gap: 30px; grid-template-columns: 1.13fr 1fr; }
  h1 { font-size: 7.5vw; }
  .note-body { padding: 22px; }
  .note-body p { font-size: 28px; }
  .hero-windows { padding: 0 7px; }
  .directory-window { max-width: 305px; }
  .project-art { min-height: 355px; }
  .project-info { padding: 30px; }
  .project-info h3 { font-size: 38px; }
  .footer-middle { display: none; }
}
@media (min-width: 761px) and (max-height: 800px) {
  .hero { padding-top: 26px; }
  .hero-grid { padding-block: 24px 30px; }
  .note-body { padding: 18px 24px 20px; }
  .note-body p { font-size: 28px; margin-block: 12px 16px; }
  .note-foot { font-size: 11px; }
  .directory-window { margin-top: 22px; }
  .directory-window .window-bar { min-height: 32px; padding-block: 7px; }
  .directory-window > a { padding-block: 11px; font-size: 15px; }
  .directory-foot { padding-block: 9px; }
  .hero-baseline { min-height: 64px; }
}
@media (max-width: 760px) {
  :root { --header-height: 82px; }
  .shell { width: calc(100% - 40px); }
  .brand-mark { width: 37px; height: 37px; border-radius: 11px; font-size: 29px; letter-spacing: -3px; }
  .wordmark { gap: 10px; }
  .wordmark > span:last-child { font-size: 12px; }
  nav { gap: 20px; font-size: 12px; }
  nav > a[href='#about'] { display: none; }
  .social-link { width: 35px; height: 35px; }
  .social-link svg { width: 15px; height: 15px; }
  .hero { padding-top: 25px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 30px 36px; align-content: center; }
  h1 { font-size: clamp(47px, 14.7vw, 84px); line-height: .96; letter-spacing: -.065em; }
  h1 > span { min-height: .96em; }
  h1 .surname { margin-top: 10px; }
  .hero-windows { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px; padding: 0 5px; }
  .window-bar { padding: 8px 10px; min-height: 32px; gap: 8px; font-size: 9px; }
  .window-dots { gap: 3px; }
  .window-dots i { width: 4px; height: 4px; }
  .window-symbol { font-size: 8px; }
  .note-window, .directory-window { border-radius: 8px; box-shadow: 4px 5px 0 #191c1e16; }
  .note-body { padding: 15px; }
  .note-body .note-index { font-size: 9px; }
  .note-body p { font-size: 22px; letter-spacing: -.7px; margin: 12px 0 0; }
  .note-foot { display: none; }
  .directory-window { margin-top: 20px; }
  .directory-window .window-dots, .directory-count { display: none; }
  .directory-window .window-bar { font-size: 9px; }
  .directory-window > a { gap: 7px; padding: 14px 10px; font-size: 12px; letter-spacing: -.3px; }
  .directory-window > a > span:last-child { font-size: 17px; }
  .directory-index { font-size: 8px; }
  .directory-foot { font-size: 8px; padding: 9px 10px; gap: 5px; }
  .hero-baseline { min-height: 66px; gap: 12px; font-size: 8px; }
  .scroll-cue { font-size: 11px; gap: 12px; padding: 8px 12px; }
  .baseline-number { display: none; }
  .apps-section { padding-block: 65px 70px; }
  .section-heading { display: block; padding-bottom: 30px; }
  .section-kicker { font-size: 10px; margin-bottom: 20px; }
  h2 { font-size: clamp(41px, 8.5vw, 57px); }
  .collection-intro { margin-top: 25px; }
  .project-count { font-size: 9px; }
  .collection-intro p { font-size: 15px; margin-top: 10px; }
  .collection-intro br { display: none; }
  .project-list { gap: 30px; }
  .project-card { border-radius: 10px; box-shadow: 4px 5px 0 #191c1e0c; }
  .project-bar { font-size: 10px; padding: 12px 14px; }
  .project-bar > span:first-child { gap: 9px; }
  .bar-status { display: none; }
  .project-body, .gunball-card .project-body { grid-template-columns: 1fr; }
  .project-art { min-height: 310px; padding: 21px; }
  .checkmate-cover { border-right: 0; border-bottom: 1px solid var(--ink); }
  .checkmate-type { font-size: clamp(80px, 21vw, 113px); }
  .gunball-cover { grid-column: 1; grid-row: 1; border-left: 0; border-bottom: 1px solid var(--ink); }
  .gunball-type { font-size: clamp(103px, 27vw, 147px); }
  .gunball-card .project-info { grid-column: 1; grid-row: 2; }
  .project-info { padding: 25px; min-height: 270px; }
  .project-info h3 { font-size: 39px; margin-top: 18px; }
  .project-info p { margin-block: 17px 23px; }
  .note-index { font-size: 10px; }
  .poster-baseline { font-size: 9px; }
  .gunball-card .poster-baseline { font-size: 8px; }
  .scrolling-section { padding-block: 60px 65px; }
  .profile-section { grid-template-columns: 1fr; gap: 38px; padding-block: 65px 75px; }
  .profile-copy { grid-column: 1; grid-row: 1; }
  .profile-copy h2 { font-size: clamp(60px, 15vw, 82px); }
  .profile-copy p { font-size: 16px; margin-top: 21px; }
  .portrait-frame { grid-column: 1; grid-row: 2; max-width: 440px; box-shadow: 7px 8px 0 var(--accent-light); }
  .site-footer { min-height: 90px; font-size: 11px; }
  .footer-replay { font-size: 11px; }
  .build-status { font-size: 11px; gap: 8px; bottom: 18px; }
  #build-count { font-size: 9px; padding-left: 8px; }
  .cursor-label { padding: 4px 8px; }
  .agent-cursor svg { width: 28px; height: 28px; }
  .cursor-label { left: 22px; top: 22px; font-size: 11px; }
  .click-ring { left: -13px; top: -12px; }
}
@media (max-width: 450px) {
  .hero-grid { gap: 26px; }
  .hero-windows { grid-template-columns: 1.08fr 1fr; gap: 15px; }
  .note-body { padding: 15px 13px 19px; }
  .note-body p { font-size: 19px; }
  .note-window .window-bar { font-size: 8px; }
  .note-window .window-dots { display: none; }
  .directory-window .window-bar { font-size: 8px; }
  .directory-window > a { font-size: 11px; padding-inline: 9px; gap: 6px; }
  .directory-index { display: none; }
  .hero-baseline > span:first-child { max-width: 100px; font-size: 8px; }
}
@media (max-width: 370px) {
  nav { gap: 12px; font-size: 11px; }
  .shell { width: calc(100% - 32px); }
  h1 { font-size: 14.7vw; }
  .hero-windows { gap: 13px; padding: 0 3px; }
  .note-body p { font-size: 17px; }
  .note-body .note-index { font-size: 8px; }
  .window-symbol { font-size: 7px; }
  .directory-foot { font-size: 7px; padding-inline: 9px; }
  .scroll-cue { font-size: 10px; padding-inline: 11px; }
  .agent-avatars { display: none; }
  .project-art { min-height: 275px; padding: 18px; }
  .project-info { padding: 22px; }
  .project-info h3 { font-size: 36px; }
  .project-bar { font-size: 9px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero { padding-top: 18px; }
  .hero-grid { padding-block: 16px 18px; gap: 18px; }
  h1 { font-size: clamp(45px, 14.7vw, 82px); }
  .note-body p { font-size: 17px; }
  .hero-baseline { min-height: 56px; }
}
@media (max-width: 370px) and (max-height: 700px) {
  .hero { padding-top: 12px; }
  .hero-grid { padding-block: 10px 12px; gap: 12px; }
  .note-body { padding-block: 13px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
