:root {
  --paper: #f2eee3;
  --paper-light: #fbf8f0;
  --paper-deep: #e6dfd0;
  --ink: #17201d;
  --ink-soft: #43504b;
  --ink-faint: #58635d;
  --line: #c8c0b1;
  --line-strong: #898b81;
  --orange: #e65f2b;
  --orange-dark: #b13a13;
  --orange-soft: #f7d7c8;
  --sage: #cbd8cc;
  --danger: #a8321c;
  --success: #286043;
  --white: #fffdf7;
  --max: 1180px;
  --radius: 4px;
  --space-section: clamp(4rem, 6.5vw, 6rem);
  --space-section-compact: clamp(3rem, 5vw, 4.5rem);
  --space-block: clamp(1.75rem, 3vw, 3rem);
  --space-card: clamp(1.1rem, 2vw, 1.75rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 29, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 76% 8%, rgba(230, 95, 43, 0.11), transparent 24rem);
}

::selection {
  color: var(--white);
  background: var(--orange);
}

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

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

h1,
h2,
h3,
h4,
p,
li,
a,
span {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  border: 2px solid var(--orange);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--paper-light);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink) !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--ink);
  background: rgba(242, 238, 227, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--orange);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.brand-mark::before {
  left: 50%;
  width: 1px;
  height: 100%;
}

.brand-mark::after {
  top: 50%;
  width: 100%;
  height: 1px;
}

.brand-mark span::before {
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  background: var(--paper-light);
}

.brand-mark span::after {
  right: 5px;
  bottom: 5px;
  width: 6px;
  height: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-text span {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.desktop-nav a,
.footer-nav a {
  border-bottom: 1px solid transparent;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--orange-dark);
  border-color: var(--orange);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  min-height: 44px;
  padding: 0.7rem;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.7rem;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav[open] summary {
  color: var(--white);
  background: var(--ink);
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  display: grid;
  width: min(270px, calc(100vw - 28px));
  padding: 0.4rem;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 8px 8px 0 rgba(23, 32, 29, 0.14);
}

.mobile-nav nav a {
  min-height: 44px;
  padding: 0.72rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.2;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.button-primary {
  color: #111715;
  background: var(--orange);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #111715;
  background: #f06c38;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

.cta-short {
  display: none;
}

.text-link {
  display: inline-flex;
  padding-block: 0.4rem;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--orange-dark);
  border-color: var(--orange);
}

.eyebrow,
.section-label,
.card-label,
.item-index,
.fit-label,
.specimen-topline,
.anatomy-topline,
.route-kicker,
.node-number,
.phase-number,
.footer-contact > p,
.footer-bottom p:last-child {
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--orange-dark);
}

.section-label::before,
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.8rem;
  height: 1px;
  margin-right: 0.65rem;
  vertical-align: middle;
  background: var(--orange);
}

h1,
.section-heading h2,
.founder h2,
.request-copy h2,
.proof h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.75rem, 7vw, 6rem) 0 clamp(4rem, 6vw, 5rem);
  border-bottom: 1px solid var(--ink);
}

.hero::before {
  content: "CF / OPERATING BLUEPRINT / 001";
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.1rem, 5.8vw, 5.45rem);
}

.lede {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.8rem;
}

.trust-line {
  display: flex;
  max-width: 40rem;
  margin: 1.35rem 0 0;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.trust-line > span {
  width: 8px;
  height: 8px;
  margin-top: 0.42rem;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  background: var(--sage);
}

.route-specimen {
  position: relative;
  margin: 0;
  border: 1px solid var(--ink);
  background: rgba(251, 248, 240, 0.82);
  box-shadow: 12px 12px 0 var(--paper-deep);
}

.route-specimen::before,
.route-specimen::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  pointer-events: none;
}

.route-specimen::before {
  top: -5px;
  left: -5px;
  border-top: 1px solid var(--orange);
  border-left: 1px solid var(--orange);
}

.route-specimen::after {
  right: -5px;
  bottom: -5px;
  border-right: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
}

