@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,650&family=Inter+Tight:wght@300;400;500;600&display=swap');

:root {
  color-scheme: light;
  --bg: #eef0ed;
  --paper: #f8f8f4;
  --ink: #111312;
  --muted: #5d6762;
  --gold: #b99637;
  --gold-light: #eadb9f;
  --sky: #a8d8e8;
  --sage: #8b9c8e;
  --line: rgba(17, 19, 18, 0.13);
  --display: "Inter Tight", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 88% 3%, rgba(168, 216, 232, 0.22), transparent 24rem),
    linear-gradient(180deg, #f7f8f5 0, var(--bg) 42rem, #f7f8f4 100%);
}
a { color: inherit; text-decoration-color: rgba(17, 19, 18, 0.32); text-underline-offset: 0.19em; }
a:hover, a:focus-visible { text-decoration-color: var(--gold); }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }

.shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.reading-shell { width: min(720px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 24px;
}
.brand {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 0.83rem; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); }

.kicker, .eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; font-family: var(--display); text-wrap: balance; }
h1 { margin-bottom: 22px; font-size: clamp(3.4rem, 8.4vw, 7.8rem); font-weight: 300; letter-spacing: -0.073em; line-height: 0.91; }
h2 { margin: 3.6rem 0 1.1rem; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 350; letter-spacing: -0.055em; line-height: 1.02; }
h3 { margin: 2.1rem 0 0.7rem; font-size: 1.34rem; font-weight: 500; letter-spacing: -0.035em; line-height: 1.2; }
p { margin: 0 0 1.35rem; color: #303733; }
ul, ol { padding-left: 1.35rem; color: #303733; }
li { margin-bottom: 0.6rem; }

.insights-intro { padding: clamp(54px, 10vw, 126px) 0 76px; }
.insights-intro h1 { max-width: 860px; }
.insights-intro .lede { max-width: 650px; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.38rem); line-height: 1.55; }

.feature-card {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 570px;
  margin-bottom: 110px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.82);
  border-radius: 38px;
  background: rgba(248,248,244,0.72);
  box-shadow: 30px 30px 74px rgba(85, 96, 89, 0.13), -24px -24px 60px rgba(255,255,255,0.68);
}
.feature-image { min-height: 480px; background: #dfe4df; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 72px); }
.feature-copy h2 { margin: 0 0 20px; font-size: clamp(2.7rem, 5vw, 5rem); }
.feature-copy p { color: var(--muted); font-size: 1.05rem; }
.read-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; margin-top: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-decoration: none; text-transform: uppercase; }
.read-link::after { content: "→"; color: var(--gold); font-size: 1.2rem; }

