/* =====================================================
   CODE ON FIRE UNIVERSITY — 2026 REDESIGN
   Dark Luxury · Editorial · AI-Forward
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── TOKENS ── */
:root {
  --fire:        #FF4D00;
  --fire-light:  #FF6B2B;
  --fire-glow:   rgba(255, 77, 0, 0.22);
  --gold:        #F5C842;
  --gold-dim:    rgba(245, 200, 66, 0.18);
  --ink:         #080810;
  --ink-2:       #0D0D18;
  --ink-3:       #111120;
  --surface:     #161624;
  --surface-2:   #1C1C2E;
  --glass:       rgba(255,255,255,0.04);
  --glass-border:rgba(255,255,255,0.09);
  --text-hi:     #F0F0FF;
  --text-mid:    #9090B0;
  --text-lo:     rgba(144,144,176,0.55);
  --r:           14px;
  --r-lg:        22px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --t:           0.35s var(--ease);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Space Grotesk', sans-serif; background: var(--ink); color: var(--text-hi); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
strong { color: var(--text-hi); }
em { font-style: italic; color: var(--text-hi); }

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; }

/* ── TYPE ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fire-light);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--fire-light);
}

.section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-hi);
}

.section-header-center { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.section-header-center .section-eyebrow::before { display: none; }

.fire-text {
  background: linear-gradient(100deg, var(--fire) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.body-lg { font-size: 1.08rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 20px; }
.body-md { font-size: 0.95rem; line-height: 1.75; color: var(--text-mid); }
.mt-24 { margin-top: 28px !important; }

/* ── BUTTONS ── */
.btn-fire {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--fire);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-fire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--t);
}
.btn-fire:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--fire-glow), 0 0 0 1px rgba(255,77,0,0.4); }
.btn-fire:hover::before { opacity: 1; }

.btn-fire-xl {
  font-size: 1.05rem;
  padding: 18px 38px;
}

.btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-mid);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  transition: var(--t);
}
.btn-ghost-pill:hover { border-color: rgba(255,255,255,0.2); color: var(--text-hi); background: var(--glass); }

/* ── GLASS CARD ── */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
}

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 28px;
  transition: var(--t);
}

.header.scrolled {
  background: rgba(8,8,16,0.88);
  backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 28px;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; color: var(--text-hi); }
.logo-mark { width: 32px; height: 32px; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 0.14em; color: var(--text-hi); }
.logo-sub { font-size: 0.48rem; letter-spacing: 0.28em; color: var(--fire-light); text-transform: uppercase; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: var(--text-mid); font-size: 0.88rem; font-weight: 500; transition: var(--t); }
.nav-links a:hover { color: var(--text-hi); }

.nav-pill {
  background: rgba(255,77,0,0.12) !important;
  border: 1px solid rgba(255,77,0,0.3) !important;
  color: var(--fire-light) !important;
  padding: 9px 22px !important;
  border-radius: 100px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: var(--t) !important;
  white-space: nowrap;
}
.nav-pill:hover { background: var(--fire) !important; color: white !important; border-color: var(--fire) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text-mid); border-radius: 2px; transition: var(--t); }

.drawer {
  display: none;
  flex-direction: column;
  padding: 16px 28px 24px;
  gap: 18px;
  background: rgba(8,8,16,0.97);
  border-top: 1px solid var(--glass-border);
}
.drawer a { color: var(--text-mid); font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--glass-border); padding-bottom: 18px; }
.drawer-cta { background: var(--fire) !important; color: white !important; text-align: center; border-radius: var(--r) !important; border: none !important; padding: 16px !important; font-weight: 700 !important; }
.drawer.open { display: flex; }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