.specimen-topline,
.anatomy-topline {
  display: flex;
  padding: 0.68rem 0.85rem;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.specimen-topline span:last-child {
  color: var(--success);
}

.specimen-body {
  padding: 1.25rem;
}

.route-kicker {
  margin: 0 0 0.65rem;
  color: var(--orange-dark);
}

.route-specimen h2 {
  max-width: 17ch;
  margin: 0 0 1.3rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.05;
}

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

.route-flow > span {
  position: relative;
  display: grid;
  min-height: 58px;
  padding: 0.45rem;
  place-items: center;
  text-align: center;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.route-flow > span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 12px;
  height: 1px;
  background: var(--ink);
}

.route-flow .route-gate {
  border-color: var(--orange-dark);
  background: var(--orange-soft);
}

.exception-note {
  display: flex;
  margin-top: 1rem;
  padding: 0.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px dashed var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.exception-note strong {
  padding: 0.2rem 0.35rem;
  background: var(--orange-soft);
}

.route-specimen figcaption {
  padding: 0.9rem 1.25rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
}

.proof {
  padding: 2.75rem 0;
  color: var(--paper-light);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.proof .section-label {
  color: #ff8657;
}

.proof h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.proof-content > p:first-child {
  margin: 0 0 1.25rem;
  color: #cbd1cc;
}

.proof-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.proof-list li {
  padding: 0.45rem 0.6rem;
  border: 1px solid #65706a;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.section {
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--ink);
}

.section-heading {
  max-width: 850px;
  margin-bottom: var(--space-block);
}

.section-heading h2,
.founder h2,
.request-copy h2 {
  max-width: 16ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.35rem, 4.2vw, 3.8rem);
}

.section-intro {
  max-width: 44rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.62;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
}

.split-heading h2 {
  margin-bottom: 0;
}

.fit {
  background: rgba(251, 248, 240, 0.58);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.diagnostic-grid article {
  display: grid;
  min-height: 175px;
  padding: 1.35rem;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(251, 248, 240, 0.58);
}

.item-index {
  color: var(--orange-dark);
}

.diagnostic-grid h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.12;
}

.diagnostic-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.89rem;
}

.fit-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}

.fit-rail > div {
  display: grid;
  padding: 1.15rem 1.3rem;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: start;
}

.fit-rail > div + div {
  border-left: 1px solid var(--ink);
}

.fit-label {
  color: var(--orange-dark);
}

.fit-label-muted {
  color: var(--ink-faint);
}

.fit-rail p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.audit {
  background: var(--paper);
}

.audit-card {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  border: 1px solid var(--ink);
  background: rgba(251, 248, 240, 0.7);
  box-shadow: inset 5px 0 0 var(--orange);
}

