/* ==========================================================================
   NS Solicitors — Design System
   All brand tokens declared once in :root. Mobile-first.
   Palette derived from the NS Solicitors logo (charcoal ink + antique gold).
   ========================================================================== */

:root {
  /* Brand — ink & gold */
  --ink-900: #1C1A17;   /* darkest surface (dark sections) */
  --ink-800: #26221E;   /* primary heading / text on light */
  --ink-700: #3A342D;
  --ink-500: #6B6459;   /* muted body text / labels */
  --ink-300: #9A9184;

  --gold:      #C4A265; /* single accent — CTAs, rules, on-dark text */
  --gold-600:  #A9873F; /* darker gold for focus rings / hover on light */
  --gold-100:  #F2EAD9; /* faint gold wash */

  /* Neutrals / surfaces */
  --paper:  #FBFAF7;    /* page background */
  --white:  #FFFFFF;
  --line:   #E7E2D8;    /* hairline borders */
  --line-dark: rgba(196,162,101,.22); /* hairline on dark */

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale (~1.25) */
  --fs-hero:  clamp(2.75rem, 6vw, 4.75rem);
  --fs-h1:    clamp(2.25rem, 4.5vw, 3.5rem);
  --fs-h2:    clamp(1.9rem, 3.4vw, 2.75rem);
  --fs-h3:    clamp(1.4rem, 2vw, 1.85rem);
  --fs-h4:    1.3rem;
  --fs-lead:  clamp(1.075rem, 1.5vw, 1.25rem);
  --fs-body:  1.0625rem;   /* 17px */
  --fs-sm:    0.9375rem;
  --fs-kicker:0.78rem;

  /* Spacing — 8px base */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;
  --s-20: 80px; --s-24: 96px; --s-32: 128px;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Elevation — subtle only */
  --shadow-sm: 0 1px 2px rgba(28,26,23,.05);
  --shadow-md: 0 12px 30px -18px rgba(28,26,23,.28);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 220ms;
}

/* ------------------------------ Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ------------------------------ Type ----------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink-800);
  letter-spacing: .01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { max-width: 68ch; }

.kicker {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-sans);
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: var(--s-4);
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--gold);
  display: inline-block;
}
.kicker--center { justify-content: center; }
.lead { font-size: var(--fs-lead); color: var(--ink-500); line-height: 1.6; }

/* ---------------------------- Layout ----------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-6); }
.section { padding-block: var(--s-20); }
.section--tight { padding-block: var(--s-16); }
.narrow { max-width: var(--maxw-narrow); margin-inline: auto; }
.center { text-align: center; }
.center p { margin-inline: auto; }

.section-head { max-width: 640px; margin-bottom: var(--s-12); }
.section-head.center { margin-inline: auto; }

/* Dark section */
.section--dark { background: var(--ink-900); color: #D9D3C7; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .kicker { color: var(--gold); }
.section--dark .lead { color: #B9B2A4; }

/* ---------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-8);
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--ink-900); }
.btn--primary:hover { background: #B8934F; }
.btn--ghost { background: transparent; color: var(--ink-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-800); }
.section--dark .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost { color: var(--white); border-color: var(--line-dark); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }

.textlink {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-800); border-bottom: 2px solid var(--gold); padding-bottom: 3px;
  width: fit-content; transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.textlink:hover { gap: var(--s-3); color: var(--gold-600); }
.textlink svg { transition: transform var(--dur) var(--ease); }
.textlink:hover svg { transform: translateX(3px); }
.section--dark .textlink { color: var(--gold); }

/* --------------------------- Skip link --------------------------------- */
.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 200;
  background: var(--ink-900); color: var(--white);
  padding: var(--s-3) var(--s-5); border-radius: var(--radius);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s-4); }

