:root {
  --bg-dark: #000000;
  --bg-dark-soft: #101012;
  --bg-light: #f5f5f7;
  --panel-light: #ffffff;
  --panel-dark: #1a1a1d;
  --ink-dark: #1d1d1f;
  --ink-light: #f5f5f7;
  --muted-dark: #8e8e93;
  --muted-light: #a1a1a6;
  --line-light: #d2d2d7;
  --line-dark: #2c2c30;
  --blue: #2997ff;
  --blue-strong: #0071e3;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --container: 1200px;
  --tone-0: #000000;
  --tone-1: #0d1219;
  --tone-2: #1f2735;
  --tone-3: #364358;
  --tone-4: #657690;
  --tone-5: #b8c3d4;
  --tone-6: #dce4ef;
  --tone-7: #edf2f8;
  --surface-dark-a: #171b23;
  --surface-dark-b: #10151d;
  --surface-light-a: #ffffff;
  --surface-light-b: #f4f7fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  background: var(--bg-light);
  color: var(--ink-dark);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.hero-eyebrow,
.section-kicker,
.experience-role,
.experience-date,
.proof-stat-label,
.timeline-year,
.toggle-title,
.skill-label,
.nav-logo {
  font-family: "IBM Plex Mono", monospace;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.container,
.nav-inner {
  width: min(var(--container), calc(100% - clamp(1rem, 3vw, 2.2rem)));
  margin: 0 auto;
}

#navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

#navbar::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #2ea8ff, #7cc8ff);
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
}

.nav-inner {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f5f5f7;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: #d6d6db;
  font-size: 0.74rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.18rem;
}

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

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

.nav-links a.nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 999px;
  background: #2ea8ff;
}

.nav-cta {
  color: var(--blue) !important;
}

.section-rail {
  position: fixed;
  right: clamp(0.45rem, 1.8vw, 1rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 44;
  padding: 0.15rem 0 0.15rem 0.9rem;
  display: grid;
  gap: 0.28rem;
  user-select: none;
  --rail-text-color: #ffffff;
}

.section-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.18rem;
  width: 2px;
  border-radius: 999px;
  background: rgba(191, 197, 204, 0.42);
}

.section-rail::after {
  content: "";
  position: absolute;
  left: 0.02rem;
  width: 6px;
  height: 1.2rem;
  border-radius: 999px;
  top: var(--rail-indicator-top, 0px);
  background: linear-gradient(180deg, #9fd8ff, #2ea8ff);
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.16);
  transition: top 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-rail-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.42rem;
  min-height: 1.2rem;
  color: rgba(214, 214, 219, 0.72);
}

.section-rail-link::before {
  content: "";
  width: 0.55rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(189, 194, 201, 0.62);
  transition: background 0.24s ease, transform 0.24s ease;
}

.section-rail-link span {
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rail-text-color);
  opacity: 0.9;
  transition: opacity 0.24s ease, color 0.24s ease;
}

.section-rail-link.nav-active span {
  color: var(--rail-text-color);
  opacity: 1;
}

.section-rail.rail-tone-light {
  --rail-text-color: #0f1115;
}

.section-rail.rail-tone-dark {
  --rail-text-color: #ffffff;
}

.section-rail-link.nav-active::before {
  background: #8ecaff;
  transform: scaleX(1.12);
}

.hamburger {
  display: none;
  width: 2.1rem;
  height: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0;
}

.hamburger span {
  width: 0.95rem;
  height: 2px;
  border-radius: 999px;
  background: #f5f5f7;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

section {
  padding: clamp(4.9rem, 9vw, 7.9rem) 0;
  scroll-margin-top: 4.2rem;
}

#hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 5%, #2a2a2d 0%, #101113 44%, #050506 76%, #000 100%);
  color: var(--ink-light);
  padding-top: clamp(4.6rem, 9vw, 7.5rem);
}

#hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(8.5rem, 18vw, 13.5rem);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(30, 36, 48, 0.42) 46%,
    rgba(101, 118, 144, 0.68) 78%,
    var(--tone-6) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#proof-strip {
  position: relative;
  overflow: hidden;
  padding-top: 1.2rem;
}

.hero-grid,
.proof-shell {
  position: relative;
  z-index: 1;
}

.section-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.motion-shape {
  position: absolute;
  border-radius: 999px;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.section-motion-hero .motion-shape-a {
  top: -14%;
  left: -8%;
  width: 26rem;
  height: 26rem;
  opacity: 0.12;
  background: radial-gradient(circle at 35% 35%, rgba(79, 177, 255, 0.65), rgba(79, 177, 255, 0));
}

.section-motion-hero .motion-shape-b {
  top: 14%;
  right: -12%;
  width: 32rem;
  height: 32rem;
  opacity: 0.08;
  background: radial-gradient(circle at 52% 42%, rgba(166, 182, 255, 0.5), rgba(166, 182, 255, 0));
}

.section-motion-hero .motion-shape-c {
  bottom: -25%;
  left: 36%;
  width: 20rem;
  height: 20rem;
  opacity: 0.09;
  background: radial-gradient(circle at 50% 50%, rgba(60, 205, 255, 0.44), rgba(60, 205, 255, 0));
}

.section-motion-metrics .motion-shape-d {
  top: -28%;
  left: 4%;
  width: 20rem;
  height: 20rem;
  opacity: 0.14;
  background: radial-gradient(circle at 40% 36%, rgba(46, 168, 255, 0.28), rgba(46, 168, 255, 0));
}

.section-motion-metrics .motion-shape-e {
  right: 0;
  bottom: -34%;
  width: 24rem;
  height: 24rem;
  opacity: 0.12;
  background: radial-gradient(circle at 48% 44%, rgba(45, 130, 255, 0.23), rgba(45, 130, 255, 0));
}

.hero-grid {
  display: grid;
  gap: 1rem;
}

.hero-copy {
  text-align: center;
}

.hero-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.74rem;
  font-weight: 600;
  color: #d2ad7c;
}