.article-hero { position: relative; min-height: min(800px, 84svh); overflow: hidden; background: #dfe4df; isolation: isolate; }
.article-hero::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, rgba(248,249,246,0.97) 0%, rgba(248,249,246,0.91) 35%, rgba(248,249,246,0.28) 62%, rgba(17,19,18,0.08) 100%); }
.article-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.article-hero .site-header { position: relative; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; min-height: calc(min(800px, 84svh) - 104px); padding: 56px 0 90px; }
.hero-copy h1 { max-width: 760px; }
.hero-copy .dek { max-width: 640px; color: #39413d; font-size: clamp(1.12rem, 2vw, 1.36rem); line-height: 1.53; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 25px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.05em; }

.article-body { padding: 82px 0 120px; }
.article-body .standfirst { margin-bottom: 3.1rem; color: #202522; font-family: var(--display); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 350; letter-spacing: -0.032em; line-height: 1.35; }
.article-body blockquote { margin: 3rem -72px; padding: 0 0 0 31px; border-left: 2px solid var(--gold); color: #202522; font-family: var(--display); font-size: clamp(1.65rem, 3.2vw, 2.45rem); font-weight: 350; letter-spacing: -0.035em; line-height: 1.28; }
.article-body blockquote p { color: inherit; }

.claim-note { margin: 2.6rem 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.52); color: var(--muted); font-size: 0.89rem; }
.claim-note strong { color: var(--ink); }

.diagram { margin: 3.2rem -150px; padding: clamp(26px, 5vw, 52px); border: 1px solid rgba(255,255,255,0.8); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,0.79), rgba(231,235,230,0.72)); box-shadow: 22px 22px 52px rgba(85,96,89,0.1), -18px -18px 44px rgba(255,255,255,0.58); }
.diagram figcaption { margin-top: 18px; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.operations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.operation { position: relative; min-height: 240px; padding: 26px; overflow: hidden; border: 1px solid rgba(17,19,18,0.09); border-radius: 24px; background: rgba(248,248,244,0.68); }
.operation::before { display: block; width: 13px; height: 13px; margin-bottom: 52px; border: 1px solid var(--gold); border-radius: 50%; content: ""; box-shadow: 0 0 0 7px rgba(185,150,55,0.08); }
.operation:not(:last-child)::after { position: absolute; top: 31px; right: -15px; z-index: 2; width: 28px; color: var(--gold); content: "→"; }
.operation span { color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; }
.operation h3 { margin-top: 7px; }
.operation p { margin-bottom: 0; font-size: 0.88rem; }

.interactive-viz {
  position: relative;
  margin: 3.5rem -190px;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.82);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 12%, rgba(168,216,232,0.22), transparent 27%),
    radial-gradient(circle at 12% 88%, rgba(216,183,90,0.13), transparent 29%),
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(229,234,229,0.76));
  box-shadow: 28px 28px 68px rgba(85,96,89,0.12), -22px -22px 52px rgba(255,255,255,0.62);
}
.interactive-viz button { font: inherit; }
.interactive-viz button:focus-visible,
.interactive-viz input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.interactive-viz figcaption { margin-top: 22px; color: var(--muted); font-size: 0.77rem; line-height: 1.5; }
.viz-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.viz-heading .eyebrow { margin-bottom: 9px; }
.viz-heading h3 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 350; }
.viz-action {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  color: #39413d;
  cursor: pointer;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.viz-action:hover { border-color: rgba(185,150,55,0.6); }

/* Relational mind map */
.relation-stage { position: relative; min-height: 520px; overflow: hidden; border: 1px solid rgba(17,19,18,0.08); border-radius: 26px; background: rgba(247,248,245,0.46); }
.relation-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.relation-halo { fill: none; stroke: rgba(95,103,99,0.16); stroke-dasharray: 4 13; }
.relation-halo-inner { stroke: rgba(185,150,55,0.19); stroke-dasharray: 2 10; }
.relation-core { transform-origin: center; animation: relation-breathe 6s ease-in-out infinite; }
.flow-path, .cross-path { fill: none; vector-effect: non-scaling-stroke; }
.flow-path { stroke: url(#relation-flow); stroke-width: 2.1; stroke-dasharray: 9 9; animation: relation-flow 5s linear infinite; opacity: 0.72; transition: opacity 260ms ease, stroke-width 260ms ease; }
.flow-path.is-active { stroke-width: 4; opacity: 1; }
.cross-path { stroke: rgba(95,103,99,0.16); stroke-width: 1; stroke-dasharray: 3 11; }
.relation-nodes { position: absolute; inset: 0; }
.relation-node {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 3;
  display: grid;
  min-width: 112px;
  min-height: 72px;
  place-content: center;
  padding: 12px 16px;
  border: 1px solid rgba(17,19,18,0.12);
  border-radius: 20px;
  background: rgba(249,249,246,0.76);
  box-shadow: 0 14px 32px rgba(85,96,89,0.09);
  color: #202522;
  cursor: pointer;
  font-size: 0.83rem !important;
  text-align: left;
  transform: translate(-50%, -50%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.relation-node span { color: var(--gold); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.14em; }
.relation-node:hover, .relation-node.is-active { border-color: rgba(185,150,55,0.58); background: rgba(255,253,243,0.92); box-shadow: 0 16px 42px rgba(185,150,55,0.16); transform: translate(-50%, -50%) scale(1.045); }
.relation-readout {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(270px, 32%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.relation-readout span { color: var(--gold); font-size: 0.63rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.relation-readout p { margin: 9px 0 0; color: #39413d; font-size: 0.82rem; line-height: 1.52; }
.relation-viz.is-tracing .relation-core { animation-duration: 1.4s; }

/* Experienced-world mixer */
.preset-group { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.42); }
.preset-group button { padding: 7px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.preset-group button[aria-pressed="true"] { background: #202522; color: #f8f8f4; }
.world-layout { display: grid; grid-template-columns: minmax(250px, 0.82fr) minmax(340px, 1.18fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.world-controls { display: grid; gap: 19px; }
.world-controls label { display: grid; gap: 8px; }
.world-controls label > span { display: flex; align-items: center; justify-content: space-between; color: #303733; font-size: 0.75rem; font-weight: 500; }
.world-controls output { color: var(--gold); font-variant-numeric: tabular-nums; }
.world-controls input[type="range"] { width: 100%; height: 3px; margin: 0; appearance: none; border-radius: 999px; background: linear-gradient(90deg, var(--gold), rgba(95,103,99,0.18)); cursor: pointer; accent-color: var(--gold); }
.world-controls input[type="range"]::-webkit-slider-thumb { width: 17px; height: 17px; appearance: none; border: 4px solid #f8f8f4; border-radius: 50%; background: var(--gold); box-shadow: 0 2px 8px rgba(85,96,89,0.22); }
.world-controls input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 4px solid #f8f8f4; border-radius: 50%; background: var(--gold); box-shadow: 0 2px 8px rgba(85,96,89,0.22); }
.world-stage { position: relative; width: min(100%, 490px); aspect-ratio: 1; justify-self: center; }
.world-stage svg { width: 100%; height: 100%; overflow: visible; }
.world-orbit { fill: none; stroke: rgba(95,103,99,0.2); stroke-dasharray: 5 11; transform-origin: center; }
.orbit-one { animation: world-orbit 28s linear infinite; }
.orbit-two { animation: world-orbit 21s linear infinite reverse; }
.world-memory, .world-body, .world-prediction { mix-blend-mode: multiply; transform-origin: center; transition: opacity 260ms ease, transform 260ms ease; }
.world-memory { fill: rgba(216,183,90,0.34); }
.world-body { fill: rgba(126,157,130,0.32); }
.world-prediction { fill: rgba(168,216,232,0.36); }
.world-feedback { fill: none; stroke: rgba(57,65,61,0.42); stroke-width: 3; stroke-dasharray: 3 9; transform-origin: center; transition: opacity 260ms ease, stroke-width 260ms ease; animation: feedback-pulse 5s ease-in-out infinite; }
.world-core-visual { filter: drop-shadow(0 20px 35px rgba(85,96,89,0.2)); transform-origin: center; transition: transform 280ms ease, filter 280ms ease; }
.world-signals { fill: var(--gold); transform-origin: center; transition: opacity 260ms ease; }
.world-label { position: absolute; top: 50%; left: 50%; width: 46%; color: #34403b; text-align: center; transform: translate(-50%, -50%); }
.world-label span { display: block; margin-bottom: 5px; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.world-label strong { display: block; font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 400; line-height: 1.08; }
.world-sentence { max-width: 760px; margin: 24px auto 0; padding: 17px 20px; border-left: 2px solid var(--gold); background: rgba(255,255,255,0.34); color: #39413d; font-size: 0.88rem; }

/* Amplification explorer */
.evidence-key { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.68rem; }
.evidence-key i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(185,150,55,0.1); }
.amplification-path { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-top: 10px; }
.amplification-path::before { position: absolute; top: 39px; right: 8%; left: 8%; height: 1px; content: ""; background: linear-gradient(90deg, var(--gold), var(--sky), var(--sage)); }
.amplification-step { position: relative; z-index: 1; display: grid; gap: 48px; min-width: 0; padding: 0 10px 16px; border: 0; background: transparent; color: var(--muted); cursor: pointer; text-align: left; }
.amplification-step::before { position: absolute; top: 18px; left: 10px; width: 18px; height: 18px; border: 6px solid #f3f4f0; border-radius: 50%; content: ""; background: #a8b4ae; box-shadow: 0 0 0 1px rgba(17,19,18,0.12); transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease; }
.amplification-step:not(:last-child)::after { position: absolute; top: 20px; right: -10px; content: "→"; color: rgba(57,65,61,0.46); }
.amplification-step span { color: var(--gold); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; }
.amplification-step strong { font-size: 0.76rem; font-weight: 500; line-height: 1.35; }
.amplification-step.is-passed::before { background: var(--sage); }
.amplification-step:hover::before, .amplification-step.is-active::before { background: var(--gold); box-shadow: 0 0 0 7px rgba(185,150,55,0.11); transform: scale(1.14); }
.amplification-step.is-active { color: var(--ink); }
.amplification-readout { display: grid; grid-template-columns: minmax(210px, 0.6fr) minmax(260px, 1fr); gap: 20px 42px; align-items: center; margin-top: 12px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,0.48); }
.amplification-readout span { display: block; margin-bottom: 5px; color: var(--gold); font-size: 0.59rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }
.amplification-readout strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 450; line-height: 1.2; }
.amplification-readout p { margin: 0; font-size: 0.82rem; }
.evidence-meter { grid-column: 1 / -1; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(95,103,99,0.14); }
.evidence-meter span { display: block; height: 100%; margin: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--sage)); transition: width 320ms ease; }

@keyframes relation-flow { to { stroke-dashoffset: -72; } }
@keyframes relation-breathe { 50% { transform: scale(1.08); opacity: 0.74; } }
@keyframes world-orbit { to { transform: rotate(360deg); } }
@keyframes feedback-pulse { 50% { transform: scale(1.04); opacity: 0.65; } }

/* Reactive explanations */
.concept-graphic {
  position: relative;
  margin: 3.75rem -190px;
  padding: clamp(28px, 5vw, 54px);
  border-top: 1px solid rgba(17,19,18,0.13);
  border-bottom: 1px solid rgba(17,19,18,0.13);
}
.concept-graphic::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(168,216,232,0.045);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.concept-graphic h3 { max-width: 820px; margin: 9px 0 18px; font-size: clamp(2rem, 4.1vw, 3.8rem); font-weight: 350; line-height: 1.02; }
.concept-graphic button { font: inherit; }
.concept-graphic button:focus-visible,
.concept-graphic input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.concept-graphic figcaption { margin-top: 24px; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.graphic-thesis { max-width: 760px; margin: 0 0 20px; color: #43504a; font-size: 0.94rem; }

/* A thought as a braid */
.thread-equation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 11px; margin: 28px 0; }
.thread-equation button {
  padding: 0 2px 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #27302c;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.28rem, 2.35vw, 1.95rem);
  transition: color 160ms ease, opacity 160ms ease;
}
.thread-equation span { color: var(--gold); font-size: 1.25rem; }
.thread-equation.has-focus button:not(.is-active) { opacity: 0.27; }
.thread-equation button.is-active { color: var(--gold); }
.thought-braid { display: grid; grid-template-columns: minmax(120px, 0.35fr) minmax(300px, 1fr) minmax(160px, 0.45fr); gap: 20px; align-items: center; min-height: 168px; margin: 24px 0; }
.braid-moment { display: grid; gap: 10px; color: #39413d; font-size: 0.73rem; line-height: 1.35; }
.braid-moment i { width: 10px; height: 10px; border: 2px solid var(--gold); border-radius: 50%; background: #f8f8f4; box-shadow: 0 0 0 7px rgba(185,150,55,0.08); }
.braid-moment:last-child { justify-items: end; text-align: right; }
.braid-strands { position: relative; height: 142px; }
.braid-strands::before, .braid-strands::after { position: absolute; top: 0; bottom: 0; width: 1px; content: ""; background: rgba(17,19,18,0.12); }
.braid-strands::before { left: 0; }
.braid-strands::after { right: 0; }
.braid-strands span {
  position: absolute;
  top: var(--strand-y);
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--strand-color);
  opacity: 0.72;
  transform-origin: left center;
  transition: height 180ms ease, opacity 180ms ease, filter 180ms ease;
}
.braid-strands span::before {
  position: absolute;
  inset: -8px 0;
  content: "";
  background: repeating-linear-gradient(115deg, transparent 0 8%, rgba(126,157,130,0.1) 9% 11%, transparent 12% 19%);
  background: repeating-linear-gradient(115deg, transparent 0 8%, rgba(185,150,55,0.07) 9% 11%, transparent 12% 19%);
}
.braid-strands span:nth-child(odd) { transform: skewY(8deg); }
.braid-strands span:nth-child(even) { transform: skewY(-7deg); }
.thought-braid.has-focus .braid-strands span:not(.is-active) { opacity: 0.11; }
.thought-braid .braid-strands span.is-active { height: 5px; opacity: 1; filter: drop-shadow(0 0 7px var(--strand-color)); }
.thread-reading, .loop-reading, .gap-reading { max-width: 860px; margin: 25px 0 0; padding: 18px 0 18px 23px; border-left: 2px solid var(--gold); color: #39413d; font-size: 0.88rem; }

/* Prediction, action, and correction */
.experience-loop { position: relative; min-height: 470px; margin: 24px 0 8px; }
.experience-loop > svg { position: absolute; inset: 0; width: 100%; height: 100%; color: #8c9a92; }
.loop-path, .loop-return { fill: none; stroke: currentColor; stroke-width: 1.3; marker-end: url(#loop-arrow); opacity: 0.55; vector-effect: non-scaling-stroke; transition: opacity 160ms ease, stroke-width 160ms ease; }
.loop-return { stroke-dasharray: 4 8; }

.loop-term, .loop-center {
  position: absolute;
  display: grid;
  min-width: 155px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #25302a;
  cursor: pointer;
  text-align: left;
}
.loop-term span, .loop-center span { color: var(--gold); font-size: 0.61rem; font-weight: 650; letter-spacing: 0.13em; text-transform: uppercase; }
.loop-term small, .loop-center small { margin-top: 4px; color: var(--muted); font-size: 0.7rem; }
.loop-term::after { width: 30px; height: 1px; margin-top: 11px; content: ""; background: var(--gold); transition: width 180ms ease; }
.loop-term:hover::after, .loop-term:focus-visible::after, .loop-term.is-active::after { width: 78px; }
.term-memory { top: 10%; left: 2%; }
.term-body { bottom: 10%; left: 2%; }
.term-signals { top: 10%; right: 2%; }
.term-feedback { right: 2%; bottom: 10%; }
.action-label { position: absolute; right: 22%; bottom: 23%; color: var(--muted); font-size: 0.61rem; letter-spacing: 0.09em; text-transform: uppercase; transform: rotate(18deg); }
.loop-center { top: 50%; left: 50%; width: 230px; min-height: 165px; place-content: center; border: 1px solid rgba(17,19,18,0.12); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(168,216,232,0.3)); box-shadow: 0 18px 46px rgba(85,96,89,0.12); text-align: center; transform: translate(-50%, -50%); transition: filter 180ms ease, transform 180ms ease; }
.loop-center strong { margin: 6px 0 2px; font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.experience-loop.has-focus .loop-term:not(.is-active), .experience-loop.has-focus .loop-center:not(.is-active) { opacity: 0.3; }
.loop-term.is-active, .loop-center.is-active { opacity: 1; }
.correction-control { max-width: 700px; margin: 8px auto 0; }
.correction-control label { display: block; margin-bottom: 8px; color: #303733; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.correction-control input { width: 100%; height: 44px; margin: -12px 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize; }
.correction-control input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--gold), var(--sky), var(--sage)); }
.correction-control input::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -9px; -webkit-appearance: none; appearance: none; border: 5px solid #f8f8f4; border-radius: 50%; background: #53635a; box-shadow: 0 0 0 1px rgba(17,19,18,0.16), 0 4px 12px rgba(85,96,89,0.2); }
.correction-control input::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--gold), var(--sky), var(--sage)); }
.correction-control input::-moz-range-thumb { width: 10px; height: 10px; border: 5px solid #f8f8f4; border-radius: 50%; background: #53635a; }
.correction-scale { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 0.64rem; }
.correction-scale span:last-child { text-align: right; }

/* Evidence lives in the stages; uncertainty lives between them */
.scale-path { display: grid; grid-template-columns: 1.3fr 42px 1.15fr 42px 1.3fr 42px 1.25fr 42px 1.2fr; align-items: stretch; margin-top: 34px; }
.scale-stage { display: grid; align-content: space-between; min-height: 145px; padding: 18px 12px; border-top: 1px solid rgba(17,19,18,0.17); border-bottom: 1px solid rgba(17,19,18,0.17); }
.scale-stage span { color: #25302a; font-size: 0.78rem; font-weight: 560; line-height: 1.25; }
.scale-stage small { color: var(--muted); font-size: 0.63rem; line-height: 1.35; }
.scale-gap { position: relative; align-self: center; width: 42px; height: 44px; border: 0; background: transparent; color: var(--gold); cursor: pointer; }
.scale-gap::before, .scale-gap::after { position: absolute; top: 50%; height: 1px; content: ""; background: rgba(17,19,18,0.18); }
.scale-gap::before { right: 27px; left: 0; }
.scale-gap::after { right: 0; left: 27px; }
.scale-gap span { position: relative; z-index: 1; display: grid; width: 26px; height: 26px; margin: auto; place-items: center; border: 1px dashed var(--gold); border-radius: 50%; background: #f4f5f1; font-size: 0.75rem; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.scale-gap:hover span, .scale-gap:focus-visible span, .scale-gap.is-active span { background: var(--gold); color: #fff; transform: scale(1.16); }
.scale-path.has-focus .scale-stage { opacity: 0.3; }
.scale-path.has-focus .scale-stage.is-near { opacity: 1; }

@supports (-webkit-touch-callout: none) {
  .concept-graphic::before { background: rgba(168,216,232,0.035); }
  .braid-strands span::before { display: none; }
  .loop-center { background: #edf3f2; box-shadow: 0 16px 34px rgba(85,96,89,0.12); }
}

@media (hover: none), (pointer: coarse) {
  .thread-equation button { min-height: 44px; }
  .thread-equation.has-focus button:not(.is-active) { opacity: 0.58; }
  .thought-braid.has-focus .braid-strands span:not(.is-active) { opacity: 0.28; }
  .experience-loop.has-focus .loop-term:not(.is-active),
  .experience-loop.has-focus .loop-center:not(.is-active) { opacity: 0.58; }
  .scale-path.has-focus .scale-stage { opacity: 0.62; }
  .scale-path.has-focus .scale-stage.is-near { opacity: 1; }
  .loop-pulse { display: none; }
}

.ladder { display: grid; gap: 10px; }
.rung { display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 18px 20px; border-radius: 16px; }
.rung:nth-child(1) { background: rgba(126,157,130,0.16); }
.rung:nth-child(2) { background: rgba(168,216,232,0.18); }
.rung:nth-child(3) { background: rgba(216,183,90,0.14); }
.rung strong { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.rung p { margin: 0; font-size: 0.88rem; }

.principles { margin: 2.8rem 0; padding: 0; counter-reset: principle; list-style: none; }
.principles li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); color: #202522; font-family: var(--display); font-size: 1.18rem; }
.principles li::before { counter-increment: principle; content: "0" counter(principle); color: var(--gold); font: 500 0.68rem var(--body); letter-spacing: 0.1em; }

.sources { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.sources h2 { margin-top: 0; font-size: 2rem; }
.sources ol { padding-left: 1.15rem; }
.sources li { margin-bottom: 1rem; color: var(--muted); font-size: 0.83rem; }
.sources a { overflow-wrap: anywhere; }

.next { padding: 72px 0 90px; border-top: 1px solid var(--line); }
.next-card { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.next h2 { max-width: 680px; margin: 0; }

.site-footer { padding: 28px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; }
.site-footer .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 980px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-image { min-height: 400px; }
  .diagram, .interactive-viz, .concept-graphic { margin-right: -32px; margin-left: -32px; }
  .operations { grid-template-columns: 1fr; }
  .operation { min-height: 0; }
  .operation::before { margin-bottom: 22px; }
  .operation:not(:last-child)::after { display: none; }
  .world-layout { grid-template-columns: minmax(210px, 0.78fr) minmax(300px, 1.22fr); gap: 30px; }
  .amplification-path { gap: 4px; }
  .amplification-step { padding-right: 5px; padding-left: 5px; }
  .amplification-step::before { left: 5px; }
}

@media (hover: none) and (pointer: coarse) and (min-width: 681px) and (max-width: 980px) {
  .diagram, .concept-graphic { max-width: 100%; margin-right: 0; margin-left: 0; }
  .article-body blockquote { margin-right: 0; margin-left: 0; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 80px; }
  .nav { gap: 14px; font-size: 0.76rem; }
  .nav .optional { display: none; }
  .article-hero { min-height: 760px; }
  .article-hero::after { background: linear-gradient(180deg, rgba(248,249,246,0.97) 0%, rgba(248,249,246,0.88) 52%, rgba(248,249,246,0.25) 100%); }
  .article-hero > img { object-position: 63% center; }
  .hero-copy { min-height: 680px; justify-content: flex-start; padding-top: 80px; }
  .hero-copy h1 { font-size: clamp(3.55rem, 18vw, 5.4rem); }
  .diagram, .interactive-viz { margin-right: -8px; margin-left: -8px; padding: 22px 18px; border-radius: 22px; }
  .concept-graphic { margin-right: -8px; margin-left: -8px; padding: 32px 12px; }
  .concept-graphic h3 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .thread-equation { gap: 8px; }
  .thread-equation button { min-height: 44px; font-size: 1.28rem; }
  .thought-braid { grid-template-columns: 1fr; gap: 13px; }
  .braid-moment:last-child { justify-items: start; text-align: left; }
  .braid-strands { height: 118px; margin: 0 4px; }
  .experience-loop { min-height: 520px; }
  .experience-loop > svg { display: block; }
  .loop-term, .loop-center { min-width: 0; }
  .term-memory { top: 5%; left: 0; }
  .term-signals { top: 5%; right: 0; }
  .term-body { top: auto; bottom: 5%; left: 0; }
  .term-feedback { top: auto; right: 0; bottom: 5%; }
  .action-label { top: auto; right: 12%; bottom: 25%; transform: rotate(18deg); }
  .loop-center { top: 50%; width: 190px; min-height: 138px; }
  .loop-term { width: 42%; min-height: 92px; padding: 8px; }
  .loop-term::after { margin-top: 8px; }
  .correction-control { margin-top: 12px; }
  .scale-path { grid-template-columns: 1fr; margin-top: 24px; }
  .scale-stage { min-height: 92px; padding: 15px 12px; border: 0; border-left: 1px solid rgba(17,19,18,0.17); }
  .scale-gap { width: 44px; height: 46px; margin-left: -21px; transform: translateX(21px); }
  .scale-gap::before, .scale-gap::after { top: auto; right: auto; left: 21px; width: 1px; height: 11px; }
  .scale-gap::before { bottom: 34px; }
  .scale-gap::after { top: 34px; }
  .scale-gap span { width: 30px; height: 30px; }
  .scale-path.has-focus .scale-stage { opacity: 0.25; }
  .scale-path.has-focus .scale-stage.is-near { opacity: 1; }
  .article-body blockquote { margin-right: 0; margin-left: 0; padding-left: 20px; }
  .viz-heading { display: grid; align-items: start; }
  .viz-action { justify-self: start; }
  .relation-stage { min-height: 620px; }
  .relation-node { min-width: 94px; min-height: 62px; padding: 9px 12px; border-radius: 17px; font-size: 0.72rem !important; }
  .relation-node:nth-child(1) { --x: 25% !important; --y: 13% !important; }
  .relation-node:nth-child(2) { --x: 73% !important; --y: 14% !important; }
  .relation-node:nth-child(3) { --x: 81% !important; --y: 75% !important; }
  .relation-node:nth-child(4) { --x: 50% !important; --y: 89% !important; }
  .relation-node:nth-child(5) { --x: 18% !important; --y: 73% !important; }
  .relation-readout { width: 68%; }
  .relation-readout p { font-size: 0.78rem; }
  .relation-field { transform: scale(1.42); }
  .preset-group { width: fit-content; max-width: 100%; }
  .preset-group button { padding: 7px 9px; font-size: 0.58rem; }
  .world-layout { grid-template-columns: 1fr; }
  .world-controls { order: 2; }
  .world-stage { width: min(100%, 350px); }
  .world-label { width: 52%; }
  .amplification-path { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; }
  .amplification-path::before { top: 21px; right: auto; bottom: 21px; left: 15px; width: 1px; height: auto; }
  .amplification-step { grid-template-columns: 36px 1fr; gap: 9px; min-height: 64px; align-items: center; padding: 0 0 0 0; }
  .amplification-step::before { top: 22px; left: 6px; }
  .amplification-step:not(:last-child)::after { top: auto; right: auto; bottom: -1px; left: 13px; content: "↓"; }
  .amplification-step span { text-align: right; }
  .amplification-readout { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .evidence-meter { grid-column: 1; }
  .rung { grid-template-columns: 1fr; gap: 5px; }
  .next-card { display: block; }
  .next .read-link { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .relation-core, .flow-path, .world-orbit, .world-feedback { animation: none !important; }
}
