/* Empower Law - site styles.
   Plain CSS, mobile-first. No framework, no build step.
   Typography: Inter (owner request 2026-12-03), self-hosted from assets/fonts/ (Google Fonts v20
   latin + latin-ext subsets, variable weight 400-800, upright and italic; SIL OFL 1.1, see
   assets/fonts/Inter-OFL.txt), with a system-font fallback stack in --el-font.
   Colour identity comes from the current site capture
   (01-SOURCES/DESIGN-ASSETS/HOME-COLOUR-REFERENCE-20261202.json and the 1440 px reference screenshot):
   navigation bar #101e33, hero #1a1a2d, accent yellow #ffce22, button blue #2563eb, hero accent #4f6fed.
   Accent rule (owner, 2026-12-03, t_6cd176d7):
   - Yellow --el-yellow is used ONLY for navigation: the navigation button (.site-nav__list .button--accent),
     main nav hover/current, the header utility top bar, footer Quick Menu, breadcrumb and the skip link.
   - The accent is exactly #4F6FED (--el-blue-accent): every button background (white text; hover/focus
     --el-blue-dark, as in the approved website.zip button baseline), icons, ticks, borders,
     card/form/sidebar accents, portrait frame, badge border, decorative lines, stars, statistics and the
     hero title accent.
   - Accent text is exact #4F6FED too, with no alternate blue (owner, t_285aef9f): links and link hovers,
     eyebrows, process numbers, aside headings, article dates, the footer badge text, and the
     non-navigation focus rings. The former contrast fallbacks (#2563eb / #9db0ff) are retired. */

/* ---------- Inter (self-hosted) ---------- */
/* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-normal.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;
}

/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-normal.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;
}

/* latin-ext italic */
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-italic.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;
}

/* latin italic */
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-italic.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;
}

:root {
  --el-navy: #101e33;
  --el-navy-deep: #0b1526;
  --el-hero: #1a1a2d;
  --el-yellow: #ffce22;
  --el-blue-dark: #1d4ed8;     /* button hover/focus only (website.zip button baseline) */
  --el-blue-accent: #4f6fed;   /* hero accent line colour on the current site: the site accent #4F6FED */
  --el-ink: #0f172a;
  --el-text: #3b4658;
  --el-muted: #5b6678;
  --el-muted-dark: #a7b3c6;
  --el-surface: #f4f7fb;
  --el-surface-2: #edeffa;
  --el-border: #dfe5ee;
  --el-white: #ffffff;
  --el-radius: 10px;
  --el-radius-lg: 18px;
  --el-shadow-sm: 0 1px 2px rgb(16 30 51 / 6%), 0 2px 6px rgb(16 30 51 / 5%);
  --el-shadow: 0 1px 2px rgb(16 30 51 / 6%), 0 12px 32px rgb(16 30 51 / 9%);
  --el-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --el-container: 74rem;
  --el-header-h: 4.5rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--el-header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--el-font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--el-text);
  background: var(--el-white);
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--el-ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.25rem, 3.6vw + 1.1rem, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 1.6vw + 1.15rem, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
  overflow-wrap: break-word;
}

a {
  color: var(--el-blue-accent);
  text-underline-offset: 0.18em;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

a:hover {
  color: var(--el-blue-accent);
}

/* Focus is always visible: a #4F6FED ring (>= 3.85:1 on every surface, above the 3:1 non-text minimum).
   Navigation keeps its yellow ring (.site-header, .topbar, footer nav, .breadcrumb, skip link). */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--el-blue-accent);
  outline-offset: 2px;
}

.is-dark a:focus-visible,
.is-dark button:focus-visible,
.is-dark input:focus-visible,
.is-dark select:focus-visible,
.is-dark textarea:focus-visible {
  outline-color: var(--el-blue-accent);
}

/* Skip link: a navigation aid styled as a yellow pill - stays yellow. */
.skip-link:focus-visible {
  outline-color: var(--el-yellow);
}

.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;
  top: -100px;
  left: 0.5rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: var(--el-radius);
  background: var(--el-yellow);
  color: var(--el-navy);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.5rem;
  color: var(--el-navy);
}

.container {
  width: 100%;
  max-width: var(--el-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--el-blue-accent);
  color: var(--el-white);
  box-shadow: 0 6px 18px rgb(79 111 237 / 28%);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--el-blue-dark);
  color: var(--el-white);
}

