@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap");

:root {
  --color-bg: #fcfaf6;
  --color-surface: #ffffff;
  --color-surface-soft: #f1eee8;
  --color-navy: #00507c;
  --color-navy-soft: #00738d;
  --color-ink: #35474f;
  --color-muted: #5f727b;
  --color-accent: #e45f4e;
  --color-accent-soft: #f2b2a5;
  --color-sage: #e3ddd3;
  --color-clay: #0085a0;
  --color-border: #d7d0c6;
  --color-gold: #eebe42;
  --color-green: #73bc44;
  --color-teal: #2cafc8;
  --color-plum: #69537b;
  --shadow: 0 18px 42px rgba(0, 80, 124, 0.12);
  --radius: 12px;
  --container: 1120px;
  --font-sans: "Basic Sans", Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-editorial: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(228, 95, 78, 0.1), transparent 24%),
    radial-gradient(circle at left 18rem top 14rem, rgba(0, 133, 160, 0.12), transparent 22%),
    var(--color-bg);
  color: var(--color-ink);
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--color-muted);
}

h1,
h2,
h3 {
  color: var(--color-navy);
  font-family: var(--font-editorial);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: 2.6rem;
}

h2 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: 2rem;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

button {
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.section {
  padding-block: 4rem;
}

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

/* Homepage: treat the content as one guided story rather than a stack of panels. */
.home-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 18%, rgba(228, 95, 78, 0.1), transparent 18%),
    radial-gradient(circle at 4% 48%, rgba(228, 95, 78, 0.1), transparent 21%),
    var(--color-bg);
}

.home-page .home-chapter {
  position: relative;
}

.home-page .home-chapter:not(.hero-banner) {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.home-page .home-hero {
  min-height: min(820px, 86vh);
  background: center / cover no-repeat url("../media/home/ministry-community.jpg");
}

.home-page .hero-editorial-intro {
  max-width: 48rem;
  padding: 0 0 1.25rem 1.4rem;
  border: 0;
  border-left: 2px solid var(--color-gold);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.home-page .hero-editorial-intro h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  letter-spacing: -0.04em;
}

.home-page .hero-editorial-intro .hero-text {
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.home-page .section-heading {
  padding-left: 1.1rem;
  border-left: 2px solid rgba(0, 133, 160, 0.38);
}

.home-entry {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 238, 232, 0.8));
}

.home-entry::before,
.home-members::before,
.home-final::before {
  content: "";
  position: absolute;
  width: min(34vw, 28rem);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 133, 160, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.home-entry::before {
  top: -13rem;
  right: -13rem;
}

.home-members::before {
  bottom: -12rem;
  left: -12rem;
}

.home-final::before {
  top: -14rem;
  right: -10rem;
}

.home-page .event-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 80, 124, 0.14);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 42px rgba(0, 80, 124, 0.06);
}

.home-page .event-card {
  min-height: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .event-card h3 {
  max-width: 18ch;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.home-page .event-card + .event-card {
  border-left: 1px solid rgba(0, 80, 124, 0.14);
}

.home-page .event-card-equipped {
  background: linear-gradient(135deg, rgba(242, 178, 165, 0.56), rgba(252, 239, 235, 0.82));
}

.home-page .accredited-home {
  background:
    radial-gradient(circle at 88% 12%, rgba(228, 95, 78, 0.13), transparent 20%),
    linear-gradient(180deg, rgba(241, 238, 232, 0.9), rgba(255, 255, 255, 0.8));
}

.home-page .vision-home-pathway {
  padding: 0 0 0 clamp(1.25rem, 4vw, 2.5rem);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .member-logo-track li {
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 -1px 0 rgba(0, 80, 124, 0.14);
}

.home-community-image {
  position: relative;
  min-height: clamp(260px, 38vw, 480px);
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
  overflow: hidden;
  background: var(--color-navy);
}

.home-community-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 48, 74, 0.56), rgba(0, 80, 124, 0.08) 68%);
}

.home-community-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.home-community-image figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  max-width: 16ch;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
}

.home-page .home-pathway-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(252, 250, 246, 0.94));
}

.home-page .home-members {
  background:
    radial-gradient(circle at 10% 80%, rgba(228, 95, 78, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(252, 250, 246, 0.94), rgba(241, 238, 232, 0.9));
}

.home-page .home-members .split {
  align-items: center;
}

.home-page .trust-band {
  border-block: 1px solid rgba(255, 255, 255, 0.16);
}

.home-page .home-final {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(241, 238, 232, 0.88));
}

.home-page .home-final .cta {
  padding: 0 0 0 1.5rem;
  border: 0;
  border-left: 4px solid var(--color-gold);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading-aside {
  max-width: 38ch;
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  color: var(--color-clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
}

.lead,
.hero-text {
  max-width: 680px;
  color: var(--color-navy-soft);
  font-size: 1.14rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--color-navy);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-clay);
}

.button-secondary {
  border-color: rgba(0, 80, 124, 0.22);
  background: var(--color-surface);
  color: var(--color-navy);
}

.button-secondary:hover {
  border-color: rgba(0, 80, 124, 0.42);
}

.button-light {
  background: var(--color-gold);
  color: var(--color-navy);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--color-navy);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.event-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--color-bg);
  box-shadow: var(--shadow);
}

.event-card-equipped {
  background: linear-gradient(135deg, #f3f0eb, #e3ddd3);
}

.event-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.event-type,
.event-meta {
  color: var(--color-clay);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.event-date {
  min-width: 70px;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  background: var(--color-navy);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.1;
  text-align: center;
}

.event-date strong {
  display: block;
  font-size: 1.8rem;
}

.event-date small {
  font-size: 0.7rem;
}

.event-card h3 {
  max-width: 22ch;
}

.event-card p:not(.event-meta) {
  max-width: 54ch;
}

.event-card .text-link {
  margin-top: auto;
}

.vision-home {
  background: linear-gradient(135deg, var(--color-navy), #007b91);
}

.vision-home-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.vision-home h2,
.vision-home h3,
.vision-home p,
.vision-home .eyebrow {
  color: #fff;
}

.vision-home .eyebrow::before {
  background: linear-gradient(90deg, #fff0c5, var(--color-gold));
}

.vision-home .text-link {
  color: #fff;
}

.vision-statement {
  color: #fff !important;
  max-width: 38ch;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.vision-home-story {
  max-width: 54ch;
}

.vision-home-story > p:not(.eyebrow):last-of-type {
  max-width: 52ch;
}

.vision-home-pathway {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px rgba(0, 31, 49, 0.2);
}

.vision-home-pathway h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.vision-home-pathway > p:not(.eyebrow) {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
}

.vision-audience-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.vision-audience-list a {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  transition: background-color 180ms ease, padding 180ms ease;
}

.vision-audience-list a:hover,
.vision-audience-list a:focus-visible {
  padding-inline: 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
}

.vision-audience-list strong,
.vision-audience-list small {
  display: block;
}

.vision-audience-list strong {
  font-size: 1rem;
}

.vision-audience-list small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.vision-audience-number {
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.member-logo-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.member-logo-grid span {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 850;
  text-align: center;
}

.member-logo-grid img,
.member-logo-track img {
  display: block;
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.member-logo-ticker {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.member-logo-ticker::before,
.member-logo-ticker::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 4rem;
  content: "";
  pointer-events: none;
}

.member-logo-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-surface), transparent);
}

.member-logo-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-surface), transparent);
}

.member-logo-ticker-viewport {
  display: flex;
  overflow: hidden;
  padding-block: 0.25rem;
}

.member-logo-track {
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: member-logo-scroll 34s linear infinite;
}

.member-logo-track li {
  display: flex;
  min-height: 88px;
  width: clamp(170px, 20vw, 230px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 850;
  text-align: center;
}

@keyframes member-logo-scroll {
  to {
    transform: translateX(calc(-100% - 0.75rem));
  }
}

.about-vision-card {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, #f8f6f2, #e3ddd3);
  box-shadow: var(--shadow);
}

.about-vision-main h2 {
  max-width: 18ch;
}

.about-vision-copy {
  align-self: center;
}

.about-vision-copy p:last-of-type {
  margin-bottom: 0;
}

.member-logo-grid-about {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 80, 124, 0.1);
  background: rgba(244, 248, 251, 0.96);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-navy);
}

.brand-logo {
  display: block;
  content: url("../images/logo/cccc-logo-approved-cropped.svg");
  width: min(360px, 58vw);
  height: auto;
  max-height: 58px;
  margin-left: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-navy), var(--color-clay));
  color: #fff;
  font-weight: 900;
}

.brand strong,
.footer-brand {
  display: block;
  font-size: 1.08rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.18rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius);
  background: var(--color-navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  order: 3;
}

