/* ============================================================
   LADIS & BALDWIN LAW GROUP — landing page styles
   ============================================================ */

:root {
  --navy-900: #0a1020;
  --navy-800: #0e1526;
  --navy: #162038;
  --navy-600: #1f2c4a;
  --navy-400: #3c4a68;
  --accent: #b58d2d;
  --accent-soft: #d9bd7a;
  --paper: #f6f5f2;
  --paper-2: #eceae5;
  --ink: #22283a;
  --ink-soft: #4d5568;
  --rule: rgba(22, 32, 56, 0.14);

  --container-max: 1600px;
  --container-pad: 45px;
  --nav-size: 16px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 90px;

  --serif: "Cinzel", Georgia, serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px / 1.68 var(--sans);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

p {
  margin: 0;
}

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

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

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font: 600 20px / 1 var(--sans);
  letter-spacing: 0.01em;
  padding: 19px 38px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  max-width: 100%;
  line-height: 1.35;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.btn--gold {
  background: var(--accent);
  color: #171208;
  border-color: var(--accent);
}

.btn--gold:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.btn--navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-600);
  border-color: var(--navy-600);
}

.btn--sm {
  font-size: 17px;
  padding: 14px 28px;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.header {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 40;
}

.header__overlay {
  display: none;
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
  padding-top: 18px;
  padding-bottom: 18px;
}

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

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

.header__brand-type {
  border-left: 1px solid var(--rule);
  padding-left: 15px;
}

.header__brand-name {
  font: 600 19px / 1 var(--serif);
  color: var(--navy);
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.header__brand-sub {
  display: block;
  margin-top: 6px;
  font: 500 10.5px / 1 var(--sans);
  color: var(--ink-soft);
  letter-spacing: 0.34em;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  z-index: 3;
}

.header__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition:
    transform 0.28s ease,
    opacity 0.28s 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__nav {
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.header__nav-link {
  display: block;
  font: 500 clamp(13px, 1.05vw, var(--nav-size)) / 1 var(--sans);
  color: var(--navy);
  letter-spacing: 0.012em;
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition:
    border-color 0.2s,
    color 0.2s;
  flex-shrink: 0;
}

.header__nav-link:hover,
.header__nav-link[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  flex: 0 0 auto;
  flex-shrink: 0;
}

.header__phone {
  font: 700 clamp(16px, 1.35vw, 21px) / 1 var(--sans);
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.header__phone small {
  display: block;
  font: 500 10.5px / 1 var(--sans);
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  margin-bottom: 5px;
}

.header__cta .btn {
  font-size: clamp(14px, 1.1vw, 17px);
  padding: clamp(10px, 0.9vw, 14px) clamp(16px, 1.6vw, 28px);
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px) 0 0;
  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;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      62% 82% at 73% 58%,
      rgba(72, 96, 150, 0.46) 0%,
      rgba(30, 44, 76, 0.16) 52%,
      rgba(14, 21, 38, 0) 74%
    ),
    linear-gradient(
      100deg,
      rgba(10, 16, 32, 0.96) 0%,
      rgba(10, 16, 32, 0.88) 36%,
      rgba(14, 21, 38, 0.5) 64%,
      rgba(14, 21, 38, 0.3) 100%
    );
}

.hero__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--accent);
  z-index: 3;
}

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

.hero__content {
  position: relative;
  z-index: 2;
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  padding: clamp(12px, 2vw, 24px) clamp(4px, 1.5vw, 16px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font: 600 13px / 1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--accent-soft);
}

.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(38px, 4.05vw, 60px);
  line-height: 1.06;
  color: #fff;
  letter-spacing: 0.004em;
}

.hero__lede {
  margin-top: 24px;
  font-size: 18.5px;
  line-height: 1.72;
  color: rgba(233, 237, 246, 0.9);
  max-width: 57ch;
}

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

.hero__tel {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  font: 700 24px / 1 var(--sans);
  color: #fff;
  letter-spacing: -0.01em;
}

.hero__tel-label {
  font: 500 11px / 1 var(--sans);
  letter-spacing: 0.22em;
  color: var(--accent-soft);
}

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

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

/* ------------------------------------------------------------------ */
/* Accolades                                                           */
/* ------------------------------------------------------------------ */

