/* Jim Ross Law Group — landing page */

@font-face {
  font-family: "Young Serif";
  src: url("../assets/fonts/young-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Sans";
  src: url("../assets/fonts/sofia-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Sans";
  src: url("../assets/fonts/sofia-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Sans";
  src: url("../assets/fonts/sofia-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Sans";
  src: url("../assets/fonts/sofia-sans-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Sans Condensed";
  src: url("../assets/fonts/sofia-sans-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Sans Condensed";
  src: url("../assets/fonts/sofia-sans-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #101820;
  --ink-2: #16212b;
  --ink-3: #1e2a36;
  --line-dk: rgba(214, 219, 223, 0.16);
  --crimson: #882030;
  --crimson-dk: #6e1826;
  --crimson-hi: #c8485a;
  --steel: #7a8289;
  --steel-lt: #b9c0c6;
  --mist: #d6dbdf;
  --paper: #f2f4f5;
  --white: #ffffff;
  --text: #2a333c;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Sofia Sans", "Segoe UI", Arial, sans-serif;
  --cond: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --container-max: 1320px;
  --container-pad: clamp(16px, 3vw, 45px);
  --nav-breakpoint: 1200px;
  --site-chrome-height: 104px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

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

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

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

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

.btn--primary {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 10px 26px -12px rgba(136, 32, 48, 0.9);
}

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

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--header {
  padding: 15px 28px;
  font-size: clamp(14px, 1.15vw, 18px);
}

/* ---------- Utility bar ---------- */

.utility-bar {
  height: 4px;
  background: var(--crimson);
}

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

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

.header__overlay {
  display: none;
}

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

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

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

.header__nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
}

.header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.header__nav-link {
  display: block;
  font-family: var(--sans);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--mist);
  text-decoration: none;
  padding: 12px clamp(8px, 0.9vw, 14px);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: clamp(8px, 0.9vw, 14px);
  right: clamp(8px, 0.9vw, 14px);
  bottom: 2px;
  height: 3px;
  background: var(--crimson-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.header__nav-link:hover::after,
.header__nav-link[aria-current]::after {
  transform: scaleX(1);
}

.header__nav-link[aria-current] {
  color: var(--white);
}

.header__nav-extras {
  display: none;
}

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

.header__call {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  flex: 0 0 auto;
  flex-shrink: 0;
}

.header__call-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 72, 90, 0.7);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.header__call-icon svg {
  width: 20px;
  height: 20px;
}

.header__call-text small {
  display: block;
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.06em;
  color: var(--steel-lt);
  line-height: 1.1;
}

.header__call-text strong {
  display: block;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.header__toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 4;
}

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

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

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

.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  background: var(--ink) url("../assets/images/bg-hero.webp") center / cover no-repeat;
  isolation: isolate;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(16, 24, 32, 0.96) 0%,
    rgba(16, 24, 32, 0.86) 38%,
    rgba(16, 24, 32, 0.45) 70%,
    rgba(16, 24, 32, 0.35) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: 2;
  background: linear-gradient(0deg, rgba(16, 24, 32, 0.85), transparent);
  pointer-events: none;
}

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

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

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 21px);
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 22px;
}

.hero__eyebrow::before {
  content: "";
  width: 46px;
  height: 3px;
  background: var(--crimson-hi);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--serif);
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
}

.hero__title-line {
  display: block;
  font-size: clamp(44px, 4.6vw, 70px);
}

.hero__title-line--accent {
  display: flex;
  align-items: baseline;
  gap: 0.22em;
  margin-top: 0.06em;
}

.hero__title-in {
  font-size: clamp(34px, 3.3vw, 50px);
  text-transform: none;
  color: var(--steel-lt);
}

.hero__title-dfw {
  font-size: clamp(96px, 10.4vw, 160px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  letter-spacing: 0.03em;
}

.hero__lede {
  font-size: 21px;
  line-height: 1.45;
  color: var(--mist);
  margin: 26px 0 34px;
  max-width: 30ch;
}

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

.hero__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero__phone svg {
  width: 22px;
  height: 22px;
  color: var(--crimson-hi);
  flex-shrink: 0;
}

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

.hero__star {
  position: absolute;
  z-index: 0;
  width: auto;
  height: 112%;
  aspect-ratio: 1;
  top: -1%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--steel-lt);
  opacity: 0.55;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 18%;
  width: 78%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(136, 32, 48, 0.55), rgba(136, 32, 48, 0));
}

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

.hero__nameplate {
  position: absolute;
  z-index: 3;
  right: clamp(12px, 3vw, 40px);
  bottom: 46px;
  background: rgba(16, 24, 32, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-left: 3px solid var(--crimson-hi);
  padding: 14px 22px 14px 18px;
  color: var(--white);
  pointer-events: auto;
}

.hero__nameplate b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
}

.hero__nameplate span {
  display: block;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--steel-lt);
  margin-top: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__star path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.8s 0.1s cubic-bezier(0.6, 0, 0.2, 1) forwards;
  }

  .hero__image {
    animation: rise 0.9s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__content > * {
    animation: fade 0.7s both;
  }

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

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

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

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

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

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

.creds {
  background: var(--ink-2);
  border-top: 1px solid var(--line-dk);
}

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

.creds__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 26px 20px;
  border-left: 1px solid var(--line-dk);
}

.creds__item:first-child {
  border-left: 0;
}

.creds__item img {
  height: auto;
  max-width: 100%;
  opacity: 0.92;
}

/* ---------- Sections ---------- */

.section {
  padding: 120px 0;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(34px, 3.3vw, 50px);
  line-height: 1.12;
  color: var(--ink);
}

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

.section__rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--crimson);
  margin: 24px 0 28px;
}

