/* ============================
   ROOT & RESET
   ============================ */
:root {
  --red: #E60012;
  --red-dark: #a3000d;
  --gold: #FFD700;
  --gold-dim: #b8981a;
  --bg: #0a0a0a;
  --bg-subtle: #111111;
  --bg-card: #161616;
  --text: #f0ece4;
  --text-dim: #8a8680;
  --font-body: 'Noto Sans SC', sans-serif;
  --font-display: 'Noto Serif SC', serif;
  --font-brush: 'Ma Shan Zheng', cursive;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Section utilities */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.section-label {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-label.visible { opacity: 1; transform: translateY(0); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.section-title.visible { opacity: 1; transform: translateY(0); }

/* ============================
   HERO
   ============================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  opacity: 0.2;
  filter: saturate(0.6) contrast(1.1);
  animation: heroImageFade 2s ease-out 0.5s forwards;
  transform: scale(1.05);
}
@keyframes heroImageFade {
  to { opacity: 0.25; transform: scale(1); }
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,0.95) 100%),
    radial-gradient(circle at 30% 50%, rgba(230,0,18,0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,215,0,0.05) 0%, transparent 40%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-ball {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, var(--gold) 50%, var(--gold-dim) 100%);
  margin: 0 auto 30px;
  box-shadow: 0 0 30px rgba(255,215,0,0.4), 0 0 80px rgba(255,215,0,0.15);
  animation: ballPulse 3s ease-in-out infinite;
}

@keyframes ballPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 30px rgba(255,215,0,0.4); }
  50% { transform: translateY(-8px) scale(1.1); box-shadow: 0 0 50px rgba(255,215,0,0.6); }
}

.hero-super {
  font-size: 13px;
  letter-spacing: 10px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 160px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-name .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(40deg);
  animation: charReveal 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: calc(0.5s + var(--i) * 0.15s);
  background: linear-gradient(180deg, #ffffff 0%, #e0d4c0 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 4px 30px rgba(255,215,0,0.2));
}

@keyframes charReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.hero-tagline-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 1.2s forwards;
}

.hero-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-tagline {
  font-family: var(--font-brush);
  font-size: clamp(22px, 3.5vw, 36px);
  color: var(--text);
  letter-spacing: 8px;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 1.8s forwards;
}
.scroll-hint span {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--text-dim);
}
.scroll-arrow {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

.trajectory-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.trajectory-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawPath 4s ease-out 1s forwards;
}
.trajectory-path.delay {
  animation-delay: 1.5s;
}
@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

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

/* ============================
   PROFILE
   ============================ */
#profile {
  padding: 140px 0;
  position: relative;
  background: var(--bg);
  border-top: 1px solid rgba(255,215,0,0.08);
}

#profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: radial-gradient(ellipse at 20% 0%, rgba(230,0,18,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.profile-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 1s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.profile-visual.visible { opacity: 1; transform: translateX(0); }

.profile-photo-frame {
  position: relative;
  width: 260px;
  height: 320px;
  margin-bottom: 30px;
  overflow: hidden;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(0.3) contrast(1.05);
  transition: filter 0.6s ease;
}
.profile-photo-frame:hover .profile-photo {
  filter: grayscale(0) contrast(1.1);
}

.profile-photo-border {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255,215,0,0.2);
  pointer-events: none;
}
.profile-photo-border::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.7));
}
.profile-photo-border::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.profile-number {
  font-family: var(--font-display);
  font-size: 100px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-number-label {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 4px;
  margin-top: 4px;
}

.profile-info {
  opacity: 0;
  transform: translateX(30px);
  transition: all 1s cubic-bezier(0.16,1,0.3,1) 0.4s;
}
.profile-info.visible { opacity: 1; transform: translateX(0); }

.profile-name {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.en-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--text-dim);
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.detail-row {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.detail-label {
  flex-shrink: 0;
  width: 100px;
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 2px;
  font-weight: 700;
}

.detail-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 300;
}

.profile-bio {
  font-size: 15px;
  line-height: 2;
  color: var(--text-dim);
  padding-left: 20px;
  border-left: 2px solid var(--red);
}

/* ============================
   TIMELINE
   ============================ */
#timeline {
  padding: 140px 0;
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}

