:root {
  --bg: #0f1115;
  --bg-soft: #161920;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --ghost: rgba(255, 255, 255, 0.08);
  --blue: #3b82f6;
  --blue-deep: #93c5fd;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --gold: #f59e0b;
  --coral: #f97316;
  --blue-soft: rgba(29, 78, 216, 0.08);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 28px 60px rgba(0, 0, 0, 0.4);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1200px, calc(100vw - 64px));
  --section-gap: clamp(96px, 12vw, 168px);
}

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

html {
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  display: none;
}

body::after {
  display: none;
}

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

a {
  color: inherit;
}

.site-aura {
  display: none;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.85'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(29, 78, 216, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  transition:
    width 220ms ease,
    height 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    opacity 220ms ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.cursor.is-hovering {
  width: 18px;
  height: 18px;
  background: rgba(29, 78, 216, 0.8);
  border-color: transparent;
}

.cursor.is-reading {
  width: 58px;
  height: 58px;
  background: rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.12);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  gap: 14px;
  background: var(--bg-soft);
}

.loader-mark {
  display: inline-block;
  position: relative;
  font-family: "Great Vibes", cursive;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.2;
  padding-bottom: 20px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  clip-path: inset(0 100% 0 0);
  text-shadow:
    0 0 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(37, 99, 235, 0.08);
}

.loader-bar {
  width: min(220px, 44vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.loader-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
}

.eyebrow,
.meta-pill,
.section-kicker,
.journey-year,
.journey-role,
.journey-note,
.panel-index,
.expertise-number,
.education-years,
.education-school,
.education-tag,
.footer-meta,
.about-rail-label {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#smooth-wrapper,
#smooth-content {
  position: relative;
  z-index: 1;
}

.portrait-stage {
  position: fixed;
  top: clamp(34px, 5vw, 72px);
  left: max(5%, calc(50vw - 600px));
  width: min(40vw, 540px);
  height: calc(100vh - clamp(90px, 12vw, 144px));
  pointer-events: none;
  z-index: 4;
}

.portrait-stage .hero-photo-shell {
  min-height: 100%;
}

.section {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}

.hero-media {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
}

.hero-media-spacer {
  min-height: clamp(620px, 76vh, 860px);
}

.hero-photo-shell,
.about-portrait-shell {
  position: relative;
  width: 100%;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.hero-photo-shell::before,
.hero-photo-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-photo-shell::before {
  width: min(72vw, 620px);
  height: min(72vw, 620px);
  bottom: 6%;
  left: 50%;
  transform: translateX(-51%);
  border: 1px solid rgba(29, 78, 216, 0.12);
  opacity: 0.7;
  animation: orbitalDrift 14s ease-in-out infinite;
}

.hero-photo-shell::after {
  width: 18px;
  height: 18px;
  left: 14%;
  top: 18%;
  background: radial-gradient(
    circle,
    rgba(29, 78, 216, 0.22),
    rgba(29, 78, 216, 0)
  );
  box-shadow:
    90px 42px 0 -6px rgba(255, 255, 255, 0.1),
    210px 168px 0 -10px rgba(29, 78, 216, 0.12);
  animation: detailFloat 9s ease-in-out infinite;
}

.hero-photo-glow,
.about-portrait-glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(72vw, 640px);
  height: min(34vw, 320px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(37, 99, 235, 0.16),
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(28px) saturate(1.04);
  opacity: 0.52;
  pointer-events: none;
  animation: glowPulse 11s ease-in-out infinite;
}

.hero-photo,
.about-portrait {
  position: relative;
  z-index: 1;
  --shadow-x-1: -18px;
  --shadow-y-1: 16px;
  --shadow-x-2: -38px;
  --shadow-y-2: 34px;
  width: min(112%, 660px);
  max-height: 84vh;
  object-fit: contain;
  object-position: bottom center;
  transform: translateX(26px);
  filter: drop-shadow(var(--shadow-x-1) var(--shadow-y-1) 0 rgba(0, 0, 0, 0.42))
    drop-shadow(var(--shadow-x-2) var(--shadow-y-2) 0 rgba(0, 0, 0, 0.24));
}

.about-portrait-shell {
  min-height: clamp(440px, 70vh, 760px);
  margin-bottom: 18px;
}

.about-portrait-glow {
  width: min(32vw, 420px);
  height: min(18vw, 220px);
}

.about-portrait {
  width: min(118%, 560px);
  max-height: 70vh;
  transform: translateX(12px);
}

.hero-copy {
  position: relative;
  padding-bottom: 56px;
  max-width: 36rem;
  margin-left: 0;
  text-align: left;
  z-index: 10;
}

.hero-copy::before {
  content: "SG";
  position: absolute;
  top: -58px;
  left: -20px;
  font-family: "Playfair Display", serif;
  font-size: clamp(88px, 16vw, 180px);
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-size: 0.72rem;
  margin-bottom: 18px;
}

.hero-title,
.section-title,
.journey-title,
.contact-title,
.expertise-title-card,
.education-degree,
.panel-title {
  font-family: "Playfair Display", serif;
}

.hero-title {
  font-size: clamp(60px, 9vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 10ch;
  text-wrap: balance;
  margin-bottom: 20px;
}

.char {
  display: inline-block;
  will-change: transform, opacity;
}

.char-word {
  display: inline-block;
  white-space: nowrap;
}

.char.is-dot {
  color: var(--blue);
}

.hero-rotator {
  position: relative;
  height: clamp(44px, 5vw, 62px);
  margin-bottom: 22px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  text-align: right;
}

.rotator-item {
  position: absolute;
  right: 0;
  top: 50%;
  opacity: 0;
  transform: translateY(calc(-50% + 16px));
  white-space: nowrap;
  text-align: right;
}

.rotator-item.is-active {
  opacity: 1;
  transform: translateY(-50%);
}

.hero-summary {
  max-width: 640px;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
  text-align: right;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: flex-end;
  align-items: center;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.46)
    ),
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.12), transparent 38%);
  font-size: 0.7rem;
  color: var(--muted);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 30px rgba(37, 99, 235, 0.06);
}

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scroll-cue-line {
  display: block;
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.32);
  transform-origin: top;
  order: 2;
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 44px;
  position: relative;
}

