/* ==========================================================================
   33 Clear Water Bay — static replica
   Design tokens, layout, components, responsive rules and motion.
   Theme: Forest Green + Champagne Gold
   ========================================================================== */

:root {
  --background: #f6faf8;
  --foreground: #10211b;
  --card: #ffffff;
  --primary: #1c5a4a;
  --primary-foreground: #f7fbf9;
  --secondary: #dcebe3;
  --secondary-foreground: #0c2c24;
  --muted: #e6f1eb;
  --muted-foreground: #4d6459;
  --accent: #c9a55c;
  --accent-foreground: #35260f;
  --border: #cfe0d7;

  --font-sans: "Noto Sans TC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif TC", ui-serif, Georgia, "Times New Roman", serif;

  --container: 80rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

img {
  height: auto;
}

::selection {
  background: rgba(28, 90, 74, 0.2);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Shared layout & type
   -------------------------------------------------------------------------- */

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon--md {
  width: 1.25rem;
  height: 1.25rem;
}

.icon--lg {
  width: 2rem;
  height: 2rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 6rem;
}

.section--alt {
  background: var(--secondary);
}

.section-head {
  max-width: 42rem;
}

.eyebrow {
  display: inline;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1rem;
  color: var(--primary);
  text-transform: uppercase;
}

.section-title {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--foreground);
  text-wrap: balance;
}

.section-lead {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: rgba(28, 90, 74, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1px solid rgba(247, 251, 249, 0.4);
  color: var(--background);
}

.btn-outline-light:hover {
  background: rgba(247, 251, 249, 0.1);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 250, 248, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #ffffff;
  transition: color 0.5s ease;
}

.brand-mark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
  letter-spacing: 0.35em;
}

.brand-sub {
  margin-top: 0.25rem;
  font-size: 10px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.3em;
  opacity: 0.8;
}

.is-scrolled .brand {
  color: var(--foreground);
}

.site-header .brand-sub {
  margin-top: 0.125rem;
}

.main-nav {
  display: none;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.is-scrolled .nav-link {
  color: rgba(16, 33, 27, 0.8);
}

.is-scrolled .nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  display: none;
}

.menu-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  color: #ffffff;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.menu-btn:hover {
  background: rgba(201, 165, 92, 0.2);
}

.is-scrolled .menu-btn {
  border-color: var(--border);
  color: var(--foreground);
}

/* --------------------------------------------------------------------------
   Mobile drawer
   -------------------------------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  transition: visibility 0.5s;
}

.drawer.is-open {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(16, 33, 27, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 86%;
  max-width: 28rem;
  height: 100%;
  background: var(--background);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}

.drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.drawer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--foreground);
}

.drawer-brand .brand-mark {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.drawer-brand .brand-sub {
  margin-top: 0.25rem;
  font-size: 10px;
  line-height: 1;
  color: var(--muted-foreground);
}

.drawer-close {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--foreground);
  transition: background-color 0.2s ease;
}

.drawer-close:hover {
  background: var(--muted);
}

.drawer-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding-inline: 1.75rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(207, 224, 215, 0.6);
  opacity: 0;
  transform: translateX(1.5rem);
  transition: opacity 0.5s var(--drawer-delay, 0ms), transform 0.5s var(--drawer-delay, 0ms),
    color 0.2s ease;
}

.drawer.is-open .drawer-link {
  opacity: 1;
  transform: translateX(0);
}

.drawer-link > span:first-child {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.drawer-link:hover > span:first-child {
  color: var(--primary);
}

.drawer-index {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-top: 1px solid var(--border);
}

.drawer-foot .btn {
  width: 100%;
  padding-block: 0.875rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06) brightness(0.94);
  animation: slow-zoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(0.2 0.05 160 / 0.2) 0%,
    transparent 50%,
    oklch(0.18 0.04 160 / 0.3) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.25rem;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 8px oklch(0.15 0.04 160 / 0.5);
}

.hero-title {
  max-width: 48rem;
  font-family: var(--font-serif);
  color: #ffffff;
  text-shadow: 0 2px 16px oklch(0.15 0.04 160 / 0.55);
}

.hero-num {
  display: block;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.05;
}

.hero-name {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.025em;
}

.hero-copy {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.625;
  color: #ffffff;
  text-shadow: 0 1px 10px oklch(0.15 0.04 160 / 0.5);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.hero-actions .btn {
  padding: 1rem 2rem;
}

.scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.scroll-cue:hover {
  color: #ffffff;
}

.scroll-cue > span:first-child {
  font-size: 10px;
  letter-spacing: 0.3em;
}

.scroll-cue .icon {
  animation: bounce 1s infinite;
}

/* --------------------------------------------------------------------------
   Overview
   -------------------------------------------------------------------------- */

