@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Serif+Display:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy-950: #071a45;
    --navy-900: #0c2d72;
    --navy-800: #123c8f;
    --navy-700: #1d4db0;
    --gold-500: #f6b11d;
    --gold-400: #ffd45c;
    --gold-text: #8a5a00;
    --mist-100: #f6f8ff;
    --mist-200: #e8eefc;
    --ink-900: #13213f;
    --ink-700: #39455f;
    --white: #ffffff;
    --success-bg: #e8fff0;
    --success-text: #0b6a37;
    --danger-bg: #fff0ef;
    --danger-text: #9d2f2f;
    --shadow-lg: 0 24px 60px rgba(7, 26, 69, 0.16);
    --shadow-md: 0 16px 40px rgba(7, 26, 69, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
    --font-body: 'Manrope';
    --font-heading: 'Bebas Neue';
    --font-serif: 'DM Serif Display';
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body), sans-serif;
    color: var(--ink-900);
    background:
        radial-gradient(circle at top left, rgba(246, 177, 29, 0.18), transparent 24rem),
        radial-gradient(circle at bottom right, rgba(29, 77, 176, 0.18), transparent 22rem),
        linear-gradient(180deg, #fbfcff 0%, #eef3ff 100%);
    line-height: 1.6;
}

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

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

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

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

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

.site-shell {
    min-height: 100vh;
    position: relative;
    overflow: clip;
}

.topbar {
    background: linear-gradient(90deg, var(--navy-950), var(--navy-900));
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 0;
}

.topbar__inner p {
    margin: 0;
}

.topbar__inner a {
    font-weight: 800;
    color: var(--gold-400);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(12, 45, 114, 0.08);
}

