/* ═══════════════════════════════════════════════════════════
   ORION MEDIA — Static Build (Lovable design port)
   Fraunces + Inter Tight + JetBrains Mono. Dark theme.
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&family=Inter+Tight:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:       #0a0709;
  --bg-card:  #141114;
  --border:   rgba(255,255,255,0.06);
  --border-h: rgba(247,163,64,0.2);
  --text-1:   #f0eeeb;
  --text-2:   #a8a4a0;
  --text-3:   #6b6663;
  --flame-1:  #f7a340;
  --flame-2:  #e6392a;
  --grad:     linear-gradient(135deg, var(--flame-1), var(--flame-2));
  --display:  'Fraunces', ui-serif, Georgia, serif;
  --sans:     'Inter Tight', system-ui, sans-serif;
  --mono:     'JetBrains Mono', monospace;
  --nav-h:    56px;
  --max-w:    1200px;
  --pad:      24px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 8vw, 7rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: 1.3rem; }
p  { color: var(--text-2); font-size: 1rem; line-height: 1.7; }

.flame {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.flame-italic { font-style: italic; }

.mono {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── REVEAL ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.25,1,0.5,1), transform 0.7s cubic-bezier(0.25,1,0.5,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.r1 { transition-delay: 0.1s; }
.r2 { transition-delay: 0.2s; }
.r3 { transition-delay: 0.3s; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 28px;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.25,1,0.5,1);
}
.btn-icon { width: 22px; height: 22px; }
.btn-icon-invert { filter: brightness(0) invert(1); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { transform: scale(1.04); }
.btn-outline { color: var(--text-1); border: 1px solid rgba(255,255,255,0.12); }
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.btn-flame { background: var(--grad); color: #fff; }
.btn-flame:hover { transform: scale(1.04); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(10,7,9,0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.progress-bar {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  height: 2px; background: transparent;
  --p: 0%;
  --cx: 50%;
}
.progress-bar::after {
  content: ''; display: block; height: 100%;
  width: var(--p);
  background: linear-gradient(90deg, var(--flame-1), var(--flame-2) var(--cx), var(--flame-1));
  transition: width 0.1s linear, background 0.15s ease-out;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; }
.nav-logo img { height: 28px; width: 28px; border-radius: 50%; }
.nav-logo span { color: var(--text-2); font-weight: 400; }
.logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px; }

.nav-links { display: flex; gap: 24px; }
.nav-link {
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
  padding: 4px 0; border-bottom: 1.5px solid transparent;
  transition: color 0.25s;
}
.nav-link:hover { color: var(--text-1); }
.nav-link.active { color: var(--text-1); border-bottom-color: var(--flame-1); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { width: 20px; height: 1.5px; background: var(--text-1); border-radius: 1px; }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(10,7,9,0.97); backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border); padding: 20px var(--pad);
  flex-direction: column; gap: 2px;
  visibility: hidden; opacity: 0;
  transform: translateY(-120%);
  transition: transform 0.35s cubic-bezier(0.25,1,0.5,1), opacity 0.35s cubic-bezier(0.25,1,0.5,1), visibility 0.35s;
}
.mobile-menu.open { visibility: visible; opacity: 1; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-2);
  padding: 14px 0; border-bottom: 1px solid var(--border);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; align-items: center;
  z-index: 1;
  scroll-margin-top: 0;
  padding-top: calc(var(--nav-h) + 24px);
}
.hero-content {
  position: relative; z-index: 5;
  width: 100%; padding: 0 var(--pad);
  pointer-events: none;
}
.hero-content * { pointer-events: auto; }

.hero h1 {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 0.9;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1rem; color: var(--text-2); max-width: 480px;
  line-height: 1.6; margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

.stats-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 48px; scroll-margin-top: 100px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.stat-card:hover { border-color: var(--border-h); transform: translateY(-3px); }
.stat-num {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-desc {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── SECTION ─────────────────────────────────────────────── */
.section { padding: 60px 0; }
.section[id] { scroll-margin-top: 80px; }
.section-header { margin-bottom: 32px; }

