:root {
  --ink: #1f2522;
  --muted: #66716c;
  --line: #d8ddd6;
  --paper: #fbfaf6;
  --soft: #f0f3ed;
  --white: #ffffff;
  --olive: #5f7458;
  --sea: #286f87;
  --clay: #a35f44;
  --stone: #c5b9a8;
  --shadow: 0 20px 70px rgba(31, 37, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.has-lightbox {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid rgba(216, 221, 214, 0.75);
}

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

.brand img {
  display: block;
  width: auto;
  height: 82px;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2.2vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 72px) 32px;
  background: var(--ink);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 22, 20, 0.76), rgba(16, 22, 20, 0.34) 48%, rgba(16, 22, 20, 0.18)),
    linear-gradient(0deg, rgba(16, 22, 20, 0.45), rgba(16, 22, 20, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  color: var(--white);
  padding-bottom: 3vh;
}

.eyebrow,
.section-kicker,
.suite-meta {
  margin: 0 0 12px;
  color: currentColor;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.intro h2,
.view-copy h2,
.booking-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

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

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

.hero .button.primary {
  background: var(--white);
  color: var(--ink);
}

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

.button.full {
  width: 100%;
}

.section,
.section-band,
.view-section,
.booking-section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.section-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  background: var(--paper);
}

.intro h2,
.section h2,
.view-copy h2,
.booking-copy h2 {
  font-size: clamp(2.2rem, 5vw, 5.4rem);
}

.intro p:last-child,
.view-copy p,
.booking-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

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

.suite-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(31, 37, 34, 0.06);
}

.suite-card.is-selected {
  border-color: var(--sea);
  box-shadow: 0 18px 52px rgba(40, 111, 135, 0.16);
}

.suite-visual {
  min-height: 230px;
  overflow: hidden;
  background: var(--stone);
}

.suite-visual img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 360ms ease;
}

.suite-card:hover .suite-visual img {
  transform: scale(1.025);
}

.suite-visual.terrace img,
.suite-visual.olive img {
  object-position: center center;
}

.suite-visual.castle img {
  object-position: 38% center;
}

.suite-body {
  padding: 24px;
}

.suite-meta {
  color: var(--muted);
  font-size: 0.7rem;
}

.suite-body h3,
.amenity-grid h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.suite-body p,
.amenity-grid p {
  margin: 0;
  color: var(--muted);
}

.text-button {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sea);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.amenities-section {
  background: var(--soft);
}

.gallery-section {
  background: #ffffff;
}

.gallery-groups {
  display: grid;
  gap: 34px;
}

.gallery-group {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.gallery-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gallery-copy h3 {
  max-width: 420px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.08;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}

.gallery-thumb {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(38, 44, 39, 0.08);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  filter: saturate(1.04);
  transform: scale(1.035);
}

.gallery-count {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(18px, 4vw, 42px);
  background: rgba(16, 22, 20, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-frame {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
  min-width: 0;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: min(78svh, 820px);
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

.lightbox-frame figcaption {
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.lightbox-arrow,
.lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.lightbox-arrow {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 2.5rem;
  line-height: 1;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.lightbox-arrow:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

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

.amenity-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--paper);
}

.amenity-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--olive);
  font-size: 0.72rem;
}

.view-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.view-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.booking-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 6vw, 88px);
  background: #fffdf9;
  border-top: 1px solid var(--line);
}

.booking-facts {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
}

.booking-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.booking-facts dt {
  color: var(--muted);
}

.booking-facts dd {
  margin: 0;
  text-align: right;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 4px rgba(40, 111, 135, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-status.success {
  color: var(--olive);
}

.form-status.error {
  color: #9a3e2f;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .section-band,
  .view-section,
  .gallery-group,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .suite-grid,
  .amenity-grid {
    grid-template-columns: 1fr;
  }

  .amenity-grid article {
    min-height: auto;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .lightbox-arrow {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }

  .lightbox-arrow.previous {
    left: 12px;
  }

  .lightbox-arrow.next {
    right: 12px;
  }
}

@media (max-width: 620px) {
  .brand img {
    height: 62px;
  }

  .hero {
    min-height: 82svh;
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

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

}
