/* ──────────────────────────────────────
   Design Tokens
   ────────────────────────────────────── */
:root {
  --color-bg:       #0a0b0f;
  --color-surface:  #10121a;
  --color-card:     #161822;
  --color-border:   rgba(255, 255, 255, 0.06);
  --color-text:     #e0dfe6;
  --color-muted:    #7e7f8e;
  --color-accent:   #5de4c7;
  --color-accent-2: #a78bfa;
  --color-white:    #ffffff;

  /* Aurora gradient tokens */
  --gradient-aurora: linear-gradient(135deg, #5de4c7, #3fb8a0, #7c6fea, #a78bfa);
  --gradient-glow:   linear-gradient(135deg, #5de4c7, #a78bfa);
  --gradient-text:   linear-gradient(90deg, #5de4c7, #89d9c4, #7c6fea, #a78bfa);

  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ──────────────────────────────────────
   Reset & Base
   ────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────────────────────────────
   Navigation
   ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-glow);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--color-accent); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(14, 14, 17, 0.97);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-muted);
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--color-accent); }

/* ──────────────────────────────────────
   Hero — Immersive Landing
   ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

/* Canvas aurora */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Film grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(93, 228, 199, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 228, 199, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(93, 228, 199, 0.12), transparent 70%);
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -5%;
  left: -5%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1), transparent 70%);
  animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(124, 111, 234, 0.08), transparent 70%);
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.1); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 40px) scale(1.15); }
}

/* Split layout */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
}

/* ─── Left text block ─── */
.hero-left {
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(93, 228, 199, 0.15);
  background: rgba(93, 228, 199, 0.04);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(93, 228, 199, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(93, 228, 199, 0); }
}

.hero-name {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: lineReveal 0.9s var(--ease-out) forwards;
}

.hero-line-1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: var(--color-white);
}

.hero-line-1 .hero-line-inner { animation-delay: 0.3s; }

.hero-line-2 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  background: var(--gradient-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: auroraShift 6s ease-in-out infinite;
}

.hero-line-2 .hero-line-inner { animation-delay: 0.45s; }

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

/* Role ticker */
.hero-role-wrapper {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 300;
  color: var(--color-muted);
  margin-bottom: 28px;
  height: 1.6em;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-role-static {
  color: var(--color-muted);
}

.hero-role-ticker {
  position: relative;
  display: inline-block;
  height: 1.6em;
  vertical-align: top;
  overflow: hidden;
}

.hero-role {
  display: block;
  height: 1.6em;
  line-height: 1.6;
  color: var(--color-accent);
  font-weight: 400;
  transition: transform 0.5s var(--ease-out);
}

/* Description */
.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.85s forwards;
}

/* Action buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--gradient-aurora);
  background-size: 200% 200%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(93, 228, 199, 0.25), 0 4px 15px rgba(167, 139, 250, 0.15);
  animation: auroraShift 4s ease-in-out infinite;
}

.hero-cta-ghost {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}

.hero-cta-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(93, 228, 199, 0.04);
}

@keyframes auroraShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Right visual element ─── */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  pointer-events: none;
}

.hero-visual {
  position: relative;
  width: clamp(280px, 28vw, 420px);
  height: clamp(280px, 28vw, 420px);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

/* Geometric rings */
.hero-shape {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-shape-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

.hero-shape-ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(93, 228, 199, 0.1);
  animation: ringRotate 20s linear infinite;
}

.hero-shape-ring-2 {
  width: 75%;
  height: 75%;
  border-color: rgba(167, 139, 250, 0.1);
  animation: ringRotate 15s linear infinite reverse;
}

.hero-shape-ring-3 {
  width: 50%;
  height: 50%;
  border-color: rgba(124, 111, 234, 0.12);
  animation: ringRotate 12s linear infinite;
}

.hero-shape-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: corePulse 4s ease-in-out infinite;
}

/* Soft radial glow behind the text */
.core-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(93, 228, 199, 0.18) 0%,
    rgba(124, 111, 234, 0.10) 40%,
    rgba(167, 139, 250, 0.04) 65%,
    transparent 100%
  );
  filter: blur(6px);
  pointer-events: none;
}

.core-label {
  font-size: clamp(0.6rem, 1.1vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(93, 228, 199, 0.55);
  line-height: 1;
}

.core-value {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  line-height: 1.1;
  margin-top: 2px;
}

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

@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.9; }
}

/* Orbit tags — rotating clockwise around galaxy center, text stays horizontal */
.hero-orbit {
  position: absolute;
  inset: -10%;
  animation: orbitSpin 60s linear infinite;
  pointer-events: none;
}

