/* ============================================================
   Easy Property — Pre-Leased Warehouse Investments
   Design system: warm institutional neutrals + single orange accent
   ============================================================ */

:root {
  --ink: #1c1c1e;
  --charcoal: #38383a;
  --grey: #6e6e73;
  --grey-light: #9a9a9f;
  --line: #e7e3dc;
  --line-strong: #d8d3c9;
  --paper: #ffffff;
  --bone: #f7f5f1;
  --bone-deep: #efece5;
  --orange: #f5821f;
  --orange-dark: #d96f12;
  --orange-tint: #fdf1e4;
  --green: #2f7d52;
  --blue-ink: #1f2a44;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1320px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(28,28,30,.06), 0 1px 8px rgba(28,28,30,.04);
  --shadow-md: 0 6px 24px rgba(28,28,30,.10);
  --shadow-lg: 0 18px 60px rgba(28,28,30,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange-dark); font-weight: 600; margin: 0 0 14px;
}
.muted { color: var(--grey); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 40px; width: auto; }
.brand .divider { width: 1px; height: 28px; background: var(--line-strong); }
.brand .tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); line-height: 1.4; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 14px; color: var(--charcoal); letter-spacing: .01em; transition: color .2s; }
.nav a:hover { color: var(--orange-dark); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: 11px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  transition: background .2s, transform .15s;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.btn-ghost { background: transparent; color: var(--ink); }
.btn.btn-ghost:hover { background: var(--bone-deep); }
.btn.btn-orange { background: var(--orange); border-color: var(--orange); }
.btn.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bone); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--orange-dark); }
.hero p.lead { font-size: 19px; color: var(--grey); margin: 24px 0 32px; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: 460px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-lg); }
.hero-visual .stamp {
  position: absolute; left: -22px; bottom: 28px;
  background: var(--paper); box-shadow: var(--shadow-md);
  padding: 16px 22px; border-radius: 4px; border-left: 3px solid var(--orange);
}
.hero-visual .stamp .n { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.hero-visual .stamp .l { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }

/* ---------- Stat strip ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--paper); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 0; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--serif); font-size: 34px; color: var(--ink); line-height: 1; }
.stat .v small { font-size: 16px; color: var(--grey); }
.stat .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 10px; }

/* ---------- Section heading ---------- */
.section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; }
.section-head p { color: var(--grey); font-size: 17px; margin: 16px 0 0; }

