/* Stories page - page-specific styles */

a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-900); }

/* Sticky nav + ticker on desktop */
@media (min-width: 861px) {
  ctb-nav { position: sticky; top: 0; z-index: 60; }
  ctb-nav + div[aria-hidden="true"] {
    position: sticky; top: var(--masthead-h, 63px); z-index: 59;
  }
}

/* Ticker band */
.st-ticker {
  background: var(--maple);
  color: oklch(0.98 0.005 27);
  overflow: hidden;
  white-space: nowrap;
}
.st-ticker-inner {
  display: inline-flex;
  gap: 56px;
  padding: 10px 0;
  font-family: var(--shout);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: tick 28s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .st-ticker-inner { animation: none !important; }
}

/* Hero section */
.st-hero { padding: 80px 0 56px; }
.st-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: start;
}
.st-fridge { order: 1; display: block; }
.st-stamp {
  /* all properties supplied by .bs-stamp */
}
.st-h1 {
  text-transform: uppercase;
  font-family: var(--shout);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 35px 0 0;
}
.st-h1 span { display: block; }
.st-intro {
  font-size: 17px;
  line-height: 28px;
  max-width: 46ch;
  margin: 35px 0 0;
}

/* Featured stories grid */
.st-rule {
  height: 5px;
  border: 0;
  border-top: 2px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  margin: 0 0 49px;
}
.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px clamp(28px, 4vw, 64px);
}
.st-kind {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maple-deep);
  font-weight: 600;
}
.st-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  line-height: 32px;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}
.st-who {
  font-size: 14px;
  line-height: 24px;
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}

/* Your turn section */
.st-yours-stamp {
  display: inline-block;
  font-family: var(--shout);
  background: var(--maple);
  color: oklch(0.98 0.005 27);
  padding: 9px 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  transform: rotate(-1.2deg);
}
.st-yours-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin: 42px 0 0;
  max-width: 24ch;
}
.st-yours-desc {
  font-size: 15.5px;
  line-height: 28px;
  margin: 21px 0 0;
  max-width: 52ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.st-form {
  display: grid;
  gap: var(--space-3);
  max-width: 560px;
  margin-top: 35px;
}
.st-form-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}
.st-name-label {
  font-size: 12px;
  color: var(--color-neutral-600);
  margin-top: -4px;
}
.st-form-note {
  font-size: 14px;
  font-style: italic;
  color: var(--maple-deep);
}

/* Responsive */
@media (max-width: 860px) {
  .st-hero-grid { display: block; }
  .st-fridge { margin-top: 42px; }
  .st-h1 { overflow-wrap: break-word; }
}
@media (max-width: 480px) {
  .st-form-actions .btn { width: 100%; justify-content: center; }
}
