/* ============================================
   Grimsthorpe Lake Pitch Deck
   Woodsy, Late-Spring Forest Theme
   ============================================ */

:root {
  /* Core Palette - Woodsy Greens & Earthy Browns */
  --canopy: #1a2e1f;
  --canopy-deep: #0f1e14;
  --canopy-light: #243a28;
  --forest: #2E5B3F;
  --forest-light: #3d7a54;
  --forest-muted: #4a8a64;
  --olive: #6B8E23;
  --olive-light: #7da32e;
  --olive-muted: #5a7a1e;
  --bark: #5C3D2E;
  --bark-light: #7a5240;
  --bark-warm: #8b6450;
  --sunlight: #D4A76A;
  --sunlight-warm: #ddb87a;
  --sunlight-glow: #e8c88e;
  --cream: #f0ede6;
  --cream-dark: #e2ddd0;
  --sage: #A8CABA;
  --sage-light: #c2ddd0;
  --moss: #8aaa7a;
  --charcoal: #2c2c2c;
  --smoke: #8a9a7a;
  --lake-sage: #6a9a8a;
  --lake-deep: #3a6a5a;

  /* Functional */
  --text-primary: var(--cream);
  --text-secondary: var(--sage);
  --text-muted: var(--smoke);
  --bg-primary: var(--canopy-deep);
  --bg-card: rgba(30, 58, 40, 0.5);
  --border-subtle: rgba(106, 142, 35, 0.25);
  --glow: rgba(212, 167, 106, 0.15);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --slide-padding: clamp(2rem, 5vw, 6rem);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

::selection {
  background: var(--olive);
  color: var(--canopy-deep);
}

/* ============================================
   Progress Bar
   ============================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 100;
}

.progress-fill {
  height: 100%;
  width: 6.67%;
  background: linear-gradient(90deg, var(--olive), var(--sunlight));
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   Slide Counter
   ============================================ */
.slide-counter {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  z-index: 100;
}

/* ============================================
   Navigation
   ============================================ */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 30, 20, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.nav-arrow:hover {
  background: rgba(107, 142, 35, 0.15);
  border-color: var(--olive);
  color: var(--olive);
}

.nav-prev { left: 1.5rem; }
.nav-next { right: 1.5rem; }

.nav-arrow:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

/* Slide Dots */
.slide-dots {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slide-dot:hover {
  background: rgba(107, 142, 35, 0.4);
}

.slide-dot.active {
  background: var(--olive);
  width: 24px;
  border-radius: 4px;
}

/* Fullscreen Button */
.fullscreen-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 2rem;
  background: rgba(15, 30, 20, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.fullscreen-btn:hover {
  border-color: var(--olive);
  color: var(--olive);
}

/* ============================================
   Slides Container
   ============================================ */
.slides-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow-y: auto;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: var(--slide-padding);
  animation: slideContentIn 0.8s ease 0.2s both;
}

.slide.active .slide-content {
  animation: slideContentIn 0.8s ease 0.2s both;
}

@keyframes slideContentIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Slide Labels
   ============================================ */
.slide-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.slide-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.25rem;
  height: 1px;
  background: var(--olive);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sepia);
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--cream-dark);
}

/* ============================================
   SLIDE 1: Title
   ============================================ */
.slide-title {
  background: radial-gradient(ellipse at 30% 50%, rgba(46, 91, 63, 0.35) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(92, 61, 46, 0.2) 0%, transparent 50%),
              var(--canopy-deep);
  text-align: center;
}

.slide-title .slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.title-badge {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  margin-bottom: 2.5rem;
  background: rgba(107, 142, 35, 0.05);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  color: var(--cream);
}

.title-accent {
  color: var(--olive);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--sepia);
  max-width: 500px;
  margin-bottom: 2rem;
}

.title-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--olive), transparent);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sunlight);
}

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================
   SLIDE 2: Vision
   ============================================ */
.slide-vision {
  background: radial-gradient(ellipse at 60% 40%, rgba(46, 91, 63, 0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 70%, rgba(107, 142, 35, 0.08) 0%, transparent 50%),
              var(--canopy-deep);
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
}

.icon-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--sepia);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.icon-item:hover {
  color: var(--olive);
}

.icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--olive);
}

/* ============================================
   SLIDE 3: Property
   ============================================ */
