/* ==========================================================================
   Law & Option (DRS) — Advocates & Consultants
   Design tokens
   ========================================================================== */
:root {
  --navy-950: #060E1B;
  --navy-900: #0A1628;
  --navy-800: #10213A;
  --navy-700: #1A2F4F;
  --gold-300: #F1D891;
  --gold-400: #E2C072;
  --gold-500: #C9A14A;
  --gold-600: #A87F2E;
  --ivory: #F8F5EE;
  --paper: #FFFFFF;
  --ink: #18202E;
  --muted: #5B6476;
  --line: #E6E0D2;
  --line-dark: rgba(226, 192, 114, .18);

  --font-display: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-brand: "Libre Caslon Text", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 22, 40, .06);
  --shadow-lg: 0 24px 60px -20px rgba(10, 22, 40, .35);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold-400); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.18; letter-spacing: -.012em; margin: 0; color: var(--navy-900); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ivory); }
h2 { font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -.015em; }
h2 em, h1 em { font-style: italic; color: var(--gold-500); font-weight: 400; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: rgba(248, 245, 238, .72); }

.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 10px 30px -10px rgba(201, 161, 74, .6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(201, 161, 74, .75); }
.btn-ghost { border-color: rgba(248, 245, 238, .3); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }
.btn-dark { background: var(--navy-900); color: var(--ivory); }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ==========================================================================
   BCI disclaimer gate
   ========================================================================== */
.gate {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; padding: 16px;
  background: rgba(6, 14, 27, .82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gate[hidden] { display: none; }
.gate-card {
  width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold-500);
  padding: clamp(28px, 5vw, 44px);
  animation: rise .5s var(--ease);
}
.gate-brand { display: flex; justify-content: center; margin-bottom: 18px; }
.gate-brand img { width: 150px; height: auto; }
.gate h2 { font-size: 30px; margin-bottom: 14px; }
.gate p { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.gate ul { margin: 6px 0 14px; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.gate ul li { margin-bottom: 6px; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.gate-actions .btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.gate-actions .btn-outline:hover { border-color: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar {
  background: var(--navy-950); color: rgba(248, 245, 238, .7);
  font-size: 13px; border-bottom: 1px solid var(--line-dark);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar-list { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-300); }
.topbar svg { width: 14px; height: 14px; color: var(--gold-400); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 22, 40, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--ivory); }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--font-brand); font-weight: 600; font-size: 19px; letter-spacing: .06em; }
.brand-name small { color: var(--gold-400); font-size: .82em; }
.brand-tag { font-size: 10.5px; letter-spacing: .32em; color: var(--gold-400); margin-top: 5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: rgba(248, 245, 238, .78); transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ivory); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; padding: 12px 22px; }
.nav .btn::after { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-dark); color: var(--ivory);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: var(--ivory);
  min-height: min(100vh - 134px, 860px); min-height: min(100svh - 134px, 860px);
  display: flex; align-items: center;
  padding: 110px 0 170px;
}
/* Slides */
.slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; overflow: hidden; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
.slide[data-i="0"] img { object-position: 50% 45%; transform-origin: 50% 40%; }
.slide[data-i="1"] img { object-position: 50% 45%; transform-origin: 30% 50%; }
.slide[data-i="2"] img { object-position: 70% 50%; transform-origin: 75% 50%; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 58% 62% at 50% 46%, rgba(6, 14, 27, .8) 0%, rgba(6, 14, 27, .55) 60%, rgba(6, 14, 27, .35) 100%),
    linear-gradient(0deg, rgba(6, 14, 27, .95) 0%, rgba(6, 14, 27, 0) 34%),
    linear-gradient(180deg, rgba(6, 14, 27, .55) 0%, rgba(6, 14, 27, 0) 22%);
}

.hero .container { position: relative; z-index: 1; width: min(var(--container), 100% - 32px); }
.hero-content { max-width: 900px; margin-inline: auto; text-align: center; }
.hero-content .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

