/* ============================================================
   DEADLANE — landing page styles
   Palette: oil-black, amber "black gold", toxic breach green,
   hazard red. Industrial / military-satire tone.
   ============================================================ */

:root {
  --bg:        #0a0a0b;
  --bg-alt:    #0f1012;
  --panel:     #141518;
  --panel-2:   #1a1c20;
  --ink:       #e9e6df;
  --ink-soft:  #a7a49c;
  --ink-faint: #6d6a63;
  --line:      #2a2c31;

  --amber:     #e0a83a;   /* black gold */
  --amber-2:   #f5c66b;
  --green:     #6fe36b;   /* breach / plasma */
  --green-dim: #3f7a3d;
  --red:       #d8452f;   /* hazard */
  --purple:    #7b4bd6;   /* breach energy */

  --maxw: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.16,.68,.32,1);

  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
  text-transform: uppercase;
}

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

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

.accent { color: var(--amber); }
.muted  { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  color: var(--amber);
  margin-bottom: .8rem;
}

/* ---------- Placeholder art frames ----------
   Swap in real images later: put an <img> inside .frame and it
   covers the placeholder. Or drop files matching data-label mapping. */
.frame {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(224,168,58,.05) 0 12px, transparent 12px 24px),
    radial-gradient(120% 120% at 30% 0%, #1c1e23 0%, #101115 60%, #0a0a0b 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  min-height: 140px;
  isolation: isolate;
}
.frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 70% 30%, rgba(123,75,214,.14), transparent 60%),
    radial-gradient(50% 60% at 20% 90%, rgba(111,227,107,.10), transparent 60%);
  z-index: -1;
}
.frame::after {
  content: attr(data-label) " · ART PLACEHOLDER";
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .68rem;
  color: var(--ink-faint);
  text-align: center;
  padding: 1rem 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 2px;
}
.frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: .9rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn--sm { padding: .5rem 1rem; font-size: .78rem; }
.btn--primary {
  background: var(--amber);
  color: #191400;
  box-shadow: 0 0 0 0 rgba(224,168,58,.5);
}
.btn--primary:hover { background: var(--amber-2); transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(224,168,58,.6); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(10,10,11,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.35rem;
  letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .5rem;
  margin-right: auto;
}
.nav__brand-accent { color: var(--amber); }
.nav__links { display: flex; gap: 1.4rem; }
.nav__links a {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .82rem;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav__links a:hover { color: var(--amber); }

.flame {
  width: 14px; height: 18px;
  background: linear-gradient(180deg, var(--amber-2), var(--red));
  clip-path: polygon(50% 0, 68% 32%, 90% 45%, 72% 62%, 82% 100%, 50% 82%, 18% 100%, 28% 62%, 10% 45%, 32% 32%);
  filter: drop-shadow(0 0 6px rgba(224,168,58,.5));
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex; align-items: center;
  padding: clamp(3rem, 8vh, 7rem) clamp(1rem, 5vw, 3rem);
  overflow: hidden;
}
.frame--hero {
  position: absolute; inset: 0;
  border: none; border-radius: 0;
  min-height: 100%;
}
.frame--hero::after { opacity: .35; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.78) 42%, rgba(10,10,11,.35) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 40%);
  z-index: 1;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 640px;
}
.hero__title {
  font-size: clamp(3.8rem, 12vw, 8rem);
  line-height: .86;
  margin: .2rem 0 .6rem;
  text-shadow: 0 0 40px rgba(0,0,0,.6);
}
.hero__title .accent {
  color: var(--amber);
  text-shadow: 0 0 30px rgba(224,168,58,.35);
}
.hero__tagline {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: .04em;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
.hero__blurb {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}
.platform-note {
  margin-top: 1.1rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.platform-note strong { color: var(--ink); }
.hero__scroll {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--ink-faint); font-size: 1.4rem;
  animation: bob 2s infinite ease-in-out;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,7px);} }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.cta-row--center { justify-content: center; margin-top: 2rem; }

