:root {
  --bg: #000;
  --fg: #fff;
  --muted: #888;
  --muted-light: #a3a3a3;
  --border: #1f1f1f;
  --border-strong: #333;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body:not(.is-ready) {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center top, black, transparent 70%);
  opacity: .52;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  width: 760px;
  height: 380px;
  left: 50%;
  top: -250px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,.17), transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(16px);
  opacity: var(--nav-opacity, 0);
  transform: translateY(var(--nav-y, -18px));
  transition: opacity .35s ease;
}

.signature-intro {
  position: relative;
  height: 150vh;
  background: #000;
  z-index: 60;
}

.signature-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.signature-aura {
  position: absolute;
  width: min(72vw, 900px);
  aspect-ratio: 1.7;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), rgba(0, 0, 0, 0) 67%);
  filter: blur(34px);
  opacity: calc(var(--signature-aura-opacity, .2) - var(--opening-exit, 0));
  transform: scale(var(--signature-aura-scale, .75));
  z-index: -1;
}

.signature {
  width: min(68vw, 660px);
  max-height: 62vh;
  overflow: visible;
  opacity: 1;
  transform:
    translateY(var(--opening-exit-y, 0))
    scale(var(--opening-exit-scale, 1));
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, .18));
  will-change: opacity, transform;
}

.signature path {
  fill: none;
  stroke: #fff;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signature-pen {
  fill: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .95));
  opacity: 0;
}

.signature-caption {
  position: absolute;
  left: 50%;
  bottom: 11vh;
  display: grid;
  gap: 7px;
  text-align: center;
  transform: translate(-50%, var(--signature-caption-y, 16px));
  opacity: calc(var(--signature-copy, 0) - var(--opening-exit, 0));
}

.signature-caption span {
  color: #6f6f6f;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.signature-caption strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.opening-scroll {
  position: absolute;
  right: 34px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #737373;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: calc(var(--signature-copy, 0) - var(--opening-exit, 0));
}

.opening-scroll i {
  position: relative;
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: #252525;
}

.opening-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(-100%);
  animation: scroll-pulse 1.7s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { transform: translateY(-100%); }
  45%, 55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .18s ease;
}

.nav-links a:hover {
  color: #fff;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0 80px;
}

.hero-inner {
  max-width: 990px;
  opacity: var(--hero-opacity, 1);
  transform: translateY(var(--hero-y, 0)) scale(var(--hero-scale, 1));
  will-change: transform, opacity;
}

.eyebrow,
.section-number {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(56px, 9vw, 128px);
  line-height: .9;
  letter-spacing: -.08em;
  font-weight: 700;
  max-width: 1040px;
  margin: 0 auto 28px;
}

.sub {
  max-width: 720px;
  margin: 0 auto;
  color: #999;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  letter-spacing: -.02em;
}

.intro {
  position: relative;
  min-height: 135vh;
  padding: 0;
  background: #000;
  color: #fff;
  border-top: 1px solid var(--border);
}

.intro-panel {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin: 0;
  padding: clamp(28px, 4vw, 58px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px),
    #030303;
  background-size: 80px 80px;
  overflow: hidden;
}

.intro-layout {
  width: min(1080px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(420px, 1fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: center;
}

.portrait-card {
  height: min(68vh, 630px);
  min-height: 430px;
  margin: 0;
  border-radius: 28px;
  background: #090909;
  border: 1px solid #202020;
  overflow: hidden;
  transform: translateY(var(--portrait-y, 18px));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48);
  will-change: transform;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(.82) contrast(1.04);
}

.portrait-placeholder {
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #242424;
}

.portrait-placeholder span {
  align-self: center;
  margin: auto;
  font-size: clamp(58px, 8vw, 104px);
  font-weight: 650;
  letter-spacing: -.09em;
}

.portrait-placeholder small {
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.intro-copy {
  transform: translateY(var(--intro-copy-y, -12px));
  will-change: transform;
}

.intro-kicker {
  margin-bottom: 12px;
  color: #777;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.intro-copy h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .84;
  letter-spacing: -.075em;
}

.intro-lead {
  max-width: 580px;
  margin-bottom: 22px;
  color: #d5d5d5;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.48;
  letter-spacing: -.025em;
}

.intro-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  color: #8f8f8f;
  font-size: 11.5px;
  line-height: 1.55;
}

h2,
.section-title {
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: .98;
  letter-spacing: -.07em;
  font-weight: 660;
}

.copy {
  color: var(--muted-light);
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: -.02em;
}

.copy p + p {
  margin-top: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.intro-chips {
  margin-top: 24px;
}

.chip {
  color: #d4d4d4;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 13px;
  background: #050505;
}

.intro .chip {
  color: #cfcfcf;
  border-color: #262626;
  background: #080808;
}

.timeline-shell {
  height: 430vh;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #000;
}

.timeline-scanner {
  position: absolute;
  left: 50%;
  top: 72px;
  bottom: 92px;
  width: 1px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, #2f2f2f 22%, #2f2f2f 78%, transparent);
}

.timeline-scanner span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #000;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(255, 255, 255, .42);
}

.timeline-scanner i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: scanner-breathe 2.4s ease-in-out infinite;
}

