/* Legal Smriti Advocates & Associates — website styles.
   Palette: oxford navy, warm ivory and the logo gold #D6B46C. Gold is decorative on light backgrounds; text-level
   gold on light uses --gold-ink (5.1:1 or better on every light surface). Headings: Cormorant Garamond; text: Inter. */

/* Self-hosted fonts, SIL Open Font License: the latin and latin-ext subsets of the variable fonts Google Fonts serves
   (Cormorant Garamond v21, Inter v20), so no third-party request is needed and the two latin files can be preloaded.
   The file names carry the version because _headers caches /assets/fonts/ for a year: rename when a file changes. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/cormorant-garamond-v21-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/cormorant-garamond-v21-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/cormorant-garamond-v21-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/cormorant-garamond-v21-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/inter-v20-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/inter-v20-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* navy */
  --ink: #0b1e36;
  --ink-2: #112842;
  --ink-3: #183352;
  --ink-deep: #06142a;
  --ink-line: rgba(214, 180, 108, .2);
  /* gold */
  --gold: #d6b46c;          /* the logo gold: ornaments, and text on navy (8.5:1) */
  --gold-soft: #e8d3a2;     /* hover and accent text on navy */
  --gold-antique: #b89a63;  /* hairlines and frames on ivory — decorative only */
  --gold-ink: #7a5b1c;      /* gold text on ivory (5.1–6.2:1) */
  /* ivory */
  --paper: #f7f3eb;
  --paper-2: #eee7d9;
  --white: #fffdf8;
  /* text */
  --text: #1b2230;
  --muted: #4f5868;         /* 5.8:1 on --paper-2 */
  --line: #ddd4c3;
  --line-strong: #c4b79d;
  --on-dark: #f5f1e8;
  --on-dark-muted: #b0bac8; /* 8.5:1 on --ink */
  --danger: #a3261b;
  --focus: var(--gold-ink);

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1300px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --radius-sm: 2px;
  --shadow: 0 1px 2px rgba(11, 30, 54, .05), 0 18px 40px -22px rgba(11, 30, 54, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  --section-y: clamp(72px, 10vw, 136px);
  --hairline: linear-gradient(var(--ink-line), var(--ink-line));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; }
h1, h2 { font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: var(--gold-soft); color: var(--ink); }

/* Dark surfaces use the logo gold for focus rings; light surfaces use --gold-ink (3:1 or better either way). */
.site-header, .hero, .page-hero, .forums-strip, .section--dark, .closing, .cta-band, .site-footer, .disclaimer, .side-card, .facts, .wa-float { --focus: var(--gold); }
.side-card--plain, .mega { --focus: var(--gold-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
.skip-link:focus-visible { outline-color: var(--on-dark); }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font: 600 .72rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before { content: ''; width: 32px; height: 1px; flex: none; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--gold); }
.h2 { font-size: clamp(2.15rem, 1.35rem + 2.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.01em; color: var(--ink); }
.h2--display { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.2rem); line-height: 1; }
.h2--section { margin: 56px 0 24px; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.4rem); }
.h3 { font-size: clamp(1.55rem, 1.25rem + 1vw, 2rem); color: var(--ink); }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--text); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 4px 0;
  font: 600 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid transparent;
  transition: gap .3s var(--ease), border-color .3s;
}
.text-link:hover { gap: 14px; border-color: currentColor; }
.text-link--light { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 14px 24px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font: 600 .76rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 18px 30px; font-size: .78rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 12px 30px -14px rgba(214, 180, 108, .8); }
.btn--ghost-dark { border-color: rgba(245, 241, 232, .4); color: var(--on-dark); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--outline { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid var(--ink-line);
  /* No backdrop-filter here: it would become the containing block of the fixed mobile menu. */
  transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 18px 40px -26px rgba(3, 10, 22, .95); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; flex: none; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; color: var(--on-dark); }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 1.55rem/1 var(--serif); letter-spacing: .02em; }