.overview-grid {
  display: grid;
  gap: 3.5rem;
}

.overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overview-copy p {
  margin-top: 1.75rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.overview-copy p + p {
  margin-top: 1rem;
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem;
  background: var(--card);
  transition: background-color 0.3s ease;
}

.stat:hover {
  background: var(--secondary);
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 2.5rem;
  color: var(--primary);
}

.stat-unit {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.stat-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.25rem;
  letter-spacing: 0.025em;
  color: rgba(16, 33, 27, 0.7);
}

/* --------------------------------------------------------------------------
   Amenities
   -------------------------------------------------------------------------- */

.amenities-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 3.5rem;
  border-radius: 1rem;
  background: var(--border);
}

.amenity-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--card);
  transition: background-color 0.3s ease;
}

.amenity-card:hover {
  background: var(--primary);
}

.amenity-icon {
  color: var(--primary);
  transition: color 0.3s ease;
}

.amenity-card:hover .amenity-icon {
  color: var(--primary-foreground);
}

.amenity-card h3 {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75rem;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.amenity-card:hover h3 {
  color: var(--primary-foreground);
}

.amenity-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.amenity-card:hover p {
  color: rgba(247, 251, 249, 0.85);
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-row {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.gallery-row + .gallery-row {
  margin-top: 5rem;
}

.gallery-media {
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06) brightness(0.94);
  transition: transform 1.2s ease-out;
}

.gallery-media:hover img {
  transform: scale(1.05);
}

.gallery-copy .section-title {
  font-size: 1.875rem;
}

.gallery-copy p {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.gallery-row--reverse .gallery-copy {
  order: 2;
}

.gallery-row--reverse .gallery-media {
  order: 1;
}

.gallery-figures {
  display: grid;
  gap: 1.5rem;
  margin-top: 5rem;
}

.gallery-figure {
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06) brightness(0.94);
  transition: transform 1.2s ease-out;
}

.gallery-figure:hover img {
  transform: scale(1.05);
}

.gallery-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1rem;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   Heritage
   -------------------------------------------------------------------------- */

.heritage {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-foreground);
}

.heritage-inner {
  max-width: 64rem;
  text-align: center;
}

.heritage .eyebrow {
  color: var(--accent);
}

.heritage h2 {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

.heritage p {
  max-width: 48rem;
  margin: 2rem auto 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(247, 251, 249, 0.85);
  text-wrap: pretty;
}

.heritage-stats {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 3.5rem;
  border-radius: 1rem;
  background: rgba(247, 251, 249, 0.15);
}

.heritage-stat {
  padding: 2rem 1.5rem;
  background: var(--primary);
}

.heritage-value {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 2.25rem;
  color: var(--accent);
}

.heritage-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.25rem;
  color: rgba(247, 251, 249, 0.8);
}

/* --------------------------------------------------------------------------
   Residences
   -------------------------------------------------------------------------- */

.units-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.unit-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.unit-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.unit-type {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2rem;
  color: var(--foreground);
}

.unit-size {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-top: 1.5rem;
}

.unit-area {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 2.5rem;
  color: var(--primary);
}

.unit-unit {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.unit-desc {
  flex: 1;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
  margin-top: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: var(--primary);
  transition: color 0.2s ease;
}

.text-link .icon {
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--accent-foreground);
}

.text-link:hover .icon {
  transform: translateX(0.25rem);
}

/* --------------------------------------------------------------------------
   Location
   -------------------------------------------------------------------------- */

.location-grid {
  display: grid;
  gap: 3rem;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-copy > p {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-item .icon {
  margin-top: 0.125rem;
  color: var(--primary);
}

.location-item span {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(16, 33, 27, 0.8);
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

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

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  background: var(--foreground);
  color: var(--background);
}

.contact-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 33, 27, 0.72);
}

.contact-inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  text-align: center;
}

