/* ============================================================
   EMKEY LAW FIRM — homepage
   Display: Rufina 700 / Body: Hanken Grotesk
   ============================================================ */

:root {
  --navy-900: #071426;
  --navy-800: #0e2440;
  --navy-700: #16324f;
  --navy-600: #1e4266;
  --slate-600: #6e727d;
  --slate-400: #9aa0ab;
  --gold-500: #b58d2d;
  --gold-300: #d9b24c;
  --gold-100: #ebd9a6;
  --paper: #f2f4f6;
  --paper-2: #e3e8ed;
  --line: rgba(181, 141, 45, 0.34);
  --white: #fff;

  --ff-display: "Rufina", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ff-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;

  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 174px;

  --pad: 45px;
  --nav-fs: 16px;
  --hero-tel-fs: 24px;
  --cta-fs: 20px;
}

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

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.72;
  color: #2c333d;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

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

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

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

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

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

/* ---------------------------------------------------- EYEBROW */
.eyebrow {
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::after {
  content: "";
  flex: 0 0 46px;
  height: 1px;
  background: var(--line);
}

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

.eyebrow--center::before {
  content: "";
  flex: 0 0 46px;
  height: 1px;
  background: var(--line);
}

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

/* ---------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: var(--cta-fs);
  font-weight: 700;
  line-height: 1.35;
  padding: 19px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

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

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

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

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

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

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

/* ---------------------------------------------------- UTILITY BAR */
.utility {
  background: var(--navy-900);
  color: var(--slate-400);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(181, 141, 45, 0.22);
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.utility__text {
  margin: 0;
}

.utility__text strong {
  color: var(--gold-100);
  font-weight: 600;
}

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

/* ---------------------------------------------------- HEADER */
.header {
  background: var(--navy-800);
  position: relative;
  z-index: 30;
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
  z-index: 2;
}

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

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

.header__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
  margin-left: auto;
  z-index: 4;
}

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

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

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

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

.header__nav {
  margin-left: auto;
}

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

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

.header__nav-link {
  display: block;
  font-size: var(--nav-fs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  flex-shrink: 0;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

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

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  padding-left: 28px;
}

.header__cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.18);
}

.header__phone {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Progressive nav/CTA scaling before hamburger */
@media (max-width: 1320px) {
  :root {
    --nav-fs: 15px;
    --pad: 36px;
  }

  .header__phone {
    font-size: 20px;
  }

  .header__cta {
    gap: 18px;
    padding-left: 22px;
  }

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

@media (max-width: 1240px) {
  :root {
    --nav-fs: 14px;
  }

  .header__inner {
    gap: 18px;
  }

  .header__nav-list {
    gap: 12px;
  }

  .header__phone {
    font-size: 18px;
  }

  .header__cta {
    gap: 14px;
    padding-left: 18px;
  }

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

/* ---------------------------------------------------- HERO */
.hero {
  position: relative;
  background: var(--navy-900);
  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;
  background: url("../assets/images/bg-hero.jpg") center right / cover no-repeat;
}

.hero__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 58%;
  background: linear-gradient(
    90deg,
    rgba(7, 20, 38, 0.975) 0%,
    rgba(7, 20, 38, 0.955) 62%,
    rgba(7, 20, 38, 0.8) 100%
  );
  border-right: 1px solid rgba(181, 141, 45, 0.55);
}

.hero__seam::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 34%;
  background: linear-gradient(180deg, var(--gold-300), rgba(217, 178, 76, 0));
}

.hero__scrim {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  right: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 20, 38, 0.34) 0%,
    rgba(7, 20, 38, 0.5) 55%,
    rgba(7, 20, 38, 0.66) 100%
  );
}

.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 20, 38, 0.28) 0%,
    rgba(7, 20, 38, 0) 26%,
    rgba(7, 20, 38, 0.42) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  padding: clamp(16px, 2.5vw, 40px) clamp(20px, 3vw, 40px) clamp(16px, 2.5vw, 40px) 0;
}

.hero__eyebrow {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0 0 16px;
}

.hero__title {
  font-size: clamp(36px, 4.05vw, 64px);
  color: var(--white);
  max-width: 16ch;
}

.hero__rule {
  width: 74px;
  height: 3px;
  background: var(--gold-500);
  margin: 26px 0 22px;
}

.hero__text {
  font-size: clamp(16.5px, 1.25vw, 19px);
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero__tel {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--ff-display);
  font-size: var(--hero-tel-fs);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 24px;
}

.hero__tel small {
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
}

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

.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__image {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

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

.accolades__inner {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.accolades__label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-800);
  max-width: 152px;
  line-height: 1.5;
  border-left: 3px solid var(--gold-500);
  padding-left: 16px;
  margin: 0;
}

.accolades__rail {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 40px);
  flex-wrap: wrap;
  flex: 1;
}

.accolades__slot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accolades__slot img {
  display: block;
  width: auto;
  opacity: 0.9;
}

