/* ==========================================================================
   Rizal Standard Academy - Public Website Styles
   ========================================================================== */

:root {
    /* Color System */
    --navy-deep: #091225;
    --navy: #0d1b33;
    --navy-light: #16284a;
    --brand-blue: #2563eb;
    --gold: #d4af37;
    --gold-soft: #f3e5ab;
    --gold-dark: #aa8c2c;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    
    /* Text Colors */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    
    /* Structure */
    --header-h: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Action & Back Button Design Tokens */
    --btn-archive-text: #b4534f;
    --btn-archive-border: #f87171;
    --btn-archive-bg: #ffffff;
    --btn-archive-hover-bg: rgba(180, 83, 79, 0.08);
    --btn-archive-hover-border: #dc2626;
    --btn-archive-active-bg: rgba(180, 83, 79, 0.15);
    
    --btn-reject-text: #b4534f;
    --btn-reject-border: #f87171;
    --btn-reject-bg: #ffffff;
    --btn-reject-hover-bg: rgba(180, 83, 79, 0.08);
    --btn-reject-hover-border: #dc2626;
    --btn-reject-active-bg: rgba(180, 83, 79, 0.15);

    --btn-back-size: 40px;
    --btn-back-bg: #ffffff;
    --btn-back-border: #e2e8f0;
    --btn-back-text: #334155;
    --btn-back-hover-bg: #f8fafc;
    --btn-back-hover-border: #cbd5e1;
    --btn-back-hover-text: #0f172a;
    --btn-back-focus-ring: rgba(37, 99, 235, 0.35);

    /* Responsive Breakpoint Tokens */
    --bp-phone: 480px;
    --bp-tablet: 768px;
    --bp-laptop: 1024px;
    --bp-desktop: 1280px;
    --bp-wide: 1536px;

    /* Fluid Typography & Spacing Tokens */
    --font-fluid-h1: clamp(1.85rem, 4vw + 1rem, 3.25rem);
    --font-fluid-h2: clamp(1.4rem, 2.5vw + 0.8rem, 2.25rem);
    --font-fluid-h3: clamp(1.15rem, 1.5vw + 0.7rem, 1.5rem);
    --font-fluid-body: clamp(0.92rem, 0.3vw + 0.82rem, 1rem);
    --container-pad: clamp(1rem, 3vw, 2rem);
    --touch-min: 44px;

    /* Safe Area Insets for Mobile Notches */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--safe-top));
    min-height: 100vh;
    min-height: 100dvh;
}

#home,
#about,
#events,
#history,
#merch {
    scroll-margin-top: calc(var(--nav-height-top, 80px) + 16px);
}

body {
    min-height: 100vh;
    min-height: 100dvh;
}

body.public-site {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, picture, video, canvas {
    max-width: 100%;
    height: auto;
}

svg {
    max-width: 100%;
}

/* Ensure mobile form fields do not cause iOS auto-zoom */
input, select, textarea {
    font: inherit;
    font-size: 16px;
}

@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="search"],
    input[type="date"],
    input[type="datetime-local"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

p, h1, h2, h3, h4, h5, h6, span, a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--navy-deep);
}

.serif-heading {
    font-family: var(--font-serif);
    font-weight: 700;
}

.text-gold {
    color: var(--gold);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-blue);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-deep);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Scroll Reveals */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Buttons
   ========================================================================== */

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

.btn-primary, .btn-secondary, .btn-outline, .btn-outline-light, .btn-outline-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1d4ed8 100%);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:focus-visible, .btn-secondary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--navy);
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--navy-deep);
}

.btn-outline-sm {
    background-color: transparent;
    color: var(--brand-blue);
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--brand-blue);
    font-size: 0.85rem;
}

.btn-outline-sm:hover {
    background-color: var(--brand-blue);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.btn-text {
    background: none;
    color: var(--brand-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--navy);
    gap: 0.5rem;
}

.text-link {
    background: none;
    border: none;
    color: var(--text-light);
    padding: 0;
    font-size: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--white);
}

/* ==========================================================================
   Header & Navigation (Premium Redesign)
   ========================================================================== */

