/* Local template font assets. The page expects the `fonts/` directory to ship with it.
   If these files are unavailable, the serif/sans fallbacks still preserve usability. */
@font-face {
  font-family: "Alegreya";
  src: url("fonts/Alegreya/Alegreya-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya";
  src: url("fonts/Alegreya/Alegreya-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url("fonts/Alegreya_Sans/AlegreyaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url("fonts/Alegreya_Sans/AlegreyaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url("fonts/Alegreya_Sans/AlegreyaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --panel: #F8F7F4;
  --line: #4a4a4a;
  --line-soft: #D0D0D0;
  --line-faint: rgb(31 31 31 / 0.08);
  --text: #1F1F1F;
  --muted: #4a4a4a;
  --accent: #E09933;
  --accent-strong: #E09933;
  --danger: #E09933;
  --ok: #E09933;
  --shadow: none;
  --radius: 0;
  --layout-gap: 26px;
  --section-gap: 16px;
  --step-card-width: 136px;
  --step-card-min-height: 78px;
  --step-card-padding: 8px 10px 10px;
  --step-card-label-lines: 2;
  --loop-stage-max-width: 520px;
  --loop-stage-edge-buffer: 20px;
  --body-text-max-width: 28ch;
  --sidebar-block-gap: 10px;
  --summary-max-width: 34rem;
  --detail-title-lines: 3;
  --detail-tag-lines: 2;
  --detail-body-lines: 4;
  --sidebar-copy-lines: 3;
  --detail-summary-lines: 4;
  --ladder-rung-gap: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

button,
input,
textarea,
select {
  font: inherit;
}


body {
  margin: 0;
  min-height: 100vh;
  font-family: "Alegreya", serif;
  color: var(--text);
  background: var(--bg);
}

.loop-site-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.loop-site-header {
  padding-top: 30px;
}

.loop-site-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.loop-site-brand {
  color: var(--text);
  text-decoration: none;
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.loop-site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-style: italic;
}

.loop-site-nav a {
  color: var(--text);
  text-decoration: none;
}

.loop-site-nav a::after {
  content: " /";
}

.loop-site-nav a:last-child::after {
  content: "";
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0 52px;
}

.hero,
.impact-panel,
.takeaway,
.diagram-panel,
.detail-panel {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.detail-index {
  font-family: "Alegreya Sans", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  padding: 2px 0 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  color: var(--text);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: none;
  font-size: clamp(3.8rem, 6.6vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
  font-weight: 600;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.subtitle {
  max-width: 21rem;
  margin-top: 10px;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.34;
  font-weight: 500;
  font-style: normal;
  color: rgb(74 74 74 / 0.92);
  position: relative;
  z-index: 1;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  gap: var(--layout-gap);
  align-items: start;
  margin-top: 18px;
}

.diagram-panel,
.detail-panel,
.impact-panel,
.takeaway {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diagram-panel,
.impact-panel,
.takeaway {
  padding: 0;
}

.detail-panel {
  padding: 4px 0 0 22px;
  background: transparent;
  border-left: 1px solid rgb(31 31 31 / 0.12);
}

.section-heading h2,
.takeaway h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 0.96;
  max-width: 100%;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-heading {
  padding: 0 0 0 2px;
}

.loop-stage {
  position: relative;
  width: min(100%, var(--loop-stage-max-width));
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: var(--loop-stage-edge-buffer);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.system-strip {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgb(31 31 31 / 0.08);
}

.system-strip-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(74 74 74 / 0.82);
}

.system-strip-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgb(31 31 31 / 0.08);
}

.system-strip-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.system-strip-item {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.system-strip-name {
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.73rem;
  line-height: 1.1;
  color: rgb(74 74 74 / 0.78);
}

.system-strip-value {
  font-size: 0.94rem;
  line-height: 1.08;
  color: var(--text);
}

.system-strip-meter {
  overflow: hidden;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgb(208 208 208 / 0.58);
}

.system-strip-fill {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 180ms ease;
}

.loop-steps {
  position: absolute;
  inset: 0;
}

.loop-ring {
  position: absolute;
  inset: 10% 10%;
  width: 80%;
  height: 80%;
  z-index: 0;
  pointer-events: none;
}

.loop-ring-base {
  opacity: 0.28;
}

.loop-core {
  position: absolute;
  inset: 36% 36%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  place-items: center;
  gap: 2px;
  border-radius: 50%;
  border: 1px solid rgb(31 31 31 / 0.14);
  background: rgb(255 255 255 / 0.98);
  box-shadow:
    inset 0 -16px 20px rgb(31 31 31 / 0.045),
    inset 0 0 0 1px rgb(248 247 244 / 0.38),
    0 14px 22px rgb(31 31 31 / 0.07);
  text-align: center;
  z-index: 1;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
}

.loop-core::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgb(31 31 31 / 0.09);
  opacity: 1;
}

.loop-step {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--step-card-width);
  min-height: var(--step-card-min-height);
  transform: translate(-50%, -50%);
  padding: var(--step-card-padding);
  border: 1px solid rgb(31 31 31 / 0.14);
  border-radius: 0;
  background: rgb(248 247 244 / 0.86);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  z-index: 2;
  touch-action: manipulation;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.loop-step:hover,
.loop-step:focus-visible,
.loop-step.active {
  transform: translate(-50%, -50%) scale(1.03);
  border-color: rgb(31 31 31 / 0.3);
  background: rgb(255 255 255 / 0.98);
  box-shadow: 0 12px 20px rgb(31 31 31 / 0.075);
  outline: none;
}

.loop-step.active {
  border-left: 4px solid var(--accent);
  border-color: rgb(224 153 51 / 0.72);
  background: rgb(255 252 247 / 0.99);
  box-shadow:
    0 16px 26px rgb(31 31 31 / 0.1),
    0 0 0 1px rgb(224 153 51 / 0.2);
}

.loop-step.is-traversed {
  border-color: rgb(224 153 51 / 0.48);
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 9px 15px rgb(31 31 31 / 0.055);
}

.loop-step.is-traversed .step-number {
  color: var(--accent-strong);
}

.loop-step.active .step-number {
  color: var(--accent-strong);
}

.loop-step:focus-visible {
  box-shadow: 0 0 0 3px rgb(224 153 51 / 0.14), 0 10px 18px rgb(31 31 31 / 0.07);
}

.step-number {
  display: block;
  float: left;
  margin-bottom: 5px;
  margin-right: 5px;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  color: rgb(74 74 74 / 0.7);
}

.step-label {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.14;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--step-card-label-lines);
  line-clamp: var(--step-card-label-lines);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.detail-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 39.5rem;
  margin-top: 4px;
}

.detail-title,
.detail-tag,
.detail-body,
.sidebar-copy,
.impact-summary {
  transition: opacity 180ms ease;
  opacity: 1;
}

.detail-card.is-fading-out .detail-title,
.detail-card.is-fading-out .detail-tag,
.detail-card.is-fading-out .detail-body,
.detail-card.is-fading-out .sidebar-copy,
.detail-card.is-fading-out .impact-summary {
  opacity: 0;
}

.detail-card.is-fading-in .detail-title,
.detail-card.is-fading-in .detail-tag,
.detail-card.is-fading-in .detail-body,
.detail-card.is-fading-in .sidebar-copy,
.detail-card.is-fading-in .impact-summary {
  opacity: 1;
}

.detail-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-nav-wrap {
  display: grid;
  justify-items: end;
  gap: 0;
}

.detail-nav {
  display: flex;
  gap: 8px;
}

.detail-nav-button {
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--text);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, opacity 140ms ease;
}

.detail-nav-button:hover,
.detail-nav-button:focus-visible {
  border-color: rgb(31 31 31 / 0.35);
  background: rgb(248 247 244 / 0.85);
  outline: none;
}

.detail-nav-button:disabled {
  opacity: 0.4;
  cursor: default;
}

.detail-index {
  color: var(--accent);
  font-size: 0.78rem;
  line-height: 1;
}

.detail-title {
  display: -webkit-box;
  margin-top: 8px;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 0.94;
  max-width: 12ch;
  font-weight: 700;
  overflow: hidden;
  text-wrap: balance;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--detail-title-lines);
  line-clamp: var(--detail-title-lines);
  min-height: calc(0.94em * var(--detail-title-lines));
}

.detail-tag {
  display: -webkit-box;
  align-self: flex-start;
  margin-top: 6px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  color: var(--accent-strong);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 34ch;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--detail-tag-lines);
  line-clamp: var(--detail-tag-lines);
  min-height: calc(1.25em * var(--detail-tag-lines) + 6px);
  opacity: 1;
}

.detail-body {
  display: -webkit-box;
  margin-top: 10px;
  max-width: var(--body-text-max-width);
  font-size: 1rem;
  line-height: 1.38;
  color: rgb(74 74 74 / 0.94);
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--detail-body-lines);
  line-clamp: var(--detail-body-lines);
  height: calc(1.38em * var(--detail-body-lines));
}

.sidebar-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sidebar-block-gap);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgb(31 31 31 / 0.1);
}

