/* ============================================================
   Ivan Ivanov — Personal Site
   ============================================================ */

/* ── Theme Variables ──────────────────────────────────────── */
:root {
  --bg: #07090f;
  --bg-2: #0d1117;
  --accent: #00c8ff;
  --accent-2: #7c3aed;
  --accent-3: #f59e0b;
  --text: #e8eaf0;
  --text-muted: #6b7280;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --nav-bg: rgba(7,9,15,0.85);
  --hero-glow-1: rgba(0,200,255,0.07);
  --hero-glow-2: rgba(124,58,237,0.06);
  --shadow: 0 25px 60px rgba(0,0,0,0.5);
  --input-bg: rgba(255,255,255,0.05);
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
  --particle-color: 0,200,255;
}

[data-theme="light"] {
  --bg: #f0f4f8;
  --bg-2: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --glass-bg: rgba(0,0,0,0.04);
  --glass-border: rgba(0,0,0,0.1);
  --nav-bg: rgba(240,244,248,0.9);
  --hero-glow-1: rgba(0,100,200,0.08);
  --hero-glow-2: rgba(124,58,237,0.06);
  --shadow: 0 25px 60px rgba(0,0,0,0.12);
  --input-bg: rgba(0,0,0,0.04);
  --particle-color: 0,100,200;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

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

section { padding: 7rem 0; }

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo span { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-icon-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  font-family: inherit;
  line-height: 1;
}

.nav-icon-btn:hover {
  background: rgba(0,200,255,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.nav-icon-btn.theme-btn {
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition) !important;
  display: inline-block;
}

.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--bg);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, var(--hero-glow-1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, var(--hero-glow-2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

[data-theme="light"] .hero-badge {
  background: rgba(0,100,200,0.08);
  border-color: rgba(0,100,200,0.2);
  color: #0064c8;
}

[data-theme="light"] .hero-badge::before {
  background: #0064c8;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-name {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  min-height: 2em;
}

#typewriter { color: var(--text); }
#cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%,100% {opacity:1} 50% {opacity:0} }

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 0 30px rgba(0,200,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(0,200,255,0.35); }

.btn-ghost {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

[data-theme="light"] .btn-ghost {
  background: rgba(0,0,0,0.05);
}
[data-theme="light"] .btn-ghost:hover {
  background: rgba(0,0,0,0.08);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-photo-wrap {
  position: relative;
  width: 380px;
  height: 460px;
}

.hero-photo-ring {
  position: absolute;
  inset: -20px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(0,200,255,0.3), rgba(124,58,237,0.3));
  filter: blur(30px);
  animation: morph 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes morph {
  0%   { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  100% { border-radius: 40% 60% 45% 55% / 60% 40% 50% 50%; }
}

.hero-photo-border {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  z-index: 1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  filter: grayscale(15%);
}

.hero-stat-card {
  position: absolute;
  background: var(--bg-2);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  z-index: 3;
}

.hero-stat-card.card-1 { bottom: -1rem; left: -3rem; white-space: nowrap; }
.hero-stat-card.card-2 { top: 2rem; right: -3rem; white-space: nowrap; }

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes float {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── ABOUT ────────────────────────────────────────────────── */
#about {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.05), transparent 70%);
  pointer-events: none;
}

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

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-text p strong { color: var(--text); font-weight: 600; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-stat {
  text-align: center;
  padding: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.about-stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.about-visual { position: relative; }

.about-img-stack {
  position: relative;
  height: 500px;
}

.about-img {
  position: absolute;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-img-1 {
  width: 75%; height: 75%;
  top: 0; left: 0;
  border: 2px solid rgba(0,200,255,0.2);
}

.about-img-2 {
  width: 60%; height: 55%;
  bottom: 0; right: 0;
  border: 2px solid rgba(124,58,237,0.2);
}

/* ── VENTURES ─────────────────────────────────────────────── */
#ventures { position: relative; overflow: hidden; }

.ventures-intro {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 100%;
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.venture-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  overflow: hidden;
  transition: all var(--transition);
  color: inherit;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.venture-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none; /* never block clicks */
}

.venture-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

[data-theme="light"] .venture-card:hover {
  border-color: rgba(0,0,0,0.15);
}

.venture-card:hover::before { opacity: 1; }

.venture-card.v1::before { background: linear-gradient(135deg, rgba(0,200,255,0.07), transparent); }
.venture-card.v2::before { background: linear-gradient(135deg, rgba(124,58,237,0.07), transparent); }
.venture-card.v3::before { background: linear-gradient(135deg, rgba(245,158,11,0.07), transparent); }
.venture-card.v4::before { background: linear-gradient(135deg, rgba(16,185,129,0.07), transparent); }

.venture-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.v1 .venture-icon { background: rgba(0,200,255,0.12); }
.v2 .venture-icon { background: rgba(124,58,237,0.12); }
.v3 .venture-icon { background: rgba(245,158,11,0.12); }
.v4 .venture-icon { background: rgba(16,185,129,0.12); }

.venture-role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.v1 .venture-role { color: var(--accent); }
.v2 .venture-role { color: #a78bfa; }
.v3 .venture-role { color: var(--accent-3); }
.v4 .venture-role { color: #10b981; }

.venture-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.venture-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.venture-link-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: gap var(--transition);
}

.venture-card:hover .venture-link-row { gap: 0.75rem; }

.v1 .venture-link-row { color: var(--accent); }
.v2 .venture-link-row { color: #a78bfa; }
.v3 .venture-link-row { color: var(--accent-3); }
.v4 .venture-link-row { color: #10b981; }

/* ── EXPERTISE ────────────────────────────────────────────── */
#expertise { background: var(--bg-2); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.expertise-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: all var(--transition);
}

.expertise-card:hover {
  background: rgba(0,200,255,0.04);
  border-color: rgba(0,200,255,0.2);
  transform: translateY(-3px);
}

[data-theme="light"] .expertise-card:hover {
  background: rgba(0,100,200,0.04);
}

.expertise-icon {
  font-size: 1.8rem;
  margin-bottom: 0.85rem;
}

.expertise-title {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.expertise-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── RIDE GALLERY ─────────────────────────────────────────── */
#ride {
  position: relative;
  overflow: hidden;
}

#ride::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0,200,255,0.03), transparent 70%);
  pointer-events: none;
}

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

.ride-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.ride-text blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  margin: 2rem 0;
}

.ride-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 480px;
}

.ride-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.ride-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 50%);
  transition: opacity var(--transition);
}

.ride-img-wrap:hover::after { opacity: 0; }
.ride-img-wrap:first-child { grid-row: 1 / -1; }

.ride-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ride-img-wrap:hover img { transform: scale(1.04); }

/* ── CONTACT ──────────────────────────────────────────────── */
#contact {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  bottom: -300px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.04), transparent 65%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.contact-header .section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.contact-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}

.contact-pill:hover {
  background: rgba(0,200,255,0.06);
  border-color: var(--accent);
  transform: translateX(4px);
}

[data-theme="light"] .contact-pill:hover {
  background: rgba(0,100,200,0.06);
}

.pill-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-text { flex: 1; }
.pill-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
.pill-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.pill-arrow {
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
  font-size: 0.9rem;
}

.contact-pill:hover .pill-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* ── Contact Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  transition: border-color var(--transition), background var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0,200,255,0.04);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  background: rgba(0,100,200,0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-submit {
  align-self: flex-start;
}

.form-success {
  display: none;
  padding: 1.25rem 1.5rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius);
  color: #10b981;
  font-weight: 600;
  text-align: center;
}

.form-error {
  display: none;
  padding: 1.25rem 1.5rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  color: #f87171;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── BACK TO TOP ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,200,255,0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-to-top:hover {
  box-shadow: 0 6px 28px rgba(0,200,255,0.5);
  transform: translateY(-2px);
}

/* ── REVEAL ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  #hero { align-items: flex-start; padding-top: 5.5rem; padding-bottom: 4rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { margin-top: 3rem; }
  .hero-photo-wrap { width: 280px; height: 340px; }
  .hero-stat-card.card-1 { left: -0.5rem; }
  .hero-stat-card.card-2 { right: -0.5rem; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-img-stack { height: 300px; }
  .ventures-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .ride-inner { grid-template-columns: 1fr; }
  .ride-gallery { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-right { gap: 1rem; }
}

@media (max-width: 600px) {
  section { padding: 5rem 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-name { font-size: 2.8rem; }
  .nav-controls { gap: 0.4rem; }
}