.orbit-tag {
  position: absolute;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 0;
  border: none;
  background: none;
  white-space: nowrap;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.8s forwards;
}

/* Wrapper keeps text upright via counter-rotation */
.orbit-tag-inner {
  display: block;
  animation: orbitCounterSpin 60s linear infinite;
}

/* 5 tags evenly spaced around the orbit (pentagon layout) */
.orbit-tag-1 {
  top: 0%;
  left: 50%;
  translate: -50% -50%;
  animation-delay: 0.8s;
}

.orbit-tag-2 {
  top: 20.6%;
  right: -2.5%;
  translate: 50% -50%;
  animation-delay: 1s;
}

.orbit-tag-3 {
  bottom: 11.2%;
  right: 6%;
  translate: 50% 50%;
  animation-delay: 1.2s;
}

.orbit-tag-4 {
  bottom: 11.2%;
  left: 6%;
  translate: -50% 50%;
  animation-delay: 1.4s;
}

.orbit-tag-5 {
  top: 20.6%;
  left: -2.5%;
  translate: -50% -50%;
  animation-delay: 1.6s;
}

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

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

/* Ring animated dashes for visual interest */
.hero-shape-ring-1 {
  border-style: dashed;
  border-width: 1px;
  border-spacing: 20px;
}

.hero-shape-ring-2 {
  border-style: dotted;
}

/* ─── Bottom bar ─── */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 24px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.5s forwards;
  pointer-events: none;
}

.hero-scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  height: 100px;
}

.scroll-indicator {
  position: relative;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #5de4c7, #a78bfa, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-coordinates {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ──────────────────────────────────────
   Section Common
   ────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 48px;
}

/* ──────────────────────────────────────
   About / Bio — Horizontal Panel Slider
   ────────────────────────────────────── */
.about {
  padding: 100px 0;
}

.about-panels {
  position: relative;
  overflow: hidden;
}

.about-panel-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.about-panel {
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Arrow buttons */
.about-panel-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-accent);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
  z-index: 5;
  box-shadow: 0 0 12px rgba(93, 228, 199, 0.25), 0 0 4px rgba(93, 228, 199, 0.15);
  animation: arrowPulse 2s ease-in-out infinite;
}

.about-panel-arrow:hover {
  color: #fff;
  border-color: var(--color-accent);
  background: rgba(93, 228, 199, 0.12);
  box-shadow: 0 0 20px rgba(93, 228, 199, 0.45), 0 0 8px rgba(93, 228, 199, 0.3);
  animation: none;
}

.about-panel-prev {
  left: 24px;
  animation: arrowPulse 2s ease-in-out infinite, arrowNudgeLeft 1.5s ease-in-out infinite;
}

.about-panel-prev:hover {
  animation: none;
}

.about-panel-next {
  right: 24px;
  animation: arrowPulse 2s ease-in-out infinite, arrowNudgeRight 1.5s ease-in-out infinite;
}

.about-panel-next:hover {
  animation: none;
}

/* Breathing glow animation */
@keyframes arrowPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(93, 228, 199, 0.25), 0 0 4px rgba(93, 228, 199, 0.15); }
  50%      { box-shadow: 0 0 20px rgba(93, 228, 199, 0.45), 0 0 8px rgba(93, 228, 199, 0.3); }
}

/* Directional nudge animations */
@keyframes arrowNudgeRight {
  0%, 100% { translate: 0 -50%; }
  50%      { translate: 3px -50%; }
}

