/* ============================================================
   MACK STROMME — CASE STUDY SHARED STYLES
   All three case study pages reference this file.
   To change typography, spacing, or layout globally:
   edit here. To change a single case study's color/accent:
   edit the CSS variables in that page's <style> block.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ── GLOBAL TOKENS (overridden per-page for accent/hero colors) ── */
:root {
  --ink: #0F0F0F;
  --ink-secondary: #4A4A4A;
  --ink-tertiary: #8A8A8A;
  --paper: #F8F6F1;
  --paper-warm: #F0EDE6;
  --rule: #E0DDD6;

  /* Per-page overrides — set these in each page's <style> block:
     --accent          main accent color
     --accent-subtle   light tint of accent (for badges, backgrounds)
     --hero-bg         hero section background color
     --hero-bg-alt     secondary panel in hero (before screen etc)
  */
  --accent: #C84B2F;
  --accent-subtle: rgba(200,75,47,0.08);
  --hero-bg: #1A1410;
  --hero-bg-alt: #2A2018;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Single compositor layer for full page — avoids Safari region-by-region repaint on fast scroll back */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── NAV (matches homepage: pill contact badge + links) ─────────── */
/* Hide on scroll down, show on scroll up; fixed to top when visible */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, transform 0.3s ease;
}
nav.nav-hidden {
  transform: translateY(-100%);
}
/* Don't show light background while nav is hiding — only when visible after scroll up */
nav.nav-hidden.scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}
nav.scrolled:not(.nav-hidden) {
  background: rgba(248,246,241,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.3s;
}
nav.scrolled .nav-logo { color: var(--ink); }
/* Profile card (contact badge) in nav — same as homepage */
.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper-warm);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.profile-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.profile-image { position: relative; flex-shrink: 0; }
.profile-image img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.profile-info h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.profile-info p {
  font-size: 12px;
  color: var(--ink-tertiary);
  font-weight: 300;
}
#main-nav .profile-card-nav {
  padding: 10px 28px 10px 11px;
  border-radius: 999px;
  overflow: visible;
  background-color: rgba(255, 255, 255, 1);
  justify-content: center;
}
.profile-card-nav .profile-image img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--rule);
  box-sizing: border-box;
}
.profile-card-nav .beacon-wrap {
  width: 12px;
  height: 12px;
}
.profile-card-nav .beacon {
  width: 12px;
  height: 12px;
  border-width: 1.5px;
  background-color: rgba(87, 252, 42, 1);
}
.profile-card-nav .profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
}
.profile-card-nav .profile-info h2 {
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.25;
  color: var(--ink);
}
.profile-card-nav .profile-info p {
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
  color: var(--ink-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.profile-card-nav .profile-info p svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.beacon-wrap {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 10px; height: 10px;
  overflow: visible;
  pointer-events: none;
}
.beacon-wrap .beacon {
  pointer-events: auto;
}
.beacon-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.55);
  transform: translate(-50%, -50%) scale(1);
  animation: beacon-ring 2s ease-out infinite;
  pointer-events: none;
}
.beacon-ring-2 {
  animation-delay: 1s;
}
.beacon {
  position: absolute;
  inset: 0;
  width: 10px; height: 10px;
  margin: auto;
  background: #22C55E;
  border-radius: 50%;
  border: 2px solid var(--paper-warm);
  box-sizing: border-box;
  z-index: 1;
}
@keyframes beacon-ring {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}
.profile-card-nav .beacon-ring {
  background: rgba(87, 252, 42, 0.55);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
nav.scrolled:not(.nav-hidden) .nav-links a { color: var(--ink); }
nav.scrolled .nav-links a { color: var(--ink-tertiary); }
.nav-links a:hover { color: var(--paper); }
nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 8px 18px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-transform: none;
  letter-spacing: 0.02em;
}
nav.scrolled:not(.nav-hidden) .nav-links .nav-cta {
  color: var(--ink);
  border-color: var(--ink);
}
.nav-links .nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
nav:not(.scrolled) .nav-links .nav-cta {
  color: var(--paper);
  border-color: rgba(248,246,241,0.5);
}
nav:not(.scrolled) .nav-links .nav-cta:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* Mobile nav: hamburger + fullscreen menu */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
nav:not(.scrolled) .nav-menu-btn { color: var(--paper); }
nav.scrolled .nav-menu-btn { color: var(--ink); }
.nav-menu-btn:hover { background: rgba(0,0,0,0.08); }
nav.scrolled .nav-menu-btn:hover { background: var(--rule); }
.nav-menu-btn-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-menu-open .nav-menu-btn-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-menu-open .nav-menu-btn-line:nth-child(2) { opacity: 0; }
body.nav-menu-open .nav-menu-btn-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
body.nav-menu-open .nav-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.nav-menu-open { overflow: hidden; }
body.nav-menu-open #main-nav { z-index: 1001; }
.nav-menu-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-top: 88px;
}
.nav-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nav-menu-links a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 24px;
  transition: color 0.2s;
}
.nav-menu-links a:hover { color: var(--ink-secondary); }
.nav-menu-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 32px;
  margin-top: auto;
  border-top: 1px solid var(--rule);
}
.nav-menu-footer a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-menu-footer a:hover { color: var(--ink); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: var(--hero-bg);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  /* Promote to compositor layer so Safari doesn't discard/recomposite on scroll-back (avoids hard-line flash) */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px);
}
/* Legacy mock UI zones — hide them in the new layout */
.hero-screens,
.hero-product-zone,
.hero-org-zone { display: none !important; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 720px;
}
.hero-title em { font-style: italic; color: rgba(248,246,241,0.4); letter-spacing: 0; }
.hero-subtitle {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(248,246,241,0.55);
  max-width: 600px;
  margin-bottom: 56px;
  font-weight: 300;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(248,246,241,0.08);
}
.hero-meta-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.3);
  margin-bottom: 6px;
}
.hero-meta-value {
  font-size: 14px;
  color: rgba(248,246,241,0.7);
  font-weight: 300;
  line-height: 1.5;
}
.scroll-indicator { display: none; }
.scroll-line { display: none; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container { max-width: 800px; margin: 0 auto; padding: 0 48px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* ── INTRO STRIP ─────────────────────────────────────────────── */
.intro-strip { background: var(--ink); padding: 72px 0; }
.intro-strip .container {
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.intro-pitch {
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  line-height: 1.45;
  color: var(--paper);
  font-weight: 700;
}
.intro-pitch em { font-style: italic; color: rgba(248,246,241,0.5); }
.intro-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.intro-meta-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.5);
  margin-bottom: 6px;
}
.intro-meta-value {
  font-size: 14px;
  color: var(--paper);
  line-height: 1.5;
  font-weight: 300;
}

/* ── IMPACT ──────────────────────────────────────────────────── */
.impact-section {
  background: var(--paper-warm);
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.impact-section .container-wide {
  max-width: 800px;
}
.impact-section.impact-cols-3 .container-wide {
  max-width: 960px;
}
.impact-section.impact-cols-3 .impact-grid {
  grid-template-columns: repeat(3, 1fr);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.impact-cell { position: relative; background: var(--paper); padding: 40px 36px; }
.impact-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0,0,0,0.06);
}
.impact-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 52px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.impact-number .impact-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.15em;
  flex-shrink: 0;
}
.impact-number .impact-arrow svg {
  width: 0.8em;
  height: 0.8em;
  display: block;
}
.impact-label { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.impact-desc { font-size: 13px; color: var(--ink-tertiary); line-height: 1.6; }

/* ── SECTION LABEL ───────────────────────────────────────────── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

/* ── BODY SECTIONS ───────────────────────────────────────────── */
.body-section {
  padding: 96px 0;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--rule);
}
.body-section:last-of-type { border-bottom: none; }
.body-section.bg-warm .container {
  margin-top: 121px;
  margin-bottom: 121px;
}

