/* =====================================================
   notatherapy — STYLES.CSS
   Council of Experts Design System
   "Not a therapy. A transformation."

   Color Philosophy (Neuroaesthetic Rationale):
   - Primary: Deep slate blue-green #1C3A3F — activates prefrontal cortex depth/safety
   - Secondary: Warm fog #F5EFE6 — warmth without clinical white
   - Accent: Soft gold #C9A84C — triggers reward system at moments of insight

   Animation Laws (Priya's Laws):
   1. Entry: 400-600ms ease-out. Content breathes in, not snaps in.
   2. Transition between questions: Fade + slight upward drift (20px)
   3. Progress reveal: Organic unfurl — never a loading bar
   4. Completion moments: 1.2s pause of stillness before reward animation
   5. Easing standard: cubic-bezier(0.25, 0.46, 0.45, 0.94)

   Week Palette Shifts (emotional progress):
   Week 1: Cool slate, grounding
   Week 2: Slate + first hint of warmth
   Week 3: Balanced, transitional
   Week 4: Warmer, more open
   Week 5: Full warmth, expansive gold
   ===================================================== */

:root {
  /* Core palette */
  --bg-deep: #1C3A3F;
  --bg-deep-light: #244950;
  --bg-deep-lighter: #2D5560;
  --fog: #F5EFE6;
  --fog-dim: #E8E0D5;
  --fog-muted: #D4CBBD;
  --gold: #C9A84C;
  --gold-soft: rgba(201,168,76,0.15);
  --gold-glow: rgba(201,168,76,0.25);
  --crisis: #C4605C;
  --crisis-soft: rgba(196,96,92,0.12);
  --text: #F5EFE6;
  --text-muted: #9A9188;
  --text-dim: #6B6560;
  --shadow: rgba(0,0,0,0.15);
  --shadow-lg: rgba(0,0,0,0.25);
  --organic-green: rgba(124,158,143,0.08);
  --organic-green-mid: rgba(124,158,143,0.15);

  /* Typography — organic serif headers, humanist sans body */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Gill Sans', sans-serif;

  /* Priya's easing standard */
  --ease-human: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-gentle: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Radii — organic, not mechanical */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 40px;
  --max-w: 680px;

  /* Week palette shifts — emotional progress across 5 weeks */
  --week1-accent: #7C9E8F;
  --week1-bg: rgba(124,158,143,0.06);
  --week2-accent: #8FAE9E;
  --week2-bg: rgba(143,174,158,0.06);
  --week3-accent: #B8A87C;
  --week3-bg: rgba(184,168,124,0.06);
  --week4-accent: #C9A84C;
  --week4-bg: rgba(201,168,76,0.08);
  --week5-accent: #D4B85C;
  --week5-bg: rgba(212,184,92,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY — generous line heights for emotional content ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
}
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.body-generous {
  font-size: 1.05rem;
  line-height: 1.9; /* Long form = large line height (1.8+), as per Council */
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── SCREEN SYSTEM — transitions 400-600ms, breathing in ── */
.screen {
  display: none;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease-human), transform 500ms var(--ease-human);
}
.screen.active { display: flex; }
.screen.visible { opacity: 1; transform: translateY(0); }

.screen-content {
  max-width: var(--max-w);
  width: 100%;
  padding: 40px 28px;
  margin: 0 auto;
}
.screen-content.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── BREATHING BACKGROUND — organic, asymmetric, calming ── */
.breathing-bg {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.breathing-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.02) 50%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
  filter: blur(50px);
  /* Organic offset — not perfectly centered */
  margin-top: -20px;
  margin-left: -30px;
}

.breathing-circle-2 {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,158,143,0.08) 0%, transparent 70%);
  animation: breathe 8s ease-in-out infinite reverse;
  filter: blur(40px);
  margin-top: 80px;
  margin-left: 60px;
}

/* Third breathing element for depth — the "outside world fading" effect */
.breathing-circle-3 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.03) 0%, transparent 60%);
  animation: breatheSlow 10s ease-in-out infinite;
  filter: blur(70px);
  margin-top: -100px;
  margin-left: -150px;
}

