/* ============================================================
   CPH Chemicals — A.I. Roadmap
   Editorial / industrial. Charcoal + cream + molten amber.
   ============================================================ */

:root {
  /* palette */
  --bg:        #0E0D0B;
  --bg-elev:   #161410;
  --bg-paper:  #F4EFE6;
  --ink:       #F4EFE6;
  --ink-soft:  #C9C2B6;
  --ink-muted: #8E867A;
  --ink-deep:  #1A1815;
  --rule:      #2A2620;
  --rule-light:#D9D2C5;

  --amber:     #E85D2C;
  --amber-soft:#F0A36B;
  --amber-deep:#B23E14;
  --teal:      #2C7A7B;
  --violet:    #7C5CFF;
  --steel:     #4A5563;

  /* type */
  --display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans:    'Switzer', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --maxw:     1280px;
  --gutter:   clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(5rem, 10vw, 9rem);
}

/* ─── reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* helpers */
.mono { font-family: var(--mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 400; }
em { font-family: var(--display); font-style: italic; font-weight: 400; }
.amber { color: var(--amber); }
.violet { color: var(--violet); }

/* ============================================================
   TOP RAIL
   ============================================================ */
.rail {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem var(--gutter);
  background: rgba(14,13,11,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.rail__brand { display: flex; align-items: baseline; gap: .65rem; }
.rail__mark {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: .03em;
  color: var(--ink);
}
.rail__div { color: var(--ink-muted); }
.rail__doc {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.rail__nav { display: flex; gap: 1.4rem; }
.rail__nav a {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; gap: .45rem; align-items: baseline;
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.rail__nav a:hover { color: var(--amber); border-color: var(--amber); }
.rail__nav .num { color: var(--amber); }
@media (max-width: 980px) { .rail__nav { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem var(--gutter) 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 70% 35%, rgba(232,93,44,.18), transparent 70%),
    radial-gradient(50% 60% at 20% 80%, rgba(44,122,123,.12), transparent 70%),
    linear-gradient(180deg, #0a0907 0%, #110f0c 50%, #0a0907 100%),
    url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=1920&q=80') center / cover no-repeat;
  background-blend-mode: normal, normal, multiply, luminosity;
  opacity: .92;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,.55) 0%, rgba(14,13,11,.85) 80%, var(--bg) 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); width: 100%;
  margin-inline: auto;
  display: grid; gap: 2.4rem;
}
.hero__meta { display: flex; gap: 1.25rem; align-items: center; }
.hero__meta span { color: var(--ink-soft); }
.hero__meta span + span::before {
  content: ''; display: inline-block; width: 1.4rem; height: 1px;
  background: var(--amber); margin-right: 1.25rem; vertical-align: middle;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: -.018em;
  margin: 0;
  max-width: 17ch;
  color: var(--ink);
}
.hero__title em { color: var(--ink-soft); }
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--ink-soft);
  margin: 0;
}
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__strip {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.1rem;
}
.hero__strip .dot { color: var(--amber); }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 1.6rem;
  color: var(--ink-muted);
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge {
  0%,100% { transform: translateY(0); opacity: .55; }
  50%     { transform: translateY(6px); opacity: 1; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.35rem;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--amber {
  background: var(--amber); color: #100a07; border-color: var(--amber);
}
.btn--amber:hover { background: var(--amber-soft); border-color: var(--amber-soft); }
.btn--ghost { color: var(--ink-soft); border-color: rgba(255,255,255,.25); }
.btn--ghost:hover { color: var(--amber); border-color: var(--amber); }
.btn--lg { padding: 1.1rem 1.7rem; font-size: .82rem; }

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  max-width: 100%;
}
.section > .section__head,
.section > *:not(.thesis-spread):not(.layers-intro):not(.scaling-grid):not(.curve):not(.cases):not(.filter):not(.layer1__foot):not(.pillar):not(.stitch):not(.l3-examples):not(.l3-foot):not(.quiz):not(.roadmap) {
  /* default container width handled per element */
}
.section__head { max-width: var(--maxw); margin: 0 auto 4rem; }
.section__no {
  display: inline-block;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--amber);
  margin-bottom: 2.2rem;
  color: var(--amber);
}
.section__no--dark { color: var(--amber-deep); border-color: var(--amber-deep); }
.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.012em;
  margin: 0 0 1.6rem;
  max-width: 24ch;
}
.section__title em { color: var(--ink-muted); }
.section__title--dark { color: var(--ink-deep); }
.section__title--dark em { color: var(--steel); }
.section__lede {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 64ch;
  color: var(--ink-soft);
  margin: 0;
}
.section__lede--dark { color: #514a3d; }
.section__lede a { color: var(--amber); border-bottom: 1px solid currentColor; }

/* paper section (light) */
.section--paper {
  background: var(--bg-paper);
  color: var(--ink-deep);
}
.section--paper .section__lede { color: #514a3d; }
.section--paper .mono { color: #6b6253; }

/* ============================================================
   01 — THESIS / DETERMINISTIC vs NON-DETERMINISTIC
   ============================================================ */
.thesis-spread {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 80%);
}
.thesis-col {
  padding: 3.2rem 2.6rem 3.4rem;
  position: relative;
}
.thesis-col--left {
  border-right: 1px dashed var(--rule);
  background:
    repeating-linear-gradient(0deg, rgba(74,85,99,.05) 0 1px, transparent 1px 8px),
    transparent;
}
.thesis-col--right {
  background:
    radial-gradient(circle at 30% 20%, rgba(232,93,44,.05), transparent 60%),
    transparent;
}
.thesis-col__chip {
  display: inline-block;
  padding: .35rem .7rem;
  border: 1px solid var(--steel);
  color: var(--steel);
  margin-bottom: 2rem;
}
.thesis-col__chip--amber {
  border-color: var(--amber);
  color: var(--amber);
}
.thesis-col__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 .35rem;
  letter-spacing: -.01em;
}
.thesis-col__sub {
  color: var(--ink-muted);
  margin: 0 0 1.8rem;
  font-size: 1rem;
}
.thesis-col__rule {
  height: 2px; width: 56px;
  background: var(--steel);
  margin-bottom: 1.6rem;
}
.thesis-col__rule--amber { background: var(--amber); }

.thesis-list {
  display: grid;
  grid-template-columns: 11ch 1fr;
  gap: .7rem 1.4rem;
  margin: 0 0 2rem;
}
.thesis-list dt {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: .25rem;
}
.thesis-list dd {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  border-bottom: 1px dotted var(--rule);
  padding-bottom: .7rem;
  color: var(--ink-soft);
}
.thesis-col__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--ink);
  border-left: 2px solid var(--steel);
  padding: .35rem 0 .35rem 1.1rem;
  margin: 0;
}
.thesis-col__quote--amber { border-left-color: var(--amber); }

.thesis-vs {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.thesis-vs::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, var(--amber), transparent);
  opacity: .35;
  width: 1px; left: 50%; transform: translateX(-50%);
}
.thesis-vs span {
  background: var(--bg);
  padding: .4rem 0;
  color: var(--amber);
  position: relative;
}

@media (max-width: 880px) {
  .thesis-spread { grid-template-columns: 1fr; }
  .thesis-col--left { border-right: 0; border-bottom: 1px dashed var(--rule); }
  .thesis-vs { display: none; }
}

.thesis-bridge {
  max-width: 60ch; margin: 4.5rem auto 4rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--ink-soft);
}

/* layers preview */
.layers-intro { max-width: var(--maxw); margin: 0 auto; }
.layers-intro__head {
  text-align: center; margin-bottom: 1.6rem;
}
.layers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.layer-card {
  display: block;
  padding: 2rem 1.8rem 1.6rem;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  position: relative;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.layer-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--steel);
  transition: background .35s ease;
}
.layer-card[data-tone="teal"]::before   { background: var(--teal); }
.layer-card[data-tone="amber"]::before  { background: var(--amber); }
.layer-card[data-tone="violet"]::before { background: var(--violet); }
.layer-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-muted);
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}
.layer-card__no {
  font-size: .9rem;
  letter-spacing: .14em;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.layer-card__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
  margin: 0 0 .8rem;
}
.layer-card__sub {
  color: var(--ink-soft);
  font-size: .98rem;
  margin: 0 0 1.6rem;
}
.layer-card__cta { color: var(--ink); }
@media (max-width: 880px) {
  .layers-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   02 — SCALING (paper)
   ============================================================ */
.scaling-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.scaling-card {
  background: #FFFCF6;
  border: 1px solid var(--rule-light);
  padding: 2.6rem 2.2rem;
  position: relative;
}
.scaling-card--amber {
  background: #FFF1E6;
  border-color: var(--amber);
}
.scaling-card__chip {
  display: inline-block;
  padding: .35rem .65rem;
  border: 1px solid currentColor;
  color: var(--steel);
  margin-bottom: 1.6rem;
}
.scaling-card--amber .scaling-card__chip { color: var(--amber-deep); }
.scaling-card__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 1.2rem;
  color: var(--ink-deep);
}
.scaling-card p {
  color: #4a4337;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.scaling-card__foot {
  border-top: 1px solid var(--rule-light);
  padding-top: 1rem;
  font-style: italic;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink-deep);
}
@media (max-width: 760px) { .scaling-grid { grid-template-columns: 1fr; } }

