:root {
  --ink: #15171a;
  --muted: #5b6267;
  --paper: #f6f4ee;
  --white: #ffffff;
  --charcoal: #20272c;
  --teal: #0f6a63;
  --coral: #d65f45;
  --gold: #dcae37;
  --indigo: #4656a3;
  --line: rgba(21, 23, 26, 0.14);
  --shadow: 0 20px 50px rgba(21, 23, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 34px;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(246, 244, 238, 0.96);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 86px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.96rem;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.nav-apply {
  padding: 10px 15px;
  border: 1px solid var(--coral);
  border-radius: 6px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
}

.nav-phone {
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 31, 37, 0.42), rgba(9, 31, 37, 0.14) 50%, rgba(9, 31, 37, 0.01)),
    linear-gradient(0deg, rgba(9, 31, 37, 0.22), rgba(9, 31, 37, 0) 54%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 82px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c156;
  font-size: 1.18rem;
  font-weight: 900;
  text-transform: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
}

h1 {
  max-width: 760px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 5.25rem;
  font-weight: 700;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
}

h2 {
  max-width: 820px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 700;
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.42rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.hero-note {
  width: fit-content;
  max-width: 720px;
  margin: 18px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--coral);
  color: var(--white);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.apply {
  background: var(--teal);
  color: var(--white);
}

.visit-copy .button.apply {
  margin-top: 4px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.quick-facts div {
  min-height: 118px;
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

.fact-address {
  margin: 8px 0 0;
  font-style: normal;
  line-height: 1.35;
}

.fact-address strong,
.fact-address span {
  display: block;
}

.fact-address span {
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: none;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0;
}

.split-section,
.location-section,
.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.visit-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

.image-panel {
  margin: 0;
}

.image-panel img {
  width: 100%;
  min-height: 410px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.residence-band {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  background: var(--charcoal);
  color: var(--white);
}

.residence-band .eyebrow {
  color: var(--gold);
}

.residence-band .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.residence-band .section-heading h2 {
  max-width: none;
  white-space: nowrap;
}

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

.residence-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.residence-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--ink);
}

.residence-card p {
  color: var(--muted);
}

.residence-card h3 {
  font-size: 1.06rem;
  line-height: 1.15;
  overflow-wrap: normal;
}

.unit-tag {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 106, 99, 0.34);
  border-radius: 6px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.residence-card .floorplan-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 12px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(15, 106, 99, 0.34);
  border-radius: 6px;
  background: rgba(15, 106, 99, 0.06);
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.floorplan-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floorplan-link:hover,
.floorplan-link:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.unit-details {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.unit-details div {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(21, 23, 26, 0.12);
}

.unit-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.unit-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
}

.pricing-note {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.residence-card a,
.text-link {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.visual-story {
  width: min(1280px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.amenity-heading {
  grid-column: 1 / -1;
  justify-items: center;
  margin-bottom: 0;
  text-align: center;
}

.amenity-heading h2 {
  max-width: 860px;
}

.amenity-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 12px;
  height: clamp(520px, 46vw, 640px);
}

.amenity-image {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.amenity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, opacity 260ms ease;
}

.amenity-image:hover img {
  transform: scale(1.035);
}

.amenity-image figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(21, 23, 26, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
}

.amenity-copy {
  display: grid;
  height: clamp(520px, 46vw, 640px);
}

.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(21, 23, 26, 0.08);
  overflow: hidden;
}

.amenity-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.amenity-list article:nth-child(2n) {
  border-right: 0;
}

.amenity-list article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.amenity-list svg {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  color: var(--coral);
}

.amenity-list p,
.residence-card > p:not(.pricing-note) {
  margin: 6px 0 0;
  color: var(--muted);
}

.gallery-section {
  width: min(1280px, calc(100% - 48px));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 205px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  cursor: zoom-in;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  opacity: 1;
}

.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(21, 23, 26, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.location-section {
  width: min(1280px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1.24fr) minmax(340px, 0.76fr);
  gap: 38px;
}

.location-map {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  min-height: 600px;
  border-radius: 8px;
  border: 1px solid rgba(21, 23, 26, 0.12);
  background: #f7f7f4;
  box-shadow: var(--shadow);
}

.location-map h3 {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 1rem;
}

.map-stage {
  position: relative;
  min-height: 600px;
}

.mapbox-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mapboxgl-popup {
  max-width: 250px;
}

.mapboxgl-popup-content {
  padding: 15px;
  border-radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  border: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.mapboxgl-popup-close-button {
  top: 8px;
  right: 8px;
  color: #999;
  font-size: 1.2em;
}

.mapboxgl-popup-close-button:hover {
  color: #333;
  background: transparent;
}

.popup-title,
.popup-address {
  display: block;
}

.popup-title {
  margin-bottom: 5px;
  color: #111;
  font-size: 1em;
  font-weight: 800;
  line-height: 1.3;
}

.popup-address {
  color: #666;
  font-size: 0.85em;
}

.legend-panel {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: min(320px, calc(100% - 40px));
  max-height: calc(100% - 40px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.legend-panel::-webkit-scrollbar {
  width: 6px;
}

.legend-panel::-webkit-scrollbar-track {
  background: transparent;
}

.legend-panel::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #ccc;
}

.legend-title {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  color: #111;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legend-section {
  margin: 18px 0 10px;
  color: #999;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend-section:first-of-type {
  margin-top: 0;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  color: #333;
  text-decoration: none;
  transition: transform 180ms ease;
}

.legend-item:hover,
.legend-item:focus-visible {
  transform: translateX(5px);
}

.legend-icon-wrap {
  display: flex;
  flex: 0 0 30px;
  width: 30px;
  justify-content: center;
  margin-right: 12px;
}

.legend-text {
  display: flex;
  flex-direction: column;
}

.legend-name {
  color: #111;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.legend-address {
  margin-top: 4px;
  color: #666;
  font-size: 0.85rem;
}

.marker {
  cursor: pointer;
}

.marker:hover {
  z-index: 1001 !important;
}

.marker-inner {
  transition: transform 200ms ease-out;
}

.marker:hover .marker-inner {
  transform: scale(1.15);
}

.pin {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.legend-icon-wrap .pin {
  box-shadow: none;
}

.pin svg {
  display: block;
  fill: var(--white);
  stroke: none;
  pointer-events: none;
}

.pin-label {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.dining-marker {
  border-radius: 50%;
  background: #e53935;
}

.ferry-marker {
  border-radius: 8px;
  background: #007cbf;
}

.gym-marker {
  border-radius: 8px;
  background: #f57c00;
}

.retail-marker {
  border-radius: 8px;
  background: #6a1b9a;
}

.health-marker {
  border-radius: 8px;
  background: #d81b60;
}

.pharmacy-marker {
  border-radius: 8px;
  background: #00897b;
}

.bank-marker {
  border-radius: 8px;
  background: #455a64;
}

.landmark-marker {
  border-radius: 8px;
  background: #2e7d32;
}

.map-fallback {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(21, 23, 26, 0.16);
}

.location-highlights {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 28px;
  color: var(--muted);
  list-style: none;
}

.location-highlights li {
  padding-left: 18px;
  border-left: 3px solid var(--coral);
}

.visit-section {
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  color: var(--muted);
}

.contact-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.tour-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tour-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.tour-form input,
.tour-form select,
.tour-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(21, 23, 26, 0.2);
  border-radius: 6px;
  color: var(--ink);
  background: #fbfbf8;
}

.tour-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--charcoal);
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 10, 12, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(1100px, 100%);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--charcoal);
}

.lightbox figcaption {
  margin-top: 12px;
  color: var(--white);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .nav-cta,
  .nav-apply {
    padding: 9px 12px;
  }

  h1 {
    font-size: 3.9rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts div:nth-child(2) {
    border-right: 0;
  }

  .split-section,
  .visual-story,
  .location-section,
  .visit-section {
    grid-template-columns: 1fr;
  }

  .residence-band .section-heading h2 {
    white-space: normal;
  }

  .amenity-heading {
    justify-items: start;
    text-align: left;
  }

  .amenity-image-grid,
  .amenity-copy {
    height: auto;
  }

  .amenity-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header {
    inset: 0 0 auto;
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: rgba(246, 244, 238, 0.98);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 10px;
    padding: 12px 14px;
    text-align: center;
  }

  .nav-apply {
    margin-top: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--coral);
    text-align: center;
  }

  .hero {
    min-height: 82svh;
  }

  .hero img {
    object-position: center 58%;
  }

  .hero-content {
    width: min(100% - 34px, 680px);
    padding: 112px 0 56px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-note {
    font-size: 0.9rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    min-height: auto;
    padding: 20px 22px;
    border-right: 0;
  }

  .section {
    width: min(100% - 34px, 680px);
    padding: 52px 0;
  }

  .residence-band {
    width: 100%;
    padding-right: 17px;
    padding-left: 17px;
  }

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

  .image-panel img {
    min-height: 300px;
  }

  .location-map,
  .map-stage {
    min-height: 430px;
  }

  .map-stage {
    display: grid;
    gap: 0;
  }

  .mapbox-map {
    position: relative;
    min-height: 430px;
  }

  .legend-panel {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-height: 330px;
    border-radius: 0;
    box-shadow: none;
  }

  .amenity-image-grid {
    grid-template-columns: 1fr;
  }

  .amenity-image {
    aspect-ratio: 16 / 10;
  }

  .amenity-list {
    grid-template-columns: 1fr;
  }

  .amenity-list article,
  .amenity-list article:nth-child(2n) {
    border-right: 0;
  }

  .amenity-list article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .amenity-list article:last-child {
    border-bottom: 0;
  }

  .gallery-section {
    width: min(100% - 20px, 680px);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .tour-form {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