/* Video background wrappers */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity 1.2s ease;
  opacity: 1;
  z-index: 0;
}
.hero-video-hidden {
  opacity: 0;
  pointer-events: none;
}
.hero-video-frame {
  /*
   * Landscape 16:9 video filling the hero (object-fit:cover for iframes):
   * - width = max(100vw, 177.78vh) → fills full width; on tall/narrow
   *   viewports, 177.78vh ensures no letterboxing
   * - height = max(56.25vw, 100vh) → maintains 16:9 ratio at full width;
   *   min 100vh so it always covers the full hero height
   */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  min-width: 100vw;
  border: none;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,16,1) 0%, rgba(8,8,16,0.7) 40%, rgba(8,8,16,0.2) 100%),
    linear-gradient(to right, rgba(8,8,16,0.8) 0%, transparent 60%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,77,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,77,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 20% 50%, rgba(0,0,0,0.5) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating chips */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--text-hi);
  z-index: 4;
  animation: chipFloat 6s ease-in-out infinite;
}
.chip-1 { top: 28%; right: 12%; animation-delay: 0s; }
.chip-2 { top: 42%; right: 8%; animation-delay: 1.5s; }

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

.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fire); flex-shrink: 0; }
.chip-dot--gold { background: var(--gold); }

.hero-content {
  position: relative;
  z-index: 5;
  padding: 112px 28px 100px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease) both;
}

.eyebrow-line { width: 48px; height: 1px; background: var(--text-lo); }

.hero-h1 {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.h1-line {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  display: block;
}

.h1-white { color: var(--text-hi); }
.h1-fire {
  background: linear-gradient(100deg, var(--fire) 0%, var(--gold) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(255,77,0,0.4));
}

.hero-body {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(240,240,255,0.7);
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  animation: fadeUp 0.8s var(--ease) 0.4s both;
}

.stat { display: flex; flex-direction: column; padding-right: 28px; }
.stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  line-height: 1;
  background: linear-gradient(100deg, var(--fire), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-lo); margin-top: 4px; }

.stat-sep { width: 1px; height: 36px; background: var(--glass-border); margin: 0 28px 0 0; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: scrollCuePulse 2.5s ease infinite;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--text-lo)); }
.scroll-cue span { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-lo); }

@keyframes scrollCuePulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ══════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 18px 0;
  background: var(--ink-2);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--text-mid);
}

.marquee-track span { padding: 0 24px; white-space: nowrap; }
.m-sep { color: var(--fire) !important; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════
   METHOD
══════════════════════════════════════════════════ */
.method { background: var(--ink-2); }

.method-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Image stack */
.method-visual { position: relative; }

.img-frame { border-radius: var(--r-lg); overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

.img-frame-main {
  width: 100%;
  height: 520px;
  position: relative;
}

.img-frame-border {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  pointer-events: none;
}

.img-frame-float {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 190px;
  height: 240px;
  border: 3px solid var(--ink-2);
  border-radius: var(--r);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  z-index: 2;
}

.method-caption-card {
  position: absolute;
  bottom: 60px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r);
  z-index: 3;
  animation: chipFloat 5s ease-in-out 0.5s infinite;
}

.caption-icon { font-size: 1.4rem; flex-shrink: 0; }
.method-caption-card strong { font-size: 0.88rem; color: var(--text-hi); display: block; }
.method-caption-card p { font-size: 0.75rem; color: var(--text-mid); margin: 0; }

/* Text */
.method-text { display: flex; flex-direction: column; gap: 20px; }
.method-text .section-h2 { margin-bottom: 8px; }

.method-steps { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }

.mstep {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  transition: var(--t);
}
.mstep:hover { border-color: rgba(255,77,0,0.25); background: rgba(255,77,0,0.04); }

.mstep-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--fire);
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 24px;
}
.mstep-text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; }
.mstep-text strong { color: var(--text-hi); }

/* ══════════════════════════════════════════════════
   BENTO CURRICULUM
══════════════════════════════════════════════════ */
.curriculum { background: var(--ink); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.bento-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.14); }