.curve {
  max-width: 880px; margin: 4rem auto 0;
  text-align: center;
}
.curve__svg { width: 100%; height: auto; }
.curve__lab { font-family: 'JetBrains Mono', monospace; font-size: 12px; fill: #6b6253; letter-spacing: .12em; text-transform: uppercase; }
.curve__lab--amber { fill: var(--amber-deep); }
.curve__lab--steel { fill: var(--steel); }
.curve figcaption { margin-top: .8rem; }

/* ============================================================
   03 — LAYER 1
   ============================================================ */
.section--layer1 { background: linear-gradient(180deg, var(--bg) 0%, #100e0b 100%); }

/* role filter */
.filter {
  max-width: var(--maxw); margin: 0 auto 2.4rem;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.filter__chip {
  padding: .55rem 1rem;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.filter__chip:hover { color: var(--amber); border-color: var(--amber); }
.filter__chip.is-active {
  background: var(--amber); color: #100a07; border-color: var(--amber);
}

/* cases grid */
.cases {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.case {
  background: var(--bg-elev);
  padding: 1.8rem 1.7rem;
  display: flex; flex-direction: column; gap: .7rem;
  transition: background .25s ease;
}
.case[data-hidden="true"] { display: none; }
.case:hover { background: #1d1a15; }
.case__no {
  font-size: 1.4rem;
  font-family: var(--display);
  color: var(--amber);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}
.case__role {
  color: var(--ink-muted);
  font-size: .65rem;
}
.case h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.18;
  margin: .2rem 0 .2rem;
  color: var(--ink);
}
.case p {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.55;
  margin: 0 0 .6rem;
}
.case__prompt {
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.55;
  color: var(--amber-soft);
  background: rgba(232,93,44,.06);
  border-left: 2px solid var(--amber);
  padding: .8rem 1rem;
  display: block;
  white-space: normal;
  margin-top: auto;
}
.case__prompt em { color: var(--ink); font-style: italic; }

.layer1__foot {
  max-width: var(--maxw); margin: 2.6rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  text-align: left;
  letter-spacing: .12em;
  color: var(--ink-soft);
  font-size: .78rem;
  line-height: 1.7;
}

/* ============================================================
   04 — LAYER 2 / PILLARS
   ============================================================ */
.pillar {
  max-width: var(--maxw); margin: 0 auto 5rem;
  border-top: 1px solid var(--rule);
  padding-top: 4rem;
}
.pillar:first-of-type { border-top: 0; padding-top: 0; }

.pillar__head { max-width: 70ch; margin-bottom: 2.6rem; }
.pillar__chip {
  display: inline-block;
  padding: .4rem .7rem;
  border: 1px solid var(--amber);
  color: var(--amber);
  margin-bottom: 1.4rem;
}
.pillar__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.pillar__title em { color: var(--ink-muted); }
.pillar__lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0;
  max-width: 64ch;
}

/* old vs new */
.oldnew {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  margin-bottom: 2.4rem;
}
.oldnew__col {
  padding: 2rem 1.9rem;
}
.oldnew__col--old {
  background: linear-gradient(180deg, rgba(74,85,99,.06), transparent);
  border-right: 1px dashed var(--rule);
}
.oldnew__col--new {
  background: linear-gradient(180deg, rgba(232,93,44,.06), transparent);
}
.oldnew__chip {
  display: inline-block;
  padding: .35rem .65rem;
  border: 1px solid var(--steel);
  color: var(--steel);
  margin-bottom: 1.4rem;
}
.oldnew__chip--amber { border-color: var(--amber); color: var(--amber); }
.oldnew__col h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 1.4rem;
  color: var(--ink);
}
.oldnew__col--old h4 { color: var(--ink-soft); }
.oldnew__col ul {
  list-style: none; padding: 0; margin: 0;
}
.oldnew__col li {
  padding: .6rem 0;
  border-bottom: 1px dotted var(--rule);
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  font-size: .96rem;
  color: var(--ink-soft);
}
.oldnew__col li:last-child { border-bottom: 0; }
.oldnew__col li .mono { color: var(--ink-muted); }
@media (max-width: 760px) {
  .oldnew { grid-template-columns: 1fr; }
  .oldnew__col--old { border-right: 0; border-bottom: 1px dashed var(--rule); }
}

/* tools */
.tools {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.tool {
  background: var(--bg-elev);
  padding: 1.8rem 1.6rem;
}
.tool__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -.005em;
  color: var(--amber);
  margin-bottom: .35rem;
}
.tool__role {
  color: var(--ink-muted);
  margin-bottom: .9rem;
}
.tool p { color: var(--ink-soft); font-size: .96rem; line-height: 1.55; margin: 0; }

@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } }

.tools__foot {
  margin-top: .85rem;
  font-size: .68rem;
  color: var(--ink-muted);
}
.tools__foot a { color: var(--amber); border-bottom: 1px solid currentColor; }

/* stitching diagram */
.stitch {
  max-width: 980px; margin: 4rem auto 0;
  border: 1px solid var(--rule);
  padding: 2rem 2rem 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent);
}
.stitch figcaption { text-align: center; margin-bottom: 1.2rem; }
.stitch__svg { width: 100%; height: auto; }
.stitch__lab { font-family: 'JetBrains Mono', monospace; font-size: 12px; fill: var(--ink); letter-spacing: .14em; }
.stitch__lab--amber { fill: var(--amber); }
.stitch__sub  { font-family: 'Switzer', sans-serif; font-size: 12px; fill: var(--ink-soft); }

/* ============================================================
   05 — LAYER 3
   ============================================================ */
.section--violet {
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(124,92,255,.12), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(124,92,255,.08), transparent 70%),
    var(--bg);
}
.section--violet .section__no { color: var(--violet); border-color: var(--violet); }

.l3-examples {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.l3-card {
  border: 1px solid var(--rule);
  padding: 2rem 1.9rem 1.7rem;
  background: linear-gradient(180deg, rgba(124,92,255,.04), transparent 70%);
  display: flex; flex-direction: column; gap: .7rem;
}
.l3-card__no {
  color: var(--violet);
  font-size: .72rem;
  margin-bottom: .4rem;
}
.l3-card h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.l3-card p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.l3-card__time {
  margin-top: .2rem;
  color: var(--violet);
  font-size: .68rem;
}
@media (max-width: 760px) { .l3-examples { grid-template-columns: 1fr; } }

.l3-foot {
  max-width: var(--maxw); margin: 3rem auto 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

/* ============================================================
   06 — MATURITY (paper)
   ============================================================ */
.quiz {
  max-width: 920px; margin: 0 auto;
  display: grid; gap: 1.4rem;
}
.quiz__q {
  background: #FFFCF6;
  border: 1px solid var(--rule-light);
  padding: 1.6rem 1.7rem;
}
.quiz__qt {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink-deep);
  margin-bottom: 1rem;
}
.quiz__qt .mono {
  display: inline-block;
  margin-right: .55rem;
  color: var(--amber-deep);
  vertical-align: 2px;
  font-size: .7rem;
}
.quiz__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.quiz__opts label {
  cursor: pointer;
  border: 1px solid var(--rule-light);
  padding: .65rem .8rem;
  font-size: .92rem;
  color: #4a4337;
  display: flex; align-items: center; gap: .55rem;
  transition: background .2s ease, border-color .2s ease;
}
.quiz__opts input { accent-color: var(--amber); }
.quiz__opts label:hover { border-color: var(--amber); background: #FFF7EE; }
.quiz__opts input:checked + span { color: var(--amber-deep); font-weight: 600; }

@media (max-width: 760px) { .quiz__opts { grid-template-columns: 1fr 1fr; } }

#quizBtn { justify-self: start; margin-top: .8rem; }

.quiz__out {
  background: var(--ink-deep);
  color: var(--ink);
  padding: 2.2rem 2rem;
  display: grid; gap: 1.1rem;
  border: 1px solid var(--ink-deep);
}
.quiz__score { display: flex; align-items: baseline; gap: 1.2rem; }
.quiz__num {
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--amber);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}
.quiz__lab {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.quiz__rec {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
.quiz__rec strong { color: var(--amber); }

/* ============================================================
   07 — ROADMAP
   ============================================================ */
.roadmap {
  max-width: var(--maxw); margin: 0 auto;
  list-style: none; padding: 0;
  display: grid; gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  grid-template-columns: 1fr;
}
.roadmap__step {
  background: var(--bg-elev);
  padding: 2.4rem 2.2rem;
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  gap: 2rem;
  align-items: start;
}
.roadmap__when {
  font-size: .72rem;
  color: var(--amber);
  letter-spacing: .18em;
  border-left: 2px solid var(--amber);
  padding-left: .8rem;
}
.roadmap__step--walk .roadmap__when { color: var(--amber-soft); border-left-color: var(--amber-soft); }
.roadmap__step--run  .roadmap__when { color: var(--violet); border-left-color: var(--violet); }
.roadmap__step h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.18;
  margin: 0 0 1rem;
}
.roadmap__step ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .5rem;
}
.roadmap__step ul li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.55;
}
.roadmap__step ul li::before {
  content: ''; position: absolute; left: 0; top: .6em;
  width: .55rem; height: 1px; background: var(--amber);
}
.roadmap__kpi {
  align-self: start;
  border: 1px solid var(--rule);
  padding: 1rem 1rem;
  color: var(--ink-soft);
  font-size: .68rem;
  letter-spacing: .12em;
  line-height: 1.7;
  background: rgba(232,93,44,.04);
}
@media (max-width: 1080px) {
  .roadmap__step { grid-template-columns: 1fr; }
}

/* ============================================================
   CLOSE
   ============================================================ */
.close {
  position: relative;
  padding: 7rem var(--gutter);
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(232,93,44,.18), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--rule);
}
.close__inner {
  max-width: 980px; margin: 0 auto; text-align: center;
  display: grid; gap: 2.4rem;
}
.close__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}
.close__quote em { color: var(--amber); font-style: italic; }
.close__cta { display: flex; justify-content: center; }
.close__meta {
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-muted);
}

/* ============================================================
   SCROLL REVEAL (driven by IntersectionObserver in JS)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* selection */
::selection { background: var(--amber); color: #0a0907; }

/* ============================================================
   MULTI-PAGE EXTENSIONS (added v1.1)
   ============================================================ */

/* shared brand link in rail */
.rail__brand a { display: flex; align-items: baseline; gap: .65rem; }

/* dropdown for "Implementation Layers" */
.rail__nav .has-sub { position: relative; }
.rail__nav .has-sub > .sub {
  position: absolute; top: 100%; left: 0;
  display: none;
  flex-direction: column;
  background: rgba(14,13,11,.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  padding: .9rem 1.1rem;
  min-width: 22rem;
  gap: .55rem;
  margin-top: .45rem;
}
.rail__nav .has-sub:hover > .sub,
.rail__nav .has-sub:focus-within > .sub { display: flex; }
.rail__nav .has-sub > .sub a { padding: .25rem 0; border: 0; }
.rail__nav a.is-active { color: var(--amber); border-color: var(--amber); }

/* page wrapper to keep top-rail clearance on standalone pages */
.page { padding-top: 6rem; }

/* short hero variant for sub-pages */
.subhero {
  padding: 6rem var(--gutter) 3rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.subhero__crumb { color: var(--ink-muted); margin-bottom: 1.4rem; }
.subhero__crumb a { color: var(--amber); border-bottom: 1px solid currentColor; }

/* prompt list inside Layer-1 case cards */
.case__prompts {
  display: grid; gap: .7rem;
  margin-top: .9rem;
}
.case__prompts code {
  display: block;
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.55;
  color: var(--ink);
  background: rgba(232,93,44,.07);
  border-left: 2px solid var(--amber);
  padding: .65rem .85rem;
  white-space: normal;
}

/* ============================================================
   LAYER 2 — FOUR-STEP STRUCTURE
   ============================================================ */
.steps {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 4.5rem;
}
.step {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 2.4rem;
  border-top: 1px solid var(--rule);
  padding-top: 2.4rem;
}
.step__num {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--amber);
}
.step__title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--ink);
}
.step__lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 0 0 1.6rem;
}
.step__body { display: grid; gap: 1.4rem; }
.step__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.2rem;
  margin-top: .6rem;
}
.step__card {
  border: 1px solid var(--rule);
  padding: 1.4rem 1.5rem;
  background: rgba(255,255,255,.015);
}
.step__card h5 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: .35rem 0 .6rem;
  color: var(--ink);
}
.step__card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.step__card .mono { color: var(--amber); margin-bottom: .25rem; display: block; }

@media (max-width: 800px) {
  .step { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================================
   COMPARE TABLE (Thesis summary)
   ============================================================ */
.compare {
  max-width: var(--maxw);
  margin: 5rem auto 0;
}
.compare__head {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1.6rem;
}
.compare__bar {
  width: 4px; height: 1.4rem; background: var(--amber);
}
.compare__title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0;
  color: var(--ink);
  font-weight: 400;
}
.compare__table {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.015);
}
.compare__table > div {
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.45;
}
.compare__table > div:nth-child(3n+1) { border-right: 1px solid var(--rule); color: var(--ink); }
.compare__table > div:nth-child(3n+2) { border-right: 1px solid var(--rule); color: var(--ink-soft); }
.compare__table > div:nth-child(3n)   { color: var(--amber); font-weight: 500; }

