/* ==========================================================================
   828 Consults Ltd — corporate design system
   --------------------------------------------------------------------------
   Follows professional-services web standards: a five-item mega-menu header,
   an editorial grid with a constrained reading measure, sans-for-UI with a
   serif editorial accent, arrow-link card CTAs, and a WCAG 2.2 AA colour and
   focus model. The palette is original to 828 Consults.
   Breakpoints: 480 / 768 / 1024 / 1280 / 1600.
   ========================================================================== */

/* ----------------------------------------------------------------- tokens */
:root {
  /* Brand — deep navy and turquoise from the supplied logo */
  --c-brand-900: #003040;
  --c-brand-800: #06495B;
  --c-brand-700: #007080;
  --c-brand-600: #008E9C;
  --c-brand-500: #00A0B0;
  --c-brand-100: #DDF3F4;
  --c-brand-050: #F1FAFA;

  --c-gold-700: #007783;
  --c-gold-600: #00A0B0;
  --c-gold-100: #E5F7F7;

  /* Neutrals */
  --c-ink: #0F1720;
  --c-ink-2: #2B343D;
  --c-grey-600: #525E6B;
  --c-grey-500: #6E7A87;
  --c-grey-400: #97A1AC;
  --c-grey-300: #C9D1D8;
  --c-grey-200: #E2E7EB;
  --c-grey-100: #EFF2F4;
  --c-grey-050: #F7F9FA;
  --c-white: #FFFFFF;

  /* Status */
  --c-ok: #1A6B4A;
  --c-warn: #8A5E16;
  --c-err: #A42A1E;

  /* Type: system stacks so the site renders correctly offline */
  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
            Helvetica, Arial, sans-serif;
  --f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
             "Times New Roman", serif;

  /* Layout */
  --container: 1280px;
  --measure: 68ch;
  --gutter: 24px;
  --pad-x: 24px;

  /* Elevation and motion */
  --shadow-1: 0 1px 2px rgba(15, 23, 32, .06), 0 2px 8px rgba(15, 23, 32, .05);
  --shadow-2: 0 2px 6px rgba(15, 23, 32, .08), 0 12px 32px rgba(15, 23, 32, .10);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --t-fast: 140ms;
  --t-mid: 240ms;

  --header-h: 72px;
}

@media (min-width: 1600px) {
  :root { --container: 1440px; }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink-2);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* --------------------------------------------------------------- headings */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--c-ink);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.2;
}

h1, .h1 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3rem); line-height: 1.12; }
h2, .h2 { font-size: clamp(1.625rem, 1.25rem + 1.3vw, 2rem); line-height: 1.2; }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.3; }
h4, .h4 { font-size: 1.125rem; line-height: 1.4; }
h5, .h5 { font-size: 1rem; line-height: 1.45; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 3.75rem);
  line-height: 1.07;
  letter-spacing: -.022em;
}

.editorial {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -.01em;
}

.lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--c-grey-600);
}

.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-brand-600);
}
.eyebrow--light { color: var(--c-brand-100); }
.eyebrow--gold { color: var(--c-gold-600); }

.muted { color: var(--c-grey-500); }
.small { font-size: .875rem; line-height: 1.5; }
.micro { font-size: .8125rem; line-height: 1.45; }

/* ------------------------------------------------------------------ links */
a { color: var(--c-brand-700); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--c-brand-900); }

:focus-visible {
  outline: 3px solid var(--c-brand-600);
  outline-offset: 2px;
  border-radius: 1px;
}
.on-dark :focus-visible,
.site-footer :focus-visible { outline-color: #8FD3DB; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 200;
  padding: 14px 20px;
  background: var(--c-brand-900);
  color: var(--c-white);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--t-fast) ease;
}
.skip-link:focus { top: 16px; color: var(--c-white); }