/* ---------------------------------------------------- ABOUT */
.about {
  background: var(--white);
}

.about__inner {
  padding-top: 100px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 0.8fr minmax(0, 1fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: start;
}

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

.about__image {
  width: 100%;
  border-radius: 2px;
}

.about__figure::before {
  content: "";
  position: absolute;
  left: -16px;
  top: -16px;
  width: 118px;
  height: 118px;
  border-left: 3px solid var(--gold-500);
  border-top: 3px solid var(--gold-500);
}

.about__badge {
  position: absolute;
  right: -20px;
  bottom: 34px;
  background: var(--navy-800);
  color: var(--white);
  padding: 22px 26px;
  max-width: 238px;
  border-left: 3px solid var(--gold-500);
}

.about__badge b {
  display: block;
  font-family: var(--ff-display);
  font-size: 29px;
  line-height: 1;
  margin-bottom: 7px;
  color: var(--gold-300);
}

.about__badge span {
  font-size: 13.5px;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.82);
  display: block;
}

.about__eyebrow {
  font-family: var(--ff-body);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 14px;
}

.about__title {
  font-size: clamp(30px, 3vw, 45px);
  color: var(--navy-900);
  max-width: 22ch;
}

.about__body {
  margin-top: 26px;
  max-width: 66ch;
}

.about__body p {
  margin: 0 0 20px;
  color: #414b58;
}

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

.about__pull {
  margin: 28px 0;
  padding: 20px 0 20px 26px;
  border-left: 3px solid var(--gold-500);
  font-family: var(--ff-display);
  font-size: clamp(19px, 1.65vw, 23px);
  line-height: 1.44;
  color: var(--navy-800);
}

.about__list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.about__list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-800);
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 15px;
  height: 9px;
  border-left: 2.5px solid var(--gold-500);
  border-bottom: 2.5px solid var(--gold-500);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------- PRACTICE */
.practice {
  background: var(--navy-900);
  color: var(--white);
}

.practice__inner {
  padding-top: 96px;
  padding-bottom: 96px;
}

.practice__head {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 54px;
}

.practice__title {
  font-size: clamp(30px, 3vw, 45px);
  color: var(--white);
}

.practice__intro {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17.5px;
}

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

.practice__card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.practice__card:hover {
  border-color: rgba(181, 141, 45, 0.6);
  transform: translateY(-4px);
}

.practice__thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.practice__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0.05), rgba(7, 20, 38, 0.7));
}

.practice__body {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.practice__card-title {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 13px;
}

.practice__body p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.72);
}

.practice__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.practice__link i {
  width: 26px;
  height: 1px;
  background: var(--gold-500);
  display: block;
  transition: width 0.22s ease;
}

.practice__card:hover .practice__link i {
  width: 42px;
}

/* ---------------------------------------------------- VALUES */
.values {
  background: var(--paper);
}

.values__inner {
  padding-top: 96px;
  padding-bottom: 96px;
}

.values__head {
  text-align: center;
  margin: 0 auto 52px;
  max-width: 56ch;
}

.values__title {
  font-size: clamp(29px, 2.95vw, 44px);
  color: var(--navy-900);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--paper-2);
}

.values__item {
  padding: 42px 44px;
  border-right: 1px solid var(--paper-2);
  border-bottom: 1px solid var(--paper-2);
}

.values__item:nth-child(2n) {
  border-right: 0;
}

.values__item:nth-child(n + 3) {
  border-bottom: 0;
}

.values__mark {
  display: block;
  width: 38px;
  height: 2px;
  background: var(--gold-500);
  margin-bottom: 22px;
}

.values__item-title {
  font-size: 22px;
  color: var(--navy-900);
  margin-bottom: 12px;
  max-width: 26ch;
}

.values__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.68;
  color: #4a545f;
}

/* ---------------------------------------------------- TESTIMONIAL */
.testimonial {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
}

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

.testimonial__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 38, 0.93), rgba(7, 20, 38, 0.7));
}

.testimonial__inner {
  position: relative;
  z-index: 3;
  padding-top: 100px;
  padding-bottom: 100px;
}

.testimonial__content {
  max-width: 46ch;
  margin: 0 auto;
  text-align: center;
}

.testimonial__content::before {
  content: "\201C";
  display: block;
  font-family: var(--ff-display);
  font-size: 96px;
  line-height: 0.6;
  color: var(--gold-500);
  opacity: 0.5;
  margin-bottom: 8px;
}

.testimonial__stars {
  color: var(--gold-300);
  font-size: 19px;
  letter-spacing: 5px;
  margin-bottom: 18px;
}

.testimonial__quote {
  font-family: var(--ff-display);
  font-size: clamp(21px, 2.15vw, 31px);
  line-height: 1.44;
  color: var(--white);
  margin: 0 0 24px;
}

.testimonial__by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-300);
  margin: 0;
}

