/* Vector Political — Press page styles.
   An editorial article layout on the same cream "paper" as the landing page.
   This file only adds the page layout: it inherits the :root color/type tokens,
   the body grain + vignette overlays, the .reveal load animation, and the
   .foot__* link/dot styling from styles/main.css (loaded first). Keep visual
   values in sync with design-spec.md / main.css. */

/* Page is a normal scrolling document (not the hero's fixed 100vh layer stack).
   Flex column so a short page still pins the footer to the bottom. */
.press-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.press {
  flex: 1 0 auto;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5.5rem) var(--gutter) clamp(2rem, 5vh, 3.5rem);
}

/* small Playfair wordmark, links home (green draw-in underline, CTA language) */
.press__home {
  display: inline-block;
  position: relative;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.005em;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
  padding-bottom: 2px;
}
.press__home::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.press__home:hover { color: var(--green); }
.press__home:hover::after { transform: scaleX(1); }
.press__home:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 2px; }

/* ---------- Masthead ---------- */
.press__head { max-width: 40rem; }

.press__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 0.9rem;
}

.press__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}

.press__lede {
  font-family: var(--serif);
  font-style: italic;          /* Didone italic — the warm, humanist note */
  font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  line-height: 1.3;
  color: var(--slate);
  margin: 1.5rem 0 0;
  max-width: 34rem;
}

/* double-hairline masthead rule (quarterly language, mirrors the modal rule) */
.press__rule {
  position: relative;
  height: 5px;
  margin: clamp(2.2rem, 5vh, 3.4rem) 0 clamp(1.6rem, 4vh, 2.6rem);
}
.press__rule::before,
.press__rule::after {
  content: "";
  position: absolute;
  left: 0; width: 100%;
  background: var(--rule);
}
.press__rule::before { top: 0; height: 2px; }
.press__rule::after  { top: 4px; height: 1px; }

/* ---------- Sections ---------- */
.press__section {
  margin-top: clamp(2.4rem, 5vh, 3.6rem);
  max-width: 40rem;
}
.press__section:first-of-type { margin-top: 0; }

.press__kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 0.8rem;
}

.press__h {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.press__body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0.6rem 0 0;
  max-width: 32rem;
}
.press__body--muted { color: var(--slate); }

/* the page's real payload: the press email. Reads as this page's "CTA" — the
   brand green, an editorial underline resting on (not just on hover). */
.press__email {
  position: relative;
  display: inline-block;
  margin-top: 1.3rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: 0.005em;
  color: var(--green);
  text-decoration: none;
  padding-bottom: 4px;
}
.press__email::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--green);
  transition: background-color .3s ease;
}
.press__email:hover { color: var(--green-dark); }
.press__email:hover::after { background: var(--green-dark); }
.press__email:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 2px; }

/* ---------- Footer (flows at the end of the document) ---------- */
.press__foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.6rem, 4vh, 2.4rem) var(--gutter);
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.press__foot .foot__copy { margin: 0; }
/* current page marker — same size as the links but not interactive */
.foot__current { color: var(--ink-soft); opacity: 0.85; }

/* ============================================================
   Launch release + partner bios (added on launch day, 2026-07-14)
   Editorial article body layered on the same cream paper. Reuses the
   :root tokens + section rhythm above; adds the release lead, article
   paragraphs, pull quotes, the partner-bio list, and editor notes.
   ============================================================ */

/* "For Immediate Release" reads as live — brand green eyebrow */
.press__kicker--release { color: var(--green); }

/* release headline — the news; sits a step under the page masthead ("Press") */
.press__release-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0.15rem 0 0;
  max-width: 34rem;
}
.press__release-sub {
  font-family: var(--serif);
  font-style: italic;              /* the dek — warm humanist note */
  font-weight: 500;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.32;
  color: var(--slate);
  margin: 1.1rem 0 0;
  max-width: 35rem;
}

/* ---------- Article paragraphs ---------- */
.press__p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 1.15rem 0 0;
  max-width: 37rem;
}
.press__p:first-child { margin-top: 0; }
/* dateline lead-in ("Harrisburg, Pennsylvania —") */
.press__dateline { font-weight: 700; color: var(--ink); }

/* inline text link (NPR, the domain) — resting hairline, greens on hover */
.press__link {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 75, 51, 0.35);
  transition: color .3s ease, border-color .3s ease;
}
.press__link:hover { color: var(--green-dark); border-bottom-color: var(--green-dark); }
.press__link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ---------- Pull quotes ---------- */
.press__quote {
  margin: 1.7rem 0 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--green);
  max-width: 37rem;
}
.press__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.42;
  color: var(--ink);
  margin: 0;
}
.press__quote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

/* end-of-release mark (traditional press-release "###") */
.press__endmark {
  margin: 2.2rem 0 0;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--slate);
  opacity: 0.55;
}

/* ---------- Partner bios ---------- */
.press__bios { margin-top: 1.4rem; }
.press__bio {
  padding-top: 1.9rem;
  margin-top: 1.9rem;
  border-top: 1px solid var(--rule);
  max-width: 40rem;
}
.press__bio:first-child { border-top: none; padding-top: 0; margin-top: 0.4rem; }
.press__bio-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.press__bio-role {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0.4rem 0 0;
}
.press__bio .press__p { margin-top: 0.9rem; }

/* ---------- Media contact block ---------- */
.press__contact {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0.2rem 0 0;
}
.press__contact strong { color: var(--ink); font-weight: 600; }

/* ---------- Notes to editors ---------- */
.press__notes {
  margin: 0.3rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 37rem;
}
.press__notes li {
  position: relative;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate);
  margin-top: 0.9rem;
  padding-left: 1.1rem;
}
.press__notes li:first-child { margin-top: 0; }
.press__notes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62rem;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
}

@media (max-width: 560px) {
  .press__email { font-size: 1.3rem; word-break: break-word; }
  .press__quote { padding-left: 1rem; }
}