/* Slide captions stack in one grid cell */
.captions { display: grid; }
.caption { grid-area: 1 / 1; visibility: hidden; }
.caption.is-active { visibility: visible; }
.caption .line { display: block; overflow: hidden; padding-bottom: .08em; }
.caption .line > span { display: block; transform: translateY(105%); transition: transform .9s var(--ease); }
.caption.is-active .line > span { transform: none; }
.caption.is-active .line:nth-child(2) > span { transition-delay: .12s; }
.caption .lead { opacity: 0; transform: translateY(14px); transition: opacity .8s ease .3s, transform .8s var(--ease) .3s; }
.caption.is-active .lead { opacity: 1; transform: none; }

.hero h1, .hero .h1-like {
  font-family: var(--font-display); color: var(--ivory);
  font-size: clamp(36px, 5.6vw, 78px); font-weight: 400; letter-spacing: -.02em; line-height: 1.12;
  margin: 24px 0 26px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero h1 em, .hero .h1-like em { color: var(--gold-400); font-style: italic; }
.hero .lead { font-size: 19px; margin: 0 auto 38px; max-width: 680px; color: rgba(248, 245, 238, .85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Side rails */
.hero-rail {
  position: absolute; top: 50%; z-index: 1; display: flex; align-items: center; gap: 18px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(248, 245, 238, .7);
}
.hero-rail::before, .hero-rail::after { content: ""; width: 1px; height: 60px; background: rgba(226, 192, 114, .5); }
.hero-rail.left { left: 50px; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; }
.hero-rail.left::before, .hero-rail.left::after { width: 50px; height: 1px; }
.hero-rail.right { right: 44px; transform: translateY(-50%); flex-direction: column; letter-spacing: 0; }
.hero-rail.right a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(226, 192, 114, .35); color: var(--ivory); transition: background .25s, color .25s, border-color .25s;
}
.hero-rail.right a:hover { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.hero-rail.right svg { width: 17px; height: 17px; }

/* Controls */
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 44px; z-index: 2;
  width: min(var(--container), 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
}
.hero-tabs { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hero-tab {
  all: unset; cursor: pointer; display: grid; gap: 10px; text-align: left; color: rgba(248, 245, 238, .55);
  font-size: 13px; letter-spacing: .04em; transition: color .3s;
}
.hero-tab b { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: inherit; margin-right: 8px; }
.hero-tab .bar { position: relative; height: 2px; background: rgba(248, 245, 238, .3); overflow: hidden; border-radius: 2px; }
.hero-tab .bar::after { content: ""; position: absolute; inset: 0; background: var(--gold-400); transform: scaleX(0); transform-origin: left; }
.hero-tab[aria-selected="true"] { color: var(--ivory); }
.hero-tab[aria-selected="true"] .bar::after { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.paused .hero-tab[aria-selected="true"] .bar::after { animation-play-state: paused; }
.hero-tab:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 6px; border-radius: 4px; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 10px; order: -1; }
.hero-arrow {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(226, 192, 114, .35); color: var(--ivory);
  transition: background .25s, color .25s;
}
.hero-arrow:hover { background: var(--gold-500); color: var(--navy-950); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow.prev svg { transform: rotate(180deg); }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid rgba(248, 245, 238, .5); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--gold-400); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }



/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-visual { position: relative; }
.about-card {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  aspect-ratio: 4 / 4.4; padding: 40px; color: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.about-card::before {
  content: ""; position: absolute; right: -22%; top: -10%; width: 85%; aspect-ratio: 1;
  background: url("../logo/original-hd/logo-emblem-hd.png") center / contain no-repeat; opacity: .08;
}
.about-card .quote {
  position: relative; font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.25; font-style: italic; font-weight: 400;
}
.about-card .quote::before { content: "“"; display: block; font-size: 90px; line-height: .6; color: var(--gold-400); margin-bottom: 10px; }
.about-card .sig { position: relative; display: grid; gap: 2px; }
.about-card .sig strong { font-family: var(--font-brand); letter-spacing: .08em; color: var(--gold-300); font-weight: 600; }
.about-card .sig span { font-size: 13px; color: rgba(248, 245, 238, .6); }
.about-badge {
  position: absolute; right: -18px; bottom: 40px;
  background: var(--paper); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); display: grid; gap: 2px;
}
.about-badge strong { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--navy-900); }
.about-badge span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.about-copy p { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 34px; padding: 0; list-style: none; }
.values li { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: 15px; }
.values li svg { flex: none; width: 22px; height: 22px; color: var(--gold-500); }

/* ==========================================================================
   Practice areas
   ========================================================================== */
.practice { background: var(--paper); }
.practice-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.practice-head .section-head { margin: 0; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pa-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
}
.pa-card:hover, .pa-card:focus-within { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.pa-img { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.pa-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pa-card:hover .pa-img img { transform: scale(1.06); }
.pa-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 14, 27, .45)); }
.pa-num {
  position: absolute; top: 12px; right: 12px; z-index: 1; font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--navy-950); background: rgba(255, 255, 255, .9); padding: 3px 10px; border-radius: 999px; letter-spacing: .06em;
}
.pa-body { position: relative; padding: 34px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pa-icon {
  position: absolute; top: -26px; left: 22px; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-300); border: 3px solid var(--paper); box-shadow: var(--shadow-sm);
}
.pa-icon svg { width: 24px; height: 24px; }
.pa-card h3 { font-size: 19px; line-height: 1.3; }
.pa-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.pa-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-900); transition: color .3s, gap .3s; }
.pa-link svg { width: 15px; height: 15px; }
.pa-card:hover .pa-link { color: var(--gold-600); gap: 12px; }
.pa-cta {
  grid-column: span 2; border-radius: 16px; background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 60%, var(--gold-600));
  padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; overflow: hidden;
}
.pa-cta::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 240px; aspect-ratio: 1; background: url("../logo/original-hd/logo-emblem-hd.png") center / contain no-repeat; opacity: .14; filter: brightness(0); }
.pa-cta h3 { font-size: 23px; color: var(--navy-950); max-width: 22ch; }
.pa-cta p { margin: 0; color: rgba(6, 14, 27, .75); font-size: 14.5px; max-width: 46ch; }
.pa-cta .btn { align-self: flex-start; margin-top: 8px; position: relative; z-index: 1; }

