:root {
  color-scheme: dark;
  --bg: #101018;
  --surface: #15151f;
  --panel: #1a1926;
  --control: #22202f;
  --text: #f3f0fa;
  --muted: #b5b0c3;
  --quiet: #9791a8;
  --line: #34303f;
  --accent: #c4adf6;
  --on-accent: #22172f;
  --header: rgba(16, 16, 24, .92);
  --go: #82d9de;
  --ts: #c4adf6;
  --py: #eac08b;
  --success: #9bdebd;
  --code-bg: #101019;
  --shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #faf9fd;
  --surface: #f1eef7;
  --panel: #ffffff;
  --control: #eae5f3;
  --text: #25202f;
  --muted: #625a70;
  --quiet: #756d82;
  --line: #d9d2e3;
  --accent: #69459d;
  --on-accent: #ffffff;
  --header: rgba(250, 249, 253, .93);
  --go: #27727b;
  --ts: #69459d;
  --py: #8a601d;
  --success: #26734f;
  --code-bg: #f8f6fc;
  --shadow: 0 24px 70px rgba(51, 30, 83, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
img, svg { max-width: 100%; }
img { height: auto; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--on-accent); background: var(--accent); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
section[id] { scroll-margin-top: 6rem; }
.container { width: min(100% - 5rem, 1180px); margin-inline: auto; }
.section-pad { padding-block: 6.75rem; }
.eyebrow { margin-bottom: 1.35rem; color: var(--muted); font-size: .875rem; font-weight: 600; line-height: 1.45; letter-spacing: .13em; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .8rem 1.2rem; color: var(--on-accent); background: var(--accent); border-radius: .5rem; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 30; top: 0; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: 1.2rem; font-weight: 750; letter-spacing: -.04em; white-space: nowrap; }
.brand img { display: block; flex: 0 0 auto; }
.brand-period { color: var(--accent); }
.header-controls, .primary-nav { display: flex; align-items: center; }
.header-controls { gap: 1.5rem; }
.primary-nav { gap: 1.8rem; }
.primary-nav a { color: var(--muted); font-size: .9375rem; text-decoration: none; transition: color .18s; }
.primary-nav a:hover { color: var(--text); }
.primary-nav .nav-github { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); }
.nav-github svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { display: none; width: 42px; height: 42px; padding: 10px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.js #theme-toggle { display: inline-flex; }
.icon-button:hover { background: var(--control); }
.icon-button svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-button .icon-moon, [data-theme="light"] .icon-button .icon-sun { display: none; }
[data-theme="light"] .icon-button .icon-moon { display: block; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 4.5rem; align-items: center; padding-block: 5.2rem 6rem; }
.hero-copy { min-width: 0; }
.hero .eyebrow { display: flex; align-items: center; gap: .75rem; }
.tiny-bracket { color: var(--accent); font-family: ui-monospace, monospace; font-size: 1.1rem; letter-spacing: -.08em; }
.hero h1 { margin: 0 0 1.65rem; font-size: clamp(3.2rem, 5.6vw, 5.25rem); font-weight: 650; line-height: 1.06; letter-spacing: -.055em; }
.hero h1 em { color: var(--accent); letter-spacing: -.055em; }
.hero-intro { max-width: 31rem; margin-bottom: 2rem; color: var(--muted); font-size: 1.125rem; line-height: 1.75; }
.hero-intro strong { color: var(--text); font-weight: 600; }
.hero-actions, .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border: 1px solid transparent; border-radius: .5rem; font-size: .9375rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--on-accent); background: var(--accent); }
.button-primary:hover { filter: brightness(1.08); }
.button-text { padding-inline: .65rem; color: var(--text); background: transparent; }
.button-text:hover { background: var(--surface); }
.button-outline { color: var(--text); background: transparent; border-color: var(--line); }
.button-outline:hover { border-color: var(--accent); background: var(--surface); }
.hero-stack { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin: 2.25rem 0 0; color: var(--muted); font-size: .875rem; }
.hero-stack > span:first-child { width: 100%; margin-bottom: .15rem; color: var(--quiet); }
.hero-stack b { color: var(--text); font-weight: 500; }
.hero-stack .separator { color: var(--quiet); padding-inline: .15rem; }