.hero-title {
  margin: 0.52rem auto 0;
  max-width: 12.5ch;
  font-size: clamp(2.95rem, 8.6vw, 7.35rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-sub {
  margin: 0.88rem auto 0;
  max-width: 42ch;
  color: #cbccd2;
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  line-height: 1.42;
  text-wrap: pretty;
}

.hero-preview {
  width: min(1120px, 100%);
  max-width: none;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 22px 42px rgba(4, 12, 24, 0.26);
}

.hero-preview img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-core {
  margin: 1.2rem auto 0;
  max-width: 900px;
  border-radius: var(--radius-lg);
  padding: clamp(0.92rem, 1.8vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  will-change: transform;
}

.hero-core-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: #d7d7dc;
}

.focus-rotation-indicator {
  margin-top: 0.48rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-rotation-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.focus-rotation-dot {
  appearance: none;
  width: 0.52rem;
  height: 0.52rem;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.26);
  opacity: 0.5;
  transform: scale(1);
  transition: transform 220ms ease, opacity 220ms ease, background 220ms ease;
}

.focus-rotation-dot:hover {
  opacity: 0.85;
  transform: scale(1.2);
}

.focus-rotation-dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.focus-rotation-dot.is-next {
  opacity: 0.75;
  background: rgba(215, 216, 224, 0.46);
}

.focus-rotation-dot.is-active {
  opacity: 1;
  background: #ffffff;
  transform: scale(1.35);
}

.panel-results {
  margin-top: 0.56rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.panel-result {
  text-align: left;
  border-radius: var(--radius-md);
  padding: 0.72rem 0.78rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transform:
    perspective(920px)
    rotateX(calc(var(--tilt-x, 0deg) + var(--focus-rotate-x, 0deg)))
    rotateY(calc(var(--tilt-y, 0deg) + var(--focus-rotate-y, 0deg)))
    rotateZ(var(--focus-rotate-z, 0deg))
    translateY(calc(var(--focus-shift, 0px) + var(--lift, 0px)))
    translateZ(var(--focus-depth, 0px))
    scale(var(--focus-scale, 1));
  opacity: var(--focus-opacity, 1);
  filter: blur(var(--focus-blur, 0px));
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.panel-results.focus-rotator {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr);
  touch-action: pan-y pinch-zoom;
}

.panel-results.focus-rotator .panel-result {
  grid-area: 1 / 1;
  position: relative;
  --focus-opacity: 0;
  --focus-scale: 0.96;
  --focus-shift: 18px;
  --focus-depth: -70px;
  --focus-rotate-x: 8deg;
  --focus-rotate-y: -4deg;
  --focus-rotate-z: -0.9deg;
  --focus-blur: 2.2px;
  pointer-events: none;
}

.panel-results.focus-rotator .panel-result.is-active {
  --focus-opacity: 1;
  --focus-scale: 1;
  --focus-shift: 0px;
  --focus-depth: 0px;
  --focus-rotate-x: 0deg;
  --focus-rotate-y: 0deg;
  --focus-rotate-z: 0deg;
  --focus-blur: 0px;
  pointer-events: auto;
  z-index: 3;
}

.panel-results.focus-rotator .panel-result.is-next {
  --focus-opacity: 0.2;
  --focus-scale: 0.95;
  --focus-shift: 26px;
  --focus-depth: -96px;
  --focus-rotate-x: 6deg;
  --focus-rotate-y: -3deg;
  --focus-rotate-z: -0.45deg;
  --focus-blur: 1.8px;
  clip-path: inset(56% 0 0 0 round 14px);
  z-index: 1;
}

.panel-results.focus-rotator .panel-result.is-next .panel-result-copy {
  opacity: 0;
}

.panel-results.focus-rotator .panel-result.is-next .panel-result-head {
  opacity: 0.72;
}

.panel-results.focus-rotator .panel-result.is-exiting {
  --focus-shift: -20px;
  --focus-depth: -80px;
  --focus-rotate-x: -8deg;
  --focus-rotate-y: 4deg;
  --focus-rotate-z: 0.9deg;
  --focus-blur: 2.4px;
  z-index: 1;
}

.panel-result-head {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
}

.panel-result-icon {
  width: 1.72rem;
  height: 1.72rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 1.72rem;
  color: #f7f7fa;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.24);
  transform: translateZ(24px);
}

.panel-result-icon svg {
  width: 0.92rem;
  height: 0.92rem;
  display: block;
}

.panel-result strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  margin-top: 0.05rem;
  color: #f6f6fa;
  transform: translateZ(12px);
}

.panel-result-copy {
  margin: 0.42rem 0 0;
  display: block;
  color: #c9c9cf;
  font-size: 0.94rem;
  line-height: 1.4;
  transform: translateZ(8px);
}

@media (hover: hover) and (pointer: fine) {
  .panel-result:hover {
    --lift: -5px;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(6, 6, 8, 0.45);
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.32),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

.hero-actions {
  margin-top: 1.06rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.64rem;
}

.hero-actions-bridge {
  margin: 0.35rem auto 1.35rem;
}

.hero-actions-bridge .btn-primary {
  min-width: 10.6rem;
  background: linear-gradient(180deg, #3aa7ff, #0a78eb);
  border: 1px solid rgba(125, 198, 255, 0.42);
  box-shadow: 0 12px 24px rgba(10, 120, 235, 0.34);
}

.hero-actions-bridge .btn-primary:hover,
.hero-actions-bridge .btn-primary:focus-visible {
  background: linear-gradient(180deg, #57b4ff, #1a84ec);
}

.hero-actions-bridge .btn-secondary {
  min-width: 9.8rem;
}

.btn {
  min-height: 2.8rem;
  border-radius: 999px;
  padding: 0.52rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2a9bff, #0071e3);
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, #45acff, #1a84ec);
  transform: translateY(-1px);
}

.btn-secondary {
  color: #c0dfff;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(132, 196, 255, 0.36);
  font-weight: 600;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(41, 151, 255, 0.1);
  transform: translateY(-1px);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  will-change: transform;
}

.panel-card,
.work-toggle {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  color: #ececf0;
  backdrop-filter: blur(8px);
}

.panel-card {
  grid-column: span 3;
  padding: 1rem;
}

.hero-panel-kicker {
  grid-column: 1 / -1;
  text-align: center;
  color: #d5d5da;
  margin-bottom: 0.25rem;
}

.section-kicker.hero-panel-kicker {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.skill-explorer {
  display: grid;
  gap: 1rem;
}

.skill-explorer-head {
  display: block;
}

.skill-explorer-kicker,
.skill-detail-kicker,
.skill-chip-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.64rem;
  font-weight: 700;
  color: #c8a06b;
}

.skill-segmented {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.25rem, 1fr));
  gap: 0.36rem;
  padding: 0.34rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.skill-segment {
  appearance: none;
  min-height: 2.6rem;
  border: 0;
  border-radius: 14px;
  padding: 0.58rem 0.84rem;
  background: transparent;
  color: #c9d1dd;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.skill-segment:hover,
.skill-segment:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: #f7f9fd;
}

.skill-segment.is-active {
  background: linear-gradient(180deg, rgba(61, 165, 255, 0.28), rgba(26, 113, 196, 0.22));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(140, 210, 255, 0.18);
}

.skill-segment:focus-visible {
  outline: 2px solid rgba(154, 209, 255, 0.45);
  outline-offset: 2px;
}

.skill-panel {
  display: none;
  gap: 1rem;
  padding: 0;
}

.skill-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.12fr);
  align-items: start;
}

.skill-panel[data-skill-panel="education"].is-active {
  grid-template-columns: 1fr;
}

.skill-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.76rem;
}

.skill-card-grid > .skill-card:last-child:nth-child(odd),
.skill-card-grid > .skill-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.skill-card {
  appearance: none;
  width: 100%;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.46rem;
  padding: 1rem 1.02rem 1.04rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 8.5rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.skill-card:hover,
.skill-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(145, 209, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  box-shadow: 0 16px 28px rgba(2, 8, 18, 0.18);
}

.skill-card.is-active {
  border-color: rgba(70, 174, 255, 0.34);
  background: linear-gradient(180deg, rgba(53, 153, 239, 0.22), rgba(255, 255, 255, 0.06));
  box-shadow:
    0 18px 32px rgba(4, 12, 24, 0.2),
    inset 0 0 0 1px rgba(140, 210, 255, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .skill-card-grid:hover .skill-card:not(:hover):not(.is-active) {
    opacity: 0.76;
  }

  .skill-card-grid:focus-within .skill-card:not(:focus-visible):not(.is-active) {
    opacity: 0.82;
  }
}

.skill-card:focus-visible {
  outline: 2px solid rgba(154, 209, 255, 0.45);
  outline-offset: 2px;
}

.skill-card-icon {
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0.24rem 0.46rem;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfe6ff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.skill-card-label {
  display: block;
  color: #f6f7fb;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.skill-card-glance {
  display: block;
  color: #c6cdd8;
  font-size: 0.87rem;
  line-height: 1.5;
}

.skill-detail-stage {
  min-height: 0;
}

.skill-detail {
  display: none;
  gap: 0.92rem;
  min-height: 100%;
  padding: 1.08rem 1.12rem 1.14rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.skill-detail.is-active {
  display: grid;
  animation: skill-detail-enter 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-detail-kicker {
  color: #d8b07e;
}

.skill-detail-title {
  margin: -0.2rem 0 0;
  color: #f6f8fc;
  max-width: 18ch;
  font-size: clamp(1.28rem, 1.85vw, 1.62rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.skill-detail-copy {
  margin: 0.24rem 0 0;
  max-width: 50ch;
  color: #c7cfdb;
  font-size: 0.91rem;
  line-height: 1.68;
}

#skill-detail-software-app {
  gap: 1rem;
}

#skill-detail-software-app .skill-detail-title {
  max-width: 16ch;
  margin-top: -0.06rem;
  font-size: clamp(1.2rem, 1.65vw, 1.42rem);
  line-height: 1.18;
}

#skill-detail-software-app .skill-detail-copy {
  max-width: 44ch;
  margin-top: 0.22rem;
  color: #d0d8e6;
  font-size: 0.89rem;
  line-height: 1.7;
}

.skill-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.92rem;
  margin-top: 0.34rem;
}

.skill-proof {
  display: grid;
  gap: 0.62rem;
  align-content: start;
  position: relative;
  overflow: hidden;
  padding: 1rem 1.06rem 1.08rem 1.14rem;
  border-radius: 20px;
  border: 1px solid rgba(120, 182, 244, 0.22);
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.84), rgba(18, 27, 42, 0.72)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 18px 34px rgba(4, 10, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.skill-proof::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(216, 174, 122, 0.96), rgba(91, 176, 255, 0.78));
}

.skill-proof-label {
  margin: 0;
  color: #d8ae7a;
  display: flex;
  align-items: center;
  gap: 0.56rem;
  min-height: 1.1rem;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.skill-proof-label::after {
  content: "";
  flex: 1;
  min-width: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 174, 122, 0.5), rgba(216, 174, 122, 0));
}

.skill-chip-label {
  color: #d8ae7a;
}

.skill-proof p {
  margin: 0;
  max-width: 58ch;
  color: #e0e6ef;
  font-size: 0.87rem;
  line-height: 1.62;
}

.skill-proof-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #e0e6ef;
  display: grid;
  gap: 0.34rem;
  font-size: 0.87rem;
  line-height: 1.56;
}

.skill-proof-list li {
  margin: 0;
}

.skill-chip-groups {
  display: grid;
  gap: 0.82rem;
}

.skill-chip-block {
  display: grid;
  gap: 0.46rem;
}

.skill-education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.8rem;
}

