:root {
  --ink: #111713;
  --paper: #f2f4ef;
  --white: #fff;
  --green: #17624f;
  --green-deep: #0c2b23;
  --mint: #8bd1b2;
  --coral: #ee725e;
  --yellow: #e8ca57;
  --blue: #5572dc;
  --line: rgba(17, 23, 19, .15);
  --muted: #68716b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  letter-spacing: 0;
}
body.detail-mode { background: #fff; }
button, a, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 76px;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(17, 23, 19, .09);
}
.brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
  font-size: 14px;
}
.brand-name { font-size: 17px; font-weight: 900; line-height: 1; }
.brand-name small { display: block; margin-top: 5px; font-size: 9px; color: #818681; font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { position: relative; padding: 28px 0 25px; font-size: 14px; font-weight: 800; color: #4b504c; }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); }
.header-contact { justify-self: end; font-weight: 850; font-size: 14px; }
.header-contact span { margin-left: 10px; }
.menu-button { display: none; }

/* Discovery */
.discovery {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(640px, 1.18fr);
  color: #fff;
  background: var(--green-deep);
}
.discovery-intro {
  position: relative;
  min-height: 760px;
  padding: clamp(70px, 8vw, 128px) clamp(42px, 6vw, 108px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(10, 41, 33, .86), rgba(10, 41, 33, .86)),
    url('/assets/gimpo-riverfront-family-hero-v2.png') center / cover;
}
.discovery-intro::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}
.discovery-kicker { position: relative; z-index: 1; margin: 0 0 30px; display: flex; align-items: center; gap: 12px; color: var(--mint); font-size: 12px; font-weight: 900; }
.discovery-kicker span { width: 30px; height: 2px; background: var(--mint); }
.discovery-intro h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(64px, 6.6vw, 108px); line-height: .96; font-weight: 900; }
.discovery-intro > p:not(.discovery-kicker) { position: relative; z-index: 1; max-width: 570px; margin: 34px 0 0; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.8; word-break: keep-all; }
.discovery-summary { position: relative; z-index: 1; margin-top: 58px; display: flex; align-items: center; gap: 18px; }
.discovery-summary strong { color: #fff; font-size: 62px; line-height: 1; }
.discovery-summary span { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.55; }
.finder { padding: clamp(52px, 5vw, 82px) clamp(40px, 5vw, 82px); display: flex; flex-direction: column; justify-content: center; background: #f7f8f5; color: var(--ink); }
.finder-row { min-height: 116px; padding: 23px 0; display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 28px; border-top: 1px solid var(--line); }
.finder-row:first-child { border-top: 0; }
.finder-label { display: flex; align-items: center; gap: 16px; }
.finder-label b { width: 34px; height: 34px; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(23,98,79,.28); font-size: 10px; }
.finder-label span { font-size: 15px; font-weight: 900; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.region-choice-group { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; gap: 7px; }
.region-choice-group .choice { min-width: 0; min-height: 38px; padding: 0 8px; }
.choice {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #d7dcd7;
  border-radius: 0;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.choice:hover { border-color: var(--green); }
.choice.active { color: #fff; background: var(--green); border-color: var(--green); }
.asset-row { align-items: start; }
.asset-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.range-control { display: block; }
.range-control > span { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; }
.range-control strong { color: var(--ink); font-size: 22px; }
.range-control input { width: 100%; margin: 23px 0 8px; accent-color: var(--green); cursor: pointer; }
.range-control small { display: flex; justify-content: space-between; color: #9aa19b; font-size: 10px; }
.range-control i { font-style: normal; }
.compact-row { min-height: 94px; }
.finder-action { margin-top: 22px; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); }
.finder-action p { max-width: 370px; margin: 0; color: #878e88; font-size: 11px; line-height: 1.6; }
.finder-action button {
  min-width: 250px;
  height: 62px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.finder-action button span { color: var(--mint); }
.finder-action button b { font-size: 20px; }

.result-toolbar {
  min-height: 116px;
  padding: 0 clamp(28px, 5vw, 84px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.result-toolbar > div { display: flex; align-items: center; gap: 24px; }
.result-toolbar small { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.result-toolbar strong { font-size: 24px; }
.result-toolbar button { padding: 0 0 9px; border: 0; border-bottom: 1px solid var(--ink); background: none; font-size: 13px; font-weight: 850; cursor: pointer; }
.result-toolbar button span { margin-left: 28px; }

/* Project pages */
.project-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: #fff;
  background: #15211f;
}
.project-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.project-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,13,13,.91) 0%, rgba(8,13,13,.72) 31%, rgba(8,13,13,.18) 63%, rgba(8,13,13,.05) 100%); }
.project-hero-content { position: relative; z-index: 2; width: min(640px, 49vw); padding: clamp(58px, 7vh, 92px) 0 310px clamp(42px, 5vw, 86px); }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 12px; color: #dbe5df; font-size: 12px; font-weight: 900; }
.eyebrow span { width: 30px; height: 2px; background: #6dd0aa; }
.project-hero h2 { margin: 0; font-size: clamp(48px, 5vw, 78px); line-height: 1.01; font-weight: 900; }
.project-name { margin: 22px 0 0; font-size: 20px; font-weight: 850; }
.project-intro { margin: 16px 0 0; max-width: 560px; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.75; word-break: keep-all; }
.project-benefits { margin: 22px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.project-benefits li { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.87); font-size: 14px; font-weight: 750; }
.project-benefits span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #7cddb7; background: rgba(72,177,132,.18); font-size: 12px; }
.text-link { margin-top: 34px; padding: 0 0 10px; display: inline-flex; align-items: center; gap: 34px; border: 0; border-bottom: 2px solid #fff; background: transparent; color: #fff; font-weight: 850; cursor: pointer; }
.text-link span { font-size: 19px; }
.apartment-preview {
  position: absolute;
  z-index: 3;
  left: clamp(42px, 5vw, 86px);
  bottom: 28px;
  width: clamp(420px, 34vw, 620px);
  aspect-ratio: 16 / 8.8;
  padding: 24px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  background: #0d1513;
  box-shadow: 0 22px 55px rgba(0,0,0,.32);
  cursor: pointer;
  transition: transform .3s ease, border-color .3s ease;
}
.apartment-preview:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.65); }
.apartment-preview > img { width: 100%; height: 100%; object-fit: cover; }
.preview-browser { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 24px; padding: 0 10px; display: flex; align-items: center; gap: 6px; background: #111815; }
.preview-browser i { width: 7px; height: 7px; border-radius: 50%; background: #d35b50; }
.preview-browser i:nth-child(2) { background: #d7a541; }
.preview-browser i:nth-child(3) { background: #3eb46d; }
.preview-browser b { margin-left: auto; color: rgba(255,255,255,.55); font-size: 9px; }
.preview-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 32px 16px 13px; display: flex; justify-content: space-between; align-items: end; color: #fff; background: linear-gradient(transparent, rgba(5,10,9,.9)); }
.preview-caption strong { font-size: 12px; }
.preview-caption em { color: #8ee0bf; font-size: 10px; font-style: normal; }
.project-page-number { position: absolute; z-index: 3; right: 30px; bottom: 24px; color: rgba(255,255,255,.9); font-size: 24px; font-weight: 900; }
.project-page-number small { margin-left: 5px; color: rgba(255,255,255,.48); font-size: 10px; }
.project-rail { position: fixed; z-index: 40; right: 18px; top: 50%; display: grid; gap: 5px; transform: translateY(-38%); }
.project-rail button { width: 30px; height: 28px; padding: 0; display: grid; place-items: center; border: 0; background: rgba(255,255,255,.28); color: rgba(255,255,255,.7); font-size: 8px; font-weight: 900; cursor: pointer; backdrop-filter: blur(8px); }
.project-rail button.active { width: 42px; background: #fff; color: var(--ink); transform: translateX(-12px); }
.empty-results { min-height: 72vh; padding: 110px clamp(30px, 8vw, 150px); color: #fff; background: #111815; }
.empty-results span { color: var(--mint); font-size: 11px; font-weight: 900; }
.empty-results h2 { margin: 24px 0; font-size: clamp(54px, 7vw, 100px); line-height: 1; }
.empty-results p { color: rgba(255,255,255,.6); }
.empty-results button { margin-top: 30px; padding: 0 0 9px; border: 0; border-bottom: 1px solid #fff; color: #fff; background: none; font-weight: 800; cursor: pointer; }

/* Detail view */
.detail-cover { position: relative; min-height: calc(100vh - 76px); overflow: hidden; color: #fff; background: #0d1916; }
.detail-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-cover-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,10,.92) 0%, rgba(6,13,11,.69) 38%, rgba(6,13,11,.12) 70%); }
.detail-back { position: absolute; z-index: 2; top: 30px; left: clamp(24px, 4vw, 72px); padding: 12px 0; border: 0; background: none; color: #fff; font-size: 13px; font-weight: 850; cursor: pointer; }
.detail-back span { margin-right: 13px; font-size: 18px; }
.detail-cover-copy { position: absolute; z-index: 2; left: clamp(30px, 7vw, 126px); bottom: clamp(80px, 12vh, 150px); }
.detail-cover-copy p { margin: 0 0 26px; color: var(--mint); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.detail-cover-copy h1 { margin: 0; font-size: clamp(64px, 8vw, 126px); line-height: .94; }
.detail-cover-copy span { display: inline-block; margin-top: 32px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.62); font-size: 16px; font-weight: 750; }
.detail-cover-number { position: absolute; z-index: 2; right: 40px; bottom: 32px; display: flex; align-items: baseline; gap: 8px; }
.detail-cover-number b { font-size: 36px; }
.detail-cover-number span { color: rgba(255,255,255,.5); font-size: 11px; }
.detail-nav { position: sticky; top: 76px; z-index: 900; height: 66px; padding: 0 clamp(22px, 5vw, 90px); display: flex; align-items: center; gap: 34px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.detail-nav button { height: 100%; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 850; cursor: pointer; }
.detail-nav button:hover { color: var(--green); }
.detail-section { padding: clamp(86px, 9vw, 150px) clamp(30px, 7vw, 130px); }
#overview, #living, #market, #finance, #ai, #media { scroll-margin-top: 142px; }
.detail-section-head p { margin: 0 0 24px; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.detail-section-head h2 { margin: 0; font-size: clamp(54px, 6vw, 92px); line-height: 1.02; }
.detail-section-head.light p { color: var(--mint); }
.overview-section { display: grid; grid-template-columns: minmax(420px, .85fr) minmax(520px, 1.15fr); gap: clamp(60px, 8vw, 150px); background: #fff; }
.overview-copy > p { max-width: 760px; margin: 45px 0 0; color: #606962; font-size: 18px; line-height: 1.85; word-break: keep-all; }
.detail-facts { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-facts div { min-height: 140px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts small { display: block; margin-bottom: 24px; color: var(--muted); font-size: 11px; }
.detail-facts strong { font-size: 24px; }
.living-section { color: #fff; background: #102620; }
.living-section > .detail-section-head { max-width: 1500px; margin: 0 auto 62px; }
.living-layout { width: min(1500px, 100%); margin: 0 auto; display: grid; grid-template-columns: 380px minmax(0, 1fr); min-height: 590px; border: 1px solid rgba(255,255,255,.18); }
.facility-list { display: grid; grid-template-rows: repeat(5, 1fr); }
.facility-item { padding: 22px 26px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.035); }
.facility-item:last-child { border-bottom: 0; }
.facility-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); font-size: 18px; }
.facility-item small { display: block; margin-bottom: 6px; color: var(--mint); font-size: 9px; font-weight: 900; }
.facility-item strong { font-size: 16px; }
.facility-item em { color: rgba(255,255,255,.6); font-size: 11px; font-style: normal; }
.detail-map { min-height: 590px; background: #dfe6df; }
.leaflet-control-attribution { font-size: 8px !important; }
.project-map-marker { width: 42px; height: 42px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 8px 20px rgba(0,0,0,.25); font-weight: 900; }
.facility-map-marker { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #111713; font-size: 12px; box-shadow: 0 5px 12px rgba(0,0,0,.2); }
.living-summary {
  width: min(1500px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .6fr);
  border: 1px solid rgba(255,255,255,.18);
  background: #173a30;
}
.living-summary-main, .living-summary-item { min-height: 150px; padding: 30px; }
.living-summary-main { display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(255,255,255,.16); }
.living-summary-main small, .living-summary-item small { color: var(--mint); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.living-summary-main strong { max-width: 600px; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.25; }
.living-summary-item { border-right: 1px solid rgba(255,255,255,.16); }
.living-summary-item:last-child { border-right: 0; }
.living-summary-item strong { display: block; margin-top: 25px; font-size: 18px; }
.living-summary-item p { margin: 9px 0 0; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.55; word-break: keep-all; }
.market-section { display: grid; grid-template-columns: minmax(420px, .75fr) minmax(660px, 1.25fr); gap: clamp(60px, 8vw, 150px); background: #f5f6f2; }
.market-panel { border: 1px solid var(--line); background: #fff; }
.market-toolbar { min-height: 150px; padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.market-toolbar small { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.market-size-buttons { margin-top: 18px; display: flex; gap: 7px; flex-wrap: wrap; }
.market-size-buttons button { min-width: 66px; height: 38px; padding: 0 12px; border: 1px solid #d4dad5; background: #fff; font-size: 12px; font-weight: 850; cursor: pointer; }
.market-size-buttons button.active { color: #fff; border-color: var(--green); background: var(--green); }
.market-verdict { min-width: 210px; padding-left: 28px; border-left: 1px solid var(--line); text-align: right; }
.market-verdict strong { display: block; margin-top: 8px; color: var(--green); font-size: 30px; }
.market-verdict strong.higher { color: #c65342; }
.market-verdict span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.market-summary-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: #101713; color: #fff; }
.market-summary-strip > div { min-height: 100px; padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.14); }
.market-summary-strip > div:last-child { border-right: 0; }
.market-summary-strip small { display: block; color: rgba(255,255,255,.48); font-size: 9px; }
.market-summary-strip strong { display: block; margin-top: 13px; font-size: 22px; }
.market-list { padding: 8px 34px 0; }
.market-row { min-height: 108px; display: grid; grid-template-columns: minmax(180px, .8fr) minmax(230px, 1.3fr) 110px; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.market-name small { display: block; margin-bottom: 7px; color: var(--green); font-size: 9px; font-weight: 900; }
.market-name strong { font-size: 17px; }
.market-name span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.market-price-track { position: relative; height: 9px; background: #e8ece8; }
.market-price-track i { position: absolute; inset: 0 auto 0 0; background: var(--green); }
.market-price-track.project i { background: var(--coral); }
.market-price-meta { margin-top: 10px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.market-price-meta strong { color: var(--ink); font-size: 15px; }
.market-difference { text-align: right; }
.market-difference strong { display: block; font-size: 14px; }
.market-difference span { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }
.market-difference.lower strong { color: var(--green); }
.market-difference.higher strong { color: #c65342; }
.market-disclaimer { margin: 0; padding: 20px 34px; color: #879089; background: #eef2ee; font-size: 9px; line-height: 1.55; }
.market-section.registered-view { display: block; }
.market-section.registered-view > .detail-section-head { display: grid; grid-template-columns: minmax(360px, .7fr) minmax(440px, 1fr); align-items: end; gap: clamp(50px, 8vw, 130px); }
.market-section.registered-view > .detail-section-head h2 { font-size: clamp(54px, 6vw, 88px); }
.market-section.registered-view .market-panel { margin-top: 64px; }
.market-source-badge { display: inline-flex; min-height: 38px; align-items: center; padding: 0 15px; color: #fff; background: var(--green); font-size: 12px; font-weight: 850; }
.registered-comparison .market-toolbar { min-height: 132px; }
.registered-comparison .market-toolbar small { font-size: 11px; }
.registered-comparison .market-verdict span { font-size: 12px; }
.registered-comparison .market-disclaimer { padding: 23px 34px; font-size: 12px; line-height: 1.65; }
.registered-comparison .market-list { padding: 32px 34px 34px; }
.registered-matrix-wrap { width: 100%; overflow-x: auto; border-top: 1px solid #cfd6d0; border-left: 1px solid #cfd6d0; }
.registered-matrix { min-width: 1000px; display: grid; grid-template-columns: 125px repeat(5, minmax(175px, 1fr)); }
.matrix-cell { min-width: 0; padding: 18px 16px; border-right: 1px solid #cfd6d0; border-bottom: 1px solid #cfd6d0; background: #fff; word-break: keep-all; }
.matrix-label { display: flex; align-items: center; color: #4c5851; background: #f0f3f0; font-size: 15px; font-weight: 900; }
.matrix-product-label { align-items: flex-end; color: #fff; background: #101713; }
.matrix-product { min-height: 108px; display: flex; flex-direction: column; justify-content: flex-end; border-top: 5px solid var(--green); }
.matrix-product small { color: var(--green); font-size: 10px; font-weight: 900; }
.matrix-product strong { margin-top: 10px; font-size: 18px; line-height: 1.35; }
.matrix-value { min-height: 88px; display: flex; flex-direction: column; justify-content: center; }
.matrix-value strong { font-size: 15px; line-height: 1.5; }
.matrix-value span { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.matrix-value-wide { min-height: 126px; }
.matrix-selected { background: #fff3ef; }
.matrix-product.matrix-selected { border-top-color: var(--coral); }
.matrix-product.matrix-selected small { color: var(--coral); }
.finance-section { display: grid; grid-template-columns: minmax(420px, .85fr) minmax(600px, 1.15fr); gap: clamp(60px, 8vw, 150px); background: #eef1ec; }
.finance-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.finance-inputs { padding: 42px; }
.finance-inputs label { display: block; padding: 28px 0; border-bottom: 1px solid var(--line); }
.finance-inputs label:first-child { padding-top: 0; }
.finance-inputs label:last-child { border-bottom: 0; }
.finance-inputs span { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 750; }
.finance-inputs strong { color: var(--ink); font-size: 18px; }
.finance-inputs input { width: 100%; margin-top: 24px; accent-color: var(--green); }
.finance-result { padding: 42px; display: flex; flex-direction: column; justify-content: center; color: #fff; background: var(--green-deep); }
.finance-result small { color: var(--mint); font-size: 10px; font-weight: 900; }
.finance-result p { margin: 28px 0 0; display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,.65); font-size: 12px; }
.finance-result strong { color: #fff; font-size: clamp(32px, 3vw, 50px); }
.finance-result > span { margin-top: 42px; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1.6; }
.ai-section { padding: 0; display: block; color: #fff; background: #071117; }
.ai-visual { position: relative; width: 100%; aspect-ratio: 3 / 1; min-height: 360px; max-height: 640px; overflow: hidden; background: #071117; }
.ai-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,23,.05), rgba(7,17,23,.66)); }
.ai-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ai-visual span { position: absolute; z-index: 2; left: 36px; bottom: 34px; color: var(--mint); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.ai-copy { padding: clamp(76px, 7vw, 124px) clamp(42px, 7vw, 130px); }
.ai-copy .detail-section-head { display: grid; grid-template-columns: .45fr 1fr; align-items: end; gap: 80px; }
.ai-copy .detail-section-head h2 { font-size: clamp(48px, 5vw, 76px); }
.ai-reviews { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.17); border-left: 1px solid rgba(255,255,255,.17); }
.ai-review { min-height: 330px; padding: 30px; display: block; border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.ai-review > div:first-child { color: var(--mint); font-size: 12px; font-weight: 900; }
.ai-review small { display: block; margin-top: 7px; color: rgba(255,255,255,.42); font-size: 9px; }
.ai-review h3 { margin: 30px 0 12px; font-size: 24px; }
.ai-review p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.75; word-break: keep-all; }
.ai-review em { display: block; margin-top: 10px; color: #e6c866; font-size: 11px; font-style: normal; }
.ai-note { margin: 36px 0 0; color: rgba(255,255,255,.4); font-size: 10px; line-height: 1.6; }
.media-section { background: #fff; }
.media-section > .detail-section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.media-grid { margin-top: 62px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.media-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.media-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #13201d; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-card:hover .media-thumb img { transform: scale(1.025); }
.media-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.55)); }
.play-button { position: absolute; z-index: 2; left: 24px; bottom: 22px; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; font-size: 17px; }
.media-duration { position: absolute; z-index: 2; right: 18px; bottom: 18px; padding: 5px 7px; color: #fff; background: rgba(0,0,0,.7); font-size: 9px; font-weight: 800; }
.media-copy { padding: 25px; }
.media-copy small { color: var(--green); font-size: 9px; font-weight: 900; }
.media-copy h3 { margin: 11px 0 8px; font-size: 21px; }
.media-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.detail-closing { min-height: 460px; padding: 80px clamp(30px, 8vw, 150px); display: flex; align-items: center; justify-content: space-between; gap: 60px; color: #fff; background: var(--green); }
.detail-closing small { color: #aadcc5; font-weight: 900; }
.detail-closing h2 { margin: 24px 0 0; font-size: clamp(54px, 7vw, 100px); line-height: 1; }
.detail-closing button { padding: 0 0 12px; border: 0; border-bottom: 2px solid #fff; color: #fff; background: none; font-weight: 900; cursor: pointer; }
.detail-closing button span { margin-left: 50px; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 10px 26px 24px; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 15px 0; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .header-contact { display: none; }
  .menu-button { justify-self: end; width: 44px; height: 44px; display: grid; align-content: center; gap: 7px; padding: 0 8px; border: 0; background: transparent; }
  .menu-button span { width: 28px; height: 2px; background: #111; }
  .discovery { grid-template-columns: 1fr; }
  .discovery-intro { min-height: 620px; }
  .finder { min-height: 720px; }
  .overview-section, .finance-section { grid-template-columns: 1fr; }
  .market-section { grid-template-columns: 1fr; }
  .market-section.registered-view > .detail-section-head { grid-template-columns: 1fr; gap: 24px; }
  .living-layout { grid-template-columns: 320px 1fr; }
  .living-summary { grid-template-columns: 1fr 1fr; }
  .living-summary-main { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .living-summary-item:nth-child(3) { border-right: 0; }
  .living-summary-item:last-child { border-top: 1px solid rgba(255,255,255,.16); }
  .ai-copy .detail-section-head { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 18px; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 36px; height: 36px; }
  .site-nav { top: 66px; }
  .discovery { display: block; }
  .discovery-intro { min-height: 540px; padding: 70px 24px 58px; }
  .discovery-intro h1 { font-size: 61px; }
  .discovery-intro > p:not(.discovery-kicker) { font-size: 15px; }
  .discovery-summary { margin-top: 42px; }
  .finder { padding: 34px 22px 44px; }
  .finder-row { display: block; padding: 27px 0; }
  .finder-label { margin-bottom: 18px; }
  .asset-controls { grid-template-columns: 1fr; gap: 30px; }
  .finder-action { display: block; }
  .finder-action button { width: 100%; margin-top: 20px; }
  .choice { min-height: 40px; padding: 0 14px; font-size: 12px; }
  .region-choice-group { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .region-choice-group .choice { padding: 0 6px; }
  .result-toolbar { min-height: 92px; padding: 0 20px; }
  .result-toolbar > div { display: block; }
  .result-toolbar small { display: block; margin-bottom: 5px; }
  .result-toolbar strong { font-size: 19px; }
  .project-hero { min-height: calc(100svh - 66px); }
  .project-hero-image { object-position: 72% center; }
  .project-hero-shade { background: linear-gradient(90deg, rgba(6,11,10,.91), rgba(6,11,10,.43)); }
  .project-hero-content { width: auto; padding: 52px 24px 285px; }
  .project-hero h2 { font-size: 49px; }
  .project-intro { font-size: 13px; line-height: 1.65; }
  .project-benefits li { font-size: 11px; }
  .text-link { margin-top: 26px; }
  .apartment-preview { left: 22px; right: 22px; bottom: 20px; width: auto; }
  .project-page-number, .project-rail { display: none; }
  .detail-cover { min-height: calc(100svh - 66px); }
  .detail-cover > img { object-position: 66% center; }
  .detail-cover-copy { left: 24px; right: 24px; bottom: 72px; }
  .detail-cover-copy h1 { font-size: 59px; }
  .detail-nav { top: 66px; height: 58px; padding: 0 18px; gap: 22px; overflow-x: auto; }
  .detail-nav button { flex: 0 0 auto; font-size: 11px; }
  .detail-section { padding: 76px 22px; }
  .detail-section-head h2 { font-size: 48px; }
  .overview-section { display: block; }
  .overview-copy > p { margin-top: 35px; font-size: 15px; }
  .detail-facts { margin-top: 38px; }
  .detail-facts div { min-height: 112px; padding: 20px; }
  .detail-facts strong { font-size: 18px; }
  .living-layout { display: block; }
  .facility-list { grid-template-rows: none; }
  .facility-item { min-height: 88px; }
  .detail-map { min-height: 430px; }
  .living-summary { grid-template-columns: 1fr; }
  .living-summary-main, .living-summary-item { min-height: 125px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .living-summary-item:last-child { border-bottom: 0; }
  .market-section { display: block; }
  .market-section.registered-view > .detail-section-head { display: block; }
  .market-section.registered-view > .detail-section-head h2 { font-size: 48px; }
  .market-panel { margin-top: 42px; }
  .market-toolbar { display: block; padding: 26px 22px; }
  .market-verdict { margin-top: 28px; padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; text-align: left; }
  .market-summary-strip { grid-template-columns: 1fr; }
  .market-summary-strip > div { min-height: 82px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .market-summary-strip > div:last-child { border-bottom: 0; }
  .market-list { padding: 6px 22px 0; }
  .market-row { min-height: 142px; grid-template-columns: 1fr 86px; gap: 16px; }
  .market-price { grid-column: 1 / -1; grid-row: 2; }
  .registered-comparison .market-list { padding: 22px; }
  .registered-matrix { min-width: 1040px; grid-template-columns: 120px repeat(5, 184px); }
  .matrix-cell { padding: 17px 14px; }
  .matrix-product strong { font-size: 17px; }
  .matrix-value strong { font-size: 15px; }
  .finance-section { display: block; }
  .finance-panel { margin-top: 42px; grid-template-columns: 1fr; }
  .finance-inputs, .finance-result { padding: 30px 24px; }
  .ai-visual { min-height: 0; aspect-ratio: 3 / 1; }
  .ai-copy { padding: 70px 24px; }
  .ai-copy .detail-section-head h2 { font-size: 43px; }
  .ai-reviews { grid-template-columns: 1fr; }
  .ai-review { min-height: 0; }
  .media-section > .detail-section-head { display: block; }
  .media-grid { grid-template-columns: 1fr; }
  .detail-closing { display: block; min-height: 420px; padding: 70px 24px; }
  .detail-closing h2 { font-size: 54px; }
  .detail-closing button { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apartment-preview, .media-thumb img { transition: none; }
}
