:root {
  --primary: #e60023;
  --primary-pressed: #cc001f;
  --ink: #000000;
  --body: #33332e;
  --mute: #62625b;
  --ash: #91918c;
  --hairline: #dadad3;
  --canvas: #ffffff;
  --surface-soft: #fbfbf9;
  --surface-card: #f6f6f3;
  --secondary-bg: #e5e5e0;
  --surface-dark: #262622;
  --on-dark: #ffffff;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --section: 64px;
  --container: 1280px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--body);
  font-family: var(--font);
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-soft);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #435ee5;
  outline-offset: 3px;
}

.visually-hidden {
  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;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px clamp(16px, 3vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--canvas);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:not(.button) {
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.site-nav a:not(.button):active {
  background: var(--secondary-bg);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: var(--surface-card);
  border: 0;
  border-radius: var(--radius-full);
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  border-radius: var(--radius-full);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.button-primary {
  color: var(--canvas);
  background: var(--primary);
}

.button-primary:active {
  background: var(--primary-pressed);
}

.button-secondary {
  color: var(--ink);
  background: var(--secondary-bg);
}

.button-secondary:active {
  background: #c8c8c1;
}

.section-shell {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 64px);
  padding-block: clamp(44px, 8vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.gallery-heading h2,
.village-copy h2,
.moments-copy h2,
.split-copy h2,
.cuisine-heading h2,
.booking-strip h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.08;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 70px);
}

.hero-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--body);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-board {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  grid-template-rows: 1fr 0.8fr;
  gap: 8px;
  min-height: 620px;
}

.pin,
.pin-card,
.split-photo {
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  border-radius: var(--radius-md);
}

.pin {
  border-radius: var(--radius-lg);
}

.pin img,
.pin-card img,
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin::after,
.pin-card::after,
.split-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent);
  pointer-events: none;
}

.pin span,
.pin-card span,
.split-photo span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  background: var(--canvas);
  border-radius: var(--radius-full);
}

.pin-tall {
  grid-row: 1 / span 2;
}

.pin-square {
  aspect-ratio: 1;
}

.pin-medium {
  aspect-ratio: 4 / 5;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 32px;
  align-items: end;
  padding-block: var(--section) 24px;
}

.intro h2,
.gallery-heading h2,
.village-copy h2,
.moments-copy h2,
.split-copy h2,
.cuisine-heading h2,
.booking-strip h2 {
  font-size: clamp(34px, 4.8vw, 54px);
}

.intro p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--body);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-block: 24px var(--section);
}

.feature-card {
  min-height: 250px;
  padding: 32px;
  background: var(--canvas);
  border-radius: var(--radius-md);
}

.feature-card-soft {
  background: var(--surface-card);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--canvas);
  font-size: 14px;
  font-weight: 900;
  background: var(--surface-dark);
  border-radius: var(--radius-full);
}

.feature-card h3 {
  max-width: 320px;
  margin: 48px 0 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -1.2px;
}

.feature-card p {
  margin: 0;
  color: var(--mute);
}

.village-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding-block: 0 var(--section);
}

.village-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--body);
  font-size: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.detail-card {
  padding: 24px;
  background: var(--canvas);
  border-radius: var(--radius-md);
}

.detail-card span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  background: var(--surface-card);
  border-radius: var(--radius-full);
}

.detail-card h3,
.cuisine-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.4px;
}

.detail-card p,
.cuisine-card p {
  margin: 0;
  color: var(--mute);
}

.moments-section {
  padding-block: var(--section);
  overflow: hidden;
  color: var(--on-dark);
  background: radial-gradient(circle at 20% 10%, rgba(230, 0, 35, 0.28), transparent 28%), radial-gradient(circle at 82% 22%, rgba(97, 123, 255, 0.22), transparent 30%), var(--surface-dark);
}

.moments-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.moments-copy {
  position: sticky;
  top: 96px;
}

.moments-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.moments-copy h2 {
  color: var(--on-dark);
}

.moments-copy p:not(.eyebrow) {
  max-width: 470px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.moment-card {
  position: relative;
  min-height: 310px;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
  background: var(--canvas);
  border-radius: var(--radius-lg);
}

.moment-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.moment-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12));
}

.moment-card:nth-child(even) {
  transform: translateY(32px);
}

.moment-card span {
  display: inline-flex;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  background: var(--canvas);
  border-radius: var(--radius-full);
}

.moment-card h3 {
  max-width: 260px;
  margin: 132px 0 10px;
  color: var(--on-dark);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -1px;
}

