/* Leaf's mission edition: serif headlines, measured columns and printed rules.
   Scoped to this page so the product and founder pages keep their own voice. */
.mission-page {
  --news-paper: #f8f7f3;
  --news-ink: #20201e;
  --news-muted: #62615b;
  --news-rule: #c9c7be;
  --reading: Georgia, "Times New Roman", serif;
  background: var(--news-paper);
  color: var(--news-ink);
}
.mission-page ::selection {
  background: #dce2fa;
}
.mission-page .site {
  background: rgb(248 247 243 / 0.94);
  border-bottom: 1px solid var(--news-rule);
}
.mission-page .feature {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
  font-family: var(--reading);
}
.feature h1,
.feature h2,
.feature h3 {
  font-family: var(--reading);
  color: var(--news-ink);
}
.feature p {
  text-wrap: pretty;
}
.newspaper-masthead {
  margin-bottom: 2rem;
  text-align: center;
}
.edition-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.newspaper-name {
  margin: 0.65rem 0 1.1rem;
  font-size: clamp(38px, 7.2vw, 88px);
  font-weight: 700;
  letter-spacing: -0.025em;
  word-spacing: 0.04em;
  line-height: 1.1;
}
.edition-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding: 0.75rem 0;
  border-top: 3px double var(--news-ink);
  border-bottom: 1px solid var(--news-ink);
  font-family: var(--sans);
  font-size: 10px;
}
.edition-nav a {
  text-decoration: none;
}
.edition-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.front-story {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--news-ink);
}
.front-headline {
  padding: 0.6rem 0;
}
.feature .kicker {
  margin: 0 0 1.15rem;
  font: 600 10px / 1.4 var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--iris);
}
.feature-title {
  margin: 0;
  font-size: clamp(40px, 5.3vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.035;
  text-wrap: balance;
}
.feature-deck {
  margin: 1.5rem 0;
  max-width: 44ch;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
  color: #55544f;
}
.byline {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--news-rule);
  font: 11px / 1.5 var(--sans);
}
.byline span {
  font-weight: 600;
}
.byline time {
  color: var(--news-muted);
  font-size: 10px;
}
.front-art {
  margin: 0;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid var(--news-rule);
}
.front-art img {
  display: block;
  width: 100%;
  height: auto;
}
.front-art figcaption {
  margin: 0.65rem 0 0;
  font: 10px / 1.5 var(--sans);
  color: var(--news-muted);
}
.lede-par {
  max-width: 850px;
  margin: 2rem auto 3rem;
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.55;
}
.lede-par::first-letter {
  float: left;
  font-size: 3.5em;
  line-height: 0.86;
  padding: 0.07em 0.1em 0 0;
  font-weight: 700;
}
.news-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2.25rem;
  margin-top: 3rem;
  padding-top: 1.1rem;
  border-top: 3px double var(--news-ink);
}
.section-open {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin: 0 0 1.8rem;
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  scroll-margin-top: 95px;
  text-wrap: balance;
}
.section-num {
  flex: none;
  color: var(--iris);
  font: 400 11px / 1.2 var(--mono);
  letter-spacing: 0;
}
.news-section > p {
  margin: 0 0 1.5rem;
  font-size: 17px;
  line-height: 1.65;
}
.news-section > .stat-break {
  grid-column: 1;
  grid-row: 2 / span 3;
  padding-right: 1.5rem;
  border-right: 1px solid var(--news-rule);
}
.stat-figure {
  margin: 0 0 1rem;
  font-size: clamp(49px, 6.5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1;
}
.stat-figure span {
  font-size: 0.6em;
}
.stat-say {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #55544f;
}
.news-section > p,
.news-section > .quote-break {
  grid-column: 2 / -1;
  max-width: 66ch;
}
.quote-break {
  margin: 0 0 1.5rem;
  padding: 1.3rem 0;
  border-block: 1px solid var(--news-rule);
  font-size: clamp(23px, 2.6vw, 31px);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.source-mark {
  color: var(--iris);
  font: 10px var(--sans);
  vertical-align: super;
  text-decoration: none;
}
.source-mark:hover {
  text-decoration: underline;
}

.answer {
  margin: 3rem 0 0;
  padding: 2rem 0;
  border-block: 3px double var(--news-ink);
  scroll-margin-top: 95px;
}
.answer h2 {
  margin: 0 0 1rem;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.answer-deck {
  max-width: 60ch;
  margin: 0 0 2rem;
  font-size: 20px;
  line-height: 1.5;
  color: #55544f;
}
.answer-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  counter-reset: answer;
}
.answer-points li {
  counter-increment: answer;
  border-top: 1px solid var(--news-rule);
  padding-top: 1rem;
}
.answer-points li::before {
  content: counter(answer, decimal-leading-zero);
  color: var(--iris);
  font: 10px var(--mono);
}
.answer-points h3 {
  margin: 0.8rem 0 0.7rem;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.answer-points p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.answer-note {
  max-width: 90ch;
  margin: 1.5rem 0;
  font: 12px / 1.65 var(--sans);
  color: var(--news-muted);
}

.feature .close {
  padding: 3rem 0;
  text-align: center;
}
.feature .close h2 {
  max-width: none;
  margin: 0 0 1rem;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.feature .close p {
  max-width: 53ch;
  margin: 0 auto 1.5rem;
  font-size: 18px;
  line-height: 1.6;
}
.close-cta {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem 1.5rem;
  background: var(--iris);
  color: white;
  font: 500 13px var(--sans);
  text-decoration: none;
}
.close-cta:hover {
  background: var(--night);
}
.sources {
  border-top: 1px solid var(--news-ink);
  padding-top: 1rem;
}
.sources h2 {
  margin: 0 0 1rem;
  font: 600 10px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sources ol {
  columns: 2;
  column-gap: 3rem;
  margin: 0;
  padding-left: 1rem;
}
.sources li {
  break-inside: avoid;
  margin-bottom: 0.6rem;
  padding-left: 0.3rem;
  font: 11px / 1.6 var(--sans);
  color: var(--news-muted);
}
.sources a {
  text-decoration-color: var(--news-rule);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.feature a:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 4px;
}
@media (max-width: 800px) {
  .front-story {
    gap: 1.5rem;
    grid-template-columns: 1.15fr 1fr;
  }
  .feature-title {
    font-size: 40px;
  }
  .feature-deck {
    font-size: 17px;
  }
  .news-section {
    column-gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .mission-page .feature {
    width: calc(100% - 2.2rem);
    padding-top: 1rem;
  }
  .edition-line {
    font-size: 8px;
    gap: 0.5rem;
  }
  .newspaper-name {
    font-size: clamp(32px, 9vw, 52px);
    margin-block: 1rem;
  }
  .edition-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    font-size: 10px;
  }
  .newspaper-masthead {
    margin-bottom: 1.5rem;
  }
  .front-story {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-title {
    font-size: clamp(38px, 10.5vw, 55px);
  }
  .front-art {
    border: 0;
    padding: 0;
  }
  .front-art img {
    max-height: 500px;
    object-fit: contain;
  }
  .byline {
    margin-top: 1.25rem;
  }
  .lede-par {
    margin: 1.5rem 0 2rem;
    font-size: 20px;
  }
  .news-section {
    display: block;
    margin-top: 2rem;
  }
  .section-open {
    font-size: 30px;
    gap: 0.8rem;
  }
  .news-section > .stat-break {
    padding: 0 0 1.5rem;
    margin-bottom: 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--news-rule);
  }
  .stat-figure {
    font-size: 64px;
  }

  .answer-points {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .answer-deck {
    font-size: 18px;
  }

  .sources ol {
    columns: 1;
  }
}
@media print {
  .mission-page {
    background: white;
  }
  .mission-page .site,
  .mission-page .site-foot,
  .edition-nav,
  .close-cta {
    display: none;
  }
  .mission-page .feature {
    width: 100%;
  }
  .front-story,
  .news-section,
  .answer {
    break-inside: avoid;
  }
  .feature a {
    color: inherit;
  }
}
