/* The family's chosen illustrated map, within the established Kiddoverse palette. */
.contact .contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .95fr);
  gap: clamp(30px, 5vw, 80px);
  min-height: 500px;
  padding: clamp(30px, 5vw, 70px);
}
.contact-box h2 em { color: #f6d480; font-style: normal; }
.contact-box .visit-copy p { max-width: 480px; font-size: 17px; line-height: 1.65; }
.contact-box address { margin-top: 24px; color: #f1e9f8; font: 700 15px/1.6 var(--friendly, Manrope, sans-serif); font-style: normal; }
.visit-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.contact-box .visit-map-button { margin: 0; flex: none; background: #f7d47c; color: #302052; border: 1px solid #ffe4a2; box-shadow: 0 6px 0 #1b1339; }
.contact-box .visit-map-button:hover { background: #ffe5a2; }
.visit-plan { color: #f8e8bb; font: 800 14px var(--friendly, Manrope, sans-serif); text-decoration: underline; text-underline-offset: 5px; }
.visit-plan:hover { color: #fff; }
.visit-map-art { position: relative; isolation: isolate; min-height: 350px; border: 5px solid #fff; border-radius: 33px; overflow: hidden; background: radial-gradient(circle at 82% 25%, #fce4c0 0 11%, transparent 11.5%), radial-gradient(circle at 18% 76%, #d1e9d6 0 15%, transparent 15.5%), #e6f2e9; box-shadow: 0 18px 35px #150c3050; }
.map-road { position: absolute; width: 145%; height: 45px; left: -20%; border: 2px solid #e4d6d0; background: #fffaf0; transform: rotate(-27deg); }
.map-road-one { top: 17%; }.map-road-two { top: 62%; transform: rotate(28deg); }.map-road-three { top: 43%; transform: rotate(90deg); }
.map-orbit { position: absolute; z-index: 1; border: 1px dashed #ae91bb; border-radius: 50%; pointer-events: none; }
.map-orbit-one { width: 220px; height: 220px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.map-orbit-two { width: 315px; height: 315px; left: 50%; top: 50%; transform: translate(-50%,-50%); opacity: .52; }
.map-sticker { position: absolute; z-index: 2; top: 22px; left: 23px; padding: 9px 14px; border: 1px solid #d7bbdb; border-radius: 99px; background: #fffaf2; color: #775084; font: 800 10px/1.2 var(--friendly, Manrope, sans-serif); letter-spacing: .12em; transform: rotate(-4deg); box-shadow: 0 5px 0 #e9d9e4; }
.map-leaf { position: absolute; z-index: 1; width: 50px; height: 50px; border-radius: 50% 8% 50% 8%; background: #b3d5b4; transform: rotate(20deg); opacity: .8; }
.map-leaf-one { top: 20%; right: 12%; }.map-leaf-two { bottom: 12%; left: 14%; width: 34px; height: 34px; transform: rotate(58deg); }
.location-pin { position: absolute; z-index: 3; left: 50%; top: 47%; display: grid; place-items: center; width: 165px; min-height: 180px; text-align: center; transform: translate(-50%,-50%); text-decoration: none; }
.pin-graphic { display: block; width: 80px; height: 100px; filter: drop-shadow(0 14px 12px #70477954); transition: transform .25s ease; }
.pin-graphic svg { display: block; width: 100%; height: 100%; }
.location-pin:hover .pin-graphic, .location-pin:focus-visible .pin-graphic { transform: translateY(-8px) rotate(-5deg); }
.pin-caption { display: block; margin-top: -5px; padding: 10px 16px; background: #fffaf4; border: 1px solid #e4c8de; border-radius: 16px; box-shadow: 0 6px 0 #e9d8e4; color: #4c345f; font: 800 12px/1.2 var(--friendly, Manrope, sans-serif); letter-spacing: .08em; }
.pin-caption small { display: block; margin-top: 4px; color: #80558e; font-size: 11px; letter-spacing: 0; }
.map-spark { position: absolute; z-index: 2; width: 24px; height: 24px; background: url('assets/icon-star.svg') center/contain no-repeat; }
.map-spark-one { left: 19%; top: 27%; }.map-spark-two { right: 18%; bottom: 23%; width: 17px; height: 17px; }
.location-pin:focus-visible { outline: 3px solid #71417b; outline-offset: 6px; border-radius: 25px; }

/* Light sections carry faint stars; original dark sections retain their night sky. */
.manifesto, .press-section, .moments-section, #life, .family-reviews,
#school-info, .inquiry-section, .contact, .admission-stage { position: relative; isolation: isolate; overflow: hidden; }
.manifesto > .shell, .press-section > .shell, .moments-section > .shell,
#life > .shell, .family-reviews > .shell, #school-info > .shell,
.inquiry-section > .shell, .contact > .shell, .admission-stage > .shell { position: relative; z-index: 1; }
.manifesto .sky-twinkles i, .press-section .sky-twinkles i, .moments-section .sky-twinkles i,
#life .sky-twinkles i, .family-reviews .sky-twinkles i, #school-info .sky-twinkles i,
.inquiry-section .sky-twinkles i, .contact .sky-twinkles i, .admission-stage .sky-twinkles i {
  background: #9872ab; box-shadow: 0 0 7px 2px #aa80b849; opacity: .25;
}
.manifesto .sky-twinkles i:nth-child(3n), .press-section .sky-twinkles i:nth-child(3n),
.moments-section .sky-twinkles i:nth-child(3n), #life .sky-twinkles i:nth-child(3n),
.family-reviews .sky-twinkles i:nth-child(3n), #school-info .sky-twinkles i:nth-child(3n),
.inquiry-section .sky-twinkles i:nth-child(3n), .contact .sky-twinkles i:nth-child(3n),
.admission-stage .sky-twinkles i:nth-child(3n) { background: #c69b55; }
@media (prefers-reduced-motion: no-preference) {
  .contact.scene-active .map-spark { animation: map-twinkle 4s ease-in-out infinite; }
  .contact.scene-active .map-spark-two { animation-delay: -2s; }
  .contact.scene-active .pin-graphic { animation: pin-float 4.5s ease-in-out infinite; }
  .contact.scene-active .location-pin:hover .pin-graphic,
  .contact.scene-active .location-pin:focus-visible .pin-graphic { animation-play-state: paused; }
}
@keyframes pin-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes map-twinkle { 0%,100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.18); } }
@media (max-width: 780px) {
  .contact .contact-box { grid-template-columns: 1fr; }
  .visit-map-art { min-height: 330px; }
  .contact-box .visit-map-button { margin: 0; }
}
@media (max-width: 480px) {
  .contact .contact-box { padding: 26px 22px; }
  .visit-map-art { min-height: 300px; }
  .visit-actions { align-items: stretch; flex-direction: column; }
  .visit-actions .visit-map-button { width: 100%; }
  .map-sticker { left: 15px; top: 15px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact .map-spark, .contact .pin-graphic { animation: none; transition: none; }
}