.about .section-intro {
  margin-left: auto;
  text-align: right;
}

.about .section-intro::after {
  left: auto;
  right: 0;
}

.section-intro::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: min(220px, 40vw);
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.95),
    rgba(6, 182, 212, 0.62) 48%,
    rgba(236, 72, 153, 0)
  );
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.16);
}

.section-intro-compact {
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.section-title {
  position: relative;
  z-index: 2;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
  text-wrap: balance;
}

.section-lead {
  max-width: 44ch;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.75vw, 21px);
  line-height: 1.8;
  text-wrap: pretty;
}

.about .section-lead,
.about .section-title {
  margin-left: auto;
}

.about {
  position: relative;
  padding-top: 28px;
  padding-bottom: var(--section-gap);
}

.about::before,
.expertise::before,
.education::before {
  content: "";
  position: absolute;
  inset: auto auto 8% -6%;
  width: 28vw;
  height: 28vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.22),
    rgba(37, 99, 235, 0)
  );
  filter: blur(48px);
  pointer-events: none;
  animation: ambientFloat 16s ease-in-out infinite;
}

.about::after,
.expertise::after,
.education::after {
  content: "";
  position: absolute;
  inset: 6% -4% auto auto;
  width: 24vw;
  height: 24vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.16),
    rgba(236, 72, 153, 0)
  );
  filter: blur(48px);
  pointer-events: none;
  animation: ambientFloatReverse 17s ease-in-out infinite;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
}

.about-rail {
  position: relative;
}

.about-rail-spacer {
  min-height: 1px;
}

.about-rail-inner {
  position: sticky;
  top: 112px;
  padding: 24px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.5)
    ),
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.18), transparent 38%),
    radial-gradient(
      circle at 100% 100%,
      rgba(236, 72, 153, 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at 78% 18%,
      rgba(245, 158, 11, 0.12),
      transparent 22%
    ),
    repeating-linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      transparent 1px 18px
    );
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -18px 32px rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.46),
    0 28px 70px rgba(255, 255, 255, 0.09),
    0 18px 48px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(18px) saturate(1.32);
  background-blend-mode: normal, screen, screen, overlay, multiply;
}

.about-rail-inner,
.story-panel,
.journey-card,
.expertise-card,
.education-item {
  isolation: isolate;
  background-blend-mode:
    normal, screen, screen, screen, overlay, multiply, soft-light;
}

.about-rail-inner::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.8);
  box-shadow:
    -14px 0 0 rgba(255, 255, 255, 0.12),
    -28px 0 0 rgba(255, 255, 255, 0.08);
  animation: pulseDot 2.6s ease-in-out infinite;
}

