/* ============================================================
   ABDELHADI & ASSOCIATES, P.C. — homepage
   Palette: #231F20 ink / #8A6632 bronze / #E5E5DA cream
   Type: Baskervville (display) + Plus Jakarta Sans (body)
   ============================================================ */

:root {
  --ink: #1a1719;
  --ink-deep: #100e10;
  --ink-soft: #3a3436;
  --bronze: #8a6632;
  --gold: #b98f45;
  --gold-soft: #d9be8a;
  --gold-pale: #ebdcbc;
  --bone: #f3f0e8;
  --bone-2: #e7e3d8;
  --white: #ffffff;
  --body: #4a4547;
  --pad: 45px;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 140px;
  --d-serif: "Baskervville", Georgia, "Times New Roman", serif;
  --d-sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--body);
  font-family: var(--d-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

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

.section {
  padding-block: 104px;
}

.section--dark,
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--bone);
}

.section--dark p {
  color: #b9b2ae;
}

/* ---------- type ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--d-serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0.002em;
}

h1 {
  font-size: clamp(34px, 3.4vw, 58px);
}

h2 {
  font-size: clamp(30px, 2.5vw, 44px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 20px;
}

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

.eyebrow {
  font-family: var(--d-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.eyebrow::after {
  content: "";
  height: 1px;
  flex: 0 0 46px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

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

.eyebrow--center::before {
  content: "";
  height: 1px;
  flex: 0 0 46px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

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

.lede {
  font-size: 18px;
  line-height: 1.8;
}

/* ---------- icons ---------- */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.chev {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
}