.detail-impact {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgb(31 31 31 / 0.1);
}

.detail-impact .section-kicker {
  margin-bottom: 8px;
}

.detail-impact h2 {
  max-width: 12ch;
  font-size: clamp(1.42rem, 1.95vw, 1.82rem);
  line-height: 0.98;
  font-weight: 700;
  min-height: calc(0.98em * 3);
}

.sidebar-block {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  min-height: 4rem;
}

.sidebar-summary-card {
  padding: 10px;
  border: 1px solid rgb(31 31 31 / 0.08);
  border-top: 1px solid rgb(31 31 31 / 0.12);
  background: rgb(248 247 244 / 0.72);
}

.sidebar-label {
  margin-bottom: 5px;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(74 74 74 / 0.82);
}

.sidebar-copy {
  display: -webkit-box;
  max-width: 30ch;
  font-size: 0.9rem;
  line-height: 1.28;
  color: var(--text);
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--sidebar-copy-lines);
  line-clamp: var(--sidebar-copy-lines);
  min-height: calc(1.26em * var(--sidebar-copy-lines));
}

.impact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sidebar-block-gap);
  margin-top: 10px;
}

#sidebar-pressure-shift,
#impact-next-constraint,
#impact-business-cost {
  display: -webkit-box;
  font-size: 1.04rem;
  line-height: 1.36;
  color: rgb(31 31 31 / 0.98);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  min-height: calc(1.36em * 3);
}

