:root {
  --ink: #16201e;
  --muted: #69736f;
  --paper: #f5efe4;
  --ivory: #fffaf0;
  --mist: #eaf4ef;
  --forest: #183d33;
  --forest-deep: #0d241f;
  --sea: #2c817c;
  --copper: #b87857;
  --gold: #f0d2a4;
  --line: rgba(22, 32, 30, 0.12);
  --shadow: 0 30px 90px rgba(18, 35, 31, 0.16);
  font-family:
    "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fff7e9 0%, #f2f7f2 34%, #fffaf0 67%, #f3eadc 100%);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(18px, 4vw, 64px);
  color: white;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 18px 54px rgba(20, 34, 31, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(250px, 24vw, 376px);
  height: auto;
  overflow: visible;
}

.brand-logo-word {
  fill: currentColor;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 43px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-logo-place {
  fill: var(--gold);
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.34em;
}

.brand-logo-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.header-book {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.is-scrolled .header-book {
  border-color: rgba(184, 120, 87, 0.34);
  background: var(--copper);
  color: white;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  background: var(--forest-deep);
}

.hero-image,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("./assets/hero-coastal-luxury.webp") center / cover;
  filter: saturate(1.05) contrast(0.98) brightness(0.98);
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(9, 28, 24, 0.72) 0%, rgba(9, 28, 24, 0.34) 41%, rgba(9, 28, 24, 0.02) 100%),
    linear-gradient(0deg, rgba(9, 28, 24, 0.68) 0%, rgba(9, 28, 24, 0.1) 52%, rgba(255, 242, 217, 0.08) 100%);
}

.hero-side {
  position: absolute;
  left: clamp(18px, 4vw, 64px);
  bottom: 42%;
  display: grid;
  gap: 18px;
  transform: translateX(-42%) rotate(-90deg);
  transform-origin: left center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  padding: clamp(120px, 18vh, 190px) clamp(20px, 7vw, 112px) 0;
}

.kicker {
  margin: 0 0 16px;
  color: var(--sea);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.kicker.light {
  color: var(--gold);
}

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

h1,
h2 {
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-family:
    "Bodoni 72", Didot, "Bodoni 72 Smallcaps", "Georgia", "Times New Roman", serif;
  font-size: clamp(62px, 7.8vw, 118px);
  font-weight: 400;
  line-height: 0.96;
  text-shadow: 0 18px 46px rgba(8, 25, 21, 0.32);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 72px);
  line-height: 1.02;
}

h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
}

.hero-content p:not(.kicker) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 120, 87, 0.88);
  border-radius: 999px;
  padding: 0 24px;
  background: linear-gradient(135deg, #c98b68 0%, #9e6045 100%);
  color: white;
  font-weight: 900;
  box-shadow: 0 20px 52px rgba(77, 42, 30, 0.24);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.hero-booking {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 80px);
  bottom: clamp(22px, 5vh, 58px);
  display: grid;
  width: min(420px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.16);
  box-shadow: 0 28px 80px rgba(8, 24, 20, 0.22);
  backdrop-filter: blur(22px);
}

.hero-booking a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-booking a:last-child {
  border-bottom: 0;
}

.hero-booking span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-booking strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.section {
  padding: clamp(78px, 10vw, 150px) clamp(20px, 6vw, 92px);
  scroll-margin-top: 96px;
}

.manifesto {
  background: var(--ivory);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: end;
}

.manifesto h2 {
  max-width: 980px;
  margin-bottom: 0;
}

.manifesto p:not(.kicker),
.stay-copy p,
.ritual p,
.place-copy p,
.booking-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.experience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 760px;
}

.experience-panel {
  position: relative;
  display: grid;
  min-height: 760px;
  align-items: end;
  overflow: hidden;
  color: white;
  isolation: isolate;
}

.experience-panel::before,
.experience-panel::after {
  position: absolute;
  inset: 0;
  content: "";
}

.experience-panel::before {
  z-index: -2;
  background: center / cover;
  transition: transform 600ms ease;
}

.experience-panel::after {
  z-index: -1;
  background: linear-gradient(0deg, rgba(9, 27, 24, 0.82) 0%, rgba(9, 27, 24, 0.1) 62%);
}

.experience-panel:hover::before {
  transform: scale(1.035);
}

.experience-panel.beach::before {
  background-image: url("./riviera-pics/riviera-site/chosen/enhanced/IMG_3779-1024x768-enhanced.webp");
}

.experience-panel.forest::before {
  background-image: url("./riviera-pics/riviera-site/chosen/enhanced/IMG_3812-1024x768-enhanced.webp");
}

.experience-panel.villa::before {
  background-image: url("./riviera-pics/riviera-site/chosen/enhanced/riviera-4os-1-3-enhanced.webp");
}

.experience-panel > div {
  padding: clamp(28px, 4vw, 54px);
}

.experience-panel span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
}

.experience-panel h2 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 4vw, 58px);
}

.experience-panel p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}

.stay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: center;
  background: linear-gradient(180deg, #f4f8f3 0%, var(--ivory) 100%);
}

.stay-media {
  display: grid;
  grid-template-columns: 0.9fr 0.72fr;
  gap: 14px;
  align-items: end;
}

.stay-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stay-media img:last-child {
  min-height: 360px;
  transform: translateY(58px);
}

.stay-media img:nth-child(3) {
  min-height: 330px;
  transform: translateY(-34px);
}

