/* ============================================================
   THE EVERGREEN AERIE — design tokens
   Modern Mountain: warm stone neutrals, deep forest green,
   teal accent (drawn from the cabin's own facade), wood-brown warmth.
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces — warm stone */
  --color-bg: #f6f3ea;
  --color-surface: #ffffff;
  --color-surface-2: #fbf9f3;
  --color-surface-offset: #eee8d9;
  --color-surface-offset-2: #e5ddc9;
  --color-surface-dynamic: #ded5bd;
  --color-divider: #e2dac5;
  --color-border: #d8cdb2;

  /* Text — deep charcoal-green */
  --color-text: #22251d;
  --color-text-muted: #5c6153;
  --color-text-faint: #9a9c8a;
  --color-text-inverse: #f6f3ea;

  /* Primary — deep forest green */
  --color-primary: #33513c;
  --color-primary-hover: #223a29;
  --color-primary-active: #16281c;
  --color-primary-highlight: #d8e1d3;

  /* Accent — cabin teal (from the garage doors) */
  --color-accent: #1f7a76;
  --color-accent-hover: #175f5c;
  --color-accent-active: #0f4442;
  --color-accent-highlight: #cfe4e1;

  /* Warm wood brown — secondary highlight */
  --color-warning: #8a5a35;
  --color-warning-hover: #6d4527;
  --color-warning-active: #4f321c;
  --color-warning-highlight: #e6dac9;

  --color-error: #a13b3b;
  --color-error-hover: #7d2c2c;
  --color-error-active: #591f1f;
  --color-error-highlight: #e3cfcb;

  --color-success: #4a7a33;
  --color-success-hover: #345c21;
  --color-success-active: #223f15;
  --color-success-highlight: #d9e2cd;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 120 / 0.08);
  --shadow-md: 0 6px 20px oklch(0.2 0.02 120 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 120 / 0.16);

  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #14160f;
  --color-surface: #1a1c14;
  --color-surface-2: #1e2117;
  --color-surface-offset: #23261a;
  --color-surface-offset-2: #2b2e20;
  --color-surface-dynamic: #333725;
  --color-divider: #2a2d1f;
  --color-border: #383c28;

  --color-text: #e8e4d4;
  --color-text-muted: #a4a591;
  --color-text-faint: #6c6e5b;
  --color-text-inverse: #1a1c14;

  --color-primary: #86b58e;
  --color-primary-hover: #a4cbab;
  --color-primary-active: #bcdcc1;
  --color-primary-highlight: #2a3a2c;

  --color-accent: #5cbdb8;
  --color-accent-hover: #7fcdc9;
  --color-accent-active: #9fdad7;
  --color-accent-highlight: #1f3a38;

  --color-warning: #c99361;
  --color-warning-hover: #d6ab7f;
  --color-warning-active: #e2c19f;
  --color-warning-highlight: #3c2f22;

  --color-error: #d47a7a;
  --color-error-hover: #dd9797;
  --color-error-active: #e5b0b0;
  --color-error-highlight: #3c2626;

  --color-success: #96c47a;
  --color-success-hover: #aed393;
  --color-success-active: #c3e0ac;
  --color-success-highlight: #2a3620;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #14160f;
    --color-surface: #1a1c14;
    --color-surface-2: #1e2117;
    --color-surface-offset: #23261a;
    --color-surface-offset-2: #2b2e20;
    --color-surface-dynamic: #333725;
    --color-divider: #2a2d1f;
    --color-border: #383c28;
    --color-text: #e8e4d4;
    --color-text-muted: #a4a591;
    --color-text-faint: #6c6e5b;
    --color-text-inverse: #1a1c14;
    --color-primary: #86b58e;
    --color-primary-hover: #a4cbab;
    --color-primary-active: #bcdcc1;
    --color-primary-highlight: #2a3a2c;
    --color-accent: #5cbdb8;
    --color-accent-hover: #7fcdc9;
    --color-accent-active: #9fdad7;
    --color-accent-highlight: #1f3a38;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 6px 20px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
  }
}

