:root {
  --ink: #101010;
  --ink-soft: #4f4f4f;
  --paper: #ffffff;
  --cloud: #f2f2f0;
  --line: #d8d8d4;
  --dark: #090909;
  --dark-2: #171717;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: min(1280px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

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

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

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

img,
svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #000;
  background: #fff;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 84px;
  color: #fff;
  background: rgba(8, 8, 8, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: height 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(8, 8, 8, 0.96);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  gap: 36px;
  align-items: center;
}

.brand,
.footer-brand {
  width: fit-content;
}

.brand img {
  width: 188px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.5vw, 42px);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.main-nav a {
  position: relative;
  padding: 30px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  min-height: 45px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #fff;
  border: 1px solid #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: #fff;
  background: transparent;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 810px;
  height: 100svh;
  max-height: 980px;
  color: #fff;
  background: #090909;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/hero-office.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  animation: settle 1.8s var(--ease) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.96) 0%, rgba(3, 3, 3, 0.82) 29%, rgba(3, 3, 3, 0.34) 58%, rgba(3, 3, 3, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46) 0%, transparent 40%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  padding-top: 84px;
}

.hero-copy {
  padding-bottom: 2vh;
}

.eyebrow {
  margin: 0 0 22px;
  color: #454545;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.66);
}

.hero h1,
.section h2,
.process h2,
.contact h2 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4.25rem, 7.2vw, 7.2rem);
}

.hero-lead {
  max-width: 630px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  min-height: 55px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

.button svg,
.text-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.button-light {
  color: #111;
  background: #fff;
  border-color: #fff;
}

.button-light:hover,
.button-light:focus-visible {
  color: #fff;
  background: transparent;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.64);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: #111;
  background: #fff;
  border-color: #fff;
}