/* The arrow link is the standard card and section CTA. */
.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  font-weight: 600;
  text-decoration: none;
  color: var(--c-brand-700);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.arrow-link::after {
  content: "\2192";
  font-weight: 400;
  transition: transform var(--t-fast) var(--ease);
}
.arrow-link:hover { color: var(--c-brand-900); border-bottom-color: currentColor; }
.arrow-link:hover::after { transform: translateX(4px); }
.arrow-link--light { color: var(--c-white); }
.arrow-link--light:hover { color: var(--c-brand-100); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast) ease, color var(--t-fast) ease,
              border-color var(--t-fast) ease;
}
.btn--primary { background: var(--c-brand-700); color: var(--c-white); }
.btn--primary:hover { background: var(--c-brand-900); color: var(--c-white); }
.btn--secondary { background: transparent; color: var(--c-brand-700); border-color: var(--c-brand-700); }
.btn--secondary:hover { background: var(--c-brand-050); color: var(--c-brand-900); }
.btn--ghost-light { background: transparent; color: var(--c-white); border-color: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--c-white); border-color: #fff; }
.btn--light { background: var(--c-white); color: var(--c-brand-900); }
.btn--light:hover { background: var(--c-brand-100); color: var(--c-brand-900); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }

/* ----------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: 920px; }

.section { padding-block: clamp(48px, 6vw, 88px); }
.section--tight { padding-block: clamp(36px, 4vw, 56px); }
.section--grey { background: var(--c-grey-050); }
.section--brand-050 { background: var(--c-brand-050); }

.section--ink,
.section--brand {
  background: var(--c-brand-900);
  color: #D9E6E8;
}
.section--brand { background: var(--c-brand-800); }
.section--ink { background: var(--c-ink); }
.section--ink h1, .section--ink h2, .section--ink h3,
.section--brand h1, .section--brand h2, .section--brand h3 { color: var(--c-white); }

.rule { height: 1px; border: 0; margin: 0; background: var(--c-grey-200); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.section-head--split > div { max-width: 720px; }

.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-grey-200);
  transition: box-shadow var(--t-fast) ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-1); }

.utility-bar {
  background: var(--c-brand-900);
  color: #BFD6D9;
  font-size: .8125rem;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.utility-bar a { color: #DCEAEC; text-decoration: none; }
.utility-bar a:hover { color: var(--c-white); text-decoration: underline; }
.utility-bar__links { display: flex; align-items: center; gap: 22px; }
@media (max-width: 767px) { .utility-bar { display: none; } }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* The supplied 828 Consults lockup is shared by the site and stationery. */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__image { display: block; width: 220px; max-height: 64px; object-fit: contain; }
.logo__image--footer { width: 220px; padding: 4px 6px; background: #FFFFFF; border-radius: 2px; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--c-brand-700);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  border-radius: var(--radius);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-size: 1.1875rem; font-weight: 700; color: var(--c-ink); letter-spacing: -.01em; }
.logo__tag { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-grey-500); }