@keyframes arrowNudgeLeft {
  0%, 100% { translate: 0 -50%; }
  50%      { translate: -3px -50%; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.about-photo-placeholder,
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
}

.about-photo-placeholder {
  background: var(--color-card);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-text p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(93, 228, 199, 0.2), rgba(167, 139, 250, 0.15), transparent) 1;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  background: var(--gradient-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: auroraShift 5s ease-in-out infinite;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ──────────────────────────────────────
   Education Timeline (Horizontal)
   ────────────────────────────────────── */
.edu-timeline {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 140px auto 0;
  max-width: 1100px;
  padding: 0 24px;
}

/* Horizontal line running through dots */
.edu-timeline::before {
  content: '';
  position: absolute;
  /* logo(72) + mb(12) + school ~2.6em(36) + mb(10) + dot-center(6) = ~136px */
  top: 145px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: left center;
  width: 70%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(93, 228, 199, 0.05),
    rgba(93, 228, 199, 0.3) 20%,
    rgba(167, 139, 250, 0.2) 50%,
    rgba(93, 228, 199, 0.3) 80%,
    rgba(93, 228, 199, 0.05)
  );
}

/* Line draws left → right */
@keyframes timelineLineDraw {
  from { transform: translateX(-50%) scaleX(0); }
  to   { transform: translateX(-50%) scaleX(1); }
}

.edu-timeline.visible::before {
  animation: timelineLineDraw 1s var(--ease-out) 0.1s both;
}

/* Each timeline entry — vertical column */
.edu-tl-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 320px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.edu-tl-entry.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Schools appear one by one after the line starts drawing */
.edu-tl-entry:nth-child(1) { transition-delay: 0.5s; }
.edu-tl-entry:nth-child(2) { transition-delay: 1s; }
.edu-tl-entry:nth-child(3) { transition-delay: 1.5s; }

/* Logo — photo placeholder */
.edu-tl-logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.edu-tl-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* School name — above the dot/line */
.edu-tl-school {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.3;
  margin: 0 0 10px;
  min-height: 2.6em;
  transition: color 0.3s;
}

.edu-tl-entry:hover .edu-tl-school {
  color: var(--color-accent);
}

/* Timeline dot — sits on the horizontal line */
.edu-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  margin: 0 0 16px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transform: scale(0);
  transition: background 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out);
}

/* Dot pops in when entry becomes visible */
.edu-tl-entry.visible .edu-tl-dot {
  transform: scale(1);
}

.edu-tl-entry:hover .edu-tl-dot {
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(93, 228, 199, 0.5);
}

/* Content below the line */
.edu-tl-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Degree name */
.edu-tl-degree {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
}

/* Year badge */
.edu-tl-year {
  display: inline-block;
  padding: 5px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(93, 228, 199, 0.08);
  border: 1px solid rgba(93, 228, 199, 0.15);
  border-radius: 20px;
}

/* Specialization */
.edu-tl-spec {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 2px 0 0;
}

/* Location with pin */
.edu-tl-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  transition: color 0.3s;
}

.edu-tl-location:hover {
  color: var(--color-accent);
}

.edu-tl-pin {
  color: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ──────────────────────────────────────
   Interests — Polaroid Scatter
   ────────────────────────────────────── */

/* Headline */
.interests-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 60px;
  text-align: center;
}

.interests-headline em {
  font-style: italic;
  background: var(--gradient-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: auroraShift 6s ease-in-out infinite;
}

/* Scatter container */
.interests-scatter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0;
  min-height: 420px;
  align-items: center;
  justify-items: center;
}

/* Ambient glow blobs */
.interests-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.interests-glow-1 {
  width: 350px;
  height: 350px;
  top: -10%;
  left: 10%;
  background: radial-gradient(circle, rgba(93, 228, 199, 0.08), transparent 70%);
  animation: orbFloat1 12s ease-in-out infinite;
}

.interests-glow-2 {
  width: 300px;
  height: 300px;
  bottom: -15%;
  right: 10%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.07), transparent 70%);
  animation: orbFloat2 15s ease-in-out infinite;
}

/* ─── Individual Polaroid ─── */
.polaroid {
  position: relative;
  z-index: 1;
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.6s var(--ease-out),
              box-shadow 0.6s var(--ease-out),
              z-index 0s;
  cursor: pointer;
  animation: polaroidFloat 6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.polaroid:hover {
  transform: rotate(0deg) translateY(-12px) scale(1.05);
  z-index: 10;
  animation-play-state: paused;
}

/* Polaroid frame — off-white */
.polaroid-frame {
  background: rgba(240, 238, 235, 0.95);
  padding: 12px 12px 40px 12px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.6s var(--ease-out);
}

.polaroid:hover .polaroid-frame {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(93, 228, 199, 0.1),
    0 0 80px rgba(167, 139, 250, 0.06);
}

/* Photo area */
.polaroid-img {
  width: 220px;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1c2e 0%, #0f1118 50%, #1a1528 100%);
  background-size: 300% 300%;
  animation: shimmer 8s ease-in-out infinite;
}

.polaroid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
  filter: saturate(0.85);
}

.polaroid:hover .polaroid-img img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

/* Caption — italic serif on white frame */
.polaroid-caption {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  color: #2a2a2f;
  letter-spacing: 0.02em;
}

/* Decorative tape strip */
.polaroid-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(var(--tape-rotation, 2deg));
  width: 50px;
  height: 18px;
  background: rgba(93, 228, 199, 0.18);
  border: 1px solid rgba(93, 228, 199, 0.12);
  backdrop-filter: blur(4px);
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.polaroid:hover .polaroid-tape {
  opacity: 1;
}

