/* ============================================================
   LAW OFFICES OF GARY BERKOVICH — vanity homepage rendition
   Leaders Marketing · built in the style of Ricky
   ============================================================ */
:root {
  --ink: #0b2138;
  --navy: #174570;
  --navy-2: #1f5688;
  --navy-3: #2e6da6;
  --brass: #b4863c;
  --brass-lt: #d8b26a;
  --silver: #9b9c9b;
  --paper: #f2f4f6;
  --line: #dce2e8;
  --body: #3a4753;
  --ff-display: "Frank Ruhl Libre", Georgia, serif;
  --ff-body: "Barlow", Helvetica, Arial, sans-serif;
  --site-chrome-height: 142px;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
}

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

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

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

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

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

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

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

p {
  margin: 0 0 20px;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: clamp(20px, 3.2vw, 45px);
  padding-right: clamp(20px, 3.2vw, 45px);
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.4;
}

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

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

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

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

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

.mark {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  background: var(--brass);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 26% 50%);
}

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

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

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

.btn--brass:hover {
  background: #9c7231;
  border-color: #9c7231;
  transform: translateY(-2px);
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brass-lt);
  outline-offset: 3px;
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utility {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  letter-spacing: 0.02em;
}

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

.utility__left,
.utility__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility__right {
  gap: 26px;
}

.utility b {
  color: var(--brass-lt);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

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

/* ============================================================
   HEADER & MOBILE MENU
   ============================================================ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  position: relative;
  z-index: 2;
}

.header__logo {
  flex-shrink: 0;
}

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

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

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

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

.header__nav-link {
  display: block;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.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__nav-link[aria-current] {
  color: var(--navy);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  flex-shrink: 0;
}

.header__cta .btn {
  font-size: clamp(13px, 1vw, 16px);
  padding: clamp(10px, 0.9vw, 14px) clamp(16px, 1.8vw, 28px);
  white-space: nowrap;
}

.header__toggle {
  display: none;
  width: 48px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

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

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

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

  .header__inner {
    position: relative;
    z-index: 2;
    min-height: 88px;
  }

  .header__cta {
    display: none;
  }

  .header__toggle {
    display: 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%;
    margin-left: 0;
    padding: 84px 28px 40px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    z-index: 2;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -18px 0 40px rgba(11, 33, 56, 0.18);
  }

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

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 8px;
  }

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

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

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  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 42% / cover no-repeat;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 33, 56, 0.96) 0%,
    rgba(11, 33, 56, 0.92) 34%,
    rgba(11, 33, 56, 0.62) 58%,
    rgba(11, 33, 56, 0.34) 100%
  );
}

.hero__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-lt) 42%, var(--navy-3) 100%);
  z-index: 6;
}

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

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

.hero h1 {
  color: #fff;
  font-size: 53px;
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero__lede {
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 540px;
}

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

.hero__phone {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

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

.hero__phone-number {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  font-family: var(--ff-body);
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__phone:hover .hero__phone-number {
  color: var(--brass-lt);
}

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

.hero__wedge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 100%);
  height: 92%;
  background: linear-gradient(160deg, rgba(31, 86, 136, 0.92) 0%, rgba(11, 33, 56, 0.35) 100%);
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
}

.hero__wedge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--brass-lt), rgba(216, 178, 106, 0) 55%);
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}

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

/* ============================================================
   ACCOLADES
   ============================================================ */
.accolades {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.accolades__inner {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.accolades__label {
  flex: 0 0 190px;
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.accolades__label span {
  display: block;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}

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

.accolades__slot {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  min-height: 96px;
}

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

.accolades__image {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.accolades__image--forum {
  height: 84px;
  width: auto;
}

.accolades__image--trial {
  height: 68px;
  width: auto;
}

.accolades__image--super {
  height: 33px;
  width: auto;
}

.accolades__image--aaj {
  height: 54px;
  width: auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--paper);
  padding: 104px 0;
  position: relative;
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 76px;
}

.about__media {
  flex: 0 0 42%;
  position: relative;
}

.about__frame {
  position: relative;
}

.about__frame img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.about__frame::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -24px;
  width: 58%;
  height: 58%;
  border: 2px solid var(--brass);
  z-index: 1;
}

.about__plaque {
  position: absolute;
  right: -44px;
  bottom: -30px;
  z-index: 4;
  background: var(--navy);
  color: #fff;
  padding: 26px 30px;
  min-width: 190px;
  box-shadow: 0 22px 44px rgba(11, 33, 56, 0.24);
}

.about__plaque-number {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--brass-lt);
}

.about__plaque-text {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.about__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.about__copy h2 {
  font-size: 44px;
  margin-bottom: 22px;
}

.about__subhead {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 30px 0 10px;
}

.about__actions {
  margin-top: 32px;
}

/* ============================================================
   PRACTICE AREAS
   ============================================================ */
.practice {
  padding: 104px 0;
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: 44px;
}

.section-head p {
  margin-top: 18px;
  color: var(--body);
}

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

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

.practice-card:hover {
  box-shadow: 0 26px 52px rgba(11, 33, 56, 0.16);
  transform: translateY(-5px);
}

.practice-card__thumb {
  position: relative;
  aspect-ratio: 820 / 520;
  overflow: hidden;
}

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

.practice-card:hover .practice-card__thumb img {
  transform: scale(1.05);
}

.practice-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 33, 56, 0) 45%, rgba(11, 33, 56, 0.55) 100%);
}

