@font-face {
  font-family: "Instrument Sans";
  src: url("./fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/barlow-condensed-medium-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/ibm-plex-mono-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: var(--brand-canvas);
  --surface: var(--brand-surface);
  --raised: var(--brand-surface);
  --text: var(--brand-navy);
  --muted: var(--brand-muted);
  --subtle: #778397;
  --line: var(--brand-line);
  --accent: var(--brand-coral);
  --accent-ink: var(--brand-navy);
  --steel: #496783;
  --rust: #a9553a;
  --rust-surface: #f5e8e3;
  --font-display: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shell-width: 1240px;
  --radius: 5px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
  background: var(--canvas);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
figure,
ol,
ul,
dl {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
}

h3 {
  font-weight: 550;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.shell {
  width: min(var(--shell-width), calc(100% - 112px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  transform: translateY(-170%);
  padding: 10px 15px;
  background: var(--text);
  color: var(--canvas);
}

.skip-link:focus {
  transform: none;
}

.preview-notice {
  min-height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 5px 18px;
  border-bottom: 1px solid #e4e6ef;
  background: #e9ebf2;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.preview-notice span {
  color: var(--subtle);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  border-bottom: 1px solid #e2e4ed;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.brand::before {
  width: 8px;
  height: 8px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  font-size: 13px;
}

.site-nav > a {
  padding-block: 10px;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}

.site-nav > a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 12px 17px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: #ffa18c;
  background: #ffa18c;
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 12px;
  gap: 16px;
}

.button span {
  font-size: 16px;
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  padding-block: 8px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .16s ease;
}

.quiet-link:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .86fr);
  align-items: center;
  gap: clamp(44px, 8vw, 124px);
  padding-top: clamp(76px, 9vw, 128px);
  padding-bottom: clamp(68px, 8vw, 112px);
}

.hero::before { display: none; }

.hero-copy {
  max-width: 680px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.4;
}

.hero-kicker span {
  width: 22px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 8ch;
  font-size: clamp(64px, 7.25vw, 105px);
  letter-spacing: -.067em;
  line-height: .92;
}

.hero-description {
  max-width: 570px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  letter-spacing: -.018em;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 29px clamp(24px, 3vw, 38px) 25px;
  border: 1px solid #c3cbda;
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.sample-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid #c6cede;
  border-radius: 2px;
  padding: 4px 7px;
  background: #171d26;
  color: #465a77;
  font-size: 11px;
  line-height: 1.4;
}

.hero-visual h2 {
  margin-top: 22px;
  font-size: clamp(30px, 3vw, 41px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.hero-flow {
  position: relative;
  list-style: none;
  margin-top: 21px;
  padding: 0 0 0 25px;
  border-left: 1px solid #78849a;
}

.hero-flow li {
  position: relative;
  padding: 13px 0 14px 15px;
  border-bottom: 1px solid #2b313b;
}

.hero-flow li:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.hero-flow li::before {
  position: absolute;
  top: 19px;
  left: -31px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px #77849b;
  content: "";
}

.hero-flow .route-exception::before {
  background: var(--rust);
  box-shadow: 0 0 0 1px #ac624a;
}

.route-step {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
}

.hero-flow strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.hero-flow p {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.45;
}

.hero-visual-caption {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.45;
}

.workspace-section {
  padding-bottom: clamp(86px, 11vw, 146px);
}

.workspace-heading,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .65fr);
  align-items: end;
  gap: clamp(36px, 8vw, 110px);
}

.workspace-heading {
  margin-bottom: 29px;
}

.section-label {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.4;
}

.workspace-heading h2,
.section-heading h2,
.approach-copy h2,
.closing-section h2 {
  max-width: 14ch;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.04em;
  line-height: 1.02;
}

.workspace-heading > p,
.section-heading > p {
  max-width: 445px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.workspace-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 12px;
}

.reset-button {
  border: 0;
  padding: 7px 0;
  background: none;
  color: var(--subtle);
  font-size: 12px;
  transition: color .16s ease;
}

.reset-button:hover {
  color: var(--text);
}

.reset-button span {
  margin-left: 7px;
  color: var(--accent);
}

.workspace-frame {
  overflow: hidden;
  border: 1px solid #c6cede;
  border-radius: var(--radius);
  background: var(--surface);
}

.workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
  background: #ebedf3;
  font-size: 12px;
  line-height: 1.4;
}

.workspace-title {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--muted);
}

.workspace-title .workspace-name {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-symbol svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.breadcrumb {
  color: var(--subtle);
}

.workspace-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
}

.workspace-sidebar {
  display: flex;
  flex-direction: column;
  padding: 24px 19px 19px;
  border-right: 1px solid var(--line);
  background: #eef0f5;
}

.sidebar-heading {
  margin-bottom: 11px;
  color: var(--subtle);
  font-size: 11px;
}

.record-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}

.record-navigation li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.record-icon {
  flex: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
}

.sidebar-owners {
  margin-top: 23px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.sidebar-owners p {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 12px;
}

.sidebar-owners p span {
  display: block;
  margin-top: 2px;
  color: var(--subtle);
}

.sidebar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--subtle);
  font-size: 11px;
}

.source-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--accent);
}

.workspace-main {
  min-width: 0;
}

.stage-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #131821;
}

.stage-tab {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: 60px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 12px 10px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.tab-number {
  flex: 0 0 auto;
  padding-top: 1px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
}

.stage-tab small {
  display: block;
  margin-top: 3px;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.35;
}

.stage-tab.is-active {
  border-color: #526a8c;
  background: #eff0f5;
}

.stage-tab.is-active .tab-number {
  color: var(--brand-navy);
}

.stage-tab:disabled {
  color: #78849a;
  opacity: .66;
}

.stage-tab:disabled .tab-number {
  color: #78849a;
}

.stage-tab:hover:not(:disabled) {
  background: #eeeff5;
}

.stage-tab:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: 2px;
}

.operations-stage {
  min-width: 0;
  padding: clamp(21px, 3vw, 34px);
}

.operations-stage:focus-visible {
  outline-offset: -5px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.panel-label {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
}

.panel-heading h2 {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.panel-heading p:not(.panel-label) {
  max-width: 620px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  border: 1px solid #394354;
  border-radius: 2px;
  padding: 6px 9px;
  background: #e9ebf2;
  color: #354b68;
  font-size: 11px;
  line-height: 1.35;
}

.status-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
  content: "";
}

.status-attention {
  border-color: #bc7b65;
  background: var(--rust-surface);
  color: #8c4936;
}

.status-attention::before {
  background: var(--rust);
}

.status-neutral {
  border-color: #c6cede;
  background: #e9ebf2;
  color: #435774;
}

.status-neutral::before {
  background: #7b879e;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 27px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}

.metrics-row > div {
  padding: 0 17px;
  border-right: 1px solid var(--line);
}

.metrics-row > div:first-child {
  padding-left: 0;
}

.metrics-row > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(29px, 4vw, 44px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr);
  gap: clamp(24px, 4vw, 42px);
  margin-top: 25px;
}

.record-block {
  min-width: 0;
}

.record-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.record-heading span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 450;
}

.fact-list {
  margin: 0;
}

.fact-list > div {
  display: grid;
  grid-template-columns: minmax(95px, .55fr) minmax(0, 1fr);
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid #dadee8;
  font-size: 12px;
  line-height: 1.45;
}

.fact-list dt {
  color: var(--muted);
}

.fact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
}

.fact-list .fact-note {
  grid-column: 2;
  color: var(--subtle);
}

