/* ── Custom Properties ── */
:root {
  --bg-primary: #f8f7f5;
  --bg-white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --accent: #2c5f8a;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
  --font-stack: -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  overflow-x: hidden;
}

body {
  font-family: var(--font-stack);
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

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

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.nav.scrolled {
  background: rgba(248, 247, 245, 0.85);
  color: var(--text-primary);
  box-shadow: 0 1px 0 var(--border-subtle);
}

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

.nav-logo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }
  .nav-logo {
    font-size: 11px;
    letter-spacing: 2px;
  }
}

/* ── Panels (shared) ── */
.panel {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.panel-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 40px) 32px 60px;
}

/* ── Hero ── */
.panel-hero {
  overflow: hidden;
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.hero-video {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - var(--nav-height));
  object-fit: contain;
  background: #000;
  z-index: 0;
}



.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s ease-in-out infinite;
}

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

/* ── Section Labels ── */
.section-label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}

/* ── Panel: What We Do ── */
.panel-what {
  background: var(--bg-primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-text {
  padding: 24px;
}

.card-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-text p {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 4px;
  }
}

/* ── Panel: The Outcome ── */
.panel-outcome {
  background: var(--bg-white);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  margin-bottom: 48px;
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 200;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.outcome-statement {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Panel: Why Us ── */
.panel-why {
  background: var(--bg-primary);
}

.differentiators {
  max-width: 700px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diff-item {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
}

.diff-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.diff-item p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── CTA ── */
.cta {
  text-align: center;
}

.cta-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 200;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 40px 32px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-primary);
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .panel-inner {
    padding: calc(var(--nav-height) + 24px) 20px 48px;
  }

  .differentiators {
    margin-bottom: 40px;
  }

  .diff-item {
    padding: 12px 20px;
  }
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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