/* =============================================================================
   Atlas — bold modern multifamily theme.
   Off-black on white, one electric cobalt accent, lime highlights in tiny
   doses, huge 800-weight display type, bento blocks, playful motion.
   Palette tokens are emitted as CSS variables by the render pipeline from
   the org's theme settings; the :root values below are the theme defaults.
   ============================================================================= */

:root {
  --bg:        #ffffff;
  --bg-2:      #f4f5f7;
  --surface:   #0e0f12;   /* ink blocks: footer, ticker, stats */
  --ink:       #0e0f12;
  --ink-soft:  #5d6470;
  --accent:    #2743ff;   /* electric cobalt */
  --accent-2:  #d8ff3e;   /* lime — tiny doses only */
  --line:      #e6e8ec;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius:    16px;
  --radius-lg: 24px;
  --maxw:      1240px;
  --gutter:    clamp(20px, 4.5vw, 56px);
  --nav-h:     76px;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

/* The theme root. The Liquid layout emits a fragment inside the platform
   shell (not its own <body>), so everything body-level lives here. */
.atlas {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body:has(.atlas) { background: var(--bg); margin: 0; }

.atlas *, .atlas *::before, .atlas *::after { box-sizing: border-box; }
.atlas a { color: inherit; text-decoration: none; }
.atlas img { max-width: 100%; display: block; }
.atlas button { font-family: inherit; cursor: pointer; }
.atlas ::selection { background: var(--accent-2); color: var(--ink); }
.atlas :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --- Reusable helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.atlas h1, .atlas h2, .atlas h3, .atlas h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

/* Pill eyebrow tags — the theme's signature accent */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--lime { background: var(--accent-2); color: var(--ink); }
.pill--cobalt { background: var(--accent); color: #fff; }
.pill--outline { border: 2px solid var(--ink); color: var(--ink); }

/* Buttons */
.atlas .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out), background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease,
    opacity 0.25s ease;
  will-change: transform;
}
/* Primary buttons read their palette from Studio-editable vars (Colors ->
   Button background / Button text); fallbacks are the theme defaults. */
.atlas .btn--primary {
  background: var(--btn-bg, var(--accent));
  border-color: var(--btn-bg, var(--accent));
  color: var(--btn-text, #ffffff);
}
.atlas .btn--primary:hover { opacity: 0.85; }
.atlas .btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.atlas .btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.atlas .btn--lime { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }
.atlas .btn--lime:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25); }
.atlas .btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.atlas .btn--ghost:hover { background: var(--ink); color: var(--bg); }
.atlas .btn--lg { padding: 18px 32px; font-size: 15.5px; }
.atlas .btn--xl { padding: 21px 40px; font-size: 17px; }
.atlas .btn--nav { padding: 12px 22px; font-size: 13.5px; }
.atlas .btn--block { width: 100%; }
.atlas .btn .arrow { transition: transform 0.25s var(--ease-out); }
.atlas .btn:hover .arrow { transform: translateX(4px); }

/* =============================================================================
   Header — sticky white bar, pill nav, cobalt CTA
   ============================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(14, 15, 18, 0.07);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo { height: 36px; width: auto; display: block; }
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  background: var(--bg-2);
  border-radius: 999px;
  padding: 5px;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  padding: 4px;
}

/* Portal sign-in dropdown (tenant / investor portals) */
.nav__portal { position: relative; }
.nav__portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  background: none;
  border: 0;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__portal-btn:hover { color: var(--ink); }