.header-login {
  white-space: nowrap;
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
  flex: 1 1 auto;
  order: 2;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.55rem 0.72rem;
  border-radius: var(--radius);
  color: var(--color-navy-soft);
  font-weight: 780;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-sage);
  color: var(--color-navy);
}

.hero {
  background: var(--color-surface);
}

.hero-grid,
.split,
.trust-grid,
.cta,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy {
  align-self: center;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  padding-block: clamp(5rem, 10vw, 8rem);
  color: #fff;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 32, 56, 0.78) 0%,
    rgba(0, 80, 124, 0.52) 26%,
    rgba(0, 80, 124, 0.22) 52%,
    rgba(0, 80, 124, 0.06) 72%,
    rgba(0, 80, 124, 0) 100%
  );
  z-index: 0;
}

.hero-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  min-height: 100%;
}

.hero-banner-card {
  max-width: 720px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(244, 248, 251, 0.04);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 23, 39, 0.12);
}

.hero-banner h1,
.hero-banner .hero-text,
.hero-banner .lead,
.hero-banner .button,
.hero-banner .eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.hero-banner .eyebrow,
.hero-banner h1,
.hero-banner .hero-text,
.hero-banner p {
  color: #fff;
}

.hero-banner .eyebrow::before {
  background: linear-gradient(90deg, #fff0c5, var(--color-gold));
}

.hero-banner .button-primary {
  background: #fff;
  color: var(--color-navy);
}

.hero-banner .button-primary:hover {
  background: #fff0c5;
}

.hero-banner .button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-banner .button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.full-bleed-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding-block: 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-tile {
  position: relative;
  min-height: 260px;
  background: var(--color-surface);
}

.strip-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 80, 124, 0.08), rgba(0, 80, 124, 0.4));
}

.strip-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-navy);
  box-shadow: var(--shadow);
}

.strip-caption .label {
  margin-bottom: 0.35rem;
}

.strip-caption h2,
.strip-caption p {
  margin-bottom: 0;
}

.hero-image-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.media-card {
  display: grid;
  gap: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 12px 28px rgba(0, 80, 124, 0.08);
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card-body {
  display: grid;
  gap: 0.35rem;
  padding: 0 1rem 1rem;
}

.media-card-body h3,
.media-card-body p {
  margin-bottom: 0;
}

.hero-mini-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual-panel {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 1.25rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 80, 124, 0.14), rgba(0, 80, 124, 0.78)),
    var(--panel-image, linear-gradient(135deg, var(--color-sage), var(--color-accent-soft)));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 80, 124, 0.05), rgba(0, 80, 124, 0.18));
  pointer-events: none;
}

.visual-panel-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 100%;
  gap: 0.65rem;
  color: #fff;
}

.visual-panel .label,
.visual-panel h2,
.visual-panel p {
  color: #fff;
}

.visual-panel .label {
  width: fit-content;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.16);
}

.visual-panel p {
  max-width: 30ch;
}

.visual-panel.compact {
  min-height: 240px;
}

.member-preview {
  min-height: 280px;
}

.member-preview .visual-panel-content {
  max-width: 28ch;
}

.section-visual {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.section-image-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section-image-grid .media-card {
  min-height: 100%;
}

.panel-card {
  min-height: 150px;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: var(--shadow);
}

.panel-card:nth-child(2) {
  background: linear-gradient(135deg, var(--color-sage), #f6f3ed);
}

.panel-card:nth-child(3) {
  background: linear-gradient(135deg, #f8e2dc, var(--color-accent-soft));
}

.panel-card span,
.label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--color-clay);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-card .label {
  margin-bottom: 0.6rem;
}

.page-hero {
  background: var(--color-surface);
}

.page-hero.hero-banner {
  min-height: 52vh;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.journey-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.journey-card {
  display: grid;
  gap: 0.75rem;
  min-height: 0;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 12px 28px rgba(0, 80, 124, 0.08);
}

.journey-card h3 {
  margin-bottom: 0;
}

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

.journey-step {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-sage), #f6f3ed);
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.journey-intro {
  max-width: 68ch;
  margin-bottom: 0;
}

.journey-sequence {
  --journey-progress: 0;
  position: relative;
  isolation: isolate;
  min-height: 700px;
  width: 100vw;
  margin-top: 2rem;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-block: 1px solid rgba(0, 80, 124, 0.12);
  background:
    radial-gradient(circle at 15% 75%, rgba(228, 95, 78, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 238, 232, 0.92));
  box-shadow: 0 24px 58px rgba(0, 80, 124, 0.1);
  transition: width 1100ms cubic-bezier(0.22, 1, 0.36, 1), margin-left 1100ms cubic-bezier(0.22, 1, 0.36, 1), min-height 900ms ease;
}

.journey-sequence-heading {
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3.5rem) max(1.25rem, calc((100% - var(--container)) / 2));
  text-align: left;
}

.journey-sequence-heading h2 {
  max-width: 28ch;
  margin-bottom: 0.65rem;
}

.journey-sequence-heading .journey-intro {
  max-width: 68ch;
}

.journey-sequence::before,
.journey-sequence::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.journey-sequence::before {
  width: 22rem;
  height: 22rem;
  right: -8rem;
  bottom: -10rem;
  background: rgba(228, 95, 78, 0.1);
  transform: translateY(calc(var(--journey-progress) * -38px));
}

.journey-sequence::after {
  width: 14rem;
  height: 14rem;
  left: -7rem;
  top: -6rem;
  border: 1px solid rgba(0, 80, 124, 0.1);
  transform: translateY(calc(var(--journey-progress) * 26px));
}

.journey-sequence-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  transform: translateY(calc((1 - var(--journey-progress)) * 18px));
}

.journey-sequence-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-sequence-line-soft {
  stroke: var(--journey-line-soft, rgba(0, 80, 124, 0.22));
  stroke-width: 10;
  opacity: 0.34;
  stroke-dasharray: 3 23;
  animation: journey-dash-flight 2.8s linear infinite;
  animation-play-state: paused;
}

.journey-sequence-line-bold {
  stroke: var(--journey-line, var(--color-navy));
  stroke-width: 3;
  stroke-dasharray: 13 17;
  filter: drop-shadow(0 8px 18px rgba(0, 80, 124, 0.12));
  animation: journey-dash-flight 1.15s linear infinite;
  animation-play-state: paused;
}

@keyframes journey-dash-flight {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -30px;
  }
}

.journey-sequence:not(.is-in-focus) .journey-sequence-line {
  opacity: 0;
}

.journey-sequence.is-in-focus .journey-sequence-line-soft {
  opacity: 0.34;
  animation-play-state: running;
}

.journey-sequence.is-in-focus .journey-sequence-line-bold {
  opacity: 1;
  animation-play-state: running;
}

.journey-sequence.is-drawing .journey-sequence-line-soft,
.journey-sequence.is-drawing .journey-sequence-line-bold {
  animation-play-state: paused;
}

.journey-flight {
  color: var(--journey-line, var(--color-navy));
  opacity: 0;
  transform-origin: center;
  transition: opacity 400ms ease;
}

.journey-flight path {
  fill: currentColor;
  filter: drop-shadow(0 4px 7px rgba(0, 80, 124, 0.22));
}

.journey-sequence.is-in-focus .journey-flight {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .journey-sequence-line-soft,
  .journey-sequence-line-bold,
  .journey-flight {
    animation: none;
  }

  .journey-flight {
    display: none;
  }
}

.journey-sequence-stage {
  position: relative;
  z-index: 3;
  display: block;
  min-height: 620px;
  padding: clamp(1.25rem, 4vw, 4rem) max(1.25rem, calc((100vw - var(--container)) / 2));
}

.journey-start-card,
.journey-next-card,
.journey-final-card {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 0.85rem;
  width: min(100%, 31rem);
  min-height: 0;
  padding: 1.25rem;
  border-color: rgba(0, 80, 124, 0.15);
  box-shadow: 0 20px 42px rgba(0, 80, 124, 0.12);
}

.journey-start-card {
  position: absolute;
  top: 44%;
  left: 50%;
  opacity: calc(0.76 + (var(--journey-progress) * 0.24));
  transform: translate3d(-50%, calc(-50% + ((1 - var(--journey-progress)) * 22px)), 0);
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), top 1100ms cubic-bezier(0.22, 1, 0.36, 1), left 1100ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease, box-shadow 220ms ease;
}

.journey-sequence.is-in-focus .journey-start-card {
  box-shadow: 0 24px 48px rgba(0, 80, 124, 0.16);
}

.journey-sequence.has-selection .journey-start-card {
  opacity: 1;
  filter: blur(1.4px);
  transform: translate3d(-50%, -50%, 0) scale(0.97);
  left: 30%;
  top: 18%;
}

.journey-sequence.has-final .journey-start-card {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(0.94);
  top: 18%;
}

.journey-start-card h3,
.journey-next-card h3,
.journey-final-card h3 {
  max-width: none;
  margin-bottom: 0;
}