/* Per-polaroid scatter offsets */
.polaroid-1 {
  margin-top: 30px;
  --tape-rotation: -5deg;
}

.polaroid-2 {
  margin-top: -20px;
  --tape-rotation: 8deg;
}

.polaroid-3 {
  margin-top: 15px;
  --tape-rotation: -2deg;
}

/* Gentle floating bob */
@keyframes polaroidFloat {
  0%, 100% {
    transform: rotate(var(--rotation, 0deg)) translateY(0px);
  }
  50% {
    transform: rotate(var(--rotation, 0deg)) translateY(-8px);
  }
}


/* ──────────────────────────────────────
   Projects — Creative Editorial Layout
   ────────────────────────────────────── */
.projects {
  padding: 120px 0 0;
  background: var(--color-surface);
  overflow: hidden;
}

/* Header */
.projects-header {
  margin-bottom: 48px;
  position: relative;
}

.projects-title {
  margin-bottom: 32px;
}

.projects-title em {
  font-family: var(--font-serif);
  font-style: italic;
  background: var(--gradient-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: auroraShift 6s ease-in-out infinite;
}

.projects-header-line {
  width: 80px;
  height: 2px;
  background: var(--gradient-glow);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s var(--ease-out);
}

.projects-header-line.visible {
  transform: scaleX(1);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 0;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  background-size: 200% 200%;
  animation: auroraShift 4s ease-in-out infinite;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  transform: translateY(0);
}

.filter-btn:hover,
.filter-btn.active {
  color: #000000;
  font-weight: 700;
  border-color: var(--color-accent);
  text-shadow: none;
  -webkit-text-fill-color: #000000;
}

/* Shared: placeholders & overlays & tags */
.card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f1118 0%, #161826 25%, #1a1528 50%, #161826 75%, #0f1118 100%);
  background-size: 300% 300%;
  animation: shimmer 8s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.card-placeholder small {
  font-size: 0.75rem;
  opacity: 0.4;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 14, 17, 0.85) 0%, rgba(14, 14, 17, 0.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 32px;
  opacity: 0.6;
  transition: opacity 0.5s var(--ease-out);
}

.card-view {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
  border-radius: 100px;
}

.card-view:hover {
  background: var(--gradient-aurora);
  background-size: 200% 200%;
  border-color: transparent;
  color: var(--color-bg);
  animation: auroraShift 3s ease-in-out infinite;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-tags span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  color: var(--color-accent);
  border: 1px solid rgba(93, 228, 199, 0.15);
  background: rgba(93, 228, 199, 0.03);
  transition: all 0.3s;
}

.card-tags span:hover {
  background: rgba(93, 228, 199, 0.08);
  border-color: rgba(93, 228, 199, 0.3);
}

/* ─── FEATURED PROJECT (Full-width hero) ─── */
.project-featured {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.project-featured.visible {
  opacity: 1;
  transform: translateY(0);
}

.featured-number {
  position: absolute;
  top: -30px;
  left: -20px;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(93, 228, 199, 0.08), rgba(167, 139, 250, 0.06));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.featured-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  z-index: 1;
  transition: transform 0.15s ease-out;
}

.featured-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(93, 228, 199, 0.08);
  pointer-events: none;
  z-index: 2;
}

.featured-media:hover .card-overlay { opacity: 1; }
.featured-media .card-overlay { opacity: 0.6; }

.featured-placeholder {
  aspect-ratio: 4 / 3;
}

.featured-media img,
.featured-media video,
.featured-media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.tryon-preview-canvas {
  background: var(--color-bg);
  display: block;
}

.featured-media:hover img,
.featured-media:hover video,
.featured-media:hover canvas {
  transform: scale(1.04);
}

.featured-details {
  position: relative;
  z-index: 1;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.featured-meta span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.featured-divider {
  width: 32px;
  height: 1px;
  background: var(--gradient-glow);
  display: inline-block;
}

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.featured-desc {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap 0.3s var(--ease-out);
}

.featured-link:hover { gap: 20px; }

.featured-link .arrow {
  transition: transform 0.3s var(--ease-out);
  font-size: 1.1rem;
}

.featured-link:hover .arrow { transform: translateX(4px); }

/* ─── ASYMMETRIC DUO ─── */
.project-duo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-bottom: 100px;
  align-items: start;
}

