/* =========================================================
   NOURA LAWYERS — Global Stylesheet
   Brand: Eclipse — Lawyer Gold (#C9A961) + Court Navy (#0F1B2D)
   ========================================================= */

:root {
  /* Eclipse brand palette — source: brand kit v1.0 */
  --gold:          #C9A961;   /* Lawyer Gold — accent */
  --gold-bright:   #E0BD6E;   /* hover state */
  --gold-deep:     #8E7340;   /* muted captions */
  --gold-soft:     #E8DCC4;   /* surfaces */
  --gold-light:    #E0BD6E;
  --gold-pale:     #E8DCC4;   /* hairlines */
  --gold-dark:     #8E7340;
  --paper:         #FAF7F1;   /* light-mode page bg */

  /* Burgundy → remapped to gold so old class references auto-inherit */
  --burgundy:      #C9A961;
  --burgundy-deep: #8E7340;
  --burgundy-soft: rgba(201,169,97,.08);

  /* Dark backgrounds — Court Navy */
  --navy:          #0F1B2D;
  --navy-deep:     #0A1220;
  --navy-mid:      #1A2942;
  --gold-bright:   #E0BD6E;
  --bg:            #0F1B2D;
  --bg-card:       #1A2942;
  --bg-soft:       #152236;
  --bg-mid:        #1E3050;

  /* Old cream tokens → dark for automatic inheritance across all pages */
  --cream:         #1A2942;
  --cream-warm:    #152236;
  --cream-deep:    #1E3050;
  --white:         #162538;

  /* Text — inverted for dark theme */
  --ink:           #F0ECE2;
  --ink-soft:      #C8C4B8;
  --ink-faint:     #9E9A90;
  --mute:          #8A8EA6;

  /* Borders */
  --line:          rgba(201,169,97,0.12);
  --line-strong:   rgba(201,169,97,0.22);

  /* Shadows — tinted with Court Navy (#0A1220) rather than pure black,
     so depth reads as part of the brand palette, not a generic gray drop. */
  --shadow-sm:     0 1px 2px rgba(10,18,32,0.45), 0 2px 6px rgba(10,18,32,0.30);
  --shadow-md:     0 4px 16px rgba(10,18,32,0.55), 0 12px 32px rgba(10,18,32,0.40);
  --shadow-lg:     0 16px 48px rgba(10,18,32,0.65), 0 2px 8px rgba(10,18,32,0.40);
  --shadow-hover:  0 8px 32px rgba(10,18,32,0.55), 0 2px 8px rgba(10,18,32,0.40);
  --shadow-float:  0 20px 56px rgba(10,18,32,0.65), 0 4px 12px rgba(10,18,32,0.45);

  /* Typography */
  --font-display:  "Cormorant Garamond", "Times New Roman", serif;
  --font-caps:     "Cinzel", "Cormorant Garamond", serif;
  --font-sans:     "Inter", system-ui, sans-serif;
  --font-body:     "Inter", system-ui, sans-serif;
  --font-wordmark: "Cinzel", serif;
  --font-arabic:   "Amiri", serif;
  --serif:         var(--font-display);
  --sans:          var(--font-sans);
  --sans-display:  var(--font-sans);
  --font-mono:     ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Border radius — Eclipse is sharp */
  --radius-sm:   2px;
  --radius:      4px;
  --radius-lg:   6px;
  --radius-xl:   8px;
  --radius-pill: 999px;

  /* Layout */
  --w-prose:   72ch;
  --w-content: 1180px;
  --w-wide:    1320px;

  /* Motion */
  --ease-out:    cubic-bezier(0.32, 0.72, 0, 1);
  --ease-bounce: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-fast:    140ms;
  --dur-base:    240ms;
  --dur-slow:    700ms;
  --dur-press:   160ms;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
a:hover { color: var(--gold-deep); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--burgundy); }

p { margin: 0 0 1.1em; max-width: var(--w-prose); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.2em;
}

/* ---------- Container ---------- */
.container  { max-width: var(--w-content); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--w-wide); margin: 0 auto; padding: 0 24px; }
.section    { padding: clamp(80px, 10vw, 120px) 0; }
.section-sm { padding: clamp(56px, 7vw, 80px) 0; }
.section-tight { padding: clamp(40px, 5vw, 56px) 0; }

/* Eclipse dark-theme overrides — neutralise inline light/gold backgrounds */
.section[style*="background"],
.section--cream,
.section--cream-warm,
.section--burgundy,
.section--ink { background: var(--bg-soft) !important; color: var(--ink-soft) !important; border-top: 1px solid var(--line); }
.section[style*="background"] h1, .section[style*="background"] h2, .section[style*="background"] h3,
.section--burgundy h1, .section--burgundy h2, .section--burgundy h3,
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ink) !important; }
.section[style*="background"] p,
.section--burgundy p { color: var(--ink-soft) !important; }
.section--burgundy .eyebrow { color: var(--gold); }
.section[style*="background"] .hero-cta,
.section--burgundy .hero-cta { background: var(--gold) !important; color: var(--bg) !important; }
.card[style*="background"] { background: var(--bg-card) !important; }

/* Eclipse: neutralise inline light callout boxes (cream/gold gradients, off-whites) */
div[style*="fff8e8"],
div[style*="fbf1d6"],
div[style*="fafaf6"],
div[style*="FFF8E8"],
div[style*="FBF1D6"],
div[style*="FAFAF6"],
div[style*="F5F1EA"] {
  background: rgba(21, 34, 54, .7) !important;
  border-color: rgba(201,169,97,.25) !important;
}
div[style*="fff8e8"] p,
div[style*="fbf1d6"] p,
div[style*="fafaf6"] p,
div[style*="FFF8E8"] p,
div[style*="FBF1D6"] p,
div[style*="FAFAF6"] p { color: var(--ink-soft) !important; }

/* Eclipse: gold-tint emoji icons globally */
.flip-art,
.author-line > span:first-child {
  filter: grayscale(1) sepia(1) hue-rotate(5deg) saturate(.5) brightness(1.1);
  opacity: .85;
}

/* ---------- Header / Nav — floating glass pill ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 24px 0;
  pointer-events: none;
  background: none;
  border-bottom: none;
  box-shadow: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 12px 24px;
  max-width: var(--w-wide);
  margin: 0 auto;
  min-height: 56px;
  background: transparent;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background var(--dur-base) var(--ease-out);
}
.nav.scrolled {
  background: rgba(15,27,45,0.92);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.brand-mark {
  flex-shrink: 0;
  display: block;
}
.brand-name {
  font-family: var(--font-wordmark);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .16em;
  color: var(--gold-deep);
}
.brand-sub {
  font-family: var(--font-wordmark);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .42em;
  color: var(--gold-deep);
  position: relative;
  padding-left: 12px;
}
.brand-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1.1em;
  width: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.footer-brand .brand { gap: 10px; }
.footer-brand .brand-name { color: var(--gold); }
.footer-brand .brand-sub { color: var(--gold-soft); }
.footer-brand .brand-sub::before { background: var(--gold); }

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links > li { display: flex; align-items: center; }
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .02em;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border-bottom: none;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { background: var(--burgundy-soft); color: var(--burgundy); border-bottom: none; }
.nav-links a[aria-current="page"] {
  color: var(--burgundy);
  background: var(--burgundy-soft);
  font-weight: 600;
  border-bottom: none;
}

/* Language switcher — compact, elegant */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 8px;
  border: 1px solid rgba(166,124,69,0.22);
  border-radius: 99px;
  background: rgba(201,169,97,0.06);
}
.lang-switcher a {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-soft, #8A8EA6);
  padding: 2px 8px;
  border: 0 !important;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 99px;
  transition: color .2s, background .2s;
}
.lang-switcher a:hover { color: var(--gold); background: transparent; border-bottom: 0 !important; }
.lang-switcher a.is-active {
  color: var(--gold);
  background: rgba(201,169,97,0.12);
}
.lang-switcher .sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(166,124,69,0.30);
  margin: 0 2px;
}

.nav-cta, .btn-book {
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 10px 10px 10px 20px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: none !important;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover, .btn-book:hover {
  background: var(--burgundy-deep);
  border-color: transparent !important;
}
.nav-cta:active, .btn-book:active { transform: scale(.97); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile breakpoint at 1080px — 8 nav items + lang switcher + CTA need the room.
   Below this width, the nav becomes a slide-in side drawer (from the right) with backdrop. */
@media (max-width: 1080px) {
  .nav { padding: 14px 20px; min-height: 60px; }
  .menu-toggle { display: block; position: relative; z-index: 60; }

  /* Side drawer: hidden off-screen by default */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    height: 100vh;
    background: var(--cream, #1A1D32);
    padding: 88px 28px 32px;
    box-shadow: -16px 0 40px rgba(28,28,28,0.12);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.2,.9,.2,1);
    z-index: 55;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateX(0); }

  /* Drawer items */
  .nav-links > li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(166,124,69,0.14);
    display: block;
  }
  .nav-links > li:last-child {
    border-bottom: 0;
    padding-top: 18px;
  }
  .nav-links a {
    font-size: 1.02rem;
    padding: 4px 0;
    border-bottom: 0;
  }
  .nav-links a:hover { border-bottom: 0; }
  .nav-links a[aria-current="page"] {
    color: var(--burgundy);
    border-bottom: 0;
    position: relative;
    padding-left: 14px;
  }
  .nav-links a[aria-current="page"]::before {
    content: "";
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 18px;
    background: var(--gold);
    border-radius: 2px;
  }
  .nav-links .lang-switcher { width: max-content; margin: 4px 0; }
  .nav-links .nav-cta {
    display: block;
    text-align: center;
    padding: 13px 20px;
    width: 100%;
  }

  /* Backdrop overlay — appears when drawer open, click to dismiss */
  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(28,28,28,0.32);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .32s ease, visibility .32s ease;
    z-index: 54;
  }
  .site-header:has(.nav-links.open)::after {
    opacity: 1;
    visibility: visible;
  }

  /* Lock body scroll when drawer open */
  body:has(.nav-links.open) { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 120px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(201,169,97,0.08), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(201,169,97,0.05), transparent 50%),
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><circle cx='300' cy='300' r='240' fill='none' stroke='%23C4A44A' stroke-width='0.5' opacity='0.12'/><circle cx='300' cy='300' r='180' fill='none' stroke='%23C4A44A' stroke-width='0.5' opacity='0.08'/><circle cx='300' cy='300' r='120' fill='none' stroke='%23C4A44A' stroke-width='0.5' opacity='0.06'/></svg>");
  background-position: right -150px top -100px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: var(--w-wide); margin: 0 auto; padding: 0 24px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 24px;
  max-width: 18ch;
}
.hero .lead { max-width: 56ch; font-size: 1.25rem; }
.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta-item { display: flex; flex-direction: column; }
.hero-meta-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--burgundy); }
.hero-meta-lbl { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  margin-right: 14px;
  background: var(--burgundy);
  color: #FFF7E8;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid var(--burgundy);
  transition:
    background  var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color       var(--dur-base) var(--ease-out),
    transform   var(--dur-press) var(--ease-out),
    box-shadow  var(--dur-base) var(--ease-out);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    color: #FFF7E8;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(92, 42, 51, 0.24);
  }
}
.hero-cta:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(92, 42, 51, 0.18);
}
.hero-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Trailing arrow on the primary CTA (text "→" appears in markup). The
 * pseudo-element approach picks up any inline → glyph and animates it. */