.journey-start-card > p,
.journey-next-card > p,
.journey-final-card > p {
  margin-bottom: 0;
}

.journey-choice-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.journey-choice {
  display: flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 80, 124, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-navy);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.journey-choice:hover,
.journey-choice:focus-visible,
.journey-choice.is-selected {
  border-color: var(--journey-line, var(--color-navy));
  background: #fff;
  transform: translateX(5px);
}

.journey-search {
  margin-top: 0.25rem;
}

.journey-search input {
  border-radius: 999px;
}

.journey-status {
  min-height: 1.5em;
  margin-bottom: 0;
  color: var(--journey-line, var(--color-navy));
  font-size: 0.85rem;
  font-weight: 800;
}

.journey-sequence[data-journey-tone="membership"] {
  --journey-line: var(--color-accent);
  --journey-line-soft: rgba(228, 95, 78, 0.22);
  --journey-panel-bg: linear-gradient(135deg, #fffdfc, #fff4ef);
}

.journey-sequence[data-journey-tone="accreditation"] {
  --journey-line: var(--color-clay);
  --journey-line-soft: rgba(0, 133, 160, 0.2);
  --journey-panel-bg: linear-gradient(135deg, #fbfeff, #edf9fc);
}

.journey-sequence[data-journey-tone="resources"] {
  --journey-line: var(--color-plum);
  --journey-line-soft: rgba(105, 83, 123, 0.2);
  --journey-panel-bg: linear-gradient(135deg, #fdfbff, #f5effa);
}

.journey-next-card {
  position: absolute;
  top: 50%;
  left: 54%;
  scroll-margin-block: 2rem;
  display: grid;
  background: var(--journey-panel-bg, linear-gradient(135deg, #ffffff, #fff6ed));
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(-50% + min(28vw, 22rem)), -50%) rotate(3deg);
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), top 1100ms cubic-bezier(0.22, 1, 0.36, 1), left 1100ms cubic-bezier(0.22, 1, 0.36, 1), opacity 900ms ease, filter 900ms ease;
}

.journey-next-card.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, -50%) rotate(0);
}

.journey-next-card[hidden] {
  display: none;
}

.journey-final-card {
  position: absolute;
  top: 76%;
  left: 52%;
  scroll-margin-block: 2rem;
  background: var(--journey-panel-bg, linear-gradient(135deg, #ffffff, #fff6ed));
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(-50% + min(28vw, 22rem)), -50%) rotate(3deg);
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), top 1100ms cubic-bezier(0.22, 1, 0.36, 1), left 1100ms cubic-bezier(0.22, 1, 0.36, 1), opacity 900ms ease, filter 900ms ease;
}

.journey-final-card.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, -50%) rotate(0);
}

.journey-final-card[hidden] {
  display: none;
}

.journey-sequence.has-final .journey-next-card.is-visible {
  opacity: 1;
  pointer-events: none;
  filter: blur(1.4px);
  transform: translate3d(-50%, -50%) rotate(-3deg) scale(0.97);
}

.journey-next-card .eyebrow {
  color: var(--journey-line, var(--color-clay));
}

.journey-final-card .eyebrow {
  color: var(--journey-line, var(--color-clay));
}

.journey-next-card .eyebrow::before {
  background: linear-gradient(90deg, var(--journey-line, var(--color-accent)), var(--color-gold));
}

.journey-final-card .eyebrow::before {
  background: linear-gradient(90deg, var(--journey-line, var(--color-accent)), var(--color-gold));
}

.journey-reset {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--journey-line, var(--color-navy));
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.path-grid {
  display: grid;
  gap: 1rem;
}

.path-card {
  display: grid;
  gap: 0.65rem;
}

.path-card h3 {
  margin-bottom: 0;
}

.path-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.path-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.22rem 0.7rem;
  border: 1px solid rgba(0, 80, 124, 0.16);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.path-chip.is-active {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.path-summary {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8e2dc, #fdf0ed);
}

.path-summary strong {
  color: var(--color-navy);
}

.card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 12px 28px rgba(0, 80, 124, 0.08);
}

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

.program-overview {
  display: grid;
  gap: 1rem;
}

.program-group {
  min-height: 0;
  gap: 0.95rem;
}

.program-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.program-group-head h3 {
  margin-bottom: 0.35rem;
  font-size: 1.45rem;
  max-width: none;
}

.program-group-head p {
  margin-bottom: 0;
  max-width: 54ch;
}

.program-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold), #fff0c5);
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.program-mini-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.program-mini-card {
  display: grid;
  gap: 0.45rem;
  min-height: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: 0 10px 22px rgba(0, 80, 124, 0.05);
}

.program-mini-card strong {
  color: var(--color-navy);
  font-size: 0.97rem;
  line-height: 1.35;
}

.program-tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold), #fff0c5);
  color: var(--color-navy);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.program-note {
  display: block;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.audience-list {
  display: grid;
  gap: 0.7rem;
}

.audience-list a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-navy);
  font-weight: 800;
}

.audience-list a::after {
  content: ">";
  color: var(--color-clay);
}

.trust-band {
  background: var(--color-navy);
  color: #fff;
}

.trust-band h2,
.trust-band p {
  color: #fff;
}

.trust-band p {
  opacity: 0.88;
}

.trust-band .eyebrow {
  color: #fff0c5;
}

.cta {
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.step-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  min-height: 92px;
  padding: 1rem 1rem 1rem 4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-muted);
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--color-navy);
  color: #fff;
  font-weight: 900;
}

.step-list strong {
  color: var(--color-navy);
}

.resource-tools {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.portal-grid {
  display: grid;
  gap: 1rem;
}

.portal-card {
  display: grid;
  gap: 0.75rem;
  min-height: 0;
}

.portal-card .button-row {
  margin-top: 0;
}

.portal-card .button {
  width: fit-content;
}

.portal-stat {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff0c5, var(--color-gold));
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.member-center-grid {
  display: grid;
  gap: 1rem;
}

.member-service-grid {
  display: grid;
  gap: 1rem;
}

.member-service-card {
  display: grid;
  gap: 0.45rem;
  min-height: 0;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 12px 28px rgba(0, 80, 124, 0.08);
}

.member-service-card h3 {
  margin-bottom: 0;
}

.member-service-card p {
  margin-bottom: 0;
}

.member-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.member-service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-sage), #f6f3ed);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 850;
}

.member-callout {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(0, 80, 124, 0.85), rgba(0, 58, 91, 0.92));
  color: #fff;
}

.member-callout h2,
.member-callout p {
  color: #fff;
}

.member-callout .eyebrow {
  color: #fff0c5;
}

.member-callout .eyebrow::before {
  background: linear-gradient(90deg, #fff, #fff0c5);
}

.member-callout .button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.member-callout .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.journey-path {
  overflow: hidden;
  margin: 0 0 1.25rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 251, 0.96));
  box-shadow: 0 16px 36px rgba(0, 80, 124, 0.08);
}

.journey-path img {
  width: 100%;
  height: auto;
}

.kb-page {
  background:
    radial-gradient(circle at top right, rgba(84, 211, 173, 0.16), transparent 22%),
    radial-gradient(circle at left 18rem top 14rem, rgba(98, 65, 151, 0.18), transparent 20%),
    #07111b;
  color: #e9f2fb;
}

.kb-page .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 27, 0.92);
}

.kb-page .brand,
.kb-page .brand small,
.kb-page .site-nav a {
  color: #f5fbff;
}

.kb-page .site-nav a:hover,
.kb-page .site-nav a[aria-current="page"] {
  background: rgba(124, 231, 200, 0.18);
  color: #f5fbff;
}

.kb-page p {
  color: rgba(233, 242, 251, 0.76);
}

.kb-page h1,
.kb-page h2,
.kb-page h3,
.kb-page .eyebrow {
  color: #f5fbff;
}

.kb-page .eyebrow::before {
  background: linear-gradient(90deg, #7ce7c8, #f5fbff);
}

.kb-shell {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(10, 22, 35, 0.94), rgba(8, 17, 28, 0.82));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.kb-hero-grid {
  display: grid;
  gap: 1rem;
}

.kb-now-card {
  display: grid;
  gap: 0.8rem;
  min-height: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 54, 79, 0.95), rgba(11, 31, 44, 0.98));
}

.kb-now-card h2 {
  margin-bottom: 0;
  max-width: none;
}

.kb-now-card p {
  margin-bottom: 0;
  max-width: 44ch;
}

.kb-now-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kb-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5fbff;
  font-size: 0.78rem;
  font-weight: 800;
}

