:root {
  --font-display: "Fraunces", serif;
  --font-body: "Space Grotesk", sans-serif;
  --ink: #1a1d1c;
  --ink-light: #374140;
  --muted: #4a5554;
  --accent: #c05a36;
  --accent-rgb: 192, 90, 54;
  --accent-hover: #a1492a;
  --accent-2: #2d7d73;
  --accent-3: #f1b96e;
  --border: rgba(31, 35, 34, 0.1);
  --surface: rgba(255, 255, 255, 0.85);
  --surface-solid: #fcfcf9;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(16, 24, 24, 0.08);
  --container-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--surface-solid);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(192, 90, 54, 0.04), transparent),
    radial-gradient(circle at 90% 90%, rgba(45, 125, 115, 0.04), transparent);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.orb--one {
  width: 40vw;
  height: 40vw;
  background: var(--accent);
  top: -10%;
  right: -5%;
}

.orb--two {
  width: 30vw;
  height: 30vw;
  background: var(--accent-2);
  bottom: 10%;
  left: -5%;
}

.orb--three {
  width: 20vw;
  height: 20vw;
  background: var(--accent-3);
  bottom: 40%;
  right: 15%;
}

.gridline {
  position: absolute;
  background: rgba(31, 35, 34, 0.03);
}

.gridline--one {
  width: 1px;
  height: 100%;
  left: 20%;
}

.gridline--two {
  width: 1px;
  height: 100%;
  left: 80%;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  min-height: 96px;
  height: auto;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(252, 252, 249, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  height: clamp(64px, 7vw, 96px);
  width: auto;
}

.mobile-toggle {
  display: none;
}

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

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  gap: 10px;
}

.btn.primary {
  background: var(--ink);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.25);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  padding: 80px 0;
  align-items: center;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--ink);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--ink-light);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-meta {
  margin-top: 24px;
  padding: 16px;
  background: rgba(var(--accent-rgb), 0.05);
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  color: var(--muted);
}

.stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-icon {
  margin-bottom: 8px;
  color: var(--accent);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 600;
}

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

.hero-media {
  position: relative;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(16, 24, 24, 0.15);
  background: var(--border);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-2);
  border: 1px solid rgba(45, 125, 115, 0.2);
}

.badge[data-tone="soon"] {
  color: #6b5a4a;
  border-color: rgba(107, 90, 74, 0.25);
}

.media-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Property Selector */
.property-selector {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 36px 0 20px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

.section-head .section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
}

.section-head p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.property-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: left;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.property-card[aria-pressed="true"] {
  border-color: rgba(192, 90, 54, 0.5);
  box-shadow: 0 16px 34px rgba(192, 90, 54, 0.18);
}

.property-card:hover,
.property-card:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 8px 24px rgba(16, 24, 24, 0.1);
}

.property-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-card__body {
  padding: 12px 16px;
}

.property-card__title {
  font-weight: 600;
  margin: 0 0 2px;
}

.property-card__meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Transitions */
.is-transitioning {
  animation: pulse 0.4s ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.99);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Features */
.feature-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  min-height: 0;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(16, 24, 24, 0.12);
}

.card-head h3 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.card-head p {
  margin: 0 0 20px;
  color: var(--ink-light);
  line-height: 1.6;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

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

.gallery-grid figure {
  margin: 0;
  cursor: zoom-in;
}

.gallery-grid img {
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.gallery-more {
  margin-top: 16px;
  width: 100%;
}

/* Amenities */
.amenities {
  padding: 56px 0;
}

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

.amenity-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(16, 24, 24, 0.1);
}

.amenity-card h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.amenity-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

/* Tour */
.tour {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 56px;
  align-items: center;
}

.tour-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: 0 16px 40px rgba(16, 24, 24, 0.12);
}

.tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.tour-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.tour-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  max-height: 360px;
}

/* Trust / Philosophy */
.trust {
  margin-top: 100px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 56px;
  backdrop-filter: blur(14px);
}

.trust-card h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  margin: 10px 0 20px;
}

.trust-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

.trust-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.metric {
  text-align: center;
  padding: 40px 20px;
  background: rgba(var(--accent-rgb), 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.metric-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

/* Contact */
.contact {
  margin-top: 56px;
  padding-bottom: 56px;
}

.contact-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(192, 90, 54, 0.1), rgba(45, 125, 115, 0.1));
  border: 1px solid rgba(31, 35, 34, 0.1);
  text-align: center;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0;
}

.contact-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-credit {
  margin-top: 24px;
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid rgba(31, 35, 34, 0.05);
  padding-top: 24px;
}

.footer-credit a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 24, 0.98);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 40px;
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  display: grid;
  opacity: 1;
}

.lightbox-frame {
  margin: 0;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.lightbox-frame figcaption {
  color: #fff;
  font-size: 1rem;
  opacity: 0.8;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 3rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

body.lightbox-open {
  overflow: hidden;
}

/* Reveal Animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0ms);
}

/* Mobile Adjustments */
@media (max-width: 980px) {

  .hero,
  .feature-split,
  .tour,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    text-align: center;
  }

  .hero-subtitle,
  .hero-meta {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .stats {
    justify-content: center;
  }

  .trust-grid {
    padding: 40px 24px;
  }
}

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

@media (max-width: 720px) {
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .mobile-toggle .line {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: 0.3s;
  }

  .nav {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-solid);
    flex-direction: column;
    padding: 64px 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }


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

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

  .site-header {
    height: 70px;
  }

  .nav {
    top: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