.about-rail-label {
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.about-rail-stat {
  display: grid;
  gap: 12px;
}

.about-rail-stat-compact {
  gap: 8px;
}

.about-rail-number {
  font-family: "Playfair Display", serif;
  font-size: clamp(68px, 9vw, 132px);
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.13);
}

.about-rail-copy {
  color: var(--muted);
  line-height: 1.7;
}

.about-portrait-panel::after {
  content: "";
  position: absolute;
  inset: 18% -10% auto auto;
  width: 46%;
  height: 28%;
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(-18deg);
  opacity: 0.7;
  pointer-events: none;
}

.about-panels {
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.story-panel {
  position: relative;
  min-height: min(84vh, 740px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.05)
    ),
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.14), transparent 36%),
    radial-gradient(
      circle at 100% 100%,
      rgba(236, 72, 153, 0.1),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 14%,
      rgba(245, 158, 11, 0.08),
      transparent 24%
    ),
    linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0) 48%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 18px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 26px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -24px 44px rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 34px 84px rgba(255, 255, 255, 0.08),
    0 16px 42px rgba(37, 99, 235, 0.05);
  backdrop-filter: blur(12px) saturate(1.1);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    filter 260ms ease;
}

.story-panel::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(37, 99, 235, 0.16),
    rgba(6, 182, 212, 0.08) 36%,
    rgba(255, 255, 255, 0) 72%
  );
  filter: blur(10px);
  opacity: 0.92;
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.story-panel:hover {
  transform: translateY(-6px) scale(1.004);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -24px 44px rgba(255, 255, 255, 0.05),
    0 42px 92px rgba(255, 255, 255, 0.12),
    0 18px 54px rgba(37, 99, 235, 0.11);
  border-color: rgba(37, 99, 235, 0.2);
  filter: saturate(1.08);
}

.story-panel:hover::after {
  transform: scale(1.08);
  opacity: 1;
}

.panel-01 {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.05)
    ),
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.16), transparent 36%),
    radial-gradient(
      circle at 100% 100%,
      rgba(37, 99, 235, 0.1),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 14%,
      rgba(245, 158, 11, 0.08),
      transparent 24%
    ),
    linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0) 48%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 18px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 26px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
}

.panel-02 {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.05)
    ),
    radial-gradient(circle at 0% 0%, rgba(236, 72, 153, 0.12), transparent 36%),
    radial-gradient(
      circle at 100% 100%,
      rgba(37, 99, 235, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 14%,
      rgba(6, 182, 212, 0.08),
      transparent 24%
    ),
    linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0) 48%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 18px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 26px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
}

.panel-03 {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.05)
    ),
    radial-gradient(circle at 0% 0%, rgba(245, 158, 11, 0.12), transparent 36%),
    radial-gradient(
      circle at 100% 100%,
      rgba(236, 72, 153, 0.1),
      transparent 34%
    ),
    radial-gradient(circle at 84% 14%, rgba(37, 99, 235, 0.1), transparent 24%),
    linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0) 48%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 18px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 26px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
}

.panel-index {
  font-size: 0.68rem;
  color: var(--blue);
}

.panel-title {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-wrap: balance;
}

.panel-body {
  max-width: 760px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: pretty;
}

.word {
  display: inline-block;
}

.panel-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  align-content: flex-start;
  margin-bottom: 24px;
}

.panel-keywords span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.06)),
    rgba(255, 255, 255, 0.05);
  color: var(--blue-deep);
  border: 1px solid rgba(37, 99, 235, 0.14);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 24px rgba(37, 99, 235, 0.06);
}

.panel-quote {
  position: relative;
  margin-top: 18px;
  max-width: 18ch;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  color: var(--blue-deep);
  text-wrap: balance;
  font-style: italic;
  padding-left: clamp(24px, 3.5vw, 40px);
}

.panel-quote::before {
  content: "\201C";
  position: absolute;
  top: -16px;
  left: -8px;
  font-family: inherit;
  font-size: 2.2em;
  color: rgba(147, 197, 253, 0.15); /* lightened --blue-deep */
  line-height: 1;
  pointer-events: none;
}

.panel-quote::after {
  content: "\201D";
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: inherit;
  font-size: 2.2em;
  color: rgba(147, 197, 253, 0.15);
  line-height: 1;
  pointer-events: none;
}

