/* ============================================================
   Michael A. Fakhoury, Esq., P.C. — homepage
   Palette from firm monogram: stone #C6C1AD / slate #4E6987
   Type: Newsreader (display) / Figtree (body)
   ============================================================ */

:root {
  --ink: #0a1725;
  --navy: #102437;
  --navy-lift: #17324a;
  --slate: #4e6987;
  --steel: #6b819b;
  --stone: #c6c1ad;
  --stone-dim: #a79f84;
  --paper: #f6f5f1;
  --paper-2: #eceae3;
  --white: #fff;
  --body: #3e4a57;
  --pad: 45px;
  --container-max: 1760px;
  --site-chrome-height: 156px;
  --nav-breakpoint: 1200px;
  --ff-d: "Newsreader", Georgia, serif;
  --ff-b: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

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

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

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

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

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

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

p {
  margin: 0 0 1.15em;
}

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

figure {
  margin: 0;
}

blockquote {
  margin: 0;
}

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

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

/* ---- shared type ----------------------------------------- */

.eyebrow {
  font-family: var(--ff-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 11px;
  flex: none;
  background: var(--slate);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
}

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

.eyebrow--light::before {
  background: var(--stone);
}

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

.section-title {
  font-size: clamp(30px, 3.1vw, 50px);
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--slate);
}

.section-title__nowrap {
  white-space: nowrap;
}

/* ---- buttons --------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--ff-b);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 19px 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.35;
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.btn--stone {
  background: var(--stone);
  color: var(--ink);
}

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

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(78, 105, 135, 0.4);
}

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

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

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* ============================ UTILITY ===================== */

.utility {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  letter-spacing: 0.04em;
}

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

.utility a:hover {
  color: var(--stone);
}

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

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

/* ============================ HEADER ====================== */

.header {
  background: var(--white);
  border-bottom: 1px solid var(--paper-2);
  position: relative;
  z-index: 40;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 112px;
}

.header__lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

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

.header__lockup-text {
  border-left: 1px solid var(--paper-2);
  padding-left: 16px;
}

.header__lockup-name {
  display: block;
  font-family: var(--ff-d);
  font-size: 21px;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header__lockup-sub {
  display: block;
  font-family: var(--ff-b);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 6px;
  white-space: nowrap;
}

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

.header__nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
  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(--stone);
  transition: right 0.32s var(--ease);
}

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

.header__nav-close {
  display: none;
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.header__tel {
  font-family: var(--ff-d);
  font-size: 19px;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__tel span {
  display: block;
  font-family: var(--ff-b);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}

.header__burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--paper-2);
  border-radius: 6px;
  padding: 11px 13px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 45;
}

.header__burger i {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
  transition:
    transform 0.28s var(--ease),
    opacity 0.28s var(--ease);
}

.header__burger.is-active i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.header__burger.is-active i:nth-child(2) {
  opacity: 0;
}

.header__burger.is-active i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 23, 37, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 35;
}

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

/* ============================ HERO ======================== */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.jpg");
  background-size: cover;
  background-position: 50% 42%;
  opacity: 0.6;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(10, 23, 37, 0.97) 0%,
      rgba(10, 23, 37, 0.9) 38%,
      rgba(10, 23, 37, 0.5) 66%,
      rgba(10, 23, 37, 0.62) 100%
    ),
    radial-gradient(80% 120% at 78% 100%, rgba(78, 105, 135, 0.32), rgba(10, 23, 37, 0) 62%);
}

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

.hero__content {
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  padding: 0 clamp(8px, 1.5vw, 24px) 0 0;
}

.hero__title {
  font-size: clamp(38px, 4.5vw, 71px);
  line-height: 1.03;
  color: var(--white);
  letter-spacing: -0.022em;
  font-weight: 400;
}

.hero__title em {
  font-style: italic;
  color: var(--stone);
  display: block;
}

.hero__subtitle {
  font-family: var(--ff-b);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.8);
  max-width: 46ch;
  margin: 24px 0 0;
  letter-spacing: 0.01em;
}

.hero__line {
  width: 74px;
  height: 1px;
  background: var(--stone);
  margin: 30px 0 0;
}

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

.hero__tel {
  font-family: var(--ff-d);
  font-size: 24px;
  color: var(--white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 11px;
}

.hero__tel svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--stone);
}

.hero__tel:hover {
  color: var(--stone);
}

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