.impact-panel {
  margin: 8px 0;
  background: transparent;
}

.impact-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 0;
}

.impact-heading-row h2 {
  margin-top: 0;
}

.authority-device {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 1px auto;
  padding-bottom: 0;
  border-bottom: 0;
}

.authority-price {
  position: relative;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 0.94;
}

.authority-price-sticker {
  color: var(--muted);
  opacity: 0.7;
}

.authority-price-real {
  color: var(--text);
  opacity: 0.9;
  font-style: italic;
}

.authority-arrow {
  color: rgb(74 74 74 / 0.82);
  font-size: 1.05rem;
  opacity: 0.58;
}

.authority--mostly-intact .authority-price-sticker {
  color: var(--text);
  opacity: 1;
}

.authority--mostly-intact .authority-price-real {
  color: var(--muted);
  opacity: 0.42;
  font-style: normal;
}

.authority--softening .authority-price-sticker {
  color: var(--muted);
  opacity: 0.72;
}

.authority--softening .authority-price-real {
  color: var(--text);
  opacity: 0.72;
  font-style: italic;
}

.authority--fragile .authority-price-sticker {
  color: var(--muted);
  opacity: 0.5;
}

.authority--fragile .authority-price-real {
  color: var(--accent-strong);
  opacity: 0.92;
  font-style: italic;
}

.authority--compromised .authority-price-sticker {
  color: var(--muted);
  opacity: 0.32;
}

.authority--compromised .authority-price-real {
  color: var(--accent-strong);
  opacity: 1;
  font-style: italic;
}

.impact-subhead {
  max-width: 30rem;
  margin-top: 4px;
  font-size: 0.94rem;
  line-height: 1.3;
  color: rgb(74 74 74 / 0.92);
}

.impact-control-state {
  margin-top: 8px;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(74 74 74 / 0.82);
}

.impact-control-state-label {
  margin-right: 6px;
  color: var(--accent-strong);
}

.ladder-panel {
  margin-top: 8px;
}

.escalation-ladder {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0 0 0 2px;
  list-style: none;
}

.escalation-ladder::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgb(31 31 31 / 0.12);
}