.button--accent {
  background: var(--el-blue-accent);
  color: var(--el-white);
  box-shadow: 0 6px 18px rgb(79 111 237 / 28%);
}

.button--accent:hover,
.button--accent:focus-visible {
  background: var(--el-blue-dark);
  color: var(--el-white);
}

.button--ghost {
  background: var(--el-blue-accent);
  border-color: var(--el-blue-accent);
  color: var(--el-white);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--el-blue-dark);
  border-color: var(--el-blue-dark);
  color: var(--el-white);
}

.button--outline {
  background: var(--el-blue-accent);
  border-color: var(--el-blue-accent);
  color: var(--el-white);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--el-blue-dark);
  border-color: var(--el-blue-dark);
  color: var(--el-white);
}

.button--block {
  width: 100%;
}

.button__icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--el-navy-deep);
  color: var(--el-muted-dark);
  font-size: 0.875rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.35rem 1.25rem;
}

.topbar p {
  margin: 0;
}

.topbar__promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.75rem;
  color: var(--el-white);
  font-weight: 600;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--el-white);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--el-yellow);
}

.topbar__promo a {
  color: var(--el-yellow);
  font-weight: 700;
  text-decoration: underline;
}

.topbar a:focus-visible {
  outline-color: var(--el-yellow);
}

.topbar__contact {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--el-navy);
  color: var(--el-white);
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  max-width: 80rem;
  min-height: var(--el-header-h);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.site-header__logo img {
  width: 150px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.9rem;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: var(--el-radius);
  background: transparent;
  color: var(--el-white);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -6px;
}

.menu-toggle__bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] {
  background: var(--el-white);
  color: var(--el-navy);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  flex-basis: 100%;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0.25rem 0 0.75rem;
  list-style: none;
}

.site-nav__list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.75rem;
  border-radius: var(--el-radius);
  color: var(--el-white);
  font-weight: 600;
  text-decoration: none;
}

.site-nav__list a:hover {
  background: rgb(255 255 255 / 7%);
  color: var(--el-yellow);
}

.site-nav__list a[aria-current="page"] {
  color: var(--el-yellow);
  box-shadow: inset 3px 0 0 var(--el-yellow);
}

.site-nav__list .button {
  width: 100%;
  margin-top: 0.5rem;
  color: var(--el-navy);
}

/* The navigation button is the one yellow button (owner): it keeps the original accent treatment. */
.site-nav__list .button--accent {
  background: var(--el-yellow);
  color: var(--el-navy);
  box-shadow: 0 6px 18px rgb(255 206 34 / 22%);
}

.site-nav__list .button--accent:focus-visible {
  background: #ffd94f;
  color: var(--el-navy);
}

.site-nav__list .button:hover {
  background: #ffd94f;
  color: var(--el-navy);
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline-color: var(--el-yellow);
}

/* The collapsed state exists only once main.js has run (progressive enhancement). */
.js-nav .site-nav {
  display: none;
}

.js-nav .site-nav.is-open {
  display: block;
}

@media (min-width: 640px) {
  .topbar__contact {
    display: flex;
  }
}

@media (min-width: 1080px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .site-header__logo img {
    width: 180px;
  }

  .menu-toggle {
    display: none !important;
  }

  .site-nav,
  .js-nav .site-nav {
    display: block;
    flex-basis: auto;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }

  .site-nav__list a {
    min-height: 44px;
    padding: 0 0.8rem;
    font-size: 0.975rem;
  }

  .site-nav__list a[aria-current="page"] {
    border-radius: 0;
    box-shadow: inset 0 -2px 0 var(--el-yellow);
  }

  .site-nav__list .button {
    width: auto;
    min-height: 44px;
    margin: 0 0 0 0.75rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    box-shadow: none;
  }

  .site-nav__list .button:hover {
    background: #ffd94f;
  }
}

