/**
 * meth-cornerstone.css — Inspire Recovery Design System
 * /crystal-meth-addiction-rehab/ (Post ID 2163)
 *
 * Foundation: main.css (tokens · base · layout · typography · components · forms)
 * Visual references — every pattern drawn from the approved Admissions ecosystem:
 *   S1 Hero          → admissions-insurance.css  (.insurance-hero)
 *   S2 Recognition   → admissions-what-to-expect.css (.expect-arrival / .expect-narrative-grid)
 *   S3 LGBTQ Context → admissions-insurance.css  (.ins-payers-grid)
 *   S4 Withdrawal    → admissions-insurance.css  (.ins-how / .ins-plan-card)
 *   S5 Chemsex       → admissions-what-to-expect.css (.expect-identity / .section-brown)
 *   S6 Treatment     → admissions-insurance.css  (.ins-coverage / .ins-plan-card)
 *   S7 Why Inspire   → admissions-insurance.css  (.ins-payers-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.
   Pattern: .insurance-hero (admissions-insurance.css)
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

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


/* ══════════════════════════════════════════════════════════════
   S2 — RECOGNITION
   Soft-blue, 3-column narrative grid.
   Pattern: .expect-arrival / .expect-narrative-grid (admissions-what-to-expect.css)
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

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

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


/* ══════════════════════════════════════════════════════════════
   S3 — LGBTQ CONTEXT
   White, two-column text grid (sticky heading left, prose right).
   Pattern: .ins-payers-grid (admissions-insurance.css)
   ══════════════════════════════════════════════════════════════ */

