/* ============================================================
   COMPONENTS — crest-inspired, photo-led, circular motif
   ============================================================ */

/* ==== PROSE (article body) ==== */
.prose {
    color: var(--charcoal-text, #222);
    line-height: 1.85;
    font-size: 1rem;
}
.prose p  { margin-bottom: 1.25em; }
.prose h2, .prose h3, .prose h4 { color: var(--navy, #13294B); margin-top: 2em; margin-bottom: .6em; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose ul, .prose ol { margin-bottom: 1.25em; padding-left: 1.5em; }
.prose li { margin-bottom: .4em; }
.prose a  { color: var(--primary-green, #1E5C2E); text-decoration: underline; }
.prose strong { font-weight: 700; }

/* ==== BUTTONS ==== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.78rem 1.75rem;
    border-radius: var(--r-full);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: background var(--ease), color var(--ease), border-color var(--ease),
                transform var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }

.btn-pitch {
    background: var(--pitch);
    color: var(--white);
    border-color: var(--pitch);
}
.btn-pitch:hover { background: var(--pitch-dark); border-color: var(--pitch-dark); box-shadow: var(--shadow-md); }

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-warm); border-color: var(--gold-warm); box-shadow: 0 6px 24px rgba(196,154,26,.35); }

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-outline-pitch {
    background: transparent;
    color: var(--pitch);
    border-color: var(--pitch);
}
.btn-outline-pitch:hover { background: var(--pitch); color: var(--white); }

.btn-lg { padding: 0.95rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.82rem; }

/* Arrow slide effect */
.btn-arrow svg { transition: transform var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }


/* ==== HERO SLIDER ==== */
.hero-slider {
    position: relative;
    height: 100svh;
    min-height: 580px;
    overflow: hidden;
    background: var(--pitch-dark);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;   /* text sits in the lower third */
}

/* Photo layer */
.slide-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    transition: transform 8s ease-out;
}
.slide.active .slide-photo { transform: scale(1); }

/* Dark-green tinted gradient overlay (keeps the pitch-green palette over any photo) */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(8, 18, 10, 0.55) 0%,
        rgba(8, 18, 10, 0.68) 42%,
        rgba(6, 14, 8, 0.90) 100%
    );
    z-index: 1;
}

/* Caption */
.slide-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-12) var(--container-px);
    max-width: var(--container-max);
    margin-inline: auto;
    width: 100%;
    padding-bottom: clamp(var(--sp-12), 8vh, var(--sp-24));
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease 0.3s, transform 0.65s ease 0.3s;
}
.slide.active .slide-content { opacity: 1; transform: translateY(0); }

.slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin-bottom: var(--sp-4);
}
.slide-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: var(--r-circle);
    background: var(--gold);
    flex-shrink: 0;
}

.slide-content h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 1.08;
    max-width: 680px;
    margin-bottom: var(--sp-4);
    text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

/* Script accent — appears ONLY on slide 1 */
.slide-script {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    color: var(--gold);
    margin-bottom: var(--sp-6);
    display: block;
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.slide-sub {
    color: rgba(255,255,255,.8);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    max-width: 480px;
    margin-bottom: var(--sp-8);
}

.slide-ctas {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

/* Slider nav arrows — circular frames */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: var(--r-circle);   /* circular — core motif */
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.3);
    backdrop-filter: blur(6px);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.slider-btn:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.65);
    transform: translateY(-50%) scale(1.1);
}
.slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-prev { left: var(--sp-5); }
.slider-next { right: var(--sp-5); }

/* Slider dots — circular (never pill on active) */
.slider-dots {
    position: absolute;
    bottom: var(--sp-6);
    right: var(--sp-6);
    z-index: 10;
    display: flex;
    gap: var(--sp-2);
    align-items: center;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--r-circle);   /* circular motif — stays circle, not pill */
    background: rgba(255,255,255,.3);
    border: 2px solid rgba(255,255,255,.5);
    padding: 0;
    cursor: pointer;
    transition: background var(--ease), border-color var(--ease), transform var(--ease),
                width 0s;    /* prevent width from transitioning — keeps it circular */
}
.slider-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.4);
    width: 10px;               /* explicitly maintain circle */
    border-radius: var(--r-circle);
}

/* Slide counter (e.g. "01 / 03") */
.slide-counter {
    position: absolute;
    bottom: var(--sp-6);
    left: var(--sp-6);
    z-index: 10;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.45);
}
.slide-counter strong { color: rgba(255,255,255,.8); font-weight: 600; }

