:root {
  --red: #cf2e2e;
  --red-bright: #ef3b3b;
  --black: #030303;
  --panel: rgba(20, 20, 20, 0.88);
  --panel-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.12);
  --line-red: rgba(207, 46, 46, 0.62);
  --text: #f3efe8;
  --muted: #c3bdb3;
  --dim: #807a72;
  --mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Manrope, ui-sans-serif, system-ui, sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 48% -10%, rgba(207, 46, 46, 0.2), transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(207, 46, 46, 0.1), transparent 34%),
    linear-gradient(135deg, #020202 0%, #0a0303 52%, #030303 100%);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 850;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand img {
  display: block;
  height: 32px;
  width: auto;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 7px;
  white-space: nowrap;
}

.site-nav a,
.pager a,
.small-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active,
.pager a:hover,
.small-link:hover,
button:hover {
  border-color: var(--red);
  color: var(--red-bright);
  background: rgba(207, 46, 46, 0.08);
}

.crumbs {
  margin-bottom: 54px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.crumbs span,
.red {
  color: var(--red-bright);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  gap: clamp(30px, 7vw, 86px);
  align-items: end;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label,
.card-kicker {
  margin-bottom: 18px;
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: clamp(0.66rem, 1vw, 0.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.01;
}

h1 em {
  color: var(--red-bright);
  font-style: italic;
  font-weight: 300;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 4.25rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

h3 {
  font-size: clamp(1.28rem, 2.3vw, 1.75rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.subhead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.62;
}

.rule-box,
.panel,
.node,
.key-panel,
.output {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.08), transparent 54%),
    var(--panel);
}

.rule-box {
  padding: 30px;
  border-color: rgba(255, 255, 255, 0.17);
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.38);
}

.rule-box strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section {
  padding-top: clamp(56px, 7vw, 90px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.panel,
.node {
  padding: 22px;
}

.node-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 5px;
  background: var(--red-bright);
  color: white;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.node p,
.panel p,
.output p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mono {
  margin-top: 22px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.system-map .node {
  min-height: 250px;
}

.system-map .node h3 {
  margin-bottom: 10px;
}

.mini-stack {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.mini {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
}

.focus-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.operator-work {
  min-height: 270px;
  border-color: rgba(239, 59, 59, 0.28);
}

.ops-support {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 15px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(15, 15, 15, 0.66);
}

.ops-support span {
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.ops-support p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.operating-areas,
.database-grid,
.jobs-system,
.deals-system,
.ops-system {
  display: grid;
  gap: 16px;
}

.operating-areas {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.database-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jobs-system {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-system {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.area-card,
.database-card,
.jobs-card {
  position: relative;
  overflow: hidden;
}

.area-card {
  min-height: 292px;
}

.area-label {
  display: inline-flex;
  margin-bottom: 20px;
  border: 1px solid var(--line-red);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.area-card h3,
.database-card h3 {
  margin-bottom: 10px;
}

.area-card .mini-stack {
  margin-top: 22px;
}

.database-card,
.jobs-card {
  min-height: 188px;
}

.jobs-card-wide {
  grid-column: 1 / -1;
}

.schema-card h3 {
  max-width: 860px;
}

.schema-table-wrap {
  width: 100%;
  margin-top: 20px;
  overflow-x: auto;
}

.schema-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.84rem;
}

.schema-table th,
.schema-table td {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.schema-table th:last-child,
.schema-table td:last-child {
  border-right: 0;
}

.schema-table tbody tr:last-child td {
  border-bottom: 0;
}

.schema-table th {
  color: var(--red-bright);
  background: rgba(207, 46, 46, 0.08);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.vendor-table {
  min-width: 1120px;
}

.deals-table {
  min-width: 1040px;
}

.campaigns-table {
  min-width: 1120px;
}

.asset-table {
  min-width: 980px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-chip.ongoing,
.status-chip.active {
  border-color: rgba(239, 59, 59, 0.55);
  color: var(--red-bright);
  background: rgba(207, 46, 46, 0.1);
}

.status-chip.pending,
.status-chip.lead {
  color: var(--muted);
}

.stage-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.vendor-statuses {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.deal-pipeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ops-pipeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.audience-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.taxonomy-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.taxonomy-row strong {
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-strip span {
  border: 1px solid rgba(239, 59, 59, 0.32);
  border-radius: 999px;
  padding: 9px 10px;
  color: var(--muted);
  background: rgba(207, 46, 46, 0.06);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.pipeline-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.pipeline-columns div {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 11px 10px;
  background: rgba(255, 255, 255, 0.035);
}

.pipeline-columns strong,
.pipeline-columns span,
.mini-ledger span {
  display: block;
}

.pipeline-columns strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.76rem;
  line-height: 1.15;
}

.pipeline-columns span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.mini-ledger {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.statement-stack {
  margin-top: 22px;
}

.review-steps {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.review-steps li {
  padding-left: 4px;
  font-size: 0.84rem;
  line-height: 1.35;
}

.review-steps li::marker {
  color: var(--red-bright);
  font-family: var(--mono);
  font-weight: 700;
}

.guardrail-system {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  align-items: stretch;
}

.guardrail-principle,
.guardrail-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.08), transparent 54%),
    var(--panel);
}

.guardrail-principle {
  display: grid;
  align-content: center;
  padding: 30px;
  border-color: rgba(239, 59, 59, 0.34);
}

.guardrail-principle h3 {
  max-width: 520px;
  margin: 10px 0 14px;
  color: var(--text);
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1;
}

.guardrail-principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.guardrail-list {
  display: grid;
  gap: 10px;
}

.guardrail-list article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 60%),
    rgba(15, 15, 15, 0.82);
}

.guardrail-list span {
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.guardrail-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
}

.ledger-row span {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 11px;
  color: var(--muted);
  font-size: 0.8rem;
}

.ledger-row span:last-child {
  border-right: 0;
}

.mini-ledger .ledger-row:last-child span {
  border-bottom: 0;
}

.ledger-head span {
  color: var(--red-bright);
  background: rgba(207, 46, 46, 0.08);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.journal-page {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 58px / 100% 34px,
    linear-gradient(135deg, rgba(207, 46, 46, 0.08), transparent 52%),
    var(--panel);
}

.journal-page-wide {
  grid-column: 1 / -1;
}

.journal-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.journal-topline span,
.journal-topline strong {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.journal-topline span {
  border: 1px solid var(--line-red);
  padding: 7px 9px;
  color: var(--red-bright);
  background: rgba(207, 46, 46, 0.08);
}

.journal-topline strong {
  color: var(--muted);
}

.journal-page h3 {
  max-width: 760px;
  margin-bottom: 16px;
}

.journal-table {
  min-width: 760px;
}

.journal-table td:first-child {
  color: var(--text);
  font-weight: 800;
}

.monthly-inputs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.monthly-inputs div,
.monthly-priority-board div {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.032);
}

.monthly-inputs strong,
.monthly-inputs span,
.monthly-priority-board strong,
.monthly-priority-board span {
  display: block;
}

.monthly-inputs strong,
.monthly-priority-board strong {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.15;
}

.monthly-inputs span,
.monthly-priority-board span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.monthly-priority-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.monthly-priority-board div {
  min-height: 128px;
}

.monthly-priority-board span + span {
  margin-top: 6px;
}

.journal-review {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

	  .review-grid,
	  .journal-lines,
	  .guardrail-system,
	  .learn-write-think,
.schedule-sheet {
  display: grid;
  gap: 10px;
}

.review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journal-lines {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.daily-pre-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(170px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.daily-prompts {
  grid-template-columns: 1fr;
}

.learn-write-think {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.review-grid div,
.journal-lines div,
.learn-write-think div,
.schedule-sheet div {
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.032);
}

.review-grid strong,
.review-grid span,
.journal-lines strong,
.journal-lines span,
.learn-write-think strong,
.learn-write-think span,
.schedule-sheet span,
.schedule-sheet strong {
  display: block;
}

.review-grid strong,
.journal-lines strong,
.learn-write-think strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.15;
}

.review-grid span,
.journal-lines span,
.learn-write-think span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.compact-lines div {
  min-height: 52px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.schedule-sheet {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.daily-calendar {
  grid-template-columns: 1fr;
  margin-top: 0;
}

  .schedule-sheet div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
    min-height: 48px;
  }

.daily-calendar div {
  min-height: 42px;
}

.schedule-sheet span {
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-sheet strong {
  color: var(--muted);
  font-size: 0.84rem;
}

.database-wide {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border-color: var(--line-red);
}

.flow {
  display: grid;
  gap: 22px;
}

.firehose-original {
  padding-top: 72px;
}

.firehose-board {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 26px;
}

.board-label,
.funnel-title {
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.incoming-cloud {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(207, 46, 46, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 0%, rgba(207, 46, 46, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.025);
}

.incoming-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 10px 11px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.85rem;
  line-height: 1;
  text-align: center;
}

.big-funnel {
  position: relative;
  z-index: 2;
  width: min(760px, 88%);
  height: 260px;
  margin-top: -2px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}

.big-funnel::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 56% 100%, 44% 100%);
  border: 1px solid var(--line-red);
  background:
    linear-gradient(180deg, rgba(207, 46, 46, 0.28), rgba(207, 46, 46, 0.04)),
    rgba(255, 255, 255, 0.025);
}

.big-funnel::after {
  content: "";
  position: absolute;
  bottom: -58px;
  left: 50%;
  width: 1px;
  height: 58px;
  background: var(--line-red);
}

.funnel-title {
  position: relative;
  z-index: 2;
}

.choke-box {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  margin-top: 38px;
  border: 1px solid var(--line-red);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.12), transparent 46%),
    rgba(15, 15, 15, 0.95);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

.choke-box::before {
  content: "";
  position: absolute;
  top: -13px;
  left: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--line-red);
  border-bottom: 1px solid var(--line-red);
  transform: rotate(45deg);
  background: rgba(20, 9, 9, 0.9);
}

.choke-title {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: end;
  padding: 28px 28px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.choke-title h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.choke-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.09);
  gap: 1px;
}

.choke-slots article {
  padding: 24px;
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.07), transparent 50%),
    rgba(17, 17, 17, 0.98);
}

.choke-slots h3 {
  margin-bottom: 8px;
}

.choke-slots p {
  color: var(--muted);
  line-height: 1.55;
}

.organized-title {
  width: 100%;
  margin-top: 48px;
  text-align: left;
}

.firehose-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(207, 46, 46, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 10% 0%, rgba(207, 46, 46, 0.2), transparent 35%),
    rgba(255, 255, 255, 0.025);
}

.firehose-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.86rem;
  text-align: center;
}

.capture-machine {
  display: grid;
  justify-items: center;
  gap: 0;
}

.funnel {
  position: relative;
  width: min(820px, 100%);
  min-height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.funnel::before {
  content: "";
  position: absolute;
  inset: 12px 18% 18px;
  clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%);
  border: 1px solid var(--line-red);
  background:
    linear-gradient(180deg, rgba(207, 46, 46, 0.2), rgba(207, 46, 46, 0.03)),
    rgba(255, 255, 255, 0.025);
}

.funnel-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  text-align: center;
}

.funnel-inner h2 {
  margin-bottom: 14px;
}

.funnel-inner p {
  color: var(--muted);
}

.funnel-arrow {
  width: 1px;
  height: 48px;
  background: var(--line-red);
}

.funnel-arrow::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 38px 0 0 -8px;
  border-right: 1px solid var(--line-red);
  border-bottom: 1px solid var(--line-red);
  transform: rotate(45deg);
}

.choke-inbox {
  width: min(980px, 100%);
  border: 1px solid var(--line-red);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.13), transparent 48%),
    rgba(12, 12, 12, 0.86);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.35);
}

.inbox-core {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: end;
  padding: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.inbox-core h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.inbox-core p {
  color: var(--muted);
  line-height: 1.6;
}

.inbox-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.inbox-slots article {
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.07), transparent 50%),
    rgba(17, 17, 17, 0.98);
}

.inbox-slots h3 {
  margin-bottom: 8px;
}

.inbox-slots p {
  color: var(--muted);
  line-height: 1.55;
}

.organized-seven {
  display: grid;
  gap: 16px;
}

.organized-seven .top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.organized-seven .bottom {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.decision-line {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--line-red);
  border-radius: 8px;
  color: var(--text);
  background: rgba(207, 46, 46, 0.08);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.activate-sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trigger-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.trigger-card .mini-stack {
  margin-top: auto;
  padding-top: 18px;
}

.mini-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.mini-row b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: var(--red-bright);
  color: white;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.mini-row strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
}

.mini-row span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.45;
}

.command-stage {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.command-pyramid {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.pyramid-tier,
.journal-base {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.1), transparent 55%),
    var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.pyramid-tier {
  display: grid;
  grid-template-columns: auto minmax(0, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 16px 20px;
}

.pyramid-tier span,
.journal-base span {
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pyramid-tier strong,
.journal-base strong {
  color: var(--text);
  font-size: clamp(1.18rem, 2.1vw, 1.65rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.pyramid-tier p,
.journal-base p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tier-vision { width: 38%; border-color: rgba(207, 46, 46, 0.72); }
.tier-moonshot { width: 52%; }
.tier-checkpoint { width: 66%; }
.tier-year { width: 80%; }
.tier-rocks { width: 94%; }

.journal-base {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  padding: 22px 26px;
  border-color: var(--line-red);
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.18), transparent 52%),
    rgba(20, 20, 20, 0.92);
}

.journal-base span,
.journal-base strong {
  display: block;
}

.journal-base span {
  margin-bottom: 8px;
}

.sector-map {
  display: grid;
  gap: 16px;
}

.sector-row {
  display: grid;
  gap: 16px;
}

.sector-row--top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sector-row--bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sector-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-height: 218px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.08), transparent 54%),
    var(--panel);
}

.sector-card--large {
  min-height: 156px;
  padding-block: 20px;
  grid-template-rows: auto auto;
  border-color: rgba(207, 46, 46, 0.36);
}

.sector-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.sector-head span {
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.sector-head h3 {
  text-align: left;
}

.subsector-bullets {
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.subsector-bullets li {
  padding-left: 2px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.35;
}

.subsector-bullets li::marker {
  color: var(--red-bright);
}

.subsector-bullets--large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 8px;
}

.subsector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subsector-list span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
  line-height: 1;
}

.subsector-list.dense span {
  font-size: 0.78rem;
}

.output {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  padding: 32px;
  border-color: var(--line-red);
}

.output h2 {
  color: var(--text);
}

.key-panel {
  overflow: hidden;
}

.key-panel summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 22px 24px;
  list-style: none;
  cursor: pointer;
}

.key-panel summary::-webkit-details-marker {
  display: none;
}

.key-panel summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-red);
  border-radius: 50%;
  color: var(--red-bright);
  font-family: var(--mono);
}

