/* =========================================================================
   ZRently Sites · Atlas
   Modern, tech-forward, inventory-first. DM Sans + JetBrains Mono accents.
   Light surface, big property cards, no chrome — listings get the spotlight.
   ========================================================================= */

:root {
  --a-bg:        #fafafa;
  --a-surface:   #ffffff;
  --a-ink:       #0c1018;
  --a-ink-2:     #4a5568;
  --a-ink-3:     #8893a8;
  --a-border:    #e6e8ec;
  --a-border-2:  #d4d8df;
  --a-mint:      #0e8c5a;
  --a-amber:     #b07e1a;
  --a-tag:       #f1f3f6;
  --a-good-bg:   #e0f2e9;

  --a-sans: "DM Sans", "Helvetica Neue", system-ui, sans-serif;
  --a-mono: "JetBrains Mono", ui-monospace, monospace;

  --a-rad-sm: 6px;
  --a-rad:    10px;
  --a-rad-lg: 14px;

  --a-shadow:    0 4px 6px -1px rgba(12,16,24,.04), 0 8px 16px -4px rgba(12,16,24,.06);
  --a-shadow-lg: 0 12px 32px -8px rgba(12,16,24,.16), 0 20px 40px -12px rgba(12,16,24,.1);

  --a-container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--a-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--a-ink);
  background: var(--a-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.atlas-mono { font-family: var(--a-mono); font-feature-settings: 'tnum'; }

.atlas-eyebrow {
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-ink-3);
  font-weight: 600;
  margin-bottom: 14px;
}
.atlas-eyebrow--dark { color: rgba(255,255,255,.55); }

/* Headers ------------------------------------------------------------- */
.atlas-h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.atlas-h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.atlas-h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2rem 0 1rem;
}
.atlas-lede {
  font-size: 1.125rem;
  color: var(--a-ink-2);
  max-width: 56ch;
  margin-bottom: 2rem;
}

/* Nav ---------------------------------------------------------------- */
.atlas-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--a-surface);
  border-bottom: 1px solid var(--a-border);
}
.atlas-nav__inner {
  max-width: var(--a-container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.atlas-brand { display: inline-flex; align-items: center; gap: 9px; }
.atlas-brand__mark {
  width: 28px;
  height: 28px;
  background: var(--a-ink);
  color: var(--a-surface);
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-family: var(--a-mono);
  font-weight: 700;
  font-size: 14px;
}
.atlas-brand__name { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }

.atlas-nav__links { display: flex; align-items: center; gap: 28px; flex: 1; }
.atlas-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--a-ink-2);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.atlas-nav__links a:hover { color: var(--a-ink); border-bottom-color: var(--a-ink); }

.atlas-nav__cta { margin-left: auto; }
.atlas-menu-toggle { display: none; }
.atlas-nav__mobile { display: none; }

@media (max-width: 880px) {
  .atlas-nav__links, .atlas-nav__cta { display: none; }
  .atlas-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    width: 40px;
    height: 40px;
    padding: 0 8px;
    background: none;
    border: 0;
    justify-content: center;
  }
  .atlas-menu-toggle span {
    height: 2px;
    background: var(--a-ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  body.atlas-menu-open .atlas-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.atlas-menu-open .atlas-menu-toggle span:nth-child(2) { opacity: 0; }
  body.atlas-menu-open .atlas-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .atlas-nav__mobile {
    display: none;
    flex-direction: column;
    padding: 1rem 28px 2rem;
    background: var(--a-surface);
    border-top: 1px solid var(--a-border);
  }
  body.atlas-menu-open .atlas-nav__mobile { display: flex; }
  .atlas-nav__mobile a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--a-tag); color: var(--a-ink); }
  .atlas-nav__mobile a:last-child { border-bottom: 0; margin-top: 12px; }
}

/* Buttons ------------------------------------------------------------- */
.atlas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--a-rad-sm);
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
  font-family: inherit;
}
.atlas-btn--lg { padding: 14px 24px; font-size: 15px; }
.atlas-btn--block { width: 100%; }
.atlas-btn--solid {
  background: var(--a-ink);
  color: var(--a-surface);
}
.atlas-btn--solid:hover { background: #1d2433; transform: translateY(-1px); box-shadow: var(--a-shadow); }
.atlas-btn--outline {
  background: var(--a-surface);
  color: var(--a-ink);
  border-color: var(--a-border-2);
}
.atlas-btn--outline:hover { border-color: var(--a-ink); }
.atlas-btn--white { background: var(--a-surface); color: var(--a-ink); }
.atlas-btn--white:hover { background: var(--a-bg); }
.atlas-btn--ghost-light {
  background: transparent;
  color: var(--a-surface);
  border-color: rgba(255,255,255,.3);
}
.atlas-btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--a-surface); }