h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
p {
  color: var(--ink-secondary);
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}
p:last-child { margin-bottom: 0; }

ul.styled {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul.styled li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--ink-secondary);
  font-weight: 300;
  line-height: 1.7;
}
ul.styled li::before {
  content: '—';
  color: var(--accent);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.7;
}

/* ── CALLOUT ─────────────────────────────────────────────────── */
.callout {
  background: var(--paper-warm);
  border-left: 3px solid var(--accent);
  padding: 28px 32px;
  margin: 40px 0;
  border-radius: 0 4px 4px 0;
}
.body-section.bg-warm .callout {
  background: var(--paper);
}
.callout p {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  font-weight: 700;
}
.callout p em { font-style: italic; font-weight: 700; color: var(--accent); }

/* ── SCREENSHOT FRAMES ───────────────────────────────────────── */
.screenshot-frame {
  margin: 48px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid var(--rule);
}
/* Break out to 1200px wide, centered in viewport; height follows aspect ratio */
.body-section .screenshot-frame {
  width: 1200px;
  max-width: calc(100vw - 96px);
  /* Center in container: 50% is content width (704px with padding); +48px corrects so we center in 800px */
  margin-left: calc(50% - 600px + 48px);
  margin-right: calc(50% - 600px + 48px);
}
.body-section .screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.screenshot-frame img { width: 100%; display: block; }
.screenshot-caption {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  text-align: left;
  margin-top: 8px;
  padding: 0;
}

