/* ============================================================
   FORGE° — molten content-intelligence landing page
   Obsidian + molten copper. Anton display / Hanken body / Space Mono data.
   ============================================================ */
:root {
  --obsidian: #0b0705;
  --obsidian-2: #070403;
  --char: #140d08;
  --ash: #ece2d8;
  --ash-mute: #9a8b7d;
  --ash-faint: #5f544a;

  --molten: #ff5a1e;
  --molten-hot: #ff8a3d;
  --ember: #c2410c;
  --copper: #b45309;
  --rust: #7c2d12;
  --gold: #ffb56b;

  --line: rgba(255, 138, 61, 0.14);
  --line-soft: rgba(236, 226, 216, 0.08);

  /* Anton for the big block statements; Inter (NOWFit brand font) everywhere
     else — the label styles keep their uppercase letter-spacing, which reads
     as a NOWFit eyebrow rather than a techy monospace. */
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Inter', -apple-system, sans-serif;

  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--body);
  background: var(--obsidian);
  color: var(--ash);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* warm vignette + molten pools baked into the page */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(120% 80% at 78% 8%, rgba(255, 90, 30, 0.16), transparent 55%),
    radial-gradient(90% 70% at 12% 105%, rgba(180, 83, 9, 0.14), transparent 55%),
    radial-gradient(140% 120% at 50% 50%, transparent 40%, rgba(0,0,0,0.55) 100%),
    var(--obsidian);
}

a { color: inherit; text-decoration: none; }
b { color: var(--gold); font-weight: 700; }
em { font-style: normal; color: var(--molten-hot); }
i { font-style: italic; color: var(--ash); }

/* ---------- atmosphere ---------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.ember-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -12px; width: 3px; height: 3px; border-radius: 50%;
  background: var(--molten-hot);
  box-shadow: 0 0 8px 1px rgba(255, 138, 61, 0.8);
  animation: rise linear infinite;
  opacity: 0;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-102vh) translateX(var(--drift, 20px)); opacity: 0; }
}

/* ---------- fixed 3D stage ---------- */
.stage {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.stage-glow {
  position: absolute; width: 46vmin; height: 46vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 30, 0.42), rgba(194,65,12,0.14) 45%, transparent 70%);
  filter: blur(24px);
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
model-viewer#phone {
  width: min(92vw, 780px); height: 82vh;
  pointer-events: auto;
  --poster-color: transparent;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6));
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  mix-blend-mode: normal;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-div { width: 1px; height: 20px; background: var(--line); }
.brand-product {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ash-mute);
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-cta {
  font-size: 13px; font-weight: 700; letter-spacing: .3px;
  padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--gold);
  transition: all .25s ease;
}
.nav-cta:hover { border-color: var(--molten); background: rgba(255,90,30,0.1); color: var(--molten-hot); }

/* ---------- layout rhythm ---------- */
main { position: relative; z-index: 5; }
.band {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(90px, 16vh, 190px) clamp(20px, 5vw, 56px);
}
.band-index {
  font-family: var(--mono); font-size: 12px; letter-spacing: 2px;
  color: var(--ember); margin-bottom: 26px; text-transform: uppercase;
}
.band-h {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 8vw, 104px); line-height: 0.92; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 28px;
}
.band-p {
  max-width: 640px; font-size: clamp(16px, 2vw, 20px); color: var(--ash-mute);
  line-height: 1.65;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: 120px clamp(20px, 5vw, 56px) 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 22px;
}
.hero-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 15vw, 190px); line-height: 0.82; letter-spacing: 1px;
  margin-bottom: 30px;
}
.hero-title .line { display: block; }
.molten {
  background: linear-gradient(92deg, var(--molten) 0%, var(--gold) 40%, var(--molten-hot) 70%, var(--ember) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 20px rgba(255,90,30,0.35));
}
.hero-sub { max-width: 540px; font-size: clamp(16px, 2.1vw, 21px); color: var(--ash-mute); line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; letter-spacing: .2px;
  padding: 15px 26px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .3s ease, background .25s ease;
}
.btn-molten {
  background: linear-gradient(180deg, var(--molten-hot), var(--ember));
  color: #1a0a02; box-shadow: 0 10px 30px -8px rgba(255,90,30,0.6), inset 0 1px 0 rgba(255,220,180,.5);
}
.btn-molten:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255,90,30,0.75); }
.btn-ghost { border-color: var(--line); color: var(--ash); }
.btn-ghost:hover { border-color: var(--molten); color: var(--molten-hot); background: rgba(255,90,30,0.06); }

