:root {
  color-scheme: light;
  --paper: #F6F2EA;
  --ink: #17212B;
  --mist: #DCE5E8;
  --cobalt: #2457D6;
  --terracotta: #D95D39;
  --paper-deep: #EAE4D9;
  --ink-soft: #3F4A53;
  --line-soft: #AEB6B7;
  --container: 80rem;
  --display: Manrope, "Arial Nova", "Aptos Display", system-ui, "Segoe UI", Arial, sans-serif;
  --body: Inter, "Aptos", system-ui, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, "Courier New", monospace;
  --header-height: 4.75rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --layer-grain: 1;
  --layer-content: 2;
  --layer-header: 20;
  --layer-skip: 30;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 20rem;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--layer-grain);
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Ccircle cx='1' cy='1' r='.45' fill='%2317212B' fill-opacity='.22'/%3E%3C/svg%3E");
}

body.menu-open {
  overflow: hidden;
}

main,
.site-footer,
.site-header {
  position: relative;
  z-index: var(--layer-content);
}

main:focus {
  outline: 0;
}

button,
a {
  font: inherit;
}

a {
  color: var(--cobalt);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.28em;
}

a:hover {
  text-decoration-line: underline;
}

a:active,
button:active {
  transform: translateY(1px);
}

.content-link {
  position: relative;
  display: inline-block;
}

.content-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: 44px;
  transform: translate(-50%, -50%);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.01;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.75rem;
  font-size: clamp(3rem, 5.8vw, 5.25rem);
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.3rem, 4.4vw, 3.75rem);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.12;
}

p {
  text-wrap: pretty;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 4rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--layer-skip);
  min-height: 44px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  border: 2px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
  font-weight: 750;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--layer-header);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: clamp(2.5rem, 8vw, 8rem);
  height: 3px;
  background: var(--terracotta);
}

.header-row {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover,
.wordmark[aria-current="page"] {
  text-decoration-line: underline;
  text-decoration-color: var(--cobalt);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.42rem;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.45vw, 1.65rem);
}

.nav-link,
.dropdown-toggle {
  min-height: 44px;
  padding: 0.65rem 0.15rem;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-link[aria-current="page"],
.dropdown-toggle.is-current,
.dropdown-toggle[aria-expanded="true"] {
  border-bottom-color: var(--ink);
  text-decoration: none;
}

.dropdown {
  position: relative;
}

.dropdown-toggle::after,
.mobile-capabilities-toggle::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  margin-left: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 220ms var(--ease);
}

.dropdown-toggle[aria-expanded="true"]::after,
.mobile-capabilities-toggle[aria-expanded="true"]::after {
  transform: translateY(0.12rem) rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: -1rem;
  width: 20rem;
  padding: 0.75rem;
  border: 1px solid var(--ink);
  background: var(--mist);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -0.48rem;
  left: 2rem;
  width: 0.85rem;
  height: 0.85rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background: var(--mist);
  transform: rotate(45deg);
}

.dropdown-menu a {
  position: relative;
  min-height: 46px;
  padding: 0.72rem 0.8rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 680;
  text-decoration: none;
  transition: background-color 180ms var(--ease), padding-left 180ms var(--ease);
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  padding-left: 1.25rem;
  background: var(--paper);
  text-decoration: underline;
}

.dropdown-menu a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--ink);
}

.button {
  width: fit-content;
  min-height: 48px;
  padding: 0.82rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cobalt);
  border-radius: 0.625rem;
  background: var(--cobalt);
  color: var(--paper);
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}

.button:hover {
  border-color: var(--ink);
  background: var(--ink);
  text-decoration: underline;
  transform: translateY(-2px);
}

.button:focus-visible {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--cobalt);
  outline: 0;
}

.header-cta {
  min-height: 44px;
  padding-inline: 1rem;
  font-size: 0.89rem;
}

.menu-toggle {
  min-width: 48px;
  min-height: 48px;
  margin-left: auto;
  padding: 0.6rem 0.8rem;
  display: none;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--ink);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
}

.menu-icon {
  width: 1.25rem;
  height: 0.85rem;
  display: grid;
  align-content: space-between;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: "";
  height: 2px;
  display: block;
  background: currentColor;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-icon span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: translateY(0.37rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-0.37rem) rotate(-45deg);
}

