:root {
  --ink: #000000;
  --charcoal: #000000;
  --paper: #ffffff;
  --soft-paper: #f7f7f7;
  --mist: #ececec;
  --line: rgba(0, 0, 0, 0.16);
  --chartreuse: #e9e611;
  --chartreuse-soft: rgba(233, 230, 17, 0.88);
  --shadow: rgba(0, 0, 0, 0.38);
  --header-height: 104px;
  --image-treatment: saturate(1.02) contrast(1.02) brightness(1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "arboria", Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

.site-shell {
  min-height: 100svh;
  background: var(--paper);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: flex;
  width: 100%;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(32px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    background 420ms ease,
    box-shadow 420ms ease,
    color 420ms ease;
}

.site-header-dark {
  background: rgba(0, 0, 0, 0.985);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  color: white;
}

.brand-link {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(154px, 12vw, 220px);
}

.brand-link img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
  color: inherit;
}

.site-nav a,
.site-nav button {
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
  opacity: 0.72;
  text-transform: uppercase;
  transition:
    opacity 220ms ease,
    color 220ms ease,
    background 220ms ease;
}

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

.site-nav button,
.solid-cta,
.exterior-content button,
.payment-section button,
.community-section a,
.submit-button {
  display: inline-flex;
  min-width: 136px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--chartreuse);
  background: var(--chartreuse);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
  opacity: 1;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.site-nav button:hover,
.solid-cta:hover,
.exterior-content button:hover,
.payment-section button:hover,
.community-section a:hover,
.submit-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  color: white;
  transform: translateY(-2px);
}

.site-nav button:focus-visible,
.solid-cta:focus-visible,
.exterior-content button:focus-visible,
.payment-section button:focus-visible,
.community-section a:focus-visible,
.submit-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.site-header-dark .site-nav button {
  background: var(--chartreuse);
  color: var(--ink);
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 56px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  transition:
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease;
}

.site-header-dark .menu-toggle {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-8px);
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(8px);
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--ink);
}

.hero-video,
.hero-shade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  top: var(--header-height);
}

.hero-video {
  width: 100%;
  height: calc(100% - var(--header-height));
  object-fit: cover;
  object-position: 78% center;
  filter: var(--image-treatment);
  transform: scale(1.24);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0.42)),
    rgba(0, 0, 0, 0.06);
}

section,
footer {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.about-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(124px, 10vw, 154px) clamp(28px, 5vw, 72px) 0;
  background: var(--paper);
}

.leaf-wash,
.soft-room-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 16%, rgba(233, 230, 17, 0.08), transparent 35%),
    linear-gradient(128deg, transparent 0 22%, rgba(0, 0, 0, 0.04) 22% 28%, transparent 28% 45%, rgba(0, 0, 0, 0.03) 45% 52%, transparent 52% 100%);
  opacity: 0.7;
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(42px, 8vw, 116px);
  max-width: 1160px;
  margin: 0 auto;
}

.about-heading h1,
.location-top h2,
.community-section h2,
.payment-section h2,
.exterior-content h2,
.apartment-text h2 {
  margin: 0;
  font-family: "bely-display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.about-heading h1 {
  font-size: clamp(44px, 5vw, 82px);
  line-height: 0.96;
}

.about-copy p,
.location-top p,
.community-section p,
.apartment-text p,
.exterior-content p {
  margin: 0;
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.72;
}

.about-copy {
  padding-top: 6px;
}

.solid-cta,
.exterior-content button,
.community-section a,
.payment-section button {
  min-width: 150px;
  margin-top: 26px;
}

.about-image-fact p,
.section-kicker,
.form-kicker {
  margin: 0 0 10px;
  color: rgba(0, 0, 0, 0.78);
  font-size: 17px;
  letter-spacing: 1.5px;
  line-height: 1.35;
  text-transform: uppercase;
}

.about-image-fact h2 {
  margin: 0;
  font-size: clamp(22px, 2.05vw, 34px);
  line-height: 1.18;
  text-transform: uppercase;
}

.about-building-frame {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin: clamp(54px, 6vw, 96px) calc(50% - 50vw) 0;
}

.about-building {
  display: block;
  width: 100vw;
  max-width: none;
  margin: 0;
  filter: drop-shadow(0 34px 64px rgba(0, 0, 0, 0.18));
}

.about-image-fact {
  position: absolute;
  top: clamp(72px, 8.5vw, 132px);
  left: clamp(42px, 12vw, 210px);
  z-index: 2;
  width: min(390px, 34vw);
  text-align: center;
}

.interior-intro {
  position: relative;
  overflow: hidden;
  background: var(--soft-paper);
}

