/* Ajmal Bhatti Law Company — professional chambers stylesheet */

:root {
  --ink: #071a18;
  --ink-soft: #0d2e2a;
  --teal: #145c52;
  --teal-mid: #1a7a6c;
  --brass: #c9a227;
  --brass-soft: #e0c56a;
  --stone: #f2f0eb;
  --stone-deep: #e4e0d6;
  --paper: #faf9f6;
  --muted: #5c635f;
  --line: rgba(7, 26, 24, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(7, 26, 24, 0.18);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", "Segoe UI", Tahoma, serif;
  --whatsapp: #25d366;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Site header —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1.25rem 0;
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(7, 26, 24, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 0.85rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--white);
}

.brand:hover {
  color: var(--brass-soft);
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(201, 162, 39, 0.45);
  flex-shrink: 0;
  background: var(--ink);
}

.urdu {
  font-family: var(--font-urdu);
  line-height: 2;
  font-size: 1.05em;
}

.hero-urdu {
  color: var(--brass-soft);
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(201, 162, 39, 0.5);
  margin-bottom: 1.25rem;
  animation: riseIn 1.05s var(--ease) both;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  margin: 4px auto;
  transition: transform 0.3s var(--ease);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.7rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.25rem;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.45;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 26, 24, 0.92) 0%, rgba(7, 26, 24, 0.72) 48%, rgba(7, 26, 24, 0.45) 100%),
    linear-gradient(to top, rgba(7, 26, 24, 0.88) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 4rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 0.35em;
  max-width: 12ch;
  animation: riseIn 1.05s var(--ease) both;
}

.hero-brand span {
  display: block;
  color: var(--brass-soft);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  animation: riseIn 1.05s var(--ease) 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: riseIn 1.05s var(--ease) 0.22s both;
}

.hero-meta {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  animation: riseIn 1.05s var(--ease) 0.32s both;
}

.hero-meta strong {
  color: var(--brass-soft);
  font-weight: 500;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 55%, #144038 100%);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(201, 162, 39, 0.12), transparent),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.015) 40px,
      rgba(255, 255, 255, 0.015) 41px
    );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 0.4em;
  color: var(--white);
}

.page-hero p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

.btn-primary {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}

.btn-primary:hover {
  background: var(--brass-soft);
  color: var(--ink);
}

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

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-soft);
}

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

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

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-stone {
  background: var(--stone);
}

.section-ink {
  background: var(--ink);
  color: var(--white);
}

.section-ink .muted,
.section-ink p {
  color: rgba(255, 255, 255, 0.75);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  color: inherit;
}

.section-stone .section-head h2,
.section .section-head h2 {
  color: var(--ink);
}

.section-ink .section-head h2 {
  color: var(--white);
}

.section-head p {
  color: var(--muted);
}

.section-ink .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.muted {
  color: var(--muted);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.split-copy .eyebrow {
  color: var(--teal-mid);
}

.split-visual {
  position: relative;
  min-height: 420px;
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: auto -1.25rem -1.25rem auto;
  width: 55%;
  height: 55%;
  border: 1px solid var(--brass);
  z-index: -1;
}

/* Practice grid — not cards with heavy chrome; clean columns */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.practice-item {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.practice-item:nth-child(even) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.practice-item.is-visible {
  opacity: 1;
  transform: none;
}

.practice-item h3 {
  font-size: 1.65rem;
  margin-bottom: 0.45em;
  color: var(--ink);
}

.practice-item p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
}

.practice-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--brass);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

/* Mission strip */
.mission {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}

.mission-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--brass-soft);
  max-width: 18ch;
}

.mission p {
  max-width: 36rem;
}

/* Cases */
.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}

.case-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  break-inside: avoid;
  color: var(--muted);
}

.case-list li::before {
  content: "▸";
  color: var(--brass);
  margin-right: 0.65rem;
}