.hero-cta { position: relative; }
.hero-cta::after {
  content: "";
  display: inline-block;
  width: 0;
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover { letter-spacing: .045em; }
}

.hero-cta--ghost {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
  border-radius: var(--radius-pill);
}
@media (hover: hover) and (pointer: fine) {
  .hero-cta--ghost:hover {
    background: rgba(92, 42, 51, 0.06);
    border-color: var(--burgundy);
    color: var(--burgundy);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(92, 42, 51, 0.10);
  }
}
.hero-cta--ghost:active {
  transform: scale(0.97);
  box-shadow: 0 2px 4px rgba(92, 42, 51, 0.10);
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta { transition: background 120ms ease, color 120ms ease, border-color 120ms ease; }
  .hero-cta:hover, .hero-cta:active,
  .hero-cta--ghost:hover, .hero-cta--ghost:active {
    transform: none; box-shadow: none; letter-spacing: .04em;
  }
}

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.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: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Double-bezel card — outer shell + inner core */
.card {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 6px;
  display: block;
  color: inherit;
  transition:
    transform   var(--dur-slow) var(--ease-out),
    box-shadow  var(--dur-slow) var(--ease-out);
}
.card > *:first-child,
.card-inner {
  background: var(--white, #1E2138);
  border-radius: calc(var(--radius-xl) - 6px);
  padding: 28px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: inherit;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: box-shadow 120ms ease; }
  .card:hover { transform: none; }
}
.card h3 { margin-top: 8px; margin-bottom: 8px; font-size: 1.35rem; }
.card p  { margin-bottom: 12px; color: var(--mute); font-size: .96rem; }
.card-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-warm);
  border-radius: 50%;
  color: var(--burgundy);
  margin-bottom: 12px;
}
.card-link {
  font-size: .88rem; font-weight: 600; color: var(--burgundy);
  letter-spacing: .04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link::after { content: "→"; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }

.sector-card {
  background: var(--burgundy);
  color: #EEE5D9;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.sector-card:hover { background: var(--burgundy-deep); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(201,169,97,.22); }
.sector-card-icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  color: var(--gold);
}
.sector-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .02em;
}

/* ---------- Stats / Pillars ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.6rem); color: var(--gold-deep); line-height: 1; }
.stat-lbl { font-size: .88rem; color: var(--mute); margin-top: 8px; letter-spacing: .04em; }

.pillar {
  text-align: left;
}
.pillar-num {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  margin-bottom: 14px;
  min-width: 36px;
}

/* ---------- FAQ (FAQPage schema friendly) ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold-deep, #a5843e);
  font-size: 1.3rem;
  line-height: 1;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(166,124,69,.06);
  border-radius: 50%;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), background 200ms cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: "+";
  transform: rotate(45deg);
  background: rgba(166,124,69,.12);
}
.faq details > div,
.faq details > p {
  padding-top: 14px;
  color: var(--ink-soft);
  animation: faq-reveal 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.faq details > div p:last-child,
.faq details > p:last-child { margin-bottom: 0; }
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Article / Insights ---------- */
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: .85rem;
  color: var(--mute);
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.article-meta time { color: var(--burgundy); font-weight: 600; }
.article-tag {
  display: inline-block;
  background: var(--cream-warm);
  color: var(--burgundy);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.insight-card { padding: 0; overflow: hidden; }
.insight-card-body { padding: 24px 26px 26px; }
.insight-card .article-tag { margin-bottom: 12px; }
.insight-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.insight-card p { font-size: .95rem; }

article.long-form { max-width: var(--w-prose); margin: 0 auto; }
article.long-form h2 { margin-top: 2.2em; }
article.long-form h3 { margin-top: 1.8em; }
article.long-form p, article.long-form li { font-size: 1.06rem; line-height: 1.78; }
article.long-form ul, article.long-form ol { padding-left: 1.4em; margin-bottom: 1.2em; }
article.long-form blockquote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin: 1.6em 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  font-style: italic;
}
article.long-form .summary-box {
  background: rgba(21, 34, 54, .7);
  border: 1px solid rgba(201, 169, 97, .2);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  margin: 40px 0;
}
article.long-form .summary-box h4 { margin-top: 0; color: var(--gold); text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; }
article.long-form .summary-box p:last-child { margin-bottom: 0; }

/* ---------- Forms ----------
 * Microinteraction layer per the Emil Kowalski / animations.dev
 * framework: strong ease-out curve, scale-on-press for tactility,
 * stronger box-shadow lift on hover (gated behind hover-fine media
 * so touch devices don't fire false-positive hovers), and an entry
 * stagger via @starting-style.
 *
 * Custom curve --ease-out-strong is `cubic-bezier(0.23,1,0.32,1)` —
 * the Emil-recommended replacement for the weak built-in ease-out.
 */
.form { display: grid; gap: 18px; max-width: 540px; --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1); }
.form label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  transition:
    border-color 200ms var(--ease-out-strong),
    box-shadow  200ms var(--ease-out-strong),
    background  200ms var(--ease-out-strong);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.22);
}
.form button {
  background: var(--burgundy);
  color: #FFF7E8;
  border: 0;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  font-family: var(--font-sans);
  transition:
    background  200ms var(--ease-out-strong),
    box-shadow  200ms var(--ease-out-strong),
    transform   160ms var(--ease-out-strong);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .form button:hover {
    background: var(--burgundy-deep);
    box-shadow: 0 8px 22px rgba(92, 42, 51, 0.22);
  }
}
.form button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(92, 42, 51, 0.18);
}
.form button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .form input, .form select, .form textarea, .form button {
    transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
  }
  .form button:active { transform: none; }
}

/* Reusable pressable primary CTA — used for the contact-page
 * "Book a 30-minute consultation" button and any other inline
 * primary action that should feel tactile. */
.btn-primary-pressable {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--burgundy, #C4A44A);
  color: #131627;
  text-decoration: none;
  font-family: var(--font-sans, "Outfit", sans-serif);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--burgundy, #C4A44A);
  cursor: pointer;
  transition:
    background  200ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow  220ms cubic-bezier(0.23, 1, 0.32, 1),
    transform   160ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.btn-primary-pressable svg {
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary-pressable:hover {
    background: var(--burgundy-deep, #4a2228);
    border-color: var(--burgundy-deep, #4a2228);
    box-shadow: 0 8px 22px rgba(92, 42, 51, 0.24);
    transform: translateY(-1px);
  }
  .btn-primary-pressable:hover svg { transform: translate(2px, -2px); }
}
.btn-primary-pressable:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(92, 42, 51, 0.18);
}
.btn-primary-pressable:focus-visible {
  outline: 2px solid var(--gold, #b08d3a);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary-pressable, .btn-primary-pressable svg { transition: background 120ms ease, border-color 120ms ease; }
  .btn-primary-pressable:hover, .btn-primary-pressable:active, .btn-primary-pressable:hover svg {
    transform: none; box-shadow: none;
  }
}

/* Newsletter inline form */
.newsletter {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  color: var(--ink-soft);
}
.newsletter h2 { color: var(--ink); margin-bottom: 14px; }
.newsletter p  { color: var(--mute); }
.newsletter form { display: flex; gap: 12px; max-width: 520px; margin-top: 24px; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 240px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201,169,97,.25);
  background: rgba(255,247,232,0.08);
  color: #FFF7E8;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.newsletter input:focus { outline: none; border-color: var(--gold); background: rgba(255,247,232,0.14); }
.newsletter input::placeholder { color: rgba(255,247,232,0.5); }
.newsletter button {
  background: var(--gold);
  color: var(--burgundy);
  border: 0;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.newsletter button:hover { background: var(--gold-soft); }
.newsletter button:active { transform: scale(.97); }

/* ---------- Practice page hero ---------- */
.practice-hero {
  padding: clamp(100px,12vw,160px) 0 clamp(60px,8vw,96px);
  background: var(--bg);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.practice-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50vw; max-width: 760px; aspect-ratio: 1;
  background: radial-gradient(circle at 70% 30%, rgba(201,169,97,.10) 0%, transparent 60%);
  pointer-events: none;
}
.practice-hero .eyebrow { color: var(--burgundy); }
.practice-hero h1 { max-width: 22ch; }
.practice-hero .lead { max-width: 64ch; }
.practice-hero + .section { padding-top: clamp(24px, 4vw, 48px); }
.practice-toc {
  background: var(--cream-warm);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  margin: 40px 0 56px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
}
.practice-toc h4 { margin-top: 0; }
.practice-toc ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.practice-toc li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 600px) { .practice-toc ul { columns: 1; } }

/* ---------- Pills / Tag chips ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-block;
  background: var(--cream-warm);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}
.pill--gold { background: var(--cream-warm); border-color: var(--gold-soft); color: var(--burgundy); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-card);
  color: #BFB6A6;
  padding: 96px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}
.footer-brand .brand-name { color: var(--gold); }
.footer-brand .brand-sub  { color: var(--gold-soft); }
.footer-brand p,
.footer-brand .footer-tagline {
  color: var(--text-secondary);
  max-width: 36ch;
  margin-top: 16px;
  font-size: .88rem;
  line-height: 1.55;
}
/* Polished contact block under the brand: address + phone + email +
 * 24/7 line. Replaces the previous one-line tagline only. Address
 * doubles as a Google Maps deep-link. */
.footer-brand .footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  font-size: .85rem;
  line-height: 1.55;
  color: #BFB6A6;
}
.footer-brand .footer-contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 140ms cubic-bezier(0.23, 1, 0.32, 1), border-color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .footer-brand .footer-contact a:hover { color: var(--gold); border-bottom-color: var(--gold-soft); }
}
.footer-brand .footer-contact-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-brand .footer-contact-label {
  color: #6B6552;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 110px;
}

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #BFB6A6; font-size: .92rem; display: inline-block; padding: 4px 0; min-height: 44px; line-height: 1.5; }
.footer-col a:hover { color: var(--gold); }
/* "All UAE legal tools →" CTA at the bottom of the Free tools column —
 * trims the column to 5 visible items + this overflow link, balancing
 * the column heights so the footer reads clean instead of having one
 * column 2× taller than the others. */
.footer-col a.footer-more {
  display: inline-block;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.10);
  color: var(--gold);
  font-weight: 600;
  font-size: .85rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding-top: 28px;
  font-size: .82rem;
  color: #6B6552;
  gap: 16px 24px;
}
.footer-bottom-left { text-align: left; }
.footer-bottom .lang-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .82rem;
}
.footer-bottom .lang-footer a {
  color: #BFB6A6;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 140ms cubic-bezier(0.23, 1, 0.32, 1), background 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.footer-bottom .lang-footer a.is-active { color: var(--gold); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .footer-bottom .lang-footer a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
}
.footer-bottom .lang-footer span { color: #6B6552; }

@media (max-width: 800px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .footer-bottom-left { text-align: center; }
  .footer-bottom .footer-social { justify-content: center; }
}

.footer-social { display: flex; gap: 14px; justify-content: flex-end; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: #BFB6A6;
  transition: background 140ms cubic-bezier(0.23, 1, 0.32, 1), border-color 140ms cubic-bezier(0.23, 1, 0.32, 1), color 140ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .footer-social a:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
}
.footer-social a:active { transform: scale(0.95); }

/* ── NEWSLETTER STRIP ── */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-newsletter-text { max-width: 520px; }
.footer-newsletter-text .section-eyebrow-e { margin-bottom: 6px; }
.footer-newsletter-text p {
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
}
.footer-newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.footer-newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-right: 0;
  padding: 10px 16px;
  font-size: .88rem;
  color: var(--text-primary);
  min-width: 220px;
  border-radius: var(--radius) 0 0 var(--radius);
}
.footer-newsletter-form input[type="email"]::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}
.footer-newsletter-form .btn-eclipse--sm {
  font-size: 11px;
  padding: 10px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .footer-newsletter { flex-direction: column; text-align: center; }
  .footer-newsletter-form { width: 100%; }
  .footer-newsletter-form input[type="email"] { min-width: 0; flex: 1; }
}

