/* ============================================
   Rwanda AI Works — full landing redesign
   Imigongo-inspired Pan-African modern
   ============================================ */

:root {
  /* Imigongo-derived palette */
  --ink:        #15120E;
  --ink-soft:   #2A2520;
  --bone:       #F2EAD8;
  --bone-deep:  #E6DBC2;
  --paper:      #FBF6EA;
  --terracotta: #C84A2C;
  --terracotta-deep: #9A341E;
  --ochre:      #E0A52E;
  --ochre-deep: #B8821D;
  --emerald:    #1F5E3F;
  --emerald-deep:#143F2A;
  --indigo:     #1B2A4E;

  /* Status colors */
  --st-live:        var(--emerald);
  --st-building:    var(--terracotta);
  --st-collecting:  var(--ochre);
  --st-designing:   var(--indigo);
  --st-researching: #6B4FBB;
  --st-open:        var(--ink-soft);

  --rule: rgba(21,18,14,0.18);
  --rule-strong: rgba(21,18,14,0.55);

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "ss02", "cv11";
  font-optical-sizing: auto;
  font-weight: 420;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--ochre); color: var(--ink); }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--terracotta);
  margin: 0 10px 2px 0;
  vertical-align: middle;
  transform: rotate(45deg);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(48px, 8vw, 132px); line-height: 0.92; letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(36px, 5.4vw, 84px); line-height: 0.95; letter-spacing: -0.03em; }
h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.04; letter-spacing: -0.02em; }
h4 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.15; letter-spacing: -0.01em; }
p  { margin: 0; }

.serif { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.mono  { font-family: var(--font-mono); }

/* ---------- Section frame ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }
.section-pad { padding: clamp(80px, 11vw, 160px) 0; }
.section-pad-sm { padding: clamp(56px, 7vw, 96px) 0; }

/* Section divider — imigongo zigzag band */
.zigzag {
  height: 28px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 28' width='60' height='28'><path d='M0 28 L15 0 L30 28 L45 0 L60 28 Z' fill='%2315120E'/></svg>");
  background-repeat: repeat-x;
  background-size: auto 28px;
}
.zigzag.terra { filter: hue-rotate(0) saturate(1); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 28' width='60' height='28'><path d='M0 28 L15 0 L30 28 L45 0 L60 28 Z' fill='%23C84A2C'/></svg>"); }
.zigzag.bone   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 28' width='60' height='28'><path d='M0 28 L15 0 L30 28 L45 0 L60 28 Z' fill='%23F2EAD8'/></svg>"); }

/* Section number marker */
.section-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.section-num::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--ink);
  transform: rotate(45deg);
  display: inline-block;
}

/* ============================================
   NAV
   ============================================ */
.nav-stripe {
  background: var(--ink);
  color: var(--bone);
  border-bottom: 1px solid rgba(242,234,216,0.12);
}
.nav-stripe-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brandmark {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-icon {
  width: 30px; height: 30px;
  position: relative;
  display: inline-block;
  flex: 0 0 30px;
}
.brand-icon svg { width: 100%; height: 100%; display: block; }
/* Subtle Rwandan-flag accent under the wordmark — blue / yellow / green */
.brand-name { position: relative; padding-bottom: 5px; }
.brand-name::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    #00A1DE 0 33.333%,
    #FAD201 33.333% 66.666%,
    #20603D 66.666% 100%
  );
  border-radius: 1px;
  opacity: 0.85;
}
.brand-sub { color: rgba(242,234,216,0.55); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding-left: 14px; border-left: 1px solid rgba(242,234,216,0.2); }

.nav-links { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,234,216,0.78);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--bone); border-bottom-color: var(--ochre); }
.nav-cta {
  background: var(--terracotta);
  color: var(--bone) !important;
  padding: 10px 16px !important;
  font-weight: 600;
  border: none !important;
  letter-spacing: 0.1em !important;
}
.nav-cta:hover { background: var(--ochre); color: var(--ink) !important; border: none !important; }

