:root {
  color-scheme: dark;
  --bg: #0b0f19;
  --bg-raised: #101622;
  --bg-soft: #131b29;
  --card: #111824;
  --card-hover: #162131;
  --ink: #edf2f7;
  --ink-soft: #bdc8d6;
  --muted: #8793a5;
  --line: #202b3a;
  --accent: #00c896;
  --accent-2: #38bdf8;
  --accent-wash: rgb(0 200 150 / 9%);
  --shadow: 0 24px 80px rgb(0 0 0 / 34%);
  --font-heading: "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "DM Mono", monospace;
  --container: 1180px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fa;
  --bg-raised: #edf2f7;
  --bg-soft: #e7edf4;
  --card: #fff;
  --card-hover: #f5f9fc;
  --ink: #101827;
  --ink-soft: #344254;
  --muted: #687789;
  --line: #dce4ed;
  --accent: #008f70;
  --accent-2: #087eaf;
  --accent-wash: rgb(0 143 112 / 8%);
  --shadow: 0 24px 80px rgb(22 42 65 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.75 var(--font-body); -webkit-font-smoothing: antialiased; transition: background .25s, color .25s; }
body::before { position: fixed; z-index: -1; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 1.5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 1.5%) 1px, transparent 1px); background-size: 64px 64px; content: ""; mask-image: linear-gradient(to bottom, #000 0, transparent 80%); pointer-events: none; }
html[data-theme="light"] body::before { background-image: linear-gradient(rgb(14 32 50 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(14 32 50 / 3%) 1px, transparent 1px); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
::selection { background: var(--accent); color: #06100d; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding-block: 116px; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-150%); background: var(--ink); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 22px; color: var(--accent); font: 500 10px/1.5 var(--font-mono); letter-spacing: 1.45px; }
.site-header { position: sticky; z-index: 15; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 87%, transparent); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 22px; }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; font: 800 14px var(--font-heading); letter-spacing: -.65px; text-decoration: none; }
.wordmark-mark { display: block; width: 40px; height: 40px; filter: drop-shadow(0 3px 10px rgb(0 200 150 / 13%)); transition: filter .2s, transform .2s; }
.wordmark:hover .wordmark-mark { transform: translateY(-1px); filter: drop-shadow(0 0 12px rgb(0 200 150 / 33%)); }
.wordmark-period { color: var(--accent); }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 2.2vw, 27px); }
.primary-nav a { color: var(--muted); font-size: 10px; font-weight: 600; text-decoration: none; transition: color .2s; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--accent); }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.theme-toggle { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .2s, background .2s; }
.theme-toggle:hover { border-color: var(--accent); background: var(--accent-wash); }
.theme-icon { width: 17px; height: 17px; fill: none; stroke: var(--ink-soft); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.theme-icon-dark { display: none; }
html[data-theme="light"] .theme-icon-light { display: none; }
html[data-theme="light"] .theme-icon-dark { display: block; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 18px; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 16px; }
.button-small { min-height: 36px; padding: 0 12px; gap: 9px; font-size: 9px; }
.button-primary { background: var(--accent); color: #07130f; }
.button-primary:hover { background: #22e4b5; }
.button-outline { border-color: var(--line); color: var(--ink); }
.button-outline:hover { border-color: var(--accent); background: var(--accent-wash); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding-block: 100px 102px; }
.hero::before { position: absolute; top: -220px; right: -170px; width: 690px; height: 690px; border-radius: 50%; background: radial-gradient(circle, rgb(0 200 150 / 10%), transparent 68%); content: ""; pointer-events: none; }
.hero::after { position: absolute; bottom: -210px; left: 8%; width: 470px; height: 410px; border-radius: 50%; background: radial-gradient(circle, rgb(56 189 248 / 6%), transparent 68%); content: ""; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 65px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(0 200 150 / 13%); vertical-align: 1px; }
.hero h1 { max-width: 710px; margin: 0; font: 700 clamp(46px, 6vw, 76px)/1.08 var(--font-heading); letter-spacing: -5px; }
.hero h1 span { color: var(--accent); }
.hero-intro { max-width: 575px; margin: 24px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.credential-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.credential-pills span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; background: rgb(255 255 255 / 2%); color: var(--ink-soft); font: 400 9px var(--font-mono); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 27px; }
.button-quiet { min-height: 49px; border-color: var(--line); color: var(--ink-soft); }
.button-quiet:hover { border-color: var(--accent); color: var(--accent); }
.hero-contact-link { padding: 10px 4px; color: var(--muted); font-size: 10px; font-weight: 600; text-decoration: none; }
.hero-contact-link:hover { color: var(--accent); }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 44px; color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: .9px; }
.note-line { width: 24px; height: 1px; background: var(--accent); }
.hero-portrait { position: relative; display: grid; min-height: 525px; place-items: center; }
.portrait-frame { position: relative; z-index: 2; width: min(100%, 405px); overflow: hidden; padding: 10px; border: 1px solid rgb(56 189 248 / 32%); border-radius: 13px; background: linear-gradient(145deg, rgb(56 189 248 / 14%), rgb(0 200 150 / 7%) 45%, var(--card) 100%); box-shadow: 0 0 0 1px rgb(0 200 150 / 16%), 0 0 52px rgb(0 200 150 / 10%), var(--shadow); }
.portrait-frame-top { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 7px 9px; color: var(--muted); font: 400 7px var(--font-mono); letter-spacing: .8px; }
.portrait-frame-top span:last-child { color: var(--accent); }
.portrait-frame-top i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--accent); }
.portrait-frame > img { display: block; width: 100%; height: 430px; border-radius: 7px; object-fit: cover; object-position: 50% 34%; }
.portrait-caption { display: flex; flex-direction: column; gap: 3px; padding: 12px 8px 5px; }
.portrait-caption > span { color: var(--muted); font: 400 7px var(--font-mono); letter-spacing: 1.3px; }
.portrait-caption strong { font: 600 12px var(--font-heading); }
.portrait-caption b { padding-inline: 4px; color: var(--accent); font-weight: 400; }
.portrait-orbit { position: absolute; border: 1px solid rgb(0 200 150 / 15%); border-radius: 50%; }
.orbit-a { width: 465px; height: 465px; }
.orbit-b { width: 535px; height: 535px; border-style: dashed; opacity: .55; }
.floating-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: color-mix(in srgb, var(--card) 91%, transparent); box-shadow: var(--shadow); color: var(--ink-soft); font: 400 7px var(--font-mono); letter-spacing: .6px; backdrop-filter: blur(10px); }
.label-icon { color: var(--accent); font-size: 14px; }
.label-chain { top: 14%; left: -6%; }
.label-build { right: -10%; bottom: 17%; }
.scroll-cue { position: absolute; bottom: 24px; left: max(32px, calc((100vw - var(--container)) / 2)); display: flex; align-items: center; gap: 10px; color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: 1.2px; text-decoration: none; }
.scroll-cue span { width: 22px; height: 1px; background: var(--accent); }

