
:root {
    /* Global Colors */
    --bg-main: #081521;
    --text-main: white;
    --text-muted: #d7e7f2;
    --text-highlight: #8ef76d;
    --accent-green: #8ef76d;
    --primary-color: #2ec5ff;
    --accent-blue: #2ec5ff;
    --link-color: #5c9e9e;
    --white: #ffffff;
    --radius-md: 18px;
    
    /* Global Fonts */
    --font-body: 'PT Sans', sans-serif;
    --font-heading: 'Urbanist', sans-serif;

    /* Shared readable body-copy sizing. Keep regular paragraph/list text consistent across pages. */
    --copy-font-size: clamp(1.03rem, 1.4vw, 1.15rem);
    --copy-line-height: 1.75;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    background: var(--bg-main);
    color: var(--text-main);
}

h1, h2, h3, h4, h5, h6, .section-title, .logo-text, nav a, .btn {
    font-family: var(--font-heading);
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: bold; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 5rem; }
img { max-width: 100%; height: auto; display: block; }

.ndeos-shade { color: #817b7a; font-size: 14px; }

/* Lightweight decorative background
   The earlier version used huge fixed elements with filter: blur() and an
   infinite animation. That is expensive to repaint while scrolling, especially
   on laptops and phones. Radial gradients keep the same soft atmosphere without
   the scroll-jank tax. */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    opacity: .16;
    z-index: -5;
    pointer-events: none;
    transform: translateZ(0);
}

.orb1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -120px;
    background: radial-gradient(circle, rgba(46,197,255,.50) 0%, rgba(46,197,255,.22) 42%, transparent 72%);
}

.orb2 {
    width: 450px;
    height: 450px;
    bottom: -150px;
    right: -120px;
    background: radial-gradient(circle, rgba(142,247,109,.46) 0%, rgba(142,247,109,.20) 42%, transparent 72%);
}

.orb3 {
    width: 320px;
    height: 320px;
    top: 40%;
    left: 40%;
    background: radial-gradient(circle, rgba(211,125,255,.42) 0%, rgba(211,125,255,.18) 42%, transparent 72%);
}

header {
    position: fixed;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    max-width: 100%;
    z-index: 1000;
}

.header-top, .nav-wrap {
    max-width: 100%;
    margin: auto;
    background: rgba(6,16,28,.68);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
}

.header-top { padding: 14px 30px; }
.nav-wrap {
    margin-top: 4px;
    padding: 8px clamp(8px, 1.6vw, 14px);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 10px;
}
.nav-wrap::-webkit-scrollbar { width: 0; height: 0; display: none; }
.logo-wrap { display: flex; align-items: center; gap: 18px; }
.logo-wrap img { width: 92px; filter: drop-shadow(0 12px 22px rgba(0,0,0,.45)); }
.logo-text h1 { font-size: 1.5rem; color: white; }
.logo-text p { color: var(--text-highlight); font-size: .85rem; letter-spacing: 1px; }

nav {
    --nav-font-size: clamp(.82rem, .76rem + .24vw, .94rem);
    --nav-x-padding: clamp(11px, 1.08vw, 18px);
    --nav-y-padding: 10px;
    --nav-gap: clamp(6px, .72vw, 11px);
    --nav-border-width: 1px;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--nav-gap);
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    min-width: max-content;
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(2px, .45vw, 7px);
}
nav a {
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--nav-y-padding) var(--nav-x-padding);
    border-radius: 999px;
    font-size: var(--nav-font-size);
    line-height: 1.12;
    letter-spacing: .2px;
    white-space: nowrap;
    flex: 1 0 max-content;
    min-height: 42px;
    background: rgba(255,255,255,.08);
    border: var(--nav-border-width) solid rgba(255,255,255,.12);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
nav a:hover { background: #75768c; color: var(--bg-main); }
nav a:focus-visible {
    outline: 2px solid rgba(142,247,109,.85);
    outline-offset: 3px;
}
nav a.is-active, nav a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(142,247,109,.26), rgba(46,197,255,.16));
    color: white;
    border-color: rgba(142,247,109,.55);
    box-shadow: 0 0 0 1px rgba(142,247,109,.12) inset;
}

.marker-highlight {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.08) 100%), rgba(35, 39, 50, .48);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: clamp(.92rem, 1.45vw, 1.05rem);
    padding: 8px 13px;
    color: #D6E0EF;
    line-height: 1.55;
}

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    transition: opacity 5s ease-in-out;
    transform: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(4,14,24,.32), rgba(4,14,24,.22));
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(8,21,33,.95));
}

.bg1 { opacity: 1; z-index: 1; }
.bg2 { opacity: 0; z-index: 2; }

.hero-content {
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 5;
    padding: 30px;
    padding-top: 100px;
}

