.page-home { background: #fff; }
.page-home main { overflow: hidden; }

/* Hero: a real place, one job, two lines */
.home-hero { position: relative; min-height: min(790px, calc(100svh - 78px)); display: grid; align-items: end; color: #fff; background: var(--navy-deep); }
.home-hero-photo, .home-hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-photo { object-fit: cover; object-position: 50% 55%; }
.home-hero-scrim { background: linear-gradient(90deg, rgba(5,25,45,.9) 0%, rgba(5,25,45,.75) 46%, rgba(5,25,45,.28) 78%, rgba(5,25,45,.36) 100%), linear-gradient(0deg, rgba(5,25,45,.72) 0%, transparent 48%); }
.home-hero-inner { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 100px; padding-bottom: 154px; }
.hero-copy { max-width: 710px; }
.place-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #f0f7fb; font-size: 14px; font-weight: 780; }
.place-kicker span { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #3ed19a; box-shadow: 0 0 0 5px rgba(62,209,154,.2); }
.home-hero h1 { display: grid; margin: 0; color: #fff; font-size: clamp(3.5rem, 6vw, 5.35rem); line-height: .94; letter-spacing: -.058em; }
.home-hero h1 span { display: block; white-space: nowrap; }
.hero-lede { max-width: 650px; margin: 25px 0 0; color: #e0ebf1; font-size: clamp(1.04rem, 1.8vw, 1.35rem); }
.hero-actions { margin-top: 28px; }
.hero-search { position: absolute; left: 0; bottom: -41px; width: min(760px, calc(100% - 48px)); }
.search-home { position: relative; }
.search-home > label { display: block; margin: 0 0 7px; color: #fff; font-size: 13px; font-weight: 800; }
.search-control { min-height: 82px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--navy); box-shadow: 0 18px 48px rgba(8,29,54,.22); }
.search-control svg { flex: none; }
.search-control input { flex: 1; min-width: 0; min-height: 50px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.search-control input::placeholder { color: #8091a2; opacity: 1; }
.search-control button { min-width: 110px; min-height: 56px; border: 0; border-radius: 13px; background: var(--navy); color: #fff; font-weight: 850; cursor: pointer; }
.search-control button:hover { background: var(--navy-deep); }
.search-list { position: absolute; left: 0; right: 0; top: calc(100% + 7px); z-index: 50; max-height: 330px; overflow: auto; margin: 0; padding: 7px; list-style: none; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-md); }
.search-list[hidden] { display: none; }
.search-list li { margin: 0; }
.search-option { width: 100%; min-height: 52px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 8px 12px; border: 0; border-radius: 10px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.search-option:hover, .search-option[aria-selected="true"] { background: var(--mist); }
.search-option b { font-size: 15px; line-height: 1.22; }
.search-option span { color: var(--muted); font-size: 13px; }
.search-empty { padding: 13px; color: var(--muted); }
.search-note { margin: 50px 0 0; color: rgba(255,255,255,.78); font-size: 12px; }

/* Shared home section intros */
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 34px; }
.section-intro h2 { max-width: 14ch; margin: 0; }
.section-intro > p { max-width: 500px; margin: 0; color: var(--muted); }
.section-intro.compact { margin-bottom: 26px; }

/* Need actions */
.need-section { padding: 126px 0 96px; background: #fff; }
.need-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.need-action { min-height: 96px; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease; }
.need-action:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.need-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--navy); background: var(--cyan-soft); font-size: 23px; font-weight: 900; transition: transform .22s var(--ease); }
.need-action:hover .need-icon { transform: rotate(-5deg) scale(1.06); }
.need-action strong, .need-action small { display: block; }
.need-action strong { color: var(--navy); font-size: 16px; line-height: 1.2; }
.need-action small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.need-action b { color: var(--cyan); font-size: 21px; }
.need-food .need-icon { background: var(--yellow-soft); }
.need-care .need-icon { background: var(--mint-soft); }
.need-style .need-icon { background: var(--coral-soft); }
.need-shop .need-icon { background: #ece9ff; }
.need-fix .need-icon { background: #e8efff; }
.all-needs { margin-top: 24px; text-align: right; }
.all-needs a { color: var(--cyan); font-weight: 800; text-decoration: none; }

/* Map */
.map-home { padding: 100px 0; background: var(--cream); }
.map-home-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(480px,1.15fr); gap: 70px; align-items: center; }
.map-copy h2 { max-width: 12ch; margin: 0 0 18px; }
.map-copy > p:not(.eyebrow) { max-width: 570px; color: var(--muted); }
.visit-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 30px 0 28px; border-top: 1px solid var(--line); }
.visit-facts div { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); }
.visit-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.visit-facts div:nth-child(even) { padding-left: 18px; }
.visit-facts dt { color: var(--navy); font-weight: 850; }
.visit-facts dd { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.map-preview { position: relative; overflow: hidden; min-height: 470px; border: 1px solid var(--line); border-radius: 28px; background: #dfe8df; box-shadow: var(--shadow-md); }
.map-preview > img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.map-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(8,29,54,.36),transparent 40%); pointer-events: none; }
.map-preview-label { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: grid; padding: 13px 16px; border-radius: 13px; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.map-preview-label b { font-size: 15px; }
.map-preview-label small { color: var(--muted); }
.map-pin { position: absolute; top: 38%; left: 58%; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50% 50% 50% 0; background: var(--coral); box-shadow: 0 9px 25px rgba(16,46,83,.25); transform: rotate(-45deg); }
.map-pin i { width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; }

/* Popular list, designed identity not fake storefronts */
.popular-section { padding: 92px 0; background: #fff; }
.popular-list { border-top: 1px solid var(--line); }
.popular-list > a { min-height: 108px; display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 16px 3px; border-bottom: 1px solid var(--line); text-decoration: none; }
.popular-list > a:hover > b { transform: translateX(4px); }
.popular-list .mark { width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.popular-list .mark img { width: 82%; height: 82%; object-fit: contain; }
.popular-list .nameplate { color: #fff; background: var(--navy); font-weight: 900; }
.popular-list strong, .popular-list small { display: block; }
.popular-list strong { font-size: 18px; }
.popular-list small { margin-top: 3px; color: var(--muted); }
.popular-list > a > b { color: var(--cyan); font-size: 14px; transition: transform .18s var(--ease); }

/* Real media */
.real-northside { padding: 105px 0; color: #fff; background: var(--navy-deep); }
.real-grid { display: grid; grid-template-columns: minmax(260px,.68fr) minmax(0,1.32fr); gap: 64px; align-items: center; }
.real-copy { align-self: center; }
.real-copy .eyebrow { color: #8fddf5; }
.real-copy h2 { max-width: 9ch; margin: 0 0 20px; color: #fff; }
.real-copy p { color: #b9cbd8; }
.real-gallery { min-height: 570px; display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.real-gallery figure { position: relative; overflow: hidden; margin: 0; border-radius: 22px; background: var(--navy); }
.real-gallery img { width: 100%; height: 100%; object-fit: cover; }
.real-one { grid-row: 1 / 3; }
.real-two img { object-position: center 40%; }
.real-gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; border-radius: 9px; background: rgba(8,29,54,.86); color: #fff; font-size: 12px; font-weight: 800; backdrop-filter: blur(5px); }

/* Village */
.village-home { padding: 110px 0; background: #fff; }
.village-home-grid { display: grid; grid-template-columns: minmax(460px,1.1fr) minmax(300px,.9fr); gap: 80px; align-items: center; }
.village-visual { position: relative; min-height: 600px; }
.village-visual img { position: absolute; object-fit: cover; box-shadow: var(--shadow-md); }
.village-main { inset: 0 20% 0 0; width: 80%; height: 100%; border-radius: 28px; object-position: 50% 60%; }
.village-detail { right: 0; bottom: 40px; width: 42%; height: 48%; border: 7px solid #fff; border-radius: 22px; }
.photo-note { position: absolute; left: 18px; bottom: 18px; padding: 8px 11px; border-radius: 9px; background: rgba(8,29,54,.86); color: #fff; font-size: 12px; font-weight: 800; }
.village-copy h2 { max-width: 10ch; margin: 0 0 20px; }
.village-copy > p:not(.eyebrow) { color: var(--muted); }
.plain-checks { display: grid; gap: 10px; margin: 28px 0 32px; padding: 0; list-style: none; }
.plain-checks li { position: relative; padding-left: 31px; color: var(--navy); font-weight: 700; }
.plain-checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-soft); color: var(--mint); font-size: 13px; font-weight: 900; }

/* Closing CTA */
.leasing-home { padding: 72px 0; background: var(--coral); }
.leasing-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.leasing-inner .eyebrow { color: var(--navy-deep); }
.leasing-inner h2 { max-width: 17ch; margin: 0 0 12px; }
.leasing-inner p { max-width: 620px; margin: 0; color: #4f2d2a; }

/* Calm reveal: reinforces reading order, never blocks content */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .home-hero { min-height: 720px; }
  .home-hero-inner { padding-bottom: 146px; }
  .home-hero h1 { font-size: clamp(3.5rem, 8vw, 5rem); }
  .need-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .map-home-grid, .real-grid, .village-home-grid { grid-template-columns: 1fr; gap: 48px; }
  .map-preview { min-height: 430px; }
  .real-copy h2, .village-copy h2 { max-width: 13ch; }
  .real-gallery { min-height: 520px; }
  .village-visual { min-height: 560px; max-width: 700px; }
}

@media (max-width: 680px) {
  .home-hero { min-height: 690px; align-items: stretch; }
  .home-hero-photo { object-position: 56% 50%; }
  .home-hero-scrim { background: linear-gradient(0deg, rgba(5,25,45,.94) 0%, rgba(5,25,45,.66) 62%, rgba(5,25,45,.44) 100%); }
  .home-hero-inner { min-height: 690px; justify-content: flex-end; padding-top: 80px; padding-bottom: 50px; }
  .place-kicker { font-size: 12px; }
  .home-hero h1 { font-size: clamp(3rem, 15vw, 4.15rem); line-height: .93; }
  .hero-lede { margin-top: 18px; font-size: 1rem; }
  .hero-actions { gap: 9px; margin-top: 22px; }
  .hero-actions .button { min-height: 47px; padding-inline: 14px; font-size: 14px; }
  .hero-search { position: relative; bottom: auto; width: 100%; margin-top: 26px; }
  .search-home > label { margin-bottom: 6px; }
  .search-control { min-height: 64px; padding: 7px 7px 7px 14px; border-radius: 16px; }
  .search-control input { min-height: 46px; font-size: 15px; }
  .search-control button { min-width: 54px; min-height: 50px; padding-inline: 12px; font-size: 14px; }
  .search-note { display: none; }
  .need-section { padding: 66px 0; }
  .section-intro { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 26px; }
  .need-rail { grid-template-columns: 1fr; gap: 10px; }
  .need-action { min-height: 86px; grid-template-columns: 44px minmax(0,1fr) auto; padding: 12px 14px; }
  .need-icon { width: 44px; height: 44px; border-radius: 13px; }
  .all-needs { text-align: left; }
  .map-home, .popular-section, .real-northside, .village-home { padding: 70px 0; }
  .visit-facts { grid-template-columns: 1fr; }
  .visit-facts div:nth-child(odd) { border-right: 0; }
  .visit-facts div:nth-child(even) { padding-left: 0; }
  .map-preview, .map-preview > img { min-height: 350px; }
  .popular-list > a { grid-template-columns: 58px minmax(0,1fr); gap: 14px; }
  .popular-list .mark { width: 58px; height: 58px; border-radius: 15px; }
  .popular-list > a > b { grid-column: 2; margin-top: -14px; }
  .real-gallery { min-height: 600px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr .7fr; }
  .real-one { grid-column: 1 / 3; grid-row: auto; }
  .village-visual { min-height: 470px; }
  .village-main { right: 15%; width: 85%; }
  .village-detail { width: 46%; height: 44%; bottom: 24px; }
  .leasing-inner { align-items: flex-start; flex-direction: column; gap: 26px; }
}

@media (max-width: 410px) {
  .home-hero h1 { font-size: 2.88rem; }
  .home-hero h1 span { white-space: normal; }
  .search-control svg { display: none; }
  .search-control button { min-width: 52px; }
  .real-gallery { min-height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .need-action:hover .need-icon { transform: none; }
}