.atlas-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--a-ink);
  padding-bottom: 1px;
  border-bottom: 1px solid currentColor;
}
.atlas-link:hover { color: var(--a-ink-2); }

/* Hero ---------------------------------------------------------------- */
.atlas-hero {
  background: var(--a-surface);
  border-bottom: 1px solid var(--a-border);
  padding: 64px 28px 80px;
}
.atlas-hero__inner {
  max-width: var(--a-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.atlas-hero__copy { min-width: 0; }
.atlas-hero__image {
  border-radius: var(--a-rad-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--a-tag);
}
.atlas-hero__image img { width: 100%; height: 100%; object-fit: cover; }

.atlas-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

@media (max-width: 880px) {
  .atlas-hero { padding: 40px 20px 56px; }
  .atlas-hero__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Sections ------------------------------------------------------------ */
.atlas-section {
  max-width: var(--a-container);
  margin: 0 auto;
  padding: 64px 28px;
}
.atlas-section--narrow { max-width: 800px; }
.atlas-section--steps { background: var(--a-bg); margin: 0; max-width: none; padding-left: 0; padding-right: 0; }
.atlas-section--steps > * { max-width: var(--a-container); margin: 0 auto; padding: 0 28px; }
.atlas-section--steps .atlas-h2 { padding: 0 28px; max-width: var(--a-container); margin: 0 auto 24px; }
.atlas-section--stats { background: var(--a-surface); margin: 0; max-width: none; padding-left: 0; padding-right: 0; }
.atlas-section--stats > * { max-width: var(--a-container); margin: 0 auto; padding: 0 28px; }

.atlas-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.atlas-section__sub { color: var(--a-ink-2); margin-top: 4px; font-size: 14px; }

@media (max-width: 880px) {
  .atlas-section { padding: 48px 20px; }
}

/* Page heads ---------------------------------------------------------- */
.atlas-page-head {
  background: var(--a-surface);
  border-bottom: 1px solid var(--a-border);
  padding: 56px 28px 56px;
}
.atlas-page-head__inner {
  max-width: var(--a-container);
  margin: 0 auto;
}

/* Property grid + cards ---------------------------------------------- */
.atlas-grid { display: grid; gap: 16px; }
.atlas-grid--2 { grid-template-columns: repeat(2, 1fr); }
.atlas-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.atlas-grid--4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.atlas-card {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.atlas-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--a-shadow-lg);
  border-color: transparent;
}
.atlas-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--a-tag);
}
.atlas-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.atlas-card:hover .atlas-card__media img { transform: scale(1.04); }
.atlas-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: var(--a-surface);
  color: var(--a-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.atlas-card__body { padding: 14px; }
.atlas-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.atlas-card__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.atlas-card__name a:hover { color: var(--a-ink-2); }
.atlas-card__price {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.atlas-card__price-suffix { font-size: 12px; color: var(--a-ink-2); font-weight: 500; }
.atlas-card__addr {
  font-size: 13px;
  color: var(--a-ink-2);
  margin-bottom: 10px;
}
.atlas-card__excerpt {
  font-size: 13px;
  color: var(--a-ink-2);
  margin-bottom: 12px;
}
.atlas-card__specs {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--a-ink-2);
  padding-top: 10px;
  border-top: 1px solid var(--a-border);
}
.atlas-card__specs strong { color: var(--a-ink); font-weight: 600; }
.atlas-card__specs--padded { margin-top: 0; }

/* Steps + stats ------------------------------------------------------- */
.atlas-steps { padding-top: 0; }
.atlas-step {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  padding: 26px;
}
.atlas-step__num {
  font-size: 12px;
  font-weight: 600;
  color: var(--a-ink-3);
  margin-bottom: 12px;
}
.atlas-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.atlas-step p { color: var(--a-ink-2); font-size: 14px; line-height: 1.6; }

.atlas-stat { text-align: center; padding: 28px 16px; }
.atlas-stat__num {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--a-ink);
  line-height: 1;
  margin-bottom: 8px;
}
.atlas-stat__label { color: var(--a-ink-2); font-size: 14px; }

/* Empty + prose ------------------------------------------------------- */
.atlas-empty {
  text-align: center;
  padding: 64px 0;
  max-width: 480px;
  margin: 0 auto;
}
.atlas-empty p { color: var(--a-ink-2); margin: 16px 0 28px; }