.journey {
  position: relative;
  padding-bottom: var(--section-gap);
}

.journey-pin {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.journey-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  min-height: auto;
  padding: 0 max(4vw, 24px) 0 0;
}

.journey-card {
  position: relative;
  overflow: hidden;
  --journey-a: rgba(37, 99, 235, 0.2);
  --journey-b: rgba(6, 182, 212, 0.18);
  --journey-c: rgba(236, 72, 153, 0.14);
  --journey-d: rgba(245, 158, 11, 0.12);
  width: min(500px, 74vw);
  min-height: 72vh;
  padding: clamp(48px, 6vw, 70px) clamp(28px, 4vw, 44px);
  border-radius: clamp(28px, 4vw, 40px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.05)
    ),
    radial-gradient(circle at 0% 0%, var(--journey-a), transparent 34%),
    radial-gradient(circle at 100% 100%, var(--journey-c), transparent 30%),
    radial-gradient(circle at 100% 0%, var(--journey-b), transparent 28%),
    radial-gradient(circle at 22% 100%, var(--journey-d), transparent 26%),
    linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0) 50%
    ),
    repeating-linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 16px
    ),
    repeating-linear-gradient(
      40deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 24px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -26px 44px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 34px 78px rgba(255, 255, 255, 0.07),
    0 18px 48px rgba(37, 99, 235, 0.05);
  backdrop-filter: blur(12px) saturate(1.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    filter 260ms ease;
}

.journey-card .journey-year {
  position: relative;
}

.journey-card .journey-year::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: linear-gradient(
    90deg,
    rgba(29, 78, 216, 0.55),
    rgba(29, 78, 216, 0)
  );
}

.journey-card::before,
.expertise-card::before,
.education-item::before,
.story-panel::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 20px;
  width: 58px;
  height: 58px;
  border-top: 1px solid rgba(37, 99, 235, 0.42);
  border-left: 1px solid rgba(6, 182, 212, 0.34);
  border-top-left-radius: 18px;
  background: radial-gradient(
    circle at 16px 16px,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0) 34%
  );
  opacity: 0.9;
}

.journey-card::before {
  top: 22px;
}

.journey-card:hover {
  transform: translateY(-8px) scale(1.006);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -26px 46px rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 42px 96px rgba(255, 255, 255, 0.13),
    0 18px 58px rgba(37, 99, 235, 0.12),
    0 0 0 1px rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.3);
  filter: saturate(1.1);
}

.journey-card::after {
  content: attr(data-year);
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(37, 99, 235, 0.09);
}

.journey-card:nth-child(2n) {
  --journey-a: rgba(6, 182, 212, 0.24);
  --journey-b: rgba(37, 99, 235, 0.16);
  --journey-c: rgba(245, 158, 11, 0.16);
  --journey-d: rgba(236, 72, 153, 0.12);
}

.journey-card:nth-child(3n) {
  --journey-a: rgba(236, 72, 153, 0.18);
  --journey-b: rgba(245, 158, 11, 0.14);
  --journey-c: rgba(37, 99, 235, 0.18);
  --journey-d: rgba(6, 182, 212, 0.14);
}

.journey-card.journey-card-featured {
  --journey-a: rgba(37, 99, 235, 0.24);
  --journey-b: rgba(6, 182, 212, 0.22);
  --journey-c: rgba(236, 72, 153, 0.18);
  --journey-d: rgba(245, 158, 11, 0.16);
  background:
    linear-gradient(
      180deg,
      rgba(236, 244, 255, 0.78),
      rgba(255, 240, 248, 0.34)
    ),
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.22), transparent 34%),
    radial-gradient(
      circle at 100% 100%,
      rgba(236, 72, 153, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(37, 99, 235, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 18% 100%,
      rgba(245, 158, 11, 0.16),
      transparent 26%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.014) 0 1px,
      transparent 1px 16px
    ),
    repeating-linear-gradient(
      38deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 24px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
}

.journey-year,
.journey-role,
.journey-note {
  font-size: 0.72rem;
}

.journey-year {
  color: var(--blue);
  text-shadow: 0 0 18px rgba(37, 99, 235, 0.12);
}

.journey-title {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 12ch;
  text-wrap: balance;
}

.journey-role,
.journey-note,
.journey-copy {
  max-width: 34ch;
}

.journey-role,
.journey-note,
.journey-copy {
  color: var(--muted);
}

.journey-copy {
  font-size: 1.02rem;
  line-height: 1.75;
  text-wrap: pretty;
  color: rgba(255, 255, 255, 0.74);
}

.journey-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.journey-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
}

