/* ═══════════════════════════════════════════════════════
   STONE & TIMBER CO. — Cinematic Scroll Website
   Design System & Styles
   ═══════════════════════════════════════════════════════ */

/* ── Google Fonts ────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Cinzel:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500&family=Share+Tech+Mono&display=swap');

/* ── Design Tokens ───────────────────────────────────── */
:root {
  /* Colors */
  --stone: #E8E0D5;
  --stone-dark: #C4B8A8;
  --timber: #8B6914;
  --timber-light: #D4A843;
  --forest: #2D4A3E;
  --forest-light: #4A7C6F;
  --slate: #4A5568;
  --slate-light: #718096;
  --cream: #FAF7F2;
  --night: #1A1A2E;
  --white: #FFFFFF;
  --gold-glow: rgba(212, 168, 67, 0.15);
  --stone-glass: rgba(232, 224, 213, 0.85);
  --forest-glass: rgba(45, 74, 62, 0.90);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --font-luxury: 'Cinzel', 'Times New Roman', serif;
  --font-numbers: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;

  --text-hero: clamp(3rem, 6vw, 7rem);
  --text-h1: clamp(2.5rem, 4vw, 5rem);
  --text-h2: clamp(1.75rem, 2.5vw, 3rem);
  --text-body: clamp(1rem, 1.2vw, 1.25rem);
  --text-caption: clamp(0.75rem, 1vw, 0.9rem);
  --text-mono: clamp(0.7rem, 0.9vw, 0.85rem);

  --tracking-tight: -0.02em;
  --tracking-wide: 0.12em;
  --tracking-wider: 0.25em;
}

/* ── Reset ───────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  /* JS controls scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--night);
  overflow: hidden;
  /* Locked during loading */
  line-height: 1.6;
}

body.loaded {
  overflow-y: auto;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}


/* ═══════════════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════════════ */

#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--night);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 800ms ease;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

#loading-screen .loading-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--timber-light);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: 8px;
}

#loading-screen .loading-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--slate-light);
  margin-bottom: 48px;
}

#loading-screen .loading-bar-track {
  width: 280px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 20px;
}

#loading-screen .loading-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--timber-light);
  border-radius: 1px;
  transition: width 200ms ease;
}

#loading-screen .loading-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-light);
}


/* ═══════════════════════════════════════════════════════
   CANVAS — Film Layer
   ═══════════════════════════════════════════════════════ */

#film-canvas {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  /* dimensions set by JS */
}


/* ═══════════════════════════════════════════════════════
   SCROLL SPACER — Creates the scroll height
   ═══════════════════════════════════════════════════════ */

#scroll-spacer {
  position: relative;
  z-index: 2;
  pointer-events: none;
  /* height set by JS */
}


/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 48px);
  background: transparent;
  transition: background 300ms ease, backdrop-filter 300ms ease, -webkit-backdrop-filter 300ms ease;
}

#main-nav.scrolled {
  background: var(--forest-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--timber-light);
  letter-spacing: 0.05em;
  z-index: 1001;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-luxury);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 200ms ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--timber-light);
  transition: width 300ms ease;
}

.nav-links a:hover {
  color: var(--timber-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 28px;
  border: 1px solid var(--timber-light);
  background: var(--timber-light);
  font-family: var(--font-luxury);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--night);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 250ms ease;
  z-index: 1001;
  box-shadow: 0 2px 12px rgba(212, 168, 67, 0.25);
}

.nav-cta:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--night);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 300ms ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--forest-glass);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: var(--tracking-wide);
  transition: color 200ms ease;
}

.mobile-menu a:hover {
  color: var(--timber-light);
}


/* ═══════════════════════════════════════════════════════
   SECTION OVERLAYS — Shared
   ═══════════════════════════════════════════════════════ */

.scene-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease;
}

.scene-overlay.visible {
  opacity: 1;
}

.scene-overlay .overlay-content {
  pointer-events: auto;
}


/* ═══════════════════════════════════════════════════════
   SECTION 01 — Dawn · The Land (Pure Minimalism)
   ═══════════════════════════════════════════════════════ */

#scene-01 {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15vh;
}

#scene-01::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
  pointer-events: none;
}