.skill-education-card {
  display: grid;
  gap: 0.46rem;
  align-content: start;
  height: 100%;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.skill-education-degree,
.skill-education-school,
.skill-education-copy {
  margin: 0;
}

.skill-education-degree {
  color: #f6f7fb;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.42;
}

.skill-education-school {
  color: #bec5d1;
  font-size: 0.86rem;
  line-height: 1.48;
}

.skill-education-copy {
  color: #c6cdd8;
  font-size: 0.88rem;
  line-height: 1.55;
}

.skill-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.skill-chip-row span {
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #d4dde9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.skill-chip-row-accent span {
  border-color: rgba(113, 190, 255, 0.28);
  background: rgba(46, 168, 255, 0.14);
  color: #e6f3ff;
}

@keyframes skill-detail-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-label,
.toggle-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: #d5d5da;
}

.panel-list,
.check-list,
.feature-points,
.experience-points {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.panel-list li,
.check-list li,
.feature-points li,
.experience-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.64;
}

.panel-list li + li,
.check-list li + li,
.feature-points li + li,
.experience-points li + li {
  margin-top: 0.6rem;
}

.panel-list li::before,
.check-list li::before,
.feature-points li::before,
.experience-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #d68836;
}

.work-toggle {
  overflow: hidden;
}

.skills-menu {
  grid-column: span 3;
}

.profile-menu {
  grid-column: span 3;
}

.profile-menu .skill-label {
  min-width: 7.2rem;
}

.work-toggle summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 3.8rem;
  padding: 0.95rem 1rem;
  background: rgba(0, 0, 0, 0.18);
}

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

.toggle-copy {
  display: grid;
  gap: 0.25rem;
}

.toggle-hint {
  font-size: 0.82rem;
  font-weight: 600;
  color: #c5cad5;
}

.toggle-title {
  font-weight: 700;
  font-size: 0.74rem;
}

.toggle-hint::before {
  content: "Click to expand";
}

.work-toggle[open] .toggle-hint::before {
  content: "Click to collapse";
}

.work-toggle summary::after {
  content: "+";
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(41, 151, 255, 0.5);
  color: #9accff;
  background: rgba(41, 151, 255, 0.08);
  font-size: 1.22rem;
}

.work-toggle[open] summary::after {
  content: "−";
}

.toggle-content {
  padding: 0.42rem 1rem 1rem;
  overflow: hidden;
  contain: layout paint;
  backface-visibility: hidden;
}

.skill-groups {
  display: grid;
  gap: 0.75rem;
}

.skill-group {
  display: grid;
  grid-template-columns: 10.8rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.skill-label {
  margin: 0;
  width: fit-content;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-value {
  margin: 0;
  color: #d6d6db;
  font-size: 0.98rem;
  line-height: 1.58;
}

section#proof-strip,
#about {
  background: var(--bg-light);
  color: var(--ink-dark);
}

section#proof-strip {
  background: linear-gradient(
    180deg,
    var(--tone-1) 0%,
    var(--tone-3) 20%,
    var(--tone-5) 52%,
    var(--tone-7) 78%,
    var(--bg-light) 100%
  );
}

#experience {
  margin-top: -1px;
  background: linear-gradient(
    180deg,
    var(--tone-1) 0%,
    #0c121a 34%,
    #081018 62%,
    #3a485d 84%,
    #d8e0ea 100%
  );
}

#work {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #d8e0ea 0%,
    #edf3fb 16%,
    #f6f9fd 34%,
    #dbe5f1 56%,
    #93a5bc 78%,
    #2a3545 92%,
    var(--tone-1) 100%
  );
}

#work::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(5.5rem, 10vw, 8.5rem);
  background: linear-gradient(
    180deg,
    rgba(13, 18, 25, 0) 0%,
    rgba(13, 18, 25, 0.48) 42%,
    rgba(13, 18, 25, 0.9) 74%,
    var(--tone-1) 100%
  );
  pointer-events: none;
}

#additional-work {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #d8e0ea 0%,
    #eff4fa 18%,
    #f8fafc 36%,
    #edf3f9 66%,
    #e1e8f1 86%,
    #d9e1eb 100%
  );
  color: var(--ink-dark);
  padding-top: clamp(6.4rem, 12vw, 9.2rem);
}