.hero__plinth {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 540px);
  height: 82%;
  background: linear-gradient(180deg, rgba(78, 105, 135, 0.26), rgba(78, 105, 135, 0.03));
  border: 1px solid rgba(198, 193, 173, 0.2);
  border-bottom: none;
  border-radius: 280px 280px 0 0;
}

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

/* ============================ ACCOLADES =================== */

.accolades {
  background: var(--navy);
  padding: 34px 0;
}

.accolades__inner {
  display: flex;
  align-items: center;
  gap: 38px;
}

.accolades__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  flex: none;
  max-width: 130px;
  line-height: 1.5;
  border-right: 1px solid rgba(198, 193, 173, 0.24);
  padding-right: 34px;
}

.accolades__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px clamp(34px, 4vw, 72px);
  flex: 1 1 auto;
  min-width: 0;
}

.accolades__badge {
  width: auto;
  opacity: 0.9;
  transition: opacity 0.32s var(--ease);
}

.accolades__badge:hover {
  opacity: 1;
}

.accolades__badge--million {
  height: 78px;
}

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

.accolades__badge--super {
  height: 34px;
}

.accolades__badge--aaj {
  height: 52px;
}

/* ============================ ABOUT ======================= */

.about {
  background: var(--white);
  padding: 112px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 76px;
  align-items: center;
}

.about__figure {
  position: relative;
}

.about__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.about__figure::after {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--stone);
  z-index: 0;
}

.about__stats {
  position: absolute;
  z-index: 2;
  right: -20px;
  bottom: -20px;
  background: var(--ink);
  color: var(--white);
  padding: 26px 30px;
  display: flex;
  gap: 34px;
}

.about__stats b {
  display: block;
  font-family: var(--ff-d);
  font-size: 34px;
  line-height: 1;
  color: var(--stone);
  font-weight: 400;
}

.about__stats span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 9px;
  max-width: 13ch;
  line-height: 1.5;
}

.about__text {
  max-width: 64ch;
}

.about__text .section-title {
  margin-bottom: 26px;
}

.about__sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-2);
}

.about__sign-logo {
  height: 52px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.about__sign div {
  font-family: var(--ff-d);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.3;
}

.about__sign small {
  display: block;
  font-family: var(--ff-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 5px;
}

/* ============================ PRACTICE ==================== */

.practice {
  background: var(--paper);
  padding: 110px 0;
}

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

.practice__head .section-title {
  max-width: 22ch;
}

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

.practice-card {
  position: relative;
  display: block;
  background: var(--ink);
  overflow: hidden;
  aspect-ratio: 1 / 1.14;
  isolation: isolate;
}

.practice-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.05s var(--ease), opacity 0.5s var(--ease);
  opacity: 0.82;
}

.practice-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 37, 0.12) 30%, rgba(10, 23, 37, 0.86) 100%);
}

.practice-card:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.practice-card__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 28px 28px;
}

.practice-card h3 {
  font-family: var(--ff-d);
  font-size: 26px;
  line-height: 1.14;
  color: var(--white);
  font-weight: 400;
}

.practice-card__go {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.practice-card__go svg {
  width: 15px;
  height: 9px;
  transition: transform 0.34s var(--ease);
}

.practice-card:hover .practice-card__go svg {
  transform: translateX(6px);
}

/* ============================ RESULTS ===================== */

.results {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 104px 0;
  overflow: hidden;
}

.results__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-results.jpg");
  background-size: cover;
  background-position: 50% 58%;
  opacity: 0.34;
}

.results__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 37, 0.9), rgba(10, 23, 37, 0.96));
}

.results__inner {
  position: relative;
}

.results__head {
  margin-bottom: 56px;
  max-width: 58ch;
}

.results__head .section-title {
  color: var(--white);
}

.results__head .section-title em {
  color: var(--stone);
}

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

.results__cell {
  padding: 0 34px;
  border-left: 1px solid rgba(198, 193, 173, 0.22);
}

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

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

.results__cell b {
  display: block;
  font-family: var(--ff-d);
  font-weight: 400;
  color: var(--stone);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.results__cell p {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.results__note {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* ============================ VALUES ====================== */

.values {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 108px 0;
  overflow: hidden;
}

.values__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-values.jpg");
  background-size: cover;
  background-position: 62% 45%;
  opacity: 0.3;
}

.values__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    94deg,
    rgba(16, 36, 55, 0.97) 0%,
    rgba(16, 36, 55, 0.88) 52%,
    rgba(16, 36, 55, 0.6) 100%
  );
}

