:root {
  --bg: #f7f7f2;
  --surface: #fbfbf7;
  --surface-2: #ededE7;
  --text: #151515;
  --muted: #73736d;
  --line: rgba(21, 21, 21, .14);
  --line-strong: rgba(21, 21, 21, .28);
  --accent: #22c77a;
  --accent-soft: rgba(34, 199, 122, .12);
  --black: #151515;
  --white: #fff;
  --header-height: 86px;
  --page-pad: clamp(22px, 4.6vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[data-theme="dark"] {
  --bg: #111210;
  --surface: #161714;
  --surface-2: #20211e;
  --text: #f3f3ed;
  --muted: #9c9c94;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .28);
  --black: #f3f3ed;
  --white: #111210;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background .45s ease, color .45s ease;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: #07150e; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #111210;
  color: #f4f4ee;
}
.loader__inner { width: min(460px, calc(100vw - 48px)); }
.loader__brand { font-size: clamp(58px, 9vw, 110px); line-height: .8; font-weight: 800; letter-spacing: -.08em; }
.loader__brand span { color: var(--accent); }
.loader__track { height: 1px; margin: 34px 0 14px; background: #383a35; overflow: hidden; }
.loader__track span { display: block; width: 0; height: 100%; background: var(--accent); }
.loader__meta { display: flex; justify-content: space-between; color: #8d8f87; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.loader__meta strong { color: #f4f4ee; font-size: 11px; }

.scroll-progress { position: fixed; z-index: 9997; top: 0; left: 0; width: 100%; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--accent); }

.cursor, .cursor-dot { display: none; position: fixed; z-index: 9999; pointer-events: none; transform: translate(-50%, -50%); }
@media (pointer: fine) {
  .cursor { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--text); border-radius: 50%; transition: width .25s ease, height .25s ease, background .25s ease, border-color .25s ease; mix-blend-mode: difference; }
  .cursor span { color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; opacity: 0; transition: opacity .2s ease; }
  .cursor-dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
  .cursor.is-view { width: 74px; height: 74px; background: #fff; border-color: #fff; }
  .cursor.is-view span { opacity: 1; color: #111; }
  .cursor.is-link { width: 58px; height: 58px; background: rgba(255,255,255,.14); border-color: #fff; }
  body, a, button { cursor: none; }
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  transition: height .35s var(--ease), background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled { height: 70px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px); }
.availability { justify-self: start; display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: 0 10px 35px rgba(0,0,0,.04); font-size: 11px; font-weight: 600; }
.availability__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); animation: pulse 2.2s infinite; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); font-size: 11px; font-weight: 600; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { right: 0; }
.desktop-nav small { margin-left: 4px; color: var(--muted); font-size: 9px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); transition: transform .25s ease, background .25s ease; }
.theme-toggle:hover { transform: rotate(12deg); }
.theme-toggle svg { position: absolute; width: 16px; height: 16px; transition: opacity .3s ease, transform .4s var(--ease); }
.theme-toggle__moon { opacity: 0; transform: rotate(-35deg) scale(.6); }
html[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(35deg) scale(.6); }
html[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: rotate(0) scale(1); }

.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 0 18px; border-radius: 999px; font-size: 12px; font-weight: 700; transition: box-shadow .3s ease, background .3s ease; }
.pill-button svg { width: 15px; height: 15px; }
.pill-button--dark { background: var(--text); color: var(--bg); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.header-cta { min-height: 38px; padding-inline: 18px; }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.hero__canvas, .hero__spotlight, .hero__grid { position: absolute; inset: 0; }
.hero__canvas { z-index: -1; width: 100%; height: 100%; opacity: .55; }
.hero__spotlight { z-index: -2; background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-soft), transparent 65%); }
.hero__grid { z-index: -3; opacity: .4; 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, transparent 0, #000 20%, #000 72%, transparent 100%); }
.hero__eyebrow { position: absolute; top: 114px; left: 50%; transform: translateX(-50%); z-index: 6; margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.hero__eyebrow span { color: var(--accent); margin: 0 7px; }
.hero__name { position: absolute; z-index: 1; top: clamp(140px, 18vh, 186px); left: 50%; transform: translateX(-50%) scaleX(.82); transform-origin: center top; width: 116vw; margin: 0; display: flex; justify-content: center; align-items: center; gap: clamp(7px, .7vw, 14px); white-space: nowrap; pointer-events: none; font-size: clamp(94px, 11.5vw, 212px); line-height: .78; letter-spacing: -.084em; font-weight: 800; }
.hero__name-outline { color: transparent; -webkit-text-stroke: clamp(1.5px, .16vw, 3px) var(--text); paint-order: stroke fill; }
.hero__name-solid { color: var(--text); }
.hero__portrait { position: absolute; z-index: 3; left: 50%; bottom: -4px; height: clamp(555px, 76vh, 820px); transform: translateX(-50%); pointer-events: none; }
.hero__portrait img { position: relative; z-index: 3; display: block; width: auto; height: 100%; max-width: none; object-fit: contain; object-position: bottom center; filter: grayscale(1) contrast(1.04); }
.portrait-ring { position: absolute; z-index: 1; left: 50%; top: 48%; border: 1px solid var(--line-strong); border-radius: 50%; transform: translate(-50%, -50%); }
.portrait-ring--one { width: 430px; height: 430px; animation: spin 22s linear infinite; }
.portrait-ring--one::before, .portrait-ring--two::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.portrait-ring--two { width: 540px; height: 540px; border-style: dashed; opacity: .58; animation: spinReverse 30s linear infinite; }
.float-chip { position: absolute; z-index: 5; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(12px); box-shadow: 0 14px 36px rgba(0,0,0,.08); color: var(--text); font-size: 10px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.float-chip--one { top: 39%; left: -42px; animation: float 4.8s ease-in-out infinite; }
.float-chip--two { top: 54%; right: -70px; animation: float 5.4s .8s ease-in-out infinite; }
.float-chip--three { top: 24%; right: -35px; animation: float 5s .3s ease-in-out infinite reverse; }
.hero__intro { position: absolute; z-index: 5; left: var(--page-pad); bottom: clamp(75px, 11vh, 115px); width: min(330px, 25vw); }
.hero__role { margin: 0 0 14px; font-size: clamp(23px, 2vw, 31px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.role-rotate { color: var(--accent); display: inline-block; }
.hero__description { margin: 0 0 22px; max-width: 315px; color: var(--muted); font-size: 13px; line-height: 1.58; }
.hero__buttons { display: flex; align-items: center; gap: 18px; }
.text-link { position: relative; font-size: 11px; font-weight: 700; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform-origin: right; transition: transform .3s var(--ease); }
.text-link:hover::after { transform: scaleX(0); }
.hero__links { position: absolute; z-index: 5; right: var(--page-pad); bottom: clamp(70px, 10vh, 105px); display: flex; flex-direction: column; gap: 9px; }
.hero__links a { min-width: 136px; min-height: 40px; padding: 0 15px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); font-size: 11px; font-weight: 650; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.hero__links a:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.hero__links svg { width: 15px; height: 15px; }
.hero__stats { position: absolute; z-index: 5; right: var(--page-pad); top: 124px; display: flex; gap: 26px; }
.hero__stats div { display: grid; gap: 2px; min-width: 60px; }
.hero__stats strong { font-size: 20px; letter-spacing: -.04em; }
.hero__stats span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue span { position: relative; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 1px; height: 7px; background: currentColor; animation: scrollCue 1.6s infinite; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--text); color: var(--bg); }
.marquee__track { width: max-content; display: flex; align-items: center; gap: 26px; padding: 20px 0; animation: marquee 28s linear infinite; }
.marquee__track span { font-size: clamp(17px, 2vw, 27px); font-weight: 800; letter-spacing: -.035em; }
.marquee__track i { color: var(--accent); font-style: normal; }

.content-section { position: relative; padding: clamp(96px, 12vw, 180px) var(--page-pad); border-bottom: 1px solid var(--line); background: var(--surface); }
.section-kicker { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.section-kicker p { margin: 0; color: var(--text); }
.section-heading { margin-top: clamp(54px, 7vw, 100px); }
.section-heading h2, .education-intro h2 { margin: 0; max-width: 1160px; font-size: clamp(48px, 7vw, 108px); line-height: .94; letter-spacing: -.066em; font-weight: 650; }
.section-heading > p { margin: 32px 0 0 auto; max-width: 460px; color: var(--muted); line-height: 1.65; }
.section-heading--split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; }
.section-heading--split > p { margin: 0; }

.project-grid { margin-top: clamp(70px, 9vw, 130px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { position: relative; min-height: 660px; padding: clamp(25px, 3vw, 40px); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 28px; background: var(--surface-2); transform-style: preserve-3d; transition: border-color .3s ease, box-shadow .3s ease; }
.project-card:hover { border-color: var(--line-strong); box-shadow: 0 30px 70px rgba(0,0,0,.08); }
.project-card--dark { color: #f3f3ed; background: #151613; border-color: transparent; }
.card-spotlight { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(450px circle at var(--card-x, 50%) var(--card-y, 50%), color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%); transition: opacity .3s ease; }
.project-card:hover .card-spotlight { opacity: 1; }
.project-card__top { position: relative; z-index: 2; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.project-card--dark .project-card__top { color: #8e9188; }
.project-card__visual { position: relative; z-index: 2; height: 295px; margin: 42px 0 34px; display: grid; place-items: center; transform: translateZ(22px); }
.mock-window { width: 92%; height: 86%; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: #20211e; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: perspective(900px) rotateX(7deg) rotateY(-10deg); }
.mock-window__bar { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.12); color: #6e7169; font-size: 8px; }
.mock-window__bar i { width: 6px; height: 6px; border-radius: 50%; background: #5b5e56; }
.mock-window__bar span { margin-left: 10px; }
.mock-layout { height: calc(100% - 34px); display: grid; grid-template-columns: 58px 1fr; }
.mock-sidebar { padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid rgba(255,255,255,.1); }
.mock-sidebar b { width: 100%; height: 5px; border-radius: 5px; background: #4c4f48; }
.mock-sidebar b:first-child { background: var(--accent); }
.mock-content { padding: 22px; }
.mock-content > span { display: block; width: 42%; height: 7px; margin-bottom: 25px; border-radius: 5px; background: #f0f0e8; }
.mock-content > strong { display: block; width: 100%; height: 40px; margin-bottom: 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; background: #272824; }
.mock-content > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.mock-content > div i { height: 75px; border-radius: 8px; background: linear-gradient(150deg, #2b2c28, #1b1c19); }
.code-panel { width: 92%; height: 88%; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 30px 60px rgba(0,0,0,.1); transform: perspective(900px) rotateX(7deg) rotateY(10deg); }
.code-panel__tabs { height: 40px; display: flex; align-items: end; border-bottom: 1px solid var(--line); }
.code-panel__tabs span { height: 40px; padding: 0 16px; display: flex; align-items: center; border-right: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.code-panel__tabs span:first-child { color: var(--text); border-top: 2px solid var(--accent); }
.code-panel__body { padding: 25px 18px; display: grid; gap: 12px; font-family: monospace; color: var(--text); font-size: clamp(9px, .8vw, 12px); }
.code-panel__body span { white-space: nowrap; }
.code-panel__body i { display: inline-block; width: 28px; color: var(--muted); font-style: normal; }
.project-card__bottom { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.project-card h3 { margin: 0 0 12px; font-size: clamp(30px, 3.3vw, 52px); line-height: .98; letter-spacing: -.052em; }
.project-card p { margin: 0; max-width: 480px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.project-card--dark p { color: #9da097; }
.project-card__bottom button { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; transition: transform .35s var(--ease), background .25s ease, color .25s ease; }
.project-card--dark .project-card__bottom button { border-color: rgba(255,255,255,.22); }
.project-card:hover .project-card__bottom button { transform: rotate(45deg); background: var(--accent); color: #101510; }
.project-card__bottom svg { width: 18px; height: 18px; }
.tag-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-row span, .skill-tags span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.project-card--dark .tag-row span { border-color: rgba(255,255,255,.18); color: #9da097; }

.skills-section { background: var(--bg); }
.skills-layout { margin-top: clamp(70px, 9vw, 130px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 140px); align-items: center; }
.skills-visual { min-height: 600px; display: grid; place-items: center; }
.skills-orbit { position: relative; width: min(470px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.skills-orbit__core { position: relative; z-index: 4; width: 160px; height: 160px; display: grid; place-items: center; align-content: center; border-radius: 50%; background: var(--text); color: var(--bg); box-shadow: 0 30px 70px rgba(0,0,0,.2); }
.skills-orbit__core span { font-size: 45px; font-weight: 800; letter-spacing: -.08em; }
.skills-orbit__core small { margin-top: -5px; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.orbit { position: absolute; inset: 8%; border: 1px solid var(--line); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit::before { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft); }
.orbit span { position: absolute; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 9px; font-weight: 800; }
.orbit--one::before { top: 8%; left: 23%; }.orbit--one span { top: 1%; left: 50%; }
.orbit--two { inset: 22%; animation-duration: 14s; animation-direction: reverse; }.orbit--two::before { right: 0; top: 45%; }.orbit--two span { right: -18px; bottom: 18%; }
.orbit--three { inset: -2%; animation-duration: 27s; opacity: .75; }.orbit--three::before { bottom: 5%; left: 35%; }.orbit--three span { bottom: 2%; left: 8%; }
.skill-accordion { border-top: 1px solid var(--line); }
.skill-item { border-bottom: 1px solid var(--line); }
.skill-item > button { width: 100%; padding: 24px 0; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px; border: 0; background: transparent; text-align: left; }
.skill-item > button > span { color: var(--muted); font-size: 10px; }
.skill-item > button strong { font-size: clamp(19px, 2vw, 28px); font-weight: 600; letter-spacing: -.035em; }
.skill-item > button i { position: relative; width: 20px; height: 20px; }
.skill-item > button i::before, .skill-item > button i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.skill-item > button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.skill-item.is-open > button i::after { transform: translate(-50%, -50%) rotate(0); }
.skill-item__content { height: 0; overflow: hidden; padding-left: 56px; }
.skill-item__content p { margin: 0; max-width: 600px; color: var(--muted); line-height: 1.65; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 17px 0 27px; }

.experience-section { background: var(--surface); }
.timeline { position: relative; margin-top: clamp(70px, 9vw, 130px); }
.timeline__line { position: absolute; left: calc(27% + 14px); top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__line span { display: block; width: 100%; height: 0; background: var(--accent); }
.timeline-item { position: relative; display: grid; grid-template-columns: 27% 73%; padding: 0 0 70px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: calc(27% + 9px); top: 7px; z-index: 2; width: 11px; height: 11px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); transition: background .3s ease, box-shadow .3s ease; }
.timeline-item.is-active::before { background: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft); }
.timeline-item__date { padding: 4px 55px 0 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.timeline-item__content { padding-left: clamp(45px, 6vw, 95px); }
.timeline-item__number { margin-bottom: 20px; color: var(--accent); font-size: 10px; font-weight: 800; }
.timeline-item__content h3 { margin: 0; font-size: clamp(31px, 4.2vw, 64px); line-height: .98; letter-spacing: -.055em; }
.timeline-item__content .company { margin: 13px 0 22px; color: var(--text); font-weight: 700; }
.timeline-item__content > p:last-child { margin: 0; max-width: 760px; color: var(--muted); line-height: 1.7; }

.education-section { background: var(--bg); }
.education-grid { margin-top: clamp(64px, 9vw, 125px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(60px, 10vw, 150px); }
.education-intro h2 { font-size: clamp(48px, 6vw, 90px); }
.education-intro p { max-width: 540px; margin: 32px 0 0; color: var(--muted); line-height: 1.7; }
.education-list { display: grid; gap: 16px; align-content: end; }
.education-card { position: relative; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s ease; }
.education-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,.08); }
.education-card span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.education-card h3 { margin: 24px 0 7px; font-size: clamp(24px, 2.5vw, 36px); letter-spacing: -.04em; }
.education-card p { margin: 0 0 24px; color: var(--muted); }
.education-card strong { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.certification-wrap { margin-top: clamp(80px, 11vw, 160px); }
.certification-wrap > p { margin: 0 0 25px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.certification-list { display: flex; flex-wrap: wrap; gap: 10px; }
.certification-list span { padding: 13px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 11px; font-weight: 650; transition: color .25s ease, background .25s ease, transform .25s ease; }
.certification-list span:hover { transform: translateY(-3px); color: var(--bg); background: var(--text); }

.contact-section { position: relative; min-height: 100svh; overflow: hidden; padding: clamp(90px, 10vw, 150px) var(--page-pad) 40px; display: flex; flex-direction: column; justify-content: space-between; color: #f2f2ec; background: #111210; }
.contact-section__orb { position: absolute; right: -15vw; top: -20vw; width: 58vw; height: 58vw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(34,199,122,.32), rgba(34,199,122,.04) 44%, transparent 70%); filter: blur(10px); }
.contact-section__top { position: relative; z-index: 2; display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.15); color: #8c8f87; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-section__eyebrow { position: relative; z-index: 2; margin: auto 0 24px; color: #8c8f87; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-section__cta { position: relative; z-index: 2; max-width: 1280px; display: inline-flex; align-items: flex-end; gap: 25px; font-size: clamp(55px, 9vw, 148px); line-height: .86; letter-spacing: -.075em; font-weight: 650; }
.contact-section__cta svg { flex: 0 0 auto; width: clamp(50px, 6vw, 90px); height: clamp(50px, 6vw, 90px); margin-bottom: 4px; transition: transform .4s var(--ease); }
.contact-section__cta:hover svg { transform: translate(10px, -10px); }
.contact-meta { position: relative; z-index: 2; margin-top: clamp(70px, 9vw, 120px); padding: 25px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-meta div { display: grid; gap: 8px; }
.contact-meta span { color: #777a73; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-meta strong, .contact-meta a { font-size: 12px; font-weight: 600; }
.contact-meta a:hover { color: var(--accent); }
.footer-line { position: relative; z-index: 2; display: flex; justify-content: space-between; padding-top: 24px; color: #777a73; font-size: 10px; }
.footer-line a:hover { color: #fff; }

.project-modal { width: min(760px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: clamp(28px, 5vw, 60px); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); color: var(--text); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.project-modal::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(12px); }
.project-modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 23px; }
.project-modal__meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-modal h2 { margin: 55px 0 22px; font-size: clamp(42px, 7vw, 72px); line-height: .92; letter-spacing: -.06em; }
.project-modal > p { margin: 0; color: var(--muted); line-height: 1.7; }
.project-modal__grid { margin-top: 40px; padding: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-modal__grid div { display: grid; gap: 7px; }
.project-modal__grid span, .project-modal__note span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.project-modal__grid strong { font-size: 12px; }
.project-modal__note { margin-top: 28px; }
.project-modal__note p { margin: 10px 0 0; line-height: 1.65; }
.noscript { position: fixed; bottom: 20px; left: 50%; z-index: 10001; transform: translateX(-50%); padding: 12px 16px; border-radius: 10px; background: #fff; color: #111; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 12px; }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px var(--accent-soft); } 50% { box-shadow: 0 0 0 9px transparent; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-15px) rotate(2deg); } }
@keyframes scrollCue { 0% { transform: translate(-50%,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%,8px); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .desktop-nav { gap: 24px; }
  .hero__name { font-size: clamp(82px, 11.5vw, 150px); }
  .hero__portrait { height: clamp(520px, 70vh, 700px); }
  .hero__intro { width: 260px; }
  .hero__stats { display: none; }
  .section-heading--split, .education-grid { grid-template-columns: 1fr; }
  .section-heading--split > p { margin-top: 10px; }
  .skills-layout { grid-template-columns: .75fr 1.25fr; gap: 45px; }
}

@media (max-width: 850px) {
  :root { --header-height: 74px; }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-actions { display: none; }
  .availability { font-size: 10px; }
  .menu-toggle { justify-self: end; position: relative; z-index: 1002; width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
  .menu-toggle span { position: absolute; width: 15px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-toggle span:first-child { top: 17px; }.menu-toggle span:last-child { top: 23px; }
  .menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 1001; inset: 0; padding: 100px var(--page-pad) 35px; display: flex; flex-direction: column; background: var(--bg); transform: translateY(-105%); transition: transform .65s var(--ease); }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu__top { display: flex; justify-content: space-between; margin-bottom: 45px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
  .mobile-menu > a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; font-size: clamp(42px, 12vw, 72px); line-height: 1; letter-spacing: -.06em; font-weight: 650; }
  .mobile-menu > a span { color: var(--muted); font-size: 9px; letter-spacing: .08em; }
  .mobile-menu__contact { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 11px; }

  .hero { min-height: 820px; }
  .hero__eyebrow { top: 98px; }
  .hero__name { top: 160px; width: 120vw; transform: translateX(-50%) scaleX(1); flex-direction: column; gap: 0; font-size: clamp(74px, 15vw, 126px); line-height: .72; }
  .hero__name-solid { font-size: .72em; }
  .hero__portrait { height: 565px; bottom: 0; }
  .portrait-ring--one { width: 340px; height: 340px; }.portrait-ring--two { width: 430px; height: 430px; }
  .hero__intro { left: var(--page-pad); bottom: 72px; width: 245px; }
  .hero__role { font-size: 22px; }
  .hero__description { font-size: 12px; }
  .hero__links { right: var(--page-pad); bottom: 74px; }
  .hero__links a { min-width: 42px; width: 42px; padding: 0; justify-content: center; }
  .hero__links a span { display: none; }
  .hero__stats, .scroll-cue, .float-chip { display: none; }

  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 620px; }
  .skills-layout { grid-template-columns: 1fr; }
  .skills-visual { min-height: 430px; }
  .skills-orbit { width: min(390px, 85vw); }
  .timeline-item { grid-template-columns: 1fr; padding-left: 35px; }
  .timeline-item__date { padding: 0 0 15px; }
  .timeline-item__content { padding-left: 0; }
  .timeline__line { left: 5px; }.timeline-item::before { left: 0; }
  .contact-meta { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  :root { --page-pad: 18px; }
  .availability span:last-child { max-width: 185px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .hero { min-height: 760px; }
  .hero__grid { background-size: 48px 48px; }
  .hero__eyebrow { width: 100%; text-align: center; font-size: 8px; }
  .hero__name { top: 148px; width: 124vw; font-size: clamp(65px, 19vw, 96px); }
  .hero__portrait { height: 500px; left: 54%; }
  .portrait-ring--one { width: 280px; height: 280px; }.portrait-ring--two { width: 350px; height: 350px; }
  .hero__intro { bottom: 44px; width: 230px; }
  .hero__role { font-size: 19px; }
  .hero__description { display: none; }
  .hero__buttons { gap: 12px; }.text-link { display: none; }
  .hero__links { bottom: 42px; gap: 7px; }
  .hero__links a { width: 38px; min-width: 38px; min-height: 38px; }
  .marquee__track { gap: 17px; padding: 16px 0; }
  .section-kicker { grid-template-columns: 34px 1fr; }.section-kicker span:last-child { display: none; }
  .section-heading h2, .education-intro h2 { font-size: clamp(44px, 14vw, 68px); }
  .section-heading > p { margin-top: 24px; }
  .project-card { min-height: 545px; padding: 22px; border-radius: 20px; }
  .project-card__visual { height: 235px; margin: 35px 0 28px; }
  .project-card h3 { font-size: 31px; }
  .project-card__bottom button { width: 43px; height: 43px; }
  .skills-visual { min-height: 350px; }
  .skills-orbit__core { width: 125px; height: 125px; }.skills-orbit__core span { font-size: 36px; }
  .skill-item > button { grid-template-columns: 34px 1fr 20px; padding: 19px 0; }
  .skill-item > button strong { font-size: 18px; }.skill-item__content { padding-left: 46px; }
  .timeline-item__content h3 { font-size: 36px; }
  .education-card { padding: 24px; }
  .contact-section { min-height: 850px; }
  .contact-section__top span:last-child { display: none; }
  .contact-section__cta { font-size: clamp(48px, 16vw, 75px); }
  .contact-meta { grid-template-columns: 1fr; gap: 20px; }
  .footer-line { flex-direction: column; gap: 8px; }
  .project-modal__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor, .cursor-dot { display: none !important; }
}
