/* Solid Lagoon surfaces, with readable text for each color context. */
.page-heading { background: var(--brand-lagoon); color: #fff; border: 0; }
.page-heading nav, .page-heading .eyebrow { color: #fff; }
.hero-slide {
    background-image: linear-gradient(90deg, #f9fbfa 0%, #f9fbfaf5 34%, #f9fbfae6 46%, #f9fbfa4d 59%, #f9fbfa00 70%), var(--slide-image);
}
.hero { color: var(--ink); background: #f9fbfa; }
.hero h1, .hero h2, .section h2, .page-heading h1, .home-spaces h2,
.contact-band h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: 0; }
.hero h1, .hero h2 { font-size: 3.75rem; line-height: 1.08; }
.hero-copy { max-width: 540px; }
.hero .eyebrow { color: var(--ink); font-size: .875rem; font-weight: 800; line-height: 1.5; }
.hero .eyebrow::before { flex: 0 0 28px; height: 3px; background: var(--brand-lagoon); }
.hero p { color: var(--ink); max-width: 490px; font-size: 1.25rem; font-weight: 500; line-height: 1.65; text-wrap: pretty; }
.hero .hero-promise { font-family: Georgia, 'Times New Roman', serif; font-size: 1.875rem; font-weight: 700; line-height: 1.25; margin-bottom: 22px; color: var(--brand-lagoon); }
.hero .btn-secondary { color: var(--ink); border-color: var(--brand-lagoon); background: #ffffffed; }
.hero .btn-secondary:hover { background: var(--brand-mint); }
.hero .slider-arrow { background: #ffffffed; border-color: var(--brand-lagoon); }
.hero .slider-arrow::before { border-color: var(--brand-lagoon); }
.hero .slider-dots button::after { background: #20566775; }
.hero .slider-dots button.is-active::after { background: var(--brand-lagoon); }
.hero :focus-visible { outline-color: var(--brand-lagoon); }
.hero-content { min-height: min(730px, calc(100svh - 140px)); }
.section h2 { line-height: 1.18; }
.hero-slide.hero-slide-workshop,
.hero-slide.hero-slide-garden,
.hero-slide.hero-slide-activities { background-position: center; }
.home-intro, .home-spaces { background: var(--brand-mint); }
.home-intro .eyebrow, .home-spaces .eyebrow { color: var(--ink); }
.home-intro p, .home-spaces p, .home-spaces-photo figcaption,
.portfolio-home-summary span { color: var(--ink); }
.home-intro .text-link, .home-spaces .text-link, .visit-details span { color: var(--ink); }
.portfolio-home-summary a, .visit-details li { border-color: rgba(25, 62, 71, .3); }
.home-intro figure { padding: 0; border: 0; border-radius: 8px; box-shadow: none; }
.home-intro img { aspect-ratio: 1; border-radius: 8px; }
.home-intro .activities-grid { gap: 56px; }
.help-personal {
    --help-bg: var(--brand-mint);
    --help-line: #3c947e;
    --help-accent: var(--ink);
    --help-icon-bg: #fff;
}
.help-family {
    --help-bg: var(--brand-lagoon);
    --help-line: var(--brand-lagoon);
    --help-accent: #fff;
    --help-icon-bg: #fff;
}
.help-visit {
    --help-bg: var(--brand-peach);
    --help-line: #d79546;
    --help-accent: var(--ink);
    --help-icon-bg: #fff;
}
.help-personal p, .help-visit p { color: var(--ink); }
.help-family h3, .help-family p { color: #fff; }
.help-family .help-action { border-color: rgba(255, 255, 255, .4); }
.help-family .help-arrow { background: #fff; }
.help-family:hover .help-arrow img, .help-family:focus-within .help-arrow img { filter: none; }
.section-muted, .about-purpose { background: var(--brand-mint); }
.section-muted p, .about-purpose p { color: var(--ink); }
.section-muted .eyebrow, .about-purpose .eyebrow, .about-purpose .feature-card span { color: var(--ink); }
.timeline article, .mission-grid { border-color: rgba(25, 62, 71, .35); }
.feature-card { border-color: rgba(25, 62, 71, .3); }
.events-gallery.events-carousel { border-radius: 8px; }
.events-gallery.events-carousel figure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 48px; background: var(--brand-cream); align-items: center; }
.events-gallery.events-carousel figcaption { padding: 16px 0; background: transparent; }
.events-carousel figcaption::before { content: 'VIDA EN COMUNIDAD'; color: var(--brand-lagoon); border-left: 3px solid var(--brand-peach); padding-left: 12px; }
.events-gallery.events-carousel p { color: var(--muted); max-width: 440px; }
.events-carousel .gallery-open { background: transparent; align-self: center; justify-self: center; max-width: 480px; border-radius: 8px; }
.events-carousel .gallery-open img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 1; object-fit: contain; }
.events-gallery.events-carousel h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 2.125rem; line-height: 1.2; max-width: 440px; }
.home-admission { background: var(--brand-lagoon); }
.home-admission-heading, .home-admission-heading > p,
.home-admission-actions p { color: #fff; }
.home-admission-heading .eyebrow { color: #fff; }
.admission-card-top { min-height: 48px; margin-bottom: 20px; }
.admission-step {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: var(--brand-mint); color: var(--ink); border-radius: 50%; font-size: 1rem;
}
.admission-cards li { border-color: transparent; }
.about-profile-photo { padding: 0; border: 0; box-shadow: none; overflow: hidden; }
.about-profile-photo img { aspect-ratio: auto; border-radius: 8px; }
.about-gallery .gallery-open { padding: 0; }
.about-gallery img { max-width: none; aspect-ratio: 1; border-radius: 0; }
.about-gallery figure { border-color: var(--line); }
.about-gallery figcaption { background: #fff; }
.about-gallery figcaption > span, .about-gallery p { color: var(--ink); }
.portfolio-team { background: #fff; }
.portfolio-service { background: var(--brand-mint); border: 0; }
.portfolio-service:nth-child(2) { background: var(--brand-lagoon); }
.portfolio-service:nth-child(3) { background: var(--brand-peach); }
.portfolio-service:nth-child(4) { background: var(--brand-cream); }
.portfolio-service p, .portfolio-service li, .portfolio-service .portfolio-label,
.portfolio-service .text-link { color: var(--ink); }
.portfolio-service:nth-child(2), .portfolio-service:nth-child(2) p,
.portfolio-service:nth-child(2) li, .portfolio-service:nth-child(2) .text-link { color: #fff; }
.portfolio-service:nth-child(2) .portfolio-label { color: #fff; }
.portfolio-service:nth-child(2) .portfolio-icon { filter: invert(1); }
.portfolio-admission { background: var(--brand-cream); }
.portfolio-admission p, .portfolio-admission .portfolio-number { color: var(--ink); }
.portfolio-admission .eyebrow, .portfolio-admission .text-link { color: var(--ink); }
.portfolio-steps li { border-color: rgba(25, 62, 71, .25); }
.portfolio-admission-layout { display: block; }
.admission-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 32px; }
.admission-heading h2 { max-width: 480px; margin-bottom: 0; }
.admission-heading p { margin: 0; }
.portfolio-admission .portfolio-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; align-items: start; }
.portfolio-admission .portfolio-steps li { display: block; padding: 0; min-width: 0; }
.admission-detail summary { display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 16px; align-items: center; min-height: 88px; padding: 16px 8px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem; line-height: 1.45; }
.admission-detail summary::-webkit-details-marker { display: none; }
.admission-detail summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; text-align: center; color: var(--brand-lagoon); }
.admission-detail[open] summary::after { content: '\2212'; }
.admission-detail .portfolio-number { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; background: #fff; border-radius: 50%; font-size: .75rem; }
.portfolio-steps .admission-detail p { padding: 0 48px 24px 56px; font-size: .9375rem; line-height: 1.75; }
.admission-detail summary:hover { background: #ffffff40; }
.admission-detail summary:focus-visible { outline: 2px solid var(--brand-lagoon); outline-offset: -2px; border-radius: 4px; }
.activities figure { background: transparent; }
.activities img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 8px; }
.facilities-intro { background: var(--brand-mint); }
.facilities-intro p, .facilities-intro .eyebrow, .facilities-intro figcaption { color: var(--ink); }
.facilities-intro figure img { display: block; max-height: none; aspect-ratio: 1349 / 1166; object-fit: contain; }
.facilities-gallery .gallery-open { align-self: start; background: transparent; }
.facilities-gallery img { display: block; aspect-ratio: auto; }
/* Keep the edges of documentary photographs visible, including on hover. */
.gallery-open:hover img { transform: none; }
.facility-descriptions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 32px; }
.facility-descriptions article { padding: 28px 0; border-top: 2px solid var(--brand-mint); }
.facility-descriptions h3 { font-size: 1.3rem; margin: 14px 0; }
.facility-descriptions p { margin: 0; color: var(--muted); }
.faith-message { background: var(--brand-lagoon); color: #fff; }
.faith-message-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.faith-message .eyebrow, .faith-message .text-link { color: #fff; }
.faith-message .text-link { border-color: var(--brand-peach); }
.faith-message h2 { margin-bottom: 0; }
.faith-message p { color: #fff; margin: 0; }
.faith-message .faith-message-lead { font-size: 1.125rem; margin-bottom: 20px; }
.faith-message .text-link:hover { color: #fff; }
.faith-message :focus-visible { outline-color: var(--brand-cream); }
.contact-section, .home-spaces + .contact-section { background: #fff; }
.contact-band { background: var(--brand-mint); }
.contact-band p { color: var(--ink); }
.site-footer .visual-disclosure { font-size: .75rem; line-height: 1.65; margin-top: 16px; color: #e4f2f5; max-width: 660px; }
.spaces-collage-stage { aspect-ratio: 1.25; }
.spaces-collage-court { width: 92%; height: auto; aspect-ratio: 1600 / 897; }
.spaces-collage-lounge { width: 64%; height: auto; aspect-ratio: auto; }
.home-spaces-photo.home-spaces-collage img { height: auto; aspect-ratio: 1600 / 897; object-fit: contain; }
.spaces-collage-label { width: 30%; }
@media (max-width: 780px) {
    .admission-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
    .portfolio-admission .portfolio-steps { grid-template-columns: 1fr; gap: 0; }
    .admission-detail summary { min-height: 76px; gap: 12px; font-size: 1rem; }
    .portfolio-steps .admission-detail p { padding: 0 12px 24px 52px; }
    .faith-message-layout, .facility-descriptions { grid-template-columns: 1fr; gap: 28px; }
    .home-intro .activities-grid { gap: 32px; }
    .hero-slide {
        background-color: #f9fbfa;
        background-image: linear-gradient(to bottom, #f9fbfa 0, #f9fbfa 360px, #f9fbfa33 480px, #f9fbfa00 580px), var(--slide-image);
        background-size: 100% 100%, auto 500px;
        background-repeat: no-repeat;
    }
    .hero-slide.hero-slide-workshop, .hero-slide.hero-slide-garden,
    .hero-slide.hero-slide-activities { background-size: 100% 100%, auto 500px; background-position: center, right bottom; }
    .hero-content { min-height: 740px; padding: 40px 0 350px; align-items: flex-start; }
    .hero h1, .hero h2 { font-size: 2.5rem; margin-top: 16px; margin-bottom: 18px; }
    .hero .hero-promise { font-size: 1.5rem; margin-bottom: 16px; }
    .hero p { font-size: 1.0625rem; line-height: 1.65; }
    .hero .eyebrow { font-size: .8125rem; }
    .hero-overlay { bottom: 24px; gap: 16px; }
    .events-gallery.events-carousel figure { grid-template-columns: 1fr; grid-template-rows: auto minmax(200px, auto); gap: 24px; padding: 20px; align-items: start; }
    .events-gallery.events-carousel figcaption { padding: 0; }
    .events-gallery.events-carousel h3 { font-size: 1.5rem; }
}
@media (max-width: 360px) {
    .hero h1, .hero h2 { font-size: 2.125rem; }
    .hero .hero-promise { font-size: 1.3rem; }
    .hero .eyebrow { font-size: .8125rem; }
}
