.overview-board {
  position: relative;
  width: 100%;
  aspect-ratio: 1.7;
  margin: 32px 0 0;
  overflow: hidden;
  background: var(--navy);
}

.overview-board img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.overview-board::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: 16px;
  border: 1px solid rgba(255, 255, 255, .5);
  pointer-events: none;
}

.overview-board figcaption {
  position: absolute;
  z-index: 1;
  left: 30px;
  bottom: 25px;
  color: #fff;
  font: 11px "Noto Sans KR", sans-serif;
  letter-spacing: .14em;
}

.overview-board figcaption::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  margin: 0 10px 4px 0;
  background: var(--gold);
}

/* Supplied project visual is shown as the hero artwork itself. */
.site-header {
  position: fixed;
  top: 0;
  height: 72px;
  padding: 0 clamp(24px, 4vw, 72px);
  background: var(--deep);
  border-bottom-color: rgba(255, 255, 255, .18);
}

.main-nav { gap: clamp(20px, 2.1vw, 38px); font-size: 13px; }
.main-nav .nav-cta { padding: 0 18px; }
main { padding-top: 72px; }

.hero {
  height: clamp(640px, calc(100svh - 72px), 858px);
  min-height: 0;
  background-image: url("public/images/pdf/page-01.png");
  background-color: #5e90ad;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.hero-overlay,
.hero-topline,
.hero-copy,
.hero-status,
.scroll-note {
  display: none;
}

.floorplan-board {
  max-width: 1180px;
  margin: 60px auto 0;
  padding: 0;
  background: var(--navy);
  box-shadow: 18px 20px 0 #d2cec5;
}

.floorplan-board img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .floorplan-board { margin-top: 38px; box-shadow: 9px 11px 0 #d2cec5; }
}

.floorplan-controls { max-width: 1120px; margin: 54px auto 22px; }
.district-tabs, .type-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.district-tabs { margin-bottom: 18px; }
.district-tabs button, .type-tabs button { border: 1px solid rgba(5,45,67,.22); background: transparent; color: var(--navy); cursor: pointer; font: 700 13px "Noto Sans KR", sans-serif; }
.district-tabs button { min-width: 110px; padding: 13px 18px; }
.type-tabs button { padding: 9px 13px; font-size: 12px; }
.district-tabs button.active, .type-tabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.floorplan-viewer { max-width: 980px; margin: 0 auto; text-align: center; }
.floorplan-zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; overflow: hidden; }
.floorplan-zoom img {
  display: block;
  width: calc(100% + var(--trim-left, 0px) + var(--trim-right, 0px));
  height: auto;
  margin: calc(-1 * var(--trim-top, 0px)) 0 calc(-1 * var(--trim-bottom, 0px)) calc(-1 * var(--trim-left, 0px));
  max-width: none;
}
.floorplan-edge-mask { position: absolute; display: block; background: #fff; }
.floorplan-zoom-label { position: absolute; z-index: 2; right: 16px; bottom: 16px; padding: 9px 13px; background: var(--navy); color: #fff; font: 700 11px "Noto Sans KR", sans-serif; }
#floorplan-source { margin: 24px 0 7px; color: var(--navy); font-size: 13px; font-weight: 700; }
.floorplan-notice { max-width: 900px; margin: 0 auto; font-size: 10px; line-height: 1.7; color: #5f6a6f; }
.floorplan-modal { max-width: min(96vw, 1200px); max-height: 94vh; padding: 36px 14px 14px; border: 0; background: #fff; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.floorplan-modal::backdrop { background: rgba(0,24,37,.82); }
.floorplan-modal img { display: block; max-width: 100%; max-height: calc(94vh - 50px); }
.modal-close { position: absolute; top: 8px; right: 9px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 23px; line-height: 1; cursor: pointer; }
@media (max-width: 650px) { .floorplan-controls { margin-top: 34px; }.district-tabs button { min-width: 94px; }.type-tabs { justify-content: flex-start; }.floorplan-zoom-label { right: 8px; bottom: 8px; } }

.pdf-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pdf-gallery img,
.location-map img,
.community-image img,
.community-plan {
  aspect-ratio: 1190 / 824;
  object-fit: contain;
}
.pdf-gallery img { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.main-nav a.active { color: var(--gold); }
section { scroll-margin-top: 72px; }
html { scroll-behavior: auto; overflow-x: hidden; }
body { overflow-x: hidden; }
.location-map { display: flex; align-items: center; padding: 6vw; background: #fff; opacity: 1; }
.location-map::after { display: none; }
.location-map img { display: block; width: 100%; height: auto; }
.location-copy { padding-top: 90px; padding-bottom: 70px; }
.location-copy .pdf-gallery { width: 100%; grid-template-columns: 1fr; max-height: none; overflow: visible; }
.community-image { display: flex; align-items: center; justify-content: center; height: auto; background: #fff; }
.community-image img, .community-plan { display: block; width: 100%; height: auto; }
.community-copy { padding-top: 70px; padding-bottom: 70px; }
.community-plan { margin-top: 28px; box-shadow: 0 5px 18px rgba(0,0,0,.24); }
@media (max-width: 900px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; width: auto; height: 100%; padding: 0; flex-direction: row; align-items: center; gap: clamp(7px, 1.7vw, 16px); background: transparent; }
  .main-nav a { padding: 0; border: 0; font-size: clamp(9px, 1.75vw, 13px); white-space: nowrap; }
  .main-nav .nav-cta { height: 100%; padding: 0 clamp(7px, 1.7vw, 14px); background: #fff; color: var(--navy); }
  .site-header { position: fixed; height: 64px; padding: 0 6vw; }
  main { padding-top: 64px; }
  .hero { height: auto; min-height: 0; aspect-ratio: 1190 / 824; background-size: 100% 100%; }
  section { scroll-margin-top: 64px; }
  .location-map { min-height: 0; padding: 7vw; }
  .community-image { height: auto; }
  .pdf-gallery { grid-template-columns: 1fr; }
}

/* Full-width source imagery and supplied brand treatment. */
.site-header {
  background: #fff;
  color: var(--navy);
  border-bottom-color: rgba(5, 45, 67, .16);
}

.brand { flex-shrink: 0; }
.brand-logo { display: block; width: clamp(145px, 16vw, 205px); height: auto; }
.main-nav .nav-cta { background: var(--navy); color: #fff; }

.hero {
  height: auto;
  aspect-ratio: 1190 / 824;
  background-size: 100% 100%;
}

.overview-board {
  width: 100vw;
  aspect-ratio: auto;
  margin: 32px 0 0 calc(50% - 50vw);
  overflow: visible;
  background: transparent;
}
.overview-board img { height: auto; object-fit: contain; opacity: 1; }
.overview-board::after,
.overview-board figcaption { display: none; }

.pdf-gallery { grid-template-columns: 1fr; gap: 24px; }
.pdf-gallery img { box-shadow: none; }
.overview-gallery,
.location-copy .pdf-gallery {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.location,
.community {
  grid-template-columns: 1fr;
  min-height: 0;
}
.location-map { display: block; padding: 0; }
.location-map img,
.community-image img { display: block; width: 100%; height: auto; }
.community-plan {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  box-shadow: none;
}

footer {
  background: #fff;
  color: var(--navy);
  border-top: 1px solid rgba(5, 45, 67, .16);
}
footer span:last-child { color: #52656f; }

@media (max-width: 900px) {
  .main-nav .nav-cta { background: var(--navy); color: #fff; }
  .brand-logo { width: clamp(118px, 23vw, 145px); }
}

.consent-group {
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}
.consent-group legend {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}
.consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(5, 45, 67, .16);
}
.consent-row:last-child { border-bottom: 1px solid rgba(5, 45, 67, .16); }
.contact-form .consent-choice {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
}
.consent-choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }
.consent-choice strong { color: var(--navy); }
.contact-form .consent-detail {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 700 11px "Noto Sans KR", sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-note { margin: 13px 0 0; color: #607078; font-size: 11px; }
.consent-modal {
  width: min(600px, calc(100vw - 36px));
  max-height: min(760px, calc(100vh - 36px));
  padding: 42px 34px 30px;
  border: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .35);
}
.consent-modal::backdrop { background: rgba(0, 24, 37, .76); }
.consent-modal-kicker { margin: 0 0 8px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.consent-modal h3 { margin: 0 0 24px; color: var(--navy); font-size: 25px; }
.consent-modal dl { margin: 0; }
.consent-modal dl div { padding: 15px 0; border-top: 1px solid rgba(5, 45, 67, .14); }
.consent-modal dt { margin-bottom: 7px; color: var(--navy); font-size: 12px; font-weight: 800; }
.consent-modal dd { margin: 0; color: #52636d; font-size: 12px; line-height: 1.8; }
.consent-confirm {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font: 700 13px "Noto Sans KR", sans-serif;
}
@media (max-width: 520px) {
  .consent-modal { padding: 40px 22px 24px; }
  .consent-modal h3 { font-size: 21px; }
}

/* Three moving rings align with the opening-screen benefit badges. */
.hero-orbits {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}
.hero-orbit {
  position: absolute;
  width: clamp(62px, 10.8vw, 128px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.hero-orbit::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: inherit;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: conic-gradient(from 20deg, transparent 0 12%, #ffe8a0 15% 36%, transparent 40% 56%, rgba(255,255,255,.9) 60% 76%, transparent 80% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 5px rgba(255, 223, 116, .95));
  animation: orbit-track 3.4s linear infinite;
}
.hero-orbit-one { left: 9.9%; top: 12%; }
.hero-orbit-two { left: 24%; top: 12%; }
.hero-orbit-three { left: 38%; top: 12%; }
.hero-orbit-two::after { animation-duration: 4.2s; animation-direction: reverse; }
.hero-orbit-three::after { animation-duration: 2.8s; animation-delay: -.9s; }

@keyframes orbit-track { to { transform: rotate(1turn); } }

.main-nav { gap: clamp(24px, 2.5vw, 44px); font-size: 16px; }
.main-nav .nav-cta { padding: 0 24px; }

@media (max-width: 900px) {
  .brand-logo { width: clamp(140px, 25vw, 170px); }
  .main-nav { gap: clamp(9px, 2vw, 19px); font-size: clamp(13px, 2.1vw, 16px); }
  .main-nav a { font-size: clamp(13px, 2.1vw, 16px); }
  .main-nav .nav-cta { padding: 0 clamp(10px, 2vw, 18px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit::after { animation: none; }
}

/* Text-only benefit cue aligned over the residence scene. */
.hero-benefit-overlay {
  position: absolute;
  z-index: 4;
  top: 62%;
  left: clamp(24px, 7.1vw, 112px);
  right: clamp(24px, 7.1vw, 112px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.48);
  background: linear-gradient(90deg, rgba(2,22,45,.84), rgba(3,30,59,.63));
  box-shadow: 0 13px 35px rgba(1,17,33,.23);
  backdrop-filter: blur(4px);
}
.hero-benefit-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  align-items: center;
  min-height: clamp(66px, 7vw, 96px);
  padding: 14px clamp(10px, 1.45vw, 23px);
  border-left: 1px solid rgba(255,255,255,.3);
}
.hero-benefit-item:first-child { border-left: 0; }
.hero-benefit-number,
.hero-benefit-text { margin: 0; }
.hero-benefit-number { color: #f4ce76; font: 700 clamp(12px, 1.15vw, 16px)/1 Georgia, "Noto Serif KR", serif; }
.hero-benefit-text { min-height: 1.45em; color: #fff; font: 700 clamp(12px, 1.12vw, 17px)/1.45 "Arial Narrow", "Noto Sans KR", sans-serif; letter-spacing: -.05em; word-break: keep-all; }
.hero-benefit-text.is-typing::after { content: "|"; display: inline-block; margin-left: 2px; color: #f4ce76; animation: hero-benefit-caret .7s step-end infinite; }
@keyframes hero-benefit-caret { 50% { opacity: 0; } }
@media (max-width: 900px) {
  .hero-benefit-overlay { top: 51%; left: 5vw; right: 5vw; grid-template-columns: repeat(2, 1fr); }
  .hero-benefit-item { min-height: 57px; grid-template-columns: 27px 1fr; gap: 7px; padding: 9px 11px; }
  .hero-benefit-item:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .hero-benefit-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.3); }
  .hero-benefit-number { font-size: 11px; }
  .hero-benefit-text { font-size: clamp(10px, 2vw, 13px); }
}
@media (prefers-reduced-motion: reduce) { .hero-benefit-text.is-typing::after { animation: none; } }

/* Floor plans: keep the native image proportion and never crop the drawing. */
.floorplan-viewer {
  width: min(100%, 900px);
  margin: 0 auto;
}
.floorplan-zoom {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 0;
  background: #fff;
  cursor: zoom-in;
}
.floorplan-zoom img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  position: relative;
  z-index: 0;
}
.floorplan-edge-mask { display: none; }
#floorplan-edge-masks {
  display: none;
}
.floorplan-zoom-label {
  z-index: 2;
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  border: 0;
  box-shadow: none;
}

.coupon-modal {
  position: relative;
  width: min(430px, calc(100vw - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.coupon-modal::backdrop { background: rgba(0, 24, 37, .7); }
.coupon-modal img { display: block; width: 100%; height: auto; }
.coupon-snooze, .coupon-close {
  position: absolute;
  bottom: 0;
  height: 9.5%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.coupon-snooze { left: 0; width: 66%; }
.coupon-close { right: 0; width: 34%; }