.brand__sub { margin-top: 6px; font: 500 .6rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.nav { flex: 1; min-width: 0; display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 0; margin: 0 auto; }
.nav__item--home { display: none; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px;
  background: none; border: 0; color: var(--on-dark); font: 500 .88rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.nav__link::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: -4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-current { color: var(--gold-soft); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__trigger .icon { transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__item--menu { position: relative; }
.nav__cta { min-height: 44px; padding: 12px 16px; font-size: .7rem; letter-spacing: .08em; white-space: nowrap; }
/* Stacked phone and email beside the button; shown only where it fits (see the media queries below). */
.nav__contact { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.nav__contact-icon { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.3; }
.nav__contact-lines { display: grid; margin: 0; line-height: 1.3; }
.nav__contact-lines a { text-decoration: none; }
.nav__contact-lines a:first-child { font-weight: 600; font-size: .98rem; letter-spacing: .01em; color: var(--on-dark); }
.nav__contact-lines a + a { font-size: .74rem; color: var(--on-dark-muted); }
.nav__contact-lines a:hover { color: var(--gold-soft); }
.header__call {
  display: none; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--ink-line); border-radius: 50%; color: var(--gold); text-decoration: none;
}
.header__call:hover { border-color: var(--gold); }
.header__call .icon { width: 20px; height: 20px; }
@media (min-width: 1241px) and (max-width: 1399px) {
  .nav__contact { display: none; }
  .header__call { display: grid; }
}

.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; width: min(780px, 92vw);
  padding: 12px; background: var(--white); color: var(--text); border-radius: var(--radius);
  box-shadow: 0 34px 70px -24px rgba(7, 22, 41, .5); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item--menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1241px) {
  .nav__item--menu:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: var(--radius-sm); text-decoration: none; transition: background-color .2s; }
.mega__link:hover, .mega__link[aria-current="page"] { background: var(--paper-2); }
.mega__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--gold-antique); color: var(--gold-ink); }
.mega__icon .icon { width: 20px; height: 20px; }
.mega__title { display: block; font: 600 1.12rem/1.25 var(--serif); color: var(--ink); }
.mega__desc { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.45; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.menu-toggle {
  display: none; place-items: center; width: 46px; height: 46px; margin-right: -8px;
  background: none; border: 0; color: var(--on-dark); cursor: pointer; border-radius: var(--radius-sm);
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

/* The menu needs about 1150px; below that it moves into the menu panel. main.js uses the same numbers. */
@media (max-width: 1240px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px;
    background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; margin: 0; }
  .nav__list > li { border-bottom: 1px solid var(--ink-line); }
  .nav__item--home { display: block; }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 2px; font: 500 1.5rem/1.1 var(--serif); }
  .nav__link::after { display: none; }
  .mega {
    position: static; width: auto; padding: 0 0 12px; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none; --focus: var(--gold);
  }
  .mega::before { display: none; }
  .nav__item--menu.is-open .mega { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__link { padding: 10px 2px; align-items: center; }
  .mega__link:hover, .mega__link[aria-current="page"] { background: var(--ink-3); }
  .mega__icon { border-color: var(--ink-line); color: var(--gold); }
  .mega__title { font: 500 1rem/1.3 var(--sans); color: var(--on-dark); }
  .mega__desc { display: none; }
  .nav__cta { order: 2; margin-top: 28px; min-height: 54px; font-size: .76rem; }
  .nav__contact { order: 3; margin-top: 28px; }
  .header__call { display: grid; }
}
/* With the Advocates and Insights links (added automatically once site.mjs lists entries) the menu needs about
   1300px, so a long menu switches to the panel earlier, and the phone and email block gives way to the call button
   (both no longer fit the 1300px grid). Same panel rules as above, scoped to .header--long. */
@media (min-width: 1401px) {
  .header--long .nav__contact { display: none; }
  .header--long .header__call { display: grid; }
}
@media (min-width: 1241px) and (max-width: 1400px) {
  .header--long .menu-toggle { display: grid; }
  .header--long .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px;
    background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .header--long .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .header--long .nav__list { flex-direction: column; align-items: stretch; margin: 0; }
  .header--long .nav__list > li { border-bottom: 1px solid var(--ink-line); }
  .header--long .nav__item--home { display: block; }
  .header--long .nav__link { width: 100%; justify-content: space-between; padding: 18px 2px; font: 500 1.5rem/1.1 var(--serif); }
  .header--long .nav__link::after { display: none; }
  .header--long .mega {
    position: static; width: auto; padding: 0 0 12px; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none; --focus: var(--gold);
  }
  .header--long .mega::before { display: none; }
  .header--long .nav__item--menu.is-open .mega { display: block; transform: none; }
  .header--long .mega__grid { grid-template-columns: 1fr; }
  .header--long .mega__link { padding: 10px 2px; align-items: center; }
  .header--long .mega__link:hover, .header--long .mega__link[aria-current="page"] { background: var(--ink-3); }
  .header--long .mega__icon { border-color: var(--ink-line); color: var(--gold); }
  .header--long .mega__title { font: 500 1rem/1.3 var(--sans); color: var(--on-dark); }
  .header--long .mega__desc { display: none; }
  .header--long .nav__cta { order: 2; margin-top: 28px; min-height: 54px; font-size: .76rem; }
  .header--long .nav__contact { order: 3; margin-top: 28px; }
  .header--long .header__call { display: grid; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .brand__name { font-size: 1.35rem; }
  .brand__mark { width: 40px; height: 40px; }
}

/* ---------- home: hero ---------- */
/* Two columns: the copy on navy, aligned with the page grid, and the panelled wall running to the right edge. The
   hero is a size container so the copy can line up with .wrap (100cqi is the hero's width). */
.hero {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: clamp(560px, calc(100svh - var(--header-h) - 84px), 820px);
  color: var(--on-dark);
  background:
    radial-gradient(70% 80% at 0% 100%, rgba(32, 72, 124, .34), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #09192f 100%);
}
.hero::before, .page-hero::before, .closing::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .045;
}
.hero__copy {
  align-self: center; position: relative; z-index: 1;
  padding: clamp(48px, 7vh, 88px) clamp(24px, 3cqi, 48px) clamp(48px, 7vh, 88px) max(var(--gutter), calc((100cqi - var(--wrap)) / 2 + var(--gutter)));
}
.hero__title { font-size: clamp(2.3rem, 3.9cqi, 4rem); line-height: 1.04; letter-spacing: -.01em; color: var(--white); }
.hero__title span { display: block; }
.hero__title .hero__title-accent { color: var(--gold); }
.hero__lede { max-width: 34em; margin: 26px 0 36px; font-size: clamp(1rem, .96rem + .25vw, 1.12rem); line-height: 1.7; color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__copy .hero__actions .btn { padding-left: 20px; padding-right: 20px; font-size: .74rem; letter-spacing: .12em; }
.hero__actions--center { justify-content: center; }
.hero__trust { display: flex; align-items: center; gap: 14px; max-width: 30em; margin: 40px 0 0; font-size: .9rem; line-height: 1.5; color: var(--on-dark-muted); }
.hero__trust-icon { width: 38px; height: 38px; flex: none; color: var(--gold); stroke-width: 1.2; }

.hero__wall { position: relative; overflow: hidden; min-height: 100%; }
/* The wall fades out on its left into the hero's own background (a mask, so no colour seam), and darkens at the floor. */
.hero__wall .wall {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
.hero__wall::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(6, 20, 42, .7) 0%, rgba(6, 20, 42, 0) 16%);
}
.hero__photo {
  position: absolute; z-index: 1; left: 50%; bottom: 0; transform: translateX(-50%);
  width: auto; height: 82%; max-width: 100%; object-fit: contain; object-position: center bottom;
}

/* the panelled wall (fills and strokes for wall() in templates.mjs) */
.wall__recess { fill: rgba(0, 0, 0, .3); }
.wall__rail { fill: rgba(255, 228, 190, .045); }
.wall__hi { fill: none; stroke: rgba(255, 228, 190, .13); stroke-width: 2; }
.wall__lo { fill: none; stroke: rgba(0, 0, 0, .5); stroke-width: 2; }
.wall__bead { fill: none; stroke: rgba(255, 228, 190, .06); stroke-width: 1.5; }
.wall__name { font: 700 86px/1 var(--serif); letter-spacing: 1px; }
.wall__sub { font: 500 17.5px/1 var(--sans); letter-spacing: 7.6px; }

.forums-strip { position: relative; background: var(--ink-deep); color: var(--on-dark); border-top: 1px solid var(--ink-line); }
.forums-strip__in { display: flex; align-items: baseline; gap: 10px 32px; padding-top: 18px; padding-bottom: 20px; }
.forums-strip__label { flex: none; margin: 0; font: 600 .66rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
/* Every item carries a leading separator; the list is pulled left by one separator's width and clipped, so no
   line starts with a diamond however the list wraps. */
.forums-strip__list { display: flex; flex-wrap: wrap; gap: 2px 0; margin-left: -26px; clip-path: inset(0 0 0 26px); font-size: .84rem; line-height: 1.6; color: var(--on-dark); }
.forums-strip__list li { display: inline-flex; align-items: center; }
.forums-strip__list li::before { content: ''; width: 4px; height: 4px; margin: 0 11px; background: var(--gold); transform: rotate(45deg); opacity: .8; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 44px var(--gutter) 40px; }
  .hero__wall { height: clamp(260px, 60vw, 460px); }
  .hero__wall--photo { height: clamp(320px, 82vw, 560px); }
  .hero__wall .wall { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%); }
  .hero__wall::after { background: linear-gradient(0deg, rgba(6, 20, 42, .7) 0%, rgba(6, 20, 42, 0) 20%); }
  .hero__photo { height: 88%; }
}
@media (max-width: 760px) {
  .forums-strip__in { display: block; }
  .forums-strip__label { margin-bottom: 6px; }
}
@media (max-width: 560px) {
  .hero__copy { padding-top: 32px; padding-bottom: 32px; }
  .hero__title { font-size: clamp(2.3rem, 1.4rem + 4.6vw, 2.8rem); }
  .hero .eyebrow { gap: 10px; letter-spacing: .16em; }
  .hero .eyebrow::before { width: 20px; }
  .hero__lede { margin: 18px 0 26px; font-size: 1rem; line-height: 1.6; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { width: 100%; min-height: 52px; padding: 15px 20px; }
  .hero__trust { margin-top: 26px; font-size: .86rem; }
  .hero__trust-icon { width: 32px; height: 32px; }
}

/* entrance: the copy rises in, the wall fades up; nothing waits on scripts */
.hero__copy > * { animation: rise 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__wall .wall { animation: fade 1.6s .1s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(50% 90% at 88% 10%, rgba(214, 180, 108, .12), transparent 65%), linear-gradient(180deg, var(--ink), #09192f);
}
.page-hero__art { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: min(50%, 760px); pointer-events: none; }
.page-hero__art .wall { width: 100%; height: 100%; }
.page-hero__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 30, 54, .6) 30%, rgba(11, 30, 54, .2) 100%); }
.page-hero__in { position: relative; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(52px, 7vw, 96px); }
.page-hero h1 { max-width: 860px; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.4rem); line-height: 1.04; color: var(--white); }
.page-hero__lede { max-width: 680px; margin: 22px 0 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--on-dark-muted); }
.page-hero__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border: 1px solid rgba(214, 180, 108, .45); border-radius: 50%; color: var(--gold); }
.page-hero__icon .icon { width: 26px; height: 26px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .page-hero__lede { margin-left: auto; margin-right: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .hero__actions { margin-top: 32px; }
@media (max-width: 760px) { .page-hero__art { width: 100%; opacity: .5; } .page-hero__art::after { background: linear-gradient(90deg, var(--ink) 15%, rgba(11, 30, 54, .55)); } }

.crumbs { margin-bottom: 32px; font-size: .84rem; color: var(--on-dark-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin: 0 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs [aria-current] { color: var(--on-dark); }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--paper-2); }
.section--rule { border-top: 1px solid var(--line); }
.section--dark { position: relative; background: var(--ink); color: var(--on-dark); }
.section--dark .h2 { color: var(--white); }
.section-head { max-width: 800px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h2 { margin-top: 0; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; max-width: none; }
.section-head__intro { margin: 0; max-width: 52ch; color: var(--muted); }
.section-head--light .section-head__intro { color: var(--on-dark-muted); }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* home: the firm */
.firm__head { max-width: 1000px; margin-bottom: clamp(40px, 6vw, 72px); }
.firm__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start;
  padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line-strong);
}
.firm__statement { margin-bottom: 26px; font: 500 clamp(1.5rem, 1.15rem + 1.1vw, 2.05rem)/1.32 var(--serif); color: var(--ink); text-wrap: pretty; }
.firm__text > p:not(.firm__statement) { max-width: 62ch; color: var(--muted); }
.plate { position: relative; padding: 40px 32px 28px; background: var(--white); border: 1px solid var(--gold-antique); text-align: center; }
.plate::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(184, 154, 99, .35); pointer-events: none; }
.plate__mark { margin: 0 auto 16px; }
.plate__title { margin-bottom: 18px; font: 600 .7rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.plate__values { margin: 0; }
.plate__values div { padding: 14px 0; border-top: 1px solid var(--line); }
.plate__values dt { font: 600 1.4rem/1.2 var(--serif); color: var(--ink); }
.plate__values dd { margin: 4px 0 0; font-size: .88rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .firm__grid { grid-template-columns: 1fr; } .plate { max-width: 460px; } }

/* practice areas: an editorial index */
.pindex { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line-strong); }
.pindex__item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.pindex__item::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold-ink);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.pindex__item:hover::after, .pindex__item:focus-within::after { transform: scaleX(1); }
.pindex__num { padding-top: .55em; font: 500 1rem/1 var(--serif); letter-spacing: .1em; color: var(--gold-ink); }
.pindex__title { font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); line-height: 1.1; color: var(--ink); transition: color .3s; }
.pindex__title a { color: inherit; text-decoration: none; }
.pindex__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pindex__title a:focus-visible { outline: none; }
.pindex__title a:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 2px; }
.pindex__item:hover .pindex__title { color: var(--gold-ink); }
.pindex__tag { display: inline-block; margin: 12px 0 0; padding: 5px 10px; border: 1px solid var(--gold-antique); font: 600 .64rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.pindex__desc { margin: 12px 0 0; max-width: 48ch; font-size: .95rem; color: var(--muted); }
.pindex__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 600 .7rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.pindex__more .icon { transition: transform .3s var(--ease); }
.pindex__item:hover .pindex__more .icon { transform: translateX(4px); }
@media (max-width: 860px) { .pindex { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pindex__item { grid-template-columns: 40px minmax(0, 1fr); padding: 24px 0 26px; } }

/* approach (home and about) */
.approach__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.approach__head { position: sticky; top: calc(var(--header-h) + 40px); }
.approach__intro { margin: 26px 0 0; max-width: 44ch; color: var(--on-dark-muted); }
.principles { border-top: 1px solid var(--ink-line); }
.principle { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 30px 0; border-bottom: 1px solid var(--ink-line); }
.principle__num { padding-top: .5em; font: 500 .95rem/1 var(--serif); letter-spacing: .12em; color: var(--gold); }
.principle h3 { margin-bottom: 8px; font-size: clamp(1.45rem, 1.2rem + .6vw, 1.8rem); color: var(--white); }
.principle p { margin: 0; max-width: 54ch; color: var(--on-dark-muted); }
@media (max-width: 900px) { .approach__in { grid-template-columns: 1fr; } .approach__head { position: static; } }
@media (max-width: 560px) { .principle { grid-template-columns: 40px minmax(0, 1fr); padding: 24px 0; } }

/* advocates (shown once site.mjs lists them) */
.advocates__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 48px clamp(24px, 3vw, 40px); }
.advocate__portrait { position: relative; aspect-ratio: 4 / 5; margin-bottom: 20px; overflow: hidden; background: var(--ink); }
.advocate__portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease); }
.advocate:hover .advocate__portrait img { filter: grayscale(.2); }
.advocate__portrait::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(214, 180, 108, .4); pointer-events: none; }
.advocate__monogram { position: absolute; inset: 0; display: grid; place-items: center; font: 500 3.4rem/1 var(--serif); letter-spacing: .06em; color: var(--gold); }
.advocate__name { font-size: 1.6rem; color: var(--ink); }
.advocate__role { margin: 6px 0 0; font: 600 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.advocate__meta { margin: 10px 0 0; font-size: .88rem; color: var(--muted); }
.advocate__focus { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.advocate__focus li { padding: 4px 10px; border: 1px solid var(--line-strong); font-size: .76rem; color: var(--text); }
.advocate__bio { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }

/* the client journey */
.journey__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.journey__step { position: relative; padding-top: 34px; border-top: 1px solid var(--line-strong); }
.journey__step::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.journey__num { display: block; margin-bottom: 18px; font: 500 clamp(2.6rem, 2rem + 1.4vw, 3.4rem)/1 var(--serif); color: var(--gold-ink); }
.journey__step h3 { margin-bottom: 10px; font-size: 1.5rem; color: var(--ink); }
.journey__step p { margin: 0; font-size: .95rem; color: var(--muted); }
.journey__note { margin: clamp(44px, 5vw, 64px) 0 0; max-width: 72ch; padding-left: 18px; border-left: 2px solid var(--gold); font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .journey__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .journey__steps { grid-template-columns: 1fr; gap: 0; margin-left: 4px; border-left: 1px solid var(--line-strong); }
  .journey__step { padding: 0 0 32px 28px; border-top: 0; }
  .journey__step::before { top: .5em; left: -5px; }
  .journey__num { margin-bottom: 10px; font-size: 2.4rem; }
}

/* insights (shown once site.mjs lists them) */
.insights__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.insight { position: relative; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.insight__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; font: 600 .68rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.insight__meta time { color: var(--muted); }
.insight__title { font-size: 1.65rem; line-height: 1.15; color: var(--ink); }
.insight__title a { text-decoration: none; }
.insight__title a::after { content: ''; position: absolute; inset: 0; }
.insight__title a:focus-visible { outline: none; }
.insight__title a:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 4px; }
.insight:hover .insight__title { color: var(--gold-ink); }
.insight__summary { margin: 12px 0 0; font-size: .95rem; color: var(--muted); }

/* beyond the practice */
.beyond__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.beyond__item { padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px) 0 0; }
.beyond__item + .beyond__item { padding-left: clamp(24px, 4vw, 56px); padding-right: 0; border-left: 1px solid var(--line-strong); }
.beyond__label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 600 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.beyond__item .h3 { margin-bottom: 14px; }
.beyond__item p:not(.beyond__label) { max-width: 50ch; color: var(--muted); }
@media (max-width: 760px) {
  .beyond__grid { grid-template-columns: 1fr; }
  .beyond__item, .beyond__item + .beyond__item { padding: 32px 0; border-left: 0; }
  .beyond__item + .beyond__item { border-top: 1px solid var(--line); }
}

/* closing call to action */
.closing {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 13vw, 176px) 0; text-align: center; color: var(--on-dark);
  background: radial-gradient(60% 70% at 50% 105%, rgba(214, 180, 108, .16), transparent 70%), var(--ink);
}
.closing .eyebrow { justify-content: center; }
.closing .eyebrow::after { content: ''; width: 32px; height: 1px; flex: none; background: currentColor; opacity: .7; }
.closing h2 { max-width: 17ch; margin: 0 auto; font-size: clamp(2.4rem, 1.3rem + 3.7vw, 4.5rem); line-height: 1.04; color: var(--white); }
.closing__text { max-width: 52ch; margin: 28px auto 0; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); color: var(--on-dark-muted); }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.closing__note { max-width: 62ch; margin: 32px auto 0; font-size: .82rem; color: var(--on-dark-muted); }
@media (max-width: 560px) { .closing__actions .btn { width: 100%; } }

