/* ============================================
   IJC MEDIA — Black/Grey/White/Gold Theme
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --surface: #f3f3f5;
  --surface-hover: #eaeaee;
  --text: #111111;
  --text-muted: #666666;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.18);

  --accent: #111111;
  --gold: #b8963e;
  --gold-light: #d4b15a;
  --gold-glow: rgba(184,150,62,0.35);

  --goku: #FF6B00;
  --vswerks: #0057E1;
  --vswerks-red: #ED1C24;
  --eporsche: #c0392b;
  --books: #5a8f5a;
  --voiceover: #116dff;

  --max-w: 1200px;
  --pad: 2rem;

  --font-display: 'Futura', 'Futura-Bold', 'Century Gothic', sans-serif;
  --font-body: 'Futura', 'Century Gothic', sans-serif;
  --font-serif: 'Futura', 'Century Gothic', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.logo-link { display: flex; align-items: center; gap: 0.6rem; transition: opacity 0.3s; }
.logo-link:hover { opacity: 1; }
.logo-img { height: 34px; width: auto; }
.logo-text {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.08em; display: flex; gap: 0.15em;
}
.logo-ijc { color: var(--accent); }
.logo-media {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease;
}
.logo-link:hover .logo-media {
  color: var(--gold);
  -webkit-text-stroke-color: var(--gold);
}

.menu-trigger {
  display: flex; align-items: center; gap: 0.6rem;
  background: none; border: 1px solid var(--border);
  border-radius: 100px; padding: 0.5rem 1.1rem;
  color: var(--text); cursor: pointer;
  font-family: var(--font-body); font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: all 0.3s var(--ease);
}
.menu-trigger:hover { background: var(--surface); border-color: var(--border-hover); }
.menu-trigger-icon { display: flex; align-items: center; transition: transform 0.5s var(--ease); }
.menu-trigger.active .menu-trigger-icon { transform: rotate(315deg); }

/* ============================================
   KINETIC NAV OVERLAY
   ============================================ */
.nav-overlay-wrapper {
  position: fixed; inset: 0; z-index: 200;
  display: none;
}

.nav-overlay-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.35); opacity: 0; cursor: pointer; }

.nav-menu {
  position: absolute; top: 0; right: 0;
  width: min(560px, 92vw); height: 100%;
  transform: translateX(100%); overflow-y: auto; overflow-x: hidden;
}

