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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #faf9f7;
    color: #2d3748;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.7;
}

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

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-container {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}

.top-strip {
    display: none;
    background: #1a2332;
    color: rgba(255,255,255,0.76);
    font-size: 0.82rem;
    pointer-events: auto;
}

.top-strip-inner {
    min-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.top-strip a,
.top-strip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-strip i {
    color: #1a2332;
}

.floating-nav {
    width: fit-content;
    max-width: calc(100% - 48px);
    margin: 24px auto 0;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto;
    transition: all 300ms ease;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

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

.brand span {
    color: #1a2332;
    font-family: 'Playfair Display', serif;
    font-size: 1.28rem;
    font-weight: 900;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: #2d3748;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 180ms ease;
}

.nav-menu a i {
    font-size: 0.68rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a2332;
    background: rgba(26,35,50,0.1);
}

.header-submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 240px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 22px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 14px 34px rgba(26,35,50,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.has-submenu:hover .header-submenu,
.has-submenu:focus-within .header-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.header-submenu a {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    padding: 0 14px;
    white-space: nowrap;
}

.nav-menu .nav-cta {
    background: #1a2332;
    color: #fff;
    padding: 0 20px;
    box-shadow: 0 10px 24px rgba(26,35,50,0.22);
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.nav-menu .nav-cta:hover {
    background: #1a2332;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(26,35,50,0.26);
}

.nav-menu .nav-cta:active {
    transform: scale(0.95);
}

.nav-menu .nav-cta-secondary {
    background: transparent;
    color: #1a2332;
    border: 2px solid #1a2332;
    box-shadow: none;
}

.nav-menu .nav-cta-secondary:hover {
    background: rgba(26, 35, 50, 0.06);
    color: #1a2332;
    transform: scale(1.03);
    box-shadow: none;
}

.mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #1a2332;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
}

h1,
h2,
h3 {
    margin: 0;
    color: #1a2332;
    font-family: 'Playfair Display', serif;
    line-height: 1.03;
}

p {
    margin: 0;
}

.eyebrow {
    color: #1a2332;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 800;
    transition: 180ms ease;
}

.btn-primary {
    background: #1a2332;
    color: #fff;
}

.btn-primary:hover {
    background: #1a2332;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(255,255,255,0.82);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #1a2332;
}

.hero {
    min-height: 820px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1800&q=80') center / cover;
    transform: scale(1.02) scaleX(-1);
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(26,35,50,0.72), rgba(26,35,50,0.28));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,35,50,0.12);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    color: #fff;
}

.hero-content h1 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-content h1 span {
    display: block;
    color: #fff;
    text-shadow: 0 8px 32px rgba(26,35,50,0.45);
    -webkit-text-stroke: 2px rgba(255,255,255,0.22);
}

.hero-copy {
    max-width: 680px;
    margin: 26px 0 40px;
    color: rgba(255,255,255,0.9);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-split,
.programs-showcase,
.values-section,
.events-section,
.contact-section,
.short-programs {
    padding: 112px 0;
}

.white {
    background: #fff;
}

.cream {
    background: #faf9f7;
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.reverse .image-panel {
    order: 2;
}

.image-panel {
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(26,35,50,0.12);
}

.image-panel img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.emblem-panel {
    display: grid;
    place-items: center;
    padding: 52px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.emblem-panel img {
    width: min(100%, 420px);
    height: auto;
    min-height: auto;
    object-fit: contain;
}

.copy-panel h2,
.section-heading h2,
.cta-band h2,
.page-hero h1,
.contact-copy h2 {
    font-size: clamp(2.8rem, 6vw, 5.1rem);
    font-weight: 900;
    margin: 14px 0 24px;
}

.copy-panel p,
.section-heading p,
.contact-copy p,
.page-hero p,
.cta-band p {
    color: #2d3748;
    font-size: 1.08rem;
    font-weight: 300;
}

.check-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    font-weight: 700;
}

.check-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a2332;
}

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

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.program-stack {
    display: grid;
    gap: 30px;
}

.editorial-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(26,35,50,0.1);
    transition: 280ms ease;
}

.editorial-card:hover {
    transform: scale(1.012);
    box-shadow: 0 24px 70px rgba(26,35,50,0.16);
}

.editorial-card.image-first {
    grid-template-columns: 1fr 2fr;
}

.editorial-card.image-first img {
    order: -1;
}

.program-copy {
    padding: clamp(34px, 6vw, 64px);
}

.program-copy span {
    color: #1a2332;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.program-copy h2,
.program-copy h3 {
    margin: 10px 0 20px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 900;
}

.program-copy p {
    color: #2d3748;
    font-size: 1.03rem;
    font-weight: 300;
}

.editorial-card > img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.text-link {
    display: inline-flex;
    margin-top: 28px;
    color: #1a2332;
    font-weight: 900;
    border-bottom: 2px solid #1a2332;
}

.meta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.meta-row strong,
.skill-grid li {
    border-radius: 999px;
    background: #faf9f7;
    padding: 8px 14px;
    color: #1a2332;
    font-size: 0.9rem;
}

.meta-row .intake-badge {
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.meta-row .intake-badge.intake-open {
    background: rgba(34, 197, 94, 0.18);
    color: #166534;
}

.meta-row .intake-badge.intake-closed {
    background: rgba(239, 68, 68, 0.15);
    color: #991b1b;
}

.meta-row .intake-badge.intake-waitlist {
    background: rgba(234, 179, 8, 0.22);
    color: #854d0e;
}

.skill-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.page-hero {
    padding: 210px 0 96px;
    background: #1a2332;
    color: #fff;
}

.page-hero h1 {
    max-width: 820px;
    color: #fff;
}

.page-hero .eyebrow {
    color: rgba(255,255,255,0.78);
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255,255,255,0.78);
    font-size: 1.2rem;
}

.page-section {
    padding-top: 96px;
}

.course-tiles-section {
    padding: 112px 0;
    background: #faf9f7;
}

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

.course-tile {
    min-height: 360px;
    padding: clamp(34px, 5vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(26,35,50,0.1);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.course-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 70px rgba(26,35,50,0.16);
}

.course-tile span {
    color: #1a2332;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.course-tile h2 {
    margin: 14px 0 18px;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.course-tile p {
    max-width: 480px;
    margin-bottom: 28px;
    color: #2d3748;
    font-size: 1.06rem;
}

.course-tile strong {
    width: fit-content;
    padding-bottom: 4px;
    color: #1a2332;
    border-bottom: 2px solid #1a2332;
}

.seo-note-section {
    padding: 0 0 112px;
    background: #faf9f7;
}

.seo-note {
    max-width: 860px;
    padding: 34px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(26,35,50,0.08);
}

.seo-note h2 {
    margin: 10px 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.seo-note p:not(.eyebrow) {
    color: #2d3748;
    font-size: 1.05rem;
}

.program-subnav {
    position: sticky;
    top: 118px;
    z-index: 20;
    padding: 18px 0;
    background: rgba(250,249,247,0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,35,50,0.08);
}

.program-subnav .site-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.program-subnav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: #fff;
    color: #1a2332;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(26,35,50,0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.program-subnav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26,35,50,0.12);
}

.notice {
    margin-top: 24px;
    padding: 18px 20px;
    border-left: 4px solid #1a2332;
    background: #faf9f7;
    color: #1a2332;
    font-weight: 700;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-grid article,
.short-grid article,
.event-card,
.form-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 16px 42px rgba(26,35,50,0.09);
}

.value-grid i {
    color: #1a2332;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.value-grid h3,
.short-grid h3,
.event-card h2 {
    font-size: 1.55rem;
    margin-bottom: 12px;
}

.short-programs {
    background: #fff;
}

.short-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.short-grid span {
    color: #1a2332;
    font-weight: 900;
}

.event-list {
    display: grid;
    gap: 24px;
}

.event-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 28px;
}

.event-date {
    display: grid;
    place-items: center;
    align-self: start;
    min-height: 118px;
    border-radius: 20px;
    background: #1a2332;
    color: #fff;
}

.event-date span,
.event-date small {
    color: #1a2332;
    font-weight: 800;
    text-transform: uppercase;
}

.event-date strong {
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    line-height: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
}

.login-section {
    padding: 112px 0;
    background: #faf9f7;
}

.login-grid {
    display: grid;
    grid-template-columns: 0.9fr minmax(320px, 520px);
    gap: 72px;
    align-items: center;
}

.login-copy h2 {
    margin: 14px 0 18px;
    font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.login-copy p:not(.eyebrow) {
    color: #2d3748;
    font-size: 1.08rem;
}

.login-stack {
    display: grid;
    gap: 24px;
    align-items: stretch;
}

/* Dashboard / wide tables: let the card column grow within the site container */
.login-grid-dash {
    grid-template-columns: minmax(200px, 0.82fr) minmax(0, 1fr);
    align-items: start;
}

a.btn {
    text-decoration: none;
}

.login-card .btn-block {
    width: 100%;
    box-sizing: border-box;
}

.signup-benefits {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.signup-benefits li {
    display: flex;
    gap: 12px;
    color: #2d3748;
    font-weight: 700;
}

.signup-benefits li::before {
    content: '';
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 10px;
    border-radius: 50%;
    background: #1a2332;
}

.login-card {
    padding: clamp(28px, 5vw, 44px);
}

.auth-switch {
    margin-top: 22px;
    color: #2d3748;
    font-size: 0.95rem;
    text-align: center;
}

.auth-switch a {
    color: #1a2332;
    font-weight: 900;
    border-bottom: 2px solid #1a2332;
}

.contact-methods {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-methods a,
.contact-methods span,
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-methods i,
.footer-contact i {
    color: rgba(255,255,255,0.92);
    margin-top: 5px;
}

.footer-contact i {
    color: rgba(255,255,255,0.92);
}

.footer-col-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Same pill style as header "Enroll Now" (.nav-menu .nav-cta) */
.site-footer .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    background: #1a2332;
    color: #fff;
    box-shadow: 0 10px 24px rgba(26, 35, 50, 0.22);
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.site-footer .nav-cta:hover {
    background: #1a2332;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(26, 35, 50, 0.26);
}

.site-footer .nav-cta:active {
    transform: scale(0.95);
}

/* Outlined pill on orange footer — matches header "Log out" treatment */
.site-footer .nav-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: none;
    transition: transform 180ms ease, background-color 180ms ease;
}

.site-footer .nav-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: scale(1.03);
    box-shadow: none;
}

.site-footer .nav-cta-secondary:active {
    transform: scale(0.95);
}

.form-card form {
    display: grid;
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    color: #1a2332;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

label span {
    color: #1a2332;
}

label > span {
    display: inline;
}

label {
    grid-template-columns: auto 1fr;
    align-items: center;
}

label input,
label textarea {
    grid-column: 1 / -1;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(26,35,50,0.14);
    border-radius: 16px;
    padding: 15px 16px;
    color: #2d3748;
    font: inherit;
    text-transform: none;
    letter-spacing: 0;
    background: #faf9f7;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(26,35,50,0.14);
    border-color: #1a2332;
}

.alert {
    margin-bottom: 20px;
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 800;
}

.alert.success {
    background: #eef8f0;
    color: #276749;
}

.alert.error {
    background: #fff0f0;
    color: #a92828;
}

.map-section {
    line-height: 0;
}

.cta-band {
    padding: 112px 0;
    text-align: center;
    background: #d93804;
    color: #fff;
}

.cta-band h2 {
    color: #fff;
}

.cta-band .eyebrow {
    color: rgba(255,255,255,0.78);
}

.cta-band p {
    max-width: 650px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,0.82);
}

.cta-band .btn-primary {
    background: #fff;
    color: #000;
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

.cta-band .btn-primary:hover {
    background: #f3f4f6;
    color: #000;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: #d93804;
    color: rgba(255,255,255,0.82);
    padding-top: 76px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
    gap: 46px;
    align-items: start;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.22);
    position: relative;
    z-index: 1;
}

.footer-brand {
    align-self: start;
    margin-top: 0;
}

.footer-brand img {
    width: min(240px, 100%);
    margin: 0 0 22px;
    display: block;
}

.site-footer h3 {
    color: #fff;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.site-footer li {
    margin-bottom: 10px;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.footer-snapshot {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding-bottom: 42px;
    position: relative;
    z-index: 1;
}

.footer-legal {
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255,255,255,0.68);
    font-size: 0.78rem;
}

.footer-legal > div {
    display: flex;
    align-items: center;
    gap: 26px;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-size: 0.98rem;
}

.footer-social-icons a {
    color: rgba(255,255,255,0.7);
}

.footer-social-icons a:hover {
    color: #fff;
}

.footer-wordmark {
    min-height: 230px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
}

.footer-wordmark h2 {
    color: rgba(255,245,240,0.95);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(4rem, 9.6vw, 9.6rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 0 0 6px;
}

.footer-cube {
    flex: 0 0 clamp(110px, 14vw, 180px);
    margin: 0 0 18px;
    opacity: 0.24;
}

.footer-cube svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer-bottom {
    margin-top: 0;
    padding: 18px 24px 28px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.16);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255,255,255,0.52);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .top-strip {
        display: none;
    }

    .floating-nav {
        top: 16px;
        width: min(100% - 28px, 720px);
    }

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

    .nav-menu {
        position: fixed;
        top: 106px;
        left: 14px;
        right: 14px;
        display: none;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(26,35,50,0.18);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        justify-content: center;
    }

    .header-submenu {
        position: static;
        min-width: 0;
        padding: 6px;
        border: 0;
        border-radius: 18px;
        background: rgba(26,35,50,0.05);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .header-submenu a {
        justify-content: center;
        font-size: 0.86rem;
    }

    .program-subnav {
        top: 96px;
    }

    .hero {
        min-height: 720px;
    }

    .split-grid,
    .contact-grid,
    .login-grid-dash,
    .login-grid,
    .editorial-card,
    .editorial-card.image-first,
    .event-card,
    .course-tiles {
        grid-template-columns: 1fr;
    }

    .editorial-card.image-first img,
    .reverse .image-panel {
        order: 0;
    }

    .value-grid,
    .short-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-wordmark {
        min-height: 180px;
    }
}

@media (max-width: 640px) {
    .site-container {
        width: min(100% - 32px, 1180px);
    }

    .floating-nav {
        margin-top: 12px;
        padding: 8px 10px;
    }

    .brand img {
        width: 58px;
        height: 58px;
    }

    .brand span {
        font-size: 1.05rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content {
        padding-top: 80px;
    }

    .feature-split,
    .programs-showcase,
    .values-section,
    .events-section,
    .contact-section,
    .short-programs,
    .cta-band {
        padding: 78px 0;
    }

    .copy-panel h2,
    .section-heading h2,
    .cta-band h2,
    .page-hero h1,
    .contact-copy h2 {
        font-size: 2.65rem;
    }

    .image-panel,
    .image-panel img {
        min-height: 310px;
    }

    .value-grid,
    .short-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-snapshot {
        width: min(100% - 32px, 1180px);
    }

    .footer-legal {
        min-height: 96px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
    }

    .footer-legal > div {
        gap: 18px;
        flex-wrap: wrap;
    }

    .footer-wordmark {
        min-height: 140px;
    }

    .footer-cube {
        display: none;
    }

    .page-hero {
        padding-top: 160px;
    }

    .program-subnav {
        top: 86px;
    }
}

/* Dashboard & admin */
.admin-alert {
    margin-bottom: 22px;
}

.admin-subnav-shell {
    position: sticky;
    top: 118px;
    z-index: 18;
    margin: 0 0 28px;
    padding: 16px 12px 18px;
    background: rgba(250, 249, 247, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(26, 35, 50, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(26, 35, 50, 0.06);
}

.admin-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1180px;
    margin: 0 auto;
}

.admin-subnav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: #fff;
    color: #1a2332;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(26, 35, 50, 0.08);
    border: 2px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.admin-subnav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 35, 50, 0.12);
    color: #1a2332;
}

.admin-subnav-link.is-active {
    background: #1a2332;
    color: #fff;
    box-shadow: 0 10px 28px rgba(26, 35, 50, 0.28);
    border-color: #1a2332;
}

.admin-subnav-link.is-active:hover {
    background: #243047;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .admin-subnav-shell {
        top: 100px;
    }
}

@media (max-width: 640px) {
    .admin-subnav-shell {
        top: 88px;
    }
}

.admin-card-table {
    max-width: 100%;
    padding: clamp(22px, 3vw, 36px);
}

.admin-table-scroll {
    overflow-x: auto;
    margin: -4px;
    padding: 4px;
}

.admin-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    background: rgba(26, 35, 50, 0.04);
}

.admin-table td {
    vertical-align: middle;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-inline-form {
    display: inline-flex;
    margin: 0;
}

.impersonation-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 12px clamp(18px, 4vw, 40px);
    background: linear-gradient(90deg, #fde68a 0%, #fcd34d 100%);
    color: #422006;
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(120, 53, 15, 0.2);
}

.impersonation-banner strong {
    font-weight: 800;
}

.impersonation-banner-exit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    background: #1a2332;
    color: #fff;
    border: 2px solid #1a2332;
    transition: transform 160ms ease, background-color 160ms ease;
}

.impersonation-banner-exit:hover {
    background: #243047;
    color: #fff;
    transform: translateY(-1px);
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-badge-admin {
    background: rgba(217, 56, 4, 0.12);
    color: #9a3412;
    border: 1px solid rgba(217, 56, 4, 0.35);
}

.admin-badge-student {
    background: rgba(26, 35, 50, 0.06);
    color: #1a2332;
    border: 1px solid rgba(26, 35, 50, 0.12);
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
}

.admin-pill-yes {
    background: rgba(34, 197, 94, 0.15);
    color: #166534;
}

.admin-pill-no {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
}

.admin-you-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    font-style: normal;
    background: rgba(26, 35, 50, 0.08);
    color: #1a2332;
    border: 1px solid rgba(26, 35, 50, 0.14);
}

.btn.btn-admin {
    min-height: 44px;
    padding: 0 20px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.btn.btn-admin-outline {
    background: #fff;
    color: #1a2332;
    border: 2px solid #1a2332;
    box-shadow: none;
}

.btn.btn-admin-outline:hover {
    background: rgba(26, 35, 50, 0.06);
    color: #1a2332;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(26, 35, 50, 0.1);
}

.btn.btn-admin-primary {
    background: #1a2332;
    color: #fff;
    border: 2px solid #1a2332;
}

.btn.btn-admin-primary:hover {
    background: #243047;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(26, 35, 50, 0.22);
}

.page-hero .admin-hero-back {
    display: inline-flex;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.45);
    transition: color 160ms ease, border-color 160ms ease;
}

.page-hero .admin-hero-back:hover {
    color: #fff;
    border-bottom-color: #fff;
}

a.btn.btn-admin-inline {
    text-decoration: none;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.dash-table th,
.dash-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(26, 35, 50, 0.1);
}

.dash-table th {
    font-weight: 700;
    color: #1a2332;
    background: rgba(26, 35, 50, 0.04);
}

.dash-msg {
    border: 1px solid rgba(26, 35, 50, 0.12);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    background: #fff;
}

.dash-msg-unread {
    border-color: #1a2332;
    box-shadow: 0 4px 14px rgba(26, 35, 50, 0.08);
}

.dash-msg header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.dash-msg-meta {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.dash-msg-body {
    color: #334155;
    line-height: 1.6;
}

/* Staff dashboard (admin, not viewing as student) */
.dashboard-staff-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.dashboard-staff-card {
    margin-bottom: 28px;
}

.dashboard-staff-card h2 {
    font-family: 'Playfair Display', serif;
    color: #1a2332;
}

.dashboard-staff-lead {
    color: #475569;
    line-height: 1.65;
    margin-bottom: 22px;
    font-size: 1.02rem;
}

.dashboard-staff-actions .dashboard-staff-label {
    display: block;
    margin-bottom: 20px;
    font-weight: 800;
    color: #1a2332;
}

.dashboard-staff-actions select {
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
}

.dashboard-staff-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

@media (max-width: 640px) {
    .dashboard-staff-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-staff-buttons .btn {
        width: 100%;
    }
}