/* Pattern band right under nav */
.pattern-band {
  background: var(--ink);
  padding: 0 0 12px;
  overflow: hidden;
}
.pattern-band .strip {
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 18' width='80' height='18'><path d='M0 18 L10 0 L20 18 Z' fill='%23E0A52E'/><path d='M20 18 L30 0 L40 18 Z' fill='%23C84A2C'/><path d='M40 18 L50 0 L60 18 Z' fill='%231F5E3F'/><path d='M60 18 L70 0 L80 18 Z' fill='%23F2EAD8'/></svg>");
  background-repeat: repeat-x;
  background-size: 80px 18px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 130px) 0 clamp(80px, 11vw, 160px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.hero h1 {
  color: var(--bone);
  font-weight: 600;
}
.hero h1 .ki { color: var(--ochre); font-style: italic; font-family: "Newsreader", serif; font-weight: 400; letter-spacing: -0.01em; }
.hero h1 .real { color: var(--terracotta); }
.hero h1 .own { position: relative; display: inline-block; }
.hero h1 .own::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.18em;
  background: var(--emerald);
  z-index: -1;
}
.hero-eyebrow {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 28px;
  color: rgba(242,234,216,0.6);
}
.hero-eyebrow .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(242,234,216,0.18);
  border-radius: 999px;
}
.hero-eyebrow .tag.live { background: var(--emerald); border-color: var(--emerald); color: var(--bone); }
.hero-eyebrow .tag.live::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bone); margin-right: 8px;
  vertical-align: middle; animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-side {
  display: flex; flex-direction: column;
  gap: 24px;
  padding-bottom: 8px;
}
.hero-lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  color: rgba(242,234,216,0.85);
  max-width: 44ch;
}
.hero-lede strong { color: var(--bone); font-weight: 600; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(242,234,216,0.18);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,234,216,0.6);
}
.hero-meta b { color: var(--bone); font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, color .15s;
  letter-spacing: -0.005em;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn .arr { width: 16px; height: 12px; }
.btn-primary { background: var(--terracotta); color: var(--bone); }
.btn-primary:hover { background: var(--ochre); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--bone); border-color: rgba(242,234,216,0.4); }
.btn-ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--terracotta); color: var(--bone); }
.btn-ochre { background: var(--ochre); color: var(--ink); }
.btn-ochre:hover { background: var(--ink); color: var(--bone); }