/* ── FOOTER LEGAL LINKS (horizontal strip) ── */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: center;
}
.footer-legal-links a {
  color: #6B6552;
  font-size: .78rem;
  text-decoration: none;
  transition: color 140ms;
}
.footer-legal-links a:hover { color: var(--gold); }

/* ── FOOTER BOTTOM RIGHT (lang + social) ── */
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}
.footer-social-link {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: #BFB6A6;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.footer-social-link:hover {
  background: var(--gold); color: var(--bg); border-color: var(--gold);
}
@media (max-width: 800px) {
  .footer-bottom-right { justify-content: center; }
}

/* ---------- Misc / Utilities ---------- */
.divider {
  height: 1px;
  background: var(--line);
  margin: 48px 0;
  border: 0;
}
.text-center { text-align: center; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.muted { color: var(--mute); }
.section-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-header.left { text-align: left; margin-left: 0; }

/* Print styles */
@media print {
  .site-header, .site-footer, .nav-cta, .newsletter { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}

/* =========================================================
   MODERN VISUAL LAYER — added for "latest tech" upgrades
   ========================================================= */

/* Aurora / gradient blobs */
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: aurora-float 18s ease-in-out infinite;
}
.aurora::before {
  top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(201,169,97,0.35), transparent 70%);
}
.aurora::after {
  bottom: -160px; left: -160px;
  background: radial-gradient(circle, rgba(60,70,140,0.5), transparent 70%);
  animation-delay: -9s;
}
@keyframes aurora-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px,-30px) scale(1.08); }
}

/* Glassmorphism cards */
.glass {
  background: rgba(21,34,54,0.65);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(201,169,97,0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.glass-dark {
  background: rgba(22,22,22,0.55);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(201,169,97,0.22);
  color: #EEE5D9;
  border-radius: var(--radius-lg);
}

/* Animated counter — handled by JS, baseline styling */
.counter {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--gold-deep);
  line-height: 1;
  display: inline-block;
}
.counter[data-status="counting"] { color: var(--burgundy); }

/* Scroll-reveal animation (Intersection Observer) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Tech showcase grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.tech-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), background-color var(--dur-base) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
}
.tech-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.tech-card:hover::before { transform: scaleY(1); }
.tech-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #FFFEFB;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(201,169,97,0.32);
}
.tech-card h4 { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); text-transform: none; letter-spacing: 0; margin-bottom: 8px; }

/* AI triage widget */
.triage {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  color: #EEE5D9;
  position: relative;
  overflow: hidden;
}
.triage::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.28), transparent 70%);
  pointer-events: none;
}
.triage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,169,97,0.18);
  border: 1px solid rgba(201,169,97,0.4);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.triage-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.4); }
}
.triage h2 { color: #FFF7E8; }
.triage p  { color: rgba(238,229,217,0.85); }
/* Quick-start chips */
.triage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.triage-chip {
  background: rgba(255,247,232,0.06);
  border: 1px solid rgba(201,169,97,0.32);
  color: #EEE5D9;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.triage-chip:hover {
  background: rgba(201,169,97,0.18);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* Chat thread */
.triage-thread {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,169,97,0.3) transparent;
}
.triage-thread::-webkit-scrollbar { width: 5px; }
.triage-thread::-webkit-scrollbar-track { background: transparent; }
.triage-thread::-webkit-scrollbar-thumb { background: rgba(201,169,97,0.3); border-radius: 99px; }
.triage-thread:empty { display: none; }

/* Message bubbles */
.triage-msg {
  max-width: 88%;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  font-size: .94rem;
  line-height: 1.6;
  animation: triageFadeUp .5s var(--ease-out) both;
}
.triage-msg--user {
  align-self: flex-end;
  background: rgba(201,169,97,0.22);
  border: 1px solid rgba(201,169,97,0.35);
  color: #FFF7E8;
}
.triage-msg--ai {
  align-self: flex-start;
  background: rgba(255,247,232,0.08);
  border: 1px solid rgba(255,247,232,0.12);
  color: #EEE5D9;
}
.triage-msg--ai .triage-practice {
  display: inline-block;
  background: rgba(201,169,97,0.2);
  border: 1px solid rgba(201,169,97,0.4);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.triage-msg--ai .triage-urgency {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-left: 8px;
}
.triage-urgency--high {
  background: rgba(255,160,0,0.2);
  border: 1px solid rgba(255,160,0,0.4);
  color: #ffa000;
}
.triage-urgency--critical {
  background: rgba(244,67,54,0.2);
  border: 1px solid rgba(244,67,54,0.4);
  color: #f44336;
}
.triage-msg--ai .triage-body { margin: 8px 0 14px; }
.triage-msg--ai .triage-body p { margin: 0 0 8px; }
.triage-msg--ai .triage-body p:last-child { margin-bottom: 0; }
.triage-msg--ai .triage-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--burgundy);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.triage-msg--ai .triage-cta-link:hover { transform: translateY(-1px); opacity: .92; }
.triage-msg--ai .triage-cta-link svg { transition: transform var(--dur-base) var(--ease-out); }
.triage-msg--ai .triage-cta-link:hover svg { transform: translateX(3px); }

/* Typing indicator */
.triage-msg--loading {
  align-self: flex-start;
  background: rgba(255,247,232,0.06);
  border: 1px solid rgba(255,247,232,0.1);
  padding: 16px 24px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.triage-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(201,169,97,0.6);
  animation: triageBounce 1.2s ease-in-out infinite;
}
.triage-dot:nth-child(2) { animation-delay: .15s; }
.triage-dot:nth-child(3) { animation-delay: .3s; }
@keyframes triageBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input bar */
.triage-input-bar {
  display: flex;
  gap: 10px;
  align-items: center;
}
.triage-input {
  flex: 1;
  background: rgba(255,247,232,0.08);
  border: 1px solid rgba(201,169,97,0.3);
  color: #FFF7E8;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: .96rem;
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.triage-input::placeholder { color: rgba(238,229,217,0.4); }
.triage-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.15);
}
.triage-send {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--burgundy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.triage-send:hover { transform: scale(1.06); }
.triage-send:active { transform: scale(0.95); }
.triage-send:disabled { opacity: .4; cursor: not-allowed; transform: none; }

.triage-disclaimer {
  margin: 14px 0 0;
  font-size: .74rem;
  color: rgba(238,229,217,0.4);
  text-align: center;
}

@keyframes triageFadeUp {
  from { opacity: 0; transform: translateY(12px); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Mobile */
@media (max-width: 768px) {
  .triage { padding: 32px 20px; }
  .triage-thread { max-height: 340px; }
  .triage-msg { max-width: 94%; }
  .triage-chips { gap: 8px; }
  .triage-chip { font-size: .78rem; padding: 7px 14px; }
}

/* Lead magnet card */
.lead-magnet {
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--white) 100%);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.lead-magnet-art {
  width: 140px;
  height: 180px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 12px 32px rgba(201,169,97,0.32), 0 24px 64px rgba(22,22,22,0.16);
  transform: rotate(-4deg);
  flex-shrink: 0;
}
.lead-magnet-art::before {
  content: "";
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border: 1px solid rgba(201,169,97,0.4);
  border-radius: 2px;
}
.lead-magnet-art::after {
  content: "UAE\AGuide\A2026";
  white-space: pre;
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: .04em;
  line-height: 1.2;
}
@media (max-width: 720px) {
  .lead-magnet { grid-template-columns: 1fr; text-align: center; }
  .lead-magnet-art { margin: 0 auto; transform: rotate(0); }
}

/* Pricing-card hover effect */
.price-card {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(22,22,22,0.10);
}

/* Floating "speak to partner" CTA — refined Nov 2026
   Theme-aware: uses --burgundy variable so it inherits whatever the
   primary colour is set to (burgundy, navy, emerald, ink, etc.).
   The legacy pulsing gold dot was removed — it looked random on
   non-burgundy themes. Replaced with a subtle gold edge accent that
   reads as intentional ornament regardless of primary colour. */
.float-cta {
  position: fixed;
  bottom: 92px; right: 24px;
  background: var(--burgundy);
  color: #FFF7E8;
  padding: 14px 26px 14px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.10);
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform var(--dur-slow) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
  border: 1px solid rgba(201,169,97,0.35);
}
.float-cta:hover {
  background: var(--burgundy-deep);
  color: #FFF7E8;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22), 0 4px 10px rgba(0,0,0,0.10);
  border-color: var(--gold);
}
.float-cta:active { transform: scale(.97); }
/* Trailing arrow — replaces the awkward pulsing dot */
.float-cta::after {
  content: "→";
  font-size: 1.05rem;
  line-height: 1;
  color: var(--gold);
  margin-left: 2px;
  transition: transform .25s ease;
}
.float-cta:hover::after { transform: translateX(3px); }
@media (max-width: 720px) { .float-cta { bottom: 82px; right: 14px; padding: 12px 20px; font-size: .88rem; } }

/* Logo bar — gradient text on stats */
.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 50%, var(--burgundy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   2026 trend layer — bento grids, kinetic type, sticky TOC,
   editorial pull-quotes, comparison tables, timelines.
   ========================================================= */

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
.bento > * {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.bento > *:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover), inset 0 1px 1px rgba(255,255,255,.5);
  border-color: rgba(201,169,97,.25);
}
.bento .span-2 { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
.bento .row-2  { grid-row: span 2; }
.bento .dark   { background: var(--burgundy); color: #EEE5D9; border-color: var(--burgundy-deep); }
.bento .dark h3, .bento .dark h4 { color: #FFF7E8; }
.bento .gold   { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--burgundy); border-color: var(--gold-deep); }
.bento .gold h3, .bento .gold h4 { color: var(--burgundy-deep); }
@media (max-width: 920px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 2; }
  .bento .row-2 { grid-row: span 1; }
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.35;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 28px;
  margin: 48px 0;
  position: relative;
}
.pull-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--mute);
  letter-spacing: .04em;
  margin-top: 16px;
}