/* --------------------------- Header / Nav ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,247,.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); min-height: 76px; }
.brand { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand .wordmark {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem;
  letter-spacing: .12em; color: var(--ink-800); text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: var(--s-3); margin-right: calc(var(--s-3) * -1);
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink-800); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu { display: none; }
.nav-cta { display: none; }

/* mobile drawer */
.nav-menu[data-open="true"] {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: var(--s-4) var(--s-6) var(--s-8); box-shadow: var(--shadow-md);
}
.nav-menu ul { display: flex; flex-direction: column; }
.nav-menu > ul > li { border-bottom: 1px solid var(--line); }
.nav-menu a {
  display: block; padding: var(--s-4) 0; font-size: var(--fs-sm);
  font-weight: 500; letter-spacing: .04em; color: var(--ink-800);
}
.nav-menu a[aria-current="page"] { color: var(--gold-600); }
.nav-menu .submenu a { padding-left: var(--s-4); color: var(--ink-500); font-size: 0.9rem; }
.nav-menu .submenu a::before { content: "— "; color: var(--gold); }
.nav-menu .drawer-cta { margin-top: var(--s-6); }
.nav-menu .drawer-cta .btn { width: 100%; }

/* ------------------------------ Hero ----------------------------------- */
.hero {
  position: relative; background: var(--ink-900); color: #D9D3C7; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(196,162,101,.16), transparent 60%),
    linear-gradient(180deg, rgba(28,26,23,0) 40%, rgba(28,26,23,.55) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-block: clamp(var(--s-20), 12vw, var(--s-32)); }
.hero-grid { display: grid; gap: var(--s-12); align-items: center; }
.hero h1 {
  font-size: var(--fs-hero); color: var(--white); font-weight: 600; line-height: 1.06;
  letter-spacing: .005em; max-width: 16ch;
}
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero .lead { color: #C3BCAD; max-width: 52ch; margin-top: var(--s-6); }
.hero .btn-row { margin-top: var(--s-10); }
.hero-meta { margin-top: var(--s-12); display: flex; flex-wrap: wrap; gap: var(--s-8); border-top: 1px solid var(--line-dark); padding-top: var(--s-8); }
.hero-meta .item .n { font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.hero-meta .item .l { font-size: var(--fs-sm); color: #B9B2A4; margin-top: var(--s-2); }

.emblem {
  aspect-ratio: 1/1; border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(196,162,101,.10), rgba(28,26,23,0) 55%);
  display: grid; place-items: center; padding: var(--s-12);
}
.emblem img { width: min(320px, 70%); filter: none; }

/* ------------------------------ Stats ---------------------------------- */
.stats { display: grid; grid-template-columns: 1fr; gap: var(--s-1); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--white); padding: var(--s-10) var(--s-8); text-align: center; }
.stat .n { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.25rem); color: var(--ink-800); line-height: 1; }
.stat .n .plus { color: var(--gold); }
.stat .l { display: block; margin-top: var(--s-3); font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }

/* ------------------------------ Cards ---------------------------------- */
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-8); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); }
.card h3 { margin-top: var(--s-3); font-size: var(--fs-h4); }
.card p { margin-top: var(--s-3); color: var(--ink-500); font-size: var(--fs-body); }
.card .icon {
  width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-600); margin-bottom: var(--s-5);
}
.card .icon svg { width: 26px; height: 26px; }

/* ---------------------------- About split ------------------------------ */
.split { display: grid; gap: var(--s-16); align-items: center; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background:
    linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #cbb98f; position: relative; aspect-ratio: 4/3; display: grid; place-items: center;
}
.media-frame::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 30% 20%, rgba(196,162,101,.18), transparent 60%);
}
.media-frame .ph-label {
  position: relative; z-index: 1; font-family: var(--font-serif); font-size: 1.5rem;
  letter-spacing: .1em; opacity: .8;
}