.nav__portal-caret { font-size: 10px; transform: translateY(-1px); }
.nav__portal-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  z-index: 260;
  box-shadow: 0 24px 48px rgba(14, 15, 18, 0.16);
}
.nav__portal-head {
  display: block;
  padding: 8px 12px 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__portal-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.nav__portal-menu a:hover { background: var(--bg-2); color: var(--accent); }
.nav__portal-menu .nav__portal-staff {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* =============================================================================
   Hero — huge headline beside a 2×2 bento
   ============================================================================= */
.hero { padding-block: clamp(48px, 7vw, 110px) clamp(56px, 8vw, 120px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  max-width: 12ch;
  opacity: 0;
  animation: riseIn 0.9s var(--ease-out) 0.05s forwards;
}
.hero__sub {
  margin-top: 26px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  opacity: 0;
  animation: riseIn 0.9s var(--ease-out) 0.2s forwards;
}
.hero__cta {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 0.9s var(--ease-out) 0.35s forwards;
}
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
}
.bento__tile {
  position: relative;
  border-radius: clamp(16px, 2vw, 22px);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  opacity: 0;
  animation: riseIn 0.9s var(--ease-out) forwards;
}
.bento__tile:nth-child(1) { animation-delay: 0.15s; }
.bento__tile:nth-child(2) { animation-delay: 0.28s; }
.bento__tile:nth-child(3) { animation-delay: 0.41s; }
.bento__tile:nth-child(4) { animation-delay: 0.54s; }
.bento__tile:nth-child(5) { animation-delay: 0.67s; }
.bento__tile--img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.bento__tile--img:hover img { transform: scale(1.06); }
.bento__tile--wide { grid-column: span 2; aspect-ratio: 2.35 / 1; }
.bento__tag { position: absolute; top: 14px; left: 14px; box-shadow: 0 6px 18px rgba(14, 15, 18, 0.22); }
.bento__tile--stat {
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.2vw, 28px);
}
.bento__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.bento__stat-label {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 20ch;
}

/* =============================================================================
   Ticker — ink band, lime separators
   ============================================================================= */
.ticker {
  overflow: hidden;
  background: var(--surface);
  padding: clamp(16px, 2vw, 24px) 0;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 26s linear infinite;
}
.ticker__item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  color: #fff;
  padding: 0 34px;
  position: relative;
}
.ticker__item::after {
  content: "✳";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.68em;
  color: var(--accent-2);
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* =============================================================================
   Section scaffolding
   ============================================================================= */
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tint { background: var(--bg-2); }
.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  letter-spacing: -0.03em;
  margin-top: 18px;
}
.section__head > p.section__intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 42ch;
  justify-self: end;
  margin: 0;
}
.section__cta { margin-top: clamp(36px, 5vw, 54px); }

/* =============================================================================
   Listing cards + grid
   ============================================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 2.6vw, 36px) clamp(16px, 2vw, 28px);
}
.card { display: block; position: relative; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}
.card:hover .card__media {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(14, 15, 18, 0.16);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    var(--bg-2);
}
.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
}
.card__badge--live { background: var(--accent-2); color: var(--ink); }
.card__body { padding-top: 18px; }
.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  transition: color 0.25s ease;
}
.card:hover .card__title { color: var(--accent); }
.card__loc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.card__meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.card__size { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.card__price {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.empty-state {
  color: var(--ink-soft);
  font-size: 15px;
  padding: 56px 0;
  text-align: center;
}

/* =============================================================================
   Amenities bento — first two large
   ============================================================================= */
.amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.amenity {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.amenity:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(14, 15, 18, 0.12);
}
.amenity:nth-child(-n + 2) { grid-column: span 2; }
.amenity__media { aspect-ratio: 16 / 10; overflow: hidden; }
.amenity:nth-child(-n + 2) .amenity__media { aspect-ratio: 16 / 8; }
.amenity__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.amenity:hover .amenity__media img { transform: scale(1.05); }
.amenity__body { padding: clamp(18px, 2.4vw, 28px); }
.amenity__body h3 {
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}
.amenity__body h3::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.amenity:hover .amenity__body h3::after { transform: scaleX(1); }
.amenity__body p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* =============================================================================
   Stats band — ink block, lime labels
   ============================================================================= */
.stats { padding-block: clamp(28px, 4vw, 56px); }
.stats__block {
  background: var(--surface);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 64px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.stat__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 14px;
  line-height: 1.5;
}

/* =============================================================================
   Steps — numbered cards, big outlined numerals
   ============================================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.step {
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.step:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--accent);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.6rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--accent);
  margin-bottom: 22px;
}
.step h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.step p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

/* =============================================================================
   FAQ — styled native <details>
   ============================================================================= */
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq__head .section__title { margin-top: 18px; }
.faq__item { border-top: 2px solid var(--ink); }
.faq__item:last-child { border-bottom: 2px solid var(--ink); }
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__q {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--bg-2);
  transition: background 0.25s ease, transform 0.35s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), background 0.25s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent-2); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 2px 24px; max-width: 56ch; }
.faq__answer p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }

/* =============================================================================
   Contact form — thick borders, cobalt focus
   ============================================================================= */
