/* GREENLEX CONSULTANTS LLP — main stylesheet
   Tokens first, then base, layout, components, pages. Mobile-first. */

:root {
  /* Brand palette (from handoff brief) */
  --forest: #104B38;
  --forest-900: #0B3527;
  --forest-700: #1A5C46;
  --forest-100: #E4ECE7;
  --gold: #D5A83D;
  --gold-text: #7A5C14;        /* gold for text on ivory, 5.7:1 */
  --gold-soft: #F1E3BF;
  --ivory: #F7F6F0;
  --paper: #FFFFFF;
  --navy: #233747;
  --sage: #6D7B70;             /* decorative only */
  --sage-text: #5B6A5F;        /* secondary text, 5.3:1 on ivory */
  --on-dark: #F7F6F0;
  --on-dark-muted: #C9D6CE;
  --line: rgba(16, 75, 56, 0.14);
  --line-strong: rgba(16, 75, 56, 0.28);
  --line-dark: rgba(247, 246, 240, 0.18);

  /* Type */
  --font-display: "DM Serif Display", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-17: 1.0625rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: clamp(1.625rem, 1.2rem + 1.6vw, 2rem);
  --fs-44: clamp(2rem, 1.4rem + 2.6vw, 2.75rem);
  --fs-hero: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --container: 1920px;           /* fluid: fills the screen up to 1920px, then centres */
  --gutter: clamp(20px, 5vw, 104px);
  --radius-s: 4px;
  --radius-m: 8px;
  --shadow-2: 0 10px 30px rgba(11, 53, 39, 0.12), 0 2px 6px rgba(11, 53, 39, 0.08);
  --shadow-3: 0 1px 0 var(--line);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* Scale type up a little on large screens so the wider layout keeps its proportions */
@media (min-width: 1600px) { html { font-size: 106.25%; } }
@media (min-width: 2200px) { html { font-size: 112.5%; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.65;
  color: var(--navy);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.005em;
}
h1 { font-size: var(--fs-44); }
h2 { font-size: var(--fs-32); }
h3 { font-size: var(--fs-20); line-height: 1.3; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold-soft); color: var(--forest-900); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--forest-900); color: var(--on-dark); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-s); font-weight: 600;
}
.skip-link:focus { top: var(--s-4); color: var(--on-dark); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-8) 0; }
.section--paper { background: var(--paper); }
.section--mist { background: var(--forest-100); }
.section--forest { background: var(--forest); color: var(--on-dark); }
.section--forest h2, .section--forest h3 { color: var(--on-dark); }
.measure { max-width: 68ch; }
.lead { font-size: var(--fs-20); line-height: 1.6; color: var(--navy); }
.muted { color: var(--sage-text); }
.kicker { font: 600 var(--fs-14)/1.4 var(--font-body); letter-spacing: 0; color: var(--gold-text); margin: 0 0 var(--s-3); }
.on-dark .kicker, .section--forest .kicker { color: var(--gold); }

.split { display: grid; gap: var(--s-6); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
}
.section-head { margin-bottom: var(--s-7); max-width: 52rem; }
.section-head p:not(.kicker) { color: var(--sage-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  font: 600 var(--fs-16)/1 var(--font-body);
  border-radius: var(--radius-s); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--forest-900); }
.btn--gold:hover { background: #E2B957; color: var(--forest-900); }
.btn--forest { background: var(--forest); color: var(--on-dark); }
.btn--forest:hover { background: var(--forest-700); color: var(--on-dark); }
.btn--ghost-light { border-color: rgba(247,246,240,.55); color: var(--on-dark); }
.btn--ghost-light:hover { background: rgba(247,246,240,.08); border-color: var(--on-dark); color: var(--on-dark); }
.btn--ghost { border-color: var(--line-strong); color: var(--forest); }
.btn--ghost:hover { border-color: var(--forest); color: var(--forest); background: rgba(16,75,56,.04); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.text-link {
  font-weight: 600; text-decoration: none; color: var(--forest);
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.text-link:hover { border-bottom-width: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 240, 0.96);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-5); }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--forest); }
.brand img { width: 52px; height: 52px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.06em; }
.brand__name span { font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.08em; color: var(--sage-text); margin-top: 3px; }

