/* ============================================================
   FILE:           guide.css
   REPO:           eranos-website
   STACK:          Vanilla
   CLASSIFICATION: PUBLIC
   PURPOSE:        Shared styles for /guides/ practical guide pages
   DEPENDENCIES:   ../styles.css (must load first)
   GDPR NOTE:      N/A
   VERSION HISTORY:
     1.0.0 — 2026-04-16 — Initial creation
   ============================================================ */

/* GUIDE HERO */
.guide-hero {
  background: linear-gradient(135deg, #0f1320 0%, #1a1e2e 35%, #252a3a 65%, #1a2a2a 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.guide-hero-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}
.guide-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(191,217,215,.06) 0%, transparent 70%);
  pointer-events: none;
}
.guide-tag {
  display: inline-block;
  background: rgba(26,30,46,.7);
  border: 1px solid rgba(191,217,215,.3);
  color: var(--teal);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.guide-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.guide-meta {
  display: flex;
  gap: 24px;
  font-size: .78rem;
  color: var(--teal-mid);
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.guide-excerpt {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
  max-width: 680px;
  position: relative;
  z-index: 1;
}

/* BREADCRUMB */
.guide-breadcrumb {
  background: var(--bg-light);
  padding: 0;
  border-bottom: 1px solid rgba(88,96,106,.1);
  font-size: .78rem;
}
.guide-breadcrumb-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 5%;
}
.guide-breadcrumb a {
  color: var(--teal-mid);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s;
}
.guide-breadcrumb a:hover { color: var(--navy); }

/* GUIDE BODY */
.guide-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 5% 96px;
}
.guide-wrap > h2,
.guide-wrap > p {
  max-width: 700px;
}
.guide-wrap h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--navy);
  margin: 52px 0 16px;
  line-height: 1.2;
}
.guide-wrap h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin: 32px 0 12px;
  line-height: 1.25;
}
.guide-wrap p {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--slate);
  margin-bottom: 22px;
}
.guide-wrap p strong { color: var(--navy); }
.guide-wrap ul, .guide-wrap ol {
  margin: 0 0 22px 0;
  padding: 0;
  list-style: none;
}
.guide-wrap ul li, .guide-wrap ol li {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--slate);
  padding-left: 20px;
  margin-bottom: 10px;
  position: relative;
}
.guide-wrap ul li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: var(--teal-mid);
}
.guide-wrap ol { counter-reset: list-counter; }
.guide-wrap ol li { counter-increment: list-counter; }
.guide-wrap ol li::before {
  content: counter(list-counter) '.';
  position: absolute;
  left: 0;
  color: var(--teal-mid);
  font-weight: 600;
  font-size: .82rem;
}
/* Cancel counter on custom-numbered lists — two-class specificity beats ol li */
.guide-wrap .stage-item,
.guide-wrap .takeaway-item { counter-increment: none; }
.guide-wrap .stage-item::before,
.guide-wrap .takeaway-item::before { content: none; }
/* Restore dot bullets for nested ul li inside stage items */
.stage-content ul li { counter-increment: none; }
.stage-content ul li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: var(--teal-mid);
  font-weight: normal;
  font-size: inherit;
}
.guide-divider {
  border: none;
  border-top: 1px solid rgba(88,96,106,.15);
  margin: 52px 0;
}

/* INTRO CARD */
.guide-intro-card {
  background: var(--bg-light);
  border-left: 3px solid var(--teal);
  padding: 28px 32px;
  margin: 0 0 48px;
  border-radius: 0 4px 4px 0;
}
.guide-intro-card p { margin-bottom: 16px; }
.guide-intro-card p:last-child { margin-bottom: 0; }

