/* ==========================================================================
   Generic page template — Speaking / About / Contact / any static page
   that doesn't match a more specific page-{slug}.php.
   ========================================================================== */

.pg-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
  max-width: 980px;
}
.pg-hero .kicker {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.pg-hero .kicker::before {
  content: ""; display: inline-block;
  width: 10px; height: 10px;
  background: var(--accent);
}
.pg-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.75rem, 6vw + 1rem, 7rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.pg-hero h1 em { font-style: normal; font-weight: 800; color: inherit; }
.pg-hero .dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 0.5vw + 1rem, 1.625rem);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
  text-wrap: pretty;
}

.pg-featured {
  margin: 0 0 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pg-featured img { display: block; width: 100%; height: auto; }

/* Page body — reuse article-prose shape but without the first-paragraph
   dropcap treatment, since static pages often open with lists, headings,
   or tables rather than a narrative paragraph. */
article.prose.pg-prose > p:first-of-type {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.5vw + 0.9rem, 1.3125rem);
  line-height: 1.55;
  font-style: normal;
  font-weight: 400;
  margin: 0 0 22px;
  color: var(--ink);
}
article.prose.pg-prose > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  float: none;
  margin: 0;
  color: inherit;
}

/* Sensible spacing around common page blocks. */
article.prose.pg-prose h2 { margin-top: 48px; }
article.prose.pg-prose h3 { margin-top: 36px; }
article.prose.pg-prose h4 { margin-top: 28px; }

/* ========= ABOUT (/about/) =========
   Structured template: hero headline, Learn/Build/Share as the site's
   numbered-block pattern, free-stuff closer with section links. */
.ab-hero {
  padding: 64px 0 0;
  max-width: 980px;
}
.ab-hero .kicker {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.ab-hero .kicker::before {
  content: ""; display: inline-block;
  width: 10px; height: 10px;
  background: var(--accent);
}
.ab-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.75rem, 5.5vw + 1rem, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.ab-hero h1 em { font-style: normal; font-weight: 800; color: inherit; }

.ab-list {
  display: grid;
  gap: 48px;
  padding: 56px 0 80px;
}
@media (min-width: 1024px) { .ab-list { gap: 64px; padding: 72px 0 96px; } }
.ab-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .ab-block { grid-template-columns: 120px 1fr; column-gap: 48px; align-items: start; }
}
.ab-block .num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3rem, 4vw + 1rem, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.ab-block h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2.125rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.ab-block p {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.4vw + 0.95rem, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  max-width: 620px;
  text-wrap: pretty;
}
.ab-block p b { font-weight: 700; }

/* Free-stuff links live inside the Share block — they ARE the sharing. */
.ab-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ab-links a {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.ab-links a:hover { background: var(--accent); color: var(--ink); }

/* ========= CONTACT (/contact/) =========
   Simple form on paper: name/email/message, black mono submit. Same
   handler + guardrails as the Speaking form. */
.ct-hero {
  padding: 64px 0 0;
  max-width: 980px;
}
.ct-hero .kicker {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.ct-hero .kicker::before {
  content: ""; display: inline-block;
  width: 10px; height: 10px;
  background: var(--accent);
}
.ct-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.75rem, 5.5vw + 1rem, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.ct-hero h1 em { font-style: normal; font-weight: 800; color: inherit; }

.ct-form-wrap {
  max-width: 680px;
  padding: 48px 0 80px;
}
.ct-form label {
  display: block;
  margin-bottom: 20px;
}
.ct-form label span {
  display: block;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.ct-form .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 20px;
}
@media (min-width: 700px) {
  .ct-form .row { grid-template-columns: repeat(2, 1fr); }
}
.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  padding: 13px 14px;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.ct-form textarea { resize: vertical; min-height: 160px; }
.ct-form input:focus,
.ct-form textarea:focus {
  outline: none;
  background: rgba(255,198,95,0.08);
}
.ct-form .cta {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 16px 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ct-form .cta:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.ct-form-wrap .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.ct-form-wrap .form-note {
  margin: 0 0 28px;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
}
.ct-form-wrap .form-note--err { border-left-color: var(--accent-ink); }
.ct-alt {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.ct-alt a {
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
  white-space: nowrap;
}
.ct-alt a:hover { opacity: 0.7; }

/* ========= FOLLOW-UP (/follow-up/) =========
   Private post-workshop resource hub. Bare template; the content's own
   opening h1 is the page title. Legacy hub markup restyled into the
   system: grotesque section heads, mono meta labels, chip jump-nav. */
.fu-prose {
  padding-top: 56px;
  max-width: 760px;
}
@media (max-width: 720px) { .fu-prose { padding-top: 32px; } }

article.prose.fu-prose > h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
/* The line right under the title reads as the dek. */
article.prose.fu-prose > h1 + p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.4375rem);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

/* Section heads (demoted legacy h1s) — new-system grotesque, with
   anchor offset so the jump-nav lands cleanly. */
article.prose.fu-prose h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 72px 0 16px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  scroll-margin-top: 24px;
}
article.prose.fu-prose [id] { scroll-margin-top: 24px; }

/* JUMP TO TOPIC / Featuring / Duration — mono data labels. */
article.prose.fu-prose h4,
article.prose.fu-prose h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 28px 0 10px;
}
article.prose.fu-prose h5 { margin: 18px 0 2px; font-size: 10px; }
article.prose.fu-prose h5 + * { margin-top: 0; }

/* Jump-nav chips: give the inline button row breathing room. */
article.prose.fu-prose a.wp-block-button__link { margin: 0 10px 10px 0; }

/* Embedded videos: flat ink frame, consistent spacing. */
article.prose.fu-prose iframe,
article.prose.fu-prose .wp-block-embed {
  margin: 24px 0;
}
article.prose.fu-prose .wp-block-embed iframe { margin: 0; }
article.prose.fu-prose iframe {
  border: 1px solid var(--ink);
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}