.admin-body {
    background:
        radial-gradient(circle at top right, rgba(246, 177, 29, 0.14), transparent 24rem),
        linear-gradient(180deg, #eef3ff 0%, #f9fbff 100%);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 26, 69, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.admin-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.admin-header .brand__copy strong,
.admin-header .brand__copy small {
    color: var(--white);
}

.admin-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.admin-main {
    padding: 2.5rem 0 4rem;
}

.maintenance-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.maintenance-page .form-card {
    max-width: 42rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.brand__mark {
    width: 3.7rem;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex: 0 0 auto;
}

.brand__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand__copy strong {
    font-family: var(--font-heading), sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: var(--navy-900);
    line-height: 0.95;
}

.brand__copy small {
    color: var(--ink-700);
    font-size: 0.88rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-nav a {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    color: var(--ink-700);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    color: var(--navy-900);
    background: rgba(29, 77, 176, 0.08);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: rgba(29, 77, 176, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: var(--navy-900);
    border-radius: 999px;
}

.hero {
    padding: 5.5rem 0 4rem;
    position: relative;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 20rem;
    height: 20rem;
    background: rgba(246, 177, 29, 0.16);
    top: -6rem;
    right: -3rem;
}

.hero::after {
    width: 18rem;
    height: 18rem;
    background: rgba(18, 60, 143, 0.12);
    bottom: -5rem;
    left: -5rem;
}

.hero__layout,
.split-section,
.two-up,
.contact-grid,
.footer-grid {
    display: grid;
    gap: 2rem;
}

.hero__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
}

.hero__layout--single {
    grid-template-columns: minmax(0, 1fr);
}

.hero__layout--single > div {
    max-width: 58rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(246, 177, 29, 0.12);
    color: var(--navy-900);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}

.eyebrow::before {
    content: '';
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--gold-500);
    box-shadow: 0 0 0 6px rgba(246, 177, 29, 0.16);
}

.hero h1,
.page-hero h1,
.admin-auth h1,
.admin-page h1,
.section-title,
.card-title,
.stat-value {
    font-family: var(--font-heading), sans-serif;
    letter-spacing: 0.04em;
}

.hero h1,
.page-hero h1,
.admin-auth h1,
.admin-page h1 {
    font-size: clamp(3.2rem, 5vw, 5.4rem);
    line-height: 0.95;
    margin: 0;
    color: var(--navy-950);
}

.hero h1 span,
.page-hero h1 span,
.admin-auth h1 span,
.admin-page h1 span {
    color: var(--gold-text);
}

.hero p.lead,
.page-hero p.lead,
.admin-auth p.lead,
.admin-page p.lead {
    font-size: 1.08rem;
    color: var(--ink-700);
    max-width: 44rem;
    margin: 1.2rem 0 1.7rem;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold-500), #ffce58);
    color: var(--navy-950);
}

.btn--secondary {
    background: var(--white);
    color: var(--navy-900);
    border: 1px solid rgba(12, 45, 114, 0.12);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.4rem;
}

.hero-meta__pill {
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(12, 45, 114, 0.08);
    color: var(--ink-700);
    box-shadow: 0 12px 30px rgba(7, 26, 69, 0.08);
}

.hero-panel {
    position: relative;
    background: linear-gradient(160deg, rgba(12, 45, 114, 0.98), rgba(18, 60, 143, 0.96));
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    isolation: isolate;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: auto -5rem -6rem auto;
    width: 16rem;
    height: 16rem;
    background: rgba(246, 177, 29, 0.15);
    border-radius: 50%;
    z-index: -1;
}

.hero-panel__frame {
    overflow: hidden;
    border-radius: calc(var(--radius-xl) - 0.5rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-panel--promo {
    padding: 1rem;
}

.hero-panel__frame--promo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: var(--white);
}

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

.hero-panel__mini {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel__caption {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
}

.hero-panel__caption strong {
    color: var(--gold-400);
}

.promo-section {
    padding: 0 0 4rem;
    position: relative;
    z-index: 1;
}

.promo-banner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(255, 212, 92, 0.35), transparent 16rem),
        linear-gradient(135deg, #071a45 0%, #123c8f 58%, #f6b11d 100%);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.promo-banner .section-kicker {
    width: fit-content;
    color: var(--navy-950);
    background: var(--gold-400);
}

.promo-banner .section-title {
    color: var(--white);
    font-size: clamp(3rem, 5vw, 5rem);
}

.promo-banner .section-title span {
    color: var(--gold-400);
}

.promo-banner p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    max-width: 42rem;
}

.promo-banner__copy {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.promo-banner__image {
    border-radius: calc(var(--radius-xl) - 0.5rem);
    overflow: hidden;
    background: var(--white);
    border: 4px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 60px rgba(7, 26, 69, 0.25);
}

.promo-banner__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.section {
    padding: 1.75rem 0 4rem;
}

.page-hero {
    padding: 4.5rem 0 2.5rem;
}

.admin-auth {
    padding: 2rem 0 4rem;
}

.admin-auth__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2rem;
    align-items: start;
}

.admin-login-card {
    position: sticky;
    top: 7rem;
}

.admin-page__head {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.section-kicker {
    font-size: 0.88rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--navy-700);
    margin: 0 0 0.55rem;
}

.section-title {
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    line-height: 0.98;
    margin: 0;
    color: var(--navy-950);
}

.section-copy {
    color: var(--ink-700);
    margin-top: 0.9rem;
    max-width: 46rem;
}

.section-head {
    margin-bottom: 1.7rem;
}

.cards,
.stats-grid,
.values-grid,
.list-grid,
.program-grid,
.gallery-grid,
.contact-people {
    display: grid;
    gap: 1.25rem;
}

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

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

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

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

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

.card,
.stat-card,
.value-card,
.info-card,
.program-card,
.quote-card,
.gallery-card,
.contact-card,
.form-card,
.photo-banner {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 45, 114, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.card,
.stat-card,
.value-card,
.info-card,
.program-card,
.quote-card,
.contact-card,
.form-card {
    padding: 1.45rem;
}

.card-title {
    font-size: 2rem;
    color: var(--navy-900);
    margin: 0 0 0.45rem;
}

.card p,
.info-card p,
.program-card p,
.quote-card p,
.contact-card p,
.footer-grid p {
    color: var(--ink-700);
}

.card-icon,
.value-letter,
.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.95rem;
    border-radius: 1rem;
    background: rgba(246, 177, 29, 0.14);
    color: var(--navy-900);
    font-size: 1.45rem;
}

.stat-card {
    text-align: center;
    padding: 1.4rem 1rem;
}

.stat-value {
    font-size: 3.1rem;
    color: var(--gold-text);
    line-height: 0.9;
}

.stat-label {
    color: var(--ink-700);
    font-weight: 700;
    font-size: 0.95rem;
}

.value-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    inset: auto auto -2rem -2rem;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(246, 177, 29, 0.14);
}

.value-letter {
    width: 4rem;
    height: 4rem;
    border-radius: 1.3rem;
    background: linear-gradient(180deg, var(--navy-800), var(--navy-950));
    color: var(--gold-400);
    font-family: var(--font-heading), sans-serif;
    font-size: 2rem;
    margin-inline: auto;
}

.value-title {
    margin: 1rem 0 0;
    font-weight: 800;
    color: var(--ink-900);
}

.feature-list,
.bullet-list,
.contact-list,
.footer-links,
.footer-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li,
.bullet-list li,
.contact-list li {
    position: relative;
    padding-left: 1.45rem;
    margin-bottom: 0.8rem;
}

.feature-list li::before,
.bullet-list li::before,
.contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--gold-500);
}

