/* ==========================================================================
   DESIGN TOKENS
   --------------------------------------------------------------------------
   DESIGN PLAN (kept here for whoever edits this next)

   Subject: an established Nigerian commercial law firm in Warri, Delta
   State — the centre of the country's oil & gas corridor. Audience is
   business owners, in-house teams and individuals who want to feel they
   are in serious, considered hands, not a slick agency.

   Colour: ink (near-black, cool undertone) + a deep bottle green
   (a nod to leather-bound law books and legal tradition, not a startup
   green) + a muted antique brass used only as a thin accent. Background
   is a stone-grey ivory, deliberately less yellow than a "cream" tone,
   paired with a green/brass combination rather than the warm-cream +
   terracotta pairing that reads as a generic AI default.

   Type: Fraunces (serif, editorial, has real character at large sizes)
   for headlines: IBM Plex Sans for body and UI, for a precise, legible
   working voice. Two families, clearly distinct roles.

   Layout: left-aligned, editorial, asymmetric — not centred hero blocks
   or a symmetric SaaS grid. Hairline rules and generous whitespace carry
   hierarchy, not card shadows. Numbered sequences (01, 02 ...) are used
   only where content is genuinely a sequence (the "Our Approach" page).

   Motion: one considered reveal on the homepage hero; otherwise motion
   responds to what a person does (menu open, accordion, hover), not to
   scroll position on every section.
   ========================================================================== */

:root {
  /* ---- Colour: neutrals ---- */
  --color-ink: #12161c;          /* primary text, dark surfaces (header/footer) */
  --color-ink-soft: #2a2f36;     /* secondary dark surface tone */
  --color-paper: #eeede6;        /* page background — stone ivory, not cream */
  --color-paper-alt: #e3e0d4;    /* alternate section background */
  --color-surface: #fbfaf7;      /* card / form surface, near-white */
  --color-border: #d6d2c3;       /* hairline borders and rules */
  --color-border-strong: #b9b4a0;
  --color-muted: #57584f;        /* secondary text on light backgrounds */
  --color-muted-on-dark: #a9ada2;/* secondary text on dark backgrounds */

  /* ---- Colour: brand ---- */
  --color-chambers-green: #1f3329;      /* deep bottle green — secondary brand colour */
  --color-chambers-green-soft: #2c4438;
  --color-brass: #a9782e;               /* muted antique brass — accent only, used sparingly */
  --color-brass-soft: #c8a668;

  /* ---- Colour: semantic ---- */
  --color-success: #2f5d3a;
  --color-error: #8a2f22;
  --color-focus: #a9782e;

  /* ---- Type families ---- */
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Type scale ---- */
  --text-xs: 0.8125rem;   /* 13px */
  --text-sm: 0.9375rem;   /* 15px */
  --text-base: 1rem;      /* 16px */
  --text-md: 1.125rem;    /* 18px */
  --text-lg: 1.375rem;    /* 22px */
  --text-xl: 1.75rem;     /* 28px */
  --text-2xl: 2.25rem;    /* 36px */
  --text-3xl: clamp(2.25rem, 1.7rem + 2.3vw, 3.25rem);   /* 36-52px */
  --text-4xl: clamp(2.75rem, 1.8rem + 4vw, 4.5rem);      /* 44-72px */

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.55;
  --leading-relaxed: 1.75;

  /* ---- Spacing scale (4px base) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;
  --space-12: 8.5rem;

  /* ---- Layout ---- */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --measure: 64ch;
  --radius-sm: 2px;
  --radius-md: 4px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 240ms;
  --duration-slow: 420ms;

  /* ---- Elevation (flat system — used only for menus/modals, never cards) ---- */
  --shadow-menu: 0 12px 32px rgba(18, 22, 28, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-base: 0ms;
    --duration-slow: 0ms;
  }
}


/* ==========================================================================
   BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-4);
  color: var(--color-ink);
  text-wrap: balance;
}
h1 { font-size: var(--text-4xl); font-weight: 460; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-md); font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 var(--space-4); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration-color: var(--color-border-strong);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: currentColor; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ---- Focus states: visible everywhere, styled once ---- */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--color-ink);
  color: var(--color-surface);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--duration-base) var(--ease-standard);
}
.skip-link:focus { top: var(--space-4); }

/* ---- Selection ---- */
::selection { background: var(--color-chambers-green); color: var(--color-surface); }