.project-card {
  position: relative;
  background: transparent;
  overflow: visible;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.duo-right {
  margin-top: 80px;
  transition-delay: 0.15s;
}

.card-number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(93, 228, 199, 0.08), rgba(167, 139, 250, 0.06));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: -16px;
  position: relative;
  z-index: 0;
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  z-index: 1;
  transition: transform 0.15s ease-out;
}

.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(93, 228, 199, 0.06);
  pointer-events: none;
}

.card-media img,
.card-media video,
.card-media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.project-card:hover .card-media img,
.project-card:hover .card-media video {
  transform: scale(1.05);
}

.project-card:hover .card-overlay { opacity: 1; }

.card-info {
  padding: 24px 0;
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.card-meta span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.card-info h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.project-card:hover .card-info h3 { color: var(--color-accent); }

.card-info p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-decoration: none;
  padding-top: 8px;
  transition: gap 0.3s var(--ease-out), color 0.3s;
}
.card-link:hover { gap: 14px; }
.card-link .arrow {
  transition: transform 0.3s var(--ease-out);
}
.card-link:hover .arrow { transform: translateX(4px); }

/* ─── CINEMATIC STRIP (horizontal scroll) ─── */
.project-strip-wrapper {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.project-strip-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.strip-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-white);
}

.strip-controls {
  display: flex;
  gap: 8px;
}

.strip-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 1rem;
  transition: all 0.3s;
}

.strip-arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(93, 228, 199, 0.06);
}

.project-strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
  cursor: grab;
}

.project-strip:active { cursor: grabbing; }
.project-strip::-webkit-scrollbar { display: none; }

.strip-card {
  position: relative;
  flex: 0 0 320px;
  scroll-snap-align: start;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.strip-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.strip-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(93, 228, 199, 0.08), rgba(167, 139, 250, 0.06));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: -10px;
}

.strip-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  transition: transform 0.15s ease-out;
}

.strip-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(167, 139, 250, 0.06);
  pointer-events: none;
}

.strip-media img,
.strip-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.strip-card:hover .strip-media img,
.strip-card:hover .strip-media video {
  transform: scale(1.06);
}

.strip-card:hover .card-overlay { opacity: 1; }

.strip-info {
  padding: 20px 0;
}

.strip-info h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.strip-card:hover .strip-info h4 { color: var(--color-accent); }

/* ─── MARQUEE TICKER ─── */
.project-marquee {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  margin: 0 -24px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.marquee-dot {
  width: 6px !important;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.3;
  display: inline-block;
  flex-shrink: 0;
}

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

/* Hide/show for filtering */
.project-featured.filtered-hidden,
.project-card.filtered-hidden,
.strip-card.filtered-hidden {
  display: none;
}

/* ─── Tilt glow effect ─── */
[data-tilt] {
  position: relative;
}

[data-tilt]::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(93, 228, 199, 0.1),
      transparent 40%
    ),
    radial-gradient(
      600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(167, 139, 250, 0.06),
      transparent 50%
    );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 3;
}

[data-tilt]:hover::before {
  opacity: 1;
}

/* ──────────────────────────────────────
   Contact
   ────────────────────────────────────── */
.contact {
  padding: 140px 0;
  text-align: center;
}

.contact-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 40px;
}

.contact-btn {
  display: inline-block;
  padding: 16px 48px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--gradient-aurora);
  background-size: 200% 200%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(93, 228, 199, 0.2), 0 4px 15px rgba(167, 139, 250, 0.15);
  animation: auroraShift 4s ease-in-out infinite;
}

.social-links {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 32px;
}

.social-links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.3s;
}

.social-links a:hover { color: var(--color-accent); }

