/* ============================================================
   THE GREENWOOD LAW FIRM — homepage
   Leaders Marketing / prospect Row 153
   Palette: navy #0A3358, teal #13B199
   Type: Newsreader (display) + Chivo (UI/body)
   ============================================================ */

:root {
  --navy-900: #06243F;
  --navy: #0A3358;
  --navy-600: #14507F;
  --teal: #13B199;
  --teal-700: #0D8672;
  --paper: #F2F5F6;
  --ink: #16232F;
  --muted: #5E6E7B;
  --line: #DCE4E8;
  --display: "Newsreader", Georgia, serif;
  --ui: "Chivo", "Helvetica Neue", Arial, sans-serif;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 150px;
  --pad: clamp(20px, 3.2vw, 45px);
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - (var(--pad) * 2), var(--container-max));
  margin-inline: auto;
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--teal);
  flex: none;
}

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

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

.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 22px;
}

.section__title em {
  font-style: italic;
  color: var(--teal-700);
}

.section__lede {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 26px;
  max-width: 62ch;
}

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

.btn--teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(19, 177, 153, 0.7);
}

.btn--teal:hover {
  background: var(--teal-700);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

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

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

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

.btn--sm {
  font-size: 16px;
  padding: 14px 30px;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* ---------- utility bar ---------- */
.utility {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 46px;
}

.utility__left,
.utility__right {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}

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

.utility__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.utility a:hover {
  color: #fff;
}

.utility__phone {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}

/* ---------- header ---------- */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
}

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

.header__brand {
  flex-shrink: 0;
}

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

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 2.4vw, 40px);
  margin-left: auto;
}

.header__nav-panel {
  display: contents;
}

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

.header__nav-link {
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  flex-shrink: 0;
}

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

.header__nav-link:hover::after,
.header__nav-link--active::after {
  right: 0;
}

.header__cta {
  flex-shrink: 0;
  font-size: clamp(13px, 1.05vw, 16px);
  padding: clamp(11px, 1vw, 14px) clamp(18px, 1.8vw, 30px);
}

.header__nav-extras {
  display: none;
}

.header__burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  position: relative;
  z-index: 60;
}

.header__burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: background 0.25s ease;
}

.header__burger-line::before,
.header__burger-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, top 0.25s ease;
}

.header__burger-line::before {
  top: -6px;
}

.header__burger-line::after {
  top: 6px;
}

.header__burger[aria-expanded="true"] .header__burger-line {
  background: transparent;
}

.header__burger[aria-expanded="true"] .header__burger-line::before {
  top: 0;
  transform: rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-line::after {
  top: 0;
  transform: rotate(-45deg);
}

.header__overlay {
  display: none;
  position: fixed;
  top: var(--site-chrome-height);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(6, 36, 63, 0.55);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.header__overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 36, 63, 0.94) 0%,
    rgba(8, 42, 72, 0.86) 38%,
    rgba(10, 51, 88, 0.42) 66%,
    rgba(10, 51, 88, 0.28) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 22%, rgba(19, 177, 153, 0) 60%);
  z-index: 4;
}

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

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

.hero__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero__kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--teal);
  flex: none;
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero__title-line {
  display: block;
}

.hero__heading {
  font-family: var(--ui);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 21px);
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.005em;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  margin: 0 0 30px;
  max-width: 52ch;
}

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

.hero__phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}

.hero__phone-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero__phone-link {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero__phone-link:hover {
  color: var(--teal);
}

.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: 2;
}

.hero__visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(460px, 90%);
  height: min(460px, 90%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, rgba(19, 177, 153, 0.34) 0%, rgba(19, 177, 153, 0) 68%);
}

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

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

.accolades__inner {
  padding-top: 38px;
  padding-bottom: 38px;
}

.accolades__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 26px;
}

.accolades__row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.accolades__item {
  flex: 1 1 0;
  min-width: 0;
  padding: 4px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
}

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

.accolades__image {
  width: auto;
  max-width: 100%;
  opacity: 0.72;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.accolades__item:hover .accolades__image {
  opacity: 1;
  transform: translateY(-2px);
}

.accolades__item--mdaf .accolades__image {
  height: 88px;
}

.accolades__item--ntl .accolades__image {
  height: 82px;
}

.accolades__item--super .accolades__image {
  height: 55px;
}

.accolades__item--aaj .accolades__image {
  height: 69px;
}

/* ---------- about ---------- */
.about {
  padding: 104px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 74px;
  align-items: start;
}

.about__text p {
  margin: 0 0 17px;
  color: #3d4c58;
}

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

.about__lead {
  font-size: 19px;
  color: var(--ink);
}

.about__more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.about__more.is-open {
  max-height: 1400px;
}

.about__read-more {
  margin-top: 22px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about__read-more::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.about__read-more:hover::after {
  width: 34px;
}

.plaque {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: #dfe3e5 url("../assets/images/bg-plaque.jpg") center / cover no-repeat;
  box-shadow: 0 30px 60px -28px rgba(6, 36, 63, 0.5);
}

.plaque::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.34), rgba(205, 215, 221, 0.5));
}