/* Comparison table */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 32px 0;
  font-size: .94rem;
}
.compare th, .compare td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  background: var(--burgundy);
  color: #FFF7E8;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .82rem;
  text-transform: uppercase;
  border-bottom: none;
}
.compare thead th:first-child { border-radius: var(--radius) 0 0 0; }
.compare thead th:last-child  { border-radius: 0 var(--radius) 0 0; }
.compare tbody tr:hover { background: var(--cream-warm); }
.compare th[scope="row"] { font-weight: 600; color: var(--burgundy); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 32px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--burgundy) 100%);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--gold);
}
.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.timeline-item time {
  font-size: .82rem;
  color: var(--gold-deep);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* Mega-stat */
.mega-stat {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: var(--gold-deep);
  letter-spacing: -0.02em;
}
.mega-stat sub {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--burgundy);
  margin-left: 4px;
}

/* Reading progress bar */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 100;
  width: 0;
  transition: width .1s ease-out;
}

/* Numbered process */
.process {
  counter-reset: process;
  display: grid;
  gap: 24px;
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 32px;
  background: var(--cream-warm);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
  align-items: start;
  counter-increment: process;
}
.process-step::before {
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-deep);
  line-height: 1;
}
.process-step h4 {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 6px;
}

/* Marquee tag bar */
.marquee {
  overflow: hidden;
  background: var(--burgundy);
  padding: 14px 0;
  margin: 48px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .04em;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track span::before { content: "✦"; margin-right: 40px; color: var(--gold); }

/* Sub-sub-nav for jurisdiction sections */
.subnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 8px;
  background: var(--cream-warm);
  border-radius: 999px;
  width: fit-content;
}
.subnav a {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 500;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.subnav a:hover, .subnav a.is-active {
  background: var(--burgundy);
  color: #FFF7E8;
}

/* Stat tile */
.stat-tile {
  background: var(--cream-warm);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
}
.stat-tile-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-tile-lbl { font-size: .9rem; color: var(--mute); letter-spacing: .04em; }

/* =========================================================
   DESIGN 2.0 — Award-winning visual language layer
   Inspired by Three Crowns, Pallas Partners, A&O Shearman,
   Latham & Watkins, Slaughter & May, Awwwards legal vertical.
   ========================================================= */

/* Smoother scroll + view transitions */
@supports (view-transition-name: root) {
  ::view-transition-old(root), ::view-transition-new(root) {
    animation-duration: 0.4s;
  }
}
html { scroll-padding-top: 100px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Editorial display — oversized headline */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.display em {
  font-style: italic;
  color: var(--gold-deep);
}
.display .accent {
  color: var(--burgundy);
  font-style: italic;
}
.display-sub {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  letter-spacing: 0.02em;
  color: var(--mute);
  font-weight: 400;
  max-width: 60ch;
  line-height: 1.6;
}

/* Asymmetric editorial layout */
.editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  padding: 24px 0 40px;
  position: relative;
}
.editorial-meta {
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 920px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; padding: 80px 0 56px; }
}

/* Architectural SVG accent — geometric backdrop */
.arch-accent {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

/* Magazine section with rhythm */
.feature-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.feature-section-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  color: var(--gold-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.feature-section-eyebrow {
  font-size: .76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 14px;
  display: block;
}
.feature-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--ink);
}
.feature-section-body { font-size: 1.08rem; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 920px) {
  .feature-section { grid-template-columns: 1fr; gap: 24px; padding: 64px 0; }
}

/* Practice index — magazine-style cards with gold underline reveal */
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.index-grid > a {
  display: block;
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: background .25s ease, padding .25s ease;
  position: relative;
}
.index-grid > a:nth-child(3n) { border-right: none; }
.index-grid > a:hover {
  background: var(--cream-warm);
  padding-left: 40px;
}
.index-grid > a::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .35s cubic-bezier(.2, .9, .2, 1);
}
.index-grid > a:hover::after { width: 100%; }
.index-grid h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--ink);
}
.index-grid .index-meta {
  font-size: .76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
  display: block;
}
.index-grid p {
  font-size: .94rem;
  color: var(--mute);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 920px) {
  .index-grid { grid-template-columns: 1fr; }
  .index-grid > a:nth-child(3n) { border-right: none; }
}

/* Mega-nav */
.mega-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(22,22,22,0.06);
  padding: 56px 0;
  display: none;
  z-index: 60;
}
.mega-nav.is-open { display: block; }
.mega-nav-inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}
.mega-col h4, .mega-col .mega-col-title {
  font-size: .72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 700;
}
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin-bottom: 8px; }
.mega-col a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
.mega-col a:hover { color: var(--burgundy); border-bottom-color: var(--gold); }
@media (max-width: 920px) { .mega-nav { display: none !important; } }

/* Kinetic word band — scrolling editorial subhead */
.kinetic-band {
  overflow: hidden;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kinetic-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: kinetic-scroll 60s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--ink);
  font-style: italic;
}
.kinetic-track span { color: var(--gold-deep); margin-right: 48px; }
.kinetic-track::after { content: ""; flex-shrink: 0; }
@keyframes kinetic-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Section divider with gold rule */
.divider-rule {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 64px 0;
}
.divider-rule::before, .divider-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.divider-rule-mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-deep);
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

/* Magazine quote — full-width editorial */
.editorial-quote {
  padding: 96px 0;
  background: var(--bg-soft);
  color: var(--ink);
}
.editorial-quote-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #FFF7E8;
  max-width: 28ch;
  margin: 0 0 32px;
}
.editorial-quote em { font-style: italic; color: var(--gold); }
.editorial-quote-cite {
  font-family: var(--font-sans);
  font-size: .82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Refined focus states — accessibility-first */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Number-prefix list (editorial) */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: nl;
}
.numbered-list li {
  counter-increment: nl;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.numbered-list li::before {
  content: counter(nl, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-deep);
  line-height: 1;
}
.numbered-list h4,
.numbered-list p {
  grid-column: 2;
}
.numbered-list h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 6px;
  color: var(--ink);
}
.numbered-list p {
  font-size: .98rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .numbered-list li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }
  .numbered-list li::before { font-size: 1.3rem; }
}

/* Scroll progress — global */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 200;
  width: 0;
  transition: width .08s linear;
}

/* Section anchor pulse on jump */
section:target {
  animation: target-pulse 1.4s ease-out;
}
@keyframes target-pulse {
  0%   { box-shadow: inset 4px 0 0 var(--gold); }
  100% { box-shadow: inset 0 0 0 transparent; }
}

/* Badge */
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201,169,97,0.06);
}

/* =========================================================
   DESIGN 3.0 — Cutting-edge (2026)
   Inspired by Pallas Partners, Three Crowns, A&O Shearman,
   Slaughter & May, Macfarlanes. Same gold/cream/burgundy theme.
   Modern web: CSS scroll-driven animations, :has(), color-mix(),
   container queries, refined micro-interactions, anchor positioning.
   ========================================================= */

/* Refined type scale — magazine rhythm */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h-display em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
  position: relative;
  display: inline-block;
}
/* Decorative gold underline draws in once on entry. clip-path is
 * cheap (composited), the animation runs once, and respects
 * reduced-motion. The underline is a sibling pseudo so it doesn't
 * inherit italic skew. */
