/* ============================================
   HOME V3 - 3D Typography Hero
   Inspired by PSG Jersey Design
   ============================================ */

:root {
    /* Primary */
    --maroon: #A6192E; /* Bologna Scarlet */
    --maroon-dark: #871218;
    --gold: #B3A369; /* Classic Gold */
    
    /* Support */
    --green: #006747; /* Emerald Green */
    --off-white: #F9F9F9; /* Parchment White */
    --sand: #F2E0AC;
    
    /* Neutrals */
    --charcoal: #1C1C1C; /* Midnight Onyx */
    --charcoal-mid: #1a1d24;
    --charcoal-light: #2a2f3a;
    
    /* Typography */
    --font-display: 'Open Sans', Arial, -apple-system, sans-serif;
    --font-body: 'Open Sans', Arial, -apple-system, sans-serif;
}

/* Base */
.home-v3 {
    background-color: var(--charcoal);
    font-family: var(--font-body);
    color: var(--off-white);
    overflow-x: hidden;
}

/* Scroll Snap for satisfying "clicky" scroll */
html:has(.home-v3) {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Hide scrollbar but allow scrolling */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* ============================================
   DARK THEME UTILITIES (Site-Wide Unification)
   ============================================ */
/* Apply to main content wrapper for dark pages */
.page-dark {
    background-color: var(--charcoal);
    color: var(--off-white);
    min-height: 100vh;
}

/* Dark Hero Section */
.hero-dark {
    background-color: var(--charcoal);
    color: white;
    padding: 8rem 1.5rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-dark-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 700;
}

.hero-dark-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    position: relative;
}

/* Dark Section */
.section-dark {
    background-color: var(--charcoal);
    color: var(--off-white);
    padding: 5rem 1.5rem;
}

.section-dark-alt {
    background-color: var(--charcoal-mid);
    color: var(--off-white);
    padding: 5rem 1.5rem;
}

/* Light Section (Balanced Layout) */
.section-light {
    background-color: #ffffff;
    color: var(--charcoal);
    padding: 5rem 1.5rem;
}

.section-light-alt {
    background-color: #f9fafb;
    color: var(--charcoal);
    padding: 5rem 1.5rem;
}

/* Light Section Header */
.section-header-light {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-header-light h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--charcoal);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-header-light .line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--maroon), transparent);
}

/* Light Card */
.card-light {
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.card-light:hover {
    border-color: var(--maroon);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

/* Stats Block (like Home page) */
.stats-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item-light {
    border-left: 3px solid var(--maroon);
    padding-left: 1rem;
}

.stat-item-light .stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--maroon);
    font-weight: 700;
}

.stat-item-light .stat-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
}

/* Pillar Bar (like Home Footer) */
.pillar-bar {
    background-color: var(--charcoal);
    padding: 1.5rem 1rem;
}

.pillar-bar .pillars-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.pillar-bar .pillar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.pillar-bar .pillar-item i {
    color: var(--gold);
}

/* Dark Card */
.card-dark {
    background-color: var(--charcoal-mid);
    border: 1px solid var(--charcoal-light);
    color: var(--off-white);
    transition: all 0.3s ease;
}

.card-dark:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

/* Dark profile card (for Brothers/Careers) */
.profile-card-dark {
    background-color: var(--charcoal-mid);
    border: 1px solid var(--charcoal-light);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.profile-card-dark:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.profile-card-dark .profile-image-container {
    width: 100%;
    aspect-ratio: 1/1.1;
    overflow: hidden;
    position: relative;
}

.profile-card-dark .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card-dark:hover .profile-img {
    transform: scale(1.05);
}

.profile-card-dark .profile-info {
    padding: 1.25rem;
}

.profile-card-dark .profile-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.25rem;
}

.profile-card-dark .profile-role {
    font-size: 0.9rem;
    color: var(--gold);
}

.profile-card-dark .profile-meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.5rem;
}

/* Section Headers */
.section-header-dark {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-header-dark h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    white-space: nowrap;
}

.section-header-dark .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--charcoal-light), transparent);
}

/* ============================================
   STANDARD PAGE HEADER
   ============================================ */
.page-header-v3 {
    background-color: var(--charcoal);
    color: var(--off-white);
    padding: 8rem 1.5rem 4rem; /* Top padding accounts for fixed nav */
    position: relative;
    overflow: hidden;
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-header-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--off-white);
    text-transform: uppercase;
    font-weight: 700;
}

.page-header-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Subtle background effects for headers */
.page-header-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(120%);
    z-index: 1;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(15, 17, 21, 0.3), 
        rgba(15, 17, 21, 1)
    );
    z-index: 2;
}



