/* ============================================================
   THE AURORA CODE — Master Stylesheet
   Built by Draxiq · 20 April 2026
   Design system: teal anchor + aurora gradient + sage + neutrals
   ============================================================ */

/* -----  CSS Custom Properties (design tokens) ----- */
:root {
  /* Core palette */
  --teal-deep: #0F4C5C;
  --teal-dark: #0A3642;
  --teal-light: #1F6478;

  /* Aurora accent gradient */
  --aurora-aqua: #00F5D4;
  --aurora-violet: #9B5DE5;
  --aurora-pink: #F15BB5;
  --aurora-gradient: linear-gradient(135deg, var(--aurora-aqua), var(--aurora-violet), var(--aurora-pink));

  /* Sage (wellness sections) */
  --sage: #A3B18A;
  --sage-light: #C5CFAD;
  --sage-dark: #7D8B65;

  /* Neutrals */
  --bg: #F8F9FA;
  --bg-soft: #F1F5F4;
  --surface: #FFFFFF;
  --text: #2B2D42;
  --text-soft: #4A4C63;
  --text-muted: #6B6D84;
  --border: #E4E7EC;

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

  /* Scale */
  --step-6: clamp(2.75rem, 1.5rem + 5vw, 4.5rem);
  --step-5: clamp(2.25rem, 1.3rem + 3.5vw, 3.25rem);
  --step-4: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --step-3: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
  --step-2: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
  --step-1: 1rem;
  --step-0: 0.9375rem;
  --step-sm: 0.8125rem;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* Layout */
  --container: 1140px;
  --container-narrow: 780px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(15, 76, 92, 0.06), 0 1px 2px rgba(15, 76, 92, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 76, 92, 0.08), 0 2px 4px rgba(15, 76, 92, 0.05);
  --shadow-lg: 0 12px 40px rgba(15, 76, 92, 0.12), 0 4px 12px rgba(15, 76, 92, 0.06);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* -----  Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--teal-deep);
  line-height: 1.2;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }

p { margin: 0 0 var(--space-3); max-width: 68ch; }
p.lead { font-size: var(--step-2); color: var(--text-soft); max-width: 60ch; }

a {
  color: var(--teal-light);
  text-decoration-color: rgba(31, 100, 120, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-out);
}
a:hover { color: var(--aurora-violet); text-decoration-color: var(--aurora-violet); }
a:focus-visible {
  outline: 2px solid var(--aurora-violet);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--aurora-violet); color: white; }


/* -----  Accessibility: skip-to-main link ----- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-2);
  background: var(--teal-deep);
  color: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  z-index: 100;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: var(--space-2);
  color: white;
}

/* -----  Layout ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: var(--space-6) 0;
}
.section-lg { padding: var(--space-7) 0; }
.section-sm { padding: var(--space-5) 0; }

.section-teal {
  background: var(--teal-deep);
  color: var(--bg);
}
.section-teal h1, .section-teal h2, .section-teal h3, .section-teal h4 { color: white; }
.section-teal p.lead { color: rgba(248, 249, 250, 0.85); }
.section-teal a { color: var(--aurora-aqua); text-decoration-color: rgba(0, 245, 212, 0.4); }

.section-sage {
  background: var(--sage-light);
}
.section-soft {
  background: var(--bg-soft);
}

/* -----  Header / Nav ----- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}

.brand {
  font-family: var(--font-heading);
  font-size: var(--step-2);
  font-weight: 500;
  color: var(--teal-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--aurora-violet); }

.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: var(--step-0);
  font-weight: 500;
  padding: var(--space-1) 0;
  position: relative;
}
.nav-links a:hover { color: var(--aurora-violet); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--aurora-gradient);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: var(--space-1);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  color: var(--teal-deep);
}

/* -----  Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.3s var(--ease-out);
  min-height: 44px;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--aurora-gradient);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-secondary {
  background: var(--teal-deep);
  color: white;
}
.btn-secondary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border: 1.5px solid var(--teal-deep);
}
.btn-ghost:hover {
  background: var(--teal-deep);
  color: white;
}


/* -----  Image placeholders (for use until real photos arrive) ----- */
.placeholder-image {
  background: linear-gradient(135deg, var(--teal-deep), var(--aurora-violet));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 500;
  min-height: 300px;
  line-height: 1.4;
  box-shadow: var(--shadow-md);
}
.placeholder-image::before {
  content: '📷 ';
  opacity: 0.7;
  font-size: var(--step-3);
  margin-right: var(--space-1);
}
.placeholder-image.placeholder-square { aspect-ratio: 1/1; min-height: 0; }
.placeholder-image.placeholder-wide { aspect-ratio: 16/9; min-height: 0; }
.placeholder-image.placeholder-portrait { aspect-ratio: 3/4; min-height: 0; }
.placeholder-image.placeholder-round { border-radius: 50%; aspect-ratio: 1/1; min-height: 0; }

