/* ============================================================
   Jamal Al Jallaf Advocates — style.css
   Components shared across all pages
   ============================================================ */

/* ─────────── HEADER ─────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
  transition: background var(--t), border-color var(--t);
}
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 96%, transparent); border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; color: var(--navy); }
.brand-mark.large { width: 56px; height: 56px; }
[data-theme="dark"] .brand { color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: .01em; }
.brand-sub { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin-top: 2px; }
[lang="ar"] .brand-sub { letter-spacing: .04em; font-size: 11px; }

.site-nav { margin-inline-start: auto; display: flex; gap: 28px; }
.site-nav a {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t), border-color var(--t);
  position: relative;
}
[lang="ar"] .site-nav a { letter-spacing: 0; font-size: 14px; text-transform: none; }
.site-nav a:hover { color: var(--navy); }
.site-nav a.is-active { color: var(--navy); border-bottom-color: var(--gold); }
[data-theme="dark"] .site-nav a:hover, [data-theme="dark"] .site-nav a.is-active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--t), border-color var(--t);
  font-weight: 500;
}
.lang-toggle::before {
  content: "";
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a13 13 0 0 1 0 18M12 3a13 13 0 0 0 0 18'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a13 13 0 0 1 0 18M12 3a13 13 0 0 0 0 18'/></svg>") center/contain no-repeat;
}
.lang-toggle:hover { color: var(--gold); border-color: var(--gold); }

.theme-toggle {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  transition: color var(--t), border-color var(--t);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  border: 2px solid var(--navy);
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(14,26,43,0.18);
  cursor: pointer;
  padding: 0;
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.menu-toggle:hover, .menu-toggle:focus-visible {
  background: var(--navy);
  box-shadow: 0 3px 10px rgba(14,26,43,0.28);
}
.menu-toggle span {
  display: block;
  width: 24px; height: 3px;
  background: var(--navy); /* bold navy bars on white — maximum contrast */
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t), background var(--t);
}
.menu-toggle:hover span, .menu-toggle:focus-visible span { background: #FFFFFF; }
.menu-toggle[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); }
.menu-toggle[aria-expanded="true"] span { background: var(--gold); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
/* Dark theme: cream/white button with deep-navy bars + deep-navy border so it pops on dark header.
   Use LITERAL hex (not var(--navy)) because --navy is redefined to cream in dark mode. */
[data-theme="dark"] .menu-toggle { background: #F5F2EC; border-color: #0E1A2B; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
[data-theme="dark"] .menu-toggle span { background: #0E1A2B; }
[data-theme="dark"] .menu-toggle:hover, [data-theme="dark"] .menu-toggle:focus-visible { background: #FFFFFF; }
[data-theme="dark"] .menu-toggle:hover span, [data-theme="dark"] .menu-toggle:focus-visible span { background: #0E1A2B; }
[data-theme="dark"] .menu-toggle[aria-expanded="true"] { background: #0E1A2B; border-color: #F5F2EC; }
[data-theme="dark"] .menu-toggle[aria-expanded="true"] span { background: var(--gold); }

.mobile-nav { display: none; flex-direction: column; padding: 16px var(--gutter) 32px; background: var(--bg); border-bottom: 1px solid var(--rule); }
.mobile-nav a { padding: 18px 0; font-family: var(--font-display); font-size: 22px; color: var(--ink); border-bottom: 1px solid var(--rule-soft); }
.mobile-nav.open { display: flex; }

/* ─────────── WHATSAPP FLOAT ─────────── */
.wa-float {
  position: fixed;
  inset-block-end: 28px;
  inset-inline-end: 28px;
  z-index: 90;
  width: 60px; height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-float);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 20px 50px rgba(37, 211, 102, .35); }
.wa-float::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, .35);
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float .wa-label {
  position: absolute;
  inset-inline-end: calc(100% + 14px);
  inset-block-start: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 10px 16px;
  background: var(--navy);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
[dir="rtl"] .wa-float .wa-label { transform: translateY(-50%) translateX(-8px); }
.wa-float:hover .wa-label { opacity: 1; transform: translateY(-50%) translateX(0); }
[lang="ar"] .wa-float .wa-label { text-transform: none; letter-spacing: 0; font-size: 14px; }
@keyframes wa-pulse {
  0%   { transform: scale(.9); opacity: .9; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ─────────── HERO (home) ─────────── */
.hero { position: relative; min-height: 88vh; display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(100px, 14vw, 180px) clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.85) brightness(.6); }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,18,28,.55) 0%, rgba(11,18,28,.15) 35%, rgba(11,18,28,.6) 80%, rgba(11,18,28,.92) 100%),
    radial-gradient(120% 80% at 50% 0%, rgba(11,18,28,.0), rgba(11,18,28,.6) 100%);
}
.hero-inner { color: #F5F2EC; max-width: 1240px; }
.hero .eyebrow { color: rgba(245,242,236,.7); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #F5F2EC;
  margin-bottom: 32px;
  max-width: 18ch;
}
[lang="ar"] .hero-title { line-height: 1.2; letter-spacing: 0; }
.hero-title .line { display: block; }
.hero-title .italic { font-style: italic; color: var(--gold-soft); }
[lang="ar"] .hero-title .italic { font-style: normal; }
.hero-lede { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; color: rgba(245,242,236,.82); max-width: 58ch; margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero .btn-ghost { color: #F5F2EC; border-color: rgba(245,242,236,.35); }
.hero .btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 32px;
  border-top: 1px solid rgba(245,242,236,.18);
  color: rgba(245,242,236,.85);
}
.hero-meta > div { display: flex; flex-direction: column; gap: 6px; }
.meta-num { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); font-weight: 400; color: #F5F2EC; line-height: 1; }
.meta-num sup { font-size: .55em; color: var(--gold-soft); }
.meta-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(245,242,236,.6); }
[lang="ar"] .meta-label { letter-spacing: 0; font-size: 13px; text-transform: none; }

/* ─────────── PAGE HEADER (interior pages) ─────────── */
.page-head {
  padding-block: clamp(100px, 12vw, 180px) clamp(56px, 7vw, 110px);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: relative;
}
.page-head .container { display: grid; gap: 16px; }
.page-head .breadcrumb {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.page-head .breadcrumb a:hover { color: var(--gold); }
[lang="ar"] .page-head .breadcrumb { letter-spacing: 0; font-size: 13px; text-transform: none; }
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 18ch;
}
[lang="ar"] .page-head h1 { line-height: 1.2; letter-spacing: 0; }
.page-head .deck {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 24px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 16px;
}
[lang="ar"] .page-head .deck { font-style: normal; font-family: var(--font-body-ar); }

/* ─────────── ABOUT ─────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-portrait { position: sticky; inset-block-start: 100px; }
.about-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(.35) contrast(1.02); box-shadow: var(--shadow-2); }
.about-portrait .caption { margin-block-start: 16px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
[lang="ar"] .about-portrait .caption { letter-spacing: 0; font-size: 14px; text-transform: none; }
.about-body p { margin-bottom: 18px; color: var(--ink-soft); font-size: 16.5px; }
.about-body a { color: var(--navy); border-bottom: 1px solid var(--gold); }
[data-theme="dark"] .about-body a { color: var(--gold); }

.bio-list { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.bio-list > div { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.bio-list dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
[lang="ar"] .bio-list dt { letter-spacing: 0; font-size: 13px; text-transform: none; }
.bio-list dd { font-family: var(--font-display); font-size: 18px; color: var(--ink); }

/* ─── Career timeline (about page) ─── */
.career {
  margin-top: 0;
  border-top: 1px solid var(--rule);
}
.career > li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.career .yr { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--gold); font-weight: 500; }
.career h3 { font-family: var(--font-display); font-size: 21px; color: var(--navy); font-weight: 500; margin-bottom: 6px; }
[data-theme="dark"] .career h3 { color: var(--ink); }
.career p { color: var(--ink-soft); font-size: 15.5px; }

/* ─── Quote block ─── */
.pullquote {
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
}
.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--ink);
}
[lang="ar"] .pullquote p { font-style: normal; }
.pullquote cite { display: block; margin-top: 16px; font-style: normal; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
[lang="ar"] .pullquote cite { letter-spacing: 0; font-size: 13px; text-transform: none; }

/* ─────────── FULL BLEED ─────────── */
.fullbleed { position: relative; height: clamp(420px, 60vh, 640px); overflow: hidden; isolation: isolate; }
.fullbleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.fullbleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,28,.55), rgba(11,18,28,.35) 50%, rgba(11,18,28,.7)); z-index: -1; }
.fullbleed-quote, .fullbleed-statement { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #F5F2EC; }
.fullbleed-quote blockquote { max-width: 60ch; }
.fullbleed-quote blockquote p { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(24px, 3vw, 38px); line-height: 1.35; color: #F5F2EC; margin-bottom: 24px; }
[lang="ar"] .fullbleed-quote blockquote p { font-style: normal; }
.fullbleed-quote cite { font-style: normal; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(245,242,236,.7); }
[lang="ar"] .fullbleed-quote cite { letter-spacing: 0; font-size: 14px; text-transform: none; }
.fullbleed-statement .eyebrow.light { color: rgba(245,242,236,.7); margin-bottom: 24px; }
.fullbleed-statement h2 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(36px, 6vw, 76px); line-height: 1.05; color: #F5F2EC; max-width: 16ch; }
[lang="ar"] .fullbleed-statement h2 { font-style: normal; line-height: 1.25; }

/* ─────────── PRACTICE BOXES ─────────── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-inline-start: 1px solid var(--rule);
}
.practice-card {
  display: flex; flex-direction: column;
  padding: 40px 36px 36px;
  border-inline-end: 1px solid var(--rule);
  border-block-end: 1px solid var(--rule);
  transition: background var(--t), transform var(--t);
  position: relative;
  min-height: 320px;
}
.practice-card:hover { background: var(--bg-elev); }
.practice-card:hover .practice-icon { color: var(--gold); }
.practice-card:hover .practice-arrow { transform: translateX(4px); color: var(--gold); }
[dir="rtl"] .practice-card:hover .practice-arrow { transform: translateX(-4px); }
.practice-icon {
  width: 56px; height: 56px;
  color: var(--navy);
  margin-bottom: 28px;
  transition: color var(--t);
}
[data-theme="dark"] .practice-icon { color: var(--ink); }
.practice-num {
  position: absolute;
  inset-block-start: 22px;
  inset-inline-end: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.practice-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.15;
}
[data-theme="dark"] .practice-card h3 { color: var(--ink); }
.practice-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.practice-arrow {
  margin-block-start: auto;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--t), transform var(--t);
  font-weight: 500;
}
[lang="ar"] .practice-arrow { letter-spacing: 0; font-size: 13px; text-transform: none; }
.practice-arrow::after { content: "→"; }
[dir="rtl"] .practice-arrow::after { content: "←"; }

/* ─────────── CASEWORK ─────────── */
.cases { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.case {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background var(--t);
}
.case:hover { background: var(--bg-elev); }
.case-year { font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--gold); font-weight: 500; letter-spacing: .02em; padding-top: 4px; }
.case h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); color: var(--navy); margin-bottom: 12px; line-height: 1.2; }
[data-theme="dark"] .case h3 { color: var(--ink); }
.case p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin-bottom: 10px; max-width: 70ch; }
.case-source { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
[lang="ar"] .case-source { letter-spacing: 0; font-size: 14px; text-transform: none; }
.case-source a { color: var(--ink-mute); border-bottom: 1px solid var(--rule); padding-bottom: 2px; margin-inline-end: 18px; transition: color var(--t), border-color var(--t); }
.case-source a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ─────────── NEWS LIST ─────────── */
.news-list { border-top: 1px solid var(--rule); }
.news-item {
  display: grid;
  grid-template-columns: 180px 1fr 140px;
  gap: clamp(20px, 4vw, 56px);
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background var(--t);
}
.news-item:hover { background: var(--bg-elev); }
.news-date { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
[lang="ar"] .news-date { letter-spacing: 0; font-size: 14px; text-transform: none; }
.news-headline { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); color: var(--navy); line-height: 1.25; }
[data-theme="dark"] .news-headline { color: var(--ink); }
.news-item:hover .news-headline { color: var(--gold); }
.news-outlet { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); text-align: end; font-weight: 500; }
[lang="ar"] .news-outlet { letter-spacing: 0; font-size: 13px; text-transform: none; }