@media (max-width: 768px) {
    .slider-btn { display: none; }
    .hero-slider { height: 90svh; min-height: 500px; }
    .slide { align-items: center; }
    .slide-content { text-align: center; padding-bottom: var(--sp-16); }
    .slide-ctas { justify-content: center; }
    .slide-sub { margin-inline: auto; }
    .slider-dots { right: 50%; transform: translateX(50%); }
    .slide-counter { display: none; }
}


/* ==== QUICK-NAV CIRCLES ==== */
.quick-nav-strip {
    background: var(--white);
    padding-block: var(--sp-8);
    border-bottom: 1px solid var(--cream-mid);
}
.quick-nav-inner {
    display: flex;
    justify-content: center;
    gap: clamp(var(--sp-8), 6vw, var(--sp-20));
    flex-wrap: wrap;
}
.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    color: var(--ink);
    transition: transform var(--ease-spring);
}
.quick-nav-item:hover { transform: translateY(-4px); }

/* Large circle — central motif echoed from logo frame */
.qn-circle {
    width: 72px;
    height: 72px;
    border-radius: var(--r-circle);
    background: var(--cream);
    border: 2px solid var(--cream-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.qn-circle svg {
    width: 28px;
    height: 28px;
    stroke: var(--pitch);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--ease), transform var(--ease);
}
.quick-nav-item:hover .qn-circle {
    border-color: var(--pitch);
    background: var(--pitch-light);
    box-shadow: 0 6px 20px rgba(26,92,42,.15);
}
.quick-nav-item:hover .qn-circle svg {
    transform: scale(1.12);
}
.quick-nav-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    color: var(--slate);
    letter-spacing: 0.03em;
}

@media (max-width: 400px) {
    .qn-circle { width: 58px; height: 58px; }
    .qn-circle svg { width: 24px; height: 24px; }
    .quick-nav-inner { gap: var(--sp-6); }
}


/* ==== INTRO SPLIT ==== */
.intro-grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: var(--sp-16);
    align-items: center;
}

.intro-photo-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: visible;
}
.intro-photo-wrap img {
    border-radius: var(--r-xl);
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-xl);
}

/* Circular badge overlapping the photo corner — motif echo */
.intro-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 110px;
    height: 110px;
    border-radius: var(--r-circle);
    background: var(--pitch);
    border: 5px solid var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.intro-badge .script-accent { font-size: 0.72rem; color: var(--gold); display: block; }
.intro-badge strong { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.8rem; line-height: 1; }
.intro-badge small { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.intro-text h2 { margin-bottom: var(--sp-5); }
.intro-text p  { color: var(--slate); font-size: 1rem; margin-bottom: var(--sp-4); }

/* Text link */
.text-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--pitch);
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    transition: gap var(--ease);
    margin-top: var(--sp-3);
}
.text-link:hover { gap: 0.65em; }
.text-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.5; }

@media (max-width: 860px) {
    .intro-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
    .intro-photo-wrap img { height: 340px; }
    .intro-badge { bottom: -16px; right: var(--sp-6); width: 90px; height: 90px; }
    .intro-badge strong { font-size: 1.4rem; }
}


/* ==== PROGRAM PHOTO CARDS ==== */
.program-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
}
.program-photo-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: visible;
    box-shadow: var(--shadow-md);
    transition: transform var(--ease-spring), box-shadow var(--ease);
}
.program-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.program-photo-wrap {
    position: relative;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    overflow: hidden;
    height: 260px;
}
.program-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.program-photo-card:hover .program-photo-wrap img { transform: scale(1.06); }

/* Circular age badge — overlaps from photo into card body (the circular motif) */
.program-age-badge {
    position: absolute;
    bottom: 10px;
    left: var(--sp-6);
    width: 64px;
    height: 64px;
    border-radius: var(--r-circle);
    background: var(--pitch);
    border: 3px solid var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 0.62rem;
    text-align: center;
    line-height: 1.3;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.program-card-body {
    padding: calc(var(--sp-8) + 10px) var(--sp-6) var(--sp-6);
}
.program-card-body h3 { margin-bottom: var(--sp-3); }
.program-card-body p  { color: var(--slate); font-size: 0.92rem; margin-bottom: var(--sp-5); }

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
}
.feature-tag {
    background: var(--pitch-light);
    color: var(--pitch);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.73rem;
    padding: 0.22rem 0.7rem;
    border-radius: var(--r-full);
}

@media (max-width: 700px) {
    .program-cards-grid { grid-template-columns: 1fr; }
    .program-photo-wrap { height: 220px; }
}