:root {
    /* Navbar Customization */
    --nav-bg-color: 13, 30, 75; /* Navy */
    --nav-bg-opacity-top: 0.65;
    --nav-bg-opacity-scrolled: 0.95;
    --nav-blur: 14px;
    --nav-text-color: #ffffff;
    --nav-hover-color: var(--gold);
    --nav-height-top: 90px;
    --nav-height-scrolled: 72px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height-top);
    z-index: 100;
    background: rgba(var(--nav-bg-color), var(--nav-bg-opacity-top));
    backdrop-filter: blur(var(--nav-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: navSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@supports not (backdrop-filter: blur(10px)) {
    .site-header {
        background: rgba(var(--nav-bg-color), 0.95);
    }
}

.site-header.is-scrolled {
    height: var(--nav-height-scrolled);
    background: rgba(var(--nav-bg-color), var(--nav-bg-opacity-scrolled));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    z-index: 101;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover {
    transform: scale(1.03);
}

.brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand__text {
    display: flex;
    flex-direction: column;
    color: var(--nav-text-color);
}

.brand__name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.brand__sub {
    font-size: 0.75rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav__list {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.nav-link {
    color: var(--nav-text-color);
    font-size: 0.95rem; /* ~15px */
    font-weight: 600; /* Bolder for contrast */
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6); /* Guarantee contrast */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--nav-hover-color);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-link:hover,
.nav-link.active,
.nav-link.is-active,
.nav-link[aria-current="page"] {
    color: var(--nav-hover-color);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link.is-active::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
    left: 0;
}

.nav-link:focus-visible {
    outline: 2px solid var(--nav-hover-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-actions {
    display: flex;
    align-items: center;
}

/* Standout CTA Button */
.btn-portal {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-deep);
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4), inset 0 1px 1px rgba(255,255,255,0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6), inset 0 1px 1px rgba(255,255,255,0.6);
    background: linear-gradient(135deg, #e5c351 0%, var(--gold) 100%);
    color: var(--navy-deep);
}

.btn-portal:hover::before {
    left: 150%;
}

.btn-portal:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.btn-portal:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: var(--touch-min, 44px);
    min-height: var(--touch-min, 44px);
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
    border-radius: 8px;
    box-sizing: border-box;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--nav-text-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Entrance Animations */
@keyframes navSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.main-nav__list li {
    opacity: 0;
    animation: chFadeInUp 0.5s ease forwards;
}
.main-nav__list li:nth-child(1) { animation-delay: 0.1s; }
.main-nav__list li:nth-child(2) { animation-delay: 0.15s; }
.main-nav__list li:nth-child(3) { animation-delay: 0.2s; }
.main-nav__list li:nth-child(4) { animation-delay: 0.25s; }
.main-nav__list li:nth-child(5) { animation-delay: 0.3s; }
.nav-actions {
    opacity: 0;
    animation: chFadeInUp 0.5s ease forwards 0.4s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    .site-header, .main-nav__list li, .nav-actions {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .brand:hover, .btn-portal:hover {
        transform: none;
    }
}

/* Mobile Responsive Nav */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
        z-index: 102; /* Above the open nav */
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(var(--nav-bg-color), 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }

    .main-nav.is-open {
        right: 0;
    }
    
    .main-nav__list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.35rem;
        padding: 0.75rem 2rem; /* Large tap targets */
    }

    /* Burger to X Animation */
    .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: var(--navy-deep);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-h);
}

/* Abstract Branding Background */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--navy-light);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.15);
    bottom: -100px;
    left: -200px;
}

.shape-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-desc { margin-inline: auto; }
    .hero-cta-group { justify-content: center; }
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--gold-soft);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Seal Visual Composition */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.seal-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gold);
    filter: blur(60px);
    opacity: 0.15;
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from { opacity: 0.15; transform: scale(0.9); }
    to { opacity: 0.25; transform: scale(1.15); }
}

.hero-seal {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
    animation: floatSeal 6s ease-in-out infinite;
}