/* ─────────── DISTINCTIONS ─────────── */
.distinctions-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.distinctions-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: contrast(1.05); box-shadow: var(--shadow-2); }
.distinctions-list { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--rule); }
.distinctions-list > li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule-soft); }
.dist-h { font-family: var(--font-display); font-size: 18px; color: var(--navy); font-weight: 500; line-height: 1.3; }
[data-theme="dark"] .dist-h { color: var(--ink); }
.dist-p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ─────────── CONTACT ─────────── */
.contact { background: var(--bg-elev); border-top: 1px solid var(--rule-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-body .lede { margin-bottom: 32px; }
.contact-channels { display: grid; gap: 14px; margin-block: 32px 32px; }
.contact-channel {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--rule);
  transition: border-color var(--t), background var(--t);
}
.contact-channel:hover { border-color: var(--gold); background: var(--bg); }
.contact-channel svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.contact-channel-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; display: block; margin-bottom: 2px; }
[lang="ar"] .contact-channel-label { letter-spacing: 0; font-size: 13px; text-transform: none; }
.contact-channel-value { font-family: var(--font-display); font-size: 19px; color: var(--ink); }

.contact-list { margin-top: 32px; border-top: 1px solid var(--rule); }
.contact-list > div { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule-soft); }
.contact-list dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
[lang="ar"] .contact-list dt { letter-spacing: 0; font-size: 13px; text-transform: none; }
.contact-list dd { font-family: var(--font-display); font-size: 18px; color: var(--ink); }