.kb-tools {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kb-tools .search-field {
  color: #f5fbff;
}

.kb-tools .search-field input {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f5fbff;
}

.kb-tools .search-field input::placeholder {
  color: rgba(233, 242, 251, 0.55);
}

.kb-filter .filter-button {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f5fbff;
}

.kb-filter .filter-button[aria-pressed="true"] {
  background: #7ce7c8;
  color: #07111b;
}

.kb-section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.kb-grid {
  display: grid;
  gap: 1rem;
}

.kb-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.kb-card-cover {
  position: relative;
  min-height: 170px;
  background: linear-gradient(135deg, var(--cover-a, #2cafc8), var(--cover-b, #00507c));
}

.kb-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%);
}

.kb-card-cover-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  z-index: 1;
}

.kb-card-cover strong {
  color: #fff;
  font-size: 1rem;
}

.kb-card-cover span {
  width: fit-content;
}

.kb-card-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.kb-card-body h3 {
  margin-bottom: 0;
  color: #f5fbff;
  max-width: none;
}

.kb-card-body p {
  margin-bottom: 0;
}

.kb-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.kb-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5fbff;
  font-size: 0.76rem;
  font-weight: 800;
}

.kb-track-list {
  display: grid;
  gap: 0.45rem;
}

.kb-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5fbff;
  font-size: 0.88rem;
}

.kb-track span:last-child {
  color: rgba(233, 242, 251, 0.64);
}

.kb-card[hidden] {
  display: none;
}

.kb-callout {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(84, 211, 173, 0.16), rgba(98, 65, 151, 0.22));
}

.kb-callout p {
  max-width: 40rem;
}

/* Knowledge Base: use the CCCC palette as a calm, practical library rather than a separate dark product. */
.kb-page {
  background:
    radial-gradient(circle at 94% 5%, rgba(228, 95, 78, 0.1), transparent 20%),
    radial-gradient(circle at 2% 32%, rgba(0, 133, 160, 0.08), transparent 18%),
    var(--color-bg);
  color: var(--color-ink);
}

.kb-page .site-header {
  border-bottom-color: var(--color-border);
  background: rgba(252, 250, 246, 0.96);
}

.kb-page .brand,
.kb-page .brand small,
.kb-page .site-nav a {
  color: var(--color-navy);
}

.kb-page .site-nav a:hover,
.kb-page .site-nav a[aria-current="page"] {
  background: rgba(0, 133, 160, 0.1);
  color: var(--color-navy);
}

.kb-page p {
  color: var(--color-muted);
}

.kb-page h1,
.kb-page h2,
.kb-page h3,
.kb-page .eyebrow {
  color: var(--color-navy);
}

.kb-page .eyebrow::before {
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
}

.kb-shell {
  position: relative;
  isolation: isolate;
  min-height: 26rem;
  border-color: var(--color-border);
  background:
    linear-gradient(90deg, rgba(0, 55, 85, 0.94) 0%, rgba(0, 80, 124, 0.84) 42%, rgba(0, 80, 124, 0.28) 74%, rgba(0, 80, 124, 0.16) 100%),
    url("../images/hero/ministry-leadership-session.png") center / cover;
  box-shadow: var(--shadow);
}

.kb-shell > * {
  position: relative;
  z-index: 1;
}

.kb-shell h1,
.kb-shell .eyebrow {
  color: #fff;
}

.kb-shell .lead {
  color: rgba(255, 255, 255, 0.88);
}

.kb-shell .eyebrow::before {
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
}

.kb-shell .button-primary {
  background: #fff;
  color: var(--color-navy);
}

.kb-shell .button-primary:hover {
  background: var(--color-surface-soft);
}

.kb-shell .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
}

.kb-shell .button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.kb-now-card {
  border-color: rgba(0, 80, 124, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 80, 124, 0.05), rgba(0, 133, 160, 0.1)),
    var(--color-surface-soft);
}

.kb-now-card h2 {
  color: var(--color-navy);
}

.kb-now-card p {
  color: var(--color-muted);
}

.kb-pill {
  background: var(--color-navy);
  color: #fff;
}

.kb-tools .search-field {
  color: var(--color-navy);
}

.kb-tools .search-field input {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
}

.kb-tools .search-field input::placeholder {
  color: var(--color-muted);
}

.kb-category-field {
  display: grid;
  gap: 0.4rem;
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 750;
}

.kb-category-field select {
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
}

.kb-filter .filter-button {
  border-color: rgba(0, 80, 124, 0.22);
  background: var(--color-surface);
  color: var(--color-navy);
}

.kb-filter .filter-button[aria-pressed="true"] {
  background: var(--color-navy);
  color: #fff;
}

.kb-card {
  border-color: var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 14px 30px rgba(0, 80, 124, 0.1);
}

.kb-card-cover {
  background: linear-gradient(135deg, var(--color-navy), var(--color-ink)) !important;
}

.kb-card[data-kb-category="collection"] .kb-card-cover {
  background:
    radial-gradient(circle at top right, rgba(0, 133, 160, 0.78), transparent 48%),
    linear-gradient(135deg, var(--color-navy), var(--color-ink)) !important;
}

.kb-card[data-kb-category="format"] .kb-card-cover {
  background:
    radial-gradient(circle at top right, rgba(105, 83, 123, 0.76), transparent 48%),
    linear-gradient(135deg, var(--color-navy), var(--color-ink)) !important;
}

.kb-card-body h3 {
  color: var(--color-navy);
}

.kb-chip {
  border: 1px solid rgba(0, 80, 124, 0.14);
  background: var(--color-surface-soft);
  color: var(--color-navy);
}

.kb-track {
  border: 1px solid rgba(0, 80, 124, 0.1);
  background: rgba(0, 80, 124, 0.04);
  color: var(--color-ink);
}

.kb-track span:last-child {
  color: var(--color-muted);
}

.kb-callout {
  border-color: rgba(0, 80, 124, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 133, 160, 0.1), rgba(228, 95, 78, 0.1)),
    var(--color-surface);
}

.kb-visual-section {
  padding-block: 0;
}

.kb-story-image {
  position: relative;
  min-height: clamp(20rem, 38vw, 32rem);
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background: var(--color-navy);
  box-shadow: var(--shadow);
}

.kb-story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 50, 77, 0.68), rgba(0, 80, 124, 0.12) 70%);
}

.kb-story-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.kb-story-image figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  max-width: 20ch;
  color: #fff;
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 0.96;
}

/* Knowledge Base collection detail */
.collection-hero {
  padding: clamp(2rem, 6vw, 5rem) 0;
  background:
    linear-gradient(90deg, rgba(0, 42, 66, 0.94) 0%, rgba(0, 80, 124, 0.82) 46%, rgba(0, 80, 124, 0.34) 100%),
    url("../images/hero/board-discussion.png") center / cover;
}

.collection-hero-content {
  max-width: 48rem;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1rem, 3vw, 2rem);
}

.collection-hero h1,
.collection-hero .eyebrow {
  color: #fff;
}

.collection-hero .lead {
  color: rgba(255, 255, 255, 0.88);
}

.collection-hero .eyebrow::before {
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
}

.collection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.5rem 0;
  padding: 0;
  color: #fff;
  font-weight: 750;
  list-style: none;
}

.collection-meta li::before {
  content: "•";
  margin-right: 0.5rem;
  color: var(--color-gold);
}

.collection-actions .button-primary {
  background: #fff;
  color: var(--color-navy);
}

.collection-actions .button-primary:hover {
  background: var(--color-surface-soft);
}

.collection-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
}

.collection-actions .button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.collection-action-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.collection-install-help {
  max-width: 54ch;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.collection-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}

.collection-sidebar {
  align-self: start;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface-soft);
}

.collection-sidebar nav ol {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.collection-sidebar nav a {
  color: var(--color-navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.collection-sidebar p:last-child {
  margin: 0;
  font-size: 0.92rem;
}

.collection-content {
  display: grid;
  gap: clamp(2.75rem, 6vw, 5rem);
  min-width: 0;
}

.collection-section h2,
.collection-support h2 {
  max-width: 22ch;
}

.collection-section-heading {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.collection-section-heading > p {
  max-width: 34ch;
  margin: 0;
}

.collection-resource-list {
  display: grid;
  border-top: 1px solid var(--color-border);
}

.collection-resource {
  display: grid;
  gap: 0.75rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.collection-resource h3 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}

.collection-resource p {
  max-width: 54ch;
  margin: 0;
}

.resource-type {
  margin: 0;
  color: var(--color-clay);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collection-media-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.collection-media-image {
  display: grid;
  min-height: 14rem;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 80, 124, 0.76), rgba(53, 71, 79, 0.8)),
    url("../images/hero/board-discussion.png") center / cover;
}

.collection-media-image span {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collection-media-copy {
  display: grid;
  align-content: center;
  gap: 0.85rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.collection-media-copy h3,
.collection-media-copy p {
  margin: 0;
}

.collection-media-copy .button {
  justify-self: start;
  margin-top: 0.25rem;
}

.collection-support {
  padding: clamp(1.5rem, 5vw, 3rem);
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface-soft);
}

@media (min-width: 720px) {
  .collection-layout {
    grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 1fr);
  }

  .collection-sidebar {
    position: sticky;
    top: 1.5rem;
  }

  .collection-section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.55fr);
  }

  .collection-resource {
    grid-template-columns: 7rem minmax(0, 1fr) auto;
    gap: 1.5rem;
  }

  .collection-media-card {
    grid-template-columns: minmax(14rem, 0.76fr) minmax(0, 1fr);
  }
}

/* Recorded webinar library */
.webinar-hero {
  padding: clamp(2rem, 6vw, 5rem) 0;
  background:
    linear-gradient(90deg, rgba(0, 42, 66, 0.94) 0%, rgba(0, 80, 124, 0.8) 48%, rgba(0, 80, 124, 0.3) 100%),
    url("../images/hero/ministry-leadership-session.png") center / cover;
}

.webinar-hero-content {
  max-width: 44rem;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1rem, 3vw, 2rem);
}

