/* =============================================
   L8 Community — Modern Stylesheet
   Colour scheme: Black (#000) + Pink (#B1005F)
   Tab-based layout with modern components
   ============================================= */

:root {
    --bg-color: #000000;
    --surface-color: #121212;
    --surface-hover: #1e1e1e;
    --accent-pink: #B1005F;
    --accent-pink-light: #ff4d94;
    --accent-pink-glow: rgba(177, 0, 95, 0.4);
    --text-main: #ffffff;
    --text-muted: #c0c0c0;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --transition-slick: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-base: 18px;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ── Light Mode Overrides ── */
[data-theme="light"] {
    --bg-color: #ffffff;
    --surface-color: #f4f4f4;
    --surface-hover: #e8e8e8;
    --text-main: #000000;
    --text-muted: #444444;
    --accent-pink-glow: rgba(177, 0, 95, 0.2);
}

[data-theme="light"] .site-header {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .tab-list button {
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .tab-panel {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-drawer {
    background: linear-gradient(180deg, var(--surface-color) 0%, #e8e8e8 100%);
    border-left-color: rgba(177, 0, 95, 0.2);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .event-card,
[data-theme="light"] .card-grid li,
[data-theme="light"] .faq-item,
[data-theme="light"] .contact-info-card {
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .timeline-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-item.open .faq-question {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-section-nav a {
    color: var(--accent-pink);
}

[data-theme="light"] .tab-panel hr {
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .site-footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] #password-input {
    border-color: rgba(0, 0, 0, 0.2);
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    background-image: radial-gradient(ellipse 80% 40% at 50% -5%, rgba(177, 0, 95, 0.08) 0%, transparent 65%);
    line-height: 1.7;
    font-size: var(--font-base);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Password Gate ── */
html:not(.unlocked) .site-header,
html:not(.unlocked) .skip-link,
html:not(.unlocked) .drawer-overlay,
html:not(.unlocked) .mobile-drawer,
html:not(.unlocked) main,
html:not(.unlocked) .site-footer {
    display: none !important;
}

#password-gate {
    display: none;
}

html:not(.unlocked) #password-gate {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.password-gate-box {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.password-gate-logo {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.password-gate-box h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.password-gate-box > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

#password-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#password-input {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
    text-align: center;
    width: 100%;
    transition: border-color 0.2s;
}

#password-input:focus-visible {
    outline: 2px solid var(--accent-pink);
    outline-offset: 3px;
}

#password-input:focus {
    border-color: var(--accent-pink);
}

#password-input.error {
    border-color: #ff4d4d;
    animation: shake 0.35s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-8px); }
    75%       { transform: translateX(8px); }
}

#password-form button {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-pink-light));
    border: none;
    border-radius: var(--radius-pill);
    color: #ffffff;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.9rem 2rem;
    text-transform: uppercase;
    transition: var(--transition-slick);
    box-shadow: 0 4px 15px var(--accent-pink-glow);
}

#password-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-pink-glow);
}

.password-error {
    color: #ff4d4d;
    font-size: 0.85rem;
    min-height: 1.2em;
    margin: 0;
}

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 9999;
    background: var(--accent-pink);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--radius-md) 0;
    font-weight: 700;
    text-decoration: none;
    transition: left 0.2s;
}

.skip-link:focus {
    left: 0;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 2rem;
    color: var(--text-main);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

a {
    color: var(--accent-pink-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-slick);
}

a:hover {
    text-shadow: 0 0 10px var(--accent-pink-glow);
}

/* Global focus-visible indicator */
*:focus-visible {
    outline: 2px solid var(--accent-pink);
    outline-offset: 3px;
}

/* ── Header & Navigation ── */
.site-header {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(177, 0, 95, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-container {
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
    transition: var(--transition-slick);
}

.logo-img:hover {
    opacity: 0.85;
}

/* Tab List */
.tab-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-list::-webkit-scrollbar {
    display: none;
}

.tab-list button {
    background-color: var(--surface-color);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-slick);
}

.tab-list button:hover {
    background-color: var(--surface-hover);
    color: var(--text-main);
    transform: translateY(-2px);
}

.tab-list button[aria-selected="true"] {
    background-color: var(--accent-pink);
    color: #ffffff;
    border-color: var(--accent-pink);
    box-shadow: 0 4px 15px var(--accent-pink-glow);
}

/* Hamburger Button — right-aligned, slick pill style */
.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    cursor: pointer;
    padding: 0.65rem 0.85rem;
    z-index: 250;
    order: 99;
    transition: var(--transition-slick);
}

.hamburger:hover {
    background: var(--surface-hover);
    border-color: rgba(177, 0, 95, 0.3);
    box-shadow: 0 0 12px var(--accent-pink-glow);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.hamburger.open {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px var(--accent-pink-glow);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Drawer — premium slide-in from right */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 150;
    backdrop-filter: blur(0px);
    pointer-events: none;
    transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.drawer-overlay.open {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, var(--surface-color) 0%, #0a0a0a 100%);
    border-left: 1px solid rgba(177, 0, 95, 0.15);
    z-index: 200;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    transform: translateX(0);
}

/* Drawer header area */
.mobile-drawer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-pink-light), var(--accent-pink));
    margin-bottom: 1rem;
}