.signals { border-block: 1px solid var(--line); background: var(--bg-raised); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal { display: flex; min-height: 115px; flex-direction: column; justify-content: center; padding: 12px 24px; border-right: 1px solid var(--line); }
.signal:first-child { padding-left: 0; }
.signal:last-child { border-right: 0; }
.signal strong { font: 700 30px/1.2 var(--font-heading); letter-spacing: -1.8px; }
.signal strong span { color: var(--accent); }
.signal p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.signal p span { display: block; color: var(--ink-soft); font-size: 8px; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.section-heading h2 { margin: 0; font: 650 clamp(39px, 4.4vw, 56px)/1.15 var(--font-heading); letter-spacing: -3px; }
.section-heading h2 > span, .contact-copy h2 > span { color: var(--accent); }
.about-copy { max-width: 645px; }
.about-copy p { margin: 0 0 17px; color: var(--muted); font-size: 11px; line-height: 1.95; }
.about-copy .lead { margin: 0 0 19px; color: var(--ink-soft); font: 500 17px/1.65 var(--font-heading); letter-spacing: -.3px; }
.about-principle { margin: 25px 0 22px !important; padding: 14px 17px; border-left: 2px solid var(--accent); background: var(--accent-wash); color: var(--ink-soft) !important; font: 500 12px/1.75 var(--font-heading) !important; }
.about-principle span { display: block; margin-bottom: 3px; color: var(--accent); font: 400 8px var(--font-mono); letter-spacing: 1px; }
.about-links { display: flex; flex-wrap: wrap; gap: 25px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 10px; font-weight: 700; text-decoration: none; transition: color .2s; }
.text-link:hover { color: var(--accent); }

.skills-section { background: var(--bg-raised); }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 43px; }
.section-topline .section-heading .eyebrow { margin-bottom: 16px; }
.section-aside { max-width: 345px; margin: 0 0 4px; color: var(--muted); font-size: 10px; line-height: 1.9; }
.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.skill-card { align-self: start; border: 1px solid var(--line); border-radius: 6px; background: var(--card); transition: border-color .2s, background .2s, transform .2s; }
.skill-card:hover { border-color: rgb(0 200 150 / 45%); }
.skill-card[open] { border-color: rgb(0 200 150 / 44%); background: linear-gradient(145deg, var(--accent-wash), transparent 53%), var(--card); }
.skill-card summary { position: relative; display: flex; min-height: 164px; flex-direction: column; align-items: flex-start; padding: 22px; list-style: none; cursor: pointer; }
.skill-card summary::-webkit-details-marker { display: none; }
.skill-number { color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: .7px; }
.skill-icon { display: grid; width: 38px; height: 38px; margin: 13px 0 11px; place-items: center; border: 1px solid rgb(0 200 150 / 30%); border-radius: 5px; background: var(--accent-wash); color: var(--accent); font-size: 19px; }
.skill-title { font: 650 16px var(--font-heading); letter-spacing: -.5px; }
.skill-summary { margin-top: 5px; color: var(--muted); font-size: 9px; }
.skill-toggle { position: absolute; top: 19px; right: 20px; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 14px; transition: transform .2s, background .2s; }
.skill-card[open] .skill-toggle { transform: rotate(45deg); background: var(--accent-wash); }
.skill-details { padding: 0 22px 20px; animation: rise-in .22s ease-out; }
.skill-details ul { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; margin: 0; padding: 15px 0 16px; border-top: 1px solid var(--line); list-style: none; }
.skill-details li { position: relative; padding-left: 12px; color: var(--ink-soft); font-size: 9px; line-height: 1.6; }
.skill-details li::before { position: absolute; top: 8px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); content: ""; }
.skill-details p { margin: 0; color: var(--accent); font: 400 7px var(--font-mono); letter-spacing: .8px; }

