/* Sohail Law Group — sohaillaw.com
   World: the firm's own legal instrument. Deep navy chrome, warm paper reading ground,
   champagne-gold rules, EB Garamond throughout. Ruled index rows, not cards. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/ebgaramond-latin.88603384.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/ebgaramond-latin-italic.c664773f.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #152f50;
  --navy-2: #1b3a61;      /* raised navy surface */
  --navy-3: #0f2440;      /* deep navy shade */
  --ink: #253d5c;
  --slate: #7190a6;
  --gold: #d3c3aa;
  --gold-deep: #b9a684;      /* decorative rules/marks only */
  --gold-ink: #7d6a3e;       /* gold as TEXT on light grounds - AA at 4.95:1 on paper */
  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --white: #ffffff;
  --text-on-light: #253d5c;
  --muted-on-light: #51667f;
  --text-on-navy: #f4f1ea;
  --muted-on-navy: #b9c4d3;
  --line: rgba(37, 61, 92, 0.16);
  --line-strong: rgba(37, 61, 92, 0.34);
  --line-gold: rgba(211, 195, 170, 0.32);
  --serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --caps-ls: 0.18em;
  --focus-ring: var(--navy);
  /* Type ramp - the documented steps; see DESIGN.md typography */
  --text-display: clamp(2.6rem, 6.2vw, 4.6rem);
  --text-headline: clamp(2.4rem, 5.2vw, 3.8rem);
  --text-title: clamp(2rem, 4.2vw, 3rem);
  --text-6xl: 5rem;
  --text-5xl: 3.4rem;
  --text-4xl: 3.2rem;
  --text-3xl: 2.1rem;
  --text-2xl: 1.9rem;
  --text-xl: 1.75rem;
  --text-lg: 1.45rem;
  --text-ml: 1.32rem;
  --text-md: 1.25rem;
  --text-body: 1.1875rem;
  --text-base: 1.05rem;
  --text-sm: 0.95rem;
  --text-xs: 0.82rem;
  --text-2xs: 0.78rem;
  /* Fluid steps for headings that scale with the viewport */
  --text-fluid-hero: clamp(3rem, 8vw, 5rem);
  --text-fluid-article: clamp(2.1rem, 4.6vw, 3.3rem);
  --text-fluid-band: clamp(2rem, 4vw, 2.9rem);
  --text-fluid-feature: clamp(1.8rem, 3.4vw, 2.6rem);
  --text-fluid-section: clamp(1.7rem, 3vw, 2.2rem);
  --text-fluid-row: clamp(1.3rem, 2.4vw, 1.7rem);
  --text-fluid-lead: clamp(1.25rem, 2.2vw, 1.5rem);
  --shadow: 0 18px 40px -18px rgba(15, 36, 64, 0.35);
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Kill travel and looping motion, but keep colour/opacity state feedback
     so hover, focus and open/closed states still read. */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-property: color, background-color, border-color, outline-color,
      text-decoration-color, fill, stroke, opacity !important;
    transition-duration: 0.15s !important;
  }
  .post-teaser__img img, .svc-dir__text, .svc-dir__arrow, .svc-dir__layer, .aside-list a { transform: none !important; }
}
body {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--text-on-light);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
/* Navy-ground surfaces flip the ring to gold so it stays visible on both. */
.site-header, .site-footer, .hero, .process, .cta-band, .page-head,
.section--navy, .aside-panel, .notfound { --focus-ring: var(--gold); }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--gold); padding: 0.6rem 1rem;
  letter-spacing: var(--caps-ls); text-transform: uppercase; font-size: var(--text-xs); text-decoration: none;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.14; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

