:root {
    --bg: #f8fafc;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-solid: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --accent: #d97706;
    --line: rgba(148, 163, 184, 0.25);
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

body {
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 30%),
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.12), transparent 25%),
        var(--bg);
    color: var(--text);
    font-family: "Manrope", sans-serif;
}

h1, h2, h3, .section-title, .hero-title, .footer-title {
    font-family: "Fraunces", serif;
}

.topbar { background: #0f172a; color: #cbd5e1; font-size: 0.92rem; }
.site-nav { background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(14px); }
.hero-shell { background: linear-gradient(135deg, #0f172a, #1d4ed8 70%, #0f766e); color: white; position: relative; overflow: hidden; }
.hero-shell::after { content: ""; position: absolute; inset: auto -10% -30% auto; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%); }
.eyebrow { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.76rem; font-weight: 800; color: var(--accent); }
.hero-copy, .footer-copy { color: rgba(255,255,255,.8); max-width: 52ch; }
.btn-brand { background: var(--brand); color: white; border: none; }
.btn-brand:hover { background: var(--brand-dark); color: white; }
.hero-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.hero-card, .gallery-tile, .event-card, .stat-card, .content-panel, .form-shell, .profile-card, .info-card, .table-shell { border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-card { background: rgba(255, 255, 255, 0.08); border-radius: 1.4rem; overflow: hidden; min-height: 180px; transform: rotate(-1.5deg); }
.hero-card:nth-child(2) { transform: rotate(2deg) translateY(1.5rem); }
.hero-card:nth-child(3) { transform: rotate(1.5deg); }
.hero-card img, .gallery-tile img, .event-card img, .principal-photo, .profile-photo { width: 100%; height: 100%; object-fit: cover; }
.stat-card { background: var(--surface-solid); border-radius: 1.4rem; padding: 1.5rem; display: grid; gap: .45rem; }
.stat-card strong { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.content-panel, .form-shell, .profile-card, .info-card, .table-shell { background: var(--surface); backdrop-filter: blur(18px); border-radius: 1.6rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); }
.principal-photo { max-width: 280px; border-radius: 1.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-grid--full { grid-template-columns: repeat(3, 1fr); }
.gallery-tile { border-radius: 1.3rem; overflow: hidden; aspect-ratio: 1 / 1; background: white; }
.event-card { overflow: hidden; border-radius: 1.5rem; background: white; }
.event-card img { height: 260px; }
.event-card__body { padding: 1.5rem; }
.event-date { color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 800; }
.form-shell, .profile-card { padding: 2rem; }
.profile-card { text-align: center; }
.profile-photo { max-width: 220px; aspect-ratio: 1 / 1; border-radius: 1.5rem; margin-inline: auto; }
.profile-meta { display: grid; gap: .4rem; color: var(--muted); }
.table-shell { padding: 1rem; }
.table th { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer { background: #121a2b; color: white; }
.payment-total { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.legal-copy h3 { margin-top: 1.6rem; }
.form-control, .form-select, textarea.form-control { border-radius: 1rem; padding: .85rem 1rem; border-color: rgba(148, 163, 184, 0.4); }
.accounts-hero .content-panel { position: relative; overflow: hidden; }
.accounts-hero .content-panel::after { content: ""; position: absolute; inset: auto -8% -40% auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 62%); pointer-events: none; }
.accounts-summary { display: grid; gap: 1rem; padding: 1.25rem; background: rgba(15, 23, 42, 0.04); border-radius: 1.4rem; border: 1px solid rgba(15, 23, 42, 0.08); }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.role-card { display: block; padding: 1.35rem; border-radius: 1.4rem; text-decoration: none; color: var(--text); background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.role-card:hover { transform: translateY(-4px); color: var(--text); border-color: rgba(15, 118, 110, 0.35); }
.role-card--active { background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(217, 119, 6, 0.12)); border-color: rgba(15, 118, 110, 0.45); }
.role-card h2 { font-size: 1.3rem; margin: .35rem 0; }
.role-card p { margin: 0; color: var(--muted); }
.role-card__tag { display: inline-flex; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); font-weight: 800; }
.accounts-panel { min-height: 100%; }
.accounts-panel--active { border-color: rgba(15, 118, 110, 0.35); box-shadow: 0 24px 70px rgba(15, 118, 110, 0.14); }
.btn-google { background: #ffffff; color: var(--text); border: 1px solid rgba(15, 23, 42, 0.12); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); }
.btn-google:hover { background: #f8fafc; color: var(--text); }
.admin-lock { padding: 1.25rem; border-radius: 1.25rem; border: 1px dashed rgba(15, 23, 42, 0.18); background: rgba(15, 23, 42, 0.03); }
.accounts-note { align-self: center; color: var(--muted); font-size: .95rem; max-width: 34rem; }

@media (max-width: 991.98px) {
    .gallery-grid, .gallery-grid--full { grid-template-columns: repeat(2, 1fr); }
    .role-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card, .hero-card:nth-child(2), .hero-card:nth-child(3) { transform: none; }
    .gallery-grid, .gallery-grid--full { grid-template-columns: 1fr; }
    .form-shell, .profile-card { padding: 1.4rem; }
    .role-grid { grid-template-columns: 1fr; }
}

.homepage-shell { max-width: 1320px; }
.homepage-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f7fafc, #ffffff 52%, #eef2ff); padding: 4rem 0 3rem; }
.homepage-hero::before { content: ""; position: absolute; inset: 0 auto auto 58%; width: 32rem; height: 32rem; background: radial-gradient(circle, rgba(59, 130, 246, 0.14), transparent 62%); filter: blur(10px); pointer-events: none; }
.homepage-chip { display: inline-flex; align-items: center; gap: .65rem; padding: .8rem 1.1rem; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--muted); font-size: .95rem; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06); }
.homepage-chip__dot { width: .6rem; height: .6rem; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 .35rem rgba(34, 197, 94, 0.12); }
.homepage-title { margin-top: 1.5rem; font-family: "Fraunces", serif; font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1.05; letter-spacing: -0.04em; max-width: 11ch; }
.homepage-copy { max-width: 40rem; margin-top: 1.2rem; font-size: 1.12rem; color: var(--muted); line-height: 1.8; }
.homepage-btn-primary, .homepage-btn-secondary, .homepage-btn-dark, .homepage-btn-light, .homepage-btn-outline-light { padding: 1rem 1.6rem; border-radius: 999px; font-weight: 700; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.homepage-btn-primary { background: #0f172a; color: #fff; }
.homepage-btn-primary:hover, .homepage-btn-dark:hover, .homepage-btn-light:hover, .homepage-final-cta__button:hover { transform: translateY(-2px); }
.homepage-btn-secondary { background: rgba(255, 255, 255, 0.92); color: var(--text); border: 1px solid rgba(15, 23, 42, 0.12); }
.homepage-btn-dark { background: #0f172a; color: #fff; }
.homepage-btn-light { background: #fff; color: #2563eb; }
.homepage-btn-outline-light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.24); }
.homepage-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.homepage-collage__column { display: grid; gap: 1rem; }
.homepage-collage__column--offset { padding-top: 3rem; }
.homepage-collage__photo { width: 100%; object-fit: cover; border-radius: 1.7rem; box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14); }
.homepage-collage__photo--tall { height: 18rem; }
.homepage-collage__photo--short { height: 14rem; }
.homepage-stats { padding: 1rem 0 2rem; background: #fff; }
.homepage-stat { height: 100%; padding: 1.7rem; border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 1.5rem; background: linear-gradient(180deg, #fff, #fafcff); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06); }
.homepage-stat strong { display: block; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin-bottom: .45rem; }
.homepage-stat span { color: var(--muted); }
.homepage-section { padding: 5.5rem 0; background: #fff; }
.homepage-section--soft { background: linear-gradient(180deg, #fafafa, #fff 45%, #f8fafc); }
.homepage-section--dark { background: linear-gradient(135deg, #0f172a, #18283d 50%, #142e58); color: #fff; }
.homepage-section__header { margin-bottom: 2.5rem; }
.homepage-section__header--light .homepage-section__copy, .homepage-section__header--light .homepage-section__title { color: #fff; }
.homepage-section__title { font-family: "Fraunces", serif; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -0.03em; margin: .7rem 0 1rem; }
.homepage-section__copy { max-width: 44rem; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.homepage-section__split { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.homepage-profile-card, .homepage-event-card, .homepage-news-card, .homepage-testimonial, .homepage-benefit { height: 100%; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 1.6rem; background: #fff; box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08); }
.homepage-profile-card { overflow: hidden; }
.homepage-profile-card__image { width: 100%; height: 18rem; object-fit: cover; }
.homepage-profile-card__body { padding: 1.6rem; }
.homepage-profile-card__role { color: #2563eb; font-weight: 700; margin-bottom: .8rem; }
.homepage-profile-card__quote { color: var(--muted); line-height: 1.75; margin-bottom: 0; }
.homepage-event-card { padding: 1.6rem; }
.homepage-event-card__date { display: inline-block; margin-bottom: 1rem; color: #2563eb; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.homepage-event-card h3, .homepage-news-card h3, .homepage-benefit h3 { font-family: "Fraunces", serif; font-size: 1.45rem; margin-bottom: .75rem; }
.homepage-event-card p, .homepage-news-card p, .homepage-testimonial p, .homepage-benefit p { color: var(--muted); line-height: 1.8; }
.homepage-event-card__meta { margin-top: auto; color: #0f766e; font-weight: 700; }
.homepage-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; padding: 1.25rem; border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 1.6rem; background: linear-gradient(180deg, #f8fafc, #fff); margin-bottom: 1.75rem; }
.homepage-input-shell input, .homepage-input-shell select, .homepage-newsletter__form input { width: 100%; border: 1px solid rgba(15, 23, 42, 0.1); border-radius: 1rem; padding: .95rem 1rem; background: #fff; }
.homepage-news-card { padding: 1.6rem; }
.homepage-news-card__meta { display: flex; gap: .8rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.homepage-news-card__tag { padding: .35rem .7rem; border-radius: 999px; background: rgba(37, 99, 235, 0.1); color: #2563eb; font-weight: 700; }
.homepage-news-card a { color: #2563eb; font-weight: 700; text-decoration: none; }
.homepage-story { padding: 0 0 5.5rem; background: #fff; }
.homepage-story__panel { overflow: hidden; border-radius: 2rem; box-shadow: 0 24px 56px rgba(37, 99, 235, 0.18); }
.homepage-story__content { height: 100%; padding: 3rem; background: linear-gradient(135deg, #3b82f6, #7c3aed); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.homepage-story__badge { display: inline-flex; align-items: center; width: fit-content; padding: .55rem .95rem; border-radius: 999px; background: rgba(255,255,255,.14); margin-bottom: 1.2rem; }
.homepage-story__content h2 { font-family: "Fraunces", serif; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.homepage-story__content p { line-height: 1.85; font-size: 1.08rem; color: rgba(255,255,255,.92); }
.homepage-story__author { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0 1.8rem; }
.homepage-story__author span { display: block; color: rgba(255,255,255,.75); }
.homepage-story__avatar { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(255,255,255,.2); }
.homepage-story__image { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.homepage-moments-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.homepage-moment { position: relative; overflow: hidden; border-radius: 1.25rem; aspect-ratio: 1 / 1; text-decoration: none; }
.homepage-moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.homepage-moment span { position: absolute; inset: auto 1rem 1rem 1rem; color: #fff; font-weight: 700; opacity: 0; transition: opacity .25s ease; }
.homepage-moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.72)); }
.homepage-moment:hover img { transform: scale(1.05); }
.homepage-moment:hover span { opacity: 1; z-index: 1; }
.homepage-testimonial, .homepage-benefit { padding: 1.6rem; }
.homepage-testimonial strong, .homepage-testimonial span { display: block; }
.homepage-testimonial strong { margin-top: 1rem; }
.homepage-testimonial span { color: #64748b; }
.homepage-mentorship__tag { display: inline-flex; gap: .35rem; align-items: center; padding: .65rem 1rem; border-radius: 999px; background: #fff; border: 1px solid rgba(15, 23, 42, 0.08); color: #2563eb; font-weight: 700; margin-bottom: 1.2rem; }
.homepage-checklist { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .9rem; }
.homepage-checklist li { position: relative; padding-left: 1.8rem; color: var(--muted); }
.homepage-checklist li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .75rem; height: .75rem; border-radius: 50%; background: #3b82f6; }
.homepage-mentorship__media { position: relative; overflow: hidden; border-radius: 1.8rem; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12); }
.homepage-mentorship__media img { width: 100%; height: 36rem; object-fit: cover; }
.homepage-mentorship__overlay { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); }
.homepage-mentorship__overlay span { display: block; color: var(--muted); }
.homepage-newsletter { padding: 5rem 0; background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; }
.homepage-newsletter h2, .homepage-final-cta h2 { font-family: "Fraunces", serif; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.homepage-newsletter p, .homepage-final-cta p { color: rgba(255,255,255,.75); max-width: 42rem; margin: 1rem auto 0; line-height: 1.8; }
.homepage-newsletter__form { margin: 2rem auto 0; max-width: 42rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; }
.homepage-newsletter__form input { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.homepage-newsletter__form input::placeholder { color: rgba(255,255,255,.45); }
.homepage-final-cta { position: relative; overflow: hidden; padding: 6.5rem 0; background: linear-gradient(135deg, #3b82f6, #2563eb 45%, #1d4ed8); color: #fff; }
.homepage-final-cta::before, .homepage-final-cta::after { content: ""; position: absolute; width: 22rem; height: 22rem; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(16px); }
.homepage-final-cta::before { top: -8rem; left: 10%; }
.homepage-final-cta::after { bottom: -8rem; right: 10%; }
.homepage-final-cta__button { display: inline-block; margin-top: 2rem; padding: 1rem 1.7rem; border-radius: 999px; background: #fff; color: #2563eb; font-weight: 800; text-decoration: none; }
.eyebrow--light { color: #bfdbfe; }

.footer-shell { padding-top: 4.8rem; padding-bottom: 1rem; }
.footer-grid { padding-bottom: 3rem; }
.footer-brand { font-family: "Fraunces", serif; font-size: 2rem; margin-bottom: 1.2rem; color: #ffffff; }
.footer-description { max-width: 26rem; color: rgba(255,255,255,.72); line-height: 1.65; font-size: 1.02rem; margin-bottom: 1.8rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-social { width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background-color .2s ease, transform .2s ease; }
.footer-social:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 1.35rem; height: 1.35rem; }
.footer-heading { font-size: 1.9rem; font-family: "Fraunces", serif; margin-bottom: 1.4rem; color: #ffffff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 1.02rem; transition: color .2s ease; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.8rem 0 0; text-align: center; color: rgba(255,255,255,.52); font-size: 1rem; }

@media (max-width: 991.98px) {
    .homepage-collage__column--offset { padding-top: 0; }
    .homepage-filters, .homepage-newsletter__form, .homepage-moments-grid { grid-template-columns: 1fr 1fr; }
    .footer-heading { font-size: 1.5rem; }
}

@media (max-width: 767.98px) {
    .homepage-hero, .homepage-section, .homepage-newsletter, .homepage-final-cta { padding-top: 4rem; padding-bottom: 4rem; }
    .homepage-filters, .homepage-newsletter__form, .homepage-moments-grid, .homepage-collage { grid-template-columns: 1fr; }
    .homepage-story__content { padding: 2rem; }
    .homepage-mentorship__media img { height: 24rem; }
    .footer-shell { padding-top: 3.5rem; }
    .footer-brand { font-size: 1.7rem; }
    .footer-heading { font-size: 1.3rem; margin-bottom: 1rem; }
}