/* -----  Hero section ----- */
.hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-6);
  background: var(--surface);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: var(--aurora-gradient);
  opacity: 0.08;
  filter: blur(80px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.hero-content h1 {
  font-size: var(--step-6);
  margin-bottom: var(--space-3);
}
.hero-content .lead {
  margin-bottom: var(--space-4);
}
.hero-ctas {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Aurora shimmer on key words */
.aurora-text {
  background: var(--aurora-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}

/* -----  Cards ----- */
.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card h3 {
  margin-top: 0;
  color: var(--teal-deep);
}
.card .card-meta {
  font-size: var(--step-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Session cards specifically — price prominence */
.session-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}
.session-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aurora-violet);
}
.session-card .price {
  font-family: var(--font-heading);
  font-size: var(--step-5);
  color: var(--teal-deep);
  line-height: 1;
  margin: var(--space-2) 0 var(--space-3);
}
.session-card .price small {
  font-size: var(--step-0);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
}
.session-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0;
}
.session-card li {
  padding: var(--space-1) 0 var(--space-1) var(--space-3);
  position: relative;
}
.session-card li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--aurora-violet);
}

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--space-4);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* -----  Forms ----- */
.form-group { margin-bottom: var(--space-3); }

.form-group label {
  display: block;
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: var(--space-1);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: var(--step-1);
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  min-height: 44px;
}
.form-control:focus {
  outline: 0;
  border-color: var(--aurora-violet);
  box-shadow: 0 0 0 3px rgba(155, 93, 229, 0.15);
}
textarea.form-control { min-height: 140px; resize: vertical; }

.form-note {
  font-size: var(--step-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* -----  Footer ----- */
.site-footer {
  background: var(--teal-dark);
  color: rgba(248, 249, 250, 0.8);
  padding: var(--space-6) 0 var(--space-4);
  margin-top: var(--space-7);
  font-size: var(--step-0);
}
.site-footer a { color: var(--aurora-aqua); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.site-footer h4 {
  color: white;
  font-family: var(--font-body);
  font-size: var(--step-0);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: var(--space-1); }

.footer-disclaimer {
  border-top: 1px solid rgba(248, 249, 250, 0.15);
  padding-top: var(--space-3);
  font-size: var(--step-sm);
  line-height: 1.6;
  color: rgba(248, 249, 250, 0.6);
  max-width: 80ch;
}

.footer-meta {
  margin-top: var(--space-3);
  font-size: var(--step-sm);
  color: rgba(248, 249, 250, 0.5);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-meta .draxiq-credit {
  opacity: 0.7;
}
.footer-meta .draxiq-credit a { color: rgba(248, 249, 250, 0.7); }

/* -----  Mobile ----- */
@media (max-width: 780px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--surface);
    flex-direction: column;
    padding: var(--space-3);
    gap: var(--space-2);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero { padding: var(--space-5) 0 var(--space-5); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .section { padding: var(--space-5) 0; }
  .section-lg { padding: var(--space-6) 0; }
}

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

/* -----  Utilities ----- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