.nav-menu-bg { position: absolute; inset: 0; overflow: hidden; }
.nav-panel { position: absolute; inset: 0; transform: translateX(101%); }
.nav-panel-1 { background: #f0f0f2; z-index: 1; }
.nav-panel-2 { background: #e8e8ec; z-index: 2; }
.nav-panel-3 { background: #ffffff; z-index: 3; }

.nav-shapes { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.nav-shape { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 0.3s; }
.nav-shape.active { opacity: 1; }
.nav-shape .shape-el { opacity: 0; transform-origin: center; }
.nav-shape-1 {
  display: flex; align-items: center; justify-content: center;
}
.nav-shape-logo {
  width: 180px; height: 180px; object-fit: contain;
  filter: brightness(0) invert(0.78);
}

.nav-menu-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; justify-content: center;
  height: 100%; padding: 4rem 3rem;
}

.nav-list { display: flex; flex-direction: column; gap: 0.1rem; }
.nav-list-item { overflow: visible; position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 1rem;
  position: relative; padding: 0.7rem 1rem; border-radius: 8px;
  transition: background 0.3s;
}
.nav-link:hover { background: rgba(0,0,0,0.03); }

.nav-link-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  letter-spacing: 0.02em; color: var(--text);
  display: block; white-space: nowrap;
  transition: color 0.3s;
}

/* Color-coded hover per venture */
.nav-link:hover .nav-link-text { color: var(--gold); }
.nav-link[data-color="goku"]:hover .nav-link-text { color: var(--goku); }
.nav-link[data-color="vswerks"]:hover .nav-link-text { color: var(--vswerks); }
.nav-link[data-color="eporsche"]:hover .nav-link-text { color: var(--eporsche); }

.nav-link-hover-bg {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  opacity: 0; transition: all 0.4s var(--ease);
}
.nav-link:hover .nav-link-hover-bg { transform: scaleX(1); opacity: 1; }
.nav-link[data-color="goku"] .nav-link-hover-bg { background: var(--goku); }
.nav-link[data-color="vswerks"] .nav-link-hover-bg { background: var(--vswerks); }
.nav-link[data-color="eporsche"] .nav-link-hover-bg { background: var(--eporsche); }

/* Reveal images on nav hover */
.nav-reveal-imgs {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  pointer-events: none; z-index: 30;
}
.nav-reveal-img {
  position: absolute; right: 0; top: 0;
  width: 72px; height: 90px; border-radius: 6px; overflow: hidden;
  opacity: 0; transform: scale(0); box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: all 0.4s var(--ease);
}
.nav-reveal-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nav-list-item[data-shape="3"] .nav-reveal-img img { object-position: 75% center; }
.nav-link:hover ~ .nav-reveal-imgs .nav-reveal-img,
.nav-list-item:hover .nav-reveal-img {
  opacity: 1; transform: scale(1);
}

.nav-footer { margin-top: auto; padding-top: 2rem; border-top: 1px solid var(--border); }
.nav-footer-links { display: flex; gap: 1.5rem; margin-bottom: 0.75rem; }
.nav-footer-links a { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.3s; }
.nav-footer-links a:hover { color: var(--gold); }
.nav-footer-copy { font-size: 0.7rem; color: var(--text-muted); opacity: 0.5; }

/* ============================================
   HERO — Vertical cut reveal style
   ============================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero-content { position: relative; }
.hero-logo { width: 52px; height: auto; margin: 0 auto 1.25rem; opacity: 1; filter: brightness(0); }

.hero-title {
  font-family: var(--font-display); font-weight: 700;
  line-height: 0.88; margin-bottom: 1.5rem;
}
.hero-line {
  display: block; position: relative; overflow: hidden;
}
.hero-line-1 {
  font-size: clamp(3.5rem, 16vw, 13rem);
  letter-spacing: 0.04em; color: var(--text);
}
.hero-line-2 {
  font-size: clamp(2.8rem, 12vw, 10rem);
  letter-spacing: 0.08em;
  -webkit-text-stroke: 2px var(--gold); color: transparent;
}

/* Shutter text effect */
.shutter-char {
  display: inline-block; position: relative; overflow: hidden;
  padding: 0 0.02em;
}
.shutter-char-main {
  display: inline-block; opacity: 0; filter: blur(10px);
  transition: none;
}
.shutter-char-main.revealed { opacity: 1; filter: blur(0); }

/* Slice layers that sweep across each character */
.shutter-slice {
  position: absolute; inset: 0; pointer-events: none;
  display: inline-block; overflow: hidden;
}
.shutter-slice-inner {
  display: inline-block; opacity: 0;
}
.shutter-slice--top { clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%); }
.shutter-slice--mid { clip-path: polygon(0 35%, 100% 35%, 100% 65%, 0 65%); }
.shutter-slice--bot { clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%); }
.shutter-slice--top .shutter-slice-inner,
.shutter-slice--bot .shutter-slice-inner { color: var(--gold); -webkit-text-stroke: 0; }
.shutter-slice--mid .shutter-slice-inner { color: var(--text-muted); -webkit-text-stroke: 0; }
.hero-line-2 .shutter-slice--top .shutter-slice-inner,
.hero-line-2 .shutter-slice--bot .shutter-slice-inner { color: var(--gold); -webkit-text-stroke: 0; }
.hero-line-2 .shutter-slice--mid .shutter-slice-inner { color: var(--text-muted); -webkit-text-stroke: 0; }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted); font-weight: 300; margin-bottom: 0.5rem;
}
.hero-subtitle strong { color: var(--text); font-weight: 600; }

.hero-tagline {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2.5rem;
}

.hero-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  margin-top: 3rem;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SPOTLIGHT CARDS (Homepage — Aceternity-inspired)
   ============================================ */
.ventures-section {
  padding: 4rem 0 5rem;
  background: #ffffff;
  position: relative;
}

.ventures-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.ventures-secondary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Base card — white with subtle border */
.spotlight-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.spotlight-card:hover {
  border-color: var(--card-accent, rgba(0,0,0,0.2));
}

/* Radial gradient spotlight that follows mouse */
.spotlight-gradient {
  position: absolute; inset: -1px; z-index: 1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.spotlight-card:hover .spotlight-gradient {
  opacity: 1;
}

/* Background image — hidden by default, revealed on hover */
.spotlight-bg-img {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.spotlight-bg-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.spotlight-card:hover .spotlight-bg-img {
  opacity: 0.18;
}

/* Light scrim over bg image so text stays readable */
.spotlight-bg-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.6) 100%);
}

