/* Adonay The Realtor: ink, ivory and champagne, taken from his cream blazer and black shirt */
:root {
  --ink: #0e0d0b;
  --ink-2: #171512;
  --ink-3: #221f1a;
  --ivory: #f4efe6;
  --cream: #e9e1d3;
  --gold: #c9ad7c;
  --gold-deep: #a88b5a;
  --muted: #a39b8d;
  --muted-dark: #6b645a;
  --line: rgba(244, 239, 230, .14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 8px; }

.eyebrow, .kicker {
  font-family: var(--sans);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.4rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ivory); }
.btn--line { border: 1px solid rgba(244, 239, 230, .45); color: var(--ivory); backdrop-filter: blur(6px); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost { border: 1px solid rgba(244, 239, 230, .35); color: var(--ivory); min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn--ghost:hover { background: var(--ivory); color: var(--ink); }

.link-arrow {
  display: inline-flex; gap: .6em; align-items: center; min-height: 44px;
  font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: var(--gold); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(14, 13, 11, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom-color: var(--line); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 30px; letter-spacing: .02em; margin: 0; }
.brand__sub { font-size: 10px; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: 36px; }
.nav__links a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; padding: 12px 0; }
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav__cta { display: none; }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__cta { display: inline-flex; } }

/* Hero: always full-bleed */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; background: var(--ink) url("../assets/img/hero-poster.jpg") center 45% / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,11,.55) 0%, rgba(14,13,11,0) 22%),
    linear-gradient(90deg, rgba(14,13,11,.5) 0%, rgba(14,13,11,0) 60%),
    linear-gradient(0deg, rgba(14,13,11,.92) 0%, rgba(14,13,11,.45) 38%, rgba(14,13,11,0) 65%);
}
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(120px, 16vh, 170px); }
.hero__title { font-size: clamp(54px, 9.2vw, 148px); line-height: .92; margin-bottom: .32em; }
.hero__lede { max-width: 34em; font-size: clamp(16px, 1.35vw, 19px); color: rgba(244,239,230,.86); margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__chapter { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 24px; max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; }
.hero__place { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--cream); white-space: nowrap; }
.chapters { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; }
.chapters li {
  flex: 1; position: relative; padding-top: 12px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,239,230,.45);
  transition: color .5s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chapters li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(244,239,230,.2); }
.chapters li::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--gold); }
.chapters li.is-active { color: var(--ivory); }
.hero__toggle { position: absolute; z-index: 3; right: var(--gutter); }

@media (max-width: 699px) {
  .hero__content { padding-bottom: 92px; }
  .hero__shade { background:
    linear-gradient(180deg, rgba(14,13,11,.55) 0%, rgba(14,13,11,0) 18%),
    linear-gradient(0deg, rgba(14,13,11,.95) 0%, rgba(14,13,11,.7) 42%, rgba(14,13,11,0) 72%); }
  .chapters li { font-size: 0; }            /* bars only on phones */
  .chapters li.is-active { font-size: 10px; flex: 6; overflow: visible; }
  .hero__chapter { bottom: 32px; gap: 14px; }
  .hero__place { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* Small pause control, keyboard reachable */
.hero__toggle {
  display: grid; place-items: center; top: auto; bottom: 86px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(244,239,230,.35); background: rgba(14,13,11,.3); color: var(--ivory); cursor: pointer;
}
.hero__toggle span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero__toggle.is-paused span { border: 0; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 699px) { .hero__toggle { bottom: auto; top: 86px; } }

/* Intro */
.intro { padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.intro__grid { display: grid; gap: 40px; }
.intro__portrait { margin: 0; width: 120px; }
.intro__portrait img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); padding: 4px; }
.statement { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 66px); line-height: 1.08; margin-bottom: 1.4em; max-width: 19em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; margin: 0; border-top: 1px solid var(--line); padding-top: 32px; }
.stats div { margin: 0; }
.stats dt { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--gold); }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 200px 1fr; gap: 64px; } .intro__portrait, .intro__portrait img { width: 168px; height: 168px; } }

/* Section heads */
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head h2 { font-size: clamp(48px, 7.4vw, 116px); }
.section-head__meta { margin-top: 1.2rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.section-head--center { text-align: center; }

/* Tour */
.tour { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink-2); }
.scene { display: grid; gap: 28px; align-items: center; margin-bottom: clamp(72px, 10vw, 150px); }
.scene__img { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; max-height: 86svh; }
.scene__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.8s var(--ease); }
.scene__img.is-in img { transform: scale(1); }
.scene__step { display: block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.scene__text h3 { font-size: clamp(36px, 4.2vw, 64px); margin-bottom: .5em; }
.scene__text p { color: rgba(244,239,230,.75); max-width: 30em; font-size: 17px; }
@media (min-width: 900px) {
  .scene { grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 120px); }
  .scene__img { max-height: 80vh; }
  .scene--flip .scene__img { order: 2; }
}
.scene-pair { display: grid; gap: 24px; }
.scene-pair figure { margin: 0; }
.scene-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.scene-pair figcaption { margin-top: 18px; color: rgba(244,239,230,.75); font-size: 16px; max-width: 26em; }
@media (min-width: 700px) { .scene-pair { grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); } .scene-pair figure:last-child { margin-top: clamp(40px, 8vw, 120px); } }