.experience-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 95px; }
.experience-heading { position: sticky; top: 120px; }
.experience-heading .section-aside { margin-top: 20px; }
.timeline { border-left: 1px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 31px 27px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; top: 4px; left: -5px; width: 9px; height: 9px; border: 2px solid var(--bg); border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 1px var(--line); }
.timeline-current .timeline-dot { background: var(--accent); box-shadow: 0 0 0 3px rgb(0 200 150 / 15%); }
.timeline-meta { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; color: var(--muted); font: 400 7px var(--font-mono); letter-spacing: .9px; }
.timeline-item h3 { margin: 0; font: 650 15px/1.55 var(--font-heading); letter-spacing: -.35px; }
.timeline-item p { max-width: 510px; margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.85; }
.timeline-current h3 { color: var(--accent); }
.resume-cta { width: fit-content; margin: 24px 0 0 27px; }

.events-section { background: var(--bg-raised); }
.gallery-grid { display: grid; grid-template-columns: 1.07fr 1fr 1fr; grid-template-rows: repeat(2, minmax(218px, auto)); gap: 14px; }
.gallery-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink); text-align: left; cursor: zoom-in; transition: border-color .2s, transform .25s; }
.gallery-card:hover { transform: translateY(-3px); border-color: rgb(0 200 150 / 50%); }
.gallery-coming-soon { cursor: pointer; }
.gallery-coming-soon .image-placeholder { background: radial-gradient(ellipse at 50% 110%, rgb(56 189 248 / 12%), transparent 56%), linear-gradient(140deg, var(--bg-soft), var(--card)); }
.gallery-coming-soon .image-placeholder > span { color: var(--accent-2); }
.gallery-card-tall { grid-row: span 2; }
.gallery-card-wide { grid-column: 2 / 4; }
.gallery-image-frame { position: relative; display: block; min-height: 172px; flex: 1; overflow: hidden; background: linear-gradient(140deg, var(--bg-soft), var(--card)); }
.gallery-card-tall .gallery-image-frame { min-height: 365px; }
.gallery-card-wide .gallery-image-frame { min-height: 172px; }
.gallery-image-frame::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgb(6 11 18 / 24%)); content: ""; pointer-events: none; }
.gallery-image-frame img { display: block; width: 100%; height: 100%; min-height: inherit; position: absolute; inset: 0; opacity: 0; object-fit: cover; transition: opacity .25s, transform .55s cubic-bezier(.2, .7, .25, 1); }
.gallery-image-frame.image-loaded img { opacity: 1; }
.gallery-image-frame.image-loaded .image-placeholder { visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.gallery-image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.gallery-pair-shot { position: relative; min-width: 0; overflow: hidden; }
.gallery-image-pair .gallery-pair-shot img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 1; object-fit: cover; }
.gallery-pair-shot > span { position: absolute; z-index: 1; right: 8px; bottom: 8px; padding: 4px 6px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 2px; background: rgb(5 10 17 / 65%); color: #fff; font: 400 7px var(--font-mono); }
.gallery-image-pair .image-placeholder { display: none; }
.gallery-card:hover .gallery-image-frame img { transform: scale(1.055); }
.image-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; background: radial-gradient(ellipse at 50% 110%, rgb(0 200 150 / 13%), transparent 56%), linear-gradient(140deg, var(--bg-soft), var(--card)); color: var(--ink-soft); }
.image-placeholder::before, .image-placeholder::after { position: absolute; width: 220px; height: 220px; border: 1px solid rgb(0 200 150 / 14%); border-radius: 50%; content: ""; }
.image-placeholder::after { width: 300px; height: 300px; border-style: dashed; opacity: .5; }
.image-placeholder b, .image-placeholder > span { position: relative; z-index: 1; }
.image-placeholder b { color: var(--accent); font: 600 15px var(--font-mono); letter-spacing: 2px; }
.image-placeholder > span { color: var(--muted); font: 400 7px var(--font-mono); letter-spacing: 1.2px; }
.gallery-caption { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.gallery-caption > span:first-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.gallery-caption small { color: var(--accent); font: 400 7px var(--font-mono); letter-spacing: .8px; }
.gallery-caption strong { overflow: hidden; font: 600 10px var(--font-heading); text-overflow: ellipsis; white-space: nowrap; }
.gallery-year { flex: 0 0 auto; color: var(--muted); font: 400 7px var(--font-mono); }
.gallery-year i { margin-left: 5px; color: var(--accent); font-size: 11px; font-style: normal; }
.gallery-note { margin: 17px 0 0; color: var(--muted); font: 400 7px/1.8 var(--font-mono); letter-spacing: .55px; }
.lightbox { position: fixed; width: min(1000px, calc(100% - 36px)); max-width: none; max-height: min(90vh, 900px); overflow: visible; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgb(3 7 13 / 87%); backdrop-filter: blur(8px); }
.lightbox-close { position: absolute; z-index: 1; top: 19px; right: 19px; display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgb(255 255 255 / 35%); border-radius: 50%; background: rgb(4 9 16 / 72%); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.lightbox-image { display: block; width: 100%; max-height: calc(85vh - 95px); object-fit: contain; }
.lightbox-image[hidden], .lightbox-placeholder[hidden] { display: none; }
.lightbox-placeholder { display: grid; min-height: 300px; place-items: center; background: var(--bg-soft); color: var(--muted); font: 400 10px var(--font-mono); letter-spacing: 1px; }
.lightbox-caption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 7px 4px; }
.lightbox-caption > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.lightbox-caption small { color: var(--accent); font: 400 8px var(--font-mono); letter-spacing: .8px; }
.lightbox-caption strong { font: 600 13px var(--font-heading); }
.lightbox-year { align-self: center; color: var(--muted); font: 400 8px var(--font-mono); }

.projects-section { background: radial-gradient(ellipse at 90% 0%, rgb(0 200 150 / 5%), transparent 48%); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.project-card { align-self: start; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--card); transition: border-color .2s, transform .2s; }
.project-card:hover { transform: translateY(-3px); border-color: rgb(0 200 150 / 43%); }
.project-card[open] { border-color: rgb(0 200 150 / 44%); }
.project-card summary { display: flex; flex-direction: column; padding: 18px; list-style: none; cursor: pointer; }
.project-card summary::-webkit-details-marker { display: none; }
.project-index, .project-kind, .project-more { font: 400 7px var(--font-mono); letter-spacing: .85px; }
.project-index { color: var(--muted); }
.project-art { position: relative; display: flex; height: 130px; align-items: center; justify-content: center; overflow: hidden; margin: 15px 0 16px; border: 1px solid var(--line); border-radius: 4px; background: radial-gradient(ellipse at 50% 100%, rgb(0 200 150 / 14%), transparent 68%), var(--bg-raised); color: var(--accent); }
.art-market { align-items: end; gap: 11px; padding-bottom: 27px; }
.art-market i { z-index: 1; width: 9%; height: 35%; border: 1px solid rgb(0 200 150 / 42%); border-radius: 2px 2px 0 0; background: linear-gradient(0deg, rgb(0 200 150 / 22%), rgb(0 200 150 / 5%)); }
.art-market i:nth-child(2) { height: 59%; }.art-market i:nth-child(3) { height: 46%; }.art-market i:nth-child(4) { height: 78%; }.art-market i:nth-child(5) { height: 66%; }
.art-market b, .art-chain b { position: absolute; bottom: 10px; color: var(--muted); font: 400 6px var(--font-mono); letter-spacing: 1px; }
.art-build { flex-direction: column; gap: 12px; color: var(--accent-2); }
.art-build > b { font: 600 40px var(--font-mono); }
.art-build > i { color: var(--muted); font: 400 7px var(--font-mono); font-style: normal; letter-spacing: 1px; }
.art-build > i span { padding-inline: 5px; color: var(--accent); }
.art-chain { flex-direction: column; gap: 16px; background: radial-gradient(ellipse at 50% 50%, rgb(56 189 248 / 10%), transparent 65%), var(--bg-raised); color: var(--accent-2); }
.art-chain > span { font-size: 15px; letter-spacing: 4px; }
.project-kind { color: var(--accent); }
.project-title { margin-top: 9px; font: 650 15px/1.5 var(--font-heading); letter-spacing: -.4px; }
.project-desc { margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.8; }
.project-more { display: flex; justify-content: space-between; margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.project-more b { color: var(--accent); font: 400 14px var(--font-body); transition: transform .2s; }
.project-card[open] .project-more b { transform: rotate(45deg); }
.project-expanded { padding: 0 18px 17px; animation: rise-in .22s ease-out; }
.project-expanded p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.9; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.project-tags span { padding: 4px 6px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-soft); font: 400 6px var(--font-mono); letter-spacing: .4px; }
.project-note { margin: 15px 0 0; color: var(--muted); font-size: 8px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.education-section { padding-block: 61px; border-block: 1px solid var(--line); background: var(--bg-raised); }
.education-grid { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); align-items: center; gap: 24px; }
.education-grid > div:first-child .eyebrow { margin-bottom: 12px; }
.education-grid > div:first-child h2 { margin: 0; font: 650 25px/1.35 var(--font-heading); letter-spacing: -1px; }
.education-grid > div:first-child h2 span { color: var(--accent); }
.education-entry { display: flex; min-height: 70px; gap: 12px; padding-left: 15px; border-left: 1px solid var(--line); }
.education-entry > span { color: var(--accent); font: 400 8px var(--font-mono); }
.education-entry h3 { margin: 0; font: 600 10px/1.6 var(--font-heading); }
.education-entry p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.7; }

