:root {
  --forest: #0a3f2c;
  --forest-deep: #06291f;
  --leaf: #25765a;
  --sea: #78c9c4;
  --paper: #faf8f2;
  --paper-soft: #f3eee5;
  --ink: #151915;
  --muted: #69716b;
  --line: rgba(13, 55, 40, 0.18);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 31, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 24px 6vw;
  color: var(--white);
  transition: background 220ms ease, padding 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(6, 41, 31, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  gap: 2px;
}

.brand span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.9;
  letter-spacing: 0;
}

.brand small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a,
.site-footer a,
.text-link {
  position: relative;
}

.nav-links a::after,
.site-footer a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.site-footer a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(10, 63, 44, 0.74);
  padding: 15px 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background: transparent;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6, 41, 31, 0.92), rgba(6, 41, 31, 0.22) 48%, rgba(6, 41, 31, 0.72)),
    radial-gradient(circle at 70% 55%, rgba(120, 201, 196, 0.22), transparent 35%);
}

.hero-media img {
  opacity: 0.82;
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 88vw);
  margin-left: 6vw;
  padding-top: 80px;
}

.hero h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(56px, 7.4vw, 110px);
  line-height: 0.98;
}

.hero p {
  max-width: 620px;
  margin: 28px 0 36px;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.primary,
.dark {
  background: var(--forest);
  color: var(--white);
}

.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.light {
  width: 100%;
  background: var(--paper);
  color: var(--forest);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 26px;
  width: 54px;
  height: 34px;
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 2.2fr;
  gap: 72px;
  padding: 80px 6vw;
}

.section-label {
  margin: 0 0 22px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.05;
  overflow-wrap: break-word;
}

.section-copy > p:not(.section-label),
.restaurant-copy > p,
.location-copy > p,
.contact-panel p,
.form-note {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.section-copy .button {
  margin-top: 22px;
}

.room-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.room-card {
  min-width: 0;
}

.room-card img {
  aspect-ratio: 1 / 1.1;
  height: auto;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.room-card h3,
.cuisine-grid h3,
.highlight-grid h3 {
  margin: 18px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}

.room-card p,
.cuisine-grid p,
.highlight-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.restaurant {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-soft);
}

.restaurant-photo {
  min-height: 560px;
  background: var(--forest);
}

.restaurant-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 7vw;
}

.cuisine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0 34px;
}

.cuisine-grid > div {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.line-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
}

.experience {
  padding: 80px 6vw 88px;
  text-align: center;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
}

.highlight-grid article {
  border-left: 1px solid var(--line);
  padding: 4px 32px 0;
}

.highlight-grid article:first-child {
  border-left: 0;
}

.highlight-grid span {
  color: var(--leaf);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px;
}

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
  background: var(--white);
}

.map-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d8f0ed, #f5f0e6 62%);
}

.map-panel::before {
  position: absolute;
  inset: -12% 16% -18% -10%;
  border: 1px solid rgba(10, 63, 44, 0.12);
  border-radius: 48% 52% 44% 58%;
  background: rgba(255, 255, 255, 0.7);
  content: "";
  transform: rotate(-12deg);
}

.island {
  position: absolute;
  inset: 12% 18%;
  border: 1px solid rgba(10, 63, 44, 0.13);
  border-radius: 48% 52% 44% 58%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(10, 63, 44, 0.09) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(10, 63, 44, 0.09) 50%, transparent 51%),
    rgba(250, 248, 242, 0.88);
  transform: rotate(-12deg);
}

.pin {
  position: absolute;
  top: 30%;
  left: 50%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50% 50% 50% 4px;
  background: var(--forest);
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.pin::first-letter {
  transform: rotate(-45deg);
}

.pin {
  line-height: 1;
}

.pin::before {
  content: "Quma";
  transform: rotate(-45deg);
}

.pin {
  font-size: 0;
}

.island small {
  position: absolute;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  transform: rotate(12deg);
}

.north {
  top: 13%;
  right: 12%;
}

.harbor {
  right: -3%;
  bottom: 34%;
}

.turtle {
  top: 34%;
  left: -4%;
}

.location-copy,
.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 8vw;
}

.text-link {
  width: max-content;
  margin-top: 16px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.booking-contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--forest);
  color: var(--white);
}

.booking-form {
  padding: 70px 6vw;
}

.booking-form h2,
.contact-panel h2 {
  margin-bottom: 30px;
  font-family: Inter, Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: 600 14px/1 Inter, Arial, sans-serif;
  padding: 0 14px;
}

select option {
  color: var(--ink);
}

.form-note {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  background: var(--white);
  color: var(--ink);
}

.contact-panel a:not(.text-link) {
  margin: 0 0 18px;
  color: var(--forest);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px 6vw;
  background: var(--forest-deep);
  color: var(--white);
}

.site-footer .brand span {
  font-size: 34px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.site-footer div {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.menu-active .nav-links {
    position: fixed;
    inset: 80px 0 auto;
    display: grid;
    gap: 0;
    background: var(--forest-deep);
    padding: 12px 6vw 28px;
  }

  .site-header.menu-active .nav-links a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    padding: 20px 0;
  }

  .section-grid,
  .restaurant,
  .location,
  .booking-contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .restaurant-photo {
    min-height: 420px;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 16px 20px;
  }

  .brand span {
    font-size: 36px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin: 0;
    width: 100%;
    padding: 118px 22px 72px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .hero p {
    font-size: 19px;
    max-width: 30ch;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 34px;
    line-height: 1.1;
    max-width: 11ch;
  }

  .button {
    width: 100%;
  }

  .section-grid,
  .experience,
  .restaurant-copy,
  .location-copy,
  .booking-form,
  .contact-panel {
    padding: 58px 22px;
  }

  .room-list,
  .cuisine-grid,
  .highlight-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cuisine-grid > div,
  .highlight-grid article,
  .highlight-grid article:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }

  .location {
    min-height: 0;
  }

  .map-panel {
    min-height: 330px;
  }

  .site-footer {
    padding: 34px 22px;
  }

  .site-footer div {
    flex-wrap: wrap;
  }
}