.webinar-hero h1,
.webinar-hero .eyebrow {
  color: #fff;
}

.webinar-hero .lead {
  color: rgba(255, 255, 255, 0.88);
}

.webinar-hero .eyebrow::before {
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
}

.webinar-hero .button-primary {
  background: #fff;
  color: var(--color-navy);
}

.webinar-hero .button-primary:hover {
  background: var(--color-surface-soft);
}

.webinar-hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
}

.webinar-hero .button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.webinar-tools {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.webinar-tools .search-field {
  color: var(--color-navy);
}

.webinar-tools .search-field input {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
}

.webinar-filter .filter-button {
  border-color: rgba(0, 80, 124, 0.22);
  background: var(--color-surface);
  color: var(--color-navy);
}

.webinar-filter .filter-button[aria-pressed="true"] {
  background: var(--color-navy);
  color: #fff;
}

.webinar-heading {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.webinar-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.webinar-item {
  border-bottom: 1px solid var(--color-border);
}

.webinar-item[hidden] {
  display: none;
}

.webinar-item a {
  display: grid;
  gap: 0.6rem;
  padding: 1.1rem 0;
  color: var(--color-ink);
}

.webinar-item a:hover strong {
  color: var(--color-clay);
}

.webinar-item strong,
.webinar-item small {
  display: block;
}

.webinar-item strong {
  color: var(--color-navy);
  font-family: var(--font-editorial);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  font-weight: 600;
  line-height: 1.05;
}

.webinar-item small {
  margin-top: 0.25rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.webinar-item a > span:last-child {
  color: var(--color-navy);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.webinar-topic {
  width: fit-content;
  color: var(--color-clay);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .webinar-item a {
    grid-template-columns: 9rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
  }
}

/* Webinar explorer and The Green routing preview */
.webinar-explorer {
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.webinar-explorer-sidebar {
  align-self: start;
}

.webinar-explorer-sidebar h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.webinar-preview-list {
  display: grid;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.webinar-preview-list button {
  display: grid;
  gap: 0.25rem;
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-navy);
  font: inherit;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.webinar-preview-list button span {
  color: var(--color-clay);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.webinar-preview-list button[aria-pressed="true"] {
  padding-left: 0.85rem;
  background: rgba(0, 133, 160, 0.1);
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.webinar-preview-panel {
  display: grid;
  align-content: center;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid rgba(0, 80, 124, 0.18);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(0, 133, 160, 0.1), rgba(228, 95, 78, 0.08)),
    var(--color-surface);
  box-shadow: var(--shadow);
}

.webinar-preview-panel h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.webinar-preview-panel .lead {
  max-width: 48ch;
  margin-bottom: 0;
}

.webinar-preview-details {
  display: grid;
  gap: 0.65rem;
  max-width: 52ch;
  padding: 1rem 0;
  border-block: 1px solid rgba(0, 80, 124, 0.16);
}

.webinar-preview-details p {
  margin: 0;
}

.green-questions-heading {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.green-questions-heading h2 {
  max-width: 18ch;
}

.green-questions-heading > p {
  max-width: 46ch;
  margin: 0;
}

.green-question-grid {
  display: grid;
  gap: 1rem;
}

.green-question-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.green-question-card h3,
.green-question-card p {
  margin: 0;
}

@media (min-width: 720px) {
  .webinar-explorer {
    grid-template-columns: minmax(16rem, 0.56fr) minmax(0, 1fr);
  }

  .webinar-explorer-sidebar {
    position: sticky;
    top: 1.5rem;
  }

  .green-questions-heading {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.7fr);
  }

  .green-question-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Image-led webinar tiles */
.webinar-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  border-top: 0;
}

.webinar-item {
  min-height: 18rem;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-navy);
  box-shadow: 0 12px 28px rgba(0, 80, 124, 0.12);
}

.webinar-item a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 18rem;
  padding: 1.25rem;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 39, 62, 0.08) 10%, rgba(0, 43, 67, 0.94) 100%),
    url("../images/hero/ministry-leadership-session.png") center / cover;
}

.webinar-item a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 80, 124, 0.1);
  transition: background-color 180ms ease;
}

.webinar-item a:hover::before {
  background: rgba(0, 80, 124, 0.32);
}

.webinar-item a > span {
  position: relative;
  z-index: 1;
}

.webinar-item[data-webinar-category="governance"] a {
  background-image:
    linear-gradient(180deg, rgba(0, 39, 62, 0.08) 10%, rgba(0, 43, 67, 0.94) 100%),
    url("../images/hero/board-discussion.png");
}

.webinar-item[data-webinar-category="finance"] a {
  background-image:
    linear-gradient(180deg, rgba(0, 39, 62, 0.08) 10%, rgba(0, 43, 67, 0.94) 100%),
    url("../images/hero/finance-workflow.png");
}

.webinar-item[data-webinar-category="people"] a {
  background-image:
    linear-gradient(180deg, rgba(0, 39, 62, 0.08) 10%, rgba(0, 43, 67, 0.94) 100%),
    url("../images/hero/team-collaboration.png");
}

.webinar-item[data-webinar-category="legal"] a {
  background-image:
    linear-gradient(180deg, rgba(0, 39, 62, 0.08) 10%, rgba(0, 43, 67, 0.94) 100%),
    url("../images/hero/legal-affairs-hero-dark.png");
}

.webinar-item strong {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.webinar-item a:hover strong {
  color: #fff;
}

.webinar-item small {
  color: rgba(255, 255, 255, 0.8);
}

.webinar-item a > span:last-child {
  margin-top: 0.8rem;
  color: #fff;
  text-decoration-color: var(--color-gold);
}

.webinar-topic {
  margin-bottom: 0.55rem;
  color: #fff;
}

.program-tools {
  margin-bottom: 1.75rem;
}

.search-field {
  display: grid;
  gap: 0.4rem;
  color: var(--color-navy);
  font-weight: 800;
}

.search-field input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-ink);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-button {
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(0, 80, 124, 0.2);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-navy);
  font-weight: 800;
}

.filter-button[aria-pressed="true"] {
  background: var(--color-navy);
  color: #fff;
}

.resource-card[hidden] {
  display: none;
}

.empty-state {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-navy);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.field {
  display: grid;
  gap: 0.4rem;
  color: var(--color-navy);
  font-weight: 800;
}

.field textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--color-navy);
  font-weight: 800;
}

.site-footer {
  padding-block: 2.5rem;
  background: linear-gradient(135deg, #00507c, #003a5b);
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: #fff;
}

.site-footer p {
  max-width: 36rem;
  opacity: 0.78;
}

.footer-brand {
  margin-bottom: 0.6rem;
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-footer nav a {
  opacity: 0.86;
}

.site-footer nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 719px) {
  .js .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .js .nav-wrap {
    flex-wrap: wrap;
  }

  .js .header-actions {
    order: 2;
    margin-left: auto;
  }

  .js .site-nav {
    order: 3;
  }

  .js .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.75rem;
  }

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

  .site-nav a {
    width: 100%;
  }

  .brand small {
    max-width: 13rem;
  }

  .brand-logo {
    width: min(380px, 44vw);
    max-height: 72px;
  }

  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid {
    grid-template-columns: 1fr;
  }

  .visual-panel,
  .member-preview {
    min-height: 240px;
  }

  .section-visual {
    margin-top: 1rem;
  }

  .journey-sequence,
  .journey-sequence-stage {
    min-height: 700px;
  }

  .journey-sequence.has-selection,
  .journey-sequence.has-selection .journey-sequence-stage {
    min-height: 980px;
  }

  .journey-sequence.has-final,
  .journey-sequence.has-final .journey-sequence-stage {
    min-height: 1650px;
  }

  .journey-sequence-stage {
    padding: 1.25rem;
  }

  .journey-start-card {
    left: 50%;
  }

  .journey-sequence.has-selection .journey-start-card {
    left: 50%;
    transform: translate3d(-50%, -50%, 0) scale(0.97);
  }

  .journey-next-card {
    left: 50%;
  }

  .journey-final-card {
    left: 50%;
  }

  .journey-sequence.has-final .journey-next-card.is-visible {
    left: 50%;
    transform: translate3d(-50%, -50%) rotate(-3deg) scale(0.97);
  }

  .journey-final-card.is-visible {
    transform: translate3d(-50%, -50%) rotate(0);
  }
}