.contact-form { display: grid; gap: 18px; padding: 40px; background: var(--bg); border: 1px solid var(--rule); box-shadow: var(--shadow-1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
[lang="ar"] .field label { letter-spacing: 0; font-size: 13px; text-transform: none; }
.field input, .field textarea, .field select { background: transparent; border: 0; border-bottom: 1px solid var(--rule); padding: 12px 0; color: var(--ink); font-size: 16px; transition: border-color var(--t); border-radius: 0; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236E7384' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; background-size: 12px; padding-right: 24px; }
[dir="rtl"] .field select { background-position: left 4px center; padding-right: 0; padding-left: 24px; }
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--ink-mute); line-height: 1.5; margin-top: 8px; }
.form-success { text-align: center; padding: 40px 20px; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--navy); }
[lang="ar"] .form-success { font-style: normal; }
[data-theme="dark"] .form-success { color: var(--gold); }

/* ─────────── PRACTICE DETAIL PAGES ─────────── */
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.detail-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--navy);
  line-height: 1.15;
  margin-block: 40px 16px;
}
[data-theme="dark"] .detail-body h2 { color: var(--ink); }
.detail-body h2:first-child { margin-block-start: 0; }
.detail-body p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; max-width: 70ch; }
.detail-body ul.bullets { margin-block: 0 24px; padding-inline-start: 0; }
.detail-body ul.bullets > li {
  position: relative;
  padding-inline-start: 28px;
  margin-block: 12px;
  color: var(--ink-soft);
  font-size: 16px;
}
.detail-body ul.bullets > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 12px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.detail-aside {
  position: sticky;
  inset-block-start: 100px;
  padding: 32px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
}
.detail-aside h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 18px;
}
[lang="ar"] .detail-aside h4 { letter-spacing: 0; font-size: 13px; text-transform: none; }
.detail-aside .icon-large { width: 64px; height: 64px; color: var(--gold); margin-bottom: 24px; }
.detail-aside .next-areas { display: grid; gap: 0; margin-block-start: 24px; border-top: 1px solid var(--rule); }
.detail-aside .next-areas a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  transition: color var(--t);
}
.detail-aside .next-areas a:hover { color: var(--gold); }
.detail-aside .next-areas a::after { content: "→"; opacity: .4; font-size: 14px; }
[dir="rtl"] .detail-aside .next-areas a::after { content: "←"; }