/* ── TILT CARD ───────────────────────────────────────────── */
.tilt-card {
  transition: transform 0.2s ease-out;
  will-change: transform;
  transform-style: preserve-3d;
}
.tilt-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.tilt-card:hover .tilt-card-inner { border-color: rgba(255,255,255,0.2); }

/* ── SERVICES ────────────────────────────────────────────── */
.serv-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.serv-card { padding: 32px; }
.serv-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.serv-card p { font-size: 0.85rem; color: var(--text-2); margin-bottom: 18px; }
.serv-list { display: flex; flex-direction: column; gap: 6px; }
.serv-list li {
  font-size: 0.78rem; color: var(--text-3);
  font-family: var(--mono); letter-spacing: 0.05em;
  padding-left: 14px; position: relative;
}
.serv-list li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 4px; height: 4px; background: currentColor; opacity: 0.4;
}

/* ── CAROUSEL ────────────────────────────────────────────── */
.carousel-label {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 4px;
}
.carousel-tagline {
  font-family: var(--sans); font-size: 0.8rem; color: var(--text-3);
  margin-bottom: 20px;
}
.carousel-wrap { position: relative; perspective: 1200px; height: 480px; display: flex; align-items: center; justify-content: center; }
.carousel-wrap.portrait { height: 380px; }
.carousel-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; }
.carousel-slide {
  position: absolute; overflow: hidden; cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.25,1,0.5,1), opacity 0.45s cubic-bezier(0.25,1,0.5,1);
  transform-style: preserve-3d; backface-visibility: hidden;
  border: 1px solid var(--border);
}
.carousel-slide.center { transform: translateX(0) rotateY(0deg) scale(1); opacity: 1; z-index: 3; width: 600px; aspect-ratio: 16/9; }
.carousel-slide.center.portrait { width: 200px; aspect-ratio: 9/16; }
.carousel-slide.center:hover { border-color: var(--border-h); }
.carousel-slide.left { transform: translateX(-517px) translateZ(-50px) rotateY(-25deg) scale(0.92); opacity: 0.55; z-index: 2; width: 540px; aspect-ratio: 16/9; pointer-events: none; }
.carousel-slide.left.portrait { width: 150px; aspect-ratio: 9/16; transform: translateX(-310px) rotateY(14deg) scale(0.82); }
.carousel-slide.right { transform: translateX(517px) translateZ(-50px) rotateY(25deg) scale(0.92); opacity: 0.55; z-index: 2; width: 540px; aspect-ratio: 16/9; pointer-events: none; }
.carousel-slide.right.portrait { width: 150px; aspect-ratio: 9/16; transform: translateX(310px) rotateY(-14deg) scale(0.82); }
.carousel-slide.hidden, .carousel-slide.hidden-right { opacity: 0; z-index: 1; width: 300px; aspect-ratio: 16/9; pointer-events: none; }
.carousel-slide.hidden.portrait, .carousel-slide.hidden-right.portrait { width: 130px; aspect-ratio: 9/16; }
.carousel-slide.hidden { transform: translateX(-700px) translateZ(-80px) rotateY(35deg) scale(0.7); }
.carousel-slide.hidden.portrait { transform: translateX(-280px) translateZ(-40px) rotateY(30deg) scale(0.7); }
.carousel-slide.hidden-right { transform: translateX(700px) translateZ(-80px) rotateY(-35deg) scale(0.7); }
.carousel-slide.hidden-right.portrait { transform: translateX(280px) translateZ(-40px) rotateY(-30deg) scale(0.7); }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 0.3s ease; }
.center:hover img { transform: scale(1.22); }
.carousel-slide { background: var(--bg); }
.carousel-slide .play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.center:hover .play-btn { opacity: 1; }
.play-btn svg { width: 48px; height: 48px; opacity: 0.9; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); transition: transform 0.25s ease; }
.center:hover .play-btn svg { transform: scale(2); }