#timeline::before {
  content: '';
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,0,18,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.timeline-track {
  position: relative;
  padding-left: 60px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--red), var(--gold), var(--red), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 50px;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -52px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 2px solid var(--red);
  transition: all 0.4s ease;
}

.timeline-item.gold .timeline-dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.timeline-item.gold .timeline-year {
  color: var(--gold);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 16px;
  color: var(--text);
  font-weight: 300;
  max-width: 600px;
}

.timeline-text strong {
  color: var(--gold);
  font-weight: 700;
}

.timeline-image {
  margin-top: 16px;
  max-width: 420px;
  overflow: hidden;
  border: 1px solid rgba(255,215,0,0.1);
  position: relative;
}

.timeline-image img {
  width: 100%;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
  transition: all 0.5s ease;
}

.timeline-image:hover img {
  filter: grayscale(0) contrast(1.1);
  transform: scale(1.02);
}

.timeline-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(17,17,17,0.6));
  pointer-events: none;
}

/* ============================
   STATS
   ============================ */
#stats {
  padding: 160px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.stats-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(150px, 25vw, 350px);
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.stat-card.visible { opacity: 1; transform: translateY(0); }

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.stat-card:hover {
  border-color: rgba(230,0,18,0.3);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--text) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 20px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.grand-slam-badge {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s cubic-bezier(0.16,1,0.3,1) 0.3s;
}
.grand-slam-badge.visible { opacity: 1; transform: scale(1); }

.badge-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: badgeSpin 20s linear infinite;
  opacity: 0.3;
}
@keyframes badgeSpin {
  to { transform: rotate(360deg); }
}

.badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
  border: 1px solid rgba(255,215,0,0.2);
  position: relative;
}

.badge-icon {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 4px;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.5));
}

.badge-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 2px;
}

.badge-sub {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ============================
   GALLERY
   ============================ */
#gallery {
  padding: 160px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

#gallery::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,0,18,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.gallery-item.visible { opacity: 1; transform: translateY(0); }

.gallery-item--large {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}

.gallery-item:hover img {
  filter: grayscale(0) contrast(1.1) brightness(1.05);
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-year {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.gallery-desc {
  font-size: 13px;
  color: var(--text);
  letter-spacing: 1px;
  font-weight: 300;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(255,215,0,0.15);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.lightbox.active img {
  transform: scale(1);
}
.lightbox-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text);
}
.lightbox-caption .gallery-year {
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}
.lightbox-caption .gallery-desc {
  font-size: 14px;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  background: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

/* ============================
   SPIRIT
   ============================ */
#spirit {
  padding: 160px 0;
  background: var(--bg-subtle);
  position: relative;
}

#spirit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.quotes-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.quote-card {
  padding: 48px 32px;
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.quote-card.visible { opacity: 1; transform: translateY(0); }

.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
}

.quote-text {
  font-family: var(--font-brush);
  font-size: 24px;
  color: var(--text);
  line-height: 1.8;
}

.spirit-story {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16,1,0.3,1);
}
.spirit-story.visible { opacity: 1; transform: translateY(0); }

.spirit-story p {
  font-size: 17px;
  line-height: 2.2;
  color: var(--text-dim);
  padding: 40px 0;
}

.spirit-story strong {
  color: var(--gold);
  font-weight: 700;
}

.story-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin: 0 auto;
}

/* ============================
   FOOTER
   ============================ */
#footer {
  padding: 100px 0 60px;
  background: var(--bg);
  text-align: center;
  position: relative;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-ball-trail {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 auto 40px;
  box-shadow: 0 0 20px rgba(255,215,0,0.3);
}

.footer-quote {
  font-family: var(--font-brush);
  font-size: 28px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-closing {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 4px;
  margin-bottom: 60px;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 20px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 2px;
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Noise grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .profile-visual {
    order: -1;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quotes-area {
    grid-template-columns: 1fr;
  }
  .section-container {
    padding: 0 24px;
  }
  .timeline-track {
    padding-left: 40px;
  }
  .timeline-track::before {
    left: 10px;
  }
  .timeline-dot {
    left: -38px;
  }
  .timeline-year {
    font-size: 36px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item--large {
    grid-column: span 2;
  }
  .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 28px 16px;
  }
  .stat-number {
    font-size: 40px;
  }
  .profile-name {
    flex-direction: column;
    gap: 4px;
  }
  #hero { min-height: 100svh; }
}
