/* ════════════════════════════════════════════════════════════════
   TOM OERTER — CINEMATOGRAPHER & VFX/3D ARTIST
   Dark Cinematic CV — style.css
   ════════════════════════════════════════════════════════════════ */

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

:root {
  --bg:        #080808;
  --bg-2:      #0f0f0f;
  --bg-3:      #141414;
  --bg-card:   #111111;
  --gold:      #c8a96e;
  --gold-dim:  #9a7d4e;
  --gold-glow: rgba(200, 169, 110, 0.12);
  --text:      #e8e4dc;
  --text-mid:  #9a9690;
  --text-dim:  #5a5652;
  --border:    rgba(200, 169, 110, 0.15);
  --border-2:  rgba(255,255,255,0.06);
  --radius:    4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-ui:      'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

/* ── Film Grain ── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain-shift 0.5s steps(2) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2px, 1px); }
  50%  { transform: translate(1px, -2px); }
  75%  { transform: translate(-1px, 2px); }
  100% { transform: translate(2px, -1px); }
}

/* ── Container ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ════════════════════════════ NAVIGATION ════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-2);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  cursor: default;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold-glow);
  color: var(--gold) !important;
}

.nav-cta::after { display: none !important; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 8, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin: 1.5rem 0;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ════════════════════════════ HERO ════════════════════════════ */
#hero {
  position: relative;
  z-index: 0; /* eigener Stacking-Context — hält alle Layer intern */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

/* Hero background video */
/* Hero background video — echtes Fullscreen, hinter allem */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 0.55;
}

/* Vignette: dunkle Ränder + Übergang oben/unten in den Seitenhintergrund */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Radiale Vignette — Ränder dunkel, Mitte frei */
    radial-gradient(ellipse at center, transparent 20%, rgba(8,8,8,0.65) 65%, rgba(8,8,8,0.97) 100%),
    /* Oben einfaden */
    linear-gradient(to bottom, rgba(8,8,8,0.85) 0%, transparent 28%),
    /* Unten in Seitenhintergrund auslaufen */
    linear-gradient(to top, rgba(8,8,8,1) 0%, transparent 30%);
}

/* Gold-Spotlight + unterer Seitenfade (dekorativ, über Vignette) */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 169, 110, 0.06) 0%, transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
  pointer-events: none;
}

/* Scan-Lines (dekorativ, oberste Ebene) */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.06) 3px,
    rgba(0,0,0,0.06) 4px
  );
  pointer-events: none;
  opacity: 0.4;
}

/* Text & Buttons — über allem */
.hero-content {
  position: relative;
  z-index: 10;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 16rem);
  line-height: 0.9;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.name-line {
  display: block;
}

.hero-title {
  font-family: var(--font-ui);
  font-size: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  opacity: 0.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  transform: rotate(45deg);
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 1; }
}

/* ════════════════════════════ BUTTONS ════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #d4b87a;
  box-shadow: 0 0 28px rgba(200, 169, 110, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}

.btn-ghost:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
}

/* ════════════════════════════ SECTIONS ════════════════════════════ */
section {
  padding: 7rem 0;
}

section:nth-child(even) {
  background: var(--bg-2);
}

.section-header {
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--text);
}

/* ════════════════════════════ ÜBER MICH ════════════════════════════ */

/* ── Row 1: Portrait + Bio ── */
.about-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

/* Portrait */
.about-portrait {
  position: relative;
  flex-shrink: 0;
}

.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(200, 169, 110, 0.06) 0%,
    transparent 50%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-top: 1px solid rgba(200, 169, 110, 0.35);
  border-left: 1px solid rgba(200, 169, 110, 0.35);
  border-right: none;
  border-bottom: none;
  z-index: 2;
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.05) brightness(0.95);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.portrait-frame:hover img {
  transform: scale(1.03);
  filter: contrast(1.0) brightness(1.0);
}

