/* Ranka Amber review refinements. */
.site-header .brand, .repair-footer .brand {
  min-width: 0;
  align-items: center;
  justify-content: center;
}
.site-header .brand {
  width: 110px;
  padding: 7px 12px;
  border-radius: 3px;
  background: #38291f;
}
.brand img { display: block; width: 100%; height: auto; }
.repair-footer .brand { width: 120px; }
.site-header nav > a { min-height: 44px; }
.site-header nav > a[aria-current="page"]::after { transform: scaleX(1); }

.hero-developer-logo {
  position: absolute;
  z-index: 3;
  top: clamp(14px, 2vw, 28px);
  right: clamp(15px, 5vw, 80px);
  width: clamp(76px, 8vw, 116px);
  height: auto;
  padding: clamp(7px, 1vw, 14px);
  border-radius: 3px;
  background: #fff8ebd9;
}
.repair-hero .hero-registration {
  margin: 13px 0 0;
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  background: #2c2017b8;
  color: #fff8eb;
  font: 600 clamp(12px, .98vw, 15px)/1.5 var(--_fonts---font-body), Arial, sans-serif;
  overflow-wrap: anywhere;
}
.calm-elevation img { aspect-ratio: auto; height: auto; max-height: none; }
.terrace-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.terrace-copy { grid-column: 1; grid-row: 1; }
.terrace-description { grid-column: 2; grid-row: 1; justify-self: end; }
.terrace-section .terrace-image { grid-column: 1 / -1; grid-row: 2; width: 100%; }
.terrace-section .terrace-image img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.master-intro .section-heading h2 { font-size: clamp(18px, 5.7vw, 92px); white-space: nowrap; }
.master-intro .section-heading .sale-label {
  margin: 12px 0 0;
  font-size: clamp(16px, 2vw, 23px);
  font-weight: 600;
}
.master-teaser > img { mix-blend-mode: normal; }

.amenities { padding-block: clamp(44px, 5vw, 88px); }
.amenity-layout.review-amenities {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}
.review-amenities .amenity-controls { container-type: inline-size; }
.review-amenities .section-heading { width: auto; margin: 0 0 24px; text-align: left; }
.review-amenities .section-heading h2 { font-size: clamp(26px, 11.7cqi, 52px); line-height: 1.02; }
.review-amenities .amenity-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}
.review-amenities .amenity-links a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #826c4f;
  border-radius: 3px;
  color: #38291f;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}
.review-amenities .amenity-links [aria-selected="true"] {
  background: #38291f;
  color: #fff8eb;
}
.amenity-panels { display: grid; gap: 16px; }
.amenity-panel { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 10; }
.amenity-panel[hidden] { display: none; }
.amenity-panel img { width: 100%; height: 100%; object-fit: cover; }
.amenity-panel figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(23px, 5vw, 60px) clamp(16px, 3vw, 38px) clamp(13px, 3vw, 34px);
  background: linear-gradient(transparent, #21160eed 80%);
  color: #fff8eb;
  text-align: left;
}
.amenity-panel figcaption h3 { color: inherit; font-size: clamp(27px, 4vw, 62px); }
.amenity-panel figcaption p { font-size: clamp(13px, 1.1vw, 17px); margin-top: 7px; }