.cta-buttons { margin-top: 38px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.btn {
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.primary {
    background: var(--primary-color);
    color: var(--bg-main);
    /* Adds a small, soft shadow using a semi-transparent black */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Optional: Make the shadow expand and glow slightly when hovered */
.primary:hover {
    box-shadow: 0 6px 18px rgba(46, 197, 255, 0.4);
}
.secondary { border: 2px solid rgba(255,255,255,.18); color: white; background: rgba(255,255,255,.26); }
.btn:hover { transform: translateY(-2px); }

.section { max-width: 1280px; width: 100%; margin: auto; padding: 20px 24px; }
.section :where(p, li) {
    font-size: var(--copy-font-size);
    line-height: var(--copy-line-height);
}
.section-title { font-size: 2.1rem; font-weight: 300; text-align: center; margin-bottom: 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card-link { text-decoration: none; color: inherit; }
.card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 34px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46,197,255,.14), transparent 60%);
    opacity: 0;
    transition: opacity .22s ease;
}

.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); border-color: rgba(46,197,255,.45); box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.card h3 { margin-bottom: 14px; font-size: 1.4rem; color: white; }
.card p { color: #d4e2ef; line-height: 1.8; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.stat { text-align: center; padding: 30px; background: rgba(255,255,255,.05); border-radius: 20px; }
.stat h4 { font-size: 2.2rem; color: var(--text-highlight); }

footer { margin-top: 80px; background: #050d15; padding: 50px 20px; font-size: 15px; text-align: center; color: #9db1c3; }

/* Links */
p a, .section a:not(.btn), footer a {
    color: var(--link-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}
p a:hover, .section a:not(.btn):hover, footer a:hover { opacity: 0.6; }

/* Footer Socials */
.social-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 24px; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.08); color: var(--text-muted);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; text-decoration: none;
}
.social-links svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.social-links a:hover {
    background: var(--text-muted); color: var(--bg-main);
    box-shadow: 0 10px 20px rgba(46, 197, 255, 0.2);
}
.social-links a:hover svg { transform: scale(1.1); }

/* Responsive Adjustments */
@media(max-width: 1100px) {
    .logo-text h1 { font-size: 1.1rem; }
    nav {
        --nav-font-size: .80rem;
        --nav-x-padding: 11px;
        --nav-y-padding: 10px;
        --nav-gap: 7px;
    }
}
@media (max-width: 1024px) {
    .header-top { padding: 12px 18px; }
    .nav-wrap { padding: 8px 10px; }
    nav {
        --nav-font-size: .79rem;
        --nav-x-padding: 10px;
        --nav-y-padding: 10px;
        --nav-gap: 6px;
    }
}
@media(max-width: 900px) {
    .logo-wrap { flex-direction: column; text-align: center; gap: 10px; }
    .logo-wrap img { width: 78px; }
    .logo-text h1 { font-size: 1.35rem; }
    .logo-text p { font-size: .72rem; }
}
@media (max-width: 768px) {
    header { top: 0; left: 0; width: 100%; padding: 6px; }
    .header-top, .nav-wrap { border-radius: 14px; }
    .nav-wrap { padding: 8px 8px; }
    .logo-wrap img { width: 72px; }
    nav {
        --nav-font-size: .76rem;
        --nav-x-padding: 10px;
        --nav-y-padding: 9px;
        --nav-gap: 6px;
        margin-inline: 0;
        padding-inline: 0;
    }
    nav a { min-height: 39px; }
    .hero { min-height: 82vh; padding-top: 160px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; text-align: center; }
}
@media (max-width: 480px) {
    nav {
        --nav-gap: 6px;
        --nav-font-size: .75rem;
        --nav-x-padding: 9px;
        --nav-y-padding: 9px;
    }
    nav a { min-height: 38px; }
    .logo-wrap img { width: 64px; }
}


/* Special Programs content styling */
.program-copy {
    max-width: 1080px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.75;
}

.program-intro-card,
.program-section-card,
.program-closing {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 30px;
    padding: clamp(24px, 4vw, 38px);
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
}

.program-intro-card {
    background: linear-gradient(135deg, rgba(46,197,255,.14), rgba(142,247,109,.07), rgba(255,255,255,.035));
}

.program-copy h3 {
    color: white;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 350;
    margin-bottom: 18px;
}

.program-copy h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.program-copy h4 span {
    color: var(--text-highlight);
    font-size: .95rem;
    font-weight: 400;
}

.program-copy p + p,
.program-copy ul + p,
.program-copy p + ul {
    margin-top: 14px;
}

.program-copy ul {
    margin-left: 28px;
    padding-left: 12px;
}

.program-copy li {
    margin-bottom: 10px;
}

.eyebrow {
    color: var(--text-highlight);
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.phase-grid,
.program-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.phase-card,
.program-detail {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 24px;
}

.program-detail {
    height: 100%;
}

.purpose-card {
    border-color: rgba(142,247,109,.18);
}

.program-closing {
    text-align: center;
    color: white;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    background: linear-gradient(135deg, rgba(46,197,255,.12), rgba(211,125,255,.10));
}

.program-closing p + p {
    margin-top: 8px;
}

/* InterServer footer credit */
.powered-by {
    margin-top: 8px;
    font-size: 18px;
}

/* Special Programs readability spacing pass */
.special-programs-page .program-copy {
    line-height: 1.9;
}

.special-programs-page .program-intro-card,
.special-programs-page .program-section-card,
.special-programs-page .program-closing {
    padding: clamp(30px, 5vw, 52px);
}

.special-programs-page .program-intro-card + .program-section-card,
.special-programs-page .program-section-card + .program-section-card,
.special-programs-page .program-section-card + .program-closing {
    margin-top: clamp(26px, 3vw, 42px);
}

.special-programs-page .program-copy h3 {
    line-height: 1.25;
    margin-bottom: clamp(20px, 2vw, 30px);
}

.special-programs-page .program-copy h4 {
    line-height: 1.35;
    margin-bottom: 16px;
}

.special-programs-page .program-copy p {
    margin: 0 0 clamp(16px, 1.6vw, 22px);
}

.special-programs-page .program-copy p + p,
.special-programs-page .program-copy ul + p,
.special-programs-page .program-copy p + ul {
    margin-top: 0;
}

.special-programs-page .program-copy ul {
    margin: 8px 0 clamp(22px, 2vw, 30px) 32px;
    padding-left: 14px;
}

.special-programs-page .program-copy li {
    margin-bottom: 14px;
    padding-left: 4px;
    line-height: 1.75;
}

.special-programs-page .program-copy li:last-child,
.special-programs-page .program-copy p:last-child,
.special-programs-page .program-copy ul:last-child {
    margin-bottom: 0;
}

.special-programs-page .phase-grid,
.special-programs-page .program-detail-grid {
    gap: clamp(22px, 2.4vw, 34px);
    margin-top: 24px;
}

.special-programs-page .phase-card,
.special-programs-page .program-detail {
    padding: clamp(26px, 3vw, 34px);
}

.special-programs-page .program-detail + .program-detail {
    margin-top: 0;
}

.special-programs-page .program-detail p b,
.special-programs-page .program-section-card > p b {
    color: white;
}

.special-programs-page .program-closing {
    line-height: 1.55;
    padding-top: clamp(34px, 5vw, 58px);
    padding-bottom: clamp(34px, 5vw, 58px);
}

.special-programs-page .program-closing p {
    margin-bottom: 14px;
}

.special-programs-page .program-closing p + p {
    margin-top: 0;
}

@media (max-width: 640px) {
    .special-programs-page .program-copy {
        line-height: 1.8;
    }

    .special-programs-page .program-intro-card,
    .special-programs-page .program-section-card,
    .special-programs-page .program-closing,
    .special-programs-page .phase-card,
    .special-programs-page .program-detail {
        border-radius: 22px;
        padding: 24px;
    }

    .special-programs-page .program-copy ul {
        margin-left: 24px;
    }
}


/* Core Programs page polish */
.core-programs-page .program-intro-card {
    background: linear-gradient(135deg, rgba(142,247,109,.12), rgba(46,197,255,.12), rgba(255,255,255,.035));
}

.core-programs-page .program-section-card > .eyebrow {
    margin-bottom: 10px;
}

.core-programs-page .phase-card {
    border-color: rgba(46,197,255,.12);
}

.core-programs-page .program-detail {
    margin-top: 22px;
}

.core-programs-page .program-detail ul li b {
    color: white;
}

.core-programs-page .program-closing {
    background: linear-gradient(135deg, rgba(142,247,109,.13), rgba(46,197,255,.12), rgba(211,125,255,.08));
}

.core-programs-page .program-closing b {
    color: var(--accent-green);
}

/* Community Partners page polish */
.partners-page .program-intro-card {
    background: linear-gradient(135deg, rgba(211,125,255,.13), rgba(46,197,255,.10), rgba(255,255,255,.035));
}

.partners-page .partner-card {
    position: relative;
    overflow: hidden;
}

.partners-page .partner-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(46,197,255,.75), rgba(142,247,109,.65));
    opacity: .9;
}

