/* ============================================
   PREISER RACING — STYLESHEET
   ============================================ */

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

:root {
  --bg:        #050608;
  --bg2:       #0a0c10;
  --bg3:       #0f1118;
  --surface:   #131720;
  --surface2:  #1a2030;
  --border:    rgba(255,255,255,0.06);
  --accent:    #22c55e;
  --accent2:   #16a34a;
  --gold:      #f0b429;
  --silver:    #a0aec0;
  --bronze:    #cd7f32;
  --text:      #e8eaf0;
  --text-dim:  #7a8099;
  --text-muted:#3d4260;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius:    8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

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

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ============ UTILITY ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.accent { color: var(--accent); }

/* ============ PLACEHOLDERS ============ */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px dashed rgba(34,197,94,0.3);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 0.8rem;
  font-family: var(--font-body);
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  transition: var(--transition);
}
.img-placeholder:hover { border-color: var(--accent); background: var(--surface2); }
.img-placeholder.small { min-height: 120px; font-size: 0.75rem; }
.img-placeholder.strip { min-height: 220px; font-size: 1.5rem; border-radius: 0; }
.img-placeholder.full-bg {
  position: absolute; inset: 0; min-height: unset;
  border: none; background: var(--bg3); border-radius: 0;
  font-size: 2rem; z-index: 0;
}
.placeholder-icon { font-size: 2rem; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition),
              padding var(--transition);
}
.navbar.scrolled {
  background: rgba(5,6,8,0.85);
  backdrop-filter: blur(20px);
  padding: 0.8rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
}
.logo-bracket { color: var(--text-muted); }
.logo-accent { color: var(--accent); }

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 20s linear infinite;
}

@keyframes gridPan {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); pointer-events: none;
}
.hero-glow.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.15), transparent 70%);
  top: -100px; right: -100px;
  animation: glowPulse 4s ease-in-out infinite alternate;
}
.hero-glow.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(22,163,74,0.08), transparent 70%);
  bottom: 100px; left: 10%;
  animation: glowPulse 6s ease-in-out infinite alternate-reverse;
}
@keyframes glowPulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.1); }
}

.hero-img-wrap {
  position: absolute; inset: 0; z-index: 1;
}
.hero-img-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; background: var(--bg3);
  border: none; border-radius: 0;
  color: var(--text-muted); font-size: 1rem;
}
.hero-img-placeholder .placeholder-icon { font-size: 3rem; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5,6,8,0.95) 30%,
    rgba(5,6,8,0.6) 60%,
    rgba(5,6,8,0.2) 100%
  );
}

.hero-speed-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -15deg,
    transparent,
    transparent 40px,
    rgba(34,197,94,0.015) 40px,
    rgba(34,197,94,0.015) 41px
  );
  animation: speedLines 0.5s linear infinite;
  pointer-events: none;
}
@keyframes speedLines {
  from { background-position: 0 0; }
  to   { background-position: 60px 0; }
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 2.5rem;
  max-width: 700px;
  padding-top: 5rem;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34,197,94,0.3);
  padding: 0.4rem 1rem; border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.title-line { display: block; }
.accent-line {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  text-shadow: 0 0 40px rgba(34,197,94,0.4);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  margin-bottom: 2.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem; font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-dim);
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  color: var(--bg); background: var(--accent);
  padding: 1rem 2rem; border-radius: var(--radius);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.hero-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.hero-btn:hover::before { transform: translateX(0); }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(34,197,94,0.4); }
.hero-btn svg { width: 18px; height: 18px; transition: transform var(--transition); }
.hero-btn:hover svg { transform: translate(3px, -3px); }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--accent);
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(12px); opacity: 0.3; }
}