.practice-card__body {
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

.practice-card__body h3 {
  font-size: 27px;
}

.practice-card__body p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.practice-card__link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.practice-card__link .mark {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

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

.practice-cta {
  background: var(--navy);
  color: #fff;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.practice-cta::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(216, 178, 106, 0.35);
  transform: rotate(45deg);
}

.practice-cta h3 {
  color: #fff;
  font-size: 28px;
  position: relative;
  z-index: 2;
}

.practice-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.practice-cta .btn {
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

/* ============================================================
   CASE RESULTS
   ============================================================ */
.results {
  position: relative;
  padding: 104px 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

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

.results__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 33, 56, 0.9), rgba(11, 33, 56, 0.96));
}

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

.results h2 {
  color: #fff;
  font-size: 44px;
}

.results .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

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

.result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.result-card:hover {
  border-color: var(--brass);
  transform: translateY(-5px);
}

.result-card__thumb {
  aspect-ratio: 460 / 300;
  overflow: hidden;
}

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

.result-card__body {
  padding: 30px 28px 32px;
}

.result-card__amount {
  font-family: var(--ff-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--brass-lt);
  line-height: 1;
  letter-spacing: -0.02em;
}

.result-card__bar {
  width: 44px;
  height: 2px;
  background: var(--brass);
  margin: 16px 0 14px;
}

.result-card__type {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.results__disclaimer {
  margin-top: 38px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* ============================================================
   VALUES
   ============================================================ */
.values {
  padding: 104px 0;
  background: var(--paper);
}

.values__inner {
  display: flex;
  align-items: center;
  gap: 70px;
}

.values__media {
  flex: 0 0 34%;
  position: relative;
}

.values__media img {
  width: 100%;
  height: auto;
  display: block;
}

.values__media::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 64%;
  height: 46%;
  border: 2px solid var(--brass);
  pointer-events: none;
}

.values__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.values__copy h2 {
  font-size: 44px;
  margin-bottom: 14px;
}

.values__copy .rule {
  margin: 24px 0 34px;
}

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

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

.values__item .mark {
  margin-top: 7px;
}

.values__item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.values__item p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  position: relative;
  padding: 100px 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

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

.testimonial__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 69, 112, 0.94), rgba(11, 33, 56, 0.96));
}

.testimonial__inner {
  position: relative;
  z-index: 3;
  max-width: 1040px;
  text-align: center;
}

.testimonial h2 {
  color: #fff;
  font-size: 40px;
}

.testimonial__quote-mark {
  font-family: var(--ff-display);
  font-size: 96px;
  line-height: 0.6;
  color: var(--brass-lt);
  opacity: 0.55;
  margin: 30px 0 6px;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 23px;
  line-height: 1.66;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  font-style: italic;
}

.testimonial__author {
  margin-top: 30px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-lt);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}

.testimonial__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--brass-lt);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 104px 0;
  overflow: hidden;
}

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

.contact__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 33, 56, 0.97) 40%, rgba(11, 33, 56, 0.78) 100%);
}

.contact__inner {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 74px;
  align-items: flex-start;
}

.contact__info {
  flex: 1 1 42%;
  min-width: 0;
}

.contact__info h2 {
  color: #fff;
  font-size: 42px;
}

.contact__info p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 20px;
  max-width: 460px;
}

.contact__list {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

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

.contact__item .mark {
  margin-top: 8px;
}

.contact__key {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-lt);
  font-weight: 600;
}

.contact__value {
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  margin-top: 4px;
}

.contact__value--large {
  font-size: 24px;
  font-weight: 600;
  display: inline-block;
}

