:root {
  --paper: #f7f4ec;
  --paper-deep: #ede5d6;
  --ink: #171713;
  --muted: #656056;
  --line: #d7cdbb;
  --bench-blue: #0f6e99;
  --solder-green: #1d6f5f;
  --copper: #b96532;
  --graphite: #252721;
  --white: #fffdf7;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 23, 19, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(23, 23, 19, 0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(247, 244, 236, 0.86);
  border-bottom: 1px solid rgba(23, 23, 19, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

main {
  overflow: clip;
}

.section-grid,
.prototypes,
.feature-band,
.statement,
.closing {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.hero {
  min-height: calc(100svh - 64px);
  padding: 54px 0 42px;
}

.eyebrow,
.case-label {
  margin: 0 0 14px;
  color: var(--solder-green);
  font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 0.98;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.1;
}

.lead {
  max-width: 620px;
  color: #34332d;
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.button,
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

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

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

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.hero-media {
  margin: 0;
  align-self: stretch;
}

.hero-media img,
.case-media img,
video {
  border: 1px solid rgba(23, 23, 19, 0.16);
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: 0 24px 60px rgba(23, 23, 19, 0.16);
}

.hero-media img {
  height: min(68svh, 680px);
  object-fit: cover;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.statement {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  padding: clamp(42px, 8vw, 92px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement p:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.08;
}

.statement-support {
  align-self: end;
}

.statement-support p {
  color: var(--muted);
  font-size: 20px;
}

audio {
  display: block;
  width: 100%;
  margin-top: 14px;
  accent-color: var(--solder-green);
}

.instrument {
  padding: clamp(62px, 10vw, 132px) 0;
}

.instrument p,
.about-copy p,
.case-copy p,
.closing p {
  color: #36342e;
  font-size: 17px;
}

.signal-card {
  padding: clamp(20px, 4vw, 34px);
  color: var(--paper);
  background: var(--graphite);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(23, 23, 19, 0.22);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.signal-row span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  color: var(--paper);
  background: rgba(247, 244, 236, 0.08);
  border: 1px solid rgba(247, 244, 236, 0.2);
  border-radius: 6px;
  font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.modulation-strip {
  display: grid;
  gap: 18px;
  margin: 14px 0 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(247, 244, 236, 0.18);
  border-bottom: 1px solid rgba(247, 244, 236, 0.18);
}

.step-track {
  display: grid;
  gap: 7px;
}

.step-track.sixteen {
  grid-template-columns: repeat(16, 1fr);
}

.step-track.twelve {
  grid-template-columns: repeat(12, 1fr);
  width: 86%;
}

.step-track span {
  height: 18px;
  border-radius: 999px;
  background: var(--bench-blue);
}

.step-track.twelve span {
  background: var(--copper);
}

.step-track span:nth-child(3n) {
  opacity: 0.42;
}

.step-track span:nth-child(5n) {
  opacity: 0.72;
}

.signal-card p {
  margin-bottom: 0;
  color: rgba(247, 244, 236, 0.78);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: clamp(62px, 10vw, 132px);
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-band article {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
}

.feature-band h3 {
  font-size: clamp(25px, 3vw, 36px);
}

.feature-band p {
  color: var(--muted);
}

.prototypes {
  padding: clamp(54px, 8vw, 100px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.case-study {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  margin-bottom: clamp(34px, 7vw, 82px);
}

.case-study.reverse {
  grid-template-columns: 1fr 0.9fr;
}

.case-study.reverse .case-copy {
  order: 2;
}

.case-study.reverse .case-media {
  order: 1;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery img,
.single img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.text-link {
  margin-top: 8px;
  color: var(--solder-green);
  border-color: rgba(29, 111, 95, 0.4);
  background: rgba(29, 111, 95, 0.08);
}

.video-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 30px);
  margin-bottom: clamp(48px, 8vw, 92px);
}

.video-pair figure {
  margin: 0;
}

video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about {
  align-items: start;
  padding: clamp(62px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.about-copy {
  columns: 2 280px;
  column-gap: 34px;
}

.closing {
  margin-bottom: 44px;
  padding: clamp(38px, 7vw, 78px);
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
}

.closing .eyebrow,
.closing p {
  color: rgba(247, 244, 236, 0.78);
}

.closing h2 {
  max-width: 820px;
  color: var(--paper);
}

.closing p {
  max-width: 760px;
}

.closing-mail {
  margin-top: 20px;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

@media (max-width: 880px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .section-grid,
  .case-study,
  .case-study.reverse,
  .statement,
  .video-pair,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .case-study.reverse .case-copy,
  .case-study.reverse .case-media {
    order: initial;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .signal-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .section-grid,
  .prototypes,
  .feature-band,
  .statement,
  .closing {
    width: min(100% - 28px, var(--max));
  }

  nav {
    gap: 10px 14px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 36px;
  }

  .gallery,
  .signal-row {
    grid-template-columns: 1fr;
  }

  .step-track span {
    height: 12px;
  }
}

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

  .button:hover,
  .button:focus-visible,
  .text-link:hover,
  .text-link:focus-visible {
    transform: none;
  }
}