@keyframes floatSeal {
    0%, 100% { transform: translateY(0); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
    50% { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }
}

@media (max-width: 400px) {
    .seal-container { transform: scale(0.8); margin: 0 auto; }
}

.seal-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.seal-ring-1 {
    width: 280px;
    height: 280px;
    border-style: dashed;
    animation: rotateRing 20s linear infinite;
}

.seal-ring-2 {
    width: 340px;
    height: 340px;
    border-color: rgba(212, 175, 55, 0.2);
    border-width: 2px;
    border-style: dotted;
    animation: rotateRing 30s linear infinite reverse;
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   Quick Discovery
   ========================================================================== */

.quick-discovery {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 5rem;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .discovery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .discovery-grid { grid-template-columns: 1fr; }
}

.discovery-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--bg-alt);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-align: center;
    border: none;
}

.discovery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-blue);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.discovery-card:hover .card-icon {
    background: var(--brand-blue);
    color: var(--white);
}

.discovery-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.discovery-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-intro {
    max-width: 500px;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: var(--brand-blue);
    margin: 1.5rem 0;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.mission-vision-grid {
    display: grid;
    gap: 2rem;
}

.mv-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--gold);
}

.mv-icon {
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy-deep);
}

.mv-list {
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mv-list li {
    margin-bottom: 0.5rem;
}

.mv-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   History Timeline
   ========================================================================== */

.history-section {
    padding: 6rem 0;
    background: var(--navy-deep);
    color: var(--white);
}

.history-section .section-title {
    color: var(--white);
}

.history-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.timeline-container {
    margin-top: 4rem;
    position: relative;
    max-width: 1000px;
    margin-inline: auto;
}

/* Desktop Horizontal Timeline */
@media (min-width: 769px) {
    .timeline-line {
        position: absolute;
        top: 24px;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .timeline-items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .timeline-marker {
        width: 16px;
        height: 16px;
        background: var(--navy-deep);
        border: 2px solid var(--gold);
        border-radius: 50%;
        margin: 17px auto 2rem;
        position: relative;
        z-index: 2;
        transition: var(--transition);
    }
    
    .timeline-item:hover .timeline-marker {
        background: var(--gold);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    }
    
    .timeline-content {
        text-align: center;
    }
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Mobile Vertical Timeline */
@media (max-width: 768px) {
    .timeline-line {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 24px;
        width: 2px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .timeline-items {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    
    .timeline-item {
        position: relative;
        padding-left: 60px;
    }
    
    .timeline-marker {
        position: absolute;
        left: 17px;
        top: 5px;
        width: 16px;
        height: 16px;
        background: var(--navy-deep);
        border: 2px solid var(--gold);
        border-radius: 50%;
        z-index: 2;
    }
}

/* ==========================================================================
   Events Section
   ========================================================================== */

.events-section {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.split-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.event-date-col {
    background: var(--navy-deep);
    color: var(--white);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    text-align: center;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.event-day {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1;
}

.event-content {
    padding: 2rem;
    flex: 1;
}

.event-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-alt);
    color: var(--brand-blue);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.event-meta i {
    width: 16px;
    height: 16px;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Merch Section
   ========================================================================== */

.merch-section {
    padding: 6rem 0;
    background: var(--white);
}

.merch-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.merch-card {
    background: var(--white);
    border: 1px solid var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.merch-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.merch-img-box {
    background: var(--bg-light);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.merch-img-box i {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.merch-info {
    padding: 1.5rem;
    text-align: center;
}

.merch-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.merch-price {
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   Community CTA
   ========================================================================== */

.cta-section {
    position: relative;
    padding: 8rem 0;
    background: var(--navy);
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Institutional Footer
   ========================================================================== */

.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-logo img {
    border-radius: 50%;
}

.footer-logo strong {
    display: block;
    font-size: 1.1rem;
}

.footer-logo span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links-col h4, .footer-contact-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-links-col a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--white);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-list i {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.footer-contact-list a {
    color: inherit;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--brand-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-desc {
        margin-inline: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-visual {
        display: none; /* Hide seal on tablet/mobile for cleaner typography focus */
    }
    
    .discovery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-intro {
        max-width: 100%;
        text-align: center;
    }
    
    .accent-line {
        margin-inline: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(var(--nav-bg-color), 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }
    
    .main-nav.is-open {
        right: 0;
    }
    
    .main-nav__list {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .quick-discovery {
        margin-top: -30px;
    }
    
    .discovery-grid {
        grid-template-columns: 1fr;
    }
    
    .split-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date-col {
        padding: 1rem;
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .merch-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    input:not([type="checkbox"]):not([type="radio"]), select, textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 360px) {
    .container {
        width: calc(100% - 1.25rem);
    }
    .footer-logo {
        gap: 0.65rem;
    }
    .footer-logo img {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    .footer-logo strong {
        font-size: 0.95rem;
        word-break: break-word;
    }
}

/* ==========================================================================
   Auth Modal (Preserved & Adapted)
   ========================================================================== */

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: max(0.5rem, env(safe-area-inset-top, 0px)) max(0.5rem, env(safe-area-inset-right, 0px)) max(0.5rem, env(safe-area-inset-bottom, 0px)) max(0.5rem, env(safe-area-inset-left, 0px));
}

.auth-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.auth-modal__layer {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0;
}

.auth-modal__bg {
    position: absolute;
    inset: 0;
}

.auth-modal__bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 18, 37, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    cursor: default;
}

/* Unified Soft Action Buttons: Archive & Reject */
.btn-archive, .btn-reject {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 38px;
    border-radius: 8px;
    background: var(--btn-archive-bg);
    color: var(--btn-archive-text);
    border: 1px solid var(--btn-archive-border);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    user-select: none;
}
.btn-archive svg, .btn-reject svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}
.btn-archive:hover {
    background-color: var(--btn-archive-hover-bg);
    border-color: var(--btn-archive-hover-border);
    color: var(--btn-archive-text);
    text-decoration: none;
}
.btn-archive:active {
    background-color: var(--btn-archive-active-bg);
}
.btn-archive:focus-visible, .btn-reject:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(180, 83, 79, 0.25);
}
.btn-archive:disabled, .btn-archive.is-disabled,
.btn-reject:disabled, .btn-reject.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-reject {
    background: var(--btn-reject-bg);
    color: var(--btn-reject-text);
    border: 1px solid var(--btn-reject-border);
}
.btn-reject:hover {
    background-color: var(--btn-reject-hover-bg);
    border-color: var(--btn-reject-hover-border);
    color: var(--btn-reject-text);
    text-decoration: none;
}
.btn-reject:active {
    background-color: var(--btn-reject-active-bg);
}

/* Circular Arrow Back Button */
.btn-back, .btn-circle-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--btn-back-size);
    height: var(--btn-back-size);
    min-width: var(--btn-back-size);
    min-height: var(--btn-back-size);
    border-radius: 50%;
    background: var(--btn-back-bg);
    color: var(--btn-back-text);
    border: 1px solid var(--btn-back-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    user-select: none;
}
.btn-back svg, .btn-circle-back svg {
    width: 18px;
    height: 18px;
    transition: transform 0.18s ease;
}
.btn-back:hover, .btn-circle-back:hover {
    background: var(--btn-back-hover-bg);
    border-color: var(--btn-back-hover-border);
    color: var(--btn-back-hover-text);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}
.btn-back:hover svg, .btn-circle-back:hover svg {
    transform: translateX(-2px);
}
.btn-back:active, .btn-circle-back:active {
    transform: scale(0.96);
    background: #f1f5f9;
}
.btn-back:focus-visible, .btn-circle-back:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--btn-back-focus-ring);
}
.btn-back--dense {
    --btn-back-size: 36px;
}

/* Modal overlay specific back button override */
.auth-modal .btn-circle-back,
.auth-modal .btn-back {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 20;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(4px);
}
.auth-modal .btn-circle-back:hover,
.auth-modal .btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: scale(1.05);
}

.auth-modal__site-tagline {
    display: none; /* Hide the old tagline */
}

.auth-modal__card-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: clamp(0.5rem, 3vw, 1.5rem);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    display: flex;
    flex-direction: column;
}

.auth-modal__card {
    background: var(--white);
    border-radius: 20px;
    padding: clamp(1.25rem, 3.5vw, 2.25rem) clamp(1rem, 4vw, 2rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.auth-modal__logo-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--white);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal__logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(0.85); /* Shrinks the logo slightly to prevent edge clipping by the circle mask */
    object-position: center;
}

.auth-modal__title {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.35rem;
    color: var(--navy-deep);
    line-height: 1.25;
}

.auth-modal__subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}


.auth-notice {
    display: none;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-5px);
}
.auth-notice.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.auth-notice.auth-notice--hiding {
    opacity: 0;
    transform: translateY(-5px);
}
.auth-notice--error {
    background-color: rgba(220, 38, 38, 0.08); /* Tailwind Red 600 at 8% */
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c; /* Tailwind Red 700 */
}
.auth-notice--success {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #047857;
}
.auth-notice a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    margin-left: 0.25rem;
}
.auth-notice a:hover {
    opacity: 0.85;
}

/* Stacked alert for expired / action-required states */
.auth-notice--stacked {
    display: none;
}
.auth-notice--stacked.is-visible {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
    text-align: left;
}
.auth-notice__content {
    line-height: 1.45;
    font-size: 0.875rem;
}
.auth-notice__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid rgba(185, 28, 28, 0.35);
    background: #ffffff;
    color: #b91c1c;
    cursor: pointer;
    transition: all 0.15s ease;
}
.auth-notice__action-btn:hover {
    background: #fef2f2;
    color: #991b1b;
}

/* Compact Seal Logo */
.auth-modal__logo-circle--compact {
    width: 56px !important;
    height: 56px !important;
    margin: 0 auto 0.75rem !important;
    box-shadow: 0 4px 12px rgba(13, 27, 75, 0.08) !important;
}
.auth-modal__logo-circle--compact img {
    transform: scale(0.9) !important;
}

/* 3-Step Progress Indicator */
.auth-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    user-select: none;
}
.auth-step {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}
.auth-step__badge {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
}
.auth-step--completed .auth-step__badge {
    background: #e0f2fe;
    color: #0284c7;
}
.auth-step--completed .auth-step__text {
    color: #0369a1;
}
.auth-step--active .auth-step__badge {
    background: var(--brand-blue, #2563eb);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}
.auth-step--active .auth-step__text {
    color: var(--navy-deep, #0f172a);
    font-weight: 700;
}
.auth-step__connector {
    width: 14px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 1px;
}
.auth-step__connector--completed {
    background: #38bdf8;
}

/* Unified Auth Input Group & Password Field Component */
.auth-input-group,
.password-field-group,
.password-field,
.input-icon-wrap {
    position: relative;
    width: 100%;
    display: block;
}
.auth-input-group .field-leading-icon,
.auth-input-group > i,
.password-field-group .field-leading-icon,
.password-field-group > i,
.password-field .field-leading-icon,
.password-field > i,
.input-icon-wrap .field-leading-icon,
.input-icon-wrap > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-light, #94a3b8);
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s ease;
}
.auth-input-group:focus-within .field-leading-icon,
.auth-input-group:focus-within > i,
.password-field-group:focus-within .field-leading-icon,
.password-field-group:focus-within > i,
.password-field:focus-within .field-leading-icon,
.password-field:focus-within > i,
.input-icon-wrap:focus-within .field-leading-icon,
.input-icon-wrap:focus-within > i {
    color: var(--brand-blue, #2563eb);
}
.auth-input.has-leading-icon,
.auth-input.has-icon,
.auth-input-group .auth-input,
.password-field-group .auth-input,
.input-icon-wrap .auth-input {
    padding-left: 2.75rem !important;
}
.auth-input.has-trailing-toggle,
.password-field input,
.password-field-group input {
    padding-right: 3rem !important;
}

/* Native browser password reveal suppression */
.password-field-group input::-ms-reveal,
.password-field-group input::-ms-clear,
input.has-trailing-toggle::-ms-reveal,
input.has-trailing-toggle::-ms-clear {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.password-field-group input::-webkit-credentials-auto-fill-button,
.password-field-group input::-webkit-contacts-auto-fill-button,
input.has-trailing-toggle::-webkit-credentials-auto-fill-button,
input.has-trailing-toggle::-webkit-contacts-auto-fill-button {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Sleek Single Eye Toggle Button */
.eye-toggle-btn,
.eye-toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent !important;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: color 0.15s ease, background-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.eye-toggle-btn:hover,
.eye-toggle:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.05) !important;
}
.eye-toggle-btn:focus-visible,
.eye-toggle:focus-visible {
    outline: 2px solid var(--brand-blue, #2563eb);
    outline-offset: -2px;
    background: rgba(37, 99, 235, 0.06) !important;
}

/* Display EXACTLY ONE eye icon at a time */
.eye-toggle-btn .eye-icon--show,
.eye-toggle .icon-eye {
    display: block !important;
}
.eye-toggle-btn .eye-icon--hide,
.eye-toggle .icon-eye-off {
    display: none !important;
}
.eye-toggle-btn.is-visible .eye-icon--show,
.eye-toggle.is-visible .icon-eye {
    display: none !important;
}
.eye-toggle-btn.is-visible .eye-icon--hide,
.eye-toggle.is-visible .icon-eye-off {
    display: block !important;
}

/* Caps Lock Hint Badge */
.caps-lock-hint {
    margin-top: 0.35rem;
    display: flex;
}
.caps-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

/* 4-Segment Strength Meter */
.password-strength-container {
    margin-top: 0.55rem;
}
.strength-segments {
    display: flex;
    gap: 5px;
    height: 4px;
    width: 100%;
}
.strength-segment {
    flex: 1;
    height: 100%;
    background: #e2e8f0;
    border-radius: 999px;
    transition: background-color 0.25s ease;
}
.strength-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.3rem;
    font-size: 0.75rem;
}
.strength-label-title {
    color: #64748b;
}
.strength-label-value {
    font-weight: 700;
    transition: color 0.25s ease;
}

/* Requirements Checklist */
.password-reqs-checklist {
    margin-top: 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.78rem;
}
.req-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #64748b;
    transition: color 0.2s ease;
}
.req-indicator {
    font-weight: 700;
    font-size: 0.85rem;
    width: 14px;
    text-align: center;
    color: #94a3b8;
}
.req-item.is-met {
    color: #15803d !important;
    font-weight: 600;
}
.req-item.is-met .req-indicator {
    color: #16a34a !important;
}
.req-item.is-unmet {
    color: #64748b !important;
}
.req-item.is-unmet .req-indicator {
    color: #94a3b8 !important;
}

/* Confirm Password Match Status */
.pwd-match-message {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: none;
}
.pwd-match-message.is-match {
    color: #16a34a !important;
    display: block !important;
}
.pwd-match-message.is-mismatch {
    color: #dc2626 !important;
    display: block !important;
}

.auth-submit-btn.btn-verified {
    background: #10b981 !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
    color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
    .strength-segment,
    .strength-label-value,
    .req-item,
    .pwd-match-message,
    .eye-toggle-btn {
        transition: none !important;
        animation: none !important;
    }
}
.auth-notice--lockout {
    background-color: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #991b1b !important;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    box-shadow: 0 1px 3px rgba(185, 28, 28, 0.06);
    display: flex;
    align-items: flex-start;
}
.auth-notice__inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
}
.auth-notice__icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: #dc2626;
}
.auth-notice__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.88rem;
    line-height: 1.35;
    text-align: left;
}
.auth-notice__title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #991b1b;
    letter-spacing: 0.01em;
}
.auth-notice__text {
    font-weight: 500;
    color: #7f1d1d;
}
.auth-notice__text strong,
.auth-notice .tabular-timer {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    font-weight: 700;
    color: #991b1b;
}
@keyframes authNoticeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.auth-notice.is-animating-in {
    animation: authNoticeSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.auth-notice.is-fading-out {
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 0 !important;
    transform: translateY(-6px) !important;
}
@keyframes btnBlockedShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}
.btn-blocked-shake {
    animation: btnBlockedShake 0.4s ease-in-out;
}
.auth-notice--success {
    background-color: rgba(22, 163, 74, 0.08); /* Tailwind Green 600 at 8% */
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: #15803d; /* Tailwind Green 700 */
}
.auth-notice .notice-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.auth-field {
    margin-bottom: 1.25rem;
}

.auth-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    color: var(--navy);
}