/* Hero pattern art */
.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' width='120' height='120'><g fill='none' stroke='%23F2EAD8' stroke-width='0.8'><polygon points='60,4 116,60 60,116 4,60'/><polygon points='60,16 104,60 60,104 16,60'/><polygon points='60,28 92,60 60,92 28,60'/><polygon points='60,40 80,60 60,80 40,60'/></g></svg>");
  background-size: 240px 240px;
  background-position: 70% 50%;
  animation: artdrift 60s linear infinite;
}
@keyframes artdrift {
  from { background-position: 70% 50%; }
  to   { background-position: calc(70% + 240px) calc(50% - 240px); }
}
.hero-corner {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 36%;
  background:
    radial-gradient(circle at 70% 30%, rgba(224,165,46,0.18), transparent 60%);
  pointer-events: none;
  animation: cornerpulse 9s ease-in-out infinite;
}
@keyframes cornerpulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* Floating imigongo shapes */
.hero-float {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
.hero-float .shape {
  position: absolute;
  width: 80px; height: 80px;
  display: block;
  opacity: 0.7;
}
.hero-float .shape svg { width: 100%; height: 100%; }
.hero-float .s1 { top: 8%;  left: 4%;  width: 90px;  height: 90px; animation: floatA 14s ease-in-out infinite; }
.hero-float .s2 { top: 22%; right: 8%; width: 70px;  height: 70px; animation: floatB 16s ease-in-out infinite; }
.hero-float .s3 { top: 60%; left: 6%;  width: 110px; height: 110px; animation: floatA 18s ease-in-out infinite reverse; }
.hero-float .s4 { top: 12%; right: 22%; width: 60px;  height: 60px; animation: spin 30s linear infinite; }
.hero-float .s5 { top: 70%; right: 4%; width: 130px; height: 130px; animation: floatB 22s ease-in-out infinite; }
.hero-float .s6 { top: 48%; right: 12%; width: 50px;  height: 50px; animation: floatA 12s ease-in-out infinite; }
.hero-float .s7  { top: 3%;  left: 30%;  width: 70px;  height: 70px;  animation: floatB 20s ease-in-out infinite;        opacity: 0.65; }
.hero-float .s8  { top: 6%;  right: 38%; width: 60px;  height: 60px;  animation: spin 36s linear infinite;                opacity: 0.55; }
.hero-float .s9  { top: 80%; left: 24%;  width: 95px;  height: 95px;  animation: floatA 24s ease-in-out infinite reverse; opacity: 0.65; }
.hero-float .s10 { top: 30%; right: 28%; width: 70px;  height: 70px;  animation: floatA 17s ease-in-out infinite;         opacity: 0.6;  }
.hero-float .s11 { top: 48%; left: 3%;   width: 65px;  height: 65px;  animation: spin 40s linear infinite reverse;        opacity: 0.6;  }
.hero-float .s12 { top: 58%; right: 24%; width: 85px;  height: 85px;  animation: floatB 22s ease-in-out infinite;         opacity: 0.6;  }
.hero-float .s13 { top: 72%; left: 42%;  width: 55px;  height: 55px;  animation: floatA 14s ease-in-out infinite reverse; opacity: 0.55; }
@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(20px, -28px) rotate(20deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-24px, 18px) rotate(-15deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero headline (replaces .hero-grid layout) */
.hero-headline {
  color: var(--bone);
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 28px;
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.hero-headline .ki   { color: var(--ochre); font-style: italic; font-family: "Newsreader", serif; font-weight: 400; letter-spacing: -0.01em; }
.hero-headline .real { color: var(--terracotta); }
.hero-headline .own  { position: relative; display: inline-block; }
.hero-headline .own::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.2em;
  background: var(--emerald);
  z-index: -1;
  animation: underline 5s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes underline {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(0.7); }
}

/* Sector cycler */
.sector-cycler {
  font-family: "Newsreader", serif;
  font-size: clamp(22px, 2.6vw, 36px);
  font-style: italic;
  font-weight: 400;
  color: rgba(242,234,216,0.85);
  margin-bottom: 44px;
  line-height: 1.2;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px;
}
.sector-cycler .cyc-static { color: var(--bone); }
.sector-cycler .cyc-slot {
  position: relative;
  display: inline-block;
  overflow: hidden;
  min-width: 6ch;
  vertical-align: baseline;
  line-height: inherit;
}
.sector-cycler .cyc-item {
  display: inline-block;
  color: var(--ochre);
  font-weight: 500;
  white-space: nowrap;
  opacity: 1;
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.6,.0,.2,1), opacity .55s ease;
}
.sector-cycler .cyc-item.leaving  { opacity: 0; transform: translateY(-110%); }
.sector-cycler .cyc-item.entering { opacity: 0; transform: translateY(110%); transition: none; }

/* Three-column lede */
.hero-lede-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid rgba(242,234,216,0.18);
  border-bottom: 1px solid rgba(242,234,216,0.18);
  padding: 32px 0;
  margin-bottom: 36px;
}
.hero-lede-grid p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: rgba(242,234,216,0.85);
  max-width: 44ch;
}
.hero-lede-grid p strong { color: var(--bone); font-weight: 600; }
.hero-lede-grid p:nth-child(2) {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--bone);
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(242,234,216,0.18);
  padding-bottom: 28px;
}
.hero-stats .stat {
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid rgba(242,234,216,0.18);
  padding-right: 16px;
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats b {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-weight: 600;
  color: var(--bone);
  letter-spacing: -0.03em;
}
.hero-stats .stat:nth-child(1) b { color: var(--ochre); }
.hero-stats .stat:nth-child(3) b { color: var(--terracotta); }
.hero-stats .stat:nth-child(4) b { color: var(--bone); }
.hero-stats span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,234,216,0.6);
}
.hero-stats .stat:nth-child(4) b::before {
  content: "● ";
  font-size: 0.4em;
  vertical-align: middle;
  color: var(--emerald);
  animation: pulse 1.6s ease-in-out infinite;
}

