/* ═══════════════════════════════════════════
   EONE — Couture edition
   Black & white. Centered logo. Editorial luxury.
   ═══════════════════════════════════════════ */
:root {
  --ink: #000;
  --paper: #fff;
  --line: #e2e2e2;
  --muted: #8a8a8a;
  --soft: #f6f6f6;
  --gold: #C5A059;
  --display: 'canela', 'Playfair Display', serif;
  --sans: 'neue-haas-grotesk-text', 'Jost', sans-serif;
  --nav: 84px;
  --max: 1500px;
  --pad: 56px;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-weight: 300;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
em { font-style: italic; }

/* ── NAV : wide = logo-left + horizontal header · narrow = centred logo + burger ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .4s; overflow: hidden; }
.nav.solid, .nav.open { border-bottom-color: var(--line); }
.nav-top { position: relative; z-index: 2; padding: 0 var(--pad); height: var(--nav); display: flex; align-items: center; }

/* logo — absolutely placed so it glides from centre (narrow) to left (wide) */
.nav-logo { position: absolute; top: 50%; left: var(--pad); transform: translateY(-50%); display: flex; align-items: center; text-decoration: none; line-height: 0; z-index: 3; transition: left .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1); }
.nav-logo .logo-mark { width: 136px; height: 44px; object-fit: contain; transition: opacity .3s; }
.nav-logo:hover .logo-mark { opacity: .72; }

/* menu — horizontal header on wide */
.nav-menu { flex: 1 1 auto; display: flex; align-items: center; gap: 22px; margin-left: 76px; }
.nav-links { list-style: none; display: flex; flex: 1 1 auto; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 22px; margin: 0; }
.nhl { position: relative; text-decoration: none; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); font-weight: 400; padding: 8px 0; white-space: nowrap; transition: opacity .3s, color .4s; }
.nhl::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: currentColor; transition: width .35s ease; }
.nhl:hover::after, .nhl.active::after { width: 100%; }
.nhl:hover { opacity: .6; }
.nav-cta { flex: 0 0 auto; text-decoration: none; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400; background: var(--ink); color: var(--paper); padding: 14px 26px; white-space: nowrap; transition: opacity .3s; }
.nav-cta:hover { opacity: .78; }

/* while the window is being resized, freeze the menu panel so it can't flash across the breakpoint */
.nav-resizing .nav-menu, .nav-resizing .nav-menu * { transition: none !important; }