.breathing-circle.small {
  width: 80px;
  height: 80px;
  position: relative;
  margin-bottom: 32px;
  filter: blur(15px);
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes breatheSlow {
  0%, 100% { transform: scale(0.95); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

/* ── LANDING — "You've been carrying this alone" ── */
.landing-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  padding: 40px 28px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 48px;
  text-transform: lowercase;
  font-weight: 400;
  /* Logo as mirror — reflecting the user, not a brand */
  opacity: 0;
  animation: revealUp 600ms var(--ease-human) 100ms both;
}

.landing-headline {
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.landing-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.reveal-delay-1 { animation: revealUp 600ms var(--ease-human) 300ms both; }
.reveal-delay-2 { animation: revealUp 600ms var(--ease-human) 500ms both; }
.reveal-delay-3 { animation: revealUp 600ms var(--ease-human) 700ms both; }

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

/* ── BUTTONS — CTA says what user gains, not what they do ── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 16px 44px;
  background: var(--gold);
  color: var(--bg-deep);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 300ms var(--ease-human);
  text-decoration: none;
  /* Large touch targets for anxious hands (Council: WCAG AAA) */
  min-height: 48px;
  min-width: 48px;
}
.btn-primary:hover {
  background: var(--fog);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 12px 32px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--fog-dim);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 300ms var(--ease-human);
  text-decoration: none;
  min-height: 48px;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-sand {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 14px 36px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 300ms var(--ease-human);
  min-height: 48px;
}
.btn-sand:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}
.btn-sand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.crisis-notice {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 32px;
  line-height: 1.7;
}
.crisis-notice a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 200ms;
}
.crisis-notice a:hover { color: var(--crisis); }

/* ── ASSESSMENT — one question per screen, white space as emotional permission ── */
.progress-bar-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 28px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(var(--bg-deep), transparent);
}

/* Progress bar — organic unfurl, never a loading bar (Priya's Law #3) */
.progress-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--bg-deep-lighter), var(--gold));
  border-radius: 2px;
  width: 0%;
  transition: width 600ms var(--ease-human);
}

#screen-assessment .screen-content {
  padding-top: 16px;
}

/* Question slides in — 450ms ease-out, breathing in (Priya's Law #1) */
.question-slide {
  animation: questionIn 450ms var(--ease-human) both;
}

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

/* Question slides out — fade + upward drift (Priya's Law #2) */
@keyframes slideOut {
  to { opacity: 0; transform: translateY(-20px); }
}

.question-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 32px;
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

/* Option cards — large touch targets, haptic-calibrated feedback */
.option-card {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep-light);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 18px 22px;
  cursor: pointer;
  transition: all 300ms var(--ease-human);
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  /* Large touch targets — 48px minimum for trembling hands */
  min-height: 48px;
}
.option-card:hover {
  background: var(--bg-deep-lighter);
  border-color: var(--fog-dim);
  transform: translateY(-1px);
}
.option-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.option-card.selected {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 20px var(--gold-glow);
  /* Soft gold reward at moment of choice — insight trigger */
}

.continue-btn-wrap {
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 400ms var(--ease-human);
  pointer-events: none;
  margin-bottom: 20px;
}
.continue-btn-wrap.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.take-your-time {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
  font-family: var(--font-display);
}

.question-footer {
  text-align: center;
  padding-top: 16px;
}

.crisis-link-small {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 200ms;
}
.crisis-link-small:hover { color: var(--crisis); }

/* ── "INSIDE YOUR MIND" EFFECT — shifts after 3-4 questions ── */
body.mind-shift {
  /* Background subtly shifts — slightly warmer, more intimate */
  --bg-deep: #1F3D42;
}

body.mind-shift .breathing-circle {
  /* Gold becomes warmer — environment shifts to intimate */
  background: radial-gradient(circle, rgba(201,168,76,0.09) 0%, rgba(201,168,76,0.03) 50%, transparent 70%);
}

body.mind-shift .breathing-circle-2 {
  /* Green becomes warmer, signaling safety deepening */
  background: radial-gradient(circle, rgba(160,180,140,0.1) 0%, transparent 70%);
}

/* Animations become slower and more deliberate — mirroring deep reflection */
body.mind-shift .question-slide {
  animation-duration: 550ms;
}

body.mind-shift .option-card {
  transition-duration: 400ms;
}

/* ── CRISIS INTERRUPT — immediate, human, non-clinical ── */
.crisis-interrupt {
  text-align: center;
  animation: revealUp 500ms var(--ease-human) both;
  /* 1.2s pause of stillness before content — Priya's Law #4 */
  animation-delay: 200ms;
}
.crisis-interrupt h2 {
  font-family: var(--font-display);
  margin-bottom: 16px;
}
.crisis-interrupt p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.crisis-resources {
  text-align: left;
  margin-bottom: 24px;
}
.crisis-resource-item {
  background: var(--bg-deep-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 8px;
  border-left: 3px solid var(--crisis);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.crisis-resource-item a { color: var(--gold); font-weight: 500; }
.crisis-continue {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--fog-dim);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  cursor: pointer;
  transition: all 200ms var(--ease-human);
  min-height: 48px;
}
.crisis-continue:hover {
  border-color: var(--text-muted);
  color: var(--text-muted);
}

/* ── PROCESSING — the pause IS the reward ── */
.processing-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 400;
}
.processing-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 16px;
}