.hero-proof {
  position: absolute;
  right: 0;
  bottom: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-proof span {
  width: 1px;
  height: 86px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-proof p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 32px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.section {
  padding: 128px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.72fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.section h2,
.process h2,
.contact h2 {
  font-size: clamp(2.7rem, 4.5vw, 5rem);
}

.section-intro {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.service-card {
  min-height: 340px;
  padding: 32px 28px 34px;
  border-right: 1px solid var(--line);
  transition: color 0.35s ease, background 0.35s ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  color: #fff;
  background: #111;
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 72px;
}

.service-number {
  color: #858585;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.service-card svg {
  width: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.45;
}

.service-card h3,
.process-point h3 {
  margin: 0;
  font-size: 1.17rem;
  line-height: 1.3;
}

.service-card p {
  margin: 16px 0 0;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.65;
  transition: color 0.35s ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.projects {
  background: var(--cloud);
}

.project-heading {
  margin-bottom: 42px;
}

.project-list {
  border-top: 1px solid #bebeba;
}

.project-item {
  display: grid;
  grid-template-columns: 80px 1.1fr 1.35fr 120px;
  gap: 32px;
  align-items: center;
  min-height: 154px;
  padding: 30px 16px 30px 0;
  border-bottom: 1px solid #bebeba;
  transition: padding 0.35s var(--ease), color 0.35s ease, background 0.35s ease;
}

.project-item:hover {
  padding-right: 30px;
  padding-left: 22px;
  color: #fff;
  background: #101010;
}

.project-index {
  color: #777;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.project-title p {
  margin: 0 0 8px;
  color: #777;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-title h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
}

.project-scope {
  margin: 0;
  color: #5f5f5f;
  line-height: 1.55;
  transition: color 0.35s ease;
}

.project-item:hover .project-scope,
.project-item:hover .project-title p,
.project-item:hover .project-index {
  color: rgba(255, 255, 255, 0.62);
}

.project-tag {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid #aaa;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-note {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 38px;
  padding: 24px 0;
}

.portfolio-note span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-note p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.portfolio-note a,
.text-link {
  position: relative;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-note a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.portfolio-note a:hover::after {
  transform: scaleX(0.35);
}

.process {
  padding: 118px 0;
  color: #fff;
  background: var(--dark);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 100px;
}

.process h2 {
  max-width: 520px;
}

.process-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #444;
}

.process-point {
  min-height: 260px;
  padding: 28px 24px 12px 0;
  border-right: 1px solid #333;
}

.process-point + .process-point {
  padding-left: 24px;
}

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

.process-point span {
  display: block;
  margin-bottom: 66px;
  color: #777;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.process-point p {
  margin: 14px 0 0;
  color: #919191;
  font-size: 0.9rem;
  line-height: 1.65;
}

.about {
  overflow: hidden;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 120px;
  align-items: center;
  min-height: 510px;
}

.about-copy {
  position: relative;
  z-index: 2;
}

.about-copy p {
  max-width: 650px;
  margin: 0 0 24px;
  color: #555;
}

.about-copy .about-lead {
  color: #151515;
  font-size: 1.35rem;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.text-link svg {
  transition: transform 0.3s var(--ease);
}

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

.about-mark {
  position: absolute;
  right: -84px;
  bottom: -170px;
  color: transparent;
  font-size: clamp(16rem, 31vw, 32rem);
  font-weight: 900;
  letter-spacing: -0.13em;
  line-height: 0.7;
  -webkit-text-stroke: 1px #ececea;
  user-select: none;
}

.contact {
  padding: 120px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 44%),
    #111;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 110px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 30px 0 0;
  color: #999;
  font-size: 1.05rem;
}

.contact-details {
  display: grid;
  gap: 0;
  margin-top: 58px;
  border-top: 1px solid #333;
}

.contact-details a,
.contact-details p {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  margin: 0;
  padding: 19px 0;
  border-bottom: 1px solid #333;
  color: #f5f5f5;
  font-size: 0.92rem;
}

.contact-details span {
  color: #6f6f6f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-form {
  padding: 44px;
  color: #111;
  background: #fff;
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ddd;
}

.form-heading span {
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.form-heading p,
.form-footer p {
  margin: 0;
  color: #777;
  font-size: 0.76rem;
}

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

.quote-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
  color: #454545;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 13px 0;
  color: #111;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
  outline: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.2s ease;
}

.quote-form textarea {
  min-height: 88px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: #111;
}

.quote-form [aria-invalid="true"] {
  border-color: #a40000;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 10px;
}

.form-footer p {
  max-width: 250px;
  line-height: 1.45;
}

.button-dark {
  flex: 0 0 auto;
  color: #fff;
  background: #111;
  border-color: #111;
}

.button-dark:hover,
.button-dark:focus-visible {
  color: #111;
  background: #fff;
}

.form-status {
  margin: 18px 0 0;
  color: #a40000;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-status.is-sending {
  color: #555;
}

.form-status.is-success {
  color: #176b35;
}

.form-status.is-error {
  color: #a40000;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.thank-you-page {
  display: grid;
  min-height: calc(100svh - 84px);
  align-items: center;
  padding: 90px 0;
  color: #fff;
  background: #080808;
}

.thank-you-content {
  max-width: 920px;
}

.thank-you-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.thank-you-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 40px 0 34px;
  color: #aaa;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.site-footer {
  padding: 46px 0;
  color: #9c9c9c;
  background: #080808;
  border-top: 1px solid #242424;
}

.footer-grid {
  display: grid;
  grid-template-columns: 230px 1fr auto auto;
  gap: 38px;
  align-items: center;
}

.footer-brand img {
  width: 170px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid > p {
  margin: 0;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #fff;
  font-size: 0.78rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 24px;
  color: #b5b5b5;
  font-size: 0.76rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid #222;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@keyframes settle {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1.01); }
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 42px, 920px);
  }

  .header-inner {
    grid-template-columns: 210px 1fr auto;
    gap: 24px;
  }

  .main-nav {
    gap: 20px;
  }

  .header-cta {
    display: none;
  }

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

  .hero h1 {
    font-size: clamp(4.6rem, 9.4vw, 6.4rem);
  }

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

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

  .service-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .contact-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 64px;
  }

  .contact-copy .eyebrow,
  .contact-copy h2 {
    grid-column: 1;
  }

  .contact-copy > p:not(.eyebrow),
  .contact-details {
    grid-column: 2;
  }

  .contact-copy > p:not(.eyebrow) {
    grid-row: 1 / span 2;
    margin: 0;
    align-self: end;
  }

  .contact-details {
    grid-row: 3;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 36px);
  }

  html {
    scroll-padding-top: 68px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 68px;
  }

  .site-header.menu-active,
  .site-header.menu-active.is-scrolled {
    height: 100dvh;
    min-height: 100svh;
    background: #0a0a0a;
    backdrop-filter: none;
  }

  .header-inner {
    height: 68px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    position: relative;
    z-index: 2;
  }

  .brand img {
    width: 154px;
    height: 46px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 12px 7px;
    align-content: center;
    gap: 8px;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 28px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    z-index: 1;
    inset: 68px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(42px, 9vh, 84px) 28px max(32px, env(safe-area-inset-bottom));
    gap: 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

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

  .main-nav a {
    display: block;
    flex: 0 0 auto;
    padding: 20px 0;
    border-bottom: 1px solid #272727;
    color: #fff;
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    line-height: 1.15;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: 760px;
    max-height: none;
  }

  .hero-media {
    background-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.93) 0%, rgba(3, 3, 3, 0.67) 75%, rgba(3, 3, 3, 0.45) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  }

  .hero-grid {
    padding-top: 68px;
  }

  .hero-copy {
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 15.4vw, 5rem);
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 32px;
  }

  .button {
    min-height: 52px;
    padding: 0 20px;
  }

  .hero-proof,
  .scroll-cue {
    display: none;
  }

  .section,
  .process,
  .contact {
    padding: 86px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .section h2,
  .process h2,
  .contact h2 {
    font-size: clamp(2.45rem, 11vw, 3.7rem);
  }

  .section-intro {
    font-size: 1rem;
  }

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

  .service-card,
  .service-card:nth-child(2) {
    min-height: auto;
    padding: 28px 4px 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-top {
    margin-bottom: 42px;
  }

  .project-item {
    grid-template-columns: 48px 1fr;
    gap: 16px 20px;
    padding: 26px 0;
  }

  .project-item:hover {
    padding: 26px 16px;
  }

  .project-scope,
  .project-tag {
    grid-column: 2;
  }

  .project-tag {
    justify-self: start;
  }

  .portfolio-note {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
  }

  .portfolio-note a {
    width: fit-content;
  }

  .process-grid {
    gap: 50px;
  }

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

  .process-point,
  .process-point + .process-point {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid #333;
  }

  .process-point span {
    margin-bottom: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-copy .about-lead {
    font-size: 1.16rem;
  }

  .about-mark {
    right: -12px;
    bottom: -100px;
    font-size: 16rem;
  }

  .contact-grid {
    gap: 50px;
  }

  .contact-copy {
    display: block;
  }

  .contact-copy > p:not(.eyebrow) {
    margin-top: 26px;
  }

  .contact-details {
    margin-top: 44px;
  }

  .quote-form {
    padding: 28px 20px;
  }

  .form-heading,
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .copyright {
    text-align: left;
  }
}

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

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

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

/* Expanded company site */
.main-nav a[aria-current="page"] {
  color: #fff;
}

.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-main {
  padding-top: 84px;
}

.proof-strip {
  color: #fff;
  background: #0b0b0b;
  border-top: 1px solid #252525;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  display: grid;
  min-height: 125px;
  padding: 26px 26px 24px;
  align-content: center;
  border-right: 1px solid #282828;
}

.proof-grid > div:first-child {
  border-left: 1px solid #282828;
}

.proof-grid strong {
  font-size: 1.75rem;
  font-weight: 720;
  letter-spacing: -0.04em;
}

.proof-grid span {
  margin-top: 6px;
  color: #8c8c8c;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.52fr) minmax(0, 1.48fr);
  gap: 100px;
}

.intro-grid h2,
.story-content h2,
.dark-cta h2,
.reference-request h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.65rem, 4.6vw, 5.15rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}

.intro-label {
  max-width: 210px;
  margin: 100px 0 0;
  color: #5a5a5a;
  font-size: 0.88rem;
  line-height: 1.65;
}

.large-copy {
  margin: 38px 0 22px;
  color: #181818;
  font-size: clamp(1.16rem, 1.8vw, 1.45rem);
  line-height: 1.6;
}

.intro-grid > div:last-child > p:not(.large-copy) {
  max-width: 800px;
  color: #666;
}

.home-services {
  padding: 126px 0;
  color: #fff;
  background: #0a0a0a;
}

.light-copy {
  color: #929292;
}

.home-service-grid {
  border-top: 1px solid #393939;
}

.home-service-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 134px;
  padding: 26px 22px 26px 0;
  border-bottom: 1px solid #393939;
  transition: color 0.35s ease, background 0.35s ease, padding 0.35s var(--ease);
}

.home-service-card:hover,
.home-service-card:focus-visible {
  padding-left: 26px;
  color: #111;
  background: #fff;
}

.home-service-card > span {
  color: #6d6d6d;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.home-service-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
}

.home-service-card p {
  margin: 8px 0 0;
  color: #8d8d8d;
  font-size: 0.92rem;
}

.home-service-card:hover p,
.home-service-card:focus-visible p {
  color: #555;
}

.home-service-card > svg,
.featured-case > a svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.3s var(--ease);
}

