/* ════════════════════════════════════════════════════════════════
   YNDJ Theme — Testimonials Page CSS
   Standalone /testimonials/ page styles (Part A of v1 mockup).
   Tokens live in tokens.css; typography + base live globally.
   All selectors are .tst-* prefixed to isolate page concerns.
═══════════════════════════════════════════════════════════════ */

/* Force white headings inside this page's dark navy sections.
   typography.css declares h1-h6 { color: var(--yndj-navy) } globally, which
   would otherwise win over container-level color: white via inheritance.
   .tst-story--navy .tst-headline keeps its own gold-light override (higher
   specificity), so story headings still render gold on the navy story. */
.tst-hero h1,
.tst-hero h2,
.tst-cta h1,
.tst-cta h2 {
  color: var(--yndj-white);
}

/* ─── HERO ────────────────────────────────────────────────────── */
.tst-hero {
  background: var(--yndj-navy);
  color: var(--yndj-white);
  padding: 90px 28px 110px;
  position: relative;
  overflow: hidden;
}
.tst-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 18% 30%, rgba(201,147,58,0.12), transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 75%, rgba(232,185,106,0.07), transparent 60%);
  pointer-events: none;
}
.tst-hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, var(--yndj-gold-light), var(--yndj-gold));
}
.tst-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.tst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--yndj-font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yndj-gold-light);
  font-weight: 600;
  margin-bottom: 28px;
}
.tst-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--yndj-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201,147,58,0.18);
}
.tst-hero h1 {
  font-family: var(--yndj-font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.tst-hero h1 em {
  color: var(--yndj-gold-light);
  font-style: italic;
  font-weight: 700;
}
.tst-hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 720px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 40px;
  line-height: 1.65;
}
.tst-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 880px;
  margin-top: 16px;
}
.tst-hero-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(232,185,106,0.18);
  border-radius: 12px;
  padding: 22px 20px;
  backdrop-filter: blur(4px);
}
.tst-hero-stat-num {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--yndj-gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.tst-hero-stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
@media (max-width: 720px) {
  .tst-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .tst-hero { padding: 64px 22px 80px; }
}

/* ─── THESIS / INTRO ─────────────────────────────────────────── */
.tst-thesis {
  background: var(--yndj-white);
  padding: 88px 28px;
  position: relative;
}
.tst-thesis-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.tst-section-label {
  font-family: var(--yndj-font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yndj-gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.tst-thesis h2 {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--yndj-navy);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.tst-thesis p {
  font-size: 1.1rem;
  color: var(--yndj-text);
  max-width: 760px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.tst-thesis-faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  text-align: left;
}
.tst-face {
  padding: 26px 24px;
  border-left: 3px solid var(--yndj-gold);
  background: var(--yndj-cream);
  border-radius: 0 10px 10px 0;
}
.tst-face-num {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-style: italic;
  color: var(--yndj-gold);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.tst-face-title {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--yndj-navy);
  margin-bottom: 8px;
}
.tst-face-body {
  font-size: 0.95rem;
  color: var(--yndj-muted);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .tst-thesis-faces { grid-template-columns: 1fr; }
  .tst-thesis { padding: 64px 22px; }
}

/* ─── STORY SECTIONS ─────────────────────────────────────────── */
.tst-story {
  padding: 100px 28px;
  position: relative;
}
.tst-story--cream { background: var(--yndj-cream); }
.tst-story--cream-dark { background: var(--yndj-cream-dark); }
.tst-story--navy {
  background: var(--yndj-navy);
  color: var(--yndj-white);
}

.tst-story-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .tst-story-inner { grid-template-columns: 1fr; gap: 36px; }
  .tst-story { padding: 72px 22px; }
}

/* Aside (avatar + segment label + meta) */
.tst-aside {
  position: sticky;
  top: calc(var(--yndj-nav-height) + 32px);
  text-align: center;
}
.tst-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yndj-navy-mid), var(--yndj-navy-light));
  color: var(--yndj-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  margin: 0 auto 24px;
  box-shadow: 0 12px 32px rgba(13,31,60,0.18);
  border: 3px solid var(--yndj-gold);
  overflow: hidden;
}
.tst-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.tst-story--navy .tst-avatar {
  background: linear-gradient(135deg, var(--yndj-gold), #b07d28);
  color: var(--yndj-navy);
  border-color: var(--yndj-gold-light);
}
.tst-segment {
  display: inline-block;
  font-family: var(--yndj-font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yndj-gold);
  font-weight: 700;
  padding: 6px 12px;
  background: var(--yndj-gold-pale);
  border-radius: 999px;
  margin-bottom: 16px;
}
.tst-story--navy .tst-segment {
  color: var(--yndj-gold-light);
  background: rgba(232,185,106,0.12);
}
.tst-name {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--yndj-navy);
  line-height: 1.2;
  margin: 0 0 6px;
}
.tst-story--navy .tst-name { color: var(--yndj-white); }
.tst-title {
  font-size: 0.92rem;
  color: var(--yndj-muted);
  margin: 0 0 4px;
}
.tst-story--navy .tst-title { color: rgba(255,255,255,0.7); }
.tst-org {
  font-size: 0.92rem;
  color: var(--yndj-navy);
  font-weight: 600;
  margin: 0;
}
.tst-story--navy .tst-org { color: var(--yndj-gold-light); }