.dots-loader {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 24px 0;
}
.dots-loader span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotPulse 1.2s ease-in-out infinite;
}
.dots-loader span:nth-child(2) { animation-delay: 200ms; }
.dots-loader span:nth-child(3) { animation-delay: 400ms; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* ── OUTPUT — staggered reveal, completion moments have stillness ── */
.output-content {
  padding-top: 60px;
  padding-bottom: 80px;
}

.output-section {
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-human), transform 600ms var(--ease-human);
}
.output-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mirror text — the "how did it know?" moment */
.mirror-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.85;
  color: var(--text);
  font-weight: 300;
}

.profile-name-card {
  text-align: center;
  background: var(--bg-deep-light);
  border-radius: var(--radius);
  padding: 40px 28px;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 4px 40px var(--shadow);
  /* Organic border — not perfectly uniform */
  position: relative;
}
.profile-name-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.profile-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.profile-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 400;
}
.profile-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.truth-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

.path-card {
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 3px solid var(--gold);
}
.path-card p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 12px;
}
.path-card p:last-child { margin-bottom: 0; }

/* ── 5-WEEK PROGRAM REVEAL — the crown jewel ── */
.program-reveal {
  text-align: center;
}
.program-reveal h3 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 16px;
}
.program-reveal .sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Week preview — a map of your own growth, not a course syllabus */
.week-preview-list {
  list-style: none;
  text-align: left;
  max-width: 460px;
  margin: 0 auto 36px;
}
.week-preview-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245,239,230,0.08);
  /* Organic staggered reveal */
  opacity: 0;
  animation: revealUp 500ms var(--ease-human) both;
}
.week-preview-list li:nth-child(1) { animation-delay: 0.1s; }
.week-preview-list li:nth-child(2) { animation-delay: 0.25s; }
.week-preview-list li:nth-child(3) { animation-delay: 0.4s; }
.week-preview-list li:nth-child(4) { animation-delay: 0.55s; }
.week-preview-list li:nth-child(5) { animation-delay: 0.7s; }

.week-num {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
  margin-right: 16px;
}
.week-title {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text);
  font-size: 1rem;
}

.price-block {
  margin-bottom: 28px;
}
.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.price-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.paypal-btn-wrap {
  max-width: 320px;
  margin: 0 auto 28px;
}

.social-proof {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.return-seed {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.share-section { text-align: center; }
.share-card {
  background: var(--bg-deep-light);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  border: 1px solid var(--fog-dim);
}
.share-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.share-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 8px;
}
.share-desc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.share-url {
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.share-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── PROGRAM PAGE — 5-week plan as living landscape ── */
.program-ready-header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(245,239,230,0.1);
  margin-bottom: 48px;
}
.program-ready-header h2 {
  margin-bottom: 16px;
  color: var(--gold);
}
.program-ready-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.print-nudge {
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin: 24px 0;
  font-size: 0.88rem;
  color: var(--gold);
}
.print-nudge strong { color: var(--gold); }

.program-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.print-instructions {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── WEEK BLOCKS — palette shifts across 5 weeks ── */
.week-block {
  margin-bottom: 48px;
  animation: revealUp 600ms var(--ease-human) both;
}

.week-header {
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
}

/* Week 1: Cool slate, grounding */
.week-block:nth-of-type(1) .week-header {
  background: var(--week1-bg);
  border-left-color: var(--week1-accent);
}
.week-block:nth-of-type(1) .week-number-label { color: var(--week1-accent); }

/* Week 2: Slate + first hint of warmth */
.week-block:nth-of-type(2) .week-header {
  background: var(--week2-bg);
  border-left-color: var(--week2-accent);
}
.week-block:nth-of-type(2) .week-number-label { color: var(--week2-accent); }

/* Week 3: Balanced, transitional */
.week-block:nth-of-type(3) .week-header {
  background: var(--week3-bg);
  border-left-color: var(--week3-accent);
}
.week-block:nth-of-type(3) .week-number-label { color: var(--week3-accent); }

/* Week 4: Warmer, more open */
.week-block:nth-of-type(4) .week-header {
  background: var(--week4-bg);
  border-left-color: var(--week4-accent);
}
.week-block:nth-of-type(4) .week-number-label { color: var(--week4-accent); }

/* Week 5: Full warmth, expansive gold */
.week-block:nth-of-type(5) .week-header {
  background: var(--week5-bg);
  border-left-color: var(--week5-accent);
}
.week-block:nth-of-type(5) .week-number-label { color: var(--week5-accent); }

.week-number-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}
.week-header h3 {
  color: var(--text);
  margin-bottom: 10px;
}
.week-intention {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.day-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245,239,230,0.06);
}
.day-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 6px;
}
.day-block h4 {
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 400;
}

