:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #64736c;
  --paper: #fbfaf5;
  --sand: #efe5d3;
  --sage: #58786b;
  --sage-dark: #25473d;
  --cedar: #9d4f2d;
  --gold: #d7a756;
  --line: rgb(24 35 31 / 14%);
  --white: #ffffff;
  --shadow: 0 24px 70px rgb(24 35 31 / 15%);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body,
button {
  font: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgb(251 250 245 / 86%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 900;
}

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

.brand strong {
  line-height: 1.05;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.nav a {
  min-height: 2.4rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  background: rgb(88 120 107 / 12%);
  color: var(--sage-dark);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}

.booking-link {
  justify-self: end;
  border-color: var(--sage-dark);
  color: var(--sage-dark);
}

.button.primary {
  background: var(--sage-dark);
  color: var(--white);
}

.button.secondary {
  border-color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 14%);
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgb(215 167 86 / 38%);
  outline-offset: 2px;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 4.8rem));
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(15 35 28 / 82%), rgb(15 35 28 / 28%) 58%, rgb(15 35 28 / 8%)),
    linear-gradient(0deg, rgb(15 35 28 / 44%), transparent 45%);
  content: "";
}

.hero-overlay {
  display: grid;
  align-content: center;
  min-height: inherit;
  width: min(760px, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 5rem);
  padding: clamp(3rem, 8vw, 6rem) 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.94;
}

.hero p:not(.eyebrow) {
  max-width: 58ch;
  margin-bottom: 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-band div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 9rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--white);
}

.intro-band span {
  color: var(--cedar);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.intro-band p {
  max-width: 27ch;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.section {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.section-copy {
  max-width: 780px;
}

.section-copy h2,
.amenities-copy h2,
.contact-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1;
}

.section-copy p:not(.eyebrow),
.contact-section p,
.stay-card p,
.amenities-list {
  color: var(--muted);
  line-height: 1.65;
}

.stay-section {
  background: var(--paper);
}

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

.stay-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 50px rgb(24 35 31 / 8%);
}

.stay-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.stay-card div {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.stay-card h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.stay-card p {
  margin-bottom: 0;
}

.amenities-section {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  background: #102a24;
  color: var(--white);
}

.amenities-section > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.amenities-copy {
  align-self: center;
  max-width: 620px;
}

.amenities-list {
  display: grid;
  gap: 0.95rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: rgb(255 255 255 / 78%);
  list-style: none;
}

.amenities-list li {
  position: relative;
  padding-left: 1.6rem;
}

.amenities-list li::before {
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.island-section {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  background: var(--sand);
}

.image-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: end;
}

.image-grid img {
  width: 100%;
  min-height: 340px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-grid img:first-child {
  min-height: 460px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 5vw, 4rem);
  background: var(--white);
}

.contact-section h2 {
  margin-bottom: 0.65rem;
}

.contact-section p {
  margin-bottom: 0;
}

address {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
  line-height: 1.5;
}

address a {
  color: var(--sage-dark);
  font-size: 1.25rem;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer a {
  color: var(--sage-dark);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .intro-band,
  .stay-cards,
  .amenities-section,
  .island-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section .button {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .booking-link {
    justify-self: stretch;
  }

  .nav a {
    min-width: max-content;
  }

  .hero {
    min-height: 620px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgb(15 35 28 / 88%), rgb(15 35 28 / 42%));
  }

  .hero-overlay {
    align-content: end;
    margin: 0 auto;
    padding-bottom: 2rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 14vw, 3.7rem);
  }

  .intro-band div {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid img,
  .image-grid img:first-child,
  .amenities-section > img {
    min-height: 280px;
  }
}