#scene-01 .overlay-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

#scene-01 .headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-hero);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 20px;
}

#scene-01 .caption {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════
   SECTION 02 — Early Morning · The Vision (Pure Minimalism)
   ═══════════════════════════════════════════════════════ */

#scene-02 {
  align-items: center;
  justify-content: flex-start;
  padding-left: 8vw;
}

#scene-02::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 200px 60px rgba(139, 105, 20, 0.08);
  pointer-events: none;
}

#scene-02 .overlay-content {
  max-width: 520px;
  position: relative;
  z-index: 1;
}

#scene-02 .headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h1);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

#scene-02 .body-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}

#scene-02 .detail-line {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  color: var(--timber-light);
  letter-spacing: var(--tracking-wider);
}


/* ═══════════════════════════════════════════════════════
   SECTION 03 — Morning · The Foundation (Neo-Brutalism)
   ═══════════════════════════════════════════════════════ */

#scene-03 {
  align-items: center;
  justify-content: flex-end;
  padding-right: 6vw;
}

#scene-03 .overlay-content {
  width: 380px;
  max-width: 90vw;
  background: rgba(26, 26, 46, 0.88);
  border-left: 3px solid var(--timber);
  padding: 40px 40px 40px 36px;
}

#scene-03 .headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h2);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
}

#scene-03 .spec-list {
  margin-bottom: 28px;
}

#scene-03 .spec-list li {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  color: var(--timber-light);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

#scene-03 .spec-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--stone-dark);
}

#scene-03 .bottom-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════
   SECTION 04 — Midday · The Frame Rises (Neo-Brutalism)
   ═══════════════════════════════════════════════════════ */

#scene-04 {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 18vh;
}

#scene-04 .overlay-content {
  text-align: center;
  margin-bottom: auto;
}

#scene-04 .headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-hero);
  color: var(--white);
  text-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  margin-bottom: 20px;
}

#scene-04 .sub-headline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-h2);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

.stats-bar {
  position: fixed;
  bottom: 12%;
  left: 0;
  right: 0;
  z-index: 11;
  background: rgba(26, 26, 46, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 168, 67, 0.15);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  display: flex;
  justify-content: center;
  gap: clamp(40px, 8vw, 120px);
  padding: 36px 5vw;
  opacity: 0;
  transition: opacity 600ms ease;
}

.stats-bar.visible {
  opacity: 1;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(-1 * clamp(20px, 4vw, 60px));
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(212, 168, 67, 0.2);
}

.stat-item .stat-number {
  font-family: var(--font-numbers);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--timber-light);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-item .stat-suffix {
  font-family: var(--font-numbers);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--timber-light);
}

.stat-item .stat-label {
  font-family: var(--font-luxury);
  font-weight: 400;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════
   SECTION 05 — Afternoon · The Skin (Glass Morphism)
   ═══════════════════════════════════════════════════════ */

#scene-05 {
  align-items: center;
  justify-content: flex-start;
  padding-left: 6vw;
}

#scene-05 .overlay-content {
  width: 460px;
  max-width: 90vw;
  background: var(--stone-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 48px;
}

#scene-05 .headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-h2);
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 20px;
}

#scene-05 .body-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 28px;
}

.materials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.material-pill {
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--tracking-wider);
  padding: 6px 16px;
  border-radius: 2px;
}


/* ═══════════════════════════════════════════════════════
   SECTION 06 — Golden Hour · The Interior (Glass Morphism)
   ═══════════════════════════════════════════════════════ */

#scene-06 {
  align-items: center;
  justify-content: flex-end;
  padding-right: 6vw;
}

#scene-06 .overlay-content {
  width: 440px;
  max-width: 90vw;
  background: var(--forest-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 4px;
  padding: 48px;
}

#scene-06 .headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-h2);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

#scene-06 .body-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--timber-light), transparent);
  margin: 24px 0;
}

.feature-list li {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 0;
  padding-left: 24px;
  position: relative;
}

.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--timber-light);
}


/* ═══════════════════════════════════════════════════════
   SECTION 07 — Sunset · The Arrival · CTA (Skeuomorphism)
   ═══════════════════════════════════════════════════════ */

