/* Fonts */
@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/gloock-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/karla-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/karla-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/karla-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/karla-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/karla-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/karla-400-italic.woff2') format('woff2');
}

:root {
  --ink: #0f1115;
  --ink2: #171a20;
  --ink3: #20242c;
  --plat: #e9ebf1;
  --plat-dim: #b9bfcd;
  --steel: #8d99b0;
  --paper: #f5f5f2;
  --paper2: #ffffff;
  --line-d: rgba(233, 235, 241, 0.14);
  --line-l: rgba(15, 17, 21, 0.12);
  --pad: 45px;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 88px;
  --display: 'Gloock', Georgia, serif;
  --body: 'Karla', system-ui, -apple-system, Segoe UI, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper2);
  color: #22262e;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

/* ========== Container ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ========== Eyebrow ========== */
.section__eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section__eyebrow::after {
  content: '';
  height: 1px;
  width: 54px;
  background: currentColor;
  opacity: 0.5;
}

.section__eyebrow--center {
  justify-content: center;
}

.section__eyebrow--center::before {
  content: '';
  height: 1px;
  width: 54px;
  background: currentColor;
  opacity: 0.5;
}

.section__eyebrow--light {
  color: var(--steel);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 17px 36px;
  font-size: 20px;
  line-height: 1.35;
  background: linear-gradient(180deg, #fbfbfd, #d7dbe6);
  color: #0f1115;
  border: 1px solid rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  max-width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.btn--ink {
  background: var(--ink);
  color: var(--plat);
  border-color: var(--ink);
  box-shadow: 0 12px 30px rgba(15, 17, 21, 0.22);
}

.btn--sm {
  font-size: 16px;
  padding: 12px 26px;
}

/* ========== Phone link ========== */
.phone-link {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.phone-link__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}

.phone-link__number {
  font-family: var(--display);
  font-size: 24px;
  color: #fff;
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0.035em;
}

.phone-link--dark .phone-link__label {
  color: #8d99b0;
}

.phone-link--dark .phone-link__number {
  color: #0f1115;
}

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(15, 17, 21, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-d);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 88px;
}

.header__brand {
  flex: 0 0 auto;
  flex-shrink: 0;
}

.header__brand-img {
  width: 300px;
  height: auto;
  max-width: none;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.header__nav-link {
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  color: var(--plat);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--plat);
  transition: width 0.3s ease;
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--plat);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.header__nav-close::before,
.header__nav-close::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 1.5px;
  background: currentColor;
}

.header__nav-close::before {
  transform: rotate(45deg);
}

.header__nav-close::after {
  transform: rotate(-45deg);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.header__phone {
  font-family: var(--display);
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--plat);
  white-space: nowrap;
  letter-spacing: 0.035em;
  flex-shrink: 0;
}

.header__phone-label {
  display: block;
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--steel);
  text-transform: uppercase;
}

.header__cta .btn--sm {
  font-size: clamp(13px, 1.1vw, 16px);
  padding: clamp(10px, 1vw, 12px) clamp(18px, 1.8vw, 26px);
  flex-shrink: 0;
}

.header__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 70;
  transition: opacity 0.25s ease;
}

.header__burger-line {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--plat);
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.is-nav-open .header__burger {
  opacity: 0;
  pointer-events: none;
}

.header__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 21, 0.62);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/bg-hero.jpg') center / cover no-repeat;
  opacity: 0.9;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 17, 21, 0.94) 0%,
    rgba(15, 17, 21, 0.82) 42%,
    rgba(15, 17, 21, 0.34) 72%,
    rgba(15, 17, 21, 0.5) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  padding: clamp(16px, 2.5vw, 34px) clamp(0px, 1vw, 12px) 0 0;
}

.hero__title {
  font-size: clamp(38px, 4.05vw, 66px);
  color: #fff;
  margin: 0 0 22px;
  line-height: 1.04;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.5);
}