/* ============ PARTICLES ============ */
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--accent);
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ============ SECTIONS ============ */
.section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.section-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.02);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.section-header { text-align: center; margin-bottom: 5rem; }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.section-tag.light { color: rgba(34,197,94,0.8); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1;
  color: var(--text);
}
.section-title.light { color: #fff; }

/* ============ ABOUT ============ */
.about { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-img-col { position: relative; }
.about-img-frame {
  position: relative;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.frame-corner {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--accent); border-style: solid; z-index: 2;
}
.frame-corner.tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.frame-corner.tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.frame-corner.bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.frame-corner.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.about-img-secondary {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 180px; height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--bg2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.about-name {
  font-family: var(--font-head);
  font-size: 2.5rem; font-weight: 700;
  color: var(--text); margin-bottom: 1.5rem;
}

.about-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 2rem;
}
.info-item {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.info-item:hover { border-color: rgba(34,197,94,0.3); background: var(--surface2); }
.info-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.info-value { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--text); }

.about-bio { color: var(--text-dim); margin-bottom: 1rem; line-height: 1.8; }

.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag {
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 4px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim);
  transition: var(--transition);
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ============ PASSION ============ */
.passion {
  position: relative;
  padding: 10rem 0;
  background: var(--bg3);
}
.passion-bg { position: absolute; inset: 0; z-index: 0; }
.passion-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(5,6,8,0.97) 40%, rgba(5,6,8,0.75) 100%);
}
.passion-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem;
  align-items: start;
}
.passion-quote {
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 500;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding: 1rem 0 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}
.passion-text-body { color: var(--text-dim); line-height: 1.8; margin-bottom: 1rem; }

.passion-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 2rem;
}
.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}
.pillar:hover {
  background: var(--surface);
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-4px);
}
.pillar-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.pillar h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.pillar p { font-size: 0.85rem; color: var(--text-dim); }

/* ============ ACHIEVEMENTS ============ */
.achievements { background: var(--bg); }

.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--accent) 10%, var(--accent) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex; gap: 3rem;
  margin-bottom: 4rem;
  align-items: flex-start;
}
.timeline-item.right { flex-direction: row-reverse; }

.timeline-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px;
  background: var(--accent); border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 20px rgba(34,197,94,0.6);
  margin-top: 1.5rem;
  z-index: 1;
}