.card-glow-orange::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,77,0,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.card-glow-gold::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(245,200,66,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.card-glow-subtle:hover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,77,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

.bento-icon { font-size: 1.8rem; line-height: 1; }
.bento-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-hi); }
.bento-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; flex: 1; }

.bento-tag {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255,77,0,0.12);
  border: 1px solid rgba(255,77,0,0.25);
  color: var(--fire-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-top: auto;
}
.bento-tag-gold {
  background: rgba(245,200,66,0.1) !important;
  border-color: rgba(245,200,66,0.25) !important;
  color: var(--gold) !important;
}

/* Retainer chart visual */
.retainer-visual {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 16px 0 4px;
  margin-top: auto;
}
.rv-bar {
  border-radius: 4px 4px 0 0;
  background: rgba(255,255,255,0.08);
  flex: 1;
  transition: var(--t);
}
.rv-bar-active {
  background: linear-gradient(to top, var(--fire), var(--gold));
  box-shadow: 0 0 20px rgba(255,77,0,0.4);
}

.curriculum-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ══════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════ */
.gallery-section { background: var(--ink-2); }

.gallery-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: center;
}

.gallery-text { display: flex; flex-direction: column; gap: 20px; }

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 220px;
  gap: 14px;
}

.mosaic-item {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
}
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.mosaic-item:hover img { transform: scale(1.07); }
.mosaic-tall { grid-row: span 2; }
.mosaic-wide { grid-column: span 2; }

.mosaic-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(8,8,16,0.8) 0%, transparent 100%);
  opacity: 0;
  transition: var(--t);
}
.mosaic-item:hover .mosaic-overlay { opacity: 1; }
.mosaic-overlay span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-hi);
  background: rgba(8,8,16,0.6);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
}

/* ══════════════════════════════════════════════════
   MANIFESTO / FULL-BLEED CTA
══════════════════════════════════════════════════ */
.manifesto {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  text-align: center;
}

.manifesto-bg { position: absolute; inset: 0; overflow: hidden; }

/* Manifesto video background */
.manifesto-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.manifesto-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, 177.78vh);
  height: max(56.25vw, 100%);
  min-width: 100%;
  pointer-events: none;
  border: none;
}

.manifesto-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255,77,0,0.12) 0%, transparent 60%),
    rgba(8,8,16,0.88);
}

.manifesto-content { position: relative; z-index: 2; max-width: 740px; margin: 0 auto; padding: 0 28px; }

.manifesto-pre {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fire-light);
  font-weight: 600;
  margin-bottom: 24px;
}

.manifesto-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-hi);
  margin-bottom: 28px;
}

.manifesto-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(240,240,255,0.65);
  max-width: 580px;
  margin: 0 auto 44px;
}

.manifesto-disclaimer {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-lo);
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--glass-border);
  padding: 56px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 0.85rem; color: var(--text-lo); transition: var(--t); }
.footer-links a:hover { color: var(--text-mid); }

.footer-legal { font-size: 0.82rem; color: var(--text-lo); }
.footer-disclaimer { font-size: 0.72rem; color: rgba(144,144,176,0.35); max-width: 500px; line-height: 1.6; }

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .method-layout { grid-template-columns: 1fr; gap: 48px; }
  .img-frame-main { height: 380px; }
  .img-frame-float { display: none; }
  .method-caption-card { left: 12px; bottom: 12px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .bento-tall { grid-row: auto; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-text { order: 1; }
  .gallery-mosaic { order: 2; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .chip { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero-content { padding: 50px 20px 80px; }
  .hero-actions { flex-direction: column; }
  .btn-fire, .btn-ghost-pill { width: 100%; justify-content: center; }
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .gallery-mosaic { grid-template-rows: 200px 180px; }
  .mosaic-tall { grid-row: auto; }
  .mosaic-wide { grid-column: auto; }
  .manifesto { padding: 80px 0; }
  .hero-stats { gap: 0; }
  .stat-sep { margin: 0 16px 0 0; }
  .stat { padding-right: 16px; }
}