.meth-context { background: #fff; }

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

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

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

.meth-context-content .lead {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

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


/* ══════════════════════════════════════════════════════════════
   S4 — WITHDRAWAL & MENTAL HEALTH
   White, 3-card grid.
   Pattern: .ins-how / .ins-plan-card (admissions-insurance.css)
   ══════════════════════════════════════════════════════════════ */

.meth-withdrawal { background: #fff; border-top: 1px solid var(--border-light); }

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

.meth-withdrawal-intro .eyebrow { justify-content: center; }

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

.meth-withdrawal-intro .lead {
  max-width: 62ch;
  margin: 0 auto;
}

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

/* Shared card style — used in S4 and S6 */
.meth-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);
}

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

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

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

.meth-withdrawal-note {
  margin-top: var(--space-lg);
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════
   S5 — CHEMSEX BRIDGE
   Brown centered prose.
   Pattern: .expect-identity / .section-brown (admissions-what-to-expect.css)
   Relies on .section-brown from components.css for background.
   ══════════════════════════════════════════════════════════════ */

.meth-chemsex { text-align: center; }

.meth-chemsex-inner {
  max-width: 720px;
  margin: 0 auto;
}

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

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

.meth-chemsex .eyebrow::before { background: var(--accent-trans-pink); }

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

.meth-chemsex p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
  margin-bottom: 24px;
}


/* ══════════════════════════════════════════════════════════════
   S6 — TREATMENT (PHP / IOP / OP)
   Soft-blue, 3-card grid.
   Pattern: .ins-coverage / .ins-coverage-grid (admissions-insurance.css)
   Reuses .meth-card defined in S4.
   ══════════════════════════════════════════════════════════════ */

.meth-treatment { background: var(--surface-soft-blue); }

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

.meth-treatment-intro .eyebrow { justify-content: center; }

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

.meth-treatment-intro .lead {
  max-width: 66ch;
  margin: 0 auto;
}

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

.meth-treatment-note {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: .95rem;
  color: var(--text-secondary);
}

.meth-treatment-note a {
  color: var(--brand-aqua-hover);
  font-weight: 600;
}


/* ══════════════════════════════════════════════════════════════
   S7 — WHY INSPIRE RECOVERY
   White, two-column grid + credentials row + CTA.
   Pattern: .ins-payers-grid (admissions-insurance.css)
   ══════════════════════════════════════════════════════════════ */

.meth-inspire { background: #fff; }

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

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

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

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

.meth-inspire-item:first-child { padding-top: 0; }

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

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

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

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

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

.meth-inspire-cta {
  padding-top: 32px;
}

.meth-inspire-cta .actions { flex-wrap: wrap; }


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

@media (max-width: 900px) {
  .meth-recognition-grid    { grid-template-columns: 1fr 1fr; }
  .meth-context-grid        { grid-template-columns: 1fr; gap: 32px; }
  .meth-context-grid > .reveal:first-child { position: static; }
  .meth-withdrawal-grid     { grid-template-columns: 1fr 1fr; }
  .meth-treatment-grid      { grid-template-columns: 1fr 1fr; }
  .meth-inspire-grid        { grid-template-columns: 1fr; gap: 32px; }
  .meth-inspire-grid > .reveal:first-child { position: static; }
}

@media (max-width: 580px) {
  .meth-recognition-grid    { grid-template-columns: 1fr; }
  .meth-withdrawal-grid     { grid-template-columns: 1fr; }
  .meth-treatment-grid      { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   VISUAL PILOT V3 2026-08-28
   S1: Hero — content left + Form 6 card right (no photo in hero)
   S2: Editorial photography moment — image 76698 + column content
   Meth-specific CSS only. No global files touched.
   ══════════════════════════════════════════════════════════════ */

/* ── S1 HERO — CONTENT + FORM GRID ──────────────────────────── */

.meth-hero-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.meth-hero-content {
  text-align: left;
}

.meth-hero-content h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.meth-hero-content .lead {
  max-width: 54ch;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.meth-hero-content .eyebrow { justify-content: flex-start; }
.meth-hero-content .actions { justify-content: flex-start; }

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

/* Form 6 card — outer white card container (mirrors .fat-hero-form-card pattern) */
.meth-hero-form-card {
  background: #fff;
  border-radius: var(--r-sm);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, .11);
}

.meth-form-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-aqua-hover);
  margin-bottom: 8px;
  text-align: center;
}

.meth-form-lead {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
}

/* Form 6 inner scope — left-align overrides .meth-hero text-align:center */
.meth-hero-form {
  text-align: left;
}

/* Form 6 — hide tracking/CRM fields, restore visible field display */
.meth-hero-form .ff-el-group.hiddenfield,
.meth-hero-form .hiddenfield {
  display: none !important;
  visibility: hidden !important;
}

.meth-hero-form .ff-el-group:not(.hiddenfield) {
  display: block !important;
}

/* Submit button — matches .btn system */
.meth-hero-form .ff-btn-submit {
  background: var(--brand-aqua) !important;
  color: var(--text-primary) !important;
  border: 2px solid transparent !important;
  border-radius: 999px !important;
  padding: 11px 24px !important;
  font-family: inherit !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 4px !important;
  transition: background .2s, transform .2s !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
}

.meth-hero-form .ff-btn-submit:hover {
  background: #5BBFD6 !important;
  transform: translateY(-1px) !important;
}

.meth-hero-form .ff-btn-submit:focus-visible {
  outline: 3px solid var(--brand-aqua-hover) !important;
  outline-offset: 3px !important;
}

.meth-hero-form .ff-el-group { margin-bottom: 10px; }
.meth-hero-form .ff-el-group:last-of-type { margin-bottom: 0; }


/* ── S2 RECOGNITION — EDITORIAL PHOTOGRAPHY ─────────────────── */

/* Editorial opening: image 45% left / heading 55% right */
.meth-recognition-editorial {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.meth-recognition-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  min-height: 360px;
}

.meth-recognition-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Override existing centered intro — now inside editorial split */
.meth-recognition-intro {
  max-width: none;
  text-align: left;
  margin: 0;
}

.meth-recognition-intro .eyebrow { justify-content: flex-start; }

/* Editorial columns with dividers — no card boxes */
.meth-recognition-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-light);
}

.meth-recognition-col {
  padding: clamp(28px, 3.5vw, 40px) clamp(20px, 2.5vw, 32px);
  border-right: 1px solid var(--border-light);
}

.meth-recognition-col:last-child { border-right: none; }

.meth-recognition-col h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--brand-aqua-hover);
}

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


/* ── V3 RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .meth-hero-grid             { grid-template-columns: 1fr; gap: 32px; }
  .meth-hero-form-card        { max-width: 520px; }
  .meth-recognition-editorial { grid-template-columns: 1fr; gap: 28px; }
  .meth-recognition-img-wrap  { min-height: 260px; }
  .meth-recognition-cols      { grid-template-columns: 1fr 1fr; border-top: none; }
  .meth-recognition-col       { border-right: none; border-top: 1px solid var(--border-light); padding: 24px 0; }
}

@media (max-width: 580px) {
  .meth-recognition-cols      { grid-template-columns: 1fr; }
}