/* ──────────────────────────────────────
   Footer
   ────────────────────────────────────── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ──────────────────────────────────────
   Lightbox
   ────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  padding: 2rem;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2rem;
  color: var(--color-white);
  z-index: 201;
  transition: transform 0.3s;
  cursor: pointer;
  background: none;
  border: none;
}

.lightbox-close:hover { transform: rotate(90deg); }

.lightbox-content {
  max-width: 95vw;
  max-height: 90vh;
  width: 100%;
  overflow-y: auto;
}

.lightbox-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.lightbox-media {
  position: sticky;
  top: 0;
}

.lightbox-media img,
.lightbox-media video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-text {
  color: var(--color-white);
  padding: 1rem 0;
}

.lightbox-number {
  font-size: 5rem;
  font-weight: 300;
  color: rgba(93, 228, 199, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.lightbox-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--color-white);
}

.lightbox-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lightbox-meta .featured-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.lightbox-tags span {
  padding: 0.5rem 1rem;
  background: rgba(93, 228, 199, 0.1);
  border: 1px solid rgba(93, 228, 199, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: rgba(93, 228, 199, 0.9);
  transition: all 0.3s;
}

.lightbox-tags span:hover {
  background: rgba(93, 228, 199, 0.2);
  border-color: rgba(93, 228, 199, 0.5);
}

.lightbox-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, rgba(93, 228, 199, 0.15), rgba(167, 139, 250, 0.15));
  border: 1px solid rgba(93, 228, 199, 0.3);
  border-radius: 8px;
  color: var(--color-white);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.lightbox-link:hover {
  background: linear-gradient(135deg, rgba(93, 228, 199, 0.25), rgba(167, 139, 250, 0.25));
  border-color: rgba(93, 228, 199, 0.5);
  transform: translateX(4px);
}

.lightbox-link .arrow {
  transition: transform 0.3s;
}

.lightbox-link:hover .arrow {
  transform: translateX(4px);
}

/* Mobile responsive */
@media (max-width: 900px) {
  .lightbox {
    padding: 1rem;
  }

  .lightbox-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lightbox-media {
    position: relative;
  }

  .lightbox-media img,
  .lightbox-media video {
    max-height: 50vh;
  }

  .lightbox-title {
    font-size: 1.8rem;
  }

  .lightbox-number {
    font-size: 3.5rem;
  }

  .lightbox-desc {
    font-size: 1rem;
  }
}

/* ──────────────────────────────────────
   Scroll Reveal
   ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ──────────────────────────────────────
   Responsive
   ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    text-align: center;
    padding: 120px 0 100px;
  }

  .hero-badge { margin: 0 auto 40px; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-placeholder,
  .about-photo img {
    aspect-ratio: 4 / 3;
  }

  .project-featured {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-duo {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .duo-right {
    margin-top: 0;
  }

  .strip-card {
    flex: 0 0 280px;
  }

  .edu-timeline {
    gap: 0;
    padding: 0 12px;
  }

  .edu-tl-logo {
    width: 60px;
    height: 60px;
  }

  .edu-tl-school {
    font-size: 0.88rem;
  }

  .edu-timeline::before {
    top: 120px;
  }

  .interests-scatter {
    gap: 16px;
    max-width: 720px;
  }

  .polaroid-img {
    width: 180px;
    height: 180px;
  }

  .polaroid-frame {
    padding: 10px 10px 32px 10px;
  }

  .polaroid-1 { margin-top: 20px; }
  .polaroid-2 { margin-top: -10px; }
  .polaroid-3 { margin-top: 10px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-line-1,
  .hero-line-2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-bottom {
    padding: 0 16px 20px;
  }

  .hero-scroll-text { display: none; }
  .hero-coordinates { display: none; }

  .hero-bottom {
    justify-content: center;
  }

  .about { padding: 80px 0; }
  .projects { padding: 80px 0 0; }
  .contact { padding: 100px 0; }

  .about-stats {
    gap: 32px;
  }

  .filter-bar {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.7rem;
  }

  .featured-number,
  .card-number {
    font-size: 3rem;
  }

  .strip-card {
    flex: 0 0 260px;
  }

  .project-marquee {
    padding: 32px 0;
  }

  .edu-timeline {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0 16px;
  }

  .edu-timeline::before {
    /* vertical line on mobile */
    width: 1px;
    height: auto;
    top: 0;
    bottom: 0;
    left: 24px;
    transform: none;
    background: linear-gradient(
      to bottom,
      rgba(93, 228, 199, 0.05),
      rgba(93, 228, 199, 0.3) 20%,
      rgba(167, 139, 250, 0.2) 50%,
      rgba(93, 228, 199, 0.3) 80%,
      rgba(93, 228, 199, 0.05)
    );
  }

  .edu-tl-entry {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    max-width: 100%;
    padding: 0;
  }

  .edu-tl-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .edu-tl-school {
    font-size: 0.9rem;
    min-height: auto;
    margin: 0 0 4px;
  }

  .edu-tl-dot {
    display: none;
  }

  .edu-tl-content {
    align-items: flex-start;
  }

  .edu-tl-degree {
    font-size: 0.78rem;
  }

  .edu-tl-year {
    font-size: 0.62rem;
    padding: 3px 10px;
  }

  .edu-tl-spec {
    font-size: 0.75rem;
  }

  .interests-scatter {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 0;
  }

  .polaroid-img {
    width: 200px;
    height: 200px;
  }

  .interests-headline {
    margin-bottom: 40px;
  }

  .polaroid-1,
  .polaroid-2,
  .polaroid-3 {
    margin-top: 0;
  }

  .polaroid {
    --rotation: 0deg !important;
  }

  .interests-glow {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   Virtual Me — "Chat with My Echo"
   ══════════════════════════════════════════════════════════════ */

/* ─── CTA Button ─── */
.hero-cta-avatar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: transparent;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--color-bg), var(--color-bg)),
                    var(--gradient-glow);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}