.slide-property {
  background: radial-gradient(ellipse at 40% 60%, rgba(168, 202, 186, 0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(46, 91, 63, 0.25) 0%, transparent 50%),
              var(--canopy-deep);
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--olive);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.property-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.feature:hover {
  background: var(--bg-card);
}

.feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--olive);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h4 {
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   SLIDE 4: Technology
   ============================================ */
.slide-tech {
  background: radial-gradient(ellipse at 30% 70%, rgba(46, 91, 63, 0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(92, 61, 46, 0.15) 0%, transparent 50%),
              var(--canopy-deep);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.tech-card:hover {
  border-color: var(--olive);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-icon svg {
  width: 24px;
  height: 24px;
}

.grimsthorpe-os-icon {
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  color: var(--sunlight-glow);
  box-shadow: 0 0 20px rgba(212, 167, 106, 0.15);
}

.crown-land-icon {
  background: linear-gradient(135deg, var(--lake-deep), var(--lake-sage));
  color: var(--sunlight-glow);
  box-shadow: 0 0 20px rgba(168, 202, 186, 0.2);
}

.tech-tagline {
  font-style: italic;
  color: var(--sunlight);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.tech-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-features li {
  padding-left: 1rem;
  border-left: 2px solid var(--border-subtle);
  transition: border-color 0.3s ease;
}

.tech-features li:hover {
  border-color: var(--olive);
}

.tech-features strong {
  display: block;
  font-size: 0.85rem;
  color: var(--cream);
  margin-bottom: 0.15rem;
}

.tech-features span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   SLIDE 5: Business Model
   ============================================ */
.slide-business {
  background: radial-gradient(ellipse at 50% 40%, rgba(212, 167, 106, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 70%, rgba(46, 91, 63, 0.2) 0%, transparent 50%),
              var(--canopy-deep);
}

.business-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.model-card:hover {
  border-color: var(--olive);
  transform: translateY(-2px);
}

.model-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.model-card p {
  font-size: 0.85rem;
}

.primary-model {
  border-color: rgba(107, 142, 35, 0.3);
  background: linear-gradient(135deg, rgba(107, 142, 35, 0.1), rgba(30, 58, 40, 0.5));
}

.model-detail {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.model-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--olive);
  line-height: 1;
}

.model-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.model-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

.business-footer {
  font-style: italic;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   SLIDE 6: Market
   ============================================ */
.slide-market {
  background: radial-gradient(ellipse at 50% 30%, rgba(46, 91, 63, 0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(107, 142, 35, 0.1) 0%, transparent 50%),
              var(--canopy-deep);
}

.market-content {
  text-align: center;
}

.market-stat-hero {
  margin-bottom: 3rem;
}

.market-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.market-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.market-segment {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.market-segment:hover {
  border-color: var(--olive);
}

.segment-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bar-height, 50%);
  background: linear-gradient(to top, rgba(107, 142, 35, 0.06), transparent);
  pointer-events: none;
}

.market-segment h4 {
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--sunlight);
}

.market-segment p {
  position: relative;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   SLIDE 7: Financials
   ============================================ */
.slide-financials {
  background: radial-gradient(ellipse at 60% 50%, rgba(46, 91, 63, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 30%, rgba(212, 167, 106, 0.06) 0%, transparent 50%),
              var(--canopy-deep);
}

.financials-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  height: 280px;
}

.chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.financial-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.fin-card:hover {
  border-color: var(--olive);
}

.fin-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.fin-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.financials-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ============================================
   SLIDE 8: Funding
   ============================================ */
.slide-funding {
  background: radial-gradient(ellipse at 30% 60%, rgba(92, 61, 46, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(46, 91, 63, 0.2) 0%, transparent 50%),
              linear-gradient(180deg, var(--canopy-deep) 60%, rgba(168, 202, 186, 0.04) 100%),
              var(--canopy-deep);
}

.funding-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.funding-phase {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.phase-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  flex-shrink: 0;
}

.phase-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--olive);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  background: var(--canopy-deep);
  flex-shrink: 0;
}

.phase-line {
  width: 2px;
  flex-grow: 1;
  background: var(--border-subtle);
  min-height: 20px;
}

.phase-detail {
  padding-bottom: 2rem;
}

.phase-detail h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.phase-detail p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.phase-amount {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}

.funding-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sunlight);
  text-align: center;
  border-left: none;
  padding: 1.5rem 2rem;
  background: rgba(107, 142, 35, 0.05);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

/* ============================================
   SLIDE 9: Governance
   ============================================ */
.slide-governance {
  background: radial-gradient(ellipse at 50% 50%, rgba(46, 91, 63, 0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(92, 61, 46, 0.1) 0%, transparent 50%),
              var(--canopy-deep);
}

.governance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.gov-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.3s ease;
}

.gov-card:hover {
  border-color: var(--olive);
  background: linear-gradient(135deg, rgba(212, 167, 106, 0.04), var(--bg-card));
}

.gov-card h4 {
  color: var(--sunlight);
  margin-bottom: 0.5rem;
}

.gov-card p {
  font-size: 0.85rem;
}

.risk-spectrum {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.5rem;
}

.risk-spectrum h4 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.risk-items {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.risk-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--sepia);
}

.risk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.risk-item.low .risk-dot { background: var(--forest-light); }
.risk-item.med .risk-dot { background: var(--sunlight); }

.risk-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   SLIDE 10: The Vibe
   ============================================ */
.slide-vibe {
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 167, 106, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(46, 91, 63, 0.25) 0%, transparent 50%),
              var(--canopy-deep);
}

.vibe-content {
  text-align: center;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.memory-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.memory-card:hover {
  transform: translateY(-4px);
}

.memory-card:hover .memory-inner {
  background: rgba(107, 142, 35, 0.08);
  border-color: var(--olive);
}

/* Sepia-warm overlay on hover */
.memory-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 167, 106, 0.12), rgba(92, 61, 46, 0.1));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: 12px;
}