.caps {
  font-family: var(--serif);
  letter-spacing: var(--caps-ls);
  text-transform: uppercase;
  font-size: var(--text-xs);
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 1.9rem;
  font-family: var(--serif);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--caps-ls);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-align: center;
}
.btn--gold { background: var(--gold); color: var(--navy-3); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--ghost-gold:hover { background: rgba(211, 195, 170, 0.14); }
.btn--ghost-ink { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost-ink:hover { border-color: var(--ink); background: rgba(37, 61, 92, 0.05); }
.btn--navy { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-3); }

/* ---------- Text links ---------- */
.tlink {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-ink);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tlink:hover { color: var(--navy-3); border-bottom-color: var(--navy-3); }

/* ---------- Logo (client-provided artwork) ---------- */
.logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { display: block; width: auto; height: 60px; }
.logo-img--footer { height: 110px; }
@media (max-width: 980px) { .logo-img { height: 52px; } .logo-img--footer { height: 96px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(211, 195, 170, 0.22);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; min-height: 82px;
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { text-decoration: none; }
.site-nav__link {
  color: var(--text-on-navy);
  font-size: var(--text-xs); font-weight: 500;
  letter-spacing: var(--caps-ls); text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.site-nav__cta { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1180px) {
  .site-nav { gap: 1.3rem; }
  .site-nav__link, .nav-drop__btn { font-size: var(--text-2xs); }
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.site-nav__cta { margin-left: 0.5rem; padding: 0.78rem 1.4rem; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: none; border: none; cursor: pointer;
  color: var(--text-on-navy); font-family: var(--serif);
  font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--caps-ls); text-transform: uppercase;
  padding: 0.5rem 0; border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-drop__btn:hover, .nav-drop__btn[aria-expanded="true"] { color: var(--gold); }
.nav-drop__btn svg { transition: transform 0.2s ease; }
.nav-drop__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 0.6rem 0;
  display: none;
}
.nav-drop__menu.is-open { display: block; }
/* The menu sits 14px below the trigger. Without this bridge the pointer crosses
   dead space on its way down, mouseleave fires, and the menu closes before the
   cursor arrives. The bridge keeps the hover path continuous. */
.nav-drop__menu::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: -16px; height: 16px;
}
.nav-drop__menu a {
  display: block; padding: 0.62rem 1.5rem;
  font-size: var(--text-base); color: var(--ink); text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-drop__menu a:hover { background: var(--paper); color: var(--navy-3); }
.nav-drop__menu a + a { border-top: 1px solid rgba(37, 61, 92, 0.07); }
.nav-drop__all { font-weight: 600; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(211, 195, 170, 0.4);
  color: var(--gold); padding: 0.55rem 0.7rem; cursor: pointer;
}
.nav-toggle svg { display: block; }
@media (max-width: 980px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: 82px 0 0 0; z-index: 99;
    background: var(--navy-3);
    padding: 1.5rem var(--gutter) 3rem;
    overflow-y: auto;
  }
  .site-nav.is-open .site-nav__link,
  .site-nav.is-open .nav-drop__btn {
    display: block; width: 100%; text-align: left;
    font-size: var(--text-base); padding: 1.05rem 0;
    border-bottom: 1px solid rgba(211, 195, 170, 0.16);
  }
  .nav-drop { width: 100%; }
  .site-nav.is-open .nav-drop__menu {
    position: static; transform: none; min-width: 0;
    background: transparent; border: none; box-shadow: none; padding: 0 0 0.5rem 1rem;
  }
    .site-nav.is-open .nav-drop__menu::before { content: none; }
.site-nav.is-open .nav-drop__menu a { color: var(--muted-on-navy); padding: 0.55rem 0; border: none; }
  .site-nav.is-open .nav-drop__menu a:hover { background: transparent; color: var(--gold); }
  .site-nav.is-open .site-nav__cta { margin: 1.4rem 0 0; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--navy-3);
  color: var(--text-on-navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(100deg, rgba(15, 36, 64, 0.94) 32%, rgba(15, 36, 64, 0.55) 68%, rgba(15, 36, 64, 0.35)),
    url("/static/img/hero-scales.webp");
  background-size: cover;
  background-position: center right;
}
.hero__inner {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(5rem, 12vh, 9rem) clamp(6rem, 14vh, 10rem);
}
.hero h1 {
  font-size: var(--text-display);
  font-weight: 500;
  max-width: 27ch;
  color: var(--white);
  text-wrap: wrap; /* manual <br> breaks; balance mis-wraps around br on some Chrome builds */
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__rule {
  width: 110px; height: 2px; background: var(--gold);
  margin: 2rem 0 1.6rem;
  transform-origin: left center;
}
.hero__sub { font-size: var(--text-fluid-lead); max-width: 44ch; color: var(--muted-on-navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__foot {
  position: relative;
  border-top: 1px solid rgba(211, 195, 170, 0.25);
  background: rgba(15, 36, 64, 0.6);
  backdrop-filter: blur(3px);
}
.hero__foot-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2.5rem;
  padding-block: 1.05rem;
  color: var(--muted-on-navy);
  font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase;
}
.hero__foot-inner strong { color: var(--gold); font-weight: 600; }
.hero__foot-sep { width: 4px; height: 4px; background: var(--gold-deep); border-radius: 50%; }
@media (max-width: 720px) {
  .hero__bg { background-image: linear-gradient(160deg, rgba(15, 36, 64, 0.93), rgba(15, 36, 64, 0.72)), url("/static/img/hero-scales-sm.webp"); background-position: center; }
  .hero__foot-inner { gap: 0.5rem 1.4rem; font-size: var(--text-2xs); }
  .hero__foot-sep { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--navy { background: var(--navy); color: var(--text-on-navy); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-size: var(--text-title);
  color: var(--navy);
}
.section--navy .section-head h2 { color: var(--white); }
.section-head p { margin-top: 1.1rem; font-size: var(--text-md); color: var(--muted-on-light); }
.section--navy .section-head p { color: var(--muted-on-navy); }
.section-head--center { margin-inline: auto; text-align: center; }
.gold-rule { width: 72px; height: 2px; background: var(--gold-deep); border: none; margin: 1.4rem 0 0; }
.section-head--center .gold-rule { margin-inline: auto; }
.section--navy .gold-rule { background: var(--gold); }

/* ---------- Home: about spread ---------- */
.spread { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.spread--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .spread, .spread--flip { grid-template-columns: 1fr; } }
.spread__media { position: relative; }
.spread__media img { width: 100%; box-shadow: var(--shadow); }
.spread__media::after {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--line-gold); z-index: -1;
}
.lede { font-size: var(--text-fluid-row); line-height: 1.45; color: var(--navy); }
.mv { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.mv__item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 132px 1fr; gap: 1.5rem; }
.mv__item dt { color: var(--navy); font-weight: 600; font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase; padding-top: 0.35rem; }
.mv__item dd { margin: 0; color: var(--muted-on-light); font-size: var(--text-base); }
@media (max-width: 560px) { .mv__item { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------- Practice directory ----------
   A scannable list paired with a large photograph that follows the row being
   explored. The same markup collapses to image rows on narrow screens, where
   the preview is dropped and each row carries its own thumbnail. */
.svc-dir {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5.5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.svc-dir__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }

.svc-dir__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.3s ease;
}
/* Gold marker that grows in on the active row */
.svc-dir__row::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px;
  background: var(--gold-ink);
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-dir__row.is-active { background: linear-gradient(90deg, rgba(211, 195, 170, 0.16), transparent 78%); }
.svc-dir__row.is-active::before { transform: scaleY(1); }

.svc-dir__thumb { display: none; }
.svc-dir__text { display: block; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.svc-dir__row.is-active .svc-dir__text { transform: translateX(0.9rem); }

.svc-dir__name {
  display: block;
  font-size: var(--text-fluid-row);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.25s ease;
}
.svc-dir__row.is-active .svc-dir__name { color: var(--gold-ink); }
.svc-dir__desc {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted-on-light);
  font-size: var(--text-base);
  line-height: 1.5;
  max-width: 46ch;
}
.svc-dir__arrow {
  color: var(--gold-ink);
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}
.svc-dir__row.is-active .svc-dir__arrow { transform: translateX(6px); color: var(--navy); }

/* The preview: stacked photographs cross-fading behind a navy scrim, framed by
   an offset gold hairline so it reads as a plate rather than a floating card. */
.svc-dir__preview {
  position: relative;
  aspect-ratio: 3 / 4;
  position: sticky;
  top: 106px;
  overflow: hidden;
  background: var(--navy-3);
  box-shadow: var(--shadow);
}
.svc-dir__preview::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(211, 195, 170, 0.45);
  margin: 0.9rem;
  pointer-events: none;
  z-index: 3;
}
.svc-dir__layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.65s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-dir__layer.is-active { opacity: 1; transform: scale(1); }
.svc-dir__layer::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 36, 64, 0.92) 4%, rgba(15, 36, 64, 0.36) 46%, rgba(15, 36, 64, 0.12));
}
.svc-dir__label {
  position: absolute; left: 2.1rem; right: 2.1rem; bottom: 2rem;
  z-index: 2;
  color: var(--gold);
  font-size: var(--text-xs);
  letter-spacing: var(--caps-ls);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.5;
}
.svc-dir__label::before {
  content: ""; display: block; width: 46px; height: 2px;
  background: var(--gold); margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .svc-dir { grid-template-columns: 1fr; }
  .svc-dir__preview { display: none; }
  .svc-dir__row {
    grid-template-columns: 92px 1fr auto;
    gap: 1.1rem;
    padding: 1.15rem 0.25rem;
  }
  .svc-dir__thumb {
    display: block;
    width: 92px; height: 92px;
    object-fit: cover;
    align-self: start;
  }
  /* Touch has no hover, so every row reads at full strength. */
  .svc-dir__row.is-active { background: none; }
  .svc-dir__row.is-active .svc-dir__text { transform: none; }
  .svc-dir__row.is-active .svc-dir__name { color: var(--navy); }
  /* No pointer to follow on touch, so no row is singled out. */
  .svc-dir__row::before, .svc-dir__row.is-active::before { display: none; }
}
@media (max-width: 520px) {
  .svc-dir__row { grid-template-columns: 72px 1fr; }
  .svc-dir__thumb { width: 72px; height: 72px; }
  .svc-dir__arrow { display: none; }
}

.index-close { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.index-close p { font-size: var(--text-md); color: var(--navy); font-style: italic; max-width: 46ch; }

/* ---------- Process (navy band) ---------- */
.process { background: var(--navy); position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(21, 47, 80, 0.92), rgba(21, 47, 80, 0.97)), url("/static/img/columns.webp");
  background-size: cover; background-position: center;
}
.process > .container { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid rgba(211, 195, 170, 0.25); }
.steps__item { padding: 0.4rem 1.8rem 0.6rem; border-right: 1px solid rgba(211, 195, 170, 0.25); }
.steps__n {
  font-size: var(--text-4xl); line-height: 1; color: var(--gold);
  font-weight: 400; font-variant-numeric: oldstyle-nums;
}
.steps__item h3 { color: var(--white); font-size: var(--text-ml); margin: 1.1rem 0 0.7rem; }
.steps__item p { color: var(--muted-on-navy); font-size: var(--text-base); }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(211, 195, 170, 0.25); }
  .steps__item { padding-block: 1.6rem; border-bottom: 1px solid rgba(211, 195, 170, 0.25); }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes-wrap { position: relative; }
.quotes {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(560px, 82vw);
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  scroll-snap-align: start;
  padding: 0.5rem clamp(1.75rem, 4vw, 3.25rem);
  border-left: 1px solid var(--line);
  margin: 0;
}
.quote:first-child { border-left: none; padding-left: 0.25rem; }
.quote__mark { font-size: var(--text-5xl); line-height: 0.6; color: var(--gold-deep); font-style: italic; display: block; margin-bottom: 1.4rem; }
.quote p { font-size: var(--text-body); line-height: 1.6; color: var(--ink); font-style: italic; }
.quote footer { margin-top: 1.3rem; font-style: normal; color: var(--navy); font-weight: 600; font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase; }
.quotes-nav { display: flex; gap: 0.6rem; margin-top: 2rem; }
.quotes-nav button {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink); cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.quotes-nav button:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* ---------- Blog teasers / listing ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; max-width: 560px; } }
.post-teaser { text-decoration: none; display: block; }
.post-teaser__img { overflow: hidden; }
.post-teaser__img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform 0.5s ease; }
.post-teaser:hover .post-teaser__img img { transform: scale(1.035); }
.post-teaser__meta { display: flex; gap: 1rem; align-items: baseline; margin: 1.3rem 0 0.6rem; color: var(--muted-on-light); font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase; }
.post-teaser__meta .cat { color: var(--gold-ink); font-weight: 600; }
.post-teaser h3 { font-size: var(--text-lg); color: var(--navy); line-height: 1.28; transition: color 0.2s ease; }
.post-teaser:hover h3 { color: var(--gold-ink); }
.post-teaser p { margin-top: 0.7rem; color: var(--muted-on-light); font-size: var(--text-base); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-3); color: var(--text-on-navy); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(100deg, rgba(15, 36, 64, 0.96) 30%, rgba(15, 36, 64, 0.78)), url("/static/img/gavel-dark.webp");
  background-size: cover; background-position: center 30%;
}
.cta-band > .container { position: relative; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: var(--text-fluid-band); color: var(--white); }
.cta-band p { margin-top: 1rem; color: var(--muted-on-navy); font-size: var(--text-body); max-width: 48ch; }
.cta-band__panel { border: 1px solid rgba(211, 195, 170, 0.35); padding: clamp(1.75rem, 3.5vw, 2.5rem); background: rgba(21, 47, 80, 0.55); backdrop-filter: blur(4px); }
.cta-band__panel .btn { width: 100%; margin-top: 1.4rem; }
.cta-line { display: flex; align-items: baseline; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(211, 195, 170, 0.18); }
.cta-line:last-of-type { border-bottom: none; }
.cta-line .caps { color: var(--muted-on-navy); min-width: 64px; }
.cta-line a { color: var(--white); text-decoration: none; font-size: var(--text-md); }
.cta-line a:hover { color: var(--gold); }