.hero__title-line {
  font-style: normal;
  display: block;
}

.hero__rule {
  width: 78px;
  height: 2px;
  background: linear-gradient(90deg, var(--plat), transparent);
  margin: 0 0 22px;
}

.hero__subtitle {
  color: #cdd3df;
  font-size: 18px;
  max-width: 530px;
  margin: 0 0 30px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero__visual::before {
  content: '';
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 118%;
  height: 86%;
  transform: translateX(6%);
  background: radial-gradient(ellipse at 50% 78%, rgba(141, 153, 176, 0.3), rgba(15, 17, 21, 0) 66%);
}

.hero__image {
  position: relative;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* ========== Accolades strip ========== */
.accolades {
  background: var(--ink2);
  border-bottom: 1px solid var(--line-d);
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 0;
}

.accolades__cell {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
  height: 86px;
}

.accolades__cell + .accolades__cell::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--line-d);
}

.accolades__badge {
  max-width: 100%;
  height: auto;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.accolades__badge:hover {
  opacity: 1;
}

.accolades__badge--md {
  max-height: 79px;
}

.accolades__badge--ntl {
  max-height: 68px;
}

.accolades__badge--sl {
  max-height: 37px;
}

.accolades__badge--aaj {
  max-height: 51px;
}

.accolades__placeholder {
  width: 100%;
  height: auto;
  max-width: 172px;
  max-height: 74px;
  opacity: 0.9;
}

/* ========== Sections ========== */
.section {
  padding: 110px 0;
}

.section--dark {
  background: var(--ink);
  color: #d5dae4;
  position: relative;
  isolation: isolate;
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../assets/images/bg-section-dark.jpg') center / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: luminosity;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

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

.section__title {
  font-size: clamp(30px, 2.9vw, 50px);
  margin: 0 0 20px;
}

.section__title--center {
  text-align: center;
}

.section__lede {
  max-width: 620px;
  color: #5c6474;
}

.section--dark .section__lede {
  color: #9ea7b8;
}

.section__intro {
  text-align: center;
}

.section__intro .section__title--spaced {
  margin-bottom: 44px;
}

/* ========== About ========== */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 78px;
  align-items: center;
}

.about__figure,
.about__copy {
  min-width: 0;
}

.about__figure {
  position: relative;
  padding: 16px 0 16px 16px;
  margin: 0;
}

.about__figure::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 62%;
  height: 100%;
  border: 1px solid var(--line-l);
}

.about__image {
  position: relative;
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: 50% 56%;
}

.about__stat {
  position: absolute;
  right: -1px;
  bottom: -1px;
  background: var(--ink);
  color: #fff;
  padding: 26px 32px;
  text-align: left;
}

.about__stat-value {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}

.about__stat-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.about__body {
  color: #4d5563;
  font-size: 17px;
}

.about__body p + p {
  margin-top: 1.1em;
}

.about__cta {
  margin-top: 34px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* ========== Practice areas ========== */
.practice__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.practice__card {
  position: relative;
  overflow: hidden;
  background: var(--ink2);
  border: 1px solid var(--line-d);
  min-width: 0;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.practice__card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 235, 241, 0.32);
}

.practice__thumb {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.practice__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.34) contrast(1.04);
  transition: transform 0.7s ease, filter 0.5s ease;
}

.practice__card:hover .practice__thumb-img {
  transform: scale(1.07);
  filter: grayscale(0);
}

.practice__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.1), rgba(15, 17, 21, 0.78));
}

.practice__num {
  position: absolute;
  left: 20px;
  top: 16px;
  z-index: 2;
  font-family: var(--display);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.08em;
}

.practice__body {
  padding: 26px 24px 28px;
}

.practice__title {
  font-size: 22px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.practice__text {
  font-size: 14.5px;
  color: #96a0b1;
  margin: 0 0 18px;
}

.practice__more {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--plat);
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.practice__more svg {
  transition: transform 0.3s ease;
}

.practice__card:hover .practice__more svg {
  transform: translateX(5px);
}

/* ========== Case results ========== */
.results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-l);
  margin-top: 52px;
}