.ladder-rung {
  display: block;
  padding: 0 4px 0 0;
  color: rgb(74 74 74 / 0.58);
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.ladder-rung-button {
  position: relative;
  display: grid;
  grid-template-rows: 14px auto;
  gap: 6px;
  align-items: start;
  justify-items: start;
  width: 100%;
  padding: 0 4px 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ladder-rung-button:focus-visible {
  outline: 1px solid rgb(224 153 51 / 0.45);
  outline-offset: 3px;
}

.ladder-rung-button::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 14px;
  right: 0;
  height: 1px;
  background: transparent;
  pointer-events: none;
}

.ladder-rung-marker {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid rgb(31 31 31 / 0.18);
  border-radius: 50%;
  background: var(--bg);
}

.ladder-rung-text {
  max-width: 8ch;
  font-size: clamp(0.84rem, 1.08vw, 0.94rem);
  line-height: 1.04;
  text-wrap: balance;
}

.ladder-rung.is-complete {
  color: rgb(31 31 31 / 0.82);
}

.ladder-rung.is-complete .ladder-rung-marker {
  border-color: rgb(224 153 51 / 0.74);
  background: rgb(224 153 51 / 0.18);
}

.ladder-rung.is-complete .ladder-rung-button::before {
  background: rgb(224 153 51 / 0.42);
}

.ladder-rung.is-complete .ladder-rung-marker::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}

.ladder-rung.is-active {
  color: var(--text);
  transform: none;
}

.ladder-rung.is-active .ladder-rung-button::before {
  background: linear-gradient(90deg, rgb(224 153 51 / 0.86), rgb(224 153 51 / 0.24));
}

.ladder-rung.is-active .ladder-rung-marker {
  border-color: rgb(224 153 51 / 0.96);
  background: rgb(255 252 247 / 0.98);
  box-shadow:
    0 0 0 3px rgb(224 153 51 / 0.14),
    0 0 0 1px rgb(224 153 51 / 0.34);
}

.ladder-rung.is-active .ladder-rung-marker::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--accent);
}

.ladder-rung.is-active .ladder-rung-text {
  font-weight: 700;
}

.ladder-rung.is-upcoming {
  color: rgb(74 74 74 / 0.26);
}

.ladder-rung.is-upcoming .ladder-rung-marker {
  border-color: rgb(31 31 31 / 0.1);
  background: rgb(255 255 255 / 0.5);
}

.ladder-rung.is-upcoming .ladder-rung-button::before {
  background: rgb(31 31 31 / 0.06);
}

.impact-summary {
  display: -webkit-box;
  max-width: var(--summary-max-width);
  margin-top: 6px;
  font-size: clamp(1.34rem, 1.95vw, 1.86rem);
  line-height: 1.06;
  color: var(--text);
  font-style: normal;
  overflow: hidden;
  text-wrap: pretty;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--detail-summary-lines);
  line-clamp: var(--detail-summary-lines);
  min-height: calc(1.04em * var(--detail-summary-lines));
}

.ladder-detail {
  width: 100%;
  max-width: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgb(31 31 31 / 0.1);
}

.ladder-detail-title {
  font-size: 1rem;
  line-height: inherit;
  font-weight: 700;
}

.ladder-detail-copy {
  font-size: 1rem;
  line-height: 1.34;
  color: rgb(31 31 31 / 0.96);
}

.ladder-detail-prefix {
  font-family: "Alegreya Sans", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.ladder-detail-separator {
  color: rgb(74 74 74 / 0.72);
}

.dossier-frame {
  margin-top: 30px;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 34px;
}

.dossier-section {
  padding-top: 14px;
  border-top: 1px solid rgb(31 31 31 / 0.1);
}

.dossier-section h2 {
  max-width: 16ch;
  margin-top: 2px;
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dossier-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.dossier-list li {
  position: relative;
  padding: 0 0 0 16px;
  font-size: 0.98rem;
  line-height: 1.34;
  color: rgb(31 31 31 / 0.92);
}

.dossier-list li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 8px;
  height: 1px;
  background: rgb(224 153 51 / 0.72);
}

.neighboring-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.neighboring-item {
  padding: 10px 0 0 16px;
  border-top: 1px solid rgb(31 31 31 / 0.08);
  position: relative;
}

.neighboring-item::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid rgb(31 31 31 / 0.18);
  border-radius: 50%;
  background: rgb(248 247 244 / 0.9);
}

.neighboring-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.neighboring-item:first-child::before {
  top: 4px;
}

.neighboring-name {
  font-size: 1rem;
  line-height: 1.08;
  font-weight: 700;
}

