@import url("/assets/css/tokens.css");
@import url("/assets/css/pcg-lockup.css");

:root {
        color-scheme: light;
        --page: #f7f8fa;
        --surface: #ffffff;
        --ink: #111827;
        --body: #344454;
        --rule: #d9dde2;
        --red: var(--brand);
        --red-deep: var(--brand-text);
        --warm: #f7f4ee;
        --quiet: #eef1f4;
        --deep: #181d23;
        --deep-body: #d7dde2;
        --hero-ink: #ffffff;
        --hero-body: #edf0f2;
        --hero-rule: rgba(255, 255, 255, 0.32);
      }

      * { box-sizing: border-box; }
      html, body { min-height: 100%; }

      body {
        margin: 0;
        min-height: 100svh;
        background: var(--page);
        color: var(--ink);
        font-family: var(--font-body);
        font-size: var(--size-body);
        line-height: var(--leading-body);
        -webkit-font-smoothing: antialiased;
      }

      main {
        min-height: 100svh;
        padding: 0;
      }

      .page {
        width: 100%;
        min-height: 100svh;
        margin: 0;
        display: grid;
        grid-template-rows: 1fr auto;
        overflow: visible;
        background: var(--surface);
      }

      .hero {
        position: relative;
        height: auto;
        max-height: min(640px, 76svh);
        min-height: 0;
        display: grid;
        grid-template-rows: 1fr;
        isolation: isolate;
        overflow: hidden;
        color: var(--hero-ink);
        background: #140c0e;
      }

      .hero-still {
        position: absolute;
        inset: 0;
        z-index: 0;
        margin: 0;
      }

      .hero-still img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 42%;
      }

      .hero-shade {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background:
          linear-gradient(90deg, rgba(18, 6, 8, 0.9) 0%, rgba(28, 8, 12, 0.72) 46%, rgba(12, 10, 12, 0.38) 100%),
          linear-gradient(180deg, rgba(12, 6, 8, 0.28) 0%, rgba(12, 6, 8, 0.08) 38%, rgba(12, 6, 8, 0.78) 100%);
      }

      .site-banner {
        position: sticky;
        top: 0;
        z-index: 60;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px 16px;
        min-height: 66px;
        padding: 10px var(--gutter);
        background: var(--surface);
        border-top: 0;
        border-bottom: 1px solid var(--rule);
        transition: min-height 160ms ease, padding 160ms ease;
      }

      .site-banner.is-shrunk {
        min-height: 52px;
        padding-top: 4px;
        padding-bottom: 4px;
      }

      .site-banner.is-shrunk .banner-brand img {
        width: 24px;
        height: 24px;
      }

      .site-banner.is-shrunk .banner-name { font-size: 1.2rem; }

      @media (prefers-reduced-motion: reduce) {
        .site-banner { transition: none; }
      }

      .banner-brand {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        color: var(--ink);
        text-decoration: none;
      }

      .banner-brand img {
        width: 30px;
        height: 30px;
        object-fit: contain;
      }

      .banner-name {
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: 1.45rem;
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1;
        text-transform: none;
      }

      .nav-toggle {
        display: none;
        align-items: center;
        border: 1px solid #000000;
        border-radius: 4px;
        background: #ffffff;
        color: #000000;
        min-height: 44px;
        padding: 6px 12px;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .04em;
        cursor: pointer;
      }

      .nav-toggle:hover { border-color: var(--brand); color: var(--brand-text); }
      .nav-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

      .give-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        min-height: 40px;
        padding: 8px 17px;
        border: 1px solid var(--brand);
        border-radius: 8px;
        background: var(--brand);
        color: #ffffff;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .05em;
        text-decoration: none;
      }

      .give-button:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); text-decoration: none; }
      .give-button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

      @media (max-width: 819px) {
        .nav-toggle { display: inline-flex; }
        .site-banner { flex-wrap: wrap; row-gap: 8px; }
        .banner-brand { flex: 1 1 auto; min-width: 0; }
        .banner-name { font-size: 1.15rem; }
        .lang-switch { margin-left: 0; }
        .give-button { min-height: 44px; padding: 8px 14px; font-size: 13px; margin-left: auto; }
        .site-banner .banner-nav { display: none; }
        .site-banner .banner-nav.is-open {
          display: flex;
          flex: 1 1 100%;
          flex-direction: column;
          align-items: stretch;
          gap: 0;
          border-top: 1px solid #e6e0d6;
        }
        .site-banner .banner-nav.is-open a {
          width: 100%;
          min-height: 48px;
          padding: 8px 2px;
          border-bottom: 1px solid #e6e0d6;
          font-size: 16px;
        }
        .resources-menu { width: 100%; }
        .resources-menu summary { display: none; }
        .resources-menu .nav-gospel,
        .resources-menu[open] .nav-gospel {
          display: flex;
          position: static;
          width: 100%;
          min-height: 48px;
          margin-top: 4px;
          background: var(--brand);
          color: #ffffff;
        }
      }

      .gospel-band {
        background: #111827;
        color: #ffffff;
      }
      .gospel-band-inner {
        padding: var(--space-section) var(--gutter);
        max-width: 46rem;
      }
      .gospel-band h2 {
        margin: 0;
        color: #ffffff;
        font-family: var(--font-heading);
        font-size: clamp(2.4rem, 7vw, 3.6rem);
        font-weight: 400;
        line-height: 1.05;
      }
      .gospel-band-subtitle {
        margin: 12px 0 0;
        color: #ffffff;
        font-family: var(--font-heading);
        font-size: clamp(1.35rem, 3vw, 1.75rem);
        line-height: 1.25;
      }
      .gospel-band-line {
        margin: 14px 0 0;
        max-width: 36rem;
        color: #f7f4ee;
        font-size: var(--size-body);
        line-height: var(--leading-body);
      }
      .gospel-band-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 22px;
      }
      .gospel-band-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 56px;
        padding: 14px 22px;
        border-radius: 6px;
        font-size: 1.125rem;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
      }
      .gospel-band-primary {
        background: var(--brand);
        color: #ffffff;
      }
      .gospel-band-secondary {
        background: #ffffff;
        color: var(--brand-text);
      }
      .gospel-band-actions a:hover { text-decoration: none; }
      .gospel-band-primary:hover { background: var(--brand-hover); }
      .gospel-band-actions a:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: 3px;
      }

      .banner-nav {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 18px;
      }

      .banner-nav a {
        color: var(--ink);
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-weight: 700;
        text-decoration: none;
      }

      .banner-nav a:hover { color: var(--red-deep); text-decoration: underline; text-underline-offset: 4px; }
      @media (min-width: 820px) {
        .resources-menu { position: relative; }
        .resources-menu summary {
          display: inline-flex;
          align-items: center;
          min-height: 44px;
          color: var(--ink);
          font-size: 0.84rem;
          font-weight: 700;
          list-style: none;
          cursor: pointer;
        }
        .resources-menu summary::-webkit-details-marker { display: none; }
        .resources-menu summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
        .resources-menu .nav-gospel { display: none; }
        .resources-menu[open] .nav-gospel {
          display: flex;
          align-items: center;
          position: absolute;
          z-index: 40;
          top: calc(100% + 6px);
          left: 0;
          min-width: 15rem;
          min-height: 48px;
          padding: 12px 16px;
          background: var(--brand);
          color: #ffffff;
          font-weight: 700;
          text-decoration: none;
        }
      }
      .resources-menu .nav-gospel:hover,
      .resources-menu .nav-gospel:focus-visible {
        background: #ffffff;
        color: var(--brand-text);
        outline: 3px solid #ffffff;
        outline-offset: 2px;
      }
      .banner-nav a:focus-visible {
        outline: 2px solid var(--red);
        outline-offset: 4px;
      }

      .brand {
        display: inline-flex;
        align-items: center;
        justify-self: start;
        gap: 13px;
        margin: 0 var(--gutter);
        padding: clamp(34px, 5vw, 54px) 0 22px;
        border-bottom: 1px solid var(--hero-rule);
      }

      .brand img {
        width: 40px;
        height: 40px;
        object-fit: contain;
      }

      .brand span {
        color: var(--hero-ink);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.13em;
        text-transform: uppercase;
      }

      .content {
        position: relative;
        z-index: 2;
        align-self: end;
        display: block;
        max-width: 820px;
        padding: 16px var(--gutter) 20px;
      }

      .wordmark {
        margin: 0 0 8px;
        color: var(--hero-ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h1);
        font-weight: 400;
        line-height: 1;
        letter-spacing: 0.04em;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
      }

      .message {
        max-width: 650px;
        padding-top: 1px;
      }

      .status {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 0 10px;
        color: #ffffff;
        font-size: var(--size-small);
        font-weight: 700;
        letter-spacing: 0.17em;
        text-transform: uppercase;
      }

      .status::before {
        content: "";
        width: 38px;
        height: 2px;
        background: var(--red);
      }

      h1 {
        margin: 0;
        color: var(--hero-ink);
        font-family: var(--font-heading);
        font-size: clamp(38px, 5.2vw, 60px);
        font-weight: 400;
        line-height: var(--leading-heading);
        letter-spacing: -0.022em;
        text-wrap: balance;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
      }

      .vision {
        max-width: 66ch;
        margin: 14px 0 0;
        color: var(--hero-body);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-body);
        font-weight: 400;
        line-height: var(--leading-body);
      }

      .message .apply-note {
        max-width: 66ch;
        margin: 10px 0 0;
        color: var(--hero-ink);
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: var(--size-body);
        font-weight: 700;
        line-height: var(--leading-body);
      }

      .message .path-start {
        max-width: 600px;
        margin: 22px 0 0;
        color: var(--hero-ink);
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: var(--size-body);
        font-weight: 700;
        line-height: var(--leading-body);
      }

      .application-panel > div { max-width: 650px; }
      .application-panel .path-start {
        margin: 0 0 8px;
        color: var(--ink);
        font-weight: 700;
      }

      .global-vision {
        max-width: 66ch;
        margin: 10px 0 0;
        color: var(--hero-ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-body);
        font-weight: 400;
        line-height: var(--leading-body);
      }

      .scripture {
        white-space: nowrap;
        color: #f0c8ca;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 0.64em;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .purpose {
        max-width: 540px;
        margin: 22px 0 0;
        padding-top: 18px;
        border-top: 1px solid var(--hero-rule);
        color: var(--hero-body);
        font-size: var(--size-body);
        font-weight: 400;
        line-height: 1.65;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 14px;
      }

      .hero-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 12px 18px;
        border: 1px solid #ffffff;
        border-radius: 6px;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: var(--size-body);
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
      }

      .hero-actions .hero-primary {
        background: var(--red);
        border-color: var(--red);
        color: #ffffff;
      }

      .hero-actions .hero-secondary {
        border: 1px solid #ffffff;
        background: transparent;
        color: #ffffff;
      }

      .hero-actions a:hover { text-decoration: none; opacity: 0.86; }

      .hero-actions a:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 3px;
      }

      .hero-affiliation {
        max-width: 40rem;
        margin: 14px 0 0;
        color: #ffffff;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: var(--size-body);
        font-weight: 600;
        line-height: 1.4;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
      }

      .hero-affiliation a,
      .hero-affiliation a:visited {
        color: #ffffff;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 3px;
      }

      .hero-affiliation a:hover { text-decoration: underline; }

      .hero-affiliation a:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 3px;
      }

      .vision-section {
        padding: var(--space-section) var(--gutter);
        background: var(--surface);
      }

      .vision-intro {
        display: grid;
        grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
        gap: clamp(44px, 8vw, 112px);
        align-items: start;
      }

      .section-label {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 10px 0 0;
        color: var(--brand-text);
        font-size: var(--size-small);
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }

      .section-label::before {
        content: "";
        width: 38px;
        height: 2px;
        background: var(--red);
      }

      .vision-copy h2 {
        max-width: 700px;
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h1);
        font-weight: 400;
        line-height: var(--leading-heading);
        letter-spacing: -0.02em;
        text-wrap: balance;
      }

      .vision-copy p {
        max-width: 690px;
        margin: 26px 0 0;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.78;
      }

      .pillars {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(26px, 4vw, 48px);
        margin-top: clamp(58px, 7vw, 82px);
      }

      .pillar {
        padding-top: 22px;
        border-top: 3px solid var(--red);
      }

      .pillar h3 {
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h3);
        font-weight: 400;
        line-height: var(--leading-heading);
      }

      .pillar p {
        margin: 14px 0 0;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.68;
      }

      .worldwide-context {
        display: grid;
        grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
        gap: clamp(44px, 8vw, 112px);
        margin-top: clamp(72px, 9vw, 108px);
        padding-top: clamp(48px, 6vw, 70px);
        border-top: 1px solid var(--rule);
      }

      .worldwide-copy h3 {
        max-width: 700px;
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h1);
        font-weight: 400;
        line-height: var(--leading-heading);
        letter-spacing: -0.018em;
        text-wrap: balance;
      }

      .worldwide-copy p {
        max-width: 700px;
        margin: 22px 0 0;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.78;
      }

      .partners-section {
        padding: var(--space-section) var(--gutter);
        background: var(--warm);
        border-top: 1px solid var(--rule);
      }

      .section-heading {
        display: grid;
        grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
        gap: clamp(44px, 8vw, 112px);
        align-items: start;
      }

      .section-heading h2 {
        max-width: 720px;
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h1);
        font-weight: 400;
        line-height: var(--leading-heading);
        letter-spacing: -0.02em;
        text-wrap: balance;
      }

      .section-heading p:not(.section-label) {
        max-width: 680px;
        margin: 24px 0 0;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.75;
      }

      .name-points {
        max-width: 680px;
        margin: 22px 0 0;
        padding: 0;
        list-style: none;
      }

      .name-points li {
        margin: 0 0 12px;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.7;
      }

      .name-points strong {
        color: var(--ink);
      }

      .member-list-label {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: clamp(52px, 7vw, 78px) 0 0;
        color: var(--brand-text);
        font-size: var(--size-small);
        font-weight: 700;
        letter-spacing: 0.16em;
        line-height: 1.4;
        text-transform: uppercase;
      }

      .member-list-label::before {
        content: "";
        width: 38px;
        height: 2px;
        background: var(--red);
      }

      .member-list-label + .partner-list {
        margin-top: 22px;
      }

      .consortium-roster {
        margin-top: clamp(40px, 5vw, 56px);
      }

      .consortium-roster h3 {
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h2);
        font-weight: 400;
        line-height: var(--leading-heading);
      }

      .roster-note {
        max-width: 760px;
        margin: 14px 0 0;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.7;
      }

      .member-roster {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin: 22px 0 0;
        padding: 0;
        list-style: none;
      }

      .member-roster li {
        display: flex;
        min-height: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px 20px;
        background: var(--surface);
        border-top: 3px solid var(--red);
      }

      .member-logo {
        width: auto;
        max-width: 148px;
        height: 42px;
        margin: 0 0 16px;
        object-fit: contain;
        object-position: left center;
      }

      .member-region {
        margin: 0 0 10px;
        color: var(--red-deep);
        font-size: var(--size-small);
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: var(--leading-body);
        text-transform: uppercase;
      }

      .member-roster h4 {
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h3);
        font-weight: 400;
        line-height: 1.15;
      }

      .member-role {
        margin: 12px 0 18px;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.6;
      }

      .member-roster .partner-link {
        margin-top: auto;
      }

      .partner-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(22px, 3vw, 34px);
        margin-top: clamp(52px, 7vw, 78px);
      }

      .partner-card {
        display: flex;
        min-height: 320px;
        flex-direction: column;
        align-items: flex-start;
        padding: clamp(28px, 4vw, 42px);
        background: var(--surface);
        border-top: 4px solid var(--rule);
      }

      .partner-card {
        border: 1px solid var(--rule);
        border-top-width: 4px;
        border-radius: 6px;
      }
      .partner-card:hover { border-top-color: var(--brand); }
      .partner-card:focus-within { outline: 3px solid #111827; outline-offset: 3px; }
      .partner-card.featured { border-top-color: var(--red); }

      .partner-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        margin: 0 0 28px;
        object-fit: cover;
        background: var(--quiet);
      }

      .partner-photo.messenger { object-position: center 46%; }
      .partner-photo.mission-one-eleven { object-position: center 35%; }
      .partner-photo { height: auto; }

      .partner-role {
        margin: 0 0 22px;
        color: var(--red-deep);
        font-size: var(--size-small);
        font-weight: 700;
        letter-spacing: 0.12em;
        line-height: var(--leading-body);
        text-transform: uppercase;
      }

      .partner-card h3 {
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h2);
        font-weight: 400;
        line-height: var(--leading-heading);
      }

      .partner-card p:not(.partner-role) {
        margin: 20px 0 30px;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.72;
      }

      .partner-link {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        margin-top: auto;
        color: var(--red-deep);
        font-size: 0.88rem;
        font-weight: 700;
        text-decoration: none;
        text-underline-offset: 4px;
      }

      .partner-link:hover { text-decoration: underline; }
      .partner-link:focus-visible {
        outline: 2px solid var(--red);
        outline-offset: 4px;
      }

      .library-section {
        padding: var(--space-section) var(--gutter);
        background: var(--surface);
        border-top: 1px solid var(--rule);
      }

      .library-series {
        margin-top: clamp(52px, 7vw, 78px);
      }

      .library-entity {
        padding-top: clamp(30px, 4vw, 42px);
        border-top: 4px solid var(--red);
      }

      .library-entity + .library-entity {
        margin-top: clamp(66px, 8vw, 96px);
      }

      .entity-heading {
        display: grid;
        grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
        gap: clamp(32px, 6vw, 82px);
        align-items: start;
        margin-bottom: 30px;
      }

      .entity-name {
        margin: 0;
        color: var(--red-deep);
        font-size: var(--size-small);
        font-weight: 700;
        letter-spacing: 0.13em;
        line-height: 1.5;
        text-transform: uppercase;
      }

      .entity-heading h3 {
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h1);
        font-weight: 400;
        line-height: var(--leading-heading);
      }

      .entity-heading p:not(.entity-name) {
        max-width: 680px;
        margin: 14px 0 0;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.72;
      }

      .course-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
      }

      .course-card {
        color: inherit;
        text-decoration: none;
        display: flex;
        min-height: 0;
        flex-direction: column;
        padding: 16px 18px;
        background: var(--quiet);
        border-top: 3px solid var(--red);
      }

      .course-card:focus-visible {
        outline: 2px solid var(--red);
        outline-offset: 4px;
      }

      .course-number {
        margin: 0 0 18px;
        color: var(--red-deep);
        font-size: var(--size-small);
        font-weight: 700;
        letter-spacing: 0.12em;
        line-height: 1.4;
        text-transform: uppercase;
      }

      .course-card h3 {
        margin: 0;
        color: var(--ink);
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h2);
        font-weight: 400;
        line-height: var(--leading-heading);
      }

      .course-description {
        margin: 17px 0 24px;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.68;
      }

      .course-formats {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
        margin: auto 0 0;
        padding: 18px 0 0;
        border-top: 1px solid var(--rule);
        color: var(--body);
        font-size: 14px;
        font-weight: 700;
        line-height: var(--leading-body);
        list-style: none;
      }

      .course-formats li { white-space: nowrap; }
      .course-formats li:not(:last-child)::after {
        content: "·";
        margin-left: 16px;
        color: var(--red);
      }

      .level-two {
        display: grid;
        grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
        gap: clamp(26px, 4vw, 52px);
        min-height: 0;
        margin-top: 18px;
        background: var(--warm);
      }

      .level-two .course-description {
        margin-bottom: 0;
      }

      .level-two .course-formats {
        align-self: end;
      }

      .course-grid,
      .course-grid.single {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
      }

      .application-panel {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 28px;
        margin-top: 30px;
        padding: 26px 0 0;
        border-top: 1px solid var(--rule);
      }

      .application-panel p {
        max-width: 650px;
        margin: 0;
        color: var(--body);
        font-size: var(--size-body);
        line-height: 1.68;
      }

      .application-link {
        display: inline-flex;
        flex: none;
        align-items: center;
        gap: 9px;
        min-height: 46px;
        padding: 12px 18px;
        color: #ffffff;
        background: var(--red);
        border: 1px solid var(--red);
        border-radius: 6px;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 0.84rem;
        font-weight: 600;
        line-height: var(--leading-body);
        text-align: center;
        text-decoration: none;
      }

      .application-link:hover { background: var(--red); text-decoration: none; opacity: 0.86; }
      .application-link:focus-visible {
        outline: 2px solid var(--red);
        outline-offset: 4px;
      }

      .collaboration-section {
        display: grid;
        grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
        gap: clamp(44px, 8vw, 112px);
        padding: var(--space-section) var(--gutter);
        color: #ffffff;
        background: var(--deep);
      }

      .collaboration-section .section-label { color: #f3b9bc; }
      .collaboration-section .section-label::before { background: var(--red); }

      .collaboration-copy h2 {
        max-width: 730px;
        margin: 0;
        color: #ffffff;
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: var(--size-h1);
        font-weight: 400;
        line-height: var(--leading-heading);
        letter-spacing: -0.02em;
        text-wrap: balance;
      }

      .collaboration-copy p {
        max-width: 700px;
        margin: 25px 0 0;
        color: var(--deep-body);
        font-size: var(--size-body);
        line-height: 1.78;
      }

      .footer {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px 32px;
        padding: 24px var(--gutter) 27px;
        background: var(--warm);
        border-top: 1px solid var(--rule);
        color: var(--body);
        font-size: var(--size-small);
        line-height: var(--leading-body);
      }

      .footer p { margin: 0; }

      .footer-links {
        display: flex;
        flex: none;
        flex-wrap: wrap;
        gap: 12px 22px;
      }

      .footer a {
        color: var(--red-deep);
        font-weight: 700;
        text-decoration: none;
        text-underline-offset: 4px;
      }

      .footer a:hover { text-decoration: underline; }
      .footer a:focus-visible {
        outline: 2px solid var(--red);
        outline-offset: 4px;
      }

      .official-sites {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 14px;
        width: 100%;
        margin: 2px 0 0;
        padding-top: 10px;
        border-top: 1px solid var(--rule);
        font-size: 0.78rem;
        line-height: var(--leading-body);
      }

      .official-sites span { font-weight: 600; }

      .footer .official-sites a,
      .footer .official-sites a:visited {
        color: var(--red-deep);
        font-weight: 700;
      }

      @media (max-width: 980px) {
        .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      }

      @media (max-width: 720px) {
        main { padding: 0; }
        .page {
          min-height: 100svh;
          box-shadow: none;
        }
        .hero { height: auto; max-height: min(640px, 76svh); min-height: 0; }
        .hero-shade {
          background: linear-gradient(180deg, rgba(12, 6, 8, 0.55) 0%, rgba(12, 6, 8, 0.78) 42%, rgba(12, 6, 8, 0.92) 100%);
        }
        .brand {
          margin-inline: var(--gutter);
          padding-top: 32px;
        }
        .content {
          max-width: none;
          padding: 16px var(--gutter) 20px;
        }
        .wordmark { font-size: clamp(2.2rem, 12vw, 3rem); }
        .message { padding-top: 0; }
        h1 { max-width: none; }
        .hero-actions a { flex: 1 1 160px; }
        .vision-intro,
        .worldwide-context,
        .section-heading,
        .entity-heading,
        .collaboration-section {
          grid-template-columns: 1fr;
          gap: 30px;
        }
        .section-label { margin-top: 0; }
        .pillars { grid-template-columns: 1fr; gap: 34px; }
        .partner-list,
        .member-roster { grid-template-columns: 1fr; }
        .partner-card { min-height: 0; }
        .course-grid,
        .course-grid.single { grid-template-columns: 1fr; }
        .course-card { min-height: 0; }
        .level-two { grid-template-columns: 1fr; }
        .application-panel {
          align-items: flex-start;
          flex-direction: column;
          gap: 20px;
        }
        .application-link { width: 100%; justify-content: center; }
        .footer {
          align-items: flex-start;
          flex-direction: column;
          flex-wrap: nowrap;
          gap: 12px;
          padding-inline: var(--gutter);
        }
        .footer-links { flex-direction: column; gap: 8px; }
      }

      @media (max-width: 390px) {
        .brand span { font-size: var(--size-small); letter-spacing: 0.1em; }
        .content { padding-top: 16px; padding-bottom: 20px; }
        h1 { font-size: clamp(38px, 5.2vw, 60px); }
      }

      @media (prefers-reduced-motion: no-preference) {
        .content { animation: arrive 520ms ease-out both; }
        @keyframes arrive {
          from { opacity: 0; transform: translateY(6px); }
          to { opacity: 1; transform: translateY(0); }
        }
      }
    
      .lang-switch {
        display: inline-flex;
        align-items: center;
        gap: 14px;
        margin-left: auto;
      }
      .lang-switch a {
        color: var(--ink);
        font-size: 13px;
        min-width: 36px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        letter-spacing: .1em;
        text-decoration: none;
        opacity: .72; /* WCAG AA: ~6:1 on white (was .55 = 3.96:1) */
      }
      .lang-switch a:hover { opacity: 1; text-decoration: underline; }
      .lang-switch a[aria-current="true"] { opacity: 1; text-decoration: underline; }

/* Shared tokens and mobile hero contrast. */
:root {
  --hero-ink: #ffffff;
  --hero-body: #ffffff;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 20;
  transform: translateY(-140%);
  background: #ffffff;
  color: #332D26;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}
.skip-link:focus { transform: none; outline: 2px solid #ee3626; outline-offset: 2px; }
.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: auto;
}
.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-left: auto;
  align-items: center;
}
.home-links a {
  color: #ffffff;
  font-size: var(--size-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.home-links a:hover { text-decoration: underline; }
.home-links a:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.vision, .purpose, .global-vision, .hero-affiliation { color: #ffffff; }
@media (max-width: 720px) {
  .hero-shade {
    background: linear-gradient(180deg, rgba(12, 6, 8, 0.72) 0%, rgba(12, 6, 8, 0.88) 100%);
  }
  .vision, .purpose, .global-vision, .status, h1, .wordmark, .hero-affiliation { color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55); }
  .hero-affiliation a, .hero-affiliation a:visited { color: #ffffff; }
  .scripture { color: #ffffff; }
}

.official-bar {
  position: static;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 var(--gutter);
  border-bottom: 2px solid #ee3626;
  background: #000000;
  color: #ffffff;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.pcg-lockup,
.official-bar-links {
  display: inline-flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
}

.pcg-lockup {
  gap: 6px;
  background: transparent;
}

.official-bar-links {
  gap: 0;
  margin-left: auto;
  flex-wrap: nowrap;
}

.official-bar-dot {
  margin: 0 4px;
  color: #ffffff;
}

.pcg-lockup .pcg-mark,
.pcg-lockup .pcg-wordmark {
  display: block;
  flex: none;
  border: 0;
  padding: 0;
  background: transparent;
  object-fit: fill;
}

@media (min-width: 768px) {
  .official-bar {
    gap: 16px;
    font-size: 12px;
  }

  .pcg-lockup { gap: 8px; }

  .official-bar-dot { margin: 0 8px; }

  .official-bar a.official-bar-sign-in {
    margin-left: 14px;
    padding: 4px 10px;
    font-size: 12px;
  }
}

.official-bar a,
.official-bar a:visited {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.official-bar a:hover { text-decoration: underline; text-underline-offset: 2px; }

.official-bar a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
}

.official-bar a.official-bar-sign-in,
.official-bar a.official-bar-sign-in:visited {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 5px;
  margin-left: 14px;
  padding: 4px 10px;
  font-size: 12px;
  /* The 44px link target must not stretch this pill to the bar edges. */
  min-height: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
  text-decoration: none;
}

.official-bar a.official-bar-sign-in:hover {
  background: var(--brand);
  color: #ffffff;
  opacity: 0.86;
  text-decoration: none;
}

.official-bar a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.official-bar a.official-bar-sign-in:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (min-width: 820px) and (max-width: 1099px) {
  .site-banner { gap: 8px 10px; }
  .banner-name { font-size: 1.05rem; }
  .banner-nav { gap: 10px; }
  .banner-nav a { font-size: 13px; }
  .lang-switch { gap: 8px; }
  .give-button { padding: 8px 12px; font-size: 13px; }
}

@media (max-width: 599px) {
  .site-banner { flex-wrap: nowrap; }
  .banner-brand,
  .site-banner.is-shrunk .banner-brand { min-height: 44px; }
  .banner-name,
  .site-banner.is-shrunk .banner-name { font-size: 1.05rem; }
  .lang-switch { display: none; }
  .site-banner:has(.banner-nav.is-open) { flex-wrap: wrap; }
  .site-banner:has(.banner-nav.is-open) .banner-nav { order: 1; }
  .site-banner:has(.banner-nav.is-open) .lang-switch { order: 2; }
  .site-banner:has(.banner-nav.is-open) .lang-switch {
    display: inline-flex;
    flex: 1 1 100%;
    margin-left: 0;
    gap: 8px;
  }
  .site-banner:has(.banner-nav.is-open) .lang-switch a {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .official-bar {
    height: auto;
    min-height: 48px;
  }
  .official-bar a,
  .banner-nav a,
  .lang-switch a,
  .give-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .nav-toggle { min-height: 44px; align-items: center; }
}

@media (max-width: 1400px) {
  .banner-nav a,
  .lang-switch a,
  .give-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .lang-switch a {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    justify-content: center;
  }
}

.official-bar .link-short { display: none; }

@media (max-width: 767px) {
  .official-bar .link-full { display: none; }
  .official-bar .link-short { display: inline; }
  .official-bar a.official-bar-sign-in,
  .official-bar a.official-bar-sign-in:visited,
  .official-bar a.official-bar-sign-in:hover {
    margin-left: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    opacity: 1;
    font-weight: 600;
    font-size: inherit;
  }
  .official-bar a.official-bar-sign-in::before {
    content: "·";
    margin: 0 4px;
  }
}