.home-v3 .hero-3d,
.home-v3 .section-about,
.home-v3 .pillars-strip {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* ============================================
   NAVBAR HIDE/REVEAL ON HOME-V3 (scroll only)
   ============================================ */

/* Make navbar fixed (not sticky) so it doesn't take up space */
/* Using !important to override Tailwind's sticky class */
/* Note: nav is inside section#layout > div.w-full > nav */
body.home-v3-nav-hidden section#layout nav,
body.home-v3-nav-visible section#layout nav {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 50;
}

body.home-v3-nav-hidden section#layout nav {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.home-v3-nav-visible section#layout nav {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   HERO - 3D TYPOGRAPHY SCENE
   ============================================ */
.hero-3d {
    position: relative;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(173, 33, 45, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(216, 165, 37, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* 3D Text Scene Container */
.text-scene {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    padding: 2rem 0;
}

/* Individual 3D Letters */
.letter-3d {
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(20rem, 45vw, 38rem);
    line-height: 0.8;
    font-weight: 700;
    letter-spacing: -0.02em;
    user-select: none;
    transform-style: preserve-3d;
}

.letter-k {
    left: -5%;
    top: 50%;
    transform: translateY(-50%) rotateY(-8deg);
    z-index: 1;
}

.letter-sigma {
    right: -5%;
    top: 50%;
    transform: translateY(-50%) rotateY(8deg);
    z-index: 1;
}

/* Letter Layers for 3D Effect */
.letter-shadow,
.letter-main,
.letter-highlight {
    position: absolute;
    top: 0;
    left: 0;
}

.letter-shadow {
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.3);
    transform: translate(8px, 8px);
    filter: blur(4px);
}

.letter-main {
    color: transparent;
    -webkit-text-stroke: 3px var(--off-white);
    position: relative;
}

.letter-highlight {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    transform: translate(-2px, -2px);
}

/* Brushstroke texture overlay */
.letter-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* House Image Container */
.hero-image-container {
    position: relative;
    z-index: 10;
    width: clamp(280px, 40vw, 500px);
    transform: rotateX(2deg) translateZ(50px);
    transition: transform 0.4s ease;
}

.hero-image-container:hover {
    transform: rotateX(0deg) translateZ(80px) scale(1.02);
}

.hero-house-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

/* MIT Text */
.mit-text {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    letter-spacing: 0.15em;
    z-index: 5;
}

.mit-shadow,
.mit-main {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.mit-shadow {
    color: rgba(0, 0, 0, 0.4);
    transform: translateX(-50%) translate(4px, 4px);
    filter: blur(8px);
}

.mit-main {
    color: var(--maroon);
    text-shadow: 
        2px 2px 0 var(--maroon-dark),
        4px 4px 0 rgba(0, 0, 0, 0.2);
}

/* Crest Badge */
.crest-badge {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.crest-badge img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Hero Tagline */
.hero-tagline {
    position: absolute;
    top: 6.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
}

.tagline-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.tagline-divider {
    color: rgba(255, 255, 255, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 20;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(4px);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    border-radius: 1px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { 
        opacity: 1; 
        transform: translateY(0);
    }
    50% { 
        opacity: 0.6; 
        transform: translateY(8px);
    }
}

.scroll-indicator span {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.section-about {
    background: var(--off-white);
    color: var(--charcoal);
    padding: 6rem 1.5rem;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    margin: 0;
    white-space: nowrap;
}

.header-line {
    flex: 1;
    height: 1px;
    background: var(--gold);
    max-width: 120px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.25rem;
}

.about-text p.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.6;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Stats */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 2rem;
    border-left: 2px solid var(--gold);
}

@media (max-width: 767px) {
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--gold);
        padding-top: 2rem;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--maroon);
    font-weight: 700;
}

.stat-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    margin-top: 0.25rem;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--maroon);
    color: white;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: var(--maroon-dark);
    transform: translateX(4px);
}

.cta-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ============================================
   PILLARS STRIP
   ============================================ */
.pillars-strip {
    background: var(--charcoal);
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pillar-icon {
    font-size: 1.25rem;
}

.pillar-name {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--off-white);
}

.pillar-divider {
    width: 1px;
    height: 24px;
    background: var(--gold);
    opacity: 0.4;
}

@media (max-width: 640px) {
    .pillars-strip {
        gap: 1rem;
    }
    
    .pillar-divider {
        display: none;
    }
    
    .pillar-item {
        flex: 0 0 45%;
        justify-content: center;
    }
}

/* ============================================
   NAV OVERRIDE
   ============================================ */
.nav-link-v3 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #555;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link-v3:hover {
    color: var(--maroon);
}