.cross-marquees {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0 0 calc(var(--section-gap) * 0.92);
  margin-left: calc(50% - 50vw);
  height: clamp(280px, 38vw, 460px);
  overflow: clip;
}

.cross-marquees::before,
.cross-marquees::after {
  display: none;
}

.cross-marquees-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.cross-marquee-row {
  position: absolute;
  left: -18%;
  right: -18%;
  top: 50%;
  overflow: hidden;
  padding: 24px 0;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 24px 68px rgba(255, 255, 255, 0.04),
    0 12px 36px rgba(37, 99, 235, 0.04);
  backdrop-filter: blur(14px);
  transition:
    filter 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.cross-marquee-row-primary {
  transform: translateY(-50%) rotate(20deg);
}

.cross-marquee-row-secondary {
  transform: translateY(-50%) rotate(-20deg);
}

.cross-marquees:hover .cross-marquee-row {
  filter: blur(5px);
  opacity: 0.42;
}

.cross-marquees .cross-marquee-row:hover {
  filter: none;
  opacity: 1;
  z-index: 2;
}

.cross-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.cross-marquee-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
}

.cross-marquee-group span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 0;
  background: transparent;
  border: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.cross-marquee-group span::after {
  content: "•";
  margin-left: 18px;
  color: rgba(37, 99, 235, 0.38);
}

.expertise {
  position: relative;
  padding-bottom: var(--section-gap);
}

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

.expertise-card:nth-child(2n) {
  transform: translateY(26px);
}

.expertise-card {
  position: relative;
  padding: 26px;
  border-radius: 26px;
  --expertise-a: rgba(37, 99, 235, 0.16);
  --expertise-b: rgba(6, 182, 212, 0.12);
  --expertise-c: rgba(236, 72, 153, 0.1);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.05)
    ),
    radial-gradient(circle at 0% 0%, var(--expertise-a), transparent 34%),
    radial-gradient(circle at 100% 100%, var(--expertise-c), transparent 32%),
    radial-gradient(circle at 86% 12%, var(--expertise-b), transparent 24%),
    linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0) 46%
    ),
    repeating-linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.014) 0 1px,
      transparent 1px 18px
    ),
    repeating-linear-gradient(
      40deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 24px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -18px 32px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 30px 72px rgba(255, 255, 255, 0.07),
    0 16px 42px rgba(37, 99, 235, 0.05);
  backdrop-filter: blur(12px) saturate(1.12);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.18),
    rgba(37, 99, 235, 0) 68%
  );
  filter: blur(8px);
  opacity: 0.9;
}

.expertise-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -18px 34px rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 34px 78px rgba(255, 255, 255, 0.1),
    0 18px 48px rgba(37, 99, 235, 0.1);
  filter: saturate(1.08);
}

.expertise-number {
  font-size: 0.7rem;
  color: var(--blue);
  margin-bottom: 28px;
}

.expertise-title-card {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  text-wrap: balance;
}

.expertise-copy {
  color: var(--muted);
  line-height: 1.75;
  max-width: 38ch;
  text-wrap: pretty;
}

.expertise-card:nth-child(2n) {
  --expertise-a: rgba(236, 72, 153, 0.14);
  --expertise-b: rgba(245, 158, 11, 0.14);
  --expertise-c: rgba(37, 99, 235, 0.14);
}

.expertise-card:nth-child(3n) {
  --expertise-a: rgba(6, 182, 212, 0.2);
  --expertise-b: rgba(37, 99, 235, 0.14);
  --expertise-c: rgba(236, 72, 153, 0.12);
}

.education-item:nth-child(2n) {
  --education-a: rgba(236, 72, 153, 0.14);
  --education-b: rgba(245, 158, 11, 0.12);
  --education-c: rgba(37, 99, 235, 0.12);
}

.education-item:nth-child(3n) {
  --education-a: rgba(6, 182, 212, 0.18);
  --education-b: rgba(37, 99, 235, 0.14);
  --education-c: rgba(236, 72, 153, 0.12);
}

.reveal-card {
  opacity: 0;
  transform: translateY(30px);
}

.education {
  position: relative;
  padding-bottom: var(--section-gap);
}

