/**
 * trauma-cornerstone.css — Inspire Recovery Design System
 * /trauma-informed-addiction-treatment/ (Post ID 50220)
 *
 * Foundation: main.css (tokens · base · layout · typography · components · forms)
 * Visual references — every pattern drawn from the approved meth cornerstone system:
 *   S1 Hero          → meth-cornerstone.css (.meth-hero)
 *   S2 Recognition   → meth-cornerstone.css (.meth-recognition / .meth-recognition-grid)
 *   S3 LGBTQ Context → meth-cornerstone.css (.meth-chemsex / .section-brown)
 *   S4 What TIC      → meth-cornerstone.css (.meth-context / .meth-context-grid)
 *   S5 How Trauma    → meth-cornerstone.css (.meth-withdrawal / .meth-card)
 *   S6 Approaches    → meth-cornerstone.css (.meth-treatment / .meth-card)
 *   S7 Programs      → meth-cornerstone.css (.meth-inspire / .meth-inspire-grid)
 *   Final CTA        → shared component
 *
 * No new colors, button styles, or design tokens are introduced here.
 * All values reference CSS custom properties from tokens.css.
 */


/* ══════════════════════════════════════════════════════════════
   S1 — HERO
   Aqua, centered single-column. No form.
   Pattern: .meth-hero (meth-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.tit-hero {
  background: var(--brand-aqua);
  text-align: center;
}

.tit-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.tit-hero h1 {
  font-size: clamp(1.95rem, 3.8vw, 3rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.tit-hero .lead {
  max-width: 58ch;
  margin: 0 auto 28px;
  color: var(--text-primary);
}

.tit-hero .eyebrow { justify-content: center; }
.tit-hero .actions { justify-content: center; }

/* Aqua hero — buttons become white/ink */
.tit-hero .btn             { background: #fff; color: var(--ink); }
.tit-hero .btn:hover       { background: #EEF2F1; transform: translateY(-1px); }
.tit-hero .btn.ghost       { background: transparent; color: var(--ink); border-color: rgba(22, 32, 31, .44); }
.tit-hero .btn.ghost:hover { background: rgba(22, 32, 31, .07); transform: none; }


/* ══════════════════════════════════════════════════════════════
   S2 — TRAUMA & SUBSTANCE USE (RECOGNITION)
   Soft-blue, 3-column narrative grid.
   Pattern: .meth-recognition (meth-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.tit-recognition { background: var(--surface-soft-blue); }

.tit-recognition-intro {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.tit-recognition-intro .eyebrow { justify-content: center; }

.tit-recognition-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0;
}

.tit-recognition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.tit-recognition-col h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--brand-aqua-hover);
}

.tit-recognition-col p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}


/* ══════════════════════════════════════════════════════════════
   S3 — LGBTQ CONTEXT
   Brown background, centered prose.
   Pattern: .meth-chemsex / .section-brown (meth-cornerstone.css)
   Relies on .section-brown from components.css for background.
   ══════════════════════════════════════════════════════════════ */

.tit-context { text-align: center; }

.tit-context-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.tit-context h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.tit-context .eyebrow {
  color: rgba(255, 255, 255, .75);
  justify-content: center;
}

.tit-context .eyebrow::before { background: var(--accent-trans-pink); }

.tit-context .lead {
  color: rgba(255, 255, 255, .85);
  max-width: 62ch;
  margin: 0 auto 20px;
}

.tit-context p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
  margin-bottom: 20px;
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════
   S4 — WHAT TRAUMA-INFORMED CARE MEANS
   White, two-column text grid (sticky heading left, prose right).
   Pattern: .meth-context / .meth-context-grid (meth-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.tit-what-tic { background: #fff; }

.tit-what-tic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tit-what-tic-grid > .reveal:first-child {
  position: sticky;
  top: 100px;
}

.tit-what-tic-grid h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 0;
}

.tit-what-tic-content .lead {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.tit-what-tic-content p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}


/* ══════════════════════════════════════════════════════════════
   S5 — HOW TRAUMA CAN SHOW UP
   White, 3-card structured grid.
   Pattern: .meth-withdrawal / .meth-card (meth-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.tit-how-trauma { background: #fff; border-top: 1px solid var(--border-light); }

.tit-how-trauma-intro {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.tit-how-trauma-intro .eyebrow { justify-content: center; }

.tit-how-trauma-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.tit-how-trauma-intro .lead {
  max-width: 62ch;
  margin: 0 auto;
}

.tit-how-trauma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


/* ══════════════════════════════════════════════════════════════
   SHARED CARD STYLE
   Used in S5 and S6.
   Pattern: .meth-card (meth-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.tit-card {
  background: #fff;
  border: 1px solid rgba(14, 95, 122, .14);
  border-top: 3px solid var(--brand-aqua);
  border-radius: var(--r-sm);
  padding: clamp(24px, 3vw, 36px);
}

.tit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.25;
  color: var(--brand-aqua-hover);
}

.tit-card p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.tit-card p:last-child { margin-bottom: 0; }


/* ══════════════════════════════════════════════════════════════
   S6 — TREATMENT APPROACHES
   Soft-blue, 3-column 6-card grid.
   Pattern: .meth-treatment (meth-cornerstone.css)
   Cards reuse .tit-card.
   ══════════════════════════════════════════════════════════════ */

.tit-approaches { background: var(--surface-soft-blue); }

.tit-approaches-intro {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.tit-approaches-intro .eyebrow { justify-content: center; }

.tit-approaches-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.tit-approaches-intro .lead {
  max-width: 66ch;
  margin: 0 auto;
}

.tit-approaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


/* ══════════════════════════════════════════════════════════════
   S7 — TREATMENT AT INSPIRE RECOVERY
   White, two-column prose grid + inline CTA.
   Pattern: .meth-inspire / .meth-inspire-grid (meth-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.tit-programs { background: #fff; }

.tit-programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tit-programs-grid > .reveal:first-child {
  position: sticky;
  top: 100px;
}

.tit-programs-grid h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

.tit-programs-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}

.tit-programs-item:first-child { padding-top: 0; }

.tit-programs-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.tit-programs-item p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.tit-programs-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.tit-trust-badge {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-aqua-hover);
}

.tit-trust-sep {
  color: var(--border-light);
  font-weight: 400;
}

.tit-programs-cta {
  padding-top: 32px;
}

.tit-programs-cta p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.tit-programs-cta .actions { flex-wrap: wrap; }


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .tit-recognition-grid    { grid-template-columns: 1fr 1fr; }
  .tit-what-tic-grid       { grid-template-columns: 1fr; gap: 32px; }
  .tit-what-tic-grid > .reveal:first-child { position: static; }
  .tit-how-trauma-grid     { grid-template-columns: 1fr 1fr; }
  .tit-approaches-grid     { grid-template-columns: 1fr 1fr; }
  .tit-programs-grid       { grid-template-columns: 1fr; gap: 32px; }
  .tit-programs-grid > .reveal:first-child { position: static; }
}

@media (max-width: 580px) {
  .tit-recognition-grid    { grid-template-columns: 1fr; }
  .tit-how-trauma-grid     { grid-template-columns: 1fr; }
  .tit-approaches-grid     { grid-template-columns: 1fr; }
}