.nav-link-v3.active {
    color: var(--maroon);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .letter-3d {
        font-size: clamp(12rem, 35vw, 20rem);
    }
    
    .letter-k {
        left: -10%;
    }
    
    .letter-sigma {
        right: -10%;
    }
    
    .mit-text {
        bottom: 15%;
    }
    
    .hero-image-container {
        width: clamp(200px, 50vw, 300px);
    }
    
    .crest-badge img {
        height: 48px;
    }
    
    .hero-tagline {
        top: 5.5rem;
    }
}

@media (max-width: 480px) {
    .letter-3d {
        font-size: 10rem;
    }
    
    .letter-k {
        left: -15%;
    }
    
    .letter-sigma {
        right: -15%;
    }
    
    .mit-text {
        font-size: 3.5rem;
        bottom: 12%;
    }
    
    .section-about {
        padding: 4rem 1.25rem;
    }
}

/* ============================================
   CAREERS PAGE REDESIGN
   ============================================ */
.careers-minimal-intro {
    background-color: #fafafa;
    background-image: 
        linear-gradient(#e5e7eb 1px, transparent 1px), 
        linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 8rem 1.5rem 6rem;
    text-align: center;
}

.careers-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.careers-subheadline {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Reference Style Cards */
.career-card-v2 {
    position: relative;
    background: transparent;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.career-card-v2:hover {
    transform: translateY(-5px);
}

.career-image-container {
    width: 100%;
    aspect-ratio: 1 / 1.1; /* Slightly taller than square */
    position: relative;
    background-color: #f3f4f6; /* Placeholder gray */
    overflow: hidden;
}

.career-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.career-card-v2:hover .career-img {
    transform: scale(1.03);
}

/* Overlay Box */
.career-info-overlay {
    position: absolute;
    bottom: 1rem; /* Floating from bottom */
    left: 50%;
    transform: translateX(-50%); /* Centered */
    width: 90%; /* Smaller width */
    background: rgba(255, 255, 255, 0.75); /* More translucent */
    backdrop-filter: blur(12px); /* Frosted glass effect */
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    /* No border-top, full border for floating card */
}

.career-name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.career-role {
    font-size: 0.9rem;
    color: var(--ks-red);
    font-weight: 500;
}

.career-linkedin {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A66C2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.career-card-v2:hover .career-linkedin {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   EVENTS PAGE REDESIGN
   ============================================ */
.events-minimal-intro {
    padding: 8rem 1.5rem 6rem;
    text-align: center;
    background-color: var(--charcoal); /* Darker, "cool" vibe */
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern for intro */
.events-minimal-intro::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.events-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem); /* HUGE bold type */
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    position: relative;
}

.events-subheadline {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    position: relative;
}

/* Modern Editorial Card */
.event-card-modern {
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.event-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--ks-gold);
}

.event-image-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card-modern:hover .event-img {
    transform: scale(1.05); /* Gentle zoom */
}

/* Type Badge overlay */
.event-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.event-content {
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

/* Big Date Layout */
.event-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    min-width: 3.5rem;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--ks-red);
}

.event-month {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
}

.event-details {
    flex: 1;
}

.event-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.event-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   HEADER MODIFIERS (DIVERSIFICATION)
   ============================================ */
.page-header-v3--image {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--charcoal); /* Fallback */
    padding-top: 6rem; /* Adjust for fixed nav */
    padding-bottom: 2rem;
}

/* Image Background & Overlay System */
.page-header-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.page-header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05); /* Slight scale for depth */
}

/* Overlays */
.header-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* 1. Standard Dark (Default) */
.header-overlay--dark {
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0.4), rgba(15, 17, 21, 0.95));
}

/* 2. Energetic Maroon (Rush) */
.header-overlay--maroon {
    background: linear-gradient(to bottom, rgba(118, 22, 33, 0.5), rgba(15, 17, 21, 0.95));
    mix-blend-mode: multiply; /* Blends color into image */
}
/* Additional gradient for depth on top of multiply */
.header-overlay--maroon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 17, 21, 1));
}

/* 3. Prestige Gold (Alumni/Donate) */
.header-overlay--gold {
    background: linear-gradient(to bottom, rgba(180, 140, 40, 0.35), rgba(15, 17, 21, 0.95));
}

/* 4. Natural/Community (Brothers) */
.header-overlay--natural {
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0.2), rgba(15, 17, 21, 0.9));
}

/* Ensure content is above overlay */
.page-header-content {
    z-index: 10;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5); /* Enhance readability on images */
}
