:root {
  --sand: #efe6d7;
  --shell: #f7f2ea;
  --seafoam: #d7e7e3;
  --ocean: #184a54;
  --deep-ocean: #0d2f38;
  --mist: rgba(255, 255, 255, 0.72);
  --text: #203138;
  --muted: #637780;
  --line: rgba(24, 74, 84, 0.14);
  --shadow: 0 24px 60px rgba(14, 40, 47, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 231, 227, 0.75), transparent 32%),
    linear-gradient(180deg, #f8f5ef 0%, #f5efe5 50%, #fcfbf8 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(247, 242, 234, 0.92), rgba(247, 242, 234, 0.68));
  border-bottom: 1px solid rgba(24, 74, 84, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  opacity: 0.88;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-kicker,
.section-label,
.eyebrow,
.note-title {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-kicker,
.section-label,
.note-title {
  color: var(--ocean);
}

.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.9;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a:not(.button) {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  color: var(--deep-ocean);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ocean), #276979);
  box-shadow: 0 16px 36px rgba(24, 74, 84, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(24, 74, 84, 0.34);
}

.button-secondary {
  color: var(--deep-ocean);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(24, 74, 84, 0.16);
}

.button-block {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(24, 74, 84, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.75rem;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.22rem 0;
  background: var(--deep-ocean);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: clip;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 29, 35, 0.12) 0%, rgba(8, 32, 38, 0.36) 44%, rgba(9, 30, 36, 0.72) 100%),
    linear-gradient(90deg, rgba(247, 242, 234, 0.04), rgba(247, 242, 234, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 9rem 0 5rem;
  color: #fff;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1rem;
}

.hero h1,
.intro h2,
.section-heading h2,
.booking-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 8vw, 6.6rem);
}

.hero-text {
  max-width: 37rem;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.intro,
.stay-section,
.gallery-section,
.booking-section,
.pricing-section {
  padding: 5.5rem 0;
}

.intro-grid,
.booking-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.intro-grid {
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
}

.intro h2,
.section-heading h2,
.booking-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.stay-card,
.price-card,
.booking-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.stay-card {
  overflow: hidden;
}

.stay-card img {
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.stay-copy {
  padding: 1.25rem;
}

.stay-copy h3,
.price-card h3 {
  margin: 0 0 0.45rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.stay-copy p,
.price-card p,
.booking-copy p,
.intro p,
.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.gallery-item img {
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.gallery-large {
  grid-row: span 2;
}

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

.booking-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.booking-notes {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.booking-form {
  padding: 1.4rem;
}

.booking-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--deep-ocean);
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(24, 74, 84, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.booking-form input:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(39, 105, 121, 0.18);
  border-color: rgba(39, 105, 121, 0.55);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-fine-print,
.pricing-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  padding: 1.5rem;
}

.price-range {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-ocean);
}

.featured {
  background: linear-gradient(180deg, rgba(24, 74, 84, 0.98), rgba(17, 55, 64, 0.98));
  color: #fff;
}

.featured p,
.featured .price-range {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  padding: 2rem 0 3rem;
  background: var(--deep-ocean);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.footer-title {
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: #fff;
}

.footer-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 980px) {
  .stay-grid,
  .pricing-grid,
  .footer-grid,
  .intro-grid,
  .booking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-large,
  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.8rem 0;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(247, 242, 234, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: 80svh;
  }

  .hero-content {
    padding: 7rem 0 3.5rem;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .intro,
  .stay-section,
  .gallery-section,
  .booking-section,
  .pricing-section {
    padding: 4rem 0;
  }

  .stay-grid,
  .pricing-grid,
  .footer-grid,
  .intro-grid,
  .booking-grid,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .brand-title {
    font-size: 1.6rem;
  }
}
