:root {
  --ink: #101817;
  --deep: #071f25;
  --blue: #0b4d5c;
  --sage: #aab596;
  --paper: #f6f4ee;
  --white: #ffffff;
  --mist: #e8ebe2;
  --coral: #9c553e;
  --brass: #b59658;
  --wine: #4e2530;
  --wood: #8f6348;
  --shadow: 0 30px 90px rgba(8, 31, 37, 0.22);
  --soft-shadow: 0 18px 48px rgba(8, 31, 37, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--white);
  border-color: rgba(181, 150, 88, 0.2);
  background: rgba(7, 31, 37, 0.94);
  box-shadow: 0 16px 44px rgba(8, 31, 37, 0.11);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand-logo {
  width: clamp(220px, 22vw, 300px);
  height: auto;
  max-height: 116px;
  object-fit: contain;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 2px 0 rgba(4, 14, 18, 0.95)) drop-shadow(0 5px 10px rgba(4, 14, 18, 0.82)) drop-shadow(0 22px 42px rgba(0, 0, 0, 0.52));
}

.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover::after {
  opacity: 0.7;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px clamp(20px, 5vw, 76px) 58px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/blue-keys-retreat-hero.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
  filter: saturate(0.94) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 18, 22, 0.84), rgba(5, 18, 22, 0.48) 46%, rgba(5, 18, 22, 0.12)),
    linear-gradient(0deg, rgba(5, 18, 22, 0.54), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dbc084;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 730px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7.8vw, 7.25rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.4vw, 4.45rem);
  font-weight: 500;
}

h3 {
  font-size: 1.05rem;
  font-weight: 760;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #1d1710;
  background: linear-gradient(135deg, #e2c884, var(--brass));
  box-shadow: 0 18px 42px rgba(181, 150, 88, 0.28);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.quick-card {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: 52px;
  z-index: 1;
  width: min(360px, calc(100% - 40px));
  padding: 24px;
  border: 1px solid rgba(219, 192, 132, 0.38);
  border-radius: 2px;
  background: rgba(7, 31, 37, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.quick-card span {
  display: block;
  margin-bottom: 10px;
  color: #dbc084;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.quick-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.intro-band,
.amenities-band,
.booking-band,
.experience,
.gallery {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 70px);
}

.intro-band,
.amenities-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0)),
    var(--paper);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 44px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: rgba(8, 31, 37, 0.13);
  border-top: 1px solid rgba(8, 31, 37, 0.13);
  border-bottom: 1px solid rgba(8, 31, 37, 0.13);
}

.intro-grid article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.62);
}

.intro-grid article + article {
  border-left: 1px solid rgba(8, 31, 37, 0.13);
}

.metric {
  display: block;
  margin-bottom: 42px;
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.8;
}

.intro-grid p,
.experience p,
.gallery p,
.booking-copy p,
.form-note {
  color: rgba(16, 39, 44, 0.72);
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  background:
    radial-gradient(circle at 18% 18%, rgba(181, 150, 88, 0.16), transparent 30%),
    linear-gradient(135deg, var(--deep), #111817 62%, var(--wine));
  color: var(--white);
}

.experience-copy {
  max-width: 620px;
}

.experience-copy p:not(.eyebrow),
.experience-list p {
  color: rgba(255, 255, 255, 0.74);
}

.experience-list {
  display: grid;
  gap: 18px;
}

.experience-list > div {
  padding: 30px;
  border: 1px solid rgba(219, 192, 132, 0.2);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--deep);
  background: linear-gradient(135deg, #d9c98d, var(--sage));
  font-size: 0.78rem;
  font-weight: 900;
}

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

.amenity {
  min-height: 150px;
  padding: 26px;
  border: 1px solid rgba(8, 31, 37, 0.12);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
}

.amenity span {
  display: block;
  margin-bottom: 18px;
  color: var(--brass);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.amenity strong {
  font-size: 1.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #eee5d8;
}

.gallery-main {
  overflow: hidden;
  border: 10px solid #f9f6ef;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--wine);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.booking-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(7, 31, 37, 0.06), transparent 34%),
    var(--white);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid rgba(181, 150, 88, 0.36);
  border-radius: 2px;
  background: #fbfaf5;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(16, 24, 23, 0.78);
  font-size: 0.83rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(8, 31, 37, 0.18);
  border-radius: 2px;
  padding: 14px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(181, 150, 88, 0.38);
  outline-offset: 2px;
  border-color: rgba(181, 150, 88, 0.7);
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  font-size: 0.82rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 70px);
  color: var(--white);
  background: #071f25;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  text-decoration: none;
  font-weight: 800;
}

.footer-brand img {
  width: min(360px, 76vw);
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 980px) {
  .quick-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 36px;
  }

  .hero {
    align-items: center;
  }

  .intro-grid,
  .amenities-grid,
  .experience,
  .gallery,
  .booking-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
    align-items: flex-start;
    color: var(--white);
    background: linear-gradient(180deg, rgba(7, 42, 50, 0.72), transparent);
  }

  .site-header.is-scrolled {
    color: var(--white);
    background: linear-gradient(180deg, rgba(7, 42, 50, 0.72), transparent);
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82rem;
  }

  .brand-logo {
    width: min(180px, 58vw);
    max-height: 116px;
    padding: 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: 152px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 42, 50, 0.82), rgba(7, 42, 50, 0.48)),
      linear-gradient(0deg, rgba(7, 42, 50, 0.46), transparent 45%);
  }

  .button {
    width: 100%;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