.home-service-card:hover > svg,
.home-service-card:focus-visible > svg {
  transform: translateX(5px);
}

.button-outline-light {
  color: #fff;
  border-color: #686868;
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  color: #111;
  background: #fff;
  border-color: #fff;
}

.service-all-button {
  margin-top: 40px;
}

.featured-work {
  background: #f2f2f0;
}

.featured-case {
  display: grid;
  grid-template-columns: 0.45fr 1.4fr 1fr 66px;
  gap: 38px;
  align-items: center;
  min-height: 315px;
  padding: 48px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.045), transparent 52%),
    #111;
}

.featured-case-index span,
.secondary-case > span,
.method-card > span,
.value-card > span {
  display: block;
  color: #787878;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.featured-case-index p {
  margin: 100px 0 0;
  color: #8c8c8c;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-case-main h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.featured-case-main > p:last-child {
  max-width: 490px;
  margin: 20px 0 0;
  color: #a3a3a3;
}

.featured-case-scope {
  border-top: 1px solid #3c3c3c;
}

.featured-case-scope p {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #3c3c3c;
  color: #a6a6a6;
  font-size: 0.78rem;
}

.featured-case > a {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #5a5a5a;
  transition: color 0.25s ease, background 0.25s ease;
}

.featured-case > a:hover,
.featured-case > a:focus-visible {
  color: #111;
  background: #fff;
}