@media (prefers-reduced-motion: no-preference) {
  .h-display em::after {
    content: "";
    position: absolute;
    left: 2%; right: 2%;
    bottom: -0.06em;
    height: 0.08em;
    background: var(--gold);
    border-radius: 1px;
    clip-path: inset(0 100% 0 0);
    animation: hero-em-underline 900ms cubic-bezier(0.16, 1, 0.3, 1) 700ms forwards;
  }
  @keyframes hero-em-underline {
    to { clip-path: inset(0 0 0 0); }
  }
}
.h-eyebrow {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.h-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Hero — magazine-style with kinetic feel */
.hero-magazine {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-magazine::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50vw;
  max-width: 760px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 70% 30%, rgba(201,169,97,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-magazine > * { position: relative; z-index: 1; }

/* Section ruler — animated gold line */
.rule-section {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
  position: relative;
  margin: 0;
  overflow: hidden;
}
.rule-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  animation: rule-draw 1.2s cubic-bezier(.2,.9,.2,1) forwards;
}
@keyframes rule-draw {
  to { width: 100%; }
}

/* Magazine card — refined hover */
.card-mag {
  display: flex;
  flex-direction: column;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: border-color .35s cubic-bezier(.2,.9,.2,1), transform .35s cubic-bezier(.2,.9,.2,1);
}
.card-mag::after {
  content: "→";
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-size: 1.4rem;
  color: var(--gold-deep);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s, transform .35s cubic-bezier(.2,.9,.2,1);
}
.card-mag:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.card-mag:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.card-mag .card-eyebrow {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 12px;
}
.card-mag h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  color: var(--ink);
  text-transform: none;
}
.card-mag p {
  font-size: .94rem;
  line-height: 1.55;
  color: var(--mute);
  margin: 0 0 16px;
  flex-grow: 1;
}

/* Index grid — magazine columns with hairline dividers */
.mag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.mag-grid > * {
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin: 0;
}
.mag-grid .card-mag {
  border: none;
}
@media (max-width: 920px) {
  .mag-grid { grid-template-columns: 1fr; }
}

/* Cinematic dark band — between sections */
.band-dark {
  background: var(--bg-soft);
  color: var(--ink);
  padding: clamp(64px, 10vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(120%, 1400px);
  aspect-ratio: 2;
  background: radial-gradient(ellipse at center, rgba(201,169,97,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.band-dark > * { position: relative; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #FFF7E8; }

/* Editorial pull-quote — full-width magazine treatment */
.editorial-pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--ink);
  max-width: 24ch;
  margin: 0;
}
.editorial-pullquote em { color: var(--gold-deep); font-style: italic; }
.band-dark .editorial-pullquote { color: #FFF7E8; }
.band-dark .editorial-pullquote em { color: var(--gold); }

/* Cite block — refined */
.cite-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cite-block-mark {
  width: 4px;
  height: 32px;
  background: var(--gold);
  flex-shrink: 0;
}
.cite-block-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.cite-block-role {
  font-family: var(--font-sans);
  font-size: .82rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}

/* Tag chip — refined */
.tag-chip {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(201,169,97,0.10);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}

/* Metric block — large editorial stat. Subtle entry stagger via
 * @starting-style + a strong-curve hover where the gold number
 * deepens slightly (signals it's a real surface, not a flat slab). */
.metric {
  display: block;
  padding: 32px 0;
  border-top: 1px solid var(--line-strong);
  transition: border-top-color 200ms cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .metric {
    transition:
      border-top-color 200ms cubic-bezier(0.23, 1, 0.32, 1),
      opacity   500ms cubic-bezier(0.23, 1, 0.32, 1),
      transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  @starting-style {
    .metric { opacity: 0; transform: translateY(10px); }
  }
  /* 45ms stagger across siblings inside the same grid row —
   * tighter than 60ms; reads as four-beats settling, not a
   * ladder. */
  .grid > .metric:nth-child(1) { transition-delay: 0ms;   }
  .grid > .metric:nth-child(2) { transition-delay: 45ms;  }
  .grid > .metric:nth-child(3) { transition-delay: 90ms;  }
  .grid > .metric:nth-child(4) { transition-delay: 135ms; }
}
@media (hover: hover) and (pointer: fine) {
  .metric:hover { border-top-color: var(--gold); }
  .metric:hover .metric-number { color: #8c6d2e; }
}
.metric-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--gold-deep);
  transition: color 220ms cubic-bezier(0.23, 1, 0.32, 1);
}
.metric-label {
  font-family: var(--font-sans);
  font-size: .82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 12px;
  display: block;
}

/* Scroll-driven section reveals — modern CSS, no JS */
@supports (animation-timeline: view()) {
  .scroll-reveal {
    animation: scroll-fade-in linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
  }
  @keyframes scroll-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Refined link underline animation */
.link-fancy {
  position: relative;
  text-decoration: none;
  color: var(--burgundy);
  font-weight: 500;
  display: inline-block;
}
.link-fancy::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .4s cubic-bezier(.2,.9,.2,1);
}
.link-fancy:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

/* Container queries support for cards */
@container (max-width: 360px) {
  .card-mag h3 { font-size: 1.2rem; }
  .card-mag { padding: 24px; }
}

/* :has() — auto-style sections containing certain elements */
.section:has(.editorial-pullquote) {
  padding: clamp(80px, 12vw, 160px) 0;
}

/* Smooth reveal on focus */
@media (prefers-reduced-motion: no-preference) {
  .nav-links a {
    transition: color .25s, border-color .25s, transform .25s;
  }
  .nav-links a:hover {
    transform: translateY(-1px);
  }
}

/* Today's brief — eyebrow pulse dot + card hover refinement.
 * The dot signals freshness without writing the word. The arrow
 * glyph appears on the lead headline only on hover, separating
 * the "today" cards from generic listing cards while keeping the
 * static state quiet. Hover gated to hover-fine. */
.today-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.today-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 0 0 rgba(166, 124, 69, 0.55);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .today-dot {
    animation: today-pulse 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
  @keyframes today-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(166, 124, 69, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(166, 124, 69, 0);   }
    100% { box-shadow: 0 0 0 0 rgba(166, 124, 69, 0);     }
  }
}
@media (hover: hover) and (pointer: fine) {
  .today-brief a.card { position: relative; }
  .today-brief a.card h3 {
    transition: color 220ms cubic-bezier(0.23, 1, 0.32, 1) !important;
  }
  .today-brief a.card:hover h3 {
    color: var(--burgundy-deep) !important;
  }
  .today-brief a.card::after {
    content: "→";
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--gold-deep);
    opacity: 0;
    transform: translateX(-6px);
    transition:
      opacity   220ms cubic-bezier(0.23, 1, 0.32, 1),
      transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .today-brief a.card:hover::after {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .today-brief a.card::after { display: none; }
}

/* Cinematic hero accent — animated gold brushstroke */
.hero-accent-line {
  display: block;
  width: 0;
  height: 2px;
  background: var(--gold);
  margin-bottom: 32px;
  animation: brush-stroke 1.4s cubic-bezier(.2,.9,.2,1) forwards;
  animation-delay: 0.2s;
}
@keyframes brush-stroke {
  to { width: 80px; }
}

/* Numbered TOC for long-form */
.toc-mag {
  position: sticky;
  top: 100px;
  font-family: var(--font-sans);
  font-size: .92rem;
  border-left: 1px solid var(--line-strong);
}
.toc-mag a {
  display: block;
  padding: 10px 20px;
  color: var(--mute);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.toc-mag a:hover {
  color: var(--ink);
  border-left-color: var(--gold);
  background: rgba(201,169,97,0.06);
}





/* =====================================================================
   v2 navigation — sticky top bar with mega menu + off-canvas mobile drawer
   Builds on the existing .site-header / .nav / .brand tokens.
   ===================================================================== */

.site-header { padding: 0; }
.nav { gap: 32px; }

/* Primary nav (desktop) */
.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav .nav-links { gap: 28px; }
.primary-nav .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 6px 0;
  font-family: var(--sans); font-size: .92rem; font-weight: 500;
  color: var(--ink); letter-spacing: .02em; cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.primary-nav .nav-link:hover { color: var(--burgundy); border-bottom-color: var(--gold); }
.primary-nav .nav-link[aria-expanded="true"] { color: var(--burgundy); border-bottom-color: var(--gold-deep); }
.primary-nav .nav-link svg.chev { width: 11px; height: 11px; transition: transform .2s; }
.primary-nav .nav-link[aria-expanded="true"] svg.chev { transform: rotate(180deg); }
/* Prevent the dropdown chevron from causing 'Practice Areas' to wrap
 * onto two lines on tighter desktop widths. */
.primary-nav .nav-link.mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Right side: lang + CTA */
.nav-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.btn-book {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--burgundy); color: #fff !important;
  font-family: var(--sans); font-size: .88rem; font-weight: 600;
  letter-spacing: .04em; text-decoration: none;
  border: 1px solid var(--burgundy); border-radius: 999px;
  /* Strong ease-out — matches the .form button microinteraction layer */
  transition:
    background  180ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform   160ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow  200ms cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .btn-book:hover {
    background: var(--burgundy-deep); border-color: var(--burgundy-deep);
    transform: translateY(-1px); box-shadow: 0 8px 22px rgba(201,169,97,.24);
    color: #fff !important;
  }
}
.btn-book:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(92, 42, 51, 0.18);
}
.btn-book:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-book::after { content: "→"; font-size: .9em; line-height: 1; transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) {
  .btn-book:hover::after { transform: translateX(2px); }
}
[dir="rtl"] .btn-book::after { content: "←"; }
[dir="rtl"] .btn-book:hover::after { transform: translateX(-2px); }
@media (prefers-reduced-motion: reduce) {
  .btn-book, .btn-book::after { transition: background 120ms ease, border-color 120ms ease; }
  .btn-book:hover, .btn-book:active, .btn-book:hover::after { transform: none; box-shadow: none; }
}

/* Mega menu — dark glass */
.has-mega { position: relative; }
.mega-menu {
  position: fixed; left: 0; right: 0; top: 64px;
  background: rgba(15,27,45,0.97);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  padding: 36px 0 28px;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .18s ease-out, transform .18s ease-out;
  z-index: 49;
}
.mega-menu[aria-hidden="false"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
  max-width: var(--w-wide); margin: 0 auto; padding: 0 28px;
}
.mega-col h4, .mega-col .mega-col-title {
  font-family: var(--sans-display, var(--sans));
  font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(166,124,69,.22);
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin-bottom: 7px; }
.mega-col a {
  display: block; padding: 4px 0;
  font-family: var(--serif, "Cormorant Garamond", serif);
  font-size: 1.02rem; line-height: 1.3;
  color: var(--ink); text-decoration: none;
  transition: color .15s, padding-left .15s;
}
.mega-col a:hover { color: var(--burgundy); padding-left: 4px; }
[dir="rtl"] .mega-col a:hover { padding-left: 0; padding-right: 4px; }
.mega-foot {
  display: block; max-width: var(--w-wide); margin: 24px auto 0;
  padding: 14px 28px 0; border-top: 1px solid rgba(166,124,69,.16);
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; color: var(--burgundy); text-decoration: none;
}
.mega-foot:hover { color: var(--gold-deep); }

/* Backdrop when mega open */
.mega-backdrop {
  position: fixed; inset: 64px 0 0 0;
  background: rgba(60,30,20,.18);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  z-index: 48;
}
.mega-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* Off-canvas mobile drawer
   (.menu-toggle base display: none is set at line 248; mobile @media below promotes it.) */
.mobile-drawer {
  position: fixed; top: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--cream);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  padding: 22px 24px 28px;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(40,20,30,.18);
}
[dir="rtl"] .mobile-drawer { transform: translateX(-100%); }
.mobile-drawer { right: 0; }
[dir="rtl"] .mobile-drawer { right: auto; left: 0; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(40,20,30,.42);
  z-index: 99; opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer-close {
  align-self: flex-end; background: none; border: 0;
  font-size: 1.8rem; line-height: 1; color: var(--ink);
  cursor: pointer; padding: 4px 8px; margin-bottom: 18px;
}
.drawer-links { list-style: none; margin: 0; padding: 0; border: 0; flex: 1; }
.drawer-links > li { border-bottom: 1px solid rgba(166,124,69,.18); }
.drawer-links > li > a, .drawer-links > li > details > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-family: var(--sans); font-size: 1rem;
  font-weight: 500; color: var(--ink); text-decoration: none;
  cursor: pointer; list-style: none;
}
.drawer-links > li > details > summary::-webkit-details-marker { display: none; }
.drawer-links > li > details > summary::after {
  content: "+"; font-size: 1.2rem; color: var(--gold-deep);
  transition: transform .2s;
}
.drawer-links > li > details[open] > summary::after { content: "−"; }
.drawer-links .sub { list-style: none; margin: 0; padding: 4px 0 14px 12px; }
.drawer-links .sub a {
  display: block; padding: 7px 0;
  font-family: var(--serif, "Cormorant Garamond", serif);
  font-size: 1rem; color: var(--ink-soft, #555);
  text-decoration: none;
}
.drawer-links .sub a:hover { color: var(--burgundy); }
.drawer-actions { padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.drawer-actions .btn-book { justify-content: center; padding: 13px 22px; }
.drawer-actions .lang-switcher { justify-content: center; padding: 4px 0; }

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .primary-nav .nav-links { gap: 20px; }
  .primary-nav .nav-link { font-size: .88rem; }
}
@media (max-width: 980px) {
  .nav { gap: 8px; padding: 14px 16px; }
  .primary-nav { display: none; }
  .brand { gap: 6px; }
  .brand-name { font-size: 1.1rem; letter-spacing: .12em; }
  .brand-sub { font-size: .62rem; letter-spacing: .3em; padding-left: 8px; }
  .brand-mark { width: 22px; height: 22px; }
  /* Keep the language switcher visible directly in the mobile header,
     compacted, so users can switch EN / AR / RU without opening the drawer.
     The "Book a Consultation" CTA still hides on mobile (it's inside the drawer). */
  .nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
  .nav-actions .lang-switcher {
    display: inline-flex !important;
    font-size: .68rem;
    padding: 3px 4px;
  }
  .nav-actions .lang-switcher a { padding: 4px 7px; }
  .nav-actions .btn-book { display: none; }
  .menu-toggle {
    display: inline-flex !important; flex-direction: column; justify-content: space-between;
    width: 30px; height: 22px; padding: 0; background: none; border: 0;
    cursor: pointer; margin-left: auto; z-index: 60;
  }
  [dir="rtl"] .menu-toggle { margin-left: 0; margin-right: auto; }
  .menu-toggle span {
    display: block; height: 2.5px; width: 100%;
    background: var(--burgundy, var(--gold));
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* =========================================================
   Reduced motion (Emil pass) — system level guard.
   Affected users keep opacity/color cues but lose movement.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}

/* ========== PREMIUM UPGRADES (2026-05-18) ========== */

/* Noise grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* Body top padding for fixed nav */
body { padding-top: 96px; }

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out),
              filter var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* Eyebrow pill badge */
.eyebrow, .h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--cream-warm);
  border: 1px solid var(--line);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}

/* Hero upgrade */
.hero { padding-top: 80px; }
.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--burgundy); }