/* NUMBERED STAGES */
.stage-list { list-style: none; padding: 0; margin: 0 0 40px; }
.stage-item {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(88,96,106,.12);
}
.stage-item:first-child { padding-top: 0; }
.stage-item:last-child { border-bottom: none; }
.stage-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}
.stage-content { flex: 1; }
.stage-content h3 { margin-top: 0; margin-bottom: 8px; }
.stage-badge {
  display: inline-block;
  background: rgba(157,177,179,.2);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* HIGHLIGHT BOX */
.highlight-box {
  background: rgba(191,217,215,.1);
  border-left: 3px solid var(--teal-mid);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}
.highlight-box p { margin-bottom: 0; font-size: .9rem; }

/* SECTION CARD */
.guide-card {
  background: var(--bg-light);
  border-left: 3px solid var(--teal);
  padding: 24px 28px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}
.guide-card h3 { margin-top: 0; }
.guide-card ul, .guide-card ol { margin-bottom: 0; }
.guide-card p:last-child { margin-bottom: 0; }

/* TWO-COLUMN GRID */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 40px;
}
.grid-card {
  border: 1px solid rgba(88,96,106,.15);
  border-radius: 4px;
  overflow: hidden;
}
.grid-card-header {
  background: var(--teal);
  color: var(--navy);
  padding: 12px 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
}
.grid-card-body { padding: 16px; }
.grid-card-body li { font-size: .88rem; margin-bottom: 8px; }

/* TABLES */
.guide-table-wrap { overflow-x: auto; margin: 24px 0 40px; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.guide-table th {
  background: var(--navy);
  color: var(--off-white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.guide-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(88,96,106,.1);
  color: var(--slate);
  line-height: 1.6;
}
.guide-table tr:nth-child(even) td { background: rgba(191,217,215,.05); }
.guide-table td strong { color: var(--navy); }

/* KEY TAKEAWAYS */
.takeaway-list {
  list-style: none;
  padding: 28px 32px;
  background: var(--bg-light);
  border-radius: 4px;
  margin: 0 0 40px;
}
.takeaway-item {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(88,96,106,.1);
}
.takeaway-item:first-child { padding-top: 0; }
.takeaway-item:last-child { border-bottom: none; padding-bottom: 0; }
.takeaway-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-mid);
  flex-shrink: 0;
  min-width: 20px;
  padding-top: 2px;
}
.takeaway-text { font-size: .92rem; line-height: 1.75; color: var(--slate); }
.takeaway-text strong { color: var(--navy); }

/* PULL QUOTE */
blockquote.pull-quote {
  border-left: 3px solid var(--teal);
  padding: 20px 28px;
  background: var(--bg-light);
  margin: 40px 0;
  border-radius: 0 4px 4px 0;
}
blockquote.pull-quote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin: 0;
}

/* STATS STRIP */
.stat-strip { background: var(--bg-light); padding: 60px 0; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5%;
}
.stat-item {
  padding: 32px 24px;
  background: var(--off-white);
  border: 1px solid rgba(88,96,106,.12);
  border-radius: 4px;
}
.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 46px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-number span { color: var(--teal-mid); }
.stat-label { font-size: .82rem; line-height: 1.55; color: var(--slate); }
.stat-source { font-size: .7rem; color: var(--teal-mid); margin-top: 12px; font-style: italic; }

/* PLAYBOOK SECTION LAYOUT */
.playbook-section { padding: 72px 0; }
.playbook-section:nth-child(even) { background: var(--bg-light); }
.playbook-container { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.playbook-container > h2,
.playbook-container > p,
.playbook-container > h3 { max-width: 700px; }
.playbook-container-wide { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.section-tag {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 16px;
}
.playbook-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.15;
}
.lead-p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--navy);
  font-weight: 300;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(88,96,106,.12);
}
.playbook-p { font-size: .95rem; line-height: 1.85; color: var(--slate); margin-bottom: 22px; }