/* Bio */
.about-bio p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 1.4rem;
  line-height: 1.85;
}

.about-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-2);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.about-contact-row a {
  color: var(--text-mid);
  transition: color var(--transition);
}

.about-contact-row a:hover {
  color: var(--gold);
}

/* ── Row 2: Three info cards ── */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.about-card-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* Traits */
.trait-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trait-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.trait-icon {
  color: var(--gold-dim);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* Hobbies */
.hobby-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hobby-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: color var(--transition);
}

.hobby-list li:hover {
  color: var(--text);
}

.hobby-icon {
  font-size: 1.1rem;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 1.4rem;
  line-height: 1.85;
}

.about-text p:last-child { margin-bottom: 0; }

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fact-chip {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-2);
  gap: 1rem;
}

.fact-chip:first-child {
  border-top: 1px solid var(--border-2);
}

.fact-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-shrink: 0;
}

.fact-value {
  font-size: 0.95rem;
  color: var(--text);
  text-align: right;
}

/* ════════════════════════════ SKILLS ════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 2rem;
}

.skill-cat-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-name {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
}

.skill-bar {
  height: 2px;
  background: var(--border-2);
  border-radius: 1px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 1px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item.animated .skill-fill {
  width: var(--pct);
}

/* Tag pills */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--border-2);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition);
}

.tag:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ════════════════════════════ TIMELINE ════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), var(--border-2) 80%, transparent);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 3rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(200, 169, 110, 0.5);
  transform: translateX(calc(50% - 0.5px));
}

.timeline-date {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}

.timeline-role {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.timeline-company {
  display: block;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.timeline-bullets {
  list-style: none;
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.timeline-bullets li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 1rem;
  position: relative;
}

.timeline-bullets li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

.timeline-group-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

/* ════════════════════════════ SPRACHEN ════════════════════════════ */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
}

.language-card {
  background: var(--bg-card);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: background var(--transition);
}

.language-card:hover {
  background: var(--bg-3);
}

.lang-flag {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid var(--border);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.lang-info {
  flex: 1;
}

.lang-name {
  display: block;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.lang-level {
  display: block;
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-top: 0.15rem;
}

.lang-dots {
  display: flex;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  border: 1px solid var(--border-2);
}

.dot.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 6px rgba(200, 169, 110, 0.4);
}

/* ════════════════════════════ SHOWREEL ════════════════════════════ */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--bg-card);
  box-shadow: 0 0 80px rgba(200, 169, 110, 0.08);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Showreel section — center header + consent */
#showreel .section-header {
  text-align: center;
}

/* YouTube Consent Overlay */
.video-consent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  z-index: 2;
}

.video-consent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 380px;
}

.video-consent-text {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.video-consent-link {
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.video-consent-link:hover {
  color: var(--gold);
}

/* ════════════════════════════ KONTAKT ════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ════════════════════════════ FOOTER ════════════════════════════ */
footer {
  padding: 2rem;
  border-top: 1px solid var(--border-2);
  text-align: center;
}

footer p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.footer-legal {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.footer-legal:hover {
  color: var(--gold);
}

/* ════════════════════════════ REVEAL ANIMATIONS ════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--delay, 0s);
}

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

/* Hero animations fire on load */
.hero-eyebrow,
.name-line,
.hero-title,
.hero-divider,
.hero-actions {
  animation-fill-mode: both;
}

/* ════════════════════════════ RESPONSIVE ════════════════════════════ */
@media (max-width: 900px) {
  .about-top {
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
  }

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

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 650px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-portrait {
    max-width: 200px;
  }

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

@media (max-width: 700px) {
  section { padding: 5rem 0; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-nav { display: flex; }

  .hero-name {
    font-size: clamp(4.5rem, 22vw, 8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .container {
    padding: 0 1.25rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }
}

@media (max-width: 480px) {
  .language-card {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .lang-dots {
    width: 100%;
  }
}