/* ------------------------------ Team ----------------------------------- */
.person { text-align: center; }
.avatar {
  width: 116px; height: 116px; margin: 0 auto var(--s-5); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif);
  font-size: 2.2rem; color: var(--ink-900); background: var(--gold-100);
  border: 1px solid var(--gold); letter-spacing: .02em;
}
.person h3 { font-size: var(--fs-h4); }
.person .role { font-size: var(--fs-kicker); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-500); margin-top: var(--s-2); }
.person p { font-size: var(--fs-sm); color: var(--ink-500); margin-top: var(--s-4); text-align: left; }

.bio {
  display: grid; gap: var(--s-8); align-items: start;
  padding-block: var(--s-10); border-top: 1px solid var(--line);
}
.bio:first-of-type { border-top: 0; }
.bio .avatar { margin: 0; width: 132px; height: 132px; }
.bio .role { font-size: var(--fs-kicker); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.bio h3 { margin-top: var(--s-2); }
.bio p { margin-top: var(--s-4); color: var(--ink-500); }

/* --------------------------- Accordion --------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  background: none; border: 0; text-align: left; padding: var(--s-6) 0;
  font-family: var(--font-serif); font-size: var(--fs-h4); color: var(--ink-800);
}
.accordion-trigger:hover { color: var(--gold-600); }
.accordion-trigger .plusmin { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.accordion-trigger .plusmin::before,
.accordion-trigger .plusmin::after {
  content: ""; position: absolute; background: var(--gold); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.accordion-trigger .plusmin::before { top: 9px; left: 0; width: 20px; height: 2px; }
.accordion-trigger .plusmin::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.accordion-trigger[aria-expanded="true"] .plusmin::after { transform: scaleY(0); }
.accordion-panel { overflow: hidden; height: 0; transition: height var(--dur) var(--ease); }
.accordion-panel > div { padding: 0 0 var(--s-6); }
.accordion-panel p { color: var(--ink-500); max-width: 80ch; }

/* --------------------------- Testimonials ------------------------------ */
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-10); position: relative;
}
.quote::before {
  content: "\201C"; font-family: var(--font-serif); font-size: 5rem; line-height: .8;
  color: var(--gold); position: absolute; top: var(--s-6); left: var(--s-6); opacity: .55;
}
.quote blockquote { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.5; color: var(--ink-800); margin-top: var(--s-8); }
.quote .cite { margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--ink-500); letter-spacing: .08em; text-transform: uppercase; }
.quote .cite strong { color: var(--ink-800); font-weight: 600; }

/* --------------------------- Media items ------------------------------- */
.press { display: grid; gap: var(--s-6); }
.press-item {
  display: grid; grid-template-columns: 1fr; gap: var(--s-5);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-6); align-items: center; transition: border-color var(--dur) var(--ease);
}
.press-item:hover { border-color: var(--gold); }
.press-thumb {
  aspect-ratio: 16/10; border-radius: var(--radius); background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  display: grid; place-items: center; color: var(--gold); font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: .08em;
}
.press-body p { color: var(--ink-500); font-size: var(--fs-body); }
.press-body .textlink { margin-top: var(--s-4); }

