:root {
  --ink: #0a0a0a;
  --paper: #f1ede0;
  --bg: #ffffff;
  --red: #e2231a;
  --muted: #5a5a5a;
  --muted-2: #9a9a9a;
  --surface: #0a0a0a;
  --on-surface: #ffffff;
  --grid: rgba(10, 10, 10, .08);
  --grid-2: rgba(10, 10, 10, .16);
  --logo-block-bg: var(--bg);
  --logo-block-fg: var(--ink);
  --f-display: "Oswald", "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --f-text: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --pad-x: 72px;
  --rule: 1.5px;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #ece5d2;
  --paper: #18150f;
  --bg: #0e0c0a;
  --red: #ff362c;
  --muted: #a39e8c;
  --muted-2: #6b665a;
  --surface: #040302;
  --on-surface: #f5efde;
  --grid: rgba(236, 229, 210, .06);
  --grid-2: rgba(236, 229, 210, .12);
  --logo-block-bg: var(--bg);
  --logo-block-fg: var(--ink);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--surface);
  color: var(--on-surface);
  padding: 10px 14px;
  text-decoration: none;
  border: var(--rule) solid var(--red);
  transition: transform .15s ease;
}

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

.stamp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px var(--pad-x);
  background: var(--surface);
  color: var(--on-surface);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stamp-row .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  margin-right: 8px;
  vertical-align: middle;
}

.stamp-row span.scroll {
  overflow: hidden;
  white-space: nowrap;
  max-width: 58%;
}

.stamp-row .marquee {
  display: inline-block;
  padding-right: 60px;
  animation: scroll 28s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

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

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: var(--rule) solid var(--ink);
}

.top__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 14px var(--pad-x);
}

.logo {
  display: block;
  width: 116px;
  height: 31px;
  text-decoration: none;
  color: var(--logo-block-fg);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  flex: 0 0 auto;
}

.logo__block {
  position: absolute;
  inset: 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--logo-block-bg);
  color: var(--logo-block-fg);
}

.logo__block span {
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.logo__slash {
  color: var(--red);
  transform: skewX(-9deg);
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--red);
}

.nav {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.nav a:hover {
  color: var(--red);
}

.nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav a:hover::before {
  transform: scaleX(1);
}

.top__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: var(--rule) solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.theme-toggle:hover {
  color: var(--red);
  border-color: var(--red);
}

.theme-toggle__icon--sun,
[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

.top__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--on-surface);
  text-decoration: none;
  padding: 10px 18px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  border: var(--rule) solid var(--surface);
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}

.top__cta:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.service-hero {
  padding: 40px var(--pad-x) 64px;
  border-bottom: var(--rule) solid var(--ink);
  background:
    linear-gradient(to right, var(--grid) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%,
    var(--bg);
}

.service-hero__meta,
.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: var(--rule) solid currentColor;
}

.service-hero__meta {
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-hero__meta b {
  color: var(--ink);
}

.back-link {
  justify-self: end;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

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

.service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 56px;
  align-items: stretch;
}

.service-hero__grid > *,
.intro-grid > *,
.split-grid > *,
.cta-band > * {
  min-width: 0;
}

.service-hero__eyebrow,
.section-kicker,
.mini-label,
.service-hero__tags,
.related__id {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.service-hero h1 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 92px;
  line-height: .92;
  letter-spacing: 0;
  margin: 10px 0 24px;
  max-width: 12ch;
  overflow-wrap: anywhere;
}

.service-hero__lead {
  font-size: 22px;
  line-height: 1.42;
  max-width: 62ch;
  margin: 0;
}

.service-hero__fact {
  border: var(--rule) solid var(--ink);
  background: var(--surface);
  color: var(--on-surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.service-hero__fact span {
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
}

.service-hero__fact b {
  display: block;
  font-family: var(--f-display);
  font-size: 44px;
  line-height: 1;
  text-transform: uppercase;
  margin: 18px 0;
  overflow-wrap: anywhere;
}

.service-hero__fact p {
  margin: 0;
  color: #ffffffcc;
}

.service-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 42px;
  border-top: var(--rule) solid var(--ink);
  border-left: var(--rule) solid var(--ink);
}

.service-hero__tags span {
  padding: 10px 16px;
  border-right: var(--rule) solid var(--ink);
  border-bottom: var(--rule) solid var(--ink);
}

.content-section {
  padding: 70px var(--pad-x);
  border-bottom: var(--rule) solid var(--ink);
}

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

.content-section--ink {
  background: var(--surface);
  color: var(--on-surface);
}

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

.section-num {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--muted);
}

.content-section--ink .section-num,
.content-section--ink .section-kicker {
  color: var(--muted-2);
}

.section-title {
  font-family: var(--f-display);
  font-size: 54px;
  line-height: .96;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0;
}

.section-kicker {
  text-align: right;
}

.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.intro-copy {
  font-size: 20px;
  line-height: 1.45;
  margin: 0;
  max-width: 64ch;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p {
  margin: 0;
}

.side-note {
  border-left: 6px solid var(--red);
  padding: 14px 0 14px 22px;
  color: var(--muted);
}

.content-section--ink .side-note {
  color: #ffffffcc;
}

.check-list,
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.check-list li,
.plain-list li {
  border-top: var(--rule) solid currentColor;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
}

.check-list li:last-child,
.plain-list li:last-child {
  border-bottom: var(--rule) solid currentColor;
}

.check-list b,
.plain-list b {
  color: var(--red);
  font-weight: 700;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule) solid var(--ink);
  border-left: var(--rule) solid var(--ink);
}

.poster-card {
  min-height: 240px;
  padding: 24px;
  border-right: var(--rule) solid var(--ink);
  border-bottom: var(--rule) solid var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.poster-card:nth-child(2n) {
  background: var(--paper);
}

.poster-card__num {
  font-family: var(--f-display);
  font-size: 46px;
  line-height: 1;
}

.poster-card h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
}

.poster-card p {
  margin: 0;
  color: var(--muted);
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--rule) solid currentColor;
  border-left: var(--rule) solid currentColor;
}