/* ==== VALUES — circular icon badges ==== */
.values-4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
}
.value-card {
    text-align: center;
    padding: var(--sp-6) var(--sp-4);
}
/* Circular icon — the central motif */
.value-icon-circle {
    width: 78px;
    height: 78px;
    border-radius: var(--r-circle);
    background: var(--pitch);
    border: 3px solid var(--pitch-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-5);
    transition: transform var(--ease-spring), box-shadow var(--ease), border-color var(--ease);
}
.value-card:hover .value-icon-circle {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(26,92,42,.28);
    border-color: var(--gold);
}
.value-icon-circle svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.value-card h3 { font-size: 1rem; margin-bottom: var(--sp-2); }
.value-card p  { font-size: 0.85rem; color: var(--slate); }

@media (max-width: 860px) { .values-4-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .values-4-grid { grid-template-columns: 1fr; } }


/* ==== CAMP PHOTO CARDS ==== */
.camps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.camp-photo-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform var(--ease-spring), box-shadow var(--ease);
}
.camp-photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.camp-photo-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}
.camp-photo-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.camp-photo-card:hover .camp-photo-wrap img { transform: scale(1.05); }

/* Season badge — circular, overlapping (motif) */
.camp-season-badge {
    position: absolute;
    top: var(--sp-4);
    left: var(--sp-4);
    background: rgba(13, 30, 53, 0.82);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
    border-radius: var(--r-full);
    border: 1px solid rgba(255,255,255,.15);
}

.camp-card-body { padding: var(--sp-5); }
.camp-card-body h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.camp-card-body p  { font-size: 0.86rem; color: var(--slate); margin-bottom: var(--sp-4); }

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


/* ==== NEWS PHOTO CARDS ==== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.news-photo-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease-spring), box-shadow var(--ease);
    display: flex;
    flex-direction: column;
}
.news-photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.news-photo-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.news-photo-card:hover .news-photo-wrap img { transform: scale(1.05); }

.news-category {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    background: var(--pitch);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: var(--r-full);
}

.news-card-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 0.75rem; color: var(--muted); margin-bottom: var(--sp-2); }
.news-card-body h3 { font-size: 1rem; margin-bottom: var(--sp-3); flex: 1; }

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


/* ==== CTA BAND ==== */
.cta-band {
    background: var(--pitch-dark);
    padding-block: var(--sp-20);
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Decorative circular shape behind text */
.cta-band::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 700px);
    height: min(90vw, 700px);
    border-radius: var(--r-circle);
    border: 1px solid rgba(196,154,26,.1);
    pointer-events: none;
}
.cta-band::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(65vw, 480px);
    height: min(65vw, 480px);
    border-radius: var(--r-circle);
    border: 1px solid rgba(196,154,26,.07);
    pointer-events: none;
}
.cta-eyebrow { color: rgba(255,255,255,.45); letter-spacing: 0.2em; margin-bottom: var(--sp-5); }
.cta-headline {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--sp-4);
    position: relative;
    z-index: 1;
}
/* Script accent — the one instance outside the header */
.cta-script {
    font-size: clamp(1.6rem, 4vw, 3rem);
    color: var(--gold);
    display: block;
    margin-bottom: var(--sp-5);
    position: relative;
    z-index: 1;
}
.cta-sub {
    color: rgba(255,255,255,.65);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    max-width: 480px;
    margin: 0 auto var(--sp-8);
    position: relative;
    z-index: 1;
}
.cta-band .btn { position: relative; z-index: 1; }


/* ==== SECTION HEADER ROW ==== */
.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-8);
    margin-bottom: var(--sp-10);
    flex-wrap: wrap;
}
.section-header-row h2 { margin-bottom: 0; }