/* ---------- Offices ---------- */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr; } }
.office { padding: 2.2rem clamp(1.25rem, 2.5vw, 2.25rem); border-left: 1px solid var(--line); }
.office:first-child { border-left: none; padding-left: 0.25rem; }
@media (max-width: 860px) {
  .office { border-left: none; border-top: 1px solid var(--line); padding-inline: 0.25rem; }
  .office:first-child { border-top: none; }
}
.office h3 { font-size: var(--text-lg); color: var(--navy); }
.office h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.office h3 a:hover, .office h3 a[aria-current="page"] { color: var(--navy-3); border-bottom-color: var(--gold-deep); }
.office address { font-style: normal; margin: 0.9rem 0 1.2rem; color: var(--muted-on-light); font-size: var(--text-base); line-height: 1.55; }
.office .tlink { font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase; }

/* ---------- Skyline band ---------- */
.skyline {
  height: clamp(220px, 34vw, 420px);
  background-image: linear-gradient(rgba(15, 36, 64, 0.45), rgba(15, 36, 64, 0.62)), url("/static/img/toronto.webp");
  background-size: cover; background-position: center;
}

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--navy); color: var(--text-on-navy); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(100deg, rgba(21, 47, 80, 0.97) 40%, rgba(21, 47, 80, 0.82)), url("/static/img/columns.webp");
  background-size: cover; background-position: center;
}
.page-head > .container { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; margin-bottom: 1.4rem; font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase; color: var(--muted-on-navy); }
.crumbs a { color: var(--muted-on-navy); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: var(--gold-deep); }
.crumbs [aria-current] { color: var(--gold); }
.page-head h1 { font-size: var(--text-headline); color: var(--white); max-width: 20ch; }
.page-head__sub { margin-top: 1.2rem; font-size: var(--text-md); color: var(--muted-on-navy); max-width: 56ch; }