.chev--inner {
  stroke-width: 6;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--d-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 34px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.35;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.btn--gold {
  background: linear-gradient(103deg, var(--bronze), var(--gold) 58%, #cfa662);
  color: #1b1508;
  box-shadow: 0 10px 26px -14px rgba(138, 102, 50, 0.85);
}

.btn--gold:hover {
  transform: translateY(-2px);
}

.btn--outline {
  border-color: rgba(26, 23, 25, 0.28);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.btn--ghost-light {
  border-color: rgba(235, 220, 188, 0.4);
  color: var(--gold-pale);
}

.btn--ghost-light:hover {
  background: var(--gold-pale);
  color: var(--ink);
}

.btn--hero {
  font-size: 20px;
  padding: 17px 40px;
}

/* ---------- utility bar ---------- */
.utility-bar {
  background: var(--ink);
  color: #cfc7c2;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

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

.utility-bar__highlight {
  color: var(--gold-soft);
  font-weight: 600;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(243, 240, 232, 0.96);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(26, 23, 25, 0.1);
  transition: box-shadow 0.3s;
}

.header--stuck {
  box-shadow: 0 12px 34px -24px rgba(16, 14, 16, 0.6);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  min-height: 96px;
}

.header__brand {
  flex-shrink: 0;
}

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

.header__nav--desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  margin-left: auto;
}

.header__nav--panel {
  display: none;
}

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

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.32s ease;
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.header__phone-icon {
  width: 15px;
  height: 15px;
  fill: var(--bronze);
  flex: 0 0 auto;
}

.header__cta {
  flex-shrink: 0;
  font-size: clamp(13px, 1.05vw, 16px);
  padding: clamp(10px, 1vw, 13px) clamp(16px, 1.6vw, 26px);
}

.header__burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid rgba(26, 23, 25, 0.22);
  border-radius: 999px;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.header__burger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    top 0.3s ease;
}

.header__burger-line:nth-child(1) {
  top: 17px;
}

.header__burger-line:nth-child(2) {
  top: 23px;
}

.header__burger-line:nth-child(3) {
  top: 29px;
}

.is-nav-open .header__burger-line:nth-child(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}

.is-nav-open .header__burger-line:nth-child(2) {
  opacity: 0;
}

.is-nav-open .header__burger-line:nth-child(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

.header__overlay {
  display: none;
}

.header__nav-close {
  display: none;
}

.header__nav-extras {
  display: none;
}

/* ---------- 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:
    radial-gradient(120% 130% at 88% 100%, #efe8d8 0%, rgba(239, 232, 216, 0) 62%),
    linear-gradient(180deg, #f7f5ee 0%, var(--bone) 55%, #eae5d9 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(26, 23, 25, 0.045) 1px, transparent 1px);
  background-size: 100% 44px;
  opacity: 0.55;
  pointer-events: none;
}

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

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

.hero__title {
  margin-bottom: 22px;
}

.hero__title em {
  font-style: italic;
  color: var(--bronze);
}

.hero__lede {
  max-width: 560px;
  color: var(--ink-soft);
}

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

.hero__tel {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.hero__tel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(138, 102, 50, 0.38);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.hero__tel-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--bronze);
}

.hero__tel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  line-height: 1;
}

.hero__tel-number {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: block;
  margin-top: 5px;
  line-height: 1;
}

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

.hero__stage {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 112%;
  height: 96%;
  background: linear-gradient(
    160deg,
    rgba(138, 102, 50, 0.16),
    rgba(185, 143, 69, 0.34) 46%,
    rgba(107, 78, 36, 0.5)
  );
  border-radius: 340px 340px 0 0;
}

.hero__stage::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 326px 326px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
}

.hero__mark {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 70%;
  color: rgba(255, 255, 255, 0.16);
  z-index: 1;
}

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

/* ---------- accolades ---------- */
.accolades {
  background: var(--ink);
  position: relative;
}

.accolades__inner {
  padding-block: 42px;
}

.accolades__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 26px;
}

.accolades__slot {
  display: grid;
  place-items: center;
  height: 88px;
  position: relative;
}

.accolades__slot + .accolades__slot::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 14%;
  height: 72%;
  width: 1px;
  background: rgba(235, 220, 188, 0.16);
}

.accolades__badge {
  width: auto;
  max-width: 92%;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.3s;
}

.accolades__badge:hover {
  opacity: 1;
}

.accolades__slot[data-slot="1"] .accolades__badge {
  height: 74px;
}

.accolades__slot[data-slot="2"] .accolades__badge {
  height: 62px;
}

.accolades__slot[data-slot="3"] .accolades__badge {
  height: 38px;
}

.accolades__slot[data-slot="4"] .accolades__badge {
  height: 50px;
}

/* ---------- about ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 76px;
  align-items: center;
}

.about__figure {
  position: relative;
}

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

.about__figure::after {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -22px;
  width: 64%;
  height: 64%;
  border: 1px solid var(--gold);
  z-index: 1;
}

.about__tag {
  position: absolute;
  right: -24px;
  top: 34px;
  z-index: 3;
  background: var(--ink);
  color: var(--gold-pale);
  padding: 16px 22px;
  text-align: center;
}

.about__tag-value {
  display: block;
  font-family: var(--d-serif);
  font-size: 34px;
  color: var(--gold-soft);
  line-height: 1;
}

.about__tag-plus {
  font-size: 20px;
}

.about__tag-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-top: 6px;
}

.about__copy h2 {
  margin-bottom: 26px;
}

.about__kicker {
  font-family: var(--d-serif);
  font-size: 21px;
  font-style: italic;
  color: var(--bronze);
  margin-bottom: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid rgba(26, 23, 25, 0.14);
}

.stats__item {
  padding: 24px 22px 0;
}

.stats__item + .stats__item {
  border-left: 1px solid rgba(26, 23, 25, 0.14);
}

.stats__item:first-child {
  padding-left: 0;
}

.stats__value {
  display: block;
  font-family: var(--d-serif);
  font-size: 32px;
  color: var(--ink);
  line-height: 1;
}

.stats__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 9px;
  font-weight: 600;
}

/* ---------- practice areas ---------- */
.practice {
  background: var(--bone-2);
}

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

.section-head__text {
  max-width: 520px;
  margin: 0;
}

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

.practice-card {
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.38s ease,
    box-shadow 0.38s ease;
}

.practice-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 34px 54px -34px rgba(16, 14, 16, 0.5);
}

.practice-card__thumb {
  position: relative;
  height: 236px;
  overflow: hidden;
}

.practice-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.practice-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 14, 16, 0) 40%, rgba(16, 14, 16, 0.62));
}

.practice-card__body {
  padding: 26px 28px 30px;
  position: relative;
}