.results__item {
  padding: 38px 34px 38px 0;
  border-right: 1px solid var(--line-l);
  min-width: 0;
}

.results__item:last-child {
  border-right: 0;
}

.results__item:not(:first-child) {
  padding-left: 34px;
}

.results__amount {
  font-family: var(--display);
  font-size: clamp(30px, 2.5vw, 42px);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 8px;
}

.results__type {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin: 0 0 16px;
}

.results__text {
  font-size: 15px;
  color: #5c6474;
  margin: 0;
}

/* ========== Values ========== */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 54px;
}

.values__card {
  border: 1px solid var(--line-d);
  padding: 34px 28px 30px;
  background: rgba(23, 26, 32, 0.6);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.values__card:hover {
  background: rgba(32, 36, 44, 0.86);
  border-color: rgba(233, 235, 241, 0.3);
}

.values__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--plat);
}

.values__title {
  font-size: 21px;
  margin: 0 0 12px;
  line-height: 1.22;
}

.values__text {
  font-size: 14.5px;
  color: #96a0b1;
  margin: 0 0 20px;
}

.values__link {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--plat);
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

/* ========== Testimonial ========== */
.testimonial {
  background: var(--paper);
  text-align: center;
}

.testimonial__quote-mark {
  font-family: var(--display);
  font-size: 78px;
  line-height: 0.6;
  color: var(--steel);
  opacity: 0.42;
  margin: 0 0 22px;
}

.testimonial__quote {
  margin: 0 auto;
  max-width: 940px;
  font-family: var(--display);
  font-size: clamp(21px, 1.95vw, 31px);
  line-height: 1.48;
  color: var(--ink);
}

.testimonial__stars {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin: 30px 0 16px;
  color: #b58b3a;
}

.testimonial__name {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

/* ========== Contact ========== */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 76px;
  align-items: start;
}

.contact__info,
.form {
  min-width: 0;
}

.contact__title {
  font-size: clamp(30px, 2.8vw, 48px);
  margin: 0 0 20px;
}

.contact__meta {
  margin-top: 38px;
  display: grid;
  gap: 24px;
}

.contact__row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact__row-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--steel);
  margin-top: 5px;
}

.contact__row-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 5px;
}

.contact__row-text {
  margin: 0;
  color: #d5dae4;
  font-size: 16.5px;
  line-height: 1.6;
}

.form {
  background: rgba(23, 26, 32, 0.72);
  border: 1px solid var(--line-d);
  padding: 42px 40px;
}

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

.form__field {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 9px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  height: 48px;
  background: rgba(15, 17, 21, 0.7);
  border: 1px solid var(--line-d);
  color: #fff;
  font-family: var(--body);
  font-size: 16px;
  padding: 0 16px;
  border-radius: 2px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form__textarea {
  height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.6;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--plat);
  background: rgba(15, 17, 21, 0.95);
}

.form__select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--steel) 50%),
    linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form .btn {
  width: 100%;
  margin-top: 8px;
}

.form__fine {
  font-size: 12.5px;
  color: #7b8497;
  margin: 16px 0 0;
  line-height: 1.6;
}

/* ========== Footer ========== */
.footer {
  background: #0a0c0f;
  color: #8d99b0;
  padding: 70px 0 0;
  border-top: 1px solid var(--line-d);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 54px;
}

.footer__logo {
  width: 290px;
  height: auto;
  max-width: none;
  margin-bottom: 22px;
}