#about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--tone-6) 0%,
    #eef3fa 18%,
    #f7f9fc 42%,
    #edf3fb 66%,
    #e1e8f2 86%,
    #d8e0ea 100%
  );
}

#additional-work::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(6rem, 11vw, 9rem);
  background: linear-gradient(
    180deg,
    rgba(91, 111, 138, 0) 0%,
    rgba(91, 111, 138, 0.2) 40%,
    rgba(91, 111, 138, 0.58) 72%,
    #5b6f8a 100%
  );
  pointer-events: none;
}

#contact {
  background: linear-gradient(
    180deg,
    #5b6f8a 0%,
    #3f4d63 24%,
    #1c2430 54%,
    var(--tone-0) 100%
  );
  color: var(--ink-light);
}

.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 700;
  color: #86868b;
}

.section-shell {
  display: grid;
  gap: clamp(1.6rem, 2.8vw, 2.35rem);
}

.section-intro {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.section-intro h2,
.contact-shell h2 {
  margin: 0.6rem 0 1.15rem;
  font-size: clamp(2.35rem, 6.2vw, 5.55rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.section-intro p,
.contact-lead {
  margin: 0 auto;
  max-width: 60ch;
  color: #6e6e73;
  font-size: clamp(0.98rem, 1.45vw, 1.14rem);
  line-height: 1.68;
}

.section-intro p + p,
.contact-shell p + p {
  margin-top: 0.92rem;
}

#contact .section-intro .section-kicker {
  color: #d8e2f3;
}

#contact .contact-lead {
  color: #a1a1a6;
}

#work .section-kicker {
  color: #4f5058;
}

#work .section-intro p {
  color: #5d5f68;
}

#experience .section-kicker {
  color: #b8c1d2;
}

#experience .section-intro h2 {
  color: #f4f6fb;
}

#experience .section-intro p {
  color: #c3c9d6;
}

#experience .container {
  width: min(1380px, calc(100% - 1.2rem));
}

#additional-work .section-kicker {
  color: #b8c1d2;
}

#additional-work .section-intro h2 {
  color: #151518;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

#additional-work .section-intro p {
  color: #4f5056;
  font-weight: 500;
}

#contact .contact-shell h2 {
  color: #f5f5f7;
}

#work .section-intro h2 {
  color: #141518;
}

.proof-shell {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: clamp(1.3rem, 2.5vw, 1.75rem);
}

.proof-shell > .section-kicker {
  text-align: center;
}

.proof-strip {
  margin-top: 1rem;
}

.metrics-strip {
  border-radius: var(--radius-md);
  border: 1px solid rgba(62, 68, 78, 0.18);
  background: linear-gradient(180deg, rgba(247, 249, 253, 0.88), rgba(241, 244, 249, 0.76));
  padding: 0.95rem 1rem 1.05rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1rem minmax(0, 1fr) 1rem minmax(0, 1fr) 1rem minmax(0, 1fr);
  align-items: center;
  gap: 0.62rem;
}

.proof-stat {
  margin: 0;
}

.metrics-node {
  border-radius: 14px;
  border: 1px solid rgba(65, 76, 92, 0.18);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.62rem 0.64rem 0.7rem;
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  min-height: 9.3rem;
}

.metrics-link {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(114, 179, 244, 0.35), rgba(46, 168, 255, 0.95), rgba(114, 179, 244, 0.35));
  box-shadow:
    0 0 0 1px rgba(46, 168, 255, 0.2),
    0 0 14px rgba(46, 168, 255, 0.25);
  overflow: hidden;
}

.metrics-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #a8ddff;
  box-shadow:
    0 0 0 7px rgba(124, 200, 255, 0.24),
    0 0 16px rgba(46, 168, 255, 0.4);
  transform: translateY(-50%);
  animation: metrics-flow 3.9s linear infinite;
}

.metrics-link:nth-of-type(2)::after {
  animation-delay: 0.45s;
}

.metrics-link:nth-of-type(3)::after {
  animation-delay: 0.9s;
}

.proof-stat-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.59rem;
  color: #6e7480;
}

.proof-stat strong {
  margin-top: 0.26rem;
  display: block;
  font-size: clamp(0.94rem, 1.5vw, 1.28rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1f2b38;
}

.metrics-node p {
  margin: 0.42rem 0 0;
  font-size: 0.76rem;
  line-height: 1.32;
  color: #5f6470;
}

@keyframes metrics-flow {
  from {
    left: -12px;
  }

  to {
    left: calc(100% + 12px);
  }
}

@keyframes about-flow {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 180% 50%;
  }
}

.experience-timeline {
  width: 100%;
}

.experience-layout {
  margin: 1.45rem auto 0;
  width: min(100%, 58rem);
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-left: 1.6rem;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  bottom: 1.1rem;
  left: 0.45rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(160, 170, 184, 0.35), rgba(46, 168, 255, 0.5), rgba(160, 170, 184, 0.35));
}

.timeline-step {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0.48rem;
  padding: 1.1rem 1.16rem 1.05rem;
  width: 100%;
  border: 0;
  margin: 0;
  appearance: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 1.24rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  border: 2px solid rgba(46, 168, 255, 0.55);
  background: #fff;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.timeline-year {
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #636873;
  font-weight: 700;
  text-align: left;
  transition: color 220ms ease;
}

.timeline-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  border-radius: 14px;
  border: 1px solid rgba(56, 65, 79, 0.18);
  background: #fff;
  color: #2c3441;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.38rem 0.62rem 0.38rem 0.34rem;
  min-height: 2.2rem;
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
  text-align: left;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
}