.audit-summary,
.audit-detail {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.audit-summary {
  border-right: 1px solid var(--ink);
}

.card-label {
  margin: 0 0 1rem;
  color: var(--orange-dark);
}

.audit-summary h3 {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.audit-summary > p:not(.card-label, .qualification-note) {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

.qualification-note {
  margin: 0.9rem 0 0;
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.audit-detail {
  display: grid;
  gap: 1.75rem;
}

.audit-detail h4,
.phase h3 {
  margin-bottom: 0.8rem;
}

.audit-detail h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check-list,
.phase ul,
.control-rail {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  padding: 0.52rem 0;
  grid-template-columns: 24px 1fr;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.check-list li::before {
  content: "✓";
  color: var(--orange-dark);
  font-family: var(--mono);
}

.audit-output {
  padding: 1.1rem;
  border-left: 2px solid var(--orange);
  background: var(--paper-deep);
}

.audit-specimen {
  margin-top: var(--space-block);
}

.audit-specimen-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  margin-bottom: 1.25rem;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
}

.audit-specimen-heading h3 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
}

.audit-specimen-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.audit-specimen-board {
  position: relative;
  border: 1px solid var(--ink);
  background:
    linear-gradient(rgba(23, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 29, 0.035) 1px, transparent 1px),
    var(--paper-light);
  background-size: 18px 18px;
  box-shadow: 10px 10px 0 var(--paper-deep);
}

.audit-specimen-board::before,
.audit-specimen-board::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  pointer-events: none;
}

.audit-specimen-board::before {
  top: -5px;
  left: -5px;
  border-top: 1px solid var(--orange);
  border-left: 1px solid var(--orange);
}

.audit-specimen-board::after {
  right: -5px;
  bottom: -5px;
  border-right: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
}

.audit-specimen-topline {
  display: flex;
  padding: 0.68rem 0.85rem;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.audit-specimen-topline span:last-child {
  color: var(--orange-dark);
}

.audit-specimen-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.82fr 1.08fr;
}

.artifact-cell {
  min-width: 0;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
}

.artifact-cell + .artifact-cell {
  border-left: 1px solid var(--ink);
}

.artifact-index {
  margin: 0 0 1.1rem;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-cell h4 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.08;
}

.artifact-cell > p:not(.artifact-index, .artifact-exception) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.artifact-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.artifact-route li {
  position: relative;
  display: grid;
  min-height: 58px;
  padding: 0.5rem;
  place-items: center;
  text-align: center;
  border: 1px solid var(--ink);
  background: rgba(251, 248, 240, 0.9);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.artifact-route li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 12px;
  height: 1px;
  background: var(--ink);
}

.artifact-exception {
  display: flex;
  margin: 0.85rem 0 0;
  padding: 0.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px dashed var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.artifact-exception strong {
  padding: 0.2rem 0.35rem;
  color: var(--danger);
  background: var(--orange-soft);
}

.artifact-finding {
  background: rgba(230, 220, 200, 0.42);
}

.artifact-decision {
  background: rgba(230, 95, 43, 0.09);
}

.decision-class {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.42rem;
  color: var(--paper-light);
  background: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-scope {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  border-top: 1px solid var(--ink);
  background: var(--paper-deep);
}

.artifact-scope > span {
  display: flex;
  padding: 0.8rem 1rem;
  align-items: center;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-scope ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.artifact-scope li {
  display: flex;
  min-height: 54px;
  padding: 0.7rem;
  align-items: center;
  border-left: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.61rem;
}

.artifact-scope li::before {
  content: "✓";
  margin-right: 0.35rem;
  color: var(--orange-dark);
}

.approach {
  color: var(--paper-light);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 20px 20px;
}

.approach .section-label {
  color: #ff8657;
}

.approach .section-intro {
  color: #c0c7c1;
}

.approach-heading {
  margin-bottom: 2rem;
}

.anatomy-board {
  margin-bottom: var(--space-block);
  color: var(--ink);
  border: 1px solid var(--paper-light);
  background:
    linear-gradient(rgba(23, 32, 29, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 29, 0.04) 1px, transparent 1px),
    #f5f1e7;
  background-size: 18px 18px;
}

.anatomy-route {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 1.25rem;
  list-style: none;
}

.anatomy-route li {
  position: relative;
  min-height: 155px;
  padding: 0.95rem 0.75rem;
  border: 1px solid var(--ink);
  background: var(--paper-light);
}

.anatomy-route li + li {
  margin-left: 16px;
}

.anatomy-route li + li::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: 100%;
  width: 16px;
  height: 1px;
  background: var(--ink);
}

.anatomy-route .human-node {
  border-color: var(--orange-dark);
  background: var(--orange-soft);
}

.node-number {
  color: var(--ink-faint);
}

.node-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.16rem 0.28rem;
  color: var(--white);
  background: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.55rem;
}

.anatomy-route h3 {
  margin: 1.25rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
}

.human-node h3 {
  margin-top: 0.2rem;
}

.anatomy-route p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.exception-route {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  padding: 0.8rem 1.25rem;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px dashed var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.exception-route > span:first-child {
  color: var(--danger);
}

.exception-route strong {
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--orange-dark);
  background: var(--orange-soft);
}

.exception-line {
  position: relative;
  height: 1px;
  background: var(--orange-dark);
}

.exception-line::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--orange-dark);
  border-right: 1px solid var(--orange-dark);
  transform: rotate(45deg);
}

.control-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.control-rail li {
  min-height: 54px;
  padding: 0.65rem;
  border-right: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.control-rail li::before {
  content: "✓";
  display: block;
  color: var(--orange-dark);
}

.control-rail li:last-child {
  border-right: 0;
}

.engagement-grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  border-top: 1px solid #737c77;
  border-left: 1px solid #737c77;
}

.phase {
  position: relative;
  min-height: 350px;
  padding: 1.4rem;
  border-right: 1px solid #737c77;
  border-bottom: 1px solid #737c77;
  background: rgba(255, 255, 255, 0.025);
}

.phase-primary {
  box-shadow: inset 5px 0 0 var(--orange);
}

.phase-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #ff8657;
}