.practice-card__mark {
  position: absolute;
  top: -16px;
  right: 24px;
  width: 34px;
  height: 26px;
  color: var(--gold);
}

.practice-card__body h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.practice-card__body p {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.practice-card__more {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.practice-card__more::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--bronze);
  transition: width 0.3s;
}

.practice-card:hover .practice-card__more::after {
  width: 38px;
}

/* ---------- case results ---------- */
.results {
  position: relative;
  background: var(--ink-deep);
  overflow: hidden;
}

.results__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.results::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 14, 16, 0.94), rgba(16, 14, 16, 0.62));
}

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

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

.results__cell {
  padding: 38px 30px 0;
  position: relative;
}

.results__cell + .results__cell {
  border-left: 1px solid rgba(235, 220, 188, 0.2);
}

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

.results__amount {
  font-family: var(--d-serif);
  font-size: clamp(32px, 2.7vw, 44px);
  color: var(--gold-soft);
  line-height: 1;
  display: block;
}

.results__kind {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 16px;
}

.results__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.results__link::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

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

.results__note {
  margin-top: 46px;
  font-size: 12.5px;
  color: #8e8783;
  letter-spacing: 0.02em;
}

/* ---------- values ---------- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 54px;
}

.value-card {
  padding-top: 26px;
  border-top: 2px solid var(--gold);
}

.value-card__mark {
  width: 32px;
  height: 24px;
  color: var(--gold);
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.value-card p {
  font-size: 15.5px;
  margin-bottom: 16px;
}

.value-card__link {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.value-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.testimonial__mark {
  position: absolute;
  right: -2%;
  top: -18%;
  width: 38%;
  color: rgba(235, 220, 188, 0.06);
}

.testimonial__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 96px;
}

.testimonial__quote {
  margin: 26px auto 0;
  max-width: 900px;
  font-family: var(--d-serif);
  font-size: clamp(22px, 2vw, 33px);
  line-height: 1.5;
  color: var(--bone);
}

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

.testimonial__stars svg {
  width: 17px;
  height: 17px;
  fill: var(--gold);
}

.testimonial__who {
  margin-top: 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  line-height: 1.9;
}

.testimonial__role {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #948d89;
  font-weight: 500;
}

/* ---------- contact ---------- */
.contact {
  background: var(--bone);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: start;
}

.contact__copy h2 {
  margin-bottom: 22px;
}

.info-list {
  margin-top: 38px;
  border-top: 1px solid rgba(26, 23, 25, 0.14);
}

.info-list__item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(26, 23, 25, 0.14);
}

.info-list__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(138, 102, 50, 0.35);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.info-list__icon svg {
  width: 15px;
  height: 15px;
  fill: var(--bronze);
}

.info-list__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 5px;
}

.info-list__value {
  margin: 0;
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.6;
}

.form-card {
  background: var(--white);
  padding: 46px 44px;
  box-shadow: 0 40px 70px -50px rgba(16, 14, 16, 0.55);
  border-top: 3px solid var(--gold);
}

.form-card h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.form-card__sub {
  font-size: 14.5px;
  margin-bottom: 28px;
}

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

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

.field__label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field__input,
.field__select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(26, 23, 25, 0.2);
  background: #fbfaf6;
  border-radius: 2px;
  font-size: 15px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.field__select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--bronze) 50%),
    linear-gradient(135deg, var(--bronze) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 17px,
    calc(100% - 13px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field__textarea {
  width: 100%;
  height: 120px;
  padding: 12px 14px;
  border: 1px solid rgba(26, 23, 25, 0.2);
  background: #fbfaf6;
  border-radius: 2px;
  font-size: 15px;
  resize: vertical;
  line-height: 1.6;
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 143, 69, 0.16);
}

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

.form-card__fine {
  margin-top: 16px;
  font-size: 12px;
  color: #8a8386;
  line-height: 1.6;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink-deep);
  color: #9e9793;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 52px;
  padding-block: 76px;
}

.footer__logo {
  width: 270px;
  max-width: none;
  margin-bottom: 26px;
}

.footer__top p {
  font-size: 15px;
  line-height: 1.8;
}