/* header row */
.compare__table .ch {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(255,255,255,.03);
}
.compare__table .ch--legacy { color: var(--steel); }
.compare__table .ch--ai     { color: var(--amber); }

/* row label cells */
.compare__table .row-label {
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 820px) {
  .compare__table { grid-template-columns: 1fr; }
  .compare__table > div { border-right: 0 !important; }
  .compare__table .ch { display: none; }
  .compare__table .row-label {
    background: rgba(232,93,44,.07);
    border-top: 2px solid var(--amber);
  }
}

/* ============================================================
   TOP RAIL — single-row, bolder nav (v1.2)
   ============================================================ */
.rail__doc { display: none; }              /* drop "A.I. Roadmap · v1.1" */
.rail__div { display: none; }              /* drop the slash that separated brand from doc */

.rail {
  flex-wrap: nowrap;
  gap: 1rem;
}
.rail__nav {
  flex-wrap: nowrap;
  gap: 1.1rem;
  white-space: nowrap;
}
.rail__nav a {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--ink);
}
.rail__nav a:hover { color: var(--amber); }
.rail__nav .has-sub > .sub a {
  font-size: .82rem;        /* readable in dropdown */
  letter-spacing: .08em;
}
@media (max-width: 1180px) {
  .rail__nav { gap: .85rem; }
  .rail__nav a { font-size: .72rem; letter-spacing: .08em; }
}

/* ============================================================
   TOP RAIL — distinct nav items (v1.3)
   ============================================================ */
.rail__nav {
  gap: 0;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  padding: 4px;
  border-radius: 2px;
}
.rail__nav a {
  position: relative;
  padding: .55rem .95rem;
  border: 0;
  border-bottom: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .12em;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: background .2s ease, color .2s ease;
}
/* hairline separator between items */
.rail__nav > a + a::before {
  content: '';
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.rail__nav a:hover {
  background: rgba(232,93,44,.10);
  color: var(--amber);
}
/* active item — amber fill, dark text */
.rail__nav a.is-active {
  background: var(--amber);
  color: #100a07;
}
.rail__nav a.is-active::before { display: none; }      /* drop divider next to active */
.rail__nav a.is-active + a::before { display: none; }  /* and after it */

/* dropdown trigger — subtle outlined chip */
.rail__nav .has-sub {
  background: rgba(232,93,44,.08);
  outline: 1px solid rgba(232,93,44,.35);
  outline-offset: -1px;
}
.rail__nav .has-sub:hover { background: rgba(232,93,44,.18); }
.rail__nav .has-sub.is-active { background: var(--amber); outline-color: var(--amber); }

/* dropdown panel */
.rail__nav .has-sub > .sub {
  margin-top: .35rem;
  border-radius: 2px;
}
.rail__nav .has-sub > .sub a {
  background: transparent;
  color: var(--ink);
  padding: .5rem .65rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.rail__nav .has-sub > .sub a::before { display: none; }
.rail__nav .has-sub > .sub a:hover {
  background: rgba(232,93,44,.12);
  color: var(--amber);
}
.rail__nav .has-sub > .sub a.is-active {
  background: var(--amber);
  color: #100a07;
}

@media (max-width: 1180px) {
  .rail__nav a { padding: .5rem .7rem; font-size: .7rem; letter-spacing: .08em; }
}

/* ============================================================
   BACK-TO-PARENT BUTTON on layer pages (v1.4)
   ============================================================ */
.subhero__crumb {
  display: inline-block;
  margin: 0 0 1.8rem;
  padding: .55rem 1rem;
  border: 1px solid rgba(255,255,255,.25);
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.subhero__crumb a {
  color: inherit;
  border-bottom: 0;
}
.subhero__crumb:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(232,93,44,.08);
}
/* on the cream "paper" sections (e.g. maturity), invert tone */
.section--paper .subhero__crumb {
  color: #514a3d;
  border-color: rgba(0,0,0,.18);
}
.section--paper .subhero__crumb:hover {
  color: var(--amber-deep);
  border-color: var(--amber-deep);
  background: rgba(178,62,20,.08);
}

/* ============================================================
   LAYER 1 — selected tools panel (v1.5)
   ============================================================ */
.tools-aside {
  max-width: var(--maxw);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem 2rem;
  align-items: start;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.02);
}
.tools-aside__lead {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex; align-items: center;
  white-space: nowrap;
}
.tools-aside__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}
.tool-pill {
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem 1rem;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.015);
}
.tool-pill__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tool-pill__mark svg { width: 100%; height: 100%; }
.tool-pill__name {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink);
}
.tool-pill__role {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-top: .25rem;
}
@media (max-width: 720px) {
  .tools-aside { grid-template-columns: 1fr; }
}

/* ============================================================
   v1.6 — collapse layer sub-menu, bigger Layer-1 tiles
   ============================================================ */

/* hide the dropdown panel everywhere — sub-pages reachable only from Implementation Layers */
.rail__nav .has-sub > .sub { display: none !important; }
/* drop the amber outline chip; treat Implementation Layers as a normal nav item */
.rail__nav .has-sub {
  background: transparent;
  outline: 0;
}
.rail__nav .has-sub:hover {
  background: rgba(232,93,44,.10);
}
.rail__nav .has-sub.is-active {
  background: var(--amber);
  outline: 0;
}

/* ── Layer-1 case tiles — bigger type, more breathing room ── */
.cases { gap: 2rem; }
.case {
  padding: 2.4rem 2.2rem;
  gap: 1.1rem;
}
.case h4 {
  font-size: 1.65rem;
  line-height: 1.18;
}
.case > p {
  font-size: 1.08rem;
  line-height: 1.55;
}
.case__no, .case__role {
  font-size: .82rem;
}
.case__prompts { gap: .85rem; margin-top: 1.1rem; }
.case__prompts code {
  font-size: .92rem;
  line-height: 1.6;
  padding: .85rem 1.05rem;
}

/* ============================================================
   v1.7 — generous spacing in main nav
   ============================================================ */
.rail__nav {
  gap: 1.4rem;             /* real space between items, not hairlines */
  padding: 4px 6px;
  background: transparent;  /* drop the framing strip */
  border: 0;
}
.rail__nav a {
  padding: .7rem 1.4rem;
}
/* drop the hairline dividers — spacing alone distinguishes items */
.rail__nav > a + a::before { display: none; }

@media (max-width: 1180px) {
  .rail__nav { gap: 1rem; }
  .rail__nav a { padding: .55rem 1rem; }
}

/* ============================================================
   v1.8 — slimmer home hero (after strip + CTA removal)
   ============================================================ */
body:not(.page) .hero {
  min-height: auto;
  padding: 9rem var(--gutter) 4rem;
}
body:not(.page) .close { padding-top: 1rem; }

/* ============================================================
   v1.9 — push home hero tighter, close moves up
   ============================================================ */
body:not(.page) .hero {
  min-height: auto !important;
  padding: 6.5rem var(--gutter) 1rem !important;
}
body:not(.page) .hero__inner { gap: 1.6rem !important; }
body:not(.page) .close {
  padding-top: 0 !important;
  padding-bottom: 4rem !important;
}

/* ============================================================
   v2.0 — home close: quote left, CTA right
   ============================================================ */
body:not(.page) .close__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 3rem !important;
  text-align: left !important;
}
body:not(.page) .close__quote {
  margin: 0 !important;
  text-align: left !important;
}
body:not(.page) .close__cta {
  justify-content: flex-end !important;
  margin: 0 !important;
}
body:not(.page) .close__meta {
  grid-column: 1 / -1;
  margin-top: 2rem;
}
@media (max-width: 820px) {
  body:not(.page) .close__inner {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  body:not(.page) .close__quote { text-align: center !important; }
  body:not(.page) .close__cta { justify-content: center !important; }
}

/* ============================================================
   v2.1 — Read-the-Thesis CTA aligned with the AI-native line
   ============================================================ */
.hero__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.4rem;
  flex-wrap: wrap;
}
.hero__cta-side {
  flex-shrink: 0;
  margin-bottom: .6em;
}
@media (max-width: 820px) {
  .hero__title-row { flex-direction: column; align-items: flex-start; }
  .hero__cta-side { margin-bottom: 0; }
}

/* ============================================================
   v2.2 — two rows of air between hero and close on home
   ============================================================ */
body:not(.page) .close {
  padding-top: 4rem !important;   /* ≈ two text-lines of breathing room */
  padding-bottom: 4rem !important;
}

/* ============================================================
   v2.3 — Compare table on light cream, bigger type
   ============================================================ */
