@font-face {
  font-family: "Castoro";
  src: url("../assets/fonts/castoro.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Castoro";
  src: url("../assets/fonts/castoro-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Kumbh Sans";
  src: url("../assets/fonts/kumbh-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1c2f42;
  --navy-deep: #0f1c2a;
  --ink: #0d1722;
  --olive: #838f59;
  --olive-hover: #737e4c;
  --olive-light: #b9c39a;
  --olive-text: #5e6939;
  --slate: #475061;
  --body: #2c3744;
  --sage: #f1f3ec;
  --rule: #d8ddd0;
  --white: #ffffff;
  --serif: "Castoro", Georgia, "Times New Roman", serif;
  --sans: "Kumbh Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: 45px;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 174px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.has-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--olive-light);
  outline-offset: 3px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  padding: 19px 36px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--olive);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--olive-hover);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--olive-light);
  color: var(--olive-light);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-deep);
}

.text-link {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--olive-text);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--navy);
}

.text-link--light {
  color: var(--white);
}

.text-link--light:hover {
  color: var(--olive-light);
}

/* ---------- Header ---------- */
.header {
  position: relative;
  z-index: 20;
  background: linear-gradient(100deg, #0b1622 0%, #14243a 55%, #1c2f42 100%);
}

.header::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--olive) 0 50%, #3b5068 50% 100%);
}

.header__overlay {
  display: none;
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 36px);
  min-height: 104px;
}

.header__logo {
  flex-shrink: 0;
  display: block;
}

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

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  width: 48px;
  height: 48px;
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 4;
}

.header__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__cta {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.header__phone {
  text-align: right;
  line-height: 1.2;
  flex-shrink: 0;
}

.header__phone-label {
  display: block;
  font-size: 14px;
  color: var(--olive-light);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.header__phone-link {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.header__cta-btn {
  flex-shrink: 0;
  font-size: clamp(14px, 1.25vw, 20px);
  padding: clamp(12px, 1.2vw, 19px) clamp(18px, 2vw, 36px);
}

.header__nav {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 13, 22, 0.38);
}

.header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
  min-height: 58px;
}

.header__nav-item {
  flex-shrink: 0;
}

.header__nav-link {
  display: block;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 500;
  color: #e3e8ec;
  text-decoration: none;
  white-space: nowrap;
  padding: 17px 0 15px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.header__nav-link:hover {
  color: var(--white);
  border-color: var(--olive);
}

.header__nav-extras {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  background: #0c1825;
  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.webp") center 35% / cover no-repeat;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 19, 30, 0.94) 0%,
    rgba(10, 19, 30, 0.82) 30%,
    rgba(10, 19, 30, 0.35) 58%,
    rgba(10, 19, 30, 0.25) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  z-index: 4;
  background: linear-gradient(90deg, var(--olive) 0 50%, #3b5068 50% 100%);
}

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

.hero__content {
  position: relative;
  z-index: 3;
  max-width: min(100%, 560px);
  padding: 0 clamp(0px, 1vw, 12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  color: var(--white);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
  text-wrap: balance;
}

.hero__title-line {
  display: block;
}

.hero__title-line + .hero__title-line {
  white-space: nowrap;
  margin-top: 6px;
}

.hero__rule {
  width: 72px;
  height: 3px;
  background: var(--olive);
  margin: 30px 0 26px;
}

.hero__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: #d3dae0;
  max-width: 31em;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 22px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.hero__phone svg {
  flex: 0 0 auto;
}

.hero__phone-hint {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--olive-light);
  font-weight: 500;
}

.hero__cta {
  align-self: flex-start;
}

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

.hero__visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 6%;
  right: 6%;
  top: 8%;
  bottom: -10%;
  background: radial-gradient(
    closest-side,
    rgba(185, 195, 154, 0.32),
    rgba(185, 195, 154, 0)
  );
}

.hero__shield {
  position: absolute;
  z-index: 1;
  height: 118%;
  width: auto;
  left: 50%;
  top: -6%;
  transform: translateX(-50%);
  opacity: 0.05;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__content > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero__content > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero__content > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero__content > :nth-child(5) {
    animation-delay: 0.32s;
  }

  .hero__image {
    animation: enter 1.1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ---------- Credentials strip ---------- */
.creds {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

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

.creds__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 28px;
  min-height: 112px;
}

.creds__item + .creds__item {
  border-left: 1px solid var(--rule);
}

.creds__image {
  height: auto;
  max-width: 100%;
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: 110px 0;
}

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

.section__head {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-size: 48px;
  line-height: 1.12;
  color: var(--navy);
}

.section__title--light {
  color: var(--white);
}

.section__mark {
  display: block;
  margin: 20px auto 0;
  width: 26px;
  height: auto;
  opacity: 0.9;
}

/* ---------- Intro / Firm ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 90px;
  align-items: center;
}

.intro__figure {
  position: relative;
  margin: 0 0 26px 26px;
}

.intro__figure::before {
  content: "";
  position: absolute;
  inset: -26px 26px 26px -26px;
  border: 2px solid var(--olive);
}

.intro__image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 1180;
  object-fit: cover;
}

.intro__plaque {
  position: absolute;
  right: -30px;
  bottom: 44px;
  background: var(--navy);
  color: var(--white);
  padding: 24px 30px;
  max-width: 300px;
  box-shadow: 0 24px 48px -18px rgba(13, 23, 34, 0.55);
}

.intro__plaque-title {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}

.intro__plaque-text {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #c9d1d8;
}

.intro__title {
  font-size: 42px;
  line-height: 1.16;
  color: var(--navy);
  text-wrap: balance;
  max-width: 20em;
}

.intro__body {
  margin-top: 30px;
  max-width: 60ch;
}

.intro__body p + p {
  margin-top: 20px;
}

.intro__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 38px;
}

.call-inline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 24px;
  white-space: nowrap;
}

.call-inline svg {
  color: var(--olive);
}

/* ---------- Practice areas ---------- */
.practice {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.practice__card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 760 / 860;
  text-decoration: none;
  color: var(--white);
  background: var(--navy);
}

.practice__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.practice__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 22, 34, 0) 30%,
    rgba(12, 22, 34, 0.55) 62%,
    rgba(12, 22, 34, 0.94) 100%
  );
}

.practice__text {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 30px;
}

.practice__text::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--olive);
  margin-bottom: 18px;
  transition: width 0.35s ease;
}

