/* Core visual system */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --paper: #f5f1dc;
  --ink: #050604;
  --muted: #8d917d;
  --line: rgb(239 228 92 / 16%);
  --yellow: #efe45c;
  --cyan: #38c9d4;
  --red: #e83a42;
  --display: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  --mono: "Cascadia Code", Consolas, ui-monospace, monospace;
  --page-progress: 0;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #020302;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: #020302;
  font-family: var(--display);
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}
p,
h1,
h2,
h3,
blockquote {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #050604;
  background: var(--yellow);
  font: 700 12px/1 var(--mono);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

#c {
  position: absolute;
  z-index: 0;
  inset: 0 auto auto 0;
  display: block;
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
}

.hud-grade,
.hud-scan,
.hud-noise,
.hud-frame {
  position: fixed;
  z-index: 7;
  inset: 0;
  pointer-events: none;
}

.hud-grade {
  background:
    radial-gradient(120% 90% at 50% 8%, rgb(239 228 92 / 6%), transparent 42%),
    radial-gradient(90% 70% at 84% 64%, rgb(56 201 212 / 5%), transparent 58%),
    radial-gradient(
      150% 120% at 50% 50%,
      transparent 54%,
      rgb(1 1 1 / 58%) 100%
    );
}

.hud-scan {
  z-index: 8;
  opacity: 0.11;
  background: repeating-linear-gradient(
    to bottom,
    rgb(255 255 255 / 5%) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: soft-light;
}

.hud-noise {
  z-index: 8;
  inset: -20%;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 80% 70%, #fff 0 1px, transparent 1.6px);
  background-size:
    41px 47px,
    59px 53px;
  animation: grain 18s steps(8) infinite;
  mix-blend-mode: screen;
}

@keyframes grain {
  to {
    transform: translate3d(-6%, 4%, 0);
  }
}

.hud-frame {
  z-index: 9;
  inset: 14px;
  opacity: 0.7;
}
.hud-frame i {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid rgb(239 228 92 / 25%);
}
.hud-frame i:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}
.hud-frame i:nth-child(2) {
  top: 0;
  right: 0;
  border-bottom: 0;
  border-left: 0;
}
.hud-frame i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-top: 0;
  border-right: 0;
}
.hud-frame i:nth-child(4) {
  right: 0;
  bottom: 0;
  border-top: 0;
  border-left: 0;
}

main {
  position: relative;
  z-index: 1;
}

.clock-stage {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  border-bottom: 1px solid rgb(239 228 92 / 20%);
  pointer-events: none;
}

.clock-stage::before {
  content: "";
  position: absolute;
  inset: max(46px, calc(var(--safe-top) + 38px))
    max(22px, calc(var(--safe-right) + 20px)) 52px;
  border: 1px solid rgb(239 228 92 / 8%);
  clip-path: polygon(
    0 0,
    22% 0,
    22% 1px,
    78% 1px,
    78% 0,
    100% 0,
    100% 100%,
    78% 100%,
    78% calc(100% - 1px),
    22% calc(100% - 1px),
    22% 100%,
    0 100%
  );
}

.clock-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  left: 22px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(56 201 212 / 16%),
    transparent
  );
  box-shadow:
    0 -18vh rgb(239 228 92 / 4%),
    0 18vh rgb(232 58 66 / 4%);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  margin: 0;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.2em;
}

.scroll-cue {
  bottom: max(18px, calc(var(--safe-bottom) + 12px));
  left: 50%;
  color: rgb(239 228 92 / 66%);
  transform: translateX(-50%);
  animation: cue 2.4s ease-in-out infinite;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 10px auto 0;
  background: linear-gradient(rgb(239 228 92 / 72%), transparent);
}

@keyframes cue {
  50% {
    opacity: 0.62;
    transform: translate(-50%, 6px);
  }
}

.site-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      transparent 49.92%,
      rgb(239 228 92 / 4%) 50%,
      transparent 50.08%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 47px,
      rgb(56 201 212 / 2%) 48px
    ),
    linear-gradient(180deg, #050604, #070905 54%, #040503);
}

.shell-inner {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: clamp(18px, 4.5vw, 72px);
}

.page-progress {
  position: absolute;
  z-index: 20;
  top: 0;
  right: max(10px, calc(var(--safe-right) + 8px));
  width: 2px;
  height: 100%;
  background: rgb(239 228 92 / 8%);
  pointer-events: none;
}
.page-progress i {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  background: linear-gradient(var(--yellow), var(--cyan), var(--red));
  transform: scaleY(var(--page-progress));
  transform-origin: top;
}