.brand-digits {
  display: inline-flex;
  align-items: baseline;
  gap: .025em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-digits__two {
  font-size: .72em;
  font-weight: inherit;
  font-style: normal;
  transform: translateY(.24em);
  color: inherit;
}
.logo__mark .brand-digits { font-size: 1.25em; }
.logo__name .brand-digits__two { color: #007783; }
.logo__mark .brand-digits__two,
.footer-brand .brand-digits__two,
.person__photo .brand-digits__two { color: #8FE1DD; }
.person__photo .brand-digits { font-size: 2.25rem; color: var(--c-white); }

/* ----------------------------------------------------------- primary nav */
.nav { display: flex; align-items: center; gap: 4px; }
@media (max-width: 1023px) { .nav { display: none; } }

.nav__item { position: relative; }

.nav__link,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  min-height: 44px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav__link:hover,
.nav__trigger:hover { color: var(--c-brand-700); border-bottom-color: var(--c-brand-500); }
.nav__link.is-current,
.nav__trigger.is-current { color: var(--c-brand-700); border-bottom-color: var(--c-brand-700); }
.nav__trigger[aria-expanded="true"] { color: var(--c-brand-700); border-bottom-color: var(--c-brand-700); }

.nav__caret { width: 9px; height: 9px; flex: none; transition: transform var(--t-fast) ease; }
.nav__trigger[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Small screens: the header reduces to the logo and the menu
   button. The call to action lives in the drawer instead. */
@media (max-width: 767px) {
  .header-bar { gap: 12px; min-height: 64px; }
  .logo { gap: 10px; min-width: 0; }
  .logo__image { width: 148px; max-height: 48px; }
  .logo__image--footer { width: 220px; max-height: 64px; }
  .logo__mark { width: 38px; height: 38px; font-size: .9375rem; }
  .logo__name { font-size: 1.0625rem; white-space: nowrap; }
  .logo__tag { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { padding: 8px 12px; }
}

/* ------------------------------------------------------------- mega menu */
.mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 90;
  width: min(860px, calc(100vw - 48px));
  padding: 32px;
  background: var(--c-white);
  border: 1px solid var(--c-grey-200);
  border-top: 3px solid var(--c-brand-700);
  box-shadow: var(--shadow-2);
}
.nav__item:nth-last-child(-n+2) .mega { left: auto; right: 0; }
.mega[hidden] { display: none; }

.mega__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 32px; }
.mega__col { min-width: 0; }
.mega__title {
  margin: 0 0 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-grey-500);
}
.mega__list { margin: 0; padding: 0; list-style: none; }
.mega__list li + li { margin-top: 2px; }
.mega__list a {
  display: block;
  padding: 8px 10px;
  margin-inline: -10px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  border-radius: var(--radius);
}
.mega__list a:hover { background: var(--c-brand-050); color: var(--c-brand-700); }
.mega__list .mega__desc { display: block; font-weight: 400; font-size: .8125rem; color: var(--c-grey-500); margin-top: 2px; }

.mega__feature {
  padding: 22px;
  background: var(--c-brand-900);
  color: #CFE2E4;
}
.mega__feature h3 { color: var(--c-white); font-size: 1.0625rem; margin-bottom: 8px; }
.mega__feature p { font-size: .875rem; line-height: 1.5; margin-bottom: 14px; }

/* ------------------------------------------------------------ mobile nav */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 14px;
  background: none;
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
}
@media (max-width: 1023px) { .nav-toggle { display: inline-flex; } }

.nav-toggle__bars { position: relative; width: 18px; height: 12px; flex: none; }
.nav-toggle__bars span,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-ink);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars::after { bottom: 0; }

.drawer {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 150;
  overflow-y: auto;
  background: var(--c-white);
  padding-bottom: 48px;
}
.drawer[hidden] { display: none; }
body.has-drawer-open { overflow: hidden; }

.drawer__bar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad-x);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-grey-200);
}
.drawer__close {
  min-height: 44px;
  padding: 8px 16px;
  background: none;
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}
.drawer__body { padding: 8px var(--pad-x) 0; }

.drawer__section { border-bottom: 1px solid var(--c-grey-200); }
.drawer__toggle,
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  min-height: 56px;
  padding: 14px 0;
  background: none;
  border: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.drawer__toggle .nav__caret { transition: transform var(--t-fast) ease; }
.drawer__toggle[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.drawer__panel { padding: 0 0 14px; }
.drawer__panel[hidden] { display: none; }
.drawer__panel a {
  display: block;
  padding: 11px 0 11px 16px;
  border-left: 2px solid var(--c-grey-200);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-grey-600);
  text-decoration: none;
}
.drawer__panel a:hover { color: var(--c-brand-700); border-left-color: var(--c-brand-500); }
.drawer__cta { margin-top: 24px; display: grid; gap: 12px; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--c-brand-900);
  color: #D3E4E6;
  overflow: hidden;
}
.hero::after {
  /* Original geometric motif derived from the 828 mark. */
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(14, 131, 143, .55), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(181, 129, 44, .30), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { padding-block: clamp(56px, 8vw, 116px); max-width: 860px; }
.hero h1 { color: var(--c-white); }
.hero p { color: #BBD3D6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.page-hero {
  background: var(--c-brand-900);
  color: #D3E4E6;
  padding-block: clamp(40px, 5vw, 72px);
}
.page-hero h1 { color: var(--c-white); margin-bottom: 14px; }
.page-hero p { color: #BBD3D6; max-width: 760px; }

/* ------------------------------------------------------------- breadcrumb */
.breadcrumb { font-size: .8125rem; margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, .45); }
.breadcrumb li:last-child::after { content: ""; margin: 0; }
.breadcrumb a { color: #BBD3D6; text-decoration: none; }
.breadcrumb a:hover { color: var(--c-white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-white); font-weight: 600; }

/* ------------------------------------------------------------------ cards */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  background: var(--c-white);
  border: 1px solid var(--c-grey-200);
  border-top: 3px solid var(--c-brand-700);
  transition: box-shadow var(--t-mid) ease, transform var(--t-mid) var(--ease);
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--c-grey-600); font-size: .9375rem; }
.card .arrow-link { margin-top: auto; padding-top: 18px; }
.card--plain { border-top-color: var(--c-grey-200); }
.card--gold { border-top-color: var(--c-gold-600); }

