/* ============================================================
   index.css — Page-specific styles for the Storyteller in the Lab
   ============================================================ */

/* ── Color Tokens for this page ── */
:root {
  --lab-dark: #0e1117;
  --lab-navy: #111827;
  --lab-teal: #14b8a6;
  --lab-teal-lt: #5eead4;
  --lab-amber: #b38f5d;
  /* inherited warm accent */
  --lab-cream: #f7f4ea;
  --lab-muted: #9ca3af;
  --section-gap: 5rem;
}

/* ── Hero ── */
.hero--lab {
  position: relative;
  background: url('images/hero-image.jpg') center 30% / cover no-repeat;
  background-color: var(--lab-dark);
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  margin: 0;
  max-width: 100%;
  border-radius: 0;
  height: auto;
}



.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 4rem 2rem 5rem;
}

.hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lab-teal);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--lab-cream);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--lab-muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ── Shared section styles ── */
.section-block {
  padding: var(--section-gap) 2rem;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lab-teal);
  border: 1px solid var(--lab-teal);
  border-radius: 100px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 1.5rem;
}

.section-label--light {
  color: var(--lab-teal-lt);
  border-color: var(--lab-teal-lt);
}

.section-heading {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--lab-cream);
  margin-bottom: 2.5rem;
  line-height: 1.25;
}

/* ── Problem Section ── */
.section-block--problem {
  background-color: var(--lab-navy);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.problem-text h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  color: var(--lab-cream);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.problem-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #c9d1d9;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.problem-text em {
  color: var(--lab-teal-lt);
  font-style: italic;
}

/* Scissors card */
.scissors-card {
  background: rgba(20, 184, 166, 0.07);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: border-color 0.3s ease;
}

.scissors-card:hover {
  border-color: rgba(20, 184, 166, 0.55);
}

.scissors-icon {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  display: block;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.scissors-label {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  color: var(--lab-cream);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.scissors-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--lab-muted);
  line-height: 1.55;
}

/* ── Person Section ── */
.section-block--person {
  background-color: var(--lab-dark);
}

.person-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 700px) {
  .person-grid {
    grid-template-columns: 1fr;
  }
}

.photo-frame {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--lab-navy);
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.person-bio h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--lab-cream);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.person-bio h2 em {
  color: var(--lab-teal-lt);
  font-style: italic;
}

.person-bio p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #c9d1d9;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.person-bio p strong {
  color: var(--lab-cream);
  font-weight: 600;
}

/* Dual badges */
.dual-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 90px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.badge:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.6);
}

.badge--result {
  background: rgba(179, 143, 93, 0.12);
  border-color: rgba(179, 143, 93, 0.4);
}

.badge--result:hover {
  background: rgba(179, 143, 93, 0.22);
  border-color: rgba(179, 143, 93, 0.7);
}

.badge__icon {
  font-size: 1.5rem;
}

.badge__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lab-cream);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge__divider {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  color: var(--lab-muted);
}

/* ── Focus Section ── */
.section-block--focus {
  background-color: var(--lab-navy);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
}

.focus-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  cursor: default;
}

.focus-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.05);
  transform: translateY(-4px);
}

.focus-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.focus-card h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  color: var(--lab-cream);
  margin-bottom: 0.75rem;
  text-align: center;
}

.focus-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--lab-muted);
  line-height: 1.7;
}

.focus-cta {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

/* ── Footer tagline font ── */
.footer-content .tagline {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

/* ── Open SARA Section ── */
.section-block--sara {
  background-color: var(--lab-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sara-text {
  max-width: 640px;
}

.sara-text h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--lab-cream);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.sara-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #c9d1d9;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.sara-text p em {
  color: var(--lab-teal-lt);
  font-style: italic;
}

.sara-text p strong {
  color: var(--lab-cream);
  font-weight: 600;
}

/* S / A / R list */
.sara-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sara-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  background: rgba(20, 184, 166, 0.05);
  border-left: 3px solid var(--lab-teal);
  border-radius: 0 8px 8px 0;
}

.sara-var {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lab-teal-lt);
  letter-spacing: 0.05em;
}

.sara-def {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #c9d1d9;
}

/* CTA link */
.sara-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lab-teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 184, 166, 0.4);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sara-link:hover {
  color: var(--lab-teal-lt);
  border-color: var(--lab-teal-lt);
  text-decoration: none;
}

/* Score visual card */
.sara-card {
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: sticky;
  top: 5rem;
}

.sara-card__header {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lab-muted);
  margin-bottom: 1.5rem;
}

.sara-score-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sara-score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.sara-score-letter {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--lab-teal);
  line-height: 1;
}

.sara-score-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lab-muted);
}

.sara-score-operator {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  color: var(--lab-muted);
  padding-bottom: 1rem;
}

.sara-card__footer {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--lab-teal-lt);
  font-weight: 500;
  border-top: 1px solid rgba(20, 184, 166, 0.15);
  padding-top: 1rem;
}

/* ── Noisy Nodes Newsletter Section ── */
.section-block--newsletter {
  background-color: var(--lab-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 750px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.newsletter-text h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--lab-cream);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.newsletter-tagline {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--lab-teal-lt);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.newsletter-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #c9d1d9;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* Subscribe button */
.nn-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  background: var(--lab-teal);
  color: #0e1117;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nn-subscribe-btn:hover {
  background: var(--lab-teal-lt);
  transform: translateY(-2px);
  text-decoration: none;
  color: #0e1117;
}

.nn-subscribe-btn:visited {
  color: #0e1117;
}

/* Recent issues list */
.newsletter-posts {
  padding-top: 0.25rem;
}

.nn-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lab-muted);
  margin-bottom: 1rem;
}

.nn-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nn-post-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nn-post-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nn-post-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0.5rem;
  text-decoration: none;
  transition: background 0.15s ease;
  border-radius: 8px;
}

.nn-post-link:hover {
  background: rgba(20, 184, 166, 0.06);
  text-decoration: none;
}

.nn-post-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--lab-cream);
  line-height: 1.4;
  transition: color 0.15s ease;
}

.nn-post-link:hover .nn-post-title {
  color: var(--lab-teal-lt);
}

.nn-post-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--lab-muted);
  line-height: 1.4;
  font-style: italic;
}

/* ── RSS feed loading state ── */
@keyframes nn-pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.2;
  }
}

.nn-post-loading {
  animation: nn-pulse 1.5s ease-in-out infinite;
  pointer-events: none;
  padding: 1rem 0.5rem;
}

.nn-post-loading .nn-post-title {
  color: var(--lab-muted);
}