.partners-page .partner-title-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(142,247,109,.45);
    transition: color .2s ease, border-color .2s ease;
}

.partners-page .partner-title-link:hover,
.partners-page .partner-title-link:focus {
    color: var(--accent-green);
    border-color: rgba(142,247,109,.85);
}

.partners-page .program-closing {
    background: linear-gradient(135deg, rgba(142,247,109,.11), rgba(46,197,255,.12), rgba(211,125,255,.09));
}

/* Partner card logos */
.partners-page .partner-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 34px);
    margin-bottom: clamp(18px, 2vw, 28px);
}

.partners-page .partner-card-heading {
    min-width: 0;
    flex: 1 1 auto;
}

.partners-page .partner-card-heading .eyebrow,
.partners-page .partner-card-heading h3 {
    margin-right: 0;
}

.partners-page .partner-card-image {
    flex: 0 0 auto;
    width: clamp(96px, 15vw, 150px);
    height: clamp(96px, 15vw, 150px);
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 22px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(124,151,169,.62), rgba(74,102,126,.54));
    border: 1px solid rgba(190,215,228,.24);
    box-shadow: 0 18px 42px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.12);
}


@media (max-width: 720px) {
    .partners-page .partner-card-header {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 18px;
    }

    .partners-page .partner-card-image {
        width: min(150px, 55vw);
        height: min(150px, 55vw);
        align-self: flex-end;
    }
}

