
@supports not (--x: tan(atan2(1px, 1px))) {
    :root { --s: 1; }
}

:root {
    /* ============================================================
     * Home-page design tokens (node 193:2 of McM-Website-Design)
     * Used only by the home page. Existing colors below
     * remain untouched so other pages keep working.
     * ============================================================ */
    --mc-purple-700:    #540B72;
    --mc-purple-500:    #6A4C76;
    --mc-lavender-400:  #A07CB4;
    --mc-paper:         #FFFFFF;
    --mc-paper-warm:    #E8E8E8;
    --mc-ink:           #000000;
    --mc-overlay-lilac: rgba(169, 116, 198, 0.6);
    --mc-overlay-ink:   rgba(8, 1, 11, 0.6);

    --mc-font-display:  'Instrument Serif', 'Playfair Display', Georgia, serif;
    --mc-font-nav:      'Instrument Sans', 'Work Sans', system-ui, sans-serif;
    --mc-font-body:     'DM Sans', system-ui, sans-serif;

    --mc-fs-hero:        107.907px;
    --mc-fs-h2:          60px;
    --mc-fs-caption-xl:  40px;
    --mc-fs-body:        16px;
    --mc-fs-body-bold:   22px;
    --mc-fs-cap-sm:      14px;
    --mc-lh-body:        26px;
    --mc-lh-tight:       1.389;

    /* Site-wide fluid scale factor: 1 design pixel = (100vw / 1728) actual px.
     * Used by .mc-navbar, .mc-footer, and the home page sections. Defined at
     * :root so every page that renders the shared navbar/footer gets fluid
     * scaling without needing the .intro wrapper. */
    --s: tan(atan2(100vw, 1728px));

    /* ============================================================
     * Existing legacy palette (kept untouched)
     * ============================================================ */
    /* Primary Colors - Vibrant McMurtry Palette */
    --purple-900: #4a3a6b;
    --purple-700: #6b5197;
    --purple-500: #8b6fc7;
    --purple-300: #b8a3d9;
    --purple-100: #e8e0f5;
    
    /* Accent Colors */
    --accent-orange: #ff6b35;
    --accent-cyan: #00d9ff;
    --accent-green: #00e6a0;
    
    /* Neutrals */
    --dark: #1a1625;
    --gray-900: #2d2838;
    --gray-700: #4a4458;
    --gray-500: #8a8495;
    --gray-300: #c5c0cf;
    --gray-100: #f5f4f7;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6b5197 0%, #8b6fc7 50%, #b8a3d9 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-cyan: linear-gradient(135deg, #00d9ff 0%, #00a8cc 100%);
    --gradient-hero: linear-gradient(135deg, #1a1625 0%, #2d2838 50%, #4a3a6b 100%);
    
    /* Professional Spacing System - 8pt grid */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;       /* 16px */
    --space-md: 1.5rem;     /* 24px */
    --space-lg: 2rem;       /* 32px */
    --space-xl: 3rem;       /* 48px */
    --space-2xl: 4rem;      /* 64px */
    --space-3xl: 6rem;      /* 96px */
    
    /* Border Radius System */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Professional Shadow System */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.24);
    --shadow-purple: 0 8px 32px rgba(139, 111, 199, 0.3);
    --shadow-orange: 0 8px 32px rgba(255, 107, 53, 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    
    /* Typography Scale */
    --font-xs: 0.75rem;     /* 12px */
    --font-sm: 0.875rem;    /* 14px */
    --font-base: 1rem;      /* 16px */
    --font-lg: 1.125rem;    /* 18px */
    --font-xl: 1.25rem;     /* 20px */
    --font-2xl: 1.5rem;     /* 24px */
    --font-3xl: 1.875rem;   /* 30px */
    --font-4xl: 2.25rem;    /* 36px */
    --font-5xl: 3rem;       /* 48px */
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --leading-loose: 2;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html, body {
    height: 100%;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    color-scheme: light only;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: var(--dark);
    font-size: var(--font-base);
    line-height: var(--leading-relaxed);
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeLegibility;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#__next {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page > *:last-child {
    margin-top: auto;
}

/* Professional Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

h1 { font-size: var(--font-5xl); }
h2 { font-size: var(--font-4xl); }
h3 { font-size: var(--font-3xl); }
h4 { font-size: var(--font-2xl); }
h5 { font-size: var(--font-xl); }
h6 { font-size: var(--font-lg); }

p {
    margin-bottom: var(--space-md);
    line-height: var(--leading-relaxed);
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Ensure content is above background */
.page {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-with-staggered-menu {
    padding-top: 0;
}

/* Home page overrides the body's gradient background + animated overlay
   so the white sections render cleanly. Pages that want the dark gradient
   still get it by default. */
.page-light {
    background: #ffffff;
    color: #2c2440;
    position: relative;
    z-index: 1;
}

.page-light p {
    color: inherit;
}

/* Suppress the body::before radial pattern beneath light pages. */
body:has(.page-light)::before {
    display: none;
}

/* Loading state */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    gap: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(84, 11, 114, 0.15);
    border-top-color: var(--mc-purple-700);
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: var(--mc-font-body);
    font-size: 1rem;
    color: var(--mc-purple-500);
    margin: 0;
}

/* Selection */
::selection {
    background: var(--purple-500);
    color: var(--white);
}

/* ============================================================
 * Shared hero ribbon (.ev-hero) — used across events, people,
 * resources, and any page that uses the swoosh header.
 * ============================================================ */

.ev-hero {
    position: relative;
    width: 100%;
    padding: calc(120px * var(--s)) calc(64px * var(--s)) calc(72px * var(--s));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(24px * var(--s));
    isolation: isolate;
}

.ev-hero-swoosh {
    position: absolute;
    top: calc(-40px * var(--s));
    left: calc(-200px * var(--s));
    width: calc(840px * var(--s));
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.ev-hero-ellipse-large {
    position: absolute;
    top: calc(-80px * var(--s));
    right: calc(-120px * var(--s));
    width: calc(360px * var(--s));
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.ev-hero-ellipse-small {
    position: absolute;
    bottom: calc(-40px * var(--s));
    left: calc(35% - 90px * var(--s));
    width: calc(180px * var(--s));
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.ev-hero-heading {
    position: relative;
    z-index: 2;
    margin: 0;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(96px * var(--s));
    line-height: 1.05;
    color: var(--mc-purple-700);
    text-align: center;
}

.ev-hero-lede {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: calc(720px * var(--s));
    font-family: var(--mc-font-body);
    font-weight: 500;
    font-size: calc(22px * var(--s));
    line-height: 1.5;
    color: var(--mc-purple-500);
    text-align: center;
}

/* Shared calendar card wrapper */
.ev-calendar-wrap {
    max-width: calc(1280px * var(--s));
    margin: calc(-32px * var(--s)) auto 0;
    padding: calc(40px * var(--s));
    background: var(--mc-paper);
    border-radius: calc(28px * var(--s));
    box-shadow:
        0 calc(24px * var(--s)) calc(60px * var(--s)) calc(-20px * var(--s)) rgba(74, 52, 112, 0.32),
        0 calc(4px * var(--s)) calc(16px * var(--s)) rgba(20, 12, 38, 0.10);
    border: calc(2px * var(--s)) solid rgba(74, 52, 112, 0.12);
    position: relative;
    z-index: 3;
}

/* Shared CTA row */
.ev-cta-row {
    display: flex;
    justify-content: center;
    padding: calc(56px * var(--s)) calc(24px * var(--s)) calc(96px * var(--s));
    background: linear-gradient(180deg, var(--mc-paper) 0%, #f4eef9 100%);
}

.ev-cta {
    display: inline-flex;
    align-items: center;
    gap: calc(12px * var(--s));
    padding: calc(16px * var(--s)) calc(34px * var(--s));
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-radius: 999px;
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: calc(18px * var(--s));
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 calc(8px * var(--s)) calc(22px * var(--s)) rgba(74, 52, 112, 0.35);
    transition:
        transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 220ms ease,
        background 220ms ease;
}

.ev-cta:hover,
.ev-cta:focus-visible {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    transform: translateY(-2px);
    box-shadow: 0 calc(14px * var(--s)) calc(28px * var(--s)) rgba(74, 52, 112, 0.45);
}

.ev-cta-arrow {
    font-size: 1.3em;
    line-height: 1;
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ev-cta:hover .ev-cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .ev-hero {
        padding: 56px 24px 40px;
        gap: 16px;
        text-align: center;
    }
    .ev-hero-swoosh {
        top: -60px;
        left: -100px;
        bottom: auto;
        width: 260px;
        opacity: 0.25;
    }
    .ev-hero-ellipse-large {
        top: -70px;
        right: -60px;
        bottom: auto;
        width: 160px;
        opacity: 0.2;
    }
    .ev-hero-ellipse-small {
        display: none;
    }
    .ev-hero-heading {
        font-size: clamp(2.5rem, 8vw, 4rem);
        color: var(--mc-purple-700);
    }
    .ev-hero-lede {
        font-size: clamp(1.05rem, 3.5vw, 1.4rem);
        font-weight: 700;
        line-height: 1.4;
        color: var(--mc-purple-500);
        max-width: 540px;
    }
    .ev-calendar-wrap {
        max-width: 100%;
        margin: 0 16px;
        padding: 16px;
        border-radius: 18px;
    }
    .ev-cta-row {
        padding: 36px 16px 56px;
    }
    .ev-cta {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .ev-hero {
        padding: 40px 16px 28px;
    }
    .ev-calendar-wrap {
        margin: 0 8px;
        padding: 8px;
        border-radius: 14px;
    }
    .ev-cta {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================================
 * Committees page (matches McMinistry / Events).
 * ============================================================ */

.committee-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    min-height: 100vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.committee-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.committee-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.committee-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

/* ----- Division pill row ----- */
.cm-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 clamp(16px, 4vw, 48px);
    max-width: 1200px;
    margin: 0 auto;
}

.cm-tabs-division {
    margin-bottom: 18px;
}

.cm-tab {
    appearance: none;
    border: 1.5px solid rgba(74, 52, 112, 0.20);
    background: var(--mc-paper);
    color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 180ms ease,
                color 180ms ease,
                border-color 180ms ease,
                transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 180ms ease;
}

.cm-tab:hover,
.cm-tab:focus-visible {
    border-color: var(--mc-purple-500);
    color: var(--mc-purple-500);
    transform: translateY(-1px);
}

.cm-tab-active {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-color: var(--mc-purple-700);
    box-shadow: 0 10px 24px -8px rgba(74, 52, 112, 0.45);
}

.cm-tab-active:hover,
.cm-tab-active:focus-visible {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    border-color: var(--mc-purple-500);
}

/* ----- Committee chip row (smaller, ghost) ----- */
.cm-tabs-committee {
    gap: 8px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.cm-chip {
    appearance: none;
    border: 1px solid rgba(74, 52, 112, 0.18);
    background: transparent;
    color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 150ms ease,
                color 150ms ease,
                border-color 150ms ease;
}

.cm-chip:hover,
.cm-chip:focus-visible {
    background: rgba(139, 111, 199, 0.10);
    color: var(--mc-purple-500);
}

.cm-chip-active {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    border-color: var(--mc-purple-500);
}

.cm-chip-active:hover,
.cm-chip-active:focus-visible {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-color: var(--mc-purple-700);
}

/* ----- Detail section ----- */
.cm-detail {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
}

.committee-page .division-title {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
    line-height: 1.15 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

.cm-image-wrap {
    width: min(560px, 100%);
    margin: 0 auto clamp(20px, 3vw, 32px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(74, 52, 112, 0.18);
    box-shadow: 0 24px 48px -20px rgba(74, 52, 112, 0.30);
}

.cm-image {
    width: 100%;
    height: auto;
    display: block;
}

.cm-description {
    font-family: var(--mc-font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mc-ink);
    margin: 0 0 clamp(28px, 4vw, 48px);
    text-align: justify;
    hyphens: auto;
}

.cm-description p {
    font-family: var(--mc-font-body) !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 0 14px !important;
    line-height: 1.75 !important;
    font-size: 1rem !important;
}

.cm-description br {
    line-height: 0.5;
}

.cm-subtitle {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem) !important;
    line-height: 1.2 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-align: center;
    margin: clamp(20px, 3vw, 36px) 0 16px !important;
    padding: 0 !important;
}

.fade-in {
    animation: cm-fade 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cm-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 3 cards per row */
.committee-page .cc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

@media (max-width: 900px) {
    .committee-page .cc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .committee-page .cc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px 32px;
        justify-items: center;
    }
    .committee-page .cc-grid > .cc-card {
        max-width: none;
        width: 100%;
    }
    .committee-page .cc-grid > .cc-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 6px);
    }
}

@media (max-width: 640px) {
    .cm-tab {
        padding: 8px 16px;
        font-size: 0.88rem;
    }
    .cm-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ============================================================
 * McCourt page (matches McMinistry / Events).
 * ============================================================ */

.court-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    min-height: 100vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.court-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.court-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.court-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

/* ----- Sections ----- */
.wellbeing-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto clamp(48px, 6vw, 80px);
    padding: 0 clamp(16px, 4vw, 48px);
    box-sizing: border-box;
}

/* ----- Pill tabs ----- */
.court-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 clamp(16px, 4vw, 48px);
    margin: 0 auto clamp(36px, 4.5vw, 56px);
    max-width: 1200px;
}

.court-tab {
    appearance: none;
    border: 1.5px solid rgba(74, 52, 112, 0.20);
    background: var(--mc-paper);
    color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 180ms ease,
                color 180ms ease,
                border-color 180ms ease,
                transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 180ms ease;
    min-width: 160px;
}

.court-tab:hover,
.court-tab:focus-visible {
    border-color: var(--mc-purple-500);
    color: var(--mc-purple-500);
    transform: translateY(-1px);
}

.court-tab.active {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-color: var(--mc-purple-700);
    box-shadow: 0 10px 24px -8px rgba(74, 52, 112, 0.45);
}

.court-tab.active:hover,
.court-tab.active:focus-visible {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    border-color: var(--mc-purple-500);
}

/* ----- Division title ----- */
.court-page .division-title {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
    line-height: 1.15 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

.fade-in {
    animation: court-fade 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes court-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .court-tab {
        min-width: auto;
        flex: 1;
        padding: 8px 16px;
        font-size: 0.88rem;
    }
    .court-tabs {
        gap: 8px;
    }
    .court-page .cc-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px 32px;
        justify-items: center;
    }
    .court-page .cc-grid > .cc-card {
        max-width: none;
        flex: none;
        width: 100%;
    }
    .court-page .cc-grid > .cc-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 6px);
    }
}

/* ============================================================
 * McMinistry page (matches Events Calendar / McTeam).
 * ============================================================ */

.mcministry-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    min-height: 100vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.mcministry-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.mcministry-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.mcministry-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

/* ----- Pill tabs ----- */
.mcministry-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 clamp(16px, 4vw, 48px);
    margin: 0 auto clamp(36px, 4.5vw, 56px);
    max-width: 1200px;
}

.ministry-tab {
    appearance: none;
    border: 1.5px solid rgba(74, 52, 112, 0.20);
    background: var(--mc-paper);
    color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 180ms ease,
                color 180ms ease,
                border-color 180ms ease,
                transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 180ms ease;
    min-width: 160px;
}

.ministry-tab:hover,
.ministry-tab:focus-visible {
    border-color: var(--mc-purple-500);
    color: var(--mc-purple-500);
    transform: translateY(-1px);
}

.ministry-tab.active {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-color: var(--mc-purple-700);
    box-shadow: 0 10px 24px -8px rgba(74, 52, 112, 0.45);
}

.ministry-tab.active:hover,
.ministry-tab.active:focus-visible {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    border-color: var(--mc-purple-500);
}

.division-title {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
    line-height: 1.15 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

.fade-in {
    animation: mcm-fade 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes mcm-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .ministry-tab {
        min-width: auto;
        flex: 1;
        padding: 8px 16px;
        font-size: 0.88rem;
    }
    .mcministry-tabs {
        gap: 8px;
    }
    .mcministry-page .cc-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px 32px;
        justify-items: center;
    }
    .mcministry-page .cc-grid > .cc-card {
        max-width: none;
        width: 100%;
    }
    .mcministry-page .cc-grid > .cc-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 6px);
    }
}

.mc-about-page {
    background: var(--mc-paper);
    overflow-x: hidden;
    font-family: var(--mc-font-body);
    color: var(--mc-ink);
}

/* ---------------- ABOUT MCMURTRY ---------------- */

.mc-about {
    position: relative;
    width: 100%;
    height: calc(1480px * var(--s));
    overflow: hidden;
}

.mc-about-swoosh {
    position: absolute;
    top: calc(113px * var(--s));
    left: calc(-201px * var(--s));
    width: calc(958px * var(--s));
    height: calc(529px * var(--s));
    pointer-events: none;
}

.mc-about-ellipse-large {
    position: absolute;
    top: calc(153px * var(--s));
    left: calc(1520px * var(--s));
    width: calc(364px * var(--s));
    height: calc(360px * var(--s));
    pointer-events: none;
}

.mc-about-ellipse-small {
    position: absolute;
    top: calc(1061px * var(--s));
    left: calc(1183px * var(--s));
    width: calc(186px * var(--s));
    height: calc(184px * var(--s));
    pointer-events: none;
}

.mc-about-heading {
    position: absolute;
    top: calc(242px * var(--s));
    left: calc(184px * var(--s));
    width: calc(374px * var(--s));
    margin: 0;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(var(--mc-fs-h2) * var(--s));
    line-height: normal;
    color: var(--mc-paper);
    z-index: 2;
}

.mc-about-collage {
    position: absolute;
    top: calc(326px * var(--s));
    left: calc(191px * var(--s));
    width: calc(611px * var(--s));
    height: calc(1100px * var(--s));
    z-index: 4;
}

.mc-about-card {
    position: absolute;
    margin: 0;
    border: calc(0.792px * var(--s)) solid var(--mc-purple-700);
    border-radius: calc(18.789px * var(--s));
    overflow: hidden;
    background: var(--mc-paper);
    transition:
        transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 320ms ease;
    isolation: isolate;
    -webkit-mask-image: radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    clip-path: inset(0 round calc(18px * var(--s)));
    contain: paint;
}

.mc-about-card:hover {
    box-shadow:
        0 14px 36px rgba(74, 52, 112, 0.28),
        0 0 0 4px rgba(160, 124, 180, 0.35),
        0 0 36px 6px rgba(160, 124, 180, 0.45);
}

.mc-about-card .mc-about-card-img {
    transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-about-card:hover .mc-about-card-img {
    transform: scale(1.06);
}

.mc-about-card-1 {
    top: 0;
    left: 0;
    width: calc(500px * var(--s));
    height: calc(320px * var(--s));
    transform: rotate(-3deg);
    transform-origin: center;
    box-shadow: 0 calc(8px * var(--s)) calc(18px * var(--s)) rgba(0, 0, 0, 0.22);
    z-index: 4;
}

.mc-about-card-2 {
    top: calc(360px * var(--s));
    left: calc(110px * var(--s));
    width: calc(500px * var(--s));
    height: calc(320px * var(--s));
    transform: rotate(4deg);
    transform-origin: center;
    box-shadow: 0 calc(8px * var(--s)) calc(18px * var(--s)) rgba(0, 0, 0, 0.22);
    z-index: 5;
}

.mc-about-card-3 {
    top: calc(720px * var(--s));
    left: 0;
    width: calc(500px * var(--s));
    height: calc(320px * var(--s));
    transform: rotate(-2deg);
    transform-origin: center;
    box-shadow: 0 calc(8px * var(--s)) calc(18px * var(--s)) rgba(0, 0, 0, 0.22);
    z-index: 6;
}

.mc-about-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mc-about-card-caption,
.mc-burt-card-caption {
    position: absolute;
    bottom: calc(16px * var(--s));
    left: calc(20px * var(--s));
    right: calc(20px * var(--s));
    margin: 0;
    padding: calc(8px * var(--s)) calc(14px * var(--s));
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: calc(var(--mc-fs-cap-sm) * var(--s));
    line-height: var(--mc-lh-tight);
    color: var(--mc-paper);
    background: rgba(20, 12, 38, 0.55);
    border-radius: calc(8px * var(--s));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mc-about-body {
    position: absolute;
    top: calc(205px * var(--s));
    left: calc(851px * var(--s));
    width: calc(756px * var(--s));
    z-index: 2;
}

.mc-about-lede {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: calc(var(--mc-fs-body-bold) * var(--s));
    line-height: var(--mc-lh-tight);
    color: var(--mc-purple-500);
    margin: 0 0 calc(28px * var(--s)) 0;
}

.mc-about-para,
.mc-burt-para {
    font-family: var(--mc-font-body);
    font-weight: 400;
    font-size: calc(var(--mc-fs-body) * var(--s));
    line-height: calc(var(--mc-lh-body) * var(--s));
    color: var(--mc-ink);
    margin: 0 0 calc(20px * var(--s)) 0;
}

.mc-about-list {
    list-style: disc;
    padding-left: calc(30px * var(--s));
    margin: 0 0 calc(20px * var(--s)) 0;
    font-family: var(--mc-font-body);
    font-size: calc(var(--mc-fs-body) * var(--s));
    line-height: calc(var(--mc-lh-body) * var(--s));
    color: var(--mc-ink);
}

.mc-about-list li {
    margin: 0;
}

.mc-divider {
    border: 0;
    border-left: calc(12px * var(--s)) solid var(--mc-purple-500);
    height: calc(72px * var(--s));
    width: 0;
    margin: calc(33px * var(--s)) auto;
    display: block;
}

/* ---------------- BURT & DEEDEE ---------------- */

.mc-burt {
    position: relative;
    width: 100%;
    height: calc(1140px * var(--s));
    overflow: hidden;
    margin-top: 0;
}

.mc-burt-swoosh {
    position: absolute;
    top: 0;
    left: calc(957px * var(--s));
    width: calc(835px * var(--s));
    height: calc(619px * var(--s));
    pointer-events: none;
}

.mc-burt-ellipse-large {
    position: absolute;
    top: calc(130px * var(--s));
    left: calc(-132px * var(--s));
    width: calc(364px * var(--s));
    height: calc(360px * var(--s));
    pointer-events: none;
}

.mc-burt-ellipse-small {
    position: absolute;
    top: calc(1295px * var(--s));
    left: calc(184px * var(--s));
    width: calc(186px * var(--s));
    height: calc(184px * var(--s));
    pointer-events: none;
}

.mc-burt-heading {
    position: absolute;
    top: calc(147px * var(--s));
    left: calc(1111px * var(--s));
    width: calc(503px * var(--s));
    margin: 0;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(var(--mc-fs-h2) * var(--s));
    line-height: normal;
    color: var(--mc-paper);
    z-index: 2;
}

.mc-burt-body {
    position: absolute;
    top: calc(101px * var(--s));
    left: calc(128px * var(--s));
    width: calc(736px * var(--s));
    z-index: 2;
}

.mc-burt-collage {
    position: absolute;
    top: calc(277px * var(--s));
    left: calc(991px * var(--s));
    width: calc(694px * var(--s));
    height: calc(929px * var(--s));
    z-index: 4;
}

.mc-burt-card {
    position: absolute;
    margin: 0;
    border-radius: calc(18.789px * var(--s));
    overflow: hidden;
    border: calc(0.792px * var(--s)) solid var(--mc-purple-700);
    transition:
        transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 320ms ease;
    isolation: isolate;
    -webkit-mask-image: radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    clip-path: inset(0 round calc(18px * var(--s)));
    contain: paint;
}

.mc-burt-card:hover {
    box-shadow:
        0 14px 36px rgba(74, 52, 112, 0.28),
        0 0 0 4px rgba(160, 124, 180, 0.35),
        0 0 36px 6px rgba(160, 124, 180, 0.45);
}

.mc-burt-card .mc-burt-card-img {
    transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-burt-card:hover .mc-burt-card-img {
    transform: scale(1.06);
}

.mc-burt-card-1 {
    top: 0;
    left: 0;
    width: calc(694px * var(--s));
    height: calc(489px * var(--s));
    z-index: 6;
}

.mc-burt-card-2 {
    top: calc(443px * var(--s));
    left: calc(47px * var(--s));
    width: calc(557px * var(--s));
    height: calc(392px * var(--s));
    border-width: calc(0.636px * var(--s));
    border-radius: calc(15.084px * var(--s));
    transform: rotate(10.38deg);
    transform-origin: center;
    box-shadow: 0 calc(4px * var(--s)) calc(10px * var(--s)) rgba(0, 0, 0, 0.25);
    z-index: 5;
}

.mc-burt-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
 * TABLET (641px – 1024px)
 * ========================================================================== */

@media (max-width: 1024px) {
    .mc-about {
        height: auto;
        padding: 48px 24px 32px;
        display: flex;
        flex-direction: column;
    }
    .mc-about-swoosh,
    .mc-about-ellipse-large,
    .mc-about-ellipse-small {
        display: none;
    }
    .mc-about-heading {
        position: static;
        width: auto;
        font-size: clamp(2.25rem, 6vw, 3.2rem);
        color: var(--mc-purple-500);
        text-shadow: none;
        margin: 0 0 24px;
        order: 1;
    }
    .mc-about-body {
        order: 2;
        position: static;
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        left: auto;
        padding: 0;
    }
    .mc-about-collage {
        order: 3;
        position: static;
        width: min(80%, 600px);
        height: auto;
        margin: 0 auto 32px;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    .mc-about-card-2,
    .mc-about-card-3 {
        display: none;
    }
    .mc-about-card,
    .mc-about-card-1 {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        transform: none;
        margin: 0;
    }
    .mc-about-card-img {
        width: 100%;
        height: 100%;
    }
    .mc-about-card-caption {
        font-size: 0.9rem;
    }
    .mc-about-lede {
        font-size: clamp(1.15rem, 3.5vw, 1.5rem);
        margin: 0 0 18px;
    }
    .mc-about-para,
    .mc-burt-para {
        font-size: 1rem;
        line-height: 1.65;
        margin: 0 0 16px;
    }
    .mc-about-list {
        font-size: 1rem;
        line-height: 1.65;
        padding-left: 24px;
    }
    .mc-divider {
        height: 40px;
        border-left-width: 6px;
        margin: 22px auto;
    }

    .mc-burt {
        height: auto;
        padding: 32px 24px 56px;
        display: flex;
        flex-direction: column;
    }
    .mc-burt-swoosh,
    .mc-burt-ellipse-large,
    .mc-burt-ellipse-small {
        display: none;
    }
    .mc-burt-heading {
        position: static;
        width: auto;
        font-size: clamp(2.25rem, 6vw, 3.2rem);
        color: var(--mc-purple-500);
        text-shadow: none;
        margin: 0 0 24px;
        white-space: normal;
        order: 1;
    }
    .mc-burt-body {
        order: 2;
        position: static;
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        left: auto;
        padding: 0;
    }
    .mc-burt-collage {
        order: 3;
        position: static;
        width: min(80%, 600px);
        height: auto;
        margin: 0 auto 32px;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    .mc-burt-card-2 {
        display: none;
    }
    .mc-burt-card,
    .mc-burt-card-1 {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        transform: none;
        margin: 0;
        border-width: 1px;
    }
    .mc-burt-card-img {
        width: 100%;
        height: 100%;
    }
}

/* ==========================================================================
 * PHONE (≤ 640px)
 * ========================================================================== */

@media (max-width: 640px) {
    .mc-about {
        padding: 36px 16px 24px;
    }
    .mc-about-heading {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
        margin: 0 0 18px;
    }
    .mc-about-collage {
        max-width: 100%;
        margin: 0 auto 24px;
        gap: 14px;
    }
    .mc-about-lede {
        font-size: 1.1rem;
        margin: 0 0 14px;
    }
    .mc-about-para,
    .mc-burt-para,
    .mc-about-list {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .mc-about-list {
        padding-left: 20px;
    }
    .mc-divider {
        height: 32px;
        border-left-width: 5px;
        margin: 16px auto;
    }

    .mc-burt {
        padding: 24px 16px 40px;
    }
    .mc-burt-heading {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
        margin: 0 0 18px;
    }
    .mc-burt-collage {
        max-width: 100%;
        margin: 0 auto 24px;
        gap: 14px;
    }
}

/*
 * Events Calendar page — visual language matches the home page.
 * Uses the global :root mc-* design tokens defined in components/general/page.css.
 * Fluid scale follows the :root --s factor.
 */

.ev-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    width: 100%;
    overflow-x: hidden;
}

/* ----- Calendar card & CTA: base styles in global.css ----- */

/*
 * intropage.css â€” home page
 *
 * Strategy:
 *   The design is laid out on a 1728px-wide canvas with absolute positions.
 *   We keep the absolute layout and scale it to the viewport with a single
 *   custom property `--s`. Everything else uses `calc(N * var(--s))` so the
 *   page stays 1:1 at 1728px+ and shrinks proportionally below.
 *
 *   Reference: static/reference-design.png
 */

.intro-mc {
    /* --s is defined globally on :root in page.css so navbar/footer scale
     * fluidly on every page. We just consume it here. */
    position: relative;
    width: 100vw;
    margin: 0;
    background: var(--mc-paper);
    overflow-x: hidden;
    font-family: var(--mc-font-body);
    color: var(--mc-ink);
}

/* ---------------- HERO ---------------- */

.mc-hero {
    position: relative;
    width: 100%;
    height: calc(1198px * var(--s));
    overflow: hidden;
    isolation: isolate;
}

.mc-hero-bg {
    position: absolute;
    inset: calc(-795px * var(--s)) 0 0 0;
    width: 100%;
    height: calc(1649px * var(--s));
    overflow: hidden;
}

.mc-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(163.6deg,
        var(--mc-overlay-lilac) 31.9%,
        var(--mc-overlay-ink) 77.7%);
}

.mc-hero-title {
    position: absolute;
    top: calc(283px * var(--s));
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(24px * var(--s));
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(var(--mc-fs-hero) * var(--s));
    line-height: 1;
    color: var(--mc-paper);
    text-shadow: 0 0 calc(20px * var(--s)) rgba(0, 0, 0, 0.35);
    pointer-events: none;
    white-space: nowrap;
    width: max-content;
}

.mc-hero-title-word {
    display: inline-block;
}

/* Inline crest sized to title cap-height so it tucks between the words
 * without overlapping the pill row below. The 274x355 absolute
 * crest is decorative; we render it inline-sized here. */
.mc-hero-crest {
    width: calc(180px * var(--s));
    height: calc(232px * var(--s));
    object-fit: contain;
    flex: 0 0 auto;
}

.mc-hero-pills {
    position: absolute;
    top: calc(495px * var(--s));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: calc(18px * var(--s));
    filter: drop-shadow(0 calc(4px * var(--s)) calc(10px * var(--s)) rgba(0, 0, 0, 0.25));
}

.mc-hero-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(59px * var(--s));
    padding: calc(6px * var(--s)) calc(40px * var(--s));
    min-width: calc(209px * var(--s));
    background: var(--mc-lavender-400);
    color: var(--mc-paper);
    border-radius: calc(43px * var(--s));
    font-family: var(--mc-font-body);
    font-weight: 400;
    font-size: calc(20px * var(--s));
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, background 180ms ease;
}

.mc-hero-pill:hover,
.mc-hero-pill:focus-visible {
    background: var(--mc-purple-500);   /* deeper purple, NOT the global orange */
    color: var(--mc-paper);             /* override global a:hover orange */
    transform: translateY(calc(-2px * var(--s)));
}

/* Yurt-trees illustration band, sits on the lower
 * portion of the hero, bleeding into the white section below */
.mc-yurt-band {
    position: absolute;
    top: calc(768px * var(--s));
    left: calc(292px * var(--s));
    width: calc(1143px * var(--s));
    height: calc(336px * var(--s));
    object-fit: contain;
    pointer-events: none;
    z-index: 3;
}

/* ---------------- TRIPLE PHOTO STRIP ---------------- */

.mc-strip {
    position: relative;
    width: 100%;
    padding: calc(56px * var(--s)) 0 calc(40px * var(--s));
    overflow: hidden;
}

/* Horizontal infinite carousel â€” auto-scrolls, supports click-drag,
 * hover pauses. Snap is disabled because auto-scroll fights snap. */
.mc-strip-row {
    display: flex;
    gap: calc(67px * var(--s));
    overflow-x: auto;
    overflow-y: hidden;
    padding: calc(20px * var(--s)) calc(160px * var(--s));
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scroll-behavior: auto;
}

.mc-strip-row.mc-strip-dragging {
    cursor: grabbing;
    scroll-behavior: auto;       /* no smooth-fight while user drags */
}

.mc-strip-row * {
    /* Prevent text selection / image drag-ghost while user is scrubbing */
    user-select: none;
    -webkit-user-drag: none;
}

.mc-strip-row::-webkit-scrollbar {
    display: none;
}

.mc-strip-card {
    margin: 0;
    flex: 0 0 calc(663px * var(--s));
    display: flex;
    flex-direction: column;
}

.mc-strip-image-wrap {
    width: calc(663px * var(--s));
    height: calc(455px * var(--s));
    border: calc(7px * var(--s)) solid var(--mc-purple-500);
    border-radius: calc(18.789px * var(--s));
    overflow: hidden;
    background: var(--mc-purple-500);
    transition:
        transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 320ms ease;
    box-shadow: 0 6px 18px rgba(20, 12, 38, 0.12);
    /* Composite-stage clipping fixes (Chrome breaks rounded clip when a child
     * has its own transform during animation). Belt-and-suspenders:
     *   1. isolate creates a stacking context that the clip respects
     *   2. mask-image uses the GPU paint stage to enforce the rounded shape
     *   3. clip-path duplicates the rounded shape as a hard clip
     *   4. transform: translateZ(0) promotes to its own layer */
    isolation: isolate;
    -webkit-mask-image: radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    clip-path: inset(0 round calc(12px * var(--s)));
    transform: translateZ(0);
    contain: paint;
}

.mc-strip-card:hover .mc-strip-image-wrap {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 14px 36px rgba(74, 52, 112, 0.28),
        0 0 0 4px rgba(160, 124, 180, 0.35),
        0 0 36px 6px rgba(160, 124, 180, 0.45);
}

.mc-strip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-strip-card:hover .mc-strip-image {
    transform: scale(1.06);
}

.mc-strip-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(8px * var(--s));
    margin-top: calc(22px * var(--s));
    padding-left: calc(40px * var(--s));
}

.mc-strip-caption-main {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(var(--mc-fs-caption-xl) * var(--s));
    line-height: var(--mc-lh-tight);
    color: var(--mc-purple-500);
    /* Edge design: subtle underline accent + soft text-shadow for depth */
    background-image: linear-gradient(
        to right,
        var(--mc-purple-500) 0%,
        var(--mc-purple-500) 100%
    );
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: calc(48px * var(--s)) calc(3px * var(--s));
    padding-bottom: calc(10px * var(--s));
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mc-strip-caption-sub {
    font-family: var(--mc-font-body);
    font-weight: 400;
    font-size: calc(20px * var(--s));
    line-height: var(--mc-lh-tight);
    color: var(--mc-purple-500);
}

/* Left + right fade-out gradient overlays */
.mc-strip-fade {
    position: absolute;
    top: 0;
    width: calc(484px * var(--s));
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.mc-strip-fade-left {
    left: calc(-18px * var(--s));
    background: linear-gradient(to right,
        rgba(255, 255, 255, 1) 6.349%,
        rgba(255, 255, 255, 0) 77.91%);
}

.mc-strip-fade-right {
    right: calc(-19px * var(--s));
    background: linear-gradient(to left,
        rgba(255, 255, 255, 1) 6.349%,
        rgba(255, 255, 255, 0) 77.91%);
}

/* ---------------- ABOUT MCMURTRY ---------------- */
/*  Section spans rows 2011 â†’ 3458 on the 5079-tall canvas.
 *  Section starts after triple-strip = top 1898 in our compressed flow.
 *  We keep absolute positions but rebase to section-local top (subtract 1898).
 */

.mc-about {
    position: relative;
    width: 100%;
    height: calc(1480px * var(--s));   /* fits 3-card cascade + body + dividers, no excess space */
    overflow: hidden;
}

.mc-about-swoosh {
    position: absolute;
    top: calc(113px * var(--s));        /* top 2011 - section start 1898 */
    left: calc(-201px * var(--s));
    width: calc(958px * var(--s));
    height: calc(529px * var(--s));
    pointer-events: none;
}

.mc-about-ellipse-large {
    position: absolute;
    top: calc(153px * var(--s));        /* 2051 - 1898 */
    left: calc(1520px * var(--s));
    width: calc(364px * var(--s));
    height: calc(360px * var(--s));
    pointer-events: none;
}

.mc-about-ellipse-small {
    position: absolute;
    top: calc(1061px * var(--s));       /* 2959 - 1898 */
    left: calc(1183px * var(--s));
    width: calc(186px * var(--s));
    height: calc(184px * var(--s));
    pointer-events: none;
}

.mc-about-heading {
    position: absolute;
    top: calc(242px * var(--s));        /* 2140 - 1898 */
    left: calc(184px * var(--s));
    width: calc(374px * var(--s));
    margin: 0;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(var(--mc-fs-h2) * var(--s));
    line-height: normal;
    color: var(--mc-paper);
    z-index: 2;
}

.mc-about-collage {
    position: absolute;
    top: calc(326px * var(--s));        /* 2224 - 1898 */
    left: calc(191px * var(--s));
    width: calc(611px * var(--s));
    height: calc(1100px * var(--s));   /* fits 3 cards cascading with breathing room */
    z-index: 4;
}

.mc-about-card {
    position: absolute;
    margin: 0;
    border: calc(0.792px * var(--s)) solid var(--mc-purple-700);
    border-radius: calc(18.789px * var(--s));
    overflow: hidden;
    background: var(--mc-paper);
    transition:
        transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 320ms ease;
    /* Composite-clip stack so the inner img.transform: scale doesn't bleed
     * past the rounded corners during animation. */
    isolation: isolate;
    -webkit-mask-image: radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    clip-path: inset(0 round calc(18px * var(--s)));
    contain: paint;
}

.mc-about-card:hover {
    box-shadow:
        0 14px 36px rgba(74, 52, 112, 0.28),
        0 0 0 4px rgba(160, 124, 180, 0.35),
        0 0 36px 6px rgba(160, 124, 180, 0.45);
    /* z-index intentionally NOT changed â€” design keeps card layering stable */
}

.mc-about-card .mc-about-card-img {
    transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-about-card:hover .mc-about-card-img {
    transform: scale(1.06);
}

.mc-about-card-1 {
    /* Top polaroid, slight CCW tilt */
    top: 0;
    left: 0;
    width: calc(500px * var(--s));
    height: calc(320px * var(--s));
    transform: rotate(-3deg);
    transform-origin: center;
    box-shadow: 0 calc(8px * var(--s)) calc(18px * var(--s)) rgba(0, 0, 0, 0.22);
    z-index: 4;
}

.mc-about-card-2 {
    /* Middle polaroid, CW tilt, larger vertical offset */
    top: calc(360px * var(--s));
    left: calc(110px * var(--s));
    width: calc(500px * var(--s));
    height: calc(320px * var(--s));
    transform: rotate(4deg);
    transform-origin: center;
    box-shadow: 0 calc(8px * var(--s)) calc(18px * var(--s)) rgba(0, 0, 0, 0.22);
    z-index: 5;
}

.mc-about-card-3 {
    /* Bottom polaroid, slight CCW tilt, offset down-left */
    top: calc(720px * var(--s));
    left: 0;
    width: calc(500px * var(--s));
    height: calc(320px * var(--s));
    transform: rotate(-2deg);
    transform-origin: center;
    box-shadow: 0 calc(8px * var(--s)) calc(18px * var(--s)) rgba(0, 0, 0, 0.22);
    z-index: 6;
}

.mc-about-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mc-about-card-caption,
.mc-burt-card-caption {
    position: absolute;
    bottom: calc(16px * var(--s));
    left: calc(20px * var(--s));
    right: calc(20px * var(--s));
    margin: 0;
    padding: calc(8px * var(--s)) calc(14px * var(--s));
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: calc(var(--mc-fs-cap-sm) * var(--s));
    line-height: var(--mc-lh-tight);
    color: var(--mc-paper);
    background: rgba(20, 12, 38, 0.55);
    border-radius: calc(8px * var(--s));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mc-about-body {
    position: absolute;
    top: calc(205px * var(--s));        /* 2103 - 1898 */
    left: calc(851px * var(--s));       /* 824 + 27px inner padding */
    width: calc(756px * var(--s));
    z-index: 2;
}

.mc-about-lede {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: calc(var(--mc-fs-body-bold) * var(--s));
    line-height: var(--mc-lh-tight);
    color: var(--mc-purple-500);
    margin: 0 0 calc(28px * var(--s)) 0;
}

.mc-about-para,
.mc-burt-para {
    font-family: var(--mc-font-body);
    font-weight: 400;
    font-size: calc(var(--mc-fs-body) * var(--s));
    line-height: calc(var(--mc-lh-body) * var(--s));
    color: var(--mc-ink);
    margin: 0 0 calc(20px * var(--s)) 0;
}

.mc-about-list {
    list-style: disc;
    padding-left: calc(30px * var(--s));
    margin: 0 0 calc(20px * var(--s)) 0;
    font-family: var(--mc-font-body);
    font-size: calc(var(--mc-fs-body) * var(--s));
    line-height: calc(var(--mc-lh-body) * var(--s));
    color: var(--mc-ink);
}

.mc-about-list li {
    margin: 0;
}

.mc-divider {
    border: 0;
    border-left: calc(12px * var(--s)) solid var(--mc-purple-500);
    height: calc(72px * var(--s));
    width: 0;
    margin: calc(33px * var(--s)) auto;
    display: block;
}

/* ---------------- BURT & DEEDEE ---------------- */
/* Section spans rows 3376 â†’ 4582 on the 5079 canvas.
 * Local rebase: subtract 1898 from all top values.
 */

.mc-burt {
    position: relative;
    width: 100%;
    height: calc(1140px * var(--s));   /* card-2 visual bottom ~1029 + 110px breathing room */
    overflow: hidden;
    margin-top: 0;
}

.mc-burt-swoosh {
    position: absolute;
    top: 0;
    left: calc(957px * var(--s));
    width: calc(835px * var(--s));
    height: calc(619px * var(--s));
    pointer-events: none;
}

.mc-burt-ellipse-large {
    position: absolute;
    top: calc(130px * var(--s));        /* 3506 - 3376 */
    left: calc(-132px * var(--s));
    width: calc(364px * var(--s));
    height: calc(360px * var(--s));
    pointer-events: none;
}

.mc-burt-ellipse-small {
    position: absolute;
    top: calc(1295px * var(--s));       /* 4671 - 3376 â€” extends into the footer; clipped */
    left: calc(184px * var(--s));
    width: calc(186px * var(--s));
    height: calc(184px * var(--s));
    pointer-events: none;
}

.mc-burt-heading {
    position: absolute;
    top: calc(147px * var(--s));        /* 3523 - 3376 */
    left: calc(1111px * var(--s));
    width: calc(503px * var(--s));
    margin: 0;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(var(--mc-fs-h2) * var(--s));
    line-height: normal;
    color: var(--mc-paper);
    z-index: 2;
}

.mc-burt-body {
    position: absolute;
    top: calc(101px * var(--s));        /* 3477 - 3376 */
    left: calc(128px * var(--s));       /* 80 + 48 inner padding */
    width: calc(736px * var(--s));
    z-index: 2;
}

.mc-burt-collage {
    position: absolute;
    top: calc(277px * var(--s));        /* 3653 - 3376 */
    left: calc(991px * var(--s));
    width: calc(694px * var(--s));
    height: calc(929px * var(--s));     /* 4582 - 3653 */
    z-index: 4;
}

.mc-burt-card {
    position: absolute;
    margin: 0;
    border-radius: calc(18.789px * var(--s));
    overflow: hidden;
    border: calc(0.792px * var(--s)) solid var(--mc-purple-700);
    transition:
        transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 320ms ease;
    isolation: isolate;
    -webkit-mask-image: radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    clip-path: inset(0 round calc(18px * var(--s)));
    contain: paint;
}

.mc-burt-card:hover {
    box-shadow:
        0 14px 36px rgba(74, 52, 112, 0.28),
        0 0 0 4px rgba(160, 124, 180, 0.35),
        0 0 36px 6px rgba(160, 124, 180, 0.45);
}

.mc-burt-card .mc-burt-card-img {
    transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-burt-card:hover .mc-burt-card-img {
    transform: scale(1.06);
}

.mc-burt-card-1 {
    top: 0;
    left: 0;
    width: calc(694px * var(--s));
    height: calc(489px * var(--s));
    z-index: 6;
}

.mc-burt-card-2 {
    /* 557.137 x 392.565, rotated 10.38Â° */
    top: calc(443px * var(--s));        /* 4096 - 3653 */
    left: calc(47px * var(--s));        /* 1038 - 991 */
    width: calc(557px * var(--s));
    height: calc(392px * var(--s));
    border-width: calc(0.636px * var(--s));
    border-radius: calc(15.084px * var(--s));
    transform: rotate(10.38deg);
    transform-origin: center;
    box-shadow: 0 calc(4px * var(--s)) calc(10px * var(--s)) rgba(0, 0, 0, 0.25);
    z-index: 5;
}

.mc-burt-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------------- FOOTER (193:6) ---------------- */
/* 1767x378 purple block, wordmark + contact + faded yurt silhouette */

.mc-footer {
    position: relative;
    width: 100%;
    height: calc(378px * var(--s));
    background: var(--mc-purple-700);
    overflow: hidden;
    isolation: isolate;
}

.mc-footer-silhouette {
    position: absolute;
    top: calc(82px * var(--s));         /* 4783 - 4701 */
    left: calc(311px * var(--s));       /* 293 - (-18) = 311 */
    width: calc(1143px * var(--s));
    height: calc(336px * var(--s));
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.mc-footer-wordmark {
    position: absolute;
    top: calc(93px * var(--s));         /* 4794 - 4701 */
    left: calc(94px * var(--s));        /* 76 - (-18) = 94 */
    width: calc(465px * var(--s));
    color: var(--mc-paper-warm);
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(122.382px * var(--s));
    line-height: 0.6822;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 2;
}

.mc-footer-wordmark span {
    display: block;
}

.mc-footer-contact {
    position: absolute;
    top: calc(94px * var(--s));         /* 4795 - 4701 */
    left: calc(1291px * var(--s));      /* 1273 - (-18) */
    width: calc(393px * var(--s));
    font-family: var(--mc-font-body);
    font-style: normal;
    font-weight: 400;
    font-size: calc(20px * var(--s));
    line-height: 2.81;
    color: var(--mc-paper);
    z-index: 2;
}

.mc-footer-contact p {
    margin: 0;
    color: var(--mc-paper);
}

.mc-footer-contact a {
    color: var(--mc-paper);
    text-decoration: none;
}

.mc-footer-contact a:hover {
    text-decoration: underline;
}

.mc-footer-row {
    display: flex;
    align-items: center;
    gap: calc(20px * var(--s));
}

.mc-footer-icon {
    display: inline-flex;
    width: calc(24px * var(--s));
    height: calc(24px * var(--s));
    align-items: center;
    justify-content: center;
    font-size: calc(20px * var(--s));
}

/* ---------------- FIND US AT RICE ---------------- */

.mc-find-us {
    position: relative;
    width: 100%;
    padding: calc(24px * var(--s)) calc(64px * var(--s)) calc(80px * var(--s));
    background: linear-gradient(180deg, var(--mc-paper) 0%, #f4eef9 100%);
    overflow: hidden;
}

.mc-find-us-inner {
    max-width: calc(1180px * var(--s));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(28px * var(--s));
}

.mc-find-us-heading {
    margin: 0;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(64px * var(--s));
    line-height: 1.05;
    color: var(--mc-purple-700);
    text-align: center;
}

.mc-find-us-address {
    margin: 0;
    font-family: var(--mc-font-body);
    font-weight: 500;
    font-size: calc(20px * var(--s));
    line-height: 1.4;
    color: var(--mc-purple-500);
    text-align: center;
}

.mc-find-us-map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    max-height: calc(540px * var(--s));
    border-radius: calc(20px * var(--s));
    overflow: hidden;
    box-shadow:
        0 18px 48px -10px rgba(74, 52, 112, 0.35),
        0 4px 12px rgba(20, 12, 38, 0.12);
    border: calc(2px * var(--s)) solid rgba(74, 52, 112, 0.18);
}

.mc-find-us-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Invisible overlay sitting on top of the iframe. By absorbing the user's
 * scroll/hover events, it prevents Google Maps from showing its dark
 * "Use Ctrl+Scroll to zoom" shadow overlay. A click removes the cover so
 * users can pan/zoom intentionally. */
.mc-find-us-map-cover {
    position: absolute;
    inset: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}

.mc-find-us-cta {
    display: inline-flex;
    align-items: center;
    gap: calc(10px * var(--s));
    padding: calc(14px * var(--s)) calc(32px * var(--s));
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-radius: 999px;
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: calc(18px * var(--s));
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(74, 52, 112, 0.35);
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 220ms ease,
                background 220ms ease;
}

.mc-find-us-cta:hover,
.mc-find-us-cta:focus-visible {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(74, 52, 112, 0.45);
}

.mc-find-us-cta-arrow {
    font-size: 1.3em;
    line-height: 1;
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-find-us-cta:hover .mc-find-us-cta-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
 * LAYER 2 â€” TABLET BAND (641px â€“ 1024px)
 *
 * Above 1024px the page uses the absolute layout scaled by --s.
 * Below 1024px that becomes too compressed to read, so we switch to a
 * stacked single-column flow. Photos stop cascading and stack vertically;
 * body text reverts to absolute rem sizes so it stays readable.
 * ========================================================================== */

@media (max-width: 1024px) {
    .intro-mc {
        --s: 1;
        overflow-x: hidden;
    }

    /* ---- HERO ---- */
    .mc-hero {
        height: auto;
        min-height: 70vh;
        padding: 48px 16px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        overflow: hidden;
    }
    .mc-hero-bg {
        position: absolute;
        inset: 0;
        height: 100%;
        z-index: -1;
    }
    .mc-hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .mc-hero-title {
        position: static;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        width: auto;
        max-width: 100%;
        white-space: normal;
        font-size: clamp(2.5rem, 9vw, 5rem);
        text-align: center;
        order: 1;
    }
    .mc-hero-crest {
        width: clamp(72px, 12vw, 130px);
        height: auto;
    }
    .mc-hero-pills {
        position: static;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        max-width: 100%;
        order: 2;
    }
    .mc-hero-pill {
        height: 46px;
        min-width: 0;
        padding: 6px 22px;
        font-size: 0.95rem;
        border-radius: 23px;
    }
    .mc-yurt-band {
        display: none;
    }

    /* ---- TRIPLE PHOTO CAROUSEL ---- */
    .mc-strip {
        height: auto;
        padding: 32px 0 24px;
    }
    .mc-strip-row {
        padding: 16px 24px;
        gap: 20px;
        scroll-padding-left: 24px;
    }
    .mc-strip-card {
        /* Scale with viewport inside tablet band â€” never larger than 60vw */
        flex: 0 0 60vw;
    }
    .mc-strip-image-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-width: 5px;
        border-radius: 12px;
    }
    .mc-strip-caption {
        padding-left: 8px;
        align-items: flex-start;
        margin-top: 12px;
    }
    .mc-strip-caption-main {
        font-size: 1.5rem;
    }
    .mc-strip-caption-sub {
        font-size: 0.95rem;
    }
    .mc-strip-fade {
        display: none;
    }

    /* ---- ABOUT MCMURTRY ---- */
    .mc-about {
        height: auto;
        padding: 48px 24px 32px;
    }
    .mc-about-swoosh,
    .mc-about-ellipse-large,
    .mc-about-ellipse-small {
        display: none;
    }
    .mc-about {
        display: flex;
        flex-direction: column;
    }
    .mc-about-heading {
        position: static;
        width: auto;
        font-size: clamp(2.25rem, 6vw, 3.2rem);
        color: var(--mc-purple-500);
        text-shadow: none;
        margin: 0 0 24px;
        order: 1;   /* heading first */
    }
    .mc-about-body {
        order: 2;   /* body text second */
    }
    .mc-about-collage {
        order: 3;   /* photo collage last */
    }
    .mc-about-collage {
        position: static;
        width: min(80%, 600px);
        height: auto;
        margin: 0 auto 32px;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    /* Only the first polaroid renders below desktop; cards 2 & 3 hide */
    .mc-about-card-2,
    .mc-about-card-3 {
        display: none;
    }
    .mc-about-card,
    .mc-about-card-1 {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        transform: none;
        margin: 0;
    }
    .mc-about-card-img {
        width: 100%;
        height: 100%;
    }
    .mc-about-card-caption {
        font-size: 0.9rem;
    }
    .mc-about-body {
        position: static;
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        left: auto;
        padding: 0;
    }
    .mc-about-lede {
        font-size: clamp(1.15rem, 3.5vw, 1.5rem);
        margin: 0 0 18px;
    }
    .mc-about-para,
    .mc-burt-para {
        font-size: 1rem;
        line-height: 1.65;
        margin: 0 0 16px;
    }
    .mc-about-list {
        font-size: 1rem;
        line-height: 1.65;
        padding-left: 24px;
    }
    .mc-divider {
        height: 40px;
        border-left-width: 6px;
        margin: 22px auto;
    }

    /* ---- BURT & DEEDEE ---- */
    .mc-burt {
        height: auto;
        padding: 32px 24px 56px;
    }
    .mc-burt-swoosh,
    .mc-burt-ellipse-large,
    .mc-burt-ellipse-small {
        display: none;
    }
    .mc-burt {
        display: flex;
        flex-direction: column;
    }
    .mc-burt-heading {
        position: static;
        width: auto;
        font-size: clamp(2.25rem, 6vw, 3.2rem);
        color: var(--mc-purple-500);
        text-shadow: none;
        margin: 0 0 24px;
        white-space: normal;
        order: 1;
    }
    .mc-burt-body {
        order: 2;
    }
    .mc-burt-collage {
        order: 3;
    }
    .mc-burt-collage {
        position: static;
        width: min(80%, 600px);
        height: auto;
        margin: 0 auto 32px;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    /* Only the first Burt portrait renders below desktop; card 2 hides */
    .mc-burt-card-2 {
        display: none;
    }
    .mc-burt-card,
    .mc-burt-card-1 {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        transform: none;
        margin: 0;
        border-width: 1px;
    }
    .mc-burt-card-img {
        width: 100%;
        height: 100%;
    }
    .mc-burt-body {
        position: static;
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        left: auto;
        padding: 0;
    }

    /* ---- FIND US AT RICE ---- */
    .mc-find-us {
        padding: 20px 24px 56px;
    }
    .mc-find-us-inner {
        max-width: 720px;
        gap: 18px;
    }
    .mc-find-us-heading {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .mc-find-us-address {
        font-size: 1rem;
    }
    .mc-find-us-map-wrap {
        aspect-ratio: 1 / 1;
        max-height: 480px;
        border-radius: 16px;
        border-width: 2px;
    }
    .mc-find-us-cta {
        padding: 14px 28px;
        font-size: 1rem;
        gap: 8px;
    }

    /* ---- FOOTER ---- */
    .mc-footer {
        height: auto;
        padding: 36px 24px;
    }
    .mc-footer-silhouette {
        opacity: 0.08;
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: auto;
    }
    .mc-footer-wordmark {
        position: static;
        width: auto;
        font-size: clamp(2.5rem, 10vw, 4.5rem);
        line-height: 0.85;
        margin-bottom: 24px;
    }
    .mc-footer-contact {
        position: static;
        width: 100%;
        line-height: 1.7;
        font-size: 0.95rem;
    }
    .mc-footer-icon {
        width: 22px;
        height: 22px;
        font-size: 18px;
    }
}

/* ==========================================================================
 * LAYER 3 â€” PHONE BAND (â‰¤ 640px)
 *
 * Inline nav collapses to a hamburger drawer (state already in JSX). Hero
 * pills go to a 2-up grid. Carousel cards fill 85vw so users can swipe
 * one card at a time. Tighter padding throughout.
 * ========================================================================== */

@media (max-width: 640px) {
    /* ---- HERO ---- */
    .mc-hero {
        min-height: 64vh;
        padding: 32px 12px;
        gap: 22px;
    }
    .mc-hero-title {
        font-size: clamp(2rem, 11vw, 3.5rem);
        gap: 10px;
        white-space: normal;
    }
    .mc-hero-crest {
        width: clamp(56px, 14vw, 88px);
    }
    .mc-hero-pills {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 10px;
        width: 100%;
        max-width: 360px;
    }
    .mc-hero-pill {
        height: 42px;
        padding: 4px 12px;
        font-size: 0.85rem;
        border-radius: 21px;
        width: 100%;
    }
    /* If an orphan pill ends up alone on its own row (5th of 5), center it
     * across both columns instead of leaving it left-aligned. */
    .mc-hero-pill:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
    }

    /* ---- YURT BAND ---- */
    .mc-yurt-band {
        display: none;
    }

    /* ---- CAROUSEL: cards fill 85vw, one-at-a-time swipe ---- */
    .mc-strip {
        padding: 24px 0 16px;
    }
    .mc-strip-row {
        padding: 12px 16px;
        gap: 14px;
        scroll-padding-left: 16px;
    }
    .mc-strip-card {
        flex: 0 0 85vw;
    }
    .mc-strip-image-wrap {
        border-width: 4px;
        border-radius: 10px;
    }
    .mc-strip-caption-main {
        font-size: 1.25rem;
    }
    .mc-strip-caption-sub {
        font-size: 0.85rem;
    }

    /* ---- SECTIONS: tighter padding ---- */
    .mc-about {
        padding: 36px 16px 24px;
    }
    .mc-about-heading {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
        margin: 0 0 18px;
    }
    .mc-about-collage {
        max-width: 100%;
        margin: 0 auto 24px;
        gap: 14px;
    }
    .mc-about-lede {
        font-size: 1.1rem;
        margin: 0 0 14px;
    }
    .mc-about-para,
    .mc-burt-para,
    .mc-about-list {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .mc-about-list {
        padding-left: 20px;
    }
    .mc-divider {
        height: 32px;
        border-left-width: 5px;
        margin: 16px auto;
    }

    .mc-burt {
        padding: 24px 16px 40px;
    }
    .mc-burt-heading {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
        margin: 0 0 18px;
    }
    .mc-burt-collage {
        max-width: 100%;
        margin: 0 auto 24px;
        gap: 14px;
    }

    /* ---- FOOTER ---- */
    .mc-footer {
        padding: 28px 18px;
    }
    .mc-footer-wordmark {
        font-size: clamp(2.25rem, 13vw, 3.4rem);
        margin-bottom: 18px;
    }
    .mc-footer-contact {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}


.ow-archive-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: 80px;
}

.ow-archive-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

.ow-archive-page .ow-archive-viewer {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.ow-archive-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: 80px;
}

.ow-archive-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

.ow-archive-page .ow-archive-viewer {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-lg);
    position: relative;
}

.professional-carousel {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: transparent;
    position: relative;
    border: 2px solid rgba(139, 111, 199, 0.2);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.carousel-slide.active:hover .carousel-image {
    transform: scale(1.03);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: var(--space-md) var(--space-xl) var(--space-lg);
    color: var(--white);
    animation: slideUp 0.6s ease-out;
    pointer-events: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-caption h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    line-height: var(--leading-tight);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.carousel-caption p {
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: var(--leading-relaxed);
    color: var(--gray-300);
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Professional Navigation Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.carousel-button-prev {
    left: 20px;
}

.carousel-button-next {
    right: 20px;
}

.carousel-button:hover {
    background: var(--gradient-primary);
    border-color: var(--purple-300);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-purple);
}

.carousel-button:active {
    transform: translateY(-50%) scale(0.95);
}

/* Professional Pagination */
.carousel-pagination {
    position: relative;
    margin-top: var(--space-lg);
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: transparent;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: var(--gray-400);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.carousel-dot:hover {
    background: var(--purple-400);
    border-color: var(--purple-400);
    transform: scale(1.3);
}

.carousel-dot.active {
    width: 36px;
    border-radius: 6px;
    background: var(--gradient-primary);
    border-color: var(--purple-500);
    box-shadow: 0 0 15px rgba(139, 111, 199, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-slides {
        height: 400px;
    }

    .carousel-caption {
        padding: var(--space-sm) var(--space-md) var(--space-md);
    }

    .carousel-caption h3 {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 4px;
    }

    .carousel-caption p {
        font-size: clamp(0.75rem, 3vw, 0.9rem);
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .carousel-button-prev {
        left: 10px;
    }

    .carousel-button-next {
        right: 10px;
    }

    .carousel-pagination {
        margin-top: var(--space-md);
        padding: var(--space-sm) var(--space-md);
        gap: 8px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .carousel-dot.active {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .carousel-slides {
        height: 300px;
    }

    .carousel-caption h3 {
        font-size: var(--font-xl);
    }

    .carousel-button {
        display: none;
    }

    .carousel-container {
        padding: 0 var(--space-sm);
    }
}


/* ============================================================
 * O-Week 2025-2026 — single combined page, scoped under .ow-page
 * ============================================================ */

.ow-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: 80px;
}

/* ----- Hero ----- */
.ow-page .ow-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

/* ----- Countdown ----- */
.ow-page .ow-countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

.ow-page .ow-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(74, 52, 112, 0.08);
    border: 1px solid rgba(74, 52, 112, 0.18);
    border-radius: 14px;
    padding: 16px 20px 12px;
    min-width: 72px;
}

.ow-page .ow-countdown-num {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--mc-purple-700);
    line-height: 1;
    font-weight: 400;
}

.ow-page .ow-countdown-label {
    font-family: var(--mc-font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mc-purple-700);
    opacity: 0.6;
    margin-top: 4px;
}

/* ----- Carousel ----- */
.ow-page .ow-carousel-wrap {
    max-width: 1200px;
    margin: 0 auto 64px;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* ----- Info cards (home section) ----- */
.ow-page .ow-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 0 clamp(16px, 4vw, 48px);
}

.ow-page .ow-info-card {
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-top: 4px solid var(--mc-purple-500);
    border-radius: 18px;
    padding: 28px 28px 24px;
    box-shadow: 0 8px 32px -12px rgba(74, 52, 112, 0.15);
}

.ow-page .ow-info-card-title {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--mc-ink);
    margin: 0 0 12px;
}

.ow-page .ow-info-card-body {
    font-size: 0.95rem;
    color: var(--mc-ink);
    line-height: 1.75;
    margin: 0;
}

/* ----- Sticky section nav ----- */
.ow-page .ow-section-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 52, 112, 0.12);
    padding: 0 clamp(16px, 4vw, 48px);
    margin: 48px 0 0;
    display: flex;
    align-items: stretch;
}

.ow-page .ow-section-nav-inner {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
}

.ow-page .ow-section-nav-inner::-webkit-scrollbar { display: none; }

.ow-page .ow-section-nav-arrow {
    display: none;
    background: none;
    border: none;
    color: rgba(74, 52, 112, 0.6);
    font-size: 1.6rem;
    line-height: 1;
    padding: 0 6px;
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .ow-page .ow-section-nav-arrow {
        display: block;
    }
}

.ow-page .ow-section-nav-btn {
    font-family: var(--mc-font-body);
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(74, 52, 112, 0.55);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 160ms ease, border-color 160ms ease;
    flex-shrink: 0;
}

.ow-page .ow-section-nav-btn:hover {
    color: var(--mc-purple-700);
}

.ow-page .ow-section-nav-btn-active {
    color: var(--mc-purple-700) !important;
    border-bottom-color: var(--mc-purple-700) !important;
}

/* ----- Shared section layout ----- */
.ow-page .ow-section {
    scroll-margin-top: 56px;
}

.ow-page .ow-content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px clamp(16px, 4vw, 48px) 0;
}

.ow-page .ow-section-title {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--mc-purple-700);
    text-align: center;
    margin: 0 0 48px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(74, 52, 112, 0.15);
}

.ow-page .ow-subsection-title {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--mc-ink);
    margin: 0 0 16px;
}

/* ----- Prose / floating images ----- */
.ow-page .ow-prose-wrap {
    margin-bottom: 48px;
    overflow: hidden;
}

.ow-page .ow-prose {
    font-size: 0.97rem;
    color: var(--mc-ink);
    line-height: 1.8;
    margin: 0 0 16px;
}

.ow-page .ow-float-img {
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 12px 40px -12px rgba(74, 52, 112, 0.3);
}

.ow-page .ow-float-left {
    float: left;
    margin: 4px 28px 16px 0;
}

.ow-page .ow-float-right {
    float: right;
    margin: 4px 0 16px 28px;
}

.ow-page .ow-link {
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ow-page .ow-list {
    padding: 0 0 0 20px;
    margin: 0 0 16px;
}

.ow-page .ow-list li {
    font-size: 0.97rem;
    color: var(--mc-ink);
    line-height: 1.75;
    margin-bottom: 4px;
}

.ow-page .ow-list li::marker {
    color: var(--mc-purple-500);
}

/* ----- Coord cards (portrait grid) ----- */
.ow-page .ow-coord-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 56px;
}

.ow-page .ow-coord-card {
    width: 220px;
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px -10px rgba(74, 52, 112, 0.18);
    text-align: center;
}

.ow-page .ow-coord-img-link { display: block; }

.ow-page .ow-coord-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.ow-page .ow-coord-info {
    padding: 16px 14px;
}

.ow-page .ow-coord-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--mc-ink);
    margin: 0 0 4px;
}

.ow-page .ow-coord-meta {
    font-size: 0.82rem;
    color: rgba(74, 52, 112, 0.7);
    margin: 0 0 2px;
    line-height: 1.4;
}

.ow-page .ow-coord-bio {
    padding-top: 40px;
    border-top: 1px solid rgba(74, 52, 112, 0.1);
}

/* ----- Groups grid ----- */
.ow-page .ow-groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}

.ow-page .ow-group-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(74, 52, 112, 0.12);
    box-shadow: 0 4px 16px -6px rgba(74, 52, 112, 0.14);
}

.ow-page .ow-group-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.ow-page .ow-group-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mc-ink);
    padding: 10px 12px;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* ----- Video ----- */
.ow-page .ow-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 40px -12px rgba(74, 52, 112, 0.25);
    margin-bottom: 16px;
}

.ow-page .ow-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 16px;
}

/* ----- O-Week Book ----- */
.ow-page .ow-book-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.ow-page .ow-book-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--mc-purple-700);
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background 160ms ease, transform 160ms ease;
    box-shadow: 0 4px 16px -6px rgba(74, 52, 112, 0.5);
}

.ow-page .ow-book-btn:hover {
    background: var(--mc-purple-500);
    transform: translateY(-2px);
}

.ow-page .ow-book-viewer {
    margin-bottom: 16px;
}

/* ----- Contact ----- */

.ow-page .ow-address-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    border: 1px solid rgba(74, 52, 112, 0.15);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}

