/* ═══════════════════════════════════════════════════════
   KHOWAJA LAW ASSOCIATES — Premium Site Stylesheet
   ═══════════════════════════════════════════════════════ */

:root {
  --ink: #0e1420;            /* deep navy-black */
  --ink-2: #141c2c;          /* raised dark surface */
  --ink-3: #1c2536;          /* borders on dark */
  --paper: #f7f5f0;          /* warm off-white */
  --paper-2: #ffffff;
  --line: #e4e0d6;           /* hairlines on light */
  --gold: #c2a15c;
  --gold-2: #d9bc7d;
  --gold-deep: #a5854a;
  --text: #2a3140;
  --text-soft: #5b6473;
  --text-inv: #e8e4da;
  --text-inv-soft: #9aa3b2;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-lg: 0 30px 60px -20px rgba(14,20,32,.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ── Typography primitives ─────────────────────────── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 42px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow--gold { color: var(--gold-2); }

.section__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section--dark .section__title { color: var(--text-inv); }
.section__lead {
  margin-top: 22px;
  max-width: 640px;
  font-size: 17.5px;
  color: var(--text-soft);
}
.section { padding: 110px 0; }
.section--dark {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(194,161,92,.07), transparent 60%),
    var(--ink);
  color: var(--text-inv-soft);
}
.section__head { max-width: 760px; margin-bottom: 64px; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #171207;
  border-color: transparent;
}
.btn--gold:hover {
  background: linear-gradient(135deg, #e5cb90, var(--gold-2));
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(194,161,92,.55);
}
.btn--ghost {
  background: transparent;
  color: var(--text-inv);
  border-color: rgba(232,228,218,.35);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.section:not(.section--dark) .btn--ghost,
.booking__form .btn--ghost { color: var(--ink); border-color: rgba(14,20,32,.3); }
.section:not(.section--dark) .btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn--lg { padding: 17px 38px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--nav { padding: 11px 22px; font-size: 12px; }

/* ── Top bar ───────────────────────────────────────── */
.topbar {
  background: var(--ink);
  border-bottom: 1px solid var(--ink-3);
  font-size: 12.5px;
  color: var(--text-inv-soft);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
}
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__item { letter-spacing: .04em; transition: color .2s; }
a.topbar__item:hover { color: var(--gold-2); }
.topbar__divider { width: 1px; height: 12px; background: var(--ink-3); }

/* ── Navigation ────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,20,32,.97);
  border-bottom: 1px solid rgba(194,161,92,.16);
  transition: box-shadow .3s;
}
/* blur only on desktop: backdrop-filter would trap the fixed mobile drawer */
@media (min-width: 1025px) {
  .nav { background: rgba(14,20,32,.92); backdrop-filter: blur(14px); }
}
.nav.is-scrolled { box-shadow: 0 12px 40px -12px rgba(0,0,0,.5); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__brand-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: #171207;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex-shrink: 0;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav__brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-inv);
}
.nav__brand-tag {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-inv-soft);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
  white-space: nowrap;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--text-inv); }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--text-inv); transition: .3s; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-inv);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(194,161,92,.10), transparent 55%),
    radial-gradient(700px 600px at 90% 85%, rgba(194,161,92,.06), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(232,228,218,.025) 119px 120px);
}
.hero__bg::after {
  content: "§";
  position: absolute;
  right: -3%; bottom: -22%;
  font-family: var(--serif);
  font-size: 46vw;
  line-height: 1;
  color: rgba(194,161,92,.045);
  pointer-events: none;
}
.hero__inner { position: relative; padding: 120px 0 90px; }
.hero__content { max-width: 780px; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(44px, 6.4vw, 82px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-bottom: 28px;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(110deg, var(--gold-2), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-inv-soft);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero__sub strong { color: var(--text-inv); font-weight: 600; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(232,228,218,.12);
}
.hero__badge {
  flex: 1 1 150px;
  padding: 24px 28px 6px 0;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-inv-soft);
}
.hero__badge + .hero__badge { padding-left: 28px; border-left: 1px solid rgba(232,228,218,.12); }
.hero__badge span {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-2);
  margin-bottom: 2px;
}
.hero__scroll {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 28px;
}
.hero__scroll span {
  width: 1px; height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Trust bar ─────────────────────────────────────── */
.trustbar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.trustbar__label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 26px;
}
.trustbar__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 44px;
}
.trustbar__logos span {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: #6a7180;
  letter-spacing: .02em;
  transition: color .3s;
}
.trustbar__logos span:hover { color: var(--gold-deep); }