/* ─────────── FOOTER ─────────── */
.site-footer { background: var(--navy); color: rgba(245,242,236,.75); padding-block: 80px 32px; }
[data-theme="dark"] .site-footer { background: var(--navy-deep); border-top: 1px solid var(--rule-soft); }
.site-footer .brand-mark { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 56px; }
.footer-tag { font-family: var(--font-display); font-size: 18px; margin-top: 18px; color: #F5F2EC; line-height: 1.4; }
.footer-h { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; margin-bottom: 18px; }
[lang="ar"] .footer-h { letter-spacing: 0; font-size: 13px; text-transform: none; }
.footer-grid a { display: block; padding: 6px 0; color: rgba(245,242,236,.75); font-size: 14px; transition: color var(--t); }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-grid p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; color: rgba(245,242,236,.7); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(245,242,236,.14); font-size: 12px; letter-spacing: .08em; color: rgba(245,242,236,.55); flex-wrap: wrap; gap: 12px; }
[lang="ar"] .footer-bottom { letter-spacing: 0; font-size: 13px; }

/* ─────────── REVEAL ─────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow), transform var(--t-slow); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═════════════ RESPONSIVE ═════════════ */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .about-grid, .distinctions-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-portrait, .detail-aside { position: static; max-width: 480px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 140px 1fr; }
  .news-outlet { grid-column: 2; text-align: start; }
  .career > li { grid-template-columns: 120px 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .header-inner { height: 64px; gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 9px; letter-spacing: .18em; }
  .lang-toggle { padding: 0 10px; font-size: 11px; }
  .lang-toggle::before { width: 12px; height: 12px; }
  .header-actions { gap: 6px; }
  .hero { min-height: 86vh; padding-top: 100px; }
  .hero-title { font-size: clamp(32px, 9vw, 52px); }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 18px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: auto; padding: 32px 24px; }
  .case { grid-template-columns: 1fr; gap: 8px; }
  .case-year { font-size: 22px; padding-top: 0; }
  .news-item { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; }
  .news-outlet { text-align: start; grid-column: auto; }
  .career > li { grid-template-columns: 1fr; gap: 4px; }
  .bio-list > div, .contact-list > div, .distinctions-list > li {
    grid-template-columns: 1fr; gap: 6px; padding: 14px 0;
  }
  .field-row { grid-template-columns: 1fr; }
  .contact-form, .detail-aside { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; inset-block-end: 20px; inset-inline-end: 20px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ─────────── LOGO IMG ─────────── */
.brand-logo {
  width: 40px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-logo.large { width: 64px; height: 64px; }
[data-theme="dark"] .brand-logo {
  filter: brightness(1.12) contrast(1.05);
}
.site-footer .brand-logo {
  filter: brightness(1.18) contrast(1.05);
}

/* ─────────── CASE THUMBNAILS ─────────── */
.cases.with-thumbs .case {
  grid-template-columns: 200px 120px 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
}
.case-thumb {
  width: 200px; aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-elev);
  filter: contrast(1.05);
  box-shadow: var(--shadow-1);
}
@media (max-width: 980px) {
  .cases.with-thumbs .case { grid-template-columns: 160px 1fr; }
  .cases.with-thumbs .case-year { grid-row: 1; grid-column: 2; font-size: 22px; padding-top: 0; }
  .cases.with-thumbs .case-thumb { width: 100%; max-width: 200px; grid-row: 1 / span 2; grid-column: 1; }
  .cases.with-thumbs .case-body { grid-row: 2; grid-column: 2; }
}
@media (max-width: 640px) {
  .cases.with-thumbs .case { grid-template-columns: 1fr; gap: 14px; }
  .cases.with-thumbs .case-thumb { width: 100%; max-width: none; grid-row: auto; grid-column: auto; aspect-ratio: 16/9; }
  .cases.with-thumbs .case-year { grid-row: auto; grid-column: auto; }
  .cases.with-thumbs .case-body { grid-row: auto; grid-column: auto; }
}

/* ─────────── CTA ROW / READ MORE ─────────── */
.cta-row {
  display: flex;
  justify-content: center;
  margin-block-start: clamp(40px, 5vw, 64px);
}
.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--t), color var(--t), border-color var(--t);
}
[data-theme="dark"] .section-cta { border-color: var(--gold); color: var(--gold); }
[lang="ar"] .section-cta { letter-spacing: 0; font-size: 14px; text-transform: none; }
.section-cta:hover { background: #0E1A2B; color: #F5F2EC; border-color: #0E1A2B; }
.section-cta:hover span { color: #F5F2EC; }
[data-theme="dark"] .section-cta:hover { background: #B08B3F; color: #0B121C; border-color: #B08B3F; }
[data-theme="dark"] .section-cta:hover span { color: #0B121C; }
.section-cta::after { content: "→"; font-size: 14px; }
[dir="rtl"] .section-cta::after { content: "←"; }

/* ─────────── PRACTICE TEASER LINK ─────────── */
.practice-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ─────────── ABOUT TEASER (home) ─────────── */
.about-portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: contrast(1.04);
  box-shadow: var(--shadow-2);
}
.about-portrait .caption {
  margin-block-start: 14px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
[lang="ar"] .about-portrait .caption { letter-spacing: 0; font-size: 13px; text-transform: none; }

/* ─────────── CAREER TIMELINE (about) ─────────── */
.career { display: grid; gap: 0; margin-block-start: 32px; border-top: 1px solid var(--rule); }
.career > li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.career .yr { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--gold); font-weight: 500; }
.career h4 { font-family: var(--font-display); font-size: 20px; color: var(--navy); font-weight: 500; line-height: 1.3; margin-bottom: 6px; }
[data-theme="dark"] .career h4 { color: var(--ink); }
.career p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 70ch; }

/* ─────────── PULLQUOTE ─────────── */
.pullquote {
  max-width: 880px;
  margin: 64px auto;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--navy);
  position: relative;
}
[data-theme="dark"] .pullquote { color: var(--gold-soft); }
[lang="ar"] .pullquote { font-style: normal; }
.pullquote::before, .pullquote::after {
  content: "";
  display: block;
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 24px auto;
}

/* ─────────── DISTINCTIONS BANNER (with Sheikh wide image) ─────────── */
.banner-distinct {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.banner-distinct .container > * { max-width: 46%; }
@media (max-width: 980px) {
  .banner-distinct { align-items: end; min-height: 70vh; }
  /* Pull both subjects into view on narrow viewports — they sit in the right half of the wide image. */
  .banner-distinct img { object-position: 78% center; }
  [dir="rtl"] .banner-distinct img { object-position: 22% center; }
  .banner-distinct::before {
    background:
      linear-gradient(0deg, rgba(8,16,28,.92) 0%, rgba(8,16,28,.55) 45%, rgba(8,16,28,.2) 100%) !important;
  }
  .banner-distinct .container > * { max-width: 100%; }
}
@media (max-width: 640px) {
  /* On phones we swap to a portrait-cropped image via <picture>; both subjects are pre-framed. */
  .banner-distinct { min-height: 82vh; }
  .banner-distinct img {
    object-position: center top;
    /* Darken the photo itself so text reads cleanly on top. */
    filter: contrast(1.02) brightness(.55) saturate(.9);
  }
  [dir="rtl"] .banner-distinct img { object-position: center top; transform: none; }
  /* Heavy bottom-up fade: photo visible at top, fades to solid navy behind the text block. */
  .banner-distinct::before {
    background:
      linear-gradient(
        180deg,
        rgba(8,16,28,.25)  0%,
        rgba(8,16,28,.35) 28%,
        rgba(8,16,28,.72) 48%,
        rgba(8,16,28,.92) 62%,
        rgba(8,16,28,.98) 78%,
        rgba(14,26,43,1)  100%
      ) !important;
  }
  /* Text block sits over the opaque lower half. */
  .banner-distinct .container { padding-block: clamp(40px, 8vw, 60px); }
  /* Subtle text shadow as belt-and-suspenders contrast aid. */
  .banner-distinct h2,
  .banner-distinct p { text-shadow: 0 2px 14px rgba(0,0,0,.6); }
}
.banner-distinct img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) brightness(.92);
}
.banner-distinct::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,16,28,.78) 0%, rgba(8,16,28,.45) 38%, rgba(8,16,28,.15) 60%, rgba(8,16,28,0) 75%),
    linear-gradient(0deg, rgba(8,16,28,.55) 0%, rgba(8,16,28,.1) 50%, rgba(8,16,28,0) 100%);
}
[dir="rtl"] .banner-distinct img { transform: scaleX(-1); }
[dir="rtl"] .banner-distinct::before {
  background:
    linear-gradient(270deg, rgba(8,16,28,.78) 0%, rgba(8,16,28,.45) 38%, rgba(8,16,28,.15) 60%, rgba(8,16,28,0) 75%),
    linear-gradient(0deg, rgba(8,16,28,.55) 0%, rgba(8,16,28,.1) 50%, rgba(8,16,28,0) 100%);
}
.banner-distinct .container {
  position: relative;
  padding-block: clamp(60px, 8vw, 100px);
  z-index: 1;
}
.banner-distinct .eyebrow { color: var(--gold-soft); margin-bottom: 18px; }
.banner-distinct h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  max-width: 18ch;
  color: #F5F2EC;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  margin-bottom: 24px;
}
[lang="ar"] .banner-distinct h2 { font-style: normal; line-height: 1.25; }
.banner-distinct p { color: rgba(245,242,236,.85); max-width: 56ch; font-size: 16px; line-height: 1.6; margin-bottom: 26px; }
.banner-distinct .section-cta { color: var(--cream); border-color: var(--cream); }
.banner-distinct .section-cta:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ─────────── MOBILE TOUCH TARGETS ─────────── */
@media (max-width: 640px) {
  .field input, .field textarea, .field select { font-size: 16px; padding: 14px 0; }
  .btn { padding: 14px 24px; font-size: 13px; }
  .section-cta { padding: 14px 22px; font-size: 11px; }
  .header-actions .theme-toggle { width: 40px; height: 40px; }
  .lang-toggle { height: 40px; }
  .menu-toggle { width: 50px; height: 50px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-text { display: none; }
  .header-inner { gap: 8px; }
  .pullquote { font-size: 20px; padding-inline: 16px; margin: 40px auto; }
  .pullquote::before, .pullquote::after { width: 36px; margin: 18px auto; }
  .career > li { padding: 20px 0; }
  .career .yr { font-size: 18px; }
  .career h4 { font-size: 18px; }
}

/* ─────────── FOUNDER HERO (about.html) ─────────── */
.founder-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  margin-block-end: 0;
}
.founder-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.05) saturate(0.95);
  z-index: -2;
}
.founder-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,16,28,.35) 0%, rgba(8,16,28,.05) 35%, rgba(8,16,28,.65) 78%, rgba(8,16,28,.95) 100%),
    linear-gradient(90deg, rgba(8,16,28,.55) 0%, rgba(8,16,28,.05) 55%);
  z-index: -1;
}
.founder-hero-inner {
  position: relative;
  padding-block: clamp(80px, 12vw, 160px) clamp(40px, 6vw, 72px);
  color: #F5F2EC;
  max-width: 900px;
}
.founder-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #F5F2EC;
  margin: 18px 0 22px;
  text-shadow: 0 4px 28px rgba(0,0,0,.45);
}
.founder-h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}
[lang="ar"] .founder-h1 em { font-style: normal; }
.breadcrumb.light, .deck.light { color: rgba(245,242,236,.85); }
.breadcrumb.light a { color: rgba(245,242,236,.65); text-decoration: none; }
.breadcrumb.light a:hover { color: var(--gold-soft); }
.deck.light {
  font-size: clamp(17px, 1.4vw, 21px);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0 0 28px;
}
.hero-caption {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(245,242,236,.2);
  max-width: 70ch;
}
[lang="ar"] .hero-caption { letter-spacing: 0; text-transform: none; font-size: 14px; }
@media (max-width: 980px) {
  .founder-hero { min-height: 68vh; }
  .founder-hero-img { object-position: center 35%; }
  .founder-hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,16,28,.3) 0%, rgba(8,16,28,.15) 30%, rgba(8,16,28,.8) 70%, rgba(8,16,28,.95) 100%);
  }
}

