/* THE ESCAPE — brand site. Dark documentary theme. No external dependencies. */

:root {
  --bg: #0c0c0e;
  --bg-soft: #101013;
  --surface: #151519;
  --surface-2: #1c1c22;
  --text: #f4f1ea;
  --muted: #a8a39a;
  --faint: #6e6a63;
  --accent: #f0a030;
  --accent-deep: #c97e1a;
  --accent-ink: #171006;
  --rule: #26262c;
  --radius: 10px;
  --maxw: 1120px;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a { color: var(--accent); }

img { max-width: 100%; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Kicker / section headers ---------- */

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

/* ---------- Nav ---------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-nav.scrolled { border-bottom-color: var(--rule); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand { text-decoration: none; }

.brand-mark {
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--text);
  border: 2px solid var(--accent);
  padding: 0.3rem 0.7rem;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
}

.nav-links .nav-cta:hover { background: var(--accent-deep); color: var(--accent-ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.6rem;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(240, 160, 48, 0.10), transparent 60%),
    radial-gradient(900px 600px at 85% 110%, rgba(240, 160, 48, 0.05), transparent 60%),
    var(--bg);
}

.hero-inner { width: 100%; }

.hero-title {
  font-size: clamp(3.4rem, 13vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
}

.hero-line {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  max-width: 34rem;
  margin-bottom: 0.75rem;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 2rem;
}

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

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.score-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.55rem 1.1rem 0.55rem 0.6rem;
  font-weight: 800;
}

.score-label {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.score-value { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  border: 2px solid var(--accent);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--rule);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--faint);
  text-decoration: none;
  font-size: 1.4rem;
  animation: bob 2.2s ease-in-out infinite;
}

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

/* ---------- Cards ---------- */

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

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.card h3 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card p { color: var(--muted); margin: 0; }
.card p:last-child { margin: 0; }

/* ---------- Episode grid ---------- */

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.ep-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ep-card:hover { border-color: var(--accent-deep); transform: translateY(-2px); }

.ep-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.ep-num {
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--rule);
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
}

.ep-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.ep-status.filming { color: var(--accent); }

.ep-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--faint);
}

.ep-status.filming .dot {
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(240, 160, 48, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(240, 160, 48, 0); }
}

.ep-card h3 { font-size: 1.15rem; margin: 0; }
.ep-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Numbers ---------- */

.num-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.num-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 3px solid var(--accent);
}

.num-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.num-value {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
}

.num-note { color: var(--muted); font-size: 0.97rem; margin: 0; }

.num-foot {
  color: var(--faint);
  font-size: 0.95rem;
  max-width: 46rem;
  border-left: 3px solid var(--rule);
  padding-left: 1rem;
  margin: 0;
}

/* ---------- About ---------- */

.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

.about-body p { color: var(--muted); font-size: 1.1rem; }
.about-body p:first-child { color: var(--text); font-weight: 600; }

/* ---------- Newsletter ---------- */

.newsletter-inner { max-width: 42rem; }

.signup-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.signup-form input[type="email"] {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  padding: 0.85rem 1.1rem;
  min-width: 0;
}

.signup-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.signup-form input.invalid {
  border-color: #d9534f;
  outline-color: #d9534f;
}

.form-msg {
  margin-top: 0.9rem;
  font-size: 0.97rem;
  color: var(--accent);
  min-height: 1.5em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand p { color: var(--faint); font-size: 0.92rem; margin: 0.6rem 0 0; }

.footer-social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer-social a:hover { color: var(--accent); }

.soon-link { color: var(--faint); font-size: 0.95rem; cursor: default; }

.footer-copy {
  width: 100%;
  color: var(--faint);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-hint, .ep-status.filming .dot { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .cards-3 { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem 1.25rem 1rem;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.8rem 0;
    border-top: 1px solid var(--rule);
    font-size: 1.05rem;
  }

  .nav-links a:first-child { border-top: 0; }

  .nav-links .nav-cta {
    text-align: center;
    margin-top: 0.6rem;
    border-top: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .num-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }

  .signup-form { flex-direction: column; }
  .signup-form .btn { width: 100%; }
}

@media (min-width: 701px) {
  section { scroll-margin-top: 72px; }
}
