/* Shared public shell extracted from PHP partials. */

  :root {
    --khk-header-deep: #275f73;
    --khk-header-deeper: #1f5266;
    --khk-header-blue: #2d9fc7;
    --khk-header-sky: #9ee0f2;
    --khk-header-sky-soft: #e5f6fa;
    --khk-header-paper: #fff4d6;
    --khk-header-cream: #fffaf0;
    --khk-header-gold: #f4b942;
    --khk-header-gold-soft: #ffdf8d;
    --khk-header-coral: #ef907b;
    --khk-header-text: #f5fcfd;
    --khk-header-muted: #c6e3e9;
    --khk-header-body: #315e70;
    --khk-header-line: #b9dfe8;
    --khk-header-focus: #ffd36b;
    --khk-header-height: 72px;
  }

  html {
    scroll-padding-top: calc(var(--khk-header-height) + 18px);
  }

  .khk-skip-link {
    position: fixed;
    z-index: 9999;
    top: 8px;
    left: 12px;
    padding: .68rem .9rem;
    border: 2px solid var(--khk-header-deeper);
    border-radius: 8px;
    color: var(--khk-header-deeper);
    background: var(--khk-header-gold-soft);
    box-shadow: 4px 4px 0 #174457;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: .83rem;
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-140%);
    transition: transform .16s ease;
  }

  .khk-skip-link:focus {
    transform: translateY(0);
    outline: none;
  }

  .khk-site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    min-height: var(--khk-header-height);
    color: var(--khk-header-text);
    font-family: 'Manrope', system-ui, sans-serif;
    background:
      radial-gradient(circle at 7% -90%, rgba(158, 224, 242, .34), transparent 260px),
      linear-gradient(120deg, rgba(39, 95, 115, .97), rgba(31, 82, 102, .97));
    border-bottom: 3px solid var(--khk-header-gold);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
    transition: box-shadow .2s ease, background-color .2s ease;
  }

  .khk-site-header::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    opacity: .10;
    background-image:
      linear-gradient(rgba(255, 250, 240, .22) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 250, 240, .12) 1px, transparent 1px);
    background-size: 28px 28px;
  }

  .khk-site-header.is-scrolled {
    box-shadow: 0 12px 28px rgba(31, 82, 102, .24);
  }

  .khk-header-shell {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    min-height: var(--khk-header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .khk-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    color: inherit;
    text-decoration: none;
    border-radius: 10px;
    outline: none;
  }

  .khk-brand-mark {
    width: 42px;
    height: 45px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 2px solid #c5f0f8;
    border-radius: 9px 9px 5px 5px;
    color: #ffffff;
    background: var(--khk-header-blue);
    box-shadow: 3px 3px 0 #d7951c;
    transform: rotate(-2deg);
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .khk-brand:hover .khk-brand-mark,
  .khk-brand:focus-visible .khk-brand-mark {
    transform: translate(-1px, -2px) rotate(-3deg);
    box-shadow: 5px 5px 0 #d7951c;
  }

  .khk-brand:focus-visible {
    box-shadow: 0 0 0 3px var(--khk-header-focus);
  }

  .khk-brand-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1;
  }

  .khk-brand-name {
    color: var(--khk-header-cream);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -.02em;
    white-space: nowrap;
  }

  .khk-brand-tagline {
    margin-top: .25rem;
    color: var(--khk-header-gold-soft);
    font-family: 'Handlee', cursive;
    font-size: .82rem;
    letter-spacing: .01em;
    white-space: nowrap;
  }

  .khk-desktop-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
  }

  .khk-nav-item {
    position: relative;
  }

  .khk-nav-link,
  .khk-nav-trigger {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .6rem .76rem;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #e8f7fa;
    background: transparent;
    font: inherit;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
  }

  .khk-nav-link:hover,
  .khk-nav-link:focus-visible,
  .khk-nav-trigger:hover,
  .khk-nav-trigger:focus-visible,
  .khk-nav-trigger[aria-expanded="true"] {
    color: #ffffff;
    background: rgba(255, 250, 240, .11);
    border-color: rgba(197, 240, 248, .34);
    transform: translateY(-1px);
  }

  .khk-nav-link:focus-visible,
  .khk-nav-trigger:focus-visible {
    box-shadow: 0 0 0 3px var(--khk-header-focus);
  }

  .khk-nav-link.is-active,
  .khk-nav-trigger.is-active {
    color: var(--khk-header-paper);
    background: rgba(255, 244, 214, .12);
    border-bottom-color: var(--khk-header-gold);
  }

  .khk-chevron {
    font-size: .66rem;
    color: #acdce7;
    transition: transform .16s ease;
  }

  .khk-nav-trigger[aria-expanded="true"] .khk-chevron {
    transform: rotate(180deg);
  }

  .khk-donate-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    margin-left: .45rem;
    padding: .65rem .9rem;
    border: 2px solid #e0a229;
    border-radius: 9px;
    color: #62480d;
    background: #ffd36b;
    box-shadow: 3px 3px 0 #a86e11;
    font-size: .83rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    outline: none;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  }

  .khk-donate-link:hover,
  .khk-donate-link:focus-visible,
  .khk-donate-link.is-active {
    color: #533d0b;
    background: #ffdf8d;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #a86e11;
  }

  .khk-donate-link:focus-visible {
    box-shadow: 0 0 0 3px #e8f7fa, 5px 5px 0 #a86e11;
  }

  .khk-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 310px;
    padding: .58rem;
    border: 2px solid #9fd7e4;
    border-radius: 12px;
    color: var(--khk-header-body);
    background: rgba(255, 250, 240, .97);
    box-shadow: 6px 6px 0 #2d738c, 0 18px 40px rgba(31, 82, 102, .18);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  }

  .khk-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }

  .khk-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid #9fd7e4;
    border-left: 2px solid #9fd7e4;
    background: var(--khk-header-cream);
    transform: translateX(-50%) rotate(45deg);
  }

  .khk-dropdown-heading {
    margin: .15rem .55rem .42rem;
    color: #4a7c8d;
    font-family: 'Oswald', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .khk-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .khk-dropdown-list li + li {
    border-top: 1px solid #d9e8ec;
  }

  .khk-dropdown-link {
    display: block;
    padding: .72rem .62rem;
    border-radius: 8px;
    color: #315e70;
    text-decoration: none;
    outline: none;
    transition: background-color .14s ease, transform .14s ease;
  }

  .khk-dropdown-link:hover,
  .khk-dropdown-link:focus-visible,
  .khk-dropdown-link.is-active {
    background: #e7f6fa;
    transform: translateX(2px);
  }

  .khk-dropdown-link:focus-visible {
    box-shadow: 0 0 0 3px #f1bd52 inset;
  }

  .khk-dropdown-title {
    display: block;
    color: #245469;
    font-size: .86rem;
    font-weight: 900;
    line-height: 1.25;
  }

  .khk-dropdown-description {
    display: block;
    margin-top: .16rem;
    color: #6b8a97;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .khk-mobile-button {
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    border: 2px solid #9eddec;
    border-radius: 9px;
    color: #f7fdff;
    background: rgba(255, 255, 255, .08);
    box-shadow: 3px 3px 0 #174457;
    cursor: pointer;
    outline: none;
    transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
  }

  .khk-mobile-button:hover,
  .khk-mobile-button:focus-visible,
  .khk-mobile-button[aria-expanded="true"] {
    background: rgba(255, 255, 255, .15);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 #174457;
  }

  .khk-mobile-button:focus-visible {
    box-shadow: 0 0 0 3px var(--khk-header-focus), 4px 4px 0 #174457;
  }

  .khk-menu-lines,
  .khk-menu-lines::before,
  .khk-menu-lines::after {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #f4fcfd;
    transition: transform .18s ease, top .18s ease, opacity .15s ease;
  }

  .khk-menu-lines {
    position: relative;
  }

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

  .khk-menu-lines::before { top: -6px; }
  .khk-menu-lines::after { top: 6px; }

  .khk-mobile-button[aria-expanded="true"] .khk-menu-lines {
    background: transparent;
  }

  .khk-mobile-button[aria-expanded="true"] .khk-menu-lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  .khk-mobile-button[aria-expanded="true"] .khk-menu-lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .khk-mobile-layer {
    position: fixed;
    z-index: 110;
    inset: var(--khk-header-height) 0 0;
    display: none;
  }

  .khk-mobile-layer.is-open {
    display: block;
  }

  .khk-mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 82, 102, .42);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .khk-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(430px, 94vw);
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--khk-header-body);
    background:
      linear-gradient(rgba(45, 159, 199, .055) 1px, transparent 1px),
      var(--khk-header-cream);
    background-size: 100% 28px;
    border-left: 3px solid var(--khk-header-gold);
    box-shadow: -12px 0 34px rgba(31, 82, 102, .24);
    transform: translateX(100%);
    transition: transform .22s cubic-bezier(.2,.8,.2,1);
  }

  .khk-mobile-layer.is-open .khk-mobile-panel {
    transform: translateX(0);
  }

  .khk-mobile-panel-head {
    position: sticky;
    z-index: 2;
    top: 0;
    padding: 1.05rem 1.15rem .9rem;
    background: rgba(255, 250, 240, .96);
    border-bottom: 2px solid #b9dfe8;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .khk-mobile-eyebrow {
    margin: 0;
    color: #42819a;
    font-family: 'Oswald', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .khk-mobile-title {
    margin: .16rem 0 0;
    color: #245469;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .khk-mobile-nav {
    padding: .55rem 1.15rem 1.4rem;
  }

  .khk-mobile-section {
    padding: .86rem 0;
    border-bottom: 1px solid #cee3e8;
  }

  .khk-mobile-section:last-child {
    border-bottom: 0;
  }

  .khk-mobile-section-title {
    margin: 0 0 .3rem;
    color: #668996;
    font-family: 'Oswald', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .khk-mobile-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .64rem .2rem;
    color: #315e70;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    outline: none;
  }

  .khk-mobile-link + .khk-mobile-link {
    border-top: 1px dashed #d4e5e9;
  }

  .khk-mobile-link::after {
    content: "→";
    flex: 0 0 auto;
    color: #5aa8c2;
    font-family: 'Handlee', cursive;
    font-size: 1.05rem;
    transition: transform .14s ease;
  }

  .khk-mobile-link:hover,
  .khk-mobile-link:focus-visible,
  .khk-mobile-link.is-active {
    color: #1f5266;
    background: rgba(158, 224, 242, .20);
  }

  .khk-mobile-link:hover::after,
  .khk-mobile-link:focus-visible::after {
    transform: translateX(3px);
  }

  .khk-mobile-link:focus-visible {
    box-shadow: 0 0 0 3px #f1bd52 inset;
  }

  .khk-mobile-donate {
    min-height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    margin-top: .9rem;
    padding: .76rem 1rem;
    border: 2px solid #dd9e24;
    border-radius: 9px;
    color: #62480d;
    background: #ffd36b;
    box-shadow: 4px 4px 0 #a86e11;
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
    outline: none;
  }

  .khk-mobile-donate:hover,
  .khk-mobile-donate:focus-visible,
  .khk-mobile-donate.is-active {
    background: #ffdf8d;
  }

  .khk-mobile-donate:focus-visible {
    box-shadow: 0 0 0 3px #2d9fc7, 4px 4px 0 #a86e11;
  }

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

  @media (max-width: 1023px) {
    .khk-desktop-nav { display: none; }
    .khk-mobile-button { display: grid; }
  }

  @media (max-width: 520px) {
    :root { --khk-header-height: 68px; }
    .khk-header-shell { width: min(100% - 20px, 1240px); }
    .khk-brand { gap: .6rem; }
    .khk-brand-mark {
      width: 38px;
      height: 41px;
      flex-basis: 38px;
      font-size: .9rem;
    }
    .khk-brand-name { font-size: 1.05rem; }
    .khk-brand-tagline { font-size: .74rem; }
    .khk-mobile-panel {
      width: 100%;
      border-left: 0;
    }
  }

  @media (max-width: 370px) {
    .khk-brand-tagline { display: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    .khk-site-header *,
    .khk-site-header *::before,
    .khk-site-header *::after,
    .khk-mobile-layer *,
    .khk-mobile-layer *::before,
    .khk-mobile-layer *::after {
      transition-duration: .01ms !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
    }
  }


  .khk-public-footer {
    --khk-footer-deep: #275f73;
    --khk-footer-deeper: #1f5266;
    --khk-footer-blue: #36a9d1;
    --khk-footer-sky: #9ee0f2;
    --khk-footer-paper: #fff4d6;
    --khk-footer-gold: #f4b942;
    --khk-footer-coral: #ef907b;
    --khk-footer-cream: #fffaf0;
    --khk-footer-mist: #d8edf2;
    --khk-footer-text: #eef9fb;
    --khk-footer-muted: #c7e0e6;
    position: relative;
    isolation: isolate;
    margin-top: 1.25rem;
    overflow: hidden;
    color: var(--khk-footer-text);
    font-family: 'Manrope', system-ui, sans-serif;
    background:
      radial-gradient(circle at 12% 0%, rgba(158, 224, 242, .20), transparent 24rem),
      radial-gradient(circle at 92% 100%, rgba(244, 185, 66, .18), transparent 23rem),
      linear-gradient(135deg, var(--khk-footer-deep) 0%, var(--khk-footer-deeper) 100%);
    border-top: 3px solid var(--khk-footer-gold);
  }

  .khk-public-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image:
      linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 100% 30px, 30px 100%;
  }

  .khk-footer-accent-line {
    height: 5px;
    background: linear-gradient(90deg,
      var(--khk-footer-blue) 0 30%,
      var(--khk-footer-gold) 30% 58%,
      var(--khk-footer-coral) 58% 76%,
      var(--khk-footer-sky) 76% 100%);
  }

  .khk-footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
  }

  .khk-footer-support-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.4rem;
    padding: 1.15rem 0 1.05rem;
    border-bottom: 1px solid rgba(216, 237, 242, .28);
  }

  .khk-footer-support-copy {
    min-width: 0;
  }

  .khk-footer-eyebrow {
    margin: 0 0 .18rem;
    color: var(--khk-footer-gold);
    font-family: 'Oswald', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .khk-footer-support-title {
    margin: 0;
    color: var(--khk-footer-cream);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 2.3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.018em;
    line-height: 1.15;
  }

  .khk-footer-support-text {
    margin: .28rem 0 0;
    max-width: 760px;
    color: var(--khk-footer-muted);
    font-size: .84rem;
    line-height: 1.55;
  }

  .khk-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .58rem;
  }

  .khk-footer-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    padding: .68rem .88rem;
    border: 2px solid #9eddec;
    border-radius: 10px;
    color: #f7fdff;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
    box-shadow: 3px 3px 0 #173f50;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    outline: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  }

  .khk-footer-button:hover,
  .khk-footer-button:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, .16);
    border-color: #d8f4fa;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #173f50;
  }

  .khk-footer-button:focus-visible {
    box-shadow: 0 0 0 4px rgba(158, 224, 242, .25), 5px 5px 0 #173f50;
  }

  .khk-footer-button--warm {
    color: #5f4810;
    border-color: #e3a62f;
    background: #ffd36b;
    box-shadow: 3px 3px 0 #a86e11;
  }

  .khk-footer-button--warm:hover,
  .khk-footer-button--warm:focus-visible {
    color: #533d0b;
    border-color: #f7c458;
    background: #ffdf8d;
    box-shadow: 5px 5px 0 #a86e11;
  }

  .khk-footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.55fr) .72fr .72fr minmax(220px, 1fr);
    gap: clamp(1.25rem, 3vw, 2.7rem);
    padding: 1.55rem 0 1.35rem;
  }

  .khk-footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    color: var(--khk-footer-cream);
    text-decoration: none;
    border-radius: 10px;
    outline: none;
  }

  .khk-footer-brand-link:focus-visible {
    box-shadow: 0 0 0 4px rgba(158, 224, 242, .22);
  }

  .khk-footer-bookmark {
    width: 42px;
    height: 46px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 2px solid #b8edf7;
    border-radius: 9px 9px 5px 5px;
    color: #ffffff;
    background: #2997bf;
    box-shadow: 3px 3px 0 #d99c28;
    transform: rotate(-2deg);
  }

  .khk-footer-brand-name {
    display: block;
    color: var(--khk-footer-cream);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.04;
  }

  .khk-footer-brand-kicker {
    display: block;
    margin-top: .12rem;
    color: #bfe9f1;
    font-family: 'Handlee', cursive;
    font-size: .85rem;
    line-height: 1.05;
  }

  .khk-footer-brand-copy {
    max-width: 390px;
    margin: .75rem 0 0;
    color: var(--khk-footer-muted);
    font-size: .82rem;
    line-height: 1.6;
  }

  .khk-footer-library-note {
    margin: .68rem 0 0;
    color: var(--khk-footer-paper);
    font-family: 'Handlee', cursive;
    font-size: .96rem;
    line-height: 1.35;
  }

  .khk-footer-library-note i {
    margin-right: .3rem;
    color: var(--khk-footer-gold);
  }

  .khk-footer-heading {
    margin: .1rem 0 .58rem;
    color: var(--khk-footer-paper);
    font-family: 'Oswald', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .13em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .khk-footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .khk-footer-link-list li + li {
    margin-top: .08rem;
  }

  .khk-footer-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .48rem;
    padding: .28rem 0;
    color: #d3e9ee;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    outline: none;
    transition: color .16s ease, transform .16s ease;
  }

  .khk-footer-link i {
    width: .82rem;
    color: #84d8eb;
    text-align: center;
    font-size: .68rem;
  }

  .khk-footer-link::after {
    content: "";
    position: absolute;
    left: 1.3rem;
    right: 100%;
    bottom: .12rem;
    height: 2px;
    border-radius: 999px;
    background: var(--khk-footer-gold);
    transition: right .18s ease;
  }

  .khk-footer-link:hover,
  .khk-footer-link:focus-visible {
    color: #ffffff;
    transform: translateX(2px);
  }

  .khk-footer-link:hover::after,
  .khk-footer-link:focus-visible::after {
    right: 0;
  }

  .khk-footer-link:focus-visible {
    border-radius: 4px;
    box-shadow: 0 0 0 3px rgba(158, 224, 242, .20);
  }

  .khk-footer-purpose {
    margin: 0;
    color: var(--khk-footer-muted);
    font-size: .79rem;
    line-height: 1.58;
  }

  .khk-footer-purpose-quote {
    margin: .65rem 0 0;
    padding-left: .7rem;
    border-left: 3px solid var(--khk-footer-gold);
    color: var(--khk-footer-paper);
    font-family: 'Handlee', cursive;
    font-size: .93rem;
    line-height: 1.35;
  }

  .khk-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .72rem 0 .82rem;
    border-top: 1px dashed rgba(216, 237, 242, .34);
    color: #b8d6de;
    font-size: .7rem;
    line-height: 1.45;
  }

  .khk-footer-bottom p {
    margin: 0;
  }

  .khk-footer-bottom-mark {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    color: var(--khk-footer-paper);
    font-family: 'Handlee', cursive;
    font-size: .82rem;
  }

  .khk-footer-bottom-mark i {
    color: var(--khk-footer-gold);
  }

  @media (max-width: 920px) {
    .khk-footer-main {
      grid-template-columns: 1.35fr .8fr .8fr;
    }

    .khk-footer-purpose-column {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr);
      gap: 1rem;
      padding-top: .85rem;
      border-top: 1px solid rgba(216, 237, 242, .22);
    }

    .khk-footer-purpose-quote {
      margin-top: 0;
    }
  }

  @media (max-width: 700px) {
    .khk-public-footer {
      margin-top: .9rem;
    }

    .khk-footer-shell {
      width: min(100% - 24px, 1180px);
    }

    .khk-footer-support-strip {
      grid-template-columns: 1fr;
      gap: .8rem;
      padding: 1rem 0 .95rem;
    }

    .khk-footer-support-text {
      font-size: .8rem;
    }

    .khk-footer-actions {
      justify-content: flex-start;
    }

    .khk-footer-main {
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem 1rem;
      padding: 1.25rem 0 1rem;
    }

    .khk-footer-brand,
    .khk-footer-purpose-column {
      grid-column: 1 / -1;
    }

    .khk-footer-brand-copy {
      max-width: none;
    }

    .khk-footer-purpose-column {
      display: block;
      padding-top: .9rem;
    }

    .khk-footer-purpose-quote {
      margin-top: .55rem;
    }

    .khk-footer-bottom {
      align-items: flex-start;
      flex-direction: column;
      gap: .28rem;
    }
  }

  @media (max-width: 430px) {
    .khk-footer-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      width: 100%;
    }

    .khk-footer-button {
      width: 100%;
      padding-inline: .62rem;
      white-space: normal;
      text-align: center;
    }

    .khk-footer-main {
      grid-template-columns: 1fr 1fr;
      gap: 1.2rem .85rem;
    }

    .khk-footer-brand,
    .khk-footer-purpose-column {
      grid-column: 1 / -1;
    }

    .khk-footer-support-title {
      font-size: 1.28rem;
    }
  }

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

/* Shared accessibility and trust patterns */
:focus-visible { outline: 3px solid #f4b942; outline-offset: 3px; }
.donate-database-note { margin: 0; padding: 0 0 2rem; text-align: center; color: #678594; font-size: .78rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