/* ─────────── VIP GALLERY (about.html) ─────────── */
.vip-gallery-section { padding-block: clamp(80px, 10vw, 140px); }
.vip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.vip-card {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--rule-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.vip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.vip-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}
.vip-card figcaption {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.vip-h {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
}
.vip-p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 980px) {
  .vip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .vip-grid { grid-template-columns: 1fr; gap: 24px; }
  .vip-card figcaption { padding: 18px 20px 22px; }
}

/* hide the old simple page-head on about (replaced by founder-hero) */
.about .page-head { display: none; }

/* ═══════════════════════════════════════════════════════
   MOBILE OPTIMIZATION — comprehensive pass
   ═══════════════════════════════════════════════════════ */

/* Tablet & below */
@media (max-width: 900px) {
  /* Page heads — pull content closer to the sticky header */
  .page-head {
    padding-block: clamp(48px, 8vw, 72px) clamp(32px, 5vw, 56px);
  }
  .page-head h1 { font-size: clamp(36px, 7vw, 56px); max-width: 100%; }
  .page-head .deck { font-size: clamp(17px, 2.2vw, 21px); }

  /* Founder hero — full viewport height feels too tall on mobile */
  .founder-hero { min-height: 60vh; }
  .founder-hero-headline { font-size: clamp(36px, 8vw, 60px); }
  .founder-hero-subhead { font-size: clamp(26px, 7vw, 48px); }
}