/* ---------- Filter bar ---------- */
.filters {
  position: sticky; top: 74px; z-index: 30; background: var(--paper);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.filters .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--bone); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg button {
  border: 0; background: transparent; color: var(--grey); font-size: 13.5px; font-weight: 500;
  padding: 8px 18px; border-radius: 999px; transition: all .2s;
}
.seg button.active { background: var(--ink); color: #fff; }
.filters .spacer { flex: 1; }
.filters select {
  font-family: inherit; font-size: 14px; color: var(--charcoal);
  border: 1px solid var(--line-strong); background: var(--paper);
  padding: 9px 14px; border-radius: var(--radius);
}
.filters .count { font-size: 14px; color: var(--grey); }

/* ---------- Explore split layout ---------- */
.explore { display: grid; grid-template-columns: minmax(420px, 1fr) 1.25fr; }
.explore .listings { padding: 26px 32px 60px; }
.explore .listings-inner { display: grid; gap: 24px; }
.map-col { position: sticky; top: 103px; height: calc(100vh - 103px); border-left: 1px solid var(--line); }
#map { width: 100%; height: 100%; background: var(--bone-deep); }

/* ---------- Listing card ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .2s;
  cursor: pointer;
}
.card:hover, .card.hl { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-strong); }
.card-media { position: relative; aspect-ratio: 16/10; background: var(--bone-deep); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media.placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  background: repeating-linear-gradient(135deg, #edeae3, #edeae3 18px, #e7e3da 18px, #e7e3da 36px); color: var(--grey); }
.card-media.placeholder svg { width: 40px; height: 40px; opacity: .5; }
.card-media.placeholder span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 3px; color: #fff; backdrop-filter: blur(4px);
}
.badge.leased { background: rgba(47,125,82,.95); }
.badge.available { background: rgba(31,42,68,.95); }
.badge.presale { background: rgba(217,111,18,.95); }
.card-body { padding: 20px 22px 22px; }
.card-body .mk { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); font-weight: 600; }
.card-body h3 { font-size: 21px; margin: 8px 0 6px; font-weight: 500; }
.card-body .addr { font-size: 13.5px; color: var(--grey); display: flex; gap: 6px; align-items: flex-start; }
.card-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.card-facts .f .v { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.card-facts .f .l { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-light); margin-top: 2px; }
.card-cta { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.card-cta .price { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.card-cta .price small { font-size: 13px; color: var(--grey); font-family: var(--sans); }
.card-cta .arrow { font-size: 13px; color: var(--orange-dark); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Map controls ---------- */
.map-ui { position: absolute; z-index: 10; }
.basemap-switch { top: 16px; right: 16px; display: flex; background: var(--paper); border-radius: 999px; padding: 4px; box-shadow: var(--shadow-md); }
.basemap-switch button { border: 0; background: transparent; font-size: 13px; font-weight: 500; color: var(--grey); padding: 7px 16px; border-radius: 999px; }
.basemap-switch button.active { background: var(--ink); color: #fff; }
.layer-toggle { bottom: 28px; left: 16px; background: var(--paper); border-radius: 6px; box-shadow: var(--shadow-md); padding: 12px 14px; font-size: 13px; }
.layer-toggle label { display: flex; align-items: center; gap: 9px; color: var(--charcoal); cursor: pointer; }
.layer-toggle input { accent-color: var(--orange); width: 15px; height: 15px; }
.map-legend { bottom: 28px; right: 16px; background: var(--paper); border-radius: 6px; box-shadow: var(--shadow-md); padding: 12px 14px; font-size: 12.5px; }
.map-legend .row { display: flex; align-items: center; gap: 9px; margin: 4px 0; color: var(--charcoal); }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.dot.leased { background: var(--green); }
.dot.presale { background: var(--orange); }
.dot.landmark { background: var(--blue-ink); border-radius: 2px; }

/* Map markers */
.mk-pin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); cursor: pointer; transition: transform .15s; }
.mk-pin:hover, .mk-pin.active { transform: scale(1.25); }
.mk-pin.leased { background: var(--green); }
.mk-pin.presale { background: var(--orange); }
.mk-land { width: 12px; height: 12px; background: var(--blue-ink); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); transform: rotate(45deg); cursor: pointer; }
.mk-land-label { font-size: 10.5px; font-weight: 600; color: var(--blue-ink); background: rgba(255,255,255,.82); padding: 1px 5px; border-radius: 3px; white-space: nowrap; transform: translateY(-2px); pointer-events: none; }