.timeline-role-title {
  display: block;
  font-size: clamp(1.32rem, 2.15vw, 1.74rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: #172338;
}

.timeline-step:hover .timeline-chip,
.timeline-step:focus-visible .timeline-chip {
  border-color: rgba(46, 168, 255, 0.55);
  box-shadow: 0 6px 14px rgba(13, 28, 48, 0.08);
}

.timeline-step:focus-visible {
  outline: none;
}

.timeline-step.is-active::before {
  border-color: rgba(23, 120, 213, 0.82);
  background: linear-gradient(180deg, #9fd8ff, #2ea8ff);
  box-shadow: 0 0 0 4px rgba(46, 168, 255, 0.18);
}

.timeline-step.is-active .timeline-year {
  color: #172338;
}

.timeline-step.is-active .timeline-chip {
  border-color: rgba(46, 168, 255, 0.72);
  background: linear-gradient(180deg, #f7fbff, #edf5ff);
  color: #10233e;
  box-shadow: 0 8px 18px rgba(11, 38, 73, 0.12);
  transform: translateX(2px);
}

.experience-card.is-expanded .timeline-role-title {
  color: #10233e;
}

.timeline-logo {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #f5fbff;
  background: linear-gradient(180deg, #2ea8ff, #1879d8);
}

.experience-grid {
  display: grid;
  gap: 0.88rem;
  align-content: start;
}

.experience-scrollbar {
  display: none;
}

.experience-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: #fff;
  padding: 0;
  box-shadow: 0 12px 24px rgba(11, 23, 41, 0.08);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.experience-card::before {
  display: none;
}

.experience-card.current-role {
  border-color: rgba(46, 168, 255, 0.24);
}

.experience-card.is-expanded {
  border-color: rgba(28, 122, 213, 0.38);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 34px rgba(11, 37, 66, 0.14);
  transform: translateY(-2px);
}

.experience-card:focus-visible,
.experience-card:focus-within {
  outline: 2px solid rgba(30, 126, 219, 0.32);
  outline-offset: 2px;
}

.experience-detail {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transition:
    grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 220ms ease,
    opacity 220ms ease;
}

.experience-card.is-expanded .experience-detail {
  grid-template-rows: 1fr;
  margin-top: 0;
  opacity: 1;
}

.experience-detail-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 1.16rem 0;
}

.experience-card.is-expanded .experience-detail-inner {
  padding: 1rem 1.16rem 1.12rem;
  border-top: 1px solid rgba(132, 154, 186, 0.18);
}

.experience-detail .experience-tags {
  margin-top: 0;
}

.experience-head,
.feature-head,
.mini-head,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.experience-role,
.experience-date {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.68rem;
  color: #86868b;
}

.experience-head h3,
.about-card h3,
.feature-copy h3,
.mini-head h3 {
  margin: 0.34rem 0 0;
  font-size: 1.62rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.experience-summary,
.about-card p,
.mini-copy p,
.feature-summary {
  margin: 0.82rem 0 0;
  color: #6e6e73;
  font-size: 0.98rem;
  line-height: 1.66;
}

.experience-tags {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.experience-tags span,
.badge-row span,
.tag-row span,
.proof-chip,
.cloud-services span {
  padding: 0.36rem 0.64rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.03);
  color: #5f6874;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.feature-head .experience-tags {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.flagship-grid,
.category-grid,
.work-category {
  display: grid;
  gap: 1.25rem;
}

.stack-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  padding: 1.2rem;
  background: linear-gradient(180deg, var(--surface-dark-a), var(--surface-dark-b));
}

.stack-media,
.feature-media {
  border-radius: calc(var(--radius-md));
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  min-height: 15rem;
  background: radial-gradient(circle at 18% 10%, #2a3446 0%, #1a222f 55%, #111720 100%);
  display: grid;
}

.stack-media {
  align-self: center;
}

.image-media img,
.mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-media img[src*=".gif" i],
.mini-media img[src*=".gif" i] {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 24rem;
  margin: auto;
  object-fit: contain;
}

.stack-body,
.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.2rem 0.2rem;
}

#work .experience-tags span,
#work .stack-tech,
#work .feature-summary,
#work .feature-points li,
#work .feature-head h3,
#work .feature-link {
  color: #192230;
}

#work .stack-card {
  border-color: rgba(55, 72, 94, 0.2);
  background: linear-gradient(180deg, var(--surface-light-a), var(--surface-light-b));
  box-shadow: 0 14px 30px rgba(17, 36, 61, 0.08);
}

#work .stack-media,
#work .feature-media {
  border-color: rgba(52, 74, 101, 0.16);
  background: radial-gradient(circle at 18% 10%, #f0f5ff 0%, #e6edf9 58%, #dde6f5 100%);
}

#work .experience-tags span {
  border-color: rgba(64, 95, 130, 0.24);
  background: rgba(46, 168, 255, 0.1);
  color: #1f3d5f;
}

#work .feature-summary,
#work .feature-points li {
  color: #4a5361;
}

#work .feature-link {
  color: #0f69c4;
}

#work .feature-link:hover,
#work .feature-link:focus-visible {
  color: #0a57a3;
}

.feature-link {
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 600;
}

.feature-link:hover,
.feature-link:focus-visible {
  color: #64b5ff;
}

.js [data-project-info-ready="true"] .feature-summary,
.js [data-project-info-ready="true"] .feature-points {
  display: none;
}

.js [data-project-info-ready="true"] .feature-head .experience-tags {
  display: none;
}

.js [data-project-info-ready="true"].support-card {
  display: flex;
  flex-direction: column;
}

.js [data-project-info-ready="true"] .stack-media,
.js [data-project-info-ready="true"] .support-media {
  min-height: clamp(11.5rem, 23vw, 13.5rem);
}

.js [data-project-info-ready="true"] .stack-body,
.js [data-project-info-ready="true"] .support-body {
  position: relative;
  align-self: stretch;
  min-height: 0;
  justify-content: flex-start;
  gap: 0;
  padding: 1.14rem 1.14rem 1.2rem;
  border-radius: calc(var(--radius-md) + 2px);
  border: 1px solid rgba(47, 68, 94, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 250, 255, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 24px rgba(14, 32, 54, 0.06);
}

.js [data-project-info-ready="true"] .support-body {
  flex: 1 1 auto;
}

.js [data-project-info-ready="true"] .feature-head > div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.js [data-project-info-ready="true"] .feature-head {
  display: block;
}

.js [data-project-info-ready="true"] .feature-head h3 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.02rem, 2.4vw, 2.44rem);
  line-height: 1.01;
  letter-spacing: -0.035em;
}

.project-glance {
  margin: 0.94rem 0 0;
  max-width: 33ch;
  color: #5a687a;
  font-size: 0.98rem;
  line-height: 1.56;
}

.project-card-actions {
  margin-top: auto;
  padding-top: 0.98rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.4rem, 1fr));
  align-items: stretch;
  gap: 0.62rem;
}

.project-card-actions::before {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, rgba(112, 128, 148, 0), rgba(112, 128, 148, 0.34), rgba(46, 168, 255, 0.24), rgba(112, 128, 148, 0));
}