/* Content layer — always on top */
.spotlight-content {
  position: relative; z-index: 10;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spotlight-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.35s ease;
  line-height: 1.1;
}
.spotlight-card-large .spotlight-title { font-size: 2rem; }
.spotlight-card-small .spotlight-title { font-size: 1.05rem; }

/* On hover, title takes accent color (set via JS as CSS var) */
.spotlight-card:hover .spotlight-title {
  color: var(--card-accent, #fff);
}

.spotlight-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.35s ease;
}
.spotlight-card:hover .spotlight-tagline {
  color: var(--text);
}

.spotlight-arrow {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  color: rgba(0,0,0,0.2);
  transition: all 0.35s ease;
}
.spotlight-card:hover .spotlight-arrow {
  color: var(--card-accent, rgba(0,0,0,0.5));
  transform: translate(3px, -3px);
}

/* Sizing */
.spotlight-card-large { min-height: 320px; }
.spotlight-card-small { min-height: 200px; }

/* Bottom gradient fade on large cards for text readability */
.spotlight-card-large .spotlight-content {
  padding: 2rem 2.25rem;
}
.spotlight-card-large::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.spotlight-card-large:hover::after {
  opacity: 1;
}
.spotlight-card-large .spotlight-content {
  z-index: 10;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 5rem 0; }
.section-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem; font-weight: 600;
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.02em; line-height: 1; margin-bottom: 1.5rem;
}

/* ============================================
   ABOUT
   ============================================ */
.section-about { background: var(--bg-alt); border-top: 1px solid var(--border); }

.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; align-items: start; margin-bottom: 4rem; }

.about-photo-frame {
  border-radius: 12px; overflow: hidden; aspect-ratio: 3/4;
  background: var(--surface);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.about-lead { font-size: 1.15rem; line-height: 1.7; margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.about-text strong { color: var(--text); }
.about-text em { font-family: var(--font-serif); color: var(--gold); }

.about-stats {
  display: flex; gap: 2.5rem; margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-number { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; letter-spacing: 0.02em; color: var(--gold); }
.stat-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* Awards */
.awards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 4rem; }
.award-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.75rem; transition: border-color 0.3s, transform 0.3s;
  overflow: hidden; position: relative;
}
.award-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.award-card-inner { position: relative; z-index: 1; }
.award-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.award-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.award-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.award-card em { font-family: var(--font-serif); color: var(--gold); }

/* ============================================
   CAROUSELS
   ============================================ */
.carousel-section { margin-bottom: 4rem; }
.carousel-heading {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.25rem;
}

.carousel-wrapper { overflow: hidden; position: relative; user-select: none; -webkit-user-select: none; }
.carousel-wrapper::before, .carousel-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.carousel-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-alt), transparent); }
.carousel-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-alt), transparent); }

.carousel-track {
  display: flex; gap: 0.75rem; width: max-content;
  animation: scrollCarousel 45s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }

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

/* Characters — avatar card style */
.chars-wrapper { padding-top: 1rem; }
.char-item {
  flex-shrink: 0; position: relative; cursor: default;
  padding: 1.2rem 1.8rem; border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  text-align: center; min-width: 150px;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.char-item:hover {
  border-color: var(--gold);
  background: var(--surface);
  transform: translateY(-6px);
}

.char-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--char-color, var(--gold));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s var(--ease);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  position: relative; z-index: 1;
  overflow: hidden;
}
.char-silhouette {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0.15; pointer-events: none; overflow: hidden;
}
.char-silhouette svg { width: 80%; height: 80%; }
.char-item:hover .char-silhouette { opacity: 0.3; }
.char-avatar::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  background: radial-gradient(circle, var(--char-color, var(--gold)) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: -1; transform: scale(0.5);
}
.char-item:hover .char-avatar {
  transform: scale(1.15);
  box-shadow: 0 6px 28px rgba(0,0,0,0.2);
}
.char-item:hover .char-avatar::before {
  opacity: 0.35; transform: scale(1.8);
}

/* Character hover card */
.char-item::after {
  content: attr(data-role);
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%) translateY(0);
  background: var(--text); color: #fff; font-size: 0.6rem;
  padding: 0.25rem 0.6rem; border-radius: 4px;
  letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0; pointer-events: none; white-space: nowrap;
  transition: all 0.3s var(--ease);
}
.char-item:hover::after {
  opacity: 1; transform: translateX(-50%) translateY(4px);
}