/* ---------- inner pages ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.split .h2 { margin-bottom: 24px; }
.split p { color: var(--muted); }
.split .lead { color: var(--text); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.quote { position: relative; margin: 0; padding: clamp(32px, 4vw, 52px); background: var(--ink); color: var(--on-dark); }
.quote::before { content: '“'; position: absolute; top: -6px; right: 28px; font: 700 9rem/1 var(--serif); color: var(--gold); opacity: .25; }
.quote::after { content: ''; position: absolute; inset: 8px; border: 1px solid var(--ink-line); pointer-events: none; }
.quote blockquote { margin: 0; font: 500 italic clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)/1.25 var(--serif); color: var(--white); }
.quote figcaption { margin-top: 18px; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.pillar { padding: 36px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar__num { display: block; margin-bottom: 18px; font: 500 1rem/1 var(--serif); color: var(--gold-ink); letter-spacing: .12em; }
.pillar .h3 { margin-bottom: 12px; font-size: 1.6rem; }
.pillar p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; } .pillar + .pillar { border-top: 1px solid var(--line); } }

.cta-band {
  position: relative; padding: clamp(64px, 8vw, 104px) 0; color: var(--on-dark);
  background: radial-gradient(50% 120% at 100% 100%, rgba(214, 180, 108, .14), transparent 70%), var(--ink);
}
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2.1rem, 1.5rem + 2vw, 3.2rem); line-height: 1.06; color: var(--white); }
.cta-band p { max-width: 560px; margin: 14px 0 0; color: var(--on-dark-muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 560px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1000px) { .with-aside { grid-template-columns: 1fr; } .aside { position: static; } }

.prose > p { color: var(--muted); }
.prose > .lead { color: var(--text); font-size: 1.2rem; }
.prose a { color: var(--gold-ink); }
.bullets { display: grid; gap: 12px; margin: 0 0 32px; padding-left: 0; }
.bullets li { position: relative; padding-left: 26px; color: var(--muted); }
.bullets li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.prose .h3 { margin: 8px 0 18px; }

.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line-strong); }
.item { padding: 26px 0 24px; border-bottom: 1px solid var(--line); }
.item__num { display: block; margin-bottom: 10px; font: 500 .95rem/1 var(--serif); letter-spacing: .12em; color: var(--gold-ink); }
.item__title { margin-bottom: 8px; font-size: 1.4rem; color: var(--ink); }
.item p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 640px) { .item-grid { grid-template-columns: 1fr; } }

.notice { display: flex; gap: 16px; margin-bottom: 32px; padding: 20px 22px; border-radius: var(--radius); background: #fbf1dc; border: 1px solid #e6cf9d; border-left: 3px solid var(--gold-ink); }
.notice .icon { color: var(--gold-ink); margin-top: 2px; }
.notice strong { display: block; margin-bottom: 4px; color: var(--ink); }
.notice p { margin: 0; color: var(--text); }

.side-card { position: relative; padding: 30px; background: var(--ink); color: var(--on-dark); }
.side-card__title { margin-bottom: 10px; font-size: 1.6rem; color: var(--white); }
.side-card > p { color: var(--on-dark-muted); font-size: .93rem; }
.side-card__actions { display: grid; gap: 10px; margin-top: 20px; }
.side-card .btn--outline { border-color: rgba(245, 241, 232, .32); color: var(--on-dark); }
.side-card .btn--outline:hover { border-color: var(--gold); background: transparent; color: var(--gold-soft); }
.side-card .checklist li { color: var(--on-dark-muted); }
.side-card .checklist .icon { color: var(--gold); }
.side-card--plain { background: var(--white); color: var(--text); border: 1px solid var(--line); }
.side-card--plain .side-card__title { font-size: 1.4rem; color: var(--ink); }
.side-card--plain .checklist li { color: var(--muted); }
.side-card--plain .checklist .icon { color: var(--gold-ink); }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; line-height: 1.55; }
.checklist .icon { margin-top: 2px; color: var(--gold-ink); }
.checklist--cols { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 40px; border-top: 1px solid var(--line-strong); }
.checklist--cols li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--text); }
.checklist--lg li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }

/* learning centre */
.facts { background: var(--ink); }
.facts__list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; background: var(--hairline) no-repeat center top / 100% 1px; }
.fact { padding: 28px 0; color: var(--on-dark); }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--ink-line); }
.fact dt { font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.fact dd { margin: 10px 0 0; font: 500 1.6rem/1.2 var(--serif); }
@media (max-width: 700px) { .facts__list { grid-template-columns: 1fr; } .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink-line); } }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline__item { padding: 26px 22px; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.timeline__num { display: block; margin-bottom: 10px; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.timeline h3 { margin-bottom: 14px; font-size: 1.45rem; color: var(--ink); }
.timeline ul { display: grid; gap: 8px; }
.timeline ul li { position: relative; padding-left: 16px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.timeline ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 1100px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact-list { display: grid; border-top: 1px solid var(--line-strong); }
.contact-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list li > .icon { width: 44px; height: 44px; padding: 11px; flex: none; border-radius: 50%; border: 1px solid var(--gold-antique); color: var(--gold-ink); }
.contact-list h2 { margin-bottom: 4px; font: 600 .7rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.contact-list a:not(.text-link) { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:not(.text-link):hover { color: var(--gold-ink); text-decoration: underline; }
.contact-list p, .contact-list address { margin: 0; color: var(--muted); }
.map { margin-top: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 16 / 10; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.form-card { padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card__note { margin: 10px 0 26px; font-size: .9rem; color: var(--muted); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field__hint { margin: 0; font-weight: 400; font-size: .82rem; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfc6b4; border-radius: var(--radius-sm);
  background: var(--paper); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-ink); background: var(--white); box-shadow: 0 0 0 3px rgba(214, 180, 108, .35); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; min-height: 0; font-size: .84rem; color: var(--danger); }
.field__error:empty { display: none; }
.field--check { grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold-ink); }
.field--check label { font-weight: 400; color: var(--muted); }
.field--check .field__error { grid-column: 2; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__status { margin: 0; font-size: .9rem; color: var(--gold-ink); }
.form__status:empty { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); font-size: .92rem; }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px 64px; align-items: end;
  padding-top: clamp(56px, 7vw, 88px); padding-bottom: 44px;
  background: var(--hairline) no-repeat center bottom / calc(100% - 2 * var(--gutter)) 1px;
}
.footer__statement { margin: 0; max-width: 54ch; font: 500 clamp(1.2rem, 1.05rem + .5vw, 1.45rem)/1.45 var(--serif); color: var(--on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.25fr .7fr; gap: 40px; padding-top: 48px; padding-bottom: 52px; }
.footer__title { margin-bottom: 18px; font: 600 .7rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__contact a { text-decoration: none; }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold-soft); }
.footer__address { margin-bottom: 14px; line-height: 1.65; }
.footer__contact { margin-bottom: 8px; }
.footer__legal {
  padding-top: 26px; padding-bottom: 34px; font-size: .8rem;
  background: var(--hairline) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px;
}
.footer__legal p { max-width: 900px; }
.footer__legal a { color: var(--gold); }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr; align-items: start; } .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* WhatsApp quick link */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--ink); color: var(--gold);
  border: 1px solid rgba(214, 180, 108, .5); box-shadow: 0 14px 30px -12px rgba(7, 22, 41, .6);
  font-weight: 600; font-size: .86rem; text-decoration: none; transition: background-color .2s, color .2s;
}
.wa-float:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: 14px; padding: 13px; } .wa-float span { display: none; } }
body.menu-open .wa-float { display: none; }

