:root {
  --ink: #142019;
  --forest: #1b3a2f;
  --leaf: #2f6b4f;
  --mist: #eef5f0;
  --paper: #f7faf7;
  --gold: #c4a35a;
  --gold-deep: #9e7d35;
  --muted: #5a6d62;
  --line: rgba(27, 58, 47, 0.12);
  --shadow: 0 24px 60px rgba(20, 32, 25, 0.14);
  --radius: 1.25rem;
  --header-h: 4.5rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 107, 79, 0.08), transparent 55%),
    linear-gradient(180deg, var(--paper), #ffffff 35%, var(--mist));
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.project-copy h2,
.film-copy h2,
.location-copy h2,
.developer-grid h2,
.cta-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--forest);
}

.cta-copy h2 {
  color: #fff;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(247, 250, 247, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 250, 247, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(20, 32, 25, 0.06);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
}

.brand-mark img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(196, 163, 90, 0.55);
}

.brand-mark small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop {
  display: none;
  gap: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-desktop a:hover,
.mobile-nav a:hover {
  color: var(--forest);
}

.header-cta {
  display: none;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--forest);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 1rem;
  height: 1.5px;
  background: var(--forest);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 35;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.25rem 1.4rem;
  background: rgba(247, 250, 247, 0.97);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0.2rem;
  color: var(--forest);
}

.mobile-nav .header-cta {
  display: inline-flex;
  justify-content: center;
  margin-top: 0.4rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: clip;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 24, 18, 0.18) 0%, rgba(12, 24, 18, 0.28) 40%, rgba(12, 24, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(12, 24, 18, 0.45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto 5.5rem;
  padding-top: calc(var(--header-h) + 2rem);
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.hero-brand img {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(196, 163, 90, 0.75);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  color: #fff;
  margin-bottom: 1rem;
  animation: riseIn 1s ease both;
}

.hero-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  font-weight: 300;
  animation: riseIn 1s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
  animation: riseIn 1s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a160c;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cta-band .btn-ghost,
.film .btn-ghost {
  border-color: rgba(27, 58, 47, 0.25);
  color: var(--forest);
  background: transparent;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 1.6rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
}

.scroll-cue span {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #fff;
  animation: cue 1.6s ease-in-out infinite;
}

/* Project */
.project-grid,
.location-grid,
.film-layout,
.developer-grid {
  display: grid;
  gap: 2.5rem;
}

.feature-list,
.location-list,
.amenity-chips {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}

.feature-list li,
.location-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.feature-list li::before,
.location-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

.location-list li {
  display: grid;
  gap: 0.15rem;
}

.location-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.project-visual,
.location-visual,
.plan-card,
.video-frame,
.amenity-mosaic figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dfe8e2;
}

.project-visual img,
.location-visual img,
.plan-card img,
.amenity-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-visual {
  min-height: 28rem;
}

.project-visual img {
  object-position: center top;
}

figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.84rem;
  color: var(--muted);
  background: #fff;
}

/* Film */
.film {
  background:
    linear-gradient(180deg, rgba(27, 58, 47, 0.04), transparent),
    #fff;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #0f1a14;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Amenities */
.amenity-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.amenity-mosaic figure {
  min-height: 16rem;
}

.amenity-mosaic img {
  min-height: 14rem;
}

.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.amenity-chips li {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.88rem;
}

/* Plans */
.plans {
  background: linear-gradient(180deg, transparent, rgba(27, 58, 47, 0.04));
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 920px;
  margin-inline: auto;
}

.plan-card img {
  background: #fff;
  object-fit: contain;
  width: 100%;
  min-height: clamp(22rem, 70vw, 36rem);
  padding: 1rem;
}

/* Location */
.address {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.location-visual {
  min-height: 24rem;
}

.location-visual img {
  object-fit: cover;
  min-height: 24rem;
}

/* Developer / CTA */
.developer-grid {
  padding: 2rem;
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 245, 240, 0.95)),
    url("/media/cover-leaf.jpg") center/cover;
  border: 1px solid var(--line);
}

.project-badges {
  display: grid;
  gap: 1rem;
}

.project-badges div {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.project-badges span {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.project-badges p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.cta-band {
  padding-top: 0;
}

.cta-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 0.5rem);
  background:
    linear-gradient(135deg, rgba(20, 40, 30, 0.9), rgba(27, 58, 47, 0.94)),
    url("/media/rooftop.jpg") center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-copy .eyebrow,
.cta-copy h2,
.cta-copy p {
  color: #fff;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

.cta-copy .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.15);
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: #b42318;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  margin-top: 0.25rem;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.form-note.is-success {
  color: var(--leaf);
}

.form-note.is-error {
  color: #b42318;
}

@media (min-width: 860px) {
  .cta-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Legal / Privacy */
.legal-page {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

.legal-wrap {
  max-width: 760px;
}

.legal-wrap h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.legal-updated {
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.legal-body h2 {
  font-size: 1.45rem;
  color: var(--forest);
  margin: 2rem 0 0.7rem;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-body li {
  margin-bottom: 0.45rem;
}

.legal-body a {
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back {
  margin-top: 2.5rem;
}

.legal-back .btn-gold {
  color: #1a160c;
}

.disclaimer a {
  margin-left: 0.35rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.disclaimer {
  font-size: 0.8rem;
  line-height: 1.55;
}

.footer-grid a {
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

@media (min-width: 760px) {
  .nav-desktop,
  .header-cta {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }

  .project-grid,
  .location-grid,
  .film-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .film-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .amenity-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .developer-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid .disclaimer {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .amenity-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .developer-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

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

  .hero-image,
  .scroll-cue span,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