/* burger — narrow only */
.nav-burger { display: none; margin-left: auto; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; width: 40px; align-items: center; z-index: 3; }
.nav-burger span { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .4s ease, opacity .3s; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* narrow: centred logo, burger, full-screen vertical list */
@media (max-width: 1280px) {
  .nav-logo { left: 50%; transform: translate(-50%, -50%); }
  .nav-burger { display: flex; }
  .nav-menu { position: fixed; inset: var(--nav) 0 0 0; margin-left: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: var(--paper); padding: 6px var(--pad) 34px; overflow-y: auto; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .4s ease, transform .45s cubic-bezier(.22,1,.36,1); }
  .nav.open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links { flex: 0 1 auto; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; width: 100%; }
  .nhl { display: block; padding: 22px 2px; border-bottom: 1px solid var(--line); font-size: 17px; letter-spacing: 2px; }
  .nhl::after { display: none; }
  .nav-cta { margin: 28px 0 0; text-align: center; padding: 18px; font-size: 12px; }
}

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center; color: var(--paper);
  background: #1a1a1a;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.05);
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.55) 100%); }
.hero-inner { position: relative; z-index: 2; padding-bottom: 96px; max-width: 760px; padding-left: 24px; padding-right: 24px; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase;
  margin-bottom: 26px; opacity: .9; font-weight: 400;
}
.hero-h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 7vw, 88px); line-height: 1.02;
  letter-spacing: .01em; margin-bottom: 30px;
}
.hero-h1 em { font-style: italic; display: block; }
.hero-sub {
  font-size: 14px; line-height: 1.9; max-width: 480px; margin: 0 auto 38px;
  font-weight: 300; opacity: .92; letter-spacing: .04em;
}
.hero-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* buttons */
.btn-dark, .btn-ghost, .btn-outline {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 15px 34px; font-weight: 400; transition: all .3s; border: 1px solid;
}
.btn-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-dark:hover { background: transparent; color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-solid {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 15px 34px; font-weight: 400; transition: all .3s;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
}
.btn-solid:hover { background: transparent; color: var(--ink); }

/* ── shared section bits ── */
.eyebrow {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-weight: 400;
}
.sh {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; letter-spacing: .01em;
}
.sh em { font-style: italic; }

/* ── MARQUEE divider ── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: marq 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 20px; font-style: italic; color: var(--ink); }
.marquee-track .dot { font-style: normal; font-size: 8px; color: var(--muted); align-self: center; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── FEATURED LISTINGS carousel ── */
.listings-section { max-width: var(--max); margin: 0 auto; padding: 110px var(--pad); }
.ls-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; gap: 24px; flex-wrap: wrap; }
.ls-head-right { display: flex; align-items: center; gap: 28px; }
.view-all { text-decoration: none; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: opacity .3s; }
.view-all:hover { opacity: .6; }
.car-btns { display: flex; gap: 10px; }
.car-btn { width: 46px; height: 46px; border: 1px solid var(--ink); background: var(--paper); cursor: pointer; font-size: 16px; transition: background .3s, color .3s; }
.car-btn:hover { background: var(--ink); color: var(--paper); }
.car-outer { overflow: hidden; }
.car-track { display: flex; gap: 28px; transition: transform .6s cubic-bezier(.6,0,.2,1); }
.card { flex: 0 0 calc((100% - 56px) / 3); text-decoration: none; color: var(--ink); }
.card-img { aspect-ratio: 4/5; background: var(--soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .8s ease, filter .5s; }
.card:hover .card-img img { transform: scale(1.05); filter: grayscale(0%); }
.card-body { padding: 20px 2px; }
.card-loc { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.card-title { font-family: var(--display); font-size: 21px; font-weight: 400; line-height: 1.25; margin-bottom: 10px; }
.card-price { font-size: 13px; letter-spacing: 1px; color: var(--ink); }
.card-meta { font-size: 11px; letter-spacing: 1px; color: var(--muted); margin-top: 6px; }
.skel .skel-img { background: linear-gradient(90deg,#f0f0f0 25%,#e6e6e6 37%,#f0f0f0 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
.sk { height: 12px; background: linear-gradient(90deg,#f0f0f0 25%,#e6e6e6 37%,#f0f0f0 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; margin: 12px 0; }
.sk-s { width: 40%; } .sk-l { width: 80%; height: 18px; } .sk-m { width: 55%; }
@keyframes shimmer { to { background-position: -135% 0; } }
.ls-footer { text-align: center; margin-top: 56px; }

/* ── DUAL WORLD ── */
.dual { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; }
.world { position: relative; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: var(--paper); padding: 64px; background: #161616; }
.world::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(100%); transform: scale(1.02); transition: transform 1s ease; }
.world:hover::before { transform: scale(1.08); }
.world-re::before { background-image: url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1400&q=80'); }
.world-wa::before { background-image: url('https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=1400&q=80'); }
.world-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.7)); }
.world-body { position: relative; z-index: 2; }
.world-num { font-family: var(--display); font-size: 13px; letter-spacing: 3px; opacity: .8; }
.world-body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px,3.4vw,46px); line-height: 1.05; margin: 14px 0 18px; }
.world-body h2 em { font-style: italic; }
.world-body p { font-size: 13px; line-height: 1.8; max-width: 340px; opacity: .9; margin-bottom: 22px; font-weight: 300; }
.world-cta { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 5px; }

/* ── PHILOSOPHY ── */
.phil { padding: 130px var(--pad); text-align: center; }
.phil-inner { max-width: 760px; margin: 0 auto; }
.phil-label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; }
.phil blockquote { font-family: var(--display); font-weight: 400; font-size: clamp(26px,3.6vw,44px); line-height: 1.3; margin-bottom: 30px; }
.phil blockquote em { font-style: italic; }
.phil-body { font-size: 14px; line-height: 2; color: #444; max-width: 560px; margin: 0 auto 30px; font-weight: 300; }
.link-gold, .link-ink { text-decoration: none; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: opacity .3s; }
.link-gold:hover, .link-ink:hover { opacity: .6; }

/* ── WHY ── */
.why { background: var(--soft); padding: 120px var(--pad); }
.why-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); }
.why-card { background: var(--soft); padding: 44px 30px; text-align: left; }
.why-n { font-family: var(--display); font-size: 15px; letter-spacing: 2px; color: var(--muted); margin-bottom: 22px; }
.why-card h3 { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.3; margin-bottom: 14px; }
.why-card p { font-size: 13px; line-height: 1.8; color: #555; font-weight: 300; }

/* ── TESTIMONIAL ── */
.test { padding: 120px var(--pad); text-align: center; background: var(--ink); color: var(--paper); }
.test-inner { max-width: 740px; margin: 0 auto; }
.test-q { font-family: var(--display); font-size: 60px; line-height: .6; margin-bottom: 26px; }
.test blockquote { font-family: var(--display); font-weight: 400; font-size: clamp(22px,2.8vw,32px); line-height: 1.5; font-style: italic; margin-bottom: 28px; }
.test cite { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-style: normal; opacity: .75; }

/* ── CTA ── */
.cta { padding: 130px var(--pad); text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner p { font-size: 14px; line-height: 1.9; color: #444; margin: 22px 0 36px; font-weight: 300; }

/* ── FOOTER ── */
.footer { background: var(--ink); color: var(--paper); padding: 80px var(--pad) 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding-bottom: 64px; }
.footer-logo { height: 42px; width: auto; filter: brightness(0) invert(1); margin-bottom: 24px; }
.footer-brand p { font-size: 13px; line-height: 2; opacity: .85; font-weight: 300; }
.footer-brand span { font-size: 11px; letter-spacing: 1px; opacity: .55; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.fc h4 { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 22px; opacity: .6; font-weight: 400; }
.fc a { display: block; text-decoration: none; color: var(--paper); font-size: 13px; margin-bottom: 14px; opacity: .85; transition: opacity .3s; font-weight: 300; }
.fc a:hover { opacity: 1; }
.footer-bottom { max-width: var(--max); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.14); padding: 26px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 11px; letter-spacing: 1px; opacity: .5; }

/* ── interior page hero ── */
.page-hero { padding: calc(var(--nav) + 90px) var(--pad) 80px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px,5vw,64px); line-height: 1.05; margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; }
.page-hero p { font-size: 14px; line-height: 1.9; color: #555; max-width: 540px; margin: 0 auto; font-weight: 300; }
.page-wrap { max-width: var(--max); margin: 0 auto; padding: 90px var(--pad); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .card { flex: 0 0 calc((100% - 28px) / 2); }
}
@media (max-width: 820px) {
  :root { --pad: 24px; --nav: 84px; }
  .dual { grid-template-columns: 1fr; }
  .world { min-height: 60vh; padding: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .card { flex: 0 0 calc((100% - 28px) / 1.4); }
  .ls-head { align-items: flex-start; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ── live listing card extras (badges, specs, placeholder) ── */
.card-img { position: relative; }
.card-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; background: var(--soft); }
.badge { position: absolute; top: 14px; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; padding: 5px 10px; background: var(--paper); color: var(--ink); }
.badge-type { left: 14px; }
.badge-type.rent { background: var(--ink); color: var(--paper); }
.badge-excl { right: 14px; background: var(--ink); color: var(--paper); }
.badge-pf { left: 14px; top: 44px; background: rgba(255,255,255,.85); }
.card-ref { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card-sub { font-size: 11px; letter-spacing: 1px; color: var(--muted); margin-bottom: 16px; }
.card-specs { display: flex; gap: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.spec { display: flex; flex-direction: column; gap: 3px; }
.spec-val { font-size: 14px; font-weight: 400; }
.spec-key { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; }
.card-price { font-family: var(--display); font-size: 19px; }
.card-price-lbl { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.card-arr { font-size: 18px; }

/* ── Properties listing page (filter bar · grid · empty state · PF CTA) ── */
.filter-bar { border-bottom: 1px solid var(--line); }
.filter-inner { max-width: var(--max); margin: 0 auto; padding: 22px var(--pad); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; }
.ftabs { display: flex; gap: 10px; flex-wrap: wrap; }
.ftab { background: none; border: 1px solid var(--line); color: var(--ink); font-family: var(--sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400; padding: 10px 16px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.ftab:hover { border-color: var(--ink); }
.ftab.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ftab-excl.on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.fcontrols { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fsearch, .fsel { font-family: var(--sans); font-size: 12px; font-weight: 300; letter-spacing: .03em; color: var(--ink); background: none; border: none; border-bottom: 1px solid var(--line); padding: 9px 4px; outline: none; transition: border-color .3s; }
.fsearch { min-width: 210px; }
.fsearch::placeholder { color: var(--muted); }
.fsearch:focus, .fsel:focus { border-bottom-color: var(--ink); }
.fsel { cursor: pointer; }
.fcount { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.props-wrap { max-width: var(--max); margin: 0 auto; padding: 60px var(--pad) 90px; min-height: 38vh; }
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.props-grid .card { flex: 0 1 auto; width: auto; }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .ei { font-size: 36px; opacity: .45; margin-bottom: 18px; }
.empty-state p { font-size: 15px; color: var(--muted); margin-bottom: 26px; font-weight: 300; }

.pf-cta { background: var(--soft); border-top: 1px solid var(--line); }
.pf-cta-inner { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.pf-cta h3 { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; margin-top: 8px; }
.pf-cta h3 em { font-style: italic; }
.btn-pf { display: inline-block; text-decoration: none; background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 16px 30px; white-space: nowrap; transition: opacity .3s; }
.btn-pf:hover { opacity: .82; }

@media (max-width: 900px) {
  :root { --nav: 84px; }
  .filter-inner { flex-direction: column; align-items: stretch; }
  .fcontrols { justify-content: flex-start; }
  .fsearch { flex: 1 1 auto; }
  .props-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .pf-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  :root { --nav: 84px; }
  .props-grid { grid-template-columns: 1fr; }
}