.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 40px; height: 40px; border: 1px solid var(--border); background: rgba(0,0,0,0.5); color: var(--text-1); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; }
.carousel-arrow:hover { border-color: var(--border-h); background: rgba(0,0,0,0.7); transform: translateY(-50%) scale(1.05); }
.carousel-arrow.prev { left: 4px; } .carousel-arrow.next { right: 4px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.carousel-dot { width: 6px; height: 6px; background: rgba(255,255,255,0.12); border: none; cursor: pointer; transition: all 0.25s; }
.carousel-dot.active { background: var(--flame-1); width: 22px; }
.carousel-spacer { height: 36px; }

/* ── THUMBNAILS ──────────────────────────────────────────── */
.thumb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.thumb-item { overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--border); transition: transform 0.3s ease, border-color 0.3s ease; }
.thumb-item:hover { transform: scale(1.01); border-color: var(--border-h); }
.thumb-item img { width: 100%; display: block; }
.thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 14px; opacity: 0; transition: opacity 0.25s; }
.thumb-item:hover .thumb-overlay { opacity: 1; }
.thumb-label { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); gap: 16px; justify-content: center; }
.test-vid { aspect-ratio: 9/16; border: 1px solid var(--border); overflow: hidden; position: relative; background: var(--bg); cursor: pointer; transition: border-color 0.3s ease, transform 0.3s ease; max-height: 380px; }
.test-vid:hover { border-color: var(--border-h); transform: translateY(-2px); }
.test-vid iframe { width: 100%; height: 100%; border: none; }
.test-vid-label { position: absolute; bottom: 12px; left: 12px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); pointer-events: none; }

