.hero::before {
  background-image: url("../images/aries-hero-living-new.webp") !important;
  background-position: center 56% !important;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(8, 27, 29, 0.97) 0%, rgba(8, 27, 29, 0.82) 35%, rgba(8, 27, 29, 0.25) 68%, rgba(8, 27, 29, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 27, 29, 0.48), transparent 55%) !important;
}

.exterior-showcase {
  padding: 120px 5vw 130px;
  background: #f8f7f3;
  color: var(--ink);
}

.exterior-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto 56px;
}

.exterior-intro h2 {
  margin: 14px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.96;
}

.exterior-intro h2 em {
  color: #9b763e;
  font-weight: 400;
}

.exterior-intro > p {
  max-width: 470px;
  margin: 0 0 8px;
  color: #5f6875;
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
}

.exterior-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  grid-template-rows: minmax(370px, 48vw) minmax(290px, 34vw);
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}

.exterior-grid-single {
  display: block;
}

.exterior-grid-single .exterior-card-main {
  width: 100%;
  min-height: 520px;
  aspect-ratio: 16 / 8;
}

.exterior-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  background: #081b1d;
}

.exterior-card-main {
  grid-row: 1;
}

.exterior-card-wide {
  grid-column: 1 / -1;
}

.exterior-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.exterior-card-main img {
  object-position: 55% center;
}

.exterior-card:hover img {
  transform: scale(1.025);
}

.exterior-card::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(7, 20, 22, 0.76));
  pointer-events: none;
}

.exterior-card figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 28px 30px;
  color: white;
}

.exterior-card figcaption > span {
  padding-bottom: 4px;
  color: #d8bd8d;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.exterior-card figcaption div {
  display: grid;
  gap: 5px;
}

.exterior-card figcaption strong {
  font-family: Georgia, serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
}

.exterior-card figcaption small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .hero::before {
    background-position: 62% center !important;
  }

  .exterior-showcase {
    padding: 82px 24px 90px;
  }

  .exterior-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 38px;
  }

  .exterior-intro h2 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .exterior-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .exterior-card,
  .exterior-card-main,
  .exterior-card-wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .exterior-card-wide {
    aspect-ratio: 16 / 10;
  }

  .exterior-card figcaption {
    padding: 22px;
  }
}