.compare {
  background: var(--bg-paper);
  color: var(--ink-deep);
  padding: 2.4rem 2.4rem 2rem;
  margin-top: 6rem;
  border-radius: 2px;
}
.compare__title {
  color: var(--ink-deep);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.compare__bar { background: var(--amber); height: 1.7rem; }

.compare__table {
  border: 1px solid rgba(0,0,0,.12);
  background: transparent;
  grid-template-columns: 1.05fr 1.4fr 1.4fr;
}
.compare__table > div {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 1.12rem;
  line-height: 1.5;
}
.compare__table > div:nth-child(3n+1) {
  border-right: 1px solid rgba(0,0,0,.08);
  color: var(--ink-deep);
  font-weight: 600;
}
.compare__table > div:nth-child(3n+2) {
  border-right: 1px solid rgba(0,0,0,.08);
  color: #514a3d;
  font-weight: 400;
}
.compare__table > div:nth-child(3n)   {
  color: var(--amber-deep);
  font-weight: 500;
}

.compare__table .ch {
  background: rgba(0,0,0,.04);
  color: #6b6253;
  font-size: .82rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.compare__table .ch--legacy { color: var(--steel); }
.compare__table .ch--ai     { color: var(--amber-deep); }

.compare__table em { color: inherit; font-style: italic; }

@media (max-width: 820px) {
  .compare__table > div { font-size: 1rem; padding: 1.1rem 1.1rem; }
  .compare__table .row-label {
    background: rgba(232,93,44,.10);
    border-top: 2px solid var(--amber);
  }
}

/* ============================================================
   v2.4 — Compare table: zebra rows, column accents, sharper hierarchy
   ============================================================ */

/* layout: numbered row label is narrower; both data cols equal */
.compare__table {
  grid-template-columns: minmax(15rem, .9fr) 1.3fr 1.3fr;
  border: 1px solid rgba(0,0,0,.10);
  background: #FBF6EC;       /* warmer than the page cream */
}

/* HEADER ROW — heavier, clearly separated */
.compare__table .ch {
  background: #1A1815;
  color: #F4EFE6;
  font-weight: 700;
  font-size: .82rem;
  padding: 1.05rem 1.4rem;
  border-bottom: 0;
}
.compare__table .ch--legacy { color: #C9C2B6; }
.compare__table .ch--ai     { color: #F0A36B; }
.compare__table .ch__num    { color: var(--amber); margin-right: .55rem; }

/* DATA CELLS — reset prior styles, build fresh */
.compare__table > div:nth-child(n) {
  border-right: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-weight: 400;
  color: var(--ink-deep);
}
.compare__table > div:nth-child(3n)   { border-right: 0; }
.compare__table > div:last-child,
.compare__table > div:nth-last-child(2),
.compare__table > div:nth-last-child(3) { border-bottom: 0; }

/* row label */
.compare__table .row-label {
  display: flex; align-items: baseline; gap: .9rem;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 400;
  padding: 1.5rem 1.5rem;
  color: var(--ink-deep);
  background: rgba(0,0,0,.03);
}
.compare__table .row-num {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--amber-deep);
  border: 1px solid var(--amber-deep);
  padding: .15rem .45rem;
  flex-shrink: 0;
}

/* legacy + ai cells */
.compare__table .cell {
  padding: 1.5rem 1.5rem;
  font-size: 1.12rem;
  line-height: 1.5;
  position: relative;
}
.compare__table .cell--legacy {
  color: #4A5563;
}
.compare__table .cell--legacy::before {
  content: '';
  position: absolute;
  left: 0; top: 1.6rem; bottom: 1.6rem;
  width: 3px;
  background: #9C958A;
}
.compare__table .cell--ai {
  color: var(--amber-deep);
  font-weight: 500;
}
.compare__table .cell--ai::before {
  content: '';
  position: absolute;
  left: 0; top: 1.6rem; bottom: 1.6rem;
  width: 3px;
  background: var(--amber);
}
.compare__table .cell em {
  font-family: var(--display);
  color: inherit;
  font-style: italic;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* zebra: every other 3-cell row gets a slightly tinted background */
.compare__table > div:nth-child(6n+4),
.compare__table > div:nth-child(6n+5),
.compare__table > div:nth-child(6n+6) {
  background-color: #F4EEDF;
}
.compare__table > div:nth-child(6n+4) {
  background-color: #ECE3D0;   /* row label, slightly stronger */
}

@media (max-width: 820px) {
  .compare__table { grid-template-columns: 1fr; }
  .compare__table > div { border-right: 0 !important; }
  .compare__table .row-label {
    font-size: 1.25rem;
    border-top: 2px solid var(--amber);
  }
  .compare__table .cell { padding: 1.1rem 1.1rem 1.1rem 1.4rem; font-size: 1rem; }
}

/* ============================================================
   v2.5 — Back-to-Implementation-Layers anchored top-right
   ============================================================ */
.section__head { position: relative; }
.section__head > .subhero__crumb {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}
@media (max-width: 980px) {
  .section__head > .subhero__crumb {
    position: static;
    margin: 0 0 1.4rem;
  }
}

/* ============================================================
   v2.6 — Layer 2 Step 1 rich process cards
   ============================================================ */
.step__grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 1.6rem;
}
.step__card--rich {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.6rem 1.7rem 1.8rem;
}
.step__card--rich h5 {
  font-size: 1.5rem;
  margin: .2rem 0 .1rem;
  line-height: 1.18;
}
.step__card-lede {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.step__activities {
  list-style: none;
  padding: 0;
  margin: .6rem 0 0;
  display: grid;
  gap: .85rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
.step__activities li {
  font-size: .98rem;
  line-height: 1.5;
  color: var(--ink-soft);
  position: relative;
  padding-left: 1rem;
}
.step__activities li::before {
  content: '';
  position: absolute;
  left: 0; top: .65em;
  width: .45rem; height: 1px;
  background: var(--amber);
}
.step__activities li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   v2.7 — Compare table: revert to clean original layout
   ============================================================ */

/* wrapper: light cream surface, generous padding */
.compare {
  background: var(--bg-paper);
  color: var(--ink-deep);
  padding: 2.6rem 2.6rem 2.4rem;
  margin-top: 6rem;
  border: 1px solid rgba(0,0,0,.08);
}
.compare__title {
  color: var(--ink-deep);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 400;
}
.compare__bar { background: var(--amber); height: 1.7rem; }

/* table: 3 columns, equal-ish */
.compare__table {
  grid-template-columns: 1.05fr 1.4fr 1.4fr;
  border: 0;
  background: transparent;
}

/* reset all the v2.4 tricks */
.compare__table > div::before { display: none !important; }   /* kill column accent bars */
.compare__table > div:nth-child(6n+4),
.compare__table > div:nth-child(6n+5),
.compare__table > div:nth-child(6n+6) { background-color: transparent !important; }   /* kill zebra */

/* HEADER row */
.compare__table .ch {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .12em;
  font-weight: 500;
  text-transform: uppercase;
  background: transparent;
  color: #6b6253;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(0,0,0,.18);
  border-right: 0;
}
.compare__table .ch--legacy { color: var(--steel); }
.compare__table .ch--ai     { color: var(--amber-deep); }

/* DATA rows: simple horizontal dividers, no vertical lines */
.compare__table > div:not(.ch) {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 1.5rem 1.4rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-deep);
}
.compare__table > div:nth-last-child(-n+3) {
  border-bottom: 0;
}

/* row label — sans-serif, bold, plain */
.compare__table .row-label {
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-deep);
  letter-spacing: -.005em;
}
.compare__table .row-label .row-num { display: none; }   /* drop any leftover number tag */

/* legacy column = steel grey ink, AI column = deep amber */
.compare__table > div:nth-child(3n+2) { color: #4A5563; }
.compare__table > div:nth-child(3n)   { color: var(--amber-deep); font-weight: 500; }

.compare__table em {
  font-family: var(--display);
  color: inherit;
  font-style: italic;
  border-bottom: 0;
}

@media (max-width: 820px) {
  .compare__table { grid-template-columns: 1fr; }
  .compare__table .row-label {
    margin-top: .4rem;
    padding-top: 1rem;
    border-top: 2px solid var(--amber);
  }
}

/* ============================================================
   v2.8 — Layer 2 step typography: bigger across the board
   ============================================================ */
.step__title { font-size: clamp(2rem, 3.3vw, 2.9rem) !important; }
.step__lede {
  font-size: 1.3rem !important;
  line-height: 1.55 !important;
}
.step__card { padding: 1.7rem 1.8rem; }
.step__card .mono {
  font-size: .82rem !important;
  letter-spacing: .12em;
}
.step__card h5 {
  font-size: 1.55rem !important;
  line-height: 1.18 !important;
  margin: .35rem 0 .7rem !important;
}
.step__card p {
  font-size: 1.1rem !important;
  line-height: 1.55 !important;
}
.step__card-lede { font-size: 1.12rem !important; line-height: 1.5 !important; }
.step__activities li {
  font-size: 1.08rem !important;
  line-height: 1.55 !important;
}
.step__activities li strong { font-size: inherit !important; }
.step__num {
  font-size: clamp(3.5rem, 6.5vw, 5.5rem) !important;
}

/* ============================================================
   v2.9 — Step 2 tool links + "why stitch" footer
   ============================================================ */
:root { --link-tool: #5EC8C9; }       /* bright teal — distinct from amber */

.tool-link {
  color: var(--link-tool);
  border-bottom: 1px solid rgba(94,200,201,.45);
  padding-bottom: 1px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.tool-link:hover {
  color: #8FE1E1;
  border-bottom-color: #8FE1E1;
}

.step__why {
  margin: .9rem 0 0 !important;
  padding-top: .9rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft) !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}
.step__why em {
  color: var(--amber);
  font-style: italic;
}

/* ============================================================
   v3.0 — Layer 3 "Freedom" header with Claude Code mark on right
   ============================================================ */
.section__head--with-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 3rem;
}
.section__head--with-brand > .section__head-text { min-width: 0; }

/* override the absolute back-button positioning ONLY in this layout */
.section__head--with-brand .subhero__crumb {
  position: static !important;
  margin: 0 0 1.6rem !important;
  display: inline-block;
}

.l3-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  padding-top: 1rem;
}
.l3-brand__mark {
  width: 9rem;
  height: 9rem;
  filter: drop-shadow(0 6px 30px rgba(232,93,44,.18));
}
.l3-brand__mark svg { width: 100%; height: 100%; }
.l3-brand__caption { text-align: center; }
.l3-brand__name {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1;
}
.l3-brand__role {
  margin-top: .35rem;
  color: var(--ink-muted);
  font-size: .72rem;
}

@media (max-width: 980px) {
  .section__head--with-brand { grid-template-columns: 1fr; }
  .l3-brand { flex-direction: row; padding-top: 0; }
  .l3-brand__caption { text-align: left; }
  .l3-brand__mark { width: 5.5rem; height: 5.5rem; }
}

/* ============================================================
   v3.1 — Layer 3 typography: bigger across the board
   ============================================================ */
.section--violet .section__lede {
  font-size: 1.3rem !important;
  line-height: 1.55 !important;
}

.l3-examples {
  gap: 2rem;
}
.l3-card {
  padding: 2.2rem 2rem 2rem !important;
}
.l3-card h4 {
  font-size: 1.65rem !important;
  line-height: 1.18 !important;
}
.l3-card p {
  font-size: 1.12rem !important;
  line-height: 1.55 !important;
}
.l3-card__no {
  font-size: .82rem !important;
  letter-spacing: .14em;
}
.l3-card__time {
  font-size: .82rem !important;
  letter-spacing: .12em;
  margin-top: 1.2rem !important;
}

.l3-foot {
  font-size: 1.3rem !important;
  line-height: 1.55 !important;
  max-width: 70ch;
}

/* ============================================================
   v3.2 — Layer 3: big "Freedom." headline + bigger Claude Code mark
   ============================================================ */
.l3-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -.02em;
  margin: .2rem 0 1.2rem;
  color: var(--ink);
  background: linear-gradient(110deg, #F4EFE6 30%, #E85D2C 70%, #F0A36B 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.l3-brand__mark {
  width: 13rem !important;
  height: 13rem !important;
  filter: drop-shadow(0 8px 40px rgba(232,93,44,.30));
}
.l3-brand__name { font-size: 1.9rem !important; }
.l3-brand__role { font-size: .82rem !important; }

@media (max-width: 980px) {
  .l3-brand__mark { width: 7rem !important; height: 7rem !important; }
}

/* ============================================================
   v3.3 — Layer 3 header rework: tighter top, big "Layer 3 · Freedom 2 All",
          back-button stacked above Claude Code mark on the right
   ============================================================ */

/* tighter section padding on Layer 3 only */
.section--violet { padding-top: 4rem !important; }
.section--violet .section__head { margin-bottom: 2.4rem !important; }

/* big headline (replaces previous gradient one) */
.l3-headline {
  font-family: var(--display);
  font-weight: 400;
  margin: 0 0 1.6rem;
  font-size: clamp(3.2rem, 6.4vw, 6rem);
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .6em;
  /* clear any prior gradient styling */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}
.l3-headline__num {
  color: var(--ink);
  font-style: normal;
}
.l3-headline__sep {
  color: var(--amber);
  font-family: var(--display);
  font-style: italic;
}
.l3-headline__name {
  color: var(--amber);
  font-style: italic;
}

/* right column: back-button on top, then Claude Code mark */
.l3-brand { padding-top: 0 !important; }
.l3-brand__back {
  align-self: flex-end;
  margin: 0 0 1.4rem !important;
}

@media (max-width: 980px) {
  .l3-brand__back { align-self: flex-start; }
}

/* ============================================================
   v3.4 — Roadmap step lede + inner step list
   ============================================================ */
.roadmap__lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: .6rem 0 1.2rem;
  max-width: 60ch;
}
.roadmap__steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
  display: grid;
  gap: .85rem;
  counter-reset: rstep;
}
.roadmap__steps > li {
  position: relative;
  padding-left: 2.4rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.roadmap__steps > li::before {
  counter-increment: rstep;
  content: counter(rstep);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: .12rem .5rem;
  line-height: 1;
}
.roadmap__steps strong { color: var(--ink); }

/* ============================================================
   v3.5 — Layer cards on Implementation Layers page: strict parity
   ============================================================ */
.layers-grid > .layer-card {
  padding: 2rem 1.8rem 1.6rem !important;
}
.layers-grid > .layer-card .layer-card__no {
  font-family: var(--mono) !important;
  font-size: .9rem !important;
  letter-spacing: .14em !important;
  font-weight: 400 !important;
  margin-bottom: 1.2rem !important;
}
.layers-grid > .layer-card .layer-card__title {
  font-family: var(--display) !important;
  font-weight: 400 !important;
  font-size: 1.85rem !important;
  line-height: 1.15 !important;
  letter-spacing: -.005em !important;
  margin: 0 0 .8rem !important;
  color: var(--ink) !important;
  /* in case any v3.x gradient bled in */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  text-transform: none !important;
}
.layers-grid > .layer-card .layer-card__sub {
  font-family: var(--sans) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  color: var(--ink-soft) !important;
  margin: 0 0 1.6rem !important;
}
.layers-grid > .layer-card .layer-card__cta {
  font-family: var(--mono) !important;
  font-size: .82rem !important;
  letter-spacing: .14em !important;
  color: var(--ink) !important;
}

/* ============================================================
   v3.6 — Roadmap redesign: bigger, clearer, single-column blocks
   ============================================================ */
.roadmap {
  display: grid !important;
  gap: 2rem !important;
  background: transparent !important;
  border: 0 !important;
  counter-reset: rmstep;
}

.roadmap__step {
  background: var(--bg-elev) !important;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  padding: 2.6rem 2.6rem 2.2rem !important;
  display: block !important;        /* drop the 3-col grid */
  position: relative;
  counter-increment: rmstep;
}
.roadmap__step--walk { border-left-color: var(--amber-soft); }
.roadmap__step--run  { border-left-color: var(--violet); }

/* big numeral on the right of each step */
.roadmap__step::after {
  content: "0" counter(rmstep);
  position: absolute;
  top: 1.4rem; right: 2rem;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  line-height: 1;
  color: rgba(232,93,44,.18);
  font-weight: 400;
  letter-spacing: -.02em;
}
.roadmap__step--walk::after { color: rgba(240,163,107,.20); }
.roadmap__step--run::after  { color: rgba(124,92,255,.22); }

/* "Q1 · CRAWL" eyebrow — bigger and more spaced */
.roadmap__when {
  font-size: 1rem !important;
  letter-spacing: .22em !important;
  border-left-width: 3px !important;
  padding-left: 1rem !important;
  font-weight: 700;
  color: var(--amber) !important;
  display: inline-block;
  margin-bottom: 1.4rem;
}

/* big headline (Layer 1 · Chatbot 2 All) */
.roadmap__step h4 {
  font-size: clamp(2rem, 3.4vw, 2.8rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -.01em;
  margin: 0 0 .9rem !important;
  max-width: 28ch;
}

/* lede paragraph */
.roadmap__lede {
  font-size: 1.35rem !important;
  line-height: 1.5 !important;
  color: var(--ink-soft) !important;
  margin: 0 0 1.8rem !important;
  max-width: 64ch;
}

/* bullet list of moves */
.roadmap__step ul {
  display: grid;
  gap: 1rem !important;
  margin: 0 0 1.8rem !important;
}
.roadmap__step ul li {
  font-size: 1.15rem !important;
  line-height: 1.55 !important;
  padding-left: 1.6rem !important;
}
.roadmap__step ul li::before {
  width: 1rem !important; height: 2px !important;
  top: .85em !important;
  background: var(--amber);
}
.roadmap__step ul li em { color: var(--ink); font-style: italic; }
.roadmap__step ul li strong { color: var(--ink); }

/* inner numbered Step 1-4 list (Layer 2 block) */
.roadmap__steps {
  margin: 0 0 1.8rem !important;
  gap: 1rem !important;
}
.roadmap__steps > li {
  font-size: 1.12rem !important;
  line-height: 1.55 !important;
  padding-left: 3rem !important;
  color: var(--ink-soft);
}
.roadmap__steps > li::before {
  font-size: .88rem !important;
  letter-spacing: .14em !important;
  padding: .22rem .6rem !important;
}

/* KPI as a footer chip */
.roadmap__kpi {
  display: inline-block;
  margin-top: .5rem;
  font-size: .82rem !important;
  letter-spacing: .14em !important;
  padding: .85rem 1.1rem !important;
  line-height: 1.55 !important;
  background: rgba(232,93,44,.06);
  border: 1px solid rgba(232,93,44,.30) !important;
  color: var(--ink-soft) !important;
}
.roadmap__step--walk .roadmap__kpi {
  background: rgba(240,163,107,.06);
  border-color: rgba(240,163,107,.30) !important;
}
.roadmap__step--run .roadmap__kpi {
  background: rgba(124,92,255,.06);
  border-color: rgba(124,92,255,.30) !important;
}

/* roadmap section title bigger */
#roadmap .section__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem) !important;
}

@media (max-width: 760px) {
  .roadmap__step { padding: 1.8rem 1.6rem !important; }
  .roadmap__step::after { font-size: 2.4rem; top: 1rem; right: 1rem; }
  .roadmap__step h4 { font-size: 1.7rem !important; }
  .roadmap__lede { font-size: 1.15rem !important; }
}

/* ============================================================
   v3.7 — Date stamp under the CPH brand mark
   ============================================================ */
.rail__brand a {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: .15rem !important;
  line-height: 1;
}
.rail__date {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
}

/* ============================================================
   v3.8 — Make the date stamp smaller
   ============================================================ */
.rail__date {
  font-size: .56rem !important;
  letter-spacing: .18em !important;
  opacity: .75;
}

/* ============================================================
   v3.9 — Main nav items +20%
   ============================================================ */
.rail__nav a {
  font-size: .94rem !important;
  padding: .8rem 1.55rem !important;
}
@media (max-width: 1180px) {
  .rail__nav a { font-size: .84rem !important; padding: .6rem 1.1rem !important; }
}

/* ============================================================
   v4.0 — Layer 3 categories: Ad-hoc needs vs. Active agents
   ============================================================ */
.l3-category {
  max-width: var(--maxw);
  margin: 0 auto 4rem;
}
.l3-category + .l3-category { margin-top: 1.5rem; }

.l3-category__head {
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: .55rem;
}
.l3-category__tag {
  color: var(--violet);
  font-size: .92rem !important;
  letter-spacing: .18em;
  font-weight: 600;
}
.l3-category--agents .l3-category__tag { color: var(--amber); }

.l3-category__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.l3-category__sub {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 64ch;
}

/* category B (Active agents) gets a subtle amber-left accent on its cards */
.l3-category--agents .l3-card {
  border-left: 3px solid var(--amber) !important;
}
.l3-category .l3-card {
  border-left: 3px solid var(--violet);
}

/* ============================================================
   v4.1 — Stronger A/B visual split on Layer 3
   ============================================================ */

/* each category becomes its own panel */
.l3-category {
  padding: 2.4rem 2rem;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.015);
  margin-bottom: 2.6rem !important;
}

/* CATEGORY A — Ad-hoc needs · violet hue */
.l3-category:not(.l3-category--agents) {
  background:
    linear-gradient(180deg, rgba(124,92,255,.08), rgba(124,92,255,.02) 40%, transparent),
    rgba(255,255,255,.012);
  border: 1px solid rgba(124,92,255,.30);
  border-left: 4px solid var(--violet);
}
.l3-category:not(.l3-category--agents) .l3-card {
  background: rgba(124,92,255,.05);
  border: 1px solid rgba(124,92,255,.25);
  border-left: 3px solid var(--violet) !important;
}
.l3-category:not(.l3-category--agents) .l3-card:hover {
  background: rgba(124,92,255,.10);
  border-color: rgba(124,92,255,.45);
}
.l3-category:not(.l3-category--agents) .l3-card__no {
  color: var(--violet) !important;
}

/* CATEGORY B — Active agents · amber hue */
.l3-category--agents {
  background:
    linear-gradient(180deg, rgba(232,93,44,.08), rgba(232,93,44,.02) 40%, transparent),
    rgba(255,255,255,.012);
  border: 1px solid rgba(232,93,44,.30);
  border-left: 4px solid var(--amber);
}
.l3-category--agents .l3-card {
  background: rgba(232,93,44,.06);
  border: 1px solid rgba(232,93,44,.25);
  border-left: 3px solid var(--amber) !important;
}
.l3-category--agents .l3-card:hover {
  background: rgba(232,93,44,.11);
  border-color: rgba(232,93,44,.45);
}
.l3-category--agents .l3-card__no {
  color: var(--amber) !important;
}

/* divider between the two categories */
.l3-category + .l3-category {
  margin-top: 3.5rem !important;
  position: relative;
}
.l3-category + .l3-category::before {
  content: '';
  position: absolute;
  top: -2.4rem; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule), transparent);
}