/* Legacy input wrapper compatibility */
.input-icon-wrap {
    position: relative;
    width: 100%;
    display: block;
}

.auth-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: var(--bg-light);
    border: 1px solid var(--bg-alt);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--navy-deep);
    transition: var(--transition);
}

.auth-input.has-icon {
    padding-left: 1rem;
}

.auth-input:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.auth-input:focus + i,
.input-icon-wrap:focus-within i {
    color: var(--brand-blue);
}

/* =========================================
   POLISHED OTP VERIFICATION MODAL STYLES
   ========================================= */

.tabular-timer {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    letter-spacing: 0.5px;
    font-weight: 700;
}

.otp-modal-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--navy-deep, #071125);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.otp-modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted, #475569);
    margin-bottom: 1.5rem;
    line-height: 1.45;
    word-break: normal;
}

.otp-email-nowrap {
    display: inline-block;
    white-space: nowrap;
}

.otp-email-highlight {
    color: var(--navy-deep, #071125);
    font-weight: 700;
    white-space: nowrap;
    word-break: keep-all;
    font-size: 0.95em;
    letter-spacing: 0.2px;
}

.otp-boxes-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.otp-boxes {
    display: flex;
    justify-content: center;
    gap: clamp(4px, 1.5vw, 8px);
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.otp-box {
    flex: 1 1 0;
    min-width: 0;
    max-width: 54px;
    width: clamp(32px, calc((100% - 25px) / 6), 54px);
    height: clamp(44px, 12vw, 58px);
    font-size: clamp(1.15rem, 5vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    background-color: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    color: var(--navy-deep, #071125);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-variant-numeric: tabular-nums;
}

.otp-box:hover:not(:disabled) {
    border-color: #94a3b8;
    background-color: #ffffff;
}

.otp-box:focus {
    outline: none;
    border-color: var(--brand-blue, #2563eb);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
    transform: translateY(-1px);
}

.otp-box:not(:placeholder-shown) {
    border-color: var(--brand-blue, #2563eb);
    background-color: #ffffff;
    color: #1e3a8a;
}

.otp-boxes.has-error {
    animation: otpShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.otp-boxes.has-error .otp-box {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

@keyframes otpShake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px); }
    30% { transform: translateX(6px); }
    45% { transform: translateX(-4px); }
    60% { transform: translateX(4px); }
    75% { transform: translateX(-2px); }
    90% { transform: translateX(2px); }
}

.otp-boxes.is-success .otp-box {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
    color: #047857 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
    transform: scale(1.02);
}

.otp-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.otp-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.otp-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

.otp-submit-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.otp-submit-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.35), 0 4px 14px rgba(37, 99, 235, 0.28);
}

.otp-submit-btn:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.85;
}

.otp-submit-btn.btn-verified {
    background: #10b981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
    color: #ffffff !important;
}

.btn-text-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-arrow-icon {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.otp-submit-btn:hover:not(:disabled) .btn-arrow-icon {
    transform: translateX(3px);
}

.btn-loader, .btn-success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.otp-resend-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: #475569;
    flex-wrap: wrap;
}

.otp-resend-prompt {
    color: #475569;
    font-weight: 500;
}

.otp-resend-btn {
    background: none;
    border: none;
    color: var(--brand-blue, #2563eb);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.otp-resend-btn:hover:not(:disabled) {
    color: #1d4ed8;
    background-color: rgba(37, 99, 235, 0.06);
}

.otp-resend-btn:disabled,
.otp-resend-btn[aria-disabled="true"],
.otp-resend-btn.is-locked {
    color: #64748b;
    cursor: not-allowed;
    text-decoration: none;
    background: transparent;
    font-weight: 500;
}

.otp-sends-left-hint {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d97706;
    margin-top: 4px;
    letter-spacing: 0.2px;
}

.otp-change-email-btn {
    border-color: #cbd5e1;
    color: #334155;
    height: 44px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.otp-change-email-btn:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
    color: #0f172a;
    transform: translateY(-1px);
}

@media (max-width: 400px) {
    .otp-boxes {
        gap: clamp(4px, 1.2vw, 6px);
    }
    .otp-box {
        flex: 1 1 0;
        min-width: 0;
        max-width: 44px;
        width: clamp(30px, calc((100% - 25px) / 6), 44px);
        height: 44px;
        font-size: 1.2rem;
        border-radius: 8px;
    }
    .otp-modal-title {
        font-size: 1.35rem;
    }
    .otp-resend-container {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .otp-boxes.has-error,
    .btn-blocked-shake,
    .auth-notice.is-animating-in,
    .auth-notice.is-fading-out {
        animation: none !important;
        transition: none !important;
    }
    .otp-submit-btn, .otp-box {
        transition: none !important;
    }
}

.auth-row--end {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.auth-row--center {
    display: flex;
    justify-content: center;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   PREMIUM ALUMNI REGISTRATION LAYOUT
   ========================================= */

.signup-layout {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--bg-light);
    overflow: hidden;
}

.signup-brand-panel {
    flex: 0 0 40%;
    max-width: 40%;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Decorative background shapes for brand panel */
.signup-brand-panel::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.signup-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.brand-panel__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: auto;
    position: relative;
    z-index: 2;
}

.brand-panel__logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.brand-panel__logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand-panel__hero {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.brand-panel__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.brand-panel__desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 400px;
}

.signup-form-panel {
    flex: 1;
    background: var(--white);
    padding: 3rem 4rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.signup-form-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.signup-form-header {
    margin-bottom: 2.5rem;
}

.signup-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.signup-form-subtitle {
    font-size: 1rem;
    color: var(--text-light);
}

/* Multi-step Progress Bar */
.signup-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.signup-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-alt);
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.progress-step__circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
}

.progress-step.is-active .progress-step__circle {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--white);
}

.progress-step.is-completed .progress-step__circle {
    background: var(--white);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.progress-step__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.progress-step.is-active .progress-step__label {
    color: var(--navy-deep);
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.form-step.is-active {
    display: block;
}

.form-step__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-alt);
}

.form-step__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 0.25rem;
}

.form-step__desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Form Action Buttons */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-alt);
}

