/* ============================================
   THE REAL MANBAT — design tokens
   Palette: Gotham ink / fog steel / signal gold
   Type: Big Shoulders (display) + Inter (body) + IBM Plex Mono (utility)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #090c11;
  --panel: #12171f;
  --panel-edge: #232c37;
  --mist: #64707c;
  --signal: #eef1ee;
  --gold: #c9a24b;
  --gold-dim: #7d6531;
  --umber: #5c1c1c;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--signal);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.92;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(to bottom, rgba(9,12,17,0.85), transparent);
}

.nav__mark {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__mark span { color: var(--gold); }

.nav__links {
  display: flex;
  gap: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.nav__links a:hover, .nav__links a:focus-visible { color: var(--signal); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9,12,17,1) 0%, rgba(9,12,17,0.25) 42%, rgba(9,12,17,0.15) 65%, rgba(9,12,17,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 5;
  padding: 0 1.25rem 3rem;
  width: 100%;
}

.hero__title {
  font-size: clamp(2.8rem, 15vw, 4.5rem);
  margin-top: 0.4rem;
}

.hero__sub {
  margin-top: 0.9rem;
  max-width: 30ch;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* ---------- signal sweep (signature element) ---------- */
.signal {
  position: relative;
  padding: 5rem 1.25rem 4rem;
  background: var(--panel);
  border-top: 1px solid var(--panel-edge);
  border-bottom: 1px solid var(--panel-edge);
  overflow: hidden;
}

.signal::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 180%;
  background: radial-gradient(ellipse 45% 30% at 30% 20%, rgba(201,162,75,0.10), transparent 70%);
  animation: sweep 14s linear infinite;
  pointer-events: none;
}

@keyframes sweep {
  0%   { transform: translateX(-10%) rotate(-3deg); }
  50%  { transform: translateX(30%) rotate(3deg); }
  100% { transform: translateX(-10%) rotate(-3deg); }
}

.signal__label { margin-bottom: 1rem; }

.signal__heading {
  font-size: clamp(1.9rem, 9vw, 2.6rem);
  max-width: 14ch;
  position: relative;
}

.signal__body {
  margin-top: 1.1rem;
  color: var(--mist);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 42ch;
  position: relative;
}

/* ---------- dispatch feed (facebook) ---------- */
.feed {
  padding: 4rem 1.25rem;
  background: var(--ink);
}

.feed__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.feed__heading { font-size: 1.5rem; }

.feed__link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
}

.feed__frame {
  border: 1px solid var(--panel-edge);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
}

.feed__frame iframe { width: 100%; border: none; }

/* ---------- bottom access panel ---------- */
.access {
  padding: 4.5rem 1.25rem 3.5rem;
  background: var(--panel);
  border-top: 1px solid var(--panel-edge);
  text-align: center;
}

.access__heading {
  font-size: clamp(1.6rem, 8vw, 2.1rem);
  margin-bottom: 0.9rem;
}

.access__body {
  color: var(--mist);
  font-size: 0.9rem;
  max-width: 34ch;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.access__button {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 1rem 2.2rem;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}

.access__button:hover, .access__button:focus-visible {
  background: var(--signal);
  transform: translateY(-1px);
}

.access__note {
  margin-top: 1.1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-transform: uppercase;
}

/* ---------- footer ---------- */
.foot {
  padding: 2.5rem 1.25rem 3rem;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.foot__mark {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.foot__links {
  display: flex;
  gap: 1.3rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

.foot__links a:hover, .foot__links a:focus-visible { color: var(--gold); }

/* ---------- generic inner page shell ---------- */
.page {
  min-height: 100svh;
  padding-top: 6.5rem;
}

.page__head {
  padding: 0 1.25rem 2.5rem;
}

.page__eyebrow { margin-bottom: 0.8rem; }

.page__title {
  font-size: clamp(2.2rem, 11vw, 3.2rem);
}

.page__intro {
  margin-top: 1rem;
  color: var(--mist);
  max-width: 40ch;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ---------- form ---------- */
.form {
  padding: 0 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 480px;
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }

.field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.field input,
.field textarea {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  color: var(--signal);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold-dim);
}

.field textarea { resize: vertical; min-height: 130px; }

.submit {
  align-self: flex-start;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 1rem 2.4rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit:hover, .submit:focus-visible { background: var(--signal); }

/* ---------- questionnaire embed ---------- */
.embed-shell {
  padding: 0 1.25rem 4rem;
}

.embed-frame {
  border: 1px solid var(--panel-edge);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
}

.embed-frame iframe {
  width: 100%;
  height: 1400px;
  border: none;
  display: block;
}

.embed-note {
  margin-top: 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--mist);
  line-height: 1.6;
}

@media (min-width: 780px) {
  .hero__sub { font-size: 1.05rem; }
  .nav { padding: 1.4rem 3rem; }
  .signal, .feed, .access, .page__head, .form, .embed-shell { padding-left: 3rem; padding-right: 3rem; }
}