.ow-page .ow-address-box-left {
    background: rgba(74, 52, 112, 0.06);
    padding: 28px 32px;
    border-right: 1px solid rgba(74, 52, 112, 0.12);
    min-width: 220px;
}

.ow-page .ow-address-box-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mc-purple-700);
    display: block;
    margin-bottom: 12px;
}

.ow-page .ow-address-box-line {
    font-size: 0.97rem;
    color: var(--mc-ink);
    margin: 0;
    line-height: 1.8;
}

.ow-page .ow-address-box-note {
    padding: 28px 32px;
    font-size: 0.9rem;
    color: var(--mc-ink);
    line-height: 1.7;
    display: flex;
    align-items: center;
}

.ow-page .ow-address-box-note strong {
    margin-right: 8px;
    flex-shrink: 0;
}

/* ----- Contact email row ----- */
.ow-page .ow-contact-email-row {
    font-size: 0.97rem;
    color: var(--mc-ink);
    margin: 0 0 20px;
}

/* ----- Coord contact grid ----- */
.ow-page .ow-coord-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.ow-page .ow-coord-contact-card {
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.ow-page .ow-contact-photo {
    width: 90px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top;
}

.ow-page .ow-contact-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* ----- Leadership grid ----- */
.ow-page .ow-leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ow-page .ow-leadership-card {
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-top: 3px solid var(--mc-purple-500);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ----- Shared contact text ----- */
.ow-page .ow-contact-role {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mc-purple-700);
    background: rgba(74, 52, 112, 0.08);
    padding: 3px 8px;
    border-radius: 999px;
    align-self: flex-start;
    margin-bottom: 4px;
}

.ow-page .ow-contact-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--mc-ink);
    margin: 0 0 2px;
}

