@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Libre+Baskerville:wght@700&display=swap');

:root {
  --ink: #17211f;
  --ink-soft: #4e5b58;
  --muted: #6f7a76;
  --line: #d9e0dd;
  --canvas: #f5f7f4;
  --panel: #ffffff;
  --panel-soft: #edf2ee;
  --forest: #0d3b2e;
  --forest-2: #155443;
  --sage: #8fa99b;
  --gold: #b98b46;
  --clay: #c36f45;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 33, 31, 0.12);
  --shadow-soft: 0 10px 30px rgba(18, 33, 31, 0.08);
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: var(--site-header-height, 0px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

a:hover {
  color: var(--forest-2);
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
}

header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 33, 31, 0.1);
  backdrop-filter: blur(14px);
}

.topbar {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.topbar a {
  color: var(--white);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.topbar-social span,
.footer-social-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #10231e;
  font-family: Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.pill.accent {
  background: var(--gold);
  border-color: var(--gold);
  color: #10231e;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  width: auto;
  height: 72px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a,
.nav-cta .nav-link-aux {
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-cta .nav-link-aux:hover {
  background: var(--panel-soft);
  color: var(--forest);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(13, 59, 46, 0.22);
}

.button.primary:hover {
  background: var(--forest-2);
  color: var(--white);
  transform: translateY(-1px);
}

.button.ghost {
  background: transparent;
  border-color: rgba(23, 33, 31, 0.22);
  color: var(--forest);
}

.button.ghost:hover {
  border-color: var(--forest);
  background: rgba(13, 59, 46, 0.06);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--forest);
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--site-header-height, 0px) - 42px);
  display: grid;
  align-items: center;
  padding: 92px 0 76px;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(5, 28, 22, 0.9) 0%, rgba(5, 28, 22, 0.7) 46%, rgba(5, 28, 22, 0.22) 100%),
    url('images/flash/image1.jpg');
  background-position: center;
  background-size: var(--page-hero-size, cover);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(5, 28, 22, 0.62), transparent);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: grid;
  gap: 22px;
  max-width: 720px;
}

.hero-content.center {
  margin: 0;
  text-align: left;
}

.hero-content > * {
  opacity: 0;
  animation: fadeUp 0.85s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.08s; }
.hero-content > *:nth-child(2) { animation-delay: 0.16s; }
.hero-content > *:nth-child(3) { animation-delay: 0.24s; }
.hero-content > *:nth-child(4) { animation-delay: 0.32s; }
.hero-content > *:nth-child(5) { animation-delay: 0.4s; }

.eyebrow,
.special-eyebrow {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.page-hero h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 1.02;
}

.hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

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

.hero .button.primary {
  background: var(--gold);
  color: #11221d;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.hero .button.primary:hover {
  background: #c99b56;
  color: #11221d;
}

.hero .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
}