.hero-cta-avatar:hover {
  color: var(--color-bg);
  background-image: var(--gradient-aurora);
  background-clip: border-box;
  background-size: 200% 200%;
  animation: auroraShift 4s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(93, 228, 199, 0.2),
              0 0 60px rgba(167, 139, 250, 0.1);
}

.avatar-btn-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-btn-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: background 0.4s;
}

.hero-cta-avatar:hover .avatar-btn-particle {
  background: var(--color-bg);
}

.avatar-btn-particle:nth-child(1) { animation: btnOrbit 3s linear infinite; }
.avatar-btn-particle:nth-child(2) { animation: btnOrbit 3s linear infinite 1s; }
.avatar-btn-particle:nth-child(3) { animation: btnOrbit 3s linear infinite 2s; }

@keyframes btnOrbit {
  0%   { transform: translate(0, -6px); opacity: 1; }
  33%  { transform: translate(5px, 3px); opacity: 0.6; }
  66%  { transform: translate(-5px, 3px); opacity: 0.8; }
  100% { transform: translate(0, -6px); opacity: 1; }
}

/* ─── Immersive Overlay (frameless) ─── */
.vm-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}

.vm-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ─── Close Button ─── */
.vm-close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 310;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.vm-close-icon {
  font-size: 1.4rem;
  color: var(--color-text);
  line-height: 1;
}

.vm-close-hint {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.vm-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}

.vm-close:hover .vm-close-icon {
  color: var(--color-accent);
}

/* ─── Full-screen Canvas ─── */
.vm-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── Status Pill ─── */
.vm-status {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 310;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: rgba(10, 11, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40px;
  white-space: nowrap;
  opacity: 0;
  animation: vmFadeIn 0.6s 0.3s forwards;
}

.vm-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes vmFadeIn {
  to { opacity: 1; }
}

/* ─── Mode Picker ─── */
.vm-mode-picker {
  position: absolute;
  bottom: 28%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 310;
  text-align: center;
  opacity: 0;
  animation: vmFadeIn 0.6s 2.8s forwards;
  transition: opacity 0.4s, visibility 0.4s;
  /* Glass card background */
  padding: 28px 40px 32px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* Subtle aurora shimmer on the card edge */
.vm-mode-picker::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(93, 228, 199, 0.2) 0%,
    transparent 40%,
    transparent 60%,
    rgba(167, 139, 250, 0.2) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.vm-overlay.mode-chosen .vm-mode-picker {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

.vm-mode-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 16px;
}

.vm-mode-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.vm-mode-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.vm-mode-btn svg {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.vm-mode-btn:hover {
  background: rgba(93, 228, 199, 0.1);
  border-color: rgba(93, 228, 199, 0.3);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.vm-mode-btn:hover svg {
  opacity: 1;
}

/* ─── Text Mode UI ─── */
.vm-text-ui {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 620px;
  z-index: 305;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-height: 60vh;
  padding: 0 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.vm-overlay.mode-text .vm-text-ui {
  opacity: 1;
  pointer-events: all;
}

/* Messages with top fade mask */
.vm-messages {
  overflow-y: auto;
  max-height: 45vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 4px 8px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
  scrollbar-width: thin;
  scrollbar-color: rgba(93, 228, 199, 0.12) transparent;
}

.vm-messages::-webkit-scrollbar { width: 3px; }
.vm-messages::-webkit-scrollbar-track { background: transparent; }
.vm-messages::-webkit-scrollbar-thumb { background: rgba(93, 228, 199, 0.12); border-radius: 2px; }

/* Message bubbles */
.vm-msg {
  max-width: 80%;
  padding: 12px 18px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text);
  border-radius: 20px;
  opacity: 0;
  transform: translateY(10px);
  animation: vmMsgIn 0.35s var(--ease-out) forwards;
}

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

.vm-msg-ai {
  align-self: flex-start;
  background: rgba(167, 139, 250, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 20px 20px 20px 6px;
}

.vm-msg-user {
  align-self: flex-end;
  background: rgba(93, 228, 199, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(93, 228, 199, 0.15);
  border-radius: 20px 20px 6px 20px;
}

/* Typing indicator */
.vm-msg-typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 16px 22px;
  background: rgba(167, 139, 250, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 20px 20px 20px 6px;
}

.vm-msg-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.vm-msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.vm-msg-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-8px); opacity: 1; }
}

/* ─── Input Bar (pill) ─── */
.vm-input-bar {
  padding: 8px 0 24px;
}

.vm-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 10px 12px 10px 20px;
  transition: border-color 0.3s, background 0.3s;
}

.vm-input-wrapper:focus-within {
  border-color: rgba(93, 228, 199, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.vm-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.5;
  resize: none;
  outline: none;
  max-height: 100px;
}

.vm-input::placeholder {
  color: var(--color-muted);
}

.vm-send-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-muted);
  background: none;
  cursor: pointer;
  transition: all 0.3s;
}

.vm-send-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(93, 228, 199, 0.08);
}