/* ---------- Hero (keeps the current hero colour identity) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
  background-color: var(--el-hero);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgb(79 111 237 / 26%), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgb(79 111 237 / 8%), transparent 60%),
    linear-gradient(rgb(255 255 255 / 3.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3.5%) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  color: var(--el-muted-dark);
}

.hero h1 {
  color: var(--el-white);
}

.hero a:focus-visible,
.hero button:focus-visible {
  outline-color: var(--el-blue-accent);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: var(--el-blue-accent);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.hero__eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 2px;
  background: var(--el-blue-accent);
}

.hero__title-accent {
  display: block;
  color: var(--el-blue-accent);
}

.hero__panel {
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--el-radius-lg);
  background: rgb(255 255 255 / 4.5%);
  box-shadow: 0 24px 60px rgb(0 0 0 / 28%);
}

.hero__points {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--el-white);
  font-size: 1.075rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero__points li {
  position: relative;
  padding-left: 2.1rem;
}

.hero__points li::before {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--el-blue-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23101e33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

.hero__points .hero__points-accent {
  color: var(--el-blue-accent);
}

.hero__panel .actions {
  margin-top: 1.5rem;
}

/* Inner-page hero: same colours, shorter */
.hero--page {
  padding: 2.75rem 0 3rem;
}

.hero--page h1 {
  margin-bottom: 0.5rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--el-muted-dark);
}

.breadcrumb li + li::before {
  content: "/";
  color: rgb(255 255 255 / 40%);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--el-white);
}

.breadcrumb a:hover {
  color: var(--el-yellow);
}

.breadcrumb [aria-current="page"] {
  color: var(--el-yellow);
  font-weight: 600;
}

/* Breadcrumb is navigation: keeps the yellow focus ring. */
.breadcrumb a:focus-visible {
  outline-color: var(--el-yellow);
}

.hero--page .actions {
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .hero {
    padding: 5rem 0 5.5rem;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }

  .hero__panel {
    padding: 2rem;
  }

  .hero--page {
    padding: 3.75rem 0 4rem;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 4rem 0;
}

.section--surface {
  background: var(--el-surface);
}

.section--tint {
  background: linear-gradient(180deg, var(--el-surface-2), var(--el-white));
}

.section__head {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section__head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section__lead {
  color: var(--el-text);
  font-size: 1.125rem;
}

.section__foot {
  margin-top: 2.5rem;
  text-align: center;
}

.eyebrow {
  display: block;
  margin: 0 0 0.75rem;
  color: var(--el-blue-accent);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.subtitle {
  margin: 0;
  color: var(--el-muted);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.split--center {
  align-items: center;
}

.prose p {
  max-width: 68ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.lead-text {
  color: var(--el-ink);
  font-size: 1.2rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .section {
    padding: 5.5rem 0;
  }

  .split {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius-lg);
  background: var(--el-white);
  box-shadow: var(--el-shadow-sm);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--el-navy);
  color: var(--el-blue-accent);
}

.card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card--accent {
  border-top: 4px solid var(--el-blue-accent);
}

@media (min-width: 700px) {
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Feature list (About Us) */
.feature-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius-lg);
  background: var(--el-white);
  box-shadow: var(--el-shadow-sm);
}

.feature .card__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
}

.feature h3 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.feature p {
  margin: 0;
}

/* ---------- Steps (home) ---------- */
.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius-lg);
  background: var(--el-white);
  box-shadow: var(--el-shadow-sm);
}

.step__number {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
  border-radius: 12px;
  background: var(--el-navy);
  color: var(--el-blue-accent);
  font-size: 1.125rem;
  font-weight: 800;
}

.step h3 {
  font-size: 1.125rem;
}

.step p {
  margin: 0;
  font-size: 1rem;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Statistics ---------- */
.stats {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  padding: 1.75rem 1.5rem;
  border-radius: var(--el-radius-lg);
  background: var(--el-hero);
  text-align: center;
}

.stat p {
  margin: 0;
}

.stat__value {
  display: block;
  color: var(--el-blue-accent);
  font-size: clamp(2.25rem, 2vw + 1.5rem, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  color: var(--el-white);
  font-weight: 600;
}

.stat__label a {
  color: var(--el-white);
}

.stat__label a:hover {
  color: var(--el-blue-accent);
}

.stat a:focus-visible {
  outline-color: var(--el-blue-accent);
}

@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Practitioner / team ---------- */
.profile {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.profile__media {
  position: relative;
  z-index: 0;
  max-width: 22rem;
  margin-right: 1.25rem;
}

.profile__media::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  z-index: -1;
  border-radius: var(--el-radius-lg);
  background: var(--el-blue-accent);
}

.profile__media img {
  width: 100%;
  border-radius: var(--el-radius-lg);
  box-shadow: var(--el-shadow);
}

.profile__name {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--el-blue-accent);
  border-radius: var(--el-radius);
  background: var(--el-surface);
}

.profile__name h3 {
  margin: 0;
}

.profile__name p {
  margin: 0;
}

.quote {
  margin: 0;
  color: var(--el-ink);
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.3rem);
  font-weight: 500;
  line-height: 1.65;
}

