/* assets/css/home.css — homepage-only layout, brand artwork and responsive slider. */
.em-home { background: #fcfdfc; }
.em-home .em-header { box-shadow: none; border-bottom: 1px solid #e9efed; }
.em-home .em-header .navbar { min-height: 86px; }
.em-home .em-brand-name { max-width: 270px; white-space: normal; line-height: 1.4; }
.home-intro { padding-top: 30px; }
.home-kicker { display: flex; align-items: center; gap: 9px; color: #526969; font-size: .82rem; margin-bottom: 18px; }
.home-kicker > span { width: 7px; height: 7px; background: #038ba1; border-radius: 50%; }
.home-slider { position: relative; overflow: hidden; border: 1px solid #e0eae6; border-radius: 28px; background: #eff5f1; }
.home-slides { display: grid; }
.home-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.12fr 1fr; min-height: 530px; }
.home-slide[hidden] { display: none; }
.home-slide-copy { padding: 58px 48px 100px 32px; align-self: center; }
.home-eyebrow { display: block; font-size: .78rem; font-weight: 600; color: #477474; letter-spacing: .02em; margin-bottom: 16px; }
.home-slide h2 { color: #123c3e; font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.45; letter-spacing: normal; max-width: 570px; margin: 0 0 24px; text-wrap: balance; overflow-wrap: anywhere; }
.home-slide-copy > p { color: #516b6b; font-size: 1.06rem; max-width: 440px; line-height: 1.9; margin-bottom: 30px; }
.home-slide h2, .home-slide-copy > p, .home-event-body h3 { white-space: pre-line; overflow-wrap: anywhere; }
.home-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 15px 23px; background: #006072; border: 1px solid #006072; color: white; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: .94rem; transition: background .2s, transform .2s; }
.home-button:hover { background: #034a57; color: white; transform: translateY(-2px); }
.home-text-link { display: inline-flex; gap: 12px; align-items: center; color: #15585d; font-size: .9rem; text-decoration: none; font-weight: 600; }
.home-text-link:hover { text-decoration: underline; color: #006072; }
.home-art { min-width: 0; position: relative; isolation: isolate; overflow: hidden; background: #006072; color: white; margin: 16px 0 16px 16px; border-radius: 19px; min-height: 480px; }
.home-art::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 15% 10%, #2298a3 0%, transparent 60%), linear-gradient(150deg, transparent 45%, #033e49); }
.home-art-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff0c 1px, transparent 1px), linear-gradient(90deg,#ffffff0c 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(30deg,black,transparent); }
.home-orbit { position: absolute; width: 390px; height: 390px; border: 1px solid #93d7d94a; border-radius: 50%; top: -70px; left: -90px; }
.home-orbit--two { width: 490px; height: 490px; top: -120px; left: -140px; }
.home-symbol { position: absolute; width: 232px; height: 232px; inset: 85px auto auto 50%; transform: translateX(-50%) rotate(-12deg); display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; filter: drop-shadow(0 25px 30px #002c3550); }
.home-symbol span { background: #a8d7bd; border-radius: 65% 65% 8% 65%; }
.home-symbol span:nth-child(2) { transform: rotate(90deg); background: #d6ebd6; }
.home-symbol span:nth-child(3) { transform: rotate(-90deg); background: #6fb7ad; }
.home-symbol span:nth-child(4) { transform: rotate(180deg); background: #aedcc8; }
.home-art-note { position: absolute; bottom: 86px; right: 28px; left: 42px; display: flex; align-items: center; gap: 14px; border: 1px solid #ffffff7a; background: #ffffffed; color: #254c4f; padding: 18px; border-radius: 14px; box-shadow: 0 12px 40px #002d3522; transform: rotate(3deg); font-size: .75rem; }
.home-art-note strong { display: block; font-size: 1.1rem; }
.home-art-note > i:last-child { margin-right: auto; font-size: 1.3rem; }
.home-note-icon { display: grid; place-items: center; background: #e2f0e9; border-radius: 12px; width: 47px; height: 47px; font-size: 1.6rem; }
.home-art-seal { position: absolute; left: 24px; top: 30px; display: flex; align-items: center; gap: 8px; font-size: .7rem; color: #e7f6e9; padding: 7px 12px; border: 1px solid #ffffff45; border-radius: 30px; }
.home-art-caption { position: absolute; bottom: 24px; inset-inline: 26px; display: flex; justify-content: space-between; gap: 12px; font-size: .7rem; color: #d3e9e9; }
.home-art-caption > :first-child { font-weight: 800; font-size: .9rem; }
.home-art-photo { width: 100%; height: 100%; position: absolute; object-fit: cover; inset: 0; }
.home-art--photo::after { content: ''; position: absolute; inset: 40% 0 0; z-index: 0; background: linear-gradient(transparent,#003a48d9); }
.home-art--photo .home-art-caption { z-index: 1; }
.home-slide--learn { background: #f4f2e9; }
.home-slide--learn .home-art { background: #3b6667; }
.home-slide--learn .home-symbol { transform: translateX(-50%) rotate(35deg); }
.home-slide--community { background: #edf3f7; }
.home-slide--community .home-art { background: #294e69; }
.home-slide--community .home-symbol span { border-radius: 50%; }
.home-slider-controls { display: flex; align-items: center; gap: 20px; position: absolute; bottom: 28px; right: 48px; width: calc(52.8% - 80px); }
.home-slider-controls[hidden] { display: none; }
.home-slider-dots { display: flex; gap: 1px; }
.home-dot { width: 30px; height: 38px; display: grid; place-items: center; background: none; border: 0; padding: 0; }
.home-dot span { width: 7px; height: 7px; border-radius: 8px; background: #a8bcb7; transition: width .25s; }
.home-dot.is-active span { width: 25px; background: #006072; }
.home-slide-counter { color: #667f7c; font-size: .7rem; white-space: nowrap; direction: ltr; }
.home-slide-counter b { color: #16585d; font-size: .9rem; }
.home-slider-buttons { display: flex; gap: 5px; margin-right: auto; }
.home-slider-buttons button { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; border: 1px solid #cadbd4; background: transparent; color: #195259; }
.home-slider-buttons button:hover { background: #fff; }
.home-quick-links { display: grid; grid-template-columns: repeat(4,1fr); margin: 25px 0 0; border-bottom: 1px solid #e2eae5; padding: 6px 0 30px; }
.home-quick-links > a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: #244c4d; text-decoration: none; border-left: 1px solid #e0e8e4; transition: background .2s; }
.home-quick-links > a:first-child { padding-right: 0; }
.home-quick-links > a:last-child { border: 0; padding-left: 0; }
.home-quick-links > a:hover { background: #f0f6f2; }
.home-quick-links strong { display: block; font-size: .9rem; }
.home-quick-links small { display: block; font-size: .72rem; color: #637674; margin-top: 3px; }
.home-quick-icon { font-size: 1.5rem; color: #038ba1; }
.home-quick-arrow { font-size: .8rem; margin-right: auto; }
.home-events { padding-top: 72px; padding-bottom: 72px; scroll-margin-top: 110px; }
.home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.home-section-head h2, .home-contact h2 { color: #173f42; font-size: clamp(1.7rem,3vw,2.3rem); letter-spacing: normal; margin-bottom: 8px; }
.home-section-head .home-eyebrow { margin-bottom: 9px; }
.home-section-head p, .home-contact p { color: #667a78; margin: 0; font-size: .94rem; }
.home-section-head > a { padding-bottom: 5px; white-space: nowrap; }
.home-event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-event-card { border: 1px solid #e0e8e3; border-radius: 16px; overflow: hidden; background: white; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.home-event-card:hover { transform: translateY(-4px); box-shadow: 0 14px 35px #143f4010; }
.home-event-cover { display: block; height: 200px; position: relative; overflow: hidden; background: #daeae2; }
.home-event-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-event-card:hover img { transform: scale(1.04); }
.home-event-pattern { height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 15% 80%,#b0d2c1 0 20%,transparent 20.5%),radial-gradient(circle at 80% 0%,#d0e2d5 0 40%,transparent 40.5%),#eaf2ec; color: #2e6d70; font-size: 3.3rem; }
.home-event-date { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 14px; right: 16px; background: white; border-radius: 7px; padding: 6px 11px; color: #2a595e; font-size: .77rem; font-weight: 600; }
.home-event-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.home-event-body .home-eyebrow { margin-bottom: 10px; font-size: .7rem; }
.home-event-body h3 { font-size: 1.2rem; line-height: 1.5; }
.home-event-body h3 a { text-decoration: none; color: #1c4649; }
.home-event-body > p { color: #607675; font-size: .88rem; }
.home-event-bottom { border-top: 1px solid #e8eeea; padding-top: 16px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #607675; font-size: .75rem; }
.home-event-bottom > a { display: grid; place-items: center; flex-shrink: 0; width: 33px; height: 33px; background: #eef5ef; border-radius: 50%; }
.home-empty { display: flex; gap: 45px; align-items: center; background: #f4f7f3; border: 1px solid #e5ece4; border-radius: 18px; padding: 42px 55px; }
.home-empty-symbol { display: grid; place-items: center; flex-shrink: 0; width: 120px; height: 120px; background: #e0ece1; color: #417571; border-radius: 32px; font-size: 3.5rem; position: relative; transform: rotate(-8deg); }
.home-empty-symbol > span { display: grid; place-items: center; position: absolute; left: -10px; top: -10px; width: 35px; height: 35px; background: #006072; border: 4px solid #f4f7f3; border-radius: 50%; color: white; font-size: 1.3rem; }
.home-empty h3 { font-size: 1.4rem; color: #275654; }
.home-empty p { max-width: 620px; color: #617772; font-size: .93rem; }
.home-empty .home-eyebrow { margin-bottom: 9px; }
.home-about { background: #eaf1ec; padding: 65px 0; }
.home-about-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 75px; }
.home-about h2 { color: #285551; font-size: clamp(2rem,4vw,3.1rem); line-height: 1.25; letter-spacing: normal; }
.home-about-line { width: 80px; height: 4px; border-radius: 3px; background: #98bdaa; margin-top: 27px; }
.home-about-copy { color: #49665f; padding-top: 8px; }
.home-about-lead { font-weight: 700; color: #31584f; font-size: 1.25rem; }
.home-values { display: flex; gap: 25px; flex-wrap: wrap; border-top: 1px solid #cbded1; margin-top: 25px; padding-top: 22px; font-size: .8rem; color: #355f54; }
.home-values i { margin-left: 5px; }
.home-contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 65px; padding-bottom: 25px; }
.home-contact .home-eyebrow { margin-bottom: 8px; }
html.a11y-contrast .em-home :is(.home-slider,.home-slide,.home-empty,.home-about,.home-event-card,.home-art-note) { background: #000; color: #fff; border-color: white; }
html.a11y-contrast .em-home :is(p,.home-eyebrow,.home-text-link,.home-quick-links a,.home-quick-links small,.home-values) { color: #fff; }
@media (max-width: 1199px) { .home-slide-copy { padding-right: 32px; } .home-slider-controls { right: 32px; width: calc(52.8% - 60px); gap: 10px; } .home-quick-links > a { padding-inline: 12px; } .home-quick-arrow { display: none; } }
@media (max-width: 991px) { .home-slide { grid-template-columns: 1.1fr 1fr; min-height: 480px; } .home-slide-copy { padding: 35px 28px 95px 22px; } .home-art { min-height: 430px; } .home-symbol { width: 180px; height: 180px; top: 105px; } .home-art-note { left: 15px; right: 15px; padding: 12px; gap: 8px; } .home-art-note strong { font-size: .9rem; } .home-note-icon { width: 36px; height: 36px; } .home-actions { gap: 16px; } .home-slide-counter { display: none; } .home-quick-links { grid-template-columns: repeat(2,1fr); gap: 8px 0; } .home-quick-links > a:nth-child(2) { border: 0; } .home-quick-links > a:nth-child(3) { padding-right: 0; } .home-event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-about-layout { gap: 35px; } }
@media (max-width: 767px) { .home-intro { padding-top: 20px; } .home-slider { border-radius: 20px; } .home-slide { grid-template-columns: 1fr; } .home-slide-copy { padding: 30px 24px 80px; } .home-slide h2 { font-size: 2.65rem; max-width: 430px; } .home-slide-copy > p { font-size: .95rem; margin-bottom: 22px; } .home-art { grid-row: 1; min-height: 260px; margin: 14px 14px 0; border-radius: 14px; } .home-symbol { width: 145px; height: 145px; top: 30px; left: 35%; } .home-art-note { right: 25px; left: auto; width: 220px; bottom: 50px; } .home-art-seal { font-size: .6rem; top: 15px; left: 15px; } .home-art-caption { bottom: 15px; inset-inline: 18px; } .home-slider-controls { right: 24px; left: 24px; width: auto; bottom: 17px; } .home-slide-counter { display: inline; } .home-button { padding: 12px 18px; gap: 18px; } .home-events { padding-block: 45px; } .home-section-head { align-items: start; gap: 12px; } .home-section-head > a { font-size: .78rem; margin-top: 38px; } .home-empty { padding: 28px; gap: 25px; align-items: flex-start; } .home-empty-symbol { width: 75px; height: 75px; font-size: 2.5rem; border-radius: 23px; } .home-about { padding: 40px 0; } .home-about-layout { grid-template-columns: 1fr; gap: 23px; } .home-about h2 br { display: none; } .home-about-line { display: none; } .home-contact { padding-top: 40px; align-items: flex-start; flex-direction: column; gap: 22px; } }
@media (max-width: 479px) { .em-home .em-brand-name { font-size: .85rem; max-width: 195px; } .em-home .em-brand-logo { height: 34px; } .home-kicker { font-size: .7rem; } .home-quick-links { margin-top: 15px; } .home-quick-links > a { padding: 10px 8px; gap: 8px; } .home-quick-links strong { font-size: .77rem; } .home-quick-links small { font-size: .64rem; } .home-quick-icon { font-size: 1.3rem; } .home-event-grid { grid-template-columns: 1fr; } .home-empty { flex-direction: column; } .home-section-head p { font-size: .84rem; } .home-values { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .em-home *, .em-home *::before { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 479px) { .home-slide h2 { font-size: 2.25rem; line-height: 1.22; } .home-slide-copy { padding-top: 26px; } .home-slide-copy > p { line-height: 1.8; } }

/* Full-width separation for the upcoming events section. */
.home-events { background: #edf4f6; border-block: 1px solid #dce8ec; margin-top: 30px; }
.home-event-body { min-width: 0; overflow-wrap: anywhere; }
html.a11y-contrast .em-home .home-events { background: #000; border-color: #fff; }

/* Motion uses independent translate/rotate properties to preserve the artwork transforms. */
@keyframes home-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes home-sway { 0%,100% { rotate: -2deg; } 50% { rotate: 3deg; } }
@keyframes home-enter { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes home-orbit-breathe { 0%,100% { scale: 1; opacity: .65; } 50% { scale: 1.07; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
    .home-slider.motion-ready .home-symbol { animation: home-float 5s ease-in-out infinite, home-sway 9s ease-in-out infinite; }
    .home-slider.motion-ready .home-art-note { animation: home-float 6s ease-in-out -2s infinite; }
    .home-slider.motion-ready .home-orbit { animation: home-orbit-breathe 8s ease-in-out infinite; }
    .home-slider.motion-ready .home-orbit--two { animation-delay: -4s; }
    .home-slider.motion-ready .home-slide:not([hidden]) .home-slide-copy > * { animation: home-enter .65s ease-out both; }
    .home-slider.motion-ready .home-slide-copy > h2 { animation-delay: .08s; }
    .home-slider.motion-ready .home-slide-copy > p { animation-delay: .16s; }
    .home-slider.motion-ready .home-slide-copy > .home-actions { animation-delay: .24s; }
    .home-quick-icon { display: inline-block; transition: translate .25s ease; }
    .home-quick-links a:hover .home-quick-icon { translate: 0 -4px; }
}
.home-slider.motion-paused :is(.home-symbol,.home-art-note,.home-orbit) { animation-play-state: paused; }
.home-slider.motion-paused .home-slide-copy > * { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .home-slider *, .home-slider *::before, .home-slider *::after { animation: none !important; } }