.moment-card p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.moment-card-sea::before {
  background-image: url("../img/fulls/04.jpg");
}

.moment-card-village::before {
  background-image: url("../img/fulls/03.jpg");
}

.moment-card-beach::before {
  background-image: url("../img/fulls/01.jpg");
}

.moment-card-night::before {
  background-image: url("../img/fulls/05.jpg");
}

.gallery-section {
  padding-block: var(--section);
  background: var(--canvas);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  background: var(--surface-card);
  border-radius: var(--radius-full);
}

.chip-active {
  color: var(--on-dark);
  background: var(--ink);
}

.masonry {
  width: min(1440px, calc(100% - 16px));
  margin-inline: auto;
  column-count: 4;
  column-gap: 8px;
}

.pin-card {
  display: block;
  margin-bottom: 8px;
  break-inside: avoid;
  border-radius: var(--radius-md);
}

.pin-card img {
  height: auto;
}

.pin-card-large {
  border-radius: var(--radius-lg);
}

.pin-card-tall img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: var(--section);
}

.split-photo {
  min-height: 620px;
  border-radius: var(--radius-lg);
}

.split-copy p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0;
  font-size: 18px;
}

.cuisine-section {
  padding-block: 0 var(--section);
}

.cuisine-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.cuisine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cuisine-card {
  min-height: 240px;
  padding: 24px;
  background: var(--canvas);
  border-radius: var(--radius-md);
}

.cuisine-card:nth-child(even) {
  background: var(--surface-card);
}

.booking-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px clamp(24px, 5vw, 64px);
  color: var(--on-dark);
  background: var(--surface-dark);
}

.booking-strip .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.booking-strip h2 {
  color: var(--on-dark);
  max-width: 760px;
}

.site-footer {
  padding: 32px clamp(24px, 4vw, 48px);
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
}

.site-footer p {
  max-width: 320px;
  margin: 10px 0 0;
  color: var(--mute);
  font-size: 14px;
}

.site-footer a:not(.brand) {
  color: var(--mute);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--container), 100%);
  margin: 32px auto 0;
  padding-top: 20px;
  color: var(--mute);
  font-size: 12px;
  border-top: 1px solid var(--hairline);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 72px 24px 32px;
  background: rgba(0, 0, 0, 0.76);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.lightbox p {
  margin: 16px 0 0;
  color: var(--on-dark);
  font-size: 14px;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  min-height: 40px;
  padding: 6px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  background: var(--canvas);
  border: 0;
  border-radius: var(--radius-md);
}

@media (max-width: 1024px) {
  .hero,
  .intro,
  .village-section,
  .moments-shell,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-board {
    min-height: 560px;
  }

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

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

  .feature-card {
    min-height: 220px;
  }

  .masonry {
    column-count: 3;
  }

  .moments-copy {
    position: static;
  }

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

@media (max-width: 768px) {
  :root {
    --section: 48px;
  }

  .site-header {
    min-height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 60px 12px auto;
    display: grid;
    gap: 8px;
    padding: 16px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a:not(.button),
  .site-nav .button {
    justify-content: flex-start;
    min-height: 48px;
    padding-inline: 16px;
  }

  .section-shell {
    width: min(100% - 32px, var(--container));
  }

  .hero-board {
    grid-template-columns: 1fr 1fr;
    min-height: 440px;
  }

  .pin,
  .split-photo {
    border-radius: var(--radius-md);
  }

  .gallery-heading {
    display: grid;
    align-items: start;
  }

  .chip-row {
    justify-content: flex-start;
  }

  .masonry {
    width: calc(100% - 12px);
    column-count: 2;
    column-gap: 6px;
  }

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

  .moment-card:nth-child(even) {
    transform: none;
  }

  .pin-card {
    margin-bottom: 6px;
  }

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

  .booking-strip {
    display: grid;
  }
}

@media (max-width: 520px) {
  :root {
    --section: 32px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-block: 32px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 44px);
  }

  .hero-copy p:not(.eyebrow),
  .intro p:not(.eyebrow),
  .village-copy p:not(.eyebrow),
  .split-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-board {
    display: block;
    min-height: auto;
  }

  .pin {
    height: auto;
    margin-bottom: 8px;
  }

  .pin img {
    height: auto;
  }

  .pin-tall img,
  .pin-medium img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-card h3 {
    margin-top: 36px;
    font-size: 24px;
  }

  .masonry {
    column-count: 1;
  }

  .moment-card {
    min-height: 280px;
    border-radius: var(--radius-md);
  }

  .moment-card h3 {
    margin-top: 110px;
    font-size: 24px;
  }

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

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
