/**
 * Block-built landing pages ("TS Page Full" / "TS Page Full (No Title)").
 *
 * These pages compose their layout from core blocks plus the design system's
 * utility classes. Two of those, .fp-section-head and .fp-accent, only ever
 * existed in front-page.css, which is enqueued on the front page alone, so a
 * block page using them rendered its section heads and accent words
 * unstyled. They are defined here for every other template.
 *
 * On top of that: prose sizing that matches the design system rather than
 * Bootstrap's defaults, and the three components the About page introduces
 * (journey timeline, facts strip, pull quote).
 *
 * Loaded only by ts_enqueue_block_page_assets(), so the selectors can stay
 * unscoped and readable.
 */

/* ==========================================================
   PROSE
   ========================================================== */

.site-main h1,
.site-main h2,
.site-main h3 {
  font-family: var(--font-display);
  color: var(--fg-1);
  letter-spacing: -.015em;
}
.site-main h1 { font-size: var(--fs-hero); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.site-main h2 { font-size: var(--fp-fs-h2); font-weight: 700; line-height: 1.2; margin: 0 0 16px; }
.site-main h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }

.site-main p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg-2);
}
.site-main .wp-block-group p:last-child { margin-bottom: 0; }

/* One coral word inside an ink heading. */
.site-main .fp-accent { color: var(--ts-coral-400); }

/* ==========================================================
   SECTION HEAD
   ========================================================== */

.fp-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.fp-section-head .ts-eyebrow { display: inline-block; margin: 0 0 8px; }
.fp-section-head h1,
.fp-section-head h2 { margin: 0 0 16px; }
.fp-section-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

/* The hero band's lead paragraph carries more weight than body copy. */
.fp-section-head h1 + p,
.fp-section-head .ts-lead { font-size: 19px; line-height: 1.62; }

/* ==========================================================
   CARDS
   ========================================================== */

/* .ts-card in style.css sets the surface but no padding, so every block
   card had to declare its own inline. Give them a default here instead. */
.site-main .ts-card { padding: 24px; }
.site-main .ts-card .ts-eyebrow { display: inline-block; margin: 0 0 8px; }
.site-main .ts-card h3 { font-size: 18px; }
.site-main .ts-card p { font-size: 15px; line-height: 1.62; margin: 0; }

/* ==========================================================
   PULL QUOTE
   ========================================================== */

.site-main .wp-block-quote {
  border-left: 3px solid var(--ts-coral-400);
  padding: 0 0 0 20px;
  margin: 24px 0;
}
.site-main .wp-block-quote p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--fg-1);
  margin: 0;
}

/* ==========================================================
   JOURNEY TIMELINE
   ========================================================== */

.ts-tl { position: relative; padding-left: 24px; }
.ts-tl::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-2);
}
.ts-tl-item { position: relative; padding: 0 0 24px; }
.ts-tl-item:last-child { padding-bottom: 0; }
.ts-tl-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ts-white);
  border: 2px solid var(--ts-coral-400);
}
.site-main .ts-tl-when {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  font-weight: 500;
  color: var(--ts-plum-400);
  margin: 0 0 4px;
}
.site-main .ts-tl-item h3 { font-size: 18px; margin: 0 0 4px; }
.site-main .ts-tl-item p { font-size: 15px; line-height: 1.6; margin: 0; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 600px) {
  .site-main h2 { font-size: 26px; }
  .site-main p  { font-size: 16px; }
  .site-main .wp-block-quote p { font-size: 19px; }
}