.accolades {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.accolades__inner {
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 34px 0;
}

.accolades__label {
  flex: 0 0 190px;
  font: 600 12.5px / 1.5 var(--sans);
  letter-spacing: 0.17em;
  color: var(--ink-soft);
  border-right: 1px solid var(--rule);
  padding-right: 30px;
}

.accolades__slots {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 44px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.accolades__badge {
  flex: 0 0 auto;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.accolades__badge:hover {
  opacity: 1;
}

.accolades__badge--mdaf {
  height: 74px;
}

.accolades__badge--ntl {
  height: 64px;
}

.accolades__badge--sl {
  height: 40px;
}

.accolades__badge--aaj {
  height: 56px;
}

/* ------------------------------------------------------------------ */
/* Section shell                                                       */
/* ------------------------------------------------------------------ */

.section {
  padding: 96px 0;
}

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

.section--navy {
  background: var(--navy-800);
  color: #fff;
}

.section__head {
  max-width: 760px;
  margin-bottom: 52px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__title {
  font-size: clamp(29px, 2.7vw, 41px);
  color: var(--navy);
}

.section--navy .section__title {
  color: #fff;
}

.section__title + .section__lede {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.section--navy .section__lede {
  color: rgba(226, 231, 241, 0.82);
}

.section__eyebrow {
  display: block;
  margin-bottom: 16px;
  font: 600 12.5px / 1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--accent);
}

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

/* ------------------------------------------------------------------ */
/* About                                                               */
/* ------------------------------------------------------------------ */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.about__media {
  position: relative;
  aspect-ratio: 5 / 6;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.about__media::after {
  content: "";
  position: absolute;
  left: -16px;
  bottom: -16px;
  width: 118px;
  height: 118px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

.about__title {
  font-size: clamp(30px, 2.8vw, 42px);
  color: var(--navy);
}

.about__sub {
  margin-top: 16px;
  font: 400 21px / 1.5 var(--sans);
  color: var(--navy-600);
}

.about__body {
  margin-top: 26px;
  display: grid;
  gap: 19px;
  color: var(--ink-soft);
  max-width: 64ch;
}

.about__note {
  margin-top: 32px;
  padding: 22px 26px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  font-size: 17px;
  color: var(--ink);
}

.about__actions {
  margin-top: 32px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ */
/* Practice areas                                                      */
/* ------------------------------------------------------------------ */

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

.practice {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: 2px;
  display: block;
  min-height: 330px;
}

.practice__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.practice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 13, 26, 0.9) 6%,
    rgba(8, 13, 26, 0.5) 46%,
    rgba(8, 13, 26, 0.14) 100%
  );
}

.practice__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 28px;
}

.practice__title {
  font-size: 23px;
  color: #fff;
  line-height: 1.2;
}

.practice__link {
  margin-top: 14px;
  font: 600 14px / 1 var(--sans);
  letter-spacing: 0.13em;
  color: var(--accent-soft);
}

.practice:hover .practice__image {
  transform: scale(1.055);
}

.practice--mark {
  background: linear-gradient(160deg, var(--navy-600) 0%, var(--navy-900) 88%);
}

.practice--mark::after {
  background: linear-gradient(
    to top,
    rgba(8, 13, 26, 0.82) 6%,
    rgba(8, 13, 26, 0.22) 54%,
    rgba(8, 13, 26, 0) 100%
  );
}

.practice__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 74%;
  transform: translate(-52%, -56%);
  opacity: 0.17;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.practice:hover .practice__watermark {
  transform: translate(-52%, -56%) scale(1.055);
}

.practice-more {
  margin-top: 40px;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Case results                                                        */
/* ------------------------------------------------------------------ */

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

.result {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--accent);
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
}

.result__verdict {
  font: 600 21px / 1.22 var(--serif);
  color: var(--accent-soft);
}

.result__charge {
  margin-top: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font: 500 14px / 1.45 var(--sans);
  letter-spacing: 0.09em;
  color: rgba(226, 231, 241, 0.72);
}

.result__text {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(226, 231, 241, 0.9);
  flex: 1 1 auto;
}

.result__more {
  margin-top: 20px;
  font: 600 13.5px / 1 var(--sans);
  letter-spacing: 0.13em;
  color: #fff;
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
  padding-bottom: 5px;
}

/* ------------------------------------------------------------------ */
/* Values                                                              */
/* ------------------------------------------------------------------ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}

.value {
  padding: 44px 42px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.value:first-child {
  border-left: 1px solid var(--rule);
}

.value__rule {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border: 0;
  margin: 0;
}

.value__title {
  margin-top: 22px;
  font-size: 23px;
  color: var(--navy);
  line-height: 1.26;
}

.value__text {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16.5px;
}

/* ------------------------------------------------------------------ */
/* Review                                                              */
/* ------------------------------------------------------------------ */

.review {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.review__mark {
  font: 700 118px / 0.62 var(--serif);
  color: var(--accent);
  opacity: 0.9;
}

.review__heading {
  margin-top: 8px;
  font-size: 34px;
  color: var(--navy);
}

.review__quote {
  font: 400 italic 25px / 1.56 var(--sans);
  color: var(--navy);
  max-width: 34ch;
}

.review__body {
  margin-top: 24px;
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.review__who {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font: 600 16px / 1 var(--sans);
  letter-spacing: 0.1em;
  color: var(--navy);
}

.review__who-meta {
  display: block;
  margin-top: 9px;
  font: 400 14px / 1 var(--sans);
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ */
/* Contact                                                             */
/* ------------------------------------------------------------------ */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 76px;
  align-items: start;
}

.contact__title {
  font-size: clamp(29px, 2.7vw, 40px);
  color: #fff;
}

.contact__lede {
  margin-top: 20px;
  color: rgba(226, 231, 241, 0.85);
  max-width: 46ch;
}

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

.contact__meta-label {
  font: 600 12px / 1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 9px;
}

.contact__meta-value {
  margin: 0;
  font-size: 18px;
  color: #fff;
  line-height: 1.62;
  white-space: pre-line;
}

.contact__meta-value a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.form {
  background: #fff;
  padding: 44px 42px;
  border-radius: 2px;
  border-top: 4px solid var(--accent);
}

.form__title {
  font-size: 24px;
  color: var(--navy);
}

.form__grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__field {
  display: flex;
  flex-direction: column;
}

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

.form__label {
  font: 600 12.5px / 1 var(--sans);
  letter-spacing: 0.11em;
  color: var(--ink-soft);
  margin-bottom: 9px;
}

.form__input,
.form__select {
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font: 400 16px / 40px var(--sans);
  color: var(--ink);
  background: #fff;
}

.form__select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 17px,
    calc(100% - 13px) 17px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.form__textarea {
  height: 120px;
  min-height: 120px;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font: 400 16px / 1.55 var(--sans);
  color: var(--ink);
  resize: vertical;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--navy);
  outline: 2px solid rgba(181, 141, 45, 0.35);
  outline-offset: 1px;
}

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

.form__fine {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.footer {
  background: var(--navy-900);
  color: rgba(226, 231, 241, 0.76);
  padding: 70px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 64px;
  align-items: start;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

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

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer__nav-link {
  font: 500 16px / 1 var(--sans);
  color: rgba(226, 231, 241, 0.82);
}

.footer__nav-link:hover {
  color: var(--accent-soft);
}

.footer__addr {
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.72;
  white-space: pre-line;
}

.footer__phone {
  font: 700 26px / 1 var(--sans);
  color: #fff;
  letter-spacing: -0.01em;
}

.footer__phone small {
  display: block;
  font: 500 11px / 1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  margin-bottom: 9px;
}

.footer__cta {
  margin-top: 22px;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 0 34px;
  font-size: 14px;
  color: rgba(226, 231, 241, 0.5);
}

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */

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

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero__content > * {
  animation: rise 0.75s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

.hero__content > *:nth-child(1) {
  animation-delay: 0.05s;
}

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

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

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

.hero__image {
  animation: fadein 0.95s ease 0.18s backwards;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1500px) {
  .header__inner {
    gap: 24px;
  }
}

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

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

  .about,
  .contact {
    gap: 48px;
  }
}

@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(10, 16, 32, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }

  .header.is-open .header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

  .header__toggle {
    display: inline-flex;
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: #fff;
    box-shadow: 0 2px 12px rgba(10, 16, 32, 0.12);
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    margin: 0;
    padding: 84px 28px 40px;
    background: #fff;
    z-index: 2;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.3s ease,
      visibility 0.3s ease;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(10, 16, 32, 0.12);
  }

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

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__nav-link {
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
  }

  .header__nav-link:hover,
  .header__nav-link[aria-current="page"] {
    border-bottom-color: var(--rule);
    color: var(--accent);
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
  }

  .header__cta {
    display: none;
  }

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

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

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

  .review {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .review__mark {
    font-size: 96px;
  }

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

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

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(32px, 5vw, 48px) 0 0;
  }

  .hero__inner {
    height: auto;
    display: block;
  }

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

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: 320px;
    justify-content: center;
  }

  .hero__image {
    height: auto;
    max-height: 430px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

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

  .accolades__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .accolades__label {
    flex: none;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 0 0 16px;
    text-align: center;
  }

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

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: clamp(28px, 5vw, 40px) 0 0;
  }

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

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

  .container {
    width: 100%;
  }

  body {
    font-size: 16px;
  }

  .header__brand-sub {
    letter-spacing: 0.24em;
    font-size: 9.5px;
  }

  .header__brand-name {
    font-size: 16px;
  }

  .header__logo {
    height: 38px;
  }

  .hero__title {
    font-size: clamp(30px, 8.2vw, 40px);
  }

  .hero__lede {
    font-size: 17px;
  }

  .hero__actions {
    gap: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__tel {
    font-size: 24px;
  }

  .btn {
    font-size: 18px;
    padding: 16px 28px;
    width: 100%;
  }

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

  .form {
    padding: 30px 22px;
  }

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

  .about__media::after {
    display: none;
  }

  .footer__logo {
    height: 118px;
  }
}