.education-watermark {
  position: absolute;
  inset: clamp(-100px, -10vw, -160px) 0 auto 0;
  font-family: "Playfair Display", serif;
  font-size: min(23vw, 320px);
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.04);
  text-align: center;
  pointer-events: none;
  z-index: 0;
}

.education-list {
  position: relative;
  display: grid;
  gap: 16px;
  z-index: 2;
}

.education-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  border-radius: 24px;
  --education-a: rgba(37, 99, 235, 0.14);
  --education-b: rgba(6, 182, 212, 0.12);
  --education-c: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.54);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 0% 0%, var(--education-a), transparent 34%),
    radial-gradient(circle at 100% 100%, var(--education-c), transparent 30%),
    radial-gradient(circle at 86% 12%, var(--education-b), transparent 24%),
    linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0) 48%
    ),
    repeating-linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.014) 0 1px,
      transparent 1px 20px
    ),
    repeating-linear-gradient(
      42deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 26px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -18px 32px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 28px 68px rgba(255, 255, 255, 0.07),
    0 16px 42px rgba(37, 99, 235, 0.05);
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(1.12);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.education-item::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: inset 0 0 24px rgba(6, 182, 212, 0.08);
}

.education-item-featured {
  --education-a: rgba(37, 99, 235, 0.18);
  --education-b: rgba(6, 182, 212, 0.16);
  --education-c: rgba(236, 72, 153, 0.14);
  background:
    linear-gradient(
      180deg,
      rgba(238, 244, 255, 0.76),
      rgba(255, 241, 248, 0.3)
    ),
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.18), transparent 34%),
    radial-gradient(
      circle at 100% 100%,
      rgba(236, 72, 153, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(37, 99, 235, 0.16),
      transparent 36%
    ),
    radial-gradient(
      circle at 18% 100%,
      rgba(245, 158, 11, 0.14),
      transparent 26%
    ),
    repeating-linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.014) 0 1px,
      transparent 1px 20px
    ),
    repeating-linear-gradient(
      42deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 26px
    ),
    repeating-radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 24px
    );
}

.education-item:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -18px 34px rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 34px 80px rgba(255, 255, 255, 0.1),
    0 18px 52px rgba(37, 99, 235, 0.1);
  filter: saturate(1.08);
}

.education-years {
  color: var(--muted);
  font-size: 0.72rem;
  padding-top: 6px;
}

.education-school {
  color: var(--blue);
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.education-degree {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  text-wrap: balance;
}

.education-copy {
  color: var(--muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.education-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 0.66rem;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
}

.contact {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0 32px 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 242, 235, 0) 0%,
    rgba(245, 242, 235, 0.28) 24%,
    rgba(245, 242, 235, 0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.contact-backdrop {
  position: absolute;
  left: 50%;
  bottom: -32vw;
  width: 150vw;
  height: 74vw;
  transform: translateX(-50%) translateY(24%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(
    180deg,
    rgba(59, 130, 246, 0.26),
    rgba(255, 255, 255, 0.76)
  );
  filter: blur(70px);
  opacity: 0;
  animation: ambientFloat 18s ease-in-out infinite;
}

.contact-shell,
.footer-marquee,
.footer-meta {
  position: relative;
  z-index: 2;
}

.contact-shell {
  width: min(980px, calc(100vw - 64px));
  text-align: center;
  padding: 120px 0 220px;
}

.contact-title {
  font-size: clamp(56px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 0.18em;
  flex-wrap: wrap;
  text-wrap: balance;
}

.contact-title-word {
  display: inline-block;
}

.contact-copy {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
  text-wrap: pretty;
}

.contact-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.46)
    ),
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.14), transparent 34%);
  text-decoration: none;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}

.contact-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 360ms ease;
}

.contact-pill:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.58)
    ),
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.18), transparent 34%);
}

.contact-pill:hover::before {
  transform: translateX(120%);
}

.meta-pill,
.panel-keywords span,
.education-tag,
.contact-pill {
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.meta-pill:hover,
.panel-keywords span:hover,
.education-tag:hover,
.contact-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 32px rgba(37, 99, 235, 0.1);
}

.contact-pill-solid {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  border-color: transparent;
}

.contact-pill-solid:hover {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  border-color: transparent;
}

.footer-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.footer-marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(18px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.78);
  animation: marquee 24s linear infinite;
}

.footer-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.68rem;
  color: var(--muted);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}