/* Hero marquee at the bottom */
.hero-marquee {
  margin-top: clamp(48px, 6vw, 88px);
  padding: 18px 0;
  border-top: 1px solid rgba(242,234,216,0.18);
  border-bottom: 1px solid rgba(242,234,216,0.18);
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.15);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  padding-left: 40px;
}
.marquee-track .m-item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,234,216,0.72);
  display: inline-flex; align-items: center; gap: 14px;
}
.marquee-track .m-item i {
  color: var(--ochre);
  font-style: normal;
  font-size: 10px;
  transform: rotate(0deg);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }

/* Hero scroll cue */
.hero-foot {
  margin-top: clamp(60px, 8vw, 110px);
  display: flex; justify-content: space-between; gap: 24px; align-items: flex-end;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,234,216,0.55);
  position: relative;
  z-index: 2;
}
.hero-foot .pair { display: inline-flex; gap: 10px; align-items: center; }
.hero-foot .pair b { color: var(--bone); font-weight: 600; }

.hero-banner {
  margin-top: 60px;
  background: var(--terracotta);
  color: var(--bone);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.hero-banner b { color: var(--bone); }
.hero-banner .pill {
  background: var(--ink);
  color: var(--bone);
  padding: 6px 10px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-banner .pill::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--ochre);
}

/* ============================================
   POSITION — built to deploy
   ============================================ */
.position {
  background: var(--bone);
  color: var(--ink);
}
.position-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: 64px; }
.position h2 { max-width: 14ch; }
.position h2 em { font-style: italic; font-family: "Newsreader", serif; font-weight: 400; color: var(--terracotta); }
.position-lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 52ch; }
.position-lede .pull { font-family: "Newsreader", serif; font-style: italic; font-size: 1.1em; color: var(--ink); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  margin-top: 24px;
}
.compare-col { background: var(--paper); padding: clamp(28px, 3vw, 44px); position: relative; }
.compare-col.ours { background: var(--ink); color: var(--bone); }
.compare-col h4 { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 500; margin-bottom: 6px; }
.compare-col .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin-bottom: 28px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li { padding: 14px 0; border-bottom: 1px dashed currentColor; opacity: 0.95; font-size: 17px; }
.compare-col li:last-child { border-bottom: none; }
.compare-col.ours li { border-bottom-color: rgba(242,234,216,0.2); }
.compare-col li b { color: var(--terracotta); font-weight: 600; }
.compare-col.ours li b { color: var(--ochre); }

.compare-foot {
  margin-top: 36px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.compare-foot .quote { max-width: 60ch; font-size: 18px; line-height: 1.5; font-family: "Newsreader", serif; font-style: italic; }
.compare-foot .quote::before { content: "—  "; }
.compare-foot .sig { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

/* ============================================
   BUILDING BLOCKS
   ============================================ */
.blocks {
  background: var(--paper);
  color: var(--ink);
}
.blocks-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: 64px; }
.blocks h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--terracotta); }
.blocks-lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 52ch; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legend .item { display: inline-flex; align-items: center; gap: 8px; }
.legend .swatch { width: 12px; height: 12px; display: inline-block; }

.block-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.block-card {
  grid-column: span 3;
  background: var(--bone);
  border: 1px solid var(--ink);
  padding: 22px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 320px;
  cursor: pointer;
  transition: transform .18s, background .18s;
}
.block-card:hover { transform: translate(-3px, -3px); }
.block-card .corner {
  position: absolute;
  top: 0; right: 0;
  width: 28px; height: 28px;
  background: var(--ink);
}
.block-card .corner::before, .block-card .corner::after {
  content: "";
  position: absolute;
  background: var(--bone);
}
.block-card .corner::before { top: 50%; left: 5px; right: 5px; height: 1px; transform: translateY(-50%); }
.block-card .corner::after  { left: 50%; top: 5px; bottom: 5px; width: 1px; transform: translateX(-50%); }

