/* ============================================================
   CHATHAM GILDER HOWELL PITTMAN — homepage
   ============================================================ */
:root {
  --ink: #0b1a2e;
  --ink-2: #102542;
  --navy: #16345c;
  --navy-soft: #24507f;
  --brass: #b8892f;
  --brass-lt: #ddb158;
  --brass-pale: #f0e2c4;
  --paper: #f3f1ec;
  --paper-2: #faf9f6;
  --line: #e3ded4;
  --body: #3d4655;
  --white: #fff;
  --container-max: 1320px;
  --pad: 45px;
  --site-chrome-height: 148px;
  --nav-breakpoint: 1200px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

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

p {
  margin: 0 0 1.15em;
}

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

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

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

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::after {
  content: "";
  flex: 0 0 54px;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}

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

.eyebrow--center::before {
  content: "";
  flex: 0 0 54px;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}

.eyebrow--light {
  color: var(--brass-lt);
}

.eyebrow--light::after,
.eyebrow--light::before {
  background: var(--brass-lt);
}

.heading {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.heading--xl {
  font-size: 60px;
}

.heading--lg {
  font-size: 46px;
}

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

.lede {
  font-size: 17px;
  line-height: 1.7;
}

.rule {
  width: 70px;
  height: 3px;
  background: var(--brass);
  margin: 16px 0 15px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  white-space: nowrap;
  line-height: 1;
  max-width: 100%;
}

.btn--brass {
  background: var(--brass);
  color: #1a1204;
  border-color: var(--brass);
}

.btn--brass:hover {
  background: var(--brass-lt);
  border-color: var(--brass-lt);
  transform: translateY(-2px);
}

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

.btn--navy:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

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

/* ---------- utility bar ---------- */
.utility {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.utility__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}

.utility__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.utility__list span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.utility em {
  font-style: normal;
  color: var(--brass-lt);
}

/* ---------- header ---------- */
.header {
  background: var(--ink);
  position: relative;
  z-index: 40;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 30px);
  min-height: 104px;
}

.header__logo {
  flex-shrink: 0;
  width: 235px;
}

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

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}

.header__nav-link {
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brass);
  transition: right 0.3s ease;
}

.header__nav-link:hover::after,
.header__nav-link[aria-current]::after {
  right: 0;
}

.header__cta {
  flex-shrink: 0;
}

.header__cta .btn--sm {
  font-size: clamp(13px, 1.05vw, 16px);
  padding: clamp(10px, 1vw, 12px) clamp(16px, 1.6vw, 26px);
}

.header__nav-extras {
  display: none;
}

.header__nav-close {
  display: none;
}

.header__overlay {
  display: none;
}

.header__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 9px 12px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 50;
}

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

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

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

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 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;
  background: url("../assets/images/bg-hero.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    97deg,
    rgba(8, 17, 30, 0.97) 0%,
    rgba(9, 20, 36, 0.94) 40%,
    rgba(11, 26, 46, 0.66) 62%,
    rgba(13, 30, 52, 0.3) 100%
  );
}

.hero__glow {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 52%;
  height: 78%;
  z-index: 0;
  background: radial-gradient(
    ellipse at 60% 78%,
    rgba(88, 124, 176, 0.42) 0%,
    rgba(11, 26, 46, 0) 66%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: clamp(8px, 1.5vw, 20px);
  padding-right: clamp(8px, 1.5vw, 20px);
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 545px);
  max-width: 55%;
  padding: clamp(12px, 2vw, 24px) 0 0;
}

.hero .heading--xl {
  color: var(--white);
  font-size: clamp(40px, 4.2vw, 54px);
  letter-spacing: 0.01em;
}

.hero__subtitle {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.26;
  color: var(--brass-lt);
  letter-spacing: 0.01em;
  margin: 0;
}

.hero__text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.62;
  margin-top: 17px;
  max-width: 545px;
}

.hero__est {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-lt);
  display: inline-block;
  border: 1px solid rgba(221, 177, 88, 0.45);
  padding: 6px 14px 5px;
  margin-bottom: 16px;
}

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

.hero__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.03em;
}

.hero__phone svg {
  flex: 0 0 auto;
}

.hero__phone small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--brass-lt);
  font-weight: 500;
  text-transform: uppercase;
}

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

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