.stay-media img:nth-child(4) {
  min-height: 330px;
  transform: translateY(28px);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 15px;
  background: rgba(255, 250, 240, 0.78);
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
}

.ritual {
  background: var(--ivory);
}

.ritual-heading {
  max-width: 900px;
  margin-bottom: 54px;
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.ritual-grid article {
  min-height: 320px;
  padding: clamp(26px, 4vw, 46px);
  background:
    radial-gradient(circle at 80% 16%, rgba(240, 210, 164, 0.12), rgba(240, 210, 164, 0) 34%),
    #fffaf0;
}

.ritual-grid small {
  color: var(--copper);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ritual-grid h3 {
  margin-top: 72px;
}

.place {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  min-height: 760px;
  color: white;
  background: var(--forest-deep);
}

.place-copy {
  display: grid;
  align-content: center;
  padding: clamp(46px, 7vw, 100px);
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 210, 164, 0.14), rgba(240, 210, 164, 0) 34%),
    linear-gradient(135deg, #102a24, #1f4b40);
}

.place-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.place-image {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(16, 42, 36, 0.16), rgba(16, 42, 36, 0.02)),
    url("./riviera-pics/riviera-site/chosen/enhanced/sea-g021f68a4a_1920-enhanced.webp") center / cover;
}

.text-link {
  width: max-content;
  margin-top: 22px;
  border-bottom: 2px solid currentColor;
  color: #f4cea8;
  font-weight: 950;
}

.gallery {
  background: linear-gradient(180deg, #f3eadc 0%, #fffaf0 100%);
}

.gallery-heading {
  max-width: 980px;
  margin-bottom: 46px;
}

.gallery-heading h2 {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid .wide {
  grid-row: span 2;
  min-height: 640px;
}

.reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
  background: #eef7f1;
}

.review-scoreboard {
  display: grid;
  gap: 10px;
}

.review-scoreboard a,
.booking-panel a {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 50px rgba(20, 34, 31, 0.06);
}

.review-scoreboard span,
.booking-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-scoreboard strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 0.95;
}

.review-scoreboard small {
  color: var(--muted);
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.64fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.93), rgba(237, 247, 241, 0.92)),
    url("./riviera-pics/riviera-site/chosen/enhanced/IMG_3812-1024x768-enhanced.webp") center / cover;
}

.booking-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.booking-panel a {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.booking-panel strong {
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.18;
}

.booking-panel .primary-contact {
  background: var(--forest-deep);
  color: white;
}

.booking-panel .primary-contact span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 6vw, 92px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--forest-deep);
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 800;
}

.footer-meta a:hover {
  color: #f4cea8;
}

.not-found {
  display: grid;
  min-height: 100svh;
  align-content: center;
  gap: 18px;
  padding: clamp(42px, 8vw, 110px);
  color: white;
  background:
    linear-gradient(135deg, rgba(9, 28, 24, 0.86), rgba(9, 28, 24, 0.58)),
    url("./assets/hero-coastal-luxury.webp") center / cover;
}

.not-found h1 {
  margin-bottom: 0;
  font-size: clamp(46px, 8vw, 92px);
}

.not-found p:not(.kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.7;
}

.not-found .button {
  width: max-content;
}

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

  .nav {
    display: none;
  }

  .hero-side {
    display: none;
  }

  .hero-content {
    padding-inline: clamp(20px, 6vw, 70px);
  }

  .hero-booking {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 42px clamp(20px, 6vw, 70px) 34px;
  }

  .manifesto-grid,
  .experience,
  .stay,
  .place,
  .gallery-heading,
  .reviews,
  .booking {
    grid-template-columns: 1fr;
  }

  .experience-panel,
  .experience {
    min-height: auto;
  }

  .experience-panel {
    min-height: 520px;
  }

  .stay-media img:nth-child(3),
  .stay-media img:nth-child(4),
  .stay-media img:last-child {
    transform: none;
  }

  .ritual-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .wide {
    grid-row: auto;
    min-height: 360px;
  }
}

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

  .brand-logo {
    width: 190px;
  }

  .header-book {
    padding: 10px 13px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 92px 18px 0;
  }

  h1 {
    font-size: clamp(44px, 12.8vw, 58px);
    line-height: 0.98;
    margin-bottom: 14px;
  }

  h2 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .hero-content p:not(.kicker) {
    font-size: 15.5px;
    line-height: 1.42;
  }

  .hero-actions {
    display: grid;
    margin-top: 18px;
  }

  .button {
    min-height: 48px;
  }

  .hero-booking {
    width: auto;
    margin: 22px 18px 18px;
  }

  .hero-booking a {
    padding: 13px 16px;
  }

  .hero-booking strong {
    font-size: 28px;
  }

  .section {
    padding: 62px 18px;
  }

  .experience-panel {
    min-height: 470px;
  }

  .stay-media {
    grid-template-columns: 1fr;
  }

  .stay-media img,
  .stay-media img:nth-child(3),
  .stay-media img:nth-child(4),
  .stay-media img:last-child,
  .place-image {
    min-height: 320px;
    transform: none;
  }

  .place-copy {
    padding: 62px 18px;
  }

  .gallery-grid img,
  .gallery-grid .wide {
    min-height: 260px;
  }

  .site-footer {
    display: grid;
    padding: 24px 18px;
  }

  .footer-meta {
    text-align: left;
  }
}