.values__inner {
  position: relative;
}

.values__head {
  max-width: 34ch;
  margin-bottom: 58px;
}

.values__head .section-title {
  color: var(--white);
}

.values__head .section-title em {
  color: var(--stone);
}

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

.values__item {
  padding: 34px 0;
  border-top: 1px solid rgba(198, 193, 173, 0.2);
  display: flex;
  gap: 24px;
}

.values__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(198, 193, 173, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--stone);
}

.values__icon svg {
  width: 19px;
  height: 19px;
}

.values__item h3 {
  font-family: var(--ff-d);
  font-size: 23px;
  color: var(--white);
  font-weight: 400;
  line-height: 1.2;
}

.values__item p {
  margin: 12px 0 0;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

/* ============================ TESTIMONIAL ================= */

.testimonial {
  background: var(--paper);
  padding: 104px 0;
}

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

.testimonial__title {
  margin-bottom: 8px;
}

.testimonial__mark {
  font-family: var(--ff-d);
  font-size: 88px;
  line-height: 0.6;
  color: var(--stone);
  display: block;
}

.testimonial__quote {
  font-family: var(--ff-d);
  font-size: clamp(21px, 2.05vw, 31px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
  margin: 26px 0 0;
  letter-spacing: -0.005em;
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 34px 0 0;
  color: var(--stone);
}

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

.testimonial__by {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

.testimonial__by span {
  display: block;
  color: var(--steel);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-top: 7px;
}

/* ============================ CONTACT ===================== */

.contact {
  background: var(--white);
  padding: 112px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 82px;
  align-items: start;
}

.contact__text .section-title {
  margin-bottom: 22px;
}

.contact__lead {
  max-width: 46ch;
  margin-top: 20px;
}

.contact__list {
  margin-top: 38px;
  border-top: 1px solid var(--paper-2);
}

.contact__list > a,
.contact__list > div {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--paper-2);
}

.contact__list svg {
  width: 19px;
  height: 19px;
  color: var(--slate);
  flex: none;
  margin-top: 4px;
}

.contact__list b {
  display: block;
  font-family: var(--ff-d);
  font-size: 20px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.35;
}

.contact__list span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}

.contact__list a:hover b {
  color: var(--slate);
}

.form {
  background: var(--paper);
  border: 1px solid var(--paper-2);
  padding: 44px;
}

.form__title {
  font-family: var(--ff-d);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 6px;
}

.form__subtitle {
  font-size: 14.5px;
  color: var(--steel);
  margin-bottom: 28px;
}

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

.form__field {
  margin-bottom: 18px;
}

.form__field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.form__field input,
.form__field select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid #dad7ce;
  border-radius: 0;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease);
  appearance: none;
}

.form__field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%234E6987' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 38px;
}

.form__field textarea {
  width: 100%;
  height: 120px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #dad7ce;
  border-radius: 0;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
  font-family: var(--ff-b);
  line-height: 1.6;
  transition: border-color 0.25s var(--ease);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--slate);
  outline: none;
}

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

.form__fine {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--steel);
  margin-top: 18px;
}

/* ============================ FOOTER ====================== */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 76px 0 0;
  font-size: 14.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: 56px;
}

