/* ============================================================
   Adler Real State Version 8 Multi — homepage (monochrome design)
   Home-only styles. Enqueued in includes/class.php on is_home()/is_front_page().
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@200;300;400;500;600&display=swap");

/* ---- hero ---- */
.hero {
  position: relative;
  background: var(--black);
  padding: 130px 32px 110px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.34;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 12, 0.55) 0%,
    rgba(13, 13, 12, 0.86) 78%,
    var(--black) 100%
  );
}
.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  color: var(--white);
}
.hero .eyebrow {
  color: var(--grey-light);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(56px, 10vw, 128px);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
@media screen and (max-width: 567px) {
  .hero h1 {
    font-size: 2rem;
  }
}
.hero-lockup {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c7c3b8;
}
.hero-lockup .div {
  width: 1px;
  height: 16px;
  background: #55534a;
}
.hero-tag {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
  color: #b7b2a5;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* ---- floating pill ---- */
.pill {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.pill:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}
.pill svg {
  width: 10px;
  height: 10px;
}

/* ---- tile grid ---- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.tile {
  position: relative;
  display: block;
  aspect-ratio: 3/4.4;
  overflow: hidden;
  background: var(--black);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.tile:hover img.gray {
  transition: all 0.3s;
  filter: unset !important;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: all 0.3s;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(13, 13, 12, 0.75),
    rgba(13, 13, 12, 0.15) 55%,
    rgba(13, 13, 12, 0.4)
  );
}
.tile-mono {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: auto;
  color: rgba(255, 255, 255, 0.14);
}
.tile-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  text-align: center;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
}
@media (max-width: 820px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- statement section ---- */
.statement {
  padding: 120px 32px 90px;
  text-align: center;
  background: var(--white);
}
.statement .eyebrow {
  color: var(--grey);
  margin-bottom: 22px;
}
.statement h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  max-width: 820px;
  margin: 0 auto;
}
.statement p {
  margin: 34px auto 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--grey);
  font-weight: 400;
}

/* ---- stats / texture band ---- */
.stats {
  position: relative;
  background: var(--stone);
  padding: 110px 32px 130px;
  overflow: hidden;
}
.branches {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.stats-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .stats-inner {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 2rem;
  }

  .stats-inner > div:not(:last-child)::after {
    content: unset;
  }
}
.stats-inner > div {
  padding: 0 20px;
  position: relative;
}
.stats-inner > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-size: clamp(46px, 6vw, 68px);
  font-weight: 200;
  color: var(--black);
  letter-spacing: 0.01em;
}
.stat-label {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* ---- bio / meet ---- */
.meet {
  background: var(--black);
  padding: 0;
}
.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.meet-photo {
  position: relative;
  min-height: 520px;
  background: #111;
}
.meet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.meet-text {
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}
.meet-text .eyebrow {
  color: var(--grey-light);
  margin-bottom: 20px;
}
.meet-text h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 200;
  margin-block-end: 1rem;
}
.meet-mono {
  width: 70px;
  height: 70px;
  color: rgba(255, 255, 255, 0.5);
  margin: 28px 0;
  display: none;
}
.meet-text p {
  font-size: 15px;
  line-height: 1.9;
  color: #c7c3b8;
  max-width: 48ch;
  font-weight: 300;
}
.meet-contact {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #c7c3b8;
}
.meet-contact b {
  color: var(--white);
  font-weight: 500;
}
.meet-cta {
  margin-top: 32px;
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid #55534a;
  color: var(--white);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 28px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.meet-cta:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
@media (max-width: 900px) {
  .meet-grid {
    grid-template-columns: 1fr;
  }
  .meet-photo {
    min-height: 380px;
  }
  .meet-text {
    padding: 56px 28px;
  }
}

/* ---- sold ---- */
.sold {
  background: var(--offwhite);
  padding: 120px 32px;
}
.sold-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.sold-head .eyebrow {
  color: var(--grey);
  margin-bottom: 20px;
}
.sold-head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
}
.sold-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
}
.sold-card {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  background: var(--black);
}
.sold-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.sold-card:hover img {
  transform: scale(1.05);
}
.sold-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(13, 13, 12, 0.88) 0%,
    rgba(13, 13, 12, 0.1) 50%,
    transparent 65%
  );
}
.sold-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 6px 12px;
}
.sold-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: var(--white);
}
.sold-price {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.sold-addr {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #e6e3da;
}
.sold-meta {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #b7b2a5;
}
.sold-mount {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .sold-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- testimonials ---- */
.reviews {
  position: relative;
  background: var(--stone);
  padding: 120px 32px;
  overflow: hidden;
}
.reviews-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.reviews .eyebrow {
  color: var(--grey);
  margin-bottom: 20px;
}
.reviews h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 56px;
}
.review-slide {
  margin-bottom: 56px;
}
.review-slide:last-child {
  margin-bottom: 0;
}
.review-quote {
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--black);
}
.review-name {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.reviews-mount {
  position: relative;
}

/* ---- closing cta ---- */
.cta {
  position: relative;
  padding: 150px 32px;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0.4;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--black) 0%,
    rgba(13, 13, 12, 0.55) 40%,
    var(--black) 100%
  );
}
.cta-inner {
  position: relative;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto;
}
.cta .eyebrow {
  color: var(--grey-light);
  margin-bottom: 22px;
}
.cta h2 {
  font-size: clamp(32px, 5vw, 58px);
}
.cta p {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.9;
  color: #c7c3b8;
  font-weight: 300;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-solid {
  background: var(--white);
  color: var(--black);
  padding: 16px 32px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
.btn-solid:hover {
  background: #e6e3da;
}
.btn-line {
  border: 1px solid #55534a;
  color: var(--white);
  padding: 16px 32px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}
.btn-line:hover {
  border-color: var(--white);
}

/* floating pill: steps aside over the contact band / footer (inline script after the pill
   in index.php); on phones one compact line, it wrapped to two and covered the copy */
.pill {
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.3s ease,
    visibility 0.3s;
}
.pill.pill--away {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
}
@media (max-width: 600px) {
  .pill {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 32px);
    padding: 11px 18px;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .pill span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
