/* ============================================
   Nike Air Max 270 React — Premium Cinematic UI
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-bg: #050805;
  --color-bg-elevated: #0c120c;
  --color-bg-card: rgba(12, 24, 12, 0.6);
  --color-green-dark: #0d2818;
  --color-green-mid: #1a4d2e;
  --color-green-bright: #39ff14;
  --color-green-glow: #7cfc00;
  --color-green-muted: #86efac;
  --color-lime: #a3e635;
  --color-white: #ffffff;
  --color-white-dim: rgba(255, 255, 255, 0.75);
  --color-white-muted: rgba(255, 255, 255, 0.45);
  --color-border: rgba(57, 255, 20, 0.15);
  --color-border-hover: rgba(57, 255, 20, 0.4);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-height: 72px;
  --container-max: 1280px;
  --frame-ratio: 16 / 9;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.loaded {
  overflow-y: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* --- Loader --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  width: min(320px, 80vw);
}

.loader-logo {
  width: 64px;
  height: auto;
  color: var(--color-white);
  margin: 0 auto 2rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

.loader-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-green-mid), var(--color-green-bright));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.loader-text {
  font-size: 0.8125rem;
  color: var(--color-white-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-accent);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.5s var(--ease-out-expo),
              backdrop-filter 0.5s var(--ease-out-expo),
              border-color 0.5s var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(5, 8, 5, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo svg {
  width: 52px;
  height: auto;
  color: var(--color-white);
  transition: transform 0.3s var(--ease-out-expo);
}

.logo:hover svg {
  transform: scale(1.05);
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white-dim);
  transition: color 0.3s ease;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-green-bright);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-list a:hover {
  color: var(--color-white);
}

.nav-list a:hover::after {
  width: 100%;
}

.header-cta {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--color-border-hover);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out-expo);
}

.header-cta:hover {
  background: var(--color-green-bright);
  color: var(--color-bg);
  border-color: var(--color-green-bright);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* --- Hero Sequence --- */
.hero-sequence {
  /* Scroll distance calibrated for 240 frames — ~5.5 viewport heights */
  height: calc(100vh + 450vh);
  position: relative;
}

.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--color-bg);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(5, 8, 5, 0.4) 100%),
    linear-gradient(to bottom, rgba(5, 8, 5, 0.3) 0%, transparent 20%, transparent 80%, rgba(5, 8, 5, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: clamp(5rem, 12vh, 8rem);
  left: clamp(1.25rem, 4vw, 3rem);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  font-family: var(--font-accent);
  font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-green-muted);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--color-green-muted), var(--color-green-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  color: var(--color-white-dim);
  max-width: 400px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator span {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  width: 3px;
  height: 12px;
  background: var(--color-green-bright);
  border-radius: 2px;
  position: absolute;
  left: -1px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-green-mid), var(--color-green-bright));
  transition: width 0.05s linear;
}

/* --- Sections Shared --- */
.section {
  padding: clamp(5rem, 12vh, 8rem) 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-green-bright);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-green-muted), var(--color-green-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-white-dim);
  max-width: 560px;
  line-height: 1.7;
}

.section-body {
  color: var(--color-white-muted);
  margin-top: 1rem;
  max-width: 520px;
  line-height: 1.8;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-lead {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
  background: var(--color-green-bright);
  color: var(--color-bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(57, 255, 20, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-border-hover);
}

.btn-ghost:hover {
  background: rgba(57, 255, 20, 0.1);
  border-color: var(--color-green-bright);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
}

/* --- Story Section --- */
.story {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-green-dark) 50%, var(--color-bg) 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.story-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: var(--frame-ratio);
  border: 1px solid var(--color-border);
}

.story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-frame-glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  box-shadow: inset 0 0 60px rgba(57, 255, 20, 0.08);
  pointer-events: none;
}

.story-content .btn {
  margin-top: 2rem;
}

/* --- Features Section --- */
.features {
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature-card {
  perspective: 1000px;
}

.feature-card-inner {
  background: var(--color-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: transform 0.5s var(--ease-out-expo),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
  border-color: var(--color-border-hover);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(57, 255, 20, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(57, 255, 20, 0.08);
  color: var(--color-green-bright);
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-white-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green-bright);
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
}

/* --- Gallery Section --- */
.gallery {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: var(--frame-ratio);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(5, 8, 5, 0.9));
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

/* --- Impact / Stats Section --- */
.impact {
  position: relative;
  overflow: hidden;
}

.impact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(26, 77, 46, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(57, 255, 20, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.stat-item:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-white), var(--color-green-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-unit {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-green-bright);
  margin-left: 2px;
}

.stat-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-white-muted);
  letter-spacing: 0.02em;
}

/* --- Process / Timeline --- */
.process {
  background: var(--color-bg);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 3.5rem auto 0;
  padding-left: 3rem;
}

.timeline-line {
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--color-green-mid), var(--color-green-bright));
  transition: height 0.1s linear;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -3rem;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-border-hover);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item.active .timeline-marker {
  border-color: var(--color-green-bright);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.timeline-step {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-green-bright);
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--color-white-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-green-dark) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
}

.testimonial-card--featured {
  border-color: var(--color-border-hover);
  background: rgba(26, 77, 46, 0.2);
}

.testimonial-stars {
  color: var(--color-green-bright);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-white-dim);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card footer cite {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
}

.testimonial-card footer span {
  font-size: 0.8125rem;
  color: var(--color-white-muted);
}

/* --- CTA Section --- */
.cta {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 8, 5, 0.92) 0%, rgba(5, 8, 5, 0.7) 50%, rgba(5, 8, 5, 0.85) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5, 8, 5, 0.5) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 0;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cta-title em {
  font-style: italic;
  color: var(--color-green-bright);
}

.cta-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-white-dim);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-price {
  font-size: 0.9375rem;
  color: var(--color-white-muted);
}

.cta-price strong {
  color: var(--color-white);
  font-size: 1.25rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  width: 48px;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-white-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--color-white-dim);
}

.footer-links ul li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-white-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-green-bright);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-white-muted);
  transition: all 0.3s ease;
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  border-color: var(--color-green-bright);
  color: var(--color-green-bright);
  background: rgba(57, 255, 20, 0.08);
}

.footer-email {
  font-size: 0.875rem;
  color: var(--color-white-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--color-white-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--color-white-muted);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.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; }

/* --- Keyframes --- */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.3)); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 16px rgba(57, 255, 20, 0.5)); }
}

@keyframes scroll-bounce {
  0%, 100% { top: 0; opacity: 1; }
  50% { top: 28px; opacity: 0.3; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(5, 8, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    bottom: clamp(4rem, 10vh, 6rem);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 280px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