/* ==== STATS BAR ==== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    border-top: 1px solid var(--cream-mid);
    border-bottom: 1px solid var(--cream-mid);
    margin-block: var(--sp-12);
}
.stat-cell {
    padding: var(--sp-8) var(--sp-4);
    border-right: 1px solid var(--cream-mid);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--pitch);
    line-height: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.08em;
}
.stat-num sup { font-size: 0.45em; margin-top: 0.3em; color: var(--gold-accessible); }
.stat-cell-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: var(--sp-2);
}
@media (max-width: 600px) {
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-cell { border-bottom: 1px solid var(--cream-mid); }
    .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-bottom: none; }
}


/* ==== GENERAL ---- */
.alert { padding: var(--sp-4) var(--sp-6); border-radius: var(--r-lg); font-size: 0.92rem; font-weight: 500; margin-bottom: var(--sp-4); }
.alert-success { background: #d4edda; color: #1e5c2e; }
.alert-error   { background: #f8d7da; color: #c0392b; }


/* ==== FORMS ==== */
.form-field { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--cream-mid);
    border-radius: var(--r-lg);
    background: var(--white);
    color: var(--ink);
    font-size: 0.92rem;
    font-family: 'DM Sans', sans-serif;
    transition: border-color var(--ease), box-shadow var(--ease);
    appearance: none;
    -webkit-appearance: none;
}
.form-input:focus {
    outline: none;
    border-color: var(--pitch);
    box-shadow: 0 0 0 3px rgba(26,92,42,.12);
}
.form-input--error {
    border-color: var(--error-red);
}
.form-input--error:focus {
    box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
textarea.form-input { min-height: 110px; }

.form-error {
    font-size: 0.78rem;
    color: var(--error-red);
    font-weight: 500;
    margin: 0;
}


/* ==== RESPONSIVE GRID UTILITIES ==== */
/* Used to replace inline grid styles that can't be targeted by media queries */

.grid-halves {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.grid-thirds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--sp-16);
    align-items: start;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}

@media (max-width: 768px) {
    .grid-halves  { grid-template-columns: 1fr; }
    .grid-thirds  { grid-template-columns: repeat(2, 1fr); }
    .grid-contact { grid-template-columns: 1fr; gap: var(--sp-8); }
    .form-grid-2  { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
    .grid-thirds  { grid-template-columns: 1fr; }
}

/* ==== PARTY PHOTO GALLERY ==== */
.party-gallery-item {
    border-radius: var(--r-xl);
    overflow: hidden;
    height: 240px;
}
.party-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 440px) {
    .party-gallery-item { height: 200px; }
}

/* ==== BUTTON LOADING STATE ==== */
.btn--loading {
    pointer-events: none;
    opacity: 0.75;
    position: relative;
    color: transparent !important;
}
.btn--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--spinner-size);
    height: var(--spinner-size);
    margin: calc(var(--spinner-size) / -2) 0 0 calc(var(--spinner-size) / -2);
    border: 2.5px solid rgba(255,255,255,.8);
    border-top-color: transparent;
    border-radius: var(--r-circle);
    animation: btn-spin 0.65s linear infinite;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .btn--loading::after { animation: none; opacity: 0.5; }
}

/* ==== DISABLED / READONLY FORM INPUTS ==== */
.form-input:disabled,
.form-input[readonly] {
    background: var(--cream-mid);
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ==== FIELD-LEVEL ERROR STATE ==== */
.form-field--has-error .form-input {
    border-color: var(--error-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.form-field--has-error .form-label {
    color: var(--error-red);
}
.form-error {
    display: flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.78rem;
    color: var(--error-red);
    font-weight: 500;
    margin: 0;
}
.form-error::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='5.5' fill='%23C0392B'/%3E%3Cpath d='M6 3.5v3M6 8.5h.01' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ==== ARTICLE / NEWS SHOW PAGE CLASSES (replaces inline styles) ==== */
.news-article-hero h1  { max-width: 760px; margin-inline: auto; }
.news-article-hero p   { max-width: 600px; margin-inline: auto; opacity: .85; }
.news-featured-image   {
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: var(--sp-10);
    box-shadow: var(--shadow-lg);
}
.news-featured-image img { width: 100%; height: auto; object-fit: cover; display: block; }
.news-back-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-4);
}
.news-article-meta {
    display: block;
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    margin-bottom: var(--sp-3);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.container--article { max-width: 820px; }
.news-recent-grid   { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.news-card-excerpt  { font-size: .86rem; color: var(--slate); margin-bottom: var(--sp-4); }

/* Contact info sidebar */
.contact-info-box    { background: var(--navy); border-radius: var(--r-xl); padding: var(--sp-8); color: rgba(255,255,255,.8); }
.contact-info-box h3 { color: var(--white); margin-bottom: var(--sp-6); }
.contact-info-rows   { display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-info-row    { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-icon-circle {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--pitch);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-label  {
    color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .1em;
    text-transform: uppercase; font-weight: 600; margin-bottom: 2px;
}
.contact-info-value,
.contact-info-value a { color: var(--white); margin: 0; font-size: .92rem; }
.contact-info-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin-block: var(--sp-6); }
.contact-social-label { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: var(--sp-4); }
.contact-social-links { display: flex; gap: var(--sp-3); }
.contact-social-link  {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.contact-social-link:hover { background: rgba(255,255,255,.15); }
.contact-response-note {
    background: var(--pitch-light); border-radius: var(--r-lg);
    padding: var(--sp-5); margin-top: var(--sp-5); border-left: 3px solid var(--pitch);
}
.contact-response-note p { margin: 0; font-size: .86rem; color: var(--pitch-dark); font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }

.news-article-divider {
    border: none;
    border-top: 1px solid var(--cream-mid);
    margin-block: var(--sp-12);
}

/* Featured news post */
.news-featured-grid {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: var(--sp-8);
    align-items: center;
    background: var(--cream);
    border-radius: var(--r-xl);
    overflow: hidden;
}
.news-featured-photo { height: 420px; overflow: hidden; }
.news-featured-body  { padding: var(--sp-8); }
@media (max-width: 768px) {
    .news-featured-grid { grid-template-columns: 1fr; }
    .news-featured-photo { height: 240px; }
    .news-featured-body  { padding: var(--sp-6); }
}


/* ==== MULTI-STEP REGISTRATION FORM ==== */

/* ── Progress bar ── */
.reg-progress { margin-bottom: var(--sp-8); }
.reg-progress-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.reg-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}
.reg-dot-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream-mid);
    color: var(--muted);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, color .25s;
    border: 2px solid transparent;
}
.reg-step-dot.is-active .reg-dot-circle {
    background: var(--pitch);
    color: #fff;
    border-color: var(--pitch);
}
.reg-step-dot.is-done .reg-dot-circle {
    background: var(--pitch-mid);
    color: #fff;
    border-color: var(--pitch-mid);
}
.reg-dot-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .03em;
    text-transform: uppercase;
}
.reg-step-dot.is-active .reg-dot-label,
.reg-step-dot.is-done .reg-dot-label { color: var(--navy); }
.reg-dot-line {
    flex: 1;
    height: 2px;
    background: var(--cream-mid);
    min-width: 32px;
    max-width: 80px;
    transition: background .25s;
    margin-bottom: 22px;
}
.reg-dot-line.is-done { background: var(--pitch-mid); }

/* ── Step card ── */
.reg-step {
    background: var(--white);
    border: 2px solid var(--cream-mid);
    border-radius: var(--r-xl);
    padding: 2rem;
    margin-bottom: var(--sp-4);
}
.reg-step-heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: var(--sp-6);
}
.reg-section-sub {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    color: var(--navy);
    margin: 0 0 var(--sp-4);
}