.atlas-prose { color: var(--a-ink-2); line-height: 1.65; }
.atlas-prose p { margin-bottom: 1rem; }
.atlas-prose--lg { font-size: 1.125rem; }

/* CTA card ------------------------------------------------------------ */
.atlas-cta-card {
  background: var(--a-ink);
  color: var(--a-surface);
  border-radius: var(--a-rad-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 32px;
  align-items: center;
}
.atlas-cta-card__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.atlas-cta-card__sub { color: rgba(255,255,255,.7); margin-bottom: 0; max-width: 50ch; }
.atlas-cta-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 880px) {
  .atlas-cta-card { grid-template-columns: 1fr; padding: 32px; }
}

/* Detail page --------------------------------------------------------- */
.atlas-detail-crumbs {
  background: var(--a-surface);
  border-bottom: 1px solid var(--a-border);
  padding: 14px 28px;
  font-size: 13px;
  color: var(--a-ink-2);
  max-width: var(--a-container);
  margin: 0 auto;
}
.atlas-detail-crumbs__sep { color: var(--a-ink-3); margin: 0 6px; }
.atlas-detail-crumbs strong { color: var(--a-ink); font-weight: 600; }
.atlas-detail-crumbs a:hover { color: var(--a-ink); }

.atlas-detail-gallery {
  max-width: var(--a-container);
  margin: 16px auto 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
}
.atlas-detail-gallery__main {
  border-radius: var(--a-rad);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--a-tag);
}
.atlas-detail-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.atlas-detail-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.atlas-detail-gallery__grid > div {
  position: relative;
  border-radius: var(--a-rad);
  overflow: hidden;
  background: var(--a-tag);
}
.atlas-detail-gallery__grid img { width: 100%; height: 100%; object-fit: cover; }
.atlas-detail-gallery__more span {
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 8px 14px;
  background: var(--a-surface);
  color: var(--a-ink);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 880px) {
  .atlas-detail-gallery { grid-template-columns: 1fr; padding: 0 20px; }
  .atlas-detail-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .atlas-detail-gallery__grid > div:nth-child(n+3) { display: none; }
}

.atlas-detail { padding: 32px 0 80px; }
.atlas-detail__inner {
  max-width: var(--a-container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
}
@media (max-width: 880px) {
  .atlas-detail__inner { grid-template-columns: 1fr; padding: 0 20px; }
}
.atlas-detail__pills { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.atlas-pill {
  padding: 4px 10px;
  background: var(--a-tag);
  color: var(--a-ink-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.atlas-pill--good { background: var(--a-good-bg); color: var(--a-mint); }
.atlas-detail__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.atlas-detail__addr { color: var(--a-ink-2); font-size: 15px; line-height: 1.6; }

.atlas-detail__specs {
  display: flex;
  gap: 28px;
  padding: 18px 0;
  margin: 18px 0 28px;
  border-top: 1px solid var(--a-border);
  border-bottom: 1px solid var(--a-border);
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--a-ink-2);
}
.atlas-detail__specs-num { font-weight: 700; color: var(--a-ink); margin-right: 4px; }

.atlas-detail__aside { position: sticky; top: 90px; align-self: start; }
@media (max-width: 880px) { .atlas-detail__aside { position: static; } }
.atlas-quote-card {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad-lg);
  padding: 24px;
}
.atlas-quote-card__price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
}
.atlas-quote-card__suffix { font-size: 14px; color: var(--a-ink-2); font-weight: 500; }
.atlas-quote-card__price--inquire { font-size: 22px; color: var(--a-ink-2); font-weight: 600; }
.atlas-quote-card__list {
  border-top: 1px solid var(--a-border);
  margin-bottom: 18px;
}
.atlas-quote-card__list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--a-border);
  font-size: 14px;
}
.atlas-quote-card__list li span { color: var(--a-ink-2); }
.atlas-quote-card__list li strong { color: var(--a-ink); font-weight: 600; }
.atlas-quote-card .atlas-btn { margin-bottom: 8px; }
.atlas-quote-card .atlas-btn:last-child { margin-bottom: 0; }

