:root {
  --ink: #172b24;
  --cream: #f4f0df;
  --orange: #f05a2a;
  --yellow: #f6b927;
  --water: #74c8c7;
  --deep-water: #329f9f;
  --leaf: #527846;
  --leaf-dark: #304c34;
  --rock: #a57750;
  --sand: #efc879;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

button,
a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 27px clamp(24px, 5vw, 74px);
  transition: color 300ms ease;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  color: var(--cream);
}

body.menu-open .menu-button {
  border-color: rgba(244, 240, 223, 0.55);
}

body.menu-open .menu-button span {
  background: var(--cream);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 25px;
}

.brand-mark i {
  position: absolute;
  bottom: 2px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 70% 30% 70% 30%;
  transform: rotate(45deg);
}

.brand-mark i:nth-child(1) { left: 0; }
.brand-mark i:nth-child(2) { left: 10px; bottom: 10px; }
.brand-mark i:nth-child(3) { right: 0; }

.location {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu-button {
  justify-self: end;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(23, 43, 36, 0.25);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 250ms ease, transform 250ms ease;
}

.menu-button:hover {
  background: var(--yellow);
  transform: rotate(8deg);
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 300ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 104px);
  padding: clamp(48px, 7vh, 90px) clamp(24px, 5vw, 74px) 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  width: min(570px, 100%);
  margin: 0 auto 15px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-line {
  flex: 1;
  height: 1px;
  margin: 0 15px;
  background: rgba(23, 43, 36, 0.24);
}

.hero-title {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(63px, 9.2vw, 148px);
  font-weight: 600;
  line-height: 0.77;
  letter-spacing: -0.085em;
  text-align: center;
  text-transform: uppercase;
}

.title-row {
  display: block;
  overflow: hidden;
  padding: 0.12em 0;
}

.title-row > span {
  display: inline-block;
}

.title-row--second {
  color: var(--orange);
}

.sun-letter {
  position: relative;
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin: 0 0.01em;
  border: 0.07em solid var(--orange);
  border-radius: 50%;
  vertical-align: -0.01em;
}

.sun-letter::before,
.sun-letter::after,
.sun-letter i::before,
.sun-letter i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9em;
  height: 0.045em;
  background: var(--orange);
  transform-origin: center;
}

.sun-letter::before { transform: translate(-50%, -50%) rotate(45deg); }
.sun-letter::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sun-letter i::before { transform: translate(-50%, -50%); }
.sun-letter i::after { transform: translate(-50%, -50%) rotate(90deg); }

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  max-width: 1160px;
  margin: 32px auto 0;
}

.hero-copy p {
  max-width: 330px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.discover-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 15px 13px 21px;
  color: var(--cream);
  border-radius: 999px;
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 250ms ease, background 250ms ease;
}

.discover-button:hover {
  gap: 22px;
  background: var(--orange);
}

.discover-button svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: var(--cream);
  stroke: var(--ink);
  stroke-width: 1.6;
  fill: none;
}

.scene-wrap {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% + 30px));
  margin: -12px auto 0;
  transform-origin: center bottom;
}

.scene {
  position: relative;
  height: clamp(260px, 31vw, 450px);
  overflow: hidden;
  border-radius: 52% 48% 0 0 / 22% 22% 0 0;
  background: linear-gradient(180deg, #bce5d9 0%, var(--water) 68%, var(--deep-water) 100%);
}

.sky-glow {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(246, 185, 39, 0.5);
  filter: blur(2px);
  transform: translateX(-50%);
}

.cloud {
  position: absolute;
  width: 90px;
  height: 12px;
  border-radius: 50%;
  background: rgba(244, 240, 223, 0.7);
  filter: blur(1px);
  animation: cloud-drift 12s ease-in-out infinite alternate;
}

.cloud::after {
  content: "";
  position: absolute;
  right: -30px;
  width: 46px;
  height: 9px;
  border-radius: inherit;
  background: inherit;
}

.cloud--one { top: 22%; left: 12%; }
.cloud--two { top: 13%; right: 16%; animation-delay: -5s; }

.island {
  position: absolute;
  overflow: visible;
}

.island--back {
  bottom: 22%;
  right: 4%;
  width: 34%;
  opacity: 0.8;
  animation: island-float 5.5s ease-in-out infinite;
}

.island--front {
  bottom: 4%;
  left: 5%;
  width: 43%;
  animation: island-float 6s ease-in-out infinite -2s;
}

.island .rock { fill: var(--rock); }
.island .green { fill: var(--leaf); }
.island .sand { fill: var(--sand); }
.island .palms { fill: none; stroke: var(--leaf-dark); stroke-linecap: round; stroke-linejoin: round; stroke-width: 5; }

.water-lines i {
  position: absolute;
  height: 2px;
  border-radius: 50%;
  background: rgba(244, 240, 223, 0.65);
  transform: scaleX(0.7);
  animation: ripple 4s ease-in-out infinite;
}

.water-lines i:nth-child(1) { right: 12%; bottom: 19%; width: 16%; }
.water-lines i:nth-child(2) { right: 25%; bottom: 11%; width: 10%; animation-delay: -2s; }
.water-lines i:nth-child(3) { left: 43%; bottom: 25%; width: 12%; animation-delay: -1s; }
.water-lines i:nth-child(4) { left: 14%; bottom: 5%; width: 20%; animation-delay: -3s; }

.boat {
  position: absolute;
  z-index: 4;
  right: 23%;
  bottom: 17%;
  width: 120px;
  height: 76px;
  animation: boat-bob 3s ease-in-out infinite;
}

.boat-hull {
  position: absolute;
  bottom: 10px;
  left: 22px;
  width: 76px;
  height: 19px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 83% 100%, 17% 100%);
}