.plaque__inner {
  position: relative;
  padding: 44px 40px 40px;
}

.plaque__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 4px;
}

.plaque__name {
  font-family: var(--display);
  font-size: 29px;
  line-height: 1.14;
  color: var(--navy);
  margin: 0 0 26px;
  font-weight: 500;
}

.plaque__role {
  display: block;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 9px;
}

.plaque__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(10, 51, 88, 0.16);
}

.plaque__item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid rgba(10, 51, 88, 0.16);
}

.plaque__stat {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  color: var(--teal-700);
  line-height: 1.1;
  white-space: nowrap;
}

.plaque__stat-unit {
  font-style: normal;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 2px;
}

.plaque__detail {
  font-size: 14.5px;
  line-height: 1.5;
  color: #33424e;
}

/* ---------- practice ---------- */
.practice {
  background: var(--paper);
  padding: 100px 0;
}

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

.practice__top .section__title {
  margin-bottom: 0;
}

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

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

.practice-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 46px -26px rgba(6, 36, 63, 0.4);
  border-color: transparent;
}

.practice-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.practice-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.practice-card:hover .practice-card__image {
  transform: scale(1.07);
}

.practice-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 36, 63, 0) 45%, rgba(6, 36, 63, 0.55) 100%);
}

.practice-card__number {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 7px 13px;
}

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

.practice-card__title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 11px;
  line-height: 1.2;
}

.practice-card__text {
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--muted);
}

.practice-card__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.practice-card__link::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.practice-card:hover .practice-card__link::after {
  width: 32px;
}

/* ---------- results ---------- */
.results {
  position: relative;
  padding: 98px 0;
  background: var(--navy-900);
  overflow: hidden;
}

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

.results::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 36, 63, 0.9), rgba(6, 36, 63, 0.82));
}

.results__inner {
  position: relative;
  z-index: 3;
}

.results .eyebrow {
  color: var(--teal);
}

.results .section__title {
  color: #fff;
}

.results .section__lede {
  color: rgba(255, 255, 255, 0.72);
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.results__item {
  padding: 38px 34px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.results__figure {
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.results__desc {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.results__link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  opacity: 0.85;
}

.results__link::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.results__link:hover {
  opacity: 1;
}

.results__link:hover::after {
  width: 30px;
}

.results__note {
  margin-top: 38px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 78ch;
}

/* ---------- values ---------- */
.values {
  padding: 100px 0;
}

.values__intro {
  max-width: 760px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 46px;
}

.values__item {
  padding-top: 26px;
  border-top: 3px solid var(--navy);
}

.values__item:nth-child(2),
.values__item:nth-child(4) {
  border-top-color: var(--teal);
}

.values__title {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 12px;
}

.values__text {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--muted);
}

.values__link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.values__link::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.values__item:hover .values__link::after {
  width: 32px;
}

/* ---------- testimonial ---------- */
.testimonial {
  background: var(--paper);
  padding: 96px 0;
}

.testimonial__inner {
  max-width: 1020px;
  text-align: center;
}

.testimonial__mark {
  font-family: var(--display);
  font-size: 96px;
  line-height: 0.7;
  color: var(--teal);
  opacity: 0.34;
  margin: 0 0 6px;
}

.testimonial__quote {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.05vw, 29px);
  line-height: 1.48;
  color: var(--navy);
  margin: 0 0 30px;
  letter-spacing: -0.01em;
}

.testimonial__who {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 0 26px;
}

.testimonial__stars svg {
  width: 19px;
  height: 19px;
  fill: var(--teal);
}

/* ---------- contact ---------- */
.contact {
  background: var(--navy);
  color: #fff;
  padding: 98px 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

.contact .section__title {
  color: #fff;
}

.contact .section__lede {
  color: rgba(255, 255, 255, 0.76);
}

.contact__facts {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact__fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  align-items: baseline;
}

.contact__fact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.contact__fact-value {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #fff;
}

.contact__fact-value a:hover {
  color: var(--teal);
}

.contact-form {
  background: #fff;
  border-radius: 5px;
  padding: 42px 40px 40px;
  box-shadow: 0 34px 70px -30px rgba(3, 18, 32, 0.6);
}

.contact-form__title {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 6px;
}

.contact-form__note {
  margin: 0 0 26px;
  font-size: 14.5px;
  color: var(--muted);
}

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

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

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

.contact-form__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.contact-form__input,
.contact-form__select {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fbfcfd;
  font-size: 15.5px;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__select {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%230A3358' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.contact-form__textarea {
  height: 120px;
  min-height: 120px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fbfcfd;
  font-size: 15.5px;
  color: var(--ink);
  resize: vertical;
  width: 100%;
  font-family: var(--ui);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(19, 177, 153, 0.16);
  background: #fff;
}

.contact-form__submit {
  width: 100%;
  margin-top: 24px;
}

.contact-form__privacy {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.68);
  padding: 70px 0 0;
  font-size: 15px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: 56px;
  padding-bottom: 52px;
}

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

.footer__blurb {
  margin: 0;
  max-width: 44ch;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 18px;
}

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

.footer__list a:hover {
  color: #fff;
}

.footer__address {
  font-style: normal;
  line-height: 1.75;
}

.footer__phone {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
}

.footer__phone:hover {
  color: var(--teal);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 0 34px;
}

.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer__bar p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__disclaimer {
  padding: 0 0 40px;
}

.footer__disclaimer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
}

.footer__disclaimer p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.44);
  max-width: 118ch;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- progressive header scaling (before hamburger) ---------- */