/* Contact ------------------------------------------------------------- */
.atlas-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.atlas-contact-card {
  display: block;
  padding: 24px;
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  transition: all .15s ease;
}
.atlas-contact-card:hover {
  border-color: var(--a-ink);
  transform: translateY(-2px);
  box-shadow: var(--a-shadow);
}
.atlas-contact-card__label {
  display: block;
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--a-ink-3);
  margin-bottom: 6px;
}
.atlas-contact-card__value {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

/* Apply --------------------------------------------------------------- */
.atlas-apply-cta {
  text-align: center;
  padding: 32px;
  margin: 28px 0;
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad-lg);
}
.atlas-apply-cta__note { color: var(--a-ink-3); font-size: 13px; margin-top: 12px; }
.atlas-checklist {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
}
.atlas-checklist li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--a-border);
}
.atlas-checklist li:last-child { border-bottom: 0; }
.atlas-checklist li strong { font-weight: 600; }
.atlas-checklist li span { color: var(--a-ink-2); }
@media (max-width: 600px) {
  .atlas-checklist li { grid-template-columns: 1fr; gap: 4px; }
}

/* Footer -------------------------------------------------------------- */
.atlas-footer {
  background: var(--a-surface);
  border-top: 1px solid var(--a-border);
  padding: 56px 28px 24px;
  margin-top: 64px;
}
.atlas-footer__inner {
  max-width: var(--a-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.atlas-footer__tag { color: var(--a-ink-2); font-size: 14px; margin-top: 12px; max-width: 320px; }
.atlas-footer__cols { display: contents; }
.atlas-footer__heading {
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a-ink-3);
  font-weight: 600;
  margin-bottom: 12px;
}
.atlas-footer a { display: block; color: var(--a-ink-2); margin-bottom: 8px; font-size: 14px; }
.atlas-footer a:hover { color: var(--a-ink); }
.atlas-footer__legal {
  max-width: var(--a-container);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--a-border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--a-ink-3);
}
.atlas-footer__legal a { display: inline; color: inherit; margin: 0; }
.atlas-footer__legal a:hover { color: var(--a-ink); }
@media (max-width: 760px) {
  .atlas-footer__inner { grid-template-columns: 1fr 1fr; }
  .atlas-footer__legal { flex-direction: column; gap: 8px; }
}

/* ===================================================================
   Expanded sections (added in theme v2 — richer page content)
   =================================================================== */