#scene-07 {
  align-items: center;
  justify-content: center;
}

#scene-07 .overlay-content {
  width: min(600px, 90vw);
  background:
    linear-gradient(135deg, #FAF7F2, #E8E0D5);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 6px;
  padding: 56px 64px;
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture overlay */
#scene-07 .overlay-content::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

#scene-07 .top-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--timber);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
}

#scene-07 .headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  color: var(--forest);
  line-height: 1.05;
  margin-bottom: 24px;
  position: relative;
}

#scene-07 .body-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.7;
  position: relative;
}

#scene-07 .cta-divider {
  margin: 32px 0;
  height: 1px;
  background: var(--stone-dark);
  position: relative;
}

.cta-button {
  display: block;
  width: 100%;
  padding: 18px 40px;
  background: var(--timber);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-align: center;
  border: none;
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(139, 105, 20, 0.35);
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
}

.cta-button:hover {
  background: var(--timber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 105, 20, 0.45);
}

#scene-07 .trust-line {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--slate-light);
  text-align: center;
  margin-top: 16px;
  position: relative;
}


/* ═══════════════════════════════════════════════════════
   SECTION 08 — Night · Home (Pure Minimalism)
   ═══════════════════════════════════════════════════════ */

#scene-08 {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 22vh;
}

#scene-08::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px 40px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

#scene-08 .overlay-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

#scene-08 .headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-h1);
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
}

#scene-08 .sub-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--timber-light);
  letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════════════════
   SCROLL PROGRESS INDICATOR
   ═══════════════════════════════════════════════════════ */

#scroll-progress {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 400ms ease;
}

body.loaded #scroll-progress {
  opacity: 1;
}

.progress-track {
  width: 2px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  position: relative;
}

.progress-fill {
  width: 100%;
  height: 0%;
  background: var(--timber-light);
  border-radius: 1px;
  transition: height 100ms ease;
}

.progress-dots {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  margin-left: -3px;
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
}

.progress-dot.active {
  background: var(--timber-light);
  border-color: var(--timber-light);
}

.progress-dot .dot-tooltip {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--white);
  background: var(--forest-glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.progress-dot:hover .dot-tooltip {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════
   AUDIO CONTROL
   ═══════════════════════════════════════════════════════ */

#audio-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-dark);
  opacity: 0;
  transition: opacity 300ms ease, color 200ms ease;
}

body.loaded #audio-toggle {
  opacity: 1;
}

#audio-toggle:hover {
  color: var(--timber-light);
}

#audio-toggle svg {
  width: 24px;
  height: 24px;
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

#site-footer {
  position: relative;
  z-index: 20;
  background: var(--night);
  padding: 80px 8vw 48px;
  color: var(--white);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--timber-light);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-brand .footer-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--slate-light);
}

.footer-cta-area .footer-cta-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-cta-area .cta-button {
  width: auto;
  display: inline-block;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--stone-dark);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--slate-light);
  padding: 4px 0;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: var(--timber-light);
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 200ms ease;
}

.social-icons a:hover {
  border-color: var(--timber-light);
  color: var(--timber-light);
}

.social-icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--slate-light);
}


/* ═══════════════════════════════════════════════════════
   CONTACT / BOOKING SECTION — Apple Liquid Glass
   ═══════════════════════════════════════════════════════ */

#contact-section {
  position: relative;
  z-index: 20;
  background: transparent;
  padding: 120px 8vw;
  transition: all 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Phase 1: Liquid Glass — Apple-style frosted translucency */
#contact-section.phase-glass {
  background: rgba(250, 247, 242, 0.12);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.05);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 -20px 80px rgba(0, 0, 0, 0.08);
}

/* Specular highlight — top edge light refraction */
#contact-section.phase-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.6) 30%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0.6) 70%,
      transparent);
  pointer-events: none;
}

/* Subtle prismatic edge glow */
#contact-section.phase-glass::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg,
      transparent,
      rgba(212, 168, 67, 0.15) 25%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(212, 168, 67, 0.15) 75%,
      transparent);
  filter: blur(2px);
  pointer-events: none;
}