.scrollcue { margin-top: 60px; }
.scrollcue span {
  display: block; width: 22px; height: 36px; border: 1.5px solid var(--line);
  border-radius: 100px; position: relative;
}
.scrollcue span::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px;
  background: var(--molten); border-radius: 2px; transform: translateX(-50%);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 10px); } }

/* ---------- how / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step {
  background: linear-gradient(180deg, rgba(20,13,8,0.72), rgba(11,7,5,0.72));
  border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px 34px;
  backdrop-filter: blur(6px);
}
.step-n { font-family: var(--mono); font-size: 13px; color: var(--ember); margin-bottom: 18px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--ash-mute); line-height: 1.6; }

/* ---------- live feed ---------- */
.feed-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.feed-meta { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--ash-mute); text-transform: uppercase; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--molten); box-shadow: 0 0 0 0 rgba(255,90,30,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,30,0.6);} 70% { box-shadow: 0 0 0 10px rgba(255,90,30,0);} 100% { box-shadow: 0 0 0 0 rgba(255,90,30,0);} }

.feed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.feed-skel { height: 132px; border-radius: 16px; background: linear-gradient(100deg, rgba(255,255,255,0.03) 30%, rgba(255,138,61,0.08) 50%, rgba(255,255,255,0.03) 70%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.ocard {
  display: flex; gap: 16px; align-items: stretch;
  background: linear-gradient(180deg, rgba(20,13,8,0.8), rgba(11,7,5,0.72));
  border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  transition: transform .2s ease, border-color .25s ease, box-shadow .3s ease;
}
.ocard:hover { transform: translateY(-3px); border-color: rgba(255,90,30,0.4); box-shadow: 0 18px 40px -20px rgba(255,90,30,0.5); }
.ocard-rank {
  font-family: var(--display); font-size: 30px; line-height: 1; color: var(--ash-faint);
  width: 34px; flex: 0 0 34px; text-align: center; padding-top: 4px;
}
.ocard-thumb { width: 74px; height: 92px; flex: 0 0 74px; border-radius: 10px; object-fit: cover; background: var(--char); }
.ocard-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ocard-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; flex-wrap: wrap; }
.score { font-family: var(--mono); font-weight: 700; font-size: 13px; color: #1a0a02; background: linear-gradient(180deg, var(--molten-hot), var(--ember)); padding: 3px 9px; border-radius: 6px; }
.magnet { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .5px; color: var(--gold); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }
.plat { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--ash-faint); text-transform: uppercase; margin-left: auto; }
.ocard-title { font-size: 14px; color: var(--ash); line-height: 1.42; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ocard-meta { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--ash-mute); display: flex; gap: 12px; }
.ocard-meta a { color: var(--molten-hot); font-weight: 700; }

/* ---------- forge (locked) ---------- */
.forge-preview { position: relative; margin-top: 40px; max-width: 720px; }
.forge-card {
  background: linear-gradient(180deg, rgba(20,13,8,0.9), rgba(11,7,5,0.85));
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px;
  filter: blur(3px); opacity: .8; user-select: none;
}
.forge-card-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--ember); margin-bottom: 16px; }
.forge-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.forge-card li { font-size: 17px; color: var(--ash); padding-left: 18px; position: relative; }
.forge-card li::before { content: "›"; position: absolute; left: 0; color: var(--molten); }
.forge-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 6px;
  background: radial-gradient(circle at center, rgba(11,7,5,0.5), rgba(11,7,5,0.82));
  border-radius: 18px;
}
.lock-icon { font-size: 26px; margin-bottom: 4px; }
.lock-title { font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.lock-sub { font-size: 14px; color: var(--ash-mute); }

/* ---------- cta ---------- */
.cta {
  text-align: center; max-width: 820px; margin: 0 auto;
  padding: clamp(90px, 16vh, 180px) clamp(20px, 5vw, 56px) 60px;
}
.cta-h { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 8vw, 96px); line-height: 0.9; margin-bottom: 34px; }
.cta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-form input {
  font-family: var(--body); font-size: 16px; color: var(--ash);
  background: rgba(20,13,8,0.8); border: 1px solid var(--line);
  border-radius: 100px; padding: 15px 22px; min-width: 280px; outline: none;
}
.cta-form input:focus { border-color: var(--molten); }
.cta-note { margin-top: 18px; font-size: 13px; color: var(--ash-faint); font-family: var(--mono); letter-spacing: .5px; }