/* ── PRAISE WALL ─────────────────────────────────────────── */
.praise-section { overflow: hidden; padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); scroll-margin-top: 80px; }
.praise-track { display: flex; gap: 16px; width: max-content; animation: praise-scroll 60s linear infinite; }
.praise-track:hover { animation-play-state: paused; }
.praise-item { flex-shrink: 0; height: 220px; width: auto; border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: transform 0.3s ease, border-color 0.3s ease; }
.praise-item:hover { transform: translateY(-4px) scale(1.02); border-color: var(--border-h); }
.praise-item img { height: 100%; width: auto; object-fit: contain; background: var(--bg); display: block; }
@keyframes praise-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── CASE STUDIES ────────────────────────────────────────── */
.cs-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 400px;
}
.cs-card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  position: sticky;
  transition: box-shadow 0.3s ease, opacity 0.5s ease;
}
.cs-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.cs-card:nth-child(1) { z-index: 1; top: 76px; width: 100%; margin-bottom: 0; }
.cs-card:nth-child(2) { z-index: 2; top: 96px; width: 90%; align-self: center; margin-bottom: 0; }
.cs-card:nth-child(3) { z-index: 3; top: 116px; width: 80%; align-self: center; margin-bottom: 0; }
.cs-body { padding: 32px 32px 48px; display: flex; flex-direction: column; }
.cs-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.cs-head h3 { margin-bottom: 0; }
.cs-tag { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.cs-body h3 { font-family: var(--sans); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; margin-bottom: 4px; }
.cs-summary { font-size: 0.85rem; line-height: 1.7; margin-bottom: 16px; }
.cs-metrics { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cs-metric { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.05em; padding: 4px 12px; border-radius: 100px; border: none; }
.cs-link { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; transition: opacity 0.2s; }
.cs-link:hover { opacity: 0.5; }

/* ── LIGHTBOX / MODAL ────────────────────────────────────── */
.lightbox, .video-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s; padding: 24px;
}
.lightbox.open, .video-modal.open { opacity: 1; pointer-events: auto; }
.lightbox-close, .video-modal-close {
  position: fixed; top: 20px; right: 20px;
  font-size: 1.3rem; color: var(--text-3); transition: color 0.2s; z-index: 201;
}
.lightbox-close:hover, .video-modal-close:hover { color: #fff; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; transform: scale(0.92); transition: transform 0.35s cubic-bezier(0.25,1,0.5,1); border: 1px solid var(--border); }
.lightbox.open img { transform: scale(1); }
.video-modal-inner { position: relative; width: 100%; max-width: 960px; transform: scale(0.92); transition: transform 0.35s cubic-bezier(0.25,1,0.5,1); }
.video-modal.open .video-modal-inner { transform: scale(1); }
.video-modal-embed { aspect-ratio: 16/9; width: 100%; background: #000; border: 1px solid var(--border); }
.video-modal-embed iframe { width: 100%; height: 100%; border: none; }
.video-modal .video-modal-close { position: absolute; top: -40px; right: 0; }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section { text-align: center; padding: 80px var(--pad); scroll-margin-top: 80px; }
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { max-width: 460px; margin: 0 auto 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.contact-card { display: flex; flex-direction: column; align-items: stretch; gap: 6px; position: relative; }
.contact-card .btn { justify-content: center; padding: 14px 36px; font-size: 0.8rem; }
.contact-handle { font-family: var(--mono); font-size: 0.7rem; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; justify-content: center; gap: 0; padding: 6px 16px; border-radius: 100px; border: 1px solid; white-space: nowrap; overflow: hidden; }
.contact-handle:hover { opacity: 0.85; gap: 6px; }
.copy-expand { font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0; max-width: 0; transition: all 0.25s ease; overflow: hidden; white-space: nowrap; }
.contact-card:hover .copy-expand { opacity: 0.6; max-width: 80px; }
.contact-card:hover .contact-handle { gap: 6px; }
.toast { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); padding: 8px 20px; border-radius: 100px; background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); color: #fff; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.08); pointer-events: none; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; z-index: 300; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.footer-handles { font-family: var(--mono); font-size: 0.5rem; color: var(--text-3); text-align: center; margin-top: 2px; }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); border: none; margin: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { padding: 32px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--text-3); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-1); }
.footer-copy { font-family: var(--mono); font-size: 0.55rem; color: var(--text-3); letter-spacing: 0.05em; }
.footer-contact { display: flex; gap: 16px; margin-top: 4px; flex-wrap: wrap; justify-content: center; }
.footer-contact a { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.05em; color: var(--text-3); transition: color 0.2s; }
.footer-contact a:hover { color: var(--text-1); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .serv-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .carousel-slide.center { width: 330px; }
  .carousel-slide.center.portrait { width: 170px; }
  .carousel-slide.left { transform: translateX(-285px) translateZ(-25px) rotateY(-25deg) scale(0.9); width: 300px; }
  .carousel-slide.left.portrait { width: 130px; }
  .carousel-slide.right { transform: translateX(285px) translateZ(-25px) rotateY(25deg) scale(0.9); width: 300px; }
  .carousel-slide.right.portrait { width: 130px; }
  .carousel-wrap { height: 340px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .test-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: 480px; margin: 0 auto; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-num { font-size: 2.4rem; }
  .section { padding: 48px 0; }
  .carousel-slide.center { width: 250px; }
  .carousel-slide.center.portrait { width: 140px; }
  .carousel-slide.left { transform: translateX(-215px) translateZ(-20px) rotateY(-25deg) scale(0.88); width: 225px; }
  .carousel-slide.left.portrait { width: 110px; }
  .carousel-slide.right { transform: translateX(215px) translateZ(-20px) rotateY(25deg) scale(0.88); width: 225px; }
  .carousel-slide.right.portrait { width: 110px; }
  .carousel-wrap { height: 260px; }
  .carousel-wrap.portrait { height: 280px; }
  .cs-body { padding: 24px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 260px; }
  .stats-row { grid-template-columns: 1fr; gap: 10px; }
  .stat-num { font-size: 2rem; }
  .stat-card { padding: 24px 16px; }
  .thumb-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .carousel-slide.center { width: 190px; }
  .carousel-slide.center.portrait { width: 110px; }
  .carousel-slide.left { transform: translateX(-165px) translateZ(-15px) rotateY(-25deg) scale(0.85); width: 170px; }
  .carousel-slide.left.portrait { transform: translateX(-90px) rotateY(14deg) scale(0.7); width: 90px; }
  .carousel-slide.right { transform: translateX(165px) translateZ(-15px) rotateY(25deg) scale(0.85); width: 170px; }
  .carousel-slide.right.portrait { transform: translateX(90px) rotateY(-14deg) scale(0.7); width: 90px; }
  .carousel-wrap { height: 160px; }
  .carousel-wrap.portrait { height: 210px; }
}