.boat-cabin {
  position: absolute;
  bottom: 29px;
  left: 37px;
  width: 46px;
  height: 22px;
  border: 4px solid var(--cream);
  border-bottom: 0;
}

.boat-roof {
  position: absolute;
  bottom: 50px;
  left: 30px;
  width: 61px;
  height: 5px;
  border-radius: 10px;
  background: var(--ink);
}

.boat-flag {
  position: absolute;
  bottom: 55px;
  left: 60px;
  width: 2px;
  height: 19px;
  background: var(--ink);
}

.boat-flag::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 8px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.outrigger {
  position: absolute;
  bottom: 2px;
  width: 45px;
  height: 10px;
  border-bottom: 3px solid var(--cream);
}

.outrigger--left { left: 0; border-radius: 0 0 0 100%; transform: rotate(5deg); }
.outrigger--right { right: 0; border-radius: 0 0 100% 0; transform: rotate(-5deg); }

.scroll-note {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-note i {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(244, 240, 223, 0.65);
  border-radius: 50%;
}

.scroll-note i::after {
  content: "↓";
  display: grid;
  height: 100%;
  place-items: center;
  animation: arrow-dip 1.7s ease-in-out infinite;
}

.menu-panel {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12vw;
  color: var(--cream);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 98px) 52px);
  transition: clip-path 600ms cubic-bezier(0.8, 0, 0.2, 1), opacity 250ms, visibility 600ms;
}

.menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: circle(150% at calc(100% - 98px) 52px);
}

.menu-panel nav {
  display: flex;
  flex-direction: column;
}

.menu-panel a {
  width: max-content;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(45px, 7vw, 100px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.menu-panel a:hover { color: var(--yellow); }
.menu-panel p { margin: 60px 0 0; color: rgba(244, 240, 223, 0.6); }

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.is-loaded .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-loaded .hero-title .title-row:nth-child(1) { transition-delay: 100ms; }
.is-loaded .hero-title .title-row:nth-child(2) { transition-delay: 220ms; }
.is-loaded .hero-copy { transition-delay: 420ms; }
.is-loaded .scene-wrap { transition-delay: 540ms; }

@keyframes cloud-drift {
  to { transform: translateX(45px); }
}

@keyframes island-float {
  50% { transform: translateY(-5px); }
}

@keyframes ripple {
  50% { opacity: 0.35; transform: scaleX(1.08); }
}

@keyframes boat-bob {
  50% { transform: translate(10px, -5px) rotate(1.5deg); }
}

@keyframes arrow-dip {
  50% { transform: translateY(3px); }
}

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

  .location { display: none; }

  .hero {
    min-height: calc(100svh - 90px);
    padding-top: 55px;
  }

  .hero-title {
    font-size: clamp(52px, 17vw, 92px);
    line-height: 0.82;
  }

  .hero-copy {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 25px;
  }

  .scene-wrap {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-top: 25px;
  }

  .scene {
    height: 310px;
    border-radius: 50% 50% 0 0 / 12% 12% 0 0;
  }

  .island--front { width: 60%; left: -5%; }
  .island--back { width: 50%; right: -8%; }
  .boat { right: 16%; transform: scale(0.82); }
  .scroll-note { display: none; }
}

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