/* ─── Container & Utilities ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ─── Navbar ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 48px;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0,0,0,0.08);
}
#navbar.scrolled .nav-logo { color: var(--black); }
#navbar.scrolled .nav-logo span { color: var(--gray-5); }
#navbar.scrolled .btn-nav { color: var(--gray-5); }
#navbar.scrolled .btn-nav:hover { color: var(--black); background: rgba(0,0,0,0.05); }

.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.4px;
  transition: color 0.3s ease;
}
.nav-logo span {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  margin-left: 4px;
  transition: color 0.3s ease;
}
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.15); margin: 0 4px; transition: background 0.3s ease; }
#navbar.scrolled .nav-divider { background: rgba(0,0,0,0.12); }
.btn-nav {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: -0.1px;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-nav:hover { color: white; }

/* ─── HERO — sticky, full viewport ─── */
#hero {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1;                    /* content scrolls ON TOP of this */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a0a0a;
}

/* dark gradient bg with subtle green glow */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 100%, rgba(213, 214, 214, 0.349) 0%, transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 50%, #111 0%, #0a0a0a 100%);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: -80px;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(22,163,74,0.1) 0%, transparent 55%);
  will-change: transform;
  pointer-events: none;
}
.hero-logo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hero-logo-overlay img {
  width: min(520px, 72vw);
  height: auto;
  opacity: 0.04;
  mix-blend-mode: screen;
  user-select: none;
  animation: fadeIn 1.2s 0.1s ease forwards;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 22px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(227, 227, 227, 0.7);
  margin-bottom: 24px;
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s 0.1s ease forwards;
}
.hero-title {
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.9s 0.18s ease forwards;
}
.hero-title .accent {
  display: block;
  font-size: 0.38em;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: rgba(255,255,255,0.2);
  margin-top: 12px;
}
.hero-tagline {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  line-height: 1.55;
  letter-spacing: -0.1px;
  max-width: 480px;
  margin: 24px auto 0;
  opacity: 0;
  animation: fadeUp 0.9s 0.28s ease forwards;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.38s ease forwards;
}

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 0.8s ease forwards;
}
.hero-scroll-hint span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center;
  background: white; color: var(--black);
  padding: 12px 24px; border-radius: 980px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.1px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover { background: rgba(255,255,255,0.88); transform: scale(1.02); }
.btn-outline-light {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,0.65);
  padding: 12px 24px; border-radius: 980px;
  font-size: 14px; font-weight: 400;
  transition: color 0.2s ease, transform 0.15s ease;
}
.btn-outline-light::after { content: ' ›'; margin-left: 2px; }
.btn-outline-light:hover { color: white; transform: scale(1.02); }

/* ─── SCROLL CONTENT — slides over hero ─── */
#scroll-content {
  position: relative;
  z-index: 10;
  background: var(--white);
  /* rounded top corners = card sliding up effect */
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.18);
  margin-top: 0;                    /* slide up immediately after hero */
  overflow: hidden;
}

/* ─── Section common ─── */
.section-eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 56px;
}

/* ─── About ─── */
#about {
  padding: 100px 0 90px;
  background: var(--white);
  text-align: center;
}
.about-headline {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.12;
  color: var(--black);
  max-width: 660px;
  margin: 0 auto 18px;
}
.about-body {
  font-size: 17px;
  font-weight: 400;
  color: var(--gray-5);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
  letter-spacing: -0.1px;
}

/* ─── Footer ─── */
#footer {
  background: var(--gray-1);
  border-top: 1px solid var(--gray-2);
  padding: 48px 22px;
}
.footer-inner {
  max-width: 1024px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 24px;
}
.footer-logo { font-size: 16px; font-weight: 600; color: var(--black); letter-spacing: -0.3px; margin-bottom: 6px; }
.footer-sub  { font-size: 12px; color: var(--gray-5); line-height: 1.5; max-width: 280px; }
.footer-copy { font-size: 12px; color: var(--gray-4); padding-top: 4px; }

/* ─── Animations ─── */
@keyframes fadeUp  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes scrollPulse {
  0%,100% { opacity:0.3; transform:scaleY(1); }
  50%      { opacity:0.8; transform:scaleY(1.15); }
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.25,0.1,0.25,1), transform 0.65s cubic-bezier(0.25,0.1,0.25,1);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.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; }
