:root {
  --paper: #f3f1ea;
  --paper-soft: #e9e6dd;
  --paper-deep: #dcd8cc;
  --white: #fffdf8;
  --ink: #121316;
  --ink-soft: #292b2d;
  --muted: #5e625f;
  --line: #c7c4b8;
  --line-dark: #34373a;
  --red: #d72f2f;
  --red-dark: #9e2020;
  --red-light: #ff766d;
  --green: #315d57;
  --max: 1460px;
  --pad: clamp(20px, 4vw, 68px);
  --header-height: 106px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "Arial Nova", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 500;
  transform: translateY(-160%);
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

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

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.technical-label,
.section-index {
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 241, 234, .94);
  backdrop-filter: blur(15px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(243, 241, 234, .98);
  box-shadow: 0 14px 38px rgba(18, 19, 22, .08);
}

.header-context {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #d5d5cf;
}

.context-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .65rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.service-route {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #f0eee7;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.service-route:hover {
  color: var(--red-light);
}

.service-dot {
  width: 7px;
  height: 7px;
  background: var(--red-light);
}

.nav-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: .045em;
  line-height: 1.02;
  text-decoration: none;
}

.brand img {
  width: 31px;
  height: 36px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .57rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #3d403d;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  background: rgba(18, 19, 22, .045);
  color: var(--red-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 18px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button::after {
  content: "↗";
  flex: 0 0 auto;
  font-size: 1.05em;
}

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

.button:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.button-primary:hover {
  border-color: var(--ink);
  background: var(--red-dark);
}

.button-secondary {
  background: rgba(255, 253, 248, .42);
}

.menu-button {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 1px solid var(--ink);
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: min(760px, calc(100svh - var(--header-height)));
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(410px, .72fr);
  align-items: stretch;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 8vw, 122px) clamp(38px, 6vw, 96px) clamp(58px, 7vw, 96px) 0;
}

.hero h1 {
  max-width: 950px;
  margin-bottom: 27px;
  font-size: clamp(3.55rem, 6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .91;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: #404440;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.engagement-line {
  margin: clamp(46px, 7vw, 78px) 0 0;
  padding: 19px 0 0;
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: start;
  gap: 15px 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  list-style: none;
  text-transform: uppercase;
}

.engagement-line li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.engagement-line li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
}

.responsibility-map {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  padding: clamp(42px, 5vw, 66px) clamp(22px, 3.5vw, 48px);
  background: var(--paper-soft);
  overflow: hidden;
}

.responsibility-map::after {
  content: "RESPONSIBILITY / 01—04";
  position: absolute;
  top: 50%;
  right: 10px;
  color: rgba(18, 19, 22, .2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  transform: translateY(-50%) rotate(90deg);
}

.map-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-right: 16px;
}

.map-header h2 {
  margin: 7px 0 0;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.map-instruction {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .7rem;
  text-transform: uppercase;
}

.layer-stack {
  position: relative;
  display: grid;
  gap: 8px;
  padding-right: 16px;
}

.layer-stack::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 23px;
  width: 2px;
  background: var(--red);
}

.layer-button {
  position: relative;
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  padding: 8px 8px 8px 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.layer-button:hover {
  border-color: #a9a59a;
  background: rgba(255, 253, 248, .45);
  transform: translateX(3px);
}

.layer-button[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--white);
}

.layer-port {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .58rem;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.layer-button[aria-pressed="true"] .layer-port {
  background: var(--red);
  color: white;
  transform: scale(.88);
}

.layer-name {
  min-width: 0;
}

.layer-name strong,
.layer-name small {
  display: block;
}

.layer-name strong {
  margin-bottom: 2px;
  font-size: .95rem;
}

.layer-name small {
  overflow: hidden;
  color: var(--muted);
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layer-state {
  color: #565a56;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .67rem;
  text-transform: uppercase;
}

.layer-button[aria-pressed="true"] .layer-state {
  color: var(--red-dark);
}

.map-detail {
  min-height: 180px;
  margin-top: 22px;
  padding: 23px 36px 0 4px;
  border-top: 1px solid var(--ink);
}

.map-detail h3 {
  max-width: 430px;
  margin: 10px 0 9px;
  font-size: clamp(1.32rem, 2vw, 1.72rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.map-detail p {
  max-width: 480px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .86rem;
}

.map-output {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .64rem;
  text-transform: uppercase;
}

.map-output strong {
  color: var(--ink);
  font-weight: 700;
}

.manifest {
  background: var(--ink);
  color: var(--white);
}

.manifest-grid {
  min-height: 245px;
  display: grid;
  grid-template-columns: .38fr 1.62fr;
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding-block: 55px;
}

.eyebrow-dark {
  color: #b8bab4;
}

.eyebrow-dark::before {
  background: var(--red-light);
}

.manifest p {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 3.65rem);
  letter-spacing: -.04em;
  line-height: 1.1;
}

.manifest strong {
  color: var(--red-light);
  font-weight: 500;
}

.section {
  padding-block: clamp(76px, 8vw, 118px);
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.2fr) minmax(230px, .55fr);
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
  margin-bottom: clamp(50px, 7vw, 84px);
}

.section-header h2,
.scope-intro h2,
.faq-intro h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4.4vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -.058em;
  line-height: .95;
}

.section-header > p,
.scope-intro > p,
.faq-intro > p {
  color: var(--muted);
}

.scope-section {
  background: var(--white);
}

.scope-layout {
  display: grid;
  grid-template-columns: minmax(300px, .55fr) minmax(0, 1.45fr);
  gap: clamp(48px, 8vw, 126px);
}

.scope-intro {
  position: sticky;
  top: calc(var(--header-height) + 38px);
  align-self: start;
}

.scope-intro h2 {
  margin: 22px 0 24px;
}

.scope-intro > p {
  max-width: 470px;
}

.text-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-action:hover {
  border-color: var(--red);
  color: var(--red-dark);
}

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

.scope-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 56px minmax(190px, .8fr) minmax(0, 1.2fr);
  gap: 22px;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.scope-row:hover {
  border-color: var(--red);
  padding-left: 9px;
  background: rgba(215, 47, 47, .025);
}

.scope-number {
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .72rem;
  font-weight: 800;
}

.scope-row h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}

.scope-tags {
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .72rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.scope-row p {
  margin: 0;
  color: var(--muted);
}

.scenarios-section {
  background: var(--paper-soft);
}

.project-sheet {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--paper-deep);
}

.project-sheet::before {
  content: "";
  position: absolute;
  inset: 9px -11px -11px 9px;
  z-index: -1;
  border: 1px solid var(--ink);
  background: var(--red);
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
}

.scenario-tab {
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 12px 18px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background-color 170ms ease, color 170ms ease;
}

.scenario-tab:last-child {
  border-right: 0;
}

.scenario-tab > span {
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .68rem;
}

.scenario-tab strong {
  font-size: .91rem;
}

.scenario-tab:hover {
  background: var(--paper);
}

.scenario-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
}

