/* 
    PRESCHOOL REDESIGN CSS 
    Theme: Modern, Playful, Premium
*/

:root {
    /* Base Colors */
    --color-bg: #FDFBF7;
    /* Warm cream */
    --color-white: #FFFFFF;
    --color-text-dark: #193E6E;
    /* Dark Blue from Theme */
    --color-text-light: #7F8C8D;

    /* Theme Colors Mapped to Original Names */
    --color-coral: #E95229;
    /* Orange */
    --color-yellow: #04A29B;
    /* Teal */
    --color-pink: #193E6E;
    /* Dark Blue */
    --color-purple: #962983;
    /* Purple */
    --color-green: #3FAB3C;
    /* Green */
    --color-blue: #2873B9;
    /* Medium Blue */

    /* Light Backgrounds */
    --color-coral-light: rgba(233, 82, 41, 0.15);
    --color-yellow-light: rgba(4, 162, 155, 0.15);
    --color-purple-light: rgba(150, 41, 131, 0.15);
    --color-green-light: rgba(63, 171, 60, 0.15);
    --color-blue-light: rgba(40, 115, 185, 0.15);
    --color-pink-light: rgba(25, 62, 110, 0.15);

    /* Typography */
    --font-main: 'Nunito', sans-serif;
    --font-accent: 'Pangolin', cursive;
    --font-heading: 'Comic Sans MS', cursive;
    --font-paragraph: 'Poppins', sans-serif;

    /* Shadows & Radii */
    --shadow-nav: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.08);
    --radius-pill: 100px;
    --radius-card: 24px;
    --radius-blob: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

h1 .highlight, h2 .highlight, h3 .highlight,
h4 .highlight, h5 .highlight, h6 .highlight {
    font-family: inherit;
}

p {
    font-family: var(--font-paragraph);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    display: block;
}

/* Animations (Reusable Keyframes) */
@keyframes float-vertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-diagonal {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15px, -15px);
    }
}

@keyframes pulse-scale {

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

    50% {
        transform: scale(1.15);
    }
}

@keyframes rotate-wobble {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}

@keyframes cloud-drift {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(30px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes dash-anim {
    to {
        stroke-dashoffset: -100;
    }
}

.float-vertical {
    animation: float-vertical 4s ease-in-out infinite;
}

.float-diagonal {
    animation: float-diagonal 6s ease-in-out infinite;
}

.pulse-scale {
    animation: pulse-scale 3s ease-in-out infinite;
}

.rotate-wobble {
    animation: rotate-wobble 5s ease-in-out infinite;
}

.cloud-drift {
    animation: cloud-drift 10s ease-in-out infinite;
}

.dash-anim {
    animation: dash-anim 4s linear infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn span {
    transition: transform 0.3s ease;
}

.btn:hover span {
    transform: translateX(4px);
}

.btn-primary {
    background-color: var(--color-yellow);
    color: var(--color-text-dark);
    box-shadow: 0 10px 20px rgba(255, 217, 61, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 217, 61, 0.4);
}

.btn-coral {
    background-color: var(--color-coral);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-coral:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 107, 107, 0.4);
}

/* Header & Navbar */
.site-header {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.sticky {
    position: fixed;
    top: 0;
    padding: 10px 0;
}

.navbar {
    background: var(--color-white);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-nav);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    max-width: 1300px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    text-decoration: none;
}

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

.navbar .logo img {
    width: 126px;
    height: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(0.8rem, 1.5vw, 1.5rem);
    margin: 0 1rem;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-coral);
}

.nav-arrow {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

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

.nav-actions .btn-primary {
    background-color: #ffe45c;
    color: #193e6e;
    box-shadow: 0 4px 12px rgba(25, 62, 110, 0.1);
}

.nav-actions .btn-primary:hover {
    background-color: #ffed8a;
    box-shadow: 0 6px 16px rgba(25, 62, 110, 0.15);
}

.nav-actions .btn-primary:focus-visible {
    outline: 3px solid #193e6e;
    outline-offset: 3px;
}

.icon-btn {
    background: var(--color-coral-light);
    color: var(--color-coral);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    background: var(--color-coral);
    color: var(--color-white);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-text-dark);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background-color: #0755d9;
    background-image: url('../img/banner-img.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: clamp(150px, 9vw, 180px) clamp(24px, 7vw, 144px) 100px;
    min-height: 950px;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    padding-top: 60px;
    z-index: 10;
    width: 36vw;
    max-width: 620px;
    flex: 0 1 auto;
    text-shadow: 0 2px 8px rgba(0, 30, 90, 0.3);
}

.hero-label {
    font-family: var(--font-paragraph);
    color: #fff3a3;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    background: rgba(0, 25, 80, 0.25);
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(38px, 3.2vw, 62px);
    line-height: 1.16;
    letter-spacing: -0.8px;
    margin-bottom: 22px;
    font-weight: 500;
    color: #ffffff;
}

.hero-title-line {
    display: block;
}

.hero-title .highlight {
    display: block;
    color: #ffe45c;
}

.hero-desc {
    font-size: clamp(16px, 1vw, 18px);
    line-height: 1.75;
    color: #ffffff;
    margin-bottom: 28px;
    max-width: 490px;
    text-wrap: pretty;
}

.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero .btn-coral {
    min-height: 56px;
    padding: 14px 28px;
    font-size: 1rem;
    text-shadow: none;
    background: #ffe45c;
    color: #193e6e;
    box-shadow: 0 6px 18px rgba(0, 35, 100, 0.16);
}

.hero .btn-coral:hover {
    background: #ffed8a;
}

.hero .call-block {
    min-height: 56px;
    gap: 10px;
    padding: 0;
    background: transparent;
    text-shadow: none;
    color: #fff;
    text-decoration: none;
}

.hero .call-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    animation: none;
}

.hero .call-icon svg {
    width: 18px;
    height: 18px;
    stroke: #ffe45c;
}

.hero .call-text span,
.hero .call-text strong {
    color: #fff;
}

.hero .call-text span {
    font-size: 0.75rem;
}

.hero .call-text strong {
    font-size: 1rem;
    white-space: nowrap;
}

.hero-btn-group a:focus-visible {
    outline: 3px solid #ffe45c;
    outline-offset: 4px;
}

.call-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.call-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px dashed var(--color-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate-wobble 4s infinite;
}

.call-text {
    display: flex;
    flex-direction: column;
}

.call-text span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.call-text strong {
    font-size: 1.125rem;
    color: var(--color-yellow);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-mask {
    width: 550px;
    height: 500px;
    background-color: var(--color-white);
    /* Complex cloud clip-path */
    clip-path: path('M120,400 Q40,400 40,320 Q40,240 120,240 Q120,160 200,160 Q260,160 300,200 Q360,120 440,120 Q520,120 540,220 Q600,220 600,300 Q600,400 520,400 Z');
    /* Fallback if clip-path path() is not fully supported */
    border-radius: var(--radius-blob);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
}

.hero-image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admission-badge {
    position: absolute;
    top: 30%;
    right: -20px;
    background: var(--color-yellow);
    padding: 15px 20px;
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(255, 217, 61, 0.4);
    z-index: 10;
    transform: rotate(5deg);
}

.badge-top {
    font-size: 0.8rem;
    font-weight: 800;
    background: var(--color-coral);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 5px;
}

.badge-mid {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-text-dark);
}

.badge-bot {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-white);
    background: var(--color-coral);
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 5px;
}

/* Decorative Elements */
.deco-el {
    position: absolute;
    z-index: 1;
    font-size: 3rem;
    /* Using emojis for crispness without quota */
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.1));
}

.hero-arrow {
    top: 150px;
    left: 5%;
}

.hero-giraffe {
    bottom: 15%;
    left: 0%;
    font-size: 6rem;
    z-index: 10;
}

.hero-pencil {
    bottom: 30%;
    right: 5%;
    font-size: 4rem;
}