/* ---- Utility ---- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-11);
}
@media (max-width: 720px) {
  .section { padding-block: var(--space-9); }
}
.section--tight { padding-block: var(--space-8); }
.section--dark {
  background: var(--color-ink);
  color: var(--color-surface);
}
.section--alt { background: var(--color-paper-alt); }
.section--surface { background: var(--color-surface); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 46rem;
  margin-bottom: var(--space-8);
}
.section-head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: var(--space-6);
}
@media (max-width: 760px) {
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brass);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-brass);
  display: inline-block;
}
.section--dark .eyebrow,
.section--dark .eyebrow::before { color: var(--color-brass-soft); background: var(--color-brass-soft); }

.hairline {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}
.section--dark .hairline { border-top-color: rgba(255,255,255,0.15); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-ink);
  color: var(--color-surface);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.site-header__logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-surface);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-header__logo strong { font-weight: 600; }
.site-header__logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--color-brass-soft);
  text-transform: uppercase;
  margin-top: 2px;
}

.primary-nav { display: none; }
@media (min-width: 980px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    margin: 0; padding: 0;
  }
  .primary-nav a {
    text-decoration: none;
    font-size: var(--text-sm);
    color: var(--color-muted-on-dark);
    padding: var(--space-2) 0;
    border-bottom: 1px solid transparent;
    transition: color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
  }
  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] { color: var(--color-surface); border-color: var(--color-brass); }
}

/* ---- Practice Areas mega-menu (desktop) ---- */
.nav-dropdown { position: relative; }
.nav-dropdown__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: var(--space-4);
  background: var(--color-surface);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-menu);
  padding: var(--space-6);
  width: min(620px, 90vw);
  z-index: 110;
}
.nav-dropdown[data-dropdown-open="true"] .nav-dropdown__panel { display: block; }
.nav-dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-6); }
.nav-dropdown__panel a {
  display: block;
  padding: var(--space-2) 0;
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--color-ink);
  border-bottom: 1px solid transparent;
}
.nav-dropdown__panel a:hover { color: var(--color-chambers-green); }
.nav-dropdown__footer {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
}

.site-header__actions { display: flex; align-items: center; gap: var(--space-4); }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: var(--color-surface);
}
@media (min-width: 980px) { .nav-toggle { display: none; } }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform var(--duration-base) var(--ease-standard), opacity var(--duration-base) var(--ease-standard), top var(--duration-base) var(--ease-standard);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
[data-nav-open="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
[data-nav-open="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
[data-nav-open="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---- Mobile nav panel ---- */
.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: var(--color-ink);
}
[data-nav-open="true"] .mobile-nav { display: block; }
.mobile-nav__list { padding: var(--space-5) 0; }
.mobile-nav__list > li + li { border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-nav__list a {
  display: block;
  padding: var(--space-4) var(--container-pad);
  text-decoration: none;
  color: var(--color-surface);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}
.mobile-nav__cta { padding: 0 var(--container-pad) var(--space-5); }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }

/* ---- Footer ---- */
.site-footer { background: var(--color-ink); color: var(--color-muted-on-dark); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--color-surface); }
.footer-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding-block: var(--space-10);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 { color: var(--color-surface); font-size: var(--text-sm); text-transform: none; letter-spacing: 0.02em; margin-bottom: var(--space-4); }
.footer-grid ul li { margin-bottom: var(--space-3); font-size: var(--text-sm); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs);
}
.footer-social { display: flex; gap: var(--space-4); }

/* ---- Grids ---- */
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-9);
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-muted);
  padding-block: var(--space-5);
}
.breadcrumbs a { text-decoration: none; color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-ink); text-decoration: underline; }
.breadcrumbs li { display: flex; align-items: center; gap: var(--space-2); }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--color-border-strong); }


/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
  min-height: 44px;
  cursor: pointer;
}
.btn--primary { background: var(--color-brass); color: var(--color-ink); }
.btn--primary:hover { background: var(--color-brass-soft); }
.btn--dark { background: var(--color-ink); color: var(--color-surface); }
.btn--dark:hover { background: var(--color-ink-soft); }
.btn--outline {
  background: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-ink);
}
.btn--outline:hover { border-color: var(--color-ink); }
.section--dark .btn--outline { border-color: rgba(255,255,255,0.3); color: var(--color-surface); }
.section--dark .btn--outline:hover { border-color: var(--color-surface); }
.btn--ghost { padding-inline: 0; color: var(--color-ink); }
.btn--ghost::after { content: ""; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---- Cards (flat, bordered — no shadow, document-like) ---- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
}
.card__title { font-family: var(--font-display); font-size: var(--text-md); margin: 0; }
.card__meta { font-size: var(--text-xs); color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.card__link {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-chambers-green);
}
.card__link:hover { text-decoration: underline; }
.card--interactive { transition: border-color var(--duration-fast) var(--ease-standard); }
.card--interactive:hover { border-color: var(--color-border-strong); }