.eyebrow,
.section-head > span,
.section-head > p,
.number,
.contact-link,
.footer-line,
.review-head span,
.review-card footer {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  align-content: space-between;
  min-height: 100svh;
  padding-block: clamp(74px, 10vw, 150px) clamp(70px, 9vw, 128px);
  gap: 70px 40px;
  border-bottom: 1px solid var(--line);
}

.intro::after {
  content: "907";
  position: absolute;
  z-index: -1;
  top: 0.04em;
  right: -0.08em;
  color: rgb(239 228 92 / 2.5%);
  font-size: clamp(150px, 31vw, 460px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.095em;
  pointer-events: none;
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--yellow);
  font-size: 12px;
}
.eyebrow::before {
  content: "◆ ";
  color: var(--red);
  font-size: 0.72em;
}
.intro h1 {
  grid-column: 1 / -1;
  max-width: 13ch;
  margin: 0;
  font-size: clamp(52px, 8.8vw, 136px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
.intro h1 span,
.intro h1 strong {
  display: block;
}
.intro h1 span {
  color: var(--muted);
}
.intro-copy {
  max-width: 48ch;
  margin: 0;
  color: rgb(245 241 220 / 62%);
  font: 400 clamp(14px, 1.4vw, 19px) / 1.6 var(--mono);
}

.intro-facts {
  grid-column: 2;
  align-self: end;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.intro-facts li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.intro-facts span {
  color: var(--muted);
}
.intro-facts b {
  color: rgb(56 201 212 / 86%);
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.quote-intake {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 24px 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quote-intake h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 0.96;
  letter-spacing: -0.038em;
  text-transform: uppercase;
}
.quote-intake p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.contact-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto auto;
  min-width: 0;
  min-height: 130px;
  padding: 18px;
  gap: 10px 14px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(130deg, rgb(239 228 92 / 3%), rgb(5 6 4 / 50%));
  font-size: 11px;
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.contact-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: rgb(239 228 92 / 65%);
  box-shadow: 0 0 10px rgb(239 228 92 / 28%);
}
.contact-link:hover,
.contact-link:focus-visible {
  color: #090a05;
  background: var(--yellow);
  outline: none;
  transform: translateY(-2px);
}
.contact-icon,
.contact-arrow {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-icon--filled {
  fill: currentColor;
  stroke: none;
}
.contact-arrow {
  justify-self: end;
  width: 18px;
  height: 18px;
}
.contact-link strong,
.contact-link small {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-link small {
  color: var(--muted);
  font: 400 12px/1.35 var(--display);
  letter-spacing: 0;
  text-transform: none;
}
.contact-link:hover small,
.contact-link:focus-visible small {
  color: #353414;
}

.section {
  padding-block: clamp(74px, 10vw, 150px);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: end;
  margin-bottom: clamp(44px, 7vw, 96px);
  gap: 24px;
}
.section-head > span {
  color: var(--yellow);
  font-size: 11px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.section-head > p {
  margin: 0;
  color: rgb(56 201 212 / 58%);
  font-size: 10px;
  text-align: right;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgb(239 228 92 / 2%), rgb(5 6 4 / 34%));
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 1px;
  background: rgb(56 201 212 / 62%);
}
.number {
  color: var(--red);
  font-size: 11px;
}
.process-step h3,
.scope-card h3,
.project-row h3 {
  margin: auto 0 20px;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.process-step p,
.scope-card p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.scope-section {
  overflow: hidden;
}
.scope-ticker {
  overflow-x: auto;
  overflow-y: hidden;
  border-block: 1px solid var(--line);
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}
.scope-ticker::-webkit-scrollbar {
  display: none;
}
.scope-track {
  display: flex;
  width: max-content;
  gap: 1px;
  background: var(--line);
}
.scope-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 0 0 clamp(290px, 42vw, 560px);
  flex-direction: column;
  min-height: 300px;
  padding: clamp(24px, 3.2vw, 44px);
  background: linear-gradient(
    135deg,
    rgb(239 228 92 / 5%),
    rgb(5 6 4 / 96%) 56%,
    rgb(56 201 212 / 3%)
  );
}
.scope-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--yellow);
  box-shadow: 0 0 14px rgb(239 228 92 / 28%);
}
.scope-card h3 {
  max-width: 10ch;
  font-size: clamp(34px, 4vw, 56px);
}
.scope-card p {
  max-width: 46ch;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: clamp(14px, 1.2vw, 16px);
}
.scope-card b {
  color: var(--cyan);
  font: 600 11px/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projects {
  position: relative;
}
.projects::before {
  content: "PROOF / WORK";
  position: absolute;
  z-index: -1;
  top: 0.2em;
  right: -0.05em;
  color: rgb(56 201 212 / 2%);
  font-size: clamp(72px, 15vw, 210px);
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.project-list {
  border-top: 1px solid var(--line);
}
.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(140px, 0.56fr) minmax(280px, 1fr) 30px;
  align-items: center;
  min-height: 128px;
  padding: 24px 0;
  gap: 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.project-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--yellow);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
}
.project-row:hover::before,
.project-row:focus-visible::before {
  transform: none;
}
.project-row:hover,
.project-row:focus-visible {
  color: #090a05;
  outline: none;
}
.project-row h3 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(21px, 3vw, 38px);
  overflow-wrap: anywhere;
}
.project-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.project-row:hover p,
.project-row:focus-visible p {
  color: #353414;
}
.project-row > :last-child {
  font-size: 27px;
  text-align: right;
}

.review-block {
  margin-top: clamp(64px, 9vw, 128px);
}
.review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  align-items: end;
  margin-bottom: 28px;
  gap: 24px;
}
.review-head span {
  color: var(--yellow);
  font-size: 11px;
}
.review-head h3 {
  max-width: 13ch;
  margin: 12px 0 0;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.review-head > p {
  margin: 0;
  color: var(--muted);
  font: 400 14px/1.6 var(--mono);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.review-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  gap: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    135deg,
    rgb(56 201 212 / 2%),
    rgb(239 228 92 / 3%)
  );
}
.review-card:first-child {
  grid-column: span 7;
}
.review-card:nth-child(2) {
  grid-column: span 5;
}
.review-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgb(239 228 92 / 40%);
  border-right: 1px solid rgb(239 228 92 / 40%);
}
.review-card blockquote {
  margin: auto 0 0;
  color: rgb(245 241 220 / 72%);
  font: 400 clamp(16px, 1.5vw, 19px) / 1.6 var(--mono);
}
.review-card footer {
  color: var(--cyan);
  font-size: 10px;
  line-height: 1.4;
}
.review-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 400 14px/1.6 var(--mono);
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-block: 22px 28px;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}
#scroll-index {
  color: var(--cyan);
}