/* ── Practice grid ─────────────────────────────────── */
.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.practice__card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 30px 44px;
  background: var(--paper);
  position: relative;
  transition: background .35s var(--ease);
}
.practice__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.practice__card:hover { background: var(--paper-2); }
.practice__card:hover::before { transform: scaleX(1); }
.practice__num {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.practice__card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.practice__card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.75; }

/* ── About ─────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}
.about__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
  border: 1px solid rgba(194,161,92,.28);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
}
.about__portrait::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(194,161,92,.3);
  pointer-events: none;
  z-index: 3;
}
.about__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}
.about__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,22,.92) 0%, rgba(10,14,22,.35) 26%, transparent 48%);
  z-index: 2;
  pointer-events: none;
}
.about__portrait-caption {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about__portrait-caption strong {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text-inv);
}
.about__portrait-caption span {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.about__role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 10px 0 26px;
}
.about__content p { margin-bottom: 18px; font-size: 16px; line-height: 1.85; }
.about__content p strong { color: var(--text-inv); }
.about__creds {
  list-style: none;
  margin: 32px 0 38px;
  border-top: 1px solid var(--ink-3);
}
.about__creds li {
  padding: 15px 0;
  border-bottom: 1px solid var(--ink-3);
  font-size: 14px;
  color: var(--text-inv-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about__creds li span {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-inv);
}

/* ── Clients ───────────────────────────────────────── */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.clients__card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 36px 32px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.clients__card::before {
  content: "";
  position: absolute;
  top: 0; left: 32px;
  width: 46px; height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-deep));
}
.clients__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.clients__card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}
.clients__card p { font-size: 14.5px; color: var(--text-soft); }

/* ── Stats ─────────────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, #0b1019, var(--ink-2));
  border-block: 1px solid rgba(194,161,92,.22);
  padding: 64px 0;
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stats__num, .stats__suffix {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 600;
  color: var(--gold-2);
  line-height: 1;
}
.stats__item p {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-inv-soft);
}

/* ── Process ───────────────────────────────────────── */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  counter-reset: step;
}
.process__step { position: relative; padding-top: 26px; }
.process__step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: -40px;
  height: 1px;
  background: var(--line);
}
.process__step:last-child::before { right: 0; }
.process__step::after {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.process__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  color: rgba(165,133,74,.4);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.process__step h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.process__step p { font-size: 14.5px; color: var(--text-soft); }

/* ── Booking ───────────────────────────────────────── */
.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.booking__intro > p { font-size: 16.5px; line-height: 1.85; margin-top: 8px; }
.booking__points {
  list-style: none;
  margin: 30px 0 40px;
}
.booking__points li {
  position: relative;
  padding: 10px 0 10px 34px;
  font-size: 15px;
  color: var(--text-inv-soft);
  border-bottom: 1px solid var(--ink-3);
}
.booking__points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.booking__direct { display: flex; gap: 18px; flex-wrap: wrap; }
.booking__direct-item {
  flex: 1 1 200px;
  border: 1px solid rgba(194,161,92,.3);
  padding: 18px 22px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-inv);
  transition: border-color .3s, background .3s;
}
.booking__direct-item:hover { border-color: var(--gold); background: rgba(194,161,92,.07); }
.booking__direct-label {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.booking__form {
  background: var(--paper);
  padding: 44px 42px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.55);
}
.booking__form-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form__field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 7px;
}
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 13px 15px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  border-radius: 0;
  width: 100%;
}
.form__field textarea { resize: vertical; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194,161,92,.16);
}
.form__field input.is-invalid,
.form__field select.is-invalid {
  border-color: #b4442e;
  box-shadow: 0 0 0 3px rgba(180,68,46,.12);
}
.form__error {
  color: #b4442e;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 14px;
}
.form__actions { display: grid; gap: 12px; margin-top: 8px; }
.form__note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-soft);
}
.form__success {
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(194,161,92,.12);
  border: 1px solid rgba(165,133,74,.4);
  font-size: 14px;
  color: var(--ink);
}
.form__success strong { color: var(--gold-deep); }

