:root {
  --ink-black: #0a0e16;
  --navy: #0e1420;
  --navy-2: #141b2b;
  --navy-3: #1b2436;
  --plum: #221a36;
  --amber: #ffc93c;
  --amber-2: #ffb100;
  --white: #f8f8fb;
  --on-white-dim: #5b5f75;
  --ink: #eef1f6;
  --ink-dim: #aab2c5;
  --line: #2a3346;
  --line-soft: rgba(238, 241, 246, 0.14);
  --good: #6ee7a8;
  --radius: 14px;
  --max: 880px;
  --band-max: 780px;
  --warn: #e8b64c;
  --role-attention: #7dd3fc;
  --role-authority: #c4b5fd;
  --role-conversion: #ffc93c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--ink);
  line-height: 1.55;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand .mark {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand .by {
  font-size: 0.75rem;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 76px 0 64px;
  text-align: left;
}

.eyebrow {
  color: var(--amber);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow-lg {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.3rem, 6.5vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--amber);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-dim);
  max-width: 62ch;
  margin: 0 0 30px;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.flow span {
  background: var(--navy-3);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

/* One consistent CTA motif: a fully-rounded pill, optionally with a diagonal
   arrow, used everywhere a primary or secondary action appears. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #1a1300;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  padding: 15px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { background: var(--amber-2); transform: translateY(-1px); }

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-soft);
  font-weight: 700;
}

.btn.secondary:hover { border-color: var(--amber); color: var(--amber); }

.btn.on-dark {
  background: #1a1300;
  color: var(--amber);
}

.btn.on-dark:hover { background: #241c00; }

.btn .arrow-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Sections */
section { padding: 40px 0; }

.section-title {
  font-size: 1.6rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--ink-dim);
  margin: 0 0 32px;
  max-width: 62ch;
}

/* Form */
.card {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.field { margin-bottom: 24px; }

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.field .hint {
  color: var(--ink-dim);
  font-size: 0.85rem;
  margin: 0 0 10px;
}

.field textarea,
.field input[type="text"] {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 78px;
}

.field textarea:focus,
.field input[type="text"]:focus {
  outline: none;
  border-color: var(--amber);
}

.field .count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--ink-dim);
  margin-top: 4px;
}

.quality-hint {
  display: none;
  color: var(--warn);
  font-size: 0.82rem;
  margin: 6px 0 0;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-error {
  color: #ff8a8a;
  font-size: 0.9rem;
  display: none;
}

/* Results */
#results { display: none; }

.brief-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 auto 8px;
  max-width: var(--max);
  padding: 24px 24px 0;
}

.brief-header h2 {
  margin: 0 0 4px;
  font-size: 1.7rem;
}

.brief-header .sub {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.result-actions { display: flex; gap: 10px; }

/* Restrained motion: sections rise/fade into place on scroll. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Progressive reveal: later stages start locked (teaser only) until unlocked. */

.stage { margin-bottom: 0; }

.stage-teaser { display: none; }

.stage.locked .stage-body { display: none; }

.stage.locked .stage-teaser {
  display: flex;
  background: var(--ink-black);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 44px 24px;
}

.stage-teaser-inner {
  max-width: var(--band-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.stage-teaser h3 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- full-bleed band system ---------- */

.band { padding: 76px 24px; }
.band-inner { max-width: var(--band-max); margin: 0 auto; }

.band-ink { background: var(--ink-black); color: var(--ink); }
.band-plum { background: linear-gradient(155deg, var(--plum), #1c1130); color: var(--ink); }
.band-navy2 { background: var(--navy-2); color: var(--ink); }
.band-white { background: var(--white, #f8f8fb); color: var(--ink-black); }
.band-amber { background: linear-gradient(150deg, var(--amber), var(--amber-2)); color: #1a1300; }

.band-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.band-white .band-eyebrow { color: #b8850a; }
.band-amber .band-eyebrow { color: rgba(26, 19, 0, 0.65); }
.band-plum .band-eyebrow { color: #c9b8ff; }

.giant {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 26px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.band-support {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 46ch;
  line-height: 1.55;
  margin: 0 0 8px;
}
.band-white .band-support { color: var(--on-white-dim, #5b5f75); }
.band-amber .band-support { color: rgba(26, 19, 0, 0.72); }

.why-toggle {
  display: inline-block;
  margin-top: 22px;
  background: none;
  border: none;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
}

.why-toggle:hover { color: var(--amber-2); }

.why-panel {
  display: none;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.why-panel.open { display: block; }

.why-panel p { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.65; margin: 0; }

.micro-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  margin: 16px 0 4px;
}

.micro-label:first-child { margin-top: 0; }

.assumptions-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.assumptions-list li {
  color: var(--ink);
  border-left: 2px solid var(--warn);
  padding-left: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.assumptions-list li strong { color: var(--ink); }

/* ---------- Cost / Fix / Proof / Ask beat sequence ---------- */

.beat-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 16px;
}
.band-plum .beat-label { color: #c9b8ff; }
.band-white .beat-label { color: #b8850a; }
.band-amber .beat-label { color: rgba(26, 19, 0, 0.65); }

.beat-text {
  font-size: clamp(1.3rem, 3.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 28ch;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.beat-cost .beat-text { color: var(--ink-dim); }

.beat-fix .beat-text {
  font-size: clamp(1.7rem, 4.6vw, 2.6rem);
  font-weight: 900;
  color: var(--ink);
}

.beat-ask .beat-text {
  font-size: clamp(1.7rem, 4.6vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 30px;
  color: #1a1300;
}

.proof-stat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: end;
  gap: 32px;
}

.proof-stat-hero .proof-stat-num {
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  color: var(--ink-black);
}

.proof-stat-num {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--ink-black);
}

.proof-stat-label {
  font-size: 0.85rem;
  color: var(--on-white-dim, #5b5f75);
  line-height: 1.3;
}

@media (max-width: 720px) {
  .proof-stat-grid { grid-template-columns: 1fr; gap: 20px; }
  .proof-stat-hero .proof-stat-num { font-size: clamp(3rem, 20vw, 5rem); }
}

/* ---------- Campaign Territories: three distinct visual worlds ---------- */

.territory {
  position: relative;
  overflow: hidden;
}

.territory-ghost {
  position: absolute;
  top: -6vw;
  right: -3vw;
  font-size: 20vw;
  font-weight: 900;
  color: rgba(255, 201, 60, 0.05);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.territory-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.territory-index {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.territory-name {
  font-size: clamp(2.6rem, 7.5vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0 0 22px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.territory-explain {
  font-size: 1.02rem;
  color: var(--ink-dim);
  max-width: 36ch;
  line-height: 1.6;
}

.territory-side {
  border-left: 2px solid rgba(255, 201, 60, 0.4);
  padding-left: 22px;
}

.territory-sample {
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 22px;
  text-wrap: balance;
}

.territory-visual {
  font-size: 0.9rem;
  color: var(--ink-dim);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .territory-grid { grid-template-columns: 1fr; }
  .territory-side { border-left: none; border-top: 2px solid rgba(255, 201, 60, 0.4); padding-left: 0; padding-top: 20px; }
  .territory-ghost { display: none; }
}

/* Territory 2: centered pull-quote world (plum) */
.territory-centered { text-align: center; }
.territory-centered .territory-index { justify-content: center; }
.territory-centered .territory-name { max-width: none; }
.territory-centered .territory-quote {
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  font-weight: 700;
  font-style: italic;
  max-width: 26ch;
  margin: 26px auto;
  line-height: 1.35;
  text-wrap: balance;
}
.territory-centered .territory-explain { max-width: 46ch; margin: 0 auto 8px; }
.territory-centered .territory-visual { max-width: 46ch; margin: 18px auto 0; }

/* Territory 3: oversized-stat world (white) */
.territory-stat-num {
  font-size: clamp(3.6rem, 12vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--ink-black);
  margin: 4px 0 22px;
}

/* ---------- Campaign Concepts: mixed-format wall ---------- */

.concept-band { position: relative; }

.concept-purpose-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.concept-purpose-tag.role-attention { background: #7dd3fc; color: #071a24; }
.concept-purpose-tag.role-authority { background: var(--role-authority); color: #1a1330; }
.concept-purpose-tag.role-conversion { background: var(--amber); color: #1a1300; }

.concept-headline {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 20ch;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.concept-meta {
  font-size: 0.92rem;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 40ch;
}
.concept-meta strong { color: var(--ink); }

/* Phone-mockup concept */
.concept-phone-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 44px;
  align-items: center;
}
.phone {
  width: 240px;
  margin: 0 auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4));
}
.phone-body { background: #0c0c14; border-radius: 32px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.08); }
.phone-screen {
  background: #e9ebf3;
  border-radius: 22px;
  padding: 18px 14px 22px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
}
.phone-bubble {
  background: #fff;
  color: #14161f;
  border-radius: 14px 14px 14px 4px;
  padding: 9px 12px;
  font-size: 0.78rem;
  max-width: 80%;
}
.phone-bubble.unread { opacity: 0.55; }
.phone-bubble.hero { background: #14161f; color: #fff; font-weight: 700; max-width: 94%; }
@media (max-width: 720px) {
  .concept-phone-layout { grid-template-columns: 1fr; }
  .phone { width: 200px; }
}

/* Split-panel concept */
.concept-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
}
.concept-split > div { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.concept-split-assume { background: var(--navy-3); }
.concept-split-actual { background: var(--plum); }
.concept-split-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.concept-split-text { font-size: 1rem; font-weight: 700; line-height: 1.35; text-wrap: balance; overflow-wrap: break-word; }
@media (max-width: 640px) {
  .concept-split { grid-template-columns: 1fr; }
}

/* Typography meme-card concept (principle / proof / diagnostic) */
.meme-card {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-soft);
}

.meme-card-tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}

.meme-card-copy {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: break-word;
}

.meme-card-mark {
  align-self: flex-end;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.meme-card-attention { background: linear-gradient(150deg, #16324f, #0e1420); color: #eaf6ff; }
.meme-card-attention .meme-card-tag { color: var(--role-attention); }

.meme-card-authority { background: linear-gradient(150deg, #2c2050, #0e1420); color: #f2edff; }
.meme-card-authority .meme-card-tag { color: var(--role-authority); }

.meme-card-conversion { background: linear-gradient(150deg, var(--amber-2), #7a4e00); color: #1a1300; }
.meme-card-conversion .meme-card-tag { background: rgba(255, 255, 255, 0.4); color: #1a1300; }
.meme-card-conversion .meme-card-mark { color: #1a1300; }

/* Poster / closing concept (offer) */
.concept-poster {
  border-radius: 18px;
  padding: 44px 36px;
  background: linear-gradient(150deg, var(--amber), var(--amber-2));
  color: #1a1300;
  text-align: center;
}
.concept-poster .concept-headline {
  max-width: none;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  margin: 0 auto 20px;
}
.concept-poster .concept-meta { color: rgba(26, 19, 0, 0.75); margin: 0 auto; }
.concept-poster .concept-meta strong { color: #1a1300; }

.image-prompt {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--ink-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.band-white .image-prompt, .concept-poster .image-prompt { border-color: rgba(10, 14, 22, 0.25); color: var(--on-white-dim, #5b5f75); }

.next-step-line {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-dim);
}
.next-step-line strong { color: var(--ink); }
.concept-poster .next-step-line, .concept-poster .next-step-line strong { color: rgba(26, 19, 0, 0.85); }

/* ---------- What's Next: asymmetric commercial pathways ---------- */

.next-cta-row { display: flex; align-items: center; gap: 18px; margin: 30px 0 56px; flex-wrap: wrap; }
.next-cta-note { font-size: 0.9rem; color: rgba(26, 19, 0, 0.7); }

.next-list { border-top: 1px solid rgba(26, 19, 0, 0.18); }
.next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(26, 19, 0, 0.18);
  flex-wrap: wrap;
}
.next-row:last-child { border-bottom: none; }
.next-row-title { font-size: 1.05rem; font-weight: 800; }
.next-row-desc { font-size: 0.85rem; color: rgba(26, 19, 0, 0.65); max-width: 42ch; }
.next-row-tag {
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(26, 19, 0, 0.35);
  background: none;
  color: rgba(26, 19, 0, 0.75);
  flex-shrink: 0;
}

button.next-row-tag {
  cursor: pointer;
  transition: background 0.15s ease;
}

button.next-row-tag:hover {
  background: rgba(26, 19, 0, 0.1);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.btn.secondary:disabled:hover {
  border-color: var(--line);
  color: var(--ink);
}

footer {
  padding: 40px 0 60px;
  color: var(--ink-dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

@media print {
  .topbar, .hero, #intake, .form-actions, .result-actions, footer { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .band { padding: 32px 24px; }
  .band-ink, .band-navy2, .band-plum, .band-white, .band-amber { background: #fff !important; color: #000 !important; }
  .meme-card, .concept-split > div, .concept-poster { background: #fff !important; color: #000 !important; border: 1px solid #ccc; }
  .meme-card-tag, .meme-card-mark { background: #eee !important; color: #000 !important; }
  .band-amber .btn, .next-cta-row .btn { display: none; }
  .stage.locked .stage-body { display: block !important; }
  .stage-teaser { display: none !important; }
  .why-panel { display: block !important; }
}