/* Image placeholder — remove once real screenshots are inserted */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--paper-warm) 0%, #E8E3DA 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.018) 10px, rgba(0,0,0,0.018) 11px);
}
.img-placeholder-icon {
  width: 40px; height: 40px;
  border: 2px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-tertiary);
  font-size: 18px;
}
.img-placeholder-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-tertiary);
  text-align: center;
  max-width: 280px;
  line-height: 1.6;
}

/* ── BEFORE/AFTER COMPARISON BLOCK ──────────────────────────── */
.comparison-block {
  margin: 64px 0;
  background: var(--paper-warm);
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
}
.comparison-block > div {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.comparison-block::before {
  content: 'Before → After';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}
.comparison-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 10px;
  display: inline-flex;
  border-radius: 2px;
}
.comparison-label.before {
  color: var(--ink-secondary);
  border: 1px solid var(--rule);
}
.comparison-label.after {
  color: var(--accent);
  border: 1px solid var(--accent);
  background: var(--accent-subtle);
}
.comparison-img {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
}
.comparison-img img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.comparison-caption {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--ink-tertiary);
  margin-top: 14px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ── WIDE SCREENSHOT STRIP ───────────────────────────────────── */
.screenshot-wide {
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--paper-warm);
}
/* Match content column width (same as .container) when screenshot-wide is standalone */
.screenshot-wide .container-wide {
  max-width: 800px;
  padding: 0 48px;
}
/* When screenshot-wide is inside .container: no extra margin/padding; inner container has no padding so image is full column width */
.container .screenshot-wide {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}
.container .screenshot-wide .container-wide {
  padding: 0;
  max-width: none;
}
.container .screenshot-wide .screenshot-frame img {
  width: 100%;
}
.screenshot-wide .screenshot-frame {
  margin: 0 0 16px;
  /* Contain to content column — do not use body-section breakout */
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ── DECISION CARDS ──────────────────────────────────────────── */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.decision-card {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 28px 28px 28px 24px;
  border-left: 3px solid var(--rule);
  transition: border-left-color 0.2s;
}
.decision-card:hover { border-left-color: var(--accent); }
.decision-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-tertiary);
  margin-bottom: 10px;
}
.decision-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.decision-desc {
  font-size: 14px;
  color: var(--ink-secondary);
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
}

/* ── OUTCOME LIST ────────────────────────────────────────────── */
.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin: 32px 0;
}
.outcome-item {
  background: var(--paper);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.outcome-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.outcome-check::after { content: '✓'; color: white; font-size: 11px; font-weight: 600; }
.outcome-text {
  font-size: 16px;
  color: var(--ink-secondary);
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
}
.outcome-text strong { color: var(--ink); font-weight: 500; }

/* ── NEXT PROJECT FOOTER ─────────────────────────────────────── */
.next-project { background: var(--ink); padding: 96px 0; }
.next-project-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.next-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.3);
  margin-bottom: 16px;
}
.next-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 40px;
  color: var(--paper);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.next-title em { font-style: italic; color: rgba(248,246,241,0.4); }
.next-arrow {
  width: 56px; height: 56px;
  border: 1px solid rgba(248,246,241,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248,246,241,0.5);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.next-arrow svg {
  flex-shrink: 0;
}
.next-arrow:hover {
  border-color: rgba(248,246,241,0.4);
  color: var(--paper);
  transform: translateX(4px);
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────────── */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── SHARED JS (inline in each page) ────────────────────────── */
/* Nav scroll + fade-up observer — copy this into each page:

  const nav = document.getElementById('main-nav');
  window.addEventListener('scroll', () => {
    nav.classList.toggle('scrolled', window.scrollY > 80);
  });
  const observer = new IntersectionObserver((entries) => {
    entries.forEach((entry, i) => {
      if (entry.isIntersecting) {
        setTimeout(() => entry.target.classList.add('visible'), i * 60);
        observer.unobserve(entry.target);
      }
    });
  }, { threshold: 0.1, rootMargin: '0px 0px -40px 0px' });
  document.querySelectorAll('.fade-up').forEach(el => observer.observe(el));
*/

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav .nav-inner { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .hero { padding: 120px 0 56px; }
  .hero-content { padding: 0 24px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
  .container, .container-wide { padding: 0 24px; }
  .intro-strip .container { grid-template-columns: 1fr; gap: 40px; }
  .impact-grid { grid-template-columns: 1fr; }
  .comparison-block { margin: 40px 0; padding: 48px 24px; grid-template-columns: 1fr; }
  .decision-grid { grid-template-columns: 1fr; }
  .screenshot-wide { margin: 0; padding: 0; }
  .screenshot-wide .container-wide { padding: 0 24px; }
  .container .screenshot-wide .container-wide { padding: 0; }
  .body-section { padding: 64px 0; }
  h2 { font-size: 28px; }
  .next-project-inner { flex-direction: column; gap: 32px; align-items: flex-start; }
}