.info-card--accent,
.program-card--accent,
.contact-card--accent {
    background: linear-gradient(180deg, rgba(12, 45, 114, 0.98), rgba(18, 60, 143, 0.98));
    color: var(--white);
}

.info-card--accent p,
.info-card--accent li,
.program-card--accent p,
.program-card--accent li,
.contact-card--accent p,
.contact-card--accent li,
.contact-card--accent a {
    color: rgba(255, 255, 255, 0.9);
}

.info-card--accent .section-kicker,
.program-card--accent .section-kicker,
.contact-card--accent .section-kicker,
.cta-band .section-kicker {
    color: var(--gold-400);
}

.info-card--accent .section-title,
.program-card--accent .section-title,
.contact-card--accent .section-title,
.cta-band .section-title {
    color: var(--white);
}

.info-card--accent .section-copy,
.program-card--accent .section-copy,
.contact-card--accent .section-copy,
.cta-band .section-copy,
.cta-band p {
    color: rgba(255, 255, 255, 0.92);
}

.program-card__head,
.contact-person__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.badge-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.4rem;
    background: rgba(246, 177, 29, 0.14);
    overflow: hidden;
    flex: 0 0 auto;
}

.program-card__head h3,
.contact-person__head h3 {
    margin: 0;
    font-family: var(--font-heading), sans-serif;
    letter-spacing: 0.05em;
    font-size: 2rem;
    color: inherit;
}

.flyer-banner {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 1.5rem;
}

.quote-card {
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '“';
    position: absolute;
    top: -0.75rem;
    left: 1rem;
    font-family: var(--font-serif), serif;
    font-size: 5rem;
    color: rgba(246, 177, 29, 0.28);
}

.quote-card blockquote {
    margin: 0;
    padding-top: 1rem;
    font-family: var(--font-serif), serif;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1.2;
    color: var(--navy-900);
}

.photo-banner {
    overflow: hidden;
}

.photo-banner img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.photo-banner__copy {
    padding: 1.1rem 1.2rem 1.3rem;
}

.gallery-card {
    overflow: hidden;
}

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

.gallery-card__copy {
    padding: 1.1rem 1.2rem 1.3rem;
}

.gallery-card h3 {
    margin: 0 0 0.35rem;
    color: var(--navy-900);
}

