@font-face { font-family: 'Tektur'; src: url('fonts/tektur-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/bricolage-grotesque-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/bricolage-grotesque-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
:root {
 color-scheme: dark;
 --bg: #090909;
 --ink: #eeeee8;
 --muted: #b7b7ae;
 --accent: #e5ff52;
 --surface: #151613;
 --accent-ink: #f7b79e;
 --action: #f7b79e;
 --sky-ink: #9cc9ee;
 --mint-ink: #9ad3b2;
 --on-accent: #090909;
 --media-bg: #181a13;
 --motion-fast: 120ms;
 --motion-base: 200ms;
 --motion-medium: 280ms;
 --motion-slow: 400ms;
 --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
 --pink: #f3a2d9;
 --line: #373831;
 --display: 'Tektur', sans-serif;
 --body: 'Bricolage Grotesque', sans-serif;
 --width: 1320px;
}
html[data-theme="light"] {
 color-scheme: light;
 --bg: #eeeee8;
 --ink: #11120d;
 --muted: #55594d;
 --surface: #dfe1d7;
 --accent-ink: #923e27;
 --sky-ink: #275778;
 --mint-ink: #2f6447;
 --pink: #922367;
 --line: #b4b8a9;
 --media-bg: #dfe1d7;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); }
::selection { color: var(--on-accent); background: var(--accent); }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a { transition: color var(--motion-base) var(--ease-out), text-decoration-color var(--motion-base) var(--ease-out); }
a:hover { color: var(--accent-ink); }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: .96; letter-spacing: -.02em; }
h2 { font-size: clamp(54px, 7.2vw, 106px); }
h3 { font-weight: 600; line-height: 1.15; }
p { max-width: 65ch; }
ul { padding-left: 1.2em; }
li + li { margin-top: .5em; }
.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.skip { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 12px 20px; background: var(--accent); color: var(--on-accent); }
.skip:focus { top: 12px; color: var(--on-accent); }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 18px; margin-right: auto; }
.brand img { flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; text-decoration: none; font-size: 14px; }
.nav-links .nav-contact { color: var(--accent-ink); margin-left: 12px; }
.nav-contact span { font-size: 20px; }
.nav-resume svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); padding: 8px 16px; min-height: 44px; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 12px 23px; color: var(--on-accent); background: var(--action); border: 1px solid var(--action); text-decoration: none; font-size: 16px; font-weight: 600; }
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.button span { font-size: 23px; font-weight: 400; }
.button.secondary { background: none; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.text-link { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; font-size: 15px; color: var(--accent-ink); }
.text-link span { font-size: 21px; }
.hero { overflow: clip; background-image: url('grain.svg'), url('contours.svg'); background-size: 160px 160px, cover; background-position: center; view-timeline: --hero block; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 0 45px; align-items: center; padding-top: 65px; }
.hero-copy { min-width: 0; padding-bottom: 48px; }
.identity { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; padding-bottom: 18px; max-width: 480px; }
.identity p:last-child { color: var(--muted); }
.hero h1 { font-size: clamp(120px, 16vw, 225px); line-height: 1; letter-spacing: -.045em; margin-left: -6px; margin-bottom: 26px; }
.hero-role { font-size: clamp(26px, 2.7vw, 38px); max-width: 22ch; line-height: 1.12; letter-spacing: -.03em; font-weight: 600; margin-bottom: 24px; text-wrap: balance; }
.hero-intro { max-width: 43ch; font-size: 16px; color: var(--muted); line-height: 1.6; margin-bottom: 28px; }
.hero-contact { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.hero-current { grid-column: 1 / -1; padding-block: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 65px; }
.hero-current p { display: grid; grid-template-columns: auto auto; gap: 2px 17px; font-size: 14px; }
.hero-current p > span { color: var(--muted); grid-row: 1 / 3; padding-top: 2px; }
.hero-current strong { font-weight: 400; }
.hero-current a { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.hero-current img { margin-left: auto; }
.career-line { border-top: 1px solid var(--line); padding-block: 30px; }
.career-line .wrap { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 25px; }
.career-line > .wrap > p { font-size: 13px; color: var(--muted); }
.career-line ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.career-line li + li { margin: 0; }
.career-line li a { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-height: 60px; color: var(--ink); text-decoration: none; }
.company-lockup { display: inline-flex; align-items: center; gap: 9px; height: 34px; font-weight: 600; font-size: 19px; white-space: nowrap; }
.company-wordmark { width: 125px; height: 26px; object-fit: contain; object-position: left center; }
.career-line li:last-child .company-wordmark { width: 105px; height: 26px; }
.monochrome-logo { filter: brightness(0) invert(1); }
html[data-theme="light"] .monochrome-logo { filter: brightness(0); }
.company-orb { width: 29px; height: 29px; flex: none; }
.company-orb img { width: 29px; height: 29px; }
html[data-theme="light"] .company-orb img { filter: brightness(0); }
.company-power { width: 27px; height: 27px; }
.company-role { font-size: 12px; color: var(--muted); }
.section { padding-block: 105px; }
.section-label { font-size: 14px; color: var(--accent-ink); margin-bottom: 22px; }
.work-section { background-color: var(--surface); background-image: url('grain.svg'); color: var(--ink); padding-block: 85px 55px; }
.work-section :focus-visible { outline-color: var(--accent-ink); }
.work-section a:hover { color: var(--accent-ink); }
.work-section .text-link { color: var(--accent-ink); }
.work-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 85px; align-items: end; margin-bottom: 60px; }
.work-head h2 { font-size: clamp(44px, 5.8vw, 86px); }
.work-head > div { max-width: 490px; }
.work-intro { font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 20px; }
.work-head > div > p:not(.work-intro) { font-size: 16px; margin-bottom: 12px; }
.engineering-section { --accent-ink: var(--sky-ink); margin-top: 70px; padding-top: 45px; border-top: 1px solid var(--line); }
.engineering-head { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 40px; }
.engineering-head h3 { color: var(--sky-ink); font: 700 clamp(36px, 4.5vw, 64px)/1.05 var(--display); }
.engineering-head .section-label { margin-bottom: 16px; }
.engineering-head > div:last-child p { font-size: 16px; margin-bottom: 15px; }
.engineering-head > div:last-child p + p { color: var(--muted); font-size: 14px; }
.engineering-record { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; gap: 35px; padding-block: 28px; border-top: 1px solid var(--line); }
.engineering-index { font-size: 12px; color: var(--accent-ink); }
.engineering-record h4 { font: 700 28px/1.2 var(--display); margin-bottom: 14px; }
.engineering-record p { font-size: 15px; }
.engineering-record .engineering-detail { color: var(--muted); font-size: 12px; margin-top: 14px; }
.engineering-links { display: flex; flex-direction: column; align-items: start; gap: 8px; font-size: 13px; }
.engineering-links a { min-height: 36px; display: flex; align-items: center; }
.shipped-work { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
.shipped-work > h3, .shipped-work > h4 { font-size: 22px; margin-bottom: 18px; }
.shipped-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.shipped-project h4, .shipped-project h5 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.shipped-project p { font-size: 14px; color: var(--muted); margin-bottom: 10px; overflow-wrap: anywhere; }
.shipped-project .engineering-links { flex-direction: row; gap: 25px; }
@media (max-width: 760px) {
 .engineering-section { margin-top: 40px; padding-top: 30px; }
 .engineering-head { grid-template-columns: 1fr; gap: 25px; margin-bottom: 25px; }
 .engineering-record { grid-template-columns: 1fr; gap: 14px; }
 .engineering-links { flex-direction: row; gap: 25px; }
 .shipped-list { grid-template-columns: 1fr; }
}
.case-study { border-top: 1px solid var(--line); scroll-margin-top: 95px; }
.case-study:last-child { border-bottom: 1px solid var(--line); }
.case-study summary { display: grid; grid-template-columns: 160px minmax(0,1fr) 174px 40px; gap: 25px; align-items: center; padding: 26px 0; cursor: pointer; list-style: none; }
.case-study summary::-webkit-details-marker { display: none; }
.case-sector { font-size: 13px; align-self: start; padding-top: 7px; }
.case-heading { display: block; font-family: var(--display); font-size: 42px; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 10px; }
.case-role { font-size: 14px; font-weight: 600; display: block; }
.case-description { font-size: 14px; color: var(--muted); display: block; margin-top: 4px; }
.case-date { font-size: 13px; align-self: start; padding-top: 7px; text-align: right; }
.case-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); }
.case-toggle svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.case-study[open] .case-toggle .vertical { opacity: 0; transform: scaleY(0); }
.case-study[data-expanded="false"] .case-toggle .vertical { opacity: 1; transform: scaleY(1); }

.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-left: 185px; padding-bottom: 35px; padding-top: 8px; max-width: 930px; }
.case-body h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.case-body p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.brand-panel { position: relative; display: grid; place-items: center; background: #090909; border: 1px solid var(--line); overflow: clip; }
.brand-panel img { width: auto; height: auto; object-fit: contain; }
.case-brand { min-height: 230px; }
.case-brand img { width: 76px; }
.result { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: baseline; margin-bottom: 12px; }
.result strong { font-variant-numeric: tabular-nums; font-size: 36px; font-family: var(--display); line-height: 1; }
.result span { font-size: 12px; }
.work-foot { display: flex; justify-content: space-between; gap: 40px; margin-top: 25px; font-size: 12px; }
.ecosystem-links { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 35px; padding-top: 35px; margin-top: 45px; border-top: 1px solid var(--line); }
.ecosystem-links h3 { font-size: 18px; margin-bottom: 8px; }
.ecosystem-links p { font-size: 13px; }
.ecosystem-links a { display: flex; gap: 15px; justify-content: space-between; align-items: center; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.ecosystem-links a span { font-size: 28px; }
.personal { color: var(--ink); }
.personal .section-label { color: var(--pink); }
.personal-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 65px; gap: 60px; }
.personal-heading h2 { font-size: clamp(64px, 8vw, 112px); color: var(--pink); line-height: .81; letter-spacing: -.03em; }
.personal-note { font-size: 20px; color: var(--muted); padding-bottom: 5px; }
.personal-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 50px 95px; }
.personal-project { text-decoration: none; }
.personal-project figure { position: relative; margin-bottom: 24px; }
.personal-project img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.project-sticker { position: absolute; bottom: 16px; left: -12px; padding: 8px 15px; background: var(--action); color: var(--on-accent); font-size: 12px; transform: rotate(-4deg); }
.project-title { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 13px; }
.project-title h3 { font-family: var(--display); font-size: 42px; font-weight: 700; color: var(--ink); }
.project-title > span { font-size: 34px; color: var(--pink); }
.personal-project > p { font-size: 16px; color: var(--muted); max-width: 39ch; }
.personal-project:hover .project-title h3 { color: var(--pink); }
.gathering-project { padding-top: 110px; }
.gathering-project img { aspect-ratio: 5 / 4; }
.gathering-project .project-sticker { transform: rotate(3deg); background: var(--pink); }
.about-section { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 110px; align-items: center; }
.about-photo { transform: rotate(-2deg); max-width: 480px; }
.about-photo img { aspect-ratio: 3 / 4; object-fit: contain; }
.about-photo figcaption { color: var(--muted); font-size: 12px; padding-top: 14px; }
.about-copy h2 { font-size: clamp(58px, 6vw, 86px); margin-bottom: 28px; }
.about-copy > p:not(.section-label) { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.about-facts { display: flex; flex-wrap: wrap; gap: 25px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 28px; margin-bottom: 20px; }
.about-facts p { font-size: 13px; }
.about-facts strong, .about-facts span { display: block; }
.about-facts strong { font-weight: 400; }
.about-facts span { color: var(--muted); font-size: 12px; }
.contact { background: var(--action); color: var(--on-accent); color-scheme: light; padding-bottom: 55px; }
.contact :focus-visible { outline-color: var(--on-accent); }
.contact a:hover { color: var(--on-accent); text-decoration-thickness: 3px; }
.contact-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px; }
.contact-heading h2 { font-size: clamp(100px, 16vw, 220px); line-height: .8; letter-spacing: -.025em; }
.contact-heading img { filter: brightness(0); width: 170px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-grid h3 { font-size: 26px; margin-bottom: 18px; }
.contact-grid p { font-size: 16px; max-width: 44ch; margin-bottom: 20px; }
.contact-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 15px; }
.contact-link span { font-size: 23px; }
.contact-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgb(9 9 9 / .25); margin-top: 50px; padding-top: 25px; }
.email-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: clamp(26px, 4vw, 56px); letter-spacing: -.03em; text-decoration: none; font-weight: 600; }
.email-link:hover { text-decoration: underline; }
.email-link span { font-weight: 400; }
.site-footer { padding-block: 26px; font-size: 12px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner .brand { margin-right: 0; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* Project pages share the identity, with calmer reading layouts. */
.detail-hero { padding-block: 65px 75px; }
.back-link { margin-bottom: 35px; }
.detail-hero h1 { font-size: clamp(72px, 8.5vw, 126px); margin-bottom: 28px; }
.detail-hero .lead { color: var(--muted); font-size: 21px; line-height: 1.6; margin-bottom: 30px; }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.detail-grid > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-section { padding-block: 60px; border-top: 1px solid var(--line); }
.detail-section h2 { font-size: 62px; margin-bottom: 30px; }
.detail-section p { color: var(--muted); margin-bottom: 20px; }
.reading { max-width: 820px; }
.reading h3 { margin-block: 35px 14px; font-size: 23px; }
.reading li { color: var(--muted); }
.build-links { display: grid; margin-top: 30px; }
.build-links a { padding: 20px 0; min-height: 44px; border-top: 1px solid var(--line); text-decoration: none; }
.build-links strong { display: block; font-weight: 600; }
.build-links span { color: var(--muted); font-size: 14px; }
.contain-image { object-fit: contain !important; background: var(--media-bg); padding: 30px; }
.embed { width: 100%; height: 440px; border: 1px solid var(--line); margin-top: 24px; }
.video-embed { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line); margin-top: 20px; }
/* Project brand marks and the speaking record. */
.project-showcase { border-top: 1px solid var(--line); padding-top: 50px; margin-top: 50px; }
.projects-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 25px; margin-bottom: 30px; }
.projects-heading h3 { font-family: var(--display); font-weight: 700; font-size: 42px; line-height: 1.15; }
.projects-heading p { font-size: 14px; }
.professional-projects { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 55px; }
.professional-project { display: block; text-decoration: none; }
.professional-project figure { margin-bottom: 25px; aspect-ratio: 2/1; transition: border-color var(--motion-base) var(--ease-out), background-color var(--motion-base) var(--ease-out); }
.brand-gaias { align-content: center; gap: 18px; }
.brand-gaias > span { color: #eeeee8; font: 700 42px/1 var(--display); }
.professional-project .brand-panel img { width: 48%; max-height: 75%; }
.professional-project .brand-overshoot { background-color: #0d141a; }
.professional-project .brand-gaias { background-color: #181018; }
.professional-project .brand-overshoot img { width: 86%; filter: grayscale(1) invert(1); mix-blend-mode: screen; }
.professional-project .brand-gaias img { width: clamp(110px, 11vw, 140px); height: clamp(110px, 11vw, 140px); max-height: none; border-radius: 50%; }
.detail-brand { aspect-ratio: 1; }
.detail-brand img { width: 75%; }
.professional-project-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.professional-project h4 { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.2; }
.professional-project-title > span { font-size: 28px; }
.professional-project p { font-size: 15px; max-width: 53ch; color: var(--muted); }
.professional-project .professional-project-kind { font-size: 12px; color: var(--accent-ink); margin-bottom: 14px; }
.professional-project-domain { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; text-decoration: underline; margin-top: 12px; }
.talk-feature { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: 65px; border-top: 1px solid var(--line); padding-top: 55px; margin-top: 50px; }
.talk-context { font-size: 13px; margin-bottom: 20px; }
.talk-feature h3 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.5vw, 50px); line-height: 1.12; margin-bottom: 25px; }
.talk-feature p:not(.talk-context) { font-size: 16px; margin-bottom: 15px; }
.talk-player { aspect-ratio: 16/9; background: #090909; }
.talk-player iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
 .work-head { grid-template-columns: minmax(0,1fr); gap: 25px; }
 .work-head > div { max-width: 65ch; }
 .talk-feature { grid-template-columns: minmax(0,1fr); gap: 25px; }
}
@media (max-width: 1100px) {
 .wrap { width: calc(100% - 64px); }
 .nav-links { gap: 20px; }
 .identity { max-width: 410px; }
 .career-line .wrap { gap: 22px; }
 .work-head { gap: 45px; }
 .case-study summary { grid-template-columns: 120px minmax(0,1fr) 150px 40px; gap: 20px; }
 .case-body { margin-left: 140px; gap: 25px; }
 .case-heading { font-size: clamp(29px, 8vw, 42px); }
 .personal-grid { gap: 40px 55px; }
 .personal-heading { gap: 45px; }
 .gathering-project { padding-top: 80px; }
 .about-grid { gap: 60px; }
 .contact-grid { gap: 60px; }
}
@media (max-width: 760px) {
 html { scroll-padding-top: 82px; }
 .wrap { width: calc(100% - 40px); }
 .nav { min-height: 70px; flex-wrap: wrap; gap: 8px; }
 .brand { font-size: 16px; }
 .brand img { width: 28px; }
 .js .menu-toggle { display: block; }
 .nav-links { width: 100%; flex-wrap: wrap; gap: 6px 24px; padding-bottom: 15px; }
 .nav-links a { font-size: 15px; }
 .nav-links .nav-contact { margin-left: 0; }
 .js .nav-links { display: none; }
 .js .nav-links.is-open { display: flex; }
 .hero-inner { padding-top: 25px; }
 .identity { max-width: none; font-size: 12px; padding-bottom: 24px; }
 .hero h1 { font-size: clamp(112px, 31vw, 230px); margin-left: -4px; margin-bottom: 27px; }
 .hero-role { position: relative; font-size: 32px; max-width: 330px; margin-bottom: 24px; }
 .hero-intro { font-size: 15px; max-width: 40ch; margin-bottom: 25px; }
  .hero .actions { gap: 14px 20px; }
 .hero .button { padding: 10px 15px; gap: 15px; font-size: 14px; }
 .hero-contact { font-size: 13px; gap: 6px; }
 .hero-current { gap: 15px 25px; flex-wrap: wrap; padding-block: 20px; }
 .hero-current p { font-size: 12px; gap: 2px 10px; }
 .hero-current img { display: none; }
 .career-line { padding-block: 18px; }
 .career-line p { margin-bottom: 7px; }
 .section { padding-block: 65px; }
 .work-section { padding-block: 55px 40px; }
 .work-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 35px; }
 .work-head h2 { font-size: clamp(36px, 11vw, 65px); }
 .work-intro { font-size: 23px; }
 .work-head > div > p:not(.work-intro) { font-size: 15px; }
 .case-study summary { grid-template-columns: minmax(0,1fr) 40px; gap: 12px 18px; padding-block: 23px; }
 .case-sector { display: none; }
 .case-identity { grid-column: 1; grid-row: 1; }
 .case-date { grid-column: 1; grid-row: 2; text-align: left; padding: 0; font-size: 12px; }
 .case-toggle { grid-column: 2; grid-row: 1; align-self: start; }
 .case-heading { font-size: clamp(29px, 8vw, 42px); }
 .case-role { font-size: 13px; }
 .case-description { font-size: 13px; }
 .case-body { margin-left: 0; grid-template-columns: 1fr; gap: 20px; padding-bottom: 25px; }
 .case-body p { font-size: 15px; }
 .work-foot { flex-direction: column; gap: 10px; }
 .ecosystem-links { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
 .ecosystem-links a { font-size: 17px; min-height: 44px; }
 .personal-heading { grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
 .personal-heading h2 { font-size: clamp(42px, 12.5vw, 86px); }
 .personal-note { font-size: 16px; }
 .personal-note br + br { display: none; }
 .personal-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
 .personal-project figure { margin-bottom: 18px; }
 .personal-project img { aspect-ratio: 1; }
 .project-sticker { left: -5px; }
 .gathering-project { padding-top: 0; }
 .gathering-project img { aspect-ratio: 5 / 4; }
 .project-title { gap: 16px; }
 .project-title h3 { font-size: clamp(25px, 8vw, 42px); }
 .personal-project > p { font-size: 15px; }
 .about-grid { grid-template-columns: 1fr; gap: 35px; }
 .about-photo { width: calc(100% - 16px); margin-inline: auto; }
 .about-photo img { aspect-ratio: 3 / 4; }
 .about-copy h2 { font-size: clamp(34px, 10vw, 64px); }
 .contact-heading { margin-bottom: 35px; }
 .contact-heading h2 { font-size: clamp(72px, 20vw, 130px); }
 .contact-heading img { width: 65px; }
 .contact-grid { grid-template-columns: 1fr; gap: 35px; }
 .contact-grid h3 { font-size: 24px; }
 .contact-grid p { font-size: 15px; }
 .contact-bottom { flex-direction: column; align-items: start; gap: 10px; margin-top: 35px; }
 .email-link { font-size: clamp(24px, 7vw, 40px); }
 .footer-inner { flex-wrap: wrap; gap: 12px 25px; }
 .footer-inner > p { margin-left: auto; font-size: 11px; }
 .footer-links { width: 100%; gap: 25px; }
 .detail-hero { padding-block: 35px 45px; }
 .detail-hero h1 { font-size: clamp(58px, 15vw, 90px); overflow-wrap: anywhere; }
 .detail-hero .lead { font-size: 18px; }
 .detail-grid { grid-template-columns: 1fr; gap: 30px; }
 .detail-section { padding-block: 45px; }
 .detail-section h2 { font-size: 48px; }
}
@media (max-width: 760px) {
 .projects-heading { display: block; }
 .projects-heading h3 { font-size: 30px; margin-bottom: 12px; }
 .professional-projects { grid-template-columns: minmax(0,1fr); gap: 35px; }
 .professional-project h4 { font-size: 28px; }
 .project-showcase { padding-top: 30px; margin-top: 30px; }
 .talk-feature { padding-top: 35px; margin-top: 35px; }
 .talk-feature h3 { font-size: clamp(30px, 8vw, 42px); }
 .talk-feature p:not(.talk-context) { font-size: 15px; }
 .contact-heading h2 { letter-spacing: -.045em; }
}
@media (max-width: 360px) {
 .identity { font-size: 11px; }
 .hero-role { font-size: 28px; }
 .hero .actions { gap: 8px 13px; }
 .hero-contact { font-size: 12px; }
 .contact-heading img { width: 50px; }
}
/* Theme controls and motion preserve the existing type and graphic identity. */
.theme-toggle { display: none; flex: none; width: 44px; height: 44px; place-items: center; cursor: pointer; color: var(--ink); background: none; border: 1px solid var(--line); }
.js .theme-toggle { display: grid; }
.theme-toggle svg { grid-area: 1 / 1; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.theme-toggle svg { transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out); }
.theme-moon { opacity: 0; transform: scale(.35) rotate(-35deg); }
html[data-theme="light"] .theme-sun { opacity: 0; transform: scale(.35) rotate(35deg); }
html[data-theme="light"] .theme-moon { opacity: 1; transform: scale(1) rotate(0); }
html[data-theme="light"] .brand img, html[data-theme="light"] .hero-current img { filter: brightness(.32); }
html[data-theme="light"] .gathering-project .project-sticker { color: #fff4fa; }
body, .site-header, .work-section { transition: background-color var(--motion-base) var(--ease-out), color var(--motion-base) var(--ease-out); }
.name-trigger { display: inline-block; border: 0; padding: 0; color: inherit; background: none; font: inherit; line-height: inherit; letter-spacing: inherit; cursor: pointer; text-align: left; text-decoration: none; }
.name-trigger:focus-visible { outline-offset: 8px; }
.name-trigger { transition: color var(--motion-base) var(--ease-out); }
.button, .theme-toggle, .case-toggle, .mark-trigger { transition: transform var(--motion-base) var(--ease-out), color var(--motion-base) var(--ease-out), background-color var(--motion-base) var(--ease-out), border-color var(--motion-base) var(--ease-out); }
.button:active, .theme-toggle:active { transform: scale(.97); }
.button span, .text-link span, .contact-link span, .project-title > span, .professional-project-title > span { display: inline-block; transition: transform var(--motion-fast) var(--ease-out); }

.case-toggle .vertical { transform-origin: center; transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out); }
.case-study[open] .case-toggle { color: var(--accent-ink); }
.personal-project figure { overflow: clip; }
.personal-project img, .professional-project img { transition: transform var(--motion-base) var(--ease-out); }

.project-sticker { transition: transform var(--motion-base) var(--ease-out); }

.page-progress { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 2px; background: var(--sky-ink); transform-origin: left; pointer-events: none; }
.mark-trigger { border: 0; padding: 10px; margin-right: -10px; color: inherit; background: none; cursor: pointer; }

.mark-trigger:disabled { cursor: default; transform: none; }
.secret-dialog { position: fixed; width: min(640px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 35px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.secret-dialog::backdrop { background: rgb(0 0 0 / .78); }
.secret-dialog[open] { animation: secret-arrive var(--motion-medium) var(--ease-out); }
.secret-dialog[open]::backdrop { animation: secret-backdrop var(--motion-fast) var(--ease-out); }
@keyframes secret-arrive { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes secret-backdrop { from { opacity: 0; } to { opacity: 1; } }
.secret-dialog h2 { font-size: clamp(32px, 6vw, 52px); margin-bottom: 20px; }
.secret-dialog p { color: var(--muted); font-size: 15px; }
.secret-dialog .section-label { color: var(--accent-ink); font-size: 12px; }
.dialog-close { display: grid; place-items: center; position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--ink); background: var(--bg); font-size: 28px; cursor: pointer; }
.garden-canvas { display: block; width: 100%; margin-block: 20px; aspect-ratio: 5 / 3; background: var(--bg); cursor: crosshair; touch-action: manipulation; }
.garden-canvas path { fill: none; stroke: var(--accent-ink); stroke-width: 1.5; }
.garden-canvas circle { fill: var(--pink); }
.garden-controls { display: flex; gap: 12px; flex-wrap: wrap; }
.garden-count { margin-top: 15px; }
.music-dialog > img { width: 100%; max-height: 300px; object-fit: cover; object-position: center; margin-block: 20px; }
.music-dialog > p:not(.section-label) { margin-bottom: 20px; }
.secret-notice { position: fixed; z-index: 40; right: 20px; bottom: 20px; max-width: min(400px, calc(100% - 40px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 15px 20px; font-size: 14px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out); }
.secret-notice.is-visible { opacity: 1; transform: translateY(0); }
.constellation-mode .hero, .constellation-mode .detail-hero { background-image: url('grain.svg'), url('constellation.svg'); background-size: cover; background-position: center; }
.constellation-mode .hero h1, .constellation-mode .detail-hero h1 { color: var(--pink); }
@media (hover: hover) and (pointer: fine) {
 .button:hover { transform: translateY(-2px); }
 .button:active, .theme-toggle:active { transform: scale(.97); }
 .theme-toggle:hover { border-color: var(--accent-ink); background: var(--surface); }
 .name-trigger:hover { color: var(--accent-ink); }
 .career-line a:hover { opacity: .7; }
 .case-study summary { transition: background-color var(--motion-base) var(--ease-out); }
 .case-study summary:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
 .case-study summary:hover .case-toggle, .case-study summary:focus-visible .case-toggle { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
 .button span, .text-link span, .contact-link span, .project-title > span, .professional-project-title > span { transition-duration: var(--motion-base); }
 .button:hover span, .text-link:hover span, .contact-link:hover span, .personal-project:hover .project-title > span, .professional-project:hover .professional-project-title > span { transform: translate(2px, -2px); }
 .hero .button:hover span { transform: translate(2px, 2px); }
 a[download]:hover span { transform: translateY(2px); }
 .professional-project:hover .brand-panel { border-color: var(--accent-ink); }
 .personal-project:hover img { transform: scale(1.018); }
 .professional-project:hover img { transform: translateY(-3px); }
 .personal-project:hover .project-sticker { transform: rotate(0); }
 .mark-trigger:hover { transform: translateY(-3px); }
}
@media (max-width: 960px) {
 .nav { flex-wrap: wrap; gap: 10px 14px; }
 .js .menu-toggle { display: block; order: 3; }
 .theme-toggle { order: 2; }
 .nav-links { order: 4; width: 100%; flex-wrap: wrap; padding-bottom: 15px; gap: 6px 24px; }
 .js .nav-links { display: none; }
 .js .nav-links.is-open { display: flex; }
}
@media (max-width: 760px) {
 .secret-dialog { padding: 60px 20px 25px; }
 .garden-controls .button { padding: 10px 15px; font-size: 14px; }
}

.project-capabilities { margin: 22px 0 12px; font-size: 13px; }
.project-capabilities > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding-block: 10px; border-top: 1px solid var(--line); }
.project-capabilities dt { color: var(--ink); font-weight: 600; }
.project-capabilities dd { margin: 0; color: var(--muted); }
.professional-project-domain { gap: 18px; color: var(--accent-ink); }
.professional-project-domain > span { display: inline-block; transition: transform var(--motion-base) var(--ease-out); }
#symbai, #overshoot, #gaias, #refinery { scroll-margin-top: 105px; }
@media (hover: hover) and (pointer: fine) {
 .professional-project:hover .professional-project-domain > span { transform: translate(2px, -2px); }
}
@media (max-width: 1100px) {
 .hero-inner { gap: 0 15px; padding-top: 50px; }
 .career-line .wrap { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
 .hero-inner { grid-template-columns: 1fr; padding-top: 35px; }
 .hero-copy { padding-bottom: 28px; }
 .career-line { padding-block: 26px; }
 .career-line ul { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
 .company-lockup { font-size: 16px; gap: 7px; }
 .company-wordmark { width: 112px; }
 .career-line li:last-child .company-wordmark { width: 98px; }
 .company-role { font-size: 11px; }
 .company-orb, .company-orb img { width: 25px; height: 25px; }
 .company-power { width: 23px; height: 23px; }
}
@media (max-width: 380px) {
 .company-lockup { font-size: 14px; }
}
/* Tactile surfaces and a restrained spectrum, shared by the portfolio pages. */
.personal, .about-section, .contact, .detail-hero, .detail-section { background-image: url('grain.svg'); }
.name-letters { display: inline-flex; }
.name-letters > span { display: inline-block; transition: transform var(--motion-medium) var(--ease-out), color var(--motion-medium) var(--ease-out); }
.name-letters > span:nth-child(2) { transition-delay: 30ms; }
.name-letters > span:nth-child(3) { transition-delay: 60ms; }
.name-letters > span:nth-child(4) { transition-delay: 90ms; }
.name-trigger:focus-visible .name-letters > span { transform: translateY(-5px); color: var(--accent-ink); }
.name-trigger:focus-visible .name-letters > span:nth-child(even) { transform: translateY(-9px); }
.name-trigger:focus-visible .name-letters > span:nth-child(2) { color: var(--sky-ink); }
.name-trigger:focus-visible .name-letters > span:nth-child(3) { color: var(--pink); }
.name-trigger:focus-visible .name-letters > span:nth-child(4) { color: var(--mint-ink); }
.name-arriving > span { animation: letter-arrive 600ms var(--ease-out) backwards; }
.name-arriving > span:nth-child(2) { animation-delay: 50ms; }
.name-arriving > span:nth-child(3) { animation-delay: 100ms; }
.name-arriving > span:nth-child(4) { animation-delay: 150ms; }
@keyframes letter-arrive { from { opacity: 0; transform: translateY(24px) rotate(2deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
.brand-panel::after { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid var(--accent-ink); border-radius: 50%; opacity: .12; top: -55%; right: -40%; pointer-events: none; transition: transform var(--motion-slow) var(--ease-out), opacity var(--motion-slow) var(--ease-out); }
.brand-panel img { position: relative; z-index: 1; }
.professional-project:focus-visible .brand-panel::after { transform: translate(-8%, 8%); opacity: .24; }
.professional-project:focus-visible .brand-panel { border-color: var(--sky-ink); }
#overshoot { --accent-ink: var(--sky-ink); }
#symbai { --accent-ink: var(--mint-ink); }
#gaias { --accent-ink: var(--pink); }
.professional-project:focus-visible img { transform: translateY(-3px); }
@media (hover: hover) and (pointer: fine) {
 .name-trigger:hover .name-letters > span { transform: translateY(-5px); }
 .name-trigger:hover .name-letters > span:nth-child(even) { transform: translateY(-9px); }
 .name-trigger:hover .name-letters > span:nth-child(2) { color: var(--sky-ink); }
 .name-trigger:hover .name-letters > span:nth-child(3) { color: var(--pink); }
 .name-trigger:hover .name-letters > span:nth-child(4) { color: var(--mint-ink); }
 .professional-project:hover .brand-panel::after { transform: translate(-8%, 8%); opacity: .24; }
}
@supports (animation-timeline: view()) {
 .personal-project figure { animation: image-settle linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
 @keyframes image-settle { from { transform: translateY(18px) rotate(-1deg); } to { transform: translateY(0) rotate(0); } }
}
@media (prefers-reduced-motion: reduce) {
 html, html:focus-within { scroll-behavior: auto; }
 *, *::before, *::after, *::backdrop { animation: none !important; transition: none !important; }
 .page-progress { display: none; }
}

/* Project brands keep their own visual identity within the portfolio. */
#noog { --accent-ink: var(--mint-ink); }
.brand-noog { background-color: #10160e; }
.professional-project .brand-noog img { width: 131px; height: 37px; max-height: none; }
.brand-note { position: absolute; bottom: 24px; left: 24px; color: #b7b7ae; font-size: 12px; z-index: 1; }
.personal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.cosmic-project { grid-column: span 2; }
.tea-project { grid-column: span 2; }
.tea-project figure { aspect-ratio: 2.15; background: #101211; }
.tea-project img { height: 100%; aspect-ratio: auto; object-fit: contain; padding: 40px; }
.personal-project .creative-brand { display: grid; place-items: center; background: #090909; aspect-ratio: 1; }
.cosmic-project .creative-brand { aspect-ratio: 2.15; background-image: url('grain.svg'); }
.personal-project .creative-brand img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.brand-cosmic img { padding: 16px 40px; }
.creative-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 12px; font-size: 13px; color: var(--pink); text-decoration: underline; }
.creative-link > span { transition: transform var(--motion-base) var(--ease-out); }
.publishing-note { display: grid; grid-template-columns: .8fr 1.4fr auto; gap: 32px; align-items: center; border-top: 1px solid var(--line); margin-top: 64px; padding-top: 32px; }
.publishing-note .section-label { font-size: 11px; margin-bottom: 8px; }
.publishing-note h3 { font-size: 26px; }
.publishing-note > p { color: var(--muted); font-size: 15px; }
.publishing-note .text-link { color: var(--pink); white-space: nowrap; }
.personal-project:focus-visible .creative-link > span { transform: translate(2px, -2px); }
@media (hover: hover) and (pointer: fine) {
 .personal-project:hover .creative-link > span { transform: translate(2px, -2px); }
}
@media (max-width: 1000px) {
 .personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
 .cosmic-project { grid-column: 1 / -1; }
 .tea-project { grid-column: auto; }
 .tea-project figure { aspect-ratio: 1; }
 .publishing-note { grid-template-columns: 1fr 1.5fr; }
 .publishing-note .text-link { grid-column: 2; }
}
@media (max-width: 700px) {
 .personal-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
 .cosmic-project { grid-column: auto; }
 .cosmic-project .creative-brand { aspect-ratio: 1.5; }
 .brand-cosmic img { padding: 12px; }
 .publishing-note { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; padding-top: 24px; }
 .publishing-note .text-link { grid-column: auto; }
 .brand-note { bottom: 16px; left: 16px; font-size: 11px; }
}