.owner-record {
  align-self: stretch;
  padding: 17px 19px;
  border: 1px solid #ccd2df;
  border-left: 2px solid var(--accent);
  background: #eceef4;
}

.owner-record h3 {
  font-size: 13px;
  font-weight: 600;
}

.owner-record p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.owner-record .record-owner {
  margin-top: 16px;
  color: #d4d9e4;
  font-size: 11px;
}

.source-reference {
  margin-top: 15px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.55;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 19px;
  margin-top: 21px;
}

.panel-actions .button {
  min-height: 43px;
  font-size: 12px;
}

.text-button {
  min-height: 42px;
  border: 0;
  padding: 9px 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: #78849a;
  text-underline-offset: 4px;
}

.text-button:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.approval-boundary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid #c7cddd;
  background: #171d26;
  color: #d4d9e4;
  font-size: 12px;
  line-height: 1.55;
}

.approval-boundary svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--accent);
}

.approval-boundary.is-approved {
  border-color: #8190ae;
  background: #e8eaf1;
}

.approval-boundary.is-approved svg {
  color: var(--steel);
}

.match-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.match-table th {
  padding: 9px 8px;
  border-bottom: 1px solid #b9c2d1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  text-align: left;
}

.match-table td {
  padding: 11px 8px;
  border-bottom: 1px solid #dadee8;
}

.match-table th:first-child,
.match-table td:first-child {
  padding-left: 0;
}

.match-table th:not(:first-child),
.match-table td:not(:first-child) {
  text-align: right;
}

.match-table .review-value {
  color: var(--rust);
}

.exception-record {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  margin-top: 17px;
  padding: 15px 16px;
  border: 1px solid #bf866d;
  background: var(--rust-surface);
}

.exception-icon {
  color: var(--rust);
  font-size: 16px;
  line-height: 1.3;
}

.exception-record h3 {
  color: #8c4936;
  font-size: 12px;
}

.exception-record p {
  margin-top: 6px;
  color: #d6c8a6;
  font-size: 11px;
  line-height: 1.55;
}

.exception-record .exception-owner {
  margin-top: 12px;
  color: #8c4936;
}

.workspace-status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  background: #131821;
}

.workspace-status .source-dot {
  margin-top: 7px;
}

.workspace-status p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.illustration-boundary {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.5;
}

.no-script {
  margin-top: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.section-space {
  padding-block: clamp(78px, 10vw, 132px);
}

.work-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 45px;
}

.work-domains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.work-domains article {
  min-width: 0;
  padding: 22px clamp(16px, 2vw, 27px) 0 0;
}

.work-domains article + article {
  padding-left: clamp(16px, 2vw, 27px);
  border-left: 1px solid var(--line);
}

.work-domains h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.025em;
}

.work-domains p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.approach-section {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(50px, 10vw, 145px);
  border-top: 1px solid var(--line);
}

.approach-copy {
  max-width: 470px;
}

.approach-copy > p:not(.section-label) {
  max-width: 405px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.approach-copy .ownership-copy {
  margin-top: 22px;
  padding-left: 15px;
  border-left: 1px solid var(--accent);
  color: #d2d7e1;
  font-size: 13px;
}

.approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: approach;
}

.approach-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.approach-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.approach-list li:last-child {
  padding-bottom: 0;
}

.approach-list li > span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.1;
}

.approach-list h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.approach-list p {
  max-width: 610px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.experience-section {
  border-top: 1px solid var(--line);
}

.project-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.project-story {
  min-width: 0;
  padding: 24px clamp(19px, 2.8vw, 38px) 0 0;
}

.project-story + .project-story {
  padding-left: clamp(19px, 2.8vw, 38px);
  border-left: 1px solid var(--line);
}

.project-story h3 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.12;
}

.project-story > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.project-story details {
  margin-top: 18px;
  border-top: 1px solid #d3d9cf;
}

.project-story summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  color: #3e536f;
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}

.project-story summary::-webkit-details-marker {
  display: none;
}

.project-story summary::after {
  color: var(--accent);
  content: "+";
  font-size: 17px;
  line-height: 1;
}

.project-story details[open] summary::after {
  content: "−";
}

.project-story ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

.project-story li {
  margin-block: 5px;
}

.reference-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding-block: 35px;
  border-block: 1px solid var(--line);
}

.reference-section > div {
  max-width: 790px;
}

.reference-section .section-label {
  margin-bottom: 10px;
}

.reference-section h2 {
  font-size: clamp(36px, 4vw, 48px);
  letter-spacing: -.045em;
}

.reference-section p:not(.section-label) {
  max-width: 690px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.reference-section .proof-boundary {
  color: var(--subtle);
  font-size: 11px;
}

.reference-section .quiet-link {
  color: var(--text);
  white-space: nowrap;
}

.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-block: clamp(74px, 9vw, 116px) clamp(52px, 7vw, 88px);
  padding: clamp(34px, 5vw, 60px) clamp(28px, 6vw, 75px);
  border: 1px solid #394354;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.closing-section h2 {
  max-width: 15ch;
}

.closing-section p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.closing-section .button {
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 94px;
  border-top: 1px solid var(--line);
}

.site-footer .brand {
  font-size: 17px;
}

.site-footer .brand::before {
  width: 6px;
  height: 6px;
  margin-right: 9px;
}

.site-footer p,
.site-footer > a:last-child {
  color: var(--subtle);
  font-size: 11px;
}

.site-footer > a:last-child {
  text-decoration: none;
}

.site-footer > a:last-child span {
  margin-left: 5px;
  color: var(--accent);
}

dialog {
  width: min(650px, calc(100% - 28px));
  max-height: min(88vh, 820px);
  overflow-y: auto;
  border: 1px solid #c4ccdb;
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  background: var(--raised);
  color: var(--text);
}