/* Body — narrative + pullquote + results */
.tst-body { min-width: 0; }
.tst-headline {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  color: var(--yndj-navy);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.tst-story--navy .tst-headline { color: var(--yndj-gold-light); }

.tst-narrative {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--yndj-text);
  margin: 0 0 32px;
}
.tst-story--navy .tst-narrative { color: rgba(255,255,255,0.88); }
.tst-narrative p { margin: 0 0 16px; }
.tst-narrative p:last-child { margin-bottom: 0; }

.tst-pullquote {
  position: relative;
  margin: 36px 0 36px 0;
  padding: 36px 28px 32px 64px;
  background: var(--yndj-white);
  border-left: 4px solid var(--yndj-gold);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 12px 32px rgba(13,31,60,0.08);
}
.tst-story--navy .tst-pullquote {
  background: rgba(255,255,255,0.04);
  border-left-color: var(--yndj-gold-light);
  box-shadow: none;
}
.tst-pullquote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 18px;
  font-family: var(--yndj-font-display);
  font-weight: 900;
  font-size: 5rem;
  color: var(--yndj-gold);
  line-height: 1;
}
.tst-pullquote-text {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  color: var(--yndj-navy);
  margin: 0;
  letter-spacing: -0.005em;
}
.tst-story--navy .tst-pullquote-text { color: var(--yndj-white); }

.tst-results {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.tst-result {
  flex: 1;
  min-width: 180px;
  padding: 18px 22px;
  background: var(--yndj-white);
  border-top: 3px solid var(--yndj-gold);
  border-radius: 0 0 8px 8px;
}
.tst-story--navy .tst-result {
  background: rgba(232,185,106,0.08);
  border-top-color: var(--yndj-gold-light);
}
.tst-result-num {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--yndj-navy);
  line-height: 1.1;
  margin-bottom: 4px;
}
.tst-story--navy .tst-result-num { color: var(--yndj-gold-light); }
.tst-result-label {
  font-size: 0.82rem;
  color: var(--yndj-muted);
  line-height: 1.4;
}
.tst-story--navy .tst-result-label { color: rgba(255,255,255,0.7); }

/* Optional callout block (used in Craig's story) */
.tst-callout {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--yndj-gold-pale);
  border: 1px solid var(--yndj-border);
  border-radius: 12px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.tst-callout-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--yndj-gold);
  color: var(--yndj-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--yndj-font-display);
  font-weight: 900;
  font-size: 1.2rem;
}
.tst-callout-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--yndj-navy);
}
.tst-story--navy .tst-callout-body {
  color: var(--yndj-gold);
}
.tst-callout-label {
  font-family: var(--yndj-font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yndj-gold);
  margin-bottom: 6px;
}

/* ─── SYNTHESIS / "WHAT THEY SHARE" ──────────────────────────── */
.tst-synthesis {
  padding: 100px 28px;
  background: linear-gradient(180deg, var(--yndj-cream) 0%, var(--yndj-cream-dark) 100%);
}
.tst-synthesis-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.tst-synthesis-head {
  text-align: center;
  margin-bottom: 56px;
}
.tst-synthesis-head h2 {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--yndj-navy);
  margin: 0 0 16px;
}
.tst-synthesis-head p {
  font-size: 1.1rem;
  color: var(--yndj-muted);
  max-width: 680px;
  margin: 0 auto;
}
.tst-threads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tst-thread {
  background: var(--yndj-white);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 6px 20px rgba(13,31,60,0.06);
  position: relative;
  border-top: 4px solid var(--yndj-gold);
}
.tst-thread-num {
  position: absolute;
  top: -22px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: var(--yndj-navy);
  color: var(--yndj-gold-light);
  border: 3px solid var(--yndj-cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.tst-thread h3 {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--yndj-navy);
  margin: 12px 0 14px;
  line-height: 1.3;
}
.tst-thread p {
  font-size: 0.98rem;
  color: var(--yndj-text);
  line-height: 1.65;
  margin: 0 0 14px;
}
.tst-thread-cite {
  display: block;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--yndj-muted);
  border-top: 1px solid var(--yndj-border);
  padding-top: 14px;
  margin-top: 14px;
}
.tst-thread-cite strong {
  color: var(--yndj-navy);
  font-weight: 600;
}
@media (max-width: 900px) {
  .tst-threads { grid-template-columns: 1fr; gap: 36px; }
  .tst-synthesis { padding: 64px 22px; }
}

/* ─── CTA ────────────────────────────────────────────────────── */
.tst-cta {
  background: var(--yndj-navy);
  color: var(--yndj-white);
  padding: 100px 28px;
  position: relative;
  overflow: hidden;
}
.tst-cta::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(to right, var(--yndj-gold), var(--yndj-gold-light), var(--yndj-gold));
}
.tst-cta-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.tst-cta h2 {
  font-family: var(--yndj-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.tst-cta h2 em {
  color: var(--yndj-gold-light);
  font-style: italic;
  font-weight: 700;
}
.tst-cta p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.tst-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.tst-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yndj-gold);
  color: var(--yndj-navy);
  font-family: var(--yndj-font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 16px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.tst-btn-primary:hover {
  background: var(--yndj-gold-light);
  color: var(--yndj-navy);
  transform: translateY(-1px);
}
.tst-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--yndj-white);
  border: 1.5px solid rgba(255,255,255,0.3);
  font-family: var(--yndj-font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.tst-btn-ghost:hover {
  border-color: var(--yndj-gold-light);
  background: rgba(255,255,255,0.05);
  color: var(--yndj-white);
}