.mobile-drawer ul {
    list-style: none;
    padding: 4.5rem 1.25rem 2rem;
}

.mobile-drawer li {
    margin-bottom: 0.25rem;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-drawer.open li {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for drawer items */
.mobile-drawer.open li:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-drawer.open li:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-drawer.open li:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-drawer.open li:nth-child(4) {
    transition-delay: 0.2s;
}

.mobile-drawer.open li:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-drawer.open li:nth-child(6) {
    transition-delay: 0.3s;
}

.mobile-drawer.open li:nth-child(7) {
    transition-delay: 0.35s;
}

.mobile-drawer.open li:nth-child(8) {
    transition-delay: 0.4s;
}

.drawer-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition-slick);
    position: relative;
    letter-spacing: 0.3px;
}

.drawer-link::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-pink);
    margin-right: 0.75rem;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.drawer-link:hover,
.drawer-link:focus {
    background: rgba(177, 0, 95, 0.1);
    color: var(--text-main);
    padding-left: 1.5rem;
}

.drawer-link:hover::before,
.drawer-link:focus::before {
    opacity: 1;
}

/* ── Main Content Container ── */
.container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    flex: 1;
}

/* ── Tab Panels ── */
.tab-panel {
    display: none;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: panelIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(15px);
}

.tab-panel.active {
    display: block;
}

@keyframes panelIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Intro Key Areas Grid ── */
.key-areas-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.75rem 0 2.5rem;
}

.key-area-card {
    background: rgba(177, 0, 95, 0.05);
    border: 1px solid rgba(177, 0, 95, 0.28);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
    transition: var(--transition-slick);
    box-shadow: 0 0 10px rgba(177, 0, 95, 0.1);
}

.key-area-card:hover {
    background: rgba(177, 0, 95, 0.1);
    border-color: rgba(177, 0, 95, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(177, 0, 95, 0.12);
}

.key-area-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

.key-area-title::after {
    content: " —";
    font-weight: 400;
    color: var(--text-muted);
}

.key-area-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

[data-theme="light"] .key-area-card {
    background: rgba(177, 0, 95, 0.04);
    border-color: rgba(177, 0, 95, 0.15);
}

[data-theme="light"] .key-area-card:hover {
    background: rgba(177, 0, 95, 0.08);
}

/* ── L8 Map ── */
.l8-map-container {
    margin: 1.5rem 0 2.5rem;
    border: 1px solid rgba(177, 0, 95, 0.28);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(177, 0, 95, 0.04);
    padding: 1rem;
    box-shadow: 0 0 14px rgba(177, 0, 95, 0.12);
}

.l8-map-img {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
    border-radius: calc(var(--radius-md) - 4px);
}

[data-theme="light"] .l8-map-container {
    background: rgba(177, 0, 95, 0.03);
    border-color: rgba(177, 0, 95, 0.2);
}

/* ── Progress Timeline ── */
.progress-timeline {
    list-style: none;
    position: relative;
    padding-left: 3rem;
    margin-top: 2rem;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-pink), rgba(177, 0, 95, 0.2));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-slick);
}

.timeline-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(177, 0, 95, 0.3);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.9rem;
    top: 1.75rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink-glow);
    transition: var(--transition-slick);
}

.timeline-item:hover::before {
    background-color: var(--accent-pink);
    box-shadow: 0 0 18px var(--accent-pink);
}

/* Status badges for timeline */
.phase-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.75rem;
    vertical-align: middle;
}