.project-card-actions .feature-link,
.project-card-actions .project-info-trigger {
  width: 100%;
  min-height: 2.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.08rem;
  border-radius: 999px;
  border: 1px solid rgba(32, 95, 157, 0.18);
  background: linear-gradient(180deg, #ffffff, #edf5ff);
  color: #143a62;
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 57, 102, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.project-card-actions .feature-link:hover,
.project-card-actions .feature-link:focus-visible,
.project-card-actions .project-info-trigger:hover,
.project-card-actions .project-info-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(24, 121, 216, 0.42);
  background: linear-gradient(180deg, #ffffff, #e3f0ff);
  color: #0f345a;
  box-shadow: 0 14px 24px rgba(18, 86, 150, 0.12);
}

.project-card-actions .feature-link:focus-visible,
.project-card-actions .project-info-trigger:focus-visible {
  outline: 2px solid rgba(25, 123, 218, 0.24);
  outline-offset: 2px;
}

.project-card-actions .project-info-trigger {
  background: linear-gradient(180deg, #2ea8ff, #1879d8);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(17, 89, 158, 0.2);
}

.project-card-actions .project-info-trigger:hover,
.project-card-actions .project-info-trigger:focus-visible {
  background: linear-gradient(180deg, #43b0ff, #2187ea);
  color: #ffffff;
}

.project-card-actions .demo-link,
.project-reading-actions .demo-link {
  color: #17497a;
  border-color: rgba(24, 121, 216, 0.28);
  background: linear-gradient(180deg, #f7fbff, #dfeeff);
}

.project-card-actions .demo-link:hover,
.project-card-actions .demo-link:focus-visible,
.project-reading-actions .demo-link:hover,
.project-reading-actions .demo-link:focus-visible {
  color: #113d67;
  border-color: rgba(24, 121, 216, 0.42);
  background: linear-gradient(180deg, #ffffff, #d3e7ff);
}

.project-info-trigger {
  width: 100%;
  cursor: pointer;
}

.demo-link {
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.82rem;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(24, 121, 216, 0.28);
  background: linear-gradient(180deg, #f7fbff, #dfeeff);
  color: #17497a;
}

.demo-link:hover,
.demo-link:focus-visible {
  color: #113d67;
  border-color: rgba(24, 121, 216, 0.42);
  background: linear-gradient(180deg, #ffffff, #d3e7ff);
}

.demo-link::after {
  content: "";
}

body.project-reading-open {
  overflow: hidden;
}

.project-reading-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(11, 17, 27, 0.24);
  backdrop-filter: blur(18px) saturate(126%);
  -webkit-backdrop-filter: blur(18px) saturate(126%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 240ms ease,
    visibility 0s linear 240ms;
}

.project-reading-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 240ms ease,
    visibility 0s linear 0s;
}

.project-reading-card {
  width: min(42rem, 100%);
  max-height: min(78vh, 52rem);
  overflow: auto;
  border-radius: 1.4rem;
  border: 1px solid rgba(47, 68, 94, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 250, 255, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 58px rgba(7, 21, 38, 0.2);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.project-reading-card:focus {
  outline: none;
}

.project-reading-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.project-reading-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6d7685;
}

.project-reading-title {
  margin: 0.32rem 0 0;
  color: #162235;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.project-reading-close {
  flex: 0 0 auto;
  min-width: 2.5rem;
  min-height: 2.5rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(53, 74, 102, 0.14);
  border-radius: 999px;
  background: rgba(24, 34, 52, 0.05);
  color: #334159;
  font-size: 1.38rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.project-reading-close:hover,
.project-reading-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(25, 122, 214, 0.34);
  background: rgba(46, 168, 255, 0.12);
  color: #143a62;
}

.project-reading-close:focus-visible {
  outline: 2px solid rgba(25, 123, 218, 0.28);
  outline-offset: 2px;
}

.project-reading-tags {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.52rem;
}

.project-reading-tags .experience-tags {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.project-reading-tags-primary span {
  border-color: rgba(38, 92, 152, 0.22);
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.98), rgba(228, 240, 255, 0.95));
  color: #24476f;
  box-shadow: 0 8px 16px rgba(17, 47, 83, 0.06);
}

.project-reading-tags-secondary {
  display: grid;
  gap: 0.32rem;
}

.project-reading-tags-note {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7b8696;
}

.project-reading-tags-muted span {
  border-color: rgba(76, 96, 124, 0.12);
  background: rgba(124, 142, 166, 0.08);
  color: #738092;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: none;
}

.project-reading-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-reading-actions .feature-link,
.project-reading-actions .demo-link {
  border-radius: 999px;
  border: 1px solid rgba(38, 92, 152, 0.18);
  background: rgba(46, 168, 255, 0.08);
  color: #143a62;
  padding: 0.4rem 0.84rem;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.project-reading-actions .feature-link:hover,
.project-reading-actions .feature-link:focus-visible,
.project-reading-actions .demo-link:hover,
.project-reading-actions .demo-link:focus-visible {
  color: #0f345a;
  border-color: rgba(24, 121, 216, 0.42);
  background: rgba(46, 168, 255, 0.14);
}

.project-reading-summary {
  margin: 1rem 0 0;
  color: #425066;
  font-size: 0.98rem;
  line-height: 1.68;
}

.project-reading-points {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: #49556a;
  display: grid;
  gap: 0.74rem;
  font-size: 0.96rem;
  line-height: 1.64;
}

.project-reading-points li::marker {
  color: #1f78d0;
}

.support-grid,
.about-grid,
.mini-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.support-grid,
.about-grid,
.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#additional-work .work-toggle {
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--ink-dark);
}

#additional-work .work-toggle summary {
  min-height: 4.15rem;
  background: linear-gradient(90deg, #eef1f7, #e6e9f1);
}

#additional-work .toggle-title {
  color: #232328;
  font-size: 0.78rem;
  font-weight: 800;
}

#additional-work .toggle-hint {
  color: #34343a;
  font-size: 0.86rem;
  font-weight: 700;
}

#additional-work .work-toggle summary::after {
  color: var(--blue-strong);
  border-color: rgba(0, 113, 227, 0.34);
  background: rgba(0, 113, 227, 0.08);
}

#additional-work .toggle-content {
  padding-top: 1.15rem;
}

#additional-work .support-grid {
  margin-top: 0.1rem;
}

#what-i-build {
  scroll-margin-top: 4.2rem;
}

#about .about-proof-shell {
  width: 100%;
  margin-top: 0.4rem;
  position: relative;
  padding: 1.28rem 1.2rem;
  border: 1px solid rgba(36, 52, 72, 0.16);
  background: linear-gradient(180deg, #ffffff, #f4f7fc);
  backdrop-filter: none;
  transform-style: preserve-3d;
  transform:
    perspective(920px)
    rotateX(var(--about-proof-tilt-x, 0deg))
    rotateY(var(--about-proof-tilt-y, 0deg))
    translateY(var(--about-proof-lift, 0px));
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease,
    filter 220ms ease;
  box-shadow: 0 12px 24px rgba(13, 26, 45, 0.08);
  will-change: transform;
  overflow: hidden;
}

#about .about-proof-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 8% 0%, rgba(46, 168, 255, 0.16), rgba(46, 168, 255, 0));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

#about .about-proof-shell:focus-visible {
  outline: 2px solid rgba(30, 126, 219, 0.62);
  outline-offset: 2px;
}

#about .about-proof-shell h3 {
  margin: 0;
  font-size: 2rem;
}

#about .about-proof-shell .proof-strip {
  margin-top: 1rem;
}

@media (hover: hover) and (pointer: fine) {
  #about .about-proof-shell:hover {
    --about-proof-lift: -6px;
    border-color: rgba(29, 126, 220, 0.44);
    box-shadow: 0 22px 34px rgba(13, 40, 73, 0.16);
  }

  #about .about-proof-shell:hover::after {
    opacity: 1;
  }
}

#additional-work .feature-head h3,
#additional-work .feature-link,
#additional-work .feature-points li {
  color: #1f1f22;
}

#additional-work .feature-points li {
  color: #4a4a50;
}

#additional-work .feature-link:hover,
#additional-work .feature-link:focus-visible {
  color: #0a57a3;
}

#about .about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 0.5rem;
}

#about .about-architecture {
  border-radius: var(--radius-md);
  border: 1px solid rgba(42, 56, 73, 0.16);
  background: linear-gradient(180deg, #f7faff, #eef3fb);
  padding: 0.88rem 0.9rem;
  overflow: hidden;
}

#about .about-arch-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.22rem 0.18rem;
}

#about .about-arch-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.35rem;
  right: 0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(126, 140, 160, 0.3) 0%,
    rgba(46, 168, 255, 0.5) 44%,
    rgba(46, 168, 255, 0.95) 58%,
    rgba(126, 140, 160, 0.3) 100%
  );
  transform: translateY(-50%);
  background-size: 180% 100%;
  animation: about-flow 6.8s linear infinite;
}

#about .about-arch-node,
#about .about-arch-arrow {
  position: relative;
  z-index: 1;
}

#about .about-arch-node {
  border-radius: 999px;
  border: 1px solid rgba(58, 70, 86, 0.2);
  background: #ffffff;
  color: #29313e;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.65rem;
}

#about .about-arch-node-accent {
  border-color: rgba(28, 123, 215, 0.45);
  background: rgba(46, 168, 255, 0.14);
  color: #154277;
}