/* Stat band -------------------------------------------------------- */
.atlas-statband {
  background: var(--a-ink);
  color: var(--a-surface);
  padding: 0;
}
.atlas-statband__inner {
  max-width: var(--a-container);
  margin: 0 auto;
  padding: 36px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.atlas-statband__item { text-align: center; padding: 0 20px; border-left: 1px solid rgba(255,255,255,.1); }
.atlas-statband__item:first-child { border-left: 0; }
.atlas-statband__num {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
}
.atlas-statband__label {
  font-family: var(--a-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
@media (max-width: 760px) {
  .atlas-statband__inner { grid-template-columns: 1fr 1fr; gap: 32px 16px; padding: 28px 20px; }
  .atlas-statband__item { border-left: 0; padding: 0; }
}

/* Tile grid (neighborhoods) --------------------------------------- */
.atlas-tile-grid {
  max-width: var(--a-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.atlas-tile {
  display: block;
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.atlas-tile:hover { transform: translateY(-2px); box-shadow: var(--a-shadow); }
.atlas-tile__media { aspect-ratio: 4 / 3; overflow: hidden; }
.atlas-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.atlas-tile:hover .atlas-tile__media img { transform: scale(1.05); }
.atlas-tile__body { padding: 14px; }
.atlas-tile__name { font-weight: 700; font-size: 15px; }
.atlas-tile__count { font-size: 11px; color: var(--a-ink-3); margin-top: 2px; letter-spacing: 0.04em; }

/* Centered section head + 4-col steps grid override --------------- */
.atlas-section__head--center { text-align: center; }
.atlas-section__head--center .atlas-section__sub { max-width: 50ch; margin-left: auto; margin-right: auto; }

/* Quote ------------------------------------------------------------ */
.atlas-quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 0;
}
.atlas-quote__text {
  font-family: var(--a-sans);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--a-ink);
  margin-bottom: 24px;
}
.atlas-quote__cite {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.atlas-quote__name { font-weight: 600; }
.atlas-quote__detail {
  font-size: 11px;
  color: var(--a-ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* CTA pair (renters + owners side-by-side) ----------------------- */
.atlas-cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 64px 28px;
}
@media (max-width: 880px) {
  .atlas-cta-pair { grid-template-columns: 1fr; }
}
.atlas-cta-pair .atlas-cta-card { padding: 32px; }
.atlas-cta-card--cream {
  background: var(--a-tag);
  color: var(--a-ink);
}
.atlas-cta-card__title--dark { color: var(--a-ink); }
.atlas-cta-card__sub--dark { color: var(--a-ink-2); }

/* Detail title strip ---------------------------------------------- */
.atlas-detail-title {
  background: var(--a-surface);
  border-bottom: 1px solid var(--a-border);
  padding: 20px 0 24px;
}
.atlas-detail-title__inner {
  max-width: var(--a-container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
@media (max-width: 760px) {
  .atlas-detail-title__inner { grid-template-columns: 1fr; padding: 0 20px; }
}
.atlas-detail-title__price { text-align: right; }
.atlas-detail-title__price-num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.atlas-detail-title__price-suffix { font-size: 14px; color: var(--a-ink-2); font-weight: 500; }
.atlas-detail-title__price-meta {
  font-size: 11px;
  color: var(--a-ink-3);
  letter-spacing: 0.04em;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Detail cards ---------------------------------------------------- */
.atlas-detail-card {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  padding: 24px 26px;
  margin-bottom: 16px;
}
.atlas-h3--card { margin: 0 0 12px; }

/* Features grid --------------------------------------------------- */
.atlas-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 600px) { .atlas-features { grid-template-columns: 1fr 1fr; } }
.atlas-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--a-bg);
  border-radius: 8px;
  font-size: 13px;
  color: var(--a-ink-2);
}
.atlas-feature span { color: var(--a-mint); font-weight: 700; }

/* Lease terms ----------------------------------------------------- */
.atlas-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
@media (max-width: 600px) { .atlas-terms { grid-template-columns: 1fr; } }
.atlas-terms > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--a-border);
  font-size: 13px;
}
.atlas-terms > div span { color: var(--a-ink-2); }
.atlas-terms > div strong { color: var(--a-ink); font-weight: 600; }

/* POI grid -------------------------------------------------------- */
.atlas-poi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
@media (max-width: 600px) { .atlas-poi-grid { grid-template-columns: 1fr 1fr; } }
.atlas-poi {
  background: var(--a-bg);
  padding: 12px 14px;
  border-radius: 8px;
}
.atlas-poi p:first-child {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--a-ink-3);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.atlas-poi__val { font-weight: 600; font-size: 14px; }
.atlas-detail__addr--lg { font-size: 16px; line-height: 1.6; margin-bottom: 16px; }
.atlas-quote-card__note {
  text-align: center;
  font-size: 11px;
  color: var(--a-ink-3);
  margin-top: 12px;
  letter-spacing: 0.04em;
}

/* Stats (about) --------------------------------------------------- */
.atlas-stat__suffix { font-size: 14px; color: var(--a-ink-2); font-weight: 500; }

/* Values grid (about) -------------------------------------------- */
.atlas-values { padding-top: 0; }
.atlas-value {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  padding: 26px;
}
.atlas-value__num {
  font-size: 12px;
  font-weight: 600;
  color: var(--a-ink-3);
  margin-bottom: 12px;
}
.atlas-value h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.atlas-value p { color: var(--a-ink-2); font-size: 14px; line-height: 1.6; }

/* Team grid ------------------------------------------------------- */
.atlas-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}
.atlas-team-member__photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--a-rad);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--a-tag);
}
.atlas-team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.atlas-team-member__name { font-weight: 600; font-size: 14px; }
.atlas-team-member__role {
  font-size: 11px;
  color: var(--a-ink-3);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* Routing cards (contact) ---------------------------------------- */
.atlas-routing { padding-top: 0; }
.atlas-route {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  padding: 28px;
  border-top: 4px solid var(--a-ink);
  display: flex;
  flex-direction: column;
}
.atlas-route--ink { border-top-color: var(--a-ink); }
.atlas-route--mint { border-top-color: var(--a-mint); }
.atlas-route--amber { border-top-color: var(--a-amber); }
.atlas-route__tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 8px; text-transform: uppercase; }
.atlas-route--ink .atlas-route__tag { color: var(--a-ink); }
.atlas-route--mint .atlas-route__tag { color: var(--a-mint); }
.atlas-route--amber .atlas-route__tag { color: var(--a-amber); }
.atlas-route__title { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.atlas-route__sub { color: var(--a-ink-2); margin-bottom: 20px; flex: 1; line-height: 1.55; font-size: 14px; }
.atlas-route__cta { align-self: flex-start; }
.atlas-btn--mint { background: var(--a-mint); color: var(--a-surface); }
.atlas-btn--mint:hover { background: #0a6e46; }
.atlas-btn--amber { background: var(--a-amber); color: var(--a-surface); }
.atlas-btn--amber:hover { background: #8a6315; }

/* Contact split (direct + form) ---------------------------------- */
.atlas-contact-split {
  max-width: var(--a-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
@media (max-width: 880px) { .atlas-contact-split { grid-template-columns: 1fr; gap: 32px; } }

.atlas-direct-list { margin-top: 24px; }
.atlas-direct-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--a-border);
}
.atlas-direct-list__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--a-ink-3);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.atlas-direct-list__value { font-size: 17px; font-weight: 600; color: var(--a-ink); }
.atlas-direct-list__value:hover { color: var(--a-mint); }

/* Form ------------------------------------------------------------ */
.atlas-form { display: grid; gap: 16px; margin-top: 24px; }
.atlas-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .atlas-form__row { grid-template-columns: 1fr; } }
.atlas-form label { display: flex; flex-direction: column; gap: 6px; }
.atlas-form__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a-ink-2);
  font-weight: 600;
}
.atlas-form input,
.atlas-form select,
.atlas-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  background: var(--a-surface);
  border: 1px solid var(--a-border-2);
  border-radius: var(--a-rad-sm);
  color: var(--a-ink);
  transition: border-color .15s ease;
}
.atlas-form input:focus,
.atlas-form select:focus,
.atlas-form textarea:focus {
  outline: 0;
  border-color: var(--a-ink);
}
.atlas-form textarea { resize: vertical; }

