/* Therapy by Jonathan - Liminal Modernism CSS */

/* CSS Custom Properties - Threshold Tones */
:root {
  /* Color Palette */
  --bg-primary: #F8F6F2;
  --doorway-frame: #D4845C;
  --transition-space: #A8B5A3;
  --accent-portal: #E17B6A;
  --text-primary: #2C2C2C;
  --text-secondary: #6B6B6B;
  --white: #FFFFFF;
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Doorway/Frame dimensions */
  --frame-border: 8px;
  --frame-radius: 12px;
  --shadow-subtle: 0 4px 12px rgba(44, 44, 44, 0.08);
  --shadow-medium: 0 8px 24px rgba(44, 44, 44, 0.12);
  --shadow-strong: 0 12px 32px rgba(44, 44, 44, 0.16);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-doorway: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

a {
  color: var(--doorway-frame);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover, a:focus {
  color: var(--accent-portal);
  outline: 2px solid var(--accent-portal);
  outline-offset: 2px;
}

/* Utility Classes */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

/* Doorway Frame Base Component */
.doorway-frame {
  position: relative;
  background: var(--white);
  border: var(--frame-border) solid var(--doorway-frame);
  border-radius: var(--frame-radius);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-doorway);
  overflow: hidden;
}

.doorway-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--doorway-frame), var(--accent-portal));
  border-radius: var(--frame-radius);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.doorway-frame:hover::before {
  opacity: 0.1;
}

/* Doorway Section Base */
.doorway-section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.doorway-section:nth-child(even) {
  background: rgba(168, 181, 163, 0.05);
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(248, 246, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 132, 92, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-primary);
}

.logo-name {
  color: var(--doorway-frame);
  font-weight: 300;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link:focus {
  background: rgba(212, 132, 92, 0.1);
  color: var(--doorway-frame);
}

/* Doorway Button Component */
.doorway-button {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  background: var(--doorway-frame);
  color: var(--white);
  border-radius: var(--frame-radius);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: var(--transition-doorway);
  box-shadow: var(--shadow-subtle);
}

.doorway-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-doorway);
}

.doorway-button:hover, .doorway-button:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: var(--accent-portal);
  color: var(--white);
  outline: none;
}

.doorway-button:hover::before {
  left: 100%;
}

/* Hero Section */
.hero {
  padding-top: calc(80px + var(--space-xxl));
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-frame {
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-container {
  width: 100%;
  padding: var(--space-xl);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.service-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--transition-space);
  color: var(--white);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
}

.doorway-tag {
  border: 2px solid var(--doorway-frame);
  background: var(--white);
  color: var(--doorway-frame);
  transition: var(--transition-smooth);
}

.doorway-tag:hover {
  background: var(--doorway-frame);
  color: var(--white);
}

/* Hero CTA Button */
.hero-cta {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: flex-start;
}

.hero-consultation-btn {
  background: var(--doorway-frame);
  font-size: 1.125rem;
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
  box-shadow: var(--shadow-medium);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.hero-consultation-btn:hover,
.hero-consultation-btn:focus {
  background: var(--accent-portal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.hero-consultation-btn .button-doorway {
  width: 16px;
  height: 16px;
  margin-left: var(--space-xs);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.image-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  border: var(--frame-border) solid var(--doorway-frame);
  border-radius: var(--frame-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.headshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-smooth);
}

.headshot-image:hover {
  transform: scale(1.02);
}

/* Fallback for placeholder images if needed */
.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--transition-space), var(--doorway-frame));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-style: italic;
}

.placeholder-image::after {
  content: 'Professional Photo';
  font-size: 1.125rem;
}

/* Journey Section */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: stretch;
}

.journey-step {
  position: relative;
  height: 100%;
}

.step-frame {
  padding: var(--space-xl);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition-doorway);
}

.step-frame:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.step-1 { border-color: var(--doorway-frame); }
.step-2 { border-color: var(--transition-space); }
.step-3 { border-color: var(--accent-portal); }

.step-icon {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
}

.door-icon {
  width: 60px;
  height: 60px;
  position: relative;
}

