/* ============================================================
   StoryBrand variant — layered on top of styles.css
   Same brand palette; different structural rhythm.
   ============================================================ */

/* --- Dual CTAs (direct + transitional) — SB7 rule --- */
.cta-pair {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-transitional {
  background: transparent;
  border: none;
  color: var(--ink);
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid var(--ink);
  transition: opacity 150ms ease;
}
.cta-transitional:hover { opacity: 0.6; }
.cta-transitional::after { content: " ↓"; margin-left: 4px; opacity: 0.6; }

/* Full-bleed hero: make transitional CTA readable on the photo */
.hero.hero-fullbleed .cta-transitional {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 14px 22px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.hero.hero-fullbleed .cta-transitional:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transform: translateY(-1px);
}
.hero.hero-fullbleed .cta-transitional::after {
  opacity: 0.9;
}

/* Also strengthen text-shadow on hero copy for photo readability */
.hero.hero-fullbleed .hero-title,
.hero.hero-fullbleed .hero-sub {
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* Hero override — grunt test H1 must be BIG and one-line-scannable */
.sb-hero .hero-title {
  font-size: clamp(52px, 8vw, 116px);
  font-weight: 340;
  letter-spacing: -0.03em;
}
.sb-hero .hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  max-width: 46ch;
}

/* --- Problem section: empathy + external/internal/philosophical --- */
.problem {
  background: var(--bg-cream);
}
.problem-quote {
  font-family: var(--serif);
  font-weight: 380;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: 64px;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  position: relative;
  padding-left: 32px;
}
.problem-quote::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em; bottom: 0.4em;
  width: 3px;
  background: var(--brand-red);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
}
.problem-item-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 16px;
  font-weight: 500;
}
.problem-item-title {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
  text-wrap: balance;
}
.problem-item-desc {
  font-size: clamp(16px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* --- Guide section: empathy first, then authority --- */
.guide {
  background: var(--bg);
}
.guide-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr; }
}
.guide-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-deep);
}
.guide-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.guide-media-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 25, 45, 0.85) 100%);
  color: #fff;
}
.guide-media-name strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 420;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.guide-media-name span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.guide-empathy {
  font-family: var(--serif);
  font-weight: 380;
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 24px;
  padding-left: 24px;
  border-left: 2px solid var(--brand-red);
  text-wrap: pretty;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

/* Tagline break — full-width editorial moment */
.tagline-break {
  background: var(--bg-cream);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tagline-break::before,
.tagline-break::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--brand-red);
}
.tagline-break::before { top: 60px; }
.tagline-break::after { bottom: 60px; }
.tagline-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.tagline-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 40px;
  font-weight: 500;
}
.tagline-quote {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(36px, 5.8vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 48px;
  text-wrap: balance;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.tagline-quote em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-red);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.tagline-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-quiet);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.tagline-signature-mark {
  color: var(--brand-red);
  font-style: normal;
}
@media (max-width: 720px) {
  .tagline-break { padding: 72px var(--gutter); }
  .tagline-break::before { top: 32px; }
  .tagline-break::after { bottom: 32px; }
  .tagline-quote { font-size: clamp(30px, 8vw, 44px); }
  .tagline-signature { flex-direction: column; gap: 4px; text-align: center; }
}

.guide-body p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
  text-wrap: pretty;
}

/* Authority row — small credentials strip */
.guide-authority {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.authority-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.authority-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: var(--brand-red);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.authority-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .guide-authority { grid-template-columns: 1fr 1fr; }
}

/* --- Plan section: numbered, named --- */
.plan {
  background: var(--ink);
  color: var(--bg);
}
.plan .section-title { color: var(--bg); }
.plan .section-title em { color: var(--brand-red-soft); }
.plan .section-eyebrow { color: var(--brand-red-soft); }
.plan .section-eyebrow::before { background: var(--brand-red-soft); }
.plan .section-lead { color: rgba(255,255,255,0.75); }

.plan-name {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-red-soft);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  margin-bottom: 24px;
}