/* category head — make tag chip-styled for stronger label */
.l3-category__tag {
  display: inline-block;
  padding: .35rem .8rem;
  border: 1px solid currentColor;
  margin-bottom: .25rem;
  background: rgba(255,255,255,.02);
}

/* ============================================================
   v4.2 — A/B headers act like section titles
   ============================================================ */
.l3-category__tag {
  font-size: 1.15rem !important;
  letter-spacing: .22em !important;
  padding: .55rem 1.1rem !important;
  font-weight: 700 !important;
}
.l3-category__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
  margin-top: .5rem !important;
}
.l3-category__sub {
  font-size: 1.3rem !important;
  line-height: 1.55 !important;
}
.l3-category__head {
  margin-bottom: 2.2rem !important;
  padding-bottom: 1.8rem !important;
}

/* ============================================================
   v4.3 — Layer 3 case study: 5-agent flow diagram + list
   ============================================================ */
.l3-casestudy {
  max-width: var(--maxw);
  margin: 5rem auto 4rem;
  padding: 3rem 2.4rem 2.6rem;
  border: 1px solid rgba(232,93,44,.32);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(232,93,44,.10), transparent 70%),
    rgba(255,255,255,.012);
}
.l3-casestudy__head {
  text-align: center;
  margin-bottom: 2.2rem;
  display: grid;
  gap: .8rem;
  justify-items: center;
}
.l3-casestudy__tag {
  display: inline-block;
  padding: .45rem 1rem;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: .2em;
  font-weight: 700;
}
.l3-casestudy__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.l3-casestudy__lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 0;
}

/* the SVG diagram */
.l3-flow {
  margin: 0 auto 2.4rem;
  max-width: 1100px;
}
.l3-flow__svg { width: 100%; height: auto; display: block; }

/* live forward flow animation — dashed line marching toward the next agent */
.flow-fwd line {
  stroke-dasharray: 6 5;
  animation: l3FlowMarch 1.4s linear infinite;
}
@keyframes l3FlowMarch { to { stroke-dashoffset: -22; } }