.contact-form { max-width: 760px; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 22px);
}
.contact-form__row + .contact-form__row,
.contact-form__row + .contact-form__field,
.contact-form__field + .contact-form__field { margin-top: clamp(14px, 2vw, 22px); }
.contact-form__field { display: block; margin-top: clamp(14px, 2vw, 22px); }
.contact-form__field:first-child { margin-top: 0; }
.contact-form__field span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.contact-form__field span i {
  font-style: normal;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.contact-form__foot {
  margin-top: clamp(20px, 3vw, 30px);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.contact-form__status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
@media (max-width: 640px) { .contact-form__row { grid-template-columns: 1fr; } }

/* =============================================================================
   CTA band — full cobalt, huge white type, lime button
   ============================================================================= */
.cta-band { background: var(--accent); padding-block: clamp(72px, 11vw, 150px); }
.cta-band__inner { text-align: center; }
.cta-band__title {
  color: #fff;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  max-width: 16ch;
  margin-inline: auto;
}
.cta-band__tag {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  max-width: 46ch;
  margin: 22px auto 0;
}
.cta-band .btn { margin-top: clamp(30px, 4vw, 44px); }

/* =============================================================================
   Footer — ink block, oversized wordmark, lime accents
   ============================================================================= */
.footer {
  background: var(--surface);
  color: #fff;
  padding-block: clamp(56px, 8vw, 110px) clamp(28px, 4vw, 44px);
}
.footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer__mark { display: flex; align-items: center; gap: 18px; }
.footer__logo { height: 44px; width: auto; }
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}
.footer__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--accent-2);
  max-width: 30ch;
  text-align: right;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(36px, 5vw, 60px);
}
.footer__col h6 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.footer__col a {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  padding: 5px 0;
  width: max-content;
  max-width: 100%;
  transition: color 0.2s ease, transform 0.25s var(--ease-out);
}
.footer__col a:hover { color: var(--accent-2); transform: translateX(4px); }
.footer__col h6.footer__col-sub { margin-top: 26px; }
.footer__addr, .footer__news-copy {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}
.footer__news-copy { margin-bottom: 16px; max-width: 34ch; }
.newsletter { display: flex; gap: 8px; align-items: stretch; max-width: 380px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 18px;
  transition: border-color 0.2s ease;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter input:focus { outline: none; border-color: var(--accent-2); }
.newsletter button {
  background: var(--accent-2);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  padding: 0 22px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.newsletter button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.newsletter__done { margin: 10px 0 0; font-size: 14px; color: var(--accent-2); }
.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* =============================================================================
   Listings browse — page head, chips, toolbar, pagination
   ============================================================================= */
.page-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.page-head__title {
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  margin-top: 20px;
}
.page-head__intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 42ch;
  justify-self: end;
  margin: 0;
}

.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-2);
  border-radius: 999px;
  padding: 11px 20px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-out);
  display: inline-block;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-current="true"] { background: var(--accent); color: #fff; }

.listings-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.toolbar__search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 280px;
  max-width: 440px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  transition: border-color 0.2s ease;
}
.toolbar__search:focus-within { border-color: var(--accent); }
.toolbar__search-icon { position: absolute; left: 18px; color: var(--ink-soft); pointer-events: none; }
.toolbar__search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 20px 13px 46px;
}
.toolbar__search input::placeholder { color: var(--ink-soft); }
.toolbar__search input:focus { outline: none; }
.toolbar__search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.toolbar__field { display: flex; flex-direction: column; gap: 7px; }
.toolbar__field-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.toolbar__field select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background-color: var(--bg);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 11px 42px 11px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%232743ff' stroke-width='2' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 11px;
  transition: border-color 0.2s ease;
  cursor: pointer;
}
.toolbar__field select:hover, .toolbar__field select:focus { outline: none; border-color: var(--accent); }
.toolbar__field select option { background: var(--bg); color: var(--ink); }
.toolbar__field select optgroup { background: var(--bg); color: var(--ink-soft); }

.toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
}
.toolbar__num {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  width: 120px;
  -moz-appearance: textfield;
  transition: border-color 0.2s ease;
}
.toolbar__num::-webkit-outer-spin-button,
.toolbar__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.toolbar__num::placeholder { color: var(--ink-soft); }
.toolbar__num:hover, .toolbar__num:focus { outline: none; border-color: var(--accent); }
.toolbar__num--text { width: 150px; }
.toolbar__apply { align-self: flex-end; }
.toolbar__reset {
  align-self: flex-end;
  padding: 13px 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.toolbar__reset:hover { color: var(--accent); }

.listings-meta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(40px, 5vw, 64px);
}
.page-btn {
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-2);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-out);
}
.page-btn:hover:not(.page-btn--current):not(.page-btn--disabled) { transform: translateY(-2px); }
.page-btn--current { background: var(--accent); color: #fff; cursor: default; }
.page-btn--nav { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.page-btn--disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* =============================================================================
   Listing detail — gallery, sticky summary panel, spec rows
   ============================================================================= */
.dgallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(120px, 21vw);
  gap: clamp(10px, 1.4vw, 16px);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.dgallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.dgallery__item--lead { grid-column: span 2; grid-row: span 2; }
.dgallery--single { grid-template-columns: 1fr; grid-auto-rows: minmax(300px, 48vw); }
.dgallery--single .dgallery__item--lead { grid-column: span 1; grid-row: span 1; }
.dgallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.dgallery__item:hover img { transform: scale(1.04); }

.detail {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 110px);
}
.detail__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-top: 20px;
}
.detail__addr {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 16px;
}
.detail__desc { margin-top: clamp(24px, 3vw, 36px); max-width: 62ch; }
.detail__desc p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.85; }

.highlights { list-style: none; padding: 0; margin: clamp(24px, 3vw, 36px) 0 0; }
.highlights li {
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--accent-2);
}
.highlights li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-62%) rotate(45deg);
  width: 5px; height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.detail__specs { margin-top: clamp(28px, 4vw, 44px); border-top: 2px solid var(--ink); }
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}
.spec-row__k {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.spec-row__v { font-size: 15px; font-weight: 600; text-align: right; }

.detail__aside { position: sticky; top: calc(var(--nav-h) + 20px); }
.panel {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
}
.panel__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.panel__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.spec-pill {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
}
.spec-pill--lime { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }
.panel__note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* =============================================================================
   Generic page + 404
   ============================================================================= */
.prose { max-width: 66ch; }
.prose h3 { font-size: 1.5rem; margin: 36px 0 14px; letter-spacing: -0.02em; }
.prose p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.85; margin: 0 0 18px; }

.notfound { text-align: center; padding-block: clamp(24px, 5vw, 64px); }
.notfound__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 24vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
}
.notfound__title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: 18px; letter-spacing: -0.03em; }
.notfound__copy { color: var(--ink-soft); margin: 16px auto 0; max-width: 42ch; }
.notfound__cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Inner pages (listings, detail, generic): breathing room under the nav */
.inner-main { padding-top: clamp(36px, 5vw, 64px); }

/* Platform React content (apply form, portals) spliced between the theme's
   chrome fragments: light stage, crisp card, clears the nav. */