/* ── Type selection cards ── */
.reg-type-card {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-5);
    border: 2px solid var(--cream-mid);
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: border-color .2s, background .2s;
    position: relative;
}
.reg-type-card:hover { border-color: var(--pitch); }
.reg-type-card.is-selected {
    border-color: var(--pitch);
    background: #f0f7f2;
}
.reg-type-radio { position: absolute; opacity: 0; width: 0; height: 0; }
.reg-type-icon  { font-size: 1.6rem; line-height: 1; }
.reg-type-body  { flex: 1; }
.reg-type-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--navy);
    font-size: 1rem;
}
.reg-type-hint  { display: block; font-size: .82rem; color: var(--muted); }
.reg-type-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pitch);
    color: #fff;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    flex-shrink: 0;
}
.reg-type-card.is-selected .reg-type-check { opacity: 1; }

/* ── Navigation row ── */
.reg-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-top: var(--sp-8);
    flex-wrap: wrap;
}
.reg-nav--right { justify-content: flex-end; }

/* ── Review summary card ── */
.reg-summary {
    background: var(--cream);
    border-radius: var(--r-lg);
    padding: var(--sp-5) var(--sp-6);
    border-left: 4px solid var(--pitch);
}
.reg-summary-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--pitch);
    margin: 0 0 var(--sp-3);
}
.reg-summary-dl { margin: 0; }
.reg-summary-dl > div {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-2) 0;
    border-bottom: 1px solid var(--cream-mid);
    font-size: .9rem;
}
.reg-summary-dl > div:last-child { border-bottom: none; }
.reg-summary-dl dt { color: var(--muted); min-width: 120px; flex-shrink: 0; }
.reg-summary-dl dd { color: var(--navy); font-weight: 600; margin: 0; }

/* ── Consent label ── */
.reg-consent-label {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    cursor: pointer;
    font-size: .9rem;
    color: var(--slate);
    line-height: 1.5;
}

/* ── Validation error (registration form uses input-error class via JS) ── */
.form-input.input-error,
.form-input--error {
    border-color: var(--error-red) !important;
    box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

@media (max-width: 480px) {
    .reg-step { padding: var(--sp-5) var(--sp-4); }
    .reg-dot-label { display: none; }
    .reg-dot-line { min-width: 20px; }
    .reg-nav { flex-direction: column-reverse; }
    .reg-nav .btn { width: 100%; justify-content: center; }
}