/* ---------- Service layout ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 980px) { .svc-layout { grid-template-columns: 1fr; } }
.svc-intro { font-size: var(--text-fluid-lead); line-height: 1.5; color: var(--navy); }
.svc-figure { margin: 2.5rem 0 0; }
.svc-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; box-shadow: var(--shadow); }
.loc-map { margin: 2.5rem 0 0; aspect-ratio: 16 / 9; overflow: hidden; box-shadow: var(--shadow); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.svc-area { margin-top: clamp(3rem, 6vw, 4.5rem); }
.svc-area h2 { font-size: var(--text-fluid-section); color: var(--navy); padding-bottom: 1rem; border-bottom: 1px solid var(--line-strong); }
.svc-area h2::after { content: none; }
.svc-area > p { margin-top: 1.4rem; color: var(--muted-on-light); }
.svc-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 620px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.78rem 0.25rem; border-bottom: 1px solid var(--line);
  font-size: var(--text-base); color: var(--ink);
}
.svc-list li::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px;
  background: var(--gold-deep); transform: rotate(45deg);
}

/* Sidebar */
.svc-aside { position: sticky; top: 106px; display: grid; gap: 2rem; }
.aside-panel { background: var(--navy); color: var(--text-on-navy); padding: 2rem 1.75rem; }
.aside-panel h2 { color: var(--white); font-size: var(--text-lg); }
.aside-panel p { color: var(--muted-on-navy); font-size: var(--text-base); margin-top: 0.8rem; }
.aside-panel .cta-line a { font-size: var(--text-body); }
.aside-panel .btn { width: 100%; margin-top: 1.3rem; }
.aside-list { border: 1px solid var(--line); padding: 1.75rem; background: var(--white); }
.aside-list h2 { font-size: var(--text-base); color: var(--navy); letter-spacing: var(--caps-ls); text-transform: uppercase; font-weight: 600; }
.aside-list ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.aside-list li { border-top: 1px solid rgba(37, 61, 92, 0.09); }
.aside-list li:first-child { border-top: none; }
.aside-list a { display: block; padding: 0.68rem 0; text-decoration: none; color: var(--muted-on-light); font-size: var(--text-base); transition: color 0.15s ease, transform 0.2s ease; }
.aside-list a:hover { color: var(--navy); transform: translateX(0.4rem); }
.aside-list a[aria-current="page"] { color: var(--gold-ink); font-weight: 600; }
.aside-locations { margin-top: 1.5rem; font-size: var(--text-sm); color: var(--muted-on-light); letter-spacing: var(--caps-ls); text-transform: uppercase; }
.aside-locations a { color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid transparent; }
.aside-locations a:hover { border-bottom-color: var(--gold-ink); }

