@font-face { font-display: swap; font-family: Lora; src: url("assets/fonts/lora-regular.ttf") format("truetype"); }
:root { color: #263129; background: #f4f5ef; font-family: Lora, ui-serif, Georgia, serif; }
* { box-sizing: border-box; }
body { background: #f4f5ef; margin: 0; min-height: 100vh; position: relative; }
body::before, body::after { content: ""; height: max(24rem, min(70vw, 44rem)); left: 0; pointer-events: none; position: absolute; right: 0; z-index: 0; }
body::before { background: url("assets/bottom_page_fade.jpeg") center top / cover no-repeat; mask-image: linear-gradient(to bottom, #000, transparent); opacity: .5; top: 0; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); }
body::after { background-image: radial-gradient(ellipse 68% 110% at 50% 100%, #f4f5eff0, transparent), url("assets/bottom_page_fade.jpeg"); background-position: center, center bottom; background-repeat: no-repeat; background-size: 100% 100%, cover; bottom: 0; mask-image: linear-gradient(to bottom, transparent, #000); opacity: .5; -webkit-mask-image: linear-gradient(to bottom, transparent, #000); }
main, footer { position: relative; z-index: 1; }
.section { max-width: 1240px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) .5rem; }
.hero { overflow: visible; padding-bottom: 1rem; position: relative; }
.eyebrow { color: #72866d; font-size: .72rem; font-weight: 750; letter-spacing: .13em; margin: 0 0 .6rem; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.045em; }
h1 { color: #283428; font-size: clamp(2.1rem, 7vw, 6.2rem); line-height: .93; margin: 0; }
h2 { color: #304030; font-size: clamp(2rem, 4.5vw, 4rem); line-height: .98; margin-bottom: .9rem; }
.hero-heading { margin-bottom: 1.25rem; min-height: clamp(10rem, 20vw, 18rem); position: relative; }
.hero-heading h1 { max-width: 68%; position: relative; z-index: 1; }
.hero-banner { display: block; height: auto; object-fit: contain; pointer-events: none; position: absolute; right: clamp(.5rem, 5vw, 5rem); top: 0; width: clamp(13rem, 27vw, 25rem); z-index: 0; }
.lede { color: #3d4b41; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.55; max-width: 39rem; }
.resource-links { display: grid; flex: 1; gap: .55rem; grid-template-rows: repeat(7, minmax(0, 1fr)); }
.resource-links a, .resource-links button { align-items: center; background: #e3eadc; border: 1px solid #c5d0bc; border-radius: 12px; color: #304130; cursor: pointer; display: flex; font: inherit; font-size: 1rem; font-weight: 550; padding: .8rem 1rem; text-align: left; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.resource-icon { fill: none; flex: 0 0 auto; height: 1.2rem; margin-left: auto; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 1.2rem; }
.resource-links a:hover, .resource-links a:focus-visible, .resource-links button:hover, .resource-links button:focus-visible { background: #d2dfc8; transform: translateY(-1px); }
.map-section { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: none; padding-top: 0; padding-bottom: clamp(1.25rem, 3vw, 2.25rem); padding-left: max(.5rem, calc((100% - 1240px) / 2 + .5rem)); padding-right: max(.5rem, calc((100% - 1240px) / 2 + .5rem)); position: relative; width: 100vw; z-index: 1; }
.section-heading > p:not(.eyebrow) { color: #3d4b41; line-height: 1.5; max-width: 35rem; }
.map-layout { align-items: stretch; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); width: 100%; }
.map-sidebar { display: flex; flex-direction: column; gap: .75rem; min-height: 0; position: relative; }
.map-scene { aspect-ratio: 1068 / 744; background: #cbd1c4; border-radius: 20px; box-shadow: 0 16px 40px #4c5a4820; max-width: none; overflow: hidden; position: relative; width: 100%; }
.map-visuals { height: 100%; inset: 0; position: absolute; transform: translate(var(--map-zoom-x, 0), var(--map-zoom-y, 0)) scale(1); transform-origin: 0 0; transition: transform .42s ease; width: 100%; will-change: transform; }
.map-scene.is-region-selected .map-visuals { transform: translate(var(--map-zoom-x), var(--map-zoom-y)) scale(1.3); }
.map-visuals > img, .regions, .paths { height: 100%; inset: 0; position: absolute; width: 100%; }
.map-visuals > img { display: block; object-fit: fill; }
.regions svg, .paths svg { display: block; height: 100%; width: 100%; }
.regions, .paths { transition: opacity .24s ease; }
.regions [data-region] { cursor: pointer; fill: #d6f33e; fill-opacity: .035; stroke: #f6ffd0; stroke-opacity: .52; stroke-width: 2; transition: fill-opacity .18s ease, stroke-opacity .18s ease, stroke-width .18s ease; vector-effect: non-scaling-stroke; }
.regions [data-region]:hover, .regions [data-region]:focus, .regions [data-region].is-active { fill-opacity: .2; stroke-opacity: .9; stroke-width: 3.25; outline: none; }
.regions [data-region].is-selected { animation: region-pulse 1.6s ease-in-out infinite; }
@keyframes region-pulse { 0%, 100% { fill-opacity: .2; stroke-opacity: .9; stroke-width: 3.25; } 50% { fill-opacity: .3; stroke-opacity: 1; stroke-width: 4; } }
@media (prefers-reduced-motion: reduce) { .map-visuals, .regions [data-region].is-selected { animation: none; transition: none; } }
.paths { opacity: 0; pointer-events: none; }
.paths path { fill: none; stroke: #1675be; stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .9; stroke-width: 5; vector-effect: non-scaling-stroke; }
.map-scene.is-route-mode .regions { opacity: .5; pointer-events: none; }
.map-scene.is-route-mode .paths { opacity: 1; }
.map-toggle { align-items: center; background: #fbfcf7ed; border: 1px solid #c5d0bc; border-radius: 8px; color: #304130; cursor: pointer; display: inline-flex; font-size: .88rem; font-weight: 650; gap: .5rem; left: .75rem; padding: .55rem .65rem; position: absolute; top: .75rem; z-index: 3; }
.map-toggle input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.map-toggle-control { background: #aeb9a7; border-radius: 99px; height: 1.15rem; padding: .15rem; transition: background .18s ease; width: 2rem; }
.map-toggle-control span { background: #fff; border-radius: 50%; display: block; height: .85rem; transform: translateX(0); transition: transform .18s ease; width: .85rem; }
.map-toggle input:checked + .map-toggle-control { background: #1675be; }
.map-toggle input:checked + .map-toggle-control span { transform: translateX(.85rem); }
.map-toggle input:focus-visible + .map-toggle-control { outline: 2px solid #304130; outline-offset: 3px; }
.map-toggle:has(input:disabled) { cursor: not-allowed; opacity: .58; }
.map-scene .info-card { background: #fbfcf7ed; border-radius: 16px; box-shadow: 0 12px 28px #24302536; max-width: min(19rem, 42%); padding: 1.15rem; pointer-events: auto; position: absolute; right: 1rem; top: 1rem; z-index: 2; }
.region-close { align-items: center; background: #e2eadc; border: 0; border-radius: 50%; color: #304130; cursor: pointer; display: flex; font-size: 1.25rem; height: 1.65rem; justify-content: center; line-height: 1; position: absolute; left: .7rem; top: .7rem; width: 1.65rem; }
.rules-panel { background: #fbfcf7f5; border: 1px solid #cbd8c7; border-radius: 18px; box-shadow: 0 18px 45px #2430254a; max-height: min(42rem, calc(100vh - 3rem)); overflow: auto; padding: 2rem; position: absolute; right: calc(100% + 1rem); top: 0; width: min(38rem, calc(100vw - 5rem)); z-index: 10; }
.rules-panel[hidden] { display: none; }
.rules-panel h2 { font-size: 2rem; margin-bottom: 1rem; padding-right: 2rem; }
.rules-panel h3 { color: #405040; font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.rules-panel ul { color: #3d4b41; line-height: 1.5; margin: 0; padding-left: 1.25rem; }
.rules-panel li + li { margin-top: .55rem; }
.rules-close { align-items: center; background: #e2eadc; border: 0; border-radius: 50%; color: #304130; cursor: pointer; display: flex; font-size: 1.6rem; height: 2rem; justify-content: center; line-height: 1; position: absolute; right: .8rem; top: .8rem; width: 2rem; }
.info-card.is-empty { display: none; }
.info-card h3 { color: #304030; font-size: 1.55rem; margin-bottom: .65rem; padding-left: 2rem; }
.info-card p:last-child { color: #3d4b41; line-height: 1.5; margin-bottom: 0; }
.contact-details { border-top: 1px solid #d3dacf; display: grid; font-style: normal; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin-top: 1.5rem; padding-top: 1.25rem; }
.contact-item { color: #3d4b41; min-width: 0; text-decoration: none; }
.contact-item svg { display: block; fill: none; height: 1.4rem; margin-bottom: .55rem; stroke: #506a4e; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 1.4rem; }
.contact-item span { color: #60705f; display: block; font-size: .75rem; font-style: normal; letter-spacing: .08em; margin-bottom: .25rem; text-transform: uppercase; }
.contact-item strong { color: #2e3d30; display: block; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.contact-item[href]:hover strong, .contact-item[href]:focus-visible strong { text-decoration: underline; text-underline-offset: .2em; }
.facilities { padding-top: clamp(1.5rem, 3.5vw, 2.5rem); }
.facility-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.facility-card { cursor: pointer; min-width: 0; }
.facility-card.is-placeholder { cursor: default; }
.facility-card:focus-visible { outline: 2px solid #506a4e; outline-offset: 4px; }
.facility-image { aspect-ratio: 1 / 1; border-radius: 16px; display: block; object-fit: cover; transition: border-radius .2s ease, transform .2s ease; width: 100%; }
.image-placeholder { align-items: center; aspect-ratio: 1 / 1; background: linear-gradient(145deg, #dce6d7, #eef0e8); border-radius: 16px; color: #788578; display: flex; justify-content: center; overflow: hidden; position: relative; transition: border-radius .2s ease, transform .2s ease; }
.facility-card:hover .facility-image, .facility-card:hover .image-placeholder { border-radius: 11px; transform: scale(1.035); }
.image-placeholder::before, .image-placeholder::after { border: 1px solid #c5d0c0; border-radius: 50%; content: ""; height: 105%; position: absolute; width: 105%; }
.image-placeholder::after { border-radius: 45%; transform: rotate(42deg); }
.image-placeholder span { background: #f4f5efcc; border-radius: 99px; font-size: .76rem; padding: .5rem .7rem; position: relative; }
.facility-card h3 { color: #334333; font-size: clamp(1rem, 1.8vw, 1.35rem); line-height: 1.18; margin: .85rem 0 0; text-align: center; }
.boarding { border-top: 1px solid #d3dacf; padding-top: clamp(2.5rem, 5vw, 4rem); }
.boarding-layout { display: grid; gap: clamp(1.5rem, 6vw, 6rem); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.boarding-label { color: #526d50; font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.boarding-content { color: #3d4b41; font-size: 1.08rem; line-height: 1.6; max-width: 42rem; }
.boarding-content ul { margin: 1rem 0 1.35rem; padding-left: 1.2rem; }
.boarding-content li + li { margin-top: .55rem; }
.boarding-welfare { color: #304130; font-weight: 650; margin-bottom: 0; }
.availability { background: #dfe9da; border-radius: 22px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.availability-label { color: #526d50; font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.availability h2 { margin-left: auto; margin-right: auto; max-width: 44rem; }
.availability > p:not(.availability-label) { color: #3d4b41; line-height: 1.55; margin-left: auto; margin-right: auto; max-width: 38rem; }
.availability-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.25rem; }
.availability-actions a { background: #f8faf5; border: 1px solid #becfba; border-radius: 999px; color: #314632; font-weight: 600; padding: .72rem 1rem; text-decoration: none; }
.availability-actions a:hover, .availability-actions a:focus-visible { background: #fff; }
.availability[data-mode="open"] { background: #d9ead7; }
footer { color: #506050; font-size: .8rem; padding: 2rem 1.25rem; text-align: center; }
@media (max-width: 1100px) { .map-layout { align-items: start; grid-template-columns: 1fr; } .map-sidebar { min-height: auto; } .resource-links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; } .rules-panel { inset: 1rem; margin: auto; position: fixed; width: auto; } }
@media (max-width: 800px) { .contact-details { grid-template-columns: repeat(2, 1fr); } .facility-grid { grid-template-columns: repeat(2, 1fr); } .boarding-layout { gap: 1rem; grid-template-columns: 1fr; } }
@media (max-width: 480px) { .section { padding-left: .45rem; padding-right: .45rem; } .hero-heading { min-height: 10.5rem; } .hero-heading h1 { max-width: 72%; } .hero-banner { right: .25rem; width: 10rem; } .map-section { padding-left: .45rem; padding-right: .45rem; } .resource-links { grid-template-columns: 1fr; } .resource-links a { font-size: .9rem; padding: .72rem .85rem; } .map-scene { border-radius: 12px; } .map-scene .info-card { bottom: .75rem; left: .75rem; max-width: calc(100% - 1.5rem); right: auto; top: auto; } .contact-details { gap: 1.1rem .75rem; } .contact-item strong { font-size: .85rem; } .facility-grid { gap: .75rem; } .facility-card h3 { font-size: .93rem; } .boarding-layout { grid-template-columns: 1fr; } }
