/* Slate blue, warm orange, and neutral reading surfaces. */
:root {
  color-scheme: dark;
  --bg: #101820; --surface: #17232f; --surface-alt: #1e2d3c; --line: #2b3c4d;
  --primary: #3f5873; --primary-dark: #30465c; --orange: #ff9f33; --accent-text: #ff9f33; --ink: #f5f6fa;
  --muted: #b0bdcc; --subtle: #91a3b7; --success: #93d7b4; --soft-orange: #ff9f3312;
  --font: 'DM Sans', Arial, sans-serif; --mono: 'DM Mono', 'Courier New', monospace;
}
[data-theme=light] {
  color-scheme: light;
  --bg: #f7f8fa; --surface: #ffffff; --surface-alt: #eef2f7; --line: #d8e0eb;
  --ink: #0f172a; --muted: #526379; --subtle: #5b6c80; --success: #157e4c; --soft-orange: #ff9f3314; --accent-text: #a95000;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, h4, ol, ul, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: #ff9f3355; color: var(--ink); }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 20px; border-radius: 8px; color: #101820; background: var(--orange); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow, .section-index { font: 10px/1.6 var(--mono); letter-spacing: .1em; }
.page-shell { width: min(1180px, calc(100% - 96px)); margin: 0 auto; }
main { min-width: 0; }

/* A quiet, persistent navigation frame. */
.site-header { display: flex; align-items: center; gap: 30px; min-height: 80px; position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(16px)) { .site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); } }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.monogram { display: grid; place-content: center; position: relative; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--surface-alt); border-radius: 13px; font-size: 22px; line-height: 1; font-weight: 700; letter-spacing: -1.8px; }
.monogram > span { color: var(--orange); position: absolute; bottom: 9px; right: 7px; }
.brand-name { font-size: 14px; font-weight: 600; line-height: 1.6; }
.brand-name > span { display: block; font-size: 10px; font-weight: 400; color: var(--subtle); }
.section-nav { margin-left: auto; display: flex; align-items: center; gap: 29px; }
.section-nav a { font-size: 12px; color: var(--muted); position: relative; padding: 12px 0; white-space: nowrap; transition: color .2s; }
.section-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.section-nav a:hover, .section-nav a.active { color: var(--ink); }
.section-nav a.active::after { transform: scaleX(1); }
.section-nav a:last-child { display: flex; align-items: center; gap: 5px; }
.section-nav svg { width: 12px; height: 12px; }
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); transition: background .2s, color .2s; }
.theme-toggle:hover { color: var(--accent-text); background: var(--surface-alt); }
.theme-toggle svg { width: 17px; height: 17px; }
.moon-icon, [data-theme=light] .sun-icon { display: none; }
[data-theme=light] .moon-icon { display: block; }