.practice__name {
  font-size: 27px;
  line-height: 1.18;
}

.practice__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--olive-light);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.practice__card:hover .practice__image {
  transform: scale(1.045);
}

.practice__card:hover .practice__text::before {
  width: 84px;
}

/* ---------- Case results ---------- */
.results {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.results__item {
  padding: 44px 34px 42px;
  display: flex;
  flex-direction: column;
}

.results__item + .results__item {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.results__kind {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--olive-light);
}

.results__name {
  font-size: 32px;
  line-height: 1.14;
  margin: 14px 0 16px;
  text-wrap: balance;
}

.results__desc {
  font-size: 15px;
  line-height: 1.55;
  color: #c6cfd7;
  flex: 1;
}

.results__item .text-link {
  margin-top: 26px;
  align-self: flex-start;
}

.results__cta {
  text-align: center;
  margin-top: 52px;
}

/* ---------- Why choose ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.why__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 6px;
}

.why__icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1.5px solid var(--olive);
  display: grid;
  place-items: center;
  color: var(--olive-text);
  margin-bottom: 26px;
  background: var(--white);
}

.why__name {
  font-size: 25px;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}

.why__text {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 30ch;
  flex: 1;
}

.why__item .text-link {
  margin-top: 22px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  position: relative;
  background: #101c29 url("../assets/images/bg-testimonial.webp") center / cover
    no-repeat;
  color: var(--white);
}

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 34, 0.55), rgba(13, 23, 34, 0.78));
}

.testimonial .container {
  position: relative;
}

.testimonial__quote {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.6;
  color: var(--olive);
  height: 52px;
  display: block;
}

.testimonial__text {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.6;
  color: #eef1ea;
}

.testimonial__cite {
  display: block;
  margin-top: 34px;
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--olive-light);
}

.testimonial__cite::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--olive);
  margin: 0 auto 18px;
}

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

.contact__title {
  font-size: 44px;
  line-height: 1.14;
  color: var(--navy);
  text-wrap: balance;
}

.contact__text {
  margin-top: 26px;
  max-width: 58ch;
}

.contact__text p + p {
  margin-top: 18px;
}

.contact__details {
  margin-top: 38px;
  display: grid;
  gap: 22px;
}

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

.detail__icon {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sage);
  display: grid;
  place-items: center;
  color: var(--olive-text);
}

.detail__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.detail__value,
.detail__value a,
.detail address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.4;
  color: var(--navy);
  text-decoration: none;
}

.contact__form {
  background: var(--navy);
  padding: 48px 46px 50px;
  color: var(--white);
  border-top: 6px solid var(--olive);
}

.contact__form-title {
  color: var(--white);
  font-size: 36px;
}

.contact__form-lede {
  margin-top: 10px;
  font-size: 15px;
  color: #c6cfd7;
}

.form {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form__label {
  font-size: 14px;
  font-weight: 500;
  color: #dce2e7;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fff;
  color: var(--body);
  font: inherit;
  font-size: 16px;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23475061' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form__textarea {
  height: 120px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.5;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(185, 195, 154, 0.45);
}

.form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}

.form__note {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.5;
  color: #a9b4be;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #c2cbd3;
}

.footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--olive) 0 50%, #3b5068 50% 100%);
}

.footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 64px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo img {
  height: 88px;
  width: auto;
  max-width: none;
}

.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
}

.footer__nav-link {
  font-size: 16px;
  color: #e3e8ec;
  text-decoration: none;
}

.footer__nav-link:hover {
  color: var(--olive-light);
}

.footer__contact {
  text-align: right;
  line-height: 1.5;
}

.footer__address {
  font-style: normal;
  font-size: 15px;
}

.footer__phone {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 24px;
  color: #fff;
  text-decoration: none;
}

.footer__bottom {
  padding: 30px 0 40px;
  font-size: 13px;
  line-height: 1.6;
  color: #8e9aa6;
  display: grid;
  gap: 14px;
}

.footer__bottom-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__bottom a {
  color: #b9c4ce;
}

/* ---------- Responsive ---------- */
@media (min-width: 1700px) {
  .hero__title {
    font-size: 66px;
  }

  .hero__content {
    max-width: min(100%, 680px);
  }

  .hero__lede {
    font-size: 20px;
  }
}

@media (max-width: 1380px) {
  .hero__content {
    max-width: min(100%, 500px);
  }

  .hero__visual {
    width: 48%;
  }
}

@media (max-width: 1240px) {
  .creds__list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .creds__item:nth-child(3) {
    border-left: 0;
  }

  .practice,
  .why {
    grid-template-columns: repeat(2, 1fr);
  }

  .why {
    row-gap: 60px;
  }

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

  .results__item:nth-child(3) {
    border-left: 0;
  }

  .results__item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(8, 14, 22, 0.55);
  }

  .header__overlay[hidden] {
    display: none;
  }

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

  .header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: var(--navy-deep);
  }

  .header__cta {
    display: none;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    height: 100dvh;
    padding: 84px 28px 40px;
    z-index: 2;
    border-top: 0;
    background: #0f1c2a;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

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

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
  }

  .header__nav-link {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__nav-link:hover {
    border-color: var(--olive);
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header__nav-extras .header__phone {
    text-align: left;
  }

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

  .header__nav-extras .btn {
    width: 100%;
    white-space: normal;
    font-size: 16px;
    padding: 16px 22px;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 40px) 0;
  }

  .hero__inner {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__content {
    max-width: min(100%, 640px);
    padding: 0 0 40px;
  }

  .hero__visual {
    position: relative;
    width: min(100%, 760px);
    height: auto;
    align-self: center;
    margin: 0 auto;
  }

  .hero__image {
    width: 100%;
    height: auto;
  }

  .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(10, 19, 30, 0.9) 0%,
      rgba(10, 19, 30, 0.7) 55%,
      rgba(10, 19, 30, 0.4) 100%
    );
  }

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

  .intro__figure {
    max-width: 560px;
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    font-size: 17px;
    padding: 16px 26px;
  }
}

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

  body {
    font-size: 16px;
  }

  .header__inner {
    min-height: 84px;
    gap: 14px;
  }

  .header__logo img {
    height: 40px;
  }

  .hero {
    padding: clamp(40px, 8vw, 52px) clamp(16px, 4vw, 24px) 0;
  }

  .hero__content {
    max-width: 100%;
    padding: 0 0 32px;
  }

  .hero__title-line + .hero__title-line {
    white-space: normal;
  }

  .hero__visual {
    position: relative;
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .section__head {
    margin-bottom: 40px;
  }

  .section__title {
    font-size: 36px;
  }

  .intro__title,
  .contact__title {
    font-size: 32px;
  }

  .intro__figure {
    margin: 0 0 20px 20px;
  }

  .intro__figure::before {
    inset: -20px 20px 20px -20px;
  }

  .intro__plaque {
    right: -6px;
    bottom: 24px;
    max-width: 240px;
    padding: 18px 20px;
  }

  .intro__plaque-title {
    font-size: 20px;
  }

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

  .creds__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
    padding: 28px 0;
  }

  .creds__item {
    padding: 6px 12px;
    min-height: 88px;
  }

  .creds__item:nth-child(odd) {
    border-left: 0;
  }

  .creds__image {
    max-height: 72px;
    width: auto;
  }

  .results__item + .results__item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .results__item {
    padding: 36px 4px;
  }

  .testimonial__text {
    font-size: 20px;
  }

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

  .contact__form {
    padding: 36px 22px 40px;
  }

  .contact__form-title {
    font-size: 30px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 34px;
  }

  .footer__nav-list {
    justify-content: flex-start;
  }

  .footer__contact {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero__actions,
  .intro__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta,
  .intro__actions .btn {
    width: 100%;
    white-space: normal;
  }

  .call-inline {
    justify-content: center;
  }
}