/* ─── Voice Mode UI ─── */
.vm-voice-ui {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 305;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.vm-overlay.mode-voice .vm-voice-ui {
  opacity: 1;
  pointer-events: all;
}

/* Waveform bars */
.vm-waveform {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 48px;
  cursor: pointer;
}

.vm-waveform span {
  width: 4px;
  border-radius: 4px;
  background: var(--color-muted);
  transition: background 0.3s, height 0.3s;
}

/* Default idle heights */
.vm-waveform span:nth-child(1) { height: 12px; }
.vm-waveform span:nth-child(2) { height: 20px; }
.vm-waveform span:nth-child(3) { height: 28px; }
.vm-waveform span:nth-child(4) { height: 20px; }
.vm-waveform span:nth-child(5) { height: 12px; }

/* Listening — teal animated bars */
.vm-overlay.vm-listening .vm-waveform span {
  background: var(--color-accent);
  animation: vmWave 0.8s ease-in-out infinite alternate;
}

.vm-overlay.vm-listening .vm-waveform span:nth-child(1) { animation-delay: 0s; }
.vm-overlay.vm-listening .vm-waveform span:nth-child(2) { animation-delay: 0.1s; }
.vm-overlay.vm-listening .vm-waveform span:nth-child(3) { animation-delay: 0.2s; }
.vm-overlay.vm-listening .vm-waveform span:nth-child(4) { animation-delay: 0.3s; }
.vm-overlay.vm-listening .vm-waveform span:nth-child(5) { animation-delay: 0.4s; }

/* Speaking — violet animated bars */
.vm-overlay.vm-speaking .vm-waveform span {
  background: var(--color-accent-2);
  animation: vmWave 0.6s ease-in-out infinite alternate;
}

.vm-overlay.vm-speaking .vm-waveform span:nth-child(1) { animation-delay: 0s; }
.vm-overlay.vm-speaking .vm-waveform span:nth-child(2) { animation-delay: 0.08s; }
.vm-overlay.vm-speaking .vm-waveform span:nth-child(3) { animation-delay: 0.16s; }
.vm-overlay.vm-speaking .vm-waveform span:nth-child(4) { animation-delay: 0.24s; }
.vm-overlay.vm-speaking .vm-waveform span:nth-child(5) { animation-delay: 0.32s; }

@keyframes vmWave {
  0%   { height: 8px; }
  100% { height: 40px; }
}

/* Voice hint text */
.vm-voice-hint {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.3s;
}

.vm-overlay.vm-listening .vm-voice-hint {
  color: var(--color-accent);
}

.vm-overlay.vm-speaking .vm-voice-hint {
  color: var(--color-accent-2);
}

/* ─── Virtual Me Responsive ─── */
@media (max-width: 900px) {
  .vm-mode-picker {
    bottom: 22%;
  }

  .vm-text-ui {
    max-width: 100%;
    padding: 0 16px;
  }

  .hero-cta-avatar {
    padding: 12px 24px;
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .vm-close {
    top: 16px;
    right: 16px;
    padding: 6px 12px;
  }

  .vm-close-hint { display: none; }

  .vm-status {
    top: 18px;
    font-size: 0.6rem;
    padding: 6px 14px;
  }

  .vm-mode-picker {
    bottom: 18%;
  }

  .vm-mode-btn {
    padding: 12px 24px;
    font-size: 0.7rem;
  }

  .vm-text-ui {
    max-height: 55vh;
    padding: 0 12px;
  }

  .vm-messages {
    max-height: 40vh;
  }

  .vm-msg {
    max-width: 90%;
    font-size: 0.82rem;
    padding: 10px 14px;
  }

  .vm-input-bar {
    padding: 8px 0 16px;
  }

  .vm-voice-ui {
    bottom: 10%;
  }
}
