/* Veracross EMEA-inspired opening, using the school's own video and identity.
   All styling is scoped to this public login page; legacy concept filename retained. */
.school-welcome-page {
    --welcome-ink: #172d42;
    --welcome-blue: #2375a5;
    --welcome-border: #dce4eb;
    --primary: var(--welcome-blue);
    --primary-dark: #195d86;
    --secondary: var(--welcome-blue);
    background: white;
}
.school-welcome-page header {
    background: rgba(14, 30, 45, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}
.school-welcome-page header :is(.logo-text h1, .logo-text p, .nav-link) { color: white; }
.school-welcome-page header .nav-link:hover { background: rgba(255, 255, 255, 0.12); }
.school-welcome-page header .dropdown a { color: var(--welcome-ink); }
.school-welcome-page header.scrolled { background: white; border-bottom-color: var(--welcome-border); }
.school-welcome-page header.scrolled :is(.logo-text h1, .logo-text p, .nav-link) { color: var(--welcome-ink); }
.school-welcome-page header:not(.scrolled) .hamburger,
.school-welcome-page header:not(.scrolled) .hamburger::before,
.school-welcome-page header:not(.scrolled) .hamburger::after { background: white; }
.school-welcome { display: block; min-height: 0; overflow: visible; padding: 0; background: white; }
.school-welcome .hero-content { display: block; width: 100%; max-width: none; padding: 0; text-align: left; }
.school-welcome .landscape-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 720px;
    min-height: max(680px, 100svh);
    background: var(--welcome-ink);
    padding: 150px max(6vw, calc((100vw - 1200px) / 2)) 132px;
    overflow: hidden;
}
.school-welcome .hero-image { position: absolute; inset: 0; opacity: 1; animation: none; transform: none; z-index: 0; }
.school-welcome .hero-media-card { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.school-welcome .hero-media-card::before { display: none; }
.school-welcome .hero-media-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 22, 34, 0.62);
    pointer-events: none;
}
.school-welcome .hero-image:hover .hero-media-card { transform: none; box-shadow: none; }
.school-welcome .hero-media-card video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.school-welcome .hero-text { position: relative; z-index: 2; max-width: 730px; }
.school-welcome :is(.hero-eyebrow, .hero-text h1, .hero-text p, .hero-buttons, .hero-trust) { animation: none; opacity: 1; transform: none; }
.school-welcome .hero-eyebrow { color: white; letter-spacing: 0; text-transform: none; font-size: 1rem; margin-bottom: 24px; }
.school-welcome .hero-eyebrow::before { display: none; }
.school-welcome .hero-text h1 {
    font-family: var(--font-primary);
    color: white;
    font-size: clamp(3rem, 5.5vw, 5.25rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: balance;
    overflow-wrap: anywhere;
    margin-bottom: 26px;
}
.school-welcome .hero-text .text-accent { font: inherit; color: inherit; }
.school-welcome .royal-glitter { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.school-welcome .hero-eyebrow { color: #f6df9d; display: flex; gap: 12px; align-items: center; }
.school-welcome .hero-eyebrow::before { content: ''; display: block; width: 38px; height: 1px; background: #e8c879; animation: none; }
.school-welcome .hero-text .school-hero-name { font-size: clamp(3.25rem, 5.8vw, 5.5rem); line-height: 1.05; max-width: 850px; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.24); animation: royalWelcome 850ms ease-out both; }
.school-welcome .hero-text .school-hero-motto { font-family: var(--font-display); font-size: clamp(1.65rem, 2.8vw, 2.5rem); font-style: italic; line-height: 1.3; color: #f6df9d; margin: 0 0 28px; animation: royalWelcome 950ms 100ms ease-out both; }
.school-welcome .hero-text .btn-primary { background: #204e78; border-color: #e8c879; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16); }
.school-welcome .hero-text .btn-primary:hover { background: #163c60; transform: translateY(-2px); }
.school-welcome .school-video-controls button { border-color: #bfa45e; }
.school-welcome-page header .logo-text h1 { font-size: 1.25rem; }
@keyframes royalWelcome { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .school-welcome .hero-text :is(.school-hero-name, .school-hero-motto) { animation: none; }
    .school-welcome .hero-text .btn-primary:hover { transform: none; }
    .school-welcome .royal-glitter { display: none; }
}
.school-welcome .hero-text .landscape-banner-intro { color: white; font-size: 1.0625rem; line-height: 1.7; margin: 0 0 32px; max-width: 680px; }
.school-welcome .hero-buttons { align-items: center; gap: 16px; flex-wrap: wrap; }
.school-welcome .hero-text .btn-outline { color: white; border-color: rgba(255, 255, 255, 0.7); background: transparent; }
.school-welcome .hero-text .btn-outline:hover { color: var(--welcome-ink); background: white; }
.school-welcome .school-video-controls { position: absolute; bottom: 72px; right: 5vw; z-index: 3; display: flex; gap: 8px; }
.school-welcome .school-video-controls[hidden] { display: none; }
.school-welcome .school-video-controls button {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    background: rgba(8, 22, 34, 0.72);
    color: white;
    font-size: 0.875rem;
}
.salutation-help { color: #475467; font-size: 0.75rem; line-height: 1.5; margin: 8px 0 16px; }
.school-welcome-page :is(a, button, input, video):focus-visible { outline: 3px solid #2375a5; outline-offset: 3px; }
.school-welcome .hero-text :is(a, button):focus-visible { outline-color: white; }
.school-welcome-page :is(.about-subsection, .curriculum-card) { border: 1px solid var(--welcome-border); box-shadow: none; background: white; }
.school-welcome-page .section-header h2 { font-family: var(--font-primary); font-style: normal; font-weight: 500; letter-spacing: -0.025em; }
.hero-video-fallback { display: grid; place-items: center; width: 100%; height: 100%; min-height: 260px; background: #172d42; color: white; padding: 24px; }
@media (max-width: 768px) {
    .school-welcome .landscape-banner { min-height: 620px; min-height: max(620px, 85svh); padding: 120px 24px 138px; }
    .school-welcome .hero-text h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
    .school-welcome .hero-text .school-hero-name { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .school-welcome .hero-eyebrow { font-size: 0.875rem; margin-bottom: 18px; }
    .school-welcome .hero-text .landscape-banner-intro { font-size: 1rem; margin-bottom: 24px; }
    .school-welcome .hero-text .hero-buttons { align-items: stretch; gap: 12px; }
    .school-welcome .school-video-controls { bottom: 76px; right: 24px; }
}

.school-welcome-page .contact-container { display: block; max-width: 900px; }
.school-welcome-page .contact-info h2 { color: var(--welcome-ink); font-size: 2rem; margin-bottom: 32px; }
.school-welcome-page .contact-item a { color: var(--welcome-blue); text-decoration: underline; text-underline-offset: 4px; }
.school-welcome-page .forgot-password a { display: inline-flex; align-items: center; min-height: 44px; }
.school-welcome-page section[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
@media (max-width: 768px) {
    .school-welcome-page .mobile-menu-toggle { min-width: 44px; min-height: 44px; }
}
@media (max-width: 380px) {
    .school-welcome-page .header-container { padding-inline: 12px; gap: 8px; }
    .school-welcome-page header .logo { min-width: 0; gap: 8px; }
    .school-welcome-page header .logo img { width: 36px; height: 40px; }
    .school-welcome-page header .logo-text h1 { font-size: 0.875rem; line-height: 1.2; }
    .school-welcome-page header .logo-text p { display: none; }
    .school-welcome-page header .nav-actions .btn { padding: 10px 12px; }
}