.block-card.live      { background: var(--emerald); color: var(--bone); border-color: var(--emerald-deep); }
.block-card.live .corner { background: var(--ochre); }
.block-card.live .corner::before, .block-card.live .corner::after { background: var(--emerald); }

.block-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
}
.block-status .dot { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); display: inline-block; }
.block-card .glyph {
  width: 56px; height: 56px;
  margin: 8px 0 22px;
}
.block-card .glyph svg { width: 100%; height: 100%; display: block; }
.block-card h3 { font-size: 22px; line-height: 1.1; margin-bottom: 10px; }
.block-card p { font-size: 13.5px; line-height: 1.45; opacity: 0.85; }
.block-card .stamp {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  border-top: 1px dashed currentColor;
}

/* Interactive highlight states */
.block-card.dim   { opacity: 0.22; transform: none; }
.block-card.glow  { box-shadow: 8px 8px 0 var(--terracotta); }
.block-card.live.glow { box-shadow: 8px 8px 0 var(--ochre); }

.blocks-foot { margin-top: 36px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ============================================
   CONVERGENCE
   ============================================ */
.converge {
  background: var(--ink);
  color: var(--bone);
}
.converge-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: 64px; }
.converge h2 { color: var(--bone); }
.converge h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--ochre); }
.converge-lede { color: rgba(242,234,216,0.8); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 52ch; }

.converge-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(242,234,216,0.2);
}
.converge-row:last-child { border-bottom: 1px solid rgba(242,234,216,0.2); }
.converge-row > * { padding: clamp(32px, 4vw, 56px); }
.converge-info {
  display: flex; flex-direction: column;
  gap: 20px;
  border-right: 1px solid rgba(242,234,216,0.2);
}
.converge-info .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242,234,216,0.5);
}
.converge-info h3 { color: var(--bone); font-size: clamp(28px, 3vw, 40px); }
.converge-info .tagline { font-family: "Newsreader", serif; font-style: italic; font-size: clamp(17px, 1.6vw, 22px); color: var(--ochre); line-height: 1.3; }
.converge-info p { color: rgba(242,234,216,0.8); font-size: 16px; line-height: 1.55; max-width: 58ch; }
.converge-status { display: inline-flex; padding: 4px 10px; background: var(--ochre); color: var(--ink); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; align-self: flex-start; }

.converge-fuse {
  margin-top: 14px;
  display: flex; flex-wrap: wrap;
  gap: 8px;
}
.fuse-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid rgba(242,234,216,0.3);
  color: rgba(242,234,216,0.85);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.fuse-chip:hover { background: var(--ochre); color: var(--ink); border-color: var(--ochre); }
.fuse-chip .d { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }

/* Fusion diagram */
.fuse-diagram {
  background: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.fuse-diagram svg { width: 100%; height: 100%; max-height: 480px; display: block; }
.fuse-diagram .label { position: absolute; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,234,216,0.6); }
.fuse-diagram .label.tl { top: 18px; left: 18px; }
.fuse-diagram .label.br { bottom: 18px; right: 18px; }

/* Highlight blocks when product hovered */
.block-card.fused { box-shadow: 8px 8px 0 var(--ochre); }
.converge-row.glow .converge-info h3 { color: var(--ochre); }

/* ============================================
   ENGINEERS not PhDs
   ============================================ */
.engineers {
  background: var(--terracotta);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.engineers .wrap { position: relative; z-index: 2; }
.engineers h2 { color: var(--bone); font-size: clamp(48px, 8vw, 144px); line-height: 0.9; max-width: 14ch; }
.engineers h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--ochre); }
.engineers h2 .strike { text-decoration: line-through; text-decoration-thickness: 8px; text-decoration-color: var(--ink); opacity: 0.5; }

