/* ---------------------------------------------------------------
   Testimony hook (homepage) + dedicated testimony story page.
   Hook = compact dark-context featured card injected between hero
   and player. Story = long-form reading layout for /testimony/*.html.
   --------------------------------------------------------------- */

/* ---------- Featured testimony hook (homepage) ---------- */
#featured-testimony {
  background:
    radial-gradient(ellipse 70% 90% at 30% 30%,
      rgba(139, 58, 26, 0.32) 0%, transparent 70%),
    linear-gradient(160deg, #1a0e06 0%, #2b1a0e 50%, #0f0a04 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 146, 42, 0.15);
}
#featured-testimony::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 80%,
    rgba(201, 146, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.testimony-hook {
  max-width: var(--container-narrow);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  text-align: center;
}
.testimony-hook .section-label {
  color: var(--gold-light);
  margin-bottom: 0;
}
.testimony-hook h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin: 0;
}
.testimony-hook h2 em {
  font-style: italic;
  color: var(--gold-light);
}
.testimony-hook .testimony-attribution {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 250, 244, 0.55);
}
.testimony-pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.55;
  color: var(--cream);
  max-width: 38ch;
  margin: 0 auto;
  position: relative;
  padding: 0 1.4rem;
}
.testimony-pull::before,
.testimony-pull::after {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 2.6rem;
  line-height: 0;
  position: relative;
  top: 0.6rem;
  opacity: 0.7;
}
.testimony-pull::before { content: '\201C'; margin-right: 0.2rem; }
.testimony-pull::after  { content: '\201D'; margin-left: 0.2rem; }
.testimony-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ---------- Story page shell ---------- */
.story-page {
  background: var(--cream);
  color: var(--color-text);
  font-family: var(--font-body);
}
.story-page .story-nav {
  background: rgba(43, 26, 14, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 146, 42, 0.2);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}
.story-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.story-nav-logo {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0;
}
.story-nav-back {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 250, 244, 0.7);
  text-decoration: none;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 146, 42, 0.25);
  transition: color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}
.story-nav-back:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ---------- Story header (cinematic) ---------- */
.story-header {
  background:
    radial-gradient(ellipse 75% 85% at 50% 25%,
      rgba(201, 146, 42, 0.18) 0%, transparent 70%),
    linear-gradient(170deg, #1a0e06 0%, #2b1a0e 45%, #0f0a04 100%);
  color: var(--white);
  padding: clamp(4rem, 12vw, 7rem) 1.5rem clamp(3rem, 8vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.story-header::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--cream));
}
.story-eyebrow {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.story-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 auto;
  max-width: 14ch;
}
.story-title em {
  font-style: italic;
  color: var(--gold-light);
}
.story-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(253, 250, 244, 0.78);
  margin-top: 1.2rem;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.story-meta {
  margin-top: 2rem;
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 250, 244, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: center;
}
.story-meta a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 184, 75, 0.4);
  padding-bottom: 1px;
}
.story-meta a:hover {
  border-bottom-color: var(--gold-light);
}

/* ---------- Long-form body ---------- */
.story-body {
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem clamp(3rem, 8vw, 5rem);
}
.story-body > * {
  margin: 0 0 1.4rem;
}
.story-body p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--color-text-soft);
}
.story-body .story-lede {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--deep-brown);
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  margin-bottom: 2.5rem;
}
.story-body .story-lede::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  font-size: 3.5rem;
  float: left;
  line-height: 0.9;
  margin: 0.35rem 0.5rem 0 0;
  color: var(--rust);
}
.story-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--deep-brown);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.story-body h2 em {
  color: var(--rust);
  font-style: italic;
}
.story-body h2::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1rem;
}
.story-body blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--deep-brown);
  border-left: 4px solid var(--rust);
  background: rgba(201, 146, 42, 0.07);
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.story-body blockquote p {
  font: inherit;
  color: inherit;
  margin: 0;
}
.story-body blockquote p + p {
  margin-top: 0.8rem;
}
.story-body .story-aside {
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  padding: 1rem 0;
  margin: 2.5rem 0;
}

/* ---------- Story footer / CTA ---------- */
.story-footer {
  background: var(--parchment);
  border-top: 1px solid var(--color-border-soft);
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  text-align: center;
}
.story-footer-inner {
  max-width: 36rem;
  margin: 0 auto;
}
.story-footer h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--deep-brown);
  margin-bottom: 0.8rem;
}
.story-footer h3 em {
  font-style: italic;
  color: var(--rust);
}
.story-footer p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-soft);
  margin-bottom: 1.6rem;
}
.story-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.story-source {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  #featured-testimony {
    padding: 3.5rem 1rem;
  }
  .story-body {
    padding: 2.5rem 1.2rem 3rem;
  }
  .story-body p {
    font-size: 1.04rem;
    line-height: 1.8;
  }
  .story-body .story-lede {
    font-size: 1.2rem;
    padding-left: 1rem;
  }
  .story-body blockquote {
    font-size: 1.15rem;
    padding: 1.1rem 1.2rem;
  }
}