@media (max-width: 820px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .intro h1 {
    grid-column: 1;
  }
  .intro-facts {
    grid-column: 1;
  }
  .quote-intake {
    grid-template-columns: 1fr;
  }
  .section-head {
    grid-template-columns: 1fr auto;
  }
  .section-head h2 {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  .section-head > p {
    grid-row: 1;
    grid-column: 2;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-step {
    min-height: 230px;
  }
  .scope-card {
    flex-basis: min(78vw, 500px);
  }
  .project-row {
    grid-template-columns: 48px minmax(0, 0.74fr) minmax(0, 1fr) 28px;
  }
  .project-row p {
    grid-column: 3 / 5;
  }
  .review-head {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-card,
  .review-card:first-child,
  .review-card:nth-child(2) {
    grid-column: span 1;
  }
  .review-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hud-frame {
    inset: 10px;
  }
  .hud-frame i {
    width: 18px;
    height: 18px;
  }
  .shell-inner {
    padding-inline: 16px;
  }
  .intro {
    min-height: auto;
    padding-block: 88px 82px;
    gap: 38px;
  }
  .intro h1 {
    font-size: clamp(48px, 14vw, 72px);
  }
  .intro::after {
    top: 14%;
    right: -0.12em;
    font-size: 72vw;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-link {
    min-height: 100px;
    padding: 15px;
  }
  .section {
    padding-block: 82px;
  }
  .section-head {
    margin-bottom: 44px;
  }
  .section-head > p {
    display: none;
  }
  .section-head h2 {
    font-size: clamp(38px, 12vw, 64px);
  }
  .scope-card {
    flex-basis: 86vw;
    min-height: 280px;
    padding: 24px;
  }
  .scope-card h3 {
    font-size: clamp(32px, 10vw, 46px);
  }
  .project-row {
    grid-template-columns: 34px 1fr 24px;
    gap: 14px;
  }
  .project-row p {
    grid-column: 2 / 4;
  }
  .project-row h3 {
    max-width: none;
    font-size: 26px;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .review-card,
  .review-card:first-child,
  .review-card:nth-child(2),
  .review-card:last-child:nth-child(odd) {
    grid-column: 1;
    min-height: 220px;
  }
  .page-progress {
    right: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hud-noise,
  .scroll-cue {
    animation: none;
  }
  .project-row::before,
  .contact-link {
    transition: none;
  }
}

/* Desktop editorial layout */
@media (min-width: 1000px) {
  .section {
    padding-block: clamp(88px, 8vw, 118px);
  }

  .section-head h2 {
    font-size: clamp(48px, 5vw, 76px);
  }

  .intro {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    min-height: 900px;
    column-gap: clamp(18px, 2vw, 32px);
    row-gap: 46px;
    padding-block: clamp(88px, 8vw, 120px) 78px;
  }

  .eyebrow {
    grid-column: 1 / 8;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .intro h1 {
    grid-column: 1 / 9;
    grid-row: 2;
    max-width: 11ch;
    font-size: clamp(70px, 7vw, 110px);
  }

  .intro-facts {
    grid-column: 10 / -1;
    grid-row: 2;
    align-self: end;
  }

  .quote-intake {
    grid-column: 1 / -1;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(18px, 2vw, 32px);
    padding-top: 28px;
  }

  .quote-intake > div:first-child {
    grid-column: 1 / 4;
  }

  .quote-intake h2 {
    max-width: 8ch;
    font-size: clamp(34px, 3.2vw, 50px);
  }

  .contact-grid {
    grid-column: 4 / -1;
  }

  .process {
    display: block;
  }

  .process .section-head {
    position: static;
    display: grid;
    grid-template-columns: 3fr 9fr;
    margin-bottom: clamp(44px, 6vw, 76px);
  }

  .process-grid {
    grid-template-columns: 5fr 4fr 3fr;
    border-left: 0;
  }

  .process-step,
  .process-step:first-child,
  .process-step:not(:first-child) {
    min-height: 350px;
    padding: clamp(26px, 3vw, 40px);
    background: transparent;
  }

  .process-step:first-child h3 {
    max-width: 10ch;
    font-size: clamp(34px, 3.5vw, 50px);
  }

  .scope-section .section-head {
    grid-template-columns: 3fr 9fr;
  }

  .scope-section .section-head h2 {
    max-width: 9ch;
  }

  .projects {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(18px, 2vw, 32px);
  }

  .projects > .section-head {
    grid-column: 1 / -1;
    grid-template-columns: 3fr 9fr;
  }

  .project-list {
    grid-column: 1 / 8;
  }

  .project-row {
    grid-template-columns: 48px minmax(130px, 0.8fr) minmax(180px, 1fr) 30px;
    min-height: 128px;
  }

  .review-block {
    grid-column: 9 / -1;
    margin-top: 0;
  }

  .review-head {
    display: block;
    min-height: 128px;
    margin: 0;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .review-head h3 {
    margin-top: 18px;
    font-size: clamp(38px, 3.5vw, 54px);
  }

  .review-head > p {
    margin-top: 24px;
  }

  .review-grid {
    display: block;
    min-height: 256px;
  }

  .review-card {
    min-height: 260px;
  }

  .review-empty {
    min-height: 256px;
  }
}

@media (max-width: 999px) {
  .section {
    padding-block: clamp(68px, 14vw, 96px);
  }

  .intro {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: auto;
    column-gap: 14px;
    row-gap: 38px;
    padding-block: 82px 68px;
  }

  .eyebrow,
  .intro h1,
  .quote-intake {
    grid-column: 1 / -1;
  }

  .intro h1 {
    max-width: 10ch;
    font-size: clamp(50px, 13vw, 82px);
  }

  .intro-facts {
    grid-column: 2 / -1;
    width: 100%;
  }

  .quote-intake {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .quote-intake > div:first-child,
  .contact-grid {
    grid-column: 1 / -1;
  }

  .quote-intake h2 {
    max-width: 8ch;
  }

  .process .section-head,
  .scope-section .section-head,
  .projects > .section-head {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
  }

  .process .section-head h2,
  .scope-section .section-head h2,
  .projects > .section-head h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 10ch;
  }

  .process-grid {
    border-left: 0;
  }

  .process-step {
    min-height: 220px;
    padding: 26px 0;
    border-right: 0;
    background: transparent;
  }

  .process-step h3 {
    max-width: 10ch;
  }

  .project-row {
    min-height: 118px;
  }

  .review-block {
    padding-top: 64px;
    border-top: 1px solid var(--line);
  }

  .review-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .intro-facts {
    grid-column: 1 / -1;
  }

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

  .contact-link {
    min-height: 96px;
  }
}