.engineers-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px); margin-top: 56px; }
.engineers-body p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; }
.engineers-body p + p { margin-top: 18px; }
.engineers .pull {
  margin-top: 56px;
  padding: 36px;
  border-top: 1px solid rgba(242,234,216,0.3);
  border-bottom: 1px solid rgba(242,234,216,0.3);
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.engineers-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='80' height='80'><path d='M0 80 L40 0 L80 80 Z' fill='%2315120E'/><path d='M20 80 L40 40 L60 80 Z' fill='%23F2EAD8'/></svg>");
  background-size: 120px 120px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  background: var(--bone);
  color: var(--ink);
}
.how-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 80px); margin-bottom: 56px; align-items: end; }
.how h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--terracotta); }
.how-lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 52ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
}
.step {
  padding: 32px;
  position: relative;
  background: var(--paper);
  border-right: 1px solid var(--ink);
  min-height: 320px;
  display: flex; flex-direction: column;
}
.step:last-child { border-right: none; }
.step .n {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.9;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 16px;
}
.step h4 { font-size: 22px; margin-bottom: 10px; }
.step p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.step:nth-child(2) .n { color: var(--ochre); }
.step:nth-child(3) .n { color: var(--emerald); }
.step:nth-child(4) .n { color: var(--indigo); }

/* ============================================
   BACKLOG
   ============================================ */
.backlog {
  background: var(--paper);
  color: var(--ink);
}
.backlog-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 80px); margin-bottom: 56px; align-items: end; }
.backlog h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--terracotta); }
.backlog-lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 52ch; }

.backlog-key {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.backlog-key .k { display: inline-flex; align-items: center; gap: 8px; }
.backlog-key .k .s { width: 22px; height: 6px; }

/* Sector filter tabs */
.sector-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.sector-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 14px;
  background: var(--bone);
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex; gap: 8px; align-items: center;
  transition: background .15s, color .15s;
}
.sector-tab .ct { color: var(--ink-soft); }
.sector-tab.active, .sector-tab:hover { background: var(--ink); color: var(--bone); }
.sector-tab.active .ct, .sector-tab:hover .ct { color: var(--ochre); }

.sector { padding-top: 24px; }
.sector-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.sector-head h3 { font-size: clamp(28px, 3vw, 40px); }
.sector-head .ct { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.problem-card {
  background: var(--bone);
  border: 1px solid var(--ink);
  padding: 24px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .15s;
}
.problem-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.problem-card .pstatus {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  align-self: flex-start;
  margin-bottom: 14px;
}
.pstatus.soon  { background: var(--emerald); color: var(--bone); }
.pstatus.form  { background: var(--ochre); color: var(--ink); }
.pstatus.long  { background: var(--ink); color: var(--bone); }
.problem-card h4 { font-size: 19px; line-height: 1.15; margin-bottom: 12px; max-width: 30ch; }
.problem-card .wif { font-family: "Newsreader", serif; font-style: italic; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); margin-bottom: 16px; }
.problem-card .how-it { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); display: none; }
.problem-card.open .how-it { display: block; padding-top: 14px; border-top: 1px dashed var(--rule-strong); margin-bottom: 16px; }
.problem-card .blockset { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 5px; }
.problem-card .blockset .b { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 6px; background: var(--paper); border: 1px solid var(--rule-strong); color: var(--ink-soft); }
.problem-card .expand {
  position: absolute; top: 14px; right: 14px;
  width: 24px; height: 24px;
  background: var(--paper);
  border: 1px solid var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 0;
}
.problem-card.open .expand::before { content: "−"; }
.problem-card .expand::before { content: "+"; }

/* ============================================
   FOUNDATIONS
   ============================================ */
.foundations {
  background: var(--emerald);
  color: var(--bone);
}
.foundations-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 80px); margin-bottom: 56px; align-items: end; }
.foundations h2 { color: var(--bone); }
.foundations h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--ochre); }
.foundations-lede { color: rgba(242,234,216,0.85); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 52ch; }