/* ---------- Store badges (SVG injected by JS) ---------- */
.store-badge {
  display: inline-flex;
  height: 54px;
  transition: transform .15s var(--ease), filter .2s;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { height: 100%; width: auto; display: block; }
.store-badge--soon { opacity: .82; }
.store-badge--soon:hover { opacity: 1; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--amber);
  color: #170f00;
  overflow: hidden;
  border-top: 1px solid #000; border-bottom: 1px solid #000;
  padding: .55rem 0;
}
.ticker__track {
  display: inline-flex; gap: 1.6rem; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .82rem;
  animation: scroll 34s linear infinite;
}
.ticker__track span { flex: none; }
@keyframes scroll { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1rem, 5vw, 2rem);
}
.section--alt {
  max-width: none;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { max-width: 640px; margin-bottom: 2.6rem; }
.section__head h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
.section__sub { color: var(--ink-soft); margin-top: .8rem; font-size: 1.05rem; }

/* ---------- Premise ---------- */
.premise { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: start; }
.premise__lede p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.05rem; }
.premise__lede em { color: var(--green); font-style: normal; }
.premise__lede strong { color: var(--ink); }
.premise__facts {
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.premise__facts li {
  display: grid; grid-template-columns: 90px 1fr; gap: .8rem;
  padding: .95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.premise__facts li:last-child { border-bottom: none; }
.premise__k {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .1em; font-size: .72rem; color: var(--amber);
  align-self: center;
}
.premise__v { color: var(--ink-soft); }

/* ---------- Cards ---------- */
.cards {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .2s var(--ease), border-color .2s, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--amber); background: var(--panel-2); }
.card__icon {
  font-size: 1.6rem; color: var(--amber);
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 1.1rem; background: var(--bg);
}
.card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Cast ---------- */
.cast {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cast__member {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s;
}
.cast__member:hover { transform: translateY(-4px); border-color: var(--amber); }
.frame--portrait { min-height: 240px; border: none; border-bottom: 1px solid var(--line); border-radius: 0; }
.cast__member figcaption { padding: 1.1rem 1.2rem 1.3rem; }
.cast__member h3 { font-size: 1.15rem; }
.cast__role {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .1em; font-size: .7rem; color: var(--amber);
  margin: .3rem 0 .7rem;
}
.cast__quote { color: var(--ink-soft); font-size: .9rem; font-style: italic; }

/* ---------- Ops / campaigns ---------- */
.ops { display: grid; gap: 1rem; }
.op {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: transform .2s var(--ease), background .2s;
}
.op:hover { transform: translateX(4px); background: var(--panel-2); }
.op__num {
  font-family: var(--font-head); font-weight: 700;
  font-size: 2.4rem; color: var(--ink-faint); line-height: 1;
}
.op__body h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.op__body p { color: var(--ink-soft); font-size: .95rem; max-width: 62ch; }
.op__hook { color: var(--green) !important; font-style: italic; }
.op__status {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .1em; font-size: .68rem; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 100px;
  padding: .35rem .8rem; white-space: nowrap;
}
.op__status--soon { color: var(--purple); border-color: var(--purple); }
.op--teaser { border-left-color: var(--purple); }
.op--teaser .op__num { color: var(--purple); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.frame--wide { aspect-ratio: 3 / 2; min-height: 0; }

/* ============================================================
   NOTIFY / EMAIL
   ============================================================ */
.notify {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 2rem);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(123,75,214,.14), transparent 55%),
    radial-gradient(70% 90% at 50% 100%, rgba(111,227,107,.08), transparent 55%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  text-align: center;
}
.notify__inner { max-width: 620px; margin: 0 auto; }
.notify__inner h2 { font-size: clamp(2rem, 5vw, 3rem); }
.notify__sub { color: var(--ink-soft); margin: .9rem auto 2rem; max-width: 52ch; }
.notify__form { margin: 0 auto; }
.notify__field {
  display: flex; gap: .6rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .4rem;
  max-width: 520px; margin: 0 auto;
  transition: border-color .2s;
}
.notify__field:focus-within { border-color: var(--amber); }
.notify__field input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--ink); font-size: 1rem; padding: .6rem .8rem;
  font-family: var(--font-body);
}
.notify__field input::placeholder { color: var(--ink-faint); }
.notify__platform {
  display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
  margin: 1rem 0 .4rem; font-size: .85rem; color: var(--ink-soft);
}
.notify__platform label { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.notify__platform input { accent-color: var(--amber); }
.notify__msg { min-height: 1.4em; font-size: .9rem; margin-top: .6rem; font-weight: 500; }
.notify__msg.ok  { color: var(--green); }
.notify__msg.err { color: var(--red); }
.notify__fineprint { color: var(--ink-faint); font-size: .78rem; margin-top: .8rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: 3rem 1.5rem 3.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__brand {
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .5rem;
}
.footer__tag {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .12em; font-size: .8rem; color: var(--amber);
  margin: .7rem 0 1.4rem;
}
.footer__legal { color: var(--ink-faint); font-size: .74rem; max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .premise { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .op { grid-template-columns: auto 1fr; }
  .op__status { grid-column: 2; justify-self: start; }
  .notify__field { flex-direction: column; }
  .notify__field .btn { justify-content: center; }
  .hero { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