.scenario-tab[aria-selected="true"] > span {
  color: var(--red-light);
}

.scenario-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
}

.scenario-copy {
  min-width: 0;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px);
}

.scenario-copy h3 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.3vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .94;
}

.scenario-copy > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
}

.scenario-start {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .68rem;
  text-transform: uppercase;
}

.scenario-start span {
  color: var(--muted);
}

.scenario-dossier {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid var(--ink);
  background: var(--paper-deep);
}

.dossier-heading {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--ink);
  padding: 12px 22px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dossier-stamp {
  border: 2px solid var(--red);
  border-radius: 50%;
  padding: 10px 7px;
  color: var(--red-dark);
  transform: rotate(-7deg);
}

.dossier-list {
  margin: 0;
  display: grid;
  align-content: center;
  padding: 24px;
  list-style: none;
}

.dossier-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 11px;
  border-bottom: 1px solid #aaa294;
  padding: 14px 0;
}

.dossier-list li > span {
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .67rem;
}

.dossier-list strong {
  font-size: .87rem;
  font-weight: 650;
}

.dossier-output {
  padding: 20px 24px;
  background: var(--green);
  color: white;
}

.dossier-output span,
.dossier-output strong {
  display: block;
}

.dossier-output span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .78);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .62rem;
  text-transform: uppercase;
}

.dossier-output strong {
  font-size: .92rem;
}

.scenario-panel.is-changing {
  animation: panelIn 360ms var(--ease);
}