.phase .card-label {
  color: #ff8657;
}

.phase h3 {
  max-width: 10ch;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}

.phase li {
  display: grid;
  padding: 0.48rem 0;
  grid-template-columns: 18px 1fr;
  color: #d5d9d5;
  border-top: 1px solid #535c57;
  font-size: 0.82rem;
}

.phase li::before {
  content: "·";
  color: #ff8657;
  font-weight: 800;
}

.phase-output {
  margin: 1.25rem 0 0;
  padding: 0.8rem;
  color: #ffb194;
  border: 1px solid #737c77;
  font-size: 0.8rem;
}

.founder {
  background: var(--paper-deep);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
}

.founder-visual {
  margin: 0;
}

.founder-marker {
  position: relative;
  display: grid;
  min-height: 310px;
  aspect-ratio: 4 / 5;
  padding: 1.25rem;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--ink);
  background:
    linear-gradient(rgba(23, 32, 29, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 29, 0.05) 1px, transparent 1px),
    var(--paper-light);
  background-size: 18px 18px;
  box-shadow: 10px 10px 0 rgba(23, 32, 29, 0.1);
  overflow: hidden;
}

.founder-marker > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.founder-marker > span {
  font-family: var(--mono);
  font-size: 0.72rem;
}

.founder-marker strong {
  grid-column: 1 / -1;
  align-self: center;
  justify-self: center;
  color: var(--orange-dark);
  font-family: var(--display);
  font-size: 8rem;
  font-weight: 500;
  line-height: 1;
}