/* Hero CTA pill upgrade */
.hero-cta {
  border-radius: var(--radius-pill) !important;
  padding: 16px 28px !important;
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.hero-cta:active { transform: scale(.97); }
.hero-cta--ghost {
  background: transparent !important;
  color: var(--ink-soft) !important;
  border: 1px solid var(--line-strong) !important;
}
.hero-cta--ghost:hover {
  background: var(--burgundy-soft) !important;
  color: var(--burgundy) !important;
  border-color: rgba(201,169,97,.15) !important;
}

/* Section spacing upgrade */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

/* Metric numbers upgrade */
.metric-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.01em;
}

/* Footer upgrade */
.site-footer {
  padding: 96px 24px 48px;
}
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Float CTA pill */
.float-cta {
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  box-shadow: var(--shadow-float);
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.float-cta:active { transform: scale(.97); }

/* Mobile drawer glass overlay upgrade */
.mobile-drawer {
  background: rgba(15,27,45,.95);
  backdrop-filter: blur(32px) saturate(140%);
  -webkit-backdrop-filter: blur(32px) saturate(140%);
}

/* Mega-menu upgrade */
.mega-menu {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-hover);
}

/* =========================================================
   ECLIPSE HOMEPAGE — component styles
   ========================================================= */

/* ── AMBIENT GLOW ── */
.bg-glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-glow::before {
  content: ""; position: absolute;
  width: 900px; height: 900px; top: -300px; right: -200px;
  background: radial-gradient(circle, rgba(201,169,97,0.06) 0%, transparent 65%);
  animation: float-glow 22s ease-in-out infinite;
  will-change: transform;
}
.bg-glow::after {
  content: ""; position: absolute;
  width: 600px; height: 600px; bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(201,169,97,0.03) 0%, transparent 65%);
  animation: float-glow 28s ease-in-out infinite reverse;
  will-change: transform;
}
@keyframes float-glow {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(50px,-40px) scale(1.08); }
  66% { transform: translate(-30px,30px) scale(0.95); }
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── ECLIPSE BUTTONS ── */
.btn-eclipse {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px; font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.4s var(--ease-out); position: relative; overflow: hidden;
}
.btn-eclipse:active { transform: translateY(0) scale(0.97); }
.btn-eclipse--primary { background: var(--gold); color: var(--bg); }
.btn-eclipse--primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,169,97,0.2); }
.btn-eclipse--ghost { background: transparent; color: var(--ink); border: 1px solid rgba(201,169,97,0.18); }
.btn-eclipse--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-arrow-e { transition: transform 0.3s var(--ease-out); }
.btn-eclipse:hover .btn-arrow-e { transform: translateX(4px); }

/* ── SECTION CHROME ── */
.section-divider-e { height: 1px; background: linear-gradient(90deg, transparent, rgba(201,169,97,0.1), transparent); }
.section-eyebrow-e {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow-e::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
.section-title-e {
  font-family: var(--font-display); font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 300; line-height: 1.12; color: var(--ink);
}
.section-title-e em { font-style: italic; color: var(--gold); }
.section-header-e {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; gap: 24px;
}
.section-desc-right-e { max-width: 340px; font-size: 14px; color: var(--mute); line-height: 1.75; text-align: right; }

/* ── HERO ── */
.eclipse-hero {
  min-height: 100svh; display: flex; align-items: center;
  position: relative; padding-top: 76px;
}
.eclipse-hero-content {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(48px, 7vw, 120px); align-items: center; width: 100%;
}
.eclipse-hero-left { max-width: 660px; }

.eclipse-hero-tagline {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 18px; border: 1px solid rgba(201,169,97,0.18); border-radius: 100px;
  margin-bottom: 36px;
}
.eclipse-hero-tagline-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.eclipse-hero-tagline span {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}

.eclipse-hero h1 {
  font-family: var(--font-display); font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 300; line-height: 1.06; color: var(--ink); margin-bottom: 28px;
}
.eclipse-hero h1 em { font-style: italic; color: var(--gold); }

.eclipse-hero-arabic {
  font-family: var(--font-arabic); font-size: 22px; color: var(--gold-deep);
  margin-top: -16px; margin-bottom: 20px; opacity: 0.6; letter-spacing: 0.05em;
}
.eclipse-hero-arabic span {
  font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--mute);
}
.eclipse-hero-desc {
  font-size: clamp(15px, 1.1vw, 17px); color: var(--mute);
  line-height: 1.75; max-width: 500px; margin-bottom: 44px;
}
.eclipse-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero stats */
.eclipse-hero-right { display: flex; justify-content: center; align-items: center; position: relative; }
.eclipse-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  width: 100%; max-width: 400px; background: rgba(201,169,97,0.08);
}
.eclipse-stat-card {
  background: var(--bg-card); padding: clamp(24px, 2.8vw, 40px); text-align: center;
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit; /* folded in from per-anchor inline styles */
  /* machined inset edge — a hairline of warm light catches the top of each panel */
  box-shadow: inset 0 1px 0 rgba(232,220,196,0.05);
  transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.eclipse-stat-card:hover {
  background: var(--bg-soft);
  /* on hover the panel reads as recessed/lit — gold top edge + soft navy inner depth */
  box-shadow: inset 0 1px 0 rgba(201,169,97,0.30), inset 0 0 0 1px rgba(201,169,97,0.07);
}
.eclipse-stat-number {
  font-family: var(--font-caps); font-size: clamp(28px, 3vw, 42px);
  font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 10px; letter-spacing: -0.02em;
}
.eclipse-stat-label {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute); font-weight: 500;
}

.scroll-indicator-e {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator-e span {
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); font-weight: 500;
}
.scroll-line-e {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold-deep), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite; transform-origin: top;
}
@keyframes scroll-pulse { 0%,100% { opacity: 0.2; transform: scaleY(0.5); } 50% { opacity: 0.8; transform: scaleY(1); } }

/* SVG icon system */
.icon-md-e {
  width: 28px; height: 28px; stroke: var(--gold-deep); stroke-width: 1.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s;
}
.eclipse-practice-card:hover .icon-md-e { stroke: var(--gold); }

/* ── PRACTICE GRID ── */
.eclipse-practices { padding: clamp(80px, 10vw, 160px) 0; }
.eclipse-practice-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(201,169,97,0.08);
}
.eclipse-practice-card {
  background: var(--bg-card); padding: clamp(28px, 2.8vw, 40px) clamp(20px, 2vw, 28px);
  position: relative; overflow: hidden; transition: all 0.5s var(--ease-out);
  cursor: pointer; text-decoration: none; display: flex; flex-direction: column; color: inherit;
}
.eclipse-practice-card::before {
  content: ""; position: absolute; inset: -1px; z-index: 1;
  background: linear-gradient(135deg, rgba(201,169,97,0.2), transparent 40%, transparent 60%, rgba(201,169,97,0.1));
  opacity: 0; transition: opacity 0.5s var(--ease-out); pointer-events: none;
}
.eclipse-practice-card:hover::before { opacity: 1; }
.eclipse-practice-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.eclipse-practice-card:hover::after { transform: scaleX(1); }
.eclipse-practice-card:hover { background: var(--bg-soft); }
.eclipse-practice-icon { margin-bottom: 20px; }
.eclipse-practice-name {
  font-family: var(--font-display); font-size: clamp(18px, 1.4vw, 23px);
  font-weight: 400; color: var(--ink); margin-bottom: 10px; transition: color 0.4s;
}
.eclipse-practice-card:hover .eclipse-practice-name { color: var(--gold-light); }
.eclipse-practice-detail { font-size: 13px; color: var(--mute); line-height: 1.65; margin-bottom: 16px; flex: 1; }
.eclipse-practice-count { font-family: var(--font-caps); font-size: 11px; color: rgba(201,169,97,0.3); letter-spacing: 0.04em; }

