:root {
  --ink: #162238;
  --ink-soft: #31405a;
  --paper: #fbf8f2;
  --paper-deep: #f0ebe1;
  --stone: #d7cdbc;
  --stone-dark: #9c8c75;
  --accent: #a86818;
  --accent-dark: #74450f;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(22, 34, 56, 0.16);
  --shadow-soft: 0 16px 44px rgba(22, 34, 56, 0.1);
  --radius: 8px;
  --max: 1180px;
  --header-height: 72px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(168, 104, 24, 0.08), transparent 32rem),
    linear-gradient(180deg, var(--paper), #fffdf9 45%, var(--paper-deep));
  color: var(--ink);
  font-family: Optima, Candara, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(168, 104, 24, 0.65);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 248, 242, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(22, 34, 56, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  rotate: 45deg;
}

.site-nav {
  gap: clamp(12px, 2vw, 30px);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

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

.hero {
  position: relative;
  min-height: min(840px, 100svh);
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero-carousel,
.hero picture,
.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
  will-change: opacity;
}

.hero-image.is-active {
  opacity: 1;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 20, 35, 0.46) 0%, rgba(11, 20, 35, 0.16) 42%, rgba(11, 20, 35, 0.82) 100%),
    linear-gradient(90deg, rgba(11, 20, 35, 0.68), rgba(11, 20, 35, 0.05) 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(56px, 9vh, 108px);
  color: var(--white);
  text-align: center;
}

.eyebrow,
.section-kicker,
.feature-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c47f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 10vw, 8.8rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.showing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.66);
}

.showing .button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--stone-dark);
}

.section-shell {
  width: min(var(--max), calc(100% - clamp(32px, 7vw, 96px)));
  margin-inline: auto;
  padding: clamp(68px, 10vw, 128px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  border-bottom: 1px solid rgba(156, 140, 117, 0.28);
}

.intro h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  min-width: min(410px, 100%);
}

.intro-points span {
  padding: 14px 16px;
  border: 1px solid rgba(156, 140, 117, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.section-heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

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

.feature-card {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.feature-wide {
  grid-column: span 2;
}

.image-button,
.highlight-photo,
.detail-panel,
.floor-preview-media,
.floor-preview-link,
.gallery-item,
.lightbox-close,
.lightbox-nav {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.image-button,
.detail-panel,
.gallery-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}

.image-button img,
.detail-panel img,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.image-button {
  aspect-ratio: 16 / 9;
}

.image-button:hover img,
.highlight-photo:hover img,
.floor-preview-media:hover img,
.gallery-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.highlight-stack {
  display: grid;
  gap: clamp(50px, 8vw, 88px);
}

.highlight-feature {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  padding-block: clamp(30px, 5vw, 58px);
  border-top: 1px solid rgba(156, 140, 117, 0.32);
}

.highlight-feature:last-child {
  border-bottom: 1px solid rgba(156, 140, 117, 0.32);
}

.highlight-feature-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.5fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
}

.highlight-feature-heading h3 {
  max-width: 790px;
  font-size: clamp(1.9rem, 3.8vw, 3.6rem);
}

.highlight-lede {
  justify-self: end;
  max-width: 430px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.6;
}

.highlight-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
}

.highlight-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.highlight-photo {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(156, 140, 117, 0.28);
  border-radius: var(--radius);
  background: #fffdf9;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.highlight-photo-main,
.highlight-photo-wide {
  grid-column: 1 / -1;
}

.highlight-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.highlight-photo-product img {
  aspect-ratio: 1 / 1;
  padding: 10px;
  background: var(--white);
  object-fit: contain;
}

.highlight-photo-wide img {
  aspect-ratio: 16 / 7;
}

.highlight-photo span {
  display: block;
  min-width: 0;
  padding: 11px 13px 12px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

.highlight-details {
  min-width: 0;
}

.highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(156, 140, 117, 0.3);
}

.highlight-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(156, 140, 117, 0.22);
}

.highlight-number,
.school-score {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.highlight-number {
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
}

.highlight-item h4,
.destination-item h4,
.school-list-heading h4 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  font-weight: 500;
  line-height: 1.12;
}

.highlight-item p,
.destination-item p,
.school-list-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.52;
}

.highlight-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgba(168, 104, 24, 0.46);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.highlight-link:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

.highlight-bonus {
  display: grid;
  grid-template-columns: minmax(140px, auto) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(168, 104, 24, 0.42);
}