/* Door Icon Styles */
.opening-inward {
  border: 4px solid var(--doorway-frame);
  border-radius: 8px;
  position: relative;
}

.opening-inward::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  width: 20px;
  height: 20px;
  background: var(--doorway-frame);
  border-radius: 50%;
  transform: translateY(-50%);
}

.side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.side-by-side::before,
.side-by-side::after {
  content: '';
  border: 4px solid var(--transition-space);
  border-radius: 6px;
  height: 60px;
}

.opening-outward {
  border: 4px solid var(--accent-portal);
  border-radius: 8px;
  position: relative;
  background: linear-gradient(45deg, transparent 40%, rgba(225, 123, 106, 0.2) 60%);
}

.opening-outward::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  background: var(--accent-portal);
  border-radius: 50%;
  transform: translateY(-50%);
}

.step-title {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.step-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: stretch;
}

.service-card {
  height: 100%;
}

.service-frame {
  padding: var(--space-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-doorway);
}

.service-frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.individual { border-color: var(--doorway-frame); }
.couples { border-color: var(--accent-portal); }
.family { border-color: var(--transition-space); }
.group { border-color: #8B7355; }

.service-icon {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
}

.single-doorway,
.double-doorway,
.wide-doorway,
.circle-doorway {
  height: 50px;
  border-radius: 6px;
}

.single-doorway {
  width: 40px;
  border: 4px solid var(--doorway-frame);
}

.double-doorway {
  width: 80px;
  border: 4px solid var(--accent-portal);
  position: relative;
}

.double-doorway::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--accent-portal);
  transform: translateX(-50%);
}

.wide-doorway {
  width: 100px;
  border: 4px solid var(--transition-space);
}

.circle-doorway {
  width: 60px;
  height: 60px;
  border: 4px solid #8B7355;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-doorway::before {
  content: '';
  width: 20px;
  height: 20px;
  background: #8B7355;
  border-radius: 50%;
}

/* Group info styling */
.group-info {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(139, 115, 85, 0.2);
}

.group-info p {
  margin-bottom: var(--space-xs);
  color: var(--doorway-frame);
  font-size: 1rem;
  text-align: center;
}

/* Pricing info styling */
.pricing-info {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(212, 132, 92, 0.2);
  text-align: center;
}

.pricing-info p {
  margin: 0;
  color: var(--doorway-frame);
  font-size: 1rem;
}

.service-title {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  text-align: center;
  flex-grow: 1;
}

.service-details ul {
  list-style: none;
  padding: 0;
}

.service-details li {
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--space-lg);
}

.service-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--doorway-frame);
  font-weight: bold;
}

/* About Section */
.about-frame {
  margin: 0 var(--space-lg);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl);
}

.about .section-title {
  padding-top: var(--space-lg);
}

.about-intro {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.about-closing {
  font-size: 1.125rem;
  color: var(--doorway-frame);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.credentials {
  margin-top: var(--space-lg);
}

.credentials h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.credentials ul {
  list-style: none;
  padding: 0;
}

.credentials li {
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--space-md);
}

.credentials li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--transition-space);
  font-weight: bold;
}

.about-photo {
  aspect-ratio: 3/4;
}

/* Begin Journey Section - 3D Portal Effect */
.portal-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  overflow: hidden;
}

.portal-doorway {
  position: absolute;
  border: 4px solid var(--doorway-frame);
  border-radius: 12px;
  background: transparent;
  opacity: 0.6;
  animation: portalFloat 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

.portal-1 {
  width: 200px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 6s;
}

.portal-2 {
  width: 150px;
  height: 250px;
  top: 20%;
  right: 15%;
  animation-delay: -2s;
  animation-duration: 8s;
}

.portal-3 {
  width: 180px;
  height: 280px;
  bottom: 15%;
  left: 20%;
  animation-delay: -4s;
  animation-duration: 7s;
}

.portal-4 {
  width: 120px;
  height: 200px;
  bottom: 25%;
  right: 25%;
  animation-delay: -1s;
  animation-duration: 9s;
}

.portal-5 {
  width: 160px;
  height: 240px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -3s;
  animation-duration: 10s;
}

.portal-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  border: 8px solid rgba(212, 132, 92, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 132, 92, 0.1), transparent 70%);
  animation: portalPulse 4s ease-in-out infinite;
}