.founder-marker small {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.founder-visual figcaption {
  margin-top: 0.85rem;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder h2 {
  max-width: 13ch;
}

.founder-copy > p:not(.section-label, .founder-role) {
  max-width: 49rem;
  color: var(--ink-soft);
}

.founder-role {
  display: flex;
  margin: 0 0 1.2rem;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.founder-role strong {
  color: var(--orange-dark);
  letter-spacing: 0.08em;
}

.founder-role span {
  color: var(--ink-faint);
}

.founder-belief {
  max-width: 49rem;
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.3rem;
  color: var(--paper-light);
  border-left: 4px solid var(--orange);
  background: var(--ink);
}

.founder-belief p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.founder-principles {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  padding-top: var(--space-block);
  gap: clamp(2.5rem, 8vw, 7rem);
  border-top: 1px solid var(--ink);
  align-items: start;
}

.founder-principles > div > p:last-child {
  max-width: 18rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.founder-principles ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.founder-principles li {
  min-height: 190px;
  padding: 1.15rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(251, 248, 240, 0.5);
}

.founder-principles li > span {
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.founder-principles h3 {
  margin: 1.7rem 0 0.65rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.08;
}

.founder-principles li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.faq {
  background: var(--paper-light);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 112px;
  margin: 0;
}

.faq-heading h2 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 3.7vw, 3.35rem);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  position: relative;
  min-height: 56px;
  padding: 1.15rem 3rem 1.15rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 1.05rem;
  right: 0;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 44rem;
  margin: 0;
  padding: 0 2rem 1.3rem 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.request {
  color: var(--paper-light);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 20px 20px;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1.22fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.request-copy .section-label {
  color: #ff8657;
}

.request-copy .section-intro {
  color: #c2c8c3;
}

.request-expectation {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  color: #d5d9d5;
  border-left: 2px solid var(--orange);
  font-size: 0.84rem;
}

.fallback-contact {
  margin-top: 1.25rem;
  color: #aeb7b1;
  font-size: 0.82rem;
}

.fallback-contact a {
  color: #ff9b74;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.request-form {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
  color: var(--ink);
  border: 1px solid var(--paper-light);
  background: var(--paper-light);
  box-shadow: 10px 10px 0 #0d1411;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 400;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 2px var(--orange-soft);
}

[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fff5f1;
}

.field-error {
  min-height: 1rem;
  color: var(--danger);
  font-size: 0.64rem;
  font-weight: 500;
}

.privacy-note,
.submission-note {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.submission-note {
  text-align: center;
}

.form-submit {
  width: 100%;
}

.form-alert {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid currentColor;
  font-size: 0.78rem;
}

.form-alert[hidden] {
  display: none;
}

.form-alert span:empty {
  display: none;
}

.form-alert-error {
  color: var(--danger);
  background: #fff1ec;
}

.form-alert-success {
  color: var(--success);
  background: #edf6ef;
}

.site-footer {
  color: #cbd1cc;
  background: #0c110f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.2fr;
  gap: 2rem;
  padding: 2.3rem 0;
}

.site-footer .brand-mark {
  border-color: var(--paper-light);
}

.site-footer .brand-text strong {
  color: var(--paper-light);
}

.site-footer .brand-text span,
.footer-brand p,
.footer-contact span:last-child {
  color: #9ca69f;
}

.footer-brand p {
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
}

.footer-nav {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
}

.footer-contact > p {
  margin: 0;
  color: #ff8657;
}

.footer-bottom {
  display: flex;
  padding: 0.9rem 0 1.3rem;
  justify-content: space-between;
  gap: 2rem;
  color: #7e8982;
  border-top: 1px solid #3b443f;
  font-size: 0.67rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    gap: 2.5rem;
  }

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

  .anatomy-route li:nth-child(4) {
    margin-left: 0;
  }

  .anatomy-route li:nth-child(4)::before {
    display: none;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 78px;
  }

  .header-inner {
    min-height: 68px;
  }

  .hero-grid,
  .proof-grid,
  .split-heading,
  .audit-card,
  .audit-specimen-heading,
  .audit-specimen-grid,
  .founder-grid,
  .founder-principles,
  .faq-layout,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.25rem;
  }

  .hero-copy,
  .route-specimen,
  .request-form {
    max-width: 680px;
  }

  .proof-grid {
    gap: 1.4rem;
  }

  .audit-summary {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .artifact-cell + .artifact-cell {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .artifact-scope {
    grid-template-columns: 1fr;
  }

  .artifact-scope ul {
    border-top: 1px solid var(--ink);
  }

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

  .anatomy-route li:nth-child(3),
  .anatomy-route li:nth-child(5) {
    margin-left: 0;
  }

  .anatomy-route li:nth-child(3)::before,
  .anatomy-route li:nth-child(5)::before {
    display: none;
  }

  .anatomy-route li:nth-child(4) {
    margin-left: 16px;
  }

  .anatomy-route li:nth-child(4)::before {
    display: block;
  }

  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .phase {
    min-height: auto;
    padding-left: 2rem;
  }

  .phase::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1rem;
    width: 1px;
    background: #737c77;
  }

  .founder-marker {
    min-height: 0;
  }

  .founder-marker strong {
    font-size: 6rem;
  }

  .founder-visual {
    max-width: 420px;
  }

  .founder-principles {
    gap: 1.5rem;
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --space-section: 3.25rem;
    --space-section-compact: 2.9rem;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-inner,
  .header-actions {
    gap: 0.4rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .brand-text strong {
    font-size: 0.96rem;
  }

  .brand-text span {
    display: none;
  }

  .header-cta {
    min-height: 44px;
    padding: 0.58rem 0.65rem;
    font-size: 0.63rem;
  }

  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .mobile-nav summary {
    padding: 0.65rem 0.55rem;
    font-size: 0.66rem;
  }

  .hero::before {
    right: 1rem;
    font-size: 0.54rem;
  }

  .hero {
    padding-top: 3.75rem;
    padding-bottom: 3.25rem;
  }

  .hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.6rem, 12.2vw, 3.7rem);
  }

  .lede {
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 1.35rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .route-specimen {
    box-shadow: 7px 7px 0 var(--paper-deep);
  }

  .specimen-topline span:last-child,
  .anatomy-topline span:last-child {
    display: none;
  }

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

  .route-flow > span {
    min-height: 48px;
  }

  .route-flow > span + span::before {
    display: none;
  }

  .route-flow > span:last-child {
    grid-column: 1 / -1;
  }

  .proof {
    padding: 2rem 0;
  }

  .proof h2 {
    font-size: 1.85rem;
  }

  .proof-content > p:first-child {
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
  }

  .proof-list {
    display: grid;
  }

  .section-heading {
    margin-bottom: 1.8rem;
  }

  .section-heading h2,
  .founder h2,
  .request-copy h2 {
    font-size: clamp(2.05rem, 10.5vw, 3.1rem);
  }

  .section-intro {
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .diagnostic-grid,
  .fit-rail,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-grid article {
    min-height: auto;
    padding: 0.95rem;
  }

  .diagnostic-grid h3 {
    font-size: 1.3rem;
  }

  .diagnostic-grid p {
    font-size: 0.84rem;
  }

  .fit-rail > div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .fit-rail > div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .audit-summary,
  .audit-detail {
    padding: 1.1rem;
  }

  .audit-summary h3 {
    font-size: 1.85rem;
  }

  .audit-detail {
    gap: 1.1rem;
  }

  .check-list li {
    padding: 0.42rem 0;
    font-size: 0.83rem;
  }

  .audit-output {
    padding: 0.85rem;
  }

  .audit-specimen {
    margin-top: 2.4rem;
  }

  .audit-specimen-heading {
    gap: 0.8rem;
  }

  .audit-specimen-heading h3 {
    font-size: 2rem;
  }

  .audit-specimen-heading > p {
    font-size: 0.84rem;
  }

  .audit-specimen-topline span:last-child {
    display: none;
  }

  .artifact-cell {
    padding: 1rem;
  }

  .artifact-scope ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artifact-scope li:nth-child(odd) {
    border-left: 0;
  }

  .artifact-scope li:nth-child(n + 3) {
    border-top: 1px solid var(--line-strong);
  }

  .anatomy-route {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0;
  }

  .anatomy-route li,
  .anatomy-route li:nth-child(4) {
    display: grid;
    min-height: auto;
    margin: 18px 0 0;
    grid-template-columns: 30px 1fr;
    gap: 0.4rem;
  }

  .anatomy-route li:first-child {
    margin-top: 0;
  }

  .anatomy-route li + li::before,
  .anatomy-route li:nth-child(3)::before,
  .anatomy-route li:nth-child(4)::before,
  .anatomy-route li:nth-child(5)::before {
    display: block;
    top: auto;
    right: auto;
    bottom: 100%;
    left: 1.85rem;
    width: 1px;
    height: 18px;
  }

  .anatomy-route h3,
  .human-node h3 {
    margin-top: 0;
  }

  .exception-route {
    grid-template-columns: 1fr;
  }

  .exception-line {
    width: 1px;
    height: 20px;
    margin-left: 1rem;
  }

  .exception-line::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }

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

  .control-rail li {
    border-right: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
  }

  .control-rail li:nth-child(2n) {
    border-right: 0;
  }

  .phase {
    padding: 1.05rem 1.05rem 1.05rem 1.8rem;
  }

  .phase h3 {
    font-size: 1.65rem;
  }

  .phase li {
    padding: 0.38rem 0;
    font-size: 0.78rem;
  }

  .phase-output {
    margin-top: 0.9rem;
  }

  .founder-grid {
    gap: 1.5rem;
  }

  .founder-copy > p:not(.section-label, .founder-role) {
    font-size: 0.9rem;
  }

  .founder-role {
    flex-direction: column;
    gap: 0.2rem;
  }

  .founder-belief {
    padding: 1rem;
  }

  .founder-principles ol {
    grid-template-columns: 1fr;
  }

  .founder-principles li {
    min-height: auto;
  }

  .founder-principles h3 {
    margin-top: 0.8rem;
  }

  .faq-list summary {
    font-size: 1.1rem;
  }

  .request-grid {
    gap: 2rem;
  }

  .request-form {
    padding: 1rem;
    box-shadow: 7px 7px 0 #0d1411;
  }

  .field-error:empty {
    min-height: 0;
  }

  .footer-grid {
    gap: 1.25rem;
    padding: 1.8rem 0;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.45rem;
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .header-inner {
    gap: 0.25rem;
  }

  .brand-mark {
    width: 25px;
    height: 25px;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .header-cta {
    padding-inline: 0.48rem;
    font-size: 0.58rem;
  }

  .mobile-nav summary {
    padding-inline: 0.45rem;
  }

  .route-flow {
    gap: 8px;
  }

  .route-flow > span {
    font-size: 0.57rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