/* --------------------------- Gallery ----------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.gallery figure {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 3/4; background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  display: grid; place-items: center; color: var(--gold); font-family: var(--font-serif); letter-spacing: .06em;
}

/* ------------------------------ Forms ---------------------------------- */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--fs-sm); font-weight: 600; letter-spacing: .04em; color: var(--ink-700); }
.field input, .field textarea, .field select {
  font: inherit; font-size: var(--fs-body); color: var(--ink-800);
  padding: var(--s-4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,162,101,.22);
}
.form-note { font-size: var(--fs-sm); color: var(--ink-500); }
.form-status { font-size: var(--fs-sm); font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #2f7d4f; }
.form-status.err { color: #b23b3b; }

/* contact detail cards */
.contact-grid { display: grid; gap: var(--s-6); }
.contact-detail { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.contact-detail .icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius); background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.contact-detail h3 { font-size: 1.1rem; }
.contact-detail a, .contact-detail address { font-style: normal; color: var(--ink-500); font-size: var(--fs-body); }
.contact-detail a:hover { color: var(--gold-600); }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ------------------------- Page hero (inner) --------------------------- */
.page-hero { background: var(--ink-900); color: #D9D3C7; }
.page-hero .container { padding-block: var(--s-20) var(--s-16); }
.page-hero h1 { color: var(--white); font-size: var(--fs-h1); max-width: 18ch; }
.page-hero .lead { color: #C3BCAD; margin-top: var(--s-5); }
.breadcrumb { font-size: var(--fs-sm); color: #B9B2A4; margin-bottom: var(--s-6); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ------------------------------ CTA band ------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band .lead { margin: var(--s-5) auto var(--s-10); }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------ Footer --------------------------------- */
.site-footer { background: var(--ink-900); color: #A9A093; padding-block: var(--s-20) var(--s-8); }
.site-footer h4 { color: var(--white); font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-5); }
.footer-grid { display: grid; gap: var(--s-12); grid-template-columns: 1fr; }
.footer-brand img { height: 52px; margin-bottom: var(--s-5); }
.footer-brand p { color: #8f867a; font-size: var(--fs-sm); max-width: 34ch; }
.site-footer a { color: #A9A093; font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--gold); }
.site-footer li { padding-block: var(--s-2); }
.footer-contact address { font-style: normal; color: #A9A093; font-size: var(--fs-sm); line-height: 1.9; }
.socials { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: var(--s-16); padding-top: var(--s-6); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; font-size: var(--fs-sm); color: #7d7568; }

/* ------------------------- Reveal animation ---------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 460ms var(--ease), transform 460ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------ Utilities ------------------------------ */
.mt-0 { margin-top: 0; } .mt-6 { margin-top: var(--s-6); } .mt-10 { margin-top: var(--s-10); }
.stack > * + * { margin-top: var(--s-5); }

/* ============================ Breakpoints ============================== */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .press-item { grid-template-columns: 200px 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .bio { grid-template-columns: 160px 1fr; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-menu { display: block; position: static; padding: 0; box-shadow: none; border: 0; background: none; }
  .nav-menu > ul { flex-direction: row; align-items: center; gap: var(--s-2); }
  .nav-menu > ul > li { border: 0; position: relative; }
  .nav-menu > ul > li > a { padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); }
  .nav-menu .drawer-cta { display: none; }
  /* dropdowns */
  .has-sub > .submenu {
    display: block; position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-md); padding: var(--s-2); opacity: 0; visibility: hidden;
    transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .has-sub:hover > .submenu,
  .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
  .nav-menu .submenu a { padding: var(--s-3) var(--s-4); }
  .nav-menu .submenu a::before { content: none; }
  .nav-cta { display: inline-flex; }
}

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

/* --------------------------- Focus visible ----------------------------- */
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

/* ============================================================
   v2 refinements — logo visibility, nav wrapping, dots, motion
   ============================================================ */

/* Logo lockup (image already contains the "NS Solicitors" wordmark) */
.brand-logo  { height: 44px; width: auto; }
.footer-logo { height: 60px; width: auto; }
.emblem-logo { width: min(300px, 66%); height: auto; }

/* Buttons should never wrap their label */
.btn { white-space: nowrap; }

/* Testimonial dots — state driven by CSS so the highlight tracks clicks */
.dots { display: flex; justify-content: center; gap: 12px; margin-top: var(--s-8); }
.dot {
  width: 11px; height: 11px; min-height: 0; padding: 0; border-radius: 50%;
  border: 1px solid var(--gold); background: transparent;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.dot[aria-selected="true"] { background: var(--gold); }
.dot:hover { transform: scale(1.18); }

/* Minimal, purposeful motion on the hero emblem */
@media (prefers-reduced-motion: no-preference) {
  .emblem-logo { animation: emblem-in 700ms var(--ease) both, emblem-float 7s ease-in-out 800ms infinite; }
  @keyframes emblem-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
  @keyframes emblem-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
}

/* Desktop nav: keep every label on one line + animated underline */
@media (min-width: 1024px) {
  .brand-logo { height: 50px; }
  .nav-menu > ul { gap: var(--s-1); }
  .nav-menu > ul > li > a {
    white-space: nowrap; padding: var(--s-3); position: relative;
  }
  .nav-menu > ul > li > a::after {
    content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 3px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav-menu > ul > li > a:hover::after,
  .nav-menu > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { padding: 0 var(--s-5); }
}

/* ---- Real imagery: press thumbnails, event gallery, photo avatars ---- */
img.press-thumb { width: 100%; height: 100%; object-fit: cover; }
.gallery figure { padding: 0; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }

/* Photo avatar replaces the monogram; every portrait sits in an identical
   circular frame (same size, same gold ring, same backdrop) and is cropped
   with object-fit so nothing is ever stretched. */
img.avatar, img.avatar-photo {
  object-fit: cover;
  object-position: top center;
  background: var(--gold-100);
  border: 2px solid var(--gold);
}
/* Smaller, left-aligned portrait for the associate cards */
.avatar-card { width: 92px !important; height: 92px !important; margin: 0 0 var(--s-5) !important; }

/* Cards are always light surfaces — keep their headings dark even inside a
   dark section (fixes invisible white-on-white names on the associate cards) */
.card h3, .card h4 { color: var(--ink-800); }

/* ---- Lightbox (click gallery / press images to view full size) ---- */
.gallery img, img.press-thumb { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: var(--s-6);
  background: rgba(20,18,15,.9); backdrop-filter: blur(4px);
}
.lightbox[data-open="true"] { display: flex; }
.lightbox figure { margin: 0; text-align: center; max-width: min(92vw, 1040px); }
.lightbox img {
  max-width: 100%; max-height: 84vh; width: auto; height: auto;
  border-radius: var(--radius); box-shadow: 0 24px 70px -24px rgba(0,0,0,.7);
}
.lightbox figcaption { color: #C3BCAD; font-size: var(--fs-sm); margin-top: var(--s-4); }
.lightbox-close {
  position: absolute; top: 16px; right: 18px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(0,0,0,.35);
  color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[data-open="true"] img { animation: lb-in 240ms var(--ease) both; }
  @keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
}

/* ---- Disclaimer gate (Bar Council of India — shown on first visit) ---- */
.disclaimer {
  position: fixed; inset: 0; z-index: 500; display: none;
  align-items: center; justify-content: center; padding: var(--s-5);
  background: rgba(20,18,15,.72); backdrop-filter: blur(5px);
}
.disclaimer[data-open="true"] { display: flex; }
.disclaimer-card {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 640px; width: 100%; max-height: 88vh; display: flex; flex-direction: column;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); border-top: 4px solid var(--gold);
  overflow: hidden;
}
.disclaimer-head { padding: var(--s-8) var(--s-8) 0; text-align: center; }
.disclaimer-head img { height: 54px; width: auto; margin: 0 auto var(--s-5); }
.disclaimer-head h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); letter-spacing: .04em; text-transform: uppercase; }
.disclaimer-body { padding: var(--s-6) var(--s-8); overflow-y: auto; }
.disclaimer-body p { color: var(--ink-500); font-size: var(--fs-body); max-width: none; }
.disclaimer-body p + p { margin-top: var(--s-4); }
.disclaimer-foot {
  padding: var(--s-6) var(--s-8) var(--s-8); border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-3); align-items: stretch;
}
.disclaimer-foot .btn { width: 100%; }
.disclaimer-decline {
  background: none; border: 0; color: var(--ink-500); font-size: var(--fs-sm);
  text-decoration: underline; cursor: pointer; padding: var(--s-2);
}
.disclaimer-decline:hover { color: var(--ink-800); }
@media (min-width: 560px) {
  .disclaimer-foot { flex-direction: row-reverse; justify-content: center; align-items: center; }
  .disclaimer-foot .btn { width: auto; }
}