/* ==========================================================================
   DIFC band
   ========================================================================== */
.band { background: var(--navy-900); color: var(--ivory); overflow: hidden; }
.band .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.band-points { display: grid; gap: 18px; }
.band-point { display: flex; gap: 18px; padding: 22px 24px; border: 1px solid var(--line-dark); border-radius: 16px; background: rgba(255, 255, 255, .02); transition: border-color .3s, background .3s; }
.band-point:hover { border-color: rgba(226, 192, 114, .45); background: rgba(226, 192, 114, .04); }
.band-point .n { font-family: var(--font-display); font-size: 28px; color: var(--gold-400); line-height: 1; min-width: 36px; }
.band-point h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.band-point p { margin: 0; font-size: 14px; color: rgba(248, 245, 238, .65); }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.member {
  display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  transition: box-shadow .3s, transform .3s var(--ease);
}
.member:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.member-photo {
  aspect-ratio: 4 / 5; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
  display: grid; place-items: center;
}
.member-photo span { font-family: var(--font-brand); font-size: 46px; color: var(--gold-300); letter-spacing: .04em; }

.member h3 { font-size: 24px; }
.member .role { color: var(--gold-600); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 14px; }
.member p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.member dl { display: grid; gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.member dl div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.member dt { color: var(--muted); }
.member dd { margin: 0; font-weight: 500; overflow-wrap: break-word; }

/* ==========================================================================
   Timeline
   ========================================================================== */
.journey { background: var(--paper); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--gold-500), var(--line)); }
.tl-item { position: relative; padding-top: 64px; }
.tl-item::before {
  content: ""; position: absolute; top: 14px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold-500); box-shadow: 0 0 0 6px rgba(201, 161, 74, .12);
}
.tl-year { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: var(--navy-900); line-height: 1; }
.tl-item h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 10px 0 6px; }
.tl-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Legal updates
   ========================================================================== */