.nav { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: var(--s-1); }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 var(--s-3);
  font: 600 var(--fs-14)/1 var(--font-body); color: var(--navy);
  background: none; border: 0; cursor: pointer; text-decoration: none; border-radius: var(--radius-s);
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { color: var(--forest); background: rgba(16,75,56,.06); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__toggle { color: var(--forest); }
.nav__toggle svg { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__split { display: inline-flex; align-items: center; }
.nav__split .nav__link { padding-right: 4px; }
.nav__split .nav__toggle { width: 28px; padding: 0; justify-content: center; }
.nav__cta { margin-left: var(--s-3); min-height: 44px; font-size: var(--fs-14); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-2); padding: var(--s-3); display: none;
}
.dropdown.is-open { display: block; }
.dropdown a {
  display: block; padding: 10px var(--s-3); border-radius: var(--radius-s);
  color: var(--navy); text-decoration: none; font-size: var(--fs-14); font-weight: 500; line-height: 1.35;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--forest-100); color: var(--forest); }
.dropdown--mega { left: 50%; transform: translateX(-50%); width: min(760px, 92vw); padding: var(--s-4); }
.mega { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px var(--s-2); }
.mega a { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; }
.mega__num { font-size: var(--fs-12); font-weight: 700; color: var(--gold-text); }
.dropdown__foot { border-top: 1px solid var(--line); margin-top: var(--s-3); padding-top: var(--s-3); }
.dropdown__foot a { font-weight: 600; color: var(--forest); }