/* ---------- footer ---------- */
.foot {
  position: relative; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px clamp(20px, 5vw, 56px); border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--ash-faint);
}
.foot span:first-child { color: var(--molten); font-family: var(--display); font-size: 18px; letter-spacing: 1px; }

/* ---------- reveal animations ---------- */
.reveal, .reveal-up { opacity: 0; }
.reveal { transform: translateY(14px); animation: rvup .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
.reveal-up { transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal-up.in { opacity: 1; transform: none; }
@keyframes rvup { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: 1fr; }
  model-viewer#phone { height: 60vh; opacity: .55; }
  .hero-sub, .band-p { color: var(--ash-mute); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-up { opacity: 1 !important; transform: none !important; }
}

/* ---------- funnel badge (the "job" of the content) ---------- */
.fn-badge {
  font-size: 9px; font-weight: 800; letter-spacing: .06em;
  padding: 2px 7px; border-radius: 6px; white-space: nowrap;
}
.fn-tofu { color: #7fd7ff; background: rgba(60,170,230,.14); border: 1px solid rgba(60,170,230,.32); }
.fn-mofu { color: #c9a2ff; background: rgba(150,110,240,.14); border: 1px solid rgba(150,110,240,.32); }
.fn-bofu { color: #6ee7a8; background: rgba(52,211,153,.13); border: 1px solid rgba(52,211,153,.32); }

/* seed concept line on a card */
.ocard-seed {
  font-size: 11px; color: var(--gold); line-height: 1.4; margin: 2px 0 4px;
  opacity: .9;
}

/* ---------- formats lens ---------- */
.fmt-group { margin-top: 30px; }
.fmt-group:first-child { margin-top: 22px; }
.fmt-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.fmt-head h3 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 34px); letter-spacing: .5px;
}
.fmt-count {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ember);
}
.fmt-blurb { font-size: 14px; color: var(--ash-mute); margin-bottom: 16px; max-width: 620px; }
.fmt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 860px) { .fmt-grid { grid-template-columns: 1fr; } }

/* ---------- hooks lens ---------- */
#hooks-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.hook-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(180deg, rgba(20,13,8,.72), rgba(11,7,5,.7));
  border: 1px solid var(--line); border-left: 3px solid var(--ember);
  border-radius: 12px; padding: 15px 18px; transition: border-color .2s, transform .2s;
}
.hook-row:hover { border-color: rgba(255,90,30,.4); transform: translateX(3px); }
.hook-open { font-size: clamp(15px, 2vw, 19px); font-weight: 600; color: var(--ash); line-height: 1.4; }
.hook-meta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 12px; color: var(--ash-mute); }
.hook-score { font-weight: 800; color: var(--molten-hot); }
@media (max-width: 680px){ .hook-row { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ---------- topics lens ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 22px; }
.topic-chip {
  background: linear-gradient(180deg, rgba(20,13,8,.72), rgba(11,7,5,.7));
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px; transition: border-color .2s, transform .2s;
}
.topic-chip:hover { border-color: rgba(255,90,30,.4); transform: translateY(-2px); }
.topic-name { font-size: 16px; font-weight: 700; color: var(--ash); margin-bottom: 5px; line-height: 1.3; }
.topic-sub { font-size: 12px; color: var(--ember); font-weight: 600; }

/* ---------- calendar generator ---------- */
.tier-picker { display: flex; gap: 8px; margin: 24px 0 20px; flex-wrap: wrap; }
.tier-btn {
  font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--ash-mute);
  padding: 11px 20px; border-radius: 100px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; transition: all .2s;
}
.tier-btn:hover { color: var(--ash); border-color: var(--molten); }
.tier-btn.active { color: #1a0a02; background: linear-gradient(180deg, var(--molten-hot), var(--ember)); border-color: transparent; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
@media (max-width: 980px){ .week-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .week-grid { grid-template-columns: 1fr; } }
.wk-day {
  background: linear-gradient(180deg, rgba(20,13,8,.78), rgba(11,7,5,.72));
  border: 1px solid var(--line); border-radius: 14px; padding: 13px; display: flex; flex-direction: column; gap: 8px;
}
.wk-head { display: flex; align-items: center; justify-content: space-between; }
.wk-dow { font-family: var(--display); font-size: 18px; color: var(--ash); text-transform: uppercase; }
.wk-type { font-size: 12px; color: var(--ash); font-weight: 600; text-transform: capitalize; }
.wk-cta { font-size: 11px; color: var(--ash-mute); }
.wk-cta b { color: var(--gold); }
.wk-ex {
  display: block; margin-top: 4px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-soft); background: rgba(0,0,0,.25); transition: border-color .2s;
}
.wk-ex:hover { border-color: rgba(255,90,30,.45); }
.wk-ex img { width: 100%; height: 78px; object-fit: cover; display: block; }
.wk-ex-body { padding: 8px 9px; }
.wk-ex-label { font-size: 8px; font-weight: 800; letter-spacing: .1em; color: var(--ember); margin-bottom: 3px; }
.wk-ex-title { font-size: 11px; color: var(--ash); line-height: 1.35; }
.wk-ex-meta { font-size: 10px; color: var(--ash-faint); margin-top: 4px; }
.wk-ex-empty { padding: 14px 10px; font-size: 10px; color: var(--ash-faint); text-align: center; }

