@import url("https://fonts.googleapis.com/css2?family=Afacad:wght@400;500;600;700&family=Geologica:wght@500;600;700;800&display=swap");

:root {
  --ink: oklch(19% 0.024 183);
  --muted: oklch(48% 0.025 180);
  --quiet: oklch(63% 0.022 178);
  --line: oklch(88% 0.018 177);
  --paper: oklch(96.5% 0.014 96);
  --paper-deep: oklch(92% 0.025 99);
  --surface: oklch(98.7% 0.008 96);
  --surface-tint: oklch(94.7% 0.021 161);
  --accent: oklch(45% 0.093 167);
  --accent-dark: oklch(33% 0.075 170);
  --brass: oklch(67% 0.1 82);
  --warning: oklch(51% 0.102 67);
  --reserved: oklch(43% 0.066 28);
  --shadow: 0 28px 90px oklch(19% 0.024 183 / 0.16);
  --shadow-soft: 0 16px 46px oklch(19% 0.024 183 / 0.08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 10px;
  font-family: "Afacad", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "kern", "liga";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, oklch(19% 0.024 183 / 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, oklch(19% 0.024 183 / 0.026) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
}

.brand img {
  width: 152px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.nav a {
  position: relative;
  transition: color 160ms var(--ease-out);
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-expo);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav .nav-plan {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in oklch, var(--accent) 34%, var(--line));
  border-radius: 999px;
  padding: 0 14px;
  background: color-mix(in oklch, var(--surface) 72%, transparent);
  color: var(--accent-dark);
  box-shadow: 0 10px 24px oklch(19% 0.024 183 / 0.06);
}

.nav .nav-plan::after {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, oklch(15% 0.035 185 / 0.83), oklch(18% 0.04 180 / 0.34) 58%, oklch(18% 0.04 180 / 0.1)),
    linear-gradient(0deg, oklch(15% 0.035 185 / 0.46), transparent 46%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, oklch(100% 0 0 / 0.08) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(0deg, oklch(100% 0 0 / 0.06) 1px, transparent 1px) 0 0 / 120px 120px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  opacity: 0;
  transition:
    opacity 1400ms var(--ease-expo),
    transform 2200ms linear;
  will-change: opacity, transform;
}

.hero-media img.is-active {
  opacity: 1;
  transform: scale(1.02);
}

.hero-content {
  max-width: 710px;
  color: oklch(98% 0.006 96);
  padding-bottom: clamp(54px, 8vh, 96px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: color-mix(in oklch, var(--brass) 82%, oklch(98% 0.006 96));
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.95;
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
}

h1 {
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
  font-size: clamp(4.4rem, 13vw, 11.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  animation: hero-copy-in 820ms var(--ease-expo) 80ms both;
}

h2 {
  font-size: clamp(2.15rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-content p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0 0;
  color: oklch(94% 0.009 96 / 0.88);
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  line-height: 1.55;
  animation: hero-copy-in 820ms var(--ease-expo) 170ms both;
}

.hero-actions,
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: hero-copy-in 820ms var(--ease-expo) 260ms both;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  cursor: pointer;
  font-weight: 720;
  transition:
    transform 150ms var(--ease-out),
    background-color 150ms var(--ease-out),
    border-color 150ms var(--ease-out),
    color 150ms var(--ease-out);
}

.button:active,
.gallery-item:active,
.dialog-close:active {
  transform: scale(0.97);
}

.button.primary {
  background: var(--accent);
  color: oklch(98% 0.006 96);
  box-shadow: 0 12px 28px oklch(33% 0.075 170 / 0.24);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: oklch(98% 0.006 96 / 0.34);
  background: oklch(98% 0.006 96 / 0.12);
  color: oklch(98% 0.006 96);
  backdrop-filter: blur(10px);
}

.plans .button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.availability-summary {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(20px, 5vw, 72px);
  width: min(260px, calc(100% - 40px));
  padding: 24px;
  background: color-mix(in oklch, var(--surface) 88%, transparent);
  border: 1px solid oklch(98% 0.006 96 / 0.54);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: summary-in 780ms var(--ease-expo) 360ms both;
}

.summary-number {
  display: block;
  margin-bottom: 4px;
  font-size: 3.6rem;
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.section {
  padding: clamp(64px, 9vw, 128px) clamp(20px, 4vw, 56px);
}

.section.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 680ms var(--ease-expo),
    transform 680ms var(--ease-expo);
}

.section.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.intro,
.mcmv-section,
.plans,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: end;
}

.intro p:not(.eyebrow),
.mcmv-card p,
.location-panel p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
  max-width: 64ch;
}

.mcmv-section {
  padding-top: clamp(36px, 5vw, 80px);
  padding-bottom: clamp(44px, 6vw, 88px);
  background:
    linear-gradient(120deg, color-mix(in oklch, var(--surface-tint) 62%, var(--paper)), var(--paper));
}

.mcmv-card {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--brass) 36%, var(--line));
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--surface) 84%, var(--brass)), var(--surface));
  box-shadow: var(--shadow-soft);
}