.menu-btn {
  display: inline-flex; align-items: center; gap: var(--s-2); height: 44px; padding: 0 var(--s-3);
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  font: 600 var(--fs-14)/1 var(--font-body); color: var(--forest); cursor: pointer;
}
.menu-btn__bars { width: 18px; height: 12px; position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after, .menu-btn__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.menu-btn__bars::before { top: 0; } .menu-btn__bars span { top: 5px; } .menu-btn__bars::after { bottom: 0; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-btn { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: var(--forest-900); color: var(--on-dark);
  display: none; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { display: flex; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line-dark); }
.drawer__top .brand { color: var(--on-dark); }
.drawer__top .brand__name span { color: var(--on-dark-muted); }
.drawer__close { background: none; border: 1px solid var(--line-dark); color: var(--on-dark); height: 44px; padding: 0 var(--s-4); border-radius: var(--radius-s); font: 600 var(--fs-14)/1 var(--font-body); cursor: pointer; }
.drawer nav { padding: var(--s-4) var(--gutter) var(--s-7); }
.drawer ul { list-style: none; }
.drawer__link, .drawer__toggle {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: var(--s-4) 0; border: 0; border-bottom: 1px solid var(--line-dark); background: none;
  color: var(--on-dark); font: 400 var(--fs-24)/1.2 var(--font-display); text-decoration: none; text-align: left; cursor: pointer;
}
.drawer__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.drawer__row { display: flex; align-items: stretch; border-bottom: 1px solid var(--line-dark); }
.drawer__row .drawer__link { border-bottom: 0; flex: 1; }
.drawer__row .drawer__toggle { width: 56px; flex: none; justify-content: center; border-bottom: 0; border-left: 1px solid var(--line-dark); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__sub { display: none; padding: var(--s-2) 0 var(--s-4); }
.drawer__sub.is-open { display: block; }
.drawer__sub a { display: block; padding: 10px 0 10px var(--s-4); color: var(--on-dark-muted); text-decoration: none; font-size: var(--fs-16); border-left: 1px solid var(--line-dark); }
.drawer__sub a:hover { color: var(--gold); }
.drawer .btn { margin-top: var(--s-6); width: 100%; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero (home): photo under a deep-green veil, emblem seal in gold rings ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background: var(--forest-900); isolation: isolate; }
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,53,39,.96) 0%, rgba(11,53,39,.88) 42%, rgba(16,75,56,.70) 70%, rgba(16,75,56,.60) 100%),
    linear-gradient(0deg, rgba(11,53,39,.55), rgba(11,53,39,0) 40%);
}
.hero__inner { display: grid; gap: var(--s-7); padding-block: var(--s-8); align-items: center; min-height: min(86vh, 820px); }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 7fr 5fr; padding-block: var(--s-9); } }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-6);
  padding: 8px 16px; border-radius: 999px; font-size: var(--fs-14); font-weight: 500;
  color: var(--gold); background: rgba(213,168,61,.10); border: 1px solid rgba(213,168,61,.40);
}
.hero__badge svg { width: 15px; height: 15px; flex: none; }
.hero__title { font-size: var(--fs-hero); color: var(--on-dark); line-height: 1.04; margin: 0 0 var(--s-6); letter-spacing: -0.015em; }
.hero__title span { display: block; }
.hero__accent { color: var(--gold); }
.hero__rule { width: 96px; height: 3px; background: var(--gold); border: 0; margin: 0 0 var(--s-6); }
.hero__text { color: #DCE6E0; font-size: var(--fs-20); line-height: 1.6; max-width: 56ch; margin-bottom: var(--s-5); }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-bottom: var(--s-7); font-size: var(--fs-16); color: var(--on-dark-muted); }
.hero__points li { display: flex; align-items: center; gap: var(--s-2); }
.hero__points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.btn--outline-gold { border: 1.5px solid var(--gold); color: var(--gold); background: rgba(11,53,39,.35); min-height: 54px; padding: 0 var(--s-6); font-size: var(--fs-17); }
.btn--outline-gold:hover { background: var(--gold); color: var(--forest-900); }
.btn--outline-gold svg { width: 20px; height: 20px; }

/* Animated law emblem on the home cover */
.emblem { justify-self: end; align-self: center; width: min(100%, 470px); }
.emblem__svg { width: 100%; height: auto; display: block; overflow: visible; }
.emblem__ring, .emblem__beam, .emblem__pan, .emblem__glow, .emblem__text { transform-box: fill-box; transform-origin: center; }
.emblem__beam { transform-origin: 50% 0; }
.emblem__pan { transform-origin: 50% 0; }
.emblem__text { font-family: var(--font-body, sans-serif); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .emblem__ring--outer { animation: em-spin 60s linear infinite; }
  .emblem__ring--inner { animation: em-spin 90s linear infinite reverse; }
  .emblem__glow { animation: em-breathe 6s ease-in-out infinite; }
  .emblem__beam { animation: em-sway 7s ease-in-out infinite; }
  .emblem__pan { animation: em-counter 7s ease-in-out infinite; }
  .emblem__scales { animation: em-rise 1.2s var(--ease) both; }
  .emblem__text { animation: em-fade 1.6s .4s var(--ease) both; }
  @keyframes em-spin { to { transform: rotate(360deg); } }
  @keyframes em-breathe { 0%,100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.04); opacity: 1; } }
  @keyframes em-sway { 0%,100% { transform: rotate(-3.5deg); } 50% { transform: rotate(3.5deg); } }
  @keyframes em-counter { 0%,100% { transform: rotate(3.5deg); } 50% { transform: rotate(-3.5deg); } }
  @keyframes em-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes em-fade { from { opacity: 0; } to { opacity: .85; } }
}
@media (max-width: 959px) { .emblem { justify-self: center; width: min(78%, 340px); } }

/* Discipline cards (kept for reuse) */
.pcards { display: grid; gap: var(--s-4); align-self: center; width: 100%; max-width: 560px; justify-self: end; }
.pcards__label { margin: 0 0 var(--s-1); font-size: var(--fs-14); font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.pcard {
  display: grid; grid-template-columns: 48px 1fr 20px; gap: var(--s-4); align-items: center;
  padding: var(--s-5); border: 1.5px solid rgba(213,168,61,.55); border-radius: var(--radius-m);
  background: rgba(11,53,39,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: var(--on-dark); text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s, background-color .25s;
}
.pcard:hover, .pcard:focus-visible { transform: translateY(-2px); border-color: var(--gold); background: rgba(11,53,39,.8); color: var(--on-dark); }
.pcard__icon { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: rgba(213,168,61,.14); color: var(--gold); }
.pcard__body strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-24); line-height: 1.2; color: var(--on-dark); }
.pcard__body span { display: block; margin-top: 4px; font-size: var(--fs-16); line-height: 1.5; color: var(--on-dark-muted); }
.pcard__arrow { width: 20px; height: 20px; color: var(--gold); transition: transform .25s var(--ease); }
.pcard:hover .pcard__arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .js .pcard { animation: pcard-in .8s var(--ease) both; }
  .js .pcard:nth-of-type(2) { animation-delay: .1s; }
  .js .pcard:nth-of-type(3) { animation-delay: .2s; }
  @keyframes pcard-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 959px) {
  .hero__inner { min-height: 0; }
  .pcards { justify-self: stretch; max-width: none; }
  .pcard { padding: var(--s-4); grid-template-columns: 40px 1fr 18px; }
  .pcard__icon { width: 40px; height: 40px; padding: 9px; }
  .hero::before { background: linear-gradient(180deg, rgba(11,53,39,.88), rgba(11,53,39,.95) 45%); }
  .hero__text { font-size: var(--fs-17); }
  .hero__badge { font-size: var(--fs-12); }
}