.atlas--chrome-top { min-height: 0; }
.vf-embed {
  background: var(--bg-2, #f4f5f7);
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(64px, 8vw, 110px);
}
.vf-embed > * {
  max-width: 1080px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line, #e6e8ec);
  border-radius: 16px;
  overflow: clip;
  box-shadow: 0 24px 60px rgba(14, 15, 18, 0.08);
}

/* =============================================================================
   Motion — scroll reveal + reduced motion + Studio outlines
   ============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__title, .hero__sub, .hero__cta, .bento__tile { animation: none; opacity: 1; }
  .btn, .card__media, .card__media img, .amenity, .amenity__media img,
  .step, .chip, .page-btn, .dgallery__item img { transition: none; }
}

/* Studio editor preview: when the editor highlights a section */
[data-vf-section].vf-section-hover { outline: 2px dashed var(--accent); outline-offset: -2px; }
[data-vf-section].vf-section-selected { outline: 3px solid var(--accent); outline-offset: -3px; }

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 14ch; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .amenity:nth-child(-n + 2) { grid-column: span 2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
}
@media (max-width: 900px) {
  .section__head, .page-head { grid-template-columns: 1fr; }
  .section__head > p.section__intro, .page-head__intro { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .footer__tagline { text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .dgallery { grid-auto-rows: minmax(90px, 24vw); }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    z-index: 150;
    margin: 0;
    background: var(--bg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 30px 60px rgba(14, 15, 18, 0.18);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.35s var(--ease-out), visibility 0.35s;
  }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a {
    font-size: 1.25rem;
    padding: 16px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a[aria-current="page"] { background: none; color: var(--accent); }

  /* Portal entries flatten into the mobile menu */
  .nav__portal { width: 100%; }
  .nav__portal-btn { display: none; }
  .nav__portal-menu, .nav__portal-menu[hidden] {
    display: block;
    position: static;
    min-width: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav__portal-head { padding: 20px 4px 4px; }
  .nav__portal-menu a {
    font-size: 1.05rem;
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .stats__grid { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .amenity:nth-child(-n + 2) { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--news { order: -1; }
  .listings-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar__search { max-width: none; }
  .toolbar__controls { justify-content: space-between; }
  .toolbar__field { flex: 1 1 45%; }
  .toolbar__field select { width: 100%; }
  .toolbar__num, .toolbar__num--text { width: 100%; }
  .toolbar__apply, .toolbar__reset { align-self: stretch; text-align: center; }
  .dgallery { grid-template-columns: repeat(2, 1fr); }
  .dgallery__item--lead { grid-column: span 2; }
  .page-btn { min-width: 42px; height: 42px; padding: 0 11px; }
}

/* Designed empty state — no dead whitespace when an org has no listings yet. */
.empty-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border: 2px dashed var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg-2);
}
.empty-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.empty-card__copy { margin: 0; max-width: 46ch; color: var(--ink-soft); font-size: 15px; }

/* --- Floor plans (listing detail) ----------------------------------------- */
.floorplans { margin-top: clamp(28px, 4vw, 44px); }
.floorplans figure { margin: 18px 0 0; }
.floorplans img { width: 100%; background: #fff; border-radius: var(--radius); }

/* =============================================================================
   FX — kinetic motion layer (spatial parallax, 3D tilt, sheen, Ken Burns)
   ============================================================================= */
/* Bento media layer: bleeds 12px past the tile so JS depth-parallax never
   exposes an edge; Ken Burns lives on the img, parallax on the wrapper. */
.atlas .hero__bento { will-change: transform; }
.atlas .bento__tile .fx-media {
  position: absolute;
  inset: -12px;
  overflow: hidden;
  will-change: transform;
}
.atlas .bento__tile .fx-media img { width: 100%; height: 100%; object-fit: cover; }
/* Release the pop-in fill so JS tilt can drive inline transforms afterwards. */
.atlas .bento__tile.anim-done { animation: none; opacity: 1; }

/* Listing card tilt: cursor-tracked sheen + lime edge light. While JS drives
   the tilt each frame, transform must not also be CSS-transitioned. */
.atlas .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(360px circle at var(--fx-mx, 50%) var(--fx-my, 50%),
      rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 58%),
    linear-gradient(115deg, transparent 62%,
      color-mix(in srgb, var(--accent-2) 26%, transparent) 100%);
  transition: opacity 0.35s ease;
}
.atlas .card__media.is-tilting::after { opacity: 1; }
.atlas .card__media.is-tilting {
  transition: box-shadow 0.45s ease;
  box-shadow:
    0 26px 52px rgba(14, 15, 18, 0.2),
    0 0 0 1.5px color-mix(in srgb, var(--accent-2) 85%, transparent),
    0 0 30px color-mix(in srgb, var(--accent-2) 30%, transparent);
}
.atlas .card__badge { z-index: 3; }
.atlas .amenity.is-tilting {
  transition: box-shadow 0.4s ease;
  box-shadow: 0 22px 44px rgba(14, 15, 18, 0.12);
}
/* Magnetic buttons: JS lerps transform; keep every other transition alive. */
.atlas .btn--magnetic.is-magnet {
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease, opacity 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  /* Bento pop-in: overshoot spring instead of the plain rise. */
  .atlas .bento__tile {
    animation-name: atlas-pop;
    animation-duration: 0.85s;
    animation-timing-function: cubic-bezier(0.3, 1.36, 0.44, 1);
  }
  @keyframes atlas-pop {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: none; }
  }
  /* Ken Burns: bento imagery slowly breathes, each tile out of phase. */
  .atlas .bento__tile--img img {
    animation: atlas-ken 26s ease-in-out infinite alternate;
  }
  .atlas .bento__tile:nth-child(2) .fx-media img { animation-delay: -7s; }
  .atlas .bento__tile:nth-child(3) .fx-media img { animation-delay: -13s; }
  .atlas .bento__tile:nth-child(4) .fx-media img { animation-delay: -19s; }
  .atlas .bento__tile:nth-child(5) .fx-media img { animation-delay: -25s; }
  @keyframes atlas-ken {
    from { transform: scale(1.03); }
    to { transform: scale(1.1) translate3d(1.6%, -1.2%, 0); }
  }
}