@keyframes detailFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(10px, -12px, 0);
  }
}

@keyframes orbitalDrift {
  0%,
  100% {
    transform: translateX(-51%) scale(1);
    opacity: 0.64;
  }
  50% {
    transform: translateX(-49%) scale(1.03);
    opacity: 0.92;
  }
}

@keyframes ambientFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -16px, 0) scale(1.04);
  }
}

@keyframes ambientFloatReverse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-20px, 18px, 0) scale(1.05);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    filter: blur(20px) saturate(1.12);
  }
  50% {
    filter: blur(26px) saturate(1.2);
  }
}

@media (max-width: 1100px) {
  .portrait-stage {
    position: relative;
    top: auto;
    left: auto;
    width: min(100vw - 32px, 520px);
    height: auto;
    margin: 10px auto 8px;
    z-index: 1;
  }

  .portrait-stage .hero-photo-shell {
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 48px;
  }

  .hero-media-spacer {
    display: none;
  }

  .hero-photo-shell {
    min-height: 56vh;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-rail {
    display: none;
  }

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

  .expertise-card:nth-child(2n) {
    transform: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(100vw - 32px, 1200px);
  }

  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .hero {
    gap: 18px;
    padding-top: 18px;
    min-height: auto;
  }

  .hero-photo-shell {
    min-height: auto;
    align-items: center;
  }

  .portrait-stage {
    width: min(100vw - 24px, 460px);
    margin-top: 0;
    margin-bottom: 2px;
  }

  .hero-photo {
    width: min(100%, 460px);
    max-height: 52vh;
    transform: none;
    margin: 0 auto;
  }

  .hero-photo-glow {
    width: min(82vw, 420px);
    height: min(34vw, 180px);
    bottom: -2%;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(54px, 16vw, 92px);
  }

  .hero-rotator {
    height: 42px;
    font-size: clamp(17px, 5vw, 24px);
  }

  .scroll-cue {
    position: relative;
    margin-top: 28px;
  }

  .story-panel {
    min-height: auto;
  }

  .cross-marquees {
    width: 100vw;
    height: 240px;
    margin-bottom: calc(var(--section-gap) * 0.72);
    margin-left: calc(50% - 50vw);
  }

  .cross-marquee-row {
    left: -26%;
    right: -26%;
    padding: 14px 0;
  }

  .cross-marquee-row-primary {
    transform: translateY(-50%) rotate(14deg);
  }

  .cross-marquee-row-secondary {
    transform: translateY(-50%) rotate(-14deg);
  }

  .cross-marquee-group {
    gap: 12px;
    padding: 0 12px;
  }

  .cross-marquee-group span {
    padding: 8px 12px;
    font-size: 11px;
  }

  .journey-track {
    width: 100%;
    display: grid;
    gap: 16px;
  }

  .journey-card {
    width: 100%;
    min-height: auto;
    padding-top: 90px;
  }

  .journey-progress {
    display: none;
  }

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

  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-shell {
    width: 100%;
    padding-top: 112px;
    padding-bottom: 180px;
  }

  .contact-title {
    gap: 0.08em;
  }

  .footer-marquee {
    bottom: 52px;
    padding: 18px 0;
  }

  .footer-meta {
    flex-direction: column;
    gap: 4px;
    bottom: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-up,
  .reveal-card {
    opacity: 1;
    transform: none;
  }

  .loader {
    display: none;
  }
}

.bottom-gradient-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(30%);
  width: 140vw;
  height: clamp(300px, 45vw, 600px);
  background: radial-gradient(
    ellipse at bottom,
    rgba(37, 99, 235, 0.5) 0%,
    rgba(255, 255, 255, 0.45) 45%,
    transparent 75%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.dynamic-blob {
  position: fixed;
  top: 60%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 75vw;
  height: 75vw;
  max-width: 1000px;
  max-height: 1000px;
  background: radial-gradient(
    circle,
    rgba(32, 64, 180, 0.9) 0%,
    rgba(38, 72, 180, 0.55) 40%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.reveal-card {
  position: relative;
}

.reveal-card::after,
.story-panel::after,
.journey-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.panel-index,
.panel-keywords,
.panel-body,
.panel-quote,
.journey-year,
.journey-title,
.journey-role,
.journey-copy,
.journey-note,
.expertise-number,
.expertise-title-card,
.expertise-copy,
.education-years,
.education-main {
  position: relative;
  z-index: 1;
}