.timeline-year {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700;
  color: var(--accent);
  min-width: calc(50% - 4rem);
  text-align: right;
  padding-top: 1.2rem;
}
.timeline-item.right .timeline-year { text-align: left; }

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  transition: var(--transition);
  max-width: calc(50% - 4rem);
}
.timeline-card:hover {
  border-color: rgba(34,197,94,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}
.tcard-img { height: 120px; overflow: hidden; }
.tcard-content { padding: 1.25rem; }
.tcard-badge {
  display: inline-block;
  font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 4px;
  background: rgba(34,197,94,0.15); color: var(--accent);
  border: 1px solid rgba(34,197,94,0.3);
  margin-bottom: 0.75rem;
}
.tcard-badge.silver { background: rgba(160,174,192,0.1); color: var(--silver); border-color: rgba(160,174,192,0.3); }
.tcard-badge.bronze { background: rgba(205,127,50,0.1); color: var(--bronze); border-color: rgba(205,127,50,0.3); }
.tcard-content h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 0.5rem; }
.tcard-content p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.75rem; }
.tcard-meta { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* ============ GALLERY STRIP ============ */
.gallery-strip {
  overflow: hidden;
  padding: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip-track {
  display: flex;
  animation: stripScroll 25s linear infinite;
  width: max-content;
}
.strip-item { width: 320px; height: 220px; flex-shrink: 0; overflow: hidden; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.strip-item img:hover { transform: scale(1.05); }
@keyframes stripScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.strip-track:hover { animation-play-state: paused; }

/* ============ RESULTS ============ */
.results { background: var(--bg2); }

.season-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}
.season-tab {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.1em;
  background: none; border: none; cursor: pointer;
  color: var(--text-dim);
  padding: 0.75rem 1.5rem;
  position: relative;
  transition: color var(--transition);
}
.season-tab::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform var(--transition);
}
.season-tab.active { color: var(--text); }
.season-tab.active::after { transform: scaleX(1); }
.season-tab:hover { color: var(--text); }

.results-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.table-header {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 130px 80px;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.table-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 130px 80px;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background var(--transition);
  font-size: 0.9rem;
}
.table-row:last-child { border-bottom: none; }
.table-row:hover { background: var(--surface2); }
.table-row .pos {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
}
.pos.p1 { background: rgba(240,180,41,0.15); color: var(--gold); border: 1px solid rgba(240,180,41,0.3); }
.pos.p2 { background: rgba(160,174,192,0.1); color: var(--silver); border: 1px solid rgba(160,174,192,0.3); }
.pos.p3 { background: rgba(205,127,50,0.1); color: var(--bronze); border: 1px solid rgba(205,127,50,0.3); }
.pos.pn { background: var(--surface2); color: var(--text-dim); border: 1px solid var(--border); }
.race-name { font-weight: 500; }
.track-name { color: var(--text-dim); font-size: 0.85rem; }
.class-badge {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem; border-radius: 4px;
  background: var(--surface2); color: var(--text-dim);
  border: 1px solid var(--border);
}

.season-summary {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.summary-card { flex: 0 1 160px; }
.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.summary-card:hover { border-color: rgba(34,197,94,0.2); }
.summary-card.gold { border-color: rgba(240,180,41,0.3); background: rgba(240,180,41,0.05); }
.summary-num {
  font-family: var(--font-head);
  font-size: 2.5rem; font-weight: 700;
  color: var(--text); line-height: 1;
  margin-bottom: 0.5rem;
}
.summary-card.gold .summary-num { color: var(--gold); }
.summary-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }

/* ============ CONTACT ============ */
.contact { background: var(--bg); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem;
  align-items: start;
}
.contact-intro {
  color: var(--text-dim); font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-channels { display: flex; flex-direction: column; gap: 0.75rem; }
.channel-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: var(--transition);
  group: true;
}
.channel-card:hover {
  border-color: rgba(34,197,94,0.3);
  background: var(--surface2);
  transform: translateX(4px);
}
.channel-icon { font-size: 1.4rem; flex-shrink: 0; }
.channel-text { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; }
.channel-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.channel-value { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--text); }
.channel-arrow { color: var(--accent); font-size: 1.2rem; opacity: 0; transition: var(--transition); }
.channel-card:hover .channel-arrow { opacity: 1; transform: translateX(4px); }

.contact-form {
  display: flex; flex-direction: column; gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: var(--font-head); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(34,197,94,0.5); }
.form-group select option { background: var(--bg2); }

.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  background: var(--accent);
  border: none; border-radius: var(--radius);
  color: #fff; cursor: pointer;
  font-family: var(--font-head); font-size: 1rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem 2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.form-submit::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.form-submit:hover::before { transform: translateX(0); }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(34,197,94,0.4); }
