/* ── Variables ─────────────────────────────────── */
:root {
  --bg: #0c0a08;
  --surface: #131110;
  --border: #2a2520;
  --text: #ede8e0;
  --text-dim: #8a8075;
  --accent: #e8832a;
  --accent-dim: rgba(232, 131, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Grain Overlay ──────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Nav ────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
}

.nav-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--text);
  opacity: 0.7;
}

/* ── Hero ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 10vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.hero-frame-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.phone-frame {
  width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 80px rgba(0,0,0,0.6);
}

.phone-screen {
  border-radius: 20px;
  aspect-ratio: 9/16;
  background: #1a1612;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.film-grain-inner {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px;
  opacity: 0.06;
}

.frame-texture {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1rem;
}

.frame-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.frame-sub {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.frame-bar {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 1rem auto 0;
  opacity: 0.6;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.tag-dot { color: var(--accent); }

/* ── Section rule / label ──────────────────────── */
.section-rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  display: block;
}

/* ── Manifesto ─────────────────────────────────── */
.manifesto {
  padding: 8rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 2rem;
}

.manifesto-statement {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.manifesto-body {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ── The Format ───────────────────────────────── */
.theformat {
  padding: 7rem 3rem;
}

.format-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.format-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.format-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
}

.card-duration {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Why Section ──────────────────────────────── */
.why-section {
  padding: 7rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.why-header {
  max-width: 900px;
  margin: 0 auto 4rem;
}

.why-body {
  max-width: 900px;
  margin: 0 auto;
}

.why-statement {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 4rem;
  letter-spacing: 0.02em;
}

.why-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.why-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

.col-rule {
  width: 24px;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
  margin-bottom: 0.25rem;
}

.why-col p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Closing ───────────────────────────────────── */
.closing {
  padding: 8rem 3rem;
}

.closing-inner {
  max-width: 860px;
  margin: 0 auto;
}

.closing-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
  margin-bottom: 2.5rem;
}

.closing-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 560px;
}

/* ── Footer ───────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem;
  text-align: center;
}

.footer-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--text);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-frame-wrap {
    flex-direction: row;
    align-items: center;
  }
  .phone-frame {
    width: 160px;
  }
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .manifesto { padding: 5rem 1.5rem; }
  .theformat { padding: 5rem 1.5rem; }
  .why-section { padding: 5rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .site-nav { padding: 1.25rem 1.5rem; }
  .format-grid { grid-template-columns: 1fr; }
  .hero-frame-wrap { flex-direction: column; }
}