/* Trademark symbol treatment: keep ™ visually smaller and raised so program names do not read like plain TM text. */
.tm-symbol {
  display: inline-block;
  font-size: 0.46em;
  line-height: 0;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 0;
  font-weight: 700;
  text-transform: none;
}

.hero-copy .tm-symbol,
.program-copy h3 .tm-symbol,
.program-copy h4 .tm-symbol,
.partner-copy h3 .tm-symbol,
.partner-copy h4 .tm-symbol,
.card h3 .tm-symbol,
.card h4 .tm-symbol {
  font-size: 0.42em;
}


/* Events page polish */
.events-page .program-intro-card {
    background: linear-gradient(135deg, rgba(46,197,255,.14), rgba(211,125,255,.10), rgba(255,255,255,.035));
}

.events-page .event-section-card {
    position: relative;
    overflow: hidden;
}

.events-page .event-section-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(211,125,255,.75), rgba(46,197,255,.72), rgba(142,247,109,.62));
    opacity: .88;
}

.event-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(22px, 2.4vw, 34px);
}

.event-card {
    height: 100%;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: clamp(24px, 3vw, 34px);
    box-shadow: 0 16px 36px rgba(0,0,0,.16);
}

.event-card.featured-event {
    border-color: rgba(46,197,255,.16);
    background: linear-gradient(135deg, rgba(46,197,255,.09), rgba(255,255,255,.045));
}

.event-card.previous-event {
    border-color: rgba(142,247,109,.13);
}

.event-card.compact-event {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
}

.event-card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.event-label,
.event-date {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-family: var(--font-heading);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.25;
}

.event-label {
    color: white;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
}

.event-date {
    color: var(--accent-green);
    background: rgba(142,247,109,.08);
    border: 1px solid rgba(142,247,109,.18);
    text-align: right;
}

.events-page .event-card h4 {
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    margin-bottom: 14px;
}

.event-time {
    color: white;
    font-weight: 700;
}

.events-page .program-closing {
    background: linear-gradient(135deg, rgba(46,197,255,.12), rgba(211,125,255,.12), rgba(142,247,109,.08));
}

@media (max-width: 640px) {
    .event-card-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-date {
        text-align: left;
    }
}

/* Events gallery modal */
.event-gallery-trigger {
    position: relative;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.event-gallery-trigger:hover,
.event-gallery-trigger:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(46,197,255,.36);
    box-shadow: 0 22px 46px rgba(0,0,0,.24), 0 0 0 1px rgba(46,197,255,.08) inset;
    outline: none;
}

.event-gallery-trigger:focus-visible {
    box-shadow: 0 22px 46px rgba(0,0,0,.24), 0 0 0 3px rgba(46,197,255,.28);
}

.event-gallery-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(135deg, rgba(46,197,255,.22), rgba(211,125,255,.18));
    border: 1px solid rgba(255,255,255,.14);
}

.event-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 44px);
}

.event-gallery-modal[hidden] {
    display: none !important;
}

.event-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 22, .78);
    backdrop-filter: blur(14px);
}

.event-gallery-panel {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    max-height: min(82vh, 760px);
    overflow: auto;
    border-radius: 30px;
    padding: clamp(26px, 4vw, 42px);
    background: linear-gradient(145deg, rgba(20,29,55,.96), rgba(15,18,35,.96));
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 34px 90px rgba(0,0,0,.45);
}