#about .about-arch-arrow {
  color: #5b6472;
  font-size: 0.88rem;
  font-weight: 700;
}

#about .about-segmented {
  margin-top: 0.9rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 53, 71, 0.16);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.22rem;
  backdrop-filter: blur(8px);
}

#about .about-segment {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3b4250;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.46rem 0.72rem;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

#about .about-segment:hover,
#about .about-segment:focus-visible {
  background: rgba(46, 168, 255, 0.12);
  color: #173052;
  outline: none;
}

#about .about-segment.is-active {
  background: linear-gradient(180deg, #2ea8ff, #1879d8);
  color: #eef7ff;
  box-shadow: 0 8px 16px rgba(16, 76, 137, 0.24);
}

#about .about-detail-stage {
  margin-top: 0.72rem;
}

#about .about-detail {
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  padding: 0 0.95rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(7px);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    max-height 280ms ease,
    padding 260ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

#about .about-detail.is-active {
  border-color: rgba(44, 59, 79, 0.16);
  background: linear-gradient(180deg, #fcfdff, #f2f6fd);
  padding: 0.82rem 0.95rem;
  opacity: 1;
  max-height: 13rem;
  transform: translateY(0);
  pointer-events: auto;
}

#about .about-detail p {
  margin: 0;
  color: #374355;
  font-size: 0.95rem;
  line-height: 1.5;
}

#about .about-card {
  position: relative;
  padding: 1.2rem 1.12rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(36, 52, 72, 0.16);
  background: linear-gradient(180deg, #ffffff, #f4f7fc);
  transform-style: preserve-3d;
  transform:
    perspective(920px)
    rotateX(var(--about-tilt-x, 0deg))
    rotateY(var(--about-tilt-y, 0deg))
    translateY(var(--about-lift, 0px));
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease,
    filter 220ms ease;
  box-shadow: 0 12px 24px rgba(13, 26, 45, 0.08);
  will-change: transform;
}

#about .about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 8% 0%, rgba(46, 168, 255, 0.16), rgba(46, 168, 255, 0));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

#about .about-card:focus-visible {
  outline: 2px solid rgba(30, 126, 219, 0.62);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  #about .about-card:hover {
    --about-lift: -6px;
    border-color: rgba(29, 126, 220, 0.44);
    box-shadow: 0 22px 34px rgba(13, 40, 73, 0.16);
  }

  #about .about-card:hover::after {
    opacity: 1;
  }
}

#about .about-card h3 {
  margin: 0;
  font-size: 2rem;
}

#about .about-card p,
#about .check-list li {
  color: #4a4a50;
  font-size: 0.98rem;
  line-height: 1.52;
}

#about.about-focus-mode .about-card {
  opacity: 0.58;
  filter: saturate(0.84);
}

#about.about-focus-mode .about-card.is-focused,
#about .about-card.segment-active {
  opacity: 1;
  filter: saturate(1);
  border-color: rgba(28, 122, 213, 0.52);
  box-shadow: 0 20px 34px rgba(11, 37, 66, 0.18);
}

#about .about-card.is-focused::after,
#about .about-card.segment-active::after {
  opacity: 1;
}

.support-card,
.about-card,
.contact-card,
.contact-shell {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: #fff;
}

.support-card {
  overflow: hidden;
}

.support-media,
.mini-media {
  border-bottom: 1px solid var(--line-light);
  background: #f8f8fa;
}

.support-body,
.mini-copy {
  padding: 1rem;
}

.proof-media {
  padding: 0.85rem;
}

.proof-panel {
  min-height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
  background: linear-gradient(180deg, #fff, #f7f7fa);
  padding: 1rem;
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.proof-label {
  margin: 0;
  color: #6e6e73;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.proof-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pipeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.pipeline-box,
.cloud-box {
  padding: 0.88rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  background: #fff;
  color: #4f4f53;
  font-weight: 700;
}

.pipeline-box span {
  display: block;
  margin-top: 0.24rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #8e8e93;
}

.pipeline-arrow {
  color: #af5c00;
  font-weight: 700;
}

.cloud-grid {
  display: grid;
  gap: 0.7rem;
}

.cloud-grid .cloud-box {
  text-align: center;
}

.cloud-box-accent {
  border-color: rgba(41, 151, 255, 0.4);
  background: rgba(41, 151, 255, 0.09);
  color: var(--blue-strong);
}

.cloud-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#contact .contact-shell {
  background: linear-gradient(180deg, #18181b, #111114);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
}

#contact .contact-lead {
  color: #acacb3;
}

.contact-meta {
  margin: 0.65rem 0 0;
  color: #bfc0c7;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.contact-quick-actions {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

#contact .contact-quick-actions .btn {
  min-height: 2.55rem;
  font-size: 0.92rem;
  padding: 0.45rem 0.9rem;
}

#contact .contact-quick-actions .btn-secondary {
  color: #a6d3ff;
  border-color: rgba(96, 180, 255, 0.5);
  background: rgba(46, 168, 255, 0.12);
}

#contact .contact-quick-actions .btn-copy {
  color: #e7ecf5;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

#contact .contact-quick-actions .btn-copy:hover,
#contact .contact-quick-actions .btn-copy:focus-visible {
  border-color: rgba(142, 202, 255, 0.78);
  background: rgba(142, 202, 255, 0.14);
}

.copy-email-feedback {
  margin: 0.45rem 0 0;
  min-height: 1.15rem;
  color: #9bd0ff;
  font-size: 0.82rem;
}

.contact-shell {
  padding: clamp(1.2rem, 3vw, 2.15rem);
}