.footer__heading {
  font-size: 12px;
  font-family: var(--d-sans);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.footer__list li {
  margin-bottom: 11px;
  font-size: 15px;
}

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

.footer__address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
}

.footer__phone {
  display: block;
  margin-top: 16px;
  font-family: var(--d-serif);
  font-size: 26px;
  color: var(--gold-soft);
}

.footer__bottom {
  border-top: 1px solid rgba(235, 220, 188, 0.14);
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #7c7672;
}

.footer__credit {
  color: #5f5a57;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.reveal--d1 {
  transition-delay: 0.09s;
}

.reveal--d2 {
  transition-delay: 0.18s;
}

.reveal--d3 {
  transition-delay: 0.27s;
}

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

  html {
    scroll-behavior: auto;
  }

  .practice-card,
  .practice-card__image,
  .btn {
    transition: none;
  }
}

/* ---------- responsive ---------- */
@media (min-width: 1400px) {
  .hero__content {
    max-width: min(100%, 740px);
    width: min(100%, 740px);
    padding-right: 56px;
  }

  .hero__visual {
    width: 540px;
  }
}

@media (max-width: 1360px) {
  .header__nav--desktop {
    gap: 18px;
  }
}

@media (max-width: 1200px) {
  .header__nav--desktop,
  .header__phone,
  .header__cta {
    display: none;
  }

  .header__burger {
    display: inline-flex;
  }

  .header__inner {
    min-height: 82px;
  }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(16, 14, 16, 0.55);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 95;
  }

  .is-nav-open .header__overlay {
    opacity: 1;
    visibility: visible;
  }

  .header__nav--panel {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 28px 28px 40px;
    background: var(--bone);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    box-shadow: -24px 0 48px -28px rgba(16, 14, 16, 0.45);
  }

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

  .header__nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border: 1px solid rgba(26, 23, 25, 0.22);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
  }

  .header__nav-link {
    display: block;
    flex-shrink: 1;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(26, 23, 25, 0.08);
  }

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

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

  .header__nav-extras .header__phone {
    display: flex;
    font-size: 18px;
  }

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

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

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

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

  .results__cell:nth-child(n + 3) {
    border-top: 1px solid rgba(235, 220, 188, 0.2);
    margin-top: 34px;
  }

  .about__grid {
    gap: 48px;
  }

  .contact__grid {
    gap: 48px;
  }
}

@media (max-width: 980px) {
  :root {
    --pad: 30px;
  }

  .section {
    padding-block: 78px;
  }

  .btn {
    white-space: normal;
  }

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

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

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

  .hero__visual {
    position: relative;
    width: 100%;
    height: 470px;
    right: auto;
    bottom: auto;
  }

  .hero__stage {
    right: 0;
    width: 100%;
    height: 100%;
  }

  .hero__image {
    height: 98%;
  }

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

  .about__image {
    height: 420px;
  }

  .about__tag {
    right: 16px;
  }

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

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

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

  .accolades__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    row-gap: 34px;
  }

  .accolades__slot + .accolades__slot::before {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding-block: 62px;
  }

  .utility-bar__meta span:first-child {
    display: none;
  }

  .utility-bar {
    font-size: 11px;
  }

  .hero__content {
    padding-bottom: 32px;
  }

  .hero__visual {
    height: 360px;
  }

  .hero__actions {
    gap: 20px;
  }

  .hero__actions .btn--hero {
    width: 100%;
    font-size: 18px;
    padding: 15px 24px;
    white-space: normal;
  }

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

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

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

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

  .results__cell {
    padding: 30px 0 0;
  }

  .results__cell + .results__cell {
    border-left: 0;
    border-top: 1px solid rgba(235, 220, 188, 0.2);
    margin-top: 30px;
  }

  .results__cell:nth-child(n + 3) {
    margin-top: 30px;
  }

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

  .stats__item {
    padding: 20px 0 0;
  }

  .stats__item + .stats__item {
    border-left: 0;
    border-top: 1px solid rgba(26, 23, 25, 0.14);
    margin-top: 18px;
  }

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

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

  .about__tag {
    right: 12px;
    top: 16px;
    padding: 12px 16px;
  }

  .accolades__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 56px;
  }

  .testimonial__inner {
    padding-block: 70px;
  }
}