dialog::backdrop {
  background: rgba(16, 34, 26, .58);
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.dialog-close {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #c3cbda;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.dialog-close:hover {
  background: #e0e3ec;
}

dialog h2 {
  font-size: clamp(35px, 6vw, 48px);
  letter-spacing: -.05em;
  line-height: 1;
}

dialog > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.discovery-questions {
  display: grid;
  gap: 0;
  margin-top: 22px;
  padding: 0;
  list-style: none;
  counter-reset: question;
}

.discovery-questions li {
  padding: 12px 0;
  border-top: 1px solid #343b46;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.discovery-questions strong {
  color: var(--text);
}

.dialog-preview-note {
  margin-top: 15px;
  padding: 13px 14px;
  border-left: 2px solid var(--accent);
  background: #141a24;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.dialog-close-action {
  margin-top: 18px;
}

@media (max-width: 1050px) {
  .shell {
    width: min(var(--shell-width), calc(100% - 72px));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
    gap: 48px;
  }

  .workspace-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .workspace-sidebar {
    padding-inline: 15px;
  }

  .stage-tabs {
    padding-inline: 10px;
  }

  .stage-tab {
    gap: 7px;
    padding-inline: 7px;
  }

  .record-grid {
    grid-template-columns: minmax(0, 1fr) minmax(210px, .8fr);
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(var(--shell-width), calc(100% - 56px));
  }

  .site-header {
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 42px;
    border: 1px solid #c3cbda;
    border-radius: 3px;
    padding: 8px 12px;
    background: #ebedf3;
    color: var(--text);
    font-size: 12px;
  }

  .menu-toggle span {
    color: var(--accent);
    font-size: 16px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 17px;
    border: 1px solid #c6cede;
    background: var(--brand-surface);
    box-shadow: 0 18px 30px rgba(29, 43, 67, .12);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav > a {
    min-height: 45px;
    padding: 12px 2px;
    border-bottom: 1px solid #2b313b;
  }

  .site-nav .button {
    justify-self: start;
    margin-top: 13px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 43px;
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(66px, 11vw, 92px);
  }

  .hero-description {
    max-width: 590px;
  }

  .hero-visual {
    width: min(100%, 620px);
    justify-self: end;
  }

  .workspace-heading,
  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(210px, .75fr);
    gap: 32px;
  }

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

  .workspace-sidebar {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(0, 1.5fr) minmax(160px, 1fr);
    align-items: start;
    gap: 14px 20px;
    padding: 17px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-sidebar > .sidebar-heading {
    grid-column: 1;
    margin: 0;
  }

  .record-navigation {
    grid-column: 1 / 3;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 18px;
  }

  .record-navigation li {
    padding: 2px 0;
  }

  .sidebar-owners {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0 0 0 17px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .sidebar-owners .sidebar-heading {
    grid-column: 1 / -1;
    margin: 0;
  }

  .sidebar-owners p {
    margin: 0;
    font-size: 11px;
  }

  .sidebar-note {
    grid-column: 1 / -1;
    padding-top: 2px;
  }

  .approach-section {
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
    gap: 45px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 40px);
  }

  .preview-notice {
    gap: 8px;
    font-size: 10px;
  }

  .site-header {
    min-height: 70px;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    gap: 36px;
    padding-top: 62px;
    padding-bottom: 67px;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(54px, 12.8vw, 76px);
    line-height: .94;
  }

  .hero-description {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 10px 18px;
    margin-top: 22px;
  }

  .hero-actions .quiet-link {
    min-height: 48px;
  }

  .hero-visual {
    padding: 22px 21px 19px;
  }

  .hero-visual h2 {
    font-size: 34px;
  }

  .workspace-section {
    padding-bottom: 82px;
  }

  .workspace-heading,
  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .workspace-heading {
    margin-bottom: 21px;
  }

  .workspace-heading h2,
  .section-heading h2,
  .approach-copy h2,
  .closing-section h2 {
    font-size: clamp(42px, 10.5vw, 58px);
  }

  .workspace-heading > p,
  .section-heading > p {
    max-width: 520px;
    font-size: 14px;
  }

  .workspace-intro {
    align-items: flex-start;
    font-size: 11px;
  }

  .workspace-bar {
    align-items: flex-start;
    padding: 13px 14px;
  }

  .workspace-title {
    flex-wrap: wrap;
    gap: 7px;
  }

  .workspace-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 15px;
  }

  .workspace-sidebar > .sidebar-heading {
    grid-column: 1;
  }

  .record-navigation {
    grid-column: 1;
    grid-row: auto;
    gap: 4px 12px;
  }

  .record-navigation li {
    font-size: 11px;
  }

  .sidebar-owners {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .sidebar-owners .sidebar-heading {
    grid-column: 1;
  }

  .sidebar-owners p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .sidebar-owners p span {
    margin-top: 0;
    text-align: right;
  }

  .sidebar-note {
    grid-column: 1;
  }

  .stage-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 9px;
  }

  .stage-tab {
    min-height: 54px;
    padding: 10px 9px;
  }

  .operations-stage {
    padding: 19px 16px 22px;
  }

  .panel-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .panel-heading h2 {
    font-size: 30px;
  }

  .status-badge {
    justify-self: start;
  }

  .metrics-row {
    margin-top: 19px;
    padding: 15px 0;
  }

  .metrics-row > div {
    padding-inline: 10px;
  }

  .metric-value {
    font-size: 33px;
  }

  .metric-label {
    font-size: 10px;
  }

  .record-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    margin-top: 20px;
  }

  .owner-record {
    padding: 14px;
  }

  .section-space {
    padding-block: 77px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

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

  .work-domains article {
    padding: 17px 14px 19px 0;
    border-bottom: 1px solid var(--line);
  }

  .work-domains article + article {
    padding-left: 14px;
  }

  .work-domains article:nth-child(odd) {
    border-left: 0;
  }

  .work-domains article:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .work-domains h3 {
    font-size: 21px;
  }

  .work-domains p {
    font-size: 12px;
  }

  .approach-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .approach-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }

  .approach-list h3 {
    font-size: 22px;
  }

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

  .project-story,
  .project-story + .project-story {
    padding: 19px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-story:first-child {
    padding-top: 20px;
  }

  .project-story h3 {
    max-width: 23ch;
  }

  .reference-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    padding-block: 28px;
  }

  .reference-section .quiet-link {
    justify-self: start;
  }

  .closing-section {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-block: 66px 48px;
    padding: 28px 23px;
  }

  .closing-section .button {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding-block: 19px;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer > a:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  dialog {
    padding: 22px 19px;
  }
}
@media (max-width: 390px) {
  .shell {
    width: calc(100% - 32px);
  }

  .preview-notice {
    justify-content: flex-start;
    gap: 7px;
    padding-inline: 16px;
  }

  .preview-notice span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(49px, 13.7vw, 60px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    justify-content: space-between;
  }

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

  .hero-visual {
    padding-inline: 17px;
  }

  .hero-visual h2 {
    font-size: 31px;
  }

  .workspace-heading h2,
  .section-heading h2,
  .approach-copy h2,
  .closing-section h2 {
    font-size: 42px;
  }

  .workspace-intro {
    gap: 10px;
  }

  .workspace-intro p {
    max-width: 185px;
  }

  .workspace-title {
    font-size: 11px;
  }

  .workspace-bar > .sample-badge {
    margin-left: 26px;
  }

  .metrics-row > div {
    padding-inline: 7px;
  }

  .metric-value {
    font-size: 29px;
  }

  .metric-label {
    max-width: 9ch;
  }

  .fact-list > div {
    grid-template-columns: minmax(75px, .55fr) minmax(0, 1fr);
    gap: 10px;
    font-size: 11px;
  }

  .match-table {
    font-size: 11px;
  }

  .match-table th {
    font-size: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* WEB-011: a technical, locally hosted type system and one visible path out. */
h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1,
.workspace-heading h2,
.section-heading h2,
.approach-copy h2,
.closing-section h2 {
  font-weight: 600;
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 18px;
  right: -5vw;
  bottom: 18px;
  left: 38%;
  background-image: none;
  background-position: right top;
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(105deg, transparent 0, #000 28%, #000 74%, transparent 100%);
  pointer-events: none;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(62px, 6.6vw, 94px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .92;
}

.hero-visual {
  overflow: visible;
  background-color: var(--surface);
  background-image: radial-gradient(circle at 88% 14%, rgba(250, 104, 86, .08), transparent 36%);
  background-position: right 14px top 14px;
  background-size: 32px 32px;
}

.hero-visual::after {
  position: absolute;
  z-index: 0;
  top: 52%;
  right: -86px;
  width: 86px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(250, 104, 86, .16));
  box-shadow: 0 0 14px rgba(250, 104, 86, .34);
  content: "";
  pointer-events: none;
}

.hero-kicker,
.section-label,
.route-step,
.sample-badge,
.hero-visual-top > p,
.panel-label,
.status-badge,
.sidebar-heading,
.sidebar-note,
.source-reference,
.record-heading > span,
.tab-number,
.fact-list dt,
.match-table th,
.workspace-intro,
.workspace-status p,
.illustration-boundary,
.metric-label,
.preview-notice {
  font-family: var(--font-mono);
}

.hero-kicker,
.section-label,
.route-step,
.sample-badge,
.hero-visual-top > p,
.panel-label,
.sidebar-heading,
.status-badge,
.preview-notice {
  letter-spacing: .015em;
  text-transform: none;
}

.hero-kicker,
.section-label {
  font-size: 11px;
}

.sample-badge {
  font-size: 9px;
}

.hero-visual h2 {
  font-weight: 600;
}

.hero-flow strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.tab-number,
.approach-list li > span {
  font-family: var(--font-mono);
}

.panel-heading h2 {
  font-weight: 600;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.3vw, 39px);
  font-weight: 400;
  letter-spacing: -.06em;
}

.work-domains h3,
.approach-list h3,
.project-story h3 {
  font-weight: 600;
}

.button:hover {
  border-color: #ff9880;
  background: #ff9880;
}

.site-header {
  border-bottom-color: rgba(250, 104, 86, .34);
}

.workspace-frame,
.hero-visual {
  border-color: rgba(29, 43, 67, .42);
  border-radius: 2px;
}

.workspace-frame {
  box-shadow: 0 18px 70px rgba(29, 43, 67, .12);
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: 14ch;
    font-size: clamp(62px, 9vw, 86px);
  }

  .hero-visual::after {
    right: -38px;
    width: 38px;
  }
}

@media (max-width: 640px) {
  .hero::before {
    top: 5px;
    right: -12px;
    bottom: 5px;
    left: 18%;
    background-size: 34px 34px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(54px, 13.5vw, 67px);
    line-height: .95;
  }

  .hero-visual::after {
    right: -12px;
    width: 12px;
  }

  .hero-flow strong {
    font-size: 18px;
  }
}

/* WEB-012: “the route beyond the frame” is the identity system. */
:root {
  --canvas: var(--brand-canvas);
  --surface: var(--brand-surface);
  --raised: var(--brand-surface);
  --text: var(--brand-navy);
  --muted: var(--brand-muted);
  --subtle: #778397;
  --line: var(--brand-line);
  --accent: var(--brand-coral);
  --accent-ink: var(--brand-navy);
  --ink-deep: var(--brand-navy);
  --ink-raised: #2c3f5b;
  --paper: var(--brand-canvas);
  --signal: var(--brand-coral);
}

:focus-visible {
  outline-color: var(--ink-deep);
  box-shadow: 0 0 0 3px rgba(250, 104, 86, .78);
}

.preview-notice {
  min-height: 31px;
  border-color: #dfe2ec;
  background: #eaecf1;
  color: #384e70;
  letter-spacing: 0;
  text-transform: none;
}

.preview-notice span { color: #68758a; }

.site-header {
  min-height: 78px;
  border-bottom: 1px solid var(--brand-line);
}

.brand {
  gap: 9px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.07em;
}

.brand::before { display: none; }

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 6px;
}

.site-nav { gap: clamp(20px, 2.6vw, 36px); }
.site-nav > a { color: #495c7b; }
.site-nav > a:hover { color: var(--brand-navy); }

.button {
  min-height: 50px;
  border: 1px solid var(--signal);
  border-radius: 2px;
  background: var(--signal);
  color: var(--ink-deep);
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink-deep);
}

.button:hover {
  transform: translate(1px, 1px);
  border-color: #ff9078;
  background: #ff9078;
  box-shadow: 2px 2px 0 var(--ink-deep);
}

.hero {
  gap: clamp(46px, 7vw, 100px);
  padding-top: clamp(76px, 8vw, 112px);
  padding-bottom: clamp(78px, 9vw, 124px);
}

.hero-kicker {
  color: #3b5275;
  font-size: 12px;
  letter-spacing: .015em;
}

.hero-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(29, 43, 67, .1);
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(70px, 8.2vw, 116px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .96;
}

.hero-description {
  max-width: 510px;
  color: #4f607c;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.58;
}

.hero-actions { gap: 23px; }
.quiet-link { color: #495c7b; }
.quiet-link:hover { color: var(--brand-navy); }

.hero-visual {
  overflow: visible;
  padding: 27px clamp(23px, 2.8vw, 34px) 23px;
  border: 0;
  border-left: 4px solid var(--signal);
  border-radius: 1px;
  background-color: var(--ink-deep);
  background-image: none;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 0;
  box-shadow: 9px 9px 0 #dfe2ea;
  color: var(--paper);
}

.hero-visual-top { border-color: rgba(244, 242, 237, .2); color: #cbd3e0; }
.sample-badge { border-color: rgba(244, 242, 237, .28); background: rgba(244, 242, 237, .08); color: #f0eef5; }
.hero-visual h2 { max-width: 12ch; color: #f7f5f0; }
.hero-flow { border-left-color: rgba(250, 104, 86, .7); }
.hero-flow li { border-color: rgba(244, 242, 237, .17); }
.hero-flow li::before { border-color: var(--ink-deep); background: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.hero-flow .route-exception::before { background: #d47a5c; box-shadow: 0 0 0 1px #d47a5c; }
.route-step { color: #c4cedf; }
.hero-flow strong { color: #fffdf8; }
.hero-flow p { color: #bbc6d8; }
.hero-visual-caption { border-color: rgba(244, 242, 237, .2); color: #bbc6d8; }
.hero-visual::after { top: 50%; right: -1px; width: min(84px, max(12px, calc((100vw - var(--shell-width)) / 2))); height: 2px; background: var(--signal); box-shadow: none; }

.section-label,
.panel-label { color: #3f587d; }
.workspace-heading h2,
.section-heading h2,
.approach-copy h2,
.closing-section h2 { color: var(--ink-deep); }
.workspace-heading > p,
.section-heading > p { color: var(--brand-muted); }

.workspace-frame {
  border: 1px solid #bcc5d5;
  border-radius: 2px;
  background: var(--brand-surface);
  box-shadow: 8px 8px 0 #e0e3ec;
}

.workspace-bar {
  border-color: #345a46;
  background: var(--ink-deep);
  color: #f6f4ef;
}

.workspace-title { color: #d1d7e4; }
.workspace-title .workspace-name { color: #fffdf8; }
.workspace-symbol svg { color: var(--signal); }
.workspace-sidebar { background: var(--brand-surface); }
.sidebar-heading,.sidebar-owners p span,.sidebar-note { color: #71809a; }
.record-navigation li,.sidebar-owners p { color: #3d5273; }
.record-icon { color: #63789a; }
.sidebar-owners { border-color: #cbd1df; }
.stage-tabs { background: var(--brand-surface); }
.stage-tab { border-radius: 1px; }
.stage-tab.is-active { border-color: var(--signal); background: var(--brand-surface); }
.stage-tab.is-active .tab-number,.tab-number { color: #40567a; }
.stage-tab small { color: #68758a; }
.stage-tab:disabled { color: #65738a; opacity: .8; }
.stage-tab:disabled .tab-number { color: #778397; }
.operations-stage { background: var(--brand-surface); }
.panel-heading h2 { color: var(--brand-navy); }
.panel-heading p:not(.panel-label) { color: var(--brand-muted); }
.status-badge { background: #eef0f5; color: #405875; }
.status-attention { border-color: #c17a5e; background: #f5e8e3; color: #8c4936; }
.status-neutral { border-color: #ccd2df; background: #eff0f5; color: #475a7a; }
.metrics-row { border-color: var(--brand-line); }
.metrics-row > div { border-color: var(--brand-line); }
.metric-value { color: #334c70; }
.metric-label { color: #68758a; }
.fact-list > div { border-color: #dfe2eb; }
.fact-list dt { color: #65738f; }
.fact-list dd { color: #344a69; }
.owner-record { border-color: #cbd1df; border-left-color: #697e9c; background: var(--brand-surface); }
.owner-record h3,.owner-record .record-owner { color: #344c6a; }
.owner-record p { color: #65738f; }
.source-reference { color: #68758a; }
.text-button { color: #4a5d7f; text-decoration-color: #919db2; }
.text-button:hover { color: var(--brand-navy); }
.approval-boundary { border-color: #c4ccdb; background: #ebedf3; color: #3d5272; }
.approval-boundary.is-approved { border-color: #9eabc5; background: #e8edf4; }
.match-table th { border-color: #b9c1d0; color: #5d6e8a; }
.match-table td { border-color: #dfe2eb; color: #354c6b; }
.match-table .review-value { color: #90503b; }
.exception-record { border-color: #d1a08f; background: #f4e7e2; }
.exception-record h3,.exception-record .exception-owner { color: #8c4936; }
.exception-record p { color: #75544d; }
.workspace-status { border-color: #dce0ea; background: var(--brand-surface); }
.workspace-status p,.illustration-boundary { color: #6f7d98; }

.work-section,.approach-section,.experience-section,.reference-section,.site-footer { border-color: var(--brand-line); }
.work-domains,.project-stories { border-color: #aeb8ca; }
.work-domains article + article,.project-story + .project-story { border-color: var(--brand-line); }
.work-domains h3,.approach-list h3,.project-story h3 { color: var(--brand-navy); }
.work-domains p,.approach-copy > p:not(.section-label),.approach-list p,.project-story > p { color: var(--brand-muted); }
.approach-copy .ownership-copy { border-color: #8091ad; color: #405572; }
.approach-list li { border-color: var(--brand-line); }
.approach-list li > span { color: #5d7194; }
.project-story details { border-color: var(--brand-line); }
.project-story summary { color: #3e5370; }
.project-story summary::after { color: #5d7194; }
.project-story ul { color: var(--brand-muted); }
.reference-section .proof-boundary { color: #74819a; }
.reference-section .quiet-link { color: var(--brand-navy); }

.closing-section {
  border: 0;
  border-left: 5px solid var(--signal);
  border-radius: 1px;
  background: var(--ink-deep);
  box-shadow: 9px 9px 0 #dfe2ea;
  color: #f6f4ef;
}

.closing-section h2 { color: #fffdf8; }
.closing-section p { color: #d1d8e3; }
.site-footer .brand { color: var(--brand-navy); }
.site-footer p,.site-footer > a:last-child { color: #6c7c98; }
.site-footer > a:last-child span { color: #657d9f; }

.menu-toggle { border-color: #b8c3d2; background: #eef0f5; color: var(--brand-navy); }
.menu-toggle span { color: #5b7194; }
.site-nav.is-open { border-color: #bac5d4; background: var(--brand-surface); }
.site-nav > a { border-color: #dce0ea; }

dialog { border-color: #919db2; background: var(--brand-surface); color: var(--brand-navy); box-shadow: 0 20px 80px rgba(18, 30, 49, .18); }
dialog::backdrop { background: rgba(16, 27, 45, .58); }
dialog > p,.discovery-questions li { color: var(--brand-muted); }
.dialog-close { border-color: #bcc5d5; color: var(--brand-navy); }
.dialog-close:hover { background: #eef0f5; }
.discovery-questions li { border-color: #d8dce7; }
.discovery-questions strong { color: var(--brand-navy); }
.dialog-preview-note { background: #ebedf3; color: var(--brand-muted); }

.record-grid { align-items: stretch; }
.record-block,.owner-record { min-width: 0; }
.fact-list dd { max-width: 40ch; }
.panel-actions { align-items: center; }
.workspace-intro p { color: var(--brand-muted); }

@media (max-width: 900px) {
  .hero-visual::after { width: min(38px, max(12px, calc((100vw - var(--shell-width)) / 2))); }
}

@media (max-width: 640px) {
  .hero h1 { max-width: 10ch; font-size: clamp(58px, 13vw, 72px); }
  .hero-visual { box-shadow: 6px 6px 0 #dfe2ea; }
  .hero-visual::after { width: min(12px, max(8px, calc((100vw - var(--shell-width)) / 2))); }
  .stage-tabs { background: var(--brand-surface); }
  .closing-section { box-shadow: 6px 6px 0 #dfe2ea; }
}

/* The full wordmark shares one baseline; ltd. is a true condensed face. */
.brand-wordmark { display: inline-flex; align-items: baseline; gap: .23em; white-space: nowrap; }
.brand-name { font-weight: 700; letter-spacing: -.065em; }
.brand-suffix { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 1.19em; font-weight: 500; letter-spacing: -.025em; line-height: 1; }

/* WEB-014: case studies and evaluation field note. */
.project-story {
  display: flex;
  flex-direction: column;
  padding-bottom: 28px;
}

.project-story .project-story__type {
  margin: 0 0 13px;
  color: #70809a;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .055em;
  line-height: 1.4;
}

.project-story > ul {
  margin: 18px 0 22px;
  padding: 16px 0 0;
  border-top: 1px solid var(--brand-line);
  list-style: none;
}

.project-story > ul li {
  position: relative;
  margin: 6px 0;
  padding-left: 16px;
}

.project-story > ul li::before {
  position: absolute;
  top: .63em;
  left: 0;
  width: 6px;
  height: 2px;
  background: var(--signal);
  content: "";
}

.project-story__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  margin-top: auto;
  border-top: 1px solid var(--brand-line);
  padding-top: 15px;
  color: #334c70;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.project-story__link span {
  color: var(--signal);
  font-size: 16px;
}

.project-story__link:hover {
  color: var(--signal);
}

.insight-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  margin-bottom: clamp(70px, 9vw, 116px);
  padding: clamp(36px, 5vw, 66px) clamp(28px, 6vw, 76px);
  background: var(--ink-deep);
  box-shadow: 9px 9px 0 #d9dde6;
  color: #f8f6f1;
}

.insight-promo h2 {
  max-width: 17ch;
  color: #fffdf8;
  font-size: clamp(40px, 5vw, 67px);
  letter-spacing: -.055em;
  line-height: .98;
}

.insight-promo > div:first-child > p:not(.section-label) {
  max-width: 650px;
  margin-top: 19px;
  color: #c5cede;
  font-size: 15px;
  line-height: 1.7;
}

.insight-promo .quiet-link {
  margin-top: 22px;
  color: #fffdf8;
}

.insight-promo .quiet-link span {
  color: var(--signal);
}

.insight-promo__signal {
  position: relative;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--signal);
  padding-left: 30px;
}

.insight-promo__signal::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: -5px;
  width: 8px;
  background: radial-gradient(circle, var(--signal) 0 3px, transparent 3.5px) center top / 8px 48px repeat-y;
  content: "";
}

.insight-promo__signal span,
.insight-promo__signal strong {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .17);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.insight-promo__signal span {
  color: #aab7ca;
}

.insight-promo__signal strong {
  border-bottom: 0;
  color: #fffdf8;
}

.content-page img {
  max-width: 100%;
}

.content-page main {
  min-width: 0;
}

.content-header {
  background: var(--canvas);
}

.content-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  font-size: 12px;
}

.content-nav > a:not(.button) {
  color: #52647f;
  text-decoration: none;
}

.content-nav > a:not(.button):hover {
  color: var(--ink-deep);
}

.case-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(460px, 1.04fr);
  align-items: center;
  gap: clamp(54px, 8vw, 116px);
  padding-top: clamp(70px, 8vw, 118px);
  padding-bottom: clamp(74px, 9vw, 126px);
}

.case-detail__type,
.case-section-marker,
.article-marker {
  color: #647693;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .055em;
  line-height: 1.45;
}

.case-detail__intro h1 {
  max-width: 12ch;
  margin-top: 20px;
  color: var(--ink-deep);
  font-size: clamp(54px, 6.6vw, 90px);
  letter-spacing: -.07em;
  line-height: .91;
}

.case-detail__deck {
  max-width: 680px;
  margin-top: 28px;
  color: #4f6079;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.62;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  border-block: 1px solid #bdc5d3;
}

.case-facts div {
  min-width: 0;
  padding: 14px 15px 15px 0;
}

.case-facts div + div {
  padding-left: 15px;
  border-left: 1px solid var(--brand-line);
}

.case-facts dt {
  color: #75829a;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .045em;
}

.case-facts dd {
  margin: 5px 0 0;
  color: #2f4564;
  font-size: 11px;
  line-height: 1.45;
}

.case-architecture {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3.6vw, 43px);
  overflow: hidden;
  background: var(--ink-deep);
  box-shadow: 10px 10px 0 #d7dbe4;
  color: #f8f6f1;
}

.case-architecture::after {
  position: absolute;
  top: 57%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 104, 86, .32), transparent);
  content: "";
  pointer-events: none;
}

.case-architecture figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 31px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.case-architecture figcaption span,
.architecture-flow span,
.architecture-branches span,
.architecture-output span,
.tool-cluster span,
.job-loop__node > span,
.job-loop__record > span {
  font-family: var(--font-mono);
  font-weight: 400;
}

.case-architecture figcaption span {
  color: #93a4ba;
  font-size: 9px;
  letter-spacing: .06em;
}

.case-architecture figcaption strong {
  max-width: 20ch;
  color: #fffdf8;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-align: right;
}

.architecture-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.architecture-flow--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.architecture-flow li {
  position: relative;
  min-width: 0;
  min-height: 104px;
  padding: 15px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .035);
}

.architecture-flow li + li::before {
  position: absolute;
  top: 50%;
  left: -9px;
  width: 9px;
  height: 2px;
  background: var(--signal);
  content: "";
}

.architecture-flow .architecture-flow__router {
  border-color: var(--signal);
  background: rgba(250, 104, 86, .09);
}

.architecture-flow span,
.job-loop__node > span {
  display: block;
  color: var(--signal);
  font-size: 9px;
}

.architecture-flow strong,
.architecture-flow small {
  display: block;
}

.architecture-flow strong {
  margin-top: 21px;
  color: #fffdf8;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.architecture-flow small {
  margin-top: 4px;
  color: #9facc0;
  font-size: 9px;
  line-height: 1.35;
}

.architecture-branches {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 13px 0;
  padding-left: 30%;
}

.architecture-branches > div,
.architecture-output {
  min-width: 0;
  padding: 14px;
  border-left: 2px solid #87cfe4;
  background: rgba(255, 255, 255, .045);
}

.architecture-branches span,
.architecture-output span {
  display: block;
  color: #8fd7eb;
  font-size: 8px;
}

.architecture-branches strong,
.architecture-branches small,
.architecture-output strong,
.architecture-output small {
  display: block;
}

.architecture-branches strong,
.architecture-output strong {
  margin-top: 5px;
  color: #f7f5f0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.architecture-branches small,
.architecture-output small {
  margin-top: 3px;
  color: #97a7bb;
  font-size: 8px;
  line-height: 1.4;
}

.architecture-output {
  position: relative;
  z-index: 1;
  border-left-color: var(--signal);
}

.tool-cluster {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.tool-cluster span {
  padding: 6px 9px;
  border: 1px solid rgba(143, 215, 235, .4);
  color: #b8dce7;
  font-size: 8px;
}

.job-loop {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.job-loop__node {
  min-width: 0;
  min-height: 87px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .035);
}

.job-loop__node strong,
.job-loop__node small,
.job-loop__record strong,
.job-loop__record small {
  display: block;
}

.job-loop__node strong {
  margin-top: 12px;
  color: #fffdf8;
  font-size: 11px;
}

.job-loop__node small {
  margin-top: 3px;
  color: #9facc0;
  font-size: 8px;
}

.job-loop__record {
  grid-column: 1 / -1;
  padding: 15px 17px;
  border-left: 3px solid var(--signal);
  background: rgba(250, 104, 86, .09);
}

.job-loop__record > span {
  color: var(--signal);
  font-size: 8px;
}

.job-loop__record strong {
  margin-top: 5px;
  color: #fffdf8;
  font-size: 13px;
}

.job-loop__record small {
  margin-top: 3px;
  color: #a4b1c3;
  font-size: 8px;
}

.case-detail__body {
  padding-bottom: clamp(78px, 10vw, 140px);
}

.case-prose,
.case-principle {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
  gap: clamp(46px, 8vw, 120px);
  padding-block: clamp(62px, 8vw, 104px);
  border-top: 1px solid #b9c2d0;
}

.case-prose h2,
.case-decisions h2,
.case-evidence-band h2 {
  max-width: 13ch;
  margin-top: 14px;
  color: var(--ink-deep);
  font-size: clamp(37px, 4.6vw, 62px);
  letter-spacing: -.055em;
  line-height: .98;
}

.case-copy-stack {
  max-width: 760px;
}

.case-copy-stack p {
  color: #485a74;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
}

.case-copy-stack p + p {
  margin-top: 22px;
}

.case-decisions {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: clamp(46px, 8vw, 120px);
  padding: clamp(42px, 6vw, 76px);
  background: #fff;
  box-shadow: 8px 8px 0 #daddE5;
}

.case-decisions__heading > p:last-child {
  max-width: 370px;
  margin-top: 19px;
  color: #65738a;
  font-size: 13px;
  line-height: 1.65;
}

.decision-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.decision-list article {
  min-width: 0;
  padding: 24px 26px 27px 0;
  border-top: 1px solid #cbd1dc;
}

.decision-list article:nth-child(even) {
  padding-left: 26px;
  border-left: 1px solid #cbd1dc;
}

.decision-list article:nth-child(-n + 2) {
  padding-top: 0;
  border-top: 0;
}

.decision-list article:nth-last-child(-n + 2) {
  padding-bottom: 0;
}

.decision-list article > span,
.lane-list article > span,
.evidence-grid article > strong,
.promotion-grid article > span {
  color: #6b7c96;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
}

.decision-list h3 {
  margin-top: 11px;
  color: #263b5a;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -.028em;
  line-height: 1.16;
}

.decision-list p {
  margin-top: 10px;
  color: #607087;
  font-size: 12px;
  line-height: 1.65;
}

.case-evidence-band {
  margin-top: clamp(62px, 8vw, 102px);
  padding: clamp(40px, 6vw, 72px);
  border-left: 4px solid #8ccfe2;
  background: #dfe9ef;
}

.case-evidence-band > div:first-child {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 40px;
}

.case-evidence-band h2 {
  max-width: 18ch;
}

.evidence-grid,
.lane-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid #aabac7;
}

.evidence-grid article,
.lane-list article {
  min-width: 0;
  padding: 21px 20px 0 0;
}

.evidence-grid article + article,
.lane-list article + article {
  padding-left: 20px;
  border-left: 1px solid #b9c7d1;
}

.evidence-grid article > strong,
.lane-list article > strong {
  display: block;
  color: #314c6b;
}

.evidence-grid p,
.lane-list p {
  margin-top: 8px;
  color: #596b80;
  font-size: 11px;
  line-height: 1.62;
}

.lane-list article > strong {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.case-evidence-band .text-link {
  margin-top: 30px;
}

.case-principle {
  margin-top: clamp(64px, 9vw, 112px);
}

.case-principle blockquote {
  max-width: 18ch;
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 450;
  letter-spacing: -.06em;
  line-height: .98;
}

.case-principle > p:last-child {
  grid-column: 2;
  max-width: 760px;
  color: #53657e;
  font-size: 16px;
  line-height: 1.75;
}

.case-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: clamp(39px, 5vw, 62px);
  border-top: 1px solid #aeb8c8;
}

.case-next > a:first-child {
  display: block;
  max-width: 570px;
  text-decoration: none;
}

.case-next > a:first-child span,
.case-next > a:first-child strong {
  display: block;
}

.case-next > a:first-child span {
  color: #73829a;
  font-family: var(--font-mono);
  font-size: 9px;
}

.case-next > a:first-child strong {
  margin-top: 7px;
  color: #2d4362;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 35px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.case-next > a:first-child:hover strong {
  color: var(--signal);
}

.content-footer {
  margin-top: 0;
}

.content-footer--case {
  grid-template-columns: 1fr auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #324e70;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover {
  color: var(--signal);
}

.field-note__hero {
  padding-top: clamp(68px, 8vw, 116px);
  padding-bottom: clamp(64px, 8vw, 108px);
}

.field-note__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  color: #657791;
  font-family: var(--font-mono);
  font-size: 9px;
}

.field-note__meta span + span {
  position: relative;
}

.field-note__meta span + span::before {
  position: absolute;
  left: -15px;
  color: var(--signal);
  content: "/";
}

.field-note__hero h1 {
  max-width: 15ch;
  margin-top: 28px;
  color: var(--ink-deep);
  font-size: clamp(57px, 8.2vw, 116px);
  letter-spacing: -.075em;
  line-height: .88;
}

.field-note__hero > p {
  max-width: 900px;
  margin-top: 35px;
  color: #4e6079;
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.58;
}

.field-note__thesis {
  display: grid;
  grid-template-columns: 120px minmax(260px, .8fr) minmax(300px, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 45px;
  padding: 24px 27px;
  border-left: 4px solid var(--signal);
  background: var(--ink-deep);
  color: #f8f6f1;
}

.field-note__thesis span {
  color: #9baabc;
  font-family: var(--font-mono);
  font-size: 9px;
}

.field-note__thesis strong {
  color: #fffdf8;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.field-note__thesis p {
  color: #bdc7d6;
  font-size: 12px;
  line-height: 1.6;
}

.field-note__layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 820px);
  justify-content: space-between;
  gap: clamp(55px, 10vw, 150px);
  padding-bottom: clamp(80px, 10vw, 150px);
}

.field-note__rail {
  position: sticky;
  top: 28px;
  align-self: start;
  padding-top: 26px;
  border-top: 2px solid var(--ink-deep);
}

.field-note__rail > p {
  color: #536781;
  font-family: var(--font-mono);
  font-size: 9px;
}

.field-note__rail ol {
  margin-top: 17px;
  padding: 0;
  list-style: none;
}

.field-note__rail li {
  border-top: 1px solid #cbd1dc;
}

.field-note__rail a {
  display: block;
  padding: 10px 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
  text-decoration: none;
}

.field-note__rail a:hover {
  color: var(--signal);
}

.field-note__body {
  min-width: 0;
}

.field-note__body > section {
  padding-block: clamp(55px, 7vw, 90px);
  border-top: 1px solid #bbc3d0;
  scroll-margin-top: 25px;
}

.field-note__body h2 {
  max-width: 14ch;
  margin-top: 13px;
  color: var(--ink-deep);
  font-size: clamp(39px, 5vw, 65px);
  letter-spacing: -.058em;
  line-height: .98;
}

.field-note__body h3 {
  margin-top: 38px;
  color: #263c5b;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.field-note__body section > p:not(.article-marker),
.field-note__closing > p:not(.article-marker) {
  max-width: 76ch;
  margin-top: 22px;
  color: #4d5f77;
  font-size: 16px;
  line-height: 1.82;
}

.field-note__body section > ul:not(.artifact-list),
.field-note__body section > ol:not(.run-modes):not(.article-steps) {
  max-width: 74ch;
  margin: 26px 0 0;
  padding-left: 21px;
  color: #4d5f77;
  font-size: 15px;
  line-height: 1.7;
}

.field-note__body section > ul:not(.artifact-list) li + li {
  margin-top: 9px;
}

.article-definition-list {
  margin-top: 34px;
  border-top: 1px solid #b9c2cf;
}

.article-definition-list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid #cbd1dc;
}

.article-definition-list dt {
  color: #3d5473;
  font-size: 12px;
  font-weight: 650;
}

.article-definition-list dd {
  margin: 0;
  color: #5a6980;
  font-size: 12px;
  line-height: 1.6;
}

.article-figure {
  margin-top: 39px;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #334159;
  background: #101722;
}

.article-figure figcaption {
  padding-top: 11px;
  color: #748198;
  font-size: 10px;
  line-height: 1.55;
}

.article-figure--wide {
  width: min(1120px, calc(100vw - 56px));
  max-width: none;
  transform: translateX(min(0px, calc((820px - 100vw + 56px) / 2)));
}

.article-callout {
  margin-top: 38px;
  padding: 23px 26px;
  border-left: 4px solid var(--signal);
  background: #fff;
}

.article-callout strong {
  color: #283f5f;
  font-family: var(--font-display);
  font-size: 19px;
}

.article-callout p {
  margin-top: 9px;
  color: #5a6a81;
  font-size: 13px;
  line-height: 1.65;
}

.run-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 35px;
  padding: 0;
  border-top: 1px solid #aeb8c8;
  list-style: none;
}

.run-modes li {
  min-width: 0;
  padding: 21px 22px 0 0;
}

.run-modes li + li {
  padding-left: 22px;
  border-left: 1px solid #c3cad6;
}

.run-modes li > span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
}

.run-modes h3 {
  margin-top: 10px;
  font-size: 22px;
}

.run-modes p {
  margin-top: 9px;
  color: #5b6a80;
  font-size: 11px;
  line-height: 1.63;
}

.artifact-list {
  margin-top: 32px;
  padding: 0;
  border-top: 1px solid #aeb8c8;
  list-style: none;
}

.artifact-list li {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid #c9cfda;
}

.artifact-list strong {
  color: #304867;
  font-size: 12px;
}

.artifact-list span {
  color: #5e6c81;
  font-size: 12px;
  line-height: 1.58;
}

.article-figure-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.promotion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: #bbc4d0;
  border: 1px solid #bbc4d0;
}

.promotion-grid article {
  min-width: 0;
  padding: 21px 23px;
  background: #fff;
}

.promotion-grid article > span {
  color: #a45139;
}

.promotion-grid p {
  margin-top: 8px;
  color: #5d6c82;
  font-size: 11px;
  line-height: 1.6;
}

.article-steps {
  margin-top: 35px;
  padding: 0;
  border-top: 1px solid #acb6c6;
  counter-reset: article-step;
  list-style: none;
}

.article-steps li {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr);
  gap: 30px;
  padding: 17px 0 17px 50px;
  border-bottom: 1px solid #c7ced9;
  counter-increment: article-step;
}

.article-steps li::before {
  position: absolute;
  margin-left: -50px;
  color: var(--signal);
  content: "0" counter(article-step);
  font-family: var(--font-mono);
  font-size: 10px;
}

.article-steps strong {
  color: #2e4564;
  font-size: 13px;
}

.article-steps span {
  color: #5a6a80;
  font-size: 12px;
  line-height: 1.6;
}

.field-note__closing {
  padding: clamp(45px, 7vw, 80px);
  background: var(--ink-deep);
  color: #f8f6f1;
}

.field-note__closing .article-marker {
  color: var(--signal);
}

.field-note__closing h2 {
  max-width: 12ch;
  margin-top: 14px;
  color: #fffdf8;
  font-size: clamp(42px, 5.5vw, 70px);
  letter-spacing: -.06em;
  line-height: .96;
}

.field-note__closing > p:not(.article-marker) {
  color: #bac5d4;
}

.field-note__closing > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 29px;
}

.field-note__closing .text-link {
  color: #fffdf8;
}

@media (max-width: 1050px) {
  .case-detail__hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-detail__intro {
    max-width: 800px;
  }

  .case-architecture {
    width: min(100%, 820px);
    justify-self: end;
  }

  .case-decisions {
    grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
    gap: 45px;
  }

  .evidence-grid,
  .lane-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-grid article:nth-child(3),
  .lane-list article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .evidence-grid article:nth-child(n + 3),
  .lane-list article:nth-child(n + 3) {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #b9c7d1;
  }

  .field-note__layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 65px;
  }

  .article-figure--wide {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 820px) {
  .insight-promo {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-nav {
    gap: 18px;
  }

  .case-prose,
  .case-principle,
  .case-decisions {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-prose h2,
  .case-decisions h2 {
    max-width: 18ch;
  }

  .case-principle > p:last-child {
    grid-column: 1;
  }

  .case-evidence-band > div:first-child {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-note__thesis {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .field-note__thesis p {
    grid-column: 2;
  }

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

  .field-note__rail {
    position: static;
  }

  .field-note__rail ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
  }

  .field-note__rail li {
    border-top: 0;
  }

  .field-note__rail a {
    padding: 6px 0;
  }
}

@media (max-width: 640px) {
  .project-stories {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-story,
  .project-story + .project-story {
    padding: 25px 0;
    border-left: 0;
  }

  .project-story + .project-story {
    border-top: 1px solid var(--brand-line);
  }

  .insight-promo {
    gap: 35px;
    box-shadow: 6px 6px 0 #d9dde6;
  }

  .insight-promo h2 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .content-header {
    gap: 15px;
  }

  .content-nav > a:not(.button):not(:first-child) {
    display: none;
  }

  .content-nav {
    gap: 13px;
  }

  .content-nav .button {
    min-height: 38px;
    padding: 8px 11px;
  }

  .case-detail__hero {
    gap: 45px;
    padding-top: 57px;
    padding-bottom: 77px;
  }

  .case-detail__intro h1 {
    margin-top: 16px;
    font-size: clamp(48px, 14.3vw, 67px);
  }

  .case-detail__deck {
    margin-top: 23px;
    font-size: 16px;
  }

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

  .case-facts div,
  .case-facts div + div {
    padding: 11px 0;
    border-left: 0;
    border-top: 1px solid var(--brand-line);
  }

  .case-facts div:first-child {
    border-top: 0;
  }

  .case-architecture {
    padding: 22px 18px;
    box-shadow: 6px 6px 0 #d7dbe4;
  }

  .case-architecture figcaption {
    display: block;
  }

  .case-architecture figcaption strong {
    margin-top: 8px;
    text-align: left;
  }

  .architecture-flow,
  .architecture-flow--five {
    grid-template-columns: minmax(0, 1fr);
  }

  .architecture-flow li {
    min-height: 76px;
  }

  .architecture-flow li + li::before {
    top: -9px;
    left: 50%;
    width: 2px;
    height: 9px;
  }

  .architecture-flow strong {
    margin-top: 10px;
  }

  .architecture-branches {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 18px;
  }

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

  .case-prose,
  .case-principle {
    gap: 31px;
    padding-block: 61px;
  }

  .case-copy-stack p {
    font-size: 16px;
  }

  .case-decisions {
    gap: 38px;
    padding: 34px 25px;
    box-shadow: 6px 6px 0 #daddE5;
  }

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

  .decision-list article,
  .decision-list article:nth-child(even),
  .decision-list article:nth-child(-n + 2),
  .decision-list article:nth-last-child(-n + 2) {
    padding: 20px 0;
    border-top: 1px solid #cbd1dc;
    border-left: 0;
  }

  .decision-list article:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .decision-list article:last-child {
    padding-bottom: 0;
  }

  .case-evidence-band {
    padding: 33px 25px;
  }

  .evidence-grid,
  .lane-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .evidence-grid article,
  .evidence-grid article + article,
  .lane-list article,
  .lane-list article + article,
  .evidence-grid article:nth-child(n + 3),
  .lane-list article:nth-child(n + 3) {
    margin: 0;
    padding: 17px 0;
    border-top: 1px solid #b9c7d1;
    border-left: 0;
  }

  .evidence-grid article:first-child,
  .lane-list article:first-child {
    border-top: 0;
  }

  .case-principle blockquote {
    font-size: clamp(38px, 12vw, 55px);
  }

  .case-next {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .content-footer p {
    display: none;
  }

  .field-note__hero h1 {
    font-size: clamp(50px, 15.5vw, 72px);
  }

  .field-note__hero > p {
    font-size: 17px;
  }

  .field-note__thesis {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .field-note__thesis p {
    grid-column: 1;
  }

  .field-note__body h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .field-note__body section > p:not(.article-marker),
  .field-note__closing > p:not(.article-marker) {
    font-size: 15px;
  }

  .article-definition-list > div,
  .artifact-list li,
  .article-steps li {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .run-modes,
  .article-figure-pair,
  .promotion-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .run-modes li,
  .run-modes li + li {
    padding: 17px 0;
    border-top: 1px solid #c3cad6;
    border-left: 0;
  }

  .run-modes li:first-child {
    border-top: 0;
  }

  .field-note__closing {
    margin-inline: -20px;
    padding-inline: 20px;
  }
}

@media (max-width: 390px) {
  .content-nav > a:not(.button) {
    display: none;
  }

  .field-note__closing {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .content-nav .button {
    gap: 9px;
    font-size: 10px;
  }

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

  .job-loop__record {
    grid-column: 1;
  }
}

/* Give long editorial headlines room to breathe across viewports. */
.case-detail__intro h1,
.field-note__hero h1 {
  font-weight: 550;
  letter-spacing: -.025em;
  line-height: .96;
}

.case-prose h2,
.case-decisions h2,
.case-evidence-band h2,
.case-principle blockquote,
.field-note__body h2,
.field-note__closing h2 {
  letter-spacing: -.02em;
  line-height: 1.02;
}

.case-detail__intro h1 { font-size: clamp(50px, 6vw, 82px); }
.field-note__hero h1 { font-size: clamp(54px, 7.4vw, 102px); }

@media (max-width: 640px) {
  .case-detail__intro h1 { font-size: clamp(46px, 13.5vw, 64px); line-height: .98; }
  .field-note__hero h1 { font-size: clamp(48px, 13vw, 62px); line-height: .98; }
  .case-prose h2,
  .case-decisions h2,
  .case-evidence-band h2,
  .case-principle blockquote,
  .field-note__body h2,
  .field-note__closing h2 { line-height: 1.05; }
}