.footer__lockup {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.footer__logo {
  height: 58px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.footer__lockup b {
  font-family: var(--ff-d);
  font-size: 19px;
  color: var(--white);
  font-weight: 400;
  display: block;
  line-height: 1.1;
}

.footer__lockup span span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 6px;
}

.footer p {
  max-width: 38ch;
  line-height: 1.75;
  font-size: 14.5px;
}

.footer h4 {
  font-family: var(--ff-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 22px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 13px;
}

.footer a:hover {
  color: var(--stone);
}

.footer__tel {
  font-family: var(--ff-d);
  font-size: 26px;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.footer__addr {
  font-style: normal;
  line-height: 1.75;
  margin-top: 20px;
}

.footer__bar {
  margin-top: 66px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}

.footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0 40px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.38);
  max-width: none;
}

.footer__disclaimer b {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ============================ MOTION ====================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.hero__content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-up 0.9s var(--ease) forwards;
}

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

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

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

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

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

.hero__visual {
  opacity: 0;
  animation: hero-fade 1.15s var(--ease) 0.2s forwards;
}

@keyframes hero-up {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-fade {
  to {
    opacity: 1;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__content > *,
  .hero__visual {
    opacity: 1;
    transform: none;
  }
}

/* ============================ RESPONSIVE ================== */

/* Progressive header scaling before hamburger */
@media (max-width: 1560px) {
  .header__nav {
    gap: 28px;
  }

  .header__inner {
    gap: 28px;
  }

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

  .header__tel {
    font-size: 17px;
  }

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

@media (max-width: 1400px) {
  .header__nav {
    gap: 20px;
  }

  .header__inner {
    gap: 20px;
  }

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

  .header__cta {
    gap: 14px;
  }

  .header__tel {
    font-size: 16px;
  }

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

@media (max-width: 1320px) {
  .header__nav {
    gap: 16px;
  }

  .header__inner {
    gap: 16px;
  }

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

  .header__lockup-name {
    font-size: 19px;
  }

  .header__cta .header__tel {
    display: none;
  }
}

/* Nav hamburger breakpoint: 1200px */
@media (max-width: 1200px) {
  :root {
    --pad: 34px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    margin: 0;
    padding: 88px 28px 40px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 50;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
    box-shadow: -12px 0 40px rgba(10, 23, 37, 0.18);
    overflow-y: auto;
  }

  .header__nav.is-open,
  .header__nav.is-open[aria-hidden="false"] {
    transform: translateX(0);
    visibility: visible;
  }

  .header__nav[aria-hidden="true"]:not(.is-open) {
    visibility: hidden;
  }

  .header__nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--paper-2);
    border-radius: 6px;
    background: none;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
  }

  .header__nav-link {
    font-size: 18px;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--paper-2);
  }

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    width: 100%;
  }

  .header__cta {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .about__grid {
    gap: 52px;
  }

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

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

  .results__cell {
    padding: 0 30px;
  }

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

  .contact__grid {
    gap: 54px;
  }

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

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

  .hero__visual {
    width: 46%;
  }

  .hero__title {
    font-size: clamp(34px, 5.2vw, 52px);
  }

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

  .about__image {
    height: 440px;
  }

  .about__figure::after {
    inset: 16px -16px -16px 16px;
  }

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

  .accolades__inner {
    flex-wrap: wrap;
    gap: 24px;
  }

  .accolades__label {
    border-right: none;
    padding-right: 0;
    max-width: none;
  }

  .accolades__row {
    gap: 22px 40px;
  }

  .accolades__badge--million {
    height: 64px;
  }

  .accolades__badge--ntl {
    height: 51px;
  }

  .accolades__badge--super {
    height: 28px;
  }

  .accolades__badge--aaj {
    height: 43px;
  }
}

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

  .hero__actions {
    flex-wrap: wrap;
    gap: 20px;
  }
}

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

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

  .utility__hide-sm,
  .utility__left .utility__dot,
  .utility__right {
    display: none;
  }

  .about {
    padding: 76px 0;
  }

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

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

  .form {
    padding: 30px;
  }
}

/* Mobile hero: visual in flow below text */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(40px, 8vw, 64px) clamp(16px, 4vw, 28px) 0;
    display: flex;
    flex-direction: column;
  }

  .hero__inner {
    height: auto;
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

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

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

  .hero__plinth {
    height: 88%;
    width: min(96%, 420px);
  }

  .hero__image {
    height: 100%;
  }
}

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__tel {
    justify-content: center;
  }

  .accolades {
    padding: 28px 0;
  }

  .accolades__inner {
    gap: 20px;
  }

  .accolades__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    place-items: center;
    gap: 24px 20px;
    width: 100%;
  }

  .accolades__badge {
    max-width: 100%;
    object-fit: contain;
  }

  .accolades__badge--million {
    height: 56px;
  }

  .accolades__badge--ntl {
    height: 46px;
  }

  .accolades__badge--super {
    height: 25px;
  }

  .accolades__badge--aaj {
    height: 38px;
  }

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

  .hero__tel {
    font-size: 21px;
  }

  .hero__visual {
    height: 360px;
  }

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

  .practice-card {
    aspect-ratio: 1 / 0.72;
  }

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

  .results__cell {
    padding: 0 !important;
    border-left: none;
  }

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

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

  .about__stats {
    position: static;
    margin-top: 24px;
    right: auto;
    bottom: auto;
  }

  .about__figure::after {
    display: none;
  }

  .header__lockup-text {
    display: none;
  }

  .testimonial__quote {
    font-size: 20px;
  }
}