/* agent explainer list */
.l3-agents {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 920px;
  counter-reset: agent;
}
.l3-agents > li {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 1.4rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--rule);
  background: rgba(232,93,44,.04);
  align-items: start;
}
.l3-agents > li.l3-agents__last {
  background: rgba(124,92,255,.07);
  border-color: rgba(124,92,255,.32);
}
.l3-agents__num {
  font-family: var(--display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--amber);
  text-align: center;
  padding-top: .15rem;
}
.l3-agents__last .l3-agents__num { color: var(--violet); }
.l3-agents > li h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.15;
  margin: 0 0 .35rem;
  color: var(--ink);
}
.l3-agents > li p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.l3-casestudy__foot {
  text-align: center;
  margin: 1.6rem 0 0;
  font-size: .9rem;
  letter-spacing: .14em;
  color: var(--amber);
}

@media (max-width: 760px) {
  .l3-casestudy { padding: 1.8rem 1.4rem; }
  .l3-agents > li { grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1rem 1.1rem; }
  .l3-agents__num { font-size: 1.6rem; }
}

/* ============================================================
   v4.4 — Layer page header eyebrow sized as a real page header
   ============================================================ */
.section--layer1 .section__no,
#layer-2 .section__no,
.section--violet .section__no {
  font-size: 1.75rem !important;
  letter-spacing: .14em !important;
  padding-bottom: .65rem !important;
  margin-bottom: 2.4rem !important;
  font-weight: 700 !important;
  border-bottom-width: 2px !important;
}
@media (max-width: 760px) {
  .section--layer1 .section__no,
  #layer-2 .section__no,
  .section--violet .section__no {
    font-size: 1.25rem !important;
  }
}

/* ============================================================
   v4.5 — Structural-shift statement under layer cards
   ============================================================ */
.shift {
  max-width: var(--maxw);
  margin: 5rem auto 0;
  padding: 3rem 2.6rem 2.4rem;
  border: 1px solid var(--rule);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(232,93,44,.07), transparent 70%),
    rgba(255,255,255,.012);
}
.shift__row {
  display: grid;
  grid-template-columns: 22rem 1fr;
  gap: 2.4rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}
.shift__row:last-of-type { border-bottom: 0; }
.shift__tag {
  font-size: 1.05rem !important;
  letter-spacing: .14em !important;
  color: var(--amber);
  font-weight: 700;
}
.shift__row--violet .shift__tag { color: var(--violet); }
.shift__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: var(--ink);
}
.shift__quote em {
  font-style: italic;
  color: var(--amber);
}
.shift__row--violet .shift__quote em { color: var(--violet); }
.shift__foot {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  text-align: center;
  margin: 1.6rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-style: italic;
}
@media (max-width: 880px) {
  .shift__row { grid-template-columns: 1fr; gap: .35rem; }
}

/* ============================================================
   v4.6 — End-to-end presentation-typography audit
   Bump anything still too small for far-screen reading
   ============================================================ */

/* hero lede on home — bigger */
.hero__lede {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  line-height: 1.55 !important;
}

/* generic section ledes — already bumped, reinforce floor */
.section__lede {
  font-size: clamp(1.2rem, 1.55vw, 1.35rem) !important;
  line-height: 1.55 !important;
}

/* THESIS spread — definition list of "Logic / Input / Output …" */
.thesis-col__title { font-size: clamp(1.7rem, 2.6vw, 2.2rem) !important; }
.thesis-col__sub { font-size: 1.05rem !important; }
.thesis-list dt {
  font-size: .82rem !important;
  letter-spacing: .14em !important;
}
.thesis-list dd {
  font-size: 1.08rem !important;
  line-height: 1.5 !important;
}
.thesis-col__quote {
  font-size: 1.18rem !important;
  line-height: 1.5 !important;
}
.thesis-bridge {
  font-size: clamp(1.45rem, 2.3vw, 1.85rem) !important;
  line-height: 1.5 !important;
}

/* Scaling cards */
.scaling-card__chip { font-size: .82rem !important; }
.scaling-card__title { font-size: clamp(1.5rem, 2.5vw, 2rem) !important; }
.scaling-card p { font-size: 1.08rem !important; line-height: 1.55 !important; }
.scaling-card__foot { font-size: 1rem !important; }

/* Compare table cells — already at 1.1rem; nudge headers */
.compare__title { font-size: clamp(2rem, 3.4vw, 2.6rem) !important; }
.compare__table .ch { font-size: .92rem !important; padding: 1.15rem 1.4rem !important; }
.compare__table .row-label { font-size: 1.18rem !important; }
.compare__table > div:not(.ch) { font-size: 1.15rem !important; line-height: 1.55 !important; }

/* Layer 1 role filter chips */
.filter__chip {
  font-size: .92rem !important;
  letter-spacing: .14em !important;
  padding: .65rem 1.05rem !important;
}
.layer1__foot {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Tools-aside on Layer 1 */
.tools-aside__lead { font-size: .92rem !important; }
.tool-pill__name { font-size: 1.45rem !important; }
.tool-pill__role { font-size: .82rem !important; }

/* Layer 2 page title + step__title already bumped earlier; reinforce */
#layer-2 .section__title { font-size: clamp(2.2rem, 4vw, 3.4rem) !important; }
.step__activities li strong { font-size: 1.08rem !important; }

/* Quiz (Where are we today) on Roadmap */
.quiz__qt { font-size: 1.18rem !important; line-height: 1.45 !important; }
.quiz__opts label { font-size: 1.05rem !important; }
.quiz__lab { font-size: 1.05rem !important; }
.quiz__rec, .quiz__rec strong, .quiz__rec em { font-size: 1.18rem !important; line-height: 1.55 !important; }
#roadmap .section__title,
#maturity .section__title { font-size: clamp(2.4rem, 4.5vw, 4rem) !important; }

/* Buttons — bigger labels for far reading */
.btn { font-size: .92rem !important; }
.btn--lg { font-size: 1.05rem !important; padding: 1.2rem 1.9rem !important; }

/* Layer 3 case study labels — keep readable */
.l3-flow__svg text { font-size: 14px; }    /* sane minimum on SVG labels */

/* ============================================================
   v4.7 — Quote inside each layer card + simple structural-shift footer
   ============================================================ */
.layer-card__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1.4rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--rule);
}
.layer-card__quote em {
  font-style: italic;
  color: var(--amber);
}
.layer-card__quote--violet em { color: var(--violet); }

/* hide the old shift block if it's still loaded from cache */
.shift { display: none !important; }

.shift-foot {
  text-align: center;
  margin: 3.5rem auto 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--ink-soft);
  font-style: italic;
}
.shift-foot em {
  color: var(--amber);
  font-style: italic;
  font-weight: 400;
}

/* ============================================================
   v4.8 — shift-row: column-aligned quotes, empty row above, no box
   ============================================================ */
.layer-card__quote { display: none !important; }   /* hide any stale in-card quote */

.shift-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;          /* match layers-grid */
  max-width: var(--maxw);
  margin: 4rem auto 0;   /* the "empty row" of space above */
  padding: 0;
  background: none;
  border: 0;
}
.shift-cell {
  margin: 0;
  padding: 0 .4rem;
  background: transparent;
  border: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
}
.shift-cell em { font-style: italic; color: var(--amber); }
.shift-cell--violet em { color: var(--violet); }

@media (max-width: 880px) {
  .shift-row { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 2.4rem; }
}

/* ============================================================
   v4.9 — Implementation Layers page: tighter top, smaller shift-cell font
   ============================================================ */
.section--layers {
  padding-top: 2.4rem !important;
}
.section--layers .section__head {
  margin-bottom: 2.6rem !important;
}

/* under-tile sentences: smaller */
.shift-cell {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem) !important;
  line-height: 1.4 !important;
}
.shift-foot {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem) !important;
}

/* ============================================================
   v5.0 — Layer page eyebrow headers: smaller
   ============================================================ */
.section--layer1 .section__no,
#layer-2 .section__no,
.section--violet .section__no {
  font-size: 1.1rem !important;
  letter-spacing: .14em !important;
  padding-bottom: .45rem !important;
  margin-bottom: 1.6rem !important;
  border-bottom-width: 1px !important;
}
@media (max-width: 760px) {
  .section--layer1 .section__no,
  #layer-2 .section__no,
  .section--violet .section__no {
    font-size: .95rem !important;
  }
}

/* ============================================================
   v5.1 — Final far-screen typography audit
   Bump every label still under ~0.85rem to a presentation floor.
   The CPH date stamp stays small intentionally.
   ============================================================ */

/* Back-button breadcrumb on layer pages */
.subhero__crumb {
  font-size: .92rem !important;
  letter-spacing: .14em !important;
  padding: .65rem 1.1rem !important;
}

/* Hero meta (if used) */
.hero__meta { font-size: .92rem !important; }

/* Thesis page eyebrow chips */
.thesis-col__chip { font-size: .85rem !important; letter-spacing: .14em !important; }
.scaling-card__chip { font-size: .85rem !important; letter-spacing: .14em !important; }

/* SVG figure labels — bump explicit pixel values */
.curve__lab { font-size: 14px !important; }
.stitch__lab { font-size: 16px !important; }
.stitch__sub { font-size: 13px !important; }

/* Layer 1 case meta */
.case__no, .case__role { font-size: .88rem !important; letter-spacing: .14em !important; }

/* Layer 2 step card mono label inside richer cards */
.step__card .mono { font-size: .9rem !important; letter-spacing: .14em !important; }

/* Layer 3 card meta */
.l3-card__no { font-size: .88rem !important; letter-spacing: .14em !important; }
.l3-card__time { font-size: .88rem !important; letter-spacing: .12em !important; }
.l3-casestudy__foot { font-size: 1rem !important; letter-spacing: .14em !important; }

/* Tool pill in tools-aside */
.tool-pill__role { font-size: .85rem !important; letter-spacing: .12em !important; }

/* Roadmap eyebrow / KPI */
.roadmap__when { font-size: 1.05rem !important; }
.roadmap__kpi { font-size: .92rem !important; letter-spacing: .14em !important; }

/* Quiz (Where are we today) bits */
.quiz__num { font-size: 3.4rem !important; }
.quiz__lab { font-size: 1.05rem !important; }

/* Tools section foot link */
.tools__foot { font-size: .92rem !important; }

/* Bottom-of-section ctas/footers */
.layer1__foot { font-size: 1.05rem !important; line-height: 1.6 !important; }

/* Stitch caption */
.stitch figcaption { font-size: .92rem !important; letter-spacing: .14em !important; }

/* Curve caption */
.curve figcaption { font-size: .92rem !important; letter-spacing: .14em !important; }

/* ============================================================
   v5.2 — Home: tighter gap between hero and "Dynamics tries…"
   ============================================================ */
body:not(.page) .close {
  padding-top: 1.4rem !important;
}

/* ============================================================
   v6.1 — Final Word page: 3 hard rules
   ============================================================ */
.rules {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2rem;
}
.rule {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 2.4rem;
  padding: 2.6rem 2.6rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  background: rgba(255,255,255,.012);
  position: relative;
}
.rule--02 { border-left-color: var(--amber-soft); }
.rule--03 { border-left-color: var(--violet); }