@media (max-width: 440px) {
  .brand small {
    display: none;
  }

  .brand-logo {
    width: min(240px, 64vw);
    max-height: 48px;
  }

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

@media (min-width: 720px) {
  .journey-sequence.has-selection {
    min-height: 980px;
  }

  .journey-sequence.has-selection .journey-sequence-stage {
    min-height: 980px;
  }

  .journey-sequence.has-final {
    min-height: 1650px;
  }

  .journey-sequence.has-final .journey-sequence-stage {
    min-height: 1650px;
  }
}

@media (min-width: 720px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .section {
    padding-block: 5.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    align-items: center;
  }

  .journey-sequence-stage {
    min-height: 700px;
  }

  .strip-tile {
    min-height: 320px;
  }

  .hero-banner {
    min-height: 78vh;
  }

  .page-hero.hero-banner {
    min-height: 58vh;
  }

  .split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .vision-home-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  }

  .about-vision-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .trust-grid,
  .cta,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .trust-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
    gap: clamp(2rem, 7vw, 6rem);
  }

  .trust-grid > p {
    max-width: 36ch;
    justify-self: end;
    margin-bottom: 0;
  }

  .card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .program-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-tools {
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: end;
  }

  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-center-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kb-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: stretch;
  }

  .kb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .section-heading-row {
    display: block;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .home-page .event-card + .event-card {
    border-top: 1px solid rgba(0, 80, 124, 0.14);
    border-left: 0;
  }

  .home-page .hero-editorial-intro {
    padding-left: 1rem;
  }

  .home-page .vision-home-pathway {
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 0;
  }

  .home-page .home-final .cta {
    padding-left: 1rem;
  }

  .member-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 5.8rem;
  }

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

  .member-center-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .member-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Editorial overlay navigation: inspired by the reference's pace, expressed in CCCC's own voice and palette. */
.site-header {
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.member-area {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fb 100%);
}

body.member-area .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(90deg, #003a5b 0%, #00507c 54%, #0a4f6f 100%);
  box-shadow: 0 12px 30px rgba(0, 31, 49, 0.16);
}

body.member-area .site-header .brand,
body.member-area .site-header .brand small,
body.member-area .site-header .site-nav a,
body.member-area .site-header .header-login {
  color: #f7fbff;
}

body.member-area .site-header .site-nav a:hover,
body.member-area .site-header .site-nav a[aria-current="page"] {
  background: rgba(255, 240, 197, 0.16);
  color: #fff0c5;
}

body.member-area .site-header .header-login {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

body.member-area .site-header .header-login:hover {
  border-color: rgba(255, 240, 197, 0.54);
  background: rgba(255, 240, 197, 0.16);
  color: #fff0c5;
}

body.member-area .site-header .nav-toggle {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

/* Image-led pages begin with the navigation in the scene, rather than a separate white bar. */
body:not(.kb-page) .site-header {
  position: fixed;
  inset: 0 0 auto;
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
}

body:not(.kb-page) .site-header.is-scrolled:not(.is-open) {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 58, 91, 0.94);
  box-shadow: 0 8px 30px rgba(0, 34, 56, 0.18);
  backdrop-filter: blur(12px);
}

body:not(.kb-page) .nav-wrap {
  /* Keep the overlay header aligned with the hero and page content. */
  width: min(var(--container), calc(100% - 2rem));
  max-width: var(--container);
}

body:not(.kb-page) .brand-logo {
  content: url("../images/logo/cccc-logo-approved-white-cropped.svg");
}

body:not(.kb-page) .header-login {
  min-height: 0;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

body:not(.kb-page) .header-login:hover {
  background: transparent;
  border-bottom-color: var(--color-gold);
  color: #fff0c5;
}

/* A page title can occupy the hero image directly; the readable text measure remains deliberate. */
.hero-banner {
  padding-top: clamp(8.5rem, 13vw, 11.5rem);
}

.hero-banner-content > .container {
  width: min(var(--container), calc(100% - 2rem));
  max-width: var(--container);
}

.page-hero .hero-banner-card {
  max-width: min(47rem, 62vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.page-hero .hero-banner-card h1 {
  max-width: 11ch;
  font-size: clamp(3.35rem, 7vw, 6.8rem);
  letter-spacing: -0.045em;
}

.page-hero .hero-banner-card .lead {
  max-width: 43ch;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

html:not(.js) body:not(.kb-page) .site-nav a {
  color: #fff;
}

html:not(.js) body:not(.kb-page) .site-nav a:hover,
html:not(.js) body:not(.kb-page) .site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff0c5;
}

.js .site-header {
  z-index: 30;
  backdrop-filter: none;
}

.js .nav-toggle {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  border: 1px solid rgba(0, 80, 124, 0.15);
  border-radius: 999px;
  background: var(--color-navy);
  transition: background 180ms ease, transform 180ms ease;
}

.js .nav-toggle:hover {
  background: #003a5b;
  transform: translateY(-1px);
}

.js .site-header.is-open .nav-toggle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
}

.js .site-header.is-open .nav-toggle span[aria-hidden="true"]:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.js .site-header.is-open .nav-toggle span[aria-hidden="true"]:nth-of-type(3) {
  opacity: 0;
}

.js .site-header.is-open .nav-toggle span[aria-hidden="true"]:nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.js .nav-toggle span[aria-hidden="true"] {
  transition: transform 180ms ease, opacity 180ms ease;
}

.js .header-actions,
.js .brand {
  position: relative;
  z-index: 3;
}

.js .site-header.is-open .brand-logo {
  content: url("../images/logo/cccc-logo-approved-white.svg");
  filter: none;
}

.js .site-header.is-open .header-login {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.js .site-nav {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  align-content: center;
  justify-items: stretch;
  gap: 0;
  overflow-y: auto;
  padding: clamp(8.5rem, 16vh, 11rem) max(1.5rem, calc((100vw - var(--container)) / 2)) 2.5rem;
  border: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(228, 95, 78, 0.2), transparent 18rem),
    radial-gradient(circle at 9% 87%, rgba(44, 175, 200, 0.22), transparent 22rem),
    linear-gradient(135deg, #003a5b 0%, var(--color-navy) 58%, #006a7e 100%);
  box-shadow: none;
  counter-reset: menu;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  visibility: hidden;
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 320ms;
}

.js .site-nav::before {
  content: "Supporting ministries in a complex world";
  width: min(100%, 58rem);
  margin-bottom: clamp(1rem, 3vh, 2rem);
  color: #fff0c5;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.js .site-nav::after {
  content: "Press Esc to close";
  width: min(100%, 58rem);
  margin-top: clamp(1.4rem, 4vh, 3rem);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
}

.js .site-header.is-open .site-nav {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.js .site-nav a,
.kb-page .site-nav a {
  position: relative;
  display: grid;
  width: min(100%, 58rem);
  min-height: 0;
  grid-template-columns: clamp(2.4rem, 6vw, 4.5rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  padding: clamp(0.35rem, 1.2vh, 0.8rem) 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font-family: var(--font-editorial);
  font-size: clamp(2.25rem, 5.8vw, 4.85rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.9;
  transition: color 180ms ease, padding-left 220ms ease;
}

.js .site-nav a::before {
  counter-increment: menu;
  content: counter(menu, decimal-leading-zero);
  color: #fff0c5;
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.js .site-nav a:hover,
.js .site-nav a[aria-current="page"],
.kb-page .site-nav a:hover,
.kb-page .site-nav a[aria-current="page"] {
  background: transparent;
  color: var(--color-gold);
  padding-left: 0.55rem;
}

body.menu-is-open {
  overflow: hidden;
}

/* Sector representation and legal affairs. */
.legal-hero::before {
  background: linear-gradient(90deg, rgba(0, 32, 56, 0.86) 0%, rgba(0, 80, 124, 0.62) 38%, rgba(0, 80, 124, 0.12) 74%, rgba(0, 80, 124, 0) 100%);
}

.legal-affairs-page .hero-banner-card {
  max-width: min(48rem, 65vw);
}

.legal-intro-grid,
.legal-case-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
}

.legal-intro-copy {
  max-width: 43rem;
  align-self: end;
  font-size: 1.12rem;
}

.legal-intro-copy p:last-child,
.legal-case-copy p:last-of-type,
.legal-matter p:last-child,
.legal-representation-grid p:last-child,
.legal-insight-card p:last-child {
  margin-bottom: 0;
}

.legal-work-grid {
  align-items: stretch;
}

.legal-work-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.legal-work-card h3,
.legal-insight-card h3 {
  font-size: 1.65rem;
}

.legal-work-card p {
  margin-bottom: 0;
}

.legal-matter-list {
  display: grid;
  gap: 0.9rem;
}

.legal-matter {
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--color-gold);
  background: var(--color-surface-soft);
}

.legal-matter:nth-child(2) {
  border-left-color: var(--color-teal);
}

.legal-matter:nth-child(3) {
  border-left-color: var(--color-accent);
}

.legal-matter h3 {
  margin-bottom: 0.4rem;
  font-size: 1.55rem;
}

.legal-status-note {
  max-width: 58rem;
  margin: -0.75rem 0 1.5rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--color-gold);
  background: #fff8e7;
  color: var(--color-ink);
  font-size: 0.92rem;
}

.legal-case-study-grid {
  display: grid;
  gap: 1rem;
}

.legal-case-study {
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 12px 28px rgba(0, 80, 124, 0.07);
}

.legal-case-study h3,
.legal-activity-list h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.legal-case-study p:last-child,
.legal-case-study ul:last-child,
.legal-activity-list p:last-child {
  margin-bottom: 0;
}

.legal-case-study-link {
  display: inline-flex;
  margin-top: 1rem;
}

.legal-case-study ul {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.legal-case-study-featured {
  border-top: 4px solid var(--color-navy);
}

.legal-case-library-hero .hero-banner-card {
  max-width: min(45rem, 65vw);
}

.case-library-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.case-library-filter-label {
  color: var(--color-navy);
  font-weight: 800;
}

.case-library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-filter {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-navy);
  font-weight: 750;
}

.case-filter:hover,
.case-filter.is-active {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: #fff;
}

.case-library-list {
  display: grid;
  gap: 1.25rem;
}

.case-dossier {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--color-surface);
  box-shadow: 0 14px 36px rgba(0, 80, 124, 0.08);
}

.case-dossier h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.case-dossier-summary > p:last-child,
.case-material-content p:last-child {
  margin-bottom: 0;
}

.case-dossier-link {
  margin-top: 1rem;
}

.breadcrumbs {
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 750;
}

.member-utility-bar {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(90deg, rgba(7, 27, 42, 0.98), rgba(10, 49, 74, 0.96));
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.page-utility-bar {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(90deg, rgba(7, 27, 42, 0.98), rgba(10, 49, 74, 0.96));
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.member-utility-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0;
}

.page-utility-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0;
}

.member-utility-bar .breadcrumbs {
  margin-bottom: 0;
  font-size: 0.76rem;
}

.page-utility-bar .breadcrumbs {
  margin-bottom: 0;
  font-size: 0.76rem;
}

.member-utility-bar .breadcrumbs a,
.member-utility-bar .breadcrumbs [aria-current="page"] {
  color: rgba(255, 255, 255, 0.9);
}

.page-utility-bar .breadcrumbs a,
.page-utility-bar .breadcrumbs [aria-current="page"] {
  color: rgba(255, 255, 255, 0.9);
}

.member-utility-bar .breadcrumbs a:hover {
  color: #fff0c5;
}

.page-utility-bar .breadcrumbs a:hover {
  color: #fff0c5;
}

.member-utility-bar .breadcrumbs li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.62);
}

.page-utility-bar .breadcrumbs li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.62);
}