@keyframes scanner-breathe {
  0%, 100% { opacity: .25; transform: translate(-50%, -50%) scale(.65); }
  50% { opacity: .8; transform: translate(-50%, -50%) scale(1); }
}

.track {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  padding-left: calc((100vw - min(var(--max), calc(100vw - 40px))) / 2);
  padding-right: calc((100vw - min(var(--max), calc(100vw - 40px))) / 2);
  will-change: transform;
  transform: translate3d(0,0,0);
}

.item {
  --focus: 0;
  --draw-offset: 1;
  --visual-opacity: .12;
  --visual-scale: .88;
  --visual-rotate: -3deg;
  position: relative;
  width: 620px;
  min-width: 620px;
  border-left: 1px solid var(--border);
  padding: 0 34px;
  opacity: .36;
  transform: translateY(16px);
  transition: opacity .32s ease, transform .32s ease;
}

.item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid #4a4a4a;
  border-radius: 50%;
  background: #000;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.item.active::before {
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .5);
  transform: scale(1.35);
}

.item.active {
  opacity: 1;
  transform: translateY(0);
}

.year {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.item h3 {
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -.055em;
  font-weight: 650;
  margin-bottom: 10px;
  max-width: 380px;
}

.company {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f1f1f1;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 28px;
  max-width: 380px;
}

.company::before {
  content: "";
  flex: 0 0 22px;
  height: 1px;
  background: #777;
  box-shadow: 0 0 10px rgba(255, 255, 255, .16);
}

.item p {
  color: #a3a3a3;
  line-height: 1.68;
  font-size: 16px;
  letter-spacing: -.015em;
  max-width: 400px;
  margin-bottom: 18px;
}

.list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  max-width: 400px;
}

.story-visual {
  position: absolute;
  top: 44px;
  right: 28px;
  width: 150px;
  height: 120px;
  color: #fff;
  opacity: var(--visual-opacity);
  transform: scale(var(--visual-scale)) rotate(var(--visual-rotate));
  transform-origin: center;
  transition: opacity .16s linear;
  pointer-events: none;
  will-change: opacity, transform;
}

.story-visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.story-visual svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--draw-offset);
}

.story-index {
  position: absolute;
  right: 31px;
  top: 17px;
  color: #454545;
  font-size: 10px;
  letter-spacing: .16em;
}

.list div {
  color: #ddd;
  font-size: 14px;
  line-height: 1.4;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
}

.list div::before {
  content: "→";
  color: #777;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 40px));
  z-index: 12;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 12px;
  margin-bottom: 12px;
}

.progress-line {
  height: 1px;
  background: var(--border-strong);
  overflow: hidden;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: #fff;
}

.side-projects {
  position: relative;
  height: 680vh;
  background: #050505;
  border-bottom: 1px solid var(--border);
}

.side-projects-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 72% 48%, rgba(255, 255, 255, .055), transparent 30%), #050505;
}

.side-projects-heading {
  position: absolute;
  top: 10vh;
  left: max(24px, calc((100vw - var(--max)) / 2));
  z-index: 5;
}

.side-projects-heading span {
  display: block;
  margin-bottom: 12px;
  color: #626262;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.side-projects-heading h2 {
  font-size: clamp(40px, 5vw, 68px);
}

.side-projects-stage {
  position: absolute;
  inset: 0;
}

.side-project {
  --side-draw: 1;
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: opacity, transform;
}

.side-project-copy { max-width: 600px; }

.side-project-number {
  display: block;
  margin-bottom: 22px;
  color: #606060;
  font-size: 12px;
  letter-spacing: .16em;
}

.side-project h3 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 670;
}

.side-project p {
  max-width: 560px;
  color: #9b9b9b;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.58;
  letter-spacing: -.02em;
}

.side-project-visual {
  width: 100%;
  max-height: 300px;
  color: #fff;
  overflow: visible;
}

.side-project-visual * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--side-draw);
}

.side-projects-progress {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  transform: translateX(-50%);
  color: #666;
  font-size: 10px;
}

