/* ═══════════════════════════════════════════════
   The Pines at Scandia — Design Tokens & Styles
   ═══════════════════════════════════════════════ */

/* ── 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, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  /* ── Spacing (4px base) ── */
  --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;

  /* ── Radius ── */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ── Transitions ── */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Content widths ── */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* ── Fonts ── */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

/* ── Northwoods Palette — Light Mode ── */
:root,
[data-theme='light'] {
  --color-bg: #FAF8F5;
  --color-surface: #F5F1EB;
  --color-surface-2: #EDE8E0;
  --color-surface-offset: #E8E2D8;
  --color-divider: #D4CCBF;
  --color-border: #C9C0B1;

  --color-text: #2A2520;
  --color-text-muted: #6B6259;
  --color-text-faint: #A39888;
  --color-text-inverse: #FAF8F5;

  --color-primary: #2D5A3D;
  --color-primary-hover: #1F4A2F;
  --color-primary-active: #163B23;
  --color-primary-light: #D4E5D9;

  --color-accent: #B87333;
  --color-accent-hover: #9A5F29;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 60 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 60 / 0.12);
}

/* ── Dark Mode ── */
[data-theme='dark'] {
  --color-bg: #1A1815;
  --color-surface: #211F1B;
  --color-surface-2: #292622;
  --color-surface-offset: #2E2A25;
  --color-divider: #3A352E;
  --color-border: #4A4339;

  --color-text: #E5DFD6;
  --color-text-muted: #9E9586;
  --color-text-faint: #6B6359;
  --color-text-inverse: #1A1815;

  --color-primary: #6FAF7F;
  --color-primary-hover: #5A9A6A;
  --color-primary-active: #4A8559;
  --color-primary-light: #2B3A2F;

  --color-accent: #D49558;
  --color-accent-hover: #C08345;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1A1815;
    --color-surface: #211F1B;
    --color-surface-2: #292622;
    --color-surface-offset: #2E2A25;
    --color-divider: #3A352E;
    --color-border: #4A4339;
    --color-text: #E5DFD6;
    --color-text-muted: #9E9586;
    --color-text-faint: #6B6359;
    --color-text-inverse: #1A1815;
    --color-primary: #6FAF7F;
    --color-primary-hover: #5A9A6A;
    --color-primary-active: #4A8559;
    --color-primary-light: #2B3A2F;
    --color-accent: #D49558;
    --color-accent-hover: #C08345;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ═══════════════════════════════════════════════
   GLOBAL STYLES
   ═══════════════════════════════════════════════ */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

.container--narrow {
  max-width: var(--content-default);
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .nav__inner { padding-inline: var(--space-8); }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.nav__logo svg {
  width: 32px;
  height: 32px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links {
  display: none;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 450;
  letter-spacing: 0.03em;
  transition: color var(--transition-interactive);
}

.nav__links a:hover {
  color: var(--color-text);
}

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

.nav__cta {
  display: none;
  padding: var(--space-2) var(--space-5);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}

@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
}

.nav__cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.nav__cta:active {
  transform: translateY(0);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

/* Mobile hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

@media (min-width: 768px) {
  .nav__hamburger { display: none; }
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-decoration: none;
  color: var(--color-text);
  transition: color var(--transition-interactive);
}

.mobile-menu a:hover { color: var(--color-primary); }

.mobile-menu__cta {
  padding: var(--space-3) var(--space-8);
  background: var(--color-primary);
  color: var(--color-text-inverse) !important;
  border-radius: var(--radius-full);
  font-family: var(--font-body) !important;
  font-size: var(--text-base) !important;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.15 0.02 60 / 0.85) 0%,
    oklch(0.15 0.02 60 / 0.4) 40%,
    oklch(0.15 0.02 60 / 0.1) 70%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-12) var(--space-4) var(--space-16);
  max-width: var(--content-wide);
  margin-inline: auto;
  width: 100%;
  color: #FAF8F5;
}

@media (min-width: 768px) {
  .hero__content { padding: var(--space-16) var(--space-8) var(--space-20); }
}

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(0.85 0.05 60 / 0.8);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

@media (min-width: 768px) {
  .hero__title { font-size: var(--text-hero); }
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  margin-bottom: var(--space-8);
}

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

.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: oklch(0.85 0.05 60 / 0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

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

.btn--outline {
  background: transparent;
  color: #FAF8F5;
  border: 1px solid oklch(0.85 0.05 60 / 0.3);
}

.btn--outline:hover {
  background: oklch(1 0 0 / 0.1);
  border-color: oklch(0.85 0.05 60 / 0.5);
}

.btn--dark {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

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

/* ═══════════════════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════════════════ */

.intro {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}

.intro__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.intro__text-col {
  order: 2;
}

@media (min-width: 768px) {
  .intro__text-col { order: 1; }
}

.intro__image-col {
  order: 1;
}

@media (min-width: 768px) {
  .intro__image-col { order: 2; }
}

.intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.section-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.host-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
}

.host-badge svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════
   FULL BLEED IMAGE BREAK
   ═══════════════════════════════════════════════ */

.image-break {
  position: relative;
  width: 100%;
  height: clamp(300px, 50vh, 600px);
  overflow: hidden;
}

.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-break__caption {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  color: #FAF8F5;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  text-shadow: 0 2px 12px oklch(0 0 0 / 0.4);
}

/* ═══════════════════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════════════════ */

.gallery {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
}

.gallery__header {
  text-align: left;
  margin-bottom: var(--space-10);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto auto;
  }
  .gallery__item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
  .gallery__item:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
  .gallery__item:nth-child(3) { grid-column: 1 / 5; grid-row: 2; }
  .gallery__item:nth-child(4) { grid-column: 5 / 9; grid-row: 2; }
  .gallery__item:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }
  .gallery__item:nth-child(6) { grid-column: 1 / 7; grid-row: 3; }
  .gallery__item:nth-child(7) { grid-column: 7 / 13; grid-row: 3; }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item-label {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: oklch(0.15 0.02 60 / 0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  color: #FAF8F5;
  font-size: var(--text-xs);
  font-weight: 450;
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0.1 0 0 / 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF8F5;
  font-size: 1.5rem;
  border-radius: var(--radius-full);
  transition: background var(--transition-interactive);
}

.lightbox__close:hover { background: oklch(1 0 0 / 0.1); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF8F5;
  font-size: 1.5rem;
  border-radius: var(--radius-full);
  transition: background var(--transition-interactive);
}

.lightbox__nav:hover { background: oklch(1 0 0 / 0.1); }
.lightbox__nav--prev { left: var(--space-4); }
.lightbox__nav--next { right: var(--space-4); }

/* ═══════════════════════════════════════════════
   AMENITIES SECTION
   ═══════════════════════════════════════════════ */

.amenities {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
  background: var(--color-surface);
}

.amenities__header {
  margin-bottom: var(--space-10);
}

.amenities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .amenities__grid { grid-template-columns: repeat(3, 1fr); }
}

.amenity-card {
  padding: var(--space-6);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
}

.amenity-card__icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.amenity-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.amenity-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.amenity-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
}