.disciplines { background: var(--forest-900); border-top: 1px solid rgba(213,168,61,.25); }
.disciplines__line { margin: 0; padding: var(--s-4) 0; text-align: center; font-family: var(--font-display); font-size: var(--fs-20); color: var(--gold); }

/* ---------- Practice ledger (grid without card chrome) ---------- */
.ledger { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
@media (min-width: 640px) { .ledger { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ledger { grid-template-columns: repeat(3, 1fr); } }
.ledger__item {
  position: relative; display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-6) var(--s-5) var(--s-6) var(--s-6);
  border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--navy);
  transition: background-color .2s var(--ease);
}
@media (min-width: 640px) { .ledger__item:not(:nth-child(2n)) { border-right: 1px solid var(--line-strong); } }
@media (min-width: 1000px) {
  .ledger__item:not(:nth-child(2n)) { border-right: 0; }
  .ledger__item:not(:nth-child(3n)) { border-right: 1px solid var(--line-strong); }
}
.ledger__item::before {
  content: ""; position: absolute; left: 0; top: var(--s-6); width: 3px; height: 28px; background: var(--accent, var(--gold));
}
.ledger__item:hover { background: var(--paper); color: var(--navy); }
.ledger__num { font-size: var(--fs-14); font-weight: 700; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.ledger__title { font-family: var(--font-display); font-size: var(--fs-24); color: var(--forest); line-height: 1.2; }
.ledger__text { font-size: var(--fs-16); color: var(--sage-text); line-height: 1.55; margin: 0; }
.ledger__more { margin-top: auto; padding-top: var(--s-3); font-size: var(--fs-14); font-weight: 600; color: var(--forest); }
.ledger__item:hover .ledger__more { text-decoration: underline; text-decoration-color: var(--gold); }

/* ---------- Lists ---------- */
.ticks { list-style: none; display: grid; gap: var(--s-3); }
.ticks li { position: relative; padding-left: var(--s-6); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--gold);
}
.audience { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .audience { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }
.audience li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: var(--s-3); align-items: baseline; }
.audience li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--gold); transform: translateY(-1px); }

/* ---------- Approach (a true sequence) ---------- */
.steps { list-style: none; display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--s-4); } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: var(--s-7); }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: var(--gold); font: 400 var(--fs-17)/1 var(--font-display);
}
@media (min-width: 900px) {
  .steps li::after { content: ""; position: absolute; top: 18px; left: 44px; right: -8px; height: 1px; background: var(--line-strong); }
  .steps li:last-child::after { display: none; }
}
.steps h3 { font-size: var(--fs-20); margin-bottom: var(--s-2); }
.steps p { font-size: var(--fs-16); color: var(--sage-text); margin: 0; }
.section--forest .steps li::before { background: var(--gold); color: var(--forest-900); }
.section--forest .steps li::after { background: var(--line-dark); }
.section--forest .steps p { color: var(--on-dark-muted); }

/* ---------- Statement blocks ---------- */
.statement { border-left: 2px solid var(--gold); padding-left: var(--s-5); }
.statement h3 { margin-bottom: var(--s-3); }
.statement p { margin: 0; }
.vm { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .vm { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.values { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; gap: var(--s-2); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .values li { grid-template-columns: 280px 1fr; gap: var(--s-6); } }
.values h3 { margin: 0; font-size: var(--fs-20); }
.values p { margin: 0; color: var(--navy); }

/* ---------- People ---------- */
.people { display: grid; gap: var(--s-5); list-style: none; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.person__mono {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--s-3);
  background: var(--forest); color: var(--gold); font: 400 1.6rem/1 var(--font-display); letter-spacing: .04em;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold);
}
.person h3 { margin: 0; font-size: var(--fs-24); }
.person__role { font-weight: 600; color: var(--navy); margin: 0; }
.person__disc { color: var(--gold-text); font-weight: 600; font-size: var(--fs-14); margin: 0; }
.person__note { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-14); color: var(--sage-text); }

