:root {
  color-scheme: dark;
  --bg: #08110e;
  --bg-soft: #0d1915;
  --surface: rgba(18, 34, 29, 0.86);
  --surface-solid: #12221d;
  --surface-raised: #182b25;
  --text: #f3f0e8;
  --muted: #b4c2bb;
  --subtle: #7f928a;
  --line: rgba(234, 225, 207, 0.14);
  --forest: #2f7a61;
  --forest-strong: #1e5d49;
  --clay: #d0784d;
  --gold: #d8b45c;
  --cream: #f8f0df;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

body.light {
  color-scheme: light;
  --bg: #f7f1e6;
  --bg-soft: #efe7d8;
  --surface: rgba(255, 252, 246, 0.9);
  --surface-solid: #fffaf1;
  --surface-raised: #ffffff;
  --text: #17231f;
  --muted: #5f6f68;
  --subtle: #7a887f;
  --line: rgba(31, 57, 49, 0.14);
  --forest: #21674f;
  --forest-strong: #174a39;
  --clay: #aa5838;
  --gold: #a77b21;
  --cream: #fff8e9;
  --shadow: 0 24px 70px rgba(31, 45, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(216, 180, 92, 0.08), transparent 380px),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 56%, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 16px 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 42%, transparent);
  border-radius: 8px;
  background: var(--forest-strong);
  color: var(--cream);
  font-weight: 900;
}

.brand-copy {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  padding: 0 12px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.theme-toggle:hover {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-raised) 74%, transparent);
  color: var(--text);
}

.nav-portal {
  border-color: color-mix(in srgb, var(--gold) 34%, transparent) !important;
  background: var(--forest) !important;
  color: var(--cream) !important;
}

.theme-toggle {
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.theme-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 18%, transparent);
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-solid);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 46%, color-mix(in srgb, var(--bg) 34%, transparent) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 36%);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.hero-inner,
.action-strip,
.section,
.gallery-hero,
.gallery-tools,
.photo-grid,
.site-footer {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: 86px 0 74px;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  font-size: clamp(4rem, 9vw, 8.4rem);
  line-height: 0.88;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.3rem, 5.5vw, 5rem);
  line-height: 0.95;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.22;
}

.hero-copy > p:not(.eyebrow),
.section-copy > p,
.section-heading > p:not(.eyebrow),
.gallery-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin-top: 24px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  border-color: color-mix(in srgb, var(--gold) 36%, transparent);
  background: var(--forest);
  color: var(--cream);
}

.button.ghost {
  background: color-mix(in srgb, var(--surface-raised) 72%, transparent);
  color: var(--text);
}

.hero-card,
.action-card,
.amenity-card,
.shareholder-card,
.map-panel,
.lightbox figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  backdrop-filter: blur(20px);
}

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

.hero-card-body {
  padding: 22px;
}

.hero-card-body span,
.action-card span,
.amenity-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-body strong {
  display: block;
  margin-top: 8px;
  font-size: 1.32rem;
}

.hero-card-body p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.action-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.action-card {
  display: block;
  min-height: 178px;
  padding: 24px;
  text-decoration: none;
}

.action-card.featured {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--forest) 88%, black), var(--surface-solid));
  border-color: color-mix(in srgb, var(--gold) 28%, transparent);
}

.action-card strong {
  display: block;
  margin-top: 16px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.action-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.section {
  padding: 96px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 52px;
  align-items: center;
}

.section-copy,
.section-heading {
  max-width: 760px;
}

.section-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  margin-top: 18px;
}

.image-stack {
  position: relative;
  min-height: 540px;
}

.image-stack img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-stack-large {
  width: 82%;
  height: 500px;
}

.image-stack-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 260px;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.amenity-card {
  overflow: hidden;
  background: var(--surface-solid);
}

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

.amenity-card div {
  padding: 22px;
}

.amenity-card h3 {
  margin-top: 10px;
}

.amenity-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.62;
}

.shareholders-section {
  padding-top: 62px;
}

.shareholder-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.shareholder-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 18px;
  color: var(--text);
  text-decoration: none;
}

.shareholder-card:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  background: var(--surface-raised);
}

.lock-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 14px;
  border-radius: 4px;
  background: var(--gold);
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 10px;
  width: 10px;
  height: 9px;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.photo-preview {
  padding-top: 52px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.centered {
  margin-top: 22px;
}

.map-panel {
  height: 470px;
  overflow: hidden;
  margin-top: 30px;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(1.05);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 5px;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 900;
}

.footer-links a {
  color: var(--gold);
}

.gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: end;
  padding: 84px 0 32px;
}

.gallery-hero h1 {
  max-width: 880px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
}

.gallery-hero p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 20px;
}

.gallery-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.gallery-tools {
  position: sticky;
  top: 72px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-solid);
  color: var(--muted);
  padding: 0 15px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.active {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  background: var(--forest);
  color: var(--cream);
}

.photo-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0 96px;
}

.photo-tile {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-solid);
  padding: 0;
  cursor: pointer;
}

.photo-tile.wide {
  grid-column: span 2;
}

.photo-tile.tall {
  grid-row: span 2;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.photo-tile:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.photo-tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 17, 14, 0.72);
  color: #fff8ec;
  padding: 9px 11px;
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.photo-tile.is-hidden {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(4, 9, 7, 0.9);
  padding: 26px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(1040px, 100%);
  margin: 0;
  padding: 10px;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  border-radius: 6px;
  object-fit: contain;
  background: #050807;
}

.lightbox figcaption {
  margin-top: 12px;
  color: var(--cream);
  font-weight: 900;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff8ec;
  padding: 0 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 18px auto 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-solid);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .theme-toggle {
    justify-content: space-between;
  }

  .hero-inner,
  .intro-section,
  .gallery-hero {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

  .action-strip,
  .amenity-grid,
  .shareholder-grid {
    grid-template-columns: 1fr;
  }

  .action-strip {
    margin-top: 18px;
  }

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

  .gallery-hero img {
    max-width: 520px;
  }
}

@media (max-width: 1200px) {
  .site-header,
  .hero-inner,
  .action-strip,
  .section,
  .gallery-hero,
  .gallery-tools,
  .photo-grid,
  .site-footer {
    width: calc(100vw - 32px);
  }

  .brand strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 68px 0 40px;
  }

  h1,
  .gallery-hero h1 {
    font-size: clamp(3rem, 13.5vw, 4.1rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2.25rem, 13vw, 3.35rem);
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .image-stack {
    min-height: auto;
  }

  .image-stack-large,
  .image-stack-small {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .image-stack-small {
    margin-top: 12px;
  }

  .preview-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-tile,
  .photo-tile.wide,
  .photo-tile.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .map-panel {
    height: 360px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