@media (min-width: 900px) {
  .profile {
    grid-template-columns: minmax(0, 22rem) 1fr;
    gap: 5rem;
  }
}

/* ---------- Testimonials ---------- */
.reviews {
  columns: 1;
  column-gap: 1.25rem;
}

.review {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius-lg);
  background: var(--el-white);
  box-shadow: var(--el-shadow-sm);
  break-inside: avoid;
}

.review__stars {
  display: block;
  width: 5rem;
  height: 1rem;
  margin-bottom: 0.9rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%234f6fed' d='M10 1.5l2.6 5.5 6 .7-4.5 4.1 1.2 5.9L10 14.8 4.7 17.7l1.2-5.9L1.4 7.7l6-.7z'/%3E%3C/svg%3E") left center / 1rem repeat-x;
}

.review blockquote {
  margin: 0;
}

.review blockquote p {
  margin-bottom: 0.75rem;
  color: var(--el-ink);
  font-size: 1rem;
}

.review blockquote p:last-child {
  margin-bottom: 0;
}

.review__title {
  font-weight: 700;
}

.review__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.review__source {
  flex-basis: 100%;
  color: var(--el-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.review__name {
  color: var(--el-ink);
  font-size: 1rem;
  font-weight: 700;
}

.review__meta time {
  color: var(--el-muted);
}

@media (min-width: 700px) {
  .reviews {
    columns: 2;
  }
}

@media (min-width: 1100px) {
  .reviews {
    columns: 3;
  }
}

/* ---------- Article teasers ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--el-border);
  border-top: 4px solid var(--el-blue-accent);
  border-radius: var(--el-radius-lg);
  background: var(--el-white);
  box-shadow: var(--el-shadow-sm);
}

.post-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.post-card h3 a {
  color: var(--el-ink);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--el-blue-accent);
  text-decoration: underline;
}

.post-card time {
  color: var(--el-muted);
  font-size: 0.9rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.5rem;
  border-radius: var(--el-radius-lg);
  background-color: var(--el-hero);
  background-image:
    radial-gradient(36rem 20rem at 100% 0%, rgb(79 111 237 / 30%), transparent 60%),
    linear-gradient(rgb(255 255 255 / 3.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3.5%) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  color: var(--el-muted-dark);
}

.cta-band .eyebrow {
  color: var(--el-blue-accent);
}

.cta-band h2 {
  color: var(--el-white);
}

.cta-band p {
  max-width: 60ch;
  font-size: 1.075rem;
}

.cta-band a:focus-visible {
  outline-color: var(--el-blue-accent);
}

@media (min-width: 900px) {
  .cta-band {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 3rem;
    align-items: center;
    padding: 3.5rem;
  }

  .cta-band .actions {
    flex-direction: column;
    margin-top: 0;
  }
}

/* ---------- Forms (lead capture; local placeholder - nothing is sent) ---------- */
.form-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--el-border);
  border-top: 4px solid var(--el-blue-accent);
  border-radius: var(--el-radius-lg);
  background: var(--el-white);
  box-shadow: var(--el-shadow);
}

.form-card h2,
.form-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.5rem;
}

.form-card__intro {
  margin-bottom: 1.25rem;
  color: var(--el-text);
}