/* Phase 2: Solidifying */
#contact-section.phase-solid {
  background: rgba(250, 247, 242, 0.92);
  -webkit-backdrop-filter: blur(60px) saturate(180%);
  backdrop-filter: blur(60px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

#contact-section.phase-glass .contact-inner,
#contact-section.phase-solid .contact-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Text colors adapt for glass phase */
#contact-section.phase-glass .contact-label {
  color: var(--timber-light);
}

#contact-section.phase-glass .contact-headline {
  color: var(--white);
  text-shadow: 0 1px 30px rgba(0, 0, 0, 0.15);
}

#contact-section.phase-glass .contact-body {
  color: rgba(255, 255, 255, 0.85);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  color: var(--timber);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: color 600ms ease;
}

.contact-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-h1);
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 20px;
  transition: color 600ms ease, text-shadow 600ms ease;
}

.contact-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 48px;
  transition: color 600ms ease;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--slate);
  transition: color 600ms ease;
}

#contact-section.phase-glass .form-group label {
  color: rgba(255, 255, 255, 0.7);
}

/* Liquid Glass input fields */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--stone-dark);
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--slate);
  outline: none;
  transition: all 300ms ease;
}

/* Glass phase: frosted translucent inputs */
#contact-section.phase-glass .form-group input,
#contact-section.phase-glass .form-group select,
#contact-section.phase-glass .form-group textarea {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#contact-section.phase-glass .form-group input::placeholder,
#contact-section.phase-glass .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

#contact-section.phase-glass .form-group input:focus,
#contact-section.phase-glass .form-group select:focus,
#contact-section.phase-glass .form-group textarea:focus {
  border-color: rgba(212, 168, 67, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Solid phase: standard inputs */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--timber);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.form-submit .cta-button {
  width: 100%;
  border-radius: 14px;
}

/* Glass phase CTA: frosted button */
#contact-section.phase-glass .form-submit .cta-button {
  background: rgba(139, 105, 20, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 4px 20px rgba(139, 105, 20, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.trust-badges {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: center;
}

.trust-badges span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-light);
  letter-spacing: var(--tracking-wider);
  transition: color 600ms ease;
}

#contact-section.phase-glass .trust-badges span {
  color: rgba(255, 255, 255, 0.5);
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Tablet (768–1199px)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1199px) {

  /* Scene panels: side → bottom */
  #scene-02 {
    align-items: flex-end;
    justify-content: center;
    padding: 0 6vw 10vh;
  }

  #scene-02 .overlay-content {
    max-width: 560px;
  }

  #scene-03 {
    align-items: flex-end;
    justify-content: center;
    padding: 0 6vw 8vh;
  }

  #scene-05 {
    align-items: flex-end;
    justify-content: center;
    padding: 0 6vw 8vh;
  }

  #scene-06 {
    align-items: flex-end;
    justify-content: center;
    padding: 0 6vw 8vh;
  }

  #scene-07 .overlay-content {
    padding: 40px 40px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile (<768px)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* Nav */
  .nav-links,
  .nav-cta-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Scenes — full width bottom */
  #scene-01 {
    padding-bottom: 10vh;
  }

  #scene-02,
  #scene-03,
  #scene-05,
  #scene-06 {
    align-items: flex-end;
    justify-content: center;
    padding: 0 5vw 6vh;
  }

  #scene-02 .overlay-content,
  #scene-03 .overlay-content,
  #scene-05 .overlay-content,
  #scene-06 .overlay-content {
    width: 100%;
    max-width: 100%;
  }

  #scene-03 .overlay-content {
    padding: 28px;
  }

  #scene-05 .overlay-content,
  #scene-06 .overlay-content {
    padding: 32px;
  }

  #scene-04 {
    padding-top: 10vh;
  }

  .stats-bar {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    bottom: 6%;
  }

  .stat-item .stat-number {
    font-size: 1.8rem;
  }

  #scene-07 .overlay-content {
    padding: 36px 28px;
  }

  #scene-08 {
    padding-bottom: 15vh;
  }

  /* Scroll progress — hide on mobile */
  #scroll-progress {
    display: none;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Contact */
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    text-align: center;
  }

  .cta-button {
    min-height: 56px;
    /* Larger touch target */
  }
}