/* Filter bar ------------------------------------------------------ */
.atlas-filterbar {
  background: var(--a-surface);
  border-bottom: 1px solid var(--a-border);
  position: sticky;
  top: 60px;
  z-index: 40;
}
.atlas-filterbar__inner {
  max-width: var(--a-container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.atlas-filterbar__chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.atlas-chip {
  padding: 7px 14px;
  background: var(--a-surface);
  border: 1px solid var(--a-border-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--a-ink-2);
  font-family: inherit;
  cursor: pointer;
  transition: all .12s ease;
}
.atlas-chip:hover { border-color: var(--a-ink); color: var(--a-ink); }
.atlas-chip--active { background: var(--a-ink); color: var(--a-surface); border-color: var(--a-ink); }
.atlas-filterbar__right { display: flex; gap: 12px; align-items: center; }
.atlas-filterbar__count { font-size: 12px; color: var(--a-ink-2); letter-spacing: 0.04em; }
.atlas-filterbar__count strong { color: var(--a-ink); font-weight: 600; }
.atlas-filterbar__sort {
  font-family: inherit;
  font-size: 13px;
  padding: 7px 12px;
  background: var(--a-surface);
  border: 1px solid var(--a-border-2);
  border-radius: var(--a-rad-sm);
  color: var(--a-ink);
}

/* Saved-search CTA ----------------------------------------------- */
.atlas-saved-cta {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 760px) { .atlas-saved-cta { grid-template-columns: 1fr; } }
.atlas-saved-cta__form { display: flex; gap: 8px; }
.atlas-saved-cta__input {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  background: var(--a-surface);
  border: 1px solid var(--a-border-2);
  border-radius: var(--a-rad-sm);
  min-width: 240px;
}
.atlas-saved-cta__input:focus { outline: 0; border-color: var(--a-ink); }

/* Timeline (apply) ------------------------------------------------ */
.atlas-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  counter-reset: step;
}
.atlas-timeline__item {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  padding: 24px 28px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
}
.atlas-timeline__num {
  font-size: 12px;
  font-weight: 600;
  color: var(--a-ink-3);
  padding-top: 4px;
}
.atlas-timeline__item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; grid-column: 2; }
.atlas-timeline__item p { color: var(--a-ink-2); font-size: 14px; line-height: 1.6; grid-column: 2; }

/* FAQ ------------------------------------------------------------- */
.atlas-faq { max-width: 800px; margin: 0 auto; }
.atlas-faq__item {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-rad);
  padding: 0;
  margin-bottom: 8px;
  overflow: hidden;
}
.atlas-faq__item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.atlas-faq__item summary::-webkit-details-marker { display: none; }
.atlas-faq__item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--a-ink-3);
  margin-left: 16px;
  flex-shrink: 0;
}
.atlas-faq__item[open] summary::after { content: '–'; color: var(--a-ink); }
.atlas-faq__item p {
  padding: 0 22px 22px;
  color: var(--a-ink-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