.enquiry-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.enquiry-form fieldset:disabled {
  opacity: 0.6;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--el-ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid #b9c3d3;
  border-radius: var(--el-radius);
  background: var(--el-white);
  color: var(--el-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #687285;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--el-blue-accent);
  box-shadow: 0 0 0 3px rgb(79 111 237 / 18%);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #b42318;
}

.field-row {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-note {
  margin: 0 0 1rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--el-radius);
  background: var(--el-surface-2);
  color: var(--el-navy);
  font-size: 0.925rem;
  font-weight: 700;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--el-blue-accent);
  border-radius: var(--el-radius);
  background: var(--el-surface-2);
  color: var(--el-ink);
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status a {
  font-weight: 700;
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ---------- FAQ ---------- */
.faq-group + .faq-group {
  margin-top: 3.5rem;
}

.faq-group > h2 {
  margin-bottom: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  background: var(--el-white);
  box-shadow: var(--el-shadow-sm);
}

.faq-item[open] {
  border-color: var(--el-blue-accent);
}

.faq-item summary {
  position: relative;
  display: block;
  min-height: 48px;
  padding: 1rem 3.25rem 1rem 1.25rem;
  color: var(--el-ink);
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--el-blue-accent);
  border-bottom: 2px solid var(--el-blue-accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item__answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-item__answer p {
  margin: 0;
}

.faq-aside {
  margin-top: 3rem;
}

.aside-card {
  margin-bottom: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--el-radius-lg);
  background: var(--el-navy);
  color: var(--el-muted-dark);
}

.aside-card .eyebrow {
  color: var(--el-blue-accent);
}

.aside-card h2 {
  color: var(--el-white);
  font-size: 1.5rem;
}

.aside-card h3 {
  color: var(--el-blue-accent);
  font-size: 1.05rem;
  text-transform: capitalize;
}

.aside-card p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1000px) {
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24rem;
    gap: 3.5rem;
    align-items: start;
  }

  .faq-aside {
    position: sticky;
    top: calc(var(--el-header-h) + 1.5rem);
    margin-top: 0;
  }
}

/* ---------- Contact ---------- */
.contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius);
  background: var(--el-white);
  overflow-wrap: anywhere;
}

.contact-list .card__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border-radius: 12px;
}

.contact-list .card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-list a {
  font-weight: 700;
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.25rem;
  font-weight: 700;
}

.touch-grid {
  display: grid;
  gap: 1.25rem;
}

.touch-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius-lg);
  background: var(--el-white);
  box-shadow: var(--el-shadow-sm);
}

.touch-card .card__icon {
  margin: 0;
}

.touch-card h3 {
  margin-bottom: 0.25rem;
  text-transform: capitalize;
}

.touch-card h3 a {
  color: var(--el-ink);
  text-decoration: none;
}

.touch-card h3 a:hover {
  color: var(--el-blue-accent);
  text-decoration: underline;
}

.touch-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 700px) {
  .touch-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--el-navy);
  color: var(--el-muted-dark);
  font-size: 0.975rem;
}

.site-footer a {
  color: var(--el-white);
}

.site-footer a:hover {
  color: var(--el-blue-accent);
}

/* Footer Quick Menu is navigation: keeps the yellow hover. */
.site-footer nav a:hover {
  color: var(--el-yellow);
}

.site-footer a:focus-visible,
.site-footer button:focus-visible,
.site-footer input:focus-visible {
  outline-color: var(--el-blue-accent);
}

.site-footer nav a:focus-visible {
  outline-color: var(--el-yellow);
}

.site-footer h2 {
  color: var(--el-white);
}