.phase-badge.completed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.phase-badge.in-progress {
    background: rgba(177, 0, 95, 0.15);
    color: var(--accent-pink-light);
    border: 1px solid rgba(177, 0, 95, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

.phase-badge.upcoming {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* ── Event Cards ── */
.events-wrapper {
    margin-top: 2rem;
}

.events-day-group {
    margin-bottom: 2.5rem;
}

.events-day-header {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    border-left: 4px solid var(--accent-pink);
    padding-left: 0.75rem;
    margin-bottom: 1rem;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
}

.event-card {
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: var(--transition-slick);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-pink-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(177, 0, 95, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.event-card:hover::before {
    opacity: 1;
}

.event-date {
    display: inline-block;
    background: rgba(177, 0, 95, 0.12);
    color: var(--accent-pink-light);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
    align-self: center;
}

.event-card-body {
    flex: 1;
    min-width: 0;
}

.event-card h3,
.event-card h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: var(--text-main);
}

.event-location {
    font-size: 0.85rem;
    color: var(--accent-pink-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.event-location::before {
    content: '📍 ';
}

.event-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ── Survey & Resource Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    list-style: none;
}

.card-grid li {
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 0;
    transition: var(--transition-slick);
}

.card-grid li:hover {
    transform: translateY(-4px);
    border-color: rgba(177, 0, 95, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card-grid li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.card-grid li a:hover {
    text-shadow: none;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(177, 0, 95, 0.1);
    border-radius: 12px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.card-icon--arrow {
    background: var(--accent-pink) !important;
    border-radius: 50% !important;
    font-size: 0;
}

.card-icon--arrow::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid #ffffff;
    border-right: 2.5px solid #ffffff;
    transform: rotate(45deg) translate(-1px, 1px);
}

/* ── FAQ Section Nav ── */
.faq-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
}

.faq-section-nav a {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--accent-pink);
    border-radius: var(--radius-pill, 999px);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-slick);
    white-space: nowrap;
}

.faq-section-nav a:hover,
.faq-section-nav a:focus-visible {
    background: var(--accent-pink);
    color: #fff;
}

/* ── FAQ Accordion (smooth animated) ── */
.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-slick);
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(177, 0, 95, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--text-main);
    transition: var(--transition-slick);
    font-size: 1.05rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    display: block;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-pink-light);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item.open .faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--accent-pink-light);
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-content {
    overflow: hidden;
}

.faq-content-inner {
    padding: 0 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease 0s, padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
}

.faq-item.open .faq-content-inner {
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease 0.1s, padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── CTA Button ── */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-pink-light));
    color: #ffffff;
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-top: 2rem;
    transition: var(--transition-slick);
    box-shadow: 0 4px 15px var(--accent-pink-glow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 20px var(--accent-pink-glow);
    opacity: 0;
    animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(177, 0, 95, 0.6);
    color: #ffffff;
    text-shadow: none;
}

/* ── Intro Logo ── */
.intro-logo-container {
    text-align: center;
    margin-bottom: 2.5rem;
}

.intro-logo {
    max-width: 220px;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 10px 20px var(--accent-pink-glow));
    transition: var(--transition-slick);
}

.intro-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 20px var(--accent-pink-glow));
}

/* ── WWL Logo ── */
.wwl-logo-container {
    text-align: center;
    margin-top: 2.5rem;
}

.wwl-logo-container img {
    max-width: 480px;
    width: 100%;
    height: auto;
}

/* Intro panel hero content */
#intro-panel {
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: none;
    align-items: stretch;
    justify-content: center;
}

#intro-panel.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

/* Intro hero glow */
#intro-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(177, 0, 95, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(177, 0, 95, 0.06) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% {
        background: radial-gradient(ellipse at 30% 50%, rgba(177, 0, 95, 0.1) 0%, transparent 60%),
            radial-gradient(ellipse at 70% 80%, rgba(177, 0, 95, 0.06) 0%, transparent 50%);
    }

    100% {
        background: radial-gradient(ellipse at 50% 40%, rgba(177, 0, 95, 0.15) 0%, transparent 65%),
            radial-gradient(ellipse at 30% 70%, rgba(177, 0, 95, 0.08) 0%, transparent 55%);
    }
}

#intro-panel>* {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

#intro-panel>*:nth-child(1) {
    animation-delay: 0.1s;
}

#intro-panel>*:nth-child(2) {
    animation-delay: 0.2s;
}

#intro-panel>*:nth-child(3) {
    animation-delay: 0.3s;
}