.card__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--f-serif);
  font-size: 1.75rem;
  color: var(--c-brand-500);
}

/* Insight card: tag + date metadata above the headline. */
.insight {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-grey-200);
  transition: box-shadow var(--t-mid) ease;
}
.insight:hover { box-shadow: var(--shadow-2); }
.insight__band { height: 6px; background: var(--c-brand-700); }
.insight__band--gold { background: var(--c-gold-600); }
.insight__band--ink { background: var(--c-ink); }
.insight__body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.insight__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .75rem;
  color: var(--c-grey-500);
}
.insight__tag {
  padding: 4px 10px;
  background: var(--c-brand-050);
  color: var(--c-brand-700);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.insight h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.insight h3 a { color: var(--c-ink); text-decoration: none; }
.insight h3 a:hover { color: var(--c-brand-700); text-decoration: underline; }
.insight p { font-size: .9375rem; color: var(--c-grey-600); }
.insight .arrow-link { margin-top: auto; padding-top: 18px; }

/* --------------------------------------------------------------- stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
@media (max-width: 1023px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

.stat { padding: 24px 0; border-top: 3px solid var(--c-brand-500); }
.stat__value {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-white);
  letter-spacing: -.02em;
}
.stat__label { display: block; margin-top: 10px; font-size: .9375rem; color: #AECBCE; }
.stat--light { border-top-color: var(--c-brand-700); }
.stat--light .stat__value { color: var(--c-ink); }
.stat--light .stat__label { color: var(--c-grey-600); }

/* ----------------------------------------------------------------- splits */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.panel {
  padding: clamp(28px, 4vw, 48px);
  background: var(--c-brand-050);
  border-left: 4px solid var(--c-brand-700);
}
.panel--gold { background: var(--c-gold-100); border-left-color: var(--c-gold-600); }
.panel--grey { background: var(--c-grey-050); border-left-color: var(--c-grey-300); }

/* ---------------------------------------------------------------- content */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--c-brand-600); }

.tick-list { margin: 0 0 1.2em; padding: 0; list-style: none; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: .7em; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--c-brand-600);
  border-bottom: 2px solid var(--c-brand-600);
  transform: rotate(-45deg);
}

.anchor-section { scroll-margin-top: calc(var(--header-h) + 32px); padding-top: 8px; }

.pull-quote {
  margin: 0;
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 3px solid var(--c-brand-700);
  border-bottom: 1px solid var(--c-grey-200);
}
.pull-quote blockquote {
  margin: 0 0 16px;
  font-family: var(--f-serif);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);
  line-height: 1.35;
  color: var(--c-ink);
}
.pull-quote figcaption { font-size: .875rem; color: var(--c-grey-500); }

/* ----------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; margin-bottom: 1.4em; }
/* Tables break out of the narrow reading measure up to the container width. */
.prose .table-wrap { width: min(1040px, calc(100vw - 2 * var(--pad-x))); max-width: none; }
table.data { width: 100%; border-collapse: collapse; font-size: .9375rem; }
table.data caption { text-align: left; padding-bottom: 12px; font-size: .875rem; color: var(--c-grey-500); }
table.data th, table.data td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-grey-200); }
table.data thead th { background: var(--c-brand-900); color: var(--c-white); font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }
table.data tbody tr:nth-child(even) { background: var(--c-grey-050); }