.practice-part {
  margin-bottom: 20px;
}
.practice-part-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.practice-part p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.sit-with-question {
  background: var(--bg-deep-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  border-left: 2px solid var(--gold);
}

.letter-block {
  border: 1px solid var(--fog-dim);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 16px 0;
}
.letter-opening {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}
.letter-lines {
  list-style: none;
  padding: 0;
}
.letter-lines li {
  border-bottom: 1px solid rgba(245,239,230,0.08);
  height: 28px;
  margin-bottom: 4px;
}
.letter-closing {
  font-family: var(--font-display);
  font-style: italic;
  text-align: right;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 12px;
}

/* Insight cards — completion moment, shift feeling */
.insight-card {
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  text-align: center;
  border: 1px solid rgba(201,168,76,0.2);
  /* Organic unfurl animation on scroll */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease-human), transform 600ms var(--ease-human);
}
.insight-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.insight-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 10px;
}
.insight-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
}

/* Final closing — geological, like layers building */
.final-closing {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid rgba(245,239,230,0.1);
  margin-top: 48px;
}
.final-closing p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 10px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.final-signature {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 20px;
}

/* ── FOOTER ── */
#site-footer {
  text-align: center;
  padding: 40px 28px;
  border-top: 1px solid rgba(245,239,230,0.06);
}
#site-footer p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 6px;
}
#site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 200ms;
}
#site-footer a:hover { color: var(--gold); }
.cookie-notice { font-size: 0.72rem !important; color: var(--text-dim) !important; }

/* ── ACCESSIBILITY — WCAG AAA where possible ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Reduced motion — respect user preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .breathing-circle, .breathing-circle-2, .breathing-circle-3 {
    animation: none !important;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .screen-content { padding: 28px 20px; }
  .landing-content { padding: 28px 20px; }
  .option-card { padding: 14px 16px; font-size: 0.9rem; }
  .profile-name-card { padding: 28px 20px; }
  .week-header { padding: 20px 16px; }
  .path-card { padding: 24px 20px; }
  .breathing-circle { width: 220px; height: 220px; }
  .breathing-circle-2 { width: 150px; height: 150px; }
  .breathing-circle-3 { display: none; }
  .week-preview-list li {
    flex-direction: column;
    gap: 4px;
  }
}

/* ── GOLD SHIMMER — profile name reveal, "how did it know?" reward ── */
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.profile-name.revealed {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    #E8D48B 25%,
    var(--gold) 50%,
    #E8D48B 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s var(--ease-gentle) both;
}

/* ── COMPLETION PULSE — processing screen subtle glow ── */
@keyframes completionPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
  50% { box-shadow: 0 0 40px 8px rgba(201,168,76,0.08); }
}

.breathing-circle.small {
  animation: breathe 6s ease-in-out infinite, completionPulse 4s ease-in-out infinite;
}

/* ── OPTION CARD — micro haptic: slight scale on press ── */
.option-card:active {
  transform: scale(0.98);
  transition-duration: 100ms;
}

/* ── LINK TRANSITIONS — smooth color shifts ── */
a {
  transition: color 200ms var(--ease-human);
}

/* ── SELECTION ── */
::selection {
  background: rgba(201,168,76,0.3);
  color: var(--text);
}

/* ── SCROLLBAR — subtle, not distracting ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-deep-lighter); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ── WEEK BLOCK — staggered entrance on scroll ── */
.week-block:nth-of-type(1) { animation-delay: 0ms; }
.week-block:nth-of-type(2) { animation-delay: 100ms; }
.week-block:nth-of-type(3) { animation-delay: 200ms; }
.week-block:nth-of-type(4) { animation-delay: 300ms; }
.week-block:nth-of-type(5) { animation-delay: 400ms; }

/* ── DAY BLOCK — subtle hover lift for interactive feel ── */
.day-block {
  transition: background 300ms var(--ease-human);
  border-radius: var(--radius-sm);
  padding-left: 4px;
  padding-right: 4px;
}
.day-block:hover {
  background: rgba(245,239,230,0.015);
}

/* ── PRINT NUDGE — gentle pulse to draw attention ── */
@keyframes nudgePulse {
  0%, 100% { border-color: var(--gold-soft); }
  50% { border-color: var(--gold); }
}
.print-nudge {
  border: 1px solid var(--gold-soft);
  animation: nudgePulse 3s ease-in-out infinite;
}

/* ── SCREEN-PROGRAM — ensure proper scrolling on long programs ── */
#screen-program {
  justify-content: flex-start;
  align-items: stretch;
}
#screen-program .screen-content {
  max-width: 760px;
}