.found-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid rgba(242,234,216,0.25);
}
.found {
  padding: 28px 24px;
  border-right: 1px solid rgba(242,234,216,0.25);
  display: flex; flex-direction: column;
  min-height: 280px;
}
.found:last-child { border-right: none; }
.found .fst { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; padding: 3px 8px; background: var(--ochre); color: var(--ink); align-self: flex-start; }
.found .fst.concept { background: rgba(242,234,216,0.18); color: var(--bone); }
.found h4 { font-size: 18px; line-height: 1.15; margin-bottom: 14px; color: var(--bone); }
.found p { font-size: 13.5px; line-height: 1.5; color: rgba(242,234,216,0.8); }

.scribe-callout {
  margin-top: 40px;
  padding: 32px;
  background: var(--ochre);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
}
.scribe-callout h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.scribe-callout p { font-size: 15px; max-width: 56ch; }
.scribe-callout .stag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 10px; background: var(--emerald); color: var(--bone); display: inline-block; margin-bottom: 14px; }

/* ============================================
   APPROACH
   ============================================ */
.approach {
  background: var(--bone);
  color: var(--ink);
}
.approach-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 80px); margin-bottom: 56px; align-items: end; }
.approach h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--terracotta); }
.approach-lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 52ch; }

.principles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.principle {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 24px;
  min-height: 280px;
  display: flex; flex-direction: column;
  position: relative;
}
.principle .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--terracotta); margin-bottom: 16px; }
.principle h4 { font-size: 20px; margin-bottom: 12px; max-width: 12ch; }
.principle p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.principle .glyph { margin-top: auto; padding-top: 16px; }
.principle .glyph svg { width: 40px; height: 40px; display: block; }

.flywheel {
  margin-top: 40px;
  padding: 32px;
  background: var(--ink);
  color: var(--bone);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
}
.flywheel h3 { color: var(--bone); margin-bottom: 8px; }
.flywheel p { font-size: 16px; line-height: 1.5; max-width: 56ch; color: rgba(242,234,216,0.85); }
.flywheel-glyph { width: 100px; height: 100px; }

/* ============================================
   AUDIENCES
   ============================================ */
.audiences {
  background: var(--indigo);
  color: var(--bone);
}
.audiences h2 { color: var(--bone); }
.audiences h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--ochre); }
.aud-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 80px); margin-bottom: 56px; align-items: end; }
.aud-lede { color: rgba(242,234,216,0.85); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 52ch; }

.aud-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
}
.aud {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--ink);
  display: flex; flex-direction: column;
  gap: 20px;
}
.aud.primary { background: var(--ochre); }
.aud .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.aud .lab .star { color: var(--terracotta); font-weight: 700; margin-left: 6px; }
.aud h3 { font-size: clamp(28px, 3vw, 40px); }
.aud h3 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--terracotta); }
.aud .summary { font-size: 16px; line-height: 1.5; max-width: 48ch; }
.aud ul { list-style: none; padding: 0; margin: 0; }
.aud li {
  padding: 12px 0;
  border-top: 1px dashed var(--rule-strong);
  font-size: 15px;
  display: flex; align-items: center; gap: 10px;
}
.aud li::before { content: ""; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); flex: 0 0 10px; }
.aud li:last-child { border-bottom: 1px dashed var(--rule-strong); }
.aud .cta { align-self: flex-start; margin-top: 12px; }

/* ============================================
   FORM
   ============================================ */
.partner {
  background: var(--paper);
  color: var(--ink);
}
.partner-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 80px); margin-bottom: 48px; align-items: end; }
.partner h2 em { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; color: var(--terracotta); }
.partner-lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 52ch; }

.form-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
form.partner-form {
  background: var(--bone);
  border: 1px solid var(--ink);
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
form.partner-form .full { grid-column: 1 / -1; }
form.partner-form label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
form.partner-form input,
form.partner-form select,
form.partner-form textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  color: var(--ink);
  resize: vertical;
}
form.partner-form textarea { min-height: 120px; }
form.partner-form input:focus,
form.partner-form select:focus,
form.partner-form textarea:focus { outline: 2px solid var(--terracotta); outline-offset: -1px; }
form.partner-form .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
form.partner-form button { justify-self: start; }