.rule__num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 1;
  color: var(--amber);
  letter-spacing: -.02em;
}
.rule--02 .rule__num { color: var(--amber-soft); }
.rule--03 .rule__num { color: var(--violet); }

.rule__body { display: grid; gap: 1rem; }
.rule__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  letter-spacing: -.01em;
}
.rule__lede {
  font-size: 1.32rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  max-width: 64ch;
}
.rule__detail {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 70ch;
}
.rule__litmus {
  display: inline-block;
  margin-top: .6rem;
  padding: .8rem 1.1rem;
  border: 1px dashed rgba(232,93,44,.45);
  background: rgba(232,93,44,.05);
  color: var(--ink-soft);
  font-size: .92rem !important;
  letter-spacing: .12em !important;
  line-height: 1.5;
}
.rule--02 .rule__litmus { border-color: rgba(240,163,107,.45); background: rgba(240,163,107,.05); }
.rule--03 .rule__litmus { border-color: rgba(124,92,255,.45); background: rgba(124,92,255,.06); }

.rules__foot {
  max-width: var(--maxw);
  margin: 4rem auto 0;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  color: var(--ink-soft);
}
.rules__foot .amber {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}

@media (max-width: 760px) {
  .rule { grid-template-columns: 1fr; gap: 1rem; padding: 1.8rem 1.6rem; }
  .rule__num { font-size: 3.4rem; }
}

/* ============================================================
   v6.2 — Micromedia logo in top rail
   ============================================================ */
.rail__logo {
  height: 42px;
  width: auto;
  display: block;
  background: #FFFFFF;
  padding: 4px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.rail__brand a {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: .3rem !important;
}
@media (max-width: 760px) {
  .rail__logo { height: 34px; }
}

/* ============================================================
   v7.0 — MICROMEDIA · 20px floor for far-screen reading
   Body is 22px, so 1rem = 22px and 0.91rem ≈ 20px.
   Every sub-readable label gets lifted to the 20px floor.
   ============================================================ */

/* ── Global floor for utility classes ── */
.mono                              { font-size: .94rem !important; }
.rail__nav a                       { font-size: 1rem !important; }
.rail__date                        { font-size: .82rem !important; opacity: .8; letter-spacing: .14em !important; }
.btn                               { font-size: 1rem !important; }
.btn--lg                           { font-size: 1.12rem !important; }

/* ── Section chips / eyebrows ── */
.section__no,
.section__no--dark                 { font-size: 1.08rem !important; letter-spacing: .14em !important; }
.subhero__crumb                    { font-size: .96rem !important; padding: .7rem 1.2rem !important; }
.thesis-col__chip,
.scaling-card__chip                { font-size: .94rem !important; letter-spacing: .14em !important; }

/* ── Definition list keys (Logic / Input / Output …) ── */
.thesis-list dt                    { font-size: .94rem !important; letter-spacing: .14em !important; }
.thesis-list dd                    { font-size: 1.12rem !important; line-height: 1.5 !important; }

/* ── Case tiles (Layer 1) ── */
.case__no,
.case__role                        { font-size: .96rem !important; letter-spacing: .14em !important; }
.case h4                           { font-size: 1.55rem !important; }
.case > p                          { font-size: 1.08rem !important; line-height: 1.5 !important; }
.case__prompts code                { font-size: 1rem !important; line-height: 1.55 !important; padding: .9rem 1.05rem !important; }
.filter__chip                      { font-size: 1rem !important; letter-spacing: .12em !important; padding: .7rem 1.1rem !important; }

/* ── Tools-aside pills ── */
.tools-aside__lead                 { font-size: 1rem !important; }
.tool-pill__name                   { font-size: 1.4rem !important; }
.tool-pill__role                   { font-size: .94rem !important; letter-spacing: .12em !important; }

/* ── Step cards (Layer 2) ── */
.step__card .mono                  { font-size: .96rem !important; letter-spacing: .14em !important; }
.step__card h5                     { font-size: 1.4rem !important; line-height: 1.2 !important; }
.step__card p,
.step__card-lede                   { font-size: 1.05rem !important; line-height: 1.5 !important; }
.step__activities li               { font-size: 1rem !important; line-height: 1.5 !important; }
.step__activities li strong        { font-weight: 600; }
.step__why                         { font-size: 1rem !important; line-height: 1.5 !important; }
.tool-link                         { font-size: inherit !important; }

/* ── Roadmap blocks ── */
.roadmap__when                     { font-size: 1.05rem !important; }
.roadmap__step ul li               { font-size: 1.1rem !important; line-height: 1.5 !important; }
.roadmap__steps > li               { font-size: 1.05rem !important; line-height: 1.5 !important; }
.roadmap__kpi                      { font-size: .96rem !important; letter-spacing: .12em !important; }

/* ── Layer 3 cards ── */
.l3-card__no,
.l3-card__time                     { font-size: .96rem !important; letter-spacing: .12em !important; }
.l3-card h4                        { font-size: 1.5rem !important; }
.l3-card p                         { font-size: 1.08rem !important; line-height: 1.5 !important; }
.l3-casestudy__foot                { font-size: 1.05rem !important; letter-spacing: .14em !important; }
.l3-agents > li p                  { font-size: 1.05rem !important; line-height: 1.5 !important; }

/* ── Compare table (Thesis) ── */
.compare__table .ch                { font-size: .96rem !important; padding: 1.15rem 1.4rem !important; }
.compare__table .row-label         { font-size: 1.15rem !important; }
.compare__table > div:not(.ch)     { font-size: 1.1rem !important; line-height: 1.55 !important; padding: 1.4rem 1.4rem !important; }

/* ── Scaling cards ── */
.scaling-card p,
.scaling-card__foot                { font-size: 1.05rem !important; line-height: 1.55 !important; }

/* ── Quiz ── */
.quiz__qt                          { font-size: 1.15rem !important; }
.quiz__opts label                  { font-size: 1.05rem !important; }
.quiz__lab                         { font-size: 1.05rem !important; }
.quiz__rec                         { font-size: 1.15rem !important; line-height: 1.55 !important; }

/* ── Captions / figcaptions / footers ── */
.curve figcaption,
.stitch figcaption                 { font-size: 1rem !important; letter-spacing: .14em !important; }
.layer1__foot                      { font-size: 1.02rem !important; line-height: 1.6 !important; }
.tools__foot                       { font-size: .96rem !important; }
.thesis-col__sub                   { font-size: 1.08rem !important; }
.thesis-col__quote                 { font-size: 1.15rem !important; line-height: 1.5 !important; }
.thesis-vs .mono                   { font-size: 1.15rem !important; }

/* ── SVG text — minimum 14px (=22*0.65, plenty readable at full size) ── */
.l3-flow__svg text                 { font-size: 15px !important; }
.stitch__lab                       { font-size: 17px !important; }
.stitch__sub                       { font-size: 14px !important; }
.curve__lab                        { font-size: 14px !important; }

/* ── Rules / Final Word ── */
.rule__lede                        { font-size: 1.22rem !important; line-height: 1.5 !important; }
.rule__detail                      { font-size: 1.05rem !important; line-height: 1.55 !important; }
.rule__litmus                      { font-size: 1rem !important; line-height: 1.5 !important; }

/* ── Layer card statements under tiles ── */
.shift-cell                        { font-size: 1.18rem !important; line-height: 1.4 !important; }
.shift-foot                        { font-size: 1.32rem !important; }

/* ── Layer page eyebrow ── */
.section--layer1 .section__no,
#layer-2 .section__no,
.section--violet .section__no      { font-size: 1.15rem !important; }

/* ============================================================
   v7.1 — TAAFT catalogue source attribution under each pillar
   ============================================================ */
.step__source {
  margin: 1rem 0 .35rem !important;
  padding-top: 1rem;
  border-top: 1px dashed var(--rule);
  font-size: .92rem !important;
  letter-spacing: .14em !important;
  color: var(--ink-muted) !important;
}

/* ============================================================
   v7.2 — Sources page
   ============================================================ */
.sources {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 2.4rem;
}
.src-block {
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.015);
  padding: 2rem 2rem 1.6rem;
}
.src-block__head {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}
.src-block__tag {
  display: inline-block;
  padding: .45rem .9rem;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: .96rem !important;
  letter-spacing: .14em !important;
  margin-bottom: .8rem;
}
.src-block__head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 0;
  color: var(--ink);
}
.src-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}
.src-list > li {
  display: grid;
  gap: .35rem;
  padding: .85rem 1rem;
  border-left: 3px solid transparent;
  transition: border-color .2s, background .2s;
}
.src-list > li:hover {
  border-left-color: var(--amber);
  background: rgba(232,93,44,.04);
}
.src-list > li a.tool-link {
  font-family: var(--display);
  font-size: 1.32rem;
  font-style: normal;
  font-weight: 400;
}
.src-list > li p {
  margin: .25rem 0 0;
  font-size: 1rem !important;
  line-height: 1.5;
  color: var(--ink-soft);
}
.src-tag {
  display: inline-block;
  margin-left: .55rem;
  padding: .15rem .55rem;
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.sources__foot {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-size: .96rem !important;
  letter-spacing: .12em !important;
  color: var(--ink-muted) !important;
  line-height: 1.6;
}

/* ============================================================
   v7.3 — Co-pilot vs Auto-pilot concept (across the deck)
   Mode A = co-pilot (teal); Mode B = auto-pilot (amber → violet)
   ============================================================ */

/* ── HOME hero modes strip ── */
.hero__modes {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(255,255,255,.18);
  font-size: 1rem !important;
  letter-spacing: .12em !important;
  color: var(--ink-soft);
}
.hero__mode { white-space: nowrap; }
.hero__mode-sep { color: var(--amber); font-size: 1.4rem; }

/* ── MODE BADGE chip used on layer page headers ── */
.mode-badge {
  display: inline-flex; align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.02);
  margin-bottom: 1.2rem;
  font-size: .95rem !important;
  letter-spacing: .12em !important;
  color: var(--ink-soft) !important;
}
.mode-badge em { color: var(--ink); font-style: italic; }
.mode-badge__a {
  display: inline-block;
  padding: .15rem .55rem;
  background: rgba(94,200,201,.15);
  color: var(--link-tool);
  border: 1px solid rgba(94,200,201,.45);
  font-weight: 700;
}
.mode-badge__b {
  display: inline-block;
  padding: .15rem .55rem;
  background: rgba(232,93,44,.12);
  color: var(--amber);
  border: 1px solid var(--amber);
  font-weight: 700;
}
.mode-badge__arrow { color: var(--amber); font-size: 1.2rem; }
.mode-badge--bridge { border-color: rgba(232,93,44,.45); }
.mode-badge--b      { border-color: rgba(124,92,255,.45); }

/* ── MODES CALLOUT on Thesis lede ── */
.modes-callout {
  margin-top: 1.4rem !important;
  padding: 1.1rem 1.3rem !important;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(232,93,44,.03);
  font-size: 1rem !important;
  letter-spacing: .08em !important;
  line-height: 1.6 !important;
  color: var(--ink-soft) !important;
}