@media (max-width: 1400px) {
  .header__nav,
  .header__nav-list {
    gap: 28px;
  }

  .header__nav-link {
    font-size: 14px;
  }

  .header__cta {
    font-size: 14px;
    padding: 12px 22px;
  }
}

@media (max-width: 1300px) {
  .header__inner {
    gap: 16px;
  }

  .header__nav,
  .header__nav-list {
    gap: 22px;
  }

  .header__nav-link {
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .header__cta {
    font-size: 13px;
    padding: 11px 18px;
  }

  .about__inner {
    gap: 48px;
  }

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

  .results__item {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 32px 30px;
  }

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

/* ---------- nav breakpoint: 1200px ---------- */
@media (max-width: 1200px) {
  .header__overlay {
    display: block;
  }

  .header__burger {
    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 55;
  }

  .header__cta--desktop {
    display: none;
  }

  .header__nav-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--site-chrome-height);
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    height: auto;
    background: #fff;
    z-index: 48;
    padding: 20px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -18px 0 40px -24px rgba(6, 36, 63, 0.45);
    overflow-y: auto;
  }

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

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .header__nav-link {
    font-size: 16px;
    padding: 12px 0;
    width: 100%;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    width: 100%;
  }

  .header__nav-phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
  }

  .header__nav-phone:hover {
    color: var(--teal-700);
  }

  .header__cta--mobile {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

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

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

  .hero__actions .btn,
  .contact-form__submit,
  .practice__top .btn {
    font-size: 17px;
    padding: 17px 24px;
  }

  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .plaque {
    max-width: 620px;
  }

  .accolades__item {
    flex-basis: 46%;
    border-left: 0;
    padding: 16px 12px;
  }

  .accolades__item--mdaf .accolades__image {
    height: 74px;
  }

  .accolades__item--ntl .accolades__image {
    height: 69px;
  }

  .accolades__item--super .accolades__image {
    height: 47px;
  }

  .accolades__item--aaj .accolades__image {
    height: 58px;
  }
}

@media (max-width: 768px) {
  .header__inner {
    height: 88px;
  }

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

  .hero__inner {
    height: auto;
    flex: none;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding-bottom: 28px;
  }

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

  .utility__inner {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .utility__left,
  .utility__right {
    gap: 16px;
    flex-wrap: wrap;
    white-space: normal;
  }
}

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

  .about__inner > *,
  .contact__inner > *,
  .contact-form,
  .contact-form__grid > *,
  .practice__top > * {
    min-width: 0;
  }

  .about,
  .practice,
  .results,
  .values,
  .testimonial,
  .contact {
    padding: 66px 0;
  }

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

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

  .results__item,
  .results__item:nth-child(odd) {
    border-left: 0;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .contact-form {
    padding: 30px 22px 28px;
  }

  .plaque__inner {
    padding: 32px 24px 28px;
  }

  .accolades__item {
    flex-basis: 100%;
    padding: 14px 12px;
  }

  .accolades__item--mdaf .accolades__image {
    height: 70px;
  }

  .accolades__item--ntl .accolades__image {
    height: 65px;
  }

  .accolades__item--super .accolades__image {
    height: 44px;
  }

  .accolades__item--aaj .accolades__image {
    height: 55px;
  }

  .hero__visual {
    height: 360px;
  }
}