@keyframes portalFloat {
  0%, 100% {
    transform: translateY(0) rotateY(0deg) translateZ(0);
    opacity: 0.6;
    border-color: var(--doorway-frame);
  }
  25% {
    transform: translateY(-20px) rotateY(15deg) translateZ(50px);
    opacity: 0.8;
    border-color: var(--accent-portal);
  }
  50% {
    transform: translateY(-10px) rotateY(0deg) translateZ(100px);
    opacity: 0.4;
    border-color: var(--transition-space);
  }
  75% {
    transform: translateY(-30px) rotateY(-15deg) translateZ(50px);
    opacity: 0.7;
    border-color: var(--doorway-frame);
  }
}

@keyframes portalPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
}

.begin-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  backdrop-filter: blur(1px);
}

.begin-content {
  text-align: center;
  padding: var(--space-xxl);
  background: rgba(248, 246, 242, 0.95);
  border-radius: var(--frame-radius);
  box-shadow: var(--shadow-strong);
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid rgba(212, 132, 92, 0.2);
}

.portal-title {
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: var(--space-lg);
}

.portal-text {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-container {
  margin-bottom: var(--space-lg);
}

.portal-cta {
  font-size: 1.125rem;
  padding: var(--space-md) var(--space-xl);
  position: relative;
  box-shadow: var(--shadow-strong);
  transition: all 0.3s ease;
}

.portal-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 132, 92, 0.4);
}

.portal-info {
  color: var(--text-secondary);
  font-style: italic;
  opacity: 0.8;
}

/* Contact Page Styles - Liminal Space Background */
.liminal-space {
  position: relative;
  background: linear-gradient(135deg, #e8e3dc, #ddd6cb, #d2c9ba);
  min-height: 100vh;
}

.liminal-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Dreamy floating orbs */
.dream-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), rgba(212, 132, 92, 0.2), rgba(168, 181, 163, 0.1));
  backdrop-filter: blur(2px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  box-shadow: 0 8px 20px rgba(212, 132, 92, 0.1), inset 0 2px 8px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

/* Sparkle effects */
.sparkle {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 50%);
  border-radius: 50%;
  pointer-events: none;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.sparkle-1 {
  width: 3px;
  height: 3px;
  top: 20%;
  left: 25%;
  animation: sparkle1 4s infinite;
  animation-delay: 0s;
}

.sparkle-2 {
  width: 2px;
  height: 2px;
  top: 60%;
  right: 30%;
  animation: sparkle2 3.5s infinite;
  animation-delay: -1s;
}

.sparkle-3 {
  width: 4px;
  height: 4px;
  top: 35%;
  right: 20%;
  animation: sparkle3 5s infinite;
  animation-delay: -2s;
}

.sparkle-4 {
  width: 2.5px;
  height: 2.5px;
  bottom: 25%;
  left: 40%;
  animation: sparkle4 4.5s infinite;
  animation-delay: -2.5s;
}

.orb-1 {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 8%;
  animation: dreamFloat1 20s infinite;
  animation-delay: 0s;
}

.orb-2 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 12%;
  animation: dreamFloat2 25s infinite;
  animation-delay: -5s;
}

.orb-3 {
  width: 100px;
  height: 100px;
  bottom: 25%;
  left: 15%;
  animation: dreamFloat3 18s infinite;
  animation-delay: -10s;
}

.orb-4 {
  width: 45px;
  height: 45px;
  top: 65%;
  right: 20%;
  animation: dreamFloat4 22s infinite;
  animation-delay: -15s;
}

.orb-5 {
  width: 70px;
  height: 70px;
  top: 8%;
  left: 60%;
  animation: dreamFloat5 28s infinite;
  animation-delay: -20s;
}