.secondary-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.secondary-case {
  min-height: 360px;
  padding: 42px 48px;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-top: 0;
}

.secondary-case + .secondary-case {
  border-left: 0;
}

.secondary-case > p:first-of-type {
  margin: 62px 0 8px;
  color: #777;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secondary-case h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  letter-spacing: -0.04em;
}

.secondary-case > p:last-of-type {
  max-width: 500px;
  margin: 16px 0 0;
  color: #666;
}

.secondary-case .text-link {
  margin-top: 38px;
}

.secondary-case.dark-card {
  color: #fff;
  background: #222;
  border-color: #222;
}

.secondary-case.dark-card > p:last-of-type {
  color: #999;
}

.home-process {
  padding: 126px 0;
  color: #fff;
  background: #0a0a0a;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid #3b3b3b;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  min-height: 190px;
  padding: 28px 28px 24px 0;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}

.timeline li:nth-child(3n + 2),
.timeline li:nth-child(3n + 3) {
  padding-left: 28px;
}

.timeline li:nth-child(3n) {
  border-right: 0;
}

.timeline span,
.standard-item > span,
.operating-item > span,
.next-steps > li > span {
  color: #686868;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.timeline h3 {
  margin: 0;
  font-size: 1.05rem;
}

.timeline p {
  margin: 14px 0 0;
  color: #8d8d8d;
  font-size: 0.88rem;
}

.standards-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
}

.standards-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.8vw, 5rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}

.standards-heading > p:not(.eyebrow) {
  max-width: 440px;
  margin: 30px 0 0;
  color: #666;
}

.standards-heading .button {
  margin-top: 38px;
}

.standards-list {
  border-top: 1px solid var(--line);
}

.standard-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  min-height: 130px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.standard-item h3 {
  margin: 0;
  font-size: 1.15rem;
}

.standard-item p {
  margin: 10px 0 0;
  color: #666;
  font-size: 0.91rem;
}

.compact-contact {
  padding: 105px 0;
}

.compact-contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 110px;
  align-items: end;
}

.compact-contact .contact-copy {
  display: block;
}

.compact-contact .contact-copy > p:not(.eyebrow) {
  margin-top: 26px;
}

.compact-contact-actions {
  display: grid;
  gap: 0;
}

.compact-contact-actions .button {
  margin-bottom: 26px;
}

.contact-action {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid #3a3a3a;
}

.contact-action span {
  color: #6e6e6e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-action strong {
  font-size: 0.95rem;
}

/* Inner pages */
.page-hero {
  position: relative;
  padding: 118px 0 96px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(255,255,255,0.08), transparent 34%),
    linear-gradient(120deg, #090909, #181818);
  overflow: hidden;
}