.btn-back {
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
}

.btn-back:hover {
    color: var(--navy-deep);
    background: var(--bg-light);
}

/* Review Step Styles */
.review-summary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-section {
    background: var(--bg-light);
    border: 1px solid var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.review-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--bg-alt);
}

.review-section__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-deep);
}

.review-edit-btn {
    font-size: 0.85rem;
    color: var(--brand-blue);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.review-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy-deep);
    word-break: break-word;
}

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

@media (max-width: 900px) {
    .signup-layout {
        flex-direction: column;
    }
    
    .signup-brand-panel {
        flex: 0 0 auto;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .brand-panel__hero {
        margin-bottom: 0;
    }
    
    .brand-panel__title {
        font-size: 2rem;
        margin-top: 1rem;
    }
    
    .brand-panel__desc {
        display: none;
    }
    
    .signup-form-panel {
        padding: 2rem 1.5rem;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
}


.auth-forgot-link {
    font-size: 0.85rem;
    color: var(--brand-blue);
    font-weight: 500;
}

.auth-submit-btn {
    padding: 0.85rem;
    font-size: 1rem;
}

.auth-switch-btn {
    padding: 0.85rem;
    font-size: 1rem;
    background: transparent;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--bg-alt);
    z-index: 1;
}

.auth-divider span {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.auth-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.is-hidden {
    display: none !important;
}