.section-lineup {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 350px;
  place-items: center;
  padding: clamp(80px, 10vw, 134px) 24px clamp(60px, 7vw, 88px);
  text-align: center;
}

.section-lineup h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.22;
}

.section-lineup span {
  display: block;
  width: 198px;
  height: 18px;
  margin-top: 28px;
  background:
    linear-gradient(var(--ink), var(--ink)) left 8px / 92px 1px no-repeat,
    linear-gradient(135deg, transparent 0 47%, var(--ink) 49% 53%, transparent 55% 100%) center / 34px 18px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right 8px / 92px 1px no-repeat;
  opacity: 0.78;
}

.interior-hero-card {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  margin: 0;
  overflow: hidden;
}

.interior-hero-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  content: "";
}

.interior-hero-card img {
  width: 100%;
  height: calc(100svh - var(--header-height));
  min-height: 680px;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02) brightness(0.88);
}

.interior-hero-card figcaption {
  position: absolute;
  right: 7vw;
  bottom: clamp(110px, 12vh, 150px);
  left: 7vw;
  z-index: 1;
  color: white;
  font-family: "bely-display", Georgia, serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
}

.apartments-section {
  position: relative;
  padding: clamp(90px, 11vw, 140px) clamp(28px, 5vw, 72px);
  background: var(--paper);
}

.apartments-section::before {
  position: absolute;
  inset: 0;
  background: url("public/assets/amenities/apartment-editorial-warm.webp") center / cover;
  content: "";
  opacity: 0.055;
}

.apartment-text,
.apartment-carousel {
  position: relative;
  z-index: 1;
}

.apartment-text {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(44px, 8vw, 120px);
  max-width: 1160px;
  margin: 0 auto 76px;
  align-items: start;
}

.apartment-text h2 {
  font-size: clamp(44px, 5.2vw, 82px);
  line-height: 0.96;
}

.apartment-text h3 {
  margin: 0 0 26px;
  font-size: clamp(28px, 2.6vw, 44px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}

.apartment-carousel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.95fr);
  gap: 14px;
  max-width: 1430px;
  margin: 0 auto;
}

.carousel-main,
.carousel-side {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

.carousel-main img,
.carousel-side img {
  width: 100%;
  object-fit: cover;
  filter: var(--image-treatment);
}

.carousel-main img {
  height: clamp(430px, 48vw, 620px);
}

.carousel-side img {
  height: clamp(260px, 28vw, 440px);
}

.carousel-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--soft-paper);
}

.carousel-side p {
  margin: 0;
  padding: 28px 28px 18px;
  font-size: 16px;
  line-height: 1.55;
}

.carousel-side a {
  padding: 0 28px 30px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--chartreuse);
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 0;
  background: rgba(0, 0, 0, 0.04);
  color: white;
  transform: translateY(-50%);
}

.carousel-arrow span {
  display: block;
  width: 22px;
  height: 22px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.carousel-prev {
  left: 24px;
}

.carousel-prev span {
  transform: rotate(-45deg);
}

.carousel-next {
  right: 24px;
}

.carousel-next span {
  transform: rotate(135deg);
}

.carousel-dots {
  position: absolute;
  top: 22px;
  left: 22px;
  display: flex;
  gap: 10px;
}

.carousel-dots button {
  width: 38px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.42);
}

.carousel-dots button.is-active {
  background: white;
}

.exterior-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.exterior-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--image-treatment);
}

.exterior-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.66)),
    rgba(0, 0, 0, 0.2);
}

.exterior-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: clamp(120px, 12vw, 170px) clamp(28px, 5vw, 76px);
}

.exterior-content h2 {
  font-size: clamp(48px, 5.4vw, 88px);
  line-height: 0.95;
}

.exterior-content p {
  max-width: 760px;
  margin-top: 24px;
}

.down-cue {
  position: absolute;
  right: 0;
  bottom: 8svh;
  left: 0;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
  color: white;
  font-size: clamp(24px, 3.2vw, 48px);
  letter-spacing: 0;
}

.down-cue span {
  font-family: "bely-display", Georgia, serif;
}

.down-cue i {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  animation: cue-pulse 1600ms ease-in-out infinite;
}

.down-cue i::before {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translate(-2px, -2px);
}

.amenities-section {
  padding: clamp(80px, 9vw, 130px) 0 0;
  background: white;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(50px, 6vw, 88px) clamp(30px, 5vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(28px, 5vw, 72px) clamp(90px, 10vw, 140px);
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
}

.amenity-item img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.62;
}

.amenity-item p {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.35;
}

.amenity-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.amenity-strip img {
  width: 100%;
  height: clamp(260px, 26vw, 430px);
  object-fit: cover;
  filter: var(--image-treatment);
}