.memory-card:hover::after {
  opacity: 1;
}

.memory-card:hover .memory-icon {
  color: var(--sunlight);
  filter: sepia(30%) saturate(120%);
}

.memory-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.memory-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--olive);
  opacity: 0.8;
}

.memory-icon svg {
  width: 100%;
  height: 100%;
}

.memory-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.memory-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Warm ember glow on fire card */
.memory-card[data-memory="fire"] .memory-icon {
  animation: emberGlow 3s ease-in-out infinite;
}

@keyframes emberGlow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  50% { filter: brightness(1.2) drop-shadow(0 0 8px rgba(212, 167, 106, 0.35)); }
}

.vibe-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sunlight);
  line-height: 1.8;
}

/* ============================================
   SLIDE 11: Scenarios
   ============================================ */
.slide-scenarios {
  background: radial-gradient(ellipse at 40% 50%, rgba(46, 91, 63, 0.25) 0%, transparent 60%),
              var(--canopy-deep);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-2px);
}

.scenario-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.scenario-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.scenario-icon svg {
  width: 20px;
  height: 20px;
}

.scenario-worst .scenario-icon {
  background: rgba(138, 138, 122, 0.2);
  color: var(--smoke);
}

.scenario-base .scenario-icon {
  background: rgba(107, 142, 35, 0.15);
  color: var(--olive);
}

.scenario-base {
  border-color: rgba(107, 142, 35, 0.3);
}

.scenario-best .scenario-icon {
  background: rgba(61, 107, 86, 0.2);
  color: var(--forest-light);
}

.scenario-card h3 {
  font-size: 1.1rem;
}

.scenario-card ul {
  list-style: none;
  margin-bottom: 1.25rem;
}

.scenario-card li {
  font-size: 0.85rem;
  color: var(--sepia);
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}

.scenario-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--olive);
  opacity: 0.5;
}

.scenario-outcome {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--sunlight);
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================
   SLIDE 12: Almanac
   ============================================ */
.slide-almanac {
  background: radial-gradient(ellipse at 50% 60%, rgba(46, 91, 63, 0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 20%, rgba(107, 142, 35, 0.08) 0%, transparent 50%),
              var(--canopy-deep);
}

.almanac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.season-card {
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.season-card:hover {
  transform: translateY(-2px);
}

.spring {
  background: linear-gradient(135deg, rgba(107, 142, 35, 0.15), rgba(30, 58, 40, 0.3));
}
.spring:hover { border-color: var(--olive); }

.summer {
  background: linear-gradient(135deg, rgba(46, 91, 63, 0.2), rgba(212, 167, 106, 0.08));
}
.summer:hover { border-color: var(--sunlight); }

.fall {
  background: linear-gradient(135deg, rgba(92, 61, 46, 0.2), rgba(30, 58, 40, 0.3));
}
.fall:hover { border-color: var(--bark-light); }

.winter {
  background: linear-gradient(135deg, rgba(168, 202, 186, 0.12), rgba(30, 58, 40, 0.3));
}
.winter:hover { border-color: var(--sage); }

.season-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.season-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--border-subtle);
}