.char-name { display: block; font-weight: 700; font-size: 1.05rem; transition: color 0.3s; }
.char-item:hover .char-name { color: var(--gold); }
.char-show { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: -0.2rem; }

/* Logo carousel — no top padding needed */
.carousel-wrapper.logos-wrapper { padding-top: 0; }

/* Studio logos — BLACK on white, gold highlight */
.carousel-logos { animation-duration: 50s; gap: 3rem; align-items: center; }
.logo-item {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  height: 50px; min-width: 80px;
  opacity: 0.25;
  transition: all 0.4s var(--ease);
}
.logo-item img {
  height: 38px; width: auto; max-width: 110px; object-fit: contain;
  filter: brightness(0); /* force black */
  transition: filter 0.4s var(--ease);
}
.logo-item:hover {
  opacity: 1; transform: scale(1.08);
}
.logo-item:hover img {
  filter: brightness(0) sepia(1) hue-rotate(10deg) saturate(3) brightness(0.75);
  /* Approximates gold tint */
}

/* ============================================
   FEATURES GRID
   ============================================ */
.medium-section { margin-bottom: 2rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }

.feature-card {
  position: relative; padding: 2.5rem 2rem;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; transition: background 0.3s;
}
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-child(n+4) { border-bottom: none; }
.feature-card:first-child, .feature-card:nth-child(4) { border-left: 1px solid var(--border); }
.feature-card:nth-child(-n+3) { border-top: 1px solid var(--border); }

.feature-glow { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.feature-glow-top { background: linear-gradient(to top, var(--surface), transparent); }
.feature-glow-bottom { background: linear-gradient(to bottom, var(--surface), transparent); }
.feature-card:hover .feature-glow { opacity: 1; }

.feature-img {
  width: 100%; height: 140px; border-radius: 8px; overflow: hidden; margin-bottom: 1rem;
  position: relative; z-index: 1; opacity: 0.6; transition: opacity 0.4s var(--ease);
}
.feature-card:hover .feature-img { opacity: 1; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.feature-card:hover .feature-img img { transform: scale(1.05); }

.feature-icon { margin-bottom: 1rem; color: var(--text-muted); position: relative; z-index: 1; transition: color 0.3s; }
.feature-card:hover .feature-icon { color: var(--gold); }

.feature-content { position: relative; z-index: 1; }
.feature-bar {
  position: absolute; left: -2rem; top: 0;
  width: 3px; height: 24px; border-radius: 0 4px 4px 0;
  background: #ddd; transition: all 0.3s var(--ease);
}
.feature-card:hover .feature-bar { height: 32px; background: var(--gold); }

.feature-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; transition: transform 0.3s var(--ease); }
.feature-card:hover .feature-content h4 { transform: translateX(8px); }
.feature-content p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--border); background: var(--bg); }

/* Dark footer variant — kept for sub-pages if needed */
body.dark-footer .site-footer {
  background: #0a0a0a; color: rgba(255,255,255,0.7);
  border-top-color: rgba(255,255,255,0.06);
}
body.dark-footer .footer-brand p,
body.dark-footer .footer-col a,
body.dark-footer .footer-col h4,
body.dark-footer .footer-bottom p { color: rgba(255,255,255,0.45); }
body.dark-footer .footer-col h4 { color: rgba(255,255,255,0.7); }
body.dark-footer .footer-col a:hover { color: var(--gold); }
body.dark-footer .footer-bottom { border-top-color: rgba(255,255,255,0.06); }
body.dark-footer .footer-logo { filter: brightness(0) invert(1); opacity: 0.6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }
.footer-logo { height: 36px; width: auto; margin-bottom: 0.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.footer-col a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 0.7rem; color: var(--text-muted); opacity: 0.5; }

/* ============================================
   VENTURE SUB-PAGES
   ============================================ */
.venture-page { padding-top: 100px; min-height: 100vh; }
.venture-hero { padding: 4rem 0; text-align: center; border-bottom: 1px solid var(--border); }
.venture-hero .section-eyebrow { margin-bottom: 0.3rem; }
.venture-hero .section-title { margin-bottom: 1rem; }
.venture-hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.venture-body { padding: 4rem 0; }
.venture-body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.venture-body-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.venture-body-text strong { color: var(--text); }

.venture-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: var(--surface); }
.venture-photo img { width: 100%; height: 100%; object-fit: cover; }

.venture-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.venture-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.5rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em;
  transition: all 0.35s var(--ease); border: none; cursor: pointer;
}
.venture-link svg { transition: transform 0.3s var(--ease); }
.venture-link:hover svg { transform: translate(3px, -3px); }