.contact-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact .eyebrow {
  color: var(--accent);
}

.contact h2 {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

.contact-copy {
  max-width: 28rem;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(247, 251, 249, 0.75);
  text-wrap: pretty;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-top: 4rem;
  padding-bottom: 7rem;
  background: var(--background);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--foreground);
}

.footer-brand .brand-mark {
  font-size: 1.5rem;
  line-height: 2rem;
}

.footer-brand .brand-sub {
  margin-top: 0.25rem;
  font-size: 10px;
  line-height: 1;
  color: var(--muted-foreground);
}

.footer-tagline {
  max-width: 20rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  letter-spacing: 0.3em;
  color: var(--primary);
}

.footer-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-menu a {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.25rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.25rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--primary);
}

.disclaimer {
  padding-top: 2.5rem;
}

.disclaimer h4 {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.disclaimer p {
  margin-top: 1rem;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(77, 100, 89, 0.8);
  text-wrap: pretty;
}

.disclaimer .copyright {
  margin-top: 2rem;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1rem;
  color: rgba(77, 100, 89, 0.7);
}

/* --------------------------------------------------------------------------
   Fixed bottom CTA bar
   -------------------------------------------------------------------------- */

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
}

.bottom-bar-inner {
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.bottom-bar a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.bottom-wa {
  background: var(--primary);
  color: var(--primary-foreground);
}

.bottom-wa:hover {
  background: rgba(28, 90, 74, 0.9);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

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

@keyframes slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }

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

  .heritage-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }

  .section {
    padding-block: 8rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .brand-mark {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .brand-sub {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  .header-cta {
    display: inline-flex;
    padding: 0.625rem 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  }

  .hero-num {
    font-size: 4.5rem;
  }

  .hero-name {
    font-size: 3rem;
  }

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

  .overview-copy p {
    font-size: 1.125rem;
  }

  .stat {
    padding: 2.5rem;
  }

  .stat-number {
    font-size: 3rem;
    line-height: 1;
  }

  .amenity-card {
    padding: 2.5rem;
  }

  .gallery-media img {
    height: 520px;
  }

  .gallery-copy .section-title {
    font-size: 2.25rem;
  }

  .gallery-row + .gallery-row {
    margin-top: 7rem;
  }

  .gallery-figures {
    grid-template-columns: 1fr 1fr;
    margin-top: 7rem;
  }

  .gallery-figure img {
    height: 360px;
  }

  .heritage h2 {
    font-size: 3rem;
  }

  .heritage p {
    font-size: 1.125rem;
  }

  .heritage-value {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

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

  .unit-card {
    padding: 2.5rem;
  }

  .map-frame iframe {
    height: 480px;
  }

  .contact h2 {
    font-size: 3rem;
  }

  .site-footer {
    padding-bottom: 4rem;
  }

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

  .bottom-bar {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .bottom-bar-inner {
    gap: 0.75rem;
    background: transparent;
    box-shadow: none;
  }

  .bottom-bar a {
    flex: none;
    padding: 1rem 1.5rem;
    border-radius: 9999px;
  }

  .bottom-bar a:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .hero-num {
    font-size: 6rem;
  }

  .hero-name {
    font-size: 3.75rem;
  }

  .overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

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

  .gallery-row {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }

  .gallery-media--wide {
    grid-column: span 7;
  }

  .gallery-copy--narrow {
    grid-column: span 5;
  }

  .gallery-copy--wide {
    grid-column: span 5;
  }

  .gallery-media--narrow {
    grid-column: span 7;
  }

  .gallery-row--reverse .gallery-copy {
    order: 1;
  }

  .gallery-row--reverse .gallery-media {
    order: 2;
  }

  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .hero-img {
    animation: none;
  }
}