/* ── AI CARD ── */
.eclipse-ai { padding: clamp(80px, 10vw, 140px) 0; }
.eclipse-ai-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,169,97,0.1);
  border-top: 1px solid rgba(201,169,97,0.25);
  padding: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px); align-items: center; position: relative;
}
.eclipse-ai-title {
  font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 300; line-height: 1.18; color: var(--ink); margin-bottom: 20px;
}
.eclipse-ai-title em { font-style: italic; color: var(--gold); }
.eclipse-ai-desc { font-size: 15px; color: var(--mute); line-height: 1.75; margin-bottom: 32px; max-width: 440px; }

.eclipse-ai-demo { background: var(--bg); border: 1px solid rgba(201,169,97,0.1); overflow: hidden; }
.eclipse-ai-demo-header {
  display: flex; align-items: center; gap: 6px; padding: 12px 18px;
  border-bottom: 1px solid rgba(201,169,97,0.08);
}
.eclipse-ai-demo-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(201,169,97,0.15); }
.eclipse-ai-demo-dot.active { background: var(--gold); }
.eclipse-ai-demo-title {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mute); margin-left: 8px;
}
.eclipse-ai-demo-body { padding: 22px 18px; }
.eclipse-ai-demo-input {
  width: 100%; background: rgba(201,169,97,0.03); border: 1px solid rgba(201,169,97,0.08);
  padding: 14px 16px; color: var(--gold); font-family: var(--font-sans); font-size: 14px;
  outline: none; transition: border-color 0.3s; margin-bottom: 14px;
}
.eclipse-ai-demo-input:focus { border-color: rgba(201,169,97,0.25); }
.ai-cursor-e {
  display: inline-block; width: 1px; height: 16px; background: var(--gold);
  margin-left: 2px; vertical-align: text-bottom; animation: blink-cursor 0.8s step-end infinite;
}
@keyframes blink-cursor { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.eclipse-ai-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.eclipse-ai-tag {
  padding: 5px 12px; font-size: 10.5px; letter-spacing: 0.06em;
  border: 1px solid rgba(201,169,97,0.1); color: var(--mute); cursor: pointer; transition: all 0.3s;
}
.eclipse-ai-tag:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,169,97,0.04); }

