:root {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
  --ink: #151c2b;
  --paper: #f2f4f8;
  --accent: #9cc1ff;
  --accent-strong: #2d60ce;
  --accent-glow: rgba(156,193,255,.4);
  --work-bg: #152036;
  --work-fg: #f3f6fc;
  --work-muted: #b8c2d4;
  --work-border: #52617c;
  --lab-hover: #2d60ce;
  --about-bg: #dfe7f6;
  --about-copy: #33425e;
  --about-rule: #a4b3ce;
  --skills-bg: #1b2d4c;
  --recognition-bg: #203455;
  --recognition-fg: #f3f6fc;
  --recognition-rule: #7385a1;
  --project-one: #c2d5fa;
  --project-one-ink: #1d3355;
  --project-two: #e7c1d6;
  --project-two-ink: #3f2640;
  --project-three: #d8b79d;
  --project-three-ink: #402b23;
  --mono: "DM Mono", "Courier New", monospace;
}
html[data-theme="clay"] {
  --ink: #291d20;
  --paper: #f8f2ec;
  --accent: #f6ba9d;
  --accent-strong: #ae4934;
  --accent-glow: rgba(246,186,157,.36);
  --work-bg: #2d2226;
  --work-fg: #fff5ef;
  --work-muted: #d4bcb6;
  --work-border: #70555c;
  --lab-hover: #ae4934;
  --about-bg: #ead7ce;
  --about-copy: #4c3437;
  --about-rule: #b79d9b;
  --skills-bg: #3c2a30;
  --recognition-bg: #4a3037;
  --recognition-fg: #fff4ed;
  --recognition-rule: #97767d;
  --project-one: #efc79d;
  --project-one-ink: #4b3025;
  --project-two: #e7b8bd;
  --project-two-ink: #48272e;
  --project-three: #c9b6a9;
  --project-three-ink: #3e302c;
}
html[data-theme="violet"] {
  --ink: #231b37;
  --paper: #f4f1f9;
  --accent: #cebaff;
  --accent-strong: #7045b9;
  --accent-glow: rgba(206,186,255,.4);
  --work-bg: #241e35;
  --work-fg: #f9f4ff;
  --work-muted: #c5b9d6;
  --work-border: #67577e;
  --lab-hover: #7045b9;
  --about-bg: #e5def2;
  --about-copy: #433758;
  --about-rule: #b5a9c8;
  --skills-bg: #302644;
  --recognition-bg: #392b50;
  --recognition-fg: #faf5ff;
  --recognition-rule: #8c7aa7;
  --project-one: #d2c2ff;
  --project-one-ink: #31204d;
  --project-two: #ecc5df;
  --project-two-ink: #4d2c45;
  --project-three: #c3c9e5;
  --project-three-ink: #2f3550;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 12px 18px; background: var(--accent); font-weight: 800; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; pointer-events: none; }
.site-header { position: relative; z-index: 10; min-height: 86px; padding: 16px clamp(24px, 4vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); background: var(--paper); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; font-size: 20px; font-weight: 800; line-height: 1.05; letter-spacing: -.055em; }
.brand-text small { font: 500 10px/1.3 var(--mono); color: color-mix(in srgb, var(--ink) 67%, var(--paper)); letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; gap: clamp(22px, 3vw, 52px); align-items: center; }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 700; transition: opacity .2s; }
.main-nav a:hover { opacity: .5; }
.main-nav a[aria-current="location"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.theme-menu { position: relative; z-index: 30; flex: 0 0 auto; }
.theme-menu summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 800; white-space: nowrap; }
.theme-menu summary::-webkit-details-marker { display: none; }
.theme-current-swatch { width: 15px; height: 15px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); border-radius: 50%; background: var(--accent-strong); }
.theme-options { position: absolute; top: calc(100% + 25px); right: 0; width: min(235px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 9px 10px 0 color-mix(in srgb, var(--ink) 12%, transparent); }
.theme-options button { width: 100%; display: flex; align-items: center; gap: 13px; padding: 10px; border: 0; background: transparent; color: var(--ink); text-align: left; font: 800 14px/1.2 "Manrope", sans-serif; cursor: pointer; }
.theme-options button:hover,.theme-options button[aria-pressed="true"] { background: var(--about-bg); }
.theme-options button small { display: block; margin-top: 4px; font: 500 10px/1.3 var(--mono); letter-spacing: .03em; }
.theme-swatch { flex: 0 0 27px; width: 27px; height: 27px; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 50%; }
.swatch-cobalt { background: #9cc1ff; }
.swatch-clay { background: #f6ba9d; }
.swatch-violet { background: #cebaff; }
.mobile-nav { display: none; }
.header-contact { text-decoration: none; border-bottom: 1px solid var(--ink); padding: 8px 0; font-size: 14px; font-weight: 800; }
.header-contact span { display: inline-block; margin-left: 24px; transition: transform .25s; }
.header-contact:hover span { transform: translate(3px,-3px); }
.hero { position: relative; min-height: min(820px, calc(100svh - 86px)); padding: 28px clamp(24px, 4vw, 72px) 30px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); }
.hero::before { content: ""; position: absolute; width: 470px; height: 470px; left: calc(var(--pointer-x, 50%) - 235px); top: calc(var(--pointer-y, 50%) - 235px); background: radial-gradient(circle, var(--accent-glow), transparent 68%); opacity: .75; pointer-events: none; transition: left .2s ease-out, top .2s ease-out; }
.hero-topline,.hero-bottomline { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; }
.hero-topline span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.tiny-square { width: 7px; height: 7px; background: var(--ink); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: clamp(30px, 4vw, 70px); width: min(100%, 1500px); margin: 18px auto 0; }
.hero-copy { position: relative; z-index: 2; padding: clamp(16px, 3vw, 56px) 0; }
.eyebrow,.section-index,.project-meta,.project-stack,.hero-action-note,.visual-no,.contact-bottom { font-family: var(--mono); font-size: 12px; letter-spacing: .075em; }
.eyebrow { margin: 0 0 clamp(20px, 3vw, 48px); font-weight: 500; }
h1,h2,h3,p { margin-top: 0; }
.hero h1 { margin-bottom: 32px; font-size: clamp(72px, 8.8vw, 154px); line-height: .87; letter-spacing: -.085em; word-spacing: .12em; font-weight: 800; white-space: nowrap; }
.hero h1 .italic-word { font-style: italic; font-weight: 500; letter-spacing: -.12em; }
.hero-second { white-space: nowrap; }
.hero-second .italic-word { margin-right: .095em; }
.period { color: var(--accent-strong); }
.hero-intro { max-width: 570px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.48; letter-spacing: -.035em; color: color-mix(in srgb, var(--ink) 79%, var(--paper)); }
.hero-actions { display: flex; gap: 27px; align-items: center; margin-top: 36px; }
.button-dark { display: inline-flex; justify-content: space-between; align-items: center; gap: 40px; padding: 17px 20px; min-width: 214px; color: #fff; background: var(--ink); border-radius: 2px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.button-dark:hover { color: var(--ink); background: var(--accent); transform: translateY(-3px); }
.button-dark span { font-size: 21px; line-height: 0; }
.hero-action-note { color: color-mix(in srgb, var(--ink) 58%, var(--paper)); max-width: 180px; line-height: 1.5; }
.hero-photo { width: min(100%, 510px); margin: 0 0 0 auto; align-self: center; }
.hero-photo img { width: 100%; height: min(31vw, 470px); object-fit: cover; object-position: center 58%; background: var(--about-bg); }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0 0; border-top: 1px solid var(--ink); margin-top: 12px; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; }
.hero-bottomline { width: 100%; }
.scroll-line { flex: 1; height: 1px; background: color-mix(in srgb, var(--ink) 20%, var(--paper)); }
.work-section { color: var(--work-fg); background: var(--work-bg); padding: clamp(100px, 13vw, 180px) 0 clamp(100px, 11vw, 150px); }
.section-shell { width: min(100%, 1580px); margin: auto; padding: 0 clamp(24px, 4vw, 72px); }
.section-heading { display: grid; grid-template-columns: .5fr 1.5fr 1fr; gap: 30px; align-items: end; margin-bottom: 80px; }
.section-index { align-self: start; margin: 0; font-weight: 500; white-space: nowrap; }
.section-index span { opacity: .5; margin: 0 8px; }
.section-heading h2,.contact-section h2 { margin: 0; font-size: clamp(72px, 9vw, 150px); line-height: .9; letter-spacing: -.065em; word-spacing: .14em; font-weight: 800; }
.section-heading h2 em,.contact-section h2 em { font-weight: 500; }
.section-heading > p:last-child { max-width: 310px; margin: 0 0 10px auto; color: var(--work-muted); font-size: 18px; line-height: 1.5; }
.featured-work { display: grid; gap: 24px; }
.project-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); color: inherit; text-decoration: none; border: 1px solid var(--work-border); min-height: 430px; overflow: hidden; transition: border-color .3s, transform .35s; }
.project-card:hover { border-color: var(--work-muted); transform: translateY(-5px); }
.project-card:focus-visible { outline-color: var(--accent); }
.project-visual { position: relative; display: flex; justify-content: space-between; flex-direction: column; overflow: hidden; padding: clamp(24px, 3vw, 48px); min-height: 400px; background: var(--project-bg); color: var(--project-fg); }
.project-visual::after { content: ""; position: absolute; width: 400px; height: 400px; right: -220px; bottom: -210px; border: 1px solid currentColor; border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.065), 0 0 0 92px rgba(255,255,255,.04); transition: transform .6s ease; }
.project-card:hover .project-visual::after { transform: scale(1.25); }
.project-kent { --project-bg: var(--project-one); --project-fg: var(--project-one-ink); }
.project-heavenly { --project-bg: var(--project-two); --project-fg: var(--project-two-ink); }
.project-bianchi { --project-bg: var(--project-three); --project-fg: var(--project-three-ink); }
.visual-no { position: relative; z-index: 1; }
.visual-word { position: relative; z-index: 1; font-size: clamp(45px, 5.8vw, 98px); font-weight: 800; line-height: .92; letter-spacing: -.065em; word-spacing: .12em; overflow-wrap: anywhere; }
.visual-plus { position: absolute; z-index: 1; top: 25px; right: 40px; font-size: 70px; font-weight: 300; line-height: 1; transition: transform .5s; }
.project-card:hover .visual-plus { transform: rotate(90deg); }
.project-detail { padding: clamp(28px, 4.8vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.project-meta { color: var(--work-muted); }
.project-detail h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 34px 0 20px; font-size: clamp(36px, 4.2vw, 67px); line-height: 1.04; letter-spacing: -.075em; }
.project-detail h3 span { font-size: 33px; font-weight: 400; transition: transform .25s; }
.project-card:hover h3 span { transform: translate(5px,-5px); }
.project-detail p { max-width: 460px; color: var(--work-muted); font-size: 17px; line-height: 1.65; }
.project-stack { margin-top: auto; padding-top: 40px; color: var(--work-muted); line-height: 1.6; }
.case-notes { margin-top: 30px; border-top: 1px solid var(--work-border); border-bottom: 1px solid var(--work-border); }
.case-notes summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 25px; padding: 26px 0; font-size: 17px; font-weight: 700; }
.case-notes summary::-webkit-details-marker { display: none; }
.case-notes-icon { font-size: 23px; font-weight: 400; transition: transform .25s; }
.case-notes[open] .case-notes-icon { transform: rotate(45deg); }
.case-notes-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 880px; margin: 0 0 20px auto; color: var(--work-muted); font-size: 16px; line-height: 1.7; }
.case-notes-body p { margin-bottom: 12px; }
.kinetic-band { overflow: hidden; padding: 16px 0 18px; background: var(--accent); color: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font: 800 clamp(24px, 3vw, 44px)/1 "Manrope", sans-serif; letter-spacing: -.065em; white-space: nowrap; }
.kinetic-band div { width: max-content; animation: band-drift 30s linear infinite; }
@keyframes band-drift { to { transform: translateX(-35%); } }
.motion-ready .reveal-target { opacity: 0; transform: translateY(36px); transition: opacity .75s cubic-bezier(.2,.75,.25,1), transform .75s cubic-bezier(.2,.75,.25,1); }
.motion-ready .reveal-target.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .project-card.reveal-target.is-visible:hover { transform: translateY(-5px); }
.lab-section { padding: clamp(100px, 13vw, 190px) 0; background: var(--paper); }
.lab-heading { display: grid; grid-template-columns: .5fr 1.7fr .8fr; gap: 24px; align-items: end; margin-bottom: 100px; }
.lab-heading .section-index { align-self: start; }
.lab-heading h2,.about-intro h2,.recognition-heading h2 { margin: 0; font-size: clamp(72px, 8.5vw, 145px); line-height: .94; letter-spacing: -.065em; word-spacing: .14em; font-weight: 800; }
.lab-heading h2 em,.about-intro h2 em,.recognition-heading h2 em { font-weight: 500; }
.lab-heading > p:last-child { max-width: 330px; margin: 0 0 9px auto; font-size: 18px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 70%, var(--paper)); }
.lab-list { border-top: 1px solid var(--ink); }
.lab-item { border-bottom: 1px solid var(--ink); }
.lab-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: .25fr 1.7fr .75fr 30px; align-items: center; gap: 20px; min-height: 124px; padding: 25px 0; }
.lab-item summary::-webkit-details-marker { display: none; }
.lab-number,.lab-type { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; }
.lab-title { font-size: clamp(28px, 3.1vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -.065em; transition: transform .28s, color .28s; }
.lab-item summary:hover .lab-title { transform: translateX(12px); color: var(--lab-hover); }
.lab-toggle { font-size: 27px; font-weight: 400; transition: transform .28s; }
.lab-item[open] .lab-toggle { transform: rotate(45deg); }
.lab-body { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin: -5px 60px 35px 17%; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--ink) 22%, var(--paper)); }
.lab-body p { max-width: 640px; color: color-mix(in srgb, var(--ink) 74%, var(--paper)); font-size: 17px; line-height: 1.65; margin: 0; }
.lab-body a { white-space: nowrap; font-size: 14px; font-weight: 800; text-underline-offset: 5px; }
.about-section { padding: clamp(100px, 13vw, 190px) 0; background: var(--about-bg); }
.about-intro { display: grid; grid-template-columns: .52fr 1.48fr; gap: 36px; align-items: start; }
.about-intro h2 { max-width: 1050px; }
.about-copy { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); max-width: 950px; margin: 75px 0 150px; }
.about-copy p { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.62; letter-spacing: -.035em; color: var(--about-copy); }
.journey-block { display: grid; grid-template-columns: .52fr 1.48fr; gap: 36px; padding-top: 30px; border-top: 1px solid var(--about-rule); }
.journey-label { display: flex; flex-direction: column; gap: 9px; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; }
.journey-label span:last-child { color: var(--about-copy); }
.journey-items { display: grid; grid-template-columns: 1fr 1fr; gap: 45px 55px; }
.journey-item { padding-top: 20px; border-top: 1px solid var(--about-rule); }
.journey-item > span { font: 500 12px/1.4 var(--mono); }
.journey-item h3 { margin: 25px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -.06em; }
.journey-item p { margin: 0; max-width: 390px; color: var(--about-copy); font-size: 16px; line-height: 1.65; }
.skills-block { margin-top: 160px; padding: clamp(35px, 5vw, 75px); background: var(--skills-bg); color: var(--recognition-fg); }
.skills-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-bottom: 85px; }
.skills-heading h3 { max-width: 680px; margin: 0; font-size: clamp(44px, 5.5vw, 86px); line-height: 1; letter-spacing: -.08em; }
.skills-heading p { max-width: 280px; margin: 0 0 6px; color: var(--work-muted); font-size: 16px; line-height: 1.55; }
.skills-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 34px; }
.skills-grid > div { padding-top: 20px; border-top: 1px solid var(--recognition-rule); }
.skills-grid h4 { margin: 0 0 20px; color: var(--accent); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; }
.skills-grid p { margin: 0; color: var(--recognition-fg); font-size: 16px; line-height: 1.75; }
.recognition-section { padding: clamp(100px, 13vw, 190px) 0; background: var(--recognition-bg); color: var(--recognition-fg); }
.recognition-heading { display: grid; grid-template-columns: .5fr 1.7fr .8fr; gap: 24px; align-items: end; padding-bottom: 100px; }
.recognition-heading .section-index { align-self: start; }
.recognition-heading > p:last-child { max-width: 300px; margin: 0 0 10px auto; color: var(--work-muted); font-size: 18px; line-height: 1.5; }
.recognition-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 6vw, 100px); align-items: start; }
.recognition-highlight { position: sticky; top: 40px; display: flex; flex-direction: column; min-height: 490px; padding: clamp(30px, 4vw, 55px); background: var(--accent); color: var(--ink); }
.recognition-highlight-top { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; }
.recognition-highlight strong { margin: 50px 0 15px; font-size: clamp(140px, 17vw, 270px); line-height: .8; font-weight: 800; letter-spacing: -.12em; }
.recognition-highlight > span:nth-of-type(2) { font: 500 13px/1.5 var(--mono); letter-spacing: .045em; }
.recognition-highlight a { margin-top: auto; padding-top: 35px; font-size: 15px; font-weight: 800; text-underline-offset: 5px; }
.year-list { border-top: 1px solid var(--recognition-rule); }
.year-item { border-bottom: 1px solid var(--recognition-rule); }
.year-item summary { list-style: none; display: grid; grid-template-columns: .65fr 1fr 30px; align-items: center; gap: 20px; cursor: pointer; padding: 28px 0; }
.year-item summary::-webkit-details-marker { display: none; }
.year-item summary > span:first-child { font-size: clamp(32px, 3.1vw, 50px); font-weight: 700; letter-spacing: -.075em; }
.year-item small { display: inline-block; margin-left: 10px; color: var(--accent); font: 500 11px var(--mono); vertical-align: middle; }
.year-item summary > span:nth-child(2) { font: 500 12px/1.5 var(--mono); letter-spacing: .05em; color: var(--work-muted); }
.year-item b { font-size: 24px; font-weight: 400; transition: transform .25s; }
.year-item[open] b { transform: rotate(45deg); }
.year-item ul { margin: 0 0 30px 34%; padding: 0 0 0 19px; color: var(--recognition-fg); font-size: 16px; line-height: 1.65; }
.year-item li { margin-bottom: 13px; padding-left: 7px; }
.contact-section { min-height: 620px; padding: clamp(110px, 12vw, 170px) 0 36px; background: var(--accent); }
.contact-section .section-shell { display: flex; flex-direction: column; min-height: 440px; }
.contact-section h2 { margin: 50px 0 38px; }
.email-link { display: flex; justify-content: space-between; gap: 30px; width: fit-content; min-width: min(670px,100%); padding-bottom: 13px; border-bottom: 2px solid var(--ink); font-size: clamp(22px, 4vw, 55px); font-weight: 700; letter-spacing: -.06em; text-decoration: none; }
.email-link span { font-size: .75em; transition: transform .25s; }
.email-link:hover span { transform: translate(7px,-7px); }
.contact-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: auto; padding-top: 80px; line-height: 1.8; }
.contact-bottom > div { display: flex; gap: 30px; }
.contact-bottom a { text-decoration: none; }
.contact-bottom a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(67px, 8.5vw, 105px); }
  .section-heading { grid-template-columns: 1fr 2fr; }
  .section-heading > p:last-child { grid-column: 2; margin: 0; }
  .lab-heading,.recognition-heading { grid-template-columns: 1fr 2fr; }
  .lab-heading > p:last-child,.recognition-heading > p:last-child { grid-column: 2; margin: 0; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 800px) {
  .site-header { min-height: 72px; }
  .header-contact,.main-nav { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: 20px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 800; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { font-size: 22px; font-weight: 400; transition: transform .25s; }
  .mobile-nav[open] summary span { transform: rotate(45deg); }
  .mobile-nav nav { position: absolute; z-index: 20; top: 48px; right: -24px; width: min(300px, 85vw); padding: 23px; display: grid; gap: 17px; background: var(--ink); color: #fff; box-shadow: 0 20px 35px rgba(0,0,0,.16); }
  .mobile-nav nav a { font-size: 18px; font-weight: 700; text-decoration: none; }
  .theme-options { left: 50%; right: auto; transform: translateX(-50%); }
  .hero { min-height: auto; padding-top: 22px; }
  .hero-topline span:last-child { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 60px 0 0; }
  .hero h1 { font-size: clamp(68px, 13vw, 118px); white-space: normal; }
  .hero-photo { width: min(100%, 580px); margin: 20px 0 42px; }
  .hero-photo img { height: min(85vw, 520px); }
  .hero-bottomline span:last-child { display: none; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 50px; }
  .section-heading > p:last-child { grid-column: auto; }
  .project-card { grid-template-columns: 1fr; }
  .project-visual { min-height: 330px; }
  .project-detail { min-height: 310px; }
  .case-notes-body { grid-template-columns: 1fr; gap: 0; }
  .lab-heading,.recognition-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px; padding-bottom: 0; }
  .lab-heading > p:last-child,.recognition-heading > p:last-child { grid-column: auto; }
  .lab-item summary { grid-template-columns: 40px 1fr 26px; min-height: 100px; }
  .lab-type { display: none; }
  .lab-body { margin: 0 0 30px 55px; flex-direction: column; align-items: start; }
  .about-intro,.journey-block { grid-template-columns: 1fr; }
  .about-copy { grid-column: auto; margin: 50px 0 105px; }
  .journey-items { grid-template-columns: 1fr 1fr; }
  .skills-block { margin-top: 105px; }
  .recognition-grid { grid-template-columns: 1fr; }
  .recognition-highlight { position: relative; top: auto; min-height: 390px; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: clamp(64px, 14vw, 82px); }
  .hero-second { white-space: normal; }
  .hero-intro { font-size: 18px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-action-note { max-width: 260px; }
  .hero-photo { margin: 22px 0 35px; }
  .section-heading h2,.contact-section h2 { font-size: clamp(66px, 14vw, 86px); }
  .project-visual { min-height: 290px; }
  .visual-word { font-size: clamp(48px, 12vw, 68px); }
  .project-detail { padding: 28px; min-height: 330px; }
  .project-detail h3 { font-size: 40px; }
  .project-detail p { font-size: 16px; }
  .lab-heading h2,.about-intro h2,.recognition-heading h2 { font-size: clamp(62px, 12vw, 82px); }
  .lab-title { font-size: 30px; }
  .lab-body { margin-left: 0; }
  .about-copy,.journey-items,.skills-grid { grid-template-columns: 1fr; }
  .skills-heading { display: block; padding-bottom: 50px; }
  .skills-heading p { margin-top: 25px; }
  .skills-block { padding: 30px; }
  .recognition-highlight strong { font-size: 150px; }
  .year-item summary { grid-template-columns: 1fr 22px; }
  .year-item summary > span:nth-child(2) { grid-row: 2; grid-column: 1; }
  .year-item b { grid-row: 1; grid-column: 2; }
  .year-item ul { margin-left: 0; }
  .email-link { min-width: 100%; font-size: clamp(23px, 6vw, 34px); }
  .contact-bottom { flex-direction: column; }
}
@media (max-width: 360px) {
  .site-header { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .brand-text { font-size: 17px; white-space: nowrap; }
  .brand-text small { font-size: 8px; }
  .theme-menu summary { gap: 5px; font-size: 12px; }
  .theme-current-swatch { width: 12px; height: 12px; }
  .mobile-nav summary { gap: 8px; font-size: 12px; }
  .about-intro h2 { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