/* ---------- questions: practice, legal aid and learning centre pages ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.faq__item summary:hover .faq__q { color: var(--gold-ink); }
.faq__q { margin: 0; font-size: 1.3rem; line-height: 1.2; color: var(--ink); transition: color .2s; }
.faq__chev { flex: none; color: var(--gold-ink); transition: transform .25s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { max-width: 72ch; padding: 0 0 22px; }
.faq__a p, .prose .faq__a p { margin: 0; color: var(--muted); }

/* ---------- insights: index page and articles ---------- */
.insights__more { margin-top: 40px; }
.prose .article__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 28px; font: 600 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.prose .article__meta time { color: var(--muted); }
.prose .article__note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }

/* ---------- disclaimer dialog ---------- */
.disclaimer {
  width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid rgba(214, 180, 108, .4);
  border-radius: var(--radius); background: var(--ink); color: var(--on-dark); box-shadow: 0 40px 80px -20px rgba(7, 22, 41, .7);
}
.disclaimer::backdrop { background: rgba(7, 22, 41, .82); backdrop-filter: blur(4px); }
.disclaimer__body { padding: clamp(28px, 5vw, 44px); }
.disclaimer__body img { margin-bottom: 16px; }
.disclaimer h2 { margin-bottom: 14px; font-size: 2.1rem; color: var(--white); }
.disclaimer p, .disclaimer li { font-size: .93rem; color: var(--on-dark-muted); }
.disclaimer ul { display: grid; gap: 10px; margin: 0 0 26px; }
.disclaimer li { position: relative; padding-left: 22px; }
.disclaimer li::before { content: ''; position: absolute; left: 2px; top: .65em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.disclaimer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .disclaimer__actions .btn { width: 100%; } }

/* Cormorant's default figures are old-style; numbered markers read better in lining figures. This sits after the
   rules above because their `font` shorthand would reset font-variant-numeric. */
.pindex__num, .principle__num, .journey__num, .item__num, .pillar__num { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .cta-band, .closing, .disclaimer, .map, .hero__wall, .page-hero__art { display: none !important; }
  body { background: #fff; }
  .hero { display: block; min-height: 0; }
}