.cta-band {
    margin-top: 2rem;
    padding: 1.6rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-band strong {
    color: var(--gold-400);
}

.contact-grid {
    align-items: start;
}

.admin-filters {
    margin-bottom: 1.5rem;
}

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

.field--wide {
    grid-column: span 2;
}

.admin-filters__actions {
    margin-top: 0.3rem;
}

.admin-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-stat-card--new .stat-value {
    color: var(--navy-700);
}

.admin-stat-card--contacted .stat-value {
    color: #0d7f63;
}

.admin-stat-card--enrolled .stat-value {
    color: #8a4ef5;
}

.admin-follow-up-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-visibility-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -0.35rem;
}

.admin-follow-up-card {
    display: block;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.admin-follow-up-card:hover,
.admin-follow-up-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.admin-follow-up-card.is-active {
    border-color: rgba(12, 45, 114, 0.3);
    box-shadow: 0 0 0 2px rgba(29, 77, 176, 0.12), var(--shadow-md);
}

.admin-follow-up-card--overdue .stat-value {
    color: var(--danger-text);
}

.admin-follow-up-card--today .stat-value {
    color: #7b5600;
}

.admin-follow-up-card--upcoming .stat-value {
    color: var(--navy-700);
}

.admin-follow-up-card--none .stat-value {
    color: var(--ink-700);
}

.admin-visibility-card {
    display: block;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.admin-visibility-card:hover,
.admin-visibility-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.admin-visibility-card.is-active {
    border-color: rgba(12, 45, 114, 0.3);
    box-shadow: 0 0 0 2px rgba(29, 77, 176, 0.12), var(--shadow-md);
}

.owner-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin: -0.35rem 0 1.5rem;
}

.owner-card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 45, 114, 0.08);
    box-shadow: var(--shadow-md);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.owner-card:hover,
.owner-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.owner-card.is-active {
    border-color: rgba(12, 45, 114, 0.3);
    box-shadow: 0 0 0 2px rgba(29, 77, 176, 0.12), var(--shadow-md);
}

.owner-card__label {
    color: var(--ink-700);
    font-weight: 800;
}

.owner-card__count {
    font-family: var(--font-heading), sans-serif;
    letter-spacing: 0.04em;
    font-size: 2.2rem;
    line-height: 0.9;
    color: var(--navy-900);
}

.table-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(12, 45, 114, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.table-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    padding: 1.35rem 1.4rem 1rem;
    border-bottom: 1px solid rgba(12, 45, 114, 0.08);
}

.table-card__meta {
    color: var(--ink-700);
    font-weight: 700;
}

.bulk-actions-wrap {
    padding: 1.1rem 1.4rem 0;
}

.bulk-actions {
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    background: rgba(12, 45, 114, 0.04);
    border: 1px solid rgba(12, 45, 114, 0.08);
}

.bulk-actions__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.bulk-actions__label {
    font-weight: 800;
    color: var(--navy-950);
}

.bulk-actions select {
    min-width: 18rem;
    border: 1px solid rgba(12, 45, 114, 0.14);
    border-radius: 0.95rem;
    padding: 0.8rem 0.9rem;
    background: #fbfdff;
    color: var(--ink-900);
}

.bulk-actions__meta {
    margin: 0;
    color: var(--ink-700);
    font-weight: 700;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1460px;
}

.data-table th,
.data-table td {
    padding: 1rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(12, 45, 114, 0.08);
}

.data-table th {
    background: rgba(18, 60, 143, 0.04);
    color: var(--navy-900);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.data-table tbody tr:hover {
    background: rgba(246, 177, 29, 0.06);
}

.data-table tbody tr.inquiry-row--overdue {
    background: rgba(157, 47, 47, 0.04);
}

.data-table tbody tr.inquiry-row--today {
    background: rgba(246, 177, 29, 0.08);
}

.data-table tbody tr.inquiry-row--upcoming {
    background: rgba(29, 77, 176, 0.03);
}

.data-table tbody tr.is-archived {
    opacity: 0.82;
}

.table-muted {
    color: var(--ink-700);
    font-size: 0.92rem;
}

.select-cell {
    width: 4rem;
    min-width: 4rem;
    text-align: center;
}

.select-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--ink-700);
}

