/* ============================================
   SugarCARE — Stories page (stories.html)
   Loaded after tokens.css + base.css + home.css.
   ============================================ */

/* ─── HERO ─────────────────────────────────────── */
.stories-hero {
  position: relative;
  padding: var(--s-2xl) 0 var(--s-xl);
  background: var(--c-white);
  text-align: center;
  overflow: hidden;
}
.stories-hero .pill { margin-bottom: var(--s-md); }
.stories-hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  color: var(--c-purple-deep);
  margin-bottom: var(--s-md);
  max-width: 18ch;
  margin-inline: auto;
}
.stories-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--c-purple) 0%, var(--c-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.show-en .stories-hero h1 { font-family: var(--font-en); }
.stories-hero p {
  font-size: var(--t-md);
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto var(--s-lg);
}
.stories-hero .hero-ctas {
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── THE STORY (DARK FEATURE) ────────────────── */
.story-feature {
  background: var(--c-purple-deep);
  color: var(--c-white);
  padding: var(--s-2xl) 0;
  position: relative;
  overflow: hidden;
}
.story-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(232,106,26,.18), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(107,77,208,.25), transparent 60%);
  pointer-events: none;
}
.story-feature-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--c-white);
  font-family: var(--font-en);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: var(--s-md);
}
.story-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-orange);
}
.story-quote {
  font-family: var(--font-ml);
  font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin-bottom: var(--s-lg);
  color: var(--c-white);
}
body.show-en .story-quote { font-family: var(--font-en); }
.story-quote::before {
  content: '"';
  display: block;
  font-family: var(--font-en);
  font-size: 4.5rem;
  color: var(--c-orange);
  line-height: .5;
  margin-bottom: var(--s-sm);
}
.story-attr {
  font-family: var(--font-en);
  font-size: var(--t-sm);
  color: var(--c-purple-light);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: var(--s-2xl);
}

.story-outcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  backdrop-filter: blur(10px);
  margin-bottom: var(--s-2xl);
}
.story-outcome-num {
  font-family: var(--font-en);
  font-size: clamp(4.5rem, 3rem + 6vw, 8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(135deg, #FFF 0%, var(--c-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}
.story-outcome-context h3 {
  font-family: var(--font-en);
  font-size: var(--t-lg);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--c-white);
  margin-bottom: var(--s-sm);
  line-height: 1.2;
}
.story-outcome-context p {
  font-size: var(--t-sm);
  color: var(--c-purple-light);
  line-height: 1.65;
}
.story-outcome-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-md);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(232,106,26,.18);
  border: 1px solid rgba(232,106,26,.4);
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 700;
  color: #FFD9C2;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .story-outcome { grid-template-columns: 1fr; gap: var(--s-md); padding: var(--s-lg); }
}

.story-journey-label {
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-purple-light);
  text-align: center;
  margin-bottom: var(--s-md);
}
.story-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-sm);
  position: relative;
}
.story-journey::before {
  content: '';
  position: absolute;
  top: 22px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: rgba(255,255,255,.18);
  z-index: 0;
}
.story-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md);
  padding: var(--s-md);
  position: relative;
  z-index: 1;
  text-align: center;
}
.story-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-purple-deep);
  border: 2px solid var(--c-orange);
  color: var(--c-orange);
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto var(--s-sm);
}
.story-step h4 {
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 4px;
}
.story-step p {
  font-size: .72rem;
  color: var(--c-purple-light);
  line-height: 1.5;
}
@media (max-width: 800px) {
  .story-journey { grid-template-columns: 1fr 1fr; gap: var(--s-md); }
  .story-journey::before { display: none; }
}
@media (max-width: 480px) { .story-journey { grid-template-columns: 1fr; } }

/* ─── HONESTY SECTION ─────────────────────────── */
.honesty { padding: var(--s-2xl) 0; background: var(--c-bg); }
.honesty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}
.honesty-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
}
.honesty-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-purple-tint-soft);
  color: var(--c-purple);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-md);
}
.honesty-icon svg { width: 22px; height: 22px; }
.honesty-card h3 {
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--c-purple-deep);
  margin-bottom: var(--s-sm);
  line-height: 1.3;
}
body.show-en .honesty-card h3 { font-family: var(--font-en); }
.honesty-card p {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.65;
}
@media (max-width: 900px) { .honesty-grid { grid-template-columns: 1fr; } }

/* ─── SHARE YOUR STORY ─────────────────────────── */
.share { padding: var(--s-2xl) 0; }
.share-card {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--c-purple-tint-soft) 0%, var(--c-mint-tint) 100%);
  border-radius: var(--r-xl);
  padding: var(--s-2xl) var(--s-xl);
  text-align: center;
  border: 1px solid var(--c-border);
}
.share-card h2 {
  font-size: var(--t-2xl);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--c-purple-deep);
  margin-bottom: var(--s-md);
}
body.show-en .share-card h2 { font-family: var(--font-en); }
.share-card > p {
  font-size: var(--t-md);
  color: var(--c-text);
  line-height: 1.65;
  margin-bottom: var(--s-lg);
  max-width: 50ch;
  margin-inline: auto;
}
.share-card .hero-ctas { justify-content: center; margin-bottom: var(--s-md); }
.share-fineprint {
  font-size: var(--t-xs);
  color: var(--c-muted);
  margin: 0;
}
