:root {
  --ink: #25352d;
  --forest: #243b31;
  --sage: #66786b;
  --cream: #f5f0e7;
  --sand: #dfd3c1;
  --white: #fffdf9;
  --line: rgba(37, 53, 45, .18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { 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: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  padding: 0 clamp(24px, 5vw, 76px);
  color: var(--white);
  transition: background .3s, color .3s, height .3s, box-shadow .3s;
}
.site-header.scrolled { height: 70px; color: var(--ink); background: rgba(245, 240, 231, .96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); }
.site-header.menu-open { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand-logo { display: block; width: clamp(142px, 13vw, 190px); aspect-ratio: 6 / 1; overflow: hidden; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: invert(1); }
.site-header.scrolled .brand-logo img { filter: none; }
.site-header.menu-open .brand-logo img { filter: invert(1); }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after { right: 0; }
.nav-cta { padding: 11px 19px; border: 1px solid currentColor; }
.menu-toggle { display: none; padding: 8px; color: currentColor; background: none; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 5px 0; background: currentColor; transition: transform .25s, opacity .25s; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 120px clamp(24px, 9vw, 140px) 80px;
  color: var(--white);
  background: url("images/hero-beach.jpg") center 62% / cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,36,28,.76), rgba(16,36,28,.16) 70%), linear-gradient(0deg, rgba(16,36,28,.22), transparent 45%); }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { margin: 0 0 22px; color: var(--sage); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,253,249,.78); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { max-width: 800px; font-size: clamp(54px, 8.2vw, 112px); letter-spacing: -.035em; }
h1 em, h2 em { font-weight: 500; }
.hero-copy { max-width: 530px; margin: 28px 0 38px; color: rgba(255,253,249,.86); font-size: clamp(16px, 1.5vw, 19px); }
.hero-note { position: absolute; z-index: 1; right: clamp(24px, 5vw, 76px); bottom: 38px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 13px 24px; border: 1px solid transparent; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--forest); background: var(--white); }

.section { padding: clamp(84px, 11vw, 160px) clamp(24px, 8vw, 125px); }
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 10vw, 160px); padding-bottom: clamp(54px, 6vw, 84px); align-items: center; }
h2 { font-size: clamp(43px, 6vw, 78px); letter-spacing: -.025em; }
.intro h2 { white-space: nowrap; }
.intro-copy { max-width: 550px; margin-top: 32px; color: #536158; font-size: 17px; }
.intro-copy p { margin: 0 0 20px; }

.intro-pet-photo { width: min(100%, 470px); aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--sand); }
.intro-pet-photo img { object-position: center 62%; transition: transform .7s ease; }
.intro-pet-photo:hover img { transform: scale(1.015); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 clamp(24px, 8vw, 125px) clamp(84px, 10vw, 140px); }
.feature { padding: 34px clamp(18px, 3vw, 42px); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature-icon { display: block; margin-bottom: 30px; color: var(--sage); font-size: 27px; }
.feature h3 { margin-bottom: 9px; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.feature p { margin: 0; color: #728078; font-size: 13px; line-height: 1.55; }

.rooms { color: var(--cream); background: var(--forest); }
.rooms .eyebrow { color: #a9b7ad; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(45px, 10vw, 150px); align-items: end; margin-bottom: 62px; }
.section-heading > p { max-width: 470px; margin: 0 0 5px; color: #bdc8c0; }
.room-gallery { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 230px 230px; gap: 14px; }
.room-photo { min-height: 0; margin: 0; overflow: hidden; background: #324a3f; }
.room-photo-main { grid-row: 1 / 3; }
.room-photo img { transition: transform .7s ease; }
.room-photo:hover img { transform: scale(1.025); }
.room-details { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 120px); padding-top: 55px; }
.mini-label { margin: 0 0 12px; color: #a9b7ad; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.room-summary h3 { max-width: 430px; font-size: clamp(27px, 3vw, 40px); }
.room-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid rgba(255,255,255,.2); }
.room-facts div { padding: 20px 16px 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.room-facts dt { color: #a9b7ad; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.room-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 18px; }

.location { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 730px; background: var(--sand); }
.location-image { min-height: 560px; background: url("images/location-road.jpg") center / cover no-repeat; }
.location-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 140px) clamp(38px, 8vw, 115px); }
.location-copy > p:not(.eyebrow) { max-width: 540px; margin: 30px 0 35px; color: #56645b; }
.transport-note { display: flex; gap: 18px; align-items: flex-start; padding-top: 24px; border-top: 1px solid rgba(37,53,45,.24); }
.transport-note > span { font-size: 24px; line-height: 1.2; }
.transport-note strong, .transport-note div span { display: block; }
.transport-note strong { margin-bottom: 2px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.transport-note div span { color: #68766d; font-size: 13px; }

.booking { text-align: center; color: var(--white); background: #314d40; }
.booking h2 { max-width: 900px; margin: 0 auto; }
.booking > p:not(.eyebrow) { max-width: 540px; margin: 28px auto 38px; color: rgba(255,255,255,.72); }
.booking-actions { display: flex; justify-content: center; gap: 12px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px clamp(24px, 5vw, 76px); color: #718078; background: #1e3028; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand { color: var(--cream); text-transform: none; }
.footer-brand .brand-logo { width: 130px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px; color: var(--cream); background: var(--forest); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, visibility .25s, transform .25s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { font-size: 15px; }
  .nav-cta { margin-top: 10px; padding: 14px 28px; }
  .intro, .section-heading, .room-details, .location { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .section-heading { align-items: start; }
  .section-heading > p { max-width: 620px; }
  .location-image { min-height: 480px; }
}

@media (max-width: 620px) {
  .hero { align-items: flex-end; padding-bottom: 120px; background-position: 58% center; }
  .hero-note { left: 24px; right: auto; bottom: 35px; }
  .hero-copy { margin-top: 22px; }
  .section { padding: 84px 24px; }
  .intro { gap: 38px; padding-bottom: 60px; }
  .intro h2 { font-size: clamp(34px, 10.5vw, 42px); }
  .intro-pet-photo { width: 100%; margin: 0; aspect-ratio: 4 / 3; }
  .features { grid-template-columns: 1fr; padding: 0 24px 80px; }
  .feature { padding: 28px 0; border-right: 0; }
  .feature-icon { margin-bottom: 16px; }
  .section-heading { gap: 35px; margin-bottom: 42px; }
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 150px; gap: 8px; }
  .room-photo-main { grid-column: 1 / 3; grid-row: 1; }
  .room-facts { grid-template-columns: 1fr; }
  .room-details { gap: 35px; padding-top: 38px; }
  .location { min-height: auto; }
  .location-image { min-height: 400px; }
  .location-copy { padding: 75px 24px 82px; }
  .booking-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .footer { flex-direction: column; text-align: center; }
}