/* ---------- accolades ---------- */
.accolades {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.accolades__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.accolades__label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  flex: 0 0 auto;
  max-width: 250px;
  line-height: 1.45;
  border-left: 3px solid var(--brass);
  padding-left: 16px;
}

.accolades__slots {
  display: flex;
  align-items: center;
  gap: 30px 52px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

.accolades__slots li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge {
  width: auto;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.badge:hover {
  opacity: 1;
}

.badge--seal {
  height: 84px;
}

.badge--ntl {
  height: 70px;
}

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

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

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

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

.section--tight {
  padding: 70px 0;
}

.section__head {
  max-width: 760px;
}

.section__head--center {
  margin: 0 auto 52px;
  text-align: center;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section__head--center .eyebrow::before {
  content: "";
  flex: 0 0 54px;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}

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

.about__media {
  position: relative;
  margin: 0;
}

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

.about__media::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 120px;
  height: 120px;
  border-left: 3px solid var(--brass);
  border-top: 3px solid var(--brass);
}

.about__media::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 120px;
  height: 120px;
  border-right: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
}

.about__callout {
  border-left: 4px solid var(--brass);
  background: var(--paper-2);
  padding: 22px 26px;
  margin: 26px 0 30px;
  font-size: 16.5px;
  color: var(--ink-2);
}

.about__callout a {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid rgba(22, 52, 92, 0.35);
}

.about__callout a:hover {
  color: var(--brass);
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(11, 26, 46, 0.14);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__media img {
  transform: scale(1.055);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 46, 0) 45%,
    rgba(11, 26, 46, 0.55) 100%
  );
}

.card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.card__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.06;
}

.card__link {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.card__link i {
  width: 26px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
  transition: width 0.3s ease;
}

.card:hover .card__link i {
  width: 42px;
}

.card__no {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--brass);
}

/* ---------- case results ---------- */
.case-results {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.case-results__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-results.jpg") center / cover no-repeat;
  opacity: 0.5;
}

.case-results__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 30, 0.86), rgba(8, 17, 30, 0.94));
}

.case-results__inner {
  position: relative;
  z-index: 2;
  padding: 88px 0;
}

.case-results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.case-result {
  padding: 38px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.case-result:first-child {
  padding-left: 0;
}

.case-result:last-child {
  border-right: none;
}

.case-result__amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  color: var(--brass-lt);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.case-result__kind {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 12px;
  min-height: 46px;
}

.case-result__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.case-result__link i {
  width: 26px;
  height: 1px;
  background: var(--brass-lt);
  transition: width 0.3s ease;
}

.case-result__link:hover i {
  width: 44px;
}

/* ---------- why choose us ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 60px;
  align-items: center;
}

.why__media {
  position: relative;
  margin: 0;
}

.why__media img {
  width: 100%;
  height: auto;
}

.why__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--brass);
  color: #1a1204;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
}

.why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 40px;
  margin-top: 34px;
}

.why__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  min-height: 52px;
  color: var(--ink);
  line-height: 1.06;
}

.why__no {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--brass);
  display: block;
  margin-bottom: 8px;
}

.why__link {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
}

.why__link:hover {
  color: var(--brass);
}

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

.testimonial__quote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.34;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.testimonial__stars {
  color: var(--brass);
  letter-spacing: 0.32em;
  font-size: 20px;
  margin: 0 0 22px;
}

.testimonial__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 28px;
}

.testimonial__name::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--brass);
  margin: 0 auto 18px;
}

/* ---------- contact ---------- */
.contact {
  background: var(--ink-2);
  color: #fff;
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
  padding: 84px 0;
}

.contact__text {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 18px;
}

.contact__phone-link {
  color: var(--brass-lt);
  font-weight: 600;
}

.contact__offices {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.office__title {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0 0 8px;
  font-weight: 700;
}

.office__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.form {
  background: #fff;
  padding: 38px 38px 42px;
  border-top: 4px solid var(--brass);
}

.form__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--ink);
  line-height: 1.06;
}

.form__note {
  font-size: 14.5px;
  color: #6b7280;
  margin-bottom: 24px;
}

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

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

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

.form__field label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--text);
  font-size: 16px;
  color: var(--ink);
  background: #f7f7f5;
  border: 1px solid #d8d4cb;
  border-radius: 2px;
  padding: 0 14px;
  height: 40px;
  width: 100%;
}