.contact-block + .contact-block {
  margin-top: 1.45rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-block h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.contact-grid {
  margin-top: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card {
  border-radius: var(--radius-md);
  padding: 1.12rem;
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

#contact .contact-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(41, 151, 255, 0.62) !important;
}

.contact-card-static:hover {
  transform: none;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.66rem;
  color: #9999a2;
}

#contact .contact-label {
  color: #bcc4d1;
}

.contact-value {
  margin-top: auto;
  font-size: 1rem;
  font-weight: 600;
}

.resume-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.resume-list li + li {
  margin-top: 0.46rem;
}

.resume-list a {
  color: #8ecaff;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.68rem 0.76rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.resume-list a:hover,
.resume-list a:focus-visible {
  border-color: rgba(142, 202, 255, 0.62);
  background: rgba(142, 202, 255, 0.12);
  transform: translateY(-1px);
}

.resume-title {
  color: #d7e8fb;
}

.resume-note {
  color: #b0b6c2;
  font-size: 0.82rem;
  font-weight: 500;
}

footer {
  background: #000;
  color: #a1a1a6;
  padding: 2rem 0 2.5rem;
}

.footer-inner p {
  margin: 0;
  color: #f5f5f7;
  font-weight: 700;
}

.footer-inner a {
  color: var(--blue);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease var(--reveal-delay, 0ms),
    transform 0.6s ease var(--reveal-delay, 0ms);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.js .experience-card.reveal.visible {
  transform: none;
  opacity: 1;
}

@media (max-width: 1200px) {
  .section-rail {
    display: none;
  }

  .nav-links {
    gap: 0.72rem;
  }

  .nav-links a {
    font-size: 0.7rem;
  }

  .stack-card {
    grid-template-columns: 1fr;
  }

  .stack-media,
  .feature-media {
    min-height: clamp(12.5rem, 34vw, 16rem);
  }

  .project-glance {
    max-width: none;
  }

  .project-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card-actions .project-info-trigger {
    grid-column: 1 / -1;
  }

  .skill-panel.is-active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .section-rail {
    display: none;
  }

  .motion-shape {
    opacity: 0.12;
  }

  .panel-results,
  .hero-panel,
  .proof-strip,
  .support-grid,
  .about-grid,
  .mini-grid,
  .stack-card,
  .feature-card,
  .feature-card-alt {
    grid-template-columns: 1fr;
  }

  .panel-card,
  .skills-menu {
    grid-column: span 1;
  }

  .skill-card-grid,
  .skill-education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-proof-grid {
    grid-template-columns: 1fr;
  }

  .stack-media,
  .feature-media {
    min-height: 12rem;
  }

  .category-grid .stack-card:nth-child(even) .stack-media,
  .category-grid .stack-card:nth-child(even) .stack-body,
  .feature-card-alt .feature-media,
  .feature-card-alt .feature-copy {
    order: initial;
  }

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

  #about .about-segmented {
    width: 100%;
    justify-content: center;
  }

  .experience-timeline {
    position: static;
  }
}

@media (max-width: 960px) {
  .hamburger {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0.5rem;
    right: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.24rem;
    padding: 0.6rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(18, 18, 20, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.74rem 0.84rem;
    border-radius: 10px;
    font-size: 0.86rem;
  }

  #about .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .skill-panel.is-active,
  .skill-proof-grid {
    grid-template-columns: 1fr;
  }

  .skill-group {
    grid-template-columns: 1fr;
  }

  .feature-head,
  .mini-head,
  .experience-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .section-rail {
    display: none;
  }

  .section-motion .motion-shape-c,
  .section-motion .motion-shape-e {
    display: none;
  }

  .hero-actions-bridge {
    margin-bottom: 0.95rem;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
    gap: 0.68rem;
    padding: 0.9rem;
  }

  .metrics-link {
    width: 4px;
    height: 1.05rem;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(114, 179, 244, 0.35), rgba(46, 168, 255, 0.95), rgba(114, 179, 244, 0.35));
  }

  .metrics-link::after {
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    animation-name: metrics-flow-vertical;
  }

  .metrics-node {
    min-height: 8.5rem;
    border-radius: 12px;
  }

  .skill-explorer {
    gap: 0.82rem;
  }

  .skill-segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.28rem;
  }

  .skill-segment {
    min-height: 2.46rem;
    font-size: 0.82rem;
    padding: 0.54rem 0.72rem;
  }

  .skill-card-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(14rem, 78%);
    gap: 0.56rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 0.16rem;
    scrollbar-width: thin;
  }

  .skill-card-grid > .skill-card:last-child:nth-child(odd),
  .skill-card-grid > .skill-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .skill-education-grid {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .skill-card {
    scroll-snap-align: start;
    min-height: auto;
    gap: 0.4rem;
    padding: 0.82rem 0.84rem 0.86rem;
  }

  .skill-card-icon {
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.66rem;
  }

  .skill-card-label {
    font-size: 0.96rem;
  }

  .skill-card-glance {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .skill-detail {
    gap: 0.76rem;
    padding: 0.88rem;
  }

  .skill-detail-title {
    max-width: none;
    font-size: clamp(1.08rem, 5.6vw, 1.28rem);
    line-height: 1.2;
  }

  .skill-detail-copy {
    margin-top: 0.18rem;
    max-width: none;
    font-size: 0.84rem;
    line-height: 1.56;
  }

  #skill-detail-software-app .skill-detail-title {
    max-width: none;
    font-size: clamp(1.04rem, 5.3vw, 1.22rem);
    line-height: 1.2;
  }

  #skill-detail-software-app .skill-detail-copy {
    max-width: none;
    font-size: 0.82rem;
    line-height: 1.58;
  }

  .skill-proof-grid,
  .skill-chip-groups {
    gap: 0.58rem;
  }

  .skill-proof {
    gap: 0.46rem;
    padding: 0.82rem 0.82rem 0.88rem 0.94rem;
  }

  .skill-proof-label {
    gap: 0.42rem;
    min-height: 1rem;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .skill-proof p,
  .skill-proof-list,
  .skill-education-copy {
    font-size: 0.8rem;
    line-height: 1.52;
  }

  .skill-chip-row {
    gap: 0.34rem;
  }

  .skill-chip-row span {
    padding: 0.32rem 0.56rem;
    font-size: 0.68rem;
  }

  .skill-detail-stage {
    min-height: 0;
  }

  .experience-layout {
    margin-top: 1.15rem;
  }

  .experience-card {
    border-radius: 16px;
  }

  .experience-timeline {
    padding: 0;
  }

  .timeline-track {
    gap: 0.88rem;
    padding-left: 1.2rem;
  }

  .timeline-track::before {
    left: 0.32rem;
    top: 1rem;
    bottom: 1rem;
  }

  .timeline-step {
    padding: 1rem 0.96rem 0.96rem;
  }

  .timeline-step::before {
    left: -0.88rem;
    top: 1.08rem;
  }

  .timeline-role-title {
    font-size: 1.18rem;
  }

  .experience-detail-inner {
    padding: 0 0.96rem 0;
  }

  .experience-card.is-expanded .experience-detail-inner {
    padding: 0.92rem 0.96rem 1rem;
  }

  .contact-quick-actions .btn {
    width: 100%;
  }

  section {
    padding: 4.35rem 0;
  }

  .container,
  .nav-inner {
    width: min(var(--container), calc(100% - 1rem));
  }

  .panel-results {
    grid-template-columns: 1fr;
  }

  .project-reading-overlay {
    align-items: center;
    padding: 1rem;
  }

  .project-reading-card {
    width: min(100%, 34rem);
    max-height: min(82svh, 46rem);
    border-radius: 1.2rem;
    padding: 0.95rem;
  }

  .project-reading-header {
    gap: 0.7rem;
  }

  .project-reading-actions {
    gap: 0.42rem;
  }

  .js [data-project-info-ready="true"] .stack-body,
  .js [data-project-info-ready="true"] .support-body {
    padding: 1rem;
  }

  .project-glance {
    max-width: none;
    font-size: 1rem;
    line-height: 1.58;
  }

  .project-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card-actions .feature-link,
  .project-card-actions .project-info-trigger {
    min-height: 2.64rem;
    font-size: 0.88rem;
    padding: 0.58rem 0.94rem;
  }

  .project-card-actions .project-info-trigger {
    grid-column: 1 / -1;
  }

  #about .about-arch-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.22rem;
    scrollbar-width: thin;
  }

  #about .about-segmented {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 0.34rem;
  }

  #about .about-segment {
    width: 100%;
    text-align: center;
  }

  #about .about-detail.is-active {
    max-height: 18rem;
  }

  #about .about-card h3 {
    font-size: 1.6rem;
  }

  #about .about-proof-shell h3 {
    font-size: 1.6rem;
  }

  .skill-group {
    grid-template-columns: 1fr;
  }

  .feature-head,
  .mini-head,
  .experience-head,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .pipeline-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}

@keyframes metrics-flow-vertical {
  from {
    top: -10px;
  }

  to {
    top: calc(100% + 10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