.ow-page .ow-contact-meta {
    font-size: 0.8rem;
    color: rgba(74, 52, 112, 0.55);
    margin: 0 0 4px;
    line-height: 1.4;
}

.ow-page .ow-contact-detail {
    font-size: 0.85rem;
    color: rgba(74, 52, 112, 0.7) !important;
    -webkit-text-fill-color: rgba(74, 52, 112, 0.7);
    text-decoration: none !important;
    line-height: 1.6;
    display: block;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .ow-page .ow-info-grid {
        grid-template-columns: 1fr;
    }

    .ow-page .ow-groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ow-page .ow-float-img {
        float: none;
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 20px;
    }

    .ow-page .ow-address-box {
        grid-template-columns: 1fr;
    }

    .ow-page .ow-address-box-left {
        border-right: none;
        border-bottom: 1px solid rgba(74, 52, 112, 0.12);
    }

    .ow-page .ow-coord-contact-grid,
    .ow-page .ow-leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ow-page .ow-groups-grid {
        grid-template-columns: 1fr;
    }

    .ow-page .ow-coord-card {
        width: 100%;
        max-width: 280px;
    }
}

.wellbeing-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: clamp(60px, 8vw, 120px);
}

.wellbeing-description {
    font-family: var(--mc-font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--mc-purple-500);
    text-align: center;
    padding: 0 clamp(16px, 5vw, 48px) clamp(40px, 5vw, 64px);
}