.footer-cta {
  background-color: var(--el-hero);
  background-image:
    radial-gradient(40rem 22rem at 0% 0%, rgb(79 111 237 / 20%), transparent 60%),
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.footer-cta__inner {
  display: grid;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-cta__brand > a {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-cta__brand img {
  width: 190px;
}

.footer-cta__brand h2 {
  font-size: 1.5rem;
}

.footer-cta__badge {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--el-blue-accent);
  border-radius: 999px;
  color: var(--el-blue-accent);
  font-size: 0.875rem;
  font-weight: 700;
}

.footer-cta__form {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--el-radius-lg);
  background: rgb(255 255 255 / 4.5%);
}

.footer-cta__form .eyebrow {
  color: var(--el-blue-accent);
}

.footer-cta__form h2 {
  font-size: clamp(1.5rem, 1vw + 1.15rem, 2rem);
}

.footer-cta__form .field label {
  color: var(--el-white);
}

.footer-cta__form .form-status {
  background: rgb(255 255 255 / 94%);
}

.footer-main {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.footer-heading {
  margin-bottom: 0.9rem;
  color: var(--el-white);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer-list {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-list .footer-list__text {
  padding: 0.45rem 0;
  line-height: 1.5;
}

.footer-list .footer-list__caps {
  padding: 0.45rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
}

.social-links a:hover {
  border-color: var(--el-blue-accent);
}

.social-links svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-cta__inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
  }

  .footer-main {
    grid-template-columns: 1fr 1.3fr 1.4fr 1fr;
  }
}

/* ---------- Article Library: /blog/ index and post pages ---------- */
.hero--article h1 {
  max-width: 56rem;
  font-size: clamp(1.875rem, 2.4vw + 1.1rem, 3rem);
}

.article__date {
  margin: 0 0 0.75rem;
  color: var(--el-blue-accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.article__body {
  max-width: 46rem;
}

.article__body > :first-child {
  margin-top: 0;
}

.article__body h2,
.article__body h3,
.article__body h4,
.article__body h5,
.article__body h6 {
  margin: 2rem 0 0.75rem;
  color: var(--el-ink);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.article__body h2 {
  font-size: clamp(1.5rem, 1vw + 1.2rem, 2rem);
}

.article__body h3 {
  font-size: 1.375rem;
}

.article__body h4 {
  font-size: 1.2rem;
}

.article__body h5,
.article__body h6 {
  font-size: 1.05rem;
}

.article__body ul,
.article__body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.article__body li {
  margin-bottom: 0.4rem;
  overflow-wrap: break-word;
}

.article__body li > p {
  margin-bottom: 0.4rem;
}

/* Source editor indentation wrapper around a nested list: no marker of its own. */
.article__body li.list-wrapper {
  list-style: none;
}

.article-cta {
  margin: 1.75rem 0;
}

.article-cta .button {
  white-space: normal;
}

/* Source call-to-action whose link had no destination: shown as text, not as a button. */
.article-cta__label {
  display: block;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--el-blue-accent);
  background: var(--el-surface);
  color: var(--el-ink);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.article-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius-lg);
  background: var(--el-white);
  box-shadow: var(--el-shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.article-card:hover,
.article-card:focus-within {
  border-color: var(--el-blue-accent);
  box-shadow: var(--el-shadow);
}

.article-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.article-card__title a {
  color: var(--el-ink);
  text-decoration: none;
}

/* The whole card is the link target; the title stays the only link (one tab stop per article). */
.article-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.article-card__title a:hover,
.article-card__title a:focus-visible {
  color: var(--el-blue-accent);
  text-decoration: underline;
}

.article-card__date {
  margin: 0 0 0.6rem;
  color: var(--el-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-card__excerpt {
  margin: 0;
  font-size: 0.975rem;
}

@media (min-width: 760px) {
  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .article-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 40vh;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Article amalgamation (t_16349339): labelled statutory excerpts carried from merged posts */
.article__excerpt {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid currentColor;
  background: rgba(16, 30, 51, 0.04);
  overflow-wrap: anywhere;
}
.article__excerpt figcaption {
  margin-bottom: 0.5rem;
}
.article__excerpt blockquote {
  margin: 0;
}
.article-library__count {
  margin: 0 0 1.5rem;
  font-weight: 600;
}

/* Keyword SEO stage (t_8fe319a8): authored "in this article" summary at the top of mapped articles */
.article__summary {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--el-blue-accent);
  background: rgba(16, 30, 51, 0.04);
  font-weight: 500;
  overflow-wrap: break-word;
}

/* Article sidebar (t_344e60eb): FAQ-style aside on every article page. Reuses .aside-card, .form-card,
   .contact-actions and .button; mirrors the .faq-layout / .faq-aside breakpoints. Only the contact card is
   sticky, and it is the last item in the aside, so it never overlaps the related links and always fits the
   viewport. Mobile: the aside follows the article in normal flow. */
.article-aside {
  margin-top: 3rem;
}

.article-aside__related {
  margin-bottom: 1.5rem;
}

.article-aside__related h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.article-aside__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-aside__links li + li {
  border-top: 1px solid var(--el-border);
}

.article-aside__links a {
  display: block;
  padding: 0.65rem 0;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.article-aside__contact h2 {
  font-size: 1.375rem;
}

.article-aside__actions {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.article-aside__actions .button {
  white-space: normal;
  text-align: center;
}

@media (min-width: 1000px) {
  .article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24rem;
    gap: 3.5rem;
    align-items: stretch;
  }

  .article-aside {
    margin-top: 0;
  }
}

@media (min-width: 1000px) and (min-height: 720px) {
  .article-aside__contact {
    position: sticky;
    top: calc(var(--el-header-h) + 1.5rem);
  }
}