.mcmv-card::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 180px;
  height: 180px;
  border: 1px solid color-mix(in oklch, var(--brass) 38%, transparent);
  border-radius: 50%;
}

.mcmv-logo {
  display: block;
  width: clamp(68px, 7vw, 92px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 12px 20px oklch(19% 0.024 183 / 0.12));
}

.section-heading,
.units-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.data-note {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(180px, 24vw);
  gap: 16px;
}

.location-section {
  padding-top: clamp(54px, 7vw, 108px);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 18px;
  align-items: stretch;
}

.map-preview,
.location-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.map-preview {
  min-height: clamp(320px, 42vw, 520px);
}

.map-preview iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  filter: saturate(0.82) contrast(1.02);
}

.location-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(145deg, oklch(18% 0.035 185), oklch(27% 0.058 166));
  color: oklch(98% 0.006 96);
}

.location-panel h3 {
  margin: 14px 0 16px;
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.location-panel p {
  color: oklch(91% 0.012 96 / 0.76);
}

.coordinate-label {
  width: fit-content;
  border: 1px solid oklch(98% 0.006 96 / 0.24);
  border-radius: 999px;
  padding: 7px 11px;
  color: color-mix(in oklch, var(--brass) 84%, var(--surface));
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.map-button {
  width: fit-content;
  margin-top: 26px;
}

.gallery-item {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition:
    transform 240ms var(--ease-expo),
    box-shadow 240ms var(--ease-expo),
    border-color 240ms var(--ease-expo);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition:
    transform 700ms var(--ease-expo),
    filter 300ms var(--ease-out);
}

.toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 200px)) minmax(200px, 1fr) minmax(150px, 200px);
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-soft);
}

.toolbar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

select,
input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0 13px;
  outline: none;
  transition:
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}

select:focus,
input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(45% 0.093 167 / 0.15);
}

.unit-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.unit-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--surface) 92%, var(--surface-tint)), var(--surface));
  box-shadow: 0 1px 0 oklch(98% 0.006 96 / 0.75) inset;
}

.unit-stats span {
  display: block;
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.unit-stats small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.status-guide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.status-guide p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: color-mix(in oklch, var(--surface) 88%, transparent);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.38;
}

.status-guide strong {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.unit-cards {
  display: none;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: color-mix(in oklch, var(--surface-tint) 52%, var(--surface));
}

tbody tr {
  transition:
    background-color 150ms var(--ease-out),
    transform 150ms var(--ease-out);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.unit-name {
  font-weight: 760;
}

.price {
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 11px;
  background: oklch(93% 0.04 159);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.status[data-status="Pré-reserva"] {
  background: oklch(93.8% 0.052 82);
  color: var(--warning);
}

.status[data-status="Reservado"],
.status[data-status="Vendido"] {
  background: oklch(92.8% 0.032 31);
  color: var(--reserved);
}

.row-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 720;
  transition:
    transform 150ms var(--ease-out),
    border-color 150ms var(--ease-out),
    background-color 150ms var(--ease-out);
}

.row-button:active {
  transform: scale(0.97);
}

.unit-list-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--surface) 92%, var(--surface-tint)), var(--surface));
  box-shadow: var(--shadow-soft);
}