.wellbeing-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto clamp(48px, 6vw, 80px);
    padding: 0 clamp(16px, 4vw, 48px);
    box-sizing: border-box;
}

.division-title {
    width: 100%;
    text-align: center;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--mc-purple-700);
    margin: 0 0 clamp(20px, 3vw, 36px);
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(84, 11, 114, 0.12);
}

/* ============================================================
 * Student Maintenance Rep page.
 * ============================================================ */

.smr-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    min-height: 100vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.smr-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.smr-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.smr-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

/* ----- Detail layout: portrait + info beside ----- */
.smr-detail {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.smr-portrait {
    position: sticky;
    top: 32px;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(139, 111, 199, 0.10);
    border-radius: 24px;
    border: 1px solid rgba(74, 52, 112, 0.18);
    overflow: hidden;
    box-shadow: 0 30px 60px -24px rgba(74, 52, 112, 0.45);
}

.smr-portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.smr-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smr-role {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mc-purple-500);
}

.smr-name {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(2rem, 3.6vw, 2.8rem) !important;
    line-height: 1.1 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    margin: 0 !important;
    letter-spacing: 0 !important;
}

.smr-email {
    display: inline-block;
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--mc-purple-700);
    text-decoration: none;
    border-bottom: 1.5px solid var(--mc-purple-500);
    padding-bottom: 1px;
    transition: color 160ms ease, border-color 160ms ease;
    align-self: flex-start;
    word-break: break-all;
    margin-bottom: 8px;
}

