:root {
  --ink: #12242c;
  --ink-soft: #3d5160;
  --deep: #07161c;
  --lagoon: #0d5c63;
  --lagoon-2: #147a82;
  --sand: #c6a36a;
  --sand-2: #e6d3ae;
  --cream: #f4efe6;
  --paper: #fbf8f3;
  --white: #ffffff;
  --line: rgba(18, 36, 44, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(7, 22, 28, 0.16);
  --radius: 18px;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.tile video { width: 100%; height: 220px; object-fit: cover; background: #000; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--sand);
  color: var(--deep);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wrap-wide { width: min(1360px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7, 22, 28, 0.92);
  color: var(--white);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .wrap-wide {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1360px, calc(100% - 32px));
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
  line-height: 0;
}
.brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* Solid black mark on transparent; invert so it reads on the dark header and footer. */
  filter: brightness(0) invert(1);
}
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--sand-2); }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--sand);
  color: var(--deep);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.menu-btn {
  display: none;
  margin-left: auto;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px 12px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  color: white;
  display: grid;
  align-items: end;
  background: var(--deep);
  overflow: hidden;
}
.hero video, .hero .hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,22,28,0.25) 0%, rgba(7,22,28,0.15) 40%, rgba(7,22,28,0.82) 100%);
}
.hero-copy { position: relative; z-index: 1; padding: 64px 0 36px; }
.eyebrow {
  color: var(--sand-2);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(42px, 6vw, 84px); margin: 0 0 16px; max-width: 16ch; }
.lede { max-width: 62ch; font-size: 18px; color: rgba(255,255,255,0.9); margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  overflow: hidden;
}
.stats div { background: rgba(7,22,28,0.45); padding: 16px 18px; }
.stats strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.stats span { color: rgba(255,255,255,0.75); font-size: 13px; }

.section { padding: 88px 0; }
.section h2 { font-size: clamp(34px, 4vw, 56px); margin: 0 0 14px; }
.section .intro { max-width: 68ch; color: var(--ink-soft); margin-top: 0; }
.kicker { letter-spacing: 0.2em; text-transform: uppercase; color: var(--lagoon); font-size: 12px; margin: 0 0 10px; }
.deep { background: var(--deep); color: white; }
.deep .kicker { color: var(--sand-2); }
.deep .intro { color: rgba(255,255,255,0.78); }
.cream { background: var(--cream); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.split img, .frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.frame { min-height: 420px; }
.frame img { height: 520px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card img { height: 320px; width: 100%; object-fit: cover; }
.card-body { padding: 22px 22px 26px; }
.card h3 { margin: 0 0 8px; font-size: 32px; }
.price { color: var(--lagoon); font-size: 15px; letter-spacing: 0.04em; margin: 0 0 8px; }
.meta { color: var(--ink-soft); font-size: 15px; margin: 0; }

.amenity-layout { display: grid; grid-template-columns: 320px 1fr; gap: 28px; margin-top: 28px; }
.amenity-list { display: flex; flex-direction: column; gap: 8px; }
.amenity-list button {
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--ink);
}
.amenity-list button[aria-selected="true"] {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.amenity-stage { position: relative; min-height: 460px; }
.amenity-stage figure { margin: 0; display: none; }
.amenity-stage figure.active { display: block; }
.amenity-stage img { width: 100%; height: 520px; object-fit: cover; border-radius: 22px; }
.amenity-stage figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.tile img { height: 180px; width: 100%; object-fit: cover; }
.tile div, .plain { padding: 16px 16px 18px; }
.tile h3, .plain h3 { margin: 0 0 6px; font-size: 22px; }
.plain { background: white; border-radius: 16px; border: 1px solid var(--line); }
.plain p, .tile p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.gallery-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.gallery-row a, .masonry a { scroll-snap-align: start; }
.gallery-row img, .masonry img { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; }
.masonry {
  columns: 3;
  column-gap: 12px;
}
.masonry a { display: block; margin: 0 0 12px; break-inside: avoid; }
.masonry img { height: auto; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.filters button {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  padding: 8px 14px;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--deep); color: white; }

table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }

.faq details {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 4px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.faq details p { margin-top: 0; color: var(--ink-soft); }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: white;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.form label.full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 12px;
  background: var(--paper);
}
.form .error { color: #8d2b2b; font-size: 13px; }
.notice {
  display: none;
  background: #e7f4f1;
  border: 1px solid #b7ddd4;
  color: #0d3b36;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.notice.show { display: block; }

.page-hero {
  background: var(--deep) center/cover no-repeat;
  color: white;
  padding: 72px 0 56px;
  position: relative;
}
.page-hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,22,28,0.82), rgba(7,22,28,0.35));
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); }
.crumbs { font-size: 14px; color: var(--sand-2); margin-bottom: 12px; }
.crumbs a { color: white; }

.site-footer { background: var(--deep); color: rgba(255,255,255,0.78); padding: 56px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer a { color: white; text-decoration: none; display: block; margin: 6px 0; }
.site-footer a.brand { width: fit-content; margin: 0 0 14px; }
.site-footer h2 { color: white; font-size: 18px; margin: 0 0 10px; }
.legal { margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; color: rgba(255,255,255,0.6); }

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88);
  display: none; align-items: center; justify-content: center; z-index: 80; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 8px; }
.lightbox button {
  position: absolute; top: 16px; right: 16px;
  background: white; border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: var(--deep);
    padding: 18px 20px 24px;
    align-items: flex-start;
  }
  .menu-btn { display: inline-flex; flex: 0 0 auto; }
  .site-header .brand { max-width: calc(100% - 92px); }
  .site-header .brand img { height: 36px; }
  .stats, .cards, .split, .amenity-layout, .grid-3, .grid-4, .foot-grid, .form {
    grid-template-columns: 1fr;
  }
  .masonry { columns: 2; }
  .frame img, .amenity-stage img, .card img { height: 280px; }
  h1 { max-width: none; }
}
@media (max-width: 640px) {
  .masonry { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
}