.unit-list-card .eyebrow {
  margin-bottom: 6px;
}

.unit-list-card h3 {
  margin: 0;
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.unit-list-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.unit-list-card dl div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--surface);
}

.unit-list-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.unit-list-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 760;
}

.empty-state {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.plans {
  background:
    linear-gradient(120deg, color-mix(in oklch, var(--surface-tint) 72%, var(--paper)), var(--paper-deep));
}

.contact {
  margin: clamp(20px, 4vw, 56px);
  padding: clamp(34px, 6vw, 72px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(18% 0.035 185), oklch(24% 0.046 165));
  color: oklch(98% 0.006 96);
  box-shadow: var(--shadow);
}

.contact p {
  margin-top: 18px;
  color: oklch(91% 0.012 96 / 0.76);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 20px 42px;
  background: oklch(15% 0.026 185);
  color: oklch(90% 0.012 96 / 0.66);
}

.footer-credit {
  display: grid;
  gap: 4px;
  text-align: right;
}

.footer-credit span {
  color: oklch(90% 0.012 96 / 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-credit strong {
  color: oklch(96% 0.008 96);
  font-family: "Geologica", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0;
}

.site-footer img {
  display: block;
  width: clamp(54px, 7vw, 76px);
  height: auto;
  object-fit: contain;
  opacity: 0.92;
}

dialog {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

dialog::backdrop {
  background: oklch(12% 0.026 185 / 0.56);
  backdrop-filter: blur(8px);
}

.unit-dialog[open],
.lightbox[open] {
  animation: dialog-in 210ms var(--ease-out);
}

.unit-dialog {
  width: min(560px, calc(100% - 32px));
}

.unit-card {
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 5vw, 42px);
  box-shadow: var(--shadow);
}

.unit-card h3 {
  margin: 8px 0 16px;
  font-family: "Geologica", "Afacad", ui-sans-serif, sans-serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.unit-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.unit-details div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--surface-tint) 36%, var(--surface));
}

.unit-details small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.unit-image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.unit-note {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.unit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.unit-actions .button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  backdrop-filter: none;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 150ms var(--ease-out);
}

.lightbox {
  width: min(1120px, calc(100% - 32px));
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes summary-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: color-mix(in oklch, var(--brass) 52%, var(--line));
  }

  .gallery-item:hover img {
    transform: scale(1.055);
    filter: saturate(1.04) contrast(1.02);
  }

  tbody tr:hover {
    background: color-mix(in oklch, var(--surface-tint) 42%, var(--surface));
  }

  .row-button:hover {
    border-color: var(--accent);
    background: color-mix(in oklch, var(--surface-tint) 50%, var(--surface));
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand img {
    width: 132px;
  }

  .nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 720px;
    padding: 24px 18px;
  }

  .availability-summary {
    position: static;
    margin-top: 28px;
  }

  .intro,
  .mcmv-section,
  .plans,
  .contact,
  .section-heading,
  .units-heading {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .gallery-grid,
  .location-grid,
  .toolbar,
  .unit-stats,
  .status-guide {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav .nav-plan {
    min-height: 34px;
    padding: 0 11px;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

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

  .table-wrap {
    display: none;
  }

  .unit-cards {
    display: grid;
    gap: 12px;
  }

  .contact {
    margin: 18px;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 34px;
  }

  .footer-credit {
    text-align: center;
  }

  .site-footer img {
    width: 68px;
  }

  .map-preview {
    min-height: 320px;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 6.3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .section.reveal {
    opacity: 1;
    transform: none;
  }
}
