:root {
    --bg: #07090f;
    --bg-soft: #0d1019;
    --surface: rgba(17, 21, 32, 0.76);
    --surface-solid: #111520;
    --surface-raised: #171c29;
    --text: #f3f4ef;
    --muted: #949bab;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.22);
    --green: #78f0bd;
    --violet: #9d8cff;
    --orange: #ffab73;
    --cyan: #66d9ff;
    --yellow: #f7df72;
    --pink: #ff8fc9;
    --red: #ff7b7b;
    --blue: #75a7ff;
    --header-bg: rgba(7, 9, 15, 0.72);
    --shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
    --serif: "Instrument Serif", Georgia, serif;
    --sans: "Space Grotesk", system-ui, sans-serif;
    color-scheme: dark;
}

[data-theme="light"] {
    --bg: #f1f0ea;
    --bg-soft: #e8e7e0;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: #faf9f4;
    --surface-raised: #ffffff;
    --text: #10131a;
    --muted: #616875;
    --line: rgba(16, 19, 26, 0.12);
    --line-strong: rgba(16, 19, 26, 0.22);
    --green: #087f5b;
    --violet: #6956d9;
    --orange: #b7521d;
    --cyan: #087a9c;
    --yellow: #997000;
    --pink: #b63776;
    --red: #bd3d3d;
    --blue: #315fb2;
    --header-bg: rgba(241, 240, 234, 0.78);
    --shadow: 0 35px 90px rgba(42, 45, 53, 0.15);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    transition: background-color 260ms ease, color 260ms ease;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

p, h1, h2, h3, figure, ul {
    margin-top: 0;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

::selection {
    background: var(--green);
    color: #07090f;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    border: 2px solid var(--bg);
    border-radius: 999px;
    background: var(--muted);
}

.shell {
    width: min(1320px, calc(100% - 72px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 999;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--green);
    color: #07090f;
    font-size: 0.78rem;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 90;
    opacity: 0.035;
    pointer-events: none;
    background-image:
        repeating-radial-gradient(circle at 17% 32%, transparent 0, rgba(255,255,255,.7) 1px, transparent 2px, transparent 4px),
        repeating-radial-gradient(circle at 83% 67%, transparent 0, rgba(255,255,255,.5) 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px, 9px 9px;
    mix-blend-mode: soft-light;
}

.pointer-glow {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    opacity: 0.16;
    pointer-events: none;
    background: radial-gradient(circle, var(--violet) 0, transparent 68%);
    transform: translate3d(calc(var(--pointer-x, 50vw) - 50%), calc(var(--pointer-y, 50vh) - 50%), 0);
    filter: blur(20px);
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 2px;
    background: transparent;
}

.scroll-progress span {
    display: block;
    width: var(--scroll-progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, var(--violet), var(--green), var(--yellow));
    box-shadow: 0 0 14px var(--green);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    border-bottom: 1px solid transparent;
    background: var(--header-bg);
    backdrop-filter: blur(24px) saturate(150%);
    transition: border-color 200ms ease, transform 240ms ease;
}

.site-header.scrolled {
    border-color: var(--line);
}

.nav-wrap {
    min-height: 86px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.brand {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand i {
    position: absolute;
    top: 4px;
    right: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px var(--green);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.site-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.72rem;
    transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a span {
    color: var(--green);
    font-size: 0.56rem;
    opacity: 0.7;
}

.site-nav a b {
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--surface-raised);
    color: var(--text);
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-picker {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.language-picker button,
.theme-toggle,
.menu-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.language-picker button {
    min-width: 34px;
    padding: 6px 7px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.language-picker button[aria-pressed="true"] {
    background: var(--text);
    color: var(--bg);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.theme-icon {
    width: 14px;
    height: 14px;
    display: block;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: linear-gradient(90deg, currentColor 50%, transparent 50%);
    transform: rotate(-25deg);
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.signal-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.48;
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
    opacity: 0.22;
}

.hero-aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.26;
    pointer-events: none;
}

.aura-one {
    width: 600px;
    height: 600px;
    top: 5%;
    right: -10%;
    background: radial-gradient(circle, var(--violet), transparent 68%);
    animation: auraDrift 11s ease-in-out infinite alternate;
}

.aura-two {
    width: 420px;
    height: 420px;
    bottom: -15%;
    left: 15%;
    background: radial-gradient(circle, var(--green), transparent 70%);
    animation: auraDrift 9s ease-in-out -4s infinite alternate-reverse;
}

.hero-shell {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
    align-items: center;
    gap: clamp(70px, 9vw, 150px);
    position: relative;
    padding-top: 140px;
    padding-bottom: 90px;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero-status {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 38px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 45%, transparent);
    animation: statusPulse 2s infinite;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--green);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.45;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 34px;
    font-size: clamp(4.7rem, 8.4vw, 9rem);
    line-height: 0.78;
    letter-spacing: -0.075em;
}

.hero h1 span,
.hero h1 em {
    display: block;
}

.hero h1 span {
    font-family: var(--sans);
    font-size: 0.55em;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.hero h1 em {
    width: fit-content;
    font-family: var(--serif);
    font-weight: 400;
    background: linear-gradient(110deg, var(--text) 5%, var(--green) 44%, var(--cyan) 70%, var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 38px;
    color: var(--muted);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 12px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 700;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button i,
.project-link i,
.inline-arrow i,
.email-link i {
    font-style: normal;
}

.button-primary {
    border-color: var(--green);
    background: var(--green);
    color: #07100d;
    box-shadow: 0 14px 45px color-mix(in srgb, var(--green) 22%, transparent);
}

.button-ghost {
    background: var(--surface);
}

.button-ghost:hover {
    border-color: var(--green);
    color: var(--green);
}

.hero-disciplines {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 54px;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.63rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-disciplines span::before {
    content: "/";
    margin-right: 10px;
    color: var(--green);
}

.portrait-stage {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    margin-inline: auto;
    perspective: 1200px;
}

.portrait-card {
    position: relative;
    z-index: 3;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
    transition: transform 140ms linear;
    backdrop-filter: blur(14px);
}

.portrait-topline,
.portrait-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
}

.portrait-topline {
    padding: 4px 5px 12px;
}

.live-mark {
    display: flex;
    align-items: center;
    gap: 7px;
}

.live-mark i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}

.portrait-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 19px;
    background: var(--surface-raised);
}

.portrait-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(7, 9, 15, 0.68), transparent 42%),
        linear-gradient(110deg, transparent 35%, rgba(120, 240, 189, 0.08));
    pointer-events: none;
}

.portrait-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) contrast(1.05);
}

.image-scan {
    position: absolute;
    z-index: 2;
    inset: -30% 0 auto;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(120,240,189,.12), transparent);
    animation: imageScan 5s linear infinite;
}

.portrait-caption {
    padding: 13px 5px 3px;
}

.portrait-caption p {
    margin-bottom: 0;
}

.orbit {
    position: absolute;
    z-index: 1;
    inset: 50%;
    border: 1px solid var(--line);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 18px var(--green);
}

.orbit-one {
    width: 118%;
    height: 118%;
    animation: orbitSpin 16s linear infinite;
}

.orbit-two {
    width: 137%;
    height: 137%;
    border-style: dashed;
    animation: orbitSpin 28s linear reverse infinite;
}

.floating-note {
    position: absolute;
    z-index: 5;
    min-width: 150px;
    padding: 13px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
    backdrop-filter: blur(20px);
    transition: transform 140ms linear;
}

.floating-note span,
.floating-note small {
    display: block;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
}

.floating-note strong {
    display: block;
    margin: 5px 0 3px;
    font-size: 0.74rem;
}

.note-one {
    top: 14%;
    left: -22%;
}

.note-two {
    right: -24%;
    bottom: 12%;
}

.scroll-cue {
    position: absolute;
    right: 0;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-cue i {
    width: 32px;
    height: 32px;
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
}

.scroll-cue i::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 2px;
    height: 8px;
    border-radius: 2px;
    background: var(--green);
    transform: translateX(-50%);
    animation: scrollDrop 1.6s ease-in-out infinite;
}

.kinetic-strip {
    overflow: hidden;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    background: var(--green);
    color: #07100d;
}

.kinetic-strip > div {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 24px;
    animation: marquee 28s linear infinite;
}

.kinetic-strip span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.kinetic-strip i {
    font-style: normal;
}

.section {
    position: relative;
    padding: clamp(105px, 11vw, 170px) 0;
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    align-items: end;
    gap: 30px;
    margin-bottom: clamp(70px, 9vw, 125px);
}

.section-heading .eyebrow {
    margin-bottom: 12px;
}

.section-heading h2,
.recognition-heading h2,
.contact-main h2 {
    margin-bottom: 0;
    font-family: var(--serif);
    font-size: clamp(3.7rem, 7vw, 7.5rem);
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.045em;
}

.section-code {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
    color: var(--green);
    font-family: monospace;
    font-size: 0.62rem;
}

.section-code i,
.contact-index i {
    width: 34px;
    height: 1px;
    display: block;
    background: currentColor;
}

.section-aside {
    margin-bottom: 0;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.57rem;
    line-height: 1.7;
    letter-spacing: 0.11em;
    text-align: right;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(70px, 10vw, 145px);
    align-items: start;
}

.about-sticky {
    position: sticky;
    top: 140px;
}

.about-statement {
    margin-bottom: 42px;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.2vw, 3.25rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.inline-arrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 700;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bento-card {
    --spotlight-color: rgba(120, 240, 189, 0.13);
    min-height: 320px;
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background:
        radial-gradient(500px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), var(--spotlight-color), transparent 42%),
        var(--surface);
    transition: border-color 200ms ease, transform 200ms ease;
}

.bento-card:hover {
    border-color: var(--line-strong);
}

.focus-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.focus-card:first-child,
.focus-card:last-child {
    grid-column: span 2;
    min-height: 360px;
}

.bento-index,
.panel-label {
    position: absolute;
    top: 26px;
    left: 30px;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.focus-card h3 {
    max-width: 520px;
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
}

.focus-card p {
    max-width: 500px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.card-green { --spotlight-color: rgba(120, 240, 189, 0.18); }
.card-violet { --spotlight-color: rgba(157, 140, 255, 0.18); }
.card-orange { --spotlight-color: rgba(255, 171, 115, 0.16); }

.card-orb {
    position: absolute;
    top: -90px;
    right: -70px;
    width: 280px;
    height: 280px;
    border: 1px solid color-mix(in srgb, var(--green) 45%, transparent);
    border-radius: 50%;
    box-shadow: inset 0 0 90px color-mix(in srgb, var(--green) 12%, transparent);
}

.card-orb::before,
.card-orb::after {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px dashed color-mix(in srgb, var(--green) 38%, transparent);
    border-radius: 50%;
    animation: ringSpin 22s linear infinite;
}

.card-orb::after {
    inset: 62px;
    border-style: solid;
    animation-direction: reverse;
}

.signal-lines {
    position: absolute;
    right: 32px;
    bottom: 36px;
    width: 210px;
    height: 80px;
    display: flex;
    align-items: end;
    gap: 12px;
    opacity: 0.58;
}

.signal-lines i {
    width: 1px;
    flex: 1;
    background: var(--green);
    animation: signalBars 2.4s ease-in-out infinite alternate;
}

.signal-lines i:nth-child(1) { height: 22%; }
.signal-lines i:nth-child(2) { height: 75%; animation-delay: -.6s; }
.signal-lines i:nth-child(3) { height: 42%; animation-delay: -1.2s; }
.signal-lines i:nth-child(4) { height: 100%; animation-delay: -1.8s; }

.metric-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.metric-card strong {
    font-family: var(--serif);
    font-size: clamp(5rem, 9vw, 8rem);
    font-weight: 400;
    line-height: 0.7;
    color: var(--green);
}

.metric-card p {
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 0.75rem;
}

.metric-wide {
    --spotlight-color: rgba(102, 217, 255, 0.15);
}

.language-bars {
    position: absolute;
    right: 26px;
    bottom: 28px;
    width: 55px;
    display: grid;
    gap: 7px;
}

.language-bars i {
    height: 3px;
    border-radius: 999px;
    background: var(--cyan);
}

.language-bars i:nth-child(2) { width: 70%; }
.language-bars i:nth-child(3) { width: 40%; }

.vision-grid {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 128px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.vision-grid i {
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--violet) 52%, transparent);
    border-radius: 5px;
    animation: visionPulse 3s ease-in-out infinite;
}

.vision-grid i:nth-child(5) {
    background: color-mix(in srgb, var(--violet) 45%, transparent);
    box-shadow: 0 0 18px var(--violet);
}

.code-rain {
    position: absolute;
    top: 26px;
    right: 30px;
    display: flex;
    gap: 8px;
    color: var(--orange);
    font-family: monospace;
    font-size: 0.62rem;
    writing-mode: vertical-rl;
    opacity: 0.6;
}

.experience-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1.48fr);
    gap: clamp(60px, 8vw, 110px);
    align-items: start;
}

.education-panel {
    --spotlight-color: rgba(157, 140, 255, 0.16);
    min-height: 520px;
    position: sticky;
    top: 120px;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(420px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), var(--spotlight-color), transparent 45%),
        linear-gradient(145deg, var(--surface-raised), var(--surface));
}

.education-sigil {
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
    position: relative;
    margin: 55px auto 65px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 2.8rem;
}

.education-sigil::before,
.education-sigil::after,
.education-sigil i {
    content: "";
    position: absolute;
    border: 1px dashed var(--line-strong);
    border-radius: 50%;
}

.education-sigil::before { inset: -18px; animation: ringSpin 20s linear infinite; }
.education-sigil::after { inset: 16px; animation: ringSpin 15s linear reverse infinite; }
.education-sigil i { inset: 50%; width: 7px; height: 7px; border: 0; background: var(--violet); box-shadow: 0 0 18px var(--violet); }

.education-panel h3 {
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.02;
}

.education-panel > p {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.8rem;
}

.education-panel time {
    color: var(--green);
    font-family: monospace;
    font-size: 0.68rem;
}

.panel-coordinate {
    position: absolute;
    right: 28px;
    bottom: 26px;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.52rem;
    line-height: 1.6;
    text-align: right;
}

.timeline {
    position: relative;
}

.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 23px;
    width: 1px;
    background: var(--line);
}

.timeline-track span {
    display: block;
    width: 100%;
    height: var(--timeline-progress, 0%);
    background: linear-gradient(to bottom, var(--green), var(--violet));
    box-shadow: 0 0 12px var(--green);
}

.timeline-item {
    display: grid;
    grid-template-columns: 48px minmax(150px, 0.38fr) 1fr;
    gap: 25px;
    position: relative;
    padding: 0 0 68px;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--bg);
    color: var(--muted);
    font-family: monospace;
    font-size: 0.55rem;
    transition: border-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.timeline-item.is-visible .timeline-marker {
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 24px color-mix(in srgb, var(--green) 20%, transparent);
}

.timeline-meta time,
.timeline-meta > span {
    display: block;
}

.timeline-meta time {
    margin: 4px 0 9px;
    font-size: 0.69rem;
    font-weight: 600;
    line-height: 1.55;
}

.timeline-meta > span {
    color: var(--green);
    font-family: monospace;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.timeline-content {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.timeline-content h3 {
    margin-bottom: 4px;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    font-weight: 400;
    line-height: 1.05;
}

.timeline-content .company {
    margin-bottom: 14px;
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
}

.timeline-content > p:last-child {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.section-projects {
    overflow: hidden;
    background: var(--bg-soft);
}

.project-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 34px;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.project-filters button {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.67rem;
    font-weight: 700;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.project-filters button:hover,
.project-filters button.active {
    border-color: var(--green);
    background: var(--green);
    color: #07100d;
}

.project-toolbar > p {
    margin-bottom: 0;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-toolbar > p span:first-child {
    color: var(--green);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.project-card {
    --project-color: var(--green);
    --spotlight-color: color-mix(in srgb, var(--project-color) 16%, transparent);
    min-height: 680px;
    display: grid;
    grid-template-rows: 270px 1fr;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(650px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), var(--spotlight-color), transparent 40%),
        var(--surface-solid);
    transform-style: preserve-3d;
    transition: opacity 350ms ease, transform 260ms ease, border-color 220ms ease;
}

.js .project-card.reveal.is-visible {
    transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.project-card:hover {
    border-color: color-mix(in srgb, var(--project-color) 55%, var(--line));
}

.project-card.is-filtered {
    display: none;
}

.project-green { --project-color: var(--green); }
.project-violet { --project-color: var(--violet); }
.project-blue { --project-color: var(--blue); }
.project-orange { --project-color: var(--orange); }
.project-yellow { --project-color: var(--yellow); }
.project-cyan { --project-color: var(--cyan); }
.project-pink { --project-color: var(--pink); }
.project-red { --project-color: var(--red); }

.project-visual {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        linear-gradient(135deg, color-mix(in srgb, var(--project-color) 13%, transparent), transparent 62%);
    background-size: 42px 42px, 42px 42px, 100% 100%;
}

.project-visual > span {
    position: absolute;
    top: 22px;
    left: 24px;
    color: var(--project-color);
    font-family: monospace;
    font-size: 0.65rem;
}

.project-visual > b {
    position: absolute;
    right: 22px;
    bottom: 18px;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
}

.project-body {
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.project-topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.53rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-topline span:first-child {
    color: var(--project-color);
}

.project-card h3 {
    max-width: 600px;
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: clamp(2.1rem, 3.6vw, 3.5rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.project-body > p {
    max-width: 590px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 0.84rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: auto 0 25px;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.61rem;
    font-weight: 600;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.7rem;
    font-weight: 700;
    transition: color 180ms ease;
}

.project-link:hover {
    color: var(--project-color);
}

.radar {
    position: absolute;
    width: 150px;
    height: 150px;
    inset: 50%;
    border: 1px solid color-mix(in srgb, var(--project-color) 58%, transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radar::before,
.radar::after {
    content: "";
    position: absolute;
    inset: 25px;
    border: 1px solid color-mix(in srgb, var(--project-color) 36%, transparent);
    border-radius: 50%;
}

.radar::after { inset: 55px; }
.radar i:first-child { position: absolute; inset: 50% auto auto 50%; width: 47%; height: 1px; background: var(--project-color); transform-origin: left; animation: radarSweep 4s linear infinite; }
.radar i:nth-child(2), .radar i:nth-child(3) { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--project-color); box-shadow: 0 0 14px var(--project-color); }
.radar i:nth-child(2) { top: 32%; right: 19%; }
.radar i:nth-child(3) { bottom: 24%; left: 29%; }

.flight-path i,
.forecast-wave i,
.energy-chart i,
.timeseries i {
    position: absolute;
    display: block;
    background: var(--project-color);
}

.flight-path i:first-child { width: 220px; height: 1px; left: 19%; top: 54%; transform: rotate(-14deg); }
.flight-path i:nth-child(2), .flight-path i:nth-child(3) { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 20px var(--project-color); }
.flight-path i:nth-child(2) { left: 24%; top: 61%; }
.flight-path i:nth-child(3) { right: 24%; top: 36%; }

.bounding-box {
    position: absolute;
    inset: 46px 25% 38px;
    border: 1px solid var(--project-color);
}

.bounding-box::before {
    content: "TARGET / 0.94";
    position: absolute;
    top: -20px;
    left: 0;
    color: var(--project-color);
    font-family: monospace;
    font-size: 0.52rem;
}

.bounding-box i { position: absolute; width: 11px; height: 11px; border-color: var(--project-color); }
.bounding-box i:nth-child(1) { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.bounding-box i:nth-child(2) { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.bounding-box i:nth-child(3) { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.bounding-box i:nth-child(4) { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }

.document-stack i {
    position: absolute;
    width: 130px;
    height: 165px;
    top: 50%;
    left: 50%;
    border: 1px solid color-mix(in srgb, var(--project-color) 58%, transparent);
    border-radius: 7px;
    background: color-mix(in srgb, var(--surface-solid) 85%, transparent);
}

.document-stack i:nth-child(1) { transform: translate(-66%, -48%) rotate(-8deg); }
.document-stack i:nth-child(2) { transform: translate(-45%, -54%) rotate(5deg); }
.document-stack i:nth-child(3) { width: 60px; height: 4px; transform: translate(-43%, -800%); border: 0; background: var(--project-color); box-shadow: 0 17px 0 color-mix(in srgb, var(--project-color) 65%, transparent), 0 34px 0 color-mix(in srgb, var(--project-color) 35%, transparent); }

.energy-chart {
    position: absolute;
    inset: 40px 16% 45px;
    display: flex;
    align-items: end;
    gap: 10px;
}

.energy-chart i { position: static; flex: 1; border-radius: 4px 4px 0 0; opacity: .7; animation: signalBars 2.8s ease-in-out infinite alternate; }
.energy-chart i:nth-child(1) { height: 35%; }
.energy-chart i:nth-child(2) { height: 62%; animation-delay: -.4s; }
.energy-chart i:nth-child(3) { height: 45%; animation-delay: -.8s; }
.energy-chart i:nth-child(4) { height: 90%; animation-delay: -1.2s; }
.energy-chart i:nth-child(5) { height: 72%; animation-delay: -1.6s; }
.energy-chart i:nth-child(6) { height: 100%; animation-delay: -2s; }

.forecast-wave {
    position: absolute;
    inset: 50%;
    width: 60%;
    height: 120px;
    transform: translate(-50%, -50%);
}

.forecast-wave::before,
.forecast-wave::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: color-mix(in srgb, var(--project-color) 30%, transparent);
}
.forecast-wave::before { top: 25%; }
.forecast-wave::after { bottom: 25%; }
.forecast-wave i { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 16px var(--project-color); }
.forecast-wave i:nth-child(1) { left: 0; top: 72%; }
.forecast-wave i:nth-child(2) { left: 25%; top: 55%; }
.forecast-wave i:nth-child(3) { left: 50%; top: 66%; }
.forecast-wave i:nth-child(4) { left: 75%; top: 22%; }
.forecast-wave i:nth-child(5) { right: 0; top: 8%; }

.avatar-mesh {
    position: absolute;
    inset: 38px 30% 30px;
    border: 1px solid var(--project-color);
    border-radius: 44% 44% 20px 20px;
    background: repeating-linear-gradient(90deg, transparent 0 17px, color-mix(in srgb, var(--project-color) 20%, transparent) 18px 19px);
}
.avatar-mesh i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--project-color); box-shadow: 0 0 12px var(--project-color); }
.avatar-mesh i:nth-child(1) { top: 18%; left: 18%; }
.avatar-mesh i:nth-child(2) { top: 18%; right: 18%; }
.avatar-mesh i:nth-child(3) { bottom: 18%; left: 18%; }
.avatar-mesh i:nth-child(4) { bottom: 18%; right: 18%; }

.timeseries {
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 40px;
    top: 50px;
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.timeseries::before { content: "BASELINE / LSTM / GRU"; position: absolute; top: 0; left: 0; color: var(--muted); font-family: monospace; font-size: .5rem; letter-spacing: .08em; }
.timeseries i { position: relative; width: 8px; border-radius: 999px; opacity: .75; }
.timeseries i:nth-child(1) { height: 18%; }
.timeseries i:nth-child(2) { height: 42%; }
.timeseries i:nth-child(3) { height: 28%; }
.timeseries i:nth-child(4) { height: 66%; }
.timeseries i:nth-child(5) { height: 51%; }
.timeseries i:nth-child(6) { height: 87%; }
.timeseries i:nth-child(7) { height: 100%; }

.projects-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 48px 0 72px;
}

.projects-footer > p {
    max-width: 520px;
    margin-bottom: 0;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1.25;
}

.toolbox {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}

.toolbox .eyebrow {
    margin: 8px 0 0;
}

.tool-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.tool-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-list span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.61rem;
}

.section-recognition {
    background: var(--bg);
}

.recognition-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(70px, 10vw, 150px);
}

.recognition-heading .section-code {
    margin-bottom: 80px;
}

.recognition-heading .eyebrow {
    margin-bottom: 12px;
}

.recognition-heading h2 {
    font-size: clamp(3.3rem, 6vw, 6rem);
}

.recognition-list {
    border-top: 1px solid var(--line);
}

.recognition-item {
    display: grid;
    grid-template-columns: 70px 1fr 40px;
    gap: 24px;
    align-items: start;
    position: relative;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 220ms ease;
}

.recognition-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--green) 10%, transparent), transparent);
    transition: width 280ms ease;
}

.recognition-item:hover {
    padding-left: 18px;
}

.recognition-item:hover::before {
    width: 100%;
}

.recognition-year,
.recognition-item > i {
    color: var(--green);
    font-family: monospace;
    font-size: 0.58rem;
    font-style: normal;
}

.recognition-item h3 {
    margin-bottom: 7px;
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.05;
}

.recognition-item div p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.contact-section {
    position: relative;
    overflow: hidden;
    padding: clamp(120px, 14vw, 210px) 0;
    background: #05070b;
    color: #f3f4ef;
}

[data-theme="light"] .contact-section {
    background: #10131a;
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at 70% 50%, black, transparent 70%);
}

.contact-aura {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -15%;
    bottom: -45%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 240, 189, 0.25), transparent 65%);
    animation: auraDrift 10s ease-in-out infinite alternate;
}

.contact-layout {
    display: grid;
    grid-template-columns: 90px 1.2fr 0.8fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: end;
    position: relative;
    z-index: 2;
}

.contact-index {
    align-self: start;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green);
    font-family: monospace;
    font-size: 0.58rem;
    writing-mode: vertical-rl;
}

.contact-index i {
    width: 1px;
    height: 60px;
}

.contact-main .eyebrow {
    color: var(--green);
}

.contact-main h2 {
    max-width: 760px;
    margin-bottom: 34px;
    font-size: clamp(4rem, 8vw, 8.5rem);
}

.contact-main > p:last-child {
    max-width: 590px;
    margin-bottom: 0;
    color: rgba(243, 244, 239, 0.58);
}

.email-link {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.16);
    border-bottom: 1px solid rgba(255,255,255,.16);
    font-family: var(--serif);
    font-size: clamp(1.55rem, 2.5vw, 2.5rem);
    line-height: 1.02;
}