.select-toggle input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--navy-700);
    cursor: pointer;
}

.archive-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(57, 69, 95, 0.12);
    color: var(--ink-700);
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 0.55rem;
}

.program-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(246, 177, 29, 0.14);
    color: var(--navy-900);
    font-size: 0.92rem;
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
}

.status-pill--new {
    background: rgba(29, 77, 176, 0.12);
    color: var(--navy-900);
}

.status-pill--contacted {
    background: rgba(13, 127, 99, 0.14);
    color: #0c6f57;
}

.status-pill--enrolled {
    background: rgba(138, 78, 245, 0.16);
    color: #6f35d8;
}

.follow-up-cell {
    min-width: 20rem;
}

.follow-up-editor {
    display: grid;
    gap: 0.7rem;
}

.follow-up-editor input[type="text"],
.follow-up-editor input[type="date"] {
    width: 100%;
    border: 1px solid rgba(12, 45, 114, 0.14);
    border-radius: 0.95rem;
    padding: 0.75rem 0.85rem;
    background: #fbfdff;
    color: var(--ink-900);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.follow-up-editor input[type="text"]:focus,
.follow-up-editor input[type="date"]:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(29, 77, 176, 0.14);
}

.follow-up-editor__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-end;
}

.follow-up-summary {
    display: grid;
    gap: 0.45rem;
}

.follow-up-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    width: fit-content;
}

.follow-up-pill--none {
    background: rgba(57, 69, 95, 0.12);
    color: var(--ink-700);
}

.follow-up-pill--upcoming {
    background: rgba(29, 77, 176, 0.12);
    color: var(--navy-900);
}

.follow-up-pill--today {
    background: rgba(246, 177, 29, 0.2);
    color: #7b5600;
}

.follow-up-pill--overdue {
    background: rgba(157, 47, 47, 0.12);
    color: var(--danger-text);
}

.follow-up-meta {
    margin: 0;
    color: var(--ink-700);
    font-size: 0.88rem;
    font-weight: 700;
}

.message-cell {
    white-space: pre-line;
    min-width: 18rem;
    color: var(--ink-700);
}

.notes-cell {
    min-width: 24rem;
}

.activity-cell {
    min-width: 20rem;
}

.activity-log {
    border: 1px solid rgba(12, 45, 114, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 0.9rem;
}

.activity-log summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--navy-900);
}

.activity-log[open] summary {
    margin-bottom: 0.75rem;
}

.activity-empty {
    margin: 0;
    color: var(--ink-700);
    font-size: 0.92rem;
}

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

.activity-list li {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(12, 45, 114, 0.08);
}

.activity-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.activity-list__description,
.activity-list__meta {
    margin: 0;
}

.activity-list__description {
    color: var(--ink-900);
    font-weight: 700;
}

.activity-list__meta {
    color: var(--ink-700);
    font-size: 0.88rem;
    margin-top: 0.18rem;
}

.notes-editor {
    display: grid;
    gap: 0.75rem;
}

.notes-editor textarea {
    width: 100%;
    min-height: 8.5rem;
    border: 1px solid rgba(12, 45, 114, 0.14);
    border-radius: 1rem;
    padding: 0.85rem 0.95rem;
    resize: vertical;
    background: #fbfdff;
    color: var(--ink-900);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.notes-editor textarea:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(29, 77, 176, 0.14);
}

.notes-editor__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.notes-meta {
    margin: 0;
    color: var(--ink-700);
    font-size: 0.88rem;
    font-weight: 700;
}

.actions-cell {
    min-width: 12rem;
}

.archive-action {
    margin-top: 0.75rem;
}

.archive-action .btn {
    width: 100%;
}

.status-update {
    display: grid;
    gap: 0.6rem;
}