.smr-email:hover,
.smr-email:focus-visible {
    color: var(--mc-purple-500);
    border-color: var(--mc-purple-700);
}

.smr-bio {
    font-family: var(--mc-font-body) !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    text-shadow: none !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: justify;
    hyphens: auto;
}

@media (max-width: 720px) {
    .smr-detail {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .smr-portrait {
        position: static;
        max-width: 320px;
        margin: 0 auto;
    }
    .smr-bio {
        text-align: left;
    }
}

/* ============================================================
 * Academic Fellows page (matches McMinistry / Events).
 * ============================================================ */

.fellows-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    min-height: 100vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.fellows-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.fellows-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.fellows-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

.fellows-page .fellows-description {
    font-family: var(--mc-font-body) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 auto clamp(28px, 4vw, 48px) !important;
    padding: 0 clamp(16px, 4vw, 48px) !important;
    border: none !important;
}

/* ----- Pill tabs ----- */
.fellows-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 clamp(16px, 4vw, 48px);
    margin: 0 auto clamp(36px, 4.5vw, 56px);
    max-width: 1200px;
}

.fellows-tab {
    appearance: none;
    border: 1.5px solid rgba(74, 52, 112, 0.20);
    background: var(--mc-paper);
    color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 180ms ease,
                color 180ms ease,
                border-color 180ms ease,
                transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 180ms ease;
    min-width: 200px;
}

.fellows-tab:hover,
.fellows-tab:focus-visible {
    border-color: var(--mc-purple-500);
    color: var(--mc-purple-500);
    transform: translateY(-1px);
}

.fellows-tab.active {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-color: var(--mc-purple-700);
    box-shadow: 0 10px 24px -8px rgba(74, 52, 112, 0.45);
}

.fellows-tab.active:hover,
.fellows-tab.active:focus-visible {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    border-color: var(--mc-purple-500);
}

.fellows-page .division-title {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
    line-height: 1.15 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

.fade-in {
    animation: fellows-fade 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fellows-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .fellows-tab {
        min-width: auto;
        flex: 1;
        padding: 8px 16px;
        font-size: 0.88rem;
    }
    .fellows-tabs {
        gap: 8px;
    }
}

/* ============================================================
 * Associates page.
 *
 * Grid of clickable cards (portrait + name + career). Clicking opens
 * a modal with the full bio + movie/TV + hobbies + fun fact.
 * ============================================================ */

.associates-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    min-height: 100vh;
    padding-bottom: clamp(60px, 8vw, 120px);
}

.associates-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.associates-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.associates-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

.associates-page .associates-mission {
    font-family: var(--mc-font-body) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 auto clamp(40px, 5vw, 64px) !important;
    padding: 0 clamp(16px, 4vw, 48px) !important;
    border: none !important;
}

/* ----- Card grid ----- */
.as-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    gap: clamp(16px, 2vw, 28px);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.as-card {
    appearance: none;
    text-align: left;
    cursor: pointer;
    width: 100%;
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.18);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 220ms ease,
                border-color 220ms ease;
    padding: 0;
    box-shadow: 0 8px 24px -16px rgba(74, 52, 112, 0.30);
}

.as-card:hover,
.as-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--mc-purple-500);
    box-shadow: 0 24px 48px -20px rgba(74, 52, 112, 0.40);
}

.as-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: rgba(139, 111, 199, 0.12);
    overflow: hidden;
}

.as-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.as-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-size: 3rem;
    color: var(--mc-purple-500);
}

.as-card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.as-card-name {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
}

.as-card-career {
    font-family: var(--mc-font-body) !important;
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    color: rgba(20, 12, 38, 0.7) !important;
    -webkit-text-fill-color: rgba(20, 12, 38, 0.7);
    background: none !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.as-card-cta {
    margin-top: auto;
    padding-top: 4px;
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--mc-purple-500);
    transition: color 160ms ease, transform 160ms ease;
}

.as-card:hover .as-card-cta,
.as-card:focus-visible .as-card-cta {
    color: var(--mc-purple-700);
}

/* ============================================================
 * Modal
 * ============================================================ */
.as-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 38, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
    z-index: 1000;
    animation: as-fade-in 220ms ease;
}

@keyframes as-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.as-modal {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--mc-paper);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(220px, 360px) 1fr;
    box-shadow: 0 40px 80px -24px rgba(20, 12, 38, 0.5);
    animation: as-pop 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes as-pop {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.as-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--mc-purple-700);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 160ms ease, transform 160ms ease;
}

.as-modal-close:hover,
.as-modal-close:focus-visible {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    transform: scale(1.05);
}

.as-modal-media {
    background: rgba(139, 111, 199, 0.12);
    overflow: hidden;
    min-height: 320px;
}

.as-modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.as-modal-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-size: 5rem;
    color: var(--mc-purple-500);
}

.as-modal-body {
    padding: clamp(28px, 4vw, 48px);
    overflow-y: auto;
    max-height: 90vh;
}

.as-modal-name {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    line-height: 1.15 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    margin: 0 0 6px !important;
}

.as-modal-career {
    font-family: var(--mc-font-body) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: var(--mc-purple-500) !important;
    -webkit-text-fill-color: var(--mc-purple-500);
    background: none !important;
    margin: 0 0 22px !important;
}

.as-modal-section {
    margin-bottom: 20px;
}

.as-modal-section:last-child {
    margin-bottom: 0;
}

.as-modal-label {
    display: inline-block;
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mc-purple-500);
    margin-bottom: 6px;
}

.as-modal-text {
    font-family: var(--mc-font-body) !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

@media (max-width: 720px) {
    .as-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .as-modal {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        max-height: 92vh;
        overflow-y: auto;
        border-radius: 24px 24px 0 0;
        width: 100%;
    }
    .as-modal-media {
        min-height: 200px;
        max-height: 35vh;
        aspect-ratio: 16 / 9;
    }
    .as-modal-body {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 640px) {
    .associates-page .as-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }
}

.as-modal-body a {
    color: var(--mc-purple-700);
    text-decoration: none;
}

.as-modal-body a:hover {
    text-decoration: underline;
}

.wellbeing-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: clamp(60px, 8vw, 120px);
}

.wellbeing-description {
    font-family: var(--mc-font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--mc-purple-500);
    text-align: center;
    padding: 0 clamp(16px, 5vw, 48px) clamp(40px, 5vw, 64px);
}

.wellbeing-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto clamp(48px, 6vw, 80px);
    padding: 0 clamp(16px, 4vw, 48px);
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .cc-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px 32px;
        justify-items: center;
    }
    .cc-grid > .cc-card {
        max-width: none;
        width: 100%;
    }
    .cc-grid > .cc-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 6px);
    }
}

.division-title {
    width: 100%;
    text-align: center;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--mc-purple-700);
    margin: 0 0 clamp(20px, 3vw, 36px);
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(84, 11, 114, 0.12);
}

/* ============================================================
 * Affinity Groups page.
 * ============================================================ */

.mcmurtry-affinity-groups-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    min-height: 100vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.mcmurtry-affinity-groups-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.mcmurtry-affinity-groups-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.mcmurtry-affinity-groups-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

.mcmurtry-affinity-groups-page .affinity-description {
    margin: 0 auto clamp(32px, 4.5vw, 56px) !important;
    padding: 0 clamp(16px, 4vw, 48px) !important;
    text-align: center;
}

.mcmurtry-affinity-groups-page .affinity-description p {
    font-family: var(--mc-font-body) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    text-shadow: none !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
}

.mcmurtry-affinity-groups-page .affinity-description p:last-child {
    margin-bottom: 0 !important;
}

.mcmurtry-affinity-groups-page .affinity-section {
    margin: clamp(28px, 4vw, 48px) 0;
}

@media (max-width: 640px) {
    .mcmurtry-affinity-groups-page .cc-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px 32px;
        justify-items: center;
    }
    .mcmurtry-affinity-groups-page .cc-grid > .cc-card {
        max-width: none;
        width: 100%;
    }
    .mcmurtry-affinity-groups-page .cc-grid > .cc-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 6px);
    }
}

.mcmurtry-affinity-groups-page .division-title {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
    line-height: 1.15 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

/* ============================================================
 * McTeam — matches the Events Calendar / Room Reservations theme.
 * ============================================================ */

.mcteam-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: clamp(60px, 8vw, 120px);
}

.mcteam-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.mcteam-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.mcteam-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

/* ----- Tab bar ----- */
.mcteam-page .mt-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 clamp(16px, 4vw, 48px);
    margin: 0 auto clamp(40px, 5vw, 64px);
    max-width: 1200px;
}

.mcteam-page .mt-tab {
    appearance: none;
    border: 1.5px solid rgba(74, 52, 112, 0.20);
    background: var(--mc-paper);
    color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 180ms ease,
                color 180ms ease,
                border-color 180ms ease,
                transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 180ms ease;
}

.mcteam-page .mt-tab:hover,
.mcteam-page .mt-tab:focus-visible {
    border-color: var(--mc-purple-500);
    color: var(--mc-purple-500);
    transform: translateY(-1px);
}

.mcteam-page .mt-tab-active {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-color: var(--mc-purple-700);
    box-shadow: 0 10px 24px -8px rgba(74, 52, 112, 0.45);
}

.mcteam-page .mt-tab-active:hover,
.mcteam-page .mt-tab-active:focus-visible {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    border-color: var(--mc-purple-500);
}

/* ----- Detail: single column with float-wrap image ----- */
.mcteam-page .mt-detail {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    animation: mt-fade 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes mt-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mcteam-page .mt-detail-header {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.mcteam-page .mt-detail-role {
    display: inline-block;
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mc-purple-500);
    margin-bottom: 8px;
}

.mcteam-page .mt-detail-name {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.15;
    color: var(--mc-purple-700);
    margin: 0;
    letter-spacing: 0;
}

.mcteam-page .mt-detail-body {
    overflow: hidden;
}

.mcteam-page .mt-detail-image {
    width: 280px;
    height: auto;
    float: left;
    margin: 0 30px 20px 0;
    border-radius: 16px;
    border: 1px solid rgba(74, 52, 112, 0.18);
    box-shadow: 0 24px 48px -20px rgba(74, 52, 112, 0.45);
    display: block;
}

.mcteam-page .mt-detail-body p,
.mcteam-page .mt-detail-body li {
    font-family: var(--mc-font-body) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 0 18px !important;
    text-align: justify !important;
    hyphens: auto;
}

.mcteam-page .mt-detail-body p:last-child {
    margin-bottom: 0 !important;
}

.mcteam-page .mt-detail-list {
    list-style: none;
    padding: 18px 22px;
    margin: 18px 0 0;
    background: rgba(139, 111, 199, 0.08);
    border-left: 3px solid var(--mc-purple-500);
    border-radius: 12px;
}

.mcteam-page .mt-detail-list li {
    font-family: var(--mc-font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--mc-ink);
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}

.mcteam-page .mt-detail-list li:last-child {
    margin-bottom: 0;
}

.mcteam-page .mt-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mc-purple-500);
}

@media (max-width: 640px) {
    .mcteam-page .mt-detail-image {
        float: none;
        width: 220px;
        margin: 0 auto 24px;
    }
    .mcteam-page .mt-detail-body p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .mcteam-page .mt-tab {
        padding: 8px 16px;
        font-size: 0.88rem;
    }
    .mcteam-page .mt-detail-image {
        width: 200px;
    }
}

/* ============================================================
 * Peer Academic Advisors page (matches McMinistry).
 * ============================================================ */

.paas-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    min-height: 100vh;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.paas-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.paas-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

.paas-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

.paas-page .paas-description {
    font-family: var(--mc-font-body) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 auto clamp(28px, 4vw, 48px) !important;
    padding: 0 clamp(16px, 4vw, 48px) !important;
    border: none !important;
}

/* ----- Pill tabs ----- */
.paas-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 clamp(16px, 4vw, 48px);
    margin: 0 auto clamp(36px, 4.5vw, 56px);
    max-width: 1200px;
}

.paas-tab {
    appearance: none;
    border: 1.5px solid rgba(74, 52, 112, 0.20);
    background: var(--mc-paper);
    color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 180ms ease,
                color 180ms ease,
                border-color 180ms ease,
                transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 180ms ease;
    min-width: 160px;
}

.paas-tab:hover,
.paas-tab:focus-visible {
    border-color: var(--mc-purple-500);
    color: var(--mc-purple-500);
    transform: translateY(-1px);
}

.paas-tab.active {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-color: var(--mc-purple-700);
    box-shadow: 0 10px 24px -8px rgba(74, 52, 112, 0.45);
}

.paas-tab.active:hover,
.paas-tab.active:focus-visible {
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    border-color: var(--mc-purple-500);
}

.paas-page .division-title,
.paas-page .paas-title {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
    line-height: 1.15 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

.fade-in {
    animation: paas-fade 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes paas-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .paas-tab {
        min-width: auto;
        flex: 1;
        padding: 8px 16px;
        font-size: 0.88rem;
    }
    .paas-tabs {
        gap: 8px;
    }
}

/* ============================================================
 * Diversity Resources page — scoped under .dr-page
 * Design language matches pcard / mis / mclegislation pages.
 * ============================================================ */

.dr-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: 80px;
}

/* ----- Hero ----- */
.dr-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

/* ----- Shared section heading ----- */
.dr-page .dr-section-heading {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    color: var(--mc-purple-700);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto clamp(24px, 3vw, 36px);
    padding: 0 clamp(16px, 4vw, 48px) clamp(16px, 2vw, 24px);
    border-bottom: 1px solid rgba(74, 52, 112, 0.15);
}

/* ----- PDF section ----- */
.dr-page .dr-pdf-section {
    max-width: 960px;
    margin: 0 auto 72px;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* ----- External links section ----- */
.dr-page .dr-links-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* Category blocks */
.dr-page .dr-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.dr-page .dr-category-title {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mc-purple-700);
    margin: 0 0 12px;
    padding-left: 4px;
}

.dr-page .dr-link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Individual link cards */
.dr-page .dr-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-radius: 12px;
    text-decoration: none !important;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
    box-shadow: 0 2px 8px -4px rgba(74, 52, 112, 0.12);
}

.dr-page .dr-link-card:hover {
    background: rgba(139, 111, 199, 0.06);
    border-color: rgba(74, 52, 112, 0.3);
    transform: translateX(4px);
}

.dr-page .dr-link-icon {
    color: var(--mc-purple-500);
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 160ms ease;
}

.dr-page .dr-link-card:hover .dr-link-icon {
    opacity: 1;
}

.dr-page .dr-link-card span {
    font-family: var(--mc-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.5;
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .dr-page .dr-pdf-section,
    .dr-page .dr-links-section {
        padding: 0 16px;
    }
}

/* ============================================================
 * Financial Inclusivity — vertical journey layout
 *
 * Sections become nodes on a central spine that runs the height
 * of the page. Each node alternates sides (left, right, left, right),
 * with a numbered step indicator + a dot tying it to the spine.
 * Soft purple glows sit behind the page for atmosphere.
 * ============================================================ */

.fin-inc-page {
    position: relative;
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    overflow: hidden;
    width: 100%;
}

/* ----- Hero ----- */
.fin-inc-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

/* ----- Soft purple glows for atmosphere ----- */
.fin-inc-page .fi-glow {
    position: absolute;
    width: clamp(380px, 45vw, 700px);
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.5;
}

.fin-inc-page .fi-glow-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(139, 111, 199, 0.35) 0%, transparent 70%);
}

.fin-inc-page .fi-glow-2 {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(74, 52, 112, 0.30) 0%, transparent 70%);
}

/* ----- Stage / spine ----- */
.fin-inc-page .fi-stage {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 80px);
}