.form-submit svg { width: 18px; height: 18px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: var(--font-head); font-size: 1.1rem;
  font-weight: 700; letter-spacing: 0.1em;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.8rem; color: var(--text-muted);
  text-decoration: none; transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* ============ SCROLL REVEAL ============ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============ RESPONSIVE ============ */

/* --- Tablet landscape (≤1024px) --- */
@media (max-width: 1024px) {
  .about-grid,
  .passion-content,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .about-img-frame { height: 380px; }
  .about-img-secondary { display: none; }

  .passion-content { text-align: left; }

  .timeline-line,
  .timeline-dot { display: none; }
  .timeline-item,
  .timeline-item.right { flex-direction: column; gap: 1rem; }
  .timeline-year { min-width: unset; text-align: left; font-size: 1.2rem; }
  .timeline-card { max-width: 100%; }

  .season-summary { flex-wrap: wrap; }
  .summary-card { flex: 1 1 140px; }

  .table-header,
  .table-row { grid-template-columns: 100px 1fr 110px 60px; }
  .table-header span:nth-child(3),
  .table-row   span:nth-child(3) { display: none; }

  .contact-form { padding: 1.5rem; }
}

/* --- Tablet portrait (≤768px) --- */
@media (max-width: 768px) {
  /* Nav */
  .navbar { padding: 1rem 1.25rem; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2.5rem; background: var(--bg);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 999; list-style: none;
    overflow: hidden;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.6rem; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero-content { padding: 0 1.25rem; padding-top: 5rem; }
  .hero-img-overlay {
    background: linear-gradient(
      180deg,
      rgba(5,6,8,0.6) 0%,
      rgba(5,6,8,0.85) 60%,
      rgba(5,6,8,0.98) 100%
    );
  }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 2rem; }

  /* Sections */
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .section-bg-text { font-size: 4rem; }
  .section-header { margin-bottom: 3rem; }

  /* About */
  .about-grid { gap: 2rem; }
  .about-img-frame { height: 300px; }
  .about-info-grid { grid-template-columns: 1fr 1fr; }
  .about-name { font-size: 2rem; }

  /* Passion */
  .passion-pillars { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .passion { padding: 5rem 0; }

  /* Timeline */
  .timeline-card { border-radius: var(--radius); }
  .tcard-img { height: 100px; }

  /* Gallery */
  .strip-item { width: 220px; height: 160px; }

  /* Results */
  .season-tabs { overflow-x: auto; padding-bottom: 0; gap: 0; }
  .season-tab { padding: 0.65rem 1rem; font-size: 0.9rem; white-space: nowrap; }
  .table-header,
  .table-row { grid-template-columns: 90px 1fr 55px; font-size: 0.82rem; padding: 0.85rem 1rem; }
  .table-header span:nth-child(3),
  .table-row   span:nth-child(3),
  .table-header span:nth-child(4),
  .table-row   span:nth-child(4) { display: none; }
  .season-summary { gap: 0.75rem; }
  .summary-card { flex: 1 1 120px; padding: 1rem; }
  .summary-num { font-size: 2rem; }

  /* Contact */
  .contact-grid { gap: 2rem; }
  .contact-form { padding: 1.25rem; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
}

/* --- Mobile (≤480px) --- */
@media (max-width: 480px) {
  /* Nav */
  .nav-logo { font-size: 1.1rem; }

  /* Hero */
  .hero-title { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-stats { flex-direction: row; gap: 0.75rem; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.6rem; }
  .stat-divider { height: 30px; }
  .hero-btn { padding: 0.85rem 1.5rem; font-size: 0.9rem; }

  /* Sections */
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }
  .section-bg-text { display: none; }
  .section-title { font-size: 2rem; }

  /* About */
  .about-img-frame { height: 260px; }
  .about-info-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .about-name { font-size: 1.75rem; }
  .about-tags { gap: 0.4rem; }

  /* Passion */
  .passion-pillars { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .pillar { padding: 1rem; }
  .passion-quote { font-size: 1rem; }

  /* Timeline */
  .tcard-img { height: 80px; }
  .tcard-content { padding: 1rem; }
  .tcard-content h3 { font-size: 1rem; }

  /* Gallery */
  .strip-item { width: 160px; height: 120px; }

  /* Results */
  .season-tab { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
  .table-header,
  .table-row { grid-template-columns: 80px 1fr 50px; font-size: 0.78rem; padding: 0.75rem 0.75rem; }
  .pos { width: 26px; height: 26px; font-size: 0.78rem; }
  .summary-card { flex: 1 1 100px; padding: 0.85rem; }
  .summary-num { font-size: 1.75rem; }

  /* Contact */
  .channel-card { padding: 0.85rem 1rem; }
  .contact-form { padding: 1rem; gap: 1rem; }
  .form-submit { padding: 0.9rem 1.5rem; }

  /* Lightbox nav arrows — bigger tap targets */
  #lightbox-prev,
  #lightbox-next { width: 44px; height: 44px; font-size: 1.8rem; }
  #lightbox-prev { left: 0.5rem; }
  #lightbox-next { right: 0.5rem; }
}