.contact-section { background: radial-gradient(ellipse at 0% 100%, rgb(56 189 248 / 5%), transparent 48%); }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; }
.contact-copy h2 { margin: 0; font: 700 clamp(39px, 4.6vw, 58px)/1.14 var(--font-heading); letter-spacing: -3.3px; }
.contact-copy > p:not(.eyebrow) { max-width: 440px; margin: 20px 0; color: var(--muted); font-size: 10px; line-height: 1.9; }
.contact-copy > .community-proof { margin-top: 22px; padding: 13px 15px; border-left: 2px solid var(--accent); background: var(--accent-wash); color: var(--ink-soft); font-size: 10px; }
.contact-email { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid rgb(0 200 150 / 48%); font: 600 13px var(--font-heading); text-decoration: none; }
.contact-email span { color: var(--accent); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 19px; margin-top: 19px; }
.social-links a { color: var(--ink-soft); font-size: 9px; font-weight: 600; text-decoration: none; }
.social-links a:hover { color: var(--accent); }
.social-links span { color: var(--accent); }
.contact-form { padding: 25px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row label { color: var(--ink-soft); font-size: 9px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; outline: none; background: var(--bg-raised); color: var(--ink); font-size: 10px; }
.form-row textarea { min-height: 88px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-wash); }
.form-row select:invalid { color: var(--muted); }
.form-submit { width: 100%; }
.form-note { margin: 9px 0 0; color: var(--muted); font-size: 8px; text-align: center; }