.status-update select {
    width: 100%;
    border: 1px solid rgba(12, 45, 114, 0.14);
    border-radius: 0.9rem;
    padding: 0.75rem 0.8rem;
    background: #fbfdff;
}

.status-update .btn {
    width: 100%;
}

.empty-state {
    padding: 2rem 1.4rem;
}

.empty-state h3 {
    margin: 0 0 0.4rem;
    color: var(--navy-900);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination__link {
    min-width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 45, 114, 0.1);
    color: var(--navy-900);
    font-weight: 800;
}

.pagination__link.is-active {
    background: linear-gradient(135deg, var(--gold-500), #ffce58);
    color: var(--navy-950);
    border-color: transparent;
}

.cms-page .table-card,
.cms-page .form-card {
    margin-bottom: 1.5rem;
}

.cms-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.cms-sidebar {
    position: sticky;
    top: 7rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(12, 45, 114, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.15rem;
}

.cms-section-nav {
    display: grid;
    gap: 0.45rem;
}

.cms-section-nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 0.9rem;
    color: var(--ink-700);
    font-weight: 800;
    border: 1px solid transparent;
}

.cms-section-nav a:hover,
.cms-section-nav a:focus-visible,
.cms-section-nav a.is-active {
    background: rgba(29, 77, 176, 0.08);
    color: var(--navy-900);
    border-color: rgba(29, 77, 176, 0.12);
}

.cms-editor__header,
.approval-card__head,
.user-card__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.code-textarea {
    min-height: 34rem;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 0.92rem;
    line-height: 1.55;
    white-space: pre;
    overflow: auto;
}

.code-textarea--small {
    min-height: 18rem;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(29, 77, 176, 0.1);
    color: var(--navy-900);
    font-size: 0.82rem;
    font-weight: 800;
}

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

.request-list,
.approval-list,
.user-list {
    display: grid;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
}

.request-item,
.approval-card,
.user-card {
    border: 1px solid rgba(12, 45, 114, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
}

.request-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}

.request-item p,
.approval-card p,
.user-card p {
    margin: 0.25rem 0 0;
    color: var(--ink-700);
}

.request-item--pending {
    border-color: rgba(246, 177, 29, 0.34);
    background: rgba(246, 177, 29, 0.08);
}

.request-item--approved {
    border-color: rgba(13, 127, 99, 0.22);
    background: rgba(13, 127, 99, 0.06);
}

.request-item--rejected {
    border-color: rgba(157, 47, 47, 0.18);
    background: rgba(157, 47, 47, 0.05);
}

.approval-card,
.user-card {
    padding: 1.15rem;
}

.approval-card h3 {
    margin: 0;
    color: var(--navy-900);
}

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

.approval-actions {
    margin-top: 0.5rem;
}

.cms-recent-reviews {
    margin-top: 1.5rem;
}

.media-upload-card,
.user-create-card {
    max-width: none;
}

.check-field {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1rem;
    color: var(--ink-700);
    font-weight: 800;
}

.check-field input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--navy-700);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    padding: 1.2rem 1.4rem;
}

.media-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(12, 45, 114, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.media-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: rgba(12, 45, 114, 0.04);
}

.media-card__body {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
}

.media-card code {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(12, 45, 114, 0.06);
    color: var(--navy-900);
    overflow-wrap: anywhere;
}

.media-card p {
    margin: 0;
    color: var(--ink-700);
    font-size: 0.92rem;
}

.user-list {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.user-card__head strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--navy-950);
    font-size: 1.08rem;
}

.customize-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.customize-grid > .form-card {
    margin-bottom: 0;
}

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

.swatch-grid input[type="color"] {
    min-height: 3rem;
    padding: 0.35rem;
}

.soft-rule {
    border: 0;
    border-top: 1px solid rgba(12, 45, 114, 0.1);
    margin: 1.3rem 0;
}

.section-order-list,
.status-editor-list {
    display: grid;
    gap: 0.85rem;
}