.event-gallery-close {
    position: sticky;
    top: 0;
    float: right;
    width: 42px;
    height: 42px;
    margin: -8px -8px 12px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: white;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.event-gallery-close:hover,
.event-gallery-close:focus-visible {
    background: rgba(46,197,255,.18);
    outline: none;
}

.event-gallery-date {
    display: inline-flex;
    width: fit-content;
    margin: 2px 0 18px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--accent-green);
    background: rgba(142,247,109,.08);
    border: 1px solid rgba(142,247,109,.18);
    font-family: var(--font-heading);
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-gallery-description {
    max-width: 68ch;
    margin-bottom: clamp(22px, 3vw, 32px);
    color: rgba(255,255,255,.84);
}

.event-gallery-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
    clear: both;
}

.event-gallery-photo {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    box-shadow: 0 16px 34px rgba(0,0,0,.20);
}

.event-gallery-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.event-gallery-photo figcaption {
    padding: 12px 14px 14px;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    line-height: 1.45;
}

body.event-gallery-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .event-gallery-panel {
        border-radius: 24px;
        max-height: 86vh;
    }

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



/* Home page refresh: match the Programs / Special Programs card-based layout. */
.home-page .program-intro-card {
    background: linear-gradient(135deg, rgba(46,197,255,.15), rgba(142,247,109,.11), rgba(211,125,255,.07));
}

.home-page .program-section-card {
    position: relative;
    overflow: hidden;
}

.home-page .program-section-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(142,247,109,.70), rgba(46,197,255,.72), rgba(211,125,255,.62));
    opacity: .85;
}


.home-page .book-feature-card {
    background:
        radial-gradient(circle at top left, rgba(142,247,109,.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(46,197,255,.20), transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
    border-color: rgba(142,247,109,.30);
}

.home-page .book-feature-card::before {
    width: 6px;
    background: linear-gradient(180deg, rgba(142,247,109,.95), rgba(46,197,255,.82));
}

.book-feature-layout {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr;
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
}

.book-cover-card {
    position: relative;
    margin: 0;
    justify-self: center;
    width: min(100%, 235px);
    padding: 12px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.075)),
        radial-gradient(circle at top left, rgba(142,247,109,.20), transparent 42%);
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 26px 58px rgba(0,0,0,.32);
    transform: rotate(-1.4deg);
}

.book-cover-card::before {
    content: "";
    position: absolute;
    inset: -14px;
    z-index: -1;
    border-radius: 32px;
    background:
        radial-gradient(circle at 18% 18%, rgba(142,247,109,.30), transparent 34%),
        radial-gradient(circle at 82% 82%, rgba(46,197,255,.24), transparent 38%);
    opacity: .95;
}

.book-cover-card::after {
    content: "";
    position: absolute;
    inset: 10px;
    pointer-events: none;
    border-radius: 17px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.20);
}

.book-cover-link {
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(5,14,24,.45);
    box-shadow: 0 14px 34px rgba(0,0,0,.30);
}

.book-cover-link:focus-visible {
    outline: 3px solid rgba(142,247,109,.78);
    outline-offset: 5px;
}

.book-cover-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 348 / 522;
}

.book-cover-card figcaption {
    margin-top: 14px;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-highlight);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.5;
}

.book-cover-card figcaption span {
    display: block;
}

.book-cover-card figcaption span + span {
    margin-top: 2px;
    color: rgba(255,255,255,.78);
    font-size: .66rem;
    letter-spacing: .14em;
}

.book-feature-copy {
    align-self: center;
}

.book-feature-copy h3 {
    margin-bottom: 16px;
}

.book-feature-copy p:not(.eyebrow) {
    font-size: var(--copy-font-size);
    line-height: var(--copy-line-height);
    max-width: 760px;
}

.book-feature-copy .book-proceeds-note {
    display: inline-flex;
    align-items: center;
    max-width: 760px;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(142,247,109,.18), rgba(46,197,255,.12));
    border: 1px solid rgba(142,247,109,.34);
    color: rgba(255,255,255,.95);
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
}

.book-feature-copy .book-proceeds-note strong {
    font-weight: 800;
}

.book-feature-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

@media (max-width: 760px) {
    .book-feature-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .book-cover-card {
        width: min(74vw, 220px);
        transform: none;
        margin-bottom: 8px;
    }

    .book-feature-button {
        width: 100%;
        max-width: none;
    }
}