.season-activities {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.season-activities span {
  font-size: 0.85rem;
  color: var(--sepia);
}

.almanac-note {
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   SLIDE 13: Cabins
   ============================================ */
.slide-cabins {
  background: radial-gradient(ellipse at 70% 40%, rgba(92, 61, 46, 0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 60%, rgba(46, 91, 63, 0.2) 0%, transparent 50%),
              var(--canopy-deep);
}

.cabins-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.cabin-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.spec-group h4 {
  color: var(--sunlight);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(107, 142, 35, 0.08);
}

.spec-name {
  font-weight: 600;
  color: var(--cream);
  font-size: 0.9rem;
}

.spec-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

.spec-note {
  font-size: 0.8rem;
  color: var(--sage);
  font-style: italic;
  margin-top: 0.75rem;
  line-height: 1.5;
}

.cabin-philosophy {
  text-align: center;
}

.cabin-philosophy blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sunlight);
  padding: 1.5rem 2rem;
  background: rgba(107, 142, 35, 0.05);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

/* ============================================
   SLIDE 14: CTA
   ============================================ */
.slide-cta {
  background: radial-gradient(ellipse at 50% 50%, rgba(46, 91, 63, 0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 80%, rgba(212, 167, 106, 0.06) 0%, transparent 50%),
              var(--canopy-deep);
  text-align: center;
}

.slide-cta .slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-content {
  max-width: 600px;
}

.cta-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--sunlight);
  margin-bottom: 1rem;
}

.cta-content > p {
  margin-bottom: 2rem;
}

.cta-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.cta-value {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--sepia);
}

.cta-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--forest-light);
}

.cta-check svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   SLIDE 15: Contact
   ============================================ */
.slide-contact {
  background: radial-gradient(ellipse at 50% 40%, rgba(46, 91, 63, 0.2) 0%, transparent 60%),
              var(--canopy-deep);
  text-align: center;
}

.slide-contact .slide-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-logo {
  margin-bottom: 1rem;
}

.logo-text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

.logo-accent {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  font-style: italic;
  color: var(--olive);
  line-height: 1;
}

.contact-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--olive), transparent);
  margin: 1.5rem 0;
}

.contact-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sunlight);
  margin-bottom: 2rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-email {
  display: inline-block;
  font-size: 1rem;
  color: var(--cream);
  text-decoration: none;
  padding: 0.75rem 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 2rem;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.contact-email:hover {
  border-color: var(--olive);
  background: rgba(107, 142, 35, 0.1);
  color: var(--olive);
}

.contact-footer {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-legal {
  font-size: 0.65rem;
  color: rgba(138, 138, 122, 0.6);
  max-width: 500px;
  line-height: 1.6;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .two-col,
  .property-grid,
  .tech-grid,
  .financials-content,
  .cabin-specs {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

  .chart-container {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .nav-arrow {
    width: 36px;
    height: 36px;
  }

  .nav-prev { left: 0.75rem; }
  .nav-next { right: 0.75rem; }

  .business-grid,
  .market-grid,
  .memory-grid,
  .almanac-grid {
    grid-template-columns: 1fr;
  }

  .slide-counter {
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
  }

  .stats-row {
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .slide {
    overflow-y: auto;
    align-items: flex-start;
  }

  .slide-content {
    padding: 4rem 1.5rem 5rem;
  }

  .risk-items {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .slide-dots {
    gap: 5px;
  }

  .slide-dot {
    width: 6px;
    height: 6px;
  }

  .slide-dot.active {
    width: 18px;
  }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

/* High contrast */
@media (prefers-contrast: high) {
  :root {
    --border-subtle: rgba(107, 142, 35, 0.5);
    --text-muted: #b0b0a0;
  }
}