.testimonial__by::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold-500);
  flex: 0 0 40px;
}

/* ---------------------------------------------------- CONTACT */
.contact {
  background: var(--white);
  overflow: hidden;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.contact__aside {
  position: relative;
  color: var(--white);
  padding: 92px clamp(32px, 4vw, 70px) 92px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__aside-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: -100vw;
  background: url("../assets/images/bg-contact.jpg") right center / cover no-repeat;
  z-index: 0;
}

.contact__aside-tint {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: -100vw;
  background: linear-gradient(90deg, rgba(7, 20, 38, 0.95), rgba(14, 36, 64, 0.86));
  z-index: 1;
}

.contact__aside-content {
  position: relative;
  z-index: 2;
}

.contact__title {
  font-size: clamp(28px, 2.85vw, 41px);
  color: var(--white);
  max-width: 20ch;
}

.contact__text {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  max-width: 44ch;
}

.contact__meta {
  margin: 34px 0 0;
  display: grid;
  gap: 20px;
}

.contact__meta-item {
  border-left: 2px solid var(--gold-500);
  padding-left: 18px;
}

.contact__meta dt {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.contact__meta dd {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

.contact__form-wrap {
  padding: 92px 0 92px clamp(32px, 4vw, 70px);
  background: var(--white);
}

.contact__form-title {
  font-size: clamp(25px, 2.35vw, 33px);
  color: var(--navy-900);
  margin-bottom: 8px;
}

.contact__form-sub {
  margin: 0 0 28px;
  font-size: 16px;
  color: #5a646f;
}

.contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

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

.contact__field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.contact__field input,
.contact__field select,
.contact__field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid #cfd6de;
  border-radius: 3px;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.contact__field input,
.contact__field select {
  height: 40px;
  padding: 0 13px;
}

.contact__field textarea {
  height: 120px;
  padding: 11px 13px;
  resize: vertical;
}

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

.contact__form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact__note {
  font-size: 13px;
  color: #6c7681;
  max-width: 34ch;
  line-height: 1.55;
  margin: 0;
}

/* ---------------------------------------------------- FOOTER */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
}

.footer__inner {
  padding-top: 70px;
  padding-bottom: 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(30px, 4vw, 68px);
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer__brand img {
  width: 250px;
  margin-bottom: 24px;
}

.footer__brand p {
  margin: 0;
  max-width: 40ch;
  line-height: 1.7;
}

.footer__heading {
  font-size: 12.5px;
  font-family: var(--ff-body);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0 0 20px;
}

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

.footer__list a:hover {
  color: var(--gold-100);
}

.footer__address {
  font-style: normal;
  line-height: 1.75;
  margin-bottom: 18px;
}

.footer__tel {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------------------------- RESPONSIVE — NAV ≤1200px */
@media (max-width: 1200px) {
  :root {
    --pad: 32px;
  }

  .header__toggle {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .header__overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(7, 20, 38, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

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

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

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

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

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

  .header__nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__nav-link {
    padding: 16px 0;
    font-size: 18px;
  }

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

  .header__phone--panel {
    font-size: 24px;
  }

  .about__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .about__figure {
    max-width: 520px;
  }

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

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

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

  .hero__actions {
    flex-wrap: wrap;
  }

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

  .contact__aside {
    padding: 72px 0;
  }

  .contact__aside-bg,
  .contact__aside-tint {
    left: -50vw;
    right: -50vw;
  }

  .contact__form-wrap {
    padding: 72px 0;
  }
}

@media (max-width: 900px) {
  :root {
    --pad: 26px;
  }

  .utility__inner {
    justify-content: center;
    text-align: center;
  }

  .utility__meta {
    display: none;
  }

  .hero__scrim {
    display: none;
  }

  .hero__seam {
    width: 100%;
    border-right: 0;
    background: linear-gradient(
      180deg,
      rgba(7, 20, 38, 0.95),
      rgba(7, 20, 38, 0.86)
    );
  }

  .hero__seam::after {
    display: none;
  }

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

  .hero__title {
    max-width: none;
  }

  .hero__actions .btn {
    flex: 1 1 240px;
  }

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

  .values__item {
    border-right: 0;
  }

  .values__item:nth-child(n + 3) {
    border-bottom: 1px solid var(--paper-2);
  }

  .values__item:last-child {
    border-bottom: 0;
  }

  .about__badge {
    position: static;
    max-width: none;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

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

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

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

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

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

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

  .hero__image {
    height: auto;
    width: min(78%, 336px);
  }
}

@media (max-width: 680px) {
  .practice__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .about__figure::before {
    display: none;
  }

  .btn {
    font-size: 17px;
    padding: 16px 24px;
  }

  .accolades__rail {
    gap: 14px;
  }

  .accolades__slot {
    min-width: 128px;
    height: 66px;
  }

  .values__item {
    padding: 34px 26px;
  }
}

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

  .hero__actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

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