.highlight-bonus strong {
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.08;
}

.highlight-bonus p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.highlight-bonus span {
  color: var(--ink);
  font-weight: 900;
}

.destination-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(156, 140, 117, 0.3);
}

.destination-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(156, 140, 117, 0.22);
}

.school-list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid rgba(168, 104, 24, 0.42);
}

.school-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.school-list-heading p {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-style: italic;
}

.school-ratings {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-ratings li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(156, 140, 117, 0.22);
}

.school-score {
  width: 70px;
  height: 70px;
  font-size: 1.5rem;
}

.school-ratings strong,
.school-ratings span:not(.school-score) {
  display: block;
}

.school-ratings strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 500;
  line-height: 1.16;
}

.school-ratings span:not(.school-score) {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.detail-panel {
  border: 1px solid rgba(156, 140, 117, 0.25);
}

.detail-panel img {
  object-fit: contain;
  background: #fffdf9;
}

.floor-plan {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.floor-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.floor-copy h2 {
  margin-bottom: 24px;
}

.text-link {
  display: inline-flex;
  color: var(--accent-dark);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

button.text-link {
  border-top: 0;
  border-right: 0;
  border-left: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.floor-experience {
  display: grid;
  gap: 18px;
  width: min(820px, 100%);
  justify-self: end;
  padding: clamp(16px, 2.6vw, 24px);
  background: rgba(255, 253, 249, 0.94);
}

.floor-experience-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(156, 140, 117, 0.24);
}

.floor-experience-header h3 {
  max-width: 430px;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
}

.floor-active-pill {
  flex: 0 0 auto;
  max-width: 220px;
  padding: 9px 12px;
  border: 1px solid rgba(168, 104, 24, 0.36);
  border-radius: 999px;
  background: rgba(168, 104, 24, 0.1);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.floor-level-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(156, 140, 117, 0.32);
  border-radius: 999px;
  background: rgba(240, 235, 225, 0.58);
}

.floor-level-toggle-button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.floor-level-toggle-button:hover,
.floor-level-toggle-button.is-active {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(168, 104, 24, 0.18);
}

.floor-map-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(8px, 1.8vw, 16px);
  border: 1px solid rgba(156, 140, 117, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0.76), rgba(255, 253, 249, 0.92)),
    #fffdf9;
}

.floor-map {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(420px, 62vh, 560px);
  -webkit-tap-highlight-color: transparent;
}

.floor-level.is-hidden {
  display: none;
}

.floor-level-title {
  fill: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.floor-zone {
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.floor-zone-fill,
.floor-hall {
  fill: #dcefdc;
  stroke: #789174;
  stroke-linejoin: round;
  stroke-width: 5;
  transition: fill 160ms ease, stroke 160ms ease, stroke-width 160ms ease;
  vector-effect: non-scaling-stroke;
}

.floor-zone-garage .floor-zone-fill {
  fill: #f5d3d2;
  stroke: #aa7d7a;
}

.floor-zone-patio .floor-zone-fill {
  fill: #eef0df;
  stroke: #9a9a68;
  stroke-dasharray: 8 6;
}

.floor-zone.is-active .floor-zone-fill,
.floor-zone:focus-visible .floor-zone-fill {
  fill: #f7e4b9;
  stroke: var(--accent);
  stroke-width: 6;
}

.floor-zone:focus-visible .floor-zone-fill {
  stroke-width: 7;
}

.floor-zone-label {
  pointer-events: none;
  fill: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.floor-zone-label-small {
  font-size: 10px;
}

.floor-zone.is-active .floor-zone-label,
.floor-zone:focus-visible .floor-zone-label {
  fill: var(--accent-dark);
}

@media (hover: hover) and (pointer: fine) {
  .floor-zone:hover .floor-zone-fill {
    fill: #f7e4b9;
    stroke: var(--accent);
    stroke-width: 6;
  }

  .floor-zone:hover .floor-zone-label {
    fill: var(--accent-dark);
  }
}

.floor-hall {
  fill: #d5e7d3;
  pointer-events: none;
}

.floor-hall-label {
  fill: rgba(49, 64, 90, 0.74);
}

.floor-stairs {
  fill: url("#stair-lines");
  stroke: rgba(120, 145, 116, 0.7);
  stroke-width: 2;
  pointer-events: none;
}

.floor-stair-line {
  fill: none;
  stroke: rgba(120, 145, 116, 0.42);
  stroke-width: 1;
}

.floor-preview {
  display: grid;
  grid-template-columns: minmax(190px, 0.95fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.floor-preview-media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(156, 140, 117, 0.25);
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}

.floor-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 180ms ease, transform 260ms ease, filter 260ms ease;
}

.floor-preview-media img.is-loading {
  opacity: 0.62;
}

.floor-preview-copy {
  min-width: 0;
}

.floor-preview-level {
  margin-bottom: 7px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floor-preview-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.floor-preview-copy p:not(.floor-preview-level) {
  margin-bottom: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.floor-preview-link {
  justify-self: start;
}

.gallery-count {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(156, 140, 117, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

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

.gallery-item {
  display: grid;
  gap: 10px;
  min-width: 0;
  text-align: left;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
}

.gallery-caption {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 750;
}

.showing {
  padding-top: 34px;
}

.showing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(156, 140, 117, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffdf9, #efe6d7);
  box-shadow: var(--shadow);
}

.showing-card h2 {
  max-width: 720px;
  margin-bottom: 14px;
}

.showing-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-note {
  grid-column: 1 / -1;
  font-size: 0.84rem !important;
  overflow-wrap: anywhere;
}

.contact-note a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--accent-dark);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(44px, 74px) minmax(0, 1fr) minmax(44px, 74px);
  align-items: center;
  gap: 10px;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(10, 16, 27, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  display: grid;
  gap: 14px;
  max-width: min(1180px, 100%);
  max-height: calc(100svh - 84px);
  margin: 0 auto;
}

.lightbox-frame img {
  max-height: calc(100svh - 132px);
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-frame figcaption {
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  justify-self: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.lightbox-close::before,
.lightbox-close::after,
.lightbox-nav::before {
  content: "";
  position: absolute;
  display: block;
}

.lightbox-close::before,
.lightbox-close::after {
  width: 19px;
  height: 2px;
  background: var(--white);
}

.lightbox-close::before {
  rotate: 45deg;
}

.lightbox-close::after {
  rotate: -45deg;
}

.lightbox-nav::before {
  width: 13px;
  height: 13px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

.lightbox-prev::before {
  translate: 3px 0;
  rotate: -135deg;
}

.lightbox-next::before {
  translate: -3px 0;
  rotate: 45deg;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    min-height: auto;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.78rem;
  }

  .nav-cta {
    padding: 7px 10px;
  }

  .intro,
  .floor-plan,
  .showing-card {
    grid-template-columns: 1fr;
  }

  .floor-copy {
    position: static;
  }

  .floor-experience {
    justify-self: stretch;
    max-width: none;
  }

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

  .feature-wide {
    grid-column: span 1;
  }

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

  .highlight-feature-heading,
  .highlight-content {
    grid-template-columns: 1fr;
  }

  .highlight-lede {
    justify-self: start;
    max-width: 720px;
  }

  .showing-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: absolute;
    color: var(--white);
  }

  .site-header.is-scrolled {
    background: transparent;
    color: var(--white);
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .intro-points,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .highlight-stack {
    gap: 34px;
  }

  .highlight-feature {
    gap: 24px;
    padding-block: 38px;
  }

  .highlight-feature-heading h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .highlight-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
  }

  .highlight-number {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .highlight-bonus {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .school-list-heading {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  .school-ratings li {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
  }

  .school-score {
    width: 62px;
    height: 62px;
    font-size: 1.28rem;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .floor-experience-header,
  .floor-preview {
    grid-template-columns: 1fr;
  }

  .floor-experience-header {
    align-items: start;
    flex-direction: column;
  }

  .floor-active-pill {
    max-width: none;
    text-align: left;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    align-items: end;
  }

  .lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-row: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .nav-cta {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 660px;
  }

  .button {
    width: 100%;
  }

  .showing-actions {
    width: 100%;
  }

  .section-shell {
    width: calc(100% - 32px);
  }

  .highlight-media-grid {
    grid-template-columns: 1fr;
  }

  .highlight-photo-product img,
  .highlight-photo-wide img {
    aspect-ratio: 4 / 3;
  }

  .highlight-photo span {
    padding-inline: 12px;
  }

  .floor-map-frame {
    padding-inline: 8px;
  }

  .floor-map {
    height: clamp(380px, 58vh, 500px);
  }

  .school-ratings li {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

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