:root {
  --color-bg: #f2ede4;
  --color-bg-alt: #e8e0d2;
  --color-dark: #1a1712;
  --color-text: #2b271f;
  --color-text-light: #f2ede4;
  --color-muted: #6f6a5f;
  --color-accent: #c1774a;
  --color-accent-dark: #a2603a;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-sans: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
  display: block;
  margin: 1.2rem 0;
  color: var(--color-muted);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Buttons & links */

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-accent-dark);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.9rem;
}

.eyebrow-light {
  color: #d9a487;
}

.hero .eyebrow {
  color: #fdf6ee;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--color-bg);
  padding: 0.8rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  max-width: 230px;
  line-height: 1.2;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.site-header.is-scrolled .logo-main {
  color: var(--color-text);
}

.logo-accent {
  font-style: italic;
  color: var(--color-accent);
  margin-left: 0.3rem;
}

.logo-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d9a487;
  margin-top: 0.2rem;
}

.site-header.is-scrolled .logo-sub {
  color: var(--color-accent-dark);
}

.main-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.main-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #fff;
}

.site-header.is-scrolled .main-nav a {
  color: var(--color-text);
}

.header-cta {
  padding: 0.6rem 1.4rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: background-color 0.2s ease;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--color-text);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.65) 100%);
}

.hero-content {
  position: relative;
  color: #fff;
  padding-top: 6rem;
  max-width: 780px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Sections */

.section {
  padding: 6.5rem 0;
}

.legal-page {
  padding-top: 10rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 1.2rem;
}

.section-title-light {
  color: #fff;
}

p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

/* Intro */

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text p {
  color: var(--color-muted);
  max-width: 34rem;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-full {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: baseline;
  gap: 0.6rem;
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Amenities */

.amenities {
  background: var(--color-dark);
  color: var(--color-text-light);
  text-align: center;
}

.amenities .eyebrow,
.amenities h2 {
  text-align: center;
}

.amenities h2 {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.amenities-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
}

.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  text-align: center;
}

.amenity svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.amenity small {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(242, 237, 228, 0.6);
}

/* Gallery */

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.gallery-controls {
  display: flex;
  gap: 0.75rem;
}

.gallery-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gallery-arrow:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  color: var(--color-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--color-dark);
}

.filter-btn.is-active {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 1.5rem 1rem;
  scrollbar-width: thin;
}

.gallery-item {
  flex: 0 0 auto;
  width: min(360px, 78vw);
  scroll-snap-align: start;
  margin: 0;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.gallery-item figcaption {
  margin-top: 0.9rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

/* Location */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.location p {
  color: var(--color-muted);
  max-width: 30rem;
}

.map-wrap {
  align-self: stretch;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 4px;
  display: block;
}

.map-wrap iframe[hidden] {
  display: none !important;
}

.map-consent {
  height: 400px;
  border-radius: 4px;
  background: var(--color-bg-alt);
  border: 1px dashed rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

.map-consent[hidden] {
  display: none !important;
}

.map-consent p {
  color: var(--color-muted);
  margin: 0;
  max-width: 22rem;
}

/* House rules */

.rules-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.rule {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.rule svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--color-accent);
}

.rule span {
  font-size: 0.95rem;
  color: var(--color-text);
  padding-top: 0.3rem;
}

/* CTA band */

.cta-band {
  background: var(--color-accent);
  color: #fff;
}

.cta-band-inner {
  padding: 4.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  max-width: 28rem;
}

.cta-band-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-band .btn-accent {
  background: var(--color-dark);
}

.cta-band .btn-accent:hover {
  background: #000;
}

/* Footer */

.site-footer {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  border-radius: 2px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: #d9a487;
  min-height: 1.2em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-weight: normal;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 0.9rem;
}

.social-icons svg {
  width: 22px;
  height: 22px;
}

.icon-airbnb {
  color: #ff5a5f;
}

.icon-airbnb:hover {
  color: #e0484d;
}

.footer-bottom {
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-legal a:hover {
  color: #fff;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 7, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--color-dark);
  color: var(--color-text-light);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  color: rgba(242, 237, 228, 0.85);
  font-size: 0.9rem;
  max-width: 42rem;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Legal pages */

.legal-content {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-content .text-link {
  margin: 0 0 2.5rem;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 2rem;
}

.legal-content p {
  color: var(--color-text);
  margin-bottom: 1.2rem;
}

.legal-content ul {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}

.legal-content strong {
  color: var(--color-text);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-table th {
  font-weight: 600;
  color: var(--color-text);
}

.legal-table td {
  color: var(--color-muted);
}

/* Responsive */

@media (max-width: 960px) {
  .intro-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .intro-stats {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
  }

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

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

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

@media (max-width: 900px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  .main-nav.is-open a {
    color: var(--color-text);
  }
}

@media (max-width: 720px) {
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .gallery-item img {
    height: 320px;
  }
}