.hero .button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(700px, 100%);
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.badge {
  min-height: 76px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.section {
  padding: 82px 0;
}

.section:nth-of-type(even):not(.dark) {
  background: var(--panel);
}

.section[style*='var(--mist)'],
.availability-mid,
.availability-form-bg,
.floor-plans-section,
.availability-hero {
  background: var(--panel-soft) !important;
}

.section.dark {
  background: var(--forest);
  color: var(--white);
}

.section.dark .section-subtitle,
.section.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section.dark .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-title {
  margin-top: 4px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.1;
}

.section-subtitle {
  max-width: 620px;
  margin-top: 12px;
  color: var(--ink-soft);
}

.split,
.feature-highlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.split.swap {
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.split.swap.reverse {
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
}

.feature-media,
.feature-photo,
.contact-photo,
.portal-photo,
.resident-card-media,
.map-placeholder {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.feature-media {
  aspect-ratio: 4 / 3;
}

.feature-media img,
.feature-photo img,
.contact-photo img,
.portal-photo img,
.resident-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-block,
.card,
.plan-card,
.contact-card,
.contact-page .contact-info-card,
.contact-page .contact-form-card,
.portal-card,
.resident-card,
.availability-copy-card,
.availability-form-copy,
.apply-form-copy,
.tour-form-copy {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 18px;
}

.card {
  min-height: 180px;
  padding: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.card.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  box-shadow: none;
}

.card h3,
.feature-block h3,
.plan-card h3,
.resident-card h2,
.contact-page .contact-info-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.card p,
.plan-card p,
.resident-card p,
.contact-page .contact-info-card p,
.availability-copy-card p {
  color: var(--ink-soft);
}

.card.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.policy-card {
  max-width: 900px;
  margin: 0 auto;
}

.policy-card p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.policy-list {
  margin: 14px 0 0 22px;
  color: var(--ink-soft);
}

.policy-list li {
  margin-top: 6px;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 42px;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.feature-block {
  min-height: 100%;
  padding: clamp(24px, 4vw, 36px);
}

.feature-block h3::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 12px;
  background: var(--gold);
}

.feature-subhead {
  margin-top: 22px;
}

.features-page .feature-block,
.features-page .feature-photo {
  min-height: 430px;
}

.floor-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.plan-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 15px;
  min-height: 410px;
  padding: 26px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.plan-card img {
  width: 100%;
  max-width: 310px;
  height: 232px;
  object-fit: contain;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfcfb;
}

.plan-card-button {
  width: 100%;
  margin-top: 2px;
}

.plan-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--panel);
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.gallery-grid.large {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.gallery-grid.large a:first-child {
  grid-row: span 2;
}

.gallery-grid.large img {
  height: 220px;
}

.gallery-grid.large a:first-child img {
  height: 452px;
}

.availability-preview,
.availability-form-layout,
.availability-editorial,
.contact-page .contact-rebuild,
.contact-grid,
.location-grid,
.contact-layout,
.portal-layout,
.resident-layout,
.resident-info,
.apply-form-layout,
.tour-form-layout {
  display: grid;
  gap: 28px;
}

.availability-preview,
.contact-page .contact-rebuild {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.availability-form-layout,
.availability-editorial,
.portal-layout,
.apply-form-layout,
.tour-form-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.contact-grid,
.location-grid,
.resident-layout,
.resident-info {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.availability-copy-card,
.availability-form-copy,
.apply-form-copy,
.tour-form-copy,
.contact-page .contact-info-card,
.contact-page .contact-form-card,
.portal-card,
.resident-card {
  padding: clamp(24px, 4vw, 34px);
}

.floorplan-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.floorplan-summary-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
}

.floorplan-summary-grid strong {
  color: var(--forest);
}

.floorplan-summary-grid span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.availability-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
  min-height: 440px;
}

.availability-photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.availability-preview .availability-photo-grid img {
  min-height: 210px;
}

.availability-form-card {
  width: 100%;
  min-height: 520px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.availability-form-card iframe,
.home-contact-form-card iframe,
.contact-page .contact-form-card iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.availability-note,
.apply-note,
.tour-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.apply-checklist,
.tour-checklist {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}

.apply-checklist li,
.tour-checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
}

.apply-checklist li::before,
.tour-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.map-placeholder {
  position: relative;
  min-height: 360px;
  background: linear-gradient(135deg, #cedbd4, #f1f4f0);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-placeholder::after {
  content: 'Abbington Ranch';
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-hero {
  position: relative;
  min-height: 260px;
  display: grid;
  align-items: end;
  padding: 76px 0 48px;
  overflow: hidden;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(5, 28, 22, 0.86), rgba(5, 28, 22, 0.36)),
    var(--page-hero-image, url('images/backgrounds_page/backgroundz.jpg'));
  background-position: var(--page-hero-position, center);
  background-size: var(--page-hero-size, cover);
  background-repeat: var(--page-hero-repeat, no-repeat);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 600px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.features-page { --page-hero-image: url('images/photo_gallery/photo-07.jpg'); }
.floor-plans-page { --page-hero-image: url('images/photo_gallery/photo-14.jpg'); }
.gallery-page { --page-hero-image: url('images/photo_gallery/photo-06.jpg'); }
.availability-page { --page-hero-image: url('images/check-ava1.jpg'); }
.availability-page {
  --page-hero-size: auto, contain;
  --page-hero-position: center;
  --page-hero-repeat: no-repeat;
}
.location-page { --page-hero-image: url('images/photo_gallery/photo-04.jpg'); }
.contact-page { --page-hero-image: url('images/contact.jpg'); }
.resident-portal-page { --page-hero-image: url('images/contact.jpg'); }
.fees-page { --page-hero-image: url('images/photo_gallery/photo-05.jpg'); }
.privacy-page { --page-hero-image: url('images/photo_gallery/photo-01.jpg'); }
.accessibility-page { --page-hero-image: url('images/photo_gallery/photo-04.jpg'); }
.thank-you-page { --page-hero-image: url('images/photo_gallery/photo-12.jpg'); }

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
}

.contact-card .button {
  margin-top: 8px;
}

.home-contact-form-card {
  min-height: 420px;
}

.portal-photo img {
  height: 340px;
}

.resident-card.resident-dark {
  background: var(--forest);
  color: var(--white);
}

.resident-card.resident-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.resident-card.resident-dark .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.resident-card-media img {
  height: 185px;
}

.special-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 14px 0 4px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: #fff5df;
  color: #4a3215;
  border: 1px solid #ecd2a3;
}

.special-badge strong {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 18, 16, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 85vh;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: #071713;
}

.lightbox-content img {
  width: 900px;
  height: 520px;
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-title {
  margin: 4px 0 12px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-nav,
.lightbox-close {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(7, 23, 19, 0.9);
  color: var(--white);
  cursor: pointer;
}

.lightbox-nav {
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  font-size: 1.55rem;
}

.lightbox-nav.prev { left: -18px; }
.lightbox-nav.next { right: -18px; }

.lightbox-close {
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  font-size: 1.25rem;
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.promo-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.72);
}

.promo-modal__content {
  position: relative;
  z-index: 1;
  max-width: min(900px, 92vw);
  max-height: 90vh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}

.promo-modal.is-open .promo-modal__content {
  transform: translateY(0) scale(1);
}

.promo-modal__content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.promo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 16, 22, 0.85);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

footer {
  padding: 46px 0 36px;
  background: #071713;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-grid h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a,
.footer-links a,
.footer-links span,
.footer-legal {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid p,
.footer-grid a {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.footer-legal {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.84rem;
}

.footer-logos,
.footer-links,
.footer-estream {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logos img {
  width: auto;
  height: 40px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
}

.footer-estream img {
  height: 24px;
}

.clickable-section {
  position: relative;
  cursor: pointer;
}

.clickable-section:focus {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 2px;
    font-size: 0.86rem;
  }

  .logo-image {
    height: 60px;
  }
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .nav-panel {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  .nav-panel.open {
    display: grid;
    gap: 12px;
  }

  .nav-links,
  .nav-cta {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .nav-links a,
  .nav-cta .button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 58px 0 54px;
  }

  .split,
  .split.swap,
  .split.swap.reverse,
  .feature-highlight,
  .availability-preview,
  .availability-form-layout,
  .availability-editorial,
  .contact-page .contact-rebuild,
  .portal-layout,
  .apply-form-layout,
  .tour-form-layout {
    grid-template-columns: 1fr;
  }

  .features-page .feature-block,
  .features-page .feature-photo {
    min-height: auto;
  }

  .features-page .feature-photo img {
    height: 300px;
  }

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

  .gallery-grid.large a:first-child {
    grid-row: auto;
  }

  .gallery-grid.large a:first-child img,
  .gallery-grid.large img {
    height: 210px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

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

  .hero-actions {
    flex-direction: column;
  }

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

  .floorplan-summary-grid {
    grid-template-columns: 1fr;
  }

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

  .badge {
    min-height: 92px;
    padding: 12px 10px;
    font-size: 0.78rem;
  }

  .section-header {
    display: grid;
    align-items: start;
  }

  .availability-photo-grid,
  .gallery-grid.large,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid.large img,
  .gallery-grid.large a:first-child img {
    height: 210px;
  }

  .plan-meta {
    display: grid;
    justify-content: center;
  }

  .lightbox-content {
    max-width: 94vw;
    padding: 12px;
  }

  .lightbox-content img {
    width: 100%;
    height: 60vh;
    max-height: 60vh;
  }

  .lightbox-nav.prev { left: -8px; }
  .lightbox-nav.next { right: -8px; }
}

@media (max-width: 540px) {
  .topbar-actions {
    justify-content: center;
  }

  .logo-image {
    height: 52px;
  }

  .page-hero {
    min-height: 220px;
    padding: 52px 0 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Refined editorial redesign */
:root {
  --ink: #252824;
  --ink-soft: #5f665f;
  --muted: #7c857e;
  --line: #dedbd2;
  --canvas: #fbfaf6;
  --panel: #ffffff;
  --panel-soft: #f1f4ef;
  --forest: #2f6f68;
  --forest-2: #214f4a;
  --sage: #a9bbb1;
  --gold: #d7a84e;
  --clay: #cf7153;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(37, 40, 36, 0.13);
  --shadow-soft: 0 14px 34px rgba(37, 40, 36, 0.09);
}

body {
  background:
    linear-gradient(90deg, rgba(47, 111, 104, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 111, 104, 0.035) 1px, transparent 1px),
    var(--canvas);
  background-size: 52px 52px;
}

.topbar {
  background: #fff8e9;
  border-bottom: 1px solid #eadfc9;
  color: var(--ink);
}

.topbar a {
  color: var(--ink);
}

.pill.accent {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--white);
}

.topbar-social span,
.footer-social-icon {
  background: var(--clay);
  color: var(--white);
}

header {
  background: rgba(251, 250, 246, 0.96);
}

.navbar {
  padding: 16px 0;
}

.nav-links {
  gap: 12px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.nav-links a,
.nav-cta .nav-link-aux {
  padding: 8px 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active,
.nav-cta .nav-link-aux:hover {
  background: transparent;
  border-bottom-color: var(--clay);
  color: var(--forest-2);
}

.button {
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.button.primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(207, 113, 83, 0.24);
}

.button.primary:hover {
  background: #b95f45;
}

.button.ghost {
  border-color: var(--forest);
  color: var(--forest-2);
}

.button.ghost:hover {
  background: rgba(47, 111, 104, 0.08);
}

.hero {
  align-items: center;
  min-height: min(680px, calc(86svh - var(--site-header-height, 0px)));
  padding: 56px 0;
  color: var(--white);
}

.hero::before {
  background-image:
    linear-gradient(90deg, rgba(31, 36, 32, 0.7) 0%, rgba(31, 36, 32, 0.35) 48%, rgba(31, 36, 32, 0.12) 100%),
    url('images/photo_gallery/photo-04.jpg');
  background-position: 50% 42%;
  background-size: 125%;
}

.hero::after {
  height: 100%;
  background:
    linear-gradient(0deg, rgba(31, 36, 32, 0.36), transparent 58%),
    linear-gradient(90deg, rgba(207, 113, 83, 0.16), transparent 46%);
}

.hero-content {
  max-width: 880px;
}

.hero-content.center {
  margin: 0;
  padding-inline: clamp(18px, 3vw, 44px);
  text-align: left;
}

.hero h1 {
  max-width: min(840px, 100%);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(2.75rem, 5.8vw, 5.8rem);
  font-weight: 800;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero p {
  max-width: 650px;
}

.eyebrow,
.special-eyebrow {
  color: var(--clay);
  letter-spacing: 0.18em;
}

.hero .eyebrow {
  color: #ffd79a;
}

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

.hero .button.primary:hover {
  background: #b95f45;
  color: var(--white);
}

.hero-badges {
  width: min(820px, 100%);
  margin-top: 4px;
  background: rgba(251, 250, 246, 0.95);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.badge {
  display: grid;
  align-items: center;
  background: transparent;
  color: var(--ink);
  border-right: 1px solid var(--line);
  backdrop-filter: none;
}

.badge:last-child {
  border-right: 0;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background-color: #fbfaf4;
  background-image:
    linear-gradient(135deg, rgba(47, 111, 104, 0.075) 0 1px, transparent 1px),
    radial-gradient(circle at 2px 2px, rgba(207, 113, 83, 0.13) 1px, transparent 1.3px);
  background-size: 96px 96px, 34px 34px;
  background-position: 0 0, 0 0;
}

.section:nth-of-type(odd):not(.dark)::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  pointer-events: none;
  border: 24px solid rgba(207, 113, 83, 0.09);
  border-radius: 50%;
}

.section:nth-of-type(even):not(.dark)::after {
  content: '';
  position: absolute;
  left: -110px;
  top: -120px;
  width: 340px;
  height: 340px;
  pointer-events: none;
  border: 24px solid rgba(47, 111, 104, 0.08);
  border-radius: 50%;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section:not(.dark)::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62), transparent 38%, transparent 70%, rgba(255, 255, 255, 0.48)),
    radial-gradient(circle at 24% 22%, transparent 0 7%, rgba(47, 111, 104, 0.08) 7.2% 7.8%, transparent 8%),
    radial-gradient(circle at 76% 72%, transparent 0 9%, rgba(207, 113, 83, 0.08) 9.2% 9.8%, transparent 10%),
    radial-gradient(circle at 42% 84%, transparent 0 5%, rgba(185, 139, 70, 0.07) 5.2% 5.8%, transparent 6%),
    radial-gradient(circle at 88% 18%, rgba(47, 111, 104, 0.11), transparent 22%),
    radial-gradient(circle at 12% 82%, rgba(207, 113, 83, 0.1), transparent 20%);
  opacity: 0.72;
}

.section:nth-of-type(even):not(.dark),
.section[style*='var(--mist)'],
.availability-mid,
.availability-form-bg,
.floor-plans-section,
.availability-hero {
  background-color: #f6f2e8 !important;
  background-image:
    linear-gradient(135deg, rgba(47, 111, 104, 0.09) 0 1px, transparent 1px),
    linear-gradient(45deg, rgba(207, 113, 83, 0.08) 0 1px, transparent 1px);
  background-size: 58px 58px, 58px 58px;
  background-position: 0 0, 29px 29px;
}

.section.dark {
  background-color: #2f6f68;
  background-image:
    radial-gradient(circle at 20% 28%, transparent 0 8%, rgba(255, 248, 233, 0.095) 8.2% 8.9%, transparent 9.1%),
    radial-gradient(circle at 82% 66%, transparent 0 10%, rgba(255, 216, 154, 0.08) 10.2% 10.9%, transparent 11.1%),
    radial-gradient(circle at 4px 4px, rgba(255, 248, 233, 0.16) 1.3px, transparent 1.6px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 216, 154, 0.105) 0 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 44px 44px, 44px 44px;
  color: var(--white);
}

.section-title {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.02rem;
}

.split,
.feature-highlight {
  gap: clamp(32px, 6vw, 72px);
}

.feature-media,
.feature-photo,
.contact-photo,
.portal-photo,
.resident-card-media,
.map-placeholder {
  border-radius: 0 44px 0 44px;
  box-shadow: var(--shadow);
}

.feature-media {
  aspect-ratio: 5 / 4;
}

.feature-block,
.card,
.plan-card,
.contact-card,
.contact-page .contact-info-card,
.contact-page .contact-form-card,
.portal-card,
.resident-card,
.availability-copy-card,
.availability-form-copy,
.apply-form-copy,
.tour-form-copy {
  border-color: rgba(95, 102, 95, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(37, 40, 36, 0.08);
}

.card,
.feature-block,
.availability-copy-card,
.resident-card,
.portal-card {
  position: relative;
}

.card::before,
.feature-block::before,
.availability-copy-card::before,
.resident-card::before,
.portal-card::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 3px;
  background: var(--clay);
}

.card,
.feature-block,
.availability-copy-card,
.resident-card,
.portal-card {
  padding-top: 42px;
}

.card.dark {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}

.card.dark p {
  color: var(--ink-soft);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #fbfaf6;
  padding: 9px 14px 9px 10px;
}

.feature-list li::before {
  display: none;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9f0e9;
  color: var(--forest);
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.pet-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(207, 113, 83, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(207, 113, 83, 0.12), rgba(255, 255, 255, 0.82)),
    #fff8ef;
}

.pet-callout h3 {
  margin: 0 0 3px;
}

.pet-callout h3::after {
  display: none;
}

.pet-callout p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.pet-icon {
  width: 46px;
  height: 46px;
  background: var(--clay);
  color: var(--white);
}

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

.reviews-widget-card {
  position: relative;
  min-height: 180px;
  padding: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.features-page .feature-block,
.features-page .feature-photo {
  min-height: 450px;
}

.features-page .split {
  align-items: stretch;
}

.plan-card {
  border-radius: 24px;
}

.plan-card img {
  border: 0;
  border-radius: 16px;
  background: #f8f7f1;
}

.plan-meta {
  color: var(--forest-2);
}

.gallery-grid {
  gap: 16px;
}

.gallery-grid a {
  border-radius: 0 28px 0 28px;
  box-shadow: var(--shadow-soft);
}

.gallery-grid.large {
  grid-template-columns: 1.1fr 0.9fr 1fr;
}

.availability-photo-grid img {
  border-radius: 0 26px 0 26px;
}

.floorplan-summary-grid div {
  border-radius: 16px;
  background: #fff8e9;
}

.page-hero {
  min-height: 310px;
  padding: 96px 0 56px;
  background-image:
    linear-gradient(90deg, rgba(31, 36, 32, 0.76), rgba(31, 36, 32, 0.28)),
    var(--page-hero-image, url('images/backgrounds_page/backgroundz.jpg'));
}

.page-hero h1 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.contact-page .contact-info-card,
.contact-page .contact-form-card,
.availability-form-card {
  border-radius: 24px;
}

.map-placeholder {
  border: 8px solid var(--white);
}

.map-placeholder::after {
  background: var(--clay);
  color: var(--white);
}

.lightbox-content {
  border-radius: 24px;
}

footer {
  background: #252824;
}

.footer-grid h4 {
  color: #fff8e9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cookie-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2200;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(720px, calc(100vw - 48px));
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.cookie-notice.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
}

.cookie-notice h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.cookie-notice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.cookie-notice-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.cookie-notice-actions a {
  color: var(--forest);
  font-weight: 800;
  white-space: nowrap;
}

.cookie-notice-actions .button {
  min-height: 44px;
  padding: 12px 20px;
}

.specials-popup {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 33, 31, 0.38);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.specials-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.specials-popup.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.specials-popup-card {
  position: relative;
  width: min(450px, 100%);
  padding: 42px 28px 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 111, 104, 0.08) 0 1px, transparent 1px),
    linear-gradient(45deg, rgba(207, 113, 83, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(207, 113, 83, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(246, 242, 232, 0.94), rgba(255, 255, 255, 0.98));
  background-size: 30px 30px, 30px 30px, auto, auto;
  border: 1px solid rgba(207, 113, 83, 0.24);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(18, 33, 31, 0.24);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s ease;
}

.specials-popup.is-visible .specials-popup-card {
  transform: translateY(0) scale(1);
}

.specials-popup-card::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(47, 111, 104, 0.12);
  border-radius: 18px;
  pointer-events: none;
}

.specials-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.specials-popup h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.specials-popup p {
  margin: 14px auto 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.specials-popup-options {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.specials-popup-options span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.specials-popup-options span + span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  opacity: 0.75;
}

.chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2300;
  font-family: 'Inter', Arial, sans-serif;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 56px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.chatbot-toggle:hover {
  background: var(--forest-2);
  transform: translateY(-2px);
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: none;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.chatbot.open .chatbot-panel {
  display: block;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 16px;
  background: var(--forest);
  color: var(--white);
}

.chatbot-header h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.chatbot-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.4;
}

.chatbot-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 330px;
  padding: 16px;
  overflow-y: auto;
  background: #fbfaf6;
}

.chatbot-message {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chatbot-message p {
  margin: 0;
}

.chatbot-message.bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.chatbot-message.user {
  align-self: flex-end;
  background: var(--clay);
  color: var(--white);
}

.chatbot-link {
  display: inline-flex;
  margin: 9px 8px 0 0;
  color: var(--forest);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chatbot-suggestions {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
  overflow-x: auto;
  background: #fbfaf6;
}

.chatbot-suggestions button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chatbot-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
}

.chatbot-form button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cookie-notice {
  bottom: 96px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.reveal-left {
  transform: translateX(-34px);
}

.reveal-on-scroll.reveal-right {
  transform: translateX(34px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 1080px) {
  .nav-panel.open {
    border-radius: 18px;
  }

  .nav-links a,
  .nav-cta .button {
    justify-content: center;
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: min(560px, calc(78svh - var(--site-header-height, 0px)));
    padding: 44px 0;
  }

  .hero::before {
    background-size: cover;
    background-position: 54% 42%;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.55rem);
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .badge {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .badge:last-child {
    border-bottom: 0;
  }

  .feature-media,
  .feature-photo,
  .contact-photo,
  .portal-photo,
  .resident-card-media,
  .map-placeholder,
    .gallery-grid a,
    .availability-photo-grid img {
    border-radius: 0 26px 0 26px;
  }

  .cookie-notice {
    right: 16px;
    bottom: 88px;
    left: 16px;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-notice-actions {
    width: 100%;
    justify-content: space-between;
  }

  .chatbot {
    right: 16px;
    bottom: 16px;
  }

  .chatbot-panel {
    bottom: 68px;
  }

  .chatbot-messages {
    max-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