.hero-flags {
    top: 120px;
    right: 5%;
    font-size: 5rem;
}

.mask-star {
    top: -20px;
    left: 20%;
    font-size: 2rem;
    z-index: 10;
}

.mask-cloud {
    bottom: -30px;
    left: 30%;
    font-size: 4rem;
    z-index: 10;
}

.mask-rainbow {
    top: 50%;
    left: -30px;
    font-size: 3rem;
    z-index: 10;
    transform: rotate(-15deg);
}

.bg-line {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Trust Stats */
.trust-stats {
    background-color: var(--color-bg);
    padding: clamp(40px, 5vw, 72px) 0;
    position: relative;
    z-index: 20;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--color-white);
    padding: 30px 20px 28px;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon svg {
    display: block;
    width: 32px;
    height: 32px;
}

.stat-icon.bg-coral-light { color: #c44420; }
.stat-icon.bg-yellow-light { color: #007e79; }
.stat-icon.bg-purple-light { color: #962983; }
.stat-icon.bg-green-light { color: #2b8530; }

.bg-coral-light {
    background: var(--color-coral-light);
}

.bg-yellow-light {
    background: var(--color-yellow-light);
}

.bg-purple-light {
    background: var(--color-purple-light);
}

.bg-green-light {
    background: var(--color-green-light);
}

.stat-num {
    font-size: 2.5rem;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.stat-card p {
    color: #52647a;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Common Section Styles */
.section-padding {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-label {
    font-family: var(--font-accent);
    color: var(--color-coral);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* JS Scroll Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.active {
    opacity: 1;
    transform: translate(0);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.highlight {
    font-family: var(--font-accent);
    color: var(--color-coral);
    display: inline-block;
    transform: rotate(-2deg);
}

/* SVG Dividers */
.top-divider {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    z-index: 10;
    line-height: 0;
}

.top-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.bottom-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 10;
    line-height: 0;
}

.bottom-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Specialities Section */
.specialities {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.spec-container {
    display: flex;
    gap: 4rem;
    position: relative;
    z-index: 5;
    align-items: center;
}

.spec-left {
    flex: 0 0 28%;
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-purple);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.spec-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1rem;
}

.word-our {
    color: var(--color-text-dark);
}

.word-spec span {
    display: inline-block;
}

.spec-desc {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 90%;
}

.spec-image-wrap {
    position: relative;
    margin-top: 3rem;
    border-radius: 40px;
    overflow: visible;
}

.spec-image-wrap img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.spec-img-text {
    position: absolute;
    font-family: var(--font-accent);
    color: var(--color-teal);
    font-size: 1.1rem;
    line-height: 1.3;
    transform: rotate(-10deg);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10;
}

.spec-text-1 {
    top: -30px;
    right: 30px;
}

.spec-text-2 {
    bottom: -40px;
    right: -20px;
    color: var(--color-coral);
}

.spec-right {
    flex: 1;
}

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

.spec-card {
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    min-height: 140px;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.bg-pink-lightest {
    background: #FFF0F2;
}

.bg-blue-lightest {
    background: #F0F8FF;
}

.bg-yellow-lightest {
    background: #FFF9E6;
}

.bg-green-lightest {
    background: #F0FFF0;
}

.bg-purple-lightest {
    background: #F8F0FF;
}

.spec-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.spec-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text-dark);
    flex: 1;
}

.spec-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-text-dark);
    flex-shrink: 0;
    font-size: 1.5rem;
}

.deco-trail {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-right {
    top: 50px;
    right: 15%;
}

.bottom-right {
    bottom: 50px;
    right: 15%;
}

.trail-text {
    font-family: var(--font-accent);
    color: var(--color-blue);
    font-size: 1.1rem;
    text-align: center;
    margin-top: 5px;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-visual {
    flex: 1;
    position: relative;
    max-width: 550px;
}

.about-image-mask {
    border-radius: var(--radius-blob);
    overflow: hidden;
    height: 550px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.about-image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blob-bg-solid {
    position: absolute;
    top: 5%;
    left: -5%;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-blob);
    z-index: 1;
    transform: rotate(10deg);
}

.bg-coral {
    background-color: var(--color-coral);
}

.bg-yellow {
    background-color: var(--color-yellow);
}

.bg-purple {
    background-color: var(--color-purple);
}

.bg-green {
    background-color: var(--color-green);
}

.about-content {
    flex: 1;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-features h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.about-features p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background: var(--color-white);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
}

.program-card:hover {
    transform: translateY(-15px);
    border-color: var(--card-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.card-image-wrap {
    height: 240px;
    position: relative;
    overflow: hidden;
    border-radius: 37px 37px 0 0;
    /* Irregular clip for image bottom */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

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

.program-card:hover .card-image-wrap img {
    transform: scale(1.1);
}

.card-age {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-white);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--card-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
    text-align: left;
    position: relative;
}

.card-body h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.card-body p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.card-link {
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.card-link span {
    transition: transform 0.3s ease;
}

.program-card:hover .card-link span {
    transform: translateX(5px);
}

.card-deco {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2.5rem;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.program-card:hover .card-deco {
    opacity: 1;
    transform: scale(1.2) rotate(-10deg);
}

/* Why Choose Us */
.choose-container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.choose-content {
    flex: 1;
}

.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-coral);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.choose-visual {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.choose-image-mask {
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 15px solid var(--color-white);
    box-shadow: var(--shadow-card);
}

.choose-image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.choose-badge {
    position: absolute;
    bottom: 50px;
    left: -40px;
    z-index: 10;
    background: var(--color-white);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.badge-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-inner strong {
    font-size: 1.8rem;
    line-height: 1;
}

.badge-inner span {
    font-size: 0.9rem;
    font-family: var(--font-accent);
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.activity-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease;
}

.activity-card:hover {
    transform: scale(1.03) translateY(-10px) !important;
}

.offset-up {
    transform: translateY(-20px);
}

.offset-down {
    transform: translateY(20px);
}

.act-image {
    height: 250px;
}

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

.act-panel {
    padding: 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.act-panel h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.act-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Large Image Break */
.image-break {
    height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    z-index: 0;
}

.break-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
}

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

.gallery-item:hover img {
    transform: scale(1.06);
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

.item-circle {
    border-radius: 50%;
}

.item-blob {
    border-radius: var(--radius-blob);
}

/* Our Educators */
.bg-yellow-light {
    background-color: var(--color-yellow-light);
}

.educators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

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

.edu-img-wrap {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    padding: 10px;
    background: white;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease;
}

.border-coral {
    border: 2px dashed var(--color-coral);
}

.border-purple {
    border: 2px dashed var(--color-purple);
}

.border-green {
    border: 2px dashed var(--color-green);
}

.educator-card:hover .edu-img-wrap {
    transform: translateY(-10px);
}

.edu-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.placeholder-edu {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.edu-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.edu-info p {
    color: var(--color-text-light);
    font-family: var(--font-paragraph);
    font-size: 1.1rem;
}

/* Parent Testimonials */
.testimonial-slider {
    max-width: 800px;
    margin: 3rem auto 0 auto;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 40px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--color-coral-light);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: serif;
}

.test-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
}

.test-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.test-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.test-author h4 {
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.test-author span {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.test-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: #E2E8F0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-coral);
    transform: scale(1.2);
}

/* CTA Banner Section */
.cta-banner {
    background: var(--color-coral);
    border-radius: var(--radius-blob);
    padding: 5rem 2rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(255, 107, 107, 0.3);
}

.cta-banner-content {
    position: relative;
    z-index: 10;
    color: white;
}

.cta-banner h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    height: 220px;
    position: relative;
}

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

.blog-cat {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.read-more {
    font-weight: 800;
    color: var(--color-text-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.blog-card:hover .read-more {
    color: var(--color-coral);
}

/* Contact / Enquiry Section */
.contact-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-form-wrapper {
    flex: 1;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-coral);
}

/* Footer */
.site-footer {
    position: relative;
    padding-top: 6rem;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

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

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

.footer-col a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.social-links a:hover {
    background: var(--color-white);
    color: var(--color-coral);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.newsletter-form button {
    background: var(--color-coral);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 0;
        padding: 140px 24px calc(47.3684vw + 32px);
        background-image: linear-gradient(135deg, #073984, #0865df);
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        aspect-ratio: 1900 / 900;
        background: url('../img/banner-img.png') center / 100% auto no-repeat;
    }

    .hero-content {
        width: 100%;
        padding-top: 24px;
        max-width: 600px;
        margin: 0;
    }

    .hero-btn-group {
        justify-content: flex-start;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container,
    .choose-container,
    .contact-container,
    .spec-container {
        flex-direction: column;
        text-align: center;
    }

    .about-features li {
        text-align: left;
    }

    .programs-grid,
    .activities-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .offset-up,
    .offset-down {
        transform: none;
    }

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

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .deco-trail {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(32px, 6.5vw, 44px);
        letter-spacing: -0.7px;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .navbar {
        min-height: 82px;
        padding: 10px 16px;
    }

    .nav-actions .icon-btn {
        display: none;
    }

    .nav-actions .btn {
        padding: 13px 17px;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .logo {
        font-size: 1.125rem;
        gap: 6px;
    }

    .navbar .logo img {
        width: 108px;
    }

    .spec-title {
        font-size: 3rem;
    }

    .stats-container,
    .programs-grid,
    .activities-grid,
    .blog-grid,
    .educators-grid,
    .gallery-grid,
    .footer-container,
    .spec-grid {
        grid-template-columns: 1fr;
    }

    .item-large,
    .item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .deco-el {
        display: none;
    }

    /* Hide decorative elements on mobile for clean look */
    .hero-image-mask {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
}

/* Keep the hero copy and illustrated lower panel balanced on every phone size. */
@media (max-width: 600px) {
    .site-header { top: 8px; }
    .site-header .navbar { box-sizing: border-box; width: calc(100% - 24px); min-height: 70px; margin: 0 12px; padding: 8px 14px; }
    .navbar .logo img { width: 94px; }
    .nav-actions .btn { padding: 12px 15px; font-size: .82rem; }
    .hero { min-height: max(680px, 100svh); padding: 118px 20px 54px; align-items: center; background-image: linear-gradient(90deg, #063b86ee 0%, #064bb5be 56%, #063b8622 100%), linear-gradient(0deg, #063b8655, transparent 40%), url('../img/banner-img.png'); background-position: center, center, 65% center; background-size: cover; }
    .hero::after { display: none; }
    .hero-content { width: 100%; max-width: 390px; padding-top: 12px; }
    .hero-label { margin-bottom: 18px; padding: 8px 15px; font-size: .82rem; }
    .hero-title { font-size: clamp(31px, 9vw, 40px); line-height: 1.12; margin-bottom: 17px; }
    .hero-desc { max-width: 390px; margin-bottom: 24px; font-size: .98rem; line-height: 1.72; }
    .hero-btn-group { gap: 17px; }
    .hero .btn-coral { min-height: 55px; padding: 13px 27px; }
    .hero .call-block { min-height: 49px; }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .hero { padding-bottom: calc(47.3684vw + 48px); }
    .hero-content { max-width: min(620px, 72vw); }
}
/* Our Specialities: a colourful collection of everyday discoveries. */
.about-highlights {
    padding: 18px 20px;
    border-left: 4px solid #04a29b;
    border-radius: 0 14px 14px 0;
    background: #eaf6f3;
    color: #193e6e;
    font-size: 0.9375rem;
    line-height: 1.9;
}

.about-highlights span {
    display: inline-block;
    margin: 0 6px;
    color: #007e79;
}

.specialities-refresh {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(56px, 7vw, 100px) 0;
    background: radial-gradient(circle at 0 8%, #fff0c8 0, transparent 28%), radial-gradient(circle at 100% 75%, #e6f4f0 0, transparent 28%), #f7f5ee;
    border-top: 1px solid #ece8dc;
}

.specialities-refresh > .container {
    position: relative;
    z-index: 1;
}

.specialities-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    user-select: none;
}

.specialities-doodle {
    position: absolute;
    height: auto;
    animation: speciality-drift 7s ease-in-out infinite;
    filter: drop-shadow(0 8px 8px rgba(25, 62, 110, 0.07));
}

.doodle-pencil { width: 130px; top: 100px; left: max(20px, calc((100% - 1580px) / 2)); }
.doodle-bag { width: 76px; top: 320px; right: max(32px, calc((100% - 1510px) / 2)); animation-delay: -2s; }
.doodle-giraffe { width: 140px; top: 48%; left: max(12px, calc((100% - 1590px) / 2)); animation: speciality-sway 8s ease-in-out infinite; transform-origin: center bottom; }
.doodle-crayons { width: 104px; bottom: 200px; right: max(24px, calc((100% - 1540px) / 2)); animation-delay: -4s; }
.doodle-leaves { width: 180px; top: 30px; right: -38px; animation: speciality-sway 9s ease-in-out infinite; transform-origin: right center; }

@keyframes speciality-drift {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes speciality-sway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@media (max-width: 1450px) {
    .specialities-doodle { display: none; }
    .doodle-bag { display: block; top: 16px; right: 24px; width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .specialities-doodle { animation: none; }
}
.specialities-heading {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
    gap: 48px;
    margin-bottom: 30px;
}
.specialities-eyebrow {
    display: block;
    color: #38665e;
    font: 600 12px var(--font-paragraph);
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.specialities-heading h2 {
    font-size: clamp(30px, 3.3vw, 46px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -1px;
}
.specialities-heading h2 span { color: #9b3e64; }
.specialities-kicker {
    display: block;
    font-family: var(--font-heading);
    color: #193e6e;
    font-size: 24px;
    margin-bottom: 10px;
}
.specialities-intro p {
    color: #526474;
    font-size: 15px;
    line-height: 1.8;
    max-width: 390px;
}
.specialities-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 24px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: #193e6e;
    color: #fff;
    font: 500 14px/1.6 var(--font-paragraph);
    text-align: center;
}
.specialities-note span { color: #ffe45c; font-size: 25px; }
.specialities-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.speciality-tile {
    --tile-tint: #eaf4fc;
    --tile-ink: #21648e;
    background: #fff;
    border: 1px solid #e4e7e8;
    border-radius: 24px 24px 36px 24px;
    padding: 24px;
    position: relative;
    box-shadow: 0 5px 0 var(--tile-tint);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.speciality-green { --tile-tint: #e7f4ec; --tile-ink: #287355; }
.speciality-peach { --tile-tint: #fff0e6; --tile-ink: #ac512b; }
.speciality-purple { --tile-tint: #f1ebfa; --tile-ink: #78509c; }
.speciality-tile:hover { border-color: var(--tile-ink); box-shadow: 0 7px 0 var(--tile-tint); }
.speciality-tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.speciality-symbol {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px 18px 22px 10px;
    background: var(--tile-tint);
    color: var(--tile-ink);
}
.speciality-symbol svg { width: 30px; height: 30px; }
.speciality-number { color: var(--tile-ink); opacity: .65; font: 500 14px var(--font-paragraph); }
.speciality-tile h3 { font-size: 21px; line-height: 1.35; font-weight: 500; min-height: 57px; margin-bottom: 12px; }
.speciality-tag { font-size: 12px; font-weight: 600; color: var(--tile-ink); margin-bottom: 8px; }
.speciality-copy { font-size: 13px; line-height: 1.8; color: #526474; }
.specialities-invite { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; padding: 24px 30px; border: 1px dashed #c8cbbb; border-radius: 20px; }
.specialities-invite p { color: #193e6e; font-size: 15px; }
.specialities-invite .btn { flex-shrink: 0; background: #ffe45c; color: #193e6e; }
.specialities-invite .btn:hover { background: #ffed8a; }
.specialities-invite .btn:focus-visible { outline: 3px solid #193e6e; outline-offset: 4px; }
@media (max-width: 1100px) {
    .specialities-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .specialities-heading { grid-template-columns: 1fr; gap: 24px; }
    .specialities-intro p { max-width: 560px; }
    .specialities-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .specialities-invite { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .specialities-tiles { grid-template-columns: 1fr; gap: 18px; }
    .speciality-tile { padding: 24px; }
    .speciality-tile h3 { min-height: 0; }
    .specialities-note { gap: 12px; padding: 16px; font-size: 12px; }
    .specialities-heading h2 { letter-spacing: -.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .speciality-tile { transition: none; }
}
/* About: campus photograph with an overlaid editorial panel. */
.about-campus {
    position: relative;
    background: #234f65 url('../img/sai-angan.png') center center / cover no-repeat;
    padding: clamp(48px, 6vw, 96px) 0;
    isolation: isolate;
}
.about-campus::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(8, 30, 45, .75), transparent 65%), linear-gradient(90deg, rgba(8, 30, 45, .18), transparent 65%);
}
.campus-layout { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.campus-story { grid-column: 2; }
.campus-caption { color: #fff; padding-bottom: 20px; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.campus-caption > span { font: 600 11px/1.7 var(--font-paragraph); letter-spacing: 1.6px; }
.campus-caption > p { font-size: clamp(26px, 2.5vw, 36px); font-weight: 600; line-height: 1.35; margin: 16px 0 24px; }
.campus-size { display: flex; align-items: center; gap: 18px; border-top: 1px solid rgba(255, 255, 255, .45); padding-top: 20px; }
.campus-size strong { color: #ffe45c; font: 600 clamp(30px, 3vw, 42px)/1.2 var(--font-paragraph); }
.campus-size span { font: 400 13px/1.6 var(--font-paragraph); max-width: 85px; }
.campus-story { background: rgba(255, 253, 247, .97); border: 1px solid rgba(255, 255, 255, .8); border-radius: 28px 28px 64px 28px; padding: clamp(26px, 3vw, 46px); box-shadow: 0 20px 60px rgba(7, 31, 45, .2); }
.campus-eyebrow { color: #287369; font: 600 11px var(--font-paragraph); letter-spacing: 1.8px; }
.campus-story h2 { margin: 16px 0 22px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.25; font-weight: 500; }
.campus-story h2 span { color: #9b3e64; }
.campus-story > p { font-size: 14px; line-height: 1.85; color: #485b68; margin-bottom: 18px; }
.campus-story > p strong { color: #193e6e; font-weight: 600; }
.campus-pillars { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-top: 1px solid #dce5dd; padding: 20px 0 0; margin: 24px 0 0; }
.campus-pillars li { position: relative; min-height: 48px; display: flex; align-items: center; padding: 10px 10px 10px 30px; border: 1px solid #d7e6e0; border-radius: 11px; background: #f2f8f4; font: 600 11px/1.45 var(--font-paragraph); color: #285d57; }
.campus-pillars li::before { content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #299185; box-shadow: 0 0 0 4px #2991851e; transform: translateY(-50%); }
.campus-visit { background: #ffe45c; color: #193e6e; font-size: 14px; padding: 14px 22px; text-align: center; }
.campus-visit:hover { background: #ffed8a; }
.campus-visit:focus-visible { outline: 3px solid #193e6e; outline-offset: 4px; }
@media (max-width: 900px) {
    .campus-layout { grid-template-columns: 1fr; gap: 32px; }
    .about-campus { background-position: 42% center; }
    .campus-caption { padding-top: 100px; }
    .campus-story { grid-column: 1; max-width: 640px; justify-self: end; }
    .campus-caption > p { max-width: 400px; }
    .campus-size { max-width: 340px; }
}
@media (max-width: 480px) {
    .campus-story { border-radius: 24px 24px 40px 24px; padding: 24px; }
    .campus-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .campus-pillars li { min-height: 58px; padding: 9px 8px 9px 27px; font-size: 10px; }
    .campus-pillars li::before { left: 11px; }
    .campus-visit { width: 100%; }
}
/* Facilities: a playful neighbourhood of learning spaces. */
.facilities-town { position: relative; overflow: hidden; padding: 80px 0 60px; background: radial-gradient(ellipse at 50% 0, #fff 0, transparent 60%), #edf7f6; }
.facilities-heading { position: relative; text-align: center; max-width: 760px; margin: 0 auto 70px; }
.facilities-label { display: inline-block; padding: 7px 16px; border-radius: 30px; background: #fff; color: #34746d; font: 600 11px var(--font-paragraph); letter-spacing: 2px; }
.facilities-heading h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.2; margin: 18px 0; }
.facilities-heading h2 span { color: #a34465; }
.facilities-heading p { font-size: 15px; line-height: 1.85; color: #526474; }
.facilities-backpack { position: absolute; width: 64px; height: auto; right: 12px; top: 48px; transform: rotate(12deg); }
.facilities-neighbourhood { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 24px; }
.facility-house { --house-bg: #fff7dd; --house-ink: #946218; position: relative; padding: 28px 22px 36px; text-align: center; background: var(--house-bg); border-radius: 18px 18px 8px 8px; border-bottom: 5px solid var(--house-ink); box-shadow: 0 10px 20px rgba(25,62,110,.04); isolation: isolate; }
.facility-house::before { content: ''; position: absolute; height: 35px; top: -25px; left: 0; right: 0; background: var(--house-bg); clip-path: polygon(0 100%, 50% 0, 100% 100%); z-index: -1; }
.facility-tone-1 { --house-bg: #fcebef; --house-ink: #a34465; }
.facility-tone-2 { --house-bg: #e4f0fc; --house-ink: #326c9f; }
.facility-tone-3 { --house-bg: #eee8fa; --house-ink: #76509e; }
.facility-icon { width: 66px; height: 66px; margin: 0 auto 18px; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.8); color: var(--house-ink); }
.facility-icon svg { width: 34px; height: 34px; transition: transform .25s ease; }
.facility-house:hover .facility-icon svg { transform: rotate(-8deg); }
.facility-house h3 { font-size: 22px; line-height: 1.3; font-weight: 500; min-height: 58px; margin-bottom: 8px; }
.facility-house p { font-size: 13px; line-height: 1.8; color: #526474; }
.facility-window { display: block; margin: 20px auto -36px; width: 28px; height: 28px; border: 2px solid var(--house-ink); border-bottom: 0; border-radius: 14px 14px 0 0; background: rgba(255,255,255,.65); }
.facilities-track { position: relative; height: 125px; overflow: hidden; border-bottom: 3px dashed #a6c1b6; margin: 0 10px; }
.facilities-train { position: absolute; width: 190px; bottom: -10px; left: 0; animation: facilities-ride 16s linear infinite; }
.facilities-train svg { display: block; width: 100%; height: auto; }
@keyframes facilities-ride { from { left: 0; transform: translateX(-100%); } to { left: 100%; transform: translateX(0); } }
.facilities-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.facilities-footer p { font-size: 15px; color: #526474; }
.facilities-footer strong { color: #193e6e; }
.facilities-footer .btn { background: #ffe45c; color: #193e6e; flex-shrink: 0; }
.facilities-footer .btn:hover { background: #ffed8a; }
.facilities-footer .btn:focus-visible { outline: 3px solid #193e6e; outline-offset: 4px; }
@media (max-width: 1050px) { .facilities-neighbourhood { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) {
    .facilities-town { padding: 56px 0 40px; }
    .facilities-neighbourhood { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 18px; }
    .facilities-backpack { width: 38px; top: 0; right: 0; }
    .facilities-footer { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .facilities-neighbourhood { grid-template-columns: 1fr; }
    .facility-house { padding-left: 28px; padding-right: 28px; }
    .facility-house h3 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .facilities-train { animation: none; left: calc(50% - 95px); }
    .facility-icon svg { transition: none; }
}
/* Reveal the campus story on hover, tap, or keyboard activation. */
.about-campus.campus-interactive { overflow: hidden; }
.campus-interactive::before { opacity: 0; transition: opacity .5s ease; }
.campus-interactive.is-story-open::before { opacity: 1; }
.campus-interactive .campus-story { opacity: 0; visibility: hidden; transform: translateY(28px) rotate(1deg); transition: opacity .45s ease, transform .55s ease, visibility .45s; }
.campus-interactive.is-story-open .campus-story { opacity: 1; visibility: visible; transform: translateY(0) rotate(0); }
.campus-reveal-toggle { position: absolute; z-index: 3; left: clamp(24px, 7vw, 140px); bottom: 24px; display: flex; align-items: center; gap: 20px; padding: 15px 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 40px; background: #fffdf7; color: #193e6e; font: 600 14px var(--font-paragraph); box-shadow: 0 6px 24px rgba(0,0,0,.16); cursor: pointer; }
.campus-reveal-toggle[hidden] { display: none; }
.campus-reveal-toggle span { font-size: 22px; color: #007e79; }
.campus-reveal-toggle:focus-visible { outline: 3px solid #ffe45c; outline-offset: 4px; }
@media (max-width: 900px) {
    .about-campus.campus-interactive { padding: 0; background-size: 100% auto; background-position: center top; background-color: #eaf3f1; min-height: max(260px, 42.11vw); }
    .campus-interactive .campus-layout { padding-top: max(260px, 42.11vw); padding-bottom: 24px; }
    .campus-interactive:not(.is-story-open) .campus-layout { display: none; }
    .campus-interactive.is-story-open .campus-story { animation: campus-card-arrive .45s ease both; }
    .campus-interactive .campus-reveal-toggle { top: max(195px, calc(42.11vw - 65px)); bottom: auto; left: 24px; }
}
/* On phones, show the campus photograph first and the full About story directly below it. */
@media (max-width: 900px) {
    .about-campus:not(.campus-interactive) { padding: 0; background-color: #eaf3f1; background-size: 100% auto; background-position: center top; }
    .about-campus:not(.campus-interactive) .campus-layout { display: block; padding-top: 42.11vw; padding-bottom: 24px; }
    .about-campus:not(.campus-interactive) .campus-story { max-width: none; margin: 0; margin-top: 20px;}
}
@keyframes campus-card-arrive { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .campus-interactive::before, .campus-interactive .campus-story { transition: none; }
    .campus-interactive.is-story-open .campus-story { animation: none; }
}
/* Cinematic campus invitation. */
.campus-tour { position: relative; isolation: isolate; min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 35px; padding: 32px clamp(24px, 5vw, 90px) 0; color: #fff; background: #102b42; overflow: hidden; }
.tour-scene { position: absolute; inset: 0; z-index: -3; background: url('../img/1.png') center 55% / cover no-repeat; transform: scale(1.035); transition: transform 1.4s ease; }
.campus-tour:hover .tour-scene { transform: scale(1); }
.campus-tour::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #071c32dd 0%, #102e4855 65%), linear-gradient(0deg, #061b30f0, transparent 45%, #071c3230); }
.campus-tour::after { content: ''; position: absolute; inset: 15px; border: 1px solid #ffffff24; pointer-events: none; z-index: -1; }
.tour-topline { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; font: 500 9px var(--font-paragraph); letter-spacing: 2px; padding-bottom: 22px; border-bottom: 1px solid #ffffff30; }
.tour-topline i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ffe36b; margin-right: 8px; box-shadow: 0 0 0 4px #ffe36b20; }
.tour-editorial { align-self: center; padding: 24px 0 48px; }
.tour-eyebrow { font: 500 9px var(--font-paragraph); letter-spacing: 2px; color: #ffe6a3; }
.campus-tour h2 { font: 800 clamp(65px, 7.8vw, 118px)/.98 var(--font-main); letter-spacing: -5px; color: #fff; margin: 24px 0; }
.campus-tour h2 em { font-family: var(--font-accent); font-weight: 400; color: #ffe36b; letter-spacing: -3px; }
.tour-editorial p { max-width: 280px; font: 400 13px/1.9 var(--font-paragraph); color: #e1e9ef; }
.tour-portal-wrap { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; min-width: 0; }
.tour-giant { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -66%); font: 900 clamp(160px, 20vw, 310px)/1 var(--font-main); letter-spacing: -16px; color: transparent; -webkit-text-stroke: 1px #ffffff45; white-space: nowrap; pointer-events: none; }
.tour-portal { position: relative; width: 200px; height: 200px; border-radius: 50%; color: #fff; text-decoration: none; background: #ffffff08; backdrop-filter: blur(5px); box-shadow: 0 0 0 30px #ffffff04, 0 0 0 31px #ffffff15; transition: transform .35s, background .35s; }
.tour-portal:hover { transform: scale(1.06); background: #ffffff18; }
.tour-portal:focus-visible, .tour-scene-choice:focus-visible { outline: 3px solid #ffe36b; outline-offset: 6px; }
.tour-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; font: 500 10px var(--font-paragraph); letter-spacing: 2px; transform: rotate(-20deg); transition: transform 1s; }
.tour-portal:hover .tour-ring { transform: rotate(12deg); }
.tour-portal-core { position: absolute; inset: 37px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #ffe36b; color: #102f4d; }
.tour-portal-core > span { font: 400 42px/1 var(--font-main); margin-bottom: 7px; }
.tour-portal-core strong { font: 800 11px var(--font-main); letter-spacing: 1px; }
.tour-portal-core small { font: 600 7px var(--font-paragraph); margin-top: 5px; letter-spacing: .6px; }
.tour-handnote { z-index: 1; margin-top: 43px; font: 400 19px var(--font-accent); transform: rotate(-5deg); color: #fff0bd; }
.tour-handnote > span { display: inline-block; font-size: 35px; margin-left: 5px; }
.tour-bottom { grid-column: 1 / -1; display: flex; align-items: center; gap: 30px; padding: 25px 0 32px; border-top: 1px solid #ffffff40; }
.tour-scene-caption { flex: 1; }
.tour-scene-caption > span { display: block; font: 500 8px var(--font-paragraph); letter-spacing: 1.6px; color: #bac9d5; margin-bottom: 9px; }
.tour-scene-caption strong { display: block; max-width: 230px; font: 500 17px/1.5 var(--font-accent); }
.tour-scenes { display: flex; gap: 18px; }
.tour-scene-choice { display: flex; align-items: center; gap: 10px; text-align: left; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 0 0 10px; color: #d8e2e9; cursor: pointer; transition: border-color .2s; }
.tour-scene-choice.is-active { border-color: #ffe36b; color: #ffe36b; }
.tour-scene-choice:hover { border-color: #fff; }
.tour-scene-choice img { width: 60px; height: 48px; object-fit: cover; border-radius: 3px; }
.tour-scene-choice span { font: 500 10px var(--font-paragraph); }
.tour-scene-choice small { display: block; font-size: 8px; opacity: .7; margin-bottom: 5px; }
.tour-bottom-note { font: 400 8px/1.9 var(--font-paragraph); color: #c3d0dc; text-align: right; }
@media (min-width: 1600px) { .campus-tour { min-height: 830px; } }
@media (max-width: 1100px) { .tour-bottom { flex-wrap: wrap; gap: 20px; } .tour-bottom-note { display: none; } .tour-scenes { gap: 12px; } .tour-scene-choice img { width: 46px; } }
@media (max-width: 700px) { .campus-tour { grid-template-columns: 1fr; gap: 12px; min-height: auto; padding: 25px 26px 0; } .tour-topline { font-size: 8px; letter-spacing: 1.2px; } .tour-topline > span:last-child { display: none; } .tour-editorial { text-align: center; padding: 24px 0 14px; } .campus-tour h2 { font-size: clamp(64px, 13vw, 88px); letter-spacing: -3px; margin: 18px 0; } .tour-editorial p { margin: auto; font-size: 12px; } .tour-eyebrow { font-size: 8px; letter-spacing: 1.2px; } .tour-portal-wrap { min-height: 280px; padding: 20px 0; } .tour-portal { width: 165px; height: 165px; } .tour-portal-core { inset: 31px; } .tour-portal-core > span { font-size: 31px; } .tour-portal-core strong { font-size: 9px; } .tour-portal-core small { font-size: 6px; } .tour-giant { font-size: 190px; letter-spacing: -10px; } .tour-handnote { margin-top: 24px; font-size: 17px; } .tour-bottom { flex-direction: column; align-items: stretch; padding: 20px 0 28px; gap: 18px; } .tour-scene-caption { text-align: center; } .tour-scene-caption strong { max-width: none; font-size: 15px; } .tour-scenes { justify-content: center; gap: 14px; } .tour-scene-choice { flex: 1; flex-direction: column; align-items: stretch; gap: 7px; } .tour-scene-choice img { width: 100%; height: 53px; } .tour-scene-choice span { font-size: 9px; } .tour-scene-choice small { display: inline; margin-right: 5px; } .tour-scene { background-position: 60% center; } }
@media (prefers-reduced-motion: reduce) { .tour-scene, .tour-portal, .tour-ring, .tour-scene-choice { transition: none; } .campus-tour:hover .tour-scene, .tour-portal:hover { transform: none; } }

/* Five chapters of campus life. */
.campus-life { padding: clamp(56px,6vw,90px) 0; background: #f5eee9; }
.life-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.life-eyebrow,.life-index { font: 600 11px var(--font-paragraph); letter-spacing: 2px; color: #287369; }
.life-heading h2 { font-size: clamp(32px,3.5vw,48px); line-height: 1.2; font-weight: 500; margin-top: 16px; }
.life-heading h2 span { color: #a34465; }
.life-heading > p { max-width: 350px; font-size: 14px; line-height: 1.8; color: #526474; }
.life-categories { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.life-category { flex: 1 1 170px; display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid #dcdedb; border-radius: 14px; background: #fffcf7; color: #193e6e; text-align: left; font: 600 12px var(--font-paragraph); cursor: pointer; }
.life-category span { display: grid; place-items: center; background: #edf3ef; border-radius: 50%; width: 28px; height: 28px; flex-shrink: 0; font-size: 11px; color: #287369; }
.life-category.is-active { background: #193e6e; color: white; border-color: #193e6e; }
.life-category.is-active span { background: #ffe45c; color: #193e6e; }
.life-category:focus-visible,.life-visit:focus-visible { outline: 3px solid #a34465; outline-offset: 4px; }
.life-panel { display: grid; grid-template-columns: 1.2fr 1fr; background: #fffdf8; border-radius: 28px; overflow: hidden; margin-bottom: 24px; box-shadow: 0 12px 32px rgba(25,62,110,.06); }
.life-panel[hidden] { display: none; }
.life-photo { position: relative; min-height: 470px; background: #e2f0e9; }
.life-photo img { width: 100%; height: calc(100% - 56px); position: absolute; inset: 0; object-fit: contain; object-position: center; }
.life-photo-note { position: absolute; bottom: 10px; left: 16px; right: 16px; width: fit-content; padding: 9px 16px; background: #fffdf5; color: #193e6e; border-radius: 30px; font: 500 11px var(--font-paragraph); }
.life-panel-copy { padding: clamp(24px,3vw,44px); }
.life-panel-copy h3 { font-size: clamp(28px,2.5vw,36px); font-weight: 500; line-height: 1.25; margin: 14px 0; }
.life-panel-copy p { font-size: 14px; line-height: 1.8; color: #526474; }
.life-panel-copy .life-tagline { color: #a34465; font-weight: 600; margin-bottom: 12px; }
.life-panel-copy ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0; }
.life-panel-copy li { padding: 7px 11px; background: #edf4ef; border-radius: 8px; color: #285d57; font: 500 11px/1.6 var(--font-paragraph); }
.life-visit { display: inline-flex; gap: 18px; align-items: center; color: #193e6e; text-decoration: none; border-bottom: 2px solid #e9bc4d; padding: 8px 0; font: 700 13px var(--font-paragraph); }
.life-care-art { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 40px 30px 90px; }
.life-care-art svg { width: min(100%,300px); }
.life-care-art > span { font-family: var(--font-heading); font-size: 24px; text-align: center; }
.life-enhanced .life-panel:not([hidden]) { animation: life-reveal .35s ease both; }
@keyframes life-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) { .life-heading { display: block; } .life-heading > p { margin-top: 20px; max-width: 500px; } .life-panel { grid-template-columns: 1fr; } .life-photo { min-height: 320px; } }
@media (max-width: 480px) { .life-category { flex-basis: 140px; font-size: 11px; padding: 10px; } .life-photo { min-height: 260px; } .life-photo-note { bottom: 16px; left: 16px; } }
@media (prefers-reduced-motion: reduce) { .life-enhanced .life-panel:not([hidden]) { animation: none; } }
/* Browse the actual photographs in each campus category. */
.life-photo-gallery { min-width: 0; background: #e7f0e9; display: flex; flex-direction: column; }
.life-photo-gallery .life-photo { flex: 1; min-height: 360px; }
.life-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.life-thumbnail { min-width: 0; padding: 4px; border: 2px solid transparent; border-radius: 10px; background: #fffdf8; color: #193e6e; cursor: pointer; }
.life-thumbnail[aria-pressed="true"] { border-color: #287369; background: #f5eab8; }
.life-thumbnail img { width: 100%; height: 58px; object-fit: contain; object-position: center; background: #edf3ef; border-radius: 5px; }
.life-thumbnail span { display: block; font: 500 10px/1.4 var(--font-paragraph); padding: 6px 0 2px; }
.life-thumbnail:focus-visible { outline: 3px solid #a34465; outline-offset: 2px; }
@media (max-width: 480px) { .life-photo-gallery .life-photo { min-height: 250px; } .life-thumbnails { gap: 5px; padding: 8px; } .life-thumbnail img { height: 46px; } }
/* Photos pegged to a continuous memory line. */
.photo-wire-section { overflow: hidden; padding: 72px 0 32px; background: radial-gradient(ellipse at 85% 90%, #e4efcb, transparent 48%), radial-gradient(ellipse at 10% 90%, #fbe4ce, transparent 45%), #faf8f3; }
.wire-heading { text-align: center; }
.wire-heading h2 { font-size: clamp(34px,4vw,54px); line-height: 1.2; font-weight: 500; margin: 18px 0; }
.wire-heading h2 span { color: #a34465; }
.wire-heading p { font-size: 14px; line-height: 1.8; color: #526474; }
.wire-pause { margin-top: 22px; padding: 12px 22px; background: #ffe45c; border: 0; border-radius: 30px; font: 600 12px var(--font-paragraph); color: #193e6e; cursor: pointer; }
.wire-help { display: block; font: 400 11px var(--font-paragraph); color: #526474; margin-top: 14px; }
.wire-viewport { overflow-x: auto; padding: 70px 0 55px; }
.wire-enhanced .wire-viewport { overflow: hidden; }
.wire-track { display: flex; width: max-content; }
.wire-enhanced .wire-track { animation: wire-travel 100s linear infinite; }
.wire-group { position: relative; display: flex; gap: 32px; padding: 0 16px; }
.wire-group::before { content: ''; position: absolute; left: 0; right: 0; top: -13px; height: 2px; background: #b5b6a8; }
.wire-photo { position: relative; flex: 0 0 260px; width: 260px; padding: 10px 10px 16px; background: #fff; border: 1px solid #dedfd7; border-radius: 18px; box-shadow: 0 15px 24px rgba(53,57,36,.12); transform: rotate(var(--tilt)); transform-origin: center -12px; transition: transform .3s ease, box-shadow .3s ease; color: #193e6e; text-decoration: none; }
.wire-clip { position: absolute; left: calc(50% - 9px); top: -27px; z-index: 2; width: 18px; height: 34px; border-radius: 4px; background: var(--clip); box-shadow: 0 2px 2px #0002; }
.wire-clip::after { content: ''; position: absolute; top: 5px; left: 6px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.wire-photo img { width: 100%; height: 200px; object-fit: contain; background: #f1f4ef; border-radius: 10px; }
.wire-caption { display: flex; justify-content: space-between; gap: 8px; margin: 14px 6px 6px; font-family: var(--font-heading); font-size: 20px; }
.wire-detail { display: block; margin: 0 6px; font: 400 10px var(--font-paragraph); color: #61717b; }
.wire-photo:hover,.wire-photo:focus-visible { transform: rotate(0) scale(1.07); z-index: 3; box-shadow: 0 20px 35px #193e6e26; }
.wire-photo:focus-visible,.wire-pause:focus-visible,.wire-close:focus-visible { outline: 3px solid #287369; outline-offset: 4px; }
.wire-viewport:hover .wire-track,.wire-viewport:focus-within .wire-track,.wire-is-paused .wire-track,.wire-viewing .wire-track { animation-play-state: paused; }
@keyframes wire-travel { to { transform: translateX(-50%); } }
.wire-dialog { position: fixed; inset: 0; margin: auto; width: fit-content; max-width: 94vw; max-height: 94dvh; border: 0; border-radius: 0; padding: 42px 0 0; background: transparent; color: #fff; box-shadow: none; }
.wire-dialog::backdrop { background: rgba(9,25,41,.82); }
.wire-dialog > img { display: block; width: auto; height: auto; max-width: 94vw; max-height: 78dvh; margin: auto; object-fit: contain; }
.wire-dialog p { margin-top: 12px; text-align: center; font-size: 14px; }
.wire-close { position: absolute; top: 0; right: 0; border: 0; background: transparent; border-radius: 50%; width: 34px; height: 34px; color: #fff; font-size: 28px; cursor: pointer; }
@media (max-width: 600px) { .wire-photo { width: 220px; flex-basis: 220px; } .wire-photo img { height: 180px; } .wire-group { gap: 24px; padding-inline: 12px; } .photo-wire-section { padding-top: 48px; } }
@media (prefers-reduced-motion: reduce) { .wire-enhanced .wire-track { animation: none; } .wire-enhanced .wire-viewport { overflow-x: auto; } .wire-photo { transition: none; } .wire-clone { display: none; } }
/* Parent love notes: a preschool keepsake board. */
.parent-notes { position: relative; padding: clamp(65px, 7vw, 105px) 0 60px; background-color: #fffaf0; background-image: radial-gradient(#cdbd9b55 .8px, transparent .8px); background-size: 18px 18px; overflow: hidden; }
.parent-notes .container { max-width: 1260px; }
.parent-notes-heading { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(25px, 5vw, 75px); text-align: center; margin-bottom: 65px; }
.parent-notes-eyebrow { font: 600 10px var(--font-paragraph); letter-spacing: 2.3px; color: #926642; }
.parent-notes h2 { font: 400 clamp(36px, 4vw, 55px)/1.16 var(--font-accent); color: #193e6e; margin: 17px 0; }
.parent-notes h2 span { color: #b5536e; position: relative; }
.parent-notes-heading p { font: 400 12px/1.9 var(--font-paragraph); color: #667080; }
.parent-notes-flower { width: 104px; flex-shrink: 0; transform: rotate(-12deg); }
.parent-notes-stamp { width: 121px; height: 121px; border: 1px dashed #b5794d; outline: 6px solid #f7e7c8; border-radius: 50%; background: #f7e7c8; color: #945b37; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(12deg); flex-shrink: 0; }
.parent-notes-stamp span { font: 500 9px var(--font-paragraph); letter-spacing: .8px; }
.parent-notes-stamp strong { font: 400 29px/1.1 var(--font-accent); }
.parent-notes-stamp b { font-size: 23px; line-height: 1.1; margin-top: 4px; }
.parent-notes-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 28px; align-items: start; padding: 0 10px; }
.parent-note { --note-color: #fff0b9; --note-tilt: -1.5deg; position: relative; margin: 0; padding: 24px 27px 27px; background: var(--note-color); border: 1px solid #193e6e09; border-radius: 3px 3px 22px 3px; box-shadow: 2px 7px 0 #193e6e04, 0 12px 22px #62513a0b; transform: rotate(var(--note-tilt)); transition: transform .25s, box-shadow .25s; }
.parent-note:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 17px 30px #62513a17; }
.parent-note-rose { --note-color: #fbe1e5; --note-tilt: 1.7deg; margin-top: 18px; }
.parent-note-mint { --note-color: #dfede0; --note-tilt: -1deg; }
.parent-note-lavender { --note-color: #ece4f5; --note-tilt: 1deg; }
.parent-note-peach { --note-color: #ffe7d3; --note-tilt: -1.2deg; margin-top: 17px; }
.parent-note-blue { --note-color: #e1edf4; --note-tilt: 1.5deg; }
.parent-note-tape { position: absolute; width: 83px; height: 26px; top: -13px; left: calc(50% - 41px); background: repeating-linear-gradient(90deg, #fffdf878 0 5px, #e5d6b34d 5px 6px); border-left: 1px dashed #c2ac8755; border-right: 1px dashed #c2ac8755; transform: rotate(-7deg); box-shadow: 0 1px 2px #81745608; }
.parent-note:nth-child(even) .parent-note-tape { transform: rotate(8deg); }
.parent-note-top { display: flex; align-items: center; justify-content: space-between; color: #52616c; margin-bottom: 6px; }
.parent-note-top > span:first-child { font: 600 8px var(--font-paragraph); letter-spacing: 1.7px; opacity: .7; }
.parent-note-top > span:last-child { color: #ad6b66; font: 400 31px/1 var(--font-main); }
.parent-note h3 { font: 400 24px/1.2 var(--font-accent); color: #193e6e; margin: 10px 0 17px; }
.parent-note blockquote { margin: 0; }
.parent-note blockquote p { font: 400 12px/1.95 var(--font-paragraph); color: #455263; margin: 0; }
.parent-note figcaption { display: flex; align-items: center; gap: 11px; border-top: 1px dashed #193e6e2b; margin-top: 23px; padding-top: 17px; }
.parent-note-avatar { flex-shrink: 0; display: grid; place-items: center; width: 35px; height: 35px; background: #ffffff80; border: 1px solid #ffffffa0; border-radius: 42% 58% 55% 45%; color: #193e6e; font: 700 10px var(--font-main); }
.parent-note figcaption strong { display: block; font: 700 11px/1.6 var(--font-main); color: #193e6e; }
.parent-note figcaption small { display: block; font: 400 9px/1.6 var(--font-paragraph); color: #65717b; margin-top: 2px; }
.parent-note-wide { --note-color: #fffdf6; --note-tilt: -.5deg; grid-column: 1 / -1; display: grid; grid-template-columns: .7fr 1.6fr; column-gap: 40px; padding: 30px 38px; margin-top: 5px; background-image: repeating-linear-gradient(transparent 0 31px, #b8c9d52b 31px 32px); }
.parent-note-wide .parent-note-top { grid-column: 1; }
.parent-note-wide h3 { grid-column: 1; font-size: 31px; margin: 0; }
.parent-note-wide blockquote { grid-column: 2; grid-row: 1 / 4; align-self: center; padding-left: 30px; border-left: 2px solid #e3a0a75e; }
.parent-note-wide figcaption { grid-column: 1; margin-top: 18px; }
.parent-notes-signoff { text-align: center; margin: 40px 0 0; color: #85715c; font: 400 18px var(--font-accent); }
.parent-notes-signoff span { color: #b5536e; margin-left: 8px; font-size: 27px; vertical-align: middle; }
@media (max-width: 1000px) { .parent-notes-board { gap: 30px 20px; } .parent-note { padding: 23px 20px; } .parent-notes-heading { gap: 28px; } .parent-notes-flower { width: 75px; } .parent-notes-stamp { width: 95px; height: 95px; } }
@media (max-width: 800px) { .parent-notes-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .parent-note-peach, .parent-note-rose { margin-top: 0; } .parent-notes-flower { position: absolute; left: 0; top: -35px; width: 58px; opacity: .8; } .parent-notes-stamp { display: none; } .parent-note-wide { grid-template-columns: 1fr; } .parent-note-wide .parent-note-top, .parent-note-wide h3, .parent-note-wide blockquote, .parent-note-wide figcaption { grid-column: auto; grid-row: auto; } .parent-note-wide blockquote { padding-left: 0; border-left: 0; margin-top: 17px; } }
@media (max-width: 520px) { .parent-notes-board { grid-template-columns: 1fr; gap: 32px; padding: 0 7px; } .parent-notes-heading { margin-bottom: 45px; } .parent-notes-eyebrow { font-size: 8px; letter-spacing: 1.5px; } .parent-notes-heading p { font-size: 11px; } .parent-notes-heading p br { display: none; } .parent-notes-flower { top: -43px; left: -5px; width: 44px; } .parent-note { padding: 24px; } .parent-note h3 { font-size: 25px; } .parent-note blockquote p { font-size: 12px; } .parent-note-wide h3 { font-size: 27px; } .parent-notes-signoff { font-size: 16px; padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .parent-note { transition: none; } .parent-note:hover { transform: rotate(var(--note-tilt)); } }
/* Warm architectural footer inspired by a printed school keepsake. */
.school-footer { background: #fcf5ed; border-top: 3px solid #a06149; padding-top: clamp(35px, 4vw, 60px); overflow: hidden; }
.school-footer-frame { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.school-footer-brand { display: block; width: fit-content; margin-bottom: 26px; }
.school-footer-brand img { display: block; width: 160px; height: auto; }
.school-footer-contact { display: grid; grid-template-columns: 1fr .85fr 1.4fr; gap: 32px; margin: 0; padding: 25px 0 28px; border-top: 1px solid #9a70502b; border-bottom: 1px solid #9a70502b; font-style: normal; }
.school-footer-item { display: flex; align-items: flex-start; gap: 13px; color: #6d625a; font: 400 16px/1.85 var(--font-paragraph); text-decoration: none; min-width: 0; transition: color .2s; }
.school-footer-item svg { width: 24px; height: 24px; margin-top: 3px; flex-shrink: 0; color: #a06149; }
.school-footer-item small { display: block; margin-bottom: 7px; color: #704d3e; font: 600 12px/1.5 var(--font-paragraph); letter-spacing: 1.4px; }
.school-footer-item > span { min-width: 0; overflow-wrap: anywhere; }
.school-footer-item:hover { color: #a3472e; }
.school-footer-item:focus-visible, .school-footer-brand:focus-visible { outline: 2px solid #a06149; outline-offset: 6px; }
.school-footer-photo { display: block; width: 100%; height: auto; margin: 35px auto 0; mix-blend-mode: multiply; }
@media (min-width: 1600px) { .school-footer-photo { max-width: 1800px; } }
@media (max-width: 800px) { .school-footer-contact { grid-template-columns: 1fr 1fr; gap: 25px; } .school-footer-location { grid-column: 1 / -1; } .school-footer-frame { padding: 0 25px; } .school-footer-photo { width: 125%; max-width: none; margin-left: -12.5%; } }
@media (max-width: 480px) { .school-footer-brand img { width: 140px; } .school-footer-contact { grid-template-columns: 1fr; gap: 22px; padding: 23px 0; } .school-footer-item { font-size: 15px; } .school-footer-item small { font-size: 11px; margin-bottom: 4px; } .school-footer-photo { width: 150%; margin-left: -25%; margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) { .school-footer-item { transition: none; } }

/* Persistent admissions invitation and application form. */
.apply-now-trigger { position: fixed; z-index: 900; top: 50%; right: 0; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 38px; height: 142px; border: 0; border-radius: 15px 0 0 15px; padding: 14px 0; background: #ed4f2b; box-shadow: 0 12px 28px #53231540; color: #fff; font: 800 11px/1 var(--font-paragraph); cursor: pointer; text-transform: uppercase; transition: width .25s ease, background .25s ease; }
.apply-now-trigger > span { display: block; writing-mode: vertical-rl; letter-spacing: 1.8px; transform: rotate(180deg); }
.apply-now-trigger:hover { width: 44px; background: #cf3f1d; }
.apply-now-trigger:focus-visible { outline: 3px solid #ffe45c; outline-offset: -5px; }
.application-dialog { position: fixed; inset: 0; width: min(92vw, 670px); height: fit-content; max-height: 92dvh; margin: auto; overflow: auto; border: 0; border-radius: 24px; padding: 0; color: #193e6e; background: #fffaf3; box-shadow: 0 24px 80px #102b4266; }
.application-dialog::backdrop { background: #08233caa; backdrop-filter: blur(4px); }
.application-close { position: absolute; z-index: 2; top: 14px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ffffff30; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.application-dialog-heading { padding: 40px 54px 34px; color: #fff; background: radial-gradient(circle at 88% 15%, #ffe45c55 0 12%, transparent 12.5%), #193e6e; }
.application-dialog-heading > span { font: 700 10px var(--font-paragraph); letter-spacing: 1.8px; color: #ffe45c; }
.application-dialog h2 { margin: 12px 0 9px; font: 800 clamp(32px, 4vw, 47px)/1 var(--font-main); letter-spacing: -1.7px; }
.application-dialog h2 em { color: #ffe45c; font-family: var(--font-accent); font-weight: 400; }
.application-dialog-heading p { max-width: 350px; margin: 0; font: 400 13px/1.6 var(--font-paragraph); color: #e3edf5; }
.application-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 32px 54px 38px; }
.application-form label { display: grid; gap: 7px; color: #496077; font: 700 11px var(--font-paragraph); letter-spacing: .3px; }
.application-form input, .application-form select, .application-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #cfd8df; border-radius: 9px; padding: 12px; outline: none; color: #193e6e; background: #fff; font: 500 14px var(--font-paragraph); }
.application-form textarea { resize: vertical; min-height: 88px; }
.application-form input:focus, .application-form select:focus, .application-form textarea:focus { border-color: #e9532d; box-shadow: 0 0 0 3px #e9532d1c; }
.application-message, .application-submit, .application-status { grid-column: 1 / -1; }
.application-submit { border: 0; border-radius: 10px; padding: 14px 18px; background: #e9532d; color: #fff; font: 800 14px var(--font-paragraph); cursor: pointer; }
.application-submit:hover { background: #cf3f1d; }
.application-status { min-height: 18px; margin: -5px 0 0; color: #287369; font: 700 12px var(--font-paragraph); text-align: center; }
@media (max-width: 600px) { .apply-now-trigger { top: 50%; right: 0; bottom: auto; width: 38px; height: 142px; min-height: 0; transform: translateY(-50%); border-radius: 12px 0 0 12px; padding: 10px 0; font-size: 10px; } .apply-now-trigger:hover { width: 44px; } .application-dialog-heading { padding: 34px 25px 28px; } .application-form { grid-template-columns: 1fr; padding: 25px; gap: 14px; } .application-message, .application-submit, .application-status { grid-column: auto; } }