.section-order-item,
.form-field-editor,
.status-editor-item {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(12, 45, 114, 0.08);
    background: rgba(12, 45, 114, 0.03);
}

.form-field-editor {
    margin-bottom: 0.9rem;
}

.danger-card {
    border-color: rgba(157, 47, 47, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 239, 0.72));
}

.contact-card__meta {
    display: grid;
    gap: 1rem;
}

.contact-card__meta a {
    color: var(--navy-900);
    font-weight: 800;
}

.contact-card--accent .contact-card__meta a {
    color: var(--gold-400);
}

.contact-people {
    margin-top: 1rem;
}

.contact-person {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-person h3 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    font-family: var(--font-body), sans-serif;
    letter-spacing: 0;
}

.contact-person p {
    margin: 0;
}

.flash {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.flash--success {
    background: var(--success-bg);
    color: var(--success-text);
}

.flash--error {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.field label {
    font-weight: 800;
    color: var(--navy-950);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(12, 45, 114, 0.14);
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    background: #fbfdff;
    color: var(--ink-900);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(29, 77, 176, 0.14);
}

.field textarea {
    min-height: 10rem;
    resize: vertical;
}

.field__error {
    color: var(--danger-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-note {
    margin-top: 1rem;
    color: var(--ink-700);
    font-size: 0.94rem;
}

.site-footer {
    position: relative;
    margin-top: 4rem;
    padding: 4rem 0 2rem;
    background:
        radial-gradient(circle at top right, rgba(246, 177, 29, 0.16), transparent 18rem),
        linear-gradient(180deg, #0b214f 0%, #071937 100%);
    color: rgba(255, 255, 255, 0.88);
}

.site-footer p,
.site-footer li {
    color: rgba(255, 255, 255, 0.88);
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.03) 30%, transparent 55%),
        radial-gradient(circle at left bottom, rgba(246, 177, 29, 0.12), transparent 18rem);
    pointer-events: none;
}

.site-footer .section-kicker,
.site-footer h2,
.site-footer strong,
.site-footer a {
    color: var(--white);
}

.footer-grid {
    position: relative;
    z-index: 1;
}

.footer-links li,
.footer-contacts li {
    margin-bottom: 0.7rem;
}

.footer-links a,
.footer-contacts a {
    color: rgba(255, 255, 255, 0.88);
}

.footer-contacts span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.94rem;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.animate-in {
    opacity: 0;
    transform: translateY(18px);
    animation: rise-in 700ms ease forwards;
}

.animate-in:nth-child(2) {
    animation-delay: 90ms;
}

.animate-in:nth-child(3) {
    animation-delay: 180ms;
}

.animate-in:nth-child(4) {
    animation-delay: 270ms;
}

@keyframes rise-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero__layout,
    .promo-banner,
    .admin-auth__grid,
    .cms-layout,
    .cms-history-grid,
    .approval-compare,
    .customize-grid,
    .admin-status-grid,
    .cards,
    .stats-grid,
    .values-grid,
    .list-grid,
    .program-grid,
    .gallery-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .admin-login-card {
        position: static;
    }

    .cms-sidebar {
        position: static;
    }

    .admin-page__head,
    .admin-header__inner,
    .cms-editor__header,
    .approval-card__head,
    .user-card__head,
    .request-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-filters__grid {
        grid-template-columns: 1fr;
    }

    .field--wide {
        grid-column: span 1;
    }

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

    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        padding: 1rem;
        border-radius: 1.4rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(12, 45, 114, 0.08);
        box-shadow: var(--shadow-lg);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

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

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .topbar__inner,
    .nav-wrap,
    .admin-header__actions,
    .hero-actions,
    .hero-meta,
    .button-row,
    .footer-bottom,
    .bulk-actions__controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand {
        max-width: calc(100% - 4rem);
    }

    .brand__copy strong {
        font-size: 1.7rem;
    }

    .hero {
        padding-top: 4rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