.email-link i {
    color: var(--green);
}

.social-links {
    display: flex;
    gap: 22px;
    margin-top: 30px;
}

.social-links a {
    color: rgba(243, 244, 239, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
}

.site-footer {
    background: #05070b;
    color: rgba(243, 244, 239, 0.55);
    border-top: 1px solid rgba(255,255,255,.1);
}

[data-theme="light"] .site-footer {
    background: #10131a;
}

.footer-inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    font-family: monospace;
    font-size: 0.56rem;
    letter-spacing: 0.06em;
}

.footer-inner p {
    margin-bottom: 0;
}

.footer-inner p:nth-child(2) {
    text-align: center;
}

.footer-inner a {
    justify-self: end;
    color: var(--green);
}

.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 750ms cubic-bezier(0.22, 1, 0.36, 1), transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 40%, transparent); }
    70% { box-shadow: 0 0 0 7px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes auraDrift {
    from { transform: translate3d(-3%, -2%, 0) scale(0.92); }
    to { transform: translate3d(5%, 6%, 0) scale(1.1); }
}

@keyframes orbitSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringSpin {
    to { transform: rotate(360deg); }
}

@keyframes imageScan {
    from { transform: translateY(-120%); }
    to { transform: translateY(540%); }
}

@keyframes scrollDrop {
    0%, 100% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translate(-50%, 10px); opacity: 0; }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes signalBars {
    from { transform: scaleY(0.62); opacity: .35; }
    to { transform: scaleY(1); opacity: .9; }
}

@keyframes visionPulse {
    0%, 100% { opacity: .25; transform: scale(.92); }
    50% { opacity: .75; transform: scale(1); }
}

@keyframes radarSweep {
    to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
    .shell {
        width: min(100% - 48px, 1320px);
    }

    .site-nav {
        gap: 2px;
    }

    .site-nav a {
        padding-inline: 11px;
    }

    .hero-shell {
        grid-template-columns: 1fr minmax(350px, 0.72fr);
        gap: 60px;
    }

    .note-one { left: -10%; }
    .note-two { right: -10%; }

    .about-layout,
    .experience-grid,
    .recognition-layout {
        gap: 60px;
    }

    .project-card {
        min-height: 650px;
    }

    .contact-layout {
        grid-template-columns: 60px 1.1fr 0.9fr;
        gap: 50px;
    }
}

@media (max-width: 900px) {
    /* backdrop-filter bir kapsayıcı blok oluşturur; tam ekran menü header'a sıkışmasın diye
       bulanıklığı pseudo-elemana taşıyoruz. */
    .site-header {
        backdrop-filter: none;
    }

    .site-header::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        backdrop-filter: blur(24px) saturate(150%);
    }

    .nav-wrap {
        grid-template-columns: 1fr auto;
    }

    .menu-toggle {
        position: relative;
        z-index: 4;
        justify-self: end;
        width: 44px;
        height: 44px;
        display: grid;
        align-content: center;
        gap: 7px;
        padding: 11px;
    }

    .menu-toggle > span:not(.sr-only) {
        display: block;
        height: 1px;
        background: currentColor;
        transition: transform 180ms ease;
    }

    .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

    .site-nav {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        justify-content: safe center;
        overflow-y: auto;
        gap: 6px;
        padding: 90px 24px 140px;
        border: 0;
        border-radius: 0;
        background: var(--bg);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 200ms ease, transform 200ms ease;
    }

    .site-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        width: 100%;
        padding: 11px 0;
        border-radius: 0;
        background: transparent !important;
        color: var(--text);
    }

    .site-nav a span {
        width: 34px;
    }

    .site-nav a b {
        font-family: var(--serif);
        font-size: 2.8rem;
        font-weight: 400;
    }

    @media (max-height: 720px) {
        .site-nav {
            padding-top: 80px;
            padding-bottom: 110px;
        }

        .site-nav a {
            padding-block: 6px;
        }

        .site-nav a b {
            font-size: 2.1rem;
        }
    }

    .nav-actions {
        position: fixed;
        z-index: 3;
        left: 24px;
        bottom: 34px;
        opacity: 0;
        pointer-events: none;
    }

    .site-nav.open + .nav-actions {
        opacity: 1;
        pointer-events: auto;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 110px;
        padding-top: 150px;
        padding-bottom: 130px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero h1 {
        font-size: clamp(5.5rem, 17vw, 8rem);
    }

    .portrait-stage {
        width: min(78vw, 480px);
        margin-left: auto;
        margin-right: auto;
    }

    .note-one { left: -17%; }
    .note-two { right: -17%; }

    .section-heading {
        grid-template-columns: 60px 1fr;
    }

    .section-aside {
        display: none;
    }

    .about-layout,
    .experience-grid,
    .recognition-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-sticky,
    .education-panel {
        position: relative;
        top: auto;
    }

    .education-panel {
        min-height: 460px;
    }

    .timeline-item {
        grid-template-columns: 48px 150px 1fr;
    }

    .project-card {
        min-height: 680px;
    }

    .contact-index {
        writing-mode: horizontal-tb;
    }

    .contact-index i {
        width: 60px;
        height: 1px;
    }

    .contact-layout {
        gap: 65px;
    }

    .contact-main h2 {
        max-width: 780px;
    }

    .contact-links {
        max-width: 620px;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 32px, 1320px);
    }

    .nav-wrap {
        min-height: 74px;
    }

    .brand {
        width: 42px;
        height: 42px;
    }

    .hero-shell {
        padding-top: 125px;
        gap: 85px;
    }

    .hero-status {
        margin-bottom: 28px;
    }

    .hero h1 {
        font-size: clamp(4.6rem, 24vw, 7rem);
        line-height: 0.82;
    }

    .hero h1 span {
        font-size: 0.48em;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-disciplines {
        gap: 8px 15px;
    }

    .portrait-stage {
        width: 88vw;
        max-width: 420px;
    }

    .orbit-one { width: 110%; height: 110%; }
    .orbit-two { width: 124%; height: 124%; }

    .floating-note {
        min-width: 128px;
        padding: 10px 12px;
    }

    .note-one { top: 10%; left: -7%; }
    .note-two { right: -6%; bottom: 9%; }

    .scroll-cue {
        left: 0;
        right: auto;
    }

    .section {
        padding: 92px 0;
    }

    .section-heading {
        grid-template-columns: 38px 1fr;
        gap: 12px;
        margin-bottom: 58px;
    }

    .section-code i {
        display: none;
    }

    .section-heading h2,
    .recognition-heading h2 {
        font-size: clamp(3.25rem, 15vw, 5rem);
    }

    .about-layout {
        gap: 60px;
    }

    .about-statement {
        font-size: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .focus-card:first-child,
    .focus-card:last-child {
        grid-column: auto;
    }

    .bento-card,
    .focus-card:first-child,
    .focus-card:last-child {
        min-height: 300px;
    }

    .signal-lines,
    .vision-grid {
        opacity: 0.32;
    }

    .experience-grid {
        gap: 70px;
    }

    .education-panel {
        min-height: 430px;
    }

    .timeline-track {
        left: 18px;
    }

    .timeline-item {
        grid-template-columns: 37px 1fr;
        gap: 18px;
        padding-bottom: 54px;
    }

    .timeline-marker {
        width: 37px;
        height: 37px;
    }

    .timeline-meta {
        grid-column: 2;
    }

    .timeline-content {
        grid-column: 2;
    }

    .project-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 650px;
        grid-template-rows: 230px 1fr;
    }

    .project-body {
        padding: 24px;
    }

    .project-card h3 {
        font-size: 2.4rem;
    }

    .projects-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .toolbox {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recognition-layout {
        gap: 65px;
    }

    .recognition-heading .section-code {
        margin-bottom: 50px;
    }

    .recognition-item {
        grid-template-columns: 42px 1fr 22px;
        gap: 14px;
    }

    .recognition-item h3 {
        font-size: 1.5rem;
    }

    .contact-section {
        padding: 105px 0;
    }

    .contact-main h2 {
        font-size: clamp(3.7rem, 17vw, 5.5rem);
    }

    .email-link {
        font-size: 1.55rem;
    }

    .footer-inner {
        min-height: 120px;
        grid-template-columns: 1fr auto;
        align-content: center;
    }

    .footer-inner p:nth-child(2) {
        display: none;
    }
}

@media (hover: none), (pointer: coarse) {
    .pointer-glow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .js .reveal {
        opacity: 1;
        transform: none;
    }
    .signal-canvas,
    .pointer-glow {
        display: none;
    }
}