.side-projects-progress > div { height: 1px; background: #292929; overflow: hidden; }
.side-projects-progress i { display: block; width: 0; height: 100%; background: #fff; }

.education {
  position: relative;
  padding: 110px 0 180px;
}

.education::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 70px;
  width: min(76vw, 920px);
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 255, 255, .07), transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}

.education-list {
  position: relative;
  border-top: 1px solid #2a2a2a;
}

.education-item {
  position: relative;
  display: block;
  border-bottom: 1px solid #242424;
  overflow: hidden;
}

.education-summary {
  min-height: 190px;
  padding: 42px 58px 42px 8px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 210px;
  gap: 28px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.education-summary::-webkit-details-marker {
  display: none;
}

.education-summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  color: #777;
  font-size: 28px;
  font-weight: 300;
  transform: translateY(-50%);
  transition: color .25s ease, transform .35s ease;
}

.education-item[open] .education-summary::after {
  color: #fff;
  transform: translateY(-50%) rotate(45deg);
}

.education-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .055), transparent 72%);
  opacity: 0;
  transform: translateX(-16%);
  transition: opacity .35s ease, transform .5s ease;
}

.education-item:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.education-index {
  align-self: start;
  padding-top: 8px;
  color: #555;
  font-size: 11px;
  letter-spacing: .16em;
}

.education-course {
  transition: transform .4s ease;
}

.education-item:hover .education-course {
  transform: translateX(12px);
}

.education-item[open] .education-course {
  transform: translateX(12px);
}

.education-course h3 {
  max-width: 730px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 640;
}

.education-course p {
  color: #777;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.education-meta {
  display: grid;
  justify-items: end;
  gap: 12px;
  text-align: right;
}

.education-meta span {
  color: #777;
  font-size: 12px;
}

.education-meta strong {
  padding: 7px 10px;
  border: 1px solid #303030;
  border-radius: 999px;
  color: #d7d7d7;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.education-curriculum {
  margin: 0 8px 8px 98px;
  padding: 34px 40px 46px;
  border: 1px solid #202020;
  background: #050505;
  animation: curriculum-enter .4s ease both;
}

@keyframes curriculum-enter {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.curriculum-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid #222;
  color: #6f6f6f;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.curriculum-overview strong {
  color: #d5d5d5;
  font-size: 12px;
  font-weight: 500;
}

.curriculum-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 44px;
}

.curriculum-groups h4 {
  margin-bottom: 14px;
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.curriculum-groups ul {
  display: grid;
  gap: 7px;
  list-style: none;
}

.curriculum-groups li {
  position: relative;
  padding-left: 13px;
  color: #858585;
  font-size: 12px;
  line-height: 1.45;
}

.curriculum-groups li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #555;
}

.academic-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 46px;
  background: #202020;
  border: 1px solid #202020;
}

.academic-metrics > div {
  min-height: 104px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #080808;
}

.academic-metrics strong {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.academic-metrics span {
  color: #6f6f6f;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
}

.curriculum-grades {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 58px;
}

.grade-list {
  display: grid;
}

.grade-list > div {
  min-height: 31px;
  padding: 7px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  border-bottom: 1px solid #181818;
}

.grade-list dt,
.grade-list dd {
  font-size: 11px;
  line-height: 1.45;
}

.grade-list dt {
  color: #858585;
}

.grade-list dd {
  color: #d2d2d2;
  font-variant-numeric: tabular-nums;
}

.grade-highlight dt,
.grade-highlight dd {
  color: #fff;
}

.academic-highlights {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #262626;
  border: 1px solid #262626;
}

.academic-highlights > div {
  min-height: 125px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  background: #090909;
}

.academic-highlights span {
  color: #666;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.academic-highlights strong {
  max-width: 520px;
  color: #ddd;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.competency-list {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.competency-list span {
  padding: 7px 10px;
  border: 1px solid #292929;
  border-radius: 999px;
  color: #888;
  font-size: 10px;
}

.future-skills {
  min-height: 100vh;
  padding: clamp(90px, 10vw, 150px) clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, .055), transparent 32%),
    #030303;
}

.future-skills-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.future-skills-head {
  max-width: 720px;
  margin: 0 auto 68px;
  text-align: center;
}

.future-skills-head > span {
  display: block;
  margin-bottom: 18px;
  color: #666;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.future-skills-head h2 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: .9;
  letter-spacing: -.075em;
}

.future-skills-head p {
  max-width: 670px;
  margin: 0 auto;
  color: #999;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  letter-spacing: -.02em;
}

