:root {
  --ink: #0d1117;
  --ink-soft: #202630;
  --navy: #163b72;
  --cobalt: #1557ff;
  --cobalt-deep: #0c42d6;
  --granite: #aab2be;
  --mist: #dce1e7;
  --white-night: #f3f5f7;
  --paper: #ffffff;
  --font-display: "Oranienbaum", Georgia, serif;
  --font-body: "Golos Text", Arial, sans-serif;
  --font-utility: "PT Mono", monospace;
  --container: min(1380px, calc(100vw - 96px));
  --header-height: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.58;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

.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;
  top: 12px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  color: #fff;
  background: var(--cobalt);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.eyebrow,
.utility-label {
  margin: 0;
  font-family: var(--font-utility);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--cobalt);
}

.section-title {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(41px, 4.9vw, 72px);
  font-weight: 400;
  line-height: 1.055;
  letter-spacing: -0.032em;
}

.display-copy {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.15vw, 50px);
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
  transition: transform 220ms var(--ease);
}

.button:hover svg {
  transform: translateX(4px);
}

.button-primary {
  color: #fff;
  background: var(--cobalt);
}

.button-primary:hover {
  background: var(--cobalt-deep);
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: #fff;
}

.button-light:hover {
  color: #fff;
  background: var(--cobalt);
  transform: translateY(-2px);
}

.text-link {
  position: relative;
  padding-block: 8px;
  font-size: 13.5px;
  font-weight: 500;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1);
}

.text-link-light {
  color: #fff;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid rgba(13, 17, 23, 0.11);
  transition:
    height 250ms ease,
    box-shadow 250ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  box-shadow: 0 8px 28px rgba(11, 18, 31, 0.08);
}

.header-inner {
  display: grid;
  width: var(--container);
  height: 100%;
  align-items: center;
  margin-inline: auto;
  grid-template-columns: 260px 1fr auto;
}

.brand {
  width: 226px;
  height: 54px;
  overflow: hidden;
  background: #fff url("/assets/images/b8-logo.png") center / 100% auto no-repeat;
  mix-blend-mode: multiply;
}

.brand img {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 32px);
}

.desktop-nav a,
.header-phone {
  position: relative;
  padding-block: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.desktop-nav a::after,
.header-phone::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--cobalt);
  content: "";
  transform: scaleX(0);
  transition: transform 240ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="location"]::after,
.header-phone:hover::after {
  transform: scaleX(1);
}

.desktop-nav a[aria-current="location"] {
  color: var(--navy);
}

.header-phone {
  font-family: var(--font-utility);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 250ms ease;
}

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

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

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 24px 36px;
  background: var(--white-night);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(13, 17, 23, 0.16);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.12;
}

.mobile-menu nav a[aria-current="location"] {
  color: var(--cobalt);
}

.mobile-menu-contacts {
  display: grid;
  gap: 10px;
  margin-top: 48px;
  font-family: var(--font-utility);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(640px, 88svh);
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 46px) max(48px, calc((100vw - 1380px) / 2)) 58px;
  color: #fff;
  isolation: isolate;
}

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

.hero-image {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  animation: hero-settle 1.8s var(--ease) both;
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(6, 12, 22, 0.88) 0%, rgba(6, 13, 25, 0.68) 44%, rgba(5, 11, 21, 0.18) 75%),
    linear-gradient(0deg, rgba(5, 11, 19, 0.64), transparent 48%);
}

.hero-grid {
  z-index: -2;
  width: var(--container);
  margin-inline: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-grid::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 67%;
  width: 1px;
  background: rgba(255, 255, 255, 0.17);
  content: "";
}

.hero-content {
  width: min(790px, 66%);
}

.hero-eyebrow {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
  animation: rise-in 800ms 200ms var(--ease) both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 6.25vw, 96px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.034em;
  animation: rise-in 900ms 280ms var(--ease) both;
}

.hero h1 span {
  color: #8cafff;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16.5px;
  line-height: 1.68;
  animation: rise-in 850ms 420ms var(--ease) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  animation: rise-in 850ms 520ms var(--ease) both;
}

.hero-context {
  position: absolute;
  right: max(48px, calc((100vw - 1380px) / 2));
  bottom: 78px;
  display: grid;
  width: 27%;
  max-width: 370px;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  gap: 15px;
}