/* ---------- Advisors ---------- */
.advisor { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--s-6); display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .advisor { grid-template-columns: 160px 1fr; gap: var(--s-6); align-items: start; } }
.advisor__photo {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover; background: var(--forest-100);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold);
}
.advisor h3 { margin: 0; font-size: var(--fs-24); }
.advisor__desig { color: var(--gold-text); font-weight: 600; font-size: var(--fs-14); margin: var(--s-1) 0 var(--s-3); }
.advisor__bio { margin: 0; color: var(--navy); }

/* Home + About: photo + name cards */
.adv-cards { display: grid; gap: var(--s-5); list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .adv-cards { grid-template-columns: repeat(3, 1fr); } }
.adv-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; align-items: center; gap: var(--s-4); text-align: center; }
.adv-card h3 { margin: 0; font-size: var(--fs-24); }
.adv-card .btn { margin-top: auto; }

/* /advisors/: tabs (main.js unhides the list and hides inactive panels) */
.adv-tabs { display: grid; gap: var(--s-5); }
.adv-tabs__list { display: flex; flex-wrap: wrap; gap: var(--s-3); border-bottom: 1px solid var(--line); padding-bottom: var(--s-4); }
.adv-tab {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2);
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--forest);
  font: 600 var(--fs-16, 1rem)/1.2 var(--font-body); cursor: pointer;
}
.adv-tab img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.adv-tab:hover { border-color: var(--forest); }
.adv-tab[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }
.adv-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.adv-panel[hidden] { display: none; }
.adv-panel__name { margin: 0; font-size: var(--fs-32); }
@media (max-width: 639px) { .adv-tabs__list { flex-direction: column; } .adv-tab { width: 100%; } }

/* ---------- Close CTA ---------- */
.close-cta { position: relative; overflow: hidden; }
.close-cta__quote { font-family: var(--font-display); font-size: var(--fs-32); line-height: 1.3; color: var(--on-dark); max-width: 26ch; margin-bottom: var(--s-6); }
.close-cta__grid { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .close-cta__grid { grid-template-columns: 7fr 5fr; align-items: end; } }
.contact-mini { list-style: none; display: grid; gap: var(--s-3); color: var(--on-dark-muted); font-size: var(--fs-16); border-top: 1px solid var(--line-dark); padding-top: var(--s-5); }
.contact-mini a { color: var(--on-dark); text-decoration: none; }
.contact-mini a:hover { color: var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--forest); color: var(--on-dark); padding: var(--s-8) 0 var(--s-8); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--on-dark); max-width: 20ch; }
.page-hero p { color: var(--on-dark-muted); max-width: 62ch; font-size: var(--fs-20); }
.page-hero__arc { position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(213,168,61,.45); pointer-events: none; }
.page-hero__arc::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(213,168,61,.18); }
.breadcrumb { font-size: var(--fs-14); margin-bottom: var(--s-6); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.breadcrumb li { display: flex; gap: var(--s-2); color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; color: var(--gold); }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero__num { font-family: var(--font-display); font-size: var(--fs-24); color: var(--gold); margin-bottom: var(--s-2); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.tags li { font-size: var(--fs-14); padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark); }

/* Photo variant of inner page headers */
.page-hero { isolation: isolate; }
.page-hero--photo { padding: var(--s-9) 0 var(--s-8); background: var(--forest-900); }
.page-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,53,39,.95) 0%, rgba(11,53,39,.86) 50%, rgba(16,75,56,.62) 100%);
}
@media (max-width: 759px) { .page-hero--photo::before { background: rgba(11,53,39,.88); } }

.figure { margin: var(--s-6) 0 0; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--forest-100); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .figure { aspect-ratio: 16 / 9; } }