.member-identity {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.member-identity-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff0c5;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.member-identity-details {
  display: grid;
  gap: 0.06rem;
  text-align: right;
}

.member-identity-name {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.member-identity-org {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  opacity: 0.58;
}

.breadcrumbs a {
  color: var(--color-navy-soft);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.breadcrumbs a:hover {
  color: var(--color-navy);
  text-decoration-color: currentColor;
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-muted);
}

.breadcrumbs-inverse a,
.breadcrumbs-inverse [aria-current="page"] {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumbs-inverse a:hover {
  color: #fff0c5;
}

.legal-case-detail-hero .hero-banner-card {
  max-width: min(56rem, 70vw);
}

.case-detail-status {
  margin-bottom: 0.75rem;
  color: #fff0c5 !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-detail-layout {
  display: grid;
  gap: 1.5rem;
}

.case-detail-overview p {
  max-width: 48rem;
  font-size: 1.1rem;
}

.case-detail-overview .legal-status-note {
  margin-top: 1.5rem;
}

.case-detail-issues {
  padding: 1.35rem;
  border-top: 4px solid var(--color-gold);
  background: var(--color-surface-soft);
}

.case-detail-issues h2 {
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
}

.case-detail-issues ul {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.case-detail-materials .case-materials {
  max-width: 58rem;
}

.case-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -0.25rem 0 1rem;
}

.case-topics span {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--color-surface-soft);
  color: var(--color-navy-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.case-materials {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--color-surface-soft);
}

.case-materials h3 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.case-materials-intro {
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.case-material {
  border-top: 1px solid var(--color-border);
}

.case-material:last-child {
  border-bottom: 1px solid var(--color-border);
}

.case-material summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.75rem;
  padding: 0.85rem 0;
  cursor: pointer;
  color: var(--color-navy);
}

.case-material summary::marker {
  color: var(--color-clay);
}

.case-material-type {
  grid-column: 1;
  color: var(--color-clay);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.case-material-title {
  grid-column: 1;
  font-weight: 800;
}

.case-material-date {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--color-muted);
  font-size: 0.78rem;
  text-align: right;
}

.case-material-content {
  padding: 0 0 0.9rem;
}

.case-material-pending {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-style: italic;
}

.legal-activities {
  background: linear-gradient(180deg, rgba(252, 250, 246, 0.48), rgba(241, 238, 232, 0.94));
}

.legal-activity-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.legal-activity-list article {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.legal-representation {
  background: var(--color-navy);
}

.legal-representation h2,
.legal-representation h3,
.legal-representation p {
  color: #fff;
}

.legal-representation .eyebrow {
  color: #fff0c5;
}

.legal-representation-grid {
  display: grid;
  gap: 1rem;
}

.legal-representation-grid article {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.legal-representation-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1.6rem;
}

.legal-insight-card {
  min-height: 100%;
}

.legal-cta-secondary {
  border-color: var(--color-border);
  color: var(--color-navy);
}

.legal-cta-secondary:hover {
  border-color: var(--color-navy);
  background: var(--color-surface-soft);
}

@media (min-width: 720px) {
  .legal-intro-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .legal-case-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  }

  .legal-representation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .legal-case-study-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-dossier {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    align-items: start;
  }

  .case-detail-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
    gap: clamp(2rem, 6vw, 6rem);
  }

  .legal-case-study-featured {
    grid-column: span 1;
  }

  .legal-activity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }

  .legal-representation-grid article {
    padding: 1.5rem 1.25rem 0 0;
  }

  .legal-representation-grid article + article {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.26);
  }
}

@media (max-width: 719px) {
  .js .nav-wrap {
    flex-wrap: nowrap;
  }

  .js .header-actions {
    order: 3;
    margin-left: auto;
  }

  .js .site-nav {
    display: grid;
    padding-top: 8rem;
  }

  .js .site-nav a {
    width: min(100%, 58rem);
  }

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

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

  .member-logo-track {
    animation: none;
  }

  .member-logo-track-clone {
    display: none;
  }

  .home-page .home-hero .hero-banner-media {
    display: none;
  }
}

/* Member resource workspace: a persistent reading and listening pane beside a searchable library. */
.member-workspace {
  display: grid;
  background: var(--color-bg);
}

.member-library {
  min-width: 0;
  background: var(--color-bg);
}