.venture-link-primary { background: var(--text); color: #fff; }
.venture-link-primary:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.venture-link-goku { background: var(--goku); color: #fff; }
.venture-link-goku:hover { box-shadow: 0 4px 20px rgba(255,107,0,0.3); }
.venture-link-vswerks { background: var(--vswerks); color: #fff; }
.venture-link-vswerks:hover { box-shadow: 0 4px 20px rgba(0,87,225,0.3); }
.venture-link-eporsche { background: var(--eporsche); color: #fff; }
.venture-link-eporsche:hover { box-shadow: 0 4px 20px rgba(192,57,43,0.3); }
.venture-link-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.venture-link-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ElectroPorsche gallery */
.eporsche-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.eporsche-gallery-main { grid-column: 1 / -1; }
.eporsche-gallery-item { border-radius: 10px; overflow: hidden; background: var(--surface); }
.eporsche-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.eporsche-placeholder {
  border: 1px dashed rgba(192,57,43,0.25); border-radius: 10px;
  padding: 2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  min-height: 120px; justify-content: center;
}
.eporsche-gallery-main .eporsche-placeholder { min-height: 200px; }
.eporsche-placeholder span { font-size: 2rem; }
.eporsche-placeholder p { font-size: 0.85rem; color: var(--text-muted); }
.eporsche-placeholder small { font-size: 0.7rem; color: var(--text-muted); opacity: 0.5; }

/* ElectroPorsche Timeline */
.ep-timeline-section { padding: 4rem 0 5rem; border-top: 1px solid var(--border); }
.ep-timeline-intro { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin-bottom: 3rem; line-height: 1.7; }

.ep-timeline { position: relative; padding-left: 2.5rem; }

.ep-timeline-line {
  position: absolute; left: 8px; top: 0; bottom: 0; width: 2px;
  background: var(--border);
}
.ep-timeline-progress {
  width: 100%; background: linear-gradient(to bottom, var(--eporsche), transparent);
  height: 0; transition: height 0.3s;
}

.ep-timeline-entry {
  position: relative; padding-bottom: 2.5rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.ep-timeline-entry.visible { opacity: 1; transform: translateY(0); }

.ep-timeline-dot {
  position: absolute; left: -2.5rem; top: 0.3rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
  z-index: 2;
}
.ep-timeline-entry.visible .ep-timeline-dot {
  border-color: var(--eporsche); background: var(--eporsche);
}

.ep-timeline-date {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; letter-spacing: 0.02em;
  color: var(--text); margin-bottom: 0.5rem;
}

.ep-timeline-content p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem;
}
.ep-timeline-content strong { color: var(--text); }

.ep-timeline-img {
  margin-top: 1rem; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.ep-timeline-img img { width: 100%; height: auto; display: block; }

.ep-timeline-imgs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem;
}
.ep-timeline-imgs-grid .ep-timeline-img { margin-top: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .ventures-primary { grid-template-columns: 1fr 1fr; }
  .ventures-secondary { grid-template-columns: 1fr 1fr; }
  .spotlight-card-large { min-height: 220px; }
  .spotlight-card-small { min-height: 160px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-frame { max-width: 280px; margin: 0 auto; }
  .awards-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(2n) { border-right: none; }
  .feature-card:nth-child(n+3) { border-bottom: none; }
  .venture-body-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-reveal-imgs { display: none; }
  .ep-timeline-imgs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --pad: 1.25rem; }
  .hero { min-height: auto; padding: 6rem 2rem 2rem; }
  .hero-scroll-hint { display: none; }
  .hero-tagline { margin-bottom: 0; }
  .ventures-section { padding: 1.5rem 0 2.5rem; }
  .ventures-primary { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .ventures-secondary { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .spotlight-card-large { min-height: 160px; }
  .spotlight-card-large .spotlight-title { font-size: 1.2rem; }
  .spotlight-card-small { min-height: 130px; }
  .spotlight-card-small .spotlight-title { font-size: 0.85rem; }
  .spotlight-card-ep .spotlight-title { font-size: 0.72rem; }
  .spotlight-content { padding: 1rem 1.25rem; }
  .spotlight-icon svg { width: 28px; height: 28px; }
  .about-stats { flex-direction: column; gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none !important; border-left: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .feature-card:last-child { border-bottom: none !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .chars-wrapper { padding-top: 0.5rem; }
}