/* ── MODES ASIDE on Layer 1 (two-card spread) ── */
.modes {
  max-width: var(--maxw);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.modes__card {
  padding: 1.8rem 1.8rem;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.02);
  display: grid;
  gap: .9rem;
  align-content: start;
}
.modes__card--copilot {
  border-color: rgba(94,200,201,.45);
  background:
    linear-gradient(180deg, rgba(94,200,201,.08), rgba(94,200,201,.02) 60%, transparent),
    rgba(255,255,255,.02);
}
.modes__card--autopilot {
  border-color: var(--amber);
  background:
    linear-gradient(180deg, rgba(232,93,44,.10), rgba(232,93,44,.02) 60%, transparent),
    rgba(255,255,255,.02);
}
.modes__tag {
  display: inline-block;
  padding: .4rem .9rem;
  border: 1px solid currentColor;
  font-size: .94rem !important;
  letter-spacing: .14em !important;
  width: max-content;
}
.modes__card--copilot .modes__tag { color: var(--link-tool); }
.modes__card--autopilot .modes__tag { color: var(--amber); }
.modes__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.modes__lede {
  margin: 0;
  font-size: 1.08rem !important;
  line-height: 1.5 !important;
  color: var(--ink-soft) !important;
}
.modes__lede em { color: var(--ink); font-style: italic; }
.modes__bullets {
  list-style: none;
  padding: 0;
  margin: .4rem 0 0;
  display: grid; gap: .55rem;
  border-top: 1px solid var(--rule);
  padding-top: .9rem;
}
.modes__bullets li {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 1.05rem;
  position: relative;
}
.modes__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: .65em;
  width: .55rem; height: 1px;
  background: var(--amber);
}
.modes__card--copilot .modes__bullets li::before { background: var(--link-tool); }
.modes__arrow {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .35rem;
  color: var(--ink-muted);
}
.modes__arrow .mono {
  font-size: .85rem !important;
  letter-spacing: .12em !important;
}
.modes__arrowmark {
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--amber);
}
@media (max-width: 980px) {
  .modes { grid-template-columns: 1fr; }
  .modes__arrow { padding: .4rem 0; }
  .modes__arrowmark { transform: rotate(90deg); font-size: 2.2rem; }
}

/* ============================================================
   v7.4 — Home hero: title spreads full-width across 3 rows;
   CTA drops below so the empty space on the right is now title space.
   ============================================================ */
body:not(.page) .hero__title-row {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1.6rem !important;
}
body:not(.page) .hero__title {
  max-width: 100% !important;
  width: 100%;
}
body:not(.page) .hero__cta-side {
  margin: 0 !important;
}

/* ============================================================
   v7.5 — Home close quote centered
   ============================================================ */
body:not(.page) .close__inner {
  grid-template-columns: 1fr !important;
  text-align: center !important;
  justify-items: center;
}
body:not(.page) .close__quote {
  text-align: center !important;
  margin: 0 auto !important;
}

/* ============================================================
   v7.6 — Home sub-header: opener + numbered list + Eldan quote
   ============================================================ */
.hero__list {
  list-style: none;
  counter-reset: heroitem;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: .85rem;
  max-width: 60ch;
}
.hero__list li {
  counter-increment: heroitem;
  position: relative;
  padding-left: 2.6rem;
  font-size: clamp(1.18rem, 1.55vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero__list li::before {
  content: counter(heroitem) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--amber);
  font-weight: 400;
}
.hero__list li em { color: var(--ink); font-style: italic; }

.hero__quote {
  font-size: clamp(1.18rem, 1.55vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255,255,255,.18);
  max-width: 60ch;
  font-style: italic;
}
.hero__quote em {
  color: var(--ink);
  font-style: italic;
}

/* ============================================================
   v7.6 — Home sub-header polish + centered modes strip
   ============================================================ */

/* Numbered list under the opener */
.hero__list {
  list-style: none;
  counter-reset: heroitem;
  padding: 0;
  margin: 1.2rem 0 1.4rem;
  display: grid;
  gap: .8rem;
  max-width: 60ch;
}
.hero__list li {
  counter-increment: heroitem;
  position: relative;
  padding-left: 2.6rem;
  font-size: clamp(1.18rem, 1.55vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero__list li::before {
  content: counter(heroitem) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--amber);
}
.hero__list li em { color: var(--ink); font-style: italic; }

/* Eldan quote line under the list */
.hero__quote {
  font-size: clamp(1.18rem, 1.55vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255,255,255,.18);
  max-width: 60ch;
  font-style: italic;
}
.hero__quote em { color: var(--ink); font-style: italic; }

/* Centered modes strip */
.hero__modes {
  justify-content: center !important;
  text-align: center;
}

/* ============================================================
   v7.7 — Home: Read-the-Thesis CTA anchored top-right
   ============================================================ */
body:not(.page) .hero { position: relative; }
body:not(.page) .hero__cta-side {
  position: absolute;
  top: 5.4rem;          /* clear of the top rail */
  right: var(--gutter);
  margin: 0 !important;
  z-index: 2;
}
@media (max-width: 760px) {
  body:not(.page) .hero__cta-side {
    position: static;
    margin: 1.2rem 0 0 !important;
  }
}

/* ============================================================
   v7.8 — Home: CTA sits on its own top row, aligned right;
   main header starts on the next row.
   Overrides v7.7's absolute positioning.
   ============================================================ */
body:not(.page) .hero__cta-side,
body:not(.page) .hero__cta-top .btn {
  position: static !important;
  margin: 0 !important;
}
body:not(.page) .hero__cta-top {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0 0 1.8rem !important;
}
body:not(.page) .hero__inner {
  gap: 0 !important;
}
body:not(.page) .hero__title-row {
  margin-top: 0 !important;
}
@media (max-width: 760px) {
  body:not(.page) .hero__cta-top { justify-content: flex-start; }
}

/* ============================================================
   v7.9 — Home: empty row between main header and sub-header
   ============================================================ */
body:not(.page) .hero__lede {
  margin-top: 2.2rem !important;
}

/* ============================================================
   v8.0 — Home: tighten gap after Eldan quote
   ============================================================ */
body:not(.page) .hero__quote {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body:not(.page) .hero__modes {
  margin-top: .6rem !important;
  padding-top: .8rem !important;
}

/* ============================================================
   v8.1 — Implementation Layers: bigger statements under tiles
   ============================================================ */
.shift-cell {
  font-size: clamp(1.65rem, 2.4vw, 2.3rem) !important;
  line-height: 1.35 !important;
}
.shift-foot {
  font-size: clamp(1.85rem, 2.8vw, 2.6rem) !important;
}

/* ============================================================
   v8.2 — Implementation Layers: under-tile statements −20%
   ============================================================ */
.shift-cell {
  font-size: clamp(1.32rem, 1.92vw, 1.84rem) !important;
}
.shift-foot {
  font-size: clamp(1.48rem, 2.24vw, 2.08rem) !important;
}

/* ============================================================
   v8.3 — Layer 1: standalone Mode A badge between Selected Tools and filter
   ============================================================ */
.mode-badge--standalone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 2.6rem auto 2.6rem;
  padding: .9rem 1.4rem;
  max-width: var(--maxw);
  width: max-content;
}

/* ============================================================
   v8.4 — Layer 2: top-row back button + Roadmap maturity removed
   ============================================================ */
.subhero__crumb--top {
  display: block;
  max-width: var(--maxw);
  margin: 0 auto 1.8rem !important;
  text-align: right !important;
  position: static !important;
  padding-top: 0 !important;
}
.subhero__crumb--top a {
  display: inline-block;
  padding: .7rem 1.2rem;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--ink-soft);
}
.subhero__crumb--top a:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(232,93,44,.08);
}

/* Override the v2.5 absolute positioning ONLY where the top variant exists */
.section--violet .section__head > .subhero__crumb,
.section--layer1 .section__head > .subhero__crumb {
  /* unchanged for L1 and L3 — they still use the absolute top-right pattern */
}

/* ============================================================
   v8.5 — Top-row back button: remove the outer box (no box-in-box)
   ============================================================ */
.subhero__crumb--top {
  display: block !important;
  max-width: var(--maxw);
  margin: 0 auto 1.8rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: right !important;
  position: static !important;
}
.subhero__crumb--top a {
  display: inline-block;
  padding: .7rem 1.2rem;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--ink-soft);
  background: transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.subhero__crumb--top a:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(232,93,44,.08);
}

/* ============================================================
   v8.6 — Layer pages: remove the empty rows above the back button
   ============================================================ */
.section--layer1,
.section--violet,
#layer-2,
#layer-3 {
  padding-top: 1.6rem !important;
}

/* ============================================================
   v8.7 — Layer pages: pull back button right under the top rail
   ============================================================ */
body.page { padding-top: 4rem !important; }

.section--layer1,
.section--violet,
#layer-2,
#layer-3 {
  padding-top: .5rem !important;
}

.subhero__crumb--top {
  margin: 0 auto 1.2rem !important;
}

/* ============================================================
   v8.8 — Layer 3: space out the top rows (mode badge → eyebrow → title)
   ============================================================ */
.section--violet {
  padding-top: 1.6rem !important;
}
.section--violet .mode-badge--b {
  margin-top: .4rem !important;
  margin-bottom: 1.6rem !important;
}
.section--violet .section__no {
  margin-bottom: 2.4rem !important;
  padding-bottom: .7rem !important;
}
.section--violet .section__title {
  margin-top: 0 !important;
}
.section--violet .l3-brand__back {
  margin-bottom: 1.6rem !important;
}

/* ============================================================
   v8.9 — Layer 3: REAL spacing (v8.7 #layer-3 was overriding v8.8)
   ============================================================ */
.section--violet#layer-3 {
  padding-top: 2.4rem !important;
}
#layer-3 .section__head-text .mode-badge--b {
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  display: inline-flex !important;
}
#layer-3 .section__head-text .section__no {
  margin-top: 0 !important;
  margin-bottom: 3rem !important;
  padding-bottom: 1rem !important;
}
#layer-3 .section__head-text .section__title {
  margin-top: 1rem !important;
  margin-bottom: 2rem !important;
}
#layer-3 .l3-brand__back {
  margin-bottom: 2rem !important;
}

/* ============================================================
   v9.0 — Layer 3: empty-row gap between back button and eyebrow
   ============================================================ */
#layer-3 > .subhero__crumb--top {
  margin: 0 auto 2.6rem !important;
}

/* ============================================================
   v9.1 — Layer 3: explicit empty rows around Mode B badge
   ============================================================ */
#layer-3 .section__head-text .section__no {
  margin-bottom: 0 !important;
}
#layer-3 .section__head-text .mode-badge--b {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
  display: inline-flex !important;
}
#layer-3 .section__head-text .section__title {
  margin-top: 0 !important;
}

/* ============================================================
   v9.2 — Layer 3: force Mode B onto its own row (was inline-flex)
   ============================================================ */
#layer-3 .section__head-text .section__no {
  display: block !important;
  width: fit-content;
  margin-bottom: 0 !important;
}
#layer-3 .section__head-text .mode-badge--b {
  display: flex !important;
  width: fit-content;
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}
#layer-3 .section__head-text .section__title {
  display: block !important;
  margin-top: 0 !important;
  clear: both;
}

/* ============================================================
   v9.3 — Layer 3: Claude Code icon −20%
   ============================================================ */
.l3-brand__mark {
  width: 10.4rem !important;
  height: 10.4rem !important;
}
@media (max-width: 980px) {
  .l3-brand__mark { width: 5.6rem !important; height: 5.6rem !important; }
}