.form__field textarea {
  height: 120px;
  padding: 11px 14px;
  resize: vertical;
  line-height: 1.5;
}

.form__field 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;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--brass);
  background: #fff;
  outline: none;
}

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

.form__legal {
  font-size: 12.5px;
  color: #8a8577;
  margin-top: 16px;
  line-height: 1.5;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15.5px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 56px;
  padding: 66px 0 46px;
}

.footer__logo {
  width: 330px;
  max-width: 100%;
  margin-bottom: 22px;
}

.footer__heading {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 700;
}

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

.footer__list a:hover {
  color: var(--brass-lt);
}

.footer__phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 6px;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__disclaimer {
  max-width: 900px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  padding-bottom: 26px;
}

/* ---------- responsive ---------- */
@media (min-width: 1600px) {
  .hero .heading--xl {
    font-size: 60px;
  }

  .hero__content {
    max-width: 620px;
    width: 42%;
  }

  .hero__text {
    max-width: 600px;
    font-size: 17px;
  }
}

@media (max-width: 1340px) {
  .hero__content {
    width: 46%;
    max-width: 500px;
  }

  .hero__text {
    max-width: 500px;
  }

  .case-result__amt {
    font-size: 48px;
  }
}

/* Nav hamburger breakpoint — 1200px */
@media (max-width: 1200px) {
  .header__toggle {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 17, 30, 0.62);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 45;
  }

  .header__overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    background: var(--ink-2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 72px 28px 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 50;
    overflow-y: auto;
  }

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

  .header__nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

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

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header__nav-phone {
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.03em;
    color: var(--white);
  }

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

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

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

  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(28px, 5vw, 48px) clamp(16px, 3vw, 28px) 0;
  }

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

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

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

  .hero__image {
    height: auto;
    width: min(100%, 560px);
    max-height: 62vh;
    margin: 0 auto;
  }

  .hero__glow {
    display: none;
  }

  .heading--xl {
    font-size: 46px;
  }

  .heading--lg {
    font-size: 38px;
  }

  .about,
  .why,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about__media {
    order: -1;
  }

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

  .case-results__grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .case-result {
    padding: 30px 0;
    border-right: none;
  }

  .case-result:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .accolades__label {
    max-width: none;
    flex: 1 1 100%;
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    font-size: 17px;
    padding: 14px 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: clamp(32px, 6vw, 48px) clamp(18px, 4vw, 28px) 0;
  }

  .hero__content {
    max-width: 100%;
    padding: clamp(16px, 3vw, 28px) clamp(4px, 1vw, 12px) 12px;
  }
}

@media (max-width: 680px) {
  :root {
    --pad: 22px;
  }

  body {
    font-size: 16px;
  }

  .badge--seal {
    height: 66px;
  }

  .badge--ntl {
    height: 56px;
  }

  .badge--sl {
    height: 32px;
  }

  .badge--aaj {
    height: 45px;
  }

  .hero__actions {
    gap: 16px;
  }

  .hero__phone {
    font-size: 22px;
  }

  .utility__row {
    min-height: 0;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .utility__list {
    gap: 16px;
    flex-wrap: wrap;
  }

  .utility__list:last-child span:first-child {
    display: none;
  }

  .header__inner {
    min-height: 82px;
  }

  .hero .heading--xl {
    font-size: 38px;
  }

  .hero__subtitle {
    font-size: 21px;
  }

  .heading--lg {
    font-size: 31px;
  }

  .section {
    padding: 58px 0;
  }

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

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

  .testimonial__quote {
    font-size: 23px;
  }

  .form {
    padding: 26px 22px 30px;
  }

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

  .case-result__amt {
    font-size: 42px;
  }

  .about__media::before,
  .about__media::after {
    display: none;
  }
}

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

  .hero__actions .btn {
    width: 100%;
  }

  .badge--seal {
    height: 66px;
  }

  .badge--ntl {
    height: 56px;
  }

  .badge--sl {
    height: 32px;
  }

  .badge--aaj {
    height: 45px;
  }
}

@media (max-width: 1200px) and (min-width: 681px) {
  .badge--seal {
    height: 74px;
  }

  .badge--ntl {
    height: 62px;
  }

  .badge--sl {
    height: 35px;
  }

  .badge--aaj {
    height: 49px;
  }
}

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