/* Portfolio scenario page styles — Yinka Adegbusi
   Loaded by all individual scenario pages in /scenarios/.
   Mirrors the main design system + reuses article body patterns. */

:root {
  --navy:        #00203F;
  --navy-deep:   #001528;
  --navy-mid:    #0A3560;
  --navy-pale:   #E8F0F8;
  --mint:        #36ECDE;
  --mint-dark:   #0D9E93;
  --mint-mid:    #20C9BC;
  --mint-pale:   #E8FAF9;
  --graphite:    #2F2F2F;
  --soft-gray:   #F2F4F6;
  --off-white:   #F8FAFB;
  --white:       #FFFFFF;
  --muted:       #6B7280;
  --rule:        #DDE2E7;
  --rule-soft:   #EEF1F4;

  --serif: "Libre Baskerville", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 96px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--graphite);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ───────── Eyebrow ───────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mint-dark);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px;
  background: var(--mint-dark); display: inline-block;
}
.eyebrow.on-navy { color: var(--mint); }
.eyebrow.on-navy::before { background: var(--mint); }

/* ───────── Nav (shared with main pages) ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--white);
  display: inline-flex; align-items: center; gap: 10px;
}
.brand__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(54,236,222,0.18); }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
  transition: color 160ms ease;
  position: relative; padding: 6px 0;
}
.nav__links a:hover { color: var(--mint); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--mint);
}
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__menu-btn { display: none; }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); font-family: var(--sans);
    font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; padding: 8px 14px;
    border-radius: 999px; cursor: pointer;
  }
}

/* ───────── Scenario hero ───────── */
.scenario-hero {
  background: var(--navy);
  color: var(--white);
  padding: calc(96px + 64px) var(--gutter) clamp(72px, 8vw, 112px);
  position: relative;
  overflow: hidden;
}
.scenario-hero__inner {
  max-width: 1320px; margin: 0 auto;
  position: relative; z-index: 2;
}
.scenario-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  transition: color 160ms ease, gap 180ms ease;
}
.scenario-hero__back:hover { color: var(--mint); gap: 14px; }
.scenario-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.scenario-hero__head { max-width: 720px; }
.scenario-hero__row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 24px;
}
.scenario-hero__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--mint);
  letter-spacing: -0.02em;
}
.scenario-hero__industry {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  background: var(--mint);
  padding: 7px 12px;
  border-radius: 2px;
  white-space: nowrap;
}
.scenario-hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--white);
  margin: 0 0 16px;
  text-wrap: balance;
}
.scenario-hero__org {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.scenario-hero__factlist {
  list-style: none;
  margin: 0;
  padding: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.scenario-hero__fact {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: baseline;
}
.scenario-hero__fact:first-child { border-top: none; padding-top: 0; }
.scenario-hero__fact-label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.scenario-hero__fact-value {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--white);
  font-weight: 500;
}

/* Decorative rings */
.scenario-hero__deco {
  position: absolute;
  right: -220px;
  bottom: -260px;
  width: 640px;
  height: 640px;
  pointer-events: none;
  z-index: 1;
}
.scenario-hero__deco svg { width: 100%; height: 100%; }
.scenario-hero__deco circle { fill: none; stroke: var(--mint); stroke-width: 1; }

@media (max-width: 900px) {
  .scenario-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .scenario-hero__deco { right: -300px; bottom: -340px; width: 520px; height: 520px; }
}

/* ───────── Body sections ───────── */
.scenario-section {
  padding: clamp(72px, 8vw, 112px) var(--gutter);
}
.scenario-section--white { background: var(--white); }
.scenario-section--soft  { background: var(--soft-gray); }
.scenario-section__inner {
  max-width: 1320px; margin: 0 auto;
}

.scenario-section__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.scenario-section__head {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.scenario-section__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(52px, 5vw, 80px);
  line-height: 0.85;
  color: var(--mint-dark);
  margin: 0;
  letter-spacing: -0.02em;
}
.scenario-section__heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* Prose */
.prose {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--graphite);
  max-width: 64ch;
}
.prose p { margin: 0 0 22px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose em { font-style: italic; }
.prose .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 26px;
}
.prose h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.22;
  color: var(--navy);
  margin: 40px 0 16px;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.prose h3:first-child { margin-top: 0; }
.prose h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin: 32px 0 14px;
}

.prose ul, .prose ol {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}
.prose li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  padding: 6px 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
}
.prose li::before {
  content: "•";
  color: var(--mint-dark);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
}
.prose ol { counter-reset: numlist; }
.prose ol > li { counter-increment: numlist; }
.prose ol > li::before {
  content: counter(numlist, decimal-leading-zero) ".";
  color: var(--mint-dark);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
}