/* ------------------------------------------------------------- accordions */
.acc { border-top: 1px solid var(--c-grey-200); }
.acc__item { border-bottom: 1px solid var(--c-grey-200); }
.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 18px 0;
  background: none;
  border: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-ink);
  text-align: left;
  cursor: pointer;
}
.acc__q .nav__caret { width: 12px; height: 12px; flex: none; color: var(--c-brand-700); transition: transform var(--t-fast) ease; }
.acc__q[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.acc__a[hidden] { display: none; }
.acc__a { padding: 0 0 22px; max-width: var(--measure); color: var(--c-grey-600); }

/* ------------------------------------------------------------------ forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: .9375rem; font-weight: 600; color: var(--c-ink); }
.field .hint { font-size: .8125rem; color: var(--c-grey-500); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--c-white);
  border: 1px solid var(--c-grey-300);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--c-ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-brand-600); }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--c-err); }
.field__error { font-size: .8125rem; font-weight: 600; color: var(--c-err); }
.field__error[hidden] { display: none; }

.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.field--check label { font-weight: 400; font-size: .9375rem; color: var(--c-grey-600); }

.req { color: var(--c-err); }

.form-status { margin-top: 22px; padding: 18px 20px; font-size: .9375rem; border-left: 4px solid; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--c-brand-050); border-color: var(--c-brand-600); color: var(--c-brand-900); }
.form-status--error { background: #FBEDEB; border-color: var(--c-err); color: #7A1F15; }

/* ---------------------------------------------------------------- filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter {
  min-height: 42px;
  padding: 8px 18px;
  background: var(--c-white);
  border: 1px solid var(--c-grey-300);
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-grey-600);
  cursor: pointer;
}
.filter:hover { border-color: var(--c-brand-600); color: var(--c-brand-700); }
.filter[aria-pressed="true"] { background: var(--c-brand-700); border-color: var(--c-brand-700); color: var(--c-white); }

/* ----------------------------------------------------------------- notice */
.notice {
  padding: 20px 24px;
  background: var(--c-gold-100);
  border-left: 4px solid var(--c-gold-600);
  font-size: .9375rem;
  color: #6B4A12;
}
.notice strong { color: #4F360C; }
.grid + .notice, .split + .notice, .table-wrap + .notice { margin-top: 32px; }
.notice--brand { background: var(--c-brand-050); border-left-color: var(--c-brand-700); color: var(--c-brand-900); }

/* ------------------------------------------------------------- people card */
.person {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-grey-200);
}
.person__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--c-brand-800), var(--c-brand-600));
  color: var(--c-white);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.person__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.person__role { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brand-600); margin-bottom: 8px; }
.person h3 { font-size: 1.125rem; margin-bottom: 8px; }
.person p { font-size: .9375rem; color: var(--c-grey-600); }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--c-ink); color: #A9B4BF; font-size: .9375rem; }
.site-footer a { color: #D4DCE3; text-decoration: none; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }

.footer-main { padding-block: clamp(44px, 5vw, 68px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px var(--gutter); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h2 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 16px;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-brand .logo__name { color: var(--c-white); }
.footer-brand .logo__tag { color: #8D99A5; }
.footer-brand address { font-style: normal; margin-top: 18px; line-height: 1.7; }

.footer-legal {
  padding-block: 22px;
  border-top: 1px solid #27313C;
  font-size: .8125rem;
}
.footer-legal .container { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; list-style: none; }
.footer-legal .rc { color: #8D99A5; }

.footer-disclaimer { padding-bottom: 28px; font-size: .75rem; line-height: 1.65; color: #7E8A96; }
.footer-disclaimer .container { max-width: 1100px; }

/* --------------------------------------------------------- cookie consent */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  background: var(--c-white);
  border-top: 3px solid var(--c-brand-700);
  box-shadow: 0 -6px 28px rgba(15, 23, 32, .18);
}
.consent[hidden] { display: none; }
.consent .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding-block: 22px;
}
.consent__text { flex: 1 1 420px; font-size: .9375rem; color: var(--c-grey-600); }
.consent__text strong { display: block; color: var(--c-ink); margin-bottom: 4px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ----------------------------------------------------------------- utility */
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.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;
}

/* The no-js class is removed by site.js; these keep the site usable without it. */
.no-js .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 16px 0; }
.no-js .nav-toggle { display: none; }
.no-js .consent { display: none; }

@media print {
  .site-header, .site-footer, .consent, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a { text-decoration: underline; }
}