.aside-pic {
  background: var(--ink);
  color: var(--bone);
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 18px;
  position: relative; overflow: hidden;
}
.aside-pic .ph {
  height: 320px;
  background:
    repeating-linear-gradient(45deg, rgba(242,234,216,0.06) 0 14px, transparent 14px 28px),
    var(--ink-soft);
  border: 1px dashed rgba(242,234,216,0.3);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,234,216,0.6);
  padding: 24px;
  overflow: hidden;
}
.aside-pic .ph.has-img {
  background: none;
  border: none;
  padding: 0;
}
.aside-pic .ph.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.aside-pic h4 { color: var(--bone); }
.aside-pic p { color: rgba(242,234,216,0.8); font-size: 14px; line-height: 1.5; }
.aside-pic .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(60px, 7vw, 96px) 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
}
.foot-grid h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,234,216,0.55); margin: 0 0 16px; font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { padding: 6px 0; font-size: 15px; color: rgba(242,234,216,0.85); }
.foot-grid li a:hover { color: var(--ochre); }
.foot-intro p { font-size: 15px; line-height: 1.55; color: rgba(242,234,216,0.78); max-width: 38ch; }
.foot-bot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(242,234,216,0.15);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,234,216,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

/* ============================================
   IMG PLACEHOLDERS (for AI-generated imagery)
   ============================================ */
.img-ph {
  background:
    repeating-linear-gradient(45deg, rgba(21,18,14,0.06) 0 14px, transparent 14px 28px),
    var(--bone-deep);
  border: 1px dashed var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
}
.img-ph.dark {
  background:
    repeating-linear-gradient(45deg, rgba(242,234,216,0.06) 0 14px, transparent 14px 28px),
    var(--ink-soft);
  border-color: rgba(242,234,216,0.3);
  color: rgba(242,234,216,0.7);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .block-card { grid-column: span 4; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .found-grid, .principles { grid-template-columns: repeat(2, 1fr); }
  .found, .principle { border-right: 1px solid rgba(242,234,216,0.25); border-bottom: 1px solid rgba(242,234,216,0.25); }
  .principle { border-color: var(--ink); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--ink); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-grid, .position-head, .blocks-head, .converge-head, .how-head, .backlog-head, .foundations-head, .approach-head, .aud-head, .partner-head { grid-template-columns: 1fr; }
  .hero-lede-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: none; }
  .hero-float .shape { display: none; }
  .hero-float .s1, .hero-float .s5 { display: block; opacity: 0.35; }
  .converge-row { grid-template-columns: 1fr; }
  .converge-info { border-right: none; border-bottom: 1px solid rgba(242,234,216,0.2); }
  .compare { grid-template-columns: 1fr; }
  .block-card { grid-column: span 6; }
  .problem-grid { grid-template-columns: 1fr; }
  .aud-grid, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--ink); }
  .step:last-child { border-bottom: none; }
  .found-grid, .principles { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .scribe-callout, .flywheel { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .block-card { grid-column: span 12; }
}

/* ============================================
   SCROLL REVEALS — classy, slow, expo-out.
   Wave-staggered via --rd custom property set in JS.
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.rev-head {
  transform: translateY(52px);
}
.reveal.rev-head.in {
  transform: translateY(0);
}
.reveal.rev-card {
  transform: translateY(28px) scale(0.985);
}
.reveal.rev-card.in {
  transform: translateY(0) scale(1);
}

/* ============================================
   REDUCED MOTION — kill all decorative motion.
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.rev-head,
  .reveal.rev-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Hero motion */
  .hero-art,
  .hero-corner,
  .hero-float .shape,
  .marquee-track {
    animation: none !important;
  }
  /* Sector cycler — keep visible without animating */
  .sector-cycler .cyc-item {
    transition: none !important;
  }
  /* Underline breathe, any other looping decoration */
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