.site-footer { padding-block: 21px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner > p, .back-top, .footer-copyright { color: var(--muted); font: 400 7px var(--font-mono); letter-spacing: .55px; }
.footer-inner > p { margin: 0; }
.back-top { text-decoration: none; }
.back-top span { margin-left: 5px; color: var(--accent); font-size: 12px; }

@media (min-width: 1500px) { .hero { padding-block: 128px 116px; } }
@media (max-width: 1060px) {
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 9px; }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: clamp(48px, 6vw, 66px); }
  .portrait-frame { width: min(100%, 370px); }
  .portrait-frame > img { height: 390px; }
  .hero-portrait { min-height: 490px; }
  .orbit-a { width: 420px; height: 420px; }.orbit-b { width: 475px; height: 475px; }
  .about-grid, .experience-grid { gap: 58px; }
  .education-grid { grid-template-columns: repeat(3, 1fr); }
  .education-grid > div:first-child { grid-column: 1 / -1; }
  .education-grid > div:first-child h2 br { display: none; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 40px, var(--container)); }
  .section-pad { padding-block: 78px; }
  .nav-wrap { min-height: 66px; }
  .menu-toggle { display: flex; width: 36px; height: 36px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; order: 3; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .button-small { min-height: 34px; padding-inline: 9px; font-size: 8px; }
  .primary-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 10px 0; font-size: 11px; }
  .hero { padding-block: 69px 83px; }
  .hero-grid { grid-template-columns: 1fr; gap: 19px; }
  .hero h1 { max-width: 640px; font-size: clamp(43px, 9vw, 68px); letter-spacing: -3.5px; }
  .hero-intro { max-width: 540px; font-size: 12px; }
  .hero-note { margin-top: 30px; font-size: 7px; }
  .hero-portrait { min-height: 485px; margin-top: 4px; }
  .portrait-frame { width: min(100% - 25px, 385px); }
  .portrait-frame > img { height: 390px; }
  .orbit-a { width: min(420px, 108vw); height: min(420px, 108vw); }
  .orbit-b { width: min(480px, 118vw); height: min(480px, 118vw); }
  .label-chain { top: 12%; left: -1%; }
  .label-build { right: -1%; bottom: 14%; }
  .scroll-cue { left: 20px; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal { min-height: 94px; padding-inline: 16px; }
  .signal:first-child { padding-left: 0; }
  .signal:nth-child(2) { border-right: 0; }
  .signal:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .signal strong { font-size: 26px; }
  .about-grid, .experience-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-heading h2 { font-size: clamp(37px, 8vw, 52px); }
  .about-copy .lead { font-size: 15px; }
  .section-topline { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 29px; }
  .section-aside { max-width: 475px; }
  .experience-heading { position: static; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(200px, auto)); }
  .gallery-card-tall { grid-row: span 2; }
  .gallery-card-wide { grid-column: 1 / 3; }
  .gallery-image-frame { min-height: 156px; }
  .gallery-card-tall .gallery-image-frame { min-height: 335px; }
  .gallery-card-wide .gallery-image-frame { min-height: 160px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card summary { display: grid; grid-template-columns: 1fr; }
  .project-art { height: 160px; }
  .education-grid { grid-template-columns: 1fr; gap: 22px; }
  .education-grid > div:first-child { grid-column: auto; }
  .education-grid > div:first-child h2 { font-size: 24px; }
  .education-entry { min-height: 50px; }
  .contact-grid { gap: 28px; }
}
@media (max-width: 470px) {
  .container { width: calc(100% - 34px); }
  .wordmark { gap: 7px; font-size: 12px; }
  .wordmark-mark { width: 38px; height: 38px; }
  .nav-wrap { gap: 9px; }
  .header-actions { gap: 7px; }
  .theme-toggle { width: 32px; height: 32px; }
  .button-small { padding-inline: 7px; font-size: 7px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(40px, 10.2vw, 52px); letter-spacing: -2.8px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 43px; gap: 9px; padding-inline: 12px; font-size: 9px; }
  .hero-contact-link { padding-inline: 2px; font-size: 9px; }
  .hero-portrait { min-height: 430px; }
  .portrait-frame > img { height: 335px; }
  .floating-label { padding: 8px; font-size: 6px; }
  .orbit-a { width: 350px; height: 350px; }.orbit-b { width: 410px; height: 410px; }
  .signal { padding-inline: 11px; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-card summary { min-height: 151px; }
  .skill-details ul { grid-template-columns: 1fr; gap: 7px; }
  .timeline-item { padding-left: 20px; }
  .timeline-meta { flex-wrap: wrap; font-size: 6px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-card-tall, .gallery-card-wide { grid-row: auto; grid-column: auto; }
  .gallery-image-frame, .gallery-card-tall .gallery-image-frame, .gallery-card-wide .gallery-image-frame { min-height: 220px; }
  .contact-form { padding: 20px 16px; }
  .contact-copy h2 { font-size: 40px; letter-spacing: -2.4px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
  .menu-toggle, .theme-toggle { min-width: 44px; min-height: 44px; }
  .primary-nav {
    top: calc(65px + env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 65px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    padding-bottom: max(18px, env(safe-area-inset-bottom, 0px));
    box-shadow: 0 18px 30px rgb(0 0 0 / 18%);
  }
  .primary-nav a { display: flex; min-height: 48px; align-items: center; font-size: 13px; }
  .hero-intro { font-size: 14px; }
  .hero-actions .button { min-height: 48px; font-size: 11px; }
  .signal p { font-size: 11px; }
  .about-copy p { font-size: 14px; }
  .about-copy .lead { font-size: 16px; }
  .about-principle { font-size: 14px !important; }
  .section-aside { font-size: 13px; }
  .skill-card summary { min-height: 160px; }
  .skill-title { font-size: 17px; }
  .skill-summary, .skill-details li { font-size: 12px; }
  .skill-details p { font-size: 8px; }
  .timeline-meta { font-size: 8px; }
  .timeline-item h3 { font-size: 16px; }
  .timeline-item p { font-size: 13px; }
  .resume-cta { min-height: 48px; margin-left: 20px; }
  .gallery-caption { min-height: 72px; }
  .gallery-caption small { font-size: 8px; }
  .gallery-caption strong { font-size: 12px; }
  .gallery-year { font-size: 9px; }
  .gallery-note, .project-note { font-size: 10px; }
  .project-title { font-size: 17px; }
  .project-desc, .project-expanded p { font-size: 12px; }
  .education-entry h3 { font-size: 13px; }
  .education-entry p { font-size: 11px; }
  .contact-copy > p:not(.eyebrow) { font-size: 14px; }
  .contact-copy > .community-proof { font-size: 13px; }
  .form-row label { font-size: 12px; }
  .form-row input, .form-row select, .form-row textarea { min-height: 48px; padding: 10px 12px; font-size: 16px; }
  .form-row textarea { min-height: 120px; }
  .form-note { font-size: 11px; }
  .social-links { gap: 22px; }
  .social-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; }
  .footer-inner > p, .back-top, .footer-copyright { font-size: 9px; }
}
@media (max-width: 470px) {
  .container { width: calc(100% - 34px); }
  .section-pad { padding-block: 64px; }
  .nav-wrap { gap: 7px; }
  .theme-toggle, .menu-toggle { width: 44px; height: 44px; flex-basis: 44px; }
  .header-actions { gap: 5px; }
  .hero { padding-top: 54px; padding-bottom: 73px; }
  .hero h1 { font-size: clamp(39px, 10.2vw, 51px); letter-spacing: -2.7px; }
  .hero-actions .button { min-height: 48px; gap: 9px; padding-inline: 12px; font-size: 10px; }
  .hero-contact-link { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 8px; font-size: 11px; }
  .signal { padding-inline: 11px; }
  .signal strong { font-size: 26px; }
  .signal p { font-size: 11px; }
  .about-copy p { font-size: 14px; }
  .about-links { gap: 12px 22px; }
  .text-link { min-height: 44px; font-size: 12px; }
  .skill-card summary { min-height: 154px; padding: 19px; }
  .skill-details { padding-inline: 19px; }
  .skill-details ul { grid-template-columns: 1fr; }
  .timeline-meta { gap: 7px 12px; font-size: 7px; }
  .timeline-item p { font-size: 13px; }
  .gallery-grid { gap: 12px; }
  .gallery-image-frame, .gallery-card-tall .gallery-image-frame, .gallery-card-wide .gallery-image-frame { min-height: 220px; }
  .gallery-caption { padding-inline: 12px; }
  .contact-form { padding: 20px 16px; }
  .contact-copy h2 { font-size: 40px; letter-spacing: -2.4px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  .nav-wrap { gap: 5px; }
  .wordmark { gap: 6px; font-size: 11px; }
  .wordmark-mark { width: 36px; height: 36px; }
  .header-actions { gap: 3px; }
  .theme-toggle, .menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  .hero h1 { font-size: 38px; letter-spacing: -2.5px; }
  .credential-pills { gap: 6px; }
  .credential-pills span { padding: 6px 8px; font-size: 8px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-contact-link { justify-content: center; }
  .signal { padding-inline: 9px; }
  .signal strong { font-size: 24px; }
  .signal p { font-size: 10px; }
  .contact-copy h2 { font-size: 36px; }
}