.updates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease);
}
.post:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-cover { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-cover img { transform: scale(1.05); }
.post-cover .tag { position: absolute; left: 16px; bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-950); background: var(--gold-400); padding: 6px 12px; border-radius: 999px; }
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body time { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.post-body h3 { font-size: 19px; line-height: 1.35; }
.post-body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.post-body .pa-link { padding-top: 8px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--ivory); transition: background .3s, border-color .3s; }
.faq details[open] { background: var(--paper); border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--gold-400); border-color: var(--gold-400); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--navy-900); color: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); }
.contact-list { display: grid; gap: 14px; margin: 34px 0; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-dark); }
.contact-item .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(226, 192, 114, .1); color: var(--gold-300); }
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 2px; }
.contact-item a:hover { color: var(--gold-300); }
.branches { display: flex; flex-wrap: wrap; gap: 8px; }
.branches span { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(248, 245, 238, .8); }

.form-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3, .form-card .form-title { font-size: 25px; margin-bottom: 6px; color: var(--navy-900); }
.form-card > p { color: var(--muted); margin: 0 0 24px; font-size: 14.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: var(--paper); box-shadow: 0 0 0 4px rgba(201, 161, 74, .15); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--gold-600); flex: none; }
.consent a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; padding: 12px 14px; background: var(--ivory); border-left: 3px solid var(--gold-500); border-radius: 6px; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 500; color: #1F7A4D; }
.form-status.err { color: #B3261E; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-950); color: rgba(248, 245, 238, .65); font-size: 14px; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer .brand { margin-bottom: 20px; }
.footer h4 { font-family: var(--font-body); color: var(--ivory); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-300); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--gold-400); }
.socials svg { width: 17px; height: 17px; }
.disclaimer-box { border-top: 1px solid var(--line-dark); padding: 32px 0; font-size: 12.5px; line-height: 1.7; }
.disclaimer-box strong { color: var(--gold-400); letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; display: block; margin-bottom: 8px; }
.disclaimer-box p { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }


/* ---------- Real photography ---------- */

.about-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.vision {
  margin: 26px 0 0; padding: 18px 22px; border-left: 3px solid var(--gold-500); background: var(--paper);
  border-radius: 0 12px 12px 0; font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.55; color: var(--navy-900);
}
.vision cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }

.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.member-photo { margin: 0; }

.footer-bottom .credits { flex-basis: 100%; order: 3; font-size: 11.5px; opacity: .6; }
.footer-bottom .credits a { text-decoration: underline; }

@media (max-width: 1080px) { .hero-rail { display: none; } }
@media (max-height: 860px) { .scroll-cue { display: none; } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 90px 0 150px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(6, 14, 27, .7) 0%, rgba(6, 14, 27, .82) 55%, rgba(6, 14, 27, .95) 100%); }
  .hero-content .eyebrow { letter-spacing: .16em; }
  .hero-content .eyebrow::before, .hero-content .eyebrow::after { display: none; }
  .scroll-cue { display: none; }
  .hero-tab span:not(.bar) { display: none; }
  .hero-tabs { gap: 12px; }
  .hero-controls { bottom: 30px; }
  }


/* ---------- Founder portrait (background removed) ---------- */
.portrait { position: relative; margin: 0 18px 0 0; aspect-ratio: 4 / 4.7; isolation: isolate; }
/* offset gold frame */
.portrait::before {
  content: ""; position: absolute; inset: 12% -18px -18px 18px; z-index: -2;
  border: 2px solid var(--gold-500); border-radius: 20px;
}
.portrait-stage {
  position: absolute; inset: 12% 0 0 0; z-index: -1; border-radius: 20px; overflow: hidden;
  background: #2a1d12 url("../images/portrait-backdrop.jpg") center 30% / cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.portrait-stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 55% at 50% 35%, rgba(255, 226, 170, .22), transparent 70%),
    linear-gradient(180deg, rgba(10, 22, 40, .15) 0%, rgba(10, 22, 40, .35) 100%);
}
.portrait-stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(0deg, rgba(6, 14, 27, .6), transparent);
}
.portrait picture { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; }
.portrait img {
  width: 86%; height: auto; border-radius: 0 0 20px 20px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}