/* ── INSIGHTS ── */
.eclipse-insights { padding: clamp(80px, 10vw, 160px) 0; }
.eclipse-insights-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1px;
  background: rgba(201,169,97,0.08);
}
.eclipse-insight-card {
  background: var(--bg-card); padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: all 0.5s var(--ease-out); position: relative; overflow: hidden;
}
.eclipse-insight-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.eclipse-insight-card:hover::after { transform: scaleX(1); }
.eclipse-insight-card:hover { background: var(--bg-soft); }
.eclipse-insight-card.featured { grid-row: span 2; }
.eclipse-insight-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.eclipse-insight-category {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.eclipse-insight-time { font-family: var(--font-caps); font-size: 11px; color: var(--mute); }
.eclipse-insight-title {
  font-family: var(--font-display); font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 400; color: var(--ink); line-height: 1.28; margin-bottom: 16px; transition: color 0.3s;
}
.eclipse-insight-card:hover .eclipse-insight-title { color: var(--gold-light); }
.eclipse-insight-excerpt { font-size: 13px; color: var(--mute); line-height: 1.65; flex: 1; }
.eclipse-insight-read {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; margin-top: 24px;
  transition: gap 0.3s var(--ease-out), color 0.3s;
}
.eclipse-insight-card:hover .eclipse-insight-read { gap: 14px; color: var(--gold); }

/* ── TOOLS MARQUEE ── */
.eclipse-tools { padding: clamp(80px, 10vw, 140px) 0; }
.eclipse-tools-marquee {
  display: flex; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.eclipse-tools-track { display: flex; gap: 12px; animation: marquee-scroll 35s linear infinite; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.eclipse-tool-chip {
  flex-shrink: 0; display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; background: var(--bg-card); border: 1px solid rgba(201,169,97,0.08);
  white-space: nowrap; font-size: 12.5px; color: var(--ink); font-weight: 500;
  transition: all 0.4s; cursor: pointer; text-decoration: none;
}
.eclipse-tool-chip:hover { border-color: rgba(201,169,97,0.3); background: rgba(201,169,97,0.04); }
.eclipse-tool-badge {
  padding: 2px 7px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(201,169,97,0.1); color: var(--gold); font-weight: 600;
}

/* ── CTA ── */
.eclipse-cta { padding: clamp(80px, 10vw, 160px) 0; }
.eclipse-cta-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.eclipse-cta-title {
  font-family: var(--font-display); font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 300; line-height: 1.08; color: var(--ink); margin-bottom: 24px;
}
.eclipse-cta-title em { font-style: italic; color: var(--gold); }
.eclipse-cta-desc { font-size: 15px; color: var(--mute); line-height: 1.75; margin-bottom: 36px; max-width: 480px; }
.eclipse-cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.eclipse-cta-contact {
  display: flex; flex-direction: column; gap: 32px;
  padding-left: clamp(20px, 3vw, 60px); border-left: 1px solid rgba(201,169,97,0.12);
}
.eclipse-cta-label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 6px; font-weight: 500;
}
.eclipse-cta-value { font-size: 15px; color: var(--ink); text-decoration: none; transition: color 0.3s; }
.eclipse-cta-value:hover { color: var(--gold); }

/* ── STAGGERED REVEAL ── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ── HERO CASCADE ── */
.eclipse-hero-tagline, .eclipse-hero h1, .eclipse-hero-arabic,
.eclipse-hero-desc, .eclipse-hero-actions, .eclipse-hero-right {
  opacity: 0; transform: translateY(20px); animation: cascadeIn 0.8s var(--ease-out) both;
}
.eclipse-hero-tagline { animation-delay: 0.15s; }
.eclipse-hero h1 { animation-delay: 0.3s; }
.eclipse-hero-arabic { animation-delay: 0.4s; }
.eclipse-hero-desc { animation-delay: 0.5s; }
.eclipse-hero-actions { animation-delay: 0.65s; }
.eclipse-hero-right { animation-delay: 0.55s; }
@keyframes cascadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── ECLIPSE RESPONSIVE ── */
@media (max-width: 1100px) {
  .eclipse-practice-grid { grid-template-columns: repeat(2, 1fr); }
  .eclipse-hero-content { grid-template-columns: 1fr; }
  .eclipse-hero-right { margin-top: 40px; }
  .eclipse-cta-inner { grid-template-columns: 1fr; }
  .eclipse-cta-contact {
    border-left: none; padding-left: 0; flex-direction: row; flex-wrap: wrap; gap: 24px;
    border-top: 1px solid rgba(201,169,97,0.12); padding-top: 32px;
  }
}
@media (max-width: 900px) {
  .eclipse-ai-card { grid-template-columns: 1fr; }
  .eclipse-insights-grid { grid-template-columns: 1fr; }
  .eclipse-insight-card.featured { grid-row: auto; }
}
@media (max-width: 600px) {
  .eclipse-practice-grid { grid-template-columns: 1fr; }
  .eclipse-cta-contact { flex-direction: column; }

  /* ── MOBILE HERO ── */
  .eclipse-hero { min-height: auto; padding: 0; }
  .eclipse-hero-content { gap: 0; }
  .eclipse-hero-left {
    max-width: 100%;
    padding: 80px 0 100px;
    box-sizing: border-box;
  }
  .eclipse-hero h1 { font-size: clamp(32px, 8vw, 44px); margin-bottom: 18px; }
  .eclipse-hero-tagline { margin-bottom: 24px; padding: 6px 14px; }
  .eclipse-hero-tagline span { font-size: 9.5px; letter-spacing: .14em; }
  .eclipse-hero-arabic { font-size: 18px; margin-top: -10px; margin-bottom: 14px; }
  .eclipse-hero-arabic span { font-size: 13px; }
  .eclipse-hero-desc { font-size: 14px; margin-bottom: 28px; max-width: 100%; }
  .eclipse-hero-actions { flex-direction: column; gap: 10px; }
  .eclipse-hero-actions .btn-eclipse { width: 100%; justify-content: center; text-align: center; }
  .eclipse-hero-right { margin-top: 0; padding: 40px 0; }
  .eclipse-stats-grid { max-width: 100%; }
  .eclipse-stat-card { padding: 20px 14px; }
  .eclipse-stat-number { font-size: clamp(22px, 6vw, 32px); }
  .eclipse-stat-label { font-size: 8.5px; letter-spacing: .12em; }
  .scroll-indicator-e { display: none; }

  /* ── MOBILE SECTION HEADERS ── */
  .section-header-e { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .section-desc-right-e { text-align: left; max-width: 100%; }
  .section-title-e { font-size: clamp(26px, 7vw, 36px); }

  /* ── MOBILE SECTIONS SPACING ── */
  .eclipse-practices { padding: 56px 0; }
  .eclipse-ai { padding: 56px 0; }
  .eclipse-insights { padding: 56px 0; }
  .eclipse-tools { padding: 56px 0; }
  .eclipse-cta { padding: 56px 0; }
  .eclipse-intake { padding: 32px 0; }

  /* ── MOBILE AI CARD ── */
  .eclipse-ai-card { padding: 28px 20px; }
  .eclipse-ai-title { font-size: clamp(24px, 6vw, 32px); }
  .eclipse-ai-desc { font-size: 14px; max-width: 100%; }
  .eclipse-ai-tags { gap: 5px; }
  .eclipse-ai-tag { font-size: 9.5px; padding: 4px 10px; }

  /* ── MOBILE INSIGHTS ── */
  .eclipse-insight-card { padding: 24px 20px; }
  .eclipse-insight-title { font-size: clamp(18px, 5vw, 22px); }

  /* ── MOBILE TOOL CHIPS ── */
  .eclipse-tool-chip { padding: 10px 14px; font-size: 11.5px; }

  /* ── MOBILE CTA ── */
  .eclipse-cta-title { font-size: clamp(28px, 7vw, 40px); }
  .eclipse-cta-desc { font-size: 14px; max-width: 100%; }
  .eclipse-cta-buttons { flex-direction: column; }
  .eclipse-cta-buttons .btn-eclipse { width: 100%; justify-content: center; text-align: center; }

  /* ── MOBILE INTAKE GRID ── */
  .eclipse-intake-card { text-align: left; }
  .btn-eclipse--ghost { align-self: stretch; justify-content: center; }

  /* ── MOBILE PRACTICE CARDS ── */
  .eclipse-practice-card { padding: 24px 20px; }
  .eclipse-practice-num { margin-bottom: 20px; }

  /* ── MOBILE FOOTER ── */
  .footer-tagline { font-size: 15px; }
}

/* ── INNER-PAGE MOBILE ── */
@media (max-width: 600px) {
  .hero { padding: 100px 0 56px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); max-width: 100%; }
  .hero .lead { font-size: 1.05rem; }
  .hero-meta { gap: 20px; }
  .hero-meta-num { font-size: 1.7rem; }
  .hero-cta { width: 100%; justify-content: center; text-align: center; margin-right: 0; }
  .lead-magnet { padding: 28px 20px; }
  .triage { padding: 24px 16px; }
  .triage-chip { font-size: .72rem; padding: 6px 12px; }
  .card > *:first-child, .card-inner { padding: 20px; }
  .stats { gap: 20px; padding: 36px 0; }
  .stat-num { font-size: clamp(2rem, 6vw, 2.6rem); }
}

/* ── HERO DECORATION (Task 2.2) ── */
.hero-decoration {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 720px;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
}
.eclipse-hero { position: relative; overflow: hidden; }
.eclipse-hero > .container { position: relative; z-index: 1; }
[dir="rtl"] .hero-decoration { right: auto; left: -8%; transform: translateY(-50%) scaleX(-1); }
@media (max-width: 980px) { .hero-decoration { display: none; } }

/* ── PRACTICE NUMERALS (Task 3.1) ── */
.eclipse-practice-num {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--ink-faint, #5C6080);
  margin-bottom: 32px;
}
.eclipse-practice-card:hover .eclipse-practice-num { color: var(--gold); }
.eclipse-practice-icon { display: none; }

/* ── PRACTICE HOVER (Task 3.2) ── */
.eclipse-practice-card {
  transition: border-color 240ms cubic-bezier(0.4,0,0.2,1), transform 240ms cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.eclipse-practice-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.eclipse-practice-card:hover .eclipse-practice-name { color: var(--gold-light, #D4B85E); }

/* ── INTAKE / TRIAGE / TOOLS GRID ── */
.eclipse-intake { padding: 48px 0; }
.eclipse-intake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.eclipse-intake-grid > :first-child {
  grid-row: 1 / 3;
}
.eclipse-intake-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-card, #1A1D32);
  border: 1px solid var(--line);
  padding: 40px 44px;
  border-radius: var(--radius, 2px);
}
.eclipse-intake-grid > :first-child {
  padding: 48px 56px;
}
.eclipse-intake-card--triage,
.eclipse-intake-card--tool {
  padding: 28px 36px;
}
.eclipse-intake-card--triage .eclipse-intake-title,
.eclipse-intake-card--tool .eclipse-intake-title {
  font-size: clamp(20px, 2.5vw, 28px);
}
.eclipse-intake-card--triage .eclipse-intake-desc,
.eclipse-intake-card--tool .eclipse-intake-desc {
  font-size: 14px;
}
.eclipse-intake-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: var(--ink, #F0ECE2);
  line-height: 1.15;
  margin: 8px 0 12px;
}
.eclipse-intake-desc {
  color: var(--ink-soft, #8A8EA6);
  font-size: 15px;
  line-height: 1.6;
  max-width: 48ch;
}
.btn-eclipse--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: var(--font-caps);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  align-self: flex-start;
}
.btn-eclipse--ghost:hover {
  background: var(--gold);
  color: var(--bg);
}
@media (max-width: 720px) {
  .eclipse-intake-grid { grid-template-columns: 1fr; }
  .eclipse-intake-grid > :first-child { grid-row: auto; }
  .eclipse-intake-card { padding: 32px 24px; text-align: center; }
  .eclipse-intake-card--triage, .eclipse-intake-card--tool { padding: 28px 24px; }
  .btn-eclipse--ghost { align-self: center; }
}

/* ── INSIGHT CARD GRID FIX (Task 5.1) ── */
.eclipse-insight-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ── FOOTER META (Task 6.2) ── */
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold); margin: 12px 0 6px; max-width: 36ch; line-height: 1.4; }
.footer-meta { font-size: 11px; letter-spacing: 0.05em; color: var(--ink-faint, #5C6080); opacity: 0.7; }

/* ── FOOTER BOTTOM GRID (Task 6.4) ── */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.footer-bottom-left { font-size: 12px; color: var(--ink-faint, #5C6080); }
.lang-footer { justify-self: center; }
.footer-social { justify-self: end; }
@media (max-width: 720px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-self: center; }
}

/* ── PRINT STYLESHEET (Task 8.2) ── */
@media print {
  body { background: #fff !important; color: #000 !important; }
  .site-header, .site-footer, .float-cta, .scroll-indicator-e,
  .mobile-drawer, .menu-toggle, [data-widget] { display: none !important; }
  .long-form, .container { max-width: none !important; padding: 0 !important; }
  .long-form h1, .long-form h2, .long-form h3 { color: #0F1B2D !important; }
  a { color: #0F1B2D !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}

/* ── TEXT COLOR SITE-WIDE NORMALISATION ── */
:root {
  --text-primary:   #F0ECE2;
  --text-secondary: #C8C4B8;
  --text-tertiary:  #8E7340;
  --text-display:   #C9A961;
  --ink:            #F0ECE2;
  --mute:           #9E9A90;
}

body,
.long-form,
.long-form p,
.long-form li,
.long-form blockquote,
.long-form td,
.long-form th,
.long-form div,
.long-form span:not(.brand-name):not(.brand-sub):not(.brand-divider),
.eclipse-hero-desc,
.eclipse-practice-detail,
.eclipse-ai-desc,
.eclipse-insight-card,
.section-desc-right-e,
.mega-col a,
.drawer-sub a,
.footer-col a,
.footer-address {
  color: var(--text-primary);
}

.long-form h1,
.long-form h2,
.long-form h3,
.long-form h4,
.long-form h5,
.long-form h6,
.section-title-e,
.eclipse-hero-title,
.eclipse-ai-title,
.eclipse-insight-title {
  color: var(--text-display);
}

.section-eyebrow-e,
.eclipse-practice-count,
.eclipse-insight-meta,
.footer-tagline,
.footer-bottom-copyright,
.footer-bottom-left,
.footer-legal-links a,
.footer-contact-label,
.footer-meta,
.scroll-indicator-e,
.eclipse-stat-label,
.hero-stat-label {
  color: var(--text-secondary);
}

.long-form .article-toc,
.long-form .article-toc *,
[class*="toc"] li a {
  color: var(--text-secondary);
}
.long-form .article-toc h4,
[class*="toc"] h4 {
  color: var(--text-tertiary);
}
.long-form .article-toc a:hover,
[class*="toc"] li a:hover,
[class*="toc"] li a.is-active {
  color: var(--text-display);
}

[style*="color: #FFF"],
[style*="color:#FFF"],
[style*="color: #fff"],
[style*="color:#fff"],
[style*="color: white"],
[style*="color:white"],
[style*="color: #FFFFFF"],
[style*="color:#FFFFFF"] {
  color: var(--text-primary) !important;
}

input, textarea, select {
  color: var(--text-primary);
}
input::placeholder,
textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ── NAV — muted resting, bright on hover ── */
.site-header .nav-link,
.site-header .mega-toggle,
.primary-nav a,
.primary-nav button {
  color: #8E7340 !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 220ms ease;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link[aria-expanded="true"],
.site-header .nav-link.is-active,
.primary-nav a:hover,
.primary-nav button:hover,
.primary-nav a:focus-visible {
  color: #E0BD6E !important;
}
.site-header [data-open-search],
.site-header .nav-search,
.site-header .search-prompt,
.site-header .chev {
  color: #8E7340 !important;
  transition: color 220ms;
}
.site-header [data-open-search]:hover,
.site-header .nav-search:hover,
.nav-link:hover .chev,
.nav-link[aria-expanded="true"] .chev {
  color: #E0BD6E !important;
}
.mega-col-title { color: #C9A961 !important; }
.mega-col a {
  color: #8E7340 !important;
  transition: color 200ms;
}
.mega-col a:hover {
  color: #E0BD6E !important;
}
.mobile-drawer .drawer-links > li > a,
.mobile-drawer .drawer-links > li > details > summary,
.mobile-drawer .drawer-sub a {
  color: var(--ink-soft, #C8C4B8) !important;
  transition: color 200ms;
}
.mobile-drawer .drawer-links a:hover,
.mobile-drawer .drawer-sub a:hover,
.mobile-drawer .drawer-links > li > details[open] > summary {
  color: #E0BD6E !important;
}

/* =========================================================
   FIX: Table contrast on Eclipse dark theme
   ========================================================= */
.long-form table tr td[style*="background"],
.long-form .red-line-table tr:nth-child(even) td,
.long-form .deadline-table tr:nth-child(even) td,
.long-form table:not(.compare) tr:nth-child(even) td {
  color: var(--bg, #0F1B2D);
}
.long-form .red-line-table tr:nth-child(even) td:first-child,
.long-form .deadline-table tr:nth-child(even) td:first-child,
.long-form table:not(.compare) tr:nth-child(even) td:first-child {
  color: var(--gold-deep, #8E7340);
}
.long-form .red-line-table tr:nth-child(odd) td,
.long-form .deadline-table tr:nth-child(odd) td {
  color: var(--ink, #F0ECE2);
}
.long-form .red-line-table tr:nth-child(even) td,
.long-form .deadline-table tr:nth-child(even) td {
  border-bottom-color: rgba(15,27,45,0.1);
}
.long-form .warning-box,
.long-form .tip-box {
  color: var(--ink, #F0ECE2);
}
.long-form .warning-box strong { color: #F5A030; }
.long-form .tip-box strong { color: #5DC862; }
.long-form .checklist li {
  border-bottom-color: rgba(201,169,97,0.15);
}

/* ---------- Reading progress bar ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold);
  z-index: 1000;
  transition: width 60ms linear;
  pointer-events: none;
}

/* ---------- Back to top button ---------- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease-out, visibility 200ms ease-out, background 140ms ease-out;
  z-index: 50;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  padding: 0;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    background: var(--gold);
    color: var(--bg);
  }
}
.back-to-top:active { transform: scale(0.93); }