/* Soft cloud-like shapes */
.dream-cloud {
  position: absolute;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15), rgba(168, 181, 163, 0.08), transparent);
  border-radius: 50px;
  filter: blur(1px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.cloud-1 {
  width: 200px;
  height: 80px;
  top: 45%;
  left: 20%;
  animation: cloudDrift1 30s infinite;
  animation-delay: 0s;
}

.cloud-2 {
  width: 150px;
  height: 60px;
  top: 20%;
  right: 25%;
  animation: cloudDrift2 35s infinite;
  animation-delay: -12s;
}

.cloud-3 {
  width: 180px;
  height: 70px;
  bottom: 30%;
  right: 10%;
  animation: cloudDrift3 40s infinite;
  animation-delay: -25s;
}

/* Central healing aura */
.healing-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, 
    rgba(212, 132, 92, 0.08) 0%, 
    rgba(168, 181, 163, 0.06) 30%, 
    rgba(225, 123, 106, 0.04) 60%, 
    transparent 80%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: healingPulse 12s ease-in-out infinite;
}

/* Dreamy Floating Animations */
@keyframes dreamFloat1 {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  25% { 
    transform: translate(15px, -20px) scale(1.1);
    opacity: 0.9;
  }
  50% { 
    transform: translate(-10px, -15px) scale(0.95);
    opacity: 0.6;
  }
  75% { 
    transform: translate(8px, -25px) scale(1.05);
    opacity: 0.8;
  }
}

@keyframes dreamFloat2 {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  33% { 
    transform: translate(-18px, 12px) scale(1.15);
    opacity: 0.8;
  }
  66% { 
    transform: translate(10px, -8px) scale(0.9);
    opacity: 0.7;
  }
}

@keyframes dreamFloat3 {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  20% { 
    transform: translate(12px, 18px) scale(1.08);
    opacity: 0.9;
  }
  40% { 
    transform: translate(-8px, -12px) scale(0.92);
    opacity: 0.5;
  }
  60% { 
    transform: translate(15px, 8px) scale(1.12);
    opacity: 0.85;
  }
  80% { 
    transform: translate(-10px, -18px) scale(0.95);
    opacity: 0.7;
  }
}

@keyframes dreamFloat4 {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translate(-12px, 20px) scale(1.2);
    opacity: 0.9;
  }
}

@keyframes dreamFloat5 {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  25% { 
    transform: translate(-20px, -12px) scale(0.88);
    opacity: 0.5;
  }
  50% { 
    transform: translate(8px, 18px) scale(1.15);
    opacity: 0.9;
  }
  75% { 
    transform: translate(18px, -8px) scale(1.05);
    opacity: 0.75;
  }
}

@keyframes cloudDrift1 {
  0%, 100% { 
    transform: translateX(0) translateY(0);
    opacity: 0.4;
  }
  50% { 
    transform: translateX(50px) translateY(-20px);
    opacity: 0.6;
  }
}

@keyframes cloudDrift2 {
  0%, 100% { 
    transform: translateX(0) translateY(0);
    opacity: 0.3;
  }
  33% { 
    transform: translateX(-30px) translateY(15px);
    opacity: 0.5;
  }
  66% { 
    transform: translateX(20px) translateY(-10px);
    opacity: 0.4;
  }
}

@keyframes cloudDrift3 {
  0%, 100% { 
    transform: translateX(0) translateY(0);
    opacity: 0.35;
  }
  25% { 
    transform: translateX(40px) translateY(25px);
    opacity: 0.5;
  }
  75% { 
    transform: translateX(-25px) translateY(-15px);
    opacity: 0.45;
  }
}

@keyframes healingPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.4;
  }
  66% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.7;
  }
}

