@font-face { font-family: Pretendard; src: url("assets/PretendardVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --header: 76px; color: #fff; background: #151713; font-family: Pretendard, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #e1bf88; outline-offset: 3px; }
.wrap { width: min(1440px, calc(100% - clamp(34px, 8vw, 120px))); margin-inline: auto; }
.header { position: relative; z-index: 3; background: #121212; }
.header-inner { min-height: var(--header); display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.brand { font-weight: 780; letter-spacing: .09em; white-space: nowrap; }
.brand span { margin-left: 4px; color: #c6d0bf; }
.desktop-menu { flex: 1; display: flex; justify-content: space-evenly; font-size: 14px; font-weight: 650; }
.contact-link { background: #f4f3ed; color: #161713; padding: 10px 13px; white-space: nowrap; font-size: 13px; font-weight: 700; }
.menu { position: relative; }
.menu summary { display: grid; place-content: center; gap: 6px; cursor: pointer; width: 32px; height: 40px; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before, .menu summary::after { content: ""; width: 20px; height: 1px; background: #fff; }
.menu nav { position: absolute; right: 0; top: calc(100% + 12px); min-width: 145px; padding: 8px; background: #171a16; border: 1px solid #ffffff38; }
.menu nav a { display: block; padding: 9px; }
.explorer { position: relative; min-height: calc(100svh - var(--header)); isolation: isolate; display: grid; align-items: center; padding: 24px clamp(24px,6vw,104px); }
.map { position: absolute; inset: 0; margin: 0; overflow: hidden; background: #232a20; }
.map-image { position: absolute; inset: 0; }
.map-image > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 59%; }
.map figcaption { position: absolute; bottom: 15px; right: 18px; color: white; background: #151713db; padding: 6px 9px; font-size: 12px; }
.markers { position: absolute; inset: 0; }
.marker { position: absolute; transform: translate(-50%,-50%); border: 1px solid #fff9; border-radius: 99px; background: #17231eeb; color: #fff; padding: 9px 13px; min-height: 44px; white-space: nowrap; cursor: pointer; font-size: 14px; font-weight: 700; box-shadow: 0 4px 12px #0006; }
.marker::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: #c5cdb9; border-radius: 50%; }
.marker[aria-pressed="true"] { background: #ebd5a9; color: #1b251e; border-color: white; }
.marker[aria-pressed="true"]::before { background: #4e624e; }
.marker-garden { left: 59%; top: 68%; }
.marker-community { left: 46%; top: 57%; }
.marker-residence { left: 77%; top: 38%; }
.panel { position: relative; width: min(340px,100%); padding: clamp(16px,2.1vw,30px); background: #202822e8; border: 1px solid #c8d5c64a; border-radius: 3px; box-shadow: 0 16px 45px #0005; backdrop-filter: blur(13px); }
.panel h1 { margin: 0; font-size: clamp(33px,3.3vw,50px); line-height: 1.1; letter-spacing: -.055em; }
.intro-copy { margin: 9px 0 0; color: #e1e6da; font-size: 14px; }
.space-list { display: flex; flex-wrap: wrap; gap: 5px; margin-block: 17px; }
.space-list button { flex: 1; white-space: nowrap; min-height: 36px; border: 1px solid #acbaae82; background: transparent; color: white; cursor: pointer; padding: 5px 7px; font-size: 13px; }
.space-list button[aria-pressed="true"] { background: #ebd5a9; border-color: #ebd5a9; color: #1b251e; font-weight: 700; }
.preview-image { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; background: #e9e5d9; }
.preview-image.is-plan { object-fit: contain; }
.preview h2 { margin: 12px 0 0; font-size: 23px; letter-spacing: -.04em; }
.preview p { margin: 5px 0 0; color: #e1e6da; font-size: 14px; line-height: 1.5; word-break: keep-all; }
@media (max-width: 900px) {
  .desktop-menu { display: none; }
  .contact-link { margin-left: auto; }
}
@media (max-width: 700px) {
  :root { --header: 60px; }
  .explorer { display: block; padding: 0 0 20px; }
  .map { position: relative; aspect-ratio: 1.5; }
  .map figcaption { bottom: 7px; right: 7px; font-size: 10px; }
  .marker { font-size: 11px; min-height: 36px; padding: 4px 7px; }
  .marker::before { display: none; }
  .panel { width: auto; margin: 10px 16px 0; box-shadow: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.map { container-type: size; }
.map-image {
  inset: 50% auto auto 50%;
  width: max(100cqw, 177.68cqh);
  height: max(100cqh, 56.28cqw);
  transform: translate(-50%, -50%);
}
.map-image > img { transform-origin: 61% 45%; }
.map[aria-busy="true"] .markers { visibility: hidden; }
.preview-image { object-fit: contain; }
.scene-back { color: #f4f3ed; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.preview h2 { margin-top: 4px; }
.preview-image:not([hidden]) + .preview-copy h2 { margin-top: 12px; }
@media (max-width: 700px) {
  .marker { min-width: 38px; }
}

.site-outline, .selection-leader { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.region-layer {
  opacity: 0; pointer-events: none;
  transition: opacity 200ms, transform 360ms cubic-bezier(.2,.65,.25,1);
}
.region-layer.is-highlighted { opacity: 1; transform: scale(1.075); }
.region-outline {
  fill: #7dcfe315; stroke: #74d9ff; stroke-width: 2.3;
  vector-effect: non-scaling-stroke; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px #25a7cf);
}
.region-hit { pointer-events: all; cursor: pointer; fill: transparent; }
.map:not([data-scene="near"]) [data-scene="near"],
.map[data-scene="near"] [data-scene="wide"] { display: none; }
.markers { pointer-events: none; }
.marker { pointer-events: auto; }
.map[aria-busy="true"] .site-outline { visibility: hidden; }
.selection-leader { z-index: 1; opacity: 0; transition: opacity 200ms; }
.selection-leader.is-visible { opacity: 1; }
.selection-leader path { fill: none; stroke: #f2daaa; stroke-width: 2; filter: drop-shadow(0 0 4px #332610); }
.selection-leader circle { fill: #f2daaa; }
.panel {
  z-index: 2; width: min(420px, 31vw); padding: 0; border: 0;
  background: transparent; box-shadow: none; backdrop-filter: none;
  pointer-events: none;
}
.panel button, .panel .preview { pointer-events: auto; }
.preview {
  position: relative; background: #202822ee; border: 1px solid #d0daca64;
  box-shadow: 0 16px 45px #0006;
  animation: preview-enter 260ms ease-out both;
}
.preview-copy { padding: 15px 20px 20px; }
.preview-image { height: clamp(125px, 23vh, 260px); aspect-ratio: auto; object-fit: cover; }
.preview-image.plan-fit { object-fit: contain; }
.close-preview, .scene-back, .jobs-link {
  border: 1px solid #e5ded06b; background: #18231eee; color: white;
  cursor: pointer; min-height: 38px; padding: 7px 12px;
}
.close-preview { position: absolute; z-index: 1; right: 7px; top: 7px; font-size: 20px; }
.scene-back { margin-bottom: 8px; }
.jobs-link { position: fixed; bottom: 16px; left: clamp(24px, 6vw, 104px); }
@keyframes preview-enter {
  from { opacity: 0; transform: translateX(-9px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 700px) {
  .selection-leader { display: none; }
  .panel { width: auto; }
  .jobs-link { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .preview { animation: none; }
  .region-layer, .selection-leader { transition: none; }
}

.space-list {
  width: fit-content; max-width: 100%; margin: 0 0 10px; gap: 5px; padding: 5px;
  border: 1px solid #e6ddc45c; background: #151d18e8;
  border-radius: 4px; box-shadow: 0 4px 20px #0004;
}
.space-list button { border: 0; padding-inline: 10px; min-height: 40px; border-radius: 2px; }
.space-list button:hover { background: #e2dbba29; }
.space-list button[aria-pressed="true"] { background: #ebd5a9; }
.preview { animation: preview-appear 210ms ease-out both; }
.preview.is-anchored { position: fixed; top: 0; left: 0; width: min(280px,27vw); margin: 0; }
.preview.is-anchored .preview-image { height: clamp(108px,18vh,165px); }
.selection-leader path { stroke-width: 1.5; }
.selection-leader circle { r: 2.5px; }
@keyframes preview-appear { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .preview { animation: none; } }

.explore-intro {
  margin-bottom: clamp(42px, 13vh, 116px);
  text-shadow: 0 2px 17px #101b15, 0 1px 3px #101b15;
}
.explore-intro h1 { font-size: clamp(38px, 4vw, 70px); line-height: 1.02; }
.explore-intro p { margin: 15px 0 0; font-size: clamp(13px, 1.1vw, 16px); font-weight: 600; }
.panel .space-list { margin-bottom: 0; }
@media (max-width: 700px) {
  .explore-intro { margin-bottom: 16px; }
  .explore-intro h1 { font-size: 29px; }
  .explore-intro h1 br { display: none; }
  .explore-intro p { margin-top: 6px; }
  .panel .preview { margin-top: 12px; }
}

@media (min-width: 701px) {
  .explore-intro { margin-left: clamp(28px, 5vw, 96px); width: max-content; max-width: min(30vw, 450px); }
  .explore-intro h1 { font-size: clamp(32px, 3.1vw, 58px); }
  .panel .explore-intro:not([hidden]) ~ .space-list { margin-left: clamp(28px, 5vw, 96px); }
}

.menu-group { position: relative; display: flex; align-items: center; }
.menu-group > a { display: grid; place-items: center; min-height: var(--header-height, 76px); }
.menu-links { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 140px; background: #151714; padding: 8px; border: 1px solid #ffffff2b; }
.menu-group:is(:hover, :focus-within) .menu-links { display: grid; }
.menu-links a { display: block; padding: 10px; white-space: nowrap; }
.menu-links a:is(:hover, :focus-visible) { background: #ffffff20; }
.menu nav { max-height: min(75dvh, 560px); overflow-y: auto; }
.menu nav strong { display: block; padding: 12px 10px 3px; color: #ead9ad; }

.marker-label-short { display: none; }
@media (max-width: 700px) {
  .map { aspect-ratio: 16 / 9; }
  .marker-label-full { display: none; }
  .marker-label-short { display: inline; }
  .panel .space-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .panel .space-list button { min-height: 44px; }
  .explorer:has(.map[data-scene="near"]) .space-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mobile-premium-link { display: none; }
@media (max-width: 700px) {
  .explore-intro { margin-block: 18px; }
  .explore-intro h1 br { display: initial; }
  .explorer:has(.map[data-scene="wide"]) .mobile-premium-link {
    display: flex; justify-content: space-between; align-items: center; min-height: 44px;
    color: #f1dfb8; border-bottom: 1px solid #f1dfb865; margin-top: 12px; pointer-events: auto;
  }
}