.fin-inc-page .fi-spine {
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--mc-purple-500) 8%,
        var(--mc-purple-500) 92%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* ----- Node (one per section) ----- */
.fin-inc-page .fi-node {
    position: relative;
    width: 50%;
    padding: clamp(20px, 2.5vw, 32px) clamp(20px, 3vw, 40px);
    margin-bottom: clamp(20px, 3vw, 40px);
}

.fin-inc-page .fi-node:last-child {
    margin-bottom: 0;
}

/* Left-side node */
.fin-inc-page .fi-node-a {
    margin-right: auto;
    padding-right: clamp(36px, 4vw, 56px);
    text-align: right;
}

/* Right-side node */
.fin-inc-page .fi-node-b {
    margin-left: auto;
    padding-left: clamp(36px, 4vw, 56px);
    text-align: left;
}

/* The dot that sits on the spine */
.fin-inc-page .fi-node-dot {
    position: absolute;
    top: clamp(26px, 3vw, 40px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--mc-purple-700);
    box-shadow:
        0 0 0 4px var(--mc-paper),
        0 0 0 6px var(--mc-purple-500),
        0 8px 24px -4px rgba(74, 52, 112, 0.5);
    z-index: 2;
}

.fin-inc-page .fi-node-a .fi-node-dot {
    right: -8px;
}

.fin-inc-page .fi-node-b .fi-node-dot {
    left: -8px;
}

/* Step number (01, 02, ...) */
.fin-inc-page .fi-node-step {
    display: block;
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 0.9;
    color: rgba(139, 111, 199, 0.22);
    margin-bottom: -4px;
    letter-spacing: -0.02em;
}

/* ----- Section typography ----- */
.fin-inc-page .fi-section-title {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    line-height: 1.15;
    color: var(--mc-purple-700);
    margin: 0 0 14px;
    letter-spacing: 0;
}

.fin-inc-page .fi-section-sub {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--mc-ink);
    margin: 0 0 20px;
}

.fin-inc-page .fi-node p.fi-section-body,
.fin-inc-page .fi-node .fi-guideline-list li,
.fin-inc-page .fi-node .fi-resource-list p {
    font-family: var(--mc-font-body) !important;
    font-style: normal !important;
    font-weight: 400;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--mc-ink);
    text-align: justify !important;
    text-align-last: left;
    hyphens: auto;
    margin: 0 0 12px;
}

.fin-inc-page .fi-section-body:last-child,
.fin-inc-page .fi-resource-list p:last-child {
    margin-bottom: 0;
}


/* ----- Guideline list ----- */
.fin-inc-page .fi-guideline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fin-inc-page .fi-guideline-list li {
    font-family: var(--mc-font-body);
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(20, 12, 38, 0.82);
    margin: 0;
}

/* ----- Resource list ----- */
.fin-inc-page .fi-resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fin-inc-page .fi-resource-list li {
    margin-bottom: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(139, 111, 199, 0.20);
}

.fin-inc-page .fi-resource-list li:first-child {
    border-top: none;
    padding-top: 0;
}

.fin-inc-page .fi-resource-list li:last-child {
    margin-bottom: 0;
}

.fin-inc-page .fi-resource-list a {
    display: inline-block;
    color: var(--mc-purple-700);
    text-decoration: none;
    border-bottom: 1.5px solid var(--mc-purple-500);
    padding-bottom: 1px;
    transition: color 160ms ease, border-color 160ms ease;
    margin-bottom: 4px;
}

.fin-inc-page .fi-resource-list a strong {
    font-family: var(--mc-font-body);
    font-weight: 600;
    color: inherit;
}

.fin-inc-page .fi-resource-list a:hover,
.fin-inc-page .fi-resource-list a:focus-visible {
    color: var(--mc-purple-500);
    border-color: var(--mc-purple-700);
}

.fin-inc-page .fi-resource-list p {
    font-family: var(--mc-font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(20, 12, 38, 0.72);
    margin: 0;
}

/* ----- Mobile: hide spine/dots, stack as plain sections ----- */
@media (max-width: 800px) {
    .fin-inc-page .fi-stage {
        padding: 0 16px clamp(24px, 5vw, 48px);
    }

    .fin-inc-page .fi-spine,
    .fin-inc-page .fi-node-dot,
    .fin-inc-page .fi-node-step {
        display: none;
    }

    .fin-inc-page .fi-node,
    .fin-inc-page .fi-node-a,
    .fin-inc-page .fi-node-b {
        width: 100%;
        margin: 0 0 16px;
        padding: 16px;
        text-align: left;
        background: var(--mc-paper);
        border: 1px solid rgba(74, 52, 112, 0.12);
        border-radius: 14px;
        box-shadow: 0 4px 16px -8px rgba(74, 52, 112, 0.18);
    }

    .fin-inc-page .fi-node:last-child {
        margin-bottom: 0;
    }

    .fin-inc-page .fi-section-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .fin-inc-page .fi-node p.fi-section-body,
    .fin-inc-page .fi-node .fi-guideline-list li,
    .fin-inc-page .fi-node .fi-resource-list p {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }
}

/* ============================================================
 * McFUNd Requests page — scoped under .mcfund-page
 * Design language matches pcard / mis / work-orders pages.
 * ============================================================ */

.mcfund-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: 0;
}

/* ----- Hero ----- */
.mcfund-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

/* ----- Banner ----- */
.mcfund-page .mcfund-banner {
    position: relative;
    z-index: 10;
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 28px 36px;
    background: var(--mc-purple-700);
    border-radius: 20px;
    box-shadow: 0 20px 48px -16px rgba(74, 52, 112, 0.5);
    margin-left: clamp(24px, 6vw, 96px);
    margin-right: clamp(24px, 6vw, 96px);
}

.mcfund-page .mcfund-banner-text {
    font-family: var(--mc-font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin: 0;
}

/* ----- Form wrapper ----- */
.mcfund-page .mcfund-form-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(24px, 6vw, 96px);
}

.mcfund-page .mcfund-form-wrap iframe {
    display: block;
    border: none;
    background: transparent;
    width: 100%;
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .mcfund-page .mcfund-banner {
        padding: 22px 20px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .mcfund-page .mcfund-form-wrap {
        padding: 0 16px;
        border-radius: 12px;
    }
}

/* ============================================================
 * McItems Checkout page — scoped under .mcitems-page
 * Horizontal timeline layout.
 * ============================================================ */

.mcitems-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
}

/* ----- Hero ----- */
.mcitems-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

.mcitems-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.mcitems-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
}

/* ----- CTA banner ----- */
.mcitems-page .mci-banner {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 clamp(24px, 6vw, 96px) 80px;
    padding: 28px 36px;
    background: var(--mc-purple-700);
    border-radius: 20px;
    box-shadow: 0 20px 48px -16px rgba(74, 52, 112, 0.5);
    flex-wrap: wrap;
}

.mcitems-page .mci-banner-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 200px;
}

.mcitems-page .mci-banner-text {
    font-family: var(--mc-font-body);
    font-size: 1.05rem;
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    margin: 0;
    line-height: 1.5;
}

.mcitems-page .mci-banner-text strong {
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    font-weight: 700;
}

.mcitems-page .mci-banner-deadlines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcitems-page .mci-strip-label {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mc-paper);
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    align-self: flex-start;
}

.mcitems-page .mci-banner-deadline-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mcitems-page .mci-banner-deadline-list li {
    font-family: var(--mc-font-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.mcitems-page .mci-banner-deadline-list li strong {
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    font-weight: 700;
    margin-right: 4px;
}

.mcitems-page .mci-strip-note {
    font-family: var(--mc-font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.mcitems-page .mci-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--mc-paper);
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 800;
    font-size: 1.08rem;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.15);
    transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 200ms ease, background 200ms ease;
}

.mcitems-page .mci-banner-cta:hover,
.mcitems-page .mci-banner-cta:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32), 0 0 0 3px rgba(255, 255, 255, 0.25);
    background: #f0eaf6;
}

.mcitems-page .mci-banner-arrow {
    font-size: 1.1em;
    transition: transform 200ms ease;
}

.mcitems-page .mci-banner-cta:hover .mci-banner-arrow {
    transform: translateX(4px);
}

/* ----- Horizontal timeline ----- */
.mcitems-page .mci-timeline-wrap {
    padding: 0 clamp(24px, 6vw, 96px);
    margin-bottom: 96px;
}

.mcitems-page .mci-timeline-heading {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--mc-purple-700);
    margin: 0 0 64px;
    letter-spacing: 0;
}

.mcitems-page .mci-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* extra vertical space so above-the-line cards don't clip */
    padding: 180px 0 180px;
}

/* The horizontal connecting line */
.mcitems-page .mci-timeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mc-purple-500) 8%, var(--mc-purple-500) 92%, transparent);
    transform: translateY(-50%);
    pointer-events: none;
}

/* Each step column */
.mcitems-page .mci-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* Circle node on the line */
.mcitems-page .mci-step-node {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--mc-purple-700);
    border: 4px solid var(--mc-paper);
    box-shadow: 0 0 0 2px var(--mc-purple-500), 0 8px 20px rgba(74, 52, 112, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mcitems-page .mci-step-num {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--mc-paper);
    letter-spacing: 0.03em;
}

/* Card floating above or below the line */
.mcitems-page .mci-step-card {
    position: absolute;
    width: calc(100% - 16px);
    max-width: 200px;
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 12px 32px -12px rgba(74, 52, 112, 0.25);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.mcitems-page .mci-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -12px rgba(74, 52, 112, 0.35);
}

/* Cards below the line (odd index) */
.mcitems-page .mci-step-card-below {
    top: calc(50% + 44px);
}

/* Cards above the line (even index) */
.mcitems-page .mci-step-card-above {
    bottom: calc(50% + 44px);
}

/* Connector tick from card to node */
.mcitems-page .mci-step-card::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--mc-purple-500);
    opacity: 0.5;
}

.mcitems-page .mci-step-card-below::before {
    top: -20px;
}

.mcitems-page .mci-step-card-above::before {
    bottom: -20px;
}

.mcitems-page .mci-step-title {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--mc-purple-700);
    margin: 0 0 8px;
    line-height: 1.3;
}

.mcitems-page .mci-step-body {
    font-family: var(--mc-font-body);
    font-size: 0.85rem;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.6;
    margin: 0;
}

/* ----- Policies ----- */
.mcitems-page .mci-policies-wrap {
    padding: 0 clamp(24px, 6vw, 96px);
    margin-bottom: 64px;
}

.mcitems-page .mci-policies {
    background: rgba(139, 111, 199, 0.07);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-left: 4px solid var(--mc-purple-500);
    border-radius: 18px;
    padding: 32px 36px;
}

.mcitems-page .mci-policies-title {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--mc-purple-700);
    margin: 0 0 20px;
    letter-spacing: 0;
}

.mcitems-page .mci-policy-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 48px;
    margin: 0;
    padding: 0 0 0 20px;
}

.mcitems-page .mci-policy-list li {
    font-family: var(--mc-font-body);
    font-size: 0.97rem;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.6;
}

.mcitems-page .mci-policy-list li::marker {
    color: var(--mc-purple-500);
}

/* ----- Contact row ----- */
.mcitems-page .mci-contact-row {
    text-align: center;
    padding: 0 24px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mcitems-page .mci-contact-row p {
    font-family: var(--mc-font-body);
    font-size: 0.92rem;
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}

.mcitems-page .mci-contact-email {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 160ms ease;
}

.mcitems-page .mci-contact-email:hover,
.mcitems-page .mci-contact-email:focus-visible {
    color: var(--mc-purple-500) !important;
    -webkit-text-fill-color: var(--mc-purple-500);
}

/* ----- Responsive — collapse to vertical timeline ----- */
@media (max-width: 900px) {
    .mcitems-page .mci-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 0 32px;
        gap: 0;
    }

    .mcitems-page .mci-timeline-track {
        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, transparent, var(--mc-purple-500) 8%, var(--mc-purple-500) 92%, transparent);
        transform: none;
    }

    .mcitems-page .mci-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        padding: 32px 0;
    }

    .mcitems-page .mci-step-node {
        position: relative;
        top: auto;
        transform: none;
        flex-shrink: 0;
    }

    .mcitems-page .mci-step-card,
    .mcitems-page .mci-step-card-below,
    .mcitems-page .mci-step-card-above {
        position: relative;
        top: auto;
        bottom: auto;
        max-width: 100%;
        width: 100%;
    }

    .mcitems-page .mci-step-card::before {
        display: none;
    }

    .mcitems-page .mci-policy-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mcitems-page .mci-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 24px;
        margin-bottom: 48px;
    }

    .mcitems-page .mci-policies {
        padding: 24px 20px;
    }
}

/* ============================================================
 * McLegislation page — scoped under .documents-page
 * Design language matches pcard / mcitems / mis pages.
 * ============================================================ */

.documents-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
    padding-bottom: 80px;
}

/* ----- Hero ----- */
.documents-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

/* ----- Tab bar ----- */
.documents-page .doc-tabs-wrap {
    display: flex;
    justify-content: center;
    padding: 0 clamp(16px, 4vw, 48px);
    margin-bottom: 40px;
}

.documents-page .doc-tabs {
    display: inline-flex;
    gap: 8px;
    background: rgba(74, 52, 112, 0.07);
    border-radius: 999px;
    padding: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.documents-page .doc-tab {
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 22px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
    background: transparent;
    color: var(--mc-purple-700);
    white-space: nowrap;
}

.documents-page .doc-tab:hover:not(.doc-tab-active) {
    background: rgba(74, 52, 112, 0.08);
}

.documents-page .doc-tab-active {
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    box-shadow: 0 4px 16px -4px rgba(74, 52, 112, 0.45);
}

/* ----- PDF viewer wrapper ----- */
.documents-page .doc-viewer-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .documents-page .doc-tabs {
        gap: 4px;
        padding: 4px;
    }

    .documents-page .doc-tab {
        font-size: 0.84rem;
        padding: 8px 14px;
    }
}

/* ============================================================
 * McMurtry Innovation Space — scoped under .mis-page
 * Design language matches pcard / mcitems pages.
 * ============================================================ */

.mis-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
}

/* ----- Hero ----- */
.mis-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    overflow: hidden;
}

.mis-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.mis-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
}

/* ----- Intro banner ----- */
.mis-page .mis-banner {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    margin: 0 clamp(24px, 6vw, 96px) 72px;
    padding: 32px 36px;
    background: var(--mc-purple-700);
    border-radius: 20px;
    box-shadow: 0 20px 48px -16px rgba(74, 52, 112, 0.5);
    align-items: center;
}

.mis-page .mis-banner-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mis-page .mis-banner-text {
    font-family: var(--mc-font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.7;
}

.mis-page .mis-banner-text strong {
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    font-weight: 700;
}

/* Quick-link cards inside the banner */
.mis-page .mis-banner-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
}

.mis-page .mis-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none !important;
    transition: background 180ms ease, transform 180ms ease;
}

.mis-page .mis-link-card:hover,
.mis-page .mis-link-card:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(3px);
}

.mis-page .mis-link-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    opacity: 0.9;
}

.mis-page .mis-link-card span {
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
}

/* ----- Mid section: hours + about ----- */
.mis-page .mis-mid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    padding: 0 clamp(24px, 6vw, 96px);
    margin-bottom: 72px;
    align-items: start;
}

.mis-page .mis-panel-title {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--mc-purple-700);
    margin: 0 0 24px;
    letter-spacing: 0;
}

/* Hours panel */
.mis-page .mis-hours-panel {
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 16px 40px -16px rgba(74, 52, 112, 0.2);
}

.mis-page .mis-hours-list {
    display: flex;
    flex-direction: column;
}

.mis-page .mis-hour-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(74, 52, 112, 0.08);
}

.mis-page .mis-hour-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mis-page .mis-hour-row:first-child {
    padding-top: 0;
}

.mis-page .mis-hour-day {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--mc-ink);
    min-width: 100px;
}

.mis-page .mis-hour-sep {
    flex: 1;
    height: 1px;
    background: rgba(74, 52, 112, 0.12);
    margin: 0 12px;
}

.mis-page .mis-hour-time {
    font-family: var(--mc-font-body);
    font-size: 0.93rem;
    color: var(--mc-purple-700);
    font-weight: 600;
    white-space: nowrap;
}