body.repaired .major-heading {
  font-family: var(--_fonts---font-display), Georgia, serif;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 400;
  line-height: .99;
}
.neighbourhood-highlights { width: min(100%, 980px); margin-inline: auto; }
.landmark-table { width: 100%; border-collapse: collapse; margin: clamp(24px, 4vw, 46px) 0 25px; text-align: left; }
.landmark-table th, .landmark-table td { padding: 9px clamp(10px, 2vw, 25px); border-bottom: 1px solid #38291f24; }
.landmark-table th[scope="row"] { font-weight: 400; }
.landmark-table th:not([colspan]):last-child, .landmark-table td:last-child { text-align: right; white-space: nowrap; }
.landmark-table thead { background: #38291f; color: #fff8eb; }
.landmark-table .landmark-group th { background: #e7dcca; font-weight: 600; }
.closing-exterior.quiet-banner {
  position: relative;
  isolation: isolate;
  min-height: clamp(390px, 51vw, 690px) !important;
  padding: clamp(26px, 6vw, 90px) !important;
  display: flex;
  align-items: end;
  justify-content: flex-start;
}
.closing-exterior.quiet-banner img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 48%; z-index: -2; }
.quiet-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(12deg, #21170de0 0%, #21170d6e 35%, transparent 68%); }
.quiet-banner .major-heading { position: relative; max-width: 12em; color: #fff8eb; text-shadow: 0 2px 18px #21170d8c; }

.master-floor-drawing { width: min(100%, 760px); margin: 22px auto clamp(36px, 5vw, 64px); text-align: center; }
.master-floor-artwork { position: relative; width: 100%; }
.master-floor-artwork img { width: 100%; height: auto; }
.master-floor-drawing > .button { margin-top: 12px; }
.master-unit-pin {
  position: absolute;
  left: var(--unit-x);
  top: var(--unit-y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  min-width: 46px;
  min-height: 44px;
  padding: 3px 8px;
  border: 1px solid #38291f;
  border-radius: 4px;
  background: #fffaf0;
  color: #38291f;
  box-shadow: 0 1px 5px #32271945;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.master-unit-pin:hover, .master-unit-pin:focus-visible { background: #38291f; color: #fff8eb; }
.master-unit-pin:focus-visible, .amenity-links a:focus-visible { outline: 2px solid #9d7949; outline-offset: 3px; }
.plan-dialog .dialog-header h2 { margin-right: auto; }
body.repaired .plan-dialog .dialog-header button { white-space: nowrap; padding-inline: 12px; }
.plan-north {
  display: grid;
  place-items: center;
  border: 1px solid #826c4f;
  border-radius: 50%;
  flex: 0 0 42px;
  height: 42px;
  font: 700 12px/1 Arial, sans-serif;
}
.plan-north span:nth-child(2) { font-size: 17px; align-self: start; }

.walkthrough-page-cta { margin-top: 20px; }
.walkthrough-dialog {
  width: min(94vw, 1060px);
  max-width: 94vw;
  max-height: 94dvh;
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid #826c4f;
  border-radius: 4px;
  background: #f6f1e7;
  color: #38291f;
}
.walkthrough-dialog::backdrop { background: #241b16e6; }
.walkthrough-dialog .dialog-header { margin-bottom: 12px; }
.walkthrough-dialog h2 { font-size: clamp(25px, 4vw, 43px); }
.walkthrough-dialog video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 73dvh; background: #221911; }
.walkthrough-error { margin-top: 8px; }
.walkthrough-error a { text-decoration: underline; }

@media (max-width: 767px) {
  .site-header .brand { width: 100px; }
  .hero-developer-logo { top: 12px; right: 13px; }
  .repair-hero .hero-registration { margin-top: 9px; }
  .architecture .section-heading h2, .calm-elevation h2 { font-size: clamp(34px, 11.7vw, 60px); }
  .terrace-section { grid-template-columns: minmax(0, 1fr); }
  .terrace-description { grid-column: 1; grid-row: 3; justify-self: start; }
  .amenity-layout.review-amenities { grid-template-columns: minmax(0, 1fr); }
  .review-amenities .section-heading { margin-bottom: 17px; }
  .landmark-table { font-size: 14px; }
  .contact-grid #email-heading { font-size: clamp(32px, 10.5vw, 44px); }
  .closing-exterior.quiet-banner img { object-position: 56% 50%; }
  .plan-north { flex-basis: 34px; height: 34px; }
  .plan-dialog .dialog-header { gap: 8px; }
  .plan-dialog .dialog-header h2 { font-size: clamp(18px, 5vw, 26px); }
}


.status-photo-section {
  padding-block: clamp(28px, 4vw, 64px) clamp(50px, 7vw, 95px);
}
.status-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(20px, 4vw, 42px);
}
.status-photo-grid figure {
  border: 1px solid #38291f30;
  background: #eee5d5;
}
.status-photo-link {
  display: block;
  cursor: zoom-in;
}
.status-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #dfd1bb;
}
.status-photo-grid figcaption {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}
@media (max-width: 820px) {
  .status-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .status-photo-grid { grid-template-columns: 1fr; }
}

.developer-project-image {
  margin: 0;
}

.developer-project-image img {
  display: block;
  width: 100%;
  height: clamp(215px, 34vw, 360px);
  object-fit: contain;
  background: #e2d5c0;
}

.developer-project-image figcaption {
  margin-top: 8px;
  font-size: 14px;
}

.developer-project-status time {
  font-weight: 600;
}