/* Team */
.team-featured {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.team-photo {
  background: var(--stone-deep);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-featured h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.team-role {
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.team-creds {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.memberships {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.memberships li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.team-member {
  padding: 1.25rem 0;
  border-top: 2px solid var(--ink);
}

.team-member h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25em;
}

.team-member .team-role {
  margin-bottom: 0.65rem;
}

.team-member p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Offices / contact */
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
}

.office-item {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.office-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35em;
}

.office-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-details a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--teal);
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.contact-form .field {
  margin-bottom: 1.15rem;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-alert {
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.form-alert.success {
  background: rgba(20, 92, 82, 0.1);
  border-left: 3px solid var(--teal);
}

.form-alert.error {
  background: rgba(140, 40, 40, 0.08);
  border-left: 3px solid #8c2828;
}

/* Clients logos */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 2.5rem;
}

.client-logos img {
  max-height: 72px;
  width: auto;
  filter: grayscale(0.2);
  opacity: 0.9;
}

.links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
}

.links-list a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
}

.links-list a:hover {
  border-bottom-color: var(--brass);
  color: var(--teal);
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  background:
    linear-gradient(120deg, var(--ink-soft), #123f38);
  color: var(--white);
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5em;
}

.cta-band p {
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-band .hero-actions {
  justify-content: center;
  opacity: 1;
  animation: none;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  font-weight: 500;
}

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

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--brass-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

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

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

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand,
  .hero-lead,
  .hero-actions,
  .hero-meta,
  .hero-media img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal,
  .practice-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* Page hero with photo */
.page-hero-photo {
  position: relative;
  isolation: isolate;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-hero-photo::before {
  background:
    linear-gradient(135deg, rgba(7, 26, 24, 0.92) 0%, rgba(7, 26, 24, 0.78) 55%, rgba(20, 64, 56, 0.7) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.015) 40px,
      rgba(255, 255, 255, 0.015) 41px
    );
}

/* Brand panel */
.brand-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  padding: 1rem 0;
}

.brand-panel-logo {
  max-width: min(100%, 340px);
  background: #000;
  padding: 0.75rem 1rem;
}

.brand-panel-wordmark {
  max-width: min(100%, 400px);
  border: 1px solid var(--line);
}

.footer-logo {
  max-width: 280px;
  width: 100%;
  margin-bottom: 1rem;
  background: #000;
  padding: 0.5rem 0.75rem;
}

/* Gallery strip */
.gallery-section {
  padding-bottom: 0;
  overflow: hidden;
}

.gallery-section .section-head {
  margin-bottom: 2rem;
}

.gallery-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0 0 2.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-strip::-webkit-scrollbar {
  height: 6px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 39, 0.45);
}

.gallery-item {
  margin: 0;
  flex: 0 0 min(72vw, 320px);
  scroll-snap-align: start;
}

.gallery-item:first-child {
  margin-inline-start: max(1.25rem, calc((100vw - var(--max)) / 2));
}

.gallery-item:last-child {
  margin-inline-end: max(1.25rem, calc((100vw - var(--max)) / 2));
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery-item:hover img {
  filter: none;
  transform: scale(1.02);
}

.chambers-visual img {
  min-height: 360px;
}

/* Portrait rows */
.portrait-row,
.founder-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.founder-gallery {
  grid-template-columns: repeat(4, 1fr);
  margin: 2rem 0 0;
}

.portrait-row figure {
  margin: 0;
  overflow: hidden;
  background: var(--stone-deep);
}

.portrait-row img,
.founder-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
}

.team-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--brass-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--whatsapp);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.whatsapp-float svg {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .team-featured,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .portrait-row {
    grid-template-columns: 1fr;
  }

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

  .practice-grid,
  .team-grid,
  .office-grid,
  .links-list {
    grid-template-columns: 1fr;
  }

  .practice-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .mission {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 300px);
    background: var(--ink);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 60;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .site-nav a {
    font-size: 0.9rem;
    padding: 0.75rem 0;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 55;
  }

  .nav-backdrop.is-open {
    display: block;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .split-visual::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .contact-form .row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .brand-sub {
    max-width: 12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