.page-hero::after {
  content: "YB";
  position: absolute;
  right: -38px;
  bottom: -75px;
  color: transparent;
  font-size: clamp(12rem, 26vw, 27rem);
  font-weight: 900;
  letter-spacing: -0.14em;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(255,255,255,0.075);
  user-select: none;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 90px;
  align-items: end;
}

.breadcrumb {
  display: flex;
  gap: 11px;
  margin-bottom: 70px;
  color: #7f7f7f;
  font-size: 0.75rem;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(3.9rem, 7vw, 7.2rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.page-hero-lead {
  max-width: 520px;
  margin: 0 0 4px;
  color: #a0a0a0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-overview,
.reference-intro {
  padding-bottom: 105px;
}

.service-detail-list {
  color: #fff;
  background: #0a0a0a;
}

.service-detail {
  border-top: 1px solid #353535;
}

.service-detail:last-child {
  border-bottom: 1px solid #353535;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 80px 0.9fr 1.1fr;
  gap: 50px;
  min-height: 440px;
  padding-block: 72px;
}

.detail-number {
  color: #696969;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.detail-title > p,
.case-subtitle {
  margin: 0 0 16px;
  color: #777;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.detail-title h2,
.case-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  font-weight: 730;
  letter-spacing: -0.055em;
  line-height: 1;
}

.detail-content {
  padding-left: 40px;
  border-left: 1px solid #333;
}

.detail-lead {
  max-width: 640px;
  margin: 0 0 34px;
  color: #b2b2b2;
  font-size: 1.08rem;
  line-height: 1.7;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #333;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 27px;
  border-bottom: 1px solid #333;
  color: #8e8e8e;
  font-size: 0.9rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 2px;
  width: 8px;
  height: 1px;
  background: #fff;
}

.specialty-section {
  background: #f2f2f0;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #c8c8c4;
  border-bottom: 1px solid #c8c8c4;
}

.specialty-card {
  min-height: 315px;
  padding: 32px 30px;
  border-right: 1px solid #c8c8c4;
}

.specialty-card:last-child {
  border-right: 0;
}

.specialty-card span {
  color: #777;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

.specialty-card h3 {
  margin: 85px 0 0;
  font-size: 1.35rem;
}

.specialty-card p {
  margin: 16px 0 0;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.65;
}

.dark-cta,
.reference-request {
  padding: 82px 0;
  color: #fff;
  background: #111;
}

.dark-cta-grid,
.reference-request-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr auto;
  gap: 60px;
  align-items: center;
}

.dark-cta h2,
.reference-request h2 {
  font-size: clamp(2.2rem, 3.8vw, 4.1rem);
}

.dark-cta-grid > p,
.reference-request-grid > p {
  margin: 0;
  color: #929292;
  font-size: 0.93rem;
}

/* References */
.case-studies {
  color: #fff;
  background: #0a0a0a;
}

.case-study {
  padding: 100px 0;
  border-top: 1px solid #333;
}

.case-study.light-case {
  color: #111;
  background: #f2f2f0;
  border-top: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: 120px 0.9fr 1.1fr;
  gap: 58px;
}

.case-index span {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.case-index p {
  margin: 100px 0 0;
  color: #737373;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.case-heading .eyebrow {
  color: #777;
}

.case-subtitle {
  max-width: 420px;
  margin-top: 28px;
  line-height: 1.7;
}

.case-body {
  padding-left: 44px;
  border-left: 1px solid #333;
}

.light-case .case-body {
  border-color: #c8c8c4;
}

.case-block {
  padding: 0 0 28px;
  border-bottom: 1px solid #333;
}

.light-case .case-block {
  border-color: #c8c8c4;
}

.case-block + .case-block {
  padding-top: 28px;
}

.case-block h3 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-block p {
  margin: 0;
  color: #929292;
  line-height: 1.7;
}

.light-case .case-block p {
  color: #5f5f5f;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.case-tags li {
  padding: 7px 11px;
  border: 1px solid #444;
  color: #8d8d8d;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.light-case .case-tags li {
  border-color: #aaa;
  color: #656565;
}

.reference-method {
  background: #fff;
}

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

.method-card,
.value-card {
  min-height: 270px;
  padding: 30px 25px;
  border-right: 1px solid var(--line);
}

.method-card:last-child,
.value-card:last-child {
  border-right: 0;
}

.method-card h3,
.value-card h3 {
  margin: 78px 0 0;
  font-size: 1.14rem;
}

.method-card p,
.value-card p {
  margin: 14px 0 0;
  color: #666;
  font-size: 0.89rem;
  line-height: 1.65;
}

.reference-request {
  background: #050505;
}

/* About */
.story-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 100px;
}

.story-aside {
  padding-right: 60px;
  border-right: 1px solid var(--line);
}

.story-year {
  display: block;
  margin-top: 92px;
  font-size: clamp(4.8rem, 8vw, 8rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.story-aside > p:last-child {
  max-width: 190px;
  margin-top: 24px;
  color: #777;
  font-size: 0.82rem;
}

.story-content > p:not(.large-copy) {
  max-width: 780px;
  color: #666;
}

.values-section {
  padding: 126px 0;
  color: #fff;
  background: #0a0a0a;
}

.values-grid {
  border-color: #333;
}

.value-card {
  border-color: #333;
}

.value-card p {
  color: #8f8f8f;
}

.operating-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.operating-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 510px;
}

.ring {
  position: absolute;
  border: 1px solid #d5d5d1;
  border-radius: 50%;
}

.ring-one {
  inset: 5%;
}

.ring-two {
  inset: 22%;
}

.ring-center {
  position: absolute;
  inset: 36%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #111;
  border-radius: 50%;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  font-weight: 780;
  letter-spacing: -0.08em;
}

.operating-list {
  border-top: 1px solid var(--line);
}

.operating-item {
  display: grid;
  grid-template-columns: 55px 1fr;
  min-height: 125px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.operating-item h3 {
  margin: 0;
  font-size: 1.12rem;
}

.operating-item p {
  margin: 9px 0 0;
  color: #666;
  font-size: 0.9rem;
}

.company-focus {
  padding: 106px 0;
  color: #fff;
  background: #111;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.focus-grid h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1;
}

.focus-list {
  border-top: 1px solid #3b3b3b;
}

.focus-list p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #3b3b3b;
  color: #9a9a9a;
}

/* Contact */
.contact-page-section {
  padding: 110px 0;
  background: #f2f2f0;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 0;
  align-items: stretch;
}

.contact-panel {
  padding: 48px;
  color: #fff;
  background: #111;
}

.contact-panel h2 {
  max-width: 390px;
  font-size: clamp(2.15rem, 3.5vw, 3.6rem);
}

.direct-contacts {
  display: grid;
  margin-top: 65px;
  border-top: 1px solid #383838;
}

.direct-contacts a,
.direct-contacts > div {
  display: grid;
  padding: 20px 0;
  border-bottom: 1px solid #383838;
}

.direct-contacts span {
  color: #777;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direct-contacts strong {
  margin-top: 8px;
  color: #fff;
  font-size: 1rem;
}

.direct-contacts small {
  margin-top: 6px;
  color: #737373;
  font-size: 0.72rem;
}

.contact-note {
  margin-top: 36px;
  padding-left: 18px;
  border-left: 1px solid #777;
}

.contact-note p {
  margin: 0;
  color: #858585;
  font-size: 0.8rem;
  line-height: 1.65;
}

.full-quote-form {
  padding: 48px;
}

.full-quote-form textarea {
  min-height: 120px;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.next-steps li {
  min-height: 260px;
  padding: 28px 25px;
  border-right: 1px solid var(--line);
}

.next-steps li:last-child {
  border-right: 0;
}

.next-steps h3 {
  margin: 75px 0 0;
  font-size: 1.14rem;
}

.next-steps p {
  margin: 13px 0 0;
  color: #666;
  font-size: 0.89rem;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .page-main {
    padding-top: 84px;
  }

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

  .proof-grid > div:nth-child(2) {
    border-right: 1px solid #282828;
  }

  .proof-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid #282828;
  }

  .intro-grid,
  .page-hero-grid,
  .story-grid,
  .focus-grid {
    gap: 60px;
  }

  .featured-case {
    grid-template-columns: 0.34fr 1.25fr 1fr 56px;
    gap: 24px;
    padding: 38px;
  }

  .standards-grid,
  .operating-grid {
    gap: 60px;
  }

  .dark-cta-grid,
  .reference-request-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .dark-cta-grid .button,
  .reference-request-grid .button {
    grid-column: 2;
    justify-self: start;
  }

  .service-detail-grid {
    grid-template-columns: 55px 0.85fr 1.15fr;
    gap: 30px;
  }

  .case-grid {
    grid-template-columns: 75px 0.85fr 1.15fr;
    gap: 35px;
  }

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

  .contact-panel,
  .full-quote-form {
    padding: 36px;
  }

  .footer-grid {
    grid-template-columns: 230px 1fr;
  }

  .footer-nav,
  .footer-links {
    justify-self: end;
  }
}

@media (max-width: 780px) {
  .page-main {
    padding-top: 68px;
  }

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

  .main-nav a[aria-current="page"]::after {
    display: none;
  }

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

  .proof-grid > div {
    min-height: 105px;
    padding: 20px 16px;
  }

  .proof-grid strong {
    font-size: 1.35rem;
  }

  .proof-grid span {
    font-size: 0.68rem;
  }

  .intro-grid,
  .page-hero-grid,
  .story-grid,
  .standards-grid,
  .operating-grid,
  .focus-grid,
  .compact-contact-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .intro-label {
    margin-top: 34px;
  }

  .home-services,
  .home-process,
  .values-section {
    padding: 86px 0;
  }

  .home-service-card {
    grid-template-columns: 42px 1fr 22px;
    gap: 14px;
    min-height: 145px;
    padding-right: 4px;
  }

  .home-service-card:hover,
  .home-service-card:focus-visible {
    padding-left: 12px;
  }

  .featured-case {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 24px;
  }

  .featured-case-index p {
    margin-top: 18px;
  }

  .featured-case-scope {
    margin-top: 8px;
  }

  .featured-case > a {
    width: 50px;
    height: 50px;
  }

  .secondary-cases,
  .timeline,
  .specialty-grid,
  .method-grid,
  .values-grid,
  .next-steps {
    grid-template-columns: 1fr;
  }

  .secondary-case,
  .secondary-case + .secondary-case {
    min-height: auto;
    padding: 34px 24px;
    border-left: 1px solid #d8d8d4;
  }

  .secondary-case > p:first-of-type {
    margin-top: 44px;
  }

  .timeline li,
  .timeline li:nth-child(3n + 2),
  .timeline li:nth-child(3n + 3) {
    min-height: 150px;
    padding: 24px 0;
    border-right: 0;
  }

  .compact-contact {
    padding: 84px 0;
  }

  .page-hero {
    padding: 72px 0 76px;
  }

  .page-hero-grid {
    align-items: start;
  }

  .breadcrumb {
    margin-bottom: 46px;
  }

  .page-hero h1 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  .page-hero-lead {
    font-size: 0.98rem;
  }

  .service-detail-grid {
    grid-template-columns: 38px 1fr;
    gap: 18px;
    min-height: auto;
    padding-block: 56px;
  }

  .detail-content {
    grid-column: 2;
    padding: 32px 0 0;
    border-top: 1px solid #333;
    border-left: 0;
  }

  .specialty-card {
    min-height: auto;
    padding: 28px 4px 34px;
    border-right: 0;
    border-bottom: 1px solid #c8c8c4;
  }

  .specialty-card:last-child {
    border-bottom: 0;
  }

  .specialty-card h3 {
    margin-top: 45px;
  }

  .dark-cta-grid,
  .reference-request-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dark-cta-grid .button,
  .reference-request-grid .button {
    grid-column: 1;
  }

  .case-study {
    padding: 70px 0;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-index {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
  }

  .case-index p {
    margin: 0;
    text-align: right;
  }

  .case-body {
    padding: 30px 0 0;
    border-top: 1px solid #333;
    border-left: 0;
  }

  .light-case .case-body {
    border-top-color: #c8c8c4;
  }

  .method-card,
  .value-card,
  .next-steps li {
    min-height: auto;
    padding: 28px 4px 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-card h3,
  .value-card h3,
  .next-steps h3 {
    margin-top: 44px;
  }

  .story-aside {
    padding: 0 0 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .story-year {
    margin-top: 44px;
  }

  .operating-visual {
    max-width: 390px;
    margin-inline: auto;
  }

  .focus-grid {
    gap: 50px;
  }

  .contact-page-section {
    padding: 70px 0;
  }

  .contact-panel,
  .full-quote-form {
    padding: 30px 22px;
  }

  .direct-contacts {
    margin-top: 45px;
  }

  .footer-nav,
  .footer-links {
    justify-self: start;
  }
}