/* Typography and real app imagery lead the introduction. */
.intro { display: grid; grid-template-columns: 1.18fr 1fr; gap: 62px; align-items: start; padding: 28px 0 32px; }
.availability { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 9%, transparent); }
.intro-person { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-top: 16px; color: var(--muted); }
.portrait { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.intro h1 { font-size: clamp(48px, 5.25vw, 70px); line-height: 1.08; letter-spacing: -.055em; font-weight: 500; margin: 14px 0 18px; white-space: nowrap; }
.intro h1 > span { color: var(--accent-text); }
.intro-copy > p:last-of-type { max-width: 485px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.intro-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 22px; background: var(--orange); color: #101820; border-radius: 9px; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.primary-link:hover { background: #ffb45b; transform: translateY(-2px); }
.primary-link svg { width: 17px; height: 17px; transition: transform .2s; }
.primary-link:hover svg { transform: translateX(3px); }
.quiet-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); min-height: 44px; }
.quiet-link:hover { color: var(--ink); }
.quiet-link svg { width: 15px; height: 15px; }
.intro-footnote { display: flex; gap: 21px; flex-wrap: wrap; margin-top: 22px; font: 8px/1.7 var(--mono); letter-spacing: .06em; color: var(--subtle); }
.intro-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.intro-socials a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 132px; min-height: 48px; padding: 12px 16px; border: 1px solid #587899; border-radius: 9px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #f5f6fa; font-size: 13px; font-weight: 600; box-shadow: 0 5px 15px #07121e1a; transition: border-color .2s, transform .2s; }
.intro-socials a:hover { border-color: var(--orange); transform: translateY(-2px); }
.intro-socials svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--orange); }
.intro-socials .social-external { width: 11px; height: 11px; margin-left: 2px; color: #d3e0ed; }
.hero-showcase { height: 466px; position: relative; isolation: isolate; background: #30465c; border: 1px solid #58789966; border-radius: 24px; overflow: hidden; }
.showcase-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 25px; color: #d8e3ef; position: relative; z-index: 3; }
.showcase-top .eyebrow { font-size: 8px; letter-spacing: .13em; }
.showcase-cross { font: 24px/1 var(--mono); color: #9bb2c9; }
.hero-orbits { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; z-index: -1; }
.hero-orbits span { width: 280px; height: 280px; border: 1px solid #8fa8c030; border-radius: 50%; position: absolute; }
.hero-orbits span:nth-child(2) { width: 420px; height: 420px; }
.hero-orbits span:nth-child(3) { width: 560px; height: 560px; }
.hero-phone { position: absolute; width: 145px; border: 5px solid #162332; border-radius: 22px; box-shadow: 12px 24px 45px #07101b66; }
.hero-phone-back { left: 48%; top: 61px; transform: rotate(13deg); width: 139px; }
.hero-phone-front { left: 16%; top: 91px; transform: rotate(-9deg); }
.showcase-sticker { position: absolute; right: 17px; bottom: 113px; z-index: 2; background: var(--orange); color: #101820; border-radius: 9px; padding: 15px 19px; transform: rotate(7deg); font-size: 12px; line-height: 1.5; box-shadow: 0 8px 24px #10182026; }
.showcase-sticker strong { font-size: 15px; font-weight: 600; }
.showcase-sticker svg { position: absolute; top: 13px; right: 12px; height: 12px; width: 12px; }
.showcase-caption { position: absolute; bottom: 0; left: 0; right: 0; z-index: 4; background: #24384c; color: #f5f6fa; border-top: 1px solid #ffffff15; padding: 20px 25px; display: flex; align-items: center; justify-content: space-between; }
.showcase-caption .eyebrow { font-size: 7px; color: #b7c9db; }
.showcase-caption strong { display: block; font-size: 15px; font-weight: 500; margin-top: 3px; }
.round-arrow { display: grid; place-items: center; border: 1px solid #7892ad70; width: 35px; height: 35px; border-radius: 50%; transition: background .2s; }
.round-arrow svg { height: 15px; width: 15px; }
.showcase-caption:hover .round-arrow { color: #101820; background: var(--orange); border-color: var(--orange); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 0 38px; }
.stats > div:first-child { padding-left: 0; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dt { display: flex; align-items: center; gap: 18px; font-size: 42px; font-weight: 500; letter-spacing: -.05em; line-height: 1.3; }
.stats dt > span { color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.stats dd { margin: 3px 0 0; font-size: 11px; color: var(--subtle); }

/* Every project is visible, with a distinct branded media canvas. */
.section { margin-top: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
.section-index { display: block; color: var(--orange); margin-bottom: 11px; font-size: 9px; }
[data-theme=light] .section-index { color: #975000; }
.section-heading h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.section-description { font-size: 12px; color: var(--muted); line-height: 1.8; max-width: 340px; }
.small-note { color: var(--subtle); font-size: 11px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.project-panel { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; scroll-margin-top: 24px; transition: border-color .25s, box-shadow .25s; }
.project-panel:hover { border-color: #587899; box-shadow: 0 16px 38px #00000015; }
.project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; min-height: 485px; }
.project-media { position: relative; color: #f5f6fa; background: #30465c; overflow: hidden; display: flex; flex-direction: column; min-width: 0; min-height: 365px; }
.project-panel:not(.project-featured) .project-media { height: 440px; flex-shrink: 0; }
.media-top, .media-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.media-top { padding: 23px 25px 0; }
.media-kicker { font: 8px/1.6 var(--mono); letter-spacing: .07em; color: #d3e0ed; text-transform: uppercase; }
.media-count { font: 9px var(--mono); color: #b5c8db; }
.media-bottom { margin-top: auto; border-top: 1px solid #ffffff18; background: #162b3f40; padding: 13px 24px; min-height: 54px; font-size: 9px; color: #d3e0ed; }
.media-bottom > svg { height: 15px; width: 15px; }
.media-action { display: flex; align-items: center; gap: 7px; font-size: 10px; background: transparent; color: #ffe0b8; padding: 7px 0; }
.media-action:hover { color: #ffffff; }
.media-action svg { height: 14px; width: 14px; }
.expense-media { background: #3f5873; }
.expense-media::before { content: ''; position: absolute; width: 390px; height: 390px; border: 1px solid #ffffff1f; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 48px #ffffff04, 0 0 0 49px #ffffff0c; }
.screen-pair { position: relative; flex: 1; min-height: 378px; width: min(100%, 440px); margin: 0 auto; }
.screen-button { background: transparent; padding: 0; display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 30px #07121e4d; transition: transform .25s, filter .25s; }
.screen-button img { height: 100%; width: 100%; object-fit: contain; }
.screen-button:hover { filter: brightness(1.08); }
.screen-front { position: absolute; height: 334px; width: 156px; left: 65px; top: 30px; border: 5px solid #162332; z-index: 1; transform: rotate(-8deg); }
.screen-back { position: absolute; height: 321px; width: 151px; right: 62px; top: 16px; border: 5px solid #24384c; transform: rotate(9deg); }
.screen-front:hover { transform: rotate(-5deg) translateY(-6px); }
.screen-back:hover { transform: rotate(6deg) translateY(-6px); }
@media (min-width: 681px) {
  #panel-expense:not(.project-featured) .screen-pair { min-height: 340px; }
  #panel-expense:not(.project-featured) .screen-front { height: 300px; width: 140px; top: 23px; }
  #panel-expense:not(.project-featured) .screen-back { height: 290px; width: 135px; top: 14px; }
}
.media-side-note { position: absolute; right: 17px; bottom: 32px; writing-mode: vertical-rl; transform: rotate(180deg); font: 7px var(--mono); letter-spacing: .12em; color: #bed1e3; }
.project-copy { padding: 31px 32px 30px; display: flex; flex-direction: column; flex: 1; }
.project-featured .project-copy { padding: 42px 42px 35px; justify-content: center; }
.project-copy > .eyebrow { font-size: 8px; color: var(--subtle); text-transform: uppercase; }
.project-copy h3 { font-size: 28px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; margin-top: 12px; }
.project-featured h3 { font-size: 34px; }
.project-tag { display: block; width: fit-content; font: 8px/1.5 var(--mono); letter-spacing: .025em; border: 1px solid var(--line); border-radius: 4px; padding: 4px 7px; margin-top: 12px; color: var(--subtle); }
.project-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 16px; }
.contribution-list { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 9px; }
.contribution-list li { padding-left: 14px; position: relative; color: var(--muted); font-size: 12px; line-height: 1.85; }
.contribution-list li::before { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 1px; left: 0; top: 9px; background: var(--orange); }
.tech-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.tech-list span { color: var(--muted); background: var(--surface-alt); border: 1px solid var(--line); padding: 5px 9px; font: 9px/1.5 var(--mono); border-radius: 5px; }
.text-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 500; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 26px; }
.text-link svg { color: var(--accent-text); width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover { color: var(--accent-text); }
.text-link:hover svg { transform: translate(2px, -2px); }
.project-panel:not(.project-featured) .text-link { margin-top: auto; }
.project-panel:not(.project-featured) .tech-list { margin-bottom: 24px; }
#panel-ping .project-media { background: #243c54; }
#panel-offline .project-media { background: #273d48; }
#panel-bsedp .project-media { background: #3f5873; }
#panel-joy .project-media { background: #574d49; }
.store-screens { display: flex; align-items: center; justify-content: center; gap: 15px; flex: 1; min-height: 300px; padding: 28px 36px 19px; }
.store-screens .screen-button { width: 29%; max-width: 130px; border: 3px solid #1c2d3f; border-radius: 14px; transform: translateY(8px) rotate(-5deg); }
.store-screens .screen-button:nth-child(2) { transform: translateY(-5px); z-index: 1; }
.store-screens .screen-button:nth-child(3) { transform: translateY(8px) rotate(5deg); }
.store-screens .screen-button:hover { transform: translateY(-9px); }
.joy-media .screen-button { border-color: #302d30; }

/* Repository-based diagrams retain their user-initiated demonstrations. */
.ping-visual, .offline-visual { flex: 1; padding: 28px 40px 24px; display: flex; flex-direction: column; justify-content: center; }
.ping-brand { display: flex; align-items: center; gap: 13px; }
.ping-brand img { width: 47px; height: 47px; border-radius: 13px; border: 1px solid #ffffff20; object-fit: cover; }
.ping-brand strong { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.ping-brand span { display: block; font-size: 10px; margin-top: 3px; color: #c2d5e8; }
.flow-endpoints { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.endpoint { display: flex; align-items: center; flex-direction: column; gap: 7px; }
.endpoint svg { height: 29px; width: 29px; }
.endpoint > span { font: 9px var(--mono); color: #c8daec; }
.signal-line { height: 1px; background: #8ca9c480; flex: 1; position: relative; margin: 0 20px; top: -10px; }
.signal-line > span { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); font: 8px var(--mono); color: #c8daec; }
.signal-line i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); top: -2.5px; left: 0; opacity: 0; }
.tracing .signal-line i { animation: send-dot .8s ease forwards; }
.flow-branches { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 25px; }
.flow-branches span { padding: 5px 8px; border: 1px solid #8ca9c447; color: #d2e0ee; border-radius: 5px; font: 8px/1.5 var(--mono); }
.signal-log { display: flex; align-items: center; gap: 8px; font-size: 10px; min-height: 40px; margin-top: 16px; border-top: 1px solid #ffffff15; border-bottom: 1px solid #ffffff15; color: #d9e7f4; }
.signal-log code { margin-left: auto; font: 8px var(--mono); color: #ffd5a3; }
.diagram-run { display: inline-flex; align-items: center; justify-content: center; gap: 13px; background: #ffffff08; border: 1px solid #ffffff35; color: #ffe0b8; border-radius: 6px; min-height: 40px; padding: 7px 13px; font-size: 10px; margin-top: 17px; align-self: flex-start; transition: background .2s; }
.diagram-run:hover { background: #ffffff15; }
.diagram-run:disabled { opacity: .6; }
.diagram-run svg { width: 14px; height: 14px; }
.offline-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.offline-heading strong { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; }
.offline-heading > span { color: #ffd5a3; background: #ff9f3310; border: 1px solid #ff9f3340; padding: 5px 7px; border-radius: 4px; font: 8px var(--mono); }
.sync-flow { margin-top: 20px; }
.sync-node { display: flex; align-items: center; gap: 13px; background: #17232f50; border: 1px solid #93abc43b; border-radius: 7px; padding: 9px 13px; min-height: 50px; }
.node-number { font: 8px var(--mono); color: #a5bdd0; }
.sync-node strong { font-size: 11px; font-weight: 500; line-height: 1.5; display: block; }
.sync-node small { font-size: 9px; color: #c3d3e2; display: block; }
.sync-node svg { margin-left: auto; height: 14px; width: 14px; color: #a7e8c7; }
.queue-state { font: 8px var(--mono); color: #ffd5a3; margin-left: auto; }
.sync-indicator { color: #a5bdd0; margin-left: auto; }
.sync-connector { width: 1px; height: 7px; background: #8da5be80; margin-left: 26px; }
.syncing .sync-destination { border-color: var(--orange); }
.synced .sync-destination { border-color: #a7e8c7; }
.synced #connection-label, .synced .queue-state, .synced .sync-indicator { color: #a7e8c7; }

/* Every production app has a direct, separately labelled public listing. */
.production-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.production-card, .production-note { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.production-card { transition: border-color .2s; }
.production-card:hover { border-color: var(--primary); }
.production-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; }
.app-mark { display: grid; place-items: center; position: relative; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #58789966; border-radius: 11px; background: var(--primary-dark); color: #f5f6fa; font: 13px var(--mono); }
.app-mark > span { position: absolute; bottom: -5px; right: -5px; display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid var(--surface); border-radius: 50%; font: 7px var(--mono); background: var(--orange); color: #101820; }
.production-category { color: var(--subtle); font: 8px/1.8 var(--mono); }
.production-card h3 { font-size: 19px; font-weight: 500; letter-spacing: -.025em; line-height: 1.35; }
.production-card h3 > span { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 3px; }
.production-card p { font-size: 11px; line-height: 1.85; color: var(--muted); margin-top: 13px; margin-bottom: 22px; }
.production-card .production-role { margin: 15px 0 13px; font-size: 11px; font-weight: 500; line-height: 1.65; color: var(--accent-text); }
.production-role > span { display: block; margin-bottom: 4px; color: var(--subtle); font: 8px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.production-contributions { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.production-contributions li { position: relative; padding-left: 12px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.production-contributions li::before { content: ''; position: absolute; top: .75em; left: 0; width: 4px; height: 4px; border-radius: 1px; background: var(--orange); }
.production-card > a, .production-note > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; font-size: 10px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.production-card > a:hover, .production-note > a:hover { color: var(--accent-text); }
.production-card > a svg, .production-note > a svg { width: 14px; height: 14px; color: var(--accent-text); }
.production-note { background: var(--surface-alt); }
.production-note > svg { color: var(--accent-text); width: 23px; height: 23px; margin-bottom: 20px; }
.production-note h3 { font-size: 19px; font-weight: 500; line-height: 1.45; letter-spacing: -.025em; }
.production-note p { font-size: 11px; color: var(--muted); margin: 13px 0 22px; line-height: 1.85; }
/* Legacy production rows are retained as reusable editorial styles. */
.production-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 48px 0 14px; }
.production-header h3 { font-size: 17px; font-weight: 500; letter-spacing: -.025em; }
.production-header > span { font: 8px var(--mono); color: var(--subtle); text-transform: uppercase; letter-spacing: .05em; }
.production-list { border-top: 1px solid var(--line); }
.production-row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.production-number { font: 10px var(--mono); color: var(--subtle); align-self: start; padding-top: 5px; }
.production-row h4 { font-size: 14px; font-weight: 500; }
.production-row h4 > span { font-size: 11px; color: var(--subtle); font-weight: 400; margin-left: 10px; }
.production-row p { font-size: 12px; color: var(--muted); max-width: 800px; margin-top: 3px; }
.production-row > a, .production-row > button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); transition: border-color .2s, color .2s; }
.production-row > a:hover, .production-row > button:hover { color: var(--accent-text); border-color: var(--accent-text); }
.production-row svg { width: 16px; height: 16px; }
.row-label { font-size: 10px; color: var(--subtle); }

/* Editorial rows balance the visual project cards. */
.timeline { border-top: 1px solid var(--line); }
.experience-row { display: grid; grid-template-columns: 225px 1fr; gap: 48px; border-bottom: 1px solid var(--line); padding: 30px 0; }
.experience-date { font: 10px/1.8 var(--mono); color: var(--subtle); position: relative; padding-left: 22px; margin-top: 4px; }
.timeline-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; position: absolute; left: 0; top: 6px; }
.timeline-dot.current { background: var(--orange); box-shadow: 0 0 0 5px var(--soft-orange); }
.job-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.experience-row h3 { font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.experience-row h3 > span { font-weight: 400; color: var(--subtle); }
.current-label { font: 8px/1.5 var(--mono); color: var(--orange); background: var(--soft-orange); border: 1px solid #ff9f3330; border-radius: 4px; padding: 4px 8px; }
[data-theme=light] .current-label { color: #975000; }
.experience-row p { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 760px; }
.experience-row .experience-detail { font-size: 11px; color: var(--subtle); }
.experience-row .small-note { display: block; margin-top: 8px; font: 9px/1.5 var(--mono); }
.skills-table { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.skill-row { position: relative; padding: 29px 32px; border-bottom: 1px solid var(--line); }
.skill-row:nth-child(odd):not(:last-child) { border-right: 1px solid var(--line); }
.skill-row:last-child { grid-column: 1 / -1; border-bottom: 0; }
.skill-number { position: absolute; right: 28px; top: 27px; font: 10px var(--mono); color: var(--subtle); }
.skill-row h3 { font-size: 16px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; padding-right: 24px; }
.skill-row p { font: 10px/2 var(--mono); color: var(--muted); }
.skill-row div > span { display: block; font-size: 12px; color: var(--subtle); margin-top: 7px; max-width: 460px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; }
.about-copy > p { font-size: 14px; color: var(--muted); line-height: 1.95; margin-bottom: 18px; }
.education { display: grid; gap: 6px; padding-top: 20px; margin-top: 26px; border-top: 1px solid var(--line); }
.education .eyebrow { color: var(--subtle); font-size: 8px; text-transform: uppercase; }
.education strong { font-size: 13px; font-weight: 500; }
.education > span:last-child { font-size: 11px; color: var(--subtle); }
.working-notes { background: var(--surface-alt); padding: 33px 36px; border: 1px solid var(--line); border-radius: 20px; position: relative; }
.working-notes::after { content: '+'; position: absolute; right: 30px; top: 27px; color: var(--orange); font: 25px var(--mono); }
.working-notes > .eyebrow { font-size: 8px; color: var(--subtle); text-transform: uppercase; }
.working-notes h3 { font-size: 29px; font-weight: 500; letter-spacing: -.04em; line-height: 1.25; margin-top: 14px; }
.working-notes ol { display: grid; gap: 23px; margin-top: 28px; padding: 0; list-style: none; }
.working-notes li { display: flex; align-items: start; gap: 17px; }
.working-notes li > span { font: 9px var(--mono); color: var(--orange); padding-top: 4px; }
[data-theme=light] .working-notes li > span { color: #975000; }
.working-notes strong { font-size: 12px; font-weight: 500; }
.working-notes p { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.85; }

/* A clear closing invitation. */
.contact-section { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 40px; padding: 42px; margin-top: 100px; border-radius: 24px; color: #f5f6fa; background: #30465c; position: relative; }
.contact-section > div { position: relative; z-index: 1; }
.contact-section .eyebrow { color: #d2deeb; font-size: 9px; }
.contact-section h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -.045em; font-weight: 500; margin-top: 20px; }
.contact-section h2 > span { color: #ffc075; }
.contact-section p { font-size: 12px; color: #d0dceb; max-width: 445px; margin-top: 20px; }
.contact-actions { display: flex; align-items: center; gap: 21px; flex-wrap: wrap; margin-top: 26px; }
.contact-email { display: inline-flex; align-items: center; gap: 15px; font-size: 16px; letter-spacing: -.02em; padding: 6px 0; }
.contact-email:hover { color: #ffc075; }
.contact-email svg { width: 16px; height: 16px; color: #ffc075; }
.copy-email { display: flex; align-items: center; gap: 7px; color: #d0dceb; background: transparent; border: 1px solid #ffffff30; border-radius: 6px; font-size: 10px; padding: 9px 12px; min-height: 40px; }
.copy-email:hover { background: #ffffff0d; color: #ffffff; }
.copy-email svg { height: 12px; width: 12px; }
.contact-arrow { display: grid; place-items: center; width: 120px; height: 120px; flex-shrink: 0; border-radius: 50%; background: var(--orange); color: #101820; transition: transform .25s, background .25s; }
.contact-arrow:hover { transform: rotate(6deg); background: #ffb45b; }
.contact-arrow svg { width: 46px; height: 46px; stroke-width: 1.3; }
.contact-direct-links { display: grid; gap: 14px; margin-top: 34px; padding-top: 23px; border-top: 1px solid #ffffff26; }
.contact-direct-links a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 35px; font-size: 11px; color: #d0dceb; }
.contact-direct-links a:hover { color: #ffc075; }
.contact-direct-links svg { width: 14px; height: 14px; }
.contact-direct-links svg:last-child { width: 11px; height: 11px; }
.contact-form { min-width: 0; padding: 27px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 15px; }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.form-heading h3 { font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.form-heading > span { font-size: 8px; color: var(--subtle); max-width: 100px; }
.form-trap { display: none; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; font-size: 10px; color: var(--ink); line-height: 1.6; }
.form-field label > span:not(.optional) { color: var(--accent-text); }
.form-field label > .optional { font-size: 8px; color: var(--subtle); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; font: 12px/1.7 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; min-height: 44px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--subtle); opacity: 1; }
.form-field select { cursor: pointer; padding-right: 10px; }
.form-field select:invalid { color: var(--subtle); }
.form-field select option { color: var(--ink); background: var(--surface); }
.form-field textarea { resize: vertical; min-height: 125px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-context { margin-top: 19px; }
.message-field { margin-top: 19px; }
.field-hint { font-size: 9px; color: var(--subtle); }
.contact-section .form-submit-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.form-privacy { max-width: 165px; font-size: 9px; line-height: 1.8; color: var(--subtle); }
.form-submit { min-height: 44px; padding: 12px 17px; gap: 15px; }
.contact-form[aria-busy=true] .form-submit { opacity: .65; cursor: wait; transform: none; }
.contact-section .form-status { margin-top: 0; max-width: none; color: var(--muted); font-size: 11px; line-height: 1.8; }
.contact-section .form-status:not(:empty) { padding: 13px; margin-top: 18px; border: 1px solid var(--line); border-radius: 6px; }
.contact-section .form-status[data-state=success] { border-color: var(--success); color: var(--success); }
.contact-section .form-status[data-state=error] { border-color: var(--accent-text); color: var(--ink); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 30px 0 35px; color: var(--subtle); font-size: 10px; }
.social-links { display: flex; align-items: center; gap: 24px; }
.social-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; }
.social-links a:hover { color: var(--ink); }
.social-links svg { width: 10px; height: 10px; }

/* Accessible galleries and media. */
dialog { padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); width: min(760px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow: hidden; box-shadow: 0 30px 100px #0008; }
dialog::backdrop { background: #09121ce6; backdrop-filter: blur(8px); }
.dialog-header, .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px; }
.dialog-header { border-bottom: 1px solid var(--line); }
.dialog-footer { border-top: 1px solid var(--line); }
.dialog-header h2 { font-size: 14px; font-weight: 500; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.icon-button:hover:not(:disabled) { background: var(--surface-alt); }
.icon-button:disabled { opacity: .3; }
.icon-button svg { width: 16px; height: 16px; }
#dialog-content { display: flex; align-items: center; justify-content: center; height: min(68svh, 760px); min-height: 140px; padding: 12px; background: #101820; }
#dialog-content img, #dialog-content video { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; border-radius: 5px; }
#dialog-caption { font-size: 10px; color: var(--muted); text-align: center; }
.dialog-open { overflow: hidden; }
.noscript-note { font-size: 12px; color: var(--muted); padding: 20px 0; }
.noscript-note a { text-decoration: underline; }
.reveal { transition: opacity .5s ease, transform .5s ease; }
.reveal.waiting { opacity: 0; transform: translateY(16px); }
@keyframes send-dot { 0% { opacity: 0; left: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 6px); } }

@media (min-width: 1600px) { .intro { padding-top: 36px; padding-bottom: 40px; } }
@media (max-width: 1100px) {
  .production-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-shell { width: calc(100% - 64px); }
  .intro { gap: 36px; padding: 28px 0 32px; }
  .intro h1 { font-size: clamp(42px, 5.4vw, 60px); }
  .hero-showcase { height: 430px; }
  .hero-phone-front { left: 12%; top: 91px; width: 133px; }
  .hero-phone-back { left: 48%; width: 126px; }
  .intro-footnote { gap: 9px; flex-direction: column; margin-top: 20px; }
  .intro-copy > p:last-of-type { font-size: 14px; }
  .section-nav { gap: 21px; }
  .project-featured .project-copy { padding: 32px; }
  .project-featured h3 { font-size: 30px; }
  .screen-front { left: 35px; } .screen-back { right: 32px; }
  .project-copy { padding: 28px; }
  .ping-visual, .offline-visual { padding-left: 28px; padding-right: 28px; }
  .experience-row { grid-template-columns: 180px 1fr; gap: 30px; }
  .about-grid { gap: 40px; } .contact-section { padding: 45px; }
}
@media (max-width: 850px) {
  .contact-section { grid-template-columns: 1fr; }
  .contact-direct-links { display: flex; gap: 24px; margin-top: 24px; }
  .contact-copy h2 br { display: none; }
  .contact-form { margin-top: 5px; }
  .page-shell { width: calc(100% - 48px); }
  .site-header { gap: 20px; min-height: 76px; }
  .brand-name > span { display: none; } .brand-name { font-size: 12px; }
  .section-nav { gap: 18px; } .section-nav a { font-size: 11px; }
  .intro { grid-template-columns: 1.2fr 1fr; gap: 26px; }
  .intro h1 { font-size: 44px; } .intro-person { margin-top: 16px; }
  .intro-copy > p:last-of-type { font-size: 13px; }
  .intro-links { gap: 20px; margin-top: 22px; }
  .primary-link { padding: 13px 16px; gap: 12px; font-size: 11px; }
  .quiet-link { font-size: 11px; }
  .hero-showcase { height: 400px; }
  .hero-phone-front { left: 10%; width: 119px; top: 94px; }
  .hero-phone-back { width: 113px; left: 47%; top: 65px; }
  .showcase-top { padding: 18px; } .showcase-top .eyebrow { font-size: 6px; }
  .showcase-sticker { bottom: 109px; right: 12px; padding: 12px 16px; font-size: 10px; }
  .showcase-sticker strong { font-size: 13px; }
  .showcase-sticker svg { top: 9px; right: 9px; width: 9px; height: 9px; }
  .showcase-caption { padding: 18px; } .showcase-caption strong { font-size: 12px; }
  .showcase-caption .eyebrow { font-size: 6px; }
  .stats > div { padding: 0 22px; } .stats dt { font-size: 35px; gap: 12px; }
  .stats dt > span { font-size: 11px; } .stats dd { font-size: 9px; }
  .section { margin-top: 76px; } .section-description { font-size: 11px; max-width: 270px; }
  .project-grid { gap: 20px; }
  .project-featured .project-copy { padding: 26px; }
  .project-copy h3, .project-featured h3 { font-size: 25px; }
  .project-copy > p:not(.eyebrow) { font-size: 13px; } .contribution-list li { font-size: 11px; }
  .screen-front { width: 131px; height: 287px; left: 18px; top: 75px; }
  .screen-back { width: 127px; height: 278px; right: 17px; top: 45px; }
  .media-side-note { display: none; } .project-copy { padding: 26px; }
  .media-top { padding: 20px 20px 0; } .media-kicker { font-size: 7px; }
  .media-bottom { padding: 12px 18px; font-size: 8px; } .media-action { font-size: 9px; }
  .ping-visual, .offline-visual { padding-left: 24px; padding-right: 24px; }
  .endpoint > span { font-size: 8px; } .signal-log { font-size: 9px; }
  .signal-log code { display: none; } .flow-branches span { font-size: 7px; padding: 5px; }
  .offline-heading strong { font-size: 19px; } .sync-node { padding: 9px; gap: 9px; }
  .sync-node strong { font-size: 10px; } .sync-node small, .queue-state { font-size: 8px; }
  .store-screens { padding: 30px 20px; gap: 9px; }
  .production-row { grid-template-columns: 46px 1fr auto; gap: 15px; }
  .experience-row { grid-template-columns: 155px 1fr; gap: 20px; }
  .experience-row h3 { font-size: 14px; } .experience-row h3 > span { display: block; margin-top: 2px; }
  .experience-row p { font-size: 12px; }
  .skill-row { padding: 26px; } .skill-number { right: 22px; }
  .about-grid { gap: 30px; } .working-notes { padding: 27px; }
  .working-notes h3 { font-size: 26px; } .about-copy > p { font-size: 13px; }
  .contact-section { margin-top: 76px; padding: 38px; gap: 25px; }
  .contact-arrow { width: 90px; height: 90px; } .contact-arrow svg { width: 36px; height: 36px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 130px; }
  .page-shell { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; gap: 0; padding-top: 12px; min-height: 0; }
  .brand-name { font-size: 12px; } .brand-name > span { display: block; font-size: 8px; }
  .brand { gap: 10px; }
  .monogram { width: 38px; height: 38px; border-radius: 11px; font-size: 19px; }
  .monogram > span { bottom: 7px; right: 5px; }
  .theme-toggle { width: 38px; height: 38px; order: 2; margin-left: auto; }
  .section-nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 8px; margin: 12px 0 0; }
  .section-nav a { padding: 11px 0 14px; font-size: 10px; } .section-nav a::after { bottom: 0; }
  .section-nav a:last-child svg { width: 10px; height: 10px; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 24px 0 28px; }
  .availability { font-size: 10px; } .intro-person { margin-top: 16px; font-size: 12px; }
  .portrait { width: 34px; height: 34px; }
  .intro h1 { font-size: clamp(38px, 8.4vw, 57px); line-height: 1.12; margin-top: 14px; margin-bottom: 18px; }
  .intro-copy > p:last-of-type { font-size: 14px; max-width: 520px; }
  .intro-links { margin-top: 22px; gap: 27px; }
  .primary-link { font-size: 12px; padding: 13px 19px; } .quiet-link { font-size: 12px; }
  .intro-footnote { flex-direction: row; gap: 9px 20px; font-size: 7px; margin-top: 18px; }
  .hero-showcase { height: 390px; width: 100%; max-width: 510px; margin: 0 auto; border-radius: 18px; }
  .showcase-top { padding: 19px 22px; } .showcase-top .eyebrow { font-size: 7px; }
  .hero-phone-front { width: 128px; top: 73px; left: calc(50% - 123px); }
  .hero-phone-back { width: 121px; top: 52px; left: calc(50% + 9px); }
  .showcase-sticker { right: 19px; bottom: 102px; }
  .showcase-caption { padding: 17px 22px; }
  .showcase-caption strong { font-size: 14px; } .showcase-caption .eyebrow { font-size: 7px; }
  .stats { padding: 24px 0; } .stats > div { padding: 0 15px; }
  .stats dt { display: block; font-size: 32px; }
  .stats dt > span { display: block; font-size: 10px; line-height: 1.6; margin-top: 7px; }
  .stats dd { font-size: 8px; line-height: 1.7; max-width: 100px; }
  .section { margin-top: 62px; }
  .section-heading { align-items: start; gap: 16px; margin-bottom: 25px; }
  .section-index { font-size: 8px; margin-bottom: 9px; }
  .section-heading h2 { font-size: 29px; max-width: 420px; }
  .section-description, .section-heading > .small-note { display: none; }
  .production-grid { grid-template-columns: 1fr; gap: 14px; }
  .production-card, .production-note { padding: 24px; }
  .production-card-top { margin-bottom: 17px; }
  .production-card p { font-size: 12px; }
  .production-card .production-role, .production-contributions li { font-size: 12px; }
  .production-card h3 > span { display: inline; font-size: inherit; }
  .production-card > a, .production-note > a { font-size: 11px; }
  .section-heading > .quiet-link { font-size: 10px; gap: 6px; align-self: end; }
  .section-heading > .quiet-link svg { width: 12px; height: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 25px; }
  .project-panel { border-radius: 16px; scroll-margin-top: 24px; }
  .project-featured { display: flex; min-height: 0; }
  .project-media { min-height: 350px; } .project-featured .project-media { min-height: 385px; }
  .project-panel:not(.project-featured) .project-media { height: auto; }
  .media-top { padding: 20px 22px 0; } .media-kicker { font-size: 7px; }
  .media-bottom { padding: 12px 21px; font-size: 8px; } .media-action { font-size: 9px; }
  .screen-pair { min-height: 305px; max-width: 400px; }
  .screen-front { width: 135px; height: 296px; top: 23px; left: calc(50% - 122px); }
  .screen-back { width: 130px; height: 285px; top: 10px; right: calc(50% - 122px); }
  .project-copy, .project-featured .project-copy { padding: 27px; }
  .project-copy h3, .project-featured h3 { font-size: 28px; }
  .project-copy > p:not(.eyebrow) { font-size: 13px; } .contribution-list li { font-size: 12px; }
  .project-copy > .eyebrow, .project-tag { font-size: 7px; } .tech-list span { font-size: 8px; }
  .text-link { font-size: 11px; } .project-panel:not(.project-featured) .text-link { margin-top: 0; }
  .ping-visual, .offline-visual { padding: 27px 29px; }
  .flow-branches span { font-size: 8px; } .endpoint > span { font-size: 9px; }
  .signal-log { font-size: 10px; } .signal-log code { display: block; }
  .offline-heading strong { font-size: 23px; } .sync-node { padding: 10px 12px; }
  .sync-node strong { font-size: 11px; } .sync-node small { font-size: 9px; }
  .store-screens { min-height: 290px; padding: 30px 25px; gap: 12px; }
  .store-screens .screen-button { max-width: 115px; }
  .production-header { align-items: start; margin-top: 32px; } .production-header h3 { font-size: 15px; }
  .production-header > span { display: none; }
  .production-row { grid-template-columns: 31px 1fr auto; gap: 11px; padding: 20px 0; }
  .production-number { font-size: 8px; } .production-row h4 { font-size: 13px; }
  .production-row h4 > span { display: block; margin-left: 0; font-size: 9px; margin-top: 3px; }
  .production-row p { font-size: 11px; line-height: 1.85; }
  .production-row > a, .production-row > button { height: 36px; width: 36px; } .row-label { display: none; }
  .experience-row { grid-template-columns: 1fr; gap: 12px; padding: 25px 0; }
  .experience-date { font-size: 9px; } .experience-row h3 { font-size: 15px; }
  .experience-row h3 > span { display: inline; } .experience-row p { font-size: 12px; }
  .experience-row .experience-detail { font-size: 10px; } .current-label { font-size: 7px; }
  .skills-table { grid-template-columns: 1fr; border-radius: 16px; } .skill-row { padding: 25px; }
  .skill-row:nth-child(odd):not(:last-child) { border-right: 0; }
  .skill-row h3 { font-size: 16px; } .skill-row p { font-size: 9px; }
  .skill-row div > span { font-size: 11px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; } .about-copy > p { font-size: 14px; }
  .working-notes { padding: 29px; } .working-notes h3 { font-size: 29px; } .working-notes p { font-size: 12px; }
  .contact-section { margin-top: 62px; padding: 32px 27px; border-radius: 18px; display: block; }
  .contact-form { padding: 23px; margin: 26px -10px -15px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-heading { align-items: start; }
  .form-heading h3 { font-size: 18px; }
  .form-heading > span { font-size: 8px; max-width: 73px; }
  .form-field label { font-size: 11px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; padding: 10px; }
  .form-privacy { max-width: 140px; }
  .contact-section .form-submit-row { align-items: start; flex-direction: column; }
  .form-submit { width: 100%; justify-content: space-between; }
  .contact-direct-links { align-items: start; flex-direction: column; gap: 6px; }
  .contact-copy h2 br { display: block; }
  .contact-section .eyebrow { font-size: 7px; }
  .contact-section h2 { font-size: clamp(29px, 7.3vw, 43px); } .contact-section p { font-size: 12px; }
  .contact-actions { gap: 10px; margin-top: 22px; } .contact-email { font-size: 15px; gap: 11px; }
  .copy-email { font-size: 9px; }
  .contact-arrow { width: 49px; height: 49px; margin-top: 26px; } .contact-arrow svg { width: 23px; height: 23px; }
  footer { align-items: start; flex-direction: column; gap: 10px; padding: 25px 0; font-size: 10px; }
  .social-links { gap: 25px; width: 100%; } .social-links a:last-child { margin-left: auto; }
  .dialog-header, .dialog-footer { padding: 12px; gap: 10px; }
  .dialog-header h2 { font-size: 12px; } #dialog-caption { font-size: 9px; }
}
@media (max-width: 360px) {
  .page-shell { width: calc(100% - 32px); } .intro h1 { font-size: 34px; }
  .intro-footnote { flex-direction: column; gap: 5px; }
  .stats > div { padding: 0 11px; } .stats dt > span { font-size: 9px; }
  .section-heading h2 { font-size: 26px; } .section-heading > .quiet-link { font-size: 9px; }
  .project-copy, .project-featured .project-copy { padding: 24px; }
  .ping-visual, .offline-visual { padding-left: 22px; padding-right: 22px; }
  .flow-branches span { font-size: 7px; } .signal-log code { display: none; }
  .contact-section { padding: 29px 23px; } .contact-section h2 { font-size: 27px; }
  .contact-email { font-size: 14px; } .experience-row h3 > span { display: block; }
}
@media (max-width: 380px) {
  .section-nav { gap: 6px; }
  .section-nav a { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.waiting { opacity: 1; transform: none; }
}
@media print {
  :root { --bg: #ffffff; --surface: #ffffff; --surface-alt: #ffffff; --ink: #111111; --muted: #333333; --subtle: #555555; --line: #cccccc; }
  .page-shell { width: 100%; } .site-header { position: static; }
  .section-nav, .theme-toggle, .hero-showcase, .intro-links, .intro-footnote, .project-media, .contact-section, footer { display: none; }
  .intro { display: block; padding: 20px 0; } .intro h1 { font-size: 32px; } .section { margin-top: 30px; }
  .project-grid { display: block; } .project-panel { display: block; break-inside: avoid; margin-bottom: 16px; }
  .project-copy, .project-featured .project-copy { padding: 20px; }
  .project-panel:not(.project-featured) .text-link { margin-top: 10px; }
  .about-grid { display: block; } .working-notes { margin-top: 20px; }
  .reveal.waiting { opacity: 1; transform: none; }
}