/* ---------- Practice detail ---------- */
.practice-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .practice-layout { grid-template-columns: 260px 1fr; gap: var(--s-8); } }
.toc { position: relative; }
@media (min-width: 1000px) { .toc__inner { position: sticky; top: calc(var(--header-h) + 32px); } }
.toc h2 { font: 600 var(--fs-14)/1.4 var(--font-body); color: var(--sage-text); margin-bottom: var(--s-3); }
.toc ul { list-style: none; border-left: 1px solid var(--line-strong); }
.toc ul a { display: block; padding: 8px 0 8px var(--s-4); font-size: var(--fs-14); font-weight: 600; text-decoration: none; color: var(--navy); margin-left: -1px; border-left: 2px solid transparent; }
.toc ul a:hover { color: var(--forest); border-left-color: var(--gold); }
.toc__meta { margin-top: var(--s-5); font-size: var(--fs-14); color: var(--sage-text); }
.toc .btn { margin-top: var(--s-4); width: 100%; }

.services-group + .services-group { margin-top: var(--s-8); }
.services-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); border-bottom: 2px solid var(--forest); padding-bottom: var(--s-3); margin-bottom: 0; }
.services-group__head h2, .services-group__head h3 { margin: 0; }
.services-group__count { font-size: var(--fs-14); color: var(--sage-text); font-weight: 600; white-space: nowrap; }
.services { list-style: none; display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }
.service { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.service h3, .service h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-17); color: var(--forest); line-height: 1.4; margin: 0 0 var(--s-2); }
.service p { font-size: var(--fs-16); line-height: 1.6; margin: 0; color: var(--navy); }

.enquire-band { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent, var(--gold)); border-radius: var(--radius-m); padding: var(--s-6); display: grid; gap: var(--s-4); margin-top: var(--s-8); }
@media (min-width: 760px) { .enquire-band { grid-template-columns: 1fr auto; align-items: center; } }
.enquire-band h2 { font-size: var(--fs-24); margin: 0 0 var(--s-2); }
.enquire-band p { margin: 0; color: var(--sage-text); }

.related { list-style: none; display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: block; padding: var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--radius-s); text-decoration: none; background: var(--ivory); transition: border-color .2s; }
.related a:hover { border-color: var(--forest); }
.related span { display: block; font-size: var(--fs-14); font-weight: 700; color: var(--gold-text); }
.related strong { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-20); color: var(--forest); }

.notice { font-size: var(--fs-14); color: var(--sage-text); border-top: 1px solid var(--line); padding-top: var(--s-5); margin-top: var(--s-8); max-width: 80ch; }
.notice strong { color: var(--navy); }

/* Practice overview list */
.plist { list-style: none; border-top: 1px solid var(--line-strong); }
.plist li { border-bottom: 1px solid var(--line-strong); }
.plist a { display: grid; gap: var(--s-3); padding: var(--s-6) 0; text-decoration: none; color: var(--navy); position: relative; }
@media (min-width: 900px) { .plist a { grid-template-columns: 64px 1.1fr 1.6fr 120px; gap: var(--s-6); align-items: baseline; } }
.plist__num { font-family: var(--font-display); font-size: var(--fs-24); color: var(--gold-text); }
.plist__title { font-family: var(--font-display); font-size: var(--fs-24); color: var(--forest); line-height: 1.2; }
.plist__text { color: var(--sage-text); font-size: var(--fs-16); }
.plist__count { font-size: var(--fs-14); font-weight: 600; color: var(--forest); text-align: left; }
@media (min-width: 900px) { .plist__count { text-align: right; } }
.plist a:hover .plist__title { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.plist a::before { content: ""; position: absolute; left: -16px; top: var(--s-6); bottom: var(--s-6); width: 3px; background: var(--accent); opacity: 0; transition: opacity .2s; }
.plist a:hover::before { opacity: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--s-8); } }
.details { list-style: none; display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.details dt, .details h3 { font: 600 var(--fs-14)/1.4 var(--font-body); color: var(--sage-text); margin: 0 0 4px; }
.details dd, .details p { margin: 0; font-weight: 600; color: var(--navy); }
.details a { color: var(--forest); text-decoration: none; }
.details a:hover { text-decoration: underline; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(var(--s-5), 4vw, var(--s-7)); }
.form h2 { font-size: var(--fs-24); }
.form__grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: var(--fs-14); color: var(--navy); margin-bottom: 6px; }
.field .req { color: var(--gold-text); }
.field .hint { font-size: var(--fs-14); color: var(--sage-text); margin: 4px 0 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 var(--fs-16)/1.4 var(--font-body); color: var(--navy);
  background: var(--ivory); border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(213,168,61,.45); background: var(--paper); }