.section__rule--light {
  background: var(--crimson-hi);
}

.text-call {
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--crimson);
  padding-bottom: 2px;
}

.link {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--crimson);
  padding-bottom: 2px;
}

.link--light {
  color: var(--white);
  border-bottom-color: var(--crimson-hi);
}

.link--light:hover {
  color: var(--crimson-hi);
}

/* ---------- Intro ---------- */

.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 90px;
  align-items: center;
}

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

.intro__figure::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--crimson);
  z-index: 0;
}

.intro__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 900 / 1040;
  object-fit: cover;
}

.intro__stamp {
  position: absolute;
  z-index: 2;
  left: -1px;
  bottom: 44px;
  background: var(--ink);
  color: var(--white);
  padding: 22px 26px;
  max-width: 260px;
}

.intro__stamp b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
}

.intro__stamp span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--steel-lt);
}

.intro__content p {
  margin: 0 0 20px;
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.75;
}

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

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

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

.practice__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.practice__head .section__rule {
  margin-bottom: 0;
}

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

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

.practice__card img {
  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(16, 24, 32, 0) 38%, rgba(16, 24, 32, 0.92) 100%);
}

.practice__bar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 64px;
  height: 5px;
  background: var(--crimson);
  transition: width 0.35s;
}

.practice__cap {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.practice__name {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}

.practice__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 16px;
  color: var(--mist);
}

.practice__more i {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--crimson-hi);
  transition: width 0.3s;
}

.practice__card:hover img,
.practice__card:focus-visible img {
  transform: scale(1.05);
}

.practice__card:hover .practice__bar,
.practice__card:focus-visible .practice__bar {
  width: 100%;
}

.practice__card:hover .practice__more i {
  width: 36px;
}

/* ---------- Results ---------- */

.results {
  position: relative;
  background: var(--ink) url("../assets/images/bg-results.webp") center 35% / cover no-repeat;
  color: var(--white);
  isolation: isolate;
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.96));
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dk);
  margin-top: 10px;
}

.results__item {
  padding: 44px 34px 10px;
  border-left: 1px solid var(--line-dk);
}

.results__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.results__amount {
  font-family: var(--serif);
  font-size: clamp(38px, 3.4vw, 54px);
  line-height: 1;
  letter-spacing: 0.005em;
}

.results__item p {
  margin: 16px 0 22px;
  color: var(--mist);
  font-size: 17px;
  line-height: 1.5;
  min-height: 3em;
}

.results__fine {
  font-size: 13px;
  color: var(--steel-lt);
  margin-top: 56px;
}

/* ---------- Why ---------- */

.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 90px;
  align-items: center;
}

.why__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid #dde1e4;
}

.why__value {
  padding: 34px 34px 34px 0;
  border-bottom: 1px solid #dde1e4;
}

.why__value:nth-child(even) {
  padding-left: 34px;
  padding-right: 0;
  border-left: 1px solid #dde1e4;
}

.why__value svg {
  width: 36px;
  height: 36px;
  color: var(--crimson);
}

.why__value h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.15;
  color: var(--ink);
  margin: 18px 0 10px;
}

.why__value p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.6;
}

.why__media {
  position: relative;
  z-index: 0;
  margin: 22px 0 0 22px;
}

.why__media img {
  width: 100%;
  aspect-ratio: 880 / 1100;
  object-fit: cover;
}

.why__media::after {
  content: "";
  position: absolute;
  inset: -22px 22px 22px -22px;
  border: 2px solid var(--steel);
  z-index: -1;
}

/* ---------- Testimonial ---------- */

.testimonial {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonial__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: 600px;
}

.testimonial__content {
  padding: 110px 70px 110px 0;
  position: relative;
  z-index: 2;
}

.testimonial__stars {
  display: flex;
  gap: 6px;
  color: var(--crimson-hi);
  margin-bottom: 22px;
}

.testimonial__stars svg {
  width: 22px;
  height: 22px;
}

.testimonial__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.45;
  max-width: 36ch;
}

.testimonial__cite {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-style: normal;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.testimonial__cite::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--crimson-hi);
}

.testimonial__image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 46%;
  background: url("../assets/images/bg-testimonial.webp") center / cover;
}

.testimonial__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(16, 24, 32, 0.3) 45%, rgba(16, 24, 32, 0.15) 100%);
}

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

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

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 90px;
  align-items: start;
}