/* FAQ */
.faq { margin-top: clamp(3rem, 6vw, 4.5rem); }
.faq h2 { font-size: var(--text-fluid-section); color: var(--navy); margin-bottom: 1.5rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.3rem 0.25rem;
  font-size: var(--text-md); color: var(--navy); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__icon { flex: 0 0 auto; color: var(--gold-ink); transition: transform 0.25s ease; }
.faq details[open] summary .faq__icon { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0.25rem 1.5rem; color: var(--muted-on-light); max-width: 68ch; }

/* ---------- Team ---------- */
.person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.person:first-of-type { border-top: none; padding-top: 0; }
@media (max-width: 820px) { .person { grid-template-columns: 1fr; max-width: 560px; } }
.person__photo img { width: 100%; box-shadow: var(--shadow); }
.person__mono {
  aspect-ratio: 4 / 5; display: grid; place-items: center;
  background: var(--navy);
  border: 1px solid var(--line-gold);
}
.person__mono span { font-size: var(--text-6xl); color: var(--gold); letter-spacing: 0.2em; padding-left: 0.2em; }
.person__body h3 { font-size: var(--text-fluid-section); color: var(--navy); }
.person__role { margin: 0.5rem 0 0; color: var(--gold-ink); font-weight: 600; font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase; }
.person__body .bio { margin-top: 1.4rem; color: var(--muted-on-light); }
.person__mail { margin-top: 1.2rem; display: inline-block; }

/* ---------- Values / partners (ruled definition columns) ---------- */
.def-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line-strong); }
@media (max-width: 760px) { .def-grid { grid-template-columns: 1fr; } }
.def { padding: 1.75rem 0.25rem; border-bottom: 1px solid var(--line); }
.def h3 { font-size: var(--text-ml); color: var(--navy); }
.def p { margin-top: 0.6rem; color: var(--muted-on-light); font-size: var(--text-base); }
.def .def__role { color: var(--gold-ink); display: block; margin-top: 0.5rem; }