.deliverable {
  padding: 22px;
  min-height: 190px;
  border-right: var(--rule) solid currentColor;
  border-bottom: var(--rule) solid currentColor;
}

.deliverable h3 {
  margin: 12px 0 10px;
  font-family: var(--f-display);
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
}

.deliverable p {
  margin: 0;
  color: #ffffffcc;
}

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

.process-step {
  position: relative;
  padding: 22px 18px;
  min-height: 210px;
  border-right: var(--rule) solid var(--ink);
}

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

.process-step::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: -10px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  z-index: 2;
}

.process-step:last-child::after {
  display: none;
}

.process-step b {
  display: block;
  font-family: var(--f-display);
  font-size: 42px;
  line-height: 1;
  margin-bottom: 18px;
}

.process-step h3 {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--red);
  color: #fff;
  padding: 46px var(--pad-x);
  border-bottom: var(--rule) solid var(--ink);
}

.cta-band h2 {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: 52px;
  line-height: .96;
  text-transform: uppercase;
}

.cta-band p {
  margin: 0;
  max-width: 66ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 16px 24px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
  border: var(--rule) solid var(--surface);
  background: var(--surface);
  color: var(--on-surface);
  white-space: nowrap;
}

.btn:hover {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule) solid var(--ink);
  border-left: var(--rule) solid var(--ink);
}

.related a {
  min-height: 160px;
  padding: 22px;
  border-right: var(--rule) solid var(--ink);
  border-bottom: var(--rule) solid var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
}

.related a:hover {
  background: var(--surface);
  color: var(--on-surface);
}

.related h3 {
  margin: 10px 0 0;
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.related__arr {
  align-self: flex-end;
  font-size: 28px;
}

footer {
  background: var(--surface);
  color: var(--on-surface);
  padding: 46px var(--pad-x) 24px;
}

.foot__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
}

.foot__brand h3 {
  font-family: var(--f-display);
  font-size: 34px;
  line-height: .98;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.foot__brand p {
  margin: 0;
  color: #ffffffb8;
}

.foot__col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.foot__col h4 {
  margin: 0 0 6px;
  color: var(--red);
  text-transform: uppercase;
}

.foot__col a {
  color: #ffffffd8;
  text-decoration: none;
}

.foot__col a:hover {
  color: var(--red);
}

.foot__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #ffffff24;
  color: #ffffff99;
  font-size: 12px;
}

.foot__bottom a {
  color: inherit;
}

@media (max-width: 1180px) {
  :root {
    --pad-x: 40px;
  }

  .service-hero h1 {
    font-size: 74px;
  }

  .poster-grid,
  .related {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-step:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .top__inner {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .service-hero__grid,
  .intro-grid,
  .split-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .service-hero__fact {
    min-height: 260px;
  }

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

@media (max-width: 640px) {
  :root {
    --pad-x: 20px;
  }

  .stamp-row span.scroll,
  .top__cta,
  .service-hero__meta > span:nth-child(2),
  .section-kicker {
    display: none;
  }

  .service-hero,
  .content-section {
    padding-top: 44px;
    padding-bottom: 46px;
  }

  .service-hero__meta,
  .section-head {
    grid-template-columns: 1fr auto;
  }

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

  .section-title {
    font-size: 38px;
  }

  .service-hero__lead,
  .intro-copy {
    font-size: 18px;
  }

  .service-hero__fact b {
    font-size: 32px;
  }

  .poster-grid,
  .deliverables,
  .process-strip,
  .related,
  .foot__top {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none;
  }

  .cta-band h2 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