.key-panel[open] summary::after {
  content: "-";
}

.key-body {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.key-body ul {
  color: var(--muted);
  line-height: 1.55;
}

.key-list {
  columns: 2;
  column-gap: 34px;
  padding-left: 18px;
}

.print-bar {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

body.workflow-page {
  background:
    radial-gradient(circle at 46% -12%, rgba(207, 46, 46, 0.1), transparent 34%),
    linear-gradient(135deg, #020202 0%, #070303 48%, #030303 100%);
}

.workflow-hero {
  grid-template-columns: minmax(0, 1fr);
}

.workflow-box {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(207, 46, 46, 0.045), transparent 44%),
    rgba(14, 14, 14, 0.9);
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.28);
}

.workflow-row {
  border-top: 1px solid rgba(255, 255, 255, 0.085);
}

.workflow-row:first-child {
  border-top: 0;
}

.workflow-row summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  list-style: none;
  cursor: pointer;
}

.workflow-row summary::-webkit-details-marker {
  display: none;
}

.workflow-row summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(207, 46, 46, 0.54);
  border-radius: 50%;
  color: var(--red-bright);
  font-family: var(--mono);
}

.workflow-row[open] summary::after {
  content: "-";
}

.workflow-row summary h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
}

.toggle-count {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.workflow-row-body {
  padding: 0 24px 24px;
}

.workflow-list,
.check-list {
  columns: 2;
  column-gap: 34px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.workflow-list li,
.check-list li {
  break-inside: avoid;
  margin-bottom: 7px;
}

.workflow-row--checklist {
  border-top-color: rgba(207, 46, 46, 0.42);
  background: rgba(207, 46, 46, 0.035);
}

button {
  cursor: pointer;
  color: var(--red-bright);
  border-color: var(--line-red);
}

.pager {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.pager a:last-child {
  margin-left: auto;
}

@media (max-width: 980px) {
  .site-top,
  .hero,
  .section-head,
  .journal-base,
  .sector-map,
  .sector-row--top,
  .sector-row--bottom,
  .system-map,
  .incoming-cloud,
  .choke-title,
  .choke-slots,
  .firehose-cloud,
  .inbox-core,
  .inbox-slots,
  .organized-seven .top,
  .organized-seven .bottom,
	  .activate-sources,
	  .focus-lanes,
	  .ops-support,
	  .operating-areas,
	  .database-grid,
		  .jobs-system,
	  .ops-system,
		  .deals-system,
	  .journal-system,
	  .review-grid,
	  .journal-lines,
	  .daily-pre-layout,
	  .monthly-inputs,
	  .monthly-priority-board,
	  .learn-write-think,
	  .schedule-sheet,
		  .database-wide,
		  .output,
	  .grid-2,
	  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .pyramid-tier {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pyramid-tier p {
    grid-column: 2;
  }

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

  .operator-work,
  .area-card,
  .database-card {
    min-height: 0;
  }

  .stage-strip,
  .vendor-statuses,
  .pipeline-columns,
  .compact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guardrail-list article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

	  .taxonomy-row {
	    grid-template-columns: 1fr;
	  }

  .journal-page-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 32px, var(--max));
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.35rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .rule-box,
  .panel,
  .node,
  .output,
  .key-panel {
    border-radius: 6px;
  }

  .key-list {
    columns: 1;
  }

  .workflow-list,
  .check-list {
    columns: 1;
  }

  .workflow-row summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .toggle-count {
    display: none;
  }

  .pager {
    display: grid;
  }

  .pager a:last-child {
    margin-left: 0;
  }

  .tier-vision,
  .tier-moonshot,
  .tier-checkpoint,
  .tier-year,
  .tier-rocks {
    width: 100%;
  }

  .subsector-bullets--large {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-top,
  .resource-nav,
  .pager,
  .print-bar {
    display: none;
  }

  body {
    background: #030303;
  }
}