/* PULLQUOTE (playbook style) */
.pullquote {
  margin: 48px 0;
  padding: 36px 44px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
}
.pullquote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 72px;
  color: var(--teal);
  opacity: .3;
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
  pointer-events: none;
}
.pullquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--off-white);
  padding-left: 16px;
  margin-bottom: 14px;
}
.pullquote cite {
  font-size: .72rem;
  color: rgba(255,255,254,.3);
  font-style: normal;
  padding-left: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* DATA TAG */
.data-tag {
  display: inline-block;
  background: rgba(191,217,215,.14);
  color: var(--teal-mid);
  font-size: .7rem;
  padding: 2px 7px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 4px;
  letter-spacing: .04em;
}

/* PRINCIPLE LIST */
.principle-list { list-style: none; margin: 40px 0 0; padding: 0; }
.principle-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(88,96,106,.12);
}
.principle-item:first-child { padding-top: 0; }
.principle-item:last-child { border-bottom: none; }
.principle-num {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-mid);
  padding-top: 6px;
}
.principle-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  margin-top: 0;
}
.principle-content p { font-size: .92rem; margin-bottom: 0; color: var(--slate); line-height: 1.8; }

/* FAILURE GRID */
.failure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}
.failure-card {
  background: var(--bg-light);
  border-left: 2px solid var(--teal);
  padding: 24px;
}
.failure-card h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 0;
}
.failure-card p { font-size: .88rem; margin-bottom: 0; line-height: 1.65; color: var(--slate); }

/* METHOD STEPS */
.method-bg {
  background: var(--bg-light);
  padding: 72px 5%;
  border-top: 1px solid rgba(88,96,106,.1);
  border-bottom: 1px solid rgba(88,96,106,.1);
}
.method-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--off-white);
  border: 1px solid rgba(88,96,106,.12);
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.method-step {
  padding: 28px 20px;
  border-right: 1px solid rgba(88,96,106,.12);
  position: relative;
}
.method-step:last-child { border-right: none; }
.method-step-num {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 14px;
}
.method-step h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 0;
}
.method-step p { font-size: .82rem; line-height: 1.55; margin-bottom: 0; color: var(--slate); }
.method-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--navy);
  font-size: .75rem;
}
.method-step:last-child .method-arrow { display: none; }

/* DELIVERABLE LIST */
.deliverable-list { list-style: none; margin: 40px 0 0; padding: 0; }
.deliverable-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(88,96,106,.12);
}
.deliverable-item:first-child { padding-top: 0; }
.deliverable-item:last-child { border-bottom: none; }
.deliverable-check {
  width: 26px;
  height: 26px;
  background: rgba(191,217,215,.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.deliverable-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--teal-mid);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.deliverable-text strong {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.deliverable-text p { font-size: .88rem; margin-bottom: 0; line-height: 1.6; color: var(--slate); }

/* CTA SECTION */
.guide-cta-section {
  background: var(--navy);
  padding: 80px 5%;
  text-align: center;
}
.guide-cta-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--off-white);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.2;
}
.guide-cta-section p {
  color: rgba(255,255,254,.58);
  font-size: .95rem;
  max-width: 520px;
  margin: 0 auto 36px;
}
.guide-cta-row { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-cta {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  padding: 12px 28px;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: opacity .2s;
}
.btn-cta:hover { opacity: .85; }
.cta-note { font-size: .82rem; color: rgba(255,255,254,.3); }

/* DISCLAIMER */
.guide-disclaimer {
  background: var(--bg-light);
  border-top: 1px solid rgba(88,96,106,.1);
  padding: 28px 5%;
  text-align: center;
}
.guide-disclaimer p {
  font-size: .8rem;
  color: var(--slate);
  max-width: 680px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.7;
}

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .guide-grid { grid-template-columns: 1fr; }
  .failure-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .method-step { border-right: none; border-bottom: 1px solid rgba(88,96,106,.12); }
  .method-step:last-child { border-bottom: none; }
  .method-arrow { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .principle-item { grid-template-columns: 1fr; row-gap: 4px; }
  .principle-num { padding-top: 0; }
}
@media (max-width: 540px) {
  .guide-wrap { padding: 48px 0 72px; }
  .stat-grid { grid-template-columns: 1fr; }
  .guide-hero { padding: 120px 0 60px; }
}