.contact__value--large:hover {
  color: var(--brass-lt);
}

.form-card {
  flex: 1 1 52%;
  background: #fff;
  padding: 44px 44px 48px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.3);
  min-width: 0;
}

.form-card h3 {
  font-size: 27px;
  margin-bottom: 6px;
}

.form-card__fine {
  font-size: 14px;
  color: var(--silver);
  margin-bottom: 26px;
}

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

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

.form-card__field--full {
  grid-column: 1 / -1;
}

.form-card__field label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.form-card__field input,
.form-card__field select {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fafbfc;
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--ink);
  width: 100%;
}

.form-card__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;
  padding-right: 40px;
}

.form-card__field textarea {
  height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fafbfc;
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--ink);
  width: 100%;
  resize: vertical;
}

.form-card__field input:focus,
.form-card__field select:focus,
.form-card__field textarea:focus {
  border-color: var(--navy);
  background: #fff;
}

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

.form-card__legal {
  font-size: 12px;
  color: var(--silver);
  line-height: 1.6;
  margin-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #071827;
  color: rgba(255, 255, 255, 0.66);
  padding: 70px 0 0;
  font-size: 15px;
}

.footer__inner {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer__brand {
  flex: 1 1 300px;
  max-width: 360px;
}

.footer__brand img {
  width: 240px;
  margin-bottom: 22px;
}

.footer__brand p {
  line-height: 1.8;
}

.footer__col {
  flex: 0 1 200px;
}

.footer__col h4 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer__phone {
  font-family: var(--ff-display);
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}

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

.footer__address {
  margin: 0;
  line-height: 1.8;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 56px;
  padding: 26px 0 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.46);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1400px) {
  .hero h1 {
    font-size: 47px;
  }
}

@media (max-width: 1200px) {
  .hero__visual {
    width: 42%;
  }

  .hero h1 {
    font-size: 42px;
  }

  .about__inner,
  .values__inner,
  .contact__inner {
    gap: 48px;
  }

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

  .accolades__row {
    gap: 16px;
  }
}

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

  .btn--sm {
    font-size: 15px;
    padding: 12px 22px;
  }
}

@media (max-width: 991px) {
  .accolades__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .accolades__label {
    flex: 1 1 auto;
  }

  .accolades__row {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
  }

  .accolades__slot {
    flex: 1 1 44%;
    min-width: 44%;
    border-left: 0;
    padding: 14px 12px;
  }

  .about__inner,
  .values__inner,
  .contact__inner {
    flex-direction: column;
  }

  .about__media,
  .values__media,
  .contact__info,
  .form-card {
    flex: 1 1 auto;
    width: 100%;
  }

  .about__plaque {
    right: 0;
    bottom: -20px;
  }

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

  .practice-cta {
    grid-column: 1 / -1;
  }

  .about__copy h2,
  .section-head h2,
  .results h2,
  .values__copy h2,
  .contact__info h2 {
    font-size: 38px;
  }

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

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

  .utility__left,
  .utility__right {
    flex-wrap: wrap;
    gap: 6px 18px;
  }
}

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

  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(32px, 6vw, 48px) 0 0;
  }

  .hero__inner {
    height: auto;
    align-items: flex-start;
  }

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

  .hero h1 {
    font-size: 34px;
  }

  .hero__lede {
    font-size: 17px;
  }

  .hero__actions {
    gap: 22px;
  }

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

  .hero__wedge {
    height: 100%;
    width: min(420px, 92%);
  }

  .hero__image {
    height: 420px;
    max-height: 56vh;
  }

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

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

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

  .form-card__grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 32px 24px 34px;
  }

  .testimonial blockquote {
    font-size: 19px;
  }

  .about__copy h2,
  .section-head h2,
  .results h2,
  .values__copy h2,
  .contact__info h2 {
    font-size: 32px;
  }

  .about__plaque {
    padding: 20px 22px;
    min-width: 0;
  }

  .about__plaque-number {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
  }

  .btn {
    padding: 17px 22px;
    letter-spacing: 0;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__image {
    height: 340px;
  }

  .hero__wedge {
    height: 320px;
  }

  .accolades__slot {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .about__frame::before {
    left: -12px;
    top: -12px;
  }

  .values__media::after {
    right: -10px;
    bottom: -10px;
  }

  .footer__inner {
    gap: 38px;
  }

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

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

  .practice-card:hover,
  .result-card:hover,
  .btn:hover {
    transform: none;
  }
}