.hero-context .utility-label {
  color: #8cafff;
}

.hero-context ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-context li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  font-weight: 500;
}

.hero-context li::after {
  width: 5px;
  height: 5px;
  background: #8cafff;
  content: "";
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.scroll-cue span {
  font-family: var(--font-utility);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.scroll-cue i::after {
  display: block;
  width: 100%;
  height: 50%;
  background: #fff;
  content: "";
  animation: scroll-line 1.8s ease-in-out infinite;
}

.section-light {
  background: var(--white-night);
}

.clients {
  padding: 96px 0 100px;
}

.clients-head {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 34%;
  gap: 80px;
}

.clients-head > p {
  margin: 0 0 5px;
  color: #505a67;
  font-size: 15px;
  line-height: 1.7;
}

.client-groups {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(3, 1fr);
}

.client-groups article {
  min-height: 210px;
  padding: 24px 34px 0 0;
  border-top: 1px solid rgba(13, 17, 23, 0.25);
  border-right: 1px solid rgba(13, 17, 23, 0.14);
}

.client-groups article + article {
  padding-left: 34px;
}

.client-groups article:last-child {
  padding-right: 0;
  border-right: 0;
}

.client-groups .utility-label {
  color: var(--cobalt);
}

.client-groups h3 {
  margin: 36px 0 12px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.client-groups article > p:last-child {
  max-width: 360px;
  margin: 0;
  color: #58626e;
  font-size: 14px;
  line-height: 1.65;
}

.directions {
  background: #fff;
}

.directions-head {
  display: grid;
  align-items: end;
  padding-top: 96px;
  padding-bottom: 64px;
  grid-template-columns: 1fr 30%;
  gap: 80px;
}

.directions-intro {
  margin: 0 0 5px;
  color: #505a67;
  font-size: 15px;
  line-height: 1.7;
}

.direction {
  position: relative;
  padding: 66px 0;
  overflow: hidden;
}

.direction::before {
  position: absolute;
  top: 0;
  right: calc((100vw - min(1380px, calc(100vw - 96px))) / 2);
  left: calc((100vw - min(1380px, calc(100vw - 96px))) / 2);
  height: 1px;
  background: rgba(13, 17, 23, 0.2);
  content: "";
}

.direction-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1.05fr 0.74fr 1.1fr;
  gap: 6%;
}

.direction-name {
  display: grid;
  align-items: start;
  grid-template-columns: 58px 1fr;
  gap: 18px;
}

.direction-symbol {
  color: var(--cobalt);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.82;
}

.direction-name h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.65vw, 41px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.026em;
}

.direction-lead {
  margin: 0;
  color: #4a5562;
  font-size: 15px;
  line-height: 1.7;
}

.service-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(13, 17, 23, 0.16);
  grid-template-columns: 1fr auto;
  gap: 22px;
}

.service-list li:first-child {
  padding-top: 0;
}

.service-list span {
  font-size: 14.5px;
  font-weight: 500;
}

.service-list small {
  color: #5f6976;
  font-family: var(--font-utility);
  font-size: 9.5px;
  line-height: 1.45;
  letter-spacing: 0.018em;
  text-align: right;
  text-transform: uppercase;
}

.direction-real-estate {
  color: var(--ink);
  background: #f0f3f7;
}

.direction-law {
  background: #e4e9ef;
}

.cases {
  color: #fff;
  background: #111925;
}

.cases-layout {
  display: grid;
  padding-top: 96px;
  padding-bottom: 96px;
  grid-template-columns: 30% 1fr;
  gap: 9%;
}

.cases-head .eyebrow {
  color: #8eadf5;
}

.cases-head .section-title {
  font-size: clamp(42px, 4.6vw, 68px);
}

.cases-head > p:last-child {
  max-width: 390px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 14px;
  line-height: 1.68;
}

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

