@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500&display=swap");

:root {
  --paper: #f4f1ea;
  --paper-raised: #fbf9f4;
  --ink: #211f1b;
  --ink-soft: #5e5a53;
  --rule: #cbc5ba;
  --rule-dark: #615d56;
  --signal: #a63b2a;
  --signal-dark: #7c2a20;
  --signal-soft: #d98a75;
  --white: #fffdf8;
  --content: 1328px;
  --narrow: 820px;
  --shadow: 0 16px 42px rgba(33, 31, 27, 0.12);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

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

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

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

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

h1,
h2,
h3,
h4 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
}

h1 {
  margin-bottom: 24px;
  font-size: 72px;
}

h2 {
  margin-bottom: 22px;
  font-size: 52px;
}

h3 {
  margin-bottom: 12px;
  font-size: 30px;
}

p {
  margin-bottom: 20px;
}

ul,
ol {
  padding-left: 22px;
}

address {
  font-style: normal;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

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

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

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

.mono,
.eyebrow,
.section-label,
.figure-caption,
.breadcrumb,
.service-number,
.project-sector,
.article-meta,
.field-note,
.filter-label,
.step-kicker {
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.eyebrow,
.section-label,
.step-kicker {
  display: inline-block;
  color: var(--signal);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-on-red {
  color: var(--white);
}

.section-followup {
  margin-top: 30px;
}

.display-italic {
  color: var(--signal);
  font-style: italic;
}

.lead {
  font-family: "Newsreader", Georgia, serif;
  font-size: 26px;
  line-height: 1.35;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
  line-height: 1.2;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-2px);
}

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

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

.button-dark {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.button-ghost {
  color: var(--ink);
  background: transparent;
}

.button-ghost:hover {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.button-sm {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 13px;
}

.utility-bar {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-raised);
}

.utility-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.utility-inner > div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.utility-inner a:hover {
  color: var(--signal);
}

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--ink);
  background: rgba(244, 241, 234, 0.97);
}

.masthead {
  display: grid;
  min-height: 104px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.site-nav {
  display: contents;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-group-right {
  justify-content: flex-end;
}

.site-nav a:not(.button) {
  position: relative;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.brand {
  display: inline-grid;
  min-width: 250px;
  justify-items: center;
  color: var(--ink);
  line-height: 1;
  text-align: center;
}

.brand-name {
  font-family: "Newsreader", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.brand-discipline {
  margin-top: 7px;
  color: var(--signal);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.mobile-brand {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.home-hero {
  padding: 62px 0 0;
  border-bottom: 1px solid var(--ink);
}

.home-hero-copy {
  max-width: 1000px;
  margin: 0 auto 38px;
  text-align: center;
}

.home-hero h1 {
  margin: 17px 0 22px;
  font-size: 72px;
}

.hero-lede {
  max-width: 680px;
  margin: 0 auto 26px;
  color: var(--ink-soft);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-figure {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.hero-figure img {
  height: 410px;
  object-fit: cover;
  object-position: center 48%;
}

.figure-caption {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 10px;
  text-transform: uppercase;
}

.marquee-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--signal);
  border-bottom: 1px solid var(--ink);
}

.marquee-shell {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 20px;
}

.marquee-label {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.marquee-window {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 46px;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

.marquee-track span::after {
  margin-left: 46px;
  content: "/";
  opacity: 0.65;
}

.marquee-band.is-paused .marquee-track,
.marquee-band:focus-within .marquee-track,
.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-toggle {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.marquee-toggle svg {
  width: 15px;
  height: 15px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 108px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-raised {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-raised);
}

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

.section-ink .eyebrow,
.section-ink .section-label,
.section-ink .service-number,
.section-ink .project-sector {
  color: var(--signal-soft);
}

.section-ink p {
  color: rgba(255, 253, 248, 0.72);
}

.section-ink .values-grid,
.section-ink .leader-grid {
  border-color: var(--rule-dark);
}

.section-ink .value-item,
.section-ink .leader {
  border-color: var(--rule-dark);
}

.section-ink .value-item p,
.section-ink .leader p {
  color: rgba(255, 253, 248, 0.7);
}

.section-heading {
  display: grid;
  margin-bottom: 52px;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 80px;
}

.section-heading h2 {
  max-width: 790px;
  margin: 12px 0 0;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--ink-soft);
}

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

.stat {
  min-height: 178px;
  padding: 34px 26px;
  border-right: 1px solid var(--ink);
}

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

.stat-number {
  display: block;
  margin-bottom: 12px;
  color: var(--signal);
  font-family: "Newsreader", Georgia, serif;
  font-size: 62px;
  font-weight: 300;
  line-height: 1;
}

.stat-label {
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 92px;
}

.editorial-split .sticky-copy {
  align-self: start;
}

@media (min-width: 1001px) {
  .sticky-copy {
    position: sticky;
    top: 42px;
  }
}

.service-ledger {
  border-top: 1px solid var(--ink);
}

.service-row {
  display: grid;
  min-height: 170px;
  grid-template-columns: 72px minmax(190px, 0.62fr) minmax(260px, 1fr);
  align-items: start;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--ink);
  transition: background 180ms ease, padding 180ms ease;
}

.service-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(166, 59, 42, 0.06);
}

.service-number {
  padding-top: 5px;
  color: var(--signal);
  font-size: 11px;
}

.service-row h3 {
  margin-bottom: 0;
  font-size: 29px;
}

.service-detail p {
  margin-bottom: 15px;
  color: var(--ink-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.process-grid {
  display: grid;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  grid-template-columns: repeat(5, 1fr);
}

.process-step {
  min-height: 244px;
  padding: 30px 24px;
  border-right: 1px solid var(--rule-dark);
}

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

.process-step strong {
  display: block;
  margin-bottom: 46px;
  color: var(--signal-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 11px;
}

.process-step h3 {
  font-size: 28px;
}

.process-step p {
  margin-bottom: 0;
  font-size: 15px;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
}

.project-feature {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.project-feature img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.project-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33, 31, 27, 0.92), rgba(33, 31, 27, 0.04) 62%);
  content: "";
}

.project-feature:hover img {
  transform: scale(1.025);
}

.project-feature-copy {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  z-index: 1;
}

.project-feature-copy h3 {
  max-width: 520px;
  margin: 9px 0 8px;
  font-size: 40px;
}

.project-feature-copy p {
  max-width: 580px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.78);
}

.project-stack {
  display: grid;
  gap: 22px;
}

.project-stack .project-feature {
  min-height: 269px;
}

.project-stack .project-feature-copy h3 {
  font-size: 30px;
}

.project-sector {
  color: var(--signal-soft);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.values-grid {
  display: grid;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
}

.value-item {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--ink);
}

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

.value-item .service-number {
  display: block;
  margin-bottom: 48px;
}

.value-item h3 {
  font-size: 31px;
}

.value-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.wide-figure {
  margin: 0;
}

.wide-figure img {
  height: 520px;
  object-fit: cover;
}

.page-hero {
  padding: 82px 0 54px;
  border-bottom: 1px solid var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  align-items: end;
  gap: 80px;
}

.page-hero h1 {
  max-width: 980px;
  margin: 14px 0 0;
}

.page-hero-aside {
  padding-bottom: 8px;
  color: var(--ink-soft);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 10px;
  text-transform: uppercase;
}

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

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 100px;
}

.mission-grid h2 {
  max-width: 560px;
}

.mission-copy {
  padding-top: 40px;
  border-top: 1px solid var(--ink);
}

.leader-grid {
  display: grid;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
}

.leader {
  display: grid;
  min-height: 240px;
  padding: 32px;
  border-right: 1px solid var(--ink);
  align-content: space-between;
}

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

.leader-monogram {
  color: var(--signal);
  font-family: "Newsreader", Georgia, serif;
  font-size: 70px;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.leader h3 {
  margin: 28px 0 3px;
}

.leader p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.scope-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.scope-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.scope-list li {
  display: grid;
  min-height: 72px;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--ink);
}

.scope-list svg {
  width: 20px;
  height: 20px;
  color: var(--signal);
}

.certification-band {
  display: grid;
  padding: 48px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 46px;
}

.certification-mark {
  display: grid;
  width: 134px;
  height: 134px;
  place-items: center;
  border: 1px solid var(--signal);
  color: var(--signal);
  font-family: "Newsreader", Georgia, serif;
  font-size: 54px;
  font-style: italic;
}

.certification-band h2 {
  margin-bottom: 12px;
  font-size: 40px;
}

.certification-band p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.filter-bar {
  display: flex;
  margin-bottom: 34px;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  align-items: center;
  gap: 22px;
}

.filter-label {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 10px;
  text-transform: uppercase;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--signal);
  background: var(--signal);
}

.project-register {
  border-top: 1px solid var(--ink);
}

.project-row {
  display: grid;
  min-height: 88px;
  grid-template-columns: 70px minmax(220px, 1.2fr) minmax(180px, 0.8fr) 36px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.project-row:hover {
  padding: 0 12px;
  color: var(--signal);
  background: var(--paper-raised);
}

.project-row[hidden] {
  display: none;
}

.project-index {
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
}

.project-name {
  font-family: "Newsreader", Georgia, serif;
  font-size: 27px;
  line-height: 1.1;
}

.project-category {
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.project-row svg {
  width: 18px;
  height: 18px;
  justify-self: end;
}

.quote-banner {
  color: var(--white);
  background: var(--signal);
}

.quote-banner-inner {
  display: grid;
  min-height: 300px;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 60px;
}

.quote-banner h2 {
  max-width: 840px;
  margin-bottom: 10px;
  font-size: 52px;
}

.quote-banner p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 86px;
}

.form-panel {
  padding: 40px;
  border: 1px solid var(--ink);
  background: var(--paper-raised);
}

.form-progress {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: 1fr 1fr;
}

.progress-step {
  padding: 0 0 12px;
  border-bottom: 2px solid var(--rule);
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.progress-step.is-active {
  color: var(--signal);
  border-color: var(--signal);
}

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

.form-step h2 {
  margin-bottom: 26px;
  font-size: 39px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--rule-dark);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 2px rgba(166, 59, 42, 0.14);
}

.field-note {
  color: var(--ink-soft);
  font-size: 9px;
}

.choice-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-fieldset legend {
  margin-bottom: 10px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.choice-option {
  position: relative;
}

.choice-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-option label {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 12px 8px;
  border: 1px solid var(--rule);
  cursor: pointer;
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-transform: none;
}

.choice-option input:checked + label {
  color: var(--white);
  border-color: var(--signal);
  background: var(--signal);
}

.choice-option input:focus-visible + label {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.form-actions {
  display: flex;
  margin-top: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-actions-end {
  justify-content: flex-end;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--signal-dark);
  font-size: 14px;
}

.form-status a {
  text-decoration: underline;
}

.contact-rail {
  border-top: 1px solid var(--ink);
}

.contact-block {
  display: grid;
  padding: 25px 0;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 32px 1fr;
  gap: 14px;
}

.contact-block svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--signal);
}

.contact-block strong {
  display: block;
  margin-bottom: 6px;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.contact-block a,
.contact-block span,
.contact-block address {
  display: block;
  color: var(--ink-soft);
}

.contact-block a:hover {
  color: var(--signal);
}

.map-frame {
  min-height: 440px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(1) contrast(0.92);
}

.article-header {
  padding: 80px 0 44px;
  border-bottom: 1px solid var(--ink);
}

.article-header h1 {
  max-width: 1000px;
  margin: 16px 0 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 10px;
  text-transform: uppercase;
}

.article-cover {
  margin: 0;
}

.article-cover img {
  height: 540px;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: center;
  gap: 80px;
}

.article-toc {
  align-self: start;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.article-toc strong {
  display: block;
  margin-bottom: 13px;
  color: var(--signal);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.article-toc a {
  color: var(--ink-soft);
  font-size: 14px;
}

.article-toc a:hover {
  color: var(--signal);
}

.article-body {
  min-width: 0;
}

.article-body > p:first-child {
  font-family: "Newsreader", Georgia, serif;
  font-size: 27px;
  line-height: 1.42;
}

.article-body h2 {
  margin: 64px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
  font-size: 40px;
}

.article-body h2:first-of-type {
  margin-top: 42px;
}

.article-checklist {
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--rule);
}

.article-checklist li::before {
  position: absolute;
  top: 20px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--signal);
  content: "";
}

.article-note {
  margin: 36px 0;
  padding: 26px;
  border-left: 3px solid var(--signal);
  background: var(--paper-raised);
}

.article-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.article-note p {
  margin-bottom: 0;
}

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

.footer-topline {
  border-bottom: 1px solid var(--rule-dark);
}

.footer-topline-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255, 253, 248, 0.72);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.footer-topline-inner span {
  color: var(--signal-soft);
}

.footer-grid {
  display: grid;
  padding: 72px 0 62px;
  grid-template-columns: 1.55fr 0.7fr 1fr 1.15fr;
  gap: 58px;
}

.footer-brand .brand {
  min-width: 0;
  justify-items: start;
  color: var(--white);
  text-align: left;
}

.footer-brand p {
  max-width: 370px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 15px;
}

.footer-col h2 {
  margin-bottom: 22px;
  color: var(--signal-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.footer-col li,
.footer-col address {
  color: rgba(255, 253, 248, 0.7);
  font-size: 14px;
}

.footer-contact-list {
  margin-top: 16px !important;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule-dark);
  color: rgba(255, 253, 248, 0.55);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.mobile-action-bar {
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .container,
  .narrow {
    width: min(calc(100% - 64px), var(--content));
  }

  .nav-group {
    gap: 20px;
  }

  .masthead {
    gap: 18px;
  }

  .brand {
    min-width: 216px;
  }

  .brand-name {
    font-size: 27px;
  }

  .site-nav a:not(.button) {
    font-size: 12px;
  }

  .section-heading,
  .page-hero-grid {
    gap: 50px;
  }

  .editorial-split,
  .mission-grid,
  .contact-grid {
    gap: 56px;
  }

  .service-row {
    grid-template-columns: 52px minmax(170px, 0.6fr) minmax(240px, 1fr);
  }

  .footer-grid {
    gap: 34px;
  }
}

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

  h1,
  .home-hero h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 46px;
  }

  .utility-bar {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .masthead {
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .masthead > .brand {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }

  .mobile-brand {
    display: inline-grid;
  }

  .desktop-brand {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 79px 0 0;
    display: grid;
    padding: 32px;
    background: var(--paper);
    align-content: start;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-group {
    display: contents;
  }

  .site-nav a:not(.button),
  .site-nav .button {
    width: 100%;
    min-height: 62px;
    justify-content: flex-start;
    padding: 16px 0;
    border-width: 0 0 1px;
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
    font-family: "Newsreader", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
  }

  .site-nav .button::after {
    display: none;
  }

  .home-hero {
    padding-top: 54px;
  }

  .hero-figure img {
    height: 360px;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading,
  .page-hero-grid,
  .editorial-split,
  .mission-grid,
  .scope-intro,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-heading > p,
  .page-hero-aside {
    max-width: 700px;
  }

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

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

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

  .service-row {
    grid-template-columns: 52px minmax(170px, 0.55fr) minmax(240px, 1fr);
  }

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

  .process-step {
    min-height: 210px;
    border-bottom: 1px solid var(--rule-dark);
  }

  .process-step:nth-child(2n) {
    border-right: 0;
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-stack {
    grid-template-columns: 1fr 1fr;
  }

  .project-feature {
    min-height: 480px;
  }

  .project-stack .project-feature {
    min-height: 310px;
  }

  .certification-band {
    grid-template-columns: 140px 1fr;
  }

  .certification-band .button {
    grid-column: 2;
    justify-self: start;
  }

  .article-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 64px;
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 36px), var(--content));
  }

  h1,
  .home-hero h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 27px;
  }

  .brand-name {
    font-size: 24px;
  }

  .home-hero {
    padding-top: 44px;
  }

  .home-hero-copy {
    margin-bottom: 28px;
    text-align: left;
  }

  .home-hero h1 {
    margin-top: 13px;
  }

  .hero-lede {
    margin-left: 0;
    font-size: 17px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-figure img {
    height: 265px;
  }

  .figure-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .marquee-shell {
    gap: 12px;
  }

  .marquee-label {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 52px 0;
  }

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

  .lead {
    font-size: 23px;
  }

  .stats-grid,
  .values-grid,
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .value-item,
  .leader {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .stat:last-child,
  .value-item:last-child,
  .leader:last-child {
    border-bottom: 0;
  }

  .stat:nth-child(2) {
    border-bottom: 1px solid var(--ink);
  }

  .stat-number {
    font-size: 54px;
  }

  .service-row {
    min-height: 0;
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .service-detail {
    grid-column: 2;
  }

  .service-row:hover {
    padding-right: 0;
    padding-left: 0;
  }

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

  .process-step,
  .process-step:nth-child(2n) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule-dark);
  }

  .process-step strong {
    margin-bottom: 28px;
  }

  .project-feature,
  .project-stack .project-feature {
    min-height: 360px;
  }

  .project-feature-copy {
    right: 22px;
    bottom: 21px;
    left: 22px;
  }

  .project-feature-copy h3,
  .project-stack .project-feature-copy h3 {
    font-size: 30px;
  }

  .page-hero {
    padding: 58px 0 42px;
  }

  .wide-figure img,
  .article-cover img {
    height: 330px;
  }

  .value-item .service-number {
    margin-bottom: 28px;
  }

  .leader-monogram {
    font-size: 58px;
  }

  .certification-band {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .certification-mark {
    width: 104px;
    height: 104px;
    font-size: 44px;
  }

  .certification-band .button {
    grid-column: auto;
  }

  .filter-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-row {
    min-height: 104px;
    grid-template-columns: 34px 1fr 24px;
    gap: 12px;
  }

  .project-name {
    font-size: 23px;
  }

  .project-category {
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 14px;
  }

  .project-row svg {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .quote-banner-inner {
    min-height: 0;
    padding: 62px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quote-banner h2 {
    font-size: 40px;
  }

  .form-panel {
    padding: 26px 20px;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-option label {
    min-height: 54px;
  }

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

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

  .map-frame,
  .map-frame iframe {
    height: 340px;
    min-height: 340px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-header {
    padding: 58px 0 36px;
  }

  .article-body > p:first-child {
    font-size: 24px;
  }

  .article-body h2 {
    font-size: 35px;
  }

  .footer-topline-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-grid {
    padding: 58px 0 48px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: grid;
    height: 64px;
    color: var(--white);
    background: var(--ink);
    grid-template-columns: 1fr 1.2fr;
  }

  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-right: 1px solid var(--rule-dark);
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-action-bar a:last-child {
    border: 0;
    background: var(--signal);
  }

  .mobile-action-bar svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 390px) {
  h1,
  .home-hero h1 {
    font-size: 42px;
  }

  h2,
  .quote-banner h2 {
    font-size: 36px;
  }

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

  .button {
    width: 100%;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}