/* ── Offices ───────────────────────────────────────── */
.offices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.office__card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 40px 34px;
}
.office__card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.office__card h3 span {
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
}
.office__card p { font-size: 15px; color: var(--text-soft); margin-bottom: 24px; }
.office__links { display: flex; flex-direction: column; gap: 8px; }
.office__links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color .25s;
  word-break: break-word;
}
.office__links a:hover { color: var(--gold-deep); }
.office__card--accent {
  background: var(--ink);
  border-color: rgba(194,161,92,.3);
}
.office__card--accent h3 { color: var(--text-inv); }
.office__card--accent p { color: var(--text-inv-soft); }
.office__card--accent .office__links a { color: var(--gold-2); }
.office__card--accent .office__links a:hover { color: var(--gold); }

/* ── CTA band ──────────────────────────────────────── */
.ctaband {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(194,161,92,.12), transparent 60%),
    var(--ink);
  border-top: 1px solid rgba(194,161,92,.2);
  padding: 90px 0;
}
.ctaband__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.ctaband h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  color: var(--text-inv);
  line-height: 1.15;
  margin-bottom: 10px;
}
.ctaband p { color: var(--text-inv-soft); font-size: 16.5px; }

/* ── Footer ────────────────────────────────────────── */
.footer {
  background: #0a0e16;
  color: var(--text-inv-soft);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink-3);
}
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__brand strong {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--text-inv);
  display: block;
  margin-bottom: 6px;
}
.footer__brand p { font-size: 13px; line-height: 1.7; }
.footer__col h4 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  transition: color .25s;
  word-break: break-word;
}
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 0 32px;
  font-size: 12.5px;
}
.footer__disclaimer { max-width: 560px; color: #5f6877; }

/* ── Sticky mobile CTA ─────────────────────────────── */
.stickycta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1.6fr;
  box-shadow: 0 -10px 30px rgba(0,0,0,.3);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.stickycta.is-visible { transform: translateY(0); }
.stickycta a {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stickycta__call { background: var(--ink); color: var(--text-inv); }
.stickycta__book { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #171207; }

/* ── Reveal animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 82vw);
    background: var(--ink);
    border-left: 1px solid rgba(194,161,92,.2);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 100px 36px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 99;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a:not(.btn) { font-size: 17px; padding: 10px 0; }
  .nav__links .btn { margin-top: 18px; }
  .nav__toggle { display: flex; z-index: 101; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .practice__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid, .offices__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 44px 30px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
  .process__step::before { right: 0; }
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 420px; }
  .booking__grid { grid-template-columns: 1fr; gap: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .topbar__right .topbar__item:last-child, .topbar__divider { display: none; }
  .nav__brand-tag { display: none; }
  .hero__inner { padding: 84px 0 64px; }
  .hero__badge { flex: 1 1 40%; }
  .hero__badge:nth-child(odd) { padding-left: 0; border-left: 0; }
  .practice__grid { grid-template-columns: 1fr; }
  .clients__grid, .offices__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .booking__form { padding: 32px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .stickycta { display: grid; }
  body { padding-bottom: 0; }
}