/* Phone */
@media (max-width: 640px) {
  /* Tighten section rhythm */
  :root { --section-y: clamp(56px, 9vw, 96px); }

  /* Page heads — even tighter on phones */
  .page-head {
    padding-block: 48px 36px;
  }
  .page-head h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1.05; }
  .page-head .deck { font-size: 17px; line-height: 1.55; }
  .page-head .breadcrumb { font-size: 10px; }

  /* Founder hero on phone */
  .founder-hero { min-height: 56vh; }
  .founder-hero-inner { padding-block: 64px 48px; }
  .founder-hero-headline { font-size: 38px; line-height: 1.05; }
  .founder-hero-subhead { font-size: 36px; line-height: 1.1; }
  .founder-hero-lede { font-size: 16px; line-height: 1.55; }
  .founder-hero .hero-caption { font-size: 11px; }

  /* Hero (home) */
  .hero { min-height: auto; padding-block: 96px 56px; }
  .hero-title { font-size: clamp(34px, 10vw, 46px); line-height: 1.08; }
  .hero-lede { font-size: 15.5px; line-height: 1.6; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; justify-content: center; padding: 16px 22px; }

  /* About teaser */
  .about-grid { gap: 32px; }
  .about-portrait { max-width: 100%; }
  .about-portrait img { width: 100%; height: auto; }

  /* Section titles a touch smaller */
  .section-title { font-size: clamp(28px, 7vw, 38px); line-height: 1.1; }
  .section-eyebrow { font-size: 11px; }
  .section-lede { font-size: 16px; }

  /* Practice cards — better mobile rhythm */
  .practice-card { padding: 28px 22px 32px; min-height: auto; }
  .practice-card h3 { font-size: 22px; }
  .practice-card p { font-size: 14.5px; }
  .practice-icon { width: 44px; height: 44px; margin-bottom: 20px; }
  .practice-num { font-size: 13px; inset-block-start: 16px; inset-inline-end: 20px; }

  /* Casework grid — already 1-col, just tighten */
  .case { padding-block: 22px; }
  .case-img { aspect-ratio: 16/10; }
  .case h3 { font-size: 19px; line-height: 1.25; }
  .case p { font-size: 14.5px; line-height: 1.55; }

  /* News items */
  .news-item h3 { font-size: 17px; line-height: 1.3; }
  .news-date { font-size: 12px; letter-spacing: .14em; }
  .news-outlet { font-size: 11px; }

  /* VIP gallery */
  .vip-grid { gap: 24px; }
  .vip-card img { aspect-ratio: 4/3; width: 100%; }
  .vip-h { font-size: 17px; }
  .vip-p { font-size: 14px; line-height: 1.55; }

  /* Contact form — bigger tap targets and inputs */
  .contact-form input, .contact-form textarea, .contact-form select {
    font-size: 16px; /* prevent iOS zoom */
    padding: 14px 14px;
    min-height: 48px;
  }
  .contact-form textarea { min-height: 140px; }
  .contact-form label { font-size: 13px; }
  .contact-form .btn-primary { width: 100%; padding: 16px 22px; justify-content: center; }
  .contact-form, .detail-aside { padding: 22px; }

  /* Contact channels (mailto/tel/wa cards) — give breathing room */
  .contact-channel { padding: 18px 18px; gap: 14px; min-height: 64px; }
  .contact-channel-icon { width: 36px; height: 36px; }

  /* Footer */
  .footer { padding-block: 48px 24px; }
  .footer-bottom { gap: 12px; padding-top: 24px; font-size: 12px; }

  /* Section CTAs */
  .section-cta { padding: 14px 22px; font-size: 12px; min-height: 48px; display: inline-flex; align-items: center; }

  /* WhatsApp float — give it a tiny safe-area inset */
  .wa-float {
    inset-block-end: max(20px, env(safe-area-inset-bottom, 0px));
    inset-inline-end: max(20px, env(safe-area-inset-right, 0px));
  }

  /* Mobile nav — tap targets at least 48px */
  .mobile-nav a { padding: 18px 0; min-height: 56px; display: flex; align-items: center; }

  /* Header — keep brand readable but avoid overlap with toggles */
  .brand-text { display: flex; }
  .brand-sub { display: none; } /* hide tagline on phones — name is enough */

  /* Distinctions list */
  .distinctions-list > li { padding: 16px 0; }
  .distinctions-list dt { font-size: 13px; }
  .distinctions-list dd { font-size: 14.5px; line-height: 1.55; }

  /* Career timeline */
  .career > li { padding: 18px 0; }
  .career-year { font-size: 18px; }
  .career > li > div h4 { font-size: 17px; }
  .career > li > div p { font-size: 14.5px; }

  /* Block quotes on press / fullbleed */
  .fullbleed-quote blockquote p { font-size: clamp(24px, 6.5vw, 32px); line-height: 1.25; }
  .fullbleed-statement h2 { font-size: clamp(28px, 8vw, 40px); }
  .pullquote { font-size: clamp(22px, 6vw, 28px); padding: 28px 0; }

  /* Practice detail (subpages) */
  .detail-body h2 { font-size: clamp(24px, 6.5vw, 32px); line-height: 1.15; }
  .detail-body p { font-size: 16px; line-height: 1.7; }
  .detail-body li { font-size: 16px; line-height: 1.6; }
  .detail-aside h4 { font-size: 13px; }
  .detail-aside ul a { font-size: 15px; padding: 10px 0; display: block; }

  /* Brand wordmark in footer */
  .footer-brand .brand-name { font-size: 17px; }

  /* Theme toggle + lang toggle */
  .lang-toggle { height: 38px; min-width: 64px; }
  .theme-toggle { width: 38px; height: 38px; }
  .menu-toggle { width: 48px; height: 48px; }

  /* Force all anchor/link tap targets at least 40px tall */
  a.section-cta, a.btn-primary, a.btn-ghost { min-height: 44px; }
}

/* Very small phones (≤375 — iPhone SE, Mini) */
@media (max-width: 380px) {
  .header-inner { gap: 6px; }
  .brand-name { font-size: 14px; }
  .lang-toggle { padding: 0 8px; min-width: 58px; }
  .hero-title { font-size: 30px; }
  .page-head h1 { font-size: 30px; }
  .founder-hero-headline { font-size: 32px; }
  .founder-hero-subhead { font-size: 30px; }
  .section-title { font-size: 26px; }
  .practice-card { padding: 24px 18px; }
}

/* Hover-only effects — disable on touch to prevent sticky hover state */
@media (hover: none) {
  .practice-card:hover { background: transparent; }
  .wa-float:hover { transform: none; }
  .case:hover .case-img img { transform: none; }
}

/* Make focus visible for keyboard nav (mobile + accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