/* Make the virtual-tour journey unmistakable at first glance. */
.hero-link {
  border: 1px solid rgba(216, 189, 141, 0.82);
  border-radius: 999px;
  background: rgba(8, 27, 29, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  padding: 15px 20px 15px 22px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.hero-link::before {
  content: "360°";
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin: -8px 2px -8px -14px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0;
}

.hero-link:hover {
  background: var(--gold);
  color: var(--deep);
  transform: translateY(-2px);
}

.hero-link:hover::before {
  background: var(--deep);
  color: #fff;
}

.residences .section-heading h2 {
  max-width: 760px;
}

.tour-card .card-action {
  width: max-content;
  min-width: 190px;
  border: 1px solid rgba(155, 118, 62, 0.48);
  border-radius: 999px;
  padding: 11px 14px 11px 16px;
  gap: 18px;
}

.tour-card .card-action::before {
  content: "VR";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -6px 0 -6px -9px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0;
}

.tour-card:hover .card-action {
  border-color: rgba(216, 189, 141, 0.72);
  color: #fff;
}

.tour-card-featured .card-action {
  padding-bottom: 11px;
}

/* A quieter, more compact contact area. */
.contact {
  gap: clamp(28px, 4vw, 52px);
  padding-top: 48px;
  padding-bottom: 50px;
}

.contact-intro h2 {
  font-size: clamp(40px, 4.5vw, 60px);
}

.contact-lead {
  margin-top: 15px;
}

.contact-link {
  min-height: 92px;
  padding: 11px 14px 12px;
}

.contact-link h3 {
  margin-bottom: 3px;
  font-size: clamp(18px, 1.7vw, 23px);
}

.contact-link > svg {
  width: 12px;
  height: 12px;
}

.contact-link-number {
  font-size: 9px;
}

@media (max-width: 720px) {
  .contact {
    gap: 26px;
    padding-top: 44px;
    padding-bottom: 46px;
  }

  .contact-link {
    min-height: 88px;
  }
}

/* Preserve the full top logo at its natural proportions. */
.site-header .brand-mark {
  flex: 0 0 72px;
  width: 72px;
  height: 48px;
  padding: 2px;
  overflow: visible;
}

.site-header .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 720px) {
  .site-header .brand-mark {
    flex-basis: 64px;
    width: 64px;
    height: 43px;
  }
}

/* Show the complete official logo, without a frame or crop. */
.brand-mark,
.footer-brand .brand-mark {
  width: 56px;
  height: 38px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.brand-mark img,
.footer-brand .brand-mark img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

/* Align the contact introduction with the contact options. */
.contact {
  align-items: start;
}

.contact-intro,
.contact-directory {
  align-self: start;
}

.contact-intro h2 {
  margin-top: 0;
}

@media (max-width: 720px) {
  .brand-mark,
  .footer-brand .brand-mark {
    width: 50px;
    height: 34px;
  }
}

/* Use the official Aries emblem in the compact header and footer marks. */
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-color: rgba(197, 154, 87, 0.55);
  transform: none;
}

.brand-mark img {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 68px;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}

.footer-brand .brand-mark img {
  width: 62px;
}

/* Keep numerals level and consistent with their accompanying text. */
body,
h1,
h2,
h3,
.card-number,
.unit-code,
.gallery-item figcaption span,
.amenity-card figcaption > span,
.contact-link p,
footer {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.card-number,
.gallery-item figcaption span,
.amenity-card figcaption > span {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

/* Give the two-line hero statement more breathing room. */
.hero h1 {
  line-height: 0.94;
}

.hero h1 em {
  display: inline-block;
  margin-top: 0.14em;
}

@media (max-width: 720px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark img {
    width: 62px;
  }
}

/* Show the complete exterior rendering without cropping or zoom. */
.exterior-grid-single .exterior-card-main {
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: #e9e7e0;
}

.exterior-card-main img {
  object-fit: contain;
  object-position: center;
}

.exterior-card:hover img {
  transform: none;
}

/* Simplified contact choices without decorative numbering. */
.contact-link {
  min-height: 68px;
  padding: 8px 11px;
}

.contact-link h3 {
  font-size: clamp(16px, 1.45vw, 20px);
}

.contact-link div {
  grid-column: 1;
}

.contact-link > svg {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

@media (max-width: 820px) {
  .exterior-card-main,
  .exterior-grid-single .exterior-card-main {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 720px) {
  .contact-link {
    min-height: 64px;
  }
}

/* Compact residence choices so more homes are visible at once. */
.tour-card {
  min-height: 220px;
  padding: 22px 26px 24px;
}

.tour-card-featured {
  min-height: 185px;
}

.tour-card .card-action {
  min-width: 0;
  margin-top: 22px;
  padding: 8px 11px 8px 13px;
  gap: 12px;
}

.tour-card .card-action::before {
  width: 24px;
  height: 24px;
  margin: -4px 0 -4px -8px;
  font-size: 9px;
}

.tour-card .card-action svg {
  width: 15px;
  height: 15px;
}

.contact-link {
  min-height: 80px;
  padding: 9px 12px 10px;
}

.contact-link > svg {
  width: 8px;
  height: 8px;
}

@media (max-width: 720px) {
  .tour-card {
    min-height: 210px;
    padding: 21px 22px 23px;
  }

  .tour-card-featured {
    min-height: 190px;
  }

  .contact-link {
    min-height: 76px;
  }
}

.amenities-showcase {
  padding: 120px 5vw 130px;
  background: #081b1d;
  color: #fff;
}

.amenities-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto 54px;
}

.amenities-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -30px;
}

.amenities-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 400;
  line-height: 0.96;
}

.amenities-heading h2 em {
  color: #d8bd8d;
  font-weight: 400;
}

.amenities-heading > p {
  max-width: 470px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.66);
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}

.amenity-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #071416;
}

.amenity-card-featured {
  grid-column: 1 / -1;
  min-height: 440px;
  aspect-ratio: 16 / 7;
}

.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.amenity-card:hover img {
  transform: scale(1.025);
}

.amenity-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(7, 20, 22, 0.84));
}

.amenity-card figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 27px 30px;
}

.amenity-card figcaption > span {
  padding-bottom: 4px;
  color: #d8bd8d;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.amenity-card figcaption div {
  display: grid;
  gap: 5px;
}

.amenity-card figcaption strong {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
}

.amenity-card figcaption small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

@media (max-width: 820px) {
  .amenities-showcase {
    padding: 82px 24px 90px;
  }

  .amenities-heading {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 38px;
  }

  .amenities-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .amenities-heading h2 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .amenity-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .amenity-card-featured {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .amenity-card figcaption {
    padding: 22px;
  }
}