.portrait-plate {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap;
  background: var(--paper); border-radius: 14px; padding: 12px 26px; text-align: center;
  box-shadow: var(--shadow-lg); border-bottom: 3px solid var(--gold-500); display: grid; gap: 2px;
}
.portrait-plate strong { font-family: var(--font-display); font-size: 18px; color: var(--navy-900); line-height: 1.1; }
.portrait-plate span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.about-visual .about-badge { right: -18px; top: 18%; bottom: auto; }
@media (max-width: 900px) {
  .portrait { max-width: 440px; margin-inline: auto; }
  .about-visual { margin-bottom: 30px; }
  .about-visual .about-badge { right: 0; }
}


/* ---------- Trusted By ---------- */
.trusted { background: var(--paper); padding: 56px 0 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trusted-title { display: flex; align-items: center; gap: 20px; margin: 0 0 30px; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-600); }
.trusted-title::before, .trusted-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; }
.marquee-track img { height: 48px; width: auto; transition: transform .3s var(--ease); }
.marquee-track img:hover { transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Testimonials ---------- */
.testimonials { background: radial-gradient(800px 400px at 15% 0%, rgba(201, 161, 74, .12), transparent 60%), var(--navy-900); }
.t-carousel { position: relative; }
.t-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 6px 2px 10px; outline: none;
}
.t-track::-webkit-scrollbar { display: none; }
.t-track > .t-card { scroll-snap-align: start; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 36px; }
.t-dots { display: flex; gap: 10px; }
.t-dot { all: unset; cursor: pointer; width: 10px; height: 10px; border-radius: 999px; background: rgba(248, 245, 238, .3); transition: width .35s var(--ease), background .3s; }
.t-dot[aria-selected="true"] { width: 34px; background: var(--gold-400); }
.t-dot:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 4px; }
.t-prev svg { transform: rotate(180deg); }
.t-card {
  position: relative; margin: 0; padding: 36px 34px 30px; border-radius: 18px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 24px; transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.t-card:hover { border-color: rgba(226, 192, 114, .45); background: rgba(255, 255, 255, .06); transform: translateY(-4px); }
.t-mark { width: 40px; height: 30px; fill: var(--gold-500); opacity: .9; }
.t-card blockquote { margin: 0; font-family: var(--font-display); font-size: 17.5px; line-height: 1.65; color: rgba(248, 245, 238, .9); font-style: italic; flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.t-avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold-500); background: var(--navy-700); display: grid; place-items: center; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-initials { font-family: var(--font-brand); font-size: 20px; color: var(--gold-300); }
.t-card figcaption strong { display: block; color: var(--ivory); font-size: 16px; font-weight: 600; }
.t-card figcaption span { font-size: 13px; color: var(--gold-400); }
@media (max-width: 900px) { .t-track { grid-auto-columns: 100%; } .marquee-track { gap: 40px; } .marquee-track img { height: 38px; } }

/* ---------- Map + WhatsApp ---------- */
.map { margin-top: 28px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-dark); aspect-ratio: 16 / 10; background: var(--navy-800); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #25D366; color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -8px rgba(0, 0, 0, .5); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 14px; right: 16px; bottom: 16px; } }

/* ---------- Original logo, horizontal (transparent) ---------- */
.header .container { height: 92px; }
.brand.brand-logo img { width: auto; height: 64px; object-fit: contain; }
.footer-logo { display: inline-flex; margin-bottom: 22px; }
.brand.footer-logo img { height: 70px; }
@media (max-width: 1080px) { .nav { inset: 134px 0 auto 0; } }
@media (max-width: 640px) {
  .header .container { height: 76px; }
  .brand.brand-logo img { width: auto; height: 48px; max-width: calc(100vw - 110px); }
  .nav { inset: 118px 0 auto 0; }
  .brand.footer-logo img { height: 56px; }
}

/* ---------- Header Contact CTA ---------- */
.nav a.nav-cta, .nav a.nav-cta:hover, .nav a.nav-cta.active {
  color: var(--navy-950); font-weight: 700; font-size: 14.5px; letter-spacing: .03em;
  padding: 14px 26px; margin-left: 18px; position: relative;
  background: linear-gradient(135deg, #F6DE9A, var(--gold-400) 45%, var(--gold-500));
  box-shadow: 0 0 0 1px rgba(241, 216, 145, .6), 0 10px 28px -6px rgba(226, 192, 114, .7);
}
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta::before {
  content: ""; position: absolute; inset: -5px; border-radius: 999px;
  border: 1.5px solid rgba(241, 216, 145, .7); animation: ctaPulse 2.4s ease-out infinite; pointer-events: none;
}
.nav a.nav-cta:hover { transform: translateY(-2px); background: linear-gradient(135deg, #FFF0BF, var(--gold-300) 50%, var(--gold-400)); }
.nav a.nav-cta .cta-ic { width: 16px; height: 16px; }
@keyframes ctaPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }
@media (max-width: 1080px) { .nav a.nav-cta { margin: 16px 0 0; justify-content: center; } .nav a.nav-cta::before { display: none; } }

/* ---------- Contact popup ---------- */
.popup { padding: 0; border: 0; background: transparent; max-width: min(940px, calc(100% - 32px)); width: 100%; max-height: calc(100vh - 32px); overflow: visible; }
.popup:focus, .popup:focus-visible { outline: none; }
.popup::backdrop { background: rgba(6, 14, 27, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.popup[open] .popup-card { animation: rise .45s var(--ease); }
.popup-card {
  position: relative; display: grid; grid-template-columns: .85fr 1.15fr; background: var(--paper);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); max-height: calc(100vh - 32px);
}
.popup-side {
  background: radial-gradient(500px 300px at 0% 0%, rgba(201, 161, 74, .18), transparent 60%), var(--navy-900);
  color: rgba(248, 245, 238, .8); padding: 40px 34px; display: flex; flex-direction: column; gap: 16px;
}
.popup-side img { width: 240px; height: auto; margin-bottom: 10px; }
.popup-side h3 { color: var(--ivory); font-size: 24px; }
.popup-side p { margin: 0; font-size: 14.5px; }
.popup-side ul { list-style: none; margin: 14px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 14px; font-size: 14px; }
.popup-side li { display: flex; gap: 12px; align-items: flex-start; }
.popup-side li svg { flex: none; width: 18px; height: 18px; color: var(--gold-400); margin-top: 2px; }
.popup-side a:hover { color: var(--gold-300); }
.popup-form { padding: 40px 36px 32px; overflow-y: auto; }
.popup-form h2 { font-size: 28px; margin-bottom: 22px; }
.popup-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line); color: var(--navy-900); display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.popup-close:hover { background: var(--gold-400); transform: rotate(90deg); }
.popup-close svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .popup-card { grid-template-columns: 1fr; overflow-y: auto; }
  .popup-side { padding: 28px 24px 22px; }
  .popup-side ul, .popup-side p { display: none; }
  .popup-side h3 { font-size: 24px; }
  .popup-side img { width: 180px; }
  .popup-form { padding: 26px 22px 24px; overflow: visible; }
  .popup-form h2 { font-size: 28px; }
}

/* ---------- Practice Areas mega dropdown ---------- */
.header .container { position: relative; }
.nav a[aria-current="page"] { color: var(--ivory); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-item { position: static; display: flex; align-items: center; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-link .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-mega:hover .nav-link .chev, .has-mega:focus-within .nav-link .chev { transform: rotate(180deg); }
.sub-toggle { display: none; }
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% - 6px); z-index: 120;
  display: grid; grid-template-columns: 1fr 300px; gap: 0;
  background: var(--paper); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(6, 14, 27, .45); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 22px; }
.nav .mega-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 12px;
  color: var(--ink); transition: background .2s;
}
.nav .mega-item::after { display: none; }
.nav .mega-item:hover, .nav .mega-item[aria-current="page"] { background: var(--ivory); color: var(--ink); }
.mi-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); transition: background .2s, color .2s; }
.mi-ic svg { width: 20px; height: 20px; }
.nav .mega-item:hover .mi-ic, .nav .mega-item[aria-current="page"] .mi-ic { background: var(--gold-500); color: var(--navy-950); }
.mi-tx strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.mi-tx small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--muted); font-weight: 400; }
.mega-side {
  padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; color: rgba(248, 245, 238, .75);
  background: radial-gradient(300px 220px at 100% 0%, rgba(201, 161, 74, .22), transparent 60%), var(--navy-900);
}
.mega-side .eyebrow { color: var(--gold-400); }
.mega-side h3 { color: var(--ivory); font-size: 21px; line-height: 1.3; }
.mega-side p { margin: 0 0 6px; font-size: 14px; }
.nav .mega-side .btn { margin: 0; padding: 12px 18px; color: var(--navy-950); justify-content: center; }
.nav .mega-side .btn::after { display: none; }
.nav .mega-call { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--ivory); font-weight: 600; }
.nav .mega-call::after { display: none; }
.mega-call svg { width: 16px; height: 16px; color: var(--gold-400); }