/* ───────── Stakeholder map (Executive Landscape) ───────── */
.stakeholder-map {
  margin: 8px 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.scenario-section--soft .stakeholder-map { border-top-color: var(--rule); }
.stakeholder-map > .stakeholder-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.scenario-section--soft .stakeholder-map > .stakeholder-row { border-bottom-color: rgba(0,0,0,0.05); }
.stakeholder-map dt,
.stakeholder-map .stakeholder-role {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mint-dark);
  margin: 0;
  line-height: 1.5;
}
.stakeholder-map dd,
.stakeholder-map .stakeholder-desc {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
  text-wrap: pretty;
}
.stakeholder-map dd strong,
.stakeholder-map .stakeholder-desc strong { color: var(--navy); font-weight: 600; }
@media (max-width: 640px) {
  .stakeholder-map > .stakeholder-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
}

/* Pull quote inside prose */
.prose blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--navy);
  margin: 36px 0;
  padding-left: 24px;
  position: relative;
  max-width: 38ch;
  text-wrap: pretty;
}
.prose blockquote::before {
  content: "";
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--mint-dark);
}

/* Tables (executive landscape, business impact targets) */
.prose table,
.scenario-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}
.prose table th,
.scenario-table th {
  text-align: left;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mint-dark);
  border-bottom: 2px solid var(--rule);
  padding: 12px 16px 12px 0;
  vertical-align: bottom;
}
.prose table td,
.scenario-table td {
  border-bottom: 1px solid var(--rule-soft);
  padding: 14px 16px 14px 0;
  vertical-align: top;
  color: var(--graphite);
}
.prose table td:last-child,
.scenario-table td:last-child { padding-right: 0; }
.prose table td strong,
.scenario-table td strong { color: var(--navy); font-weight: 600; }
.band--soft .prose table th,
.scenario-section--soft .prose table th { border-bottom-color: var(--rule); }

@media (max-width: 900px) {
  .scenario-section__grid { grid-template-columns: 1fr; gap: 32px; }
  .scenario-section__head { position: static; }
}

/* ───────── Outcome block (highlighted section) ───────── */
.outcome {
  background: var(--navy);
  color: var(--white);
  padding: clamp(72px, 8vw, 112px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.outcome__inner {
  max-width: 1320px; margin: 0 auto;
  position: relative; z-index: 2;
}
.outcome__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.outcome__head { display: flex; flex-direction: column; gap: 18px; }
.outcome__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(52px, 5vw, 80px);
  line-height: 0.85;
  color: var(--mint);
  margin: 0;
  letter-spacing: -0.02em;
}
.outcome__heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.outcome__body {
  font-family: var(--sans);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 62ch;
}
.outcome__body p { margin: 0 0 22px; text-wrap: pretty; }
.outcome__body p:last-child { margin-bottom: 0; }
.outcome__body strong { color: var(--white); font-weight: 600; }

/* ───────── Disclaimer ───────── */
.disclaimer {
  background: var(--off-white);
  padding: 48px var(--gutter);
  border-top: 1px solid var(--rule);
}
.disclaimer__inner {
  max-width: 880px; margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
  text-wrap: pretty;
}
.disclaimer--top {
  background: var(--white);
  padding: 28px var(--gutter);
  border-top: none;
  border-bottom: 1px solid var(--rule-soft);
}
.disclaimer--top .disclaimer__inner {
  font-size: 13px;
  color: var(--muted);
  max-width: 720px;
}

/* ───────── Related scenarios ───────── */
.related-scenarios {
  background: var(--white);
  padding: clamp(72px, 8vw, 112px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.related-scenarios__inner { max-width: 1320px; margin: 0 auto; }
.related-scenarios__head {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 48px;
}
.related-scenarios__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.related-scen-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 36px 32px 28px;
  border: 1px solid var(--rule);
  transition: border-color 220ms ease, transform 220ms ease;
  min-height: 220px;
}
.related-scen-card:hover { border-color: var(--mint-mid); transform: translateY(-3px); }
.related-scen-card__industry {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-dark);
  font-weight: 600;
}
.related-scen-card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--mint-dark);
  line-height: 1;
  margin: 4px 0 0;
}
.related-scen-card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--navy);
  margin: 4px 0 0;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.related-scen-card__org {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.related-scen-card__link {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }

/* ───────── Footer ───────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 96px var(--gutter) 40px;
}
.footer__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 64px;
}
.footer__brand-name {
  font-family: var(--serif); font-weight: 700;
  color: var(--white); font-size: 28px;
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.footer__brand-name .dot { color: var(--mint); }
.footer__pos {
  font-family: var(--sans); font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.6); max-width: 42ch; margin: 0;
}
.footer__col h4 {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--mint);
  margin: 0 0 22px;
}
.footer__col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer__col a {
  font-size: 14px; color: rgba(255,255,255,0.7);
  transition: color 160ms ease;
}
.footer__col a:hover { color: var(--mint); }
.footer__bottom {
  max-width: 1320px; margin: 72px auto 0;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 12px;
  color: rgba(255,255,255,0.4); letter-spacing: 0.02em;
}
.footer__foundry {
  color: rgba(255,255,255,0.55);
  border-bottom: 1px dashed rgba(54,236,222,0.4);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.footer__foundry:hover { color: var(--mint); border-bottom-color: var(--mint); }
@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding-top: 64px; }
}

::selection { background: var(--mint); color: var(--navy); }