/* ---------- Stats line ---------- */
.stat-line { display: flex; flex-wrap: wrap; gap: 1rem 3.5rem; margin-top: 2.4rem; }
.stat-line .stat b { font-size: var(--text-3xl); font-weight: 500; color: var(--navy); line-height: 1; font-variant-numeric: oldstyle-nums; }
.stat-line .stat span { display: block; margin-top: 0.35rem; color: var(--muted-on-light); font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: var(--text-2xl); color: var(--navy); }
.info-rows { margin-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.info-row { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.info-row .caps { color: var(--gold-ink); }
.info-row a { text-decoration: none; color: var(--ink); font-size: var(--text-body); }
.info-row a:hover { color: var(--navy-3); text-decoration: underline; text-decoration-color: var(--gold-ink); }
.info-row p { font-size: var(--text-base); color: var(--ink); }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; font-size: var(--text-base); color: var(--ink); }
.hours div span:last-child { color: var(--muted-on-light); }

.form-panel { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow); }
.form-panel h2 { font-size: var(--text-2xl); color: var(--navy); }
.form-panel > p { margin-top: 0.7rem; color: var(--muted-on-light); font-size: var(--text-base); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--text-xs); letter-spacing: var(--caps-ls); text-transform: uppercase; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--serif); font-size: var(--text-base); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.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(211, 195, 170, 0.3);
}
.field input::placeholder, .field textarea::placeholder { color: #56677f; font-style: italic; }
.field .req { color: var(--gold-ink); font-weight: 700; }
.form-req-note { margin-top: 0.6rem; font-size: var(--text-sm); color: var(--muted-on-light); }
.form-panel .btn { margin-top: 1.8rem; }
.form-note { margin-top: 1.1rem; font-size: var(--text-sm); color: var(--muted-on-light); font-style: italic; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article-head { text-align: center; max-width: 820px; margin-inline: auto; }
.article-head .post-teaser__meta { justify-content: center; margin: 0 0 1.2rem; }
.article-head h1 { font-size: var(--text-fluid-article); color: var(--navy); }
.article-cover { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 980px; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; box-shadow: var(--shadow); }
.article h2 { font-size: var(--text-xl); color: var(--navy); margin: 2.4rem 0 1rem; }
.article p { color: var(--ink); }
.article p a { color: var(--gold-ink); text-decoration: underline; text-decoration-color: var(--line-gold); text-underline-offset: 2px; }
.article p a:hover { color: var(--navy-3); text-decoration-color: var(--gold-ink); }
.article > p:first-of-type::first-letter {
  font-size: 3.4em; float: left; line-height: 0.82;
  padding: 0.08em 0.12em 0 0; color: var(--navy); font-weight: 500;
}
.article-foot { max-width: 760px; margin: 3.5rem auto 0; border-top: 1px solid var(--line-strong); padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.article-foot p { font-style: italic; color: var(--muted-on-light); margin: 0; }

/* Featured post row (blog index) */
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; text-decoration: none; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } }
.post-feature .post-teaser__img img { aspect-ratio: 16 / 10; }
.post-feature h2 { font-size: var(--text-fluid-feature); color: var(--navy); line-height: 1.2; transition: color 0.2s ease; }
.post-feature:hover h2 { color: var(--gold-ink); }
.post-feature p { margin-top: 1rem; color: var(--muted-on-light); font-size: var(--text-body); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: var(--muted-on-navy); }
.site-footer a { color: var(--muted-on-navy); text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--gold); }
.footer-main { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 1.5rem; font-size: var(--text-base); max-width: 34ch; }
.footer-col h2 { color: var(--gold); font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--caps-ls); text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 0.3rem 0; font-size: var(--text-base); }
.footer-col address { font-style: normal; font-size: var(--text-base); line-height: 1.6; }
.footer-col .hours div {
  color: var(--muted-on-navy); font-size: var(--text-sm);
  flex-direction: column; align-items: flex-start; gap: 0; padding: 0.4rem 0;
}
.footer-col .hours div span { white-space: nowrap; }
.footer-col .hours div span:last-child { color: var(--slate); }
.footer-bottom { border-top: 1px solid rgba(211, 195, 170, 0.16); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: var(--text-sm); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; background: var(--navy); color: var(--text-on-navy); padding-block: 5rem; }
.notfound h1 { font-size: var(--text-fluid-hero); color: var(--white); }
.notfound p { color: var(--muted-on-navy); font-size: var(--text-md); margin-top: 1rem; }