@media (max-width: 1080px) {
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); }
  .nav-item > .nav-link { flex: 1; border-bottom: 0 !important; }
  .nav-link .chev { display: none; }
  .sub-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; color: var(--ivory);
  }
  .sub-toggle svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
  .has-mega.open .sub-toggle svg { transform: rotate(180deg); }
  .mega {
    position: static; display: none; width: 100%; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-radius: 12px; margin: 0 0 12px; transition: none; border: 0;
  }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .has-mega.open .mega, .has-mega.open:hover .mega, .has-mega.open:focus-within .mega { display: grid; }
  .mega-grid { grid-template-columns: 1fr; padding: 8px; }
  .nav .mega-item { padding: 10px; border-bottom: 0; align-items: center; }
  .mi-tx small, .mega-side { display: none; }
  .nav { max-height: calc(100vh - 140px); overflow-y: auto; }
}

/* ---------- QA fixes ---------- */
.contact-grid > *, .about-grid > *, .faq-grid > *, .hero-content, .band .container > * { min-width: 0; }
.contact-item div, .c-card p, .footer a, .side-cta a { overflow-wrap: anywhere; }
html { overflow-x: clip; }
body { overflow-x: clip; }
/* testimonial dots: bigger tap area without changing the look */
.t-dot { position: relative; }
.t-dot::after { content: ""; position: absolute; inset: -14px -6px; }
@media (max-width: 900px) {
  /* keep the offset gold frame of the portrait inside the screen */
  .portrait { width: calc(100% - 18px); margin: 0 auto 0 0 !important; }
}