@keyframes panelIn {
  from {
    opacity: .56;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-section {
  background: var(--ink);
  color: var(--white);
}

.section-header-light > p {
  color: #b8bbb6;
}

.section-header-light .section-index {
  color: var(--red-light);
}

.process-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #6b6d69;
  padding: 0;
  list-style: none;
}

.process-grid li {
  min-width: 0;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-dark);
  padding: 24px 23px 22px;
}

.process-grid li:first-child {
  padding-left: 0;
}

.process-grid li:last-child {
  border-right: 0;
}

.process-grid li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red-light);
  border-radius: 50%;
  color: var(--red-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .62rem;
}

.process-grid h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  letter-spacing: -.02em;
}

.process-grid p {
  margin-bottom: 0;
  color: #aeb1ad;
  font-size: .85rem;
}

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

.standard-section .section-header > p,
.standard-section .deliverable p {
  color: #565a56;
}

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

.deliverable {
  min-width: 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #aaa69b;
  padding: 25px 26px 22px;
}

.deliverable:first-child {
  padding-left: 0;
}

.deliverable:last-child {
  border-right: 0;
}

.deliverable svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--red-dark);
  stroke-width: 1.6;
}

.deliverable h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
}

.deliverable p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .86rem;
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr);
  gap: clamp(48px, 8vw, 126px);
}

.faq-intro h2 {
  margin: 22px 0 24px;
}

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

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

.faq-list summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 1.15rem;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.faq-list details[open] summary > span {
  background: var(--ink);
  color: white;
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 820px;
  margin: -3px 64px 28px 0;
  color: var(--muted);
}

.contact-section {
  background: var(--red);
  color: white;
}

.contact-layout {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  align-items: end;
  gap: clamp(48px, 8vw, 126px);
  padding-block: clamp(78px, 9vw, 128px);
}

.eyebrow-contact {
  color: white;
}

.eyebrow-contact::before {
  background: white;
}

.contact-copy h2 {
  max-width: 940px;
  margin-bottom: 27px;
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .9;
}

.contact-copy p {
  max-width: 720px;
  margin-bottom: 0;
  color: white;
  font-size: 1.02rem;
}

.contact-details {
  min-width: 0;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .72);
}

.contact-details a,
.contact-details button,
.dialog-actions a {
  min-width: 0;
  min-height: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding: 13px 0;
  background: transparent;
  color: white;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: padding-left 180ms ease, background-color 180ms ease;
}

.contact-details a:hover,
.contact-details button:hover {
  padding-left: 10px;
  background: rgba(255, 255, 255, .07);
}

.contact-details span,
.contact-details strong,
.dialog-actions span,
.dialog-actions strong {
  display: block;
  min-width: 0;
  grid-column: 1;
}

.contact-details span,
.dialog-actions span {
  margin-bottom: 3px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 1;
}

.contact-details strong,
.dialog-actions strong {
  overflow-wrap: anywhere;
  font-size: clamp(.94rem, 1.5vw, 1.18rem);
}

.contact-details i,
.dialog-actions i {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-style: normal;
  font-size: 1.2rem;
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: white;
  font-size: .8rem;
  font-weight: 800;
}

.site-footer {
  background: var(--ink);
  color: #c4c6c0;
}

.footer-main {
  min-height: 315px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(50px, 10vw, 160px);
  padding-block: 52px;
}

.brand-footer {
  color: white;
}

.brand-footer small {
  color: #9da09b;
}

.footer-brand > p {
  max-width: 480px;
  margin: 24px 0 0;
  color: #9da09b;
}

.footer-nav {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 44px;
}

.footer-nav > div {
  display: grid;
  align-content: start;
}

.footer-nav > div > span {
  margin-bottom: 12px;
  color: #7f837e;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .63rem;
  text-transform: uppercase;
}

.footer-nav a,
.footer-nav button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border: 0;
  padding: 0;
  background: transparent;
  color: #d7d8d3;
  cursor: pointer;
  font-size: .84rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--red-light);
}

.footer-bottom {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line-dark);
  color: #898d88;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .63rem;
  text-transform: uppercase;
}

.footer-bottom span:last-child {
  justify-self: end;
}

.footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom a:hover {
  color: white;
}

