/* Dealing DMV: limestone, ink and cobalt (her signature blue) */
:root {
  --stone: #efebe4;
  --stone-2: #e6e1d8;
  --paper: #f7f5f1;
  --ink: #14161c;
  --ink-soft: #3b3d45;
  --muted: #6d6a64;
  --cobalt: #2337c6;
  --cobalt-deep: #18279a;
  --line: rgba(20, 22, 28, .14);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(.22, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -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; margin: 0; line-height: .98; letter-spacing: -.015em; }
em { font-style: italic; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cobalt); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: #b9c2ff; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.pill:hover { transform: translateY(-1px); }
.pill--blue { background: var(--cobalt); color: #fff; }
.pill--blue:hover { background: var(--cobalt-deep); }
.pill--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill--glass:hover { background: rgba(255,255,255,.26); }
.pill--ink { background: var(--ink); color: var(--stone); min-height: 44px; padding: 0 20px; font-size: 14px; }
.pill--ink:hover { background: var(--cobalt); }

.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; color: var(--cobalt); text-decoration: none; border-bottom: 1px solid currentColor; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--gutter); color: #fff;
  transition: background .45s var(--ease), color .45s var(--ease), padding .45s var(--ease), box-shadow .45s;
}
.nav.is-scrolled { background: rgba(239,235,228,.88); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
.mark { font-family: var(--serif); font-size: 30px; line-height: 1; text-decoration: none; letter-spacing: -.01em; margin: 0; }
.mark em { color: inherit; }
.nav.is-scrolled .mark em { color: var(--cobalt); }
.nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: 34px; }
.nav__links a { text-decoration: none; font-size: 14px; padding: 12px 0; opacity: .85; }
.nav__links a:hover { opacity: 1; }
.nav__cta { display: none; }
.nav:not(.is-scrolled) .nav__cta { background: #fff; color: var(--ink); }
@media (min-width: 960px) { .nav__links { display: flex; } .nav__cta { display: inline-flex; } }

/* Hero: always full-bleed */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: var(--ink) url("../assets/img/hero-poster.jpg") center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,20,.5) 0%, rgba(10,12,20,0) 24%),
    linear-gradient(0deg, rgba(10,12,20,.88) 0%, rgba(10,12,20,.42) 40%, rgba(10,12,20,0) 66%);
}
.hero__top {
  position: absolute; z-index: 2; top: 84px; left: var(--gutter); right: var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.hero__now { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.9); }
.hero__now strong { font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6f80ff; box-shadow: 0 0 0 0 rgba(111,128,255,.7); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(111,128,255,0); } 100% { box-shadow: 0 0 0 0 rgba(111,128,255,0); } }

.rooms-ticker { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; border-radius: 999px; background: rgba(10,12,20,.32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); }
.rooms-ticker li { position: relative; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; color: rgba(255,255,255,.6); overflow: hidden; transition: color .4s var(--ease), background .4s var(--ease); white-space: nowrap; }
.rooms-ticker li.is-active { color: #fff; background: var(--cobalt); }
.rooms-ticker li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: rgba(255,255,255,.55); }
@media (max-width: 699px) {
  .hero__top { top: 74px; }
  .rooms-ticker li { display: none; }
  .rooms-ticker li.is-active { display: block; }
}

.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(36px, 6vh, 64px); }
.hero__kicker { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 1.2rem; }
.hero__title { font-size: clamp(56px, 10.5vw, 176px); line-height: .86; letter-spacing: -.03em; margin-bottom: .3em; }
.hero__title em { color: #c6ceff; }
.hero__row { display: grid; gap: 22px; align-items: end; }
.hero__lede { max-width: 30em; font-size: clamp(16px, 1.3vw, 18px); color: rgba(255,255,255,.88); margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .hero__row { grid-template-columns: 1fr auto; } }
@media (max-width: 520px) { .hero__ctas .pill { flex: 1 1 auto; } }

.hero__toggle {
  position: absolute; z-index: 3; right: var(--gutter); top: 140px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(10,12,20,.3); border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.hero__toggle span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero__toggle.is-paused span { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (min-width: 700px) { .hero__toggle { top: auto; bottom: 40px; } .hero__content { padding-right: calc(var(--gutter) + 60px); } }

/* Listing */
.listing { padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 9vw, 130px); }
.listing__head h2 { font-size: clamp(56px, 9vw, 150px); }
.listing__head h2 em { color: var(--cobalt); }
.spec { margin: clamp(40px, 6vw, 80px) 0 18px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.spec > div { padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.spec > div:nth-child(odd):not(.spec__price) { padding-left: 20px; border-left: 1px solid var(--line); }
.spec__price { grid-column: 1 / -1; }
.spec dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.spec dd { white-space: nowrap; margin: 0; font-family: var(--serif); font-size: clamp(44px, 5.4vw, 84px); line-height: 1; }
.spec__price dd { color: var(--cobalt); font-size: clamp(64px, 9vw, 132px); }
.spec small { font-family: var(--sans); font-size: 14px; margin-left: 4px; color: var(--muted); letter-spacing: .02em; }
@media (min-width: 900px) {
  .spec { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .spec__price { grid-column: auto; }
  .spec > div { padding: 28px 24px 32px; border-bottom: 0; }
  .spec > div:first-child { padding-left: 0; }
  .spec > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
}
.fineprint { font-size: 13px; color: var(--muted); }

.facade { display: grid; gap: 36px; margin-top: clamp(56px, 8vw, 120px); align-items: end; }
.facade__img { margin: 0; border-radius: 6px; overflow: hidden; }
.facade__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lead { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; margin-bottom: .7em; }
.facade__text p:not(.lead) { color: var(--ink-soft); max-width: 30em; font-size: 17px; }
@media (min-width: 900px) { .facade { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); } .facade__img { max-width: 560px; } }

/* Floors */
.floors { background: var(--paper); padding: clamp(90px, 12vw, 170px) 0; border-top: 1px solid var(--line); }
.floors__title { font-size: clamp(64px, 12vw, 200px); margin-bottom: clamp(48px, 7vw, 110px); letter-spacing: -.035em; }
.floors__title em { color: var(--cobalt); }
.floor { display: grid; gap: 28px; padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 120px); border-top: 1px solid var(--ink); }
.floor__label { align-self: start; }
.floor__name { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 66px); line-height: 1; margin: 0 0 10px; }
.floor__rooms { font-size: 14px; color: var(--muted); margin: 0; }
@media (min-width: 960px) {
  .floor { grid-template-columns: 300px 1fr; gap: 56px; }
  .floor__label { position: sticky; top: 110px; }
}
.floor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 36px); }
.floor__grid--single { grid-template-columns: 1fr; }
.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.shot--offset { margin-top: clamp(40px, 8vw, 120px); }
.shot--wide img { aspect-ratio: 16 / 10; }
.shot figcaption, .outside__pool figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; max-width: 28em; }
.shot strong, .outside__pool strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
@media (max-width: 599px) { .shot--offset { margin-top: 48px; } }