/* ---------- Reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
  .hero__rule { transform: scaleX(0); }
  .hero.is-loaded .hero__rule { transform: scaleX(1); transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s; }
  .hero__copy > * { opacity: 0; transform: translateY(18px); }
  .hero.is-loaded .hero__copy > * { opacity: 1; transform: none; transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .hero.is-loaded .hero__copy > *:nth-child(2) { transition-delay: 0.12s; }
  .hero.is-loaded .hero__copy > *:nth-child(3) { transition-delay: 0.2s; }
  .hero.is-loaded .hero__copy > *:nth-child(4) { transition-delay: 0.3s; }
}

/* ---------- Touch targets ----------
   WCAG 2.5.8. Inline links keep their visual size and gain an invisible
   hit area; list links grow their box. Applied on coarse pointers and
   narrow viewports only, so desktop density is unchanged. */
@media (pointer: coarse), (max-width: 980px) {
  .tlink, .info-row a, .crumbs a, .article-foot a:not(.btn) { position: relative; }
  .tlink::after, .info-row a::after, .crumbs a::after {
    content: ""; position: absolute; left: 0; right: 0;
    top: 50%; transform: translateY(-50%); height: 44px;
  }
  .footer-col li { padding: 0; }
  .footer-col li a { display: flex; align-items: center; min-height: 44px; }
  .footer-col address a { display: inline-flex; align-items: center; min-height: 44px; }
  .aside-list a { padding: 0.95rem 0; }
  .nav-drop__menu a { padding-block: 0.85rem; }
  .quotes-nav button { width: 48px; height: 48px; }
  .nav-toggle { min-height: 44px; min-width: 44px; }
  .skip-link { padding-block: 0.85rem; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .quotes-nav, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