.amenity-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════
   OUTDOOR / EXPERIENCE SECTION
   ═══════════════════════════════════════════════ */

.experience {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
}

.experience__grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .experience__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
  }
}

.experience__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
}

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

/* ═══════════════════════════════════════════════
   LOCATION SECTION
   ═══════════════════════════════════════════════ */

.location {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
  background: var(--color-surface);
}

.location__grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .location__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.location__places {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.location__place {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.location__place-name {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 450;
}

.location__place-distance {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  font-weight: 400;
}

.location__place-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.location__place-link:hover {
  opacity: 0.7;
}

.location__place-link:hover .location__place-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location__place-note {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.seasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 480px) {
  .seasons { grid-template-columns: 1fr 1fr; }
}

.season-card {
  padding: var(--space-5);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
}

.season-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.season-card__activities {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   CTA / BOOKING SECTION
   ═══════════════════════════════════════════════ */

.cta {
  position: relative;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

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

.cta__overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.15 0.02 60 / 0.8);
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FAF8F5;
}

.cta__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
}

.cta__subtitle {
  font-size: var(--text-base);
  color: oklch(0.85 0.05 60 / 0.7);
  margin-bottom: var(--space-8);
  max-width: 50ch;
  margin-inline: auto;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.footer {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

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

.footer__brand svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__details a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__details a:hover {
  color: var(--color-text);
}

.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-up {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-clip {
  to { clip-path: inset(0 0 0 0); }
}

/* ═══════════════════════════════════════════════
   HOUSE RULES
   ═══════════════════════════════════════════════ */

.rules {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
}

.rules__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .rules__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .rules__grid { grid-template-columns: repeat(4, 1fr); }
}

.rule-card {
  text-align: center;
  padding: var(--space-6);
}

.rule-card__icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin: 0 auto var(--space-4);
}

.rule-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.rule-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