.neighboring-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.neighboring-item.is-link .neighboring-link:hover .neighboring-name,
.neighboring-item.is-link .neighboring-link:focus-visible .neighboring-name {
  color: var(--accent);
}

.neighboring-item.is-link .neighboring-link:focus-visible {
  outline: 1px solid rgb(224 153 51 / 0.5);
  outline-offset: 4px;
}

.neighboring-link--disabled {
  cursor: default;
}

.neighboring-status {
  flex: 0 0 auto;
  font-size: 0.73rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(74 74 74 / 0.68);
}

.neighboring-item.is-link .neighboring-status {
  color: rgb(224 153 51 / 0.92);
}

.neighboring-relationship {
  margin-top: 4px;
  font-size: 0.94rem;
  line-height: 1.34;
  color: rgb(74 74 74 / 0.9);
}

.takeaway {
  margin-top: 28px;
  border: 0;
  background: transparent;
}

.takeaway-inner {
  position: relative;
  padding: 22px 0 24px;
  border-top: 1px solid rgb(31 31 31 / 0.12);
}

.takeaway-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--accent);
}

.takeaway h2 {
  max-width: 100%;
  padding-left: 24px;
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-wrap: balance;
  font-weight: 700;
}

.takeaway-support {
  max-width: 33rem;
  margin-top: 16px;
  padding-left: 24px;
  font-size: 1.08rem;
  line-height: 1.42;
  color: rgb(74 74 74 / 0.92);
}

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

  .detail-card {
    min-height: auto;
  }

  .detail-body {
    max-width: none;
  }

  .detail-title,
  .detail-tag,
  .sidebar-copy {
    max-width: none;
  }

  .sidebar-facts {
    grid-template-columns: 1fr;
  }

  .dossier-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 720px) {
  :root {
    --step-card-width: 138px;
    --step-card-min-height: 80px;
    --step-card-padding: 8px 10px 10px;
    --loop-stage-edge-buffer: 16px;
  }

  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .detail-panel {
    padding: 0;
    border-left: 0;
  }

  .impact-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .authority-device {
    margin: 0;
  }

  .detail-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .detail-nav-wrap {
    justify-items: start;
  }

  .loop-stage {
    width: 100%;
  }

  .step-label {
    font-size: 0.8rem;
  }

  .ladder-panel {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .escalation-ladder {
    min-width: 680px;
  }

  .system-strip-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.2rem, 14vw, 4.6rem);
    white-space: normal;
  }

  .subtitle {
    max-width: 16rem;
    font-size: 0.94rem;
  }

  .loop-stage {
    min-height: 0;
  }

  .loop-core {
    inset: 39% 30%;
  }

  .loop-ring {
    inset: 14% 4%;
    width: 92%;
    height: 72%;
  }

  :root {
    --step-card-width: 142px;
    --step-card-min-height: 82px;
    --loop-stage-edge-buffer: 14px;
  }

  .takeaway h2 {
    padding-left: 18px;
  }

  .takeaway-support {
    padding-left: 18px;
  }
}
.loop-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 360px);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
  padding-top: 24px;
}

.loop-cta h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.loop-cta-copy p:last-child,
.loop-cta-card p {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.35;
}

.loop-cta-card {
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
}

.loop-cta-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.loop-button {
  display: inline-block;
  margin: 14px 0 10px;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
}

.loop-button:hover,
.loop-button:focus-visible {
  background: var(--text);
}

.loop-card-divider {
  margin: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.loop-text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.loop-site-footer {
  padding: 12px 0 24px;
}

.loop-site-footer-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding: 24px 20px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
}

.loop-site-footer-panel p {
  margin: 0 0 6px;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.loop-site-footer-center,
.loop-site-footer-right {
  text-align: center;
}

.loop-site-footer-right {
  justify-self: end;
}

@media (max-width: 980px) {
  .loop-cta,
  .loop-site-footer-panel {
    grid-template-columns: 1fr;
  }

  .loop-site-footer-center,
  .loop-site-footer-right {
    text-align: left;
  }

  .loop-site-footer-right {
    justify-self: start;
  }

  .loop-site-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .loop-site-container,
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .loop-site-header {
    padding-top: 22px;
  }

  .loop-site-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .loop-site-nav {
    justify-content: flex-start;
  }
}