/* About / what we offer panel */
.mis-page .mis-about-panel {
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 16px 40px -16px rgba(74, 52, 112, 0.2);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mis-page .mis-offer-list {
    margin: 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mis-page .mis-offer-list li {
    font-family: var(--mc-font-body);
    font-size: 0.97rem;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.6;
}

.mis-page .mis-offer-list li::marker {
    color: var(--mc-purple-500);
}

.mis-page .mis-about-note {
    background: rgba(139, 111, 199, 0.07);
    border-left: 4px solid var(--mc-purple-500);
    border-radius: 10px;
    padding: 16px 20px;
}

.mis-page .mis-note-label {
    display: inline-block;
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mc-purple-700);
    background: rgba(139, 111, 199, 0.18);
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.mis-page .mis-about-note p {
    margin: 0;
    font-family: var(--mc-font-body);
    font-size: 0.93rem;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.6;
}

/* ----- People sections — identical structure to RHAs / wellbeing-page ----- */
.mis-page .mis-people-section {
    margin: clamp(28px, 4vw, 48px) 0;
}

.mis-page .mis-division-title {
    font-family: var(--mc-font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
    line-height: 1.15 !important;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none !important;
    text-shadow: none !important;
    text-align: center;
    /* Match cc-grid: max-width 1200px, centered, same side padding */
    max-width: 1200px;
    margin: 0 auto clamp(20px, 3vw, 32px) !important;
    padding: 0 clamp(16px, 4vw, 48px) clamp(16px, 2vw, 24px) !important;
    letter-spacing: 0 !important;
    border-bottom: 1px solid rgba(74, 52, 112, 0.15);
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .mis-page .mis-banner {
        grid-template-columns: 1fr;
    }

    .mis-page .mis-banner-links {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: unset;
    }

    .mis-page .mis-mid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mis-page .mis-banner {
        padding: 24px 20px;
        margin: 0 16px 48px;
        gap: 20px;
    }

    .mis-page .mis-banner-links {
        flex-direction: column;
    }

    .mis-page .mis-link-card {
        width: 100%;
    }

    .mis-page .mis-about-panel {
        padding: 24px 20px;
    }

    .mis-page .mis-hours-panel {
        padding: 24px 20px;
    }
}

/* ============================================================
 * P-Card Management page — scoped under .pcard-page
 * Cards-grid layout.
 * ============================================================ */

.pcard-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
}

/* ----- Hero overrides ----- */
.pcard-page .ev-hero {
    background: var(--mc-paper);
    position: relative;
    /* No z-index here — avoids creating a stacking context that would
       trap the decorative SVGs above the banner below */
    overflow: hidden;
}

.pcard-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

.pcard-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
}

/* ----- Top CTA banner ----- */
.pcard-page .pc-banner {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 clamp(24px, 6vw, 96px) 64px;
    padding: 28px 36px;
    background: var(--mc-purple-700);
    border-radius: 20px;
    box-shadow: 0 20px 48px -16px rgba(74, 52, 112, 0.5);
    flex-wrap: wrap;
}

.pcard-page .pc-banner-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 200px;
}

.pcard-page .pc-banner-text {
    font-family: var(--mc-font-body);
    font-size: 1.05rem;
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    margin: 0;
    line-height: 1.5;
}

.pcard-page .pc-banner-text strong {
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    font-weight: 700;
}

.pcard-page .pc-banner-deadlines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pcard-page .pc-banner-deadline-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pcard-page .pc-banner-deadline-list li {
    font-family: var(--mc-font-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.pcard-page .pc-banner-deadline-list li strong {
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    font-weight: 700;
    margin-right: 4px;
}

.pcard-page .pc-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--mc-paper);
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    font-family: var(--mc-font-body);
    font-weight: 800;
    font-size: 1.08rem;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(255,255,255,0.15);
    transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 200ms ease, background 200ms ease;
}

.pcard-page .pc-banner-cta:hover,
.pcard-page .pc-banner-cta:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32), 0 0 0 3px rgba(255,255,255,0.25);
    background: #f0eaf6;
}

.pcard-page .pc-banner-arrow {
    font-size: 1.1em;
    transition: transform 200ms ease;
}

.pcard-page .pc-banner-cta:hover .pc-banner-arrow {
    transform: translateX(4px);
}

.pcard-page .pc-strip-label {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mc-paper);
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    align-self: flex-start;
}

.pcard-page .pc-strip-note {
    font-family: var(--mc-font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* ----- Cards grid ----- */
.pcard-page .pc-cards-wrap {
    padding: 0 clamp(24px, 6vw, 96px);
    margin-bottom: 80px;
}

.pcard-page .pc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pcard-page .pc-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 28px;
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-top: 4px solid var(--mc-purple-500);
    border-radius: 18px;
    box-shadow: 0 16px 40px -16px rgba(74, 52, 112, 0.2);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.pcard-page .pc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px -16px rgba(74, 52, 112, 0.32);
}

.pcard-page .pc-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pcard-page .pc-card-num {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 2.6rem;
    color: rgba(74, 52, 112, 0.18);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pcard-page .pc-card-title {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--mc-purple-700);
    margin: 0;
    line-height: 1.3;
}


.pcard-page .pc-card-steps {
    margin: 0 0 0 18px;
    padding: 0;
    flex: 1;
}

.pcard-page .pc-card-steps li {
    font-family: var(--mc-font-body);
    font-size: 0.95rem;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.65;
    margin-bottom: 8px;
}

.pcard-page .pc-card-steps li:last-child {
    margin-bottom: 0;
}

.pcard-page .pc-card-steps li::marker {
    color: var(--mc-purple-500);
}

.pcard-page .pc-card-warn {
    background: rgba(139, 111, 199, 0.08);
    border-left: 3px solid var(--mc-purple-500);
    border-radius: 8px;
    padding: 14px 16px;
}

.pcard-page .pc-warn-label {
    display: inline-block;
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mc-purple-700);
    background: rgba(139, 111, 199, 0.18);
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.pcard-page .pc-card-warn p {
    margin: 0;
    font-family: var(--mc-font-body);
    font-size: 0.9rem;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.55;
}

/* ----- Calendar section (full width) ----- */
.pcard-page .pc-calendar-section {
    padding: 0 clamp(24px, 6vw, 96px);
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pcard-page .pc-calendar-heading {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--mc-purple-700);
    margin: 0;
    letter-spacing: 0;
}

.pcard-page .pc-calendar-box {
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 16px 40px -16px rgba(74, 52, 112, 0.2);
}

/* ----- Contact row ----- */
.pcard-page .pc-contact-row {
    text-align: center;
    padding: 0 24px 64px;
}

.pcard-page .pc-contact-row p {
    font-family: var(--mc-font-body);
    font-size: 0.92rem;
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}

.pcard-page .pc-contact-row a {
    color: var(--mc-purple-700);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 160ms ease;
}

.pcard-page .pc-contact-row a:hover,
.pcard-page .pc-contact-row a:focus-visible {
    color: var(--mc-purple-500);
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .pcard-page .pc-cards {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .pcard-page .pc-banner {
        flex-direction: column;
        align-items: center;
        padding: 22px 24px;
        margin-bottom: 40px;
    }

    .pcard-page .pc-banner-left {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .pcard-page .pc-strip-label {
        align-self: center;
    }

    .pcard-page .pc-banner-cta {
        width: auto;
        padding: 14px 24px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .pcard-page .pc-cards-wrap {
        margin-bottom: 48px;
    }

    .pcard-page .pc-card {
        padding: 24px 20px;
    }

    .pcard-page .pc-calendar-section {
        margin-bottom: 40px;
    }
}

/* O-Week Carousel - Match homepage style */
.oweek-homepage .carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-lg);
}

.oweek-homepage .professional-carousel {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: transparent;
    position: relative;
    border: 2px solid rgba(139, 111, 199, 0.2);
}

.oweek-homepage .carousel-slides {
    height: 600px;
    width: 100%;
}

@media (max-width: 768px) {
    .oweek-homepage .carousel-slides {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .oweek-homepage .carousel-slides {
        height: 300px;
    }
}

/* About Text Styling - Copied from homepage */
.about-text {
    padding: var(--space-xl);
    background: transparent;
    border-radius: var(--radius-2xl);
    box-shadow: none;
    border: none;
    transition: all var(--transition-base);
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.about-text:hover {
    transform: translateY(-2px);
}

.about-text p {
    color: var(--white) !important;
    font-size: var(--font-base) !important;
    line-height: var(--leading-relaxed) !important;
    margin-bottom: var(--space-md) !important;
    text-align: justify !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border: none !important;
}

.about-text img {
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-base);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.float-left-img {
    transform: rotate(-3deg) !important;
}

.float-left-img:hover {
    transform: rotate(-1deg) scale(1.05) !important;
    box-shadow: 0 15px 50px rgba(139, 111, 199, 0.5) !important;
}

.float-right-img {
    transform: rotate(3deg) !important;
}

.float-right-img:hover {
    transform: rotate(1deg) scale(1.05) !important;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.5) !important;
}

.float-right-img.no-rotate {
    transform: rotate(0deg) !important;
}

.float-right-img.no-rotate:hover {
    transform: rotate(0deg) scale(1.05) !important;
}

.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    padding: 20px 20px 20px;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #b8a3d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* O-Week Hero Section */
.oweek-hero {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
    margin: 0 auto;
    max-width: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.oweek-hero::before {
    display: none;
}

.oweek-main-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #b8a3d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oweek-subtitle-hero {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--accent-orange);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.oweek-countdown-hero {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(139, 111, 199, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(139, 111, 199, 0.3);
    display: inline-block;
}

/* O-Week Info Section */
.oweek-info-section {
    max-width: 1200px;
    margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.oweek-info-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: none;
    position: relative;
    overflow: visible;
}

.oweek-info-card::before {
    display: none;
}

.oweek-info-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.oweek-info-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    padding: 20px 0 15px;
    background: linear-gradient(135deg, #ffffff 0%, #b8a3d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oweek-info-card p {
    font-size: var(--font-base);
    line-height: var(--leading-relaxed);
    color: var(--white);
    margin: 0;
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .about-text {
        padding: var(--space-sm) var(--space-md);
        margin-bottom: var(--space-sm) !important;
        margin-top: var(--space-sm) !important;
    }
    
    .about-text img {
        float: none !important;
        display: block;
        margin: var(--space-sm) auto !important;
        max-width: 100%;
        width: 100% !important;
        max-height: 180px;
        object-fit: cover;
    }
    
    .float-left-img,
    .float-right-img {
        transform: rotate(0deg) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .float-left-img:hover,
    .float-right-img:hover {
        transform: scale(1.05) !important;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: clamp(1.3rem, 3.5vw, 2rem);
        padding: 15px 10px 8px;
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 801px) {
    .oweek-page {
        width: 70%;
        margin-left: 20%;
        padding: 5%;
    }
    .oweek-page .about-text {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }
    .oweek-homepage {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 var(--space-lg);
    }
    .oweek-book {
        width: 600px;
        margin: 5% auto;
    }
    .oweek-welcome {
        font-weight: 600;
        font-size: 3em;
        text-align: center;
        color: var(--white);
    }
}

.oweek-page {
    padding-top: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.oweek-page p {
    color: var(--white);
    font-size: var(--font-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--purple-300);
}

.oweek-page h3 {
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    margin: var(--space-lg) 0;
}

.oweek-page ul {
    color: var(--white);
    padding-left: var(--space-2xl);
    margin: var(--space-md) 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-2xl);
}

.oweek-page li {
    color: var(--white);
    font-size: var(--font-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-sm);
}

.oweek-page li::marker {
    color: var(--purple-300);
}

@media screen and (max-width: 800px) {
    .oweek-page {
        width: 95%;
        padding-top: var(--space-xl);
        padding-bottom: var(--space-2xl);
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    .oweek-page p {
        font-size: var(--font-base);
        padding: var(--space-md);
    }
    .oweek-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        padding: var(--space-sm) var(--space-lg);
    }
    .oweek-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        padding: var(--space-xs) var(--space-md);
    }
    .oweek-bio {
        width: 100%;
        max-width: 300px;
        margin: var(--space-md) auto;
    }
    .oweek-book {
        display: none;
    }
    .oweek-welcome {
        font-weight: 600;
        font-size: 2em;
        text-align: center;
        color: var(--white);
    }
}

.oweek-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-primary);
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--shadow-purple);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-xl);
}

.oweek-subtitle {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    background: linear-gradient(135deg, rgba(139, 111, 199, 0.3) 0%, rgba(184, 163, 217, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(139, 111, 199, 0.4);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    border-radius: var(--radius-md);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin: var(--space-lg) 0;
    box-shadow: 0 4px 16px rgba(139, 111, 199, 0.2);
}

.oweek-bio {
    margin: 0;
    box-shadow: var(--shadow-xl);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.oweek-bio:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl), var(--shadow-purple);
    border-color: var(--purple-300);
}

.oweek-bio h3 {
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: var(--font-2xl);
    margin: var(--space-md) 0;
}

.oweek-bio p {
    color: var(--white);
    background: transparent;
    padding: 0;
    border-left: none;
    margin-bottom: 0.25rem;
    font-size: var(--font-base);
    line-height: 1.3;
}

.oweek-bios {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-lg);
}

@media (max-width: 768px) {
    .oweek-bios {
        gap: var(--space-sm);
        padding: var(--space-sm);
    }
    
    .oweek-bio {
        padding: var(--space-md);
    }
}


.oweek-countdown {
    font-size: clamp(1rem, 3vw, 1.5rem);
    width: 100%;
    margin: 0 auto;
    color: var(--white);
    font-weight: 600;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
}