/* ---------- script generator button + modal ---------- */
.script-btn {
  margin-left: auto; font-family: var(--body); font-size: 11px; font-weight: 700;
  color: var(--molten-hot); background: rgba(255,90,30,.1); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 100px; cursor: pointer; transition: all .2s;
}
.script-btn:hover { background: rgba(255,90,30,.2); border-color: var(--molten); }
.script-modal {
  position: fixed; inset: 0; z-index: 60; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(6,4,3,.82); backdrop-filter: blur(6px);
}
.script-modal.open { display: flex; }
.script-panel {
  position: relative; width: min(680px, 100%); max-height: 86vh; overflow-y: auto;
  background: linear-gradient(180deg, #140d08, #0b0705); border: 1px solid var(--line-orange, rgba(255,138,61,.24));
  border-radius: 18px; padding: 28px 30px; box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.script-close {
  position: absolute; top: 16px; right: 18px; font-size: 16px; color: var(--ash-mute);
  background: none; border: none; cursor: pointer;
}
.script-title { font-family: var(--display); font-size: 26px; text-transform: uppercase; margin-bottom: 18px; }
.script-h { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); margin: 18px 0 8px; }
.script-hooks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.script-hooks li { font-size: 15px; color: var(--ash); padding-left: 16px; position: relative; line-height: 1.4; }
.script-hooks li::before { content: "›"; position: absolute; left: 0; color: var(--molten); }
.script-text { white-space: pre-wrap; font-family: var(--body); font-size: 14px; color: var(--ash); line-height: 1.6; background: rgba(0,0,0,.3); border: 1px solid var(--line-soft); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.script-loading { color: var(--ash-mute); font-size: 15px; padding: 30px 0; }
.script-loading span { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--molten); animation: pulse 1s infinite; }
.script-err { color: #ff9a7a; font-size: 14px; padding: 20px 0; }