.footer__blurb {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.footer__heading {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plat);
  font-family: var(--body);
  font-weight: 600;
  margin: 0 0 18px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer__link {
  font-size: 15px;
  transition: color 0.25s ease;
}

.footer__link:hover {
  color: var(--plat);
}

.footer__phone {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.035em;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.footer__address {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.footer__bar {
  border-top: 1px solid var(--line-d);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ========== Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1500px) {
  .header__nav {
    gap: 22px;
  }
}

@media (max-width: 1280px) {
  :root {
    --pad: 32px;
  }

  .header__inner {
    height: 80px;
  }

  .header__nav {
    gap: 18px;
  }

  .about__grid {
    gap: 48px;
  }

  .practice__grid,
  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .results__item {
    border-bottom: 1px solid var(--line-l);
  }

  .results__item:nth-child(2n) {
    border-right: 0;
  }

  .results__item:nth-child(n + 3) {
    border-bottom: 0;
  }

  .contact__grid {
    gap: 48px;
  }

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

/* Hamburger / slide-in nav below 1200px */
@media (max-width: 1200px) {
  .header__burger {
    display: block;
    margin-left: auto;
  }

  .header__cta {
    display: none;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: min(360px, 86vw);
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    min-height: 100%;
    min-height: -webkit-fill-available;
    margin: 0;
    padding: 88px 32px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink2);
    border-left: 1px solid var(--line-d);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.is-nav-open .header__nav {
    transform: translateX(0);
  }

  .header__nav-link {
    font-size: 18px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--line-d);
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-close {
    display: flex;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    width: 100%;
  }

  .header__nav-extras .header__phone {
    font-size: 22px;
  }

  .header__nav-extras .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .header__overlay {
    display: block;
  }

  body.is-nav-open .header__overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .hero__content {
    width: min(100%, 58%);
  }

  .hero__visual {
    width: 42%;
  }

  .hero__title {
    font-size: clamp(34px, 5.2vw, 50px);
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    text-align: center;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 76px 0;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .about__image {
    height: 440px;
  }

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

  .accolades__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 34px;
    padding: 30px 0;
  }

  .accolades__cell {
    flex: 0 0 28%;
    height: auto;
  }

  .accolades__cell + .accolades__cell::before {
    display: none;
  }

  .accolades__badge--md {
    max-height: 66px;
  }

  .accolades__badge--ntl {
    max-height: 57px;
  }

  .accolades__badge--sl {
    max-height: 31px;
  }

  .accolades__badge--aaj {
    max-height: 43px;
  }

  .accolades__placeholder {
    max-height: 62px;
  }

  .form {
    padding: 32px 26px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(32px, 6vw, 48px) clamp(20px, 4vw, 28px) 0;
    display: flex;
    flex-direction: column;
  }

  .hero__inner {
    height: auto;
    align-items: flex-start;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: clamp(8px, 2vw, 20px) 0 0;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 340px;
    margin-top: 12px;
  }

  .hero__visual::before {
    width: 100%;
    right: 0;
    transform: none;
  }

  .hero__image {
    height: 100%;
    margin: 0 auto;
  }
}

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

  body {
    font-size: 16px;
  }

  .btn {
    font-size: 17px;
    padding: 15px 22px;
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .hero__actions .btn,
  .about__cta .btn {
    width: 100%;
  }

  .phone-link__number {
    font-size: 24px;
  }

  .practice__grid,
  .values__grid {
    grid-template-columns: 1fr;
  }

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

  .results__item {
    padding: 30px 0 !important;
    border-right: 0;
    border-bottom: 1px solid var(--line-l);
  }

  .results__item:last-child {
    border-bottom: 0;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__logo {
    width: 230px;
  }

  .accolades__cell {
    flex: 0 0 42%;
  }

  .accolades__badge--md {
    max-height: 58px;
  }

  .accolades__badge--ntl {
    max-height: 50px;
  }

  .accolades__badge--sl {
    max-height: 27px;
  }

  .accolades__badge--aaj {
    max-height: 38px;
  }

  .accolades__placeholder {
    max-height: 54px;
  }

  .about__stat {
    position: static;
    margin-top: -1px;
    display: inline-block;
  }

  .testimonial__quote-mark {
    font-size: 60px;
  }
}