.home-page .home-action-grid a,
.home-page .home-action-card {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.home-page .home-action-card .program-detail {
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.home-page .home-action-card:hover .program-detail,
.home-page .home-action-card:focus .program-detail {
    transform: translateY(-6px);
    border-color: rgba(46,197,255,.32);
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
    background: rgba(255,255,255,.075);
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.home-stat-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    padding: clamp(22px, 3vw, 30px);
    text-align: center;
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.home-stat-card h4 {
    color: var(--text-highlight);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 350;
    line-height: 1;
    margin-bottom: 12px;
}

.home-stat-card p {
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.home-impact-note {
    padding: clamp(20px, 3vw, 28px);
    border-radius: 22px;
    background: rgba(8,21,33,.42);
    border: 1px solid rgba(255,255,255,.08);
}

.home-compliance-card {
    background: rgba(255,255,255,.035);
    border-color: rgba(255,255,255,.07);
}

.home-compliance-card h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.home-compliance-card .ndeos-shade {
    color: #aeb8c1;
    font-size: .92rem;
    line-height: 1.7;
}

.home-page .program-closing {
    background: linear-gradient(135deg, rgba(46,197,255,.12), rgba(142,247,109,.11), rgba(211,125,255,.10));
}

/* Homepage vision title card: align with the normal page content width. */
.home-page .home-vision-card {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    padding: clamp(30px, 4vw, 52px) clamp(24px, 4vw, 42px);
    border-radius: 30px;
    overflow: hidden;
}

.home-page .home-vision-card p {
    margin-inline: auto;
    color: rgba(255,255,255,.96);
    font-family: var(--font-heading);
    font-weight: 350;
    text-align: center;
    white-space: nowrap;
    text-wrap: nowrap;
}

.home-page .home-vision-card p + p {
    margin-top: clamp(10px, 1.6vw, 18px);
}

@media (max-width: 700px) {
    .home-page .home-vision-card {
        padding: 24px 16px;
        border-radius: 22px;
    }
}

@media (max-width: 520px) {
    .home-page .home-vision-card p {
        white-space: normal;
        text-wrap: balance;
    }
}
/* Keep homepage body/vision copy aligned with the Our Mission page text sizing. */
.home-page .program-copy :where(p, li):not(.eyebrow):not(.book-proceeds-note),
.home-page .home-vision-card p {
    font-size: var(--copy-font-size);
    line-height: var(--copy-line-height);
}

.home-page .home-vision-card p {
    letter-spacing: 0;
}

@media (max-width: 700px) {
    .home-page .home-vision-card p {
        font-size: clamp(.82rem, 3vw, 1.03rem);
    }
}



/* Mission page refresh: align with the Programs / Home card-based layout. */
.mission-page .program-intro-card {
    background: linear-gradient(135deg, rgba(142,247,109,.13), rgba(46,197,255,.13), rgba(211,125,255,.06));
}

.mission-page .program-section-card {
    position: relative;
    overflow: hidden;
}

.mission-page .program-section-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(46,197,255,.72), rgba(142,247,109,.68), rgba(211,125,255,.58));
    opacity: .86;
}

.mission-page .phase-card,
.mission-page .program-detail,
.mission-impact-card {
    border-color: rgba(46,197,255,.12);
}

.mission-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(18px, 2vw, 26px);
}

.mission-impact-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    padding: clamp(22px, 3vw, 30px);
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.mission-impact-card h4 {
    color: white;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    margin-bottom: 12px;
}

.mission-impact-card p {
    margin: 0;
}

.mission-note {
    padding: clamp(20px, 3vw, 28px);
    border-radius: 22px;
    background: rgba(8,21,33,.42);
    border: 1px solid rgba(255,255,255,.08);
}

.mission-impact-grid + .mission-impact-note {
    display: block;
    clear: both;
    margin-top: clamp(28px, 3.5vw, 44px) !important;
}

.mission-page .program-closing {
    background: linear-gradient(135deg, rgba(142,247,109,.12), rgba(46,197,255,.12), rgba(211,125,255,.10));
}


.previous-event.event-gallery-trigger .event-gallery-cta {
    margin-top: auto;
}

.compact-event.event-gallery-trigger {
    min-height: 220px;
}




@media (max-width: 768px) {
    .bg-orb {
        display: none;
    }

    .header-top,
    .nav-wrap,
    .card,
    .program-intro-card,
    .program-section-card,
    .program-closing {
        backdrop-filter: blur(6px);
    }
}

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




/* Foundation Staff page */
.staff-page .program-section-card {
    overflow: hidden;
}

.staff-page .staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(22px, 2.5vw, 34px);
    margin-top: clamp(22px, 2.5vw, 34px);
}

.staff-page .staff-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.095);
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.staff-page .staff-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 28px 0 0 28px;
    background: linear-gradient(180deg, rgba(46,197,255,.75), rgba(142,247,109,.65), rgba(211,125,255,.55));
    opacity: .9;
}

.staff-page .staff-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(12px, 1.8vw, 18px);
    margin-bottom: clamp(12px, 1.6vw, 18px);
}

.staff-page .staff-card-heading {
    min-width: 0;
    width: 100%;
    text-align: left;
}

.staff-page .staff-card-heading .eyebrow {
    margin-bottom: 8px;
}

.staff-page .staff-card h3 {
    margin-bottom: 0;
    font-size: clamp(1.16rem, 1.8vw, 1.42rem);
    line-height: 1.22;
    letter-spacing: -.01em;
}