.outside { display: grid; gap: clamp(20px, 3vw, 40px); }
.outside__door { margin: 0; }
.outside__door img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.outside__right { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.pull { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5vw, 80px); line-height: 1; color: var(--cobalt); }
.pull p { margin: 0; }
.outside__pool { margin: 0; }
.outside__pool img { width: 100%; aspect-ratio: 984 / 900; object-fit: cover; border-radius: 6px; }
@media (min-width: 700px) { .outside { grid-template-columns: 1fr 1.15fr; } }

/* About */
.about { padding: clamp(90px, 12vw, 170px) 0; }
.about__grid { display: grid; gap: 44px; align-items: center; }
.about__media { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 712 / 890; max-width: 480px; width: 100%; background: var(--stone-2); }
.about__media video { width: 100%; height: 100%; object-fit: cover; }
.about__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--cobalt); }
.sound {
  position: absolute; left: 14px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(20,22,28,.6); color: #fff; font: 500 13px var(--sans); backdrop-filter: blur(8px);
}
.sound__icon { width: 14px; height: 12px; background: currentColor; clip-path: polygon(0 30%, 35% 30%, 75% 0, 75% 100%, 35% 70%, 0 70%); }
.sound[aria-pressed="true"] { background: var(--cobalt); }
.about__text h2 { font-size: clamp(54px, 7vw, 112px); margin-bottom: .35em; }
.about__text h2 em { color: var(--cobalt); }
.about__lead { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; }
.about__text > p:not(.about__lead):not(.eyebrow) { color: var(--ink-soft); font-size: 17px; max-width: 32em; }
.services { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.service span { font-family: var(--serif); font-size: clamp(32px, 3vw, 44px); line-height: 1; }
.service small { grid-column: 1; color: var(--muted); font-size: 14px; }
.service b { grid-row: 1 / span 2; grid-column: 2; font-weight: 400; font-size: 26px; color: var(--cobalt); }
.service:hover { padding-left: 12px; color: var(--cobalt); }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 8vw, 130px); } }

/* Areas marquee */
.areas { background: var(--cobalt); color: #fff; overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(40px, 6vw, 88px); line-height: 1; padding: 0 .5em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; font-size: .35em; vertical-align: middle; margin-left: 1em; color: #9fabff; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Contact */
.contact { background: var(--ink); color: var(--stone); padding: clamp(100px, 13vw, 190px) 0; }
.contact__grid { display: grid; gap: 48px; align-items: end; }
.contact h2 { font-size: clamp(68px, 11vw, 180px); line-height: .88; letter-spacing: -.03em; }
.contact h2 em { color: #9fabff; }
.contact__list { border-top: 1px solid rgba(239,235,228,.3); }
.contact__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid rgba(239,235,228,.18); text-decoration: none; transition: color .3s, padding .4s var(--ease); }
.contact__row small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(239,235,228,.6); }
.contact__row span { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; word-break: break-word; }
.contact__row:hover { color: #9fabff; padding-left: 10px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.1fr 1fr; } }

/* Footer */
.footer { background: var(--ink); color: rgba(239,235,228,.6); padding: 40px 0 120px; border-top: 1px solid rgba(239,235,228,.12); }
.footer__inner { display: grid; gap: 24px; }
.mark--foot { color: var(--stone); }
.mark--foot em { color: #9fabff; }
.footer__legal { font-size: 13px; }
.footer__legal p { margin: 0 0 .4em; }
@media (min-width: 900px) { .footer { padding-bottom: 44px; } .footer__inner { grid-template-columns: 1fr 2fr; } .footer__legal { text-align: right; } }

/* Mobile dock */
.dock {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px;
  background: var(--cobalt); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px;
  box-shadow: 0 12px 30px rgba(35,55,198,.35);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.dock.is-on { transform: none; }
.dock.is-hidden { transform: translateY(160%); }
@media (min-width: 960px) { .dock { display: none; } }

/* Reveals (only with JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1.2s var(--ease) both; }
.js .hero .reveal:nth-child(2) { animation-delay: .12s; }
.js .hero .reveal:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .marquee__track, .dot { animation: none; }
}