.bird-scene { position: relative; isolation: isolate; width: 100%; min-height: 455px; aspect-ratio: .93; overflow: hidden; border: 1px solid #d0bff1; border-radius: 48% 48% 1.25rem 1.25rem; background: linear-gradient(145deg, #c8b8ed 0%, #b8a4df 70%, #a78dce 100%); color: #382b53; }
.scene-grid { position: absolute; z-index: -1; inset: 0; opacity: .36; background-image: linear-gradient(rgba(73, 48, 107, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(73, 48, 107, .14) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(transparent, #000 85%); }
.scene-label { position: absolute; top: 15%; left: 13%; z-index: 2; color: #45315e; font-family: ui-monospace, "SFMono-Regular", monospace; font-size: .8125rem; font-weight: 500; line-height: 1.6; letter-spacing: .08em; }
.bird-button { position: absolute; z-index: 4; top: 48%; left: 50%; width: 80%; max-width: 360px; padding: 0; transform: translate(-50%, -50%); border: 0; border-radius: 1.5rem; background: transparent; }
.bird-button:focus-visible { outline-color: #3b245c; outline-offset: 8px; }
.bird-button::after { content: ""; position: absolute; z-index: -1; bottom: 1%; left: 28%; width: 44%; height: 12px; border-radius: 50%; background: rgba(64, 36, 100, .15); filter: blur(8px); }
.bird-button img { display: block; width: 100%; animation: bird-float 6s ease-in-out infinite; }
.bird-button:hover img { filter: drop-shadow(0 12px 14px rgba(71, 39, 109, .12)); }
.is-happy .bird-button img { animation: bird-hello .7s ease-in-out 2; }
.orbit { position: absolute; z-index: 0; top: 46%; left: 50%; width: 91%; height: 34%; border: 1px solid rgba(63, 38, 98, .22); border-radius: 50%; transform: translate(-50%, -50%) rotate(-30deg); }
.orbit-two { width: 75%; height: 50%; transform: translate(-50%, -50%) rotate(45deg); border-color: rgba(63, 38, 98, .12); }
.scene-star { position: absolute; z-index: 3; line-height: 1; color: #5d3d85; }
.star-one { top: 38%; left: 10%; font-size: 2rem; }
.star-two { top: 20%; right: 15%; font-family: Georgia, serif; font-size: 2.5rem; font-weight: 400; }
.star-three { right: 12%; bottom: 23%; font-size: 2.5rem; }
.scene-code { position: absolute; color: rgba(68, 42, 104, .58); font-family: ui-monospace, monospace; font-size: 1.125rem; }
.code-one { left: 14%; bottom: 25%; transform: rotate(-12deg); }
.code-two { right: 9%; top: 37%; transform: rotate(12deg); }
.scene-caption { position: absolute; bottom: 1.7rem; left: 1rem; right: 1rem; text-align: center; color: #4a345f; font-family: ui-monospace, monospace; font-size: .8125rem; letter-spacing: -.02em; }
.scene-corner { position: absolute; right: 1.1rem; bottom: 1.1rem; width: 17px; height: 17px; border-right: 1px solid rgba(68, 42, 104, .4); border-bottom: 1px solid rgba(68, 42, 104, .4); }
.bird-message { position: absolute; z-index: 6; bottom: 4.5rem; left: 1rem; right: 1rem; width: fit-content; max-width: calc(100% - 2rem); margin: 0 auto; padding: .65rem .9rem; border-radius: .65rem; background: #38264f; color: #fff; font-size: .875rem; text-align: center; box-shadow: 0 8px 20px rgba(49, 29, 75, .15); }

.work-section { border-block: 1px solid var(--line); background: var(--surface); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.4rem, 3.6vw, 3.45rem); font-weight: 600; letter-spacing: -.045em; }
h2 em { color: var(--accent); }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 23rem; margin-bottom: .15rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.project { padding: 2rem 0 1.5rem; border-top: 1px solid var(--line); }
.project-go { --project-accent: var(--go); }
.project-ts { --project-accent: var(--ts); }
.project-py { --project-accent: var(--py); }
.project-top { display: grid; grid-template-columns: minmax(290px, 1fr) minmax(250px, 1.1fr) minmax(170px, .65fr); align-items: center; gap: 2rem; }
.project-name { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.language-mark { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: .7rem; color: var(--project-accent); background: var(--panel); font-family: ui-monospace, monospace; font-size: 1.1rem; font-weight: 600; }
.project-owner { margin: 0 0 .3rem; color: var(--quiet); font-size: .875rem; line-height: 1.3; }
.project h3 { margin: 0; font-size: 1.625rem; font-weight: 600; letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-description { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.project-links { display: flex; align-items: flex-end; flex-direction: column; gap: .7rem; }
.tag { display: inline-flex; align-items: center; padding: .28rem .65rem; color: var(--muted); border: 1px solid var(--line); border-radius: 2rem; font-size: .875rem; line-height: 1.5; white-space: nowrap; }
.tag-merged { color: var(--success); }
.text-link { display: inline-block; color: var(--text); font-size: .9375rem; font-weight: 500; text-decoration-color: var(--quiet); text-underline-offset: .3em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.project-detail { margin: 1rem 0 0 4.125rem; }
.project-detail summary { display: inline-flex; align-items: center; gap: .8rem; padding: .35rem 0; color: var(--muted); cursor: pointer; list-style: none; font-size: .875rem; line-height: 1.5; }
.project-detail summary::-webkit-details-marker { display: none; }
.project-detail summary::marker { content: ""; }
.project-detail summary span { color: var(--project-accent); font-size: 1.25rem; transition: transform .18s; }
.project-detail[open] summary span { transform: rotate(45deg); }
.project-detail summary:hover { color: var(--text); }
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 1rem 0 .5rem; padding: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; }
.detail-content h4 { margin-bottom: .55rem; font-size: .9375rem; font-weight: 600; }
.detail-content p { margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.section-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.section-bottom p { margin: 0; color: var(--quiet); font-size: .875rem; }

.playground-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; align-items: center; }
.playground-copy > p:not(.eyebrow) { max-width: 28rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.playground-copy > .example-note { font-size: .875rem !important; color: var(--quiet) !important; }
.csv-demo { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); box-shadow: var(--shadow); }
.demo-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .875rem; font-weight: 500; letter-spacing: .08em; }
.file-label { padding: .12rem .35rem; color: var(--quiet); border: 1px solid var(--line); border-radius: .25rem; font-family: ui-monospace, monospace; font-size: .8125rem; line-height: 1.4; letter-spacing: 0; }
.demo-input { padding: 1.4rem 1.5rem; }
.demo-label { margin-bottom: .8rem; color: var(--muted); font-size: .875rem; }
.record-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.record { display: flex; flex-direction: column; align-items: center; gap: .15rem; min-width: 0; padding: .9rem .5rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--control); }
.record-empty { border-style: dashed; background: transparent; }
.record code { color: var(--text); font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 1rem; }
.record small { color: var(--quiet); font-size: .8125rem; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.2rem; border-block: 1px solid var(--line); background: var(--surface); }
.segmented-control { display: inline-flex; flex-shrink: 0; gap: .25rem; padding: .25rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--bg); }
.segmented-control button { padding: .52rem .65rem; border: 0; border-radius: .4rem; color: var(--muted); background: transparent; font-size: .875rem; font-weight: 500; line-height: 1.4; }
.segmented-control button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.segmented-control button:not([aria-pressed="true"]):hover { color: var(--text); background: var(--control); }
.output-name { color: var(--quiet); font-family: ui-monospace, monospace; font-size: .8125rem; white-space: nowrap; }
.code-output { min-height: 143px; margin: 0; padding: 1.3rem 1.5rem; overflow: auto; background: var(--code-bg); color: var(--text); font-family: ui-monospace, "SFMono-Regular", monospace; font-size: 1.125rem; line-height: 1.7; }
.code-output code { font: inherit; }
.csv-demo[data-mode="after"] .code-output { color: var(--success); box-shadow: inset 3px 0 var(--success); }
.demo-result { padding: 1.25rem 1.5rem; border-top: 1px solid var(--line); }
.demo-result > p:first-child { display: flex; gap: .4rem; align-items: baseline; margin: 0; color: var(--muted); font-size: .875rem; }
.demo-result strong { color: var(--text); font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.csv-demo[data-mode="after"] .demo-result strong { color: var(--success); }
#demo-status { min-height: 2.8em; margin: .6rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.no-script-note { margin: 0; padding: 0 1.5rem 1.5rem; color: var(--muted); font-size: .875rem; }

.about-section { border-block: 1px solid var(--line); background: var(--surface); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 6rem; align-items: center; }
.about-copy > p:not(.eyebrow) { max-width: 33rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.8; }
.about-copy .text-link { margin-top: .4rem; }
.approach-list article { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.65rem 0; border-bottom: 1px solid var(--line); }
.approach-list article:first-child { padding-top: 0; }
.approach-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.approach-symbol { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: .6rem; color: var(--accent); background: var(--panel); font-family: ui-monospace, monospace; font-size: 1.25rem; letter-spacing: -.08em; }
.approach-list h3 { margin-bottom: .6rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.approach-list p { margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.contact-section { padding-block: 6.75rem 6rem; text-align: center; }
.contact-section h2 { font-size: clamp(2.7rem, 5.7vw, 4.8rem); line-height: 1.08; letter-spacing: -.055em; }
.contact-section h2 span { color: var(--accent); }
.contact-section > p:not(.eyebrow, .copy-status) { color: var(--muted); font-size: 1.0625rem; }
.contact-actions { justify-content: center; margin-top: 1.8rem; }
.copy-status { min-height: 1.6rem; margin: 1rem 0 .25rem; color: var(--muted); font-size: .875rem; }
.share-url { display: block; width: min(100%, 500px); margin: 1rem auto 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--panel); color: var(--text); font-size: 1rem; }
.site-footer { padding-block: 1.8rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-brand { font-size: 1rem; }
.footer-inner p { margin: 0; color: var(--quiet); font-size: .875rem; }
.footer-inner .text-link { font-size: .875rem; }

@keyframes bird-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes bird-hello { 0%, 100% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-15px) rotate(-5deg); } 70% { transform: translateY(-7px) rotate(4deg); } }

@media (max-width: 1100px) {
  .container { width: min(100% - 3.5rem, 1180px); }
  .hero { gap: 2.5rem; padding-block: 4.5rem 5rem; }
  .bird-scene { min-height: 400px; }
  .primary-nav { gap: 1.2rem; }
  .header-controls { gap: 1.2rem; }
  .project-top { grid-template-columns: minmax(270px, 1fr) minmax(220px, 1fr) minmax(165px, .65fr); gap: 1.2rem; }
  .project h3 { font-size: 1.5rem; }
  .playground-section, .about-grid { gap: 3rem; }
  .demo-toolbar { padding-inline: .9rem; gap: .5rem; }
  .output-name { display: none; }
}

@media (max-width: 900px) {
  .section-pad { padding-block: 5rem; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
  .hero-intro { font-size: 1.0625rem; }
  .bird-scene { min-height: 380px; }
  .scene-label { font-size: .75rem; }
  .scene-caption { font-size: .75rem; }
  .project-top { grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; row-gap: 1.4rem; }
  .project-description { grid-column: 1 / -1; grid-row: 2; margin-left: 4.125rem; }
  .project-links { grid-column: 2; grid-row: 1; }
  .playground-section { gap: 2.2rem; }
  .playground-copy h2, .about-copy h2 { font-size: 2.65rem; }
  .demo-header, .demo-input, .demo-result { padding-inline: 1.1rem; }
  .segmented-control { width: 100%; }
  .segmented-control button { flex: 1 1 0; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 2.5rem, 620px); }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: .6rem 1rem; padding-block: .85rem; }
  .header-controls { width: 100%; margin-left: 0; flex-wrap: wrap; justify-content: flex-start; gap: .6rem; }
  .primary-nav { width: 100%; flex-wrap: wrap; gap: .5rem 1.3rem; padding-block: .3rem; }
  .primary-nav a { font-size: .9375rem; }
  .js .header-controls { width: auto; margin-left: auto; justify-content: flex-end; flex-wrap: nowrap; }
  .js .nav-toggle { display: inline-flex; }
  .js .primary-nav { position: absolute; top: 100%; left: 0; right: 0; width: auto; padding: 1rem 1.25rem; flex-direction: column; align-items: stretch; gap: .2rem; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 .8rem .8rem; background: var(--bg); box-shadow: var(--shadow); }
  .js .primary-nav a { padding: .65rem .4rem; }
  .js .primary-nav[data-open="false"] { display: none; }
  .js .primary-nav[data-open="true"] { display: flex; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 3.25rem; padding-block: 3.8rem 4rem; }
  .hero h1 { font-size: clamp(3.25rem, 9vw, 4.75rem); }
  .hero-intro { max-width: 34rem; font-size: 1.125rem; }
  .hero-stack { margin-top: 1.8rem; }
  .bird-scene { width: min(100%, 440px); min-height: 435px; justify-self: center; }
  .scene-label, .scene-caption { font-size: .8125rem; }
  .section-heading { display: block; margin-bottom: 2.25rem; }
  .section-heading > p { margin-top: 1.3rem; }
  .playground-section, .about-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .playground-copy > p:not(.eyebrow) { max-width: 34rem; }
  .playground-copy h2, .about-copy h2 { font-size: clamp(2.5rem, 7vw, 3.3rem); }
  .demo-toolbar { padding-inline: 1.1rem; }
  .segmented-control { width: auto; }
  .output-name { display: inline; }
  .about-grid { gap: 3rem; }
  .approach-list article { padding-block: 1.5rem; }
  .contact-section { padding-block: 5rem 4rem; }
  .footer-inner { flex-wrap: wrap; justify-content: center; column-gap: 2rem; text-align: center; }
  .footer-inner p { width: 100%; order: 3; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 2.5rem); }
  .brand { gap: .5rem; font-size: 1.075rem; }
  .brand img { width: 30px; height: 30px; }
  .header-controls { gap: .5rem; }
  .icon-button { width: 40px; height: 40px; }
  .hero { padding-top: 3rem; }
  .hero h1 { font-size: clamp(2.75rem, 10.1vw, 3.35rem); line-height: 1.08; }
  .hero .eyebrow { font-size: .875rem; letter-spacing: .09em; }
  .hero-actions { align-items: stretch; gap: .5rem; }
  .hero-actions .button { padding-inline: 1rem; }
  .hero-intro { font-size: 1.0625rem; }
  .bird-scene { min-height: 370px; }
  .scene-caption { font-size: .75rem; }
  .scene-label { font-size: .75rem; }
  .section-pad { padding-block: 3.8rem; }
  h2 { font-size: 2.4rem; }
  .project { padding-top: 1.65rem; }
  .project-top { display: block; }
  .project h3 { font-size: 1.65rem; }
  .project-description { margin: 1.2rem 0; }
  .project-links { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
  .project-detail { margin: 1rem 0 0; }
  .detail-content { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem; }
  .section-bottom { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .demo-header { padding: 1rem; font-size: .8125rem; letter-spacing: .06em; }
  .demo-input, .demo-result { padding: 1.1rem 1rem; }
  .demo-toolbar { padding: .75rem 1rem; }
  .segmented-control { width: 100%; }
  .output-name { display: none; }
  .code-output { padding-inline: 1.1rem; }
  .contact-section h2 { font-size: 2.6rem; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .button { width: 100%; }
  .copy-status { min-height: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}