.contact-dialog {
  width: min(700px, calc(100vw - 30px));
  max-height: calc(100dvh - 30px);
  border: 1px solid var(--ink);
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--red);
  overflow: auto;
}

.contact-dialog::backdrop {
  background: rgba(12, 13, 14, .76);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  padding: clamp(26px, 5vw, 54px);
}

.dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.dialog-header h2 {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .94;
}

.dialog-close {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.dialog-close:hover {
  background: var(--ink);
  color: white;
}

.dialog-intro {
  max-width: 570px;
  margin: 24px 0 30px;
  color: var(--muted);
}

.dialog-actions {
  display: grid;
  border-top: 1px solid var(--ink);
}

.dialog-actions a {
  border-bottom-color: var(--line);
  color: var(--ink);
}

.dialog-actions a:hover {
  padding-left: 10px;
  background: var(--paper);
}

.dialog-note {
  margin-top: 28px;
  border-left: 3px solid var(--red);
  padding: 2px 0 2px 18px;
}

.dialog-note strong {
  display: block;
  margin-bottom: 5px;
}

.dialog-note p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 96px;
  }

  .context-inner {
    min-height: 28px;
  }

  .nav-row {
    min-height: 68px;
  }

  .site-nav a {
    padding-inline: 9px;
    font-size: .8rem;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  }

  .hero h1 {
    font-size: clamp(3.35rem, 5.6vw, 5.3rem);
  }

  .engagement-line {
    grid-template-columns: repeat(3, auto);
  }

  .section-header {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .section-header > p {
    grid-column: 2;
    max-width: 720px;
  }

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

  .process-grid li:nth-child(3) {
    border-right: 0;
  }

  .process-grid li:nth-child(-n+3) {
    border-bottom: 1px solid var(--line-dark);
  }

  .process-grid li:nth-child(4) {
    padding-left: 0;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 94px;
  }

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

  .hero-copy {
    padding-right: 0;
  }

  .responsibility-map {
    min-height: 600px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .scope-intro {
    position: static;
  }

  .scope-intro > p,
  .faq-intro > p {
    max-width: 720px;
  }

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

  .scenario-dossier {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .dossier-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .contact-details {
    max-width: 720px;
  }

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

  .deliverable:nth-child(2) {
    border-right: 0;
  }

  .deliverable:nth-child(-n+2) {
    border-bottom: 1px solid #aaa69b;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .header-context {
    display: none;
  }

  .nav-row {
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav {
    position: fixed;
    inset: 66px 0 auto;
    z-index: 90;
    display: grid;
    justify-self: stretch;
    max-height: calc(100dvh - 66px);
    border-bottom: 1px solid var(--ink);
    padding: 12px var(--pad) 24px;
    background: var(--paper);
    box-shadow: 0 26px 70px rgba(18, 19, 22, .18);
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    min-height: 52px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
    padding: 0;
    font-size: .95rem;
  }

  .menu-button {
    display: grid;
  }

  .hero-copy,
  .responsibility-map,
  .contact-layout,
  .section-header,
  .scope-row,
  .scenario-panel {
    min-width: 0;
  }

  .hero-copy {
    padding-block: 50px 58px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 4.6rem);
  }

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

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .engagement-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .responsibility-map {
    min-height: 585px;
    padding-block: 48px;
  }

  .responsibility-map::after {
    display: none;
  }

  .layer-stack,
  .map-header {
    padding-right: 0;
  }

  .map-instruction,
  .layer-state {
    display: none;
  }

  .layer-button {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .manifest-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .section {
    padding-block: 64px;
  }

  .section-header {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 46px;
  }

  .section-header > p {
    grid-column: auto;
  }

  .section-header h2,
  .scope-intro h2,
  .faq-intro h2 {
    font-size: clamp(2.35rem, 11vw, 4rem);
  }


  .scope-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .scope-row > p {
    grid-column: 2;
  }

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

  .scenario-tab {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scenario-copy {
    min-height: 390px;
  }

  .scenario-copy h3 {
    font-size: clamp(2.25rem, 10.5vw, 3.6rem);
  }

  .scenario-start {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

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

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

  .process-grid li,
  .process-grid li:first-child,
  .process-grid li:nth-child(4) {
    min-height: 245px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    padding: 23px;
  }

  .process-grid li:nth-child(even) {
    border-right: 0;
  }

  .process-grid li:last-child {
    grid-column: 1 / -1;
    min-height: 215px;
    border-right: 0;
  }

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

  .deliverable,
  .deliverable:first-child {
    min-height: 215px;
    border-right: 0;
    border-bottom: 1px solid #aaa69b;
    padding: 25px 0;
  }

  .faq-list details > p {
    margin-right: 0;
  }

  .contact-layout {
    min-height: 0;
    padding-block: 68px;
  }

  .contact-copy h2 {
    font-size: clamp(2.6rem, 11.5vw, 4.8rem);
  }

  .footer-main {
    min-height: 0;
    gap: 36px;
    padding-block: 42px;
  }

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

  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding-block: 22px;
  }

  .footer-bottom span:last-child {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .brand small {
    letter-spacing: .07em;
  }

  .hero h1 {
    font-size: clamp(2.36rem, 11.8vw, 3.3rem);
  }


  .map-detail {
    padding-right: 0;
  }

  .map-output {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

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

  .project-sheet::before {
    inset: 6px -8px -8px 6px;
  }

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

  .process-grid li,
  .process-grid li:first-child,
  .process-grid li:nth-child(4),
  .process-grid li:last-child {
    grid-column: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    justify-content: normal;
    gap: 16px;
    border-right: 0;
    padding: 24px 0;
  }

  .process-grid li > span {
    grid-column: 1;
  }

  .process-grid li > div {
    grid-column: 2;
  }

  .deliverable,
  .deliverable:first-child {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 24px 0;
  }

  .deliverable svg {
    width: 36px;
    height: 36px;
  }

  .contact-copy h2 {
    font-size: clamp(2.45rem, 11vw, 3.2rem);
  }

  .dialog-shell {
    padding-inline: 22px;
  }

  .dialog-header h2 {
    font-size: 2.25rem;
  }

  .scenario-copy {
    min-height: 340px;
    padding: 30px 22px;
  }

  .footer-nav {
    grid-template-columns: minmax(100px, .62fr) minmax(0, 1.38fr);
    gap: 20px;
  }
}

/* Privacy page */
.legal-page {
  background: var(--white);
}

.legal-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
}

.legal-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #d7d8d3;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-back:hover {
  color: var(--red-light);
}

.legal-hero {
  background: var(--ink);
  color: var(--white);
}

.legal-hero-grid {
  min-height: 500px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: end;
  gap: clamp(34px, 7vw, 110px);
  padding-block: clamp(72px, 9vw, 126px);
}

.legal-hero .technical-label {
  color: var(--red-light);
}

.legal-hero h1 {
  max-width: 950px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 6.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .9;
}

.legal-hero p {
  max-width: 750px;
  margin: 0;
  color: #b8bbb6;
  font-size: 1.05rem;
}

.legal-content {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(48px, 9vw, 140px);
  padding-block: clamp(76px, 9vw, 130px);
}

.legal-content > aside {
  position: sticky;
  top: 30px;
  align-self: start;
  display: grid;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.legal-content > aside span {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .64rem;
  text-transform: uppercase;
}

.legal-content > aside strong {
  margin: 7px 0 24px;
}

.legal-content > aside a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.legal-sections {
  border-top: 1px solid var(--ink);
}

.legal-sections > section {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.legal-sections > section > span {
  color: var(--red-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .68rem;
  font-weight: 800;
}

.legal-sections h2 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 2.3vw, 2.15rem);
  letter-spacing: -.035em;
}

.legal-sections p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
}

.legal-sections p a {
  color: var(--red-dark);
  font-weight: 700;
}

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

.legal-footer > div {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #565a56;
  font-size: .8rem;
}

@media (max-width: 760px) {
  .legal-nav {
    min-height: 66px;
  }

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

  .legal-hero-grid {
    min-height: 440px;
    align-items: end;
    gap: 22px;
  }

  .legal-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.7rem);
  }

  .legal-content > aside {
    position: static;
  }
}

@media (max-width: 430px) {
  .legal-back {
    font-size: .75rem;
  }

  .legal-sections > section {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }
}

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

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

  .button:hover,
  .layer-button:hover,
  .scope-row:hover {
    transform: none;
  }
}