/* MapLibre popup override */
.maplibregl-popup-content { padding: 0; border-radius: 8px; box-shadow: var(--shadow-lg); overflow: hidden; font-family: var(--sans); }
.maplibregl-popup-close-button { font-size: 20px; color: #fff; right: 6px; top: 4px; z-index: 3; }
.pop { width: 240px; }
.pop img { width: 100%; height: 130px; object-fit: cover; }
.pop .pop-ph { width: 100%; height: 130px; background: repeating-linear-gradient(135deg,#edeae3,#edeae3 14px,#e7e3da 14px,#e7e3da 28px); display:flex; align-items:center; justify-content:center; color: var(--grey); font-size: 11px; letter-spacing:.1em; text-transform:uppercase; }
.pop .pop-b { padding: 14px 16px 16px; }
.pop .pop-mk { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); font-weight: 600; }
.pop h4 { font-size: 16px; margin: 5px 0 8px; }
.pop .pop-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--grey); padding: 3px 0; }
.pop .pop-row b { color: var(--ink); font-family: var(--serif); }
.pop button { width: 100%; margin-top: 12px; background: var(--ink); color: #fff; border: 0; padding: 10px; border-radius: 4px; font-size: 13px; font-weight: 500; }

/* ---------- Detail drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20,20,22,.45); backdrop-filter: blur(2px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(720px, 94vw);
  background: var(--paper); z-index: 100; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .42s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-head .x { border: 1px solid var(--line-strong); background: var(--paper); width: 38px; height: 38px; border-radius: 50%; font-size: 18px; color: var(--charcoal); display: grid; place-items: center; }
.drawer-head .x:hover { background: var(--bone); }
.drawer-body { overflow-y: auto; flex: 1; }
.d-gallery { display: grid; gap: 4px; grid-template-columns: 2fr 1fr; height: 320px; }
.d-gallery .main { grid-row: span 2; }
.d-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.d-gallery.single { grid-template-columns: 1fr; }
.d-gallery .ph { height: 320px; background: repeating-linear-gradient(135deg,#edeae3,#edeae3 20px,#e7e3da 20px,#e7e3da 40px); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color: var(--grey); }
.d-gallery .ph span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.d-pad { padding: 30px 36px; }
.d-pad + .d-pad { border-top: 1px solid var(--line); }
.d-title-mk { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); font-weight: 600; }
.d-title { font-size: 30px; font-weight: 500; margin: 8px 0 10px; }
.d-addr { color: var(--grey); font-size: 14.5px; }
.d-tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.tag { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--charcoal); background: var(--bone); }
.tag.accent { background: var(--orange-tint); color: var(--orange-dark); border-color: #f3d8b8; }

.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi .item .v { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.kpi .item .l { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }

.d-h { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin: 0 0 18px; font-family: var(--sans); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 12px 0; font-size: 14.5px; vertical-align: top; }
.spec-table td:first-child { color: var(--grey); width: 46%; }
.spec-table td:last-child { color: var(--ink); font-weight: 500; text-align: right; }

.roi-table { width: 100%; border-collapse: collapse; }
.roi-table th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-strong); font-weight: 600; }
.roi-table th:not(:first-child), .roi-table td:not(:first-child) { text-align: right; }
.roi-table td { padding: 12px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.roi-table td.pct { font-family: var(--serif); color: var(--orange-dark); font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--bone); color: var(--charcoal); }
.conn { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 28px; }
.conn .c { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.conn .c b { font-family: var(--serif); color: var(--ink); }
.hl-list { list-style: none; padding: 0; margin: 0; }
.hl-list li { position: relative; padding: 0 0 14px 26px; font-size: 14.5px; color: var(--charcoal); }
.hl-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
#d-minimap { height: 220px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.d-disclaimer { font-size: 12.5px; color: var(--grey-light); line-height: 1.6; }
.drawer-foot { flex-shrink: 0; border-top: 1px solid var(--line); padding: 16px 28px; display: flex; gap: 12px; align-items: center; background: var(--paper); }
.drawer-foot .price { margin-right: auto; }
.drawer-foot .price .v { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.drawer-foot .price .l { font-size: 12px; color: var(--grey); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 32px; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(30px,3.6vw,44px); font-weight: 400; }
.contact h2 em { font-style: italic; color: var(--orange); }
.contact p { color: rgba(255,255,255,.66); font-size: 17px; margin: 20px 0 0; }
.contact-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 36px; }
.contact-card .who { font-family: var(--serif); font-size: 26px; color: #fff; }
.contact-card .role { color: var(--orange); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); margin-top: 22px; }
.contact-line:first-of-type { margin-top: 28px; }
.contact-line .ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(245,130,31,.16); display: grid; place-items: center; flex-shrink: 0; }
.contact-line a, .contact-line span { color: #fff; font-size: 17px; }
.contact-line .sub { color: rgba(255,255,255,.5); font-size: 12px; }

/* ---------- Footer ---------- */
.foot { background: #141416; color: rgba(255,255,255,.55); padding: 40px 0; border-top: 1px solid rgba(255,255,255,.08); }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot img { height: 34px; filter: brightness(0) invert(1); opacity: .85; }
.foot .disc { font-size: 12px; max-width: 52ch; line-height: 1.6; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox .lb-close { position: absolute; top: 24px; right: 28px; color: #fff; font-size: 30px; background: none; border: 0; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; }
.lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { height: 320px; }
  .explore { grid-template-columns: 1fr; }
  .map-col { position: relative; top: 0; height: 520px; border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .stat .v { font-size: 28px; }
  .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px; gap: 20px; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .kpi { grid-template-columns: repeat(2,1fr); }
  .d-pad { padding: 24px 22px; }
  .conn { grid-template-columns: 1fr; }
  .brand .tag { display: none; }
}