.mobile-nav {
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.noscript-nav {
  display: none;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.noscript-nav-inner {
  padding-block: 1rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}

.noscript-nav a {
  min-width: 44px;
  min-height: 44px;
  padding-block: 0.65rem;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.noscript-nav a:hover,
.noscript-nav a[aria-current="page"] {
  text-decoration: underline;
}

.mobile-nav-inner {
  padding-block: 1rem 1.5rem;
  display: grid;
}

.mobile-nav a,
.mobile-capabilities-toggle {
  min-height: 48px;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 720;
  text-align: left;
  text-decoration: none;
}

.mobile-capabilities-toggle {
  width: 100%;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-capabilities {
  padding-left: 1rem;
  border-left: 4px solid var(--mist);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"],
.mobile-capabilities-toggle.is-current {
  padding-left: 0.65rem;
  text-decoration: underline;
}

.mobile-nav .button {
  width: 100%;
  margin-top: 1rem;
  border-bottom: 2px solid var(--cobalt);
  color: var(--paper);
  justify-content: center;
}

.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.025em;
}

.breadcrumb li + li::before {
  content: ">";
  margin-right: 0.65rem;
  color: var(--ink-soft);
}

.breadcrumb a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.page-hero {
  min-height: calc(100dvh - var(--header-height));
  padding-block: clamp(4rem, 7vw, 7rem);
  display: grid;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 7;
}

.hero-copy h1 {
  max-width: 14ch;
}

.home-hero .hero-copy::before {
  content: "";
  width: 0.5rem;
  height: 4.5rem;
  margin-bottom: 1.6rem;
  display: block;
  background: var(--terracotta);
}

.hero-copy .lede {
  max-width: 49ch;
  margin-bottom: 2.15rem;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.52;
}

.hero-geometry {
  position: relative;
  grid-column: 8 / -1;
  min-height: clamp(25rem, 43vw, 34rem);
}

.geo-frame,
.geo-frame::before,
.geo-frame::after {
  position: absolute;
  content: "";
}

.geo-frame {
  inset: 4% 2% 8% 4%;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

.geo-frame::before {
  inset: 13% -7% -3% 13%;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.geo-frame::after {
  right: 22%;
  bottom: -3%;
  width: 55%;
  height: 58%;
  background: var(--ink);
}

.geo-block {
  position: absolute;
  z-index: 1;
}

.geo-block.mist {
  right: -5%;
  bottom: 29%;
  width: 30%;
  height: 25%;
  background: var(--mist);
}

.geo-block.blue {
  right: -5%;
  bottom: -3%;
  width: 30%;
  height: 32%;
  background: var(--cobalt);
}

.geo-block.terra {
  top: 10%;
  right: -5%;
  width: 1.5rem;
  height: 4.75rem;
  background: var(--terracotta);
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.section-head {
  max-width: 54rem;
  margin-bottom: clamp(2rem, 4vw, 3.75rem);
}

.section-head p {
  max-width: 65ch;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.section-rule {
  margin-bottom: 0;
  border-top: 1px solid var(--ink);
}

.section-rule::before {
  content: "";
  width: 7rem;
  height: 4px;
  display: block;
  background: var(--cobalt);
  transform: translateY(-2px);
}

.mist-section {
  background: var(--mist);
}

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

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

.ink-section a:not(.button) {
  color: var(--paper);
}

.capability-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.capability-card {
  position: relative;
  min-height: 27rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background: var(--paper);
  transition: background-color 240ms var(--ease), transform 240ms var(--ease);
}

.capability-card:nth-child(even) {
  background: var(--mist);
}

.capability-card:nth-child(2),
.capability-card:nth-child(4) {
  transform: translateY(2rem);
}

.capability-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 2.25rem;
  height: 2.25rem;
  border-left: 4px solid var(--terracotta);
  border-bottom: 4px solid var(--terracotta);
  background: inherit;
}

.capability-card:nth-child(even)::before {
  border-color: var(--ink);
}

.capability-card:hover,
.capability-card:focus-within {
  z-index: 2;
  background: var(--paper-deep);
  transform: translateY(-0.5rem);
}

.capability-card:nth-child(2):hover,
.capability-card:nth-child(2):focus-within,
.capability-card:nth-child(4):hover,
.capability-card:nth-child(4):focus-within {
  transform: translateY(1.5rem);
}

.index {
  margin-bottom: 3.25rem;
  display: block;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.capability-card p {
  margin-bottom: 2rem;
  line-height: 1.55;
}

.capability-card a {
  min-width: 44px;
  min-height: 44px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-weight: 760;
}

.home-capabilities {
  padding-bottom: clamp(7.5rem, 13vw, 12rem);
}

.home-capabilities .section-head {
  margin-bottom: 2rem;
}

.home-capabilities .section-rule {
  margin-bottom: 3.25rem;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.process-rail {
  position: absolute;
  top: 3.15rem;
  right: 0;
  left: 0;
  height: 1px;
  display: block;
  background: var(--mist);
}

.step {
  position: relative;
  padding-top: 7.2rem;
}

.step .index {
  position: absolute;
  top: 0;
  margin: 0;
  color: var(--terracotta);
  font-size: 2.9rem;
}

.step .index::after {
  content: "";
  position: absolute;
  top: 3rem;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--terracotta);
}

.step-frame {
  min-height: 15rem;
  padding: 2.25rem 2rem;
  border-top: 1px solid var(--mist);
  border-right: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.step:nth-of-type(3) .step-frame {
  transform: translateY(2.25rem);
}

.step-frame p {
  color: var(--mist);
}

.closing-grid {
  position: relative;
  min-height: 28rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.closing-grid::before {
  content: "";
  position: absolute;
  top: -2px;
  right: clamp(2rem, 8vw, 8rem);
  width: 6rem;
  height: 7.5rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--mist);
}

.closing-grid h2 {
  max-width: 14ch;
}

.closing-grid p {
  max-width: 57ch;
  margin-bottom: 0;
  font-size: 1.15rem;
}

.closing-action {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0;
  display: flex;
  justify-content: center;
  border-top: 4px solid var(--cobalt);
  border-right: 4px solid var(--cobalt);
}

.home-closing {
  padding-top: clamp(7rem, 12vw, 11rem);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.editorial-title {
  grid-column: 1 / span 4;
}

.editorial-title h2 {
  max-width: 11ch;
}

.editorial-body {
  grid-column: 6 / -1;
}

.editorial-body > p {
  max-width: 62ch;
}

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

.open-item {
  padding-block: 1.6rem;
  display: grid;
  grid-template-columns: minmax(10rem, 0.75fr) minmax(0, 1.25fr);
  gap: 2rem;
  border-bottom: 1px solid var(--ink);
}

.open-item h3,
.open-item p {
  margin-bottom: 0;
}

.open-item p {
  max-width: 54ch;
}

.framed-copy {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.framed-copy::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 4rem;
  height: 4rem;
  border-top: 0.5rem solid var(--terracotta);
  border-left: 0.5rem solid transparent;
}

.framed-copy ul,
.clean-list {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.framed-copy li,
.clean-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.5rem;
}

.framed-copy li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--terracotta);
}

.note-block {
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 0.45rem solid var(--terracotta);
  background: var(--mist);
  color: var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.process-item {
  min-height: 20rem;
  padding: 2rem 1.5rem;
  grid-column: span 3;
  border-right: 1px solid var(--mist);
}

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

.process-item:nth-child(2),
.process-item:nth-child(4) {
  padding-top: 4.5rem;
}

.process-item .index {
  margin-bottom: 4rem;
  color: var(--terracotta);
  font-size: 1rem;
}

.process-item p {
  color: var(--mist);
}

.paired-fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.paired-field {
  position: relative;
  min-height: 27rem;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: 1 / span 7;
  border: 2px solid var(--ink);
}

.paired-field:nth-child(2) {
  z-index: 1;
  grid-column: 7 / -1;
  margin-top: 8rem;
  background: var(--mist);
}

.paired-field p {
  max-width: 45ch;
}

.sequence-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sequence-list li {
  position: relative;
  min-height: 10rem;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-content: center;
  gap: 1rem;
  border-top: 1px solid var(--ink);
}

.sequence-list li:last-child {
  border-bottom: 1px solid var(--ink);
}

.sequence-list .index {
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--terracotta);
}

.sequence-list h3,
.sequence-list p {
  margin-bottom: 0;
}

/* Websites: open structural frames, publication order, no browser chrome. */
.page-websites .hero-copy {
  grid-column: 1 / span 8;
}

.page-websites .hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 5.2vw, 5rem);
}

.web-geometry {
  grid-column: 8 / -1;
  min-height: 32rem;
}

.web-geometry .geo-frame {
  inset: 7% -7% 8% 14%;
  border: 2px solid var(--ink);
  border-left: 0;
}

.web-geometry .geo-frame::before {
  inset: 16% 10% 17% -20%;
  border: 1px solid var(--ink);
  border-right: 0;
}

.web-geometry .geo-frame::after {
  right: 15%;
  bottom: 22%;
  width: 55%;
  height: 2px;
  background: var(--cobalt);
}

.web-geometry .geo-block.mist {
  right: 9%;
  bottom: 11%;
  width: 42%;
  height: 23%;
}

.web-geometry .geo-block.blue {
  right: auto;
  bottom: 39%;
  left: 2%;
  width: 5px;
  height: 42%;
}

.web-geometry .geo-block.terra {
  top: 7%;
  right: 2%;
  width: 4rem;
  height: 0.65rem;
}

.web-geometry .route-rail {
  position: absolute;
  top: 27%;
  right: 2%;
  left: 14%;
  height: 1px;
  background: var(--ink);
}

.web-structure .editorial-title {
  grid-column: 1 / span 5;
}

.web-structure .editorial-body {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
}

.web-structure .open-item {
  min-height: 15rem;
  padding: 2rem;
  display: block;
  border: 1px solid var(--ink);
}

.web-structure .open-item:nth-child(2),
.web-structure .open-item:nth-child(3) {
  background: var(--mist);
}

.web-structure .open-item:nth-child(2) {
  transform: translateY(3rem);
}

.web-structure .open-item:nth-child(4) {
  transform: translateY(3rem);
  border-top: 0;
  border-left: 0;
}

.web-scope .framed-copy {
  margin-bottom: 2.5rem;
  background: var(--paper);
}

.web-scope .editorial-body > p:last-child {
  margin-left: clamp(0rem, 8vw, 7rem);
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

.web-process .section-head {
  margin-left: 25%;
}

.web-questions .open-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  border: 0;
}

.web-questions .open-item {
  min-height: 14rem;
  padding: 1.75rem;
  display: block;
  border: 1px solid var(--ink);
}

.web-questions .note-block {
  grid-column: 2 / -1;
  margin-top: 0;
  align-self: end;
}

/* Identity: matched systems and deliberate misregistration. */
.identity-hero .hero-copy {
  grid-column: 1 / span 8;
}

.identity-hero .hero-copy h1 {
  max-width: 17ch;
  font-size: clamp(3rem, 5.2vw, 5rem);
}

.identity-geometry {
  grid-column: 9 / -1;
}

.identity-geometry .geo-frame {
  inset: 9% -8% 12% 4%;
  border: 2px solid var(--ink);
}

.identity-geometry .geo-frame::before {
  inset: 9% 10% -9% -10%;
  border: 1px solid var(--cobalt);
}

.identity-geometry .geo-frame::after {
  top: 34%;
  right: 27%;
  bottom: auto;
  width: 48%;
  height: 42%;
  background: var(--mist);
  outline: 2px solid var(--ink);
  outline-offset: 0.8rem;
}

.identity-geometry .geo-block.blue {
  right: 20%;
  bottom: 18%;
  width: 28%;
  height: 7%;
}

.identity-geometry .geo-block.mist {
  top: 3%;
  right: 7%;
  bottom: auto;
  width: 32%;
  height: 18%;
}

.identity-geometry .geo-block.terra {
  top: auto;
  right: auto;
  bottom: 7%;
  left: -4%;
  width: 1rem;
  height: 6rem;
}

.identity-pair::before,
.identity-pair::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
}

.identity-pair::before {
  top: -0.75rem;
  left: -0.75rem;
  border-top: 2px solid var(--cobalt);
  border-left: 2px solid var(--cobalt);
}

.identity-pair::after {
  right: -0.75rem;
  bottom: -0.75rem;
  border-right: 2px solid var(--cobalt);
  border-bottom: 2px solid var(--cobalt);
}

.identity-match {
  background: var(--paper);
}

.identity-misregister {
  transform: translate(-2rem, 0);
  box-shadow: 1rem 1rem 0 var(--terracotta);
}

.identity-system .editorial-title {
  grid-column: 2 / span 4;
}

.identity-system .editorial-body {
  grid-column: 7 / -1;
}

.identity-system .framed-copy {
  border-color: var(--mist);
}

.identity-system .framed-copy::before {
  content: "";
  position: absolute;
  top: -2rem;
  right: 12%;
  width: 45%;
  height: 0.55rem;
  background: var(--terracotta);
}

/* Stores: abstract inventory and route geometry, never checkout UI. */
.stores-hero .hero-copy {
  grid-column: 1 / span 6;
}

.stores-hero .hero-copy h1 {
  max-width: 12ch;
}

.stores-geometry {
  grid-column: 7 / -1;
}

.stores-geometry .geo-frame {
  inset: 3% 0 5% 5%;
  border: 2px solid var(--ink);
  border-bottom: 0;
}

.stores-geometry .geo-frame::before {
  inset: 17% 16% 22% 12%;
  border: 1px solid var(--ink);
}

.stores-geometry .geo-frame::after {
  right: 12%;
  bottom: 4%;
  width: 30%;
  height: 28%;
  background: var(--cobalt);
}

.stores-geometry .geo-block.mist {
  top: 18%;
  right: 30%;
  bottom: auto;
  width: 24%;
  height: 24%;
}

.stores-geometry .geo-block.blue {
  right: 55%;
  bottom: 26%;
  width: 18%;
  height: 18%;
  background: var(--ink);
}

.stores-geometry .geo-block.terra {
  top: 3%;
  right: 14%;
  width: 4.5rem;
  height: 1rem;
}

.stores-geometry .route-rail {
  position: absolute;
  right: 8%;
  bottom: 16%;
  left: 10%;
  height: 2px;
  background: var(--ink);
  transform-origin: left center;
}

.stores-operation .editorial-title {
  grid-column: 1 / span 6;
}

.stores-operation .editorial-body {
  grid-column: 7 / -1;
}

.stores-inventory .section-head {
  margin-left: 8.333%;
}

.inventory-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border: 0;
  background: var(--ink);
}

.inventory-flow .route-rail {
  position: absolute;
  top: 50%;
  right: -2rem;
  left: -2rem;
  z-index: 2;
  height: 2px;
  background: var(--terracotta);
  pointer-events: none;
}

.inventory-item {
  min-height: 15rem;
  padding: 2rem;
  display: block;
  border: 0;
  background: var(--paper);
}

.inventory-item:nth-of-type(1) {
  grid-column: span 5;
}

.inventory-item:nth-of-type(2) {
  grid-column: span 3;
  background: var(--mist);
}

.inventory-item:nth-of-type(3) {
  grid-column: span 4;
}

.inventory-item:nth-of-type(4) {
  grid-column: span 4;
  background: var(--mist);
}

.inventory-item:nth-of-type(5) {
  grid-column: span 8;
}

.inventory-item h3 {
  margin-bottom: 2.5rem;
}

.stores-routing .editorial-title {
  grid-column: 2 / span 4;
}

.stores-routing .editorial-body {
  grid-column: 7 / -1;
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

/* Software: two state lanes connected to a dependency rail. */
.software-hero .hero-copy {
  grid-column: 1 / span 7;
}

.software-geometry {
  grid-column: 8 / -1;
}

.software-geometry .geo-frame {
  inset: 5% 2% 6% 2%;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.software-geometry .geo-frame::before {
  inset: 22% 12% 22% 12%;
  border: 1px solid var(--ink);
  border-left-width: 5px;
}

.software-geometry .geo-frame::after {
  top: 44%;
  right: 16%;
  bottom: auto;
  width: 1rem;
  height: 1rem;
  background: var(--terracotta);
  box-shadow: -8rem 0 0 var(--cobalt), -16rem 0 0 var(--ink);
}

.software-geometry .geo-block.mist {
  top: 17%;
  right: 10%;
  bottom: auto;
  width: 28%;
  height: 14%;
}

.software-geometry .geo-block.blue {
  right: auto;
  bottom: 15%;
  left: 22%;
  width: 42%;
  height: 0.5rem;
}

.software-geometry .geo-block.terra {
  top: 12%;
  right: auto;
  left: 3%;
  width: 0.7rem;
  height: 5rem;
}

.software-geometry .state-rail {
  position: absolute;
  top: 46%;
  right: 14%;
  left: 16%;
  height: 2px;
  background: var(--ink);
}

.software-lane {
  min-height: 24rem;
  justify-content: flex-start;
}

.software-lane::after {
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 4rem;
  height: 4rem;
  border-right: 4px solid var(--cobalt);
  border-bottom: 4px solid var(--cobalt);
}

.software-lane:nth-child(2)::after {
  border-color: var(--terracotta);
}

.state-sequence {
  padding-left: 2rem;
}

.state-sequence::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.4rem;
  width: 2px;
  background: var(--cobalt);
}

.state-sequence li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -2rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--ink);
  background: var(--mist);
  transform: translateY(-50%);
}

.software-plan .editorial-title {
  grid-column: 1 / span 5;
}

.software-plan .editorial-body {
  grid-column: 6 / -1;
}

/* FAQ: an editorial question index that keeps native disclosure semantics. */
.faq-hero {
  min-height: min(44rem, calc(100dvh - var(--header-height)));
}

.faq-hero .hero-copy {
  grid-column: 1 / span 8;
}

.faq-hero .hero-copy h1 {
  max-width: none;
  font-size: clamp(4rem, 9vw, 8rem);
}

.faq-geometry {
  grid-column: 9 / -1;
  min-height: 24rem;
}

.faq-geometry .geo-frame {
  inset: 5% 0 5% 20%;
  border: 0;
  border-left: 2px solid var(--ink);
}

.faq-geometry .geo-frame::before {
  inset: 10% 0 10% 14%;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.faq-geometry .geo-frame::after {
  top: 48%;
  right: 0;
  bottom: auto;
  width: 80%;
  height: 2px;
  background: var(--cobalt);
}

.faq-geometry .geo-block.mist {
  top: 20%;
  right: 12%;
  bottom: auto;
  width: 38%;
  height: 20%;
}

.faq-geometry .geo-block.blue {
  right: 34%;
  bottom: 20%;
  width: 1rem;
  height: 1rem;
}

.faq-geometry .geo-block.terra {
  top: 49%;
  right: 2%;
  width: 3rem;
  height: 0.7rem;
}

.qa-groups {
  display: grid;
  grid-template-columns: minmax(14rem, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 8vw, 8rem);
}

.qa-groups > h2 {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
  max-width: 8ch;
}

.qa-group + .qa-group {
  margin-top: 7rem;
}

.qa-group > h2 {
  max-width: 12ch;
  margin-bottom: 3rem;
}

.qa-group details {
  position: relative;
  padding-left: clamp(1.25rem, 3vw, 3rem);
  border-left: 2px solid var(--ink);
}

.qa-group details + details {
  margin-top: 0.4rem;
}

.qa-group details[open] {
  border-left-color: var(--cobalt);
  background: var(--mist);
}

.qa-group summary {
  min-height: 76px;
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem) 1.25rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.qa-group summary::-webkit-details-marker {
  display: none;
}

.qa-group summary::after {
  content: "+";
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 1.65rem;
  line-height: 1;
}

.qa-group details[open] summary::after {
  content: "−";
}

.answer {
  max-width: 66ch;
  padding: 0 2.5rem 2rem 0;
}

.answer ul {
  padding-left: 1.2rem;
}

.answer .content-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.answer .content-link::before {
  content: none;
}

/* Contact: one real channel, treated as the final destination rather than a form shell. */
.contact-stage {
  min-height: calc(100dvh - var(--header-height));
  padding-block: clamp(5rem, 10vw, 9rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.contact-stage h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 8vw, 7.5rem);
}

.contact-stage p {
  max-width: 50ch;
  color: var(--mist);
}

.contact-stage p a {
  color: var(--paper);
}

.contact-action {
  position: relative;
  min-width: 0;
  padding-bottom: 8rem;
}

.email-link {
  position: relative;
  z-index: 2;
  max-width: 100%;
  min-height: 44px;
  padding-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  border-bottom: 4px solid var(--paper);
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1rem, 2.15vw, 2.1rem);
  font-weight: 750;
  overflow-wrap: normal;
  text-decoration: none;
  white-space: nowrap;
}

.email-link:hover {
  border-bottom-color: var(--terracotta);
  text-decoration: underline;
}

.contact-geometry {
  position: absolute;
  inset: 5rem -8rem -4rem 10%;
  border-top: 1px solid var(--mist);
  border-left: 1px solid var(--mist);
  pointer-events: none;
}

.contact-geometry span {
  position: absolute;
  display: block;
}

.contact-geometry span:nth-child(1) {
  top: 20%;
  left: -1px;
  width: 58%;
  height: 1px;
  background: var(--mist);
}

.contact-geometry span:nth-child(2) {
  top: -0.5rem;
  right: 22%;
  width: 1rem;
  height: 5rem;
  background: var(--terracotta);
}

.contact-geometry span:nth-child(3) {
  right: 16%;
  bottom: 18%;
  width: 35%;
  height: 30%;
  background: var(--cobalt);
}

.contact-context .editorial-title {
  grid-column: 2 / span 4;
}

.contact-context .editorial-body {
  grid-column: 7 / -1;
}

.contact-list {
  padding: clamp(2rem, 5vw, 4rem);
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

/* Legal: quiet typesetting and local access without release authorization. */
.legal-hero {
  min-height: min(38rem, calc(100dvh - var(--header-height)));
}

.legal-hero .hero-copy {
  grid-column: 2 / span 7;
}

.legal-hero .hero-copy h1 {
  max-width: none;
}

.legal-geometry {
  grid-column: 9 / -1;
  min-height: 20rem;
}

.legal-geometry .geo-frame {
  inset: 12% 4%;
  border: 0;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}

.legal-geometry .geo-frame::before {
  inset: 22% 18% -10% -18%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.legal-geometry .geo-frame::after {
  top: 16%;
  right: 14%;
  bottom: auto;
  width: 0.6rem;
  height: 4rem;
  background: var(--terracotta);
}

.legal-geometry .geo-block.mist {
  right: 20%;
  bottom: 5%;
  width: 44%;
  height: 28%;
}

.legal-geometry .geo-block.blue,
.legal-geometry .geo-block.terra {
  display: none;
}

.legal-copy {
  max-width: 56rem;
  margin-left: calc((100% - 56rem) / 4);
}

.legal-copy section {
  padding-block: clamp(2.75rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
  gap: 3rem;
  border-top: 1px solid var(--ink);
}

.legal-copy section:last-child {
  border-bottom: 1px solid var(--ink);
}

.legal-copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

/* 404: an interrupted frame with direct recovery paths. */
.error-stage {
  min-height: calc(100dvh - var(--header-height));
  padding-block: clamp(5rem, 10vw, 9rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.error-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
}

.error-copy {
  position: relative;
}

.error-code {
  margin-bottom: 1rem;
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: clamp(5rem, 13vw, 10rem);
  line-height: 0.75;
}

.error-stage h1 {
  max-width: 8ch;
}

.error-stage p {
  max-width: 40ch;
  color: var(--mist);
}

.error-geometry {
  position: absolute;
  inset: -3rem -4rem -4rem 48%;
  z-index: -1;
  border-top: 1px solid var(--mist);
  border-right: 1px solid var(--mist);
  pointer-events: none;
}

.error-geometry span {
  position: absolute;
  display: block;
}

.error-geometry span:nth-child(1) {
  top: 28%;
  right: 0;
  width: 68%;
  height: 1px;
  background: var(--mist);
}

.error-geometry span:nth-child(2) {
  top: 28%;
  left: 31%;
  width: 1rem;
  height: 5.5rem;
  background: var(--terracotta);
}

.error-geometry span:nth-child(3) {
  right: 18%;
  bottom: 13%;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid var(--paper);
  border-left: 0;
}

.ink-section .button,
.contact-stage .button,
.error-stage .button {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.ink-section .button:hover,
.contact-stage .button:hover,
.error-stage .button:hover {
  border-color: var(--mist);
  background: var(--mist);
  color: var(--ink);
}

.ink-section .button:focus-visible,
.contact-stage .button:focus-visible,
.error-stage .button:focus-visible {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--cobalt);
  outline: 0;
}

.ink-section a:not(.button):focus-visible,
.contact-stage a:not(.button):focus-visible,
.error-stage a:not(.button):focus-visible,
.site-footer a:focus-visible {
  box-shadow: 0 0 0 5px var(--cobalt);
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

.recovery-links {
  position: relative;
  padding: 2.25rem;
  border-top: 1px solid var(--mist);
  border-right: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.recovery-links::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3.5rem;
  height: 0.55rem;
  background: var(--terracotta);
}

.recovery-links h2 {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.recovery-links a {
  min-width: 44px;
  min-height: 48px;
  padding-block: 0.72rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--mist);
  color: var(--paper);
}

.recovery-links a:last-child {
  border-bottom: 0;
}

.site-footer {
  padding-block: 5rem 3rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  width: 18%;
  height: 0.5rem;
  background: var(--terracotta);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.25fr 0.8fr 1.4fr;
  gap: 2rem;
}

.footer-wordmark {
  color: var(--paper);
  align-self: start;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-group h2 {
  margin-bottom: 1rem;
  color: var(--mist);
  font-family: var(--body);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.3;
}

.footer-group a {
  min-width: 44px;
  min-height: 44px;
  padding-block: 0.45rem;
  display: flex;
  align-items: center;
  color: var(--paper);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-group a:hover,
.footer-group a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 0.65rem;
  }

  .header-cta {
    padding-inline: 0.75rem;
  }

  .capability-card {
    grid-column: span 6;
    min-height: 22rem;
  }

  .capability-card:nth-child(2),
  .capability-card:nth-child(4) {
    transform: none;
  }

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

  .footer-wordmark {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 3.5rem), var(--container));
  }

  .desktop-nav {
    display: none;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .noscript-nav {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    max-height: none;
  }

  .page-hero {
    min-height: auto;
  }

  .hero-copy,
  .page-websites .hero-copy,
  .identity-hero .hero-copy,
  .stores-hero .hero-copy,
  .software-hero .hero-copy,
  .faq-hero .hero-copy,
  .legal-hero .hero-copy {
    grid-column: 1 / span 8;
  }

  .hero-geometry,
  .web-geometry,
  .identity-geometry,
  .stores-geometry,
  .software-geometry,
  .faq-geometry,
  .legal-geometry {
    grid-column: 9 / -1;
    min-height: 24rem;
  }

  .editorial-title,
  .web-structure .editorial-title,
  .identity-system .editorial-title,
  .stores-operation .editorial-title,
  .stores-routing .editorial-title,
  .software-plan .editorial-title,
  .contact-context .editorial-title {
    grid-column: 1 / span 4;
  }

  .editorial-body,
  .web-structure .editorial-body,
  .identity-system .editorial-body,
  .stores-operation .editorial-body,
  .stores-routing .editorial-body,
  .software-plan .editorial-body,
  .contact-context .editorial-body {
    grid-column: 5 / -1;
  }

  .web-structure .editorial-body {
    grid-template-columns: 1fr;
  }

  .web-structure .open-item:nth-child(2),
  .web-structure .open-item:nth-child(4) {
    transform: none;
  }

  .web-process .section-head {
    margin-left: 0;
  }

  .web-questions .open-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-item {
    grid-column: span 6;
  }

  .process-item:nth-child(2),
  .process-item:nth-child(4) {
    padding-top: 2rem;
  }

  .paired-field,
  .paired-field:nth-child(2) {
    grid-column: span 7;
  }

  .paired-field:nth-child(2) {
    grid-column: 6 / -1;
  }

  .qa-groups {
    grid-template-columns: 1fr;
  }

  .qa-groups > h2 {
    position: static;
    max-width: 14ch;
  }

  .contact-grid,
  .error-grid {
    grid-template-columns: 1fr;
  }

  .contact-action {
    padding-bottom: 5rem;
  }

  .legal-copy {
    margin-left: 0;
  }

  .closing-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .closing-action {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: min(calc(100% - 2.5rem), var(--container));
  }

  .header-row {
    min-height: 4.5rem;
  }

  .wordmark {
    font-size: 1.25rem;
  }

  h1,
  .page-websites .hero-copy h1,
  .identity-hero .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .faq-hero .hero-copy h1,
  .contact-stage h1 {
    font-size: clamp(3rem, 14vw, 4.75rem);
  }

  .hero-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-geometry,
  .page-websites .hero-copy,
  .identity-hero .hero-copy,
  .stores-hero .hero-copy,
  .software-hero .hero-copy,
  .faq-hero .hero-copy,
  .legal-hero .hero-copy,
  .web-geometry,
  .identity-geometry,
  .stores-geometry,
  .software-geometry,
  .faq-geometry,
  .legal-geometry,
  .editorial-title,
  .editorial-body,
  .web-structure .editorial-title,
  .web-structure .editorial-body,
  .identity-system .editorial-title,
  .identity-system .editorial-body,
  .stores-operation .editorial-title,
  .stores-operation .editorial-body,
  .stores-routing .editorial-title,
  .stores-routing .editorial-body,
  .software-plan .editorial-title,
  .software-plan .editorial-body,
  .contact-context .editorial-title,
  .contact-context .editorial-body {
    grid-column: 1;
  }

  .page-hero {
    padding-block: 3.5rem 0;
  }

  .hero-geometry,
  .web-geometry,
  .identity-geometry,
  .stores-geometry,
  .software-geometry,
  .faq-geometry,
  .legal-geometry {
    min-height: 12rem;
    margin-top: 1.25rem;
  }

  .home-hero .hero-copy::before {
    width: 4rem;
    height: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .home-geometry .geo-frame::after {
    height: 48%;
  }

  .section {
    padding-block: clamp(4.5rem, 18vw, 6.5rem);
  }

  .capability-grid,
  .steps-grid,
  .paired-fields,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .noscript-nav-inner {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 18rem;
    grid-column: 1;
  }

  .capability-card:hover,
  .capability-card:focus-within,
  .capability-card:nth-child(2):hover,
  .capability-card:nth-child(2):focus-within,
  .capability-card:nth-child(4):hover,
  .capability-card:nth-child(4):focus-within {
    transform: none;
  }

  .steps-grid {
    gap: 0;
  }

  .process-rail {
    top: 0;
    right: auto;
    bottom: 0;
    left: 1.2rem;
    width: 1px;
    height: auto;
  }

  .step {
    padding: 0 0 2rem 4rem;
  }

  .step .index {
    top: 0;
    left: 0;
    padding-block: 0.25rem;
    background: var(--ink);
    font-size: 1rem;
  }

  .step .index::after {
    top: 1.8rem;
    left: 0.82rem;
  }

  .step-frame,
  .step:nth-of-type(3) .step-frame {
    min-height: auto;
    transform: none;
  }

  .open-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .web-structure .editorial-body,
  .web-questions .open-list {
    grid-template-columns: 1fr;
  }

  .web-questions .note-block {
    grid-column: 1;
  }

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

  .process-item,
  .process-item:nth-child(2),
  .process-item:nth-child(4) {
    min-height: auto;
    padding-top: 2rem;
    grid-column: 1;
    border-right: 0;
    border-bottom: 1px solid var(--mist);
  }

  .process-item .index {
    margin-bottom: 1.75rem;
  }

  .paired-field,
  .paired-field:nth-child(2) {
    min-height: 20rem;
    grid-column: 1;
    margin-top: 0;
  }

  .identity-misregister {
    transform: none;
    box-shadow: 0.65rem 0.65rem 0 var(--terracotta);
  }

  .inventory-flow {
    grid-template-columns: 1fr;
  }

  .inventory-flow .route-rail {
    top: -1rem;
    right: auto;
    bottom: -1rem;
    left: 1.25rem;
    width: 2px;
    height: auto;
    transform: none !important;
  }

  .inventory-item:nth-of-type(1),
  .inventory-item:nth-of-type(2),
  .inventory-item:nth-of-type(3),
  .inventory-item:nth-of-type(4),
  .inventory-item:nth-of-type(5) {
    min-height: 12rem;
    grid-column: 1;
  }

  .stores-routing .editorial-body {
    padding: 2rem 0 2rem 1.5rem;
  }

  .state-sequence {
    padding-left: 1.5rem;
  }

  .state-sequence li {
    padding-inline: 1rem 0;
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .qa-group + .qa-group {
    margin-top: 5rem;
  }

  .qa-group details {
    padding-left: 1rem;
  }

  .qa-group summary {
    min-height: 68px;
    padding-right: 1rem;
  }

  .answer {
    padding-right: 1rem;
  }

  .contact-stage,
  .error-stage {
    min-height: auto;
  }

  .contact-action {
    padding-bottom: 7rem;
  }

  .contact-geometry {
    inset-inline: 12% -3rem;
  }

  .legal-copy section {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .error-geometry {
    display: none;
  }

  .closing-grid {
    padding-top: 5rem;
  }

  .closing-grid::before {
    right: 1.5rem;
    width: 4rem;
    height: 4rem;
  }

  .footer-wordmark {
    grid-column: 1;
  }
}

@media (max-width: 400px) {
  .container {
    width: min(calc(100% - 2.5rem), var(--container));
  }

  h1,
  .page-websites .hero-copy h1,
  .identity-hero .hero-copy h1 {
    font-size: clamp(2.35rem, 11.5vw, 3rem);
  }

  .faq-hero .hero-copy h1,
  .contact-stage h1 {
    font-size: clamp(2.9rem, 14vw, 3.5rem);
  }

  .menu-toggle {
    padding-inline: 0.65rem;
  }

  .button {
    width: fit-content;
    max-width: 100%;
    padding-inline: 1rem;
    white-space: nowrap;
  }

}

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

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

@media (forced-colors: active) {
  body::before {
    display: none;
  }

  .button,
  .capability-card,
  .framed-copy,
  .paired-field,
  .closing-grid,
  .recovery-links,
  .inventory-item,
  .qa-group details {
    border: 2px solid ButtonText;
  }

  a:focus-visible,
  button:focus-visible,
  summary:focus-visible {
    outline: 3px solid Highlight;
  }
}