.plan-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 900px) {
  .plan-steps { grid-template-columns: 1fr; }
}
.plan-step {
  padding: 48px 32px 40px 0;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.plan-step:last-child { border-right: none; padding-right: 0; }
@media (max-width: 900px) {
  .plan-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.14); padding: 40px 0; }
  .plan-step:last-child { border-bottom: none; }
}

.plan-step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 88px;
  line-height: 1;
  color: var(--brand-red);
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.plan-step-title {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 28px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.plan-step-desc {
  font-size: clamp(16px, 1.15vw, 17px);
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  text-wrap: pretty;
}
.plan-cta {
  margin-top: 64px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.plan-cta .cta-transitional { color: #fff; border-bottom-color: rgba(255,255,255,0.5); }

/* --- Stakes: side-by-side without/with --- */
.stakes { background: var(--bg-cream); }
.stakes-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) {
  .stakes-compare { grid-template-columns: 1fr; }
}
.stakes-col {
  padding: 40px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.stakes-col-neg {
  background: transparent;
  border-color: var(--line);
}
.stakes-col-neg .stakes-col-h {
  color: var(--ink-soft);
}
.stakes-col-neg .stakes-col-icon {
  color: var(--ink-quiet);
  border-color: var(--line-strong);
}
.stakes-col-pos {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  position: relative;
  overflow: hidden;
}
.stakes-col-pos::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-red);
}
.stakes-col-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--brand-red);
  margin-bottom: 24px;
}
.stakes-col-pos .stakes-col-icon {
  border-color: rgba(255,255,255,0.3);
  color: var(--brand-red-soft);
}
.stakes-col-h {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.stakes-col-pos .stakes-col-h { color: #fff; }

.stakes-list {
  list-style: none;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.stakes-list li {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
}
.stakes-col-pos .stakes-list li { color: rgba(255,255,255,0.88); }
.stakes-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 12px; height: 1px;
  background: var(--line-strong);
}
.stakes-col-pos .stakes-list li::before { background: var(--brand-red); }

/* --- Success: prose picture of the outcome --- */
.success {
  background: var(--bg);
}
.success-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.success .section-title { max-width: 100%; margin-left: auto; margin-right: auto; }
.success-lead {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 32px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
  font-variation-settings: "opsz" 144;
}
.success-lead em {
  font-style: italic;
  color: var(--brand-red);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* --- Close: final CTA block --- */
.close-cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.close-cta::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 3px;
  background: var(--brand-red);
}
.close-cta h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0 auto 32px;
  text-wrap: balance;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.close-cta h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-red-soft);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.close-cta p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 48ch;
  margin: 0 auto 40px;
}
.close-cta .cta-pair { justify-content: center; }
.close-cta .cta-transitional { color: #fff; border-bottom-color: rgba(255,255,255,0.5); }
.close-phone {
  margin-top: 32px !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px !important;
  color: rgba(255,255,255,0.6) !important;
}
.close-phone a {
  color: var(--brand-red-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-left: 4px;
  transition: color 150ms ease, border-color 150ms ease;
}
.close-phone a:hover { color: #fff; border-bottom-color: #fff; }

.close-tagline {
  margin-top: 56px !important;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 20px) !important;
  color: rgba(255,255,255,0.65) !important;
  max-width: 40ch;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.4;
  text-wrap: balance;
  font-variation-settings: "opsz" 144;
}
.close-tagline em {
  font-style: italic;
  color: var(--brand-red-soft);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* Sticky action bar under nav — SB7 rule: same CTA everywhere */
.sb-nav .nav-cta { padding: 11px 20px; font-size: 14px; }

/* Nav phone — trust signal, sits next to the primary CTA */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink) !important;
  text-decoration: none;
  padding: 8px 0;
  letter-spacing: 0.01em;
  transition: color 150ms ease;
}
.nav-phone:hover { color: var(--brand-red) !important; }
.nav-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  transform: rotate(90deg);
}
@media (max-width: 900px) {
  .nav-phone { display: none; }
}