.skills-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 300px 280px;
  gap: 18px;
}

.skill-panel {
  position: relative;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #202020;
  border-radius: 22px;
  background: #070707;
  overflow: hidden;
  transition: border-color .3s ease, background .3s ease;
}

.skill-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .07), transparent 68%);
  opacity: 0;
  transition: opacity .3s ease;
}

.skill-panel:hover {
  border-color: #3a3a3a;
  background: #0a0a0a;
}

.skill-panel:hover::after {
  opacity: 1;
}

.skill-communication { grid-column: 1 / span 5; }
.skill-iot { grid-column: 6 / span 3; }
.skill-protocols { grid-column: 9 / span 4; }
.skill-cctv { grid-column: 1 / span 7; grid-row: 2; flex-direction: row; align-items: end; gap: 42px; }
.skill-ai { grid-column: 8 / span 5; grid-row: 2; }

.skill-number {
  position: relative;
  z-index: 2;
  color: #555;
  font-size: 11px;
  letter-spacing: .16em;
}

.skill-symbol {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 46%;
  height: 46%;
  color: #626262;
  opacity: .72;
}

.skill-cctv .skill-symbol {
  position: relative;
  inset: auto;
  flex: 0 0 42%;
  height: 170px;
  order: 2;
}

.skill-ai .skill-symbol {
  width: 42%;
  height: 48%;
}

.skill-symbol * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--reveal-progress, 0));
}

.skill-panel > div {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.skill-panel h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.25vw, 31px);
  line-height: 1;
  letter-spacing: -.045em;
}

.skill-panel p {
  color: #858585;
  font-size: 13px;
  line-height: 1.55;
}

.skill-communication h3 {
  max-width: 360px;
  font-size: clamp(29px, 3vw, 40px);
}

.reveal {
  --reveal-progress: 0;
  opacity: var(--reveal-progress);
  transform: translateY(var(--reveal-y, 54px)) scale(var(--reveal-scale, .985));
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signature-intro { height: 100vh; }
  .signature path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .signature-pen { display: none; }
  .opening-scroll i::after { animation: none; transform: none; }
  .timeline-scanner i { animation: none; }
  .story-visual svg * { stroke-dashoffset: 0; }
  .side-project-visual * { stroke-dashoffset: 0; }
  .skill-symbol * { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .signature { width: 88vw; }
  .signature-caption { bottom: 14vh; width: 100%; }
  .opening-scroll { right: 20px; bottom: 20px; }
  .nav-links {
    display: none;
  }

  .intro {
    min-height: auto;
    padding: 0;
  }

  .intro-panel {
    position: relative;
    top: 0;
    height: auto;
    min-height: 0;
    padding: 24px;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portrait-card {
    width: min(72vw, 300px);
    height: 360px;
    min-height: 0;
    margin: 0 auto;
  }

  .intro-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .item {
    width: 82vw;
    min-width: 82vw;
    padding: 0 24px;
  }

  .story-visual {
    right: 12px;
    width: 105px;
    opacity: .24;
  }

  .side-projects { height: 560vh; }
  .side-projects-heading { top: 11vh; left: 24px; }
  .side-projects-heading h2 { font-size: 38px; }
  .side-project { top: 57%; grid-template-columns: 1fr; gap: 28px; }
  .side-project h3 { font-size: clamp(38px, 11vw, 56px); }
  .side-project-visual { width: min(65vw, 260px); justify-self: end; opacity: .7; }

  .education {
    padding: 80px 0 130px;
  }

  .education-item {
    min-height: 0;
  }

  .education-summary {
    min-height: 0;
    padding: 34px 42px 38px 0;
    grid-template-columns: 34px 1fr;
    gap: 16px;
  }

  .education-meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .education-course h3 {
    font-size: clamp(30px, 9vw, 43px);
  }

  .education-curriculum {
    margin: 0 0 8px;
    padding: 26px 22px 34px;
  }

  .curriculum-groups {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .academic-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curriculum-grades,
  .academic-highlights {
    grid-template-columns: 1fr;
  }

  .future-skills {
    padding: 76px 18px;
  }

  .future-skills-inner {
    width: 100%;
  }

  .future-skills-head {
    margin-bottom: 44px;
  }

  .skills-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .skill-communication,
  .skill-iot,
  .skill-protocols,
  .skill-cctv,
  .skill-ai {
    grid-column: 1;
    grid-row: auto;
    min-height: 300px;
  }

  .skill-cctv {
    flex-direction: column;
    align-items: stretch;
  }

  .skill-cctv .skill-symbol {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 48%;
    height: 42%;
  }
}