.staff-page .staff-title-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(142,247,109,.45);
    transition: color .2s ease, border-color .2s ease;
}

.staff-page .staff-title-link:hover,
.staff-page .staff-title-link:focus {
    color: var(--accent-green);
    border-color: rgba(142,247,109,.9);
}

.staff-page .staff-portrait {
    width: clamp(112px, 12vw, 148px);
    height: clamp(112px, 12vw, 148px);
    object-fit: cover;
    object-position: center;
    display: block;
    align-self: flex-start;
    border-radius: 28px;
    padding: 6px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.38);
    box-shadow: 0 18px 42px rgba(0,0,0,.24);
}

.staff-page .staff-card-copy {
    color: var(--text-main);
    line-height: 1.78;
}

.staff-page .staff-card-copy p {
    margin-bottom: clamp(14px, 1.4vw, 18px);
}

.staff-page .staff-card-info-action {
    margin-top: auto;
    padding-top: 4px;
}

.staff-page .staff-info-link,
.staff-page .staff-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: white;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(46,197,255,.55);
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.staff-page .staff-info-link:hover,
.staff-page .staff-info-link:focus,
.staff-page .staff-profile-link:hover,
.staff-page .staff-profile-link:focus {
    color: var(--accent-blue);
    border-color: rgba(46,197,255,.95);
    transform: translateY(-1px);
}

.staff-page .program-closing {
    background: linear-gradient(135deg, rgba(46,197,255,.13), rgba(142,247,109,.10), rgba(211,125,255,.10));
}

body.staff-bio-open {
    overflow: hidden;
}

.staff-bio-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(18px, 3vw, 34px);
    background: rgba(4, 9, 20, .74);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    z-index: 5000;
    transition: opacity .22s ease;
}

.staff-bio-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.staff-bio-modal-backdrop {
    position: absolute;
    inset: 0;
}

.staff-bio-dialog {
    position: relative;
    width: min(820px, calc(100vw - 32px));
    max-height: min(82vh, 760px);
    overflow: auto;
    padding: clamp(26px, 4vw, 44px);
    border-radius: 30px;
    color: var(--text-main);
    background:
        linear-gradient(145deg, rgba(19, 31, 52, .98), rgba(14, 19, 36, .97)),
        linear-gradient(135deg, rgba(46,197,255,.14), rgba(142,247,109,.08));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
    transform: translateY(12px) scale(.985);
    transition: transform .22s ease;
    outline: none;
}

.staff-bio-modal.is-open .staff-bio-dialog {
    transform: translateY(0) scale(1);
}

.staff-bio-dialog::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 30px 0 0 30px;
    background: linear-gradient(180deg, rgba(46,197,255,.85), rgba(142,247,109,.72), rgba(211,125,255,.62));
}

.staff-bio-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: white;
    background: rgba(255,255,255,.08);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.staff-bio-close:hover,
.staff-bio-close:focus {
    background: rgba(255,255,255,.16);
    transform: translateY(-1px);
}

.staff-bio-dialog h3 {
    margin: 4px 48px 18px 0;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.staff-bio-content {
    line-height: 1.78;
}

.staff-bio-content p {
    margin: 0 0 clamp(14px, 1.6vw, 20px);
}

.staff-bio-content .staff-profile-link {
    margin-top: 8px;
}

@media (max-width: 720px) {
    .staff-page .staff-grid {
        grid-template-columns: 1fr;
    }

    .staff-page .staff-portrait {
        width: min(142px, 48vw);
        height: min(142px, 48vw);
    }

    .staff-bio-dialog {
        width: min(100%, calc(100vw - 24px));
        max-height: 84vh;
        padding: 28px 22px 26px;
        border-radius: 24px;
    }

    .staff-bio-dialog::before {
        border-radius: 24px 0 0 24px;
    }
}


/* Privacy Policy page */
.privacy-page .program-intro-card {
    background: linear-gradient(135deg, rgba(46,197,255,.11), rgba(255,255,255,.05), rgba(142,247,109,.055));
}

.privacy-copy {
    max-width: 1040px;
}

.privacy-page .program-section-card {
    border-color: rgba(255,255,255,.085);
}

.privacy-page .program-section-card h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.privacy-contact-card {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.095);
}

.privacy-contact-card p {
    margin: 0;
}

.privacy-page a {
    color: var(--text-highlight);
    text-decoration: none;
}

.privacy-page a:hover,
.privacy-page a:focus-visible {
    color: white;
    text-decoration: underline;
}

.privacy-policy-box {
    background: rgba(255,255,255,.045);
}

.privacy-closing a {
    color: white;
    text-decoration: none;
}

.privacy-closing a:hover,
.privacy-closing a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .privacy-contact-card {
        padding: 16px;
    }
}