/* Practice-area / industry index links */
.index-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  text-decoration: none;
  color: var(--color-ink);
  border-top: 1px solid var(--color-border);
}
.index-link:last-child { border-bottom: 1px solid var(--color-border); }
.index-link__name { font-family: var(--font-display); font-size: var(--text-lg); }
.index-link__arrow { color: var(--color-brass); flex-shrink: 0; transition: transform var(--duration-fast) var(--ease-standard); }
.index-link:hover .index-link__arrow { transform: translateX(4px); }
.section--dark .index-link { color: var(--color-surface); border-top-color: rgba(255,255,255,0.15); }
.section--dark .index-link:last-child { border-bottom-color: rgba(255,255,255,0.15); }

/* Sequence (numbered steps) — used only for genuinely sequential content */
.sequence-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-5);
  padding-block: var(--space-7);
  border-top: 1px solid var(--color-border);
}
.sequence-item:last-child { border-bottom: 1px solid var(--color-border); }
.sequence-item__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-brass);
}

/* ---- Team ---- */
.person-card { gap: var(--space-4); }
.person-photo {
  aspect-ratio: 4 / 5;
  background: var(--color-paper-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--space-4);
}
.person-card__name { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: 0; }
.person-card__title { font-size: var(--text-sm); color: var(--color-muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-muted);
}

/* ---- Badges / notices ---- */
.notice {
  border: 1px solid var(--color-border-strong);
  background: var(--color-paper-alt);
  border-left: 3px solid var(--color-brass);
  padding: var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.notice strong { color: var(--color-ink); }

/* ---- FAQ / accordion ---- */
.accordion-item { border-top: 1px solid var(--color-border); }
.accordion-item:last-child { border-bottom: 1px solid var(--color-border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-md);
}
.accordion-trigger__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.accordion-trigger__icon::before,
.accordion-trigger__icon::after {
  content: "";
  position: absolute;
  background: var(--color-ink);
  transition: transform var(--duration-fast) var(--ease-standard);
}
.accordion-trigger__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.accordion-trigger__icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.accordion-item[data-open="true"] .accordion-trigger__icon::after { transform: rotate(90deg); opacity: 0; }
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-base) var(--ease-standard);
}
.accordion-item[data-open="true"] .accordion-panel { max-height: 600px; }
.accordion-panel__inner { padding-bottom: var(--space-5); color: var(--color-muted); max-width: var(--measure); }

/* ---- Forms ---- */
.form-field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.form-field label { font-size: var(--text-sm); font-weight: 600; }
.form-field .hint { font-size: var(--text-xs); color: var(--color-muted); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  min-height: 44px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible { outline-offset: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-error {
  border: 1px solid var(--color-error);
  color: var(--color-error);
  font-size: var(--text-xs);
}
.form-consent { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); }
.form-consent input { margin-top: 4px; }
[data-form-status] { display: none; margin-bottom: var(--space-5); }
[data-form-status].is-visible { display: block; }
[data-form-status="success"] { border-color: var(--color-success); border-left-color: var(--color-success); }
[data-form-status="error"] { border-color: var(--color-error); border-left-color: var(--color-error); }

/* ---- Floating WhatsApp button ---- */
.whatsapp-float {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-chambers-green);
  color: var(--color-surface);
  padding: var(--space-3) var(--space-5);
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-menu);
  transition: transform var(--duration-fast) var(--ease-standard);
}
.whatsapp-float:hover { transform: translateY(-2px); }
@media (max-width: 560px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: var(--space-4); }
}

/* ---- Table (used sparingly, e.g. FAQ printable summaries) ---- */
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.data-table th, .data-table td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); }


/* ==========================================================================
   ANIMATION
   --------------------------------------------------------------------------
   Deliberately restrained: a single orchestrated reveal on the homepage
   hero, a light fade for section headings as they enter view, and
   interaction-driven transitions (menu, accordion, hover, buttons)
   handled in layout.css / components.css. Nothing scroll-triggers on
   every card — see frontend design notes.
   ========================================================================== */