#intro-panel>*:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Contact Info Cards ── */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-slick);
}

.contact-info-card:hover {
    border-color: rgba(177, 0, 95, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(177, 0, 95, 0.1);
    border-radius: 12px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-email {
    color: var(--accent-pink-light);
    font-size: 0.92rem;
}

/* ── Footer ── */
.site-footer {
    background: var(--surface-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-pink-light), var(--accent-pink), transparent);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h2 {
    color: var(--accent-pink-light);
    margin-bottom: 1rem;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
}

.footer-col a:hover {
    color: var(--text-main);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-wwl-logo {
    height: 80px;
    width: auto;
    display: block;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 1.5rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Footer tab link buttons */
.footer-tab-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-slick);
}

.footer-tab-link:hover {
    color: var(--text-main);
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
    .key-area-card {
        flex-direction: column;
        gap: 0.25rem;
    }

    .key-area-title {
        white-space: normal;
    }

    .key-area-title::after {
        content: "";
    }

    .tab-list {
        display: none;
    }

    .header-container {
        justify-content: flex-start;
    }

    .hamburger {
        display: flex;
        order: -1;
    }

    .logo-container {
        margin-left: auto;
    }

    .tab-panel {
        padding: 2rem 1.25rem;
    }

    .events-grid {
        gap: 0.75rem;
    }

    .event-card {
        flex-direction: column;
        gap: 0.6rem;
        padding: 1rem;
    }

    .event-date {
        align-self: flex-start;
        font-size: 0.85rem;
        padding: 0.25rem 0.65rem;
        white-space: normal;
    }

    .event-card h4 {
        font-size: 0.95rem;
    }

    .event-desc {
        font-size: 0.875rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .progress-timeline {
        padding-left: 2.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

@media (min-width: 768px) {
    .tab-panel {
        padding: 4rem;
    }

    #intro-panel.active {
        min-height: 55vh;
    }
}

/* ── Blockquote callout boxes ── */
.tab-panel blockquote {
    border-left: 4px solid var(--accent-pink);
    background: rgba(177, 0, 95, 0.07);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 3rem 1.25rem 1.75rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.tab-panel blockquote::after {
    content: '\201C';
    position: absolute;
    right: 0.75rem;
    top: -1rem;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--accent-pink);
    opacity: 0.12;
    font-family: Georgia, 'Times New Roman', serif;
    pointer-events: none;
    user-select: none;
}

.tab-panel blockquote p {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.7;
}

.tab-panel blockquote a {
    color: var(--accent-pink-light);
}

/* ── Horizontal rule separator ── */
.tab-panel hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 2rem 0;
}

/* ── Secondary notes — italic paragraphs after a divider ── */
.tab-panel hr + p em:only-child,
.tab-panel hr + p > em:first-child {
    color: var(--text-muted);
}

.tab-panel hr + p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── General list styling inside tab panels ── */
.tab-panel ul:not(.progress-timeline):not(.card-grid),
.tab-panel ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.tab-panel ul:not(.progress-timeline):not(.card-grid) li,
.tab-panel ol li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ── Panel loading spinner ── */
.panel-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(177, 0, 95, 0.2);
    border-top-color: var(--accent-pink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ── Theme Toggle Button ── */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--surface-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--radius-pill) !important;
    cursor: pointer;
    padding: 0.55rem 1rem !important;
    flex-shrink: 0;
    transition: var(--transition-slick);
    color: var(--text-muted) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    font-size: 0.85rem !important;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

.theme-toggle:hover {
    background: var(--surface-hover);
    border-color: rgba(177, 0, 95, 0.4);
    box-shadow: 0 0 12px var(--accent-pink-glow);
    color: var(--text-main);
}

/* Icon always uses accent-pink so it's visible against any background */
.theme-toggle-icon::before {
    content: '☀';
    font-size: 1rem;
    line-height: 1;
    color: var(--accent-pink-light);
}

[data-theme="light"] .theme-toggle-icon::before {
    content: '☽';
}

/* Drawer variant — full-width, matches .drawer-link style */
.theme-toggle.drawer-theme-toggle {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    background: none;
    border: none;
    gap: 0.75rem;
    font-size: 1.05rem;
    box-shadow: none;
}

.theme-toggle.drawer-theme-toggle:hover {
    background: rgba(177, 0, 95, 0.1);
    border-color: transparent;
    box-shadow: none;
}

[data-theme="light"] .theme-toggle {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-muted);
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

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