.field [aria-invalid="true"] { border-color: #A3262A; }
.field__error { color: #A3262A; font-size: var(--fs-14); font-weight: 600; margin: 6px 0 0; }
.field__error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.choice label { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; margin: 0; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); cursor: pointer; min-height: 44px; background: var(--ivory); }
.choice input { accent-color: var(--forest); width: 18px; height: 18px; }
.field .check, .check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-14); font-weight: 500; }
.check input { accent-color: var(--forest); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.form__fine { font-size: var(--fs-14); color: var(--sage-text); margin: var(--s-5) 0 0; }
.form-status { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--radius-s); font-weight: 600; font-size: var(--fs-16); }
.form-status:empty { display: none; }
.form-status--ok { background: var(--forest-100); color: var(--forest); border-left: 4px solid var(--forest); }
.form-status--err { background: #F8E9E7; color: #7D1D20; border-left: 4px solid #A3262A; }

/* ---------- Insights ---------- */
.cats { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .cats { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }
.cats li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s-4); font-weight: 600; color: var(--forest); }
.cats li span { font-weight: 500; color: var(--sage-text); font-size: var(--fs-14); }
.empty { background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius-m); padding: var(--s-7); text-align: left; }
.empty h2 { font-size: var(--fs-24); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--s-7); }
.prose p, .prose li { font-size: var(--fs-17); }
.prose ul { padding-left: 1.2em; margin-bottom: var(--s-4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: var(--on-dark-muted); font-size: var(--fs-16); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer__top { display: grid; gap: var(--s-7); padding: var(--s-8) 0 var(--s-7); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 4fr 3fr 2fr 2fr 3fr; gap: var(--s-6); } }
.footer__brand .brand { color: var(--on-dark); margin-bottom: var(--s-4); }
.footer__brand .brand__name span { color: var(--on-dark-muted); }
.footer__brand p { font-size: var(--fs-14); max-width: 38ch; }
.site-footer h2 { font: 600 var(--fs-14)/1.4 var(--font-body); color: var(--gold); margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; display: grid; gap: var(--s-2); font-size: var(--fs-14); }
.footer__notice { border-top: 1px solid var(--line-dark); padding: var(--s-5) 0; font-size: var(--fs-14); line-height: 1.6; }
.footer__notice p { max-width: 110ch; margin: 0; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: var(--s-5) 0 var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; font-size: var(--fs-14); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer__credit { margin: 0; padding: var(--s-4) 0 var(--s-5); border-top: 1px solid var(--line-dark); text-align: center; font-size: var(--fs-14); color: var(--on-dark-muted); }
.footer__credit a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Disclaimer dialog ---------- */
.disclaimer {
  width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  border: 0; border-top: 4px solid var(--gold); border-radius: var(--radius-m);
  padding: clamp(var(--s-5), 5vw, var(--s-7)); background: var(--paper); color: var(--navy);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.disclaimer::backdrop { background: rgba(11, 53, 39, .78); }
.disclaimer h2 { font-size: var(--fs-32); }
.disclaimer p, .disclaimer li { font-size: var(--fs-16); }
.disclaimer ul { padding-left: 1.2em; margin-bottom: var(--s-6); display: grid; gap: var(--s-2); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.center-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .drawer, .site-footer, .btn { display: none !important; }
  body { background: #fff; }
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 999px) {
  /* Practice pages: the "On this page" list moves below the content as a compact enquiry block */
  .practice-layout > .toc:not(.toc--keep) { display: none; } /* hero button + enquiry band cover this on small screens */
}
@media (max-width: 759px) {
  /* Keep the decorative arc away from the tags and text */
  .page-hero__arc { width: 300px; height: 300px; right: -170px; bottom: -190px; opacity: .6; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .tags li { font-size: var(--fs-12); padding: 5px 10px; }
}

/* ---------- Personal-service pages ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0; font-family: var(--font-display); font-size: var(--fs-20); line-height: 1.35; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-body); font-size: 1.5rem; line-height: 1; color: var(--gold-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.faq details p { margin: 0 0 var(--s-5); max-width: 70ch; color: var(--navy); }
.practice-link { color: var(--sage-text); margin: 0 0 var(--s-6); }