.location-section {
  padding: clamp(64px, 7vw, 96px) clamp(28px, 5vw, 72px) clamp(58px, 7vw, 90px);
  background: white;
}

.location-top {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1fr);
  gap: clamp(36px, 5vw, 72px);
  max-width: 1280px;
  margin: 0 auto 42px;
  align-items: stretch;
}

.location-top > div {
  display: flex;
  min-height: clamp(320px, 27vw, 420px);
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.location-top h2 {
  font-size: clamp(46px, 5vw, 82px);
  line-height: 0.98;
}

.location-top p {
  margin-top: 24px;
}

.location-top img {
  width: 100%;
  height: clamp(320px, 27vw, 420px);
  min-height: 0;
  object-fit: cover;
  filter: var(--image-treatment);
}

.distance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 30px 32px;
}

.distance-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 12px;
}

.distance-item strong {
  font-family: "bely-display", Georgia, serif;
  font-size: clamp(38px, 3.4vw, 56px);
  font-weight: 400;
  line-height: 1;
}

.distance-item span {
  font-size: 14px;
}

.distance-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: clamp(58px, 7vw, 96px) clamp(28px, 5vw, 72px);
  background: white;
}

.community-section > img {
  width: 100%;
  height: clamp(280px, 26vw, 400px);
  object-fit: cover;
  filter: var(--image-treatment);
}

.community-section > div {
  max-width: 720px;
}

.community-section h2 {
  font-size: clamp(44px, 5vw, 82px);
  line-height: 1;
}

.community-section p:not(.section-kicker) {
  margin-top: 22px;
}