/* ---------- Type scale ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.wrap--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--color-accent);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text);
}

h2.section-title {
  font-size: var(--text-xl);
  margin-block: var(--space-3) var(--space-6);
}

p {
  color: var(--color-text-muted);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: oklch(from var(--color-bg) l c h / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.header.is-scrolled {
  border-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
}
.brand svg {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.brand__name--short {
  display: none;
}
.brand__sub {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__links {
  display: flex;
  gap: var(--space-6);
}
.nav__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: var(--space-1);
  border-bottom: 1px solid transparent;
}
.nav__links a:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fbfbf7;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-invert {
  background: var(--color-text-inverse);
  color: var(--color-primary-active);
}
.btn-invert:hover {
  background: var(--color-surface-2);
  transform: translateY(-1px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #f6f3ea;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.15 0.02 140 / 0.55) 0%,
    oklch(0.15 0.02 140 / 0.25) 38%,
    oklch(0.12 0.02 140 / 0.85) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-16) var(--space-20);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eae6d6;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.25);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-size: var(--text-3xl);
  color: #fbfaf4;
  max-width: 16ch;
  margin-bottom: var(--space-4);
}
.hero__sub {
  font-size: var(--text-lg);
  color: #e7e3d3;
  max-width: 46ch;
  margin-bottom: var(--space-8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: var(--space-8);
  border-top: 1px solid oklch(1 0 0 / 0.2);
  padding-top: var(--space-6);
  max-width: 760px;
}
.hero__fact-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fbfaf4;
  display: block;
}
.hero__fact-label {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfcabb;
}

/* ============================================================
   Intro / about
   ============================================================ */
.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-16);
  align-items: center;
}
.intro__media {
  position: relative;
}
.intro__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.intro__media-tag {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow-md);
}
.intro__media-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-primary);
}
.intro__media-tag span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.intro__body p + p {
  margin-top: var(--space-4);
}
.intro__pull {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-5);
  margin-top: var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}

/* ============================================================
   Amenities
   ============================================================ */
.amenities-head {
  max-width: 62ch;
  margin-bottom: var(--space-12);
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.amenity-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    border-color var(--transition-interactive);
}
.amenity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.amenity-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
[data-theme='dark'] .amenity-card__icon {
  background: var(--color-primary-highlight);
}
.amenity-card__icon svg {
  width: 22px;
  height: 22px;
}
.amenity-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-6);
  background: linear-gradient(135deg, var(--color-accent-highlight) 0%, var(--color-surface) 70%);
  border-color: var(--color-accent);
}
.amenity-card--featured .amenity-card__icon {
  background: var(--color-accent);
  color: #fbfaf4;
  flex-shrink: 0;
}
.amenity-card--featured__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.amenity-card--featured h3 {
  font-size: var(--text-lg);
}
.amenity-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
}
.amenity-card p {
  font-size: var(--text-sm);
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: var(--space-4);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item figcaption {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  font-size: var(--text-xs);
  color: #fff;
  background: oklch(0.1 0 0 / 0.55);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  max-width: none;
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition-interactive);
}
.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item--wide {
  grid-column: span 2;
}
.gallery-item--tall {
  grid-row: span 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: oklch(0.08 0 0 / 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-height: 86vh;
  max-width: 90vw;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: oklch(1 0 0 / 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover {
  background: oklch(1 0 0 / 0.22);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: oklch(1 0 0 / 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox__nav:hover {
  background: oklch(1 0 0 / 0.22);
}
.lightbox__prev {
  left: var(--space-6);
}
.lightbox__next {
  right: var(--space-6);
}

/* ============================================================
   Location
   ============================================================ */
.location {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}
[data-theme='dark'] .location {
  background: var(--color-surface-offset);
  color: var(--color-text);
}
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.location .eyebrow {
  color: #bfe0c8;
}
[data-theme='dark'] .location .eyebrow {
  color: var(--color-accent);
}
.location h2 {
  color: #fbfaf4;
  font-size: var(--text-xl);
  margin-block: var(--space-3) var(--space-5);
}
[data-theme='dark'] .location h2 {
  color: var(--color-text);
}
.location p {
  color: #d9e3d5;
}
[data-theme='dark'] .location p {
  color: var(--color-text-muted);
}
.location__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.location__stat {
  border: 1px solid oklch(1 0 0 / 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
[data-theme='dark'] .location__stat {
  border-color: var(--color-border);
}
.location__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fbfaf4;
  margin-bottom: var(--space-1);
}
[data-theme='dark'] .location__stat strong {
  color: var(--color-text);
}
.location__stat span {
  font-size: var(--text-xs);
  color: #cddccb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-theme='dark'] .location__stat span {
  color: var(--color-text-faint);
}
.location__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.pricing-card .eyebrow {
  justify-content: center;
}
.pricing-card .eyebrow::before {
  display: none;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-block: var(--space-4) var(--space-2);
}
.pricing-amount span {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-weight: 400;
}
.pricing-note {
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}
.pricing-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  text-align: left;
  margin-bottom: var(--space-6);
}
.pricing-addon {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}
.pricing-list li {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
  align-items: flex-start;
}
.pricing-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   Availability calendar
   ============================================================ */
.availability-card {
  max-width: 480px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.availability-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}
.cal-month-label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin: 0;
}
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-divider);
  background: var(--color-surface-2);
  color: var(--color-text);
  cursor: pointer;
  transition: background-color var(--transition-interactive), opacity var(--transition-interactive);
}
.cal-nav svg {
  width: 16px;
  height: 16px;
}
.cal-nav:hover {
  background: var(--color-surface-offset);
}
.cal-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  min-height: 216px;
}
.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface-2);
}
.cal-day--empty {
  background: transparent;
}
.cal-day--past {
  color: var(--color-text-faint);
  background: transparent;
}
.cal-day--booked {
  background: var(--color-surface-offset-2);
  color: var(--color-text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--color-text-faint);
  text-decoration-thickness: 1px;
}
.cal-day--today {
  box-shadow: inset 0 0 0 1.5px var(--color-accent);
  font-weight: 600;
}
.cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.cal-legend {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.cal-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cal-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
}
.cal-dot--booked {
  background: var(--color-surface-offset-2);
}
.cal-synced {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: 0;
}
.availability-note {
  text-align: center;
  margin-top: var(--space-8);
  color: var(--color-text-muted);
}
.availability-note a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================================
   Inquiry form
   ============================================================ */