.contact__info p {
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 30px;
}

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

.contact__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__detail svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--crimson);
  margin-top: 4px;
}

.contact__detail small {
  display: block;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.contact__detail b,
.contact__detail a {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.4;
}

.contact__phone {
  font-size: 24px;
  font-weight: 800;
}

.form {
  background: var(--white);
  padding: 48px;
  border-top: 5px solid var(--crimson);
  box-shadow: 0 30px 60px -36px rgba(16, 24, 32, 0.45);
}

.form__title {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 6px;
}

.form__sub {
  font-size: 16px;
  color: var(--steel);
  margin: 0 0 28px;
}

.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-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.form__field input,
.form__field select,
.form__field textarea {
  height: 40px;
  width: 100%;
  border: 1px solid #c9cfd4;
  border-radius: 4px;
  background: #fafbfb;
  padding: 0 14px;
  font: 16px var(--sans);
  color: var(--ink);
}

.form__field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 17px, calc(100% - 15px) 17px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.form__field textarea {
  height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(136, 32, 48, 0.15);
  background: #fff;
}

.form .btn {
  margin-top: 26px;
  border: 0;
}

.form__legal {
  font-size: 13px;
  color: var(--steel);
  margin: 18px 0 0;
}

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

.footer {
  background: var(--ink) url("../assets/images/bg-footer.webp") center / cover;
  color: var(--mist);
  position: relative;
  isolation: isolate;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.9);
  z-index: -1;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 60px;
  padding: 90px 0 70px;
}

.footer__logo img {
  width: 300px;
  height: auto;
  max-width: 100%;
}

.footer__brand p {
  margin: 24px 0 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--steel-lt);
}

.footer__heading {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  color: var(--white);
}

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

.footer__list a {
  color: var(--mist);
  text-decoration: none;
  font-size: 16px;
}

.footer__list a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--crimson-hi);
  text-underline-offset: 4px;
}

.footer__address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
}

.footer__phone {
  display: inline-block;
  margin-top: 14px;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.footer__legal {
  border-top: 1px solid var(--line-dk);
  padding: 26px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--steel-lt);
}

.footer__legal p {
  margin: 0;
  max-width: 90ch;
}

/* ---------- Progressive header scaling (before hamburger) ---------- */

@media (max-width: 1520px) {
  .header__cta .header__call-icon {
    display: none;
  }
}

@media (max-width: 1360px) {
  .header__nav-link {
    font-size: 13px;
    padding-inline: 8px;
  }

  .btn--header {
    padding: 13px 20px;
    font-size: 14px;
  }

  .header__call-text strong {
    font-size: 18px;
  }
}

/* ---------- Mobile nav ≤ 1200px ---------- */

@media (max-width: 1200px) {
  .header__overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(16, 24, 32, 0.55);
  }

  .header__overlay[hidden] {
    display: none;
  }

  .header__inner {
    z-index: 2;
    min-height: 86px;
  }

  .header__cta {
    display: none;
  }

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

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 84px 28px 40px;
    background: var(--ink-2);
    border-left: 1px solid var(--line-dk);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    z-index: 2;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

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

  .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(--line-dk);
  }

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
  }

  .header__nav-extras .header__call {
    width: 100%;
  }

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

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

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

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

  .creds__item:nth-child(n + 3) {
    border-top: 1px solid var(--line-dk);
  }

  .intro__inner,
  .why__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .why__media {
    order: -1;
  }

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

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

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

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

  .testimonial__image {
    width: 100%;
    opacity: 0.22;
  }

  .testimonial__content {
    padding: 90px 0;
  }

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

  .practice__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(28px, 5vw, 40px) clamp(16px, 4vw, 28px) 0;
    display: flex;
    flex-direction: column;
  }

  .hero__inner {
    height: auto;
    flex: 0 0 auto;
    align-items: flex-start;
    padding-top: 12px;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: min(520px, 70vw);
    margin-top: 24px;
  }

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

  .hero__nameplate {
    right: auto;
    left: 0;
    bottom: 24px;
  }

  .hero__eyebrow {
    font-size: 16px;
    letter-spacing: 0.08em;
    gap: 10px;
  }

  .hero__eyebrow::before {
    width: 26px;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header__logo img {
    width: 150px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__phone {
    justify-content: center;
    font-size: 20px;
  }

  .hero__visual {
    height: 440px;
  }

  .creds__item {
    min-height: 120px;
    padding: 20px 10px;
  }

  .creds__item img {
    transform: scale(0.8);
  }

  .section {
    padding: 84px 0;
  }

  .practice__grid,
  .results__grid,
  .why__values,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .results__item {
    border-left: 0;
    padding-left: 0;
    border-bottom: 1px solid var(--line-dk);
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .why__value,
  .why__value:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }

  .intro__stamp {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
  }

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

  .form {
    padding: 30px 22px;
  }

  .why__media::after {
    inset: -14px 14px 14px -14px;
  }
}