.member-library-inner {
  width: min(100% - 2rem, 44rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.member-library .breadcrumbs {
  margin-bottom: 1.5rem;
}

.member-library h1 {
  max-width: 14ch;
  margin-bottom: 0.8rem;
}

.member-library .lead {
  max-width: 48ch;
}

.member-library-search {
  margin-top: 2rem;
}

.member-library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.member-library-filters .filter-button[aria-pressed="true"] {
  background: var(--color-navy);
  color: #fff;
}

.member-library-count {
  margin: 1.25rem 0 0.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.member-resource-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-resource-card {
  display: grid;
  width: 100%;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-ink);
  text-align: left;
}

.member-resource-card:hover {
  border-color: var(--color-clay);
  background: #fff;
}

.member-resource-card.is-selected,
.member-resource-card[aria-pressed="true"] {
  border-color: var(--color-navy);
  box-shadow: inset 4px 0 0 var(--color-accent);
}

.member-resource-card strong {
  color: var(--color-navy);
  font-size: 1.05rem;
}

.member-resource-card > span:last-child {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.member-resource-type {
  color: var(--color-clay);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-player {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 32rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.member-player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-soft);
}

.member-player-toolbar p {
  margin: 0;
  color: var(--color-navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.member-player-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.member-player-control,
.member-player-restore {
  min-height: 38px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-navy);
  font-weight: 800;
}

.member-player-control:hover,
.member-player-restore:hover {
  border-color: var(--color-navy);
  background: #fff;
}

.member-player-content {
  display: grid;
  grid-template-rows: minmax(15rem, 0.85fr) minmax(0, 1fr);
  min-height: 0;
  overflow-y: auto;
}

.member-player-media {
  display: grid;
  min-height: 15rem;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 45, 70, 0.72), rgba(0, 80, 124, 0.52)),
    url("../images/hero/board-discussion.png") center / cover;
}

.member-player-media span {
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-player-media[data-member-player-theme="finance"] {
  background-image:
    linear-gradient(135deg, rgba(0, 45, 70, 0.72), rgba(0, 80, 124, 0.52)),
    url("../images/hero/finance-workflow.png");
}

.member-player-media[data-member-player-theme="guide"],
.member-player-media[data-member-player-theme="template"] {
  background-image:
    linear-gradient(135deg, rgba(0, 45, 70, 0.72), rgba(0, 80, 124, 0.52)),
    url("../images/hero/knowledge-library-shelf.png");
}

.member-player-media[data-member-player-theme="podcast"] {
  background-image:
    linear-gradient(135deg, rgba(0, 45, 70, 0.72), rgba(0, 80, 124, 0.52)),
    url("../images/hero/team-collaboration.png");
}

.member-player-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.member-player-copy > * {
  margin: 0;
}

.member-player-copy h2 {
  max-width: 20ch;
  color: var(--color-navy);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.member-player-details {
  display: grid;
  gap: 0.65rem;
  max-width: 62ch;
  padding: 1rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface-soft);
}

.member-player-details p {
  margin: 0;
}

.member-player-restore {
  align-self: center;
  justify-self: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.member-workspace.is-player-minimized .member-player {
  grid-template-rows: 1fr;
}

.member-workspace.is-player-minimized .member-player-toolbar,
.member-workspace.is-player-minimized .member-player-content {
  display: none;
}

.member-workspace.is-player-minimized .member-player-restore {
  display: block;
}

.member-player:fullscreen {
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100%;
  background: var(--color-surface);
}

.member-player:fullscreen .member-player-content {
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr;
}

@media (min-width: 720px) {
  body.member-resources-page {
    overflow: hidden;
  }

  .member-workspace {
    grid-template-columns: minmax(22rem, 0.85fr) minmax(0, 1.15fr);
    height: calc(100dvh - 78px);
    min-height: 38rem;
  }

  .member-library {
    overflow-y: auto;
  }

  .member-library-inner {
    width: min(100% - 3rem, 39rem);
    padding-bottom: 4rem;
  }

  .member-player {
    min-height: 0;
    border-top: 0;
    border-left: 1px solid var(--color-border);
  }

  .member-workspace.is-player-minimized {
    grid-template-columns: minmax(0, 1fr) 4.5rem;
  }

  .member-player-content {
    grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .member-player-copy {
    overflow-y: auto;
  }
}

@media (max-width: 719px) {
  .member-player-toolbar {
    align-items: flex-start;
  }

  .member-player-controls {
    flex-direction: column;
  }

  .member-player-content {
    grid-template-rows: minmax(13rem, 0.7fr) auto;
  }

  .member-workspace.is-player-minimized .member-player {
    min-height: 5rem;
  }

  .member-player-restore {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* A darker library side makes the active reading and listening surface clearly distinct. */
.member-library {
  background:
    linear-gradient(155deg, rgba(0, 43, 67, 0.98), rgba(0, 80, 124, 0.98)),
    url("../images/hero/knowledge-library-shelf.png") center / cover;
  color: #fff;
}

.member-library h1,
.member-library h2,
.member-library .lead,
.member-library .breadcrumbs a,
.member-library .breadcrumbs li[aria-current="page"] {
  color: #fff;
}

.member-library .breadcrumbs li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.64);
}

.member-library .eyebrow {
  color: #fff;
}

.member-library .eyebrow::before {
  background: var(--color-accent-soft);
}

.member-library .search-field {
  color: #fff;
}

.member-library .search-field input {
  border-color: rgba(255, 255, 255, 0.38);
  background: #fff;
  color: var(--color-ink);
}

.member-category-filter {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
  color: #fff;
  font-weight: 800;
}

.member-category-filter select {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}

.member-library-filters .filter-button {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 43, 67, 0.56);
  color: #fff;
}

.member-library-filters .filter-button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.member-library-filters .filter-button[aria-pressed="true"] {
  border-color: #fff;
  background: #fff;
  color: var(--color-navy);
}

.member-library-count {
  color: rgba(255, 255, 255, 0.78);
}

.member-resource-card {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(0, 43, 67, 0.68);
  color: #fff;
}

.member-resource-card:hover {
  border-color: #fff;
  background: rgba(0, 32, 51, 0.88);
}

.member-resource-card strong,
.member-resource-card > span:last-child {
  color: #fff;
}

.member-resource-card > span:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.member-resource-type {
  color: #fff0c5;
}

.member-resource-card.is-selected,
.member-resource-card[aria-pressed="true"] {
  border-color: #fff;
  background: #fff;
  box-shadow: inset 4px 0 0 var(--color-accent);
  color: var(--color-ink);
}

.member-resource-card.is-selected strong,
.member-resource-card[aria-pressed="true"] strong {
  color: var(--color-navy);
}

.member-resource-card.is-selected > span:last-child,
.member-resource-card[aria-pressed="true"] > span:last-child {
  color: var(--color-muted);
}

.member-resource-card.is-selected .member-resource-type,
.member-resource-card[aria-pressed="true"] .member-resource-type {
  color: var(--color-clay);
}

.member-shelf {
  margin-top: 1.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(0, 32, 51, 0.52);
}

.member-shelf-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.member-shelf-heading .eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
}

.member-shelf-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.member-shelf-toggle {
  min-height: 34px;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.member-shelf-toggle:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.member-shelf-intro,
.member-shelf-empty {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.member-shelf-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.member-shelf-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.member-shelf-link,
.member-shelf-resource {
  min-width: 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}

.member-shelf-link:hover,
.member-shelf-resource:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.member-shelf-remove {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  font-weight: 900;
}

.member-shelf-remove:hover {
  border-color: #fff;
  background: rgba(228, 95, 78, 0.42);
}

.member-player {
  background: #fff;
  box-shadow: -18px 0 32px rgba(0, 43, 67, 0.14);
}

@media (max-width: 719px) {
  .member-player {
    box-shadow: 0 -12px 28px rgba(0, 43, 67, 0.14);
  }
}

/* Persistent public-site navigation: account actions above, five links below. */
body:not(.kb-page) .site-header {
  background: rgba(0, 58, 91, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 30px rgba(0, 34, 56, 0.18);
  backdrop-filter: blur(12px);
}

.account-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.account-bar-inner {
  display: flex;
  min-height: 2.5rem;
  justify-content: flex-end;
  align-items: center;
}

.member-login,
.member-account {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.member-login {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
}

.member-account-name::after {
  content: "·";
  margin-left: 0.45rem;
  color: var(--color-gold);
}

.member-account-organisation {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 650;
}

.member-login:hover,
.member-account:hover {
  color: #fff0c5;
}

.member-login:hover {
  border-bottom-color: var(--color-gold);
}

.nav-wrap,
body:not(.kb-page) .nav-wrap {
  display: grid;
  width: min(var(--container), calc(100% - 2rem));
  max-width: var(--container);
  min-height: 4.5rem;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
}

.site-nav,
.js .site-nav {
  position: static;
  display: flex;
  width: auto;
  min-height: 0;
  max-width: none;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.15rem;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  counter-reset: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  visibility: visible;
}

.site-nav::before,
.site-nav::after,
.js .site-nav::before,
.js .site-nav::after {
  content: none;
}

.site-nav a,
.js .site-nav a,
.kb-page .site-nav a {
  display: inline-flex;
  width: auto;
  min-height: 4.5rem;
  grid-template-columns: none;
  align-items: center;
  gap: 0;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.2;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a::before,
.js .site-nav a::before {
  content: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.js .site-nav a:hover,
.js .site-nav a[aria-current="page"],
.kb-page .site-nav a:hover,
.kb-page .site-nav a[aria-current="page"] {
  padding-left: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff0c5;
}

@media (max-width: 719px) {
  .nav-wrap,
  body:not(.kb-page) .nav-wrap {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.65rem 0;
  }

  .brand {
    min-height: 2.5rem;
  }

  .site-nav,
  .js .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .site-nav a,
  .js .site-nav a,
  .kb-page .site-nav a {
    min-height: 2.75rem;
    flex: 0 0 auto;
    padding-inline: 0.65rem;
  }

  .member-account {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