.inquire {
  background: var(--color-surface-offset);
}
.inquire__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-16);
}
.inquire__aside h2 {
  font-size: var(--text-xl);
  margin-block: var(--space-3) var(--space-5);
}
.contact-block {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}
.contact-block h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}
.contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}
.contact-line a {
  color: var(--color-text);
  text-decoration: none;
}
.contact-line a:hover {
  color: var(--color-accent);
}
.contact-line svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-highlight);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
}
.form-success.is-visible {
  display: block;
}
.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--color-success);
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-primary-active);
  color: #e6e6da;
  padding-block: var(--space-16) var(--space-8);
}
[data-theme='dark'] .footer {
  background: var(--color-surface);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid oklch(1 0 0 / 0.14);
  margin-bottom: var(--space-8);
}
[data-theme='dark'] .footer__grid {
  border-color: var(--color-border);
}
.footer .brand svg {
  color: #cddccb;
}
[data-theme='dark'] .footer .brand svg {
  color: var(--color-primary);
}
.footer .brand__name {
  color: #fbfaf4;
}
[data-theme='dark'] .footer .brand__name {
  color: var(--color-text);
}
.footer .brand__sub {
  color: #a9b6a5;
}
.footer p {
  color: #c3ccbe;
  font-size: var(--text-sm);
  max-width: 34ch;
}
[data-theme='dark'] .footer p {
  color: var(--color-text-muted);
}
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a9b6a5;
  margin-bottom: var(--space-4);
}
[data-theme='dark'] .footer h4 {
  color: var(--color-text-faint);
}
.footer__links a,
.footer__links span {
  display: block;
  color: #d6ddcf;
  font-size: var(--text-sm);
  text-decoration: none;
  margin-bottom: var(--space-3);
}
[data-theme='dark'] .footer__links a,
[data-theme='dark'] .footer__links span {
  color: var(--color-text-muted);
}
.footer__links a:hover {
  color: #fff;
}
[data-theme='dark'] .footer__links a:hover {
  color: var(--color-text);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: #93a08e;
}
[data-theme='dark'] .footer__bottom {
  color: var(--color-text-faint);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .intro,
  .location__grid,
  .inquire__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .location__media {
    order: -1;
  }
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
  .pricing-list {
    grid-template-columns: 1fr;
  }
  .hero__facts {
    grid-template-columns: repeat(2, auto);
    gap: var(--space-6) var(--space-10);
  }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header__row {
    flex-wrap: nowrap;
    gap: var(--space-3);
  }
  .brand {
    min-width: 0;
    flex-shrink: 1;
    gap: var(--space-2);
  }
  .brand svg {
    width: 28px;
    height: 28px;
  }
  .brand__text {
    min-width: 0;
    overflow: hidden;
  }
  .brand__name {
    font-size: var(--text-sm);
    white-space: nowrap;
  }
  .brand__sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav__actions {
    gap: var(--space-2);
    flex-shrink: 0;
  }
  .nav__actions .btn-primary {
    padding-inline: var(--space-3);
    font-size: var(--text-xs);
    white-space: nowrap;
  }
  .theme-toggle {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  .menu-toggle {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .brand__name--full {
    display: none;
  }
  .brand__name--short {
    display: inline;
  }
}

@media (max-width: 420px) {
  .brand__sub {
    display: none;
  }
  .brand__name {
    font-size: var(--text-xs);
  }
}

@media (max-width: 720px) {
  .amenity-grid {
    grid-template-columns: 1fr;
  }
  .amenity-card--featured {
    flex-direction: column;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
  .hero {
    min-height: 82vh;
  }
  .hero__media img {
    object-position: center 30%;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.faq-item + .faq-item {
  margin-top: 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: var(--text-xl);
  line-height: 1;
  color: var(--color-accent);
  transition: transform var(--transition-interactive);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
  max-width: 68ch;
}

@media (max-width: 720px) {
  .faq-item {
    padding: var(--space-4) var(--space-5);
  }
  .faq-item summary {
    font-size: var(--text-base);
  }
}