/* Sparkle Animations */
@keyframes sparkle1 {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes sparkle2 {
  0%, 100% {
    opacity: 0;
    transform: scale(0.3) rotate(0deg);
  }
  30%, 70% {
    opacity: 0.8;
    transform: scale(1) rotate(180deg);
  }
}

@keyframes sparkle3 {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  25% {
    opacity: 0.6;
    transform: scale(1.1);
  }
  75% {
    opacity: 0.9;
    transform: scale(0.9);
  }
}

@keyframes sparkle4 {
  0%, 100% {
    opacity: 0;
    transform: scale(0.2) rotate(0deg);
  }
  40%, 60% {
    opacity: 0.7;
    transform: scale(1.3) rotate(90deg);
  }
}

/* Ensure content appears above background */
.liminal-space > section {
  position: relative;
  z-index: 2;
}

.contact-hero {
  padding-top: calc(80px + var(--space-xl));
  padding-bottom: var(--space-xxl);
}

.contact-frame {
  margin: 0 var(--space-lg);
  background: linear-gradient(135deg, var(--white), rgba(168, 181, 163, 0.05));
}

.contact-hero-content {
  text-align: center;
  padding: var(--space-xxl);
}

.contact-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.consultation-info {
  margin-top: var(--space-xl);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.info-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--frame-radius);
  border: 2px solid var(--doorway-frame);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-portal);
}

.info-card h3 {
  color: var(--doorway-frame);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.info-card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Calendly Section */
.calendly-section {
  padding: var(--space-xxl) 0;
  background: var(--bg-primary);
}

.calendly-first {
  padding-top: calc(80px + var(--space-xxl));
  text-align: center;
}

.calendly-first .contact-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.calendly-first .contact-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.calendly-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.calendly-inline-widget {
  border-radius: var(--frame-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 2px solid rgba(212, 132, 92, 0.2);
}

/* Contact Alternative */
.contact-alternative {
  margin-top: var(--space-xxl);
  text-align: center;
  padding: var(--space-xl);
  background: rgba(168, 181, 163, 0.05);
  border-radius: var(--frame-radius);
  border: 1px solid rgba(168, 181, 163, 0.2);
}

.contact-alternative h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact-method {
  text-align: center;
}

.contact-method h4 {
  color: var(--doorway-frame);
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
}

.contact-method p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.contact-method a {
  color: var(--doorway-frame);
  text-decoration: none;
  font-weight: 500;
}

.contact-method a:hover {
  color: var(--accent-portal);
  text-decoration: underline;
}

/* Services Overview on Contact Page */
.contact-services {
  padding: var(--space-xxl) 0;
}

.services-overview-frame {
  margin: 0 var(--space-lg);
  background: linear-gradient(135deg, var(--white), rgba(212, 132, 92, 0.03));
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding: var(--space-xl);
}

.service-overview {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--frame-radius);
  border: 2px solid rgba(212, 132, 92, 0.1);
  transition: var(--transition-smooth);
}

.service-overview:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
  border-color: var(--doorway-frame);
}

.service-overview h3 {
  color: var(--doorway-frame);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.service-overview p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Navigation active state */
.nav-active {
  background: rgba(212, 132, 92, 0.15);
  color: var(--doorway-frame) !important;
  border-radius: 6px;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-hero-content {
    padding: var(--space-lg);
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .calendly-inline-widget {
    height: 600px !important;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .services-overview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
  }
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-info h3,
.footer-contact h4,
.footer-location h4 {
  color: var(--bg-primary);
  margin-bottom: var(--space-sm);
}

.footer-contact a,
.footer-bottom a {
  color: var(--doorway-frame);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(248, 246, 242, 0.2);
  text-align: center;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }
  
  .nav-container {
    padding: 0 var(--space-sm);
  }
  
  .nav-menu {
    gap: var(--space-sm);
  }
  
  .nav-link {
    padding: var(--space-xs);
    font-size: 0.875rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .hero-text {
    order: 2;
  }
  
  .hero-image {
    order: 1;
  }
  
  .journey-steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .about-image {
    order: -1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 0 var(--space-sm);
  }
  
  .doorway-frame {
    margin: 0 var(--space-xs);
  }
  
  .hero-frame,
  .about-frame,
  .begin-frame {
    margin: 0 var(--space-xs);
  }
  
  .service-tags {
    justify-content: center;
  }
  
  .hero-cta {
    justify-content: center;
    margin-top: var(--space-md);
  }
  
  .doorway-button {
    width: 100%;
    justify-content: center;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus States */
.doorway-frame:focus-within {
  outline: 3px solid var(--accent-portal);
  outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
  :root {
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
  
  .doorway-frame {
    border-width: 4px;
  }
}