.oweek-countdown h2, .oweek-countdown h3 {
    font-weight: 700;
    color: var(--white);
    margin: var(--space-xs) 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.oweek-countdown h3 {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    color: var(--accent-cyan);
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
}

.oweek-countdown p {
    color: #3A3F4F;
    padding: 5px 20px;
}

@media screen and (max-width: 768px) {
    .oweek-countdown-hero {
        padding: var(--space-md);
        margin-top: var(--space-md);
    }
    
    .oweek-countdown h3 {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        word-break: break-word;
    }
    
    .oweek-countdown h2 {
        font-size: clamp(0.85rem, 3.5vw, 1.1rem);
    }
}

@media screen and (max-width: 480px) {
    .oweek-countdown-hero {
        padding: var(--space-sm) var(--space-md);
        margin-top: var(--space-sm);
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .oweek-countdown h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .oweek-countdown h2 {
        font-size: 0.9rem;
    }
}

.oweek-address {
    border: 2px solid var(--purple-300);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 400px;
    padding: var(--space-xl);
    margin: var(--space-xl) auto;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.oweek-address p {
    margin: var(--space-xs);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    background: transparent;
    padding: 0;
    border: none;
}

.oweek-book-buttons {
    display: flex;
    gap: var(--space-lg);
    width: 100%;
    max-width: 900px;
    margin: var(--space-2xl) auto;
}

.oweek-book-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, rgba(139, 111, 199, 0.9) 0%, rgba(167, 143, 219, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: var(--font-lg);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(139, 111, 199, 0.4);
    position: relative;
    overflow: hidden;
}

.oweek-book-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.oweek-book-button:hover::before {
    opacity: 1;
}

.oweek-book-button:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(139, 111, 199, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(139, 111, 199, 1) 0%, rgba(167, 143, 219, 1) 100%);
    color: var(--white) !important;
}

.oweek-book-button:hover span {
    color: var(--white) !important;
}

.oweek-book-button img {
    width: 40px;
    height: 40px;
}

.oweek-book-button span {
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .oweek-book-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .oweek-book-button {
        width: 100%;
    }
}

.oweek-book-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

@media (min-width: 769px) {
    .oweek-book-container {
        padding-left: auto !important;
        padding-right: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 90% !important;
    }
}

@media (min-width: 1024px) {
    .oweek-book-container {
        max-width: 80% !important;
    }
}

.oweek-book-embed {
    width: 100%;
    height: 1200px;
    border-radius: var(--radius-xl);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 10px 40px rgba(139, 111, 199, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(139, 111, 199, 0.15) 0%, rgba(167, 143, 219, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.oweek-book-embed embed {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .oweek-book-embed {
        height: 900px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 480px) {
    .oweek-book-embed {
        height: 700px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* Custom scrollbar styling for the PDF embed */
.oweek-book-embed::-webkit-scrollbar {
    width: 14px;
    background: transparent;
}

.oweek-book-embed::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(139, 111, 199, 0.15) 0%, rgba(167, 143, 219, 0.1) 100%);
    border-radius: 10px;
    margin: 8px 4px;
    border: 1px solid rgba(139, 111, 199, 0.2);
}

.oweek-book-embed::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(139, 111, 199, 0.9) 0%, rgba(167, 143, 219, 0.8) 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(139, 111, 199, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.2);
}

.oweek-book-embed::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(139, 111, 199, 1) 0%, rgba(167, 143, 219, 1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(139, 111, 199, 0.6), inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

.oweek-book-embed::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(167, 143, 219, 1) 0%, rgba(139, 111, 199, 1) 100%);
    box-shadow: 0 2px 8px rgba(139, 111, 199, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .oweek-book-embed::-webkit-scrollbar {
        width: 10px;
    }
}

/* Responsive Video Container */
.oweek-video-container {
    margin: var(--space-2xl) 0;
}

.oweek-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(139, 111, 199, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.oweek-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-xl);
}

.oweek-video-desktop {
    width: 560px;
    margin: 0 auto;
}

.oweek-video-mobile {
    width: 320px;
    margin: 3% auto;
}

@media screen and (min-width: 601px) {
    .oweek-video-mobile {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .oweek-video-desktop {
        display: none;
    }
}

/* Contact Page Styles */
.contact-card {
    background: linear-gradient(135deg, rgba(139, 111, 199, 0.1) 0%, rgba(167, 143, 219, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 111, 199, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(139, 111, 199, 0.5);
    box-shadow: 0 8px 30px rgba(139, 111, 199, 0.3);
    transform: translateY(-2px);
}

.contact-address-box {
    background: rgba(139, 111, 199, 0.15);
    border-left: 4px solid var(--accent-purple);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.contact-address-line {
    margin: 0.25rem 0 !important;
    font-size: 1.1rem !important;
    color: var(--white) !important;
    line-height: 1.6 !important;
}

.contact-note {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

.contact-note p {
    margin: 0 !important;
    font-size: 0.95rem !important;
    color: var(--white) !important;
    line-height: 1.6 !important;
}

.contact-label {
    font-weight: 600;
    color: var(--purple-300);
    margin-bottom: 0.5rem !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-email-link {
    font-size: 1.1rem !important;
    color: #FFD700 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-email-link:hover {
    color: #FFE44D !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.contact-person-card {
    background: linear-gradient(135deg, rgba(139, 111, 199, 0.15) 0%, rgba(167, 143, 219, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 111, 199, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-person-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), rgba(167, 143, 219, 0.5));
}

.contact-person-card:hover {
    border-color: rgba(139, 111, 199, 0.6);
    box-shadow: 0 10px 35px rgba(139, 111, 199, 0.4);
    transform: translateY(-4px);
}

.contact-role-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(139, 111, 199, 0.8), rgba(167, 143, 219, 0.6));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.contact-person-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem !important;
    font-weight: 700;
    color: var(--white) !important;
    margin: var(--space-sm) 0 var(--space-md) 0 !important;
    line-height: 1.3 !important;
}

.contact-person-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-link {
    color: var(--white) !important;
    text-decoration: none;
    font-size: 0.95rem !important;
    transition: all 0.3s ease;
    line-height: 1.5 !important;
}

.contact-link:hover {
    color: #FFD700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

@media (max-width: 768px) {
    .contact-card {
        padding: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .contact-address-box {
        padding: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .contact-note {
        padding: var(--space-sm);
    }

    .contact-note p {
        font-size: 0.85rem !important;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .contact-person-card {
        padding: var(--space-lg);
    }

    .contact-person-name {
        font-size: 1.1rem !important;
    }

    .contact-detail-item {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .contact-link {
        font-size: 0.9rem !important;
        word-break: break-word;
    }

    .contact-address-line {
        font-size: 0.9rem !important;
    }

    .contact-email-link {
        font-size: 0.9rem !important;
        word-break: break-all;
    }

    .contact-role-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Reduce section spacing on mobile */
    .oweek-page .about-text {
        margin-bottom: var(--space-sm) !important;
        padding: 0 !important;
    }

    .oweek-page .section-title {
        font-size: 1.3rem !important;
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        padding: 0 var(--space-sm) !important;
    }

    .oweek-hero {
        padding: var(--space-sm) var(--space-md) var(--space-xs);
    }

    .oweek-main-title {
        padding: 8px var(--space-sm);
        line-height: 1.15;
        margin-bottom: var(--space-xs);
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: var(--space-xs);
        border-radius: var(--radius-lg);
        margin-bottom: 0.5rem;
    }

    .contact-address-box {
        padding: var(--space-xs);
    }

    .contact-person-card {
        padding: var(--space-lg);
    }

    .contact-note {
        padding: var(--space-xs);
    }

    .contact-person-name {
        font-size: 1rem !important;
    }

    .contact-icon {
        font-size: 1rem;
    }

    .contact-link {
        font-size: 0.8rem !important;
    }

    .contact-address-line {
        font-size: 0.85rem !important;
    }

    .contact-email-link {
        font-size: 0.85rem !important;
    }

    .oweek-page .section-title {
        font-size: 1.1rem !important;
        margin-top: 0.3rem !important;
        margin-bottom: 0.3rem !important;
        padding: 0 var(--space-xs) !important;
    }

    /* Minimal margins on small mobile */
    .contact-grid {
        gap: 0.5rem;
    }

    .oweek-page .about-text {
        padding: 0 !important;
    }
}

/* ============================================================
 * HOME-PAGE SKIN OVERRIDE (Room Reservations only)
 *
 * Reuse the home-page typography + color tokens (--mc-*) on this page.
 * Only changes fonts, sizes, colors, and the box look of CTAs/cards —
 * layout / positioning / page structure stays exactly as before.
 * Scoped under .room-reservations-page so we don't touch other pages
 * that share the same legacy class names.
 * ============================================================ */

.room-reservations-page {
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-family: var(--mc-font-body);
}

/* ----- Hero heading ----- */
.room-reservations-page .oweek-hero {
    background: var(--mc-paper);
    text-align: center;
    padding: 80px 24px 48px;
    box-shadow: none;
}

.room-reservations-page .oweek-hero::before {
    display: none;
}

.room-reservations-page .oweek-main-title {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    color: var(--mc-purple-700);
    text-shadow: none;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--mc-purple-700);
    background-clip: initial;
    letter-spacing: 0;
}

/* ----- "Have a Question?" mid-page section title ----- */
.room-reservations-page .section-title {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--mc-purple-700);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--mc-purple-700);
    background-clip: initial;
    text-shadow: none;
    letter-spacing: 0;
    padding: 40px 16px 16px;
    margin-bottom: 20px;
}

/* ----- Subheader on each section (Category 1 / Category 2) ----- */
.room-reservations-page .category-subheader {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.4rem, 3.4vw, 2.6rem);
    line-height: 1.1;
    color: var(--mc-purple-700);
    text-shadow: none;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--mc-purple-700);
    background-clip: initial;
    margin: 0 0 16px;
    letter-spacing: 0;
}

/* ----- Card container (each .room-category Box) ----- */
.room-reservations-page .room-category {
    background: var(--mc-paper);
    color: var(--mc-ink);
    border: 1px solid rgba(74, 52, 112, 0.12);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 18px 48px -16px rgba(74, 52, 112, 0.25);
}

/* ----- Body text inside the cards ----- */
.room-reservations-page .room-category,
.room-reservations-page .room-category p,
.room-reservations-page .room-category li,
.room-reservations-page .room-category strong,
.room-reservations-page .room-category u {
    font-family: var(--mc-font-body);
    color: var(--mc-ink) !important;
    background: none !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.7;
}

.room-reservations-page .room-category p {
    font-size: 1rem;
    margin: 0 0 14px;
}

.room-reservations-page .room-category strong {
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    font-weight: 700;
}

.room-reservations-page .room-category ul {
    margin: 0 0 16px 22px;
    padding: 0;
}

.room-reservations-page .room-category ul ul {
    margin-top: 6px;
}

.room-reservations-page .room-category li {
    font-size: 1rem;
    margin-bottom: 6px;
}

.room-reservations-page .room-category a {
    color: var(--mc-purple-700);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 160ms ease;
}

.room-reservations-page .room-category a:hover,
.room-reservations-page .room-category a:focus-visible {
    color: var(--mc-purple-500);
}

/* ----- Reservation Form CTA banner ----- */
.room-reservations-page .banner-container {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

.room-reservations-page .accessibility-fund-banner {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    background: var(--mc-purple-700);
    color: var(--mc-paper);
    border-radius: 999px;
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(74, 52, 112, 0.30);
    transition: background 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 220ms ease;
}

.room-reservations-page .accessibility-fund-banner p {
    margin: 0 !important;
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    font-family: var(--mc-font-body) !important;
    font-weight: 600;
}

.room-reservations-page .banner-container a {
    text-decoration: none;
}

.room-reservations-page .banner-container a:hover .accessibility-fund-banner,
.room-reservations-page .banner-container a:focus-visible .accessibility-fund-banner {
    background: var(--mc-purple-500);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(74, 52, 112, 0.40);
}

/* ----- Email card in "Have a Question?" section ----- */
.room-reservations-page .reservation-email-link {
    margin: 0 auto;
    padding: 18px 24px;
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 48px -16px rgba(74, 52, 112, 0.25);
}

.room-reservations-page .reservation-link {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    line-height: 1.2;
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    background: none;
    text-shadow: none;
    margin: 0;
    transition: color 200ms ease;
}

.room-reservations-page .reservation-email-link a:hover .reservation-link,
.room-reservations-page .reservation-email-link a:focus-visible .reservation-link {
    color: var(--mc-purple-500) !important;
    -webkit-text-fill-color: var(--mc-purple-500);
}

/* ----- Calendar wrapper / note ----- */
.room-reservations-page .event-calendar-container {
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 48px -16px rgba(74, 52, 112, 0.28);
}

.room-reservations-page .center-div + .center-div .room-category {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 12px 24px;
}

.room-reservations-page .center-div + .center-div .room-category p {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(20, 12, 38, 0.6) !important;
    -webkit-text-fill-color: rgba(20, 12, 38, 0.6);
}

@media (max-width: 640px) {
    .room-reservations-page .oweek-hero {
        padding: 56px 16px 32px;
    }
    .room-reservations-page .room-category {
        padding: 22px 18px;
        border-radius: 14px;
    }
    .room-reservations-page .accessibility-fund-banner {
        padding: 12px 22px;
        font-size: 0.92rem;
    }
}

/* ============================================================
 * PURPLE BLOB title + body — Category sections
 *
 * Layout: a large purple organic blob
 * holding only the section title, with the body text laid out beside
 * it. Sections alternate sides — Category 1 has the blob on the
 * left, Category 2 on the right.
 * ============================================================ */

.room-reservations-page .rr-section {
    position: relative;
    width: 100%;
    margin: 120px 0;
    padding: 0 clamp(24px, 6vw, 96px);
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 1.4fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

/* events.css uses a negative top margin to tuck the calendar under the
 * events-page hero. On this page there's no hero above it, so the
 * pull-up overlaps the email card. Reset and add breathing room. */
.room-reservations-page .ev-calendar-wrap {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* ============================================================
 * "Questions?" contact line — sits directly below the Add to Calendar
 * button inside the CTA row, on its own line.
 * ============================================================ */
.room-reservations-page .ev-cta-row {
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.room-reservations-page .rr-contact-line {
    font-family: var(--mc-font-body);
    font-size: 0.92rem;
    color: rgba(20, 12, 38, 0.6);
    margin: 0;
    text-align: center;
}

.room-reservations-page .rr-contact-line a {
    color: var(--mc-purple-700);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 160ms ease;
}

.room-reservations-page .rr-contact-line a:hover,
.room-reservations-page .rr-contact-line a:focus-visible {
    color: var(--mc-purple-500);
}

/* Flip the hero swoosh from top-left (events page default) to top-right
 * on this page only. Horizontally mirror the SVG so the curve still
 * sweeps inward toward the heading. */
.room-reservations-page .ev-hero-swoosh {
    left: auto;
    right: calc(-200px * var(--s));
    transform: scaleX(-1);
}

/* Position the small ellipse below the lede text, nudged left of center. */
.room-reservations-page .ev-hero-ellipse-small {
    left: 50%;
    bottom: calc(-20px * var(--s));
    transform: translateX(calc(-50% - 120px * var(--s)));
    z-index: 3;
}

/* Hero needs to sit above the section below it so the ellipse (which
 * extends past the hero's bottom edge via bottom: -20px) renders on top
 * of the room cards instead of being hidden behind them. The hero has
 * isolation:isolate from events.css, so we have to lift the hero itself
 * in the parent stacking context — z-indexing the ellipse alone isn't
 * enough. */
.room-reservations-page .ev-hero {
    position: relative;
    z-index: 5;
    overflow: visible;
}

.room-reservations-page .rr-section-right {
    grid-template-columns: 1.4fr minmax(320px, 1fr);
}

.room-reservations-page .rr-section-right .rr-blob {
    grid-column: 2;
}

.room-reservations-page .rr-section-right .rr-section-body {
    grid-column: 1;
    grid-row: 1;
}

.room-reservations-page .rr-blob {
    position: relative;
    background: var(--mc-purple-500);
    color: var(--mc-paper);
    padding: 64px 48px;
    box-shadow: 0 24px 60px -20px rgba(74, 52, 112, 0.45);
    /* Organic blob shape: irregular border-radius corners */
    border-radius: 62% 38% 56% 44% / 48% 60% 40% 52%;
    text-align: center;
    aspect-ratio: 1 / 0.78;
    width: 100%;
    max-width: 480px;
    justify-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.room-reservations-page .rr-section-right .rr-blob {
    /* Mirror the blob so the asymmetry leans the other way */
    border-radius: 38% 62% 44% 56% / 60% 48% 52% 40%;
}

.room-reservations-page .rr-blob-title {
    font-family: var(--mc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: var(--mc-paper);
    margin: 0 0 12px;
    letter-spacing: 0;
}

.room-reservations-page .rr-blob-subtitle {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    margin: 0;
    line-height: 1.4;
    max-width: 80%;
}

/* ----- Body text beside the blob ----- */
.room-reservations-page .rr-section-body,
.room-reservations-page .rr-section-body p,
.room-reservations-page .rr-section-body li,
.room-reservations-page .rr-section-body strong,
.room-reservations-page .rr-section-body u {
    font-family: var(--mc-font-body);
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    background: none !important;
    line-height: 1.7;
}

.room-reservations-page .rr-section-body p {
    font-size: 1rem;
    margin: 0 0 14px;
}

.room-reservations-page .rr-section-body strong {
    color: var(--mc-purple-700) !important;
    -webkit-text-fill-color: var(--mc-purple-700);
    font-weight: 700;
}

.room-reservations-page .rr-section-body ul {
    margin: 0 0 16px 22px;
    padding: 0;
}

.room-reservations-page .rr-section-body ul ul {
    margin-top: 6px;
}

.room-reservations-page .rr-section-body li {
    font-size: 1rem;
    margin-bottom: 6px;
}

.room-reservations-page .rr-section-body li::marker {
    color: var(--mc-purple-500);
}

.room-reservations-page .rr-section-body a {
    color: var(--mc-purple-700);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 160ms ease;
}

.room-reservations-page .rr-section-body a:hover,
.room-reservations-page .rr-section-body a:focus-visible {
    color: var(--mc-purple-500);
}

@media (max-width: 768px) {
    .room-reservations-page .rr-section,
    .room-reservations-page .rr-section-right {
        grid-template-columns: 1fr;
        margin: 48px auto;
        gap: 28px;
    }
    .room-reservations-page .rr-section-right .rr-blob,
    .room-reservations-page .rr-section-right .rr-section-body {
        grid-column: 1;
    }
    .room-reservations-page .rr-section-right .rr-section-body {
        grid-row: auto;
    }
    .room-reservations-page .rr-blob {
        padding: 48px 32px;
        max-width: 100%;
        aspect-ratio: auto;
    }
}

/* Mobile CTA sits between blob and body; desktop CTA stays inside body */
.room-reservations-page .rr-cta-row-mobile {
    display: none;
    text-align: center;
    margin: 0;
    grid-column: 1;
}

@media (max-width: 768px) {
    .room-reservations-page .rr-cta-row-mobile {
        display: flex;
        justify-content: center;
    }
    .room-reservations-page .rr-cta-row-desktop {
        display: none;
    }
}

@media (max-width: 480px) {
    .room-reservations-page .rr-blob {
        padding: 40px 24px;
    }
    .room-reservations-page .rr-blob-subtitle {
        max-width: 90%;
    }
}

/* ----- Room cards (replaces nested <ul> of rooms) ----- */
.room-reservations-page .rr-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.room-reservations-page .rr-room-grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.room-reservations-page .rr-room-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--mc-paper);
    border: 1px solid rgba(74, 52, 112, 0.18);
    border-left: 3px solid var(--mc-purple-500);
    border-radius: 12px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.room-reservations-page .rr-room-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(74, 52, 112, 0.35);
    border-color: var(--mc-purple-500);
}

.room-reservations-page .rr-room-name {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--mc-purple-700);
    line-height: 1.3;
}

.room-reservations-page .rr-room-loc {
    font-family: var(--mc-font-body);
    font-size: 0.85rem;
    color: rgba(20, 12, 38, 0.65);
    line-height: 1.4;
}

/* ----- Callout (rule / approval note) ----- */
.room-reservations-page .rr-callout {
    position: relative;
    background: rgba(139, 111, 199, 0.10);
    border-left: 4px solid var(--mc-purple-500);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 0 0 28px;
}

.room-reservations-page .rr-callout-label {
    display: inline-block;
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mc-purple-700);
    background: rgba(139, 111, 199, 0.18);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.room-reservations-page .rr-callout p {
    margin: 0;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    line-height: 1.6;
    font-size: 0.98rem;
}

/* ----- Lede sentence above CTA ----- */
.room-reservations-page .rr-lede {
    font-size: 1.05rem !important;
    color: var(--mc-ink) !important;
    -webkit-text-fill-color: var(--mc-ink);
    margin: 0 0 18px !important;
}

/* ----- Big CTA button ----- */
.room-reservations-page .rr-cta-row {
    margin: 0 0 32px;
}

.room-reservations-page .rr-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--mc-purple-700);
    color: var(--mc-paper) !important;
    -webkit-text-fill-color: var(--mc-paper);
    font-family: var(--mc-font-body);
    font-weight: 600;
    font-size: 1.02rem;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 12px 28px -8px rgba(74, 52, 112, 0.45);
    transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
                background 200ms ease, box-shadow 200ms ease;
}

.room-reservations-page .rr-cta:hover,
.room-reservations-page .rr-cta:focus-visible {
    background: var(--mc-purple-500);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(74, 52, 112, 0.55);
}

.room-reservations-page .rr-cta-arrow {
    font-size: 1.15em;
    transition: transform 200ms ease;
}

.room-reservations-page .rr-cta:hover .rr-cta-arrow {
    transform: translateX(4px);
}

/* ----- "After you submit" notes block ----- */
.room-reservations-page .rr-notes {
    border-top: 1px solid rgba(74, 52, 112, 0.15);
    padding-top: 20px;
    margin-top: 8px;
}

.room-reservations-page .rr-notes h3 {
    font-family: var(--mc-font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(20, 12, 38, 0.55);
    margin: 0 0 12px;
}

.room-reservations-page .rr-notes ul {
    margin: 0 0 0 20px;
    padding: 0;
}

.room-reservations-page .rr-notes li {
    font-size: 0.95rem !important;
    line-height: 1.55;
    margin-bottom: 18px;
    color: rgba(20, 12, 38, 0.78) !important;
    -webkit-text-fill-color: rgba(20, 12, 38, 0.78);
}

.room-reservations-page .rr-notes li:last-child {
    margin-bottom: 0;
}

.room-reservations-page .rr-notes li::marker {
    color: var(--mc-purple-500);
}