/* Timeline: vertical on phones */
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr !important; gap: 0; padding-left: 34px; }
  .timeline::before { display: block !important; left: 8px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(var(--gold-500), var(--line)); }
  .tl-item { padding: 0 0 28px; }
  .tl-item::before { top: 8px; left: -34px; }
  .tl-year { font-size: 32px; }
}

/* Homepage H1 styled as the gold label above the headline */
.hero h1.hero-h1 {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-400); margin: 0; text-shadow: none; display: inline-flex;
}
@media (max-width: 900px) { .hero h1.hero-h1 { letter-spacing: .14em; font-size: 11.5px; } }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
button[disabled] { opacity: .7; cursor: wait; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 126px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 12px 16px 24px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
  .menu-toggle { display: inline-flex; }
        .practice-grid { grid-template-columns: repeat(3, 1fr); }
  .pa-cta { grid-column: span 2; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-grid, .band .container, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-photo { aspect-ratio: 4 / 4; }
  .updates-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .timeline::before { display: none; }
  .about-badge { right: 12px; }
}
@media (max-width: 640px) {
  .topbar .hide-sm { display: none; }
  .header .container { height: 72px; }
  .nav { inset: 114px 0 auto 0; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 16px; }
  .brand-tag { font-size: 9px; letter-spacing: .24em; }
        .values { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
  .member-photo { max-width: 100%; aspect-ratio: 1; }
        .member dl div { grid-template-columns: 1fr; gap: 0; }
  .timeline { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .pa-cta { grid-column: auto; }
  .pa-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
