.at-riverside-page {
  --opal-green: #07111c;
  --opal-green-2: #0f1e2a;
  --opal-gold: #bd8f35;
  --opal-gold-soft: #f0d28a;
  --opal-soft: #f7f2e8;
  --opal-wine: #7e5132;
}

.at-riverside-page .opal-header {
  background: rgba(247, 242, 232, 0.94);
}

.at-hero {
  min-height: calc(100svh - 82px);
}

.at-hero .opal-hero-media img {
  object-position: center 42%;
}

.at-hero .opal-hero-overlay {
  background:
    radial-gradient(circle at 78% 22%, rgba(189, 143, 53, 0.16), transparent 36%),
    linear-gradient(90deg, rgba(7, 17, 28, 0.94) 0%, rgba(7, 17, 28, 0.78) 40%, rgba(7, 17, 28, 0.24) 74%, rgba(7, 17, 28, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 17, 28, 0.72) 0%, rgba(7, 17, 28, 0.08) 60%);
}

.at-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.at-trust-line span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(240, 210, 138, 0.45);
  border-radius: 999px;
  color: #f7e8bb;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.at-stat-panel strong {
  color: #122338;
  font-size: 30px;
}

.at-location-card {
  aspect-ratio: 5 / 4;
}

.at-location-card img,
.at-legal-image img {
  object-fit: contain;
  background: #fffaf0;
}

.at-location-grid span {
  border-left-color: var(--opal-gold);
}

.at-river-band {
  background:
    linear-gradient(135deg, rgba(7, 17, 28, 0.98), rgba(16, 39, 52, 0.98)),
    #07111c;
}

.at-river-band .opal-section-head {
  max-width: 900px;
}

.at-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.at-value-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(240, 210, 138, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.at-value-grid span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #07111c;
  background: var(--opal-gold-soft);
  font-size: 12px;
  font-weight: 900;
}

.at-value-grid h3 {
  margin: 22px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
}

.at-value-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.at-table td:nth-child(2) {
  white-space: nowrap;
}

.at-layout-figure {
  max-width: none;
  margin: 28px 0 0;
}

.at-layout-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fffaf0;
}

.at-floorplan-section {
  padding-top: 66px;
}

.at-plan-showcase,
.at-unit-layout-grid {
  display: grid;
  gap: 18px;
}

.at-plan-showcase {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.at-unit-layout-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.at-plan-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(189, 143, 53, 0.2);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(11, 17, 29, 0.08);
}

.at-plan-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fffaf0;
}

.at-plan-card figcaption {
  padding: 16px 18px 18px;
  color: #44514d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  border-top: 1px solid rgba(11, 17, 29, 0.08);
}

.at-plan-card-wide figcaption {
  min-height: 88px;
}

.at-gallery-section {
  padding-top: 64px;
}

.at-check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.at-check-list li {
  position: relative;
  padding-left: 26px;
  color: #43504d;
  font-weight: 700;
  line-height: 1.58;
}

.at-check-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--opal-gold);
  box-shadow: 0 0 0 5px rgba(189, 143, 53, 0.15);
}

.at-legal-section {
  align-items: center;
}

.at-legal-checklist {
  margin-top: 26px;
}

.at-cashflow {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  background: #fffaf0;
}

.at-buyer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.at-buyer-grid h3 {
  margin: 0;
  color: var(--opal-ink);
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.2;
}

.at-buyer-grid p {
  margin: 12px 0 0;
  font-size: 15px;
}

.at-source-section {
  padding-top: 32px;
}

.at-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.at-source-grid a {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(11, 17, 29, 0.12);
  border-radius: 8px;
  color: #132139;
  background: #fff;
  font-weight: 800;
  line-height: 1.42;
  box-shadow: 0 16px 38px rgba(11, 17, 29, 0.06);
}

.at-source-grid a:hover {
  border-color: rgba(189, 143, 53, 0.55);
  color: #715018;
  transform: translateY(-2px);
}

.opal-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 1100px) {
  .at-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .at-source-grid,
  .at-buyer-grid,
  .at-plan-showcase,
  .at-unit-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .at-hero .opal-hero-media img {
    object-position: 62% center;
  }

  .at-trust-line {
    gap: 8px;
  }

  .at-trust-line span {
    min-height: 32px;
    padding: 0 11px;
    font-size: 11px;
  }

  .at-stat-panel strong {
    font-size: 25px;
  }

  .at-value-grid {
    grid-template-columns: 1fr;
  }

  .at-value-grid article {
    min-height: auto;
  }

  .at-cashflow {
    grid-template-columns: 1fr;
  }

  .at-location-card {
    aspect-ratio: 1 / 1;
  }
}