/* Privacy page single-card layout */
.privacy-single-copy {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

.privacy-single-card {
	padding: clamp(1.5rem, 3vw, 2.6rem);
}

.privacy-policy-header {
	padding-bottom: 1.35rem;
	margin-bottom: 1.35rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.privacy-single-section {
	padding-top: 1.35rem;
	margin-top: 1.35rem;
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.privacy-policy-header + .privacy-single-section {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.privacy-single-card h4 {
	font-size: clamp(1.12rem, 2vw, 1.45rem);
	margin-bottom: 0.75rem;
	color: var(--white);
}

.privacy-single-card h5 {
	font-size: 1rem;
	letter-spacing: 0.02em;
	margin: 1.15rem 0 0.45rem;
	color: rgba(255, 255, 255, 0.92);
}

.privacy-single-card p,
.privacy-single-card li {
	line-height: 1.75;
}

.privacy-single-card ul {
	margin-top: 0.55rem;
	margin-bottom: 0.8rem;
}

.privacy-single-card li + li {
	margin-top: 0.35rem;
}

.privacy-single-closing {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	padding: 1.15rem 1.25rem;
}

@media (max-width: 640px) {
	.privacy-single-card {
		padding: 1.25rem;
	}

	.privacy-single-section {
		padding-top: 1.1rem;
		margin-top: 1.1rem;
	}
}


/* Performance/accessibility motion controls */
@media (hover: none) {
    .btn:hover,
    .card:hover,
    .event-gallery-trigger:hover,
    .home-page .home-action-card:hover .program-detail,
    .staff-page .staff-info-link:hover,
    .staff-page .staff-profile-link:hover,
    .social-links a:hover svg {
        transform: none !important;
    }

    .card:hover,
    .event-gallery-trigger:hover,
    .home-page .home-action-card:hover .program-detail {
        box-shadow: inherit;
    }
}

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

    .hero-bg {
        transition: none !important;
    }
}

/* Card reduction pass: keep important feature sections, but let long content breathe. */
.program-section-card.plain-section {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0;
    padding: clamp(10px, 2vw, 20px) 0;
    overflow: visible;
}

.program-section-card.plain-section::before,
.home-page .program-section-card.plain-section::before,
.mission-page .program-section-card.plain-section::before,
.events-page .event-section-card.plain-section::before,
.partners-page .partner-card.plain-section::before {
    display: none !important;
    content: none !important;
}

.program-copy .plain-section + .plain-section {
    margin-top: clamp(28px, 4vw, 54px);
}

.program-copy .plain-section > h3 {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.program-copy .plain-section:not(.action-section) .phase-card,
.program-copy .plain-section:not(.action-section) .program-detail,
.program-copy .plain-section:not(.action-section) .mission-impact-card {
    background: rgba(255,255,255,.032);
    border-color: rgba(255,255,255,.075);
    box-shadow: none;
}

.program-copy .plain-section.action-section .program-detail {
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.032));
    box-shadow: none;
}

.home-page .home-compliance-card.plain-section {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.home-page .home-compliance-card.plain-section h3 {
    border-bottom-color: rgba(255,255,255,.075);
}

.events-page .event-list-section .event-card,
.staff-page .staff-list-section .staff-card {
    box-shadow: none;
}

.partners-page .partner-card {
    background: rgba(255,255,255,.038);
    box-shadow: none;
}

.grid .card {
    background: rgba(255,255,255,.035);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.grid .card::before {
    background: linear-gradient(135deg, rgba(46,197,255,.10), transparent 62%);
}

@media (max-width: 768px) {
    .program-section-card.plain-section {
        padding: 10px 0;
    }
}

/* Thank-you landing page */
.thank-you-body {
  min-height: 100vh;
}

.thank-you-main {
  min-height: 100vh;
  display: block;
  padding-top: clamp(220px, 24vw, 285px);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.thank-you-section {
  width: 100%;
  padding-top: 0;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.thank-you-card {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.3rem, 5vw, 4rem);
  text-align: center;
  border-radius: var(--radius-lg, 30px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 16% 14%, rgba(58, 181, 149, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(10, 39, 64, 0.96), rgba(12, 75, 92, 0.92));
  color: #f7fbff;
  box-shadow: 0 24px 60px rgba(4, 20, 34, 0.28);
}

.thank-you-card .eyebrow {
  color: #a9ead2;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
}

.thank-you-card h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  line-height: 1.16;
  margin-bottom: 1rem;
}

.thank-you-card p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--copy-font-size, clamp(1.03rem, 1.4vw, 1.15rem));
  line-height: 1.7;
}

.thank-you-home-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
}


@media (max-width: 768px) {
  .thank-you-main {
    padding-top: clamp(245px, 44vw, 315px);
  }
}