.payment-section {
  display: grid;
  min-height: 100svh;
  align-content: center;
  justify-items: center;
  padding: clamp(70px, 7vw, 104px) clamp(28px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

.payment-section h2 {
  margin-bottom: clamp(34px, 4vw, 56px);
  font-size: clamp(44px, 5vw, 82px);
  line-height: 1;
  text-align: center;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, 100%);
  gap: clamp(34px, 4vw, 56px) clamp(28px, 4vw, 58px);
}

.payment-item {
  display: grid;
  justify-items: center;
  text-align: center;
}

.payment-wide {
  grid-column: span 4;
}

.payment-item strong {
  font-family: "bely-display", Georgia, serif;
  font-size: clamp(36px, 4.2vw, 58px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.payment-item span {
  width: 140px;
  height: 1px;
  margin: 16px 0 10px;
  background: rgba(255, 255, 255, 0.82);
}

.payment-item p {
  max-width: 220px;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.payment-section button {
  margin-top: clamp(34px, 4vw, 52px);
}

.footer-section {
  position: relative;
  min-height: 95svh;
  overflow: hidden;
  padding: clamp(90px, 10vw, 140px) clamp(28px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

.footer-section > img,
.footer-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-section > img {
  object-fit: cover;
  filter: var(--image-treatment);
}

.footer-shade {
  background: rgba(0, 0, 0, 0.64);
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  max-width: 1160px;
  min-height: 70svh;
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  justify-items: center;
  text-align: center;
}

.footer-brand img {
  width: min(320px, 70%);
  margin-bottom: 34px;
}

.footer-brand p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
}

.footer-brand .copyright {
  margin-top: 46px;
}

.lead-form {
  display: grid;
  gap: 11px;
  width: min(430px, 100%);
}

.modal-card .lead-form {
  width: 100%;
}

.lead-form h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.lead-form input,
.lead-form select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0;
  background: white;
  color: var(--ink);
  font-size: 14px;
}

.phone-field {
  display: grid;
  grid-template-columns: 64px 1fr;
}

.phone-field button {
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-right: 0;
  background: white;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.4px;
}

.submit-button {
  width: 100%;
  height: 44px;
  padding: 12px 18px;
  letter-spacing: 1.4px;
}

.legal-copy {
  margin: 4px 0 0;
  color: rgba(0, 0, 0, 0.66);
  font-size: 11.5px;
  line-height: 1.45;
}

.lead-form-compact {
  padding: clamp(34px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(300px, 560px) minmax(330px, 410px);
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 64px);
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(2px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-media {
  align-self: center;
  height: min(58svh, 540px);
  background: url("public/assets/hero/seven-x-seven-facade-evening.webp") center / cover;
  filter: var(--image-treatment);
}

.modal-card {
  position: relative;
  align-self: center;
  display: grid;
  align-content: center;
  min-height: min(58svh, 540px);
  padding: clamp(30px, 4vw, 48px);
  background: white;
  color: var(--ink);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
}

.modal-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  background: rgba(0, 0, 0, 0.58);
}

@media (min-width: 1081px) {
  .hero {
    min-height: 100vh;
  }

  .about-section,
  .apartments-section,
  .location-section,
  .community-section,
  .payment-section,
  .footer-section {
    padding-right: clamp(48px, 5vw, 88px);
    padding-left: clamp(48px, 5vw, 88px);
  }

  .about-section,
  .apartments-section,
  .payment-section,
  .footer-section,
  .exterior-section {
    min-height: 100vh;
  }

  .location-section,
  .community-section {
    min-height: auto;
  }

  .about-grid,
  .apartment-text,
  .apartment-carousel,
  .location-top,
  .distance-grid {
    width: 100%;
    max-width: none;
  }

  .about-grid,
  .apartment-text {
    gap: clamp(56px, 8vw, 140px);
  }

  .location-top {
    gap: clamp(36px, 5vw, 72px);
  }

  .about-building-frame {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .apartment-carousel {
    grid-template-columns: minmax(0, 2.05fr) minmax(340px, 0.86fr);
  }

  .carousel-main img {
    height: clamp(540px, 58vh, 720px);
  }

  .carousel-side img {
    height: clamp(330px, 35vh, 500px);
  }

  .location-top img {
    height: clamp(320px, 27vw, 420px);
    min-height: 0;
  }

  .footer-grid {
    width: 100%;
    max-width: none;
  }
}

.modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes hero-drift {
  from {
    transform: scale(1.24) translateX(0);
  }

  to {
    transform: scale(1.28) translateX(-1.2%);
  }
}

@keyframes cue-pulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 1080px) {
  :root {
    --header-height: 96px;
  }

  .site-header {
    padding: 22px 28px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 6px 28px 24px;
    background: inherit;
    color: inherit;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
  }

  .site-nav button {
    margin-top: 12px;
  }

  .about-grid,
  .apartment-text,
  .location-top,
  .community-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-building-frame {
    width: min(960px, 92vw);
    margin-right: auto;
    margin-left: auto;
  }

  .apartment-carousel {
    grid-template-columns: 1fr;
  }

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

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

  .modal-backdrop {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .modal-media {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 104px;
  }

  .site-header {
    padding: 24px 12px 22px;
  }

  .brand-link {
    width: 164px;
  }

  .menu-toggle {
    width: 56px;
    height: 42px;
  }

  .site-nav {
    padding: 4px 18px 24px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-video {
    object-position: 72% center;
  }

  .about-section,
  .apartments-section,
  .location-section,
  .community-section,
  .payment-section,
  .footer-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .about-section {
    min-height: auto;
    padding-top: 92px;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-building-frame {
    width: 112vw;
    max-width: none;
    margin-top: 76px;
    margin-left: -10vw;
  }

  .about-image-fact {
    top: 24px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(300px, 72vw);
    transform: translateX(-50%);
  }

  .section-lineup {
    min-height: 320px;
    padding-top: 72px;
  }

  .interior-hero-card img,
  .carousel-main img,
  .carousel-side img {
    height: 430px;
  }

  .interior-hero-card figcaption {
    bottom: 40px;
    font-size: 38px;
    text-align: left;
  }

  .apartment-text {
    gap: 24px;
    margin-bottom: 42px;
  }

  .carousel-side p {
    padding: 22px 22px 12px;
  }

  .carousel-side a {
    padding: 0 22px 24px;
  }

  .carousel-arrow {
    width: 48px;
    height: 48px;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }

  .exterior-content {
    padding: 96px 18px;
  }

  .down-cue {
    bottom: 6svh;
    padding: 0 18px;
    font-size: 31px;
    text-align: center;
  }

  .amenity-grid,
  .distance-grid,
  .payment-grid,
  .amenity-strip {
    grid-template-columns: 1fr;
  }

  .amenity-grid {
    gap: 34px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .amenity-strip img {
    height: 280px;
  }

  .location-top {
    margin-bottom: 52px;
  }

  .location-top img {
    height: 280px;
    min-height: 0;
  }

  .distance-grid {
    gap: 30px;
    padding: 34px 0;
  }

  .distance-item {
    grid-template-columns: 68px 42px 1fr;
  }

  .community-section > img {
    height: 260px;
  }

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

  .payment-section {
    min-height: auto;
  }

  .payment-grid {
    gap: 48px;
  }

  .footer-grid {
    min-height: auto;
  }

  .lead-form-compact {
    padding: 28px 18px;
  }

  .modal-backdrop {
    padding: 18px 8px;
  }

  .modal-card {
    min-height: auto;
    padding: 50px 24px 28px;
  }

  .legal-copy {
    font-size: 11px;
  }
}

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

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