.case-list article {
  min-height: 132px;
  padding: 22px 34px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.case-list article:nth-child(even) {
  padding-right: 0;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.case-list span {
  color: #8eadf5;
  font-family: var(--font-utility);
  font-size: 10px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.case-list h3 {
  max-width: 430px;
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.approach {
  padding: 96px 0 100px;
}

.approach-head {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 33%;
  gap: 80px;
}

.approach-head > p {
  margin: 0 0 6px;
  color: #515b67;
  font-size: 15px;
  line-height: 1.72;
}

.process-list {
  display: grid;
  padding: 0;
  margin: 58px 0 0;
  list-style: none;
  grid-template-columns: repeat(4, 1fr);
}

.process-list li {
  min-height: 198px;
  padding: 0 34px 0 0;
  border-top: 1px solid rgba(13, 17, 23, 0.25);
  border-right: 1px solid rgba(13, 17, 23, 0.16);
}

.process-list li + li {
  padding-left: 34px;
}

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

.process-number {
  display: block;
  margin-top: -8px;
  color: var(--cobalt);
  background: var(--white-night);
  font-family: var(--font-utility);
  font-size: 11px;
}

.process-list h3 {
  margin: 42px 0 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.012em;
}

.process-list p {
  margin: 0;
  color: #5b6470;
  font-size: 13.5px;
  line-height: 1.68;
}

.contact {
  position: relative;
  min-height: 600px;
  padding: 96px 0;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.contact-image,
.contact-shade {
  position: absolute;
  inset: 0;
}

.contact-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(12, 32, 61, 0.95) 0%, rgba(12, 35, 71, 0.92) 48%, rgba(7, 14, 26, 0.72) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 37%;
  gap: 13%;
}

.contact .eyebrow {
  color: #91b1f9;
}

.contact-main h2 {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(50px, 5.2vw, 74px);
  font-weight: 400;
  line-height: 1.025;
  letter-spacing: -0.032em;
}

.contact-main > p:not(.eyebrow) {
  max-width: 550px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.68;
}

.contact-details {
  display: grid;
  align-content: start;
  font-style: normal;
}

.contact-details > div {
  display: grid;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  gap: 11px;
}

.contact-details > div:first-child {
  padding-top: 0;
}

.contact-details .utility-label {
  color: #91b1f9;
}

.contact-details a:not(.map-link),
.contact-details p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.26;
  letter-spacing: -0.012em;
}

.contact-details a:not(.map-link) {
  width: fit-content;
  transition: color 200ms ease;
}

.contact-details a:not(.map-link):hover {
  color: #9db9ff;
}

.map-link {
  width: fit-content;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer {
  padding: 32px 0 18px;
  color: #fff;
  background: var(--ink);
}

.footer-main {
  display: grid;
  align-items: center;
  padding-bottom: 24px;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
}

.footer-brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
}

.footer-brand span {
  color: #8eadf5;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10.5px;
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 12.5px;
}

.footer-nav a {
  width: fit-content;
}

.footer-nav a:hover,
.footer-meta a:hover {
  color: #91b1f9;
}

.footer-region {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
}

.footer-meta {
  display: grid;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.44);
  font-size: 9.5px;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
}

.footer-meta p {
  margin: 0;
}

.photo-credits {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    opacity: 0.8;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateY(-110%);
  }
  60%,
  100% {
    transform: translateY(210%);
  }
}

@media (max-width: 1100px) {
  :root {
    --container: calc(100vw - 56px);
  }

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

  .brand {
    width: 210px;
    height: 52px;
  }

  .desktop-nav {
    gap: 16px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    padding-inline: 28px;
  }

  .hero-content {
    width: 72%;
  }

  .hero-context {
    right: 28px;
    width: 27%;
  }

  .direction-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 65px;
  }

  .direction-lead {
    display: none;
  }

  .service-list small {
    display: none;
  }

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

@media (max-width: 820px) {
  :root {
    --container: calc(100vw - 40px);
    --header-height: 72px;
  }

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

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .brand {
    width: 196px;
    height: 50px;
  }

  .desktop-nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: max(640px, 88svh);
    padding: calc(var(--header-height) + 50px) 20px 72px;
  }

  .hero-image {
    object-position: 57% 50%;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(6, 12, 22, 0.89), rgba(6, 13, 25, 0.52)), linear-gradient(0deg, rgba(5, 11, 19, 0.72), transparent 50%);
  }

  .hero-grid {
    width: var(--container);
  }

  .hero-grid::after {
    left: 74%;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(52px, 13vw, 82px);
  }

  .hero-lead {
    max-width: 580px;
    font-size: 15px;
  }

  .hero-context {
    display: none;
  }

  .clients,
  .approach {
    padding-block: 72px;
  }

  .clients-head,
  .approach-head,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .clients-head > p,
  .approach-head > p {
    max-width: 560px;
  }

  .client-groups {
    margin-top: 44px;
  }

  .client-groups article {
    min-height: 200px;
    padding-right: 22px;
  }

  .client-groups article + article {
    padding-left: 22px;
  }

  .client-groups h3 {
    margin-top: 28px;
    font-size: 24px;
  }

  .directions-head {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .directions-head {
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .directions-intro,
  .approach-head > p {
    max-width: 560px;
  }

  .direction {
    padding: 58px 0;
  }

  .direction-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .direction-lead {
    display: block;
    max-width: 560px;
  }

  .service-list {
    max-width: 680px;
  }

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

  .service-list small {
    display: block;
  }

  .cases-layout {
    padding-top: 72px;
    padding-bottom: 72px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .cases-head > p:last-child {
    max-width: 560px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 45px;
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(3) {
    padding-left: 0;
  }

  .contact {
    min-height: 0;
    padding: 76px 0;
  }

  .contact-details {
    max-width: 620px;
  }

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

  .footer-region {
    display: none;
  }

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

  .photo-credits {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100vw - 32px);
  }

  .brand {
    width: 184px;
    height: 48px;
  }

  .hero {
    min-height: 650px;
    padding-top: calc(var(--header-height) + 46px);
    padding-bottom: 70px;
    padding-inline: 16px;
  }

  .hero-grid {
    width: var(--container);
  }

  .hero h1 {
    font-size: clamp(40px, 12.3vw, 52px);
    line-height: 1;
  }

  .hero-eyebrow {
    max-width: 260px;
    line-height: 1.7;
  }

  .hero-lead {
    margin-top: 28px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-top: 30px;
  }

  .scroll-cue {
    right: 16px;
    left: auto;
    transform: none;
  }

  .clients,
  .approach {
    padding-block: 62px;
  }

  .section-title {
    margin-top: 17px;
    font-size: clamp(37px, 11.5vw, 54px);
  }

  .clients-head {
    gap: 30px;
  }

  .client-groups {
    margin-top: 38px;
    grid-template-columns: 1fr;
  }

  .client-groups article,
  .client-groups article + article {
    min-height: 0;
    padding: 20px 0 28px;
    border-right: 0;
  }

  .client-groups h3 {
    margin-top: 22px;
  }

  .directions-head {
    padding-top: 62px;
    padding-bottom: 40px;
  }

  .direction {
    padding: 52px 0;
  }

  .direction::before {
    right: 16px;
    left: 16px;
  }

  .direction-name {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .direction-symbol {
    font-size: 44px;
  }

  .direction-name h3 {
    font-size: 30px;
  }

  .service-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-list small {
    text-align: left;
  }

  .approach-head {
    gap: 32px;
  }

  .cases-layout {
    padding-top: 62px;
    padding-bottom: 62px;
    gap: 36px;
  }

  .case-list {
    grid-template-columns: 1fr;
  }

  .case-list article,
  .case-list article:nth-child(even) {
    min-height: 0;
    padding: 18px 0 22px;
    border-left: 0;
  }

  .case-list h3 {
    margin-top: 14px;
    font-size: 22px;
  }

  .process-list {
    margin-top: 48px;
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .process-list li,
  .process-list li + li,
  .process-list li:nth-child(3) {
    min-height: 0;
    padding: 0 0 32px;
    border-right: 0;
  }

  .process-list h3 {
    margin-top: 34px;
  }

  .contact {
    padding-block: 68px;
  }

  .contact-grid {
    gap: 48px;
  }

  .contact-main h2 {
    font-size: 48px;
  }

  .contact-details a:not(.map-link),
  .contact-details p {
    font-size: 22px;
  }

  .site-footer {
    padding: 24px 0 14px;
  }

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

  .footer-main {
    padding-bottom: 20px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 20px;
  }

  .footer-meta {
    gap: 8px;
  }

  .footer-meta > a {
    width: fit-content;
  }
}

@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;
  }

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