/* Featured */
.featured { padding: clamp(96px, 12vw, 180px) 0; background: var(--cream); color: var(--ink); }
.featured em, .featured .kicker { color: var(--gold-deep); }
.featured .kicker { color: #8a6f42; }
.featured__grid { display: grid; gap: 48px; align-items: center; }
.featured__media { border-radius: 4px; overflow: hidden; aspect-ratio: 800 / 864; max-height: 84svh; max-width: 600px; width: 100%; margin: 0 auto; background: #d9cfbd; }
.featured__media video { width: 100%; height: 100%; object-fit: cover; }
.featured h2 { font-size: clamp(52px, 7vw, 108px); }
.featured__text > .price { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); color: #6e5631; margin: .2em 0 .6em; }
.facts { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(14,13,11,.15); border-bottom: 1px solid rgba(14,13,11,.15); }
.facts li { flex: 1 1 0; padding: 18px 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #4d473e; }
.facts li + li { padding-left: 20px; border-left: 1px solid rgba(14,13,11,.15); }
.facts strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: 0; color: var(--ink); text-transform: none; line-height: 1.1; }
.featured__text > p { font-size: 17px; color: #3a352e; max-width: 32em; }
.fineprint { font-size: 13px !important; color: #6b645a !important; }
.featured .btn--gold { background: var(--ink); color: var(--ivory); margin-top: .6rem; }
.featured .btn--gold:hover { background: #6e5631; }
@media (min-width: 900px) { .featured__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 8vw, 140px); } }

/* Homes rail */
.homes { padding: clamp(96px, 12vw, 180px) 0 clamp(72px, 9vw, 120px); }
.homes__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.homes__head .section-head { margin-bottom: 48px; }
.rail-btns { display: none; gap: 10px; margin-bottom: 56px; }
@media (min-width: 900px) { .rail-btns { display: flex; } }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ivory); font-size: 18px; cursor: pointer; transition: border-color .3s, color .3s; }
.rail-btn:hover { border-color: var(--gold); color: var(--gold); }
.rail {
  list-style: none; margin: 0; padding: 0 var(--gutter) 12px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
@media (min-width: 1440px) { .rail { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; background: var(--ink-3); border-radius: 4px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 390 / 420; object-fit: cover; object-position: center 30%; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card__body { padding: 20px 22px 24px; border-top: 1px solid var(--line); }
.card h3 { font-size: 28px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.homes__foot { margin-top: 36px; }

/* Work */
.work { padding: clamp(96px, 12vw, 180px) 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.work__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .work__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.panel { border: 1px solid var(--line); border-radius: 4px; padding: clamp(28px, 4vw, 56px); background: linear-gradient(160deg, rgba(201,173,124,.06), transparent 60%); }
.panel__tag { display: inline-block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,173,124,.4); padding: 6px 12px; border-radius: 99px; margin-bottom: 28px; }
.panel h3 { font-size: clamp(34px, 3.4vw, 50px); margin-bottom: .5em; }
.panel p { color: rgba(244,239,230,.75); font-size: 17px; }
.areas { margin-top: clamp(64px, 8vw, 110px); text-align: center; }
.areas ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.areas li { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 40px); color: var(--cream); }
.areas li + li::before { content: "·"; color: var(--gold); margin: 0 .5em; }

/* Contact */
.contact { position: relative; padding: clamp(120px, 16vw, 220px) 0; overflow: hidden; text-align: center; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.contact__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14,13,11,.72), rgba(14,13,11,.94)); }
.contact__inner { position: relative; }
.contact h2 { font-size: clamp(54px, 8vw, 128px); line-height: .95; margin-bottom: .4em; }
.contact__phone { display: inline-block; font-family: var(--serif); font-size: clamp(40px, 6vw, 84px); color: var(--gold); text-decoration: none; margin-bottom: 2rem; letter-spacing: .02em; }
.contact__phone:hover { color: var(--ivory); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact__email { margin-top: 2rem; color: var(--muted); }

/* Footer */
.footer { padding: 56px 0 120px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 28px; }
.footer__small { color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.footer__legal { color: var(--muted-dark); font-size: 13px; }
.footer__legal p { margin: 0 0 .4em; color: #8d8578; }
@media (min-width: 900px) { .footer { padding-bottom: 56px; } .footer__inner { grid-template-columns: 1fr 2fr; } .footer__legal { text-align: right; } }

/* Mobile call bar */
.callbar {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 22px;
  background: var(--gold); color: var(--ink); border-radius: 999px; text-decoration: none;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.callbar strong { font-size: 15px; letter-spacing: .06em; }
.callbar.is-on { transform: none; }
@media (min-width: 900px) { .callbar { display: none; } }

/* Reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.4s; }
.js .hero .reveal:nth-child(2) { transition-delay: .12s; }
.js .hero .reveal:nth-child(3) { transition-delay: .24s; }
.js .hero .reveal:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .scene__img img, .card img { opacity: 1; transform: none; transition: none; }
}

/* Room-by-room grid (clean stills from the full tour) */
.rooms { margin-top: clamp(80px, 10vw, 150px); }
.rooms__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px); }
@media (min-width: 900px) { .rooms__grid { grid-template-columns: repeat(3, 1fr); } }
.rooms__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.rooms__grid p { margin: 14px 0 0; color: rgba(244,239,230,.7); font-size: 14px; line-height: 1.5; }
.rooms__grid strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2vw, 28px); color: var(--ivory); margin-bottom: 2px; }