.hero-line {
  overflow: hidden;
}
.hero-line span {
  display: block;
  transform: translateY(110%);
  animation: line-up var(--duration-slow) var(--ease-standard) forwards;
}
.hero-line:nth-child(1) span { animation-delay: 40ms; }
.hero-line:nth-child(2) span { animation-delay: 140ms; }

@keyframes line-up {
  to { transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(14px);
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-slow) var(--ease-standard),
              transform var(--duration-slow) var(--ease-standard);
}

@media (prefers-reduced-motion: reduce) {
  .hero-line span { animation: none; transform: none; }
  .fade-in-up { opacity: 1; transform: none; }
}


/* ==========================================================================
   PAGE-SPECIFIC STYLES
   ========================================================================== */

/* ---- Hero ---- */
.hero {
  background: var(--color-ink);
  color: var(--color-surface);
  padding-block: var(--space-12) var(--space-10);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-9);
  align-items: end;
  position: relative;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}
.hero__eyebrow {
  font-size: var(--text-sm);
  color: var(--color-brass-soft);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--color-brass-soft); }
.hero h1 {
  font-size: var(--text-4xl);
  font-weight: 460;
  max-width: 16ch;
  margin-bottom: var(--space-6);
}
.hero p {
  color: var(--color-muted-on-dark);
  font-size: var(--text-md);
  max-width: 42ch;
  margin-bottom: var(--space-7);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__panel {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.hero__panel-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brass-soft);
  margin-bottom: var(--space-4);
}
.hero__panel-fact { display: flex; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-3); border-top: 1px solid rgba(255,255,255,0.1); font-size: var(--text-sm); }
.hero__panel-fact:first-of-type { border-top: none; }
.hero__mark { position: absolute; right: -60px; top: -40px; opacity: 0.5; pointer-events: none; }
@media (max-width: 900px) { .hero__mark { display: none; } }

/* ---- Sub-page hero (shorter, for internal pages) ---- */
.page-hero {
  background: var(--color-ink);
  color: var(--color-surface);
  padding-block: var(--space-9) var(--space-8);
}
.page-hero__eyebrow { font-size: var(--text-sm); color: var(--color-brass-soft); margin-bottom: var(--space-4); }
.page-hero h1 { font-size: var(--text-3xl); max-width: 26ch; margin-bottom: var(--space-4); }
.page-hero p { color: var(--color-muted-on-dark); max-width: 60ch; margin-bottom: 0; }
.page-hero .breadcrumbs { color: var(--color-muted-on-dark); }
.page-hero .breadcrumbs a { color: var(--color-muted-on-dark); }
.page-hero .breadcrumbs a:hover { color: var(--color-surface); }
.page-hero .breadcrumbs li:not(:last-child)::after { color: rgba(255,255,255,0.3); }

/* ---- Practice area / industry chip grid ---- */
.chip-grid { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.chip {
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-ink);
}
.chip:hover { border-color: var(--color-ink); }

/* ---- Article / practice-area body copy ---- */
.prose { max-width: var(--measure); }
.prose p { color: var(--color-muted); margin-bottom: var(--space-5); }
.prose h2 { margin-top: var(--space-9); }
.prose ul { list-style: none; margin: var(--space-5) 0; }
.prose ul li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-muted);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--color-brass);
}

.article-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}
.share-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.share-row a {
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  text-decoration: none;
}
.share-row a:hover { border-color: var(--color-ink); }

/* ---- Contact / consultation layout ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-9); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: flex; flex-direction: column; gap: var(--space-2); padding-block: var(--space-5); border-top: 1px solid var(--color-border); }
.contact-detail:last-child { padding-bottom: 0; }
.contact-detail__label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.contact-detail__value { font-family: var(--font-display); font-size: var(--text-md); }
.map-placeholder {
  aspect-ratio: 16/9;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-6);
  background: var(--color-paper-alt);
}
.map-embed iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-md); }

/* ---- 404 ---- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 4rem + 6vw, 8rem);
  color: var(--color-border-strong);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.error-page__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); }

/* ---- Stat panel (only ever used with real, supplied numbers) ---- */
.fact-row { display: flex; flex-wrap: wrap; gap: var(--space-8); padding-block: var(--space-6); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.fact { display: flex; flex-direction: column; gap: var(--space-1); }
.fact__value { font-family: var(--font-display); font-size: var(--text-xl); }
.fact__label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
