/* ==========================================================================
   main2.css — homepage redesign
   Palette carried over from main.css: teal #007f7b, cream #fffaf6,
   peach #f1e5db / #f7e3d2 / #efd3bb, light teal #e3f4f3, pastel accents.
   ========================================================================== */

:root {
  --teal: #007f7b;
  --teal-dark: #036f6c;
  --teal-deep: #0b4f4c;
  --cream: #fffaf6;
  --cream-2: #f8f1eb;
  --peach: #f1e5db;
  --peach-2: #f7e3d2;
  --peach-3: #efd3bb;
  --mint: #e3f4f3;
  --blue: #bbcbe3;
  --blue-ink: #414853;
  --coral: #f4b1a6;
  --coral-ink: #593f3a;
  --green: #bbe3e0;
  --green-ink: #415d5b;
  --yellow: #ffe2a8;
  --yellow-ink: #4a462d;
  --ink: #2b2825;
  --ink-2: #4a4642;
  --muted: #7a736c;
  --line: #e8ddd3;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --radius: 20px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

/* Type ----------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}

h4 {
  font-size: 1.3rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}

.muted {
  color: var(--muted);
}

.measure {
  max-width: 62ch;
}

.measure-sm {
  max-width: 44ch;
}

/* Layout --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  margin-top: var(--section);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.section-head h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.section-head .lead {
  margin-top: 0.75rem;
  max-width: 60ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.split h2 {
  max-width: 14ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5em;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background-color: var(--ink);
  color: #fff;
}

.btn-light {
  background-color: #fff;
  border-color: #fff;
  color: var(--teal-deep);
}

.btn-light:hover {
  background-color: var(--cream-2);
  border-color: var(--cream-2);
  color: var(--teal-deep);
}

.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--teal-deep);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--teal);
}

.arrow-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

/* Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}

.brand:hover {
  color: var(--ink);
}

.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav-links a {
  color: var(--ink-2);
  font-size: 0.98rem;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links .btn {
  color: #fff;
  margin-left: 8px;
}

.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink);
}

/* Hero ----------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: stretch;
  gap: clamp(32px, 5vw, 72px);
  max-width: calc((100vw - var(--max)) / 2 + var(--max));
  margin-left: auto;
  margin-right: 0;
  padding-left: var(--gutter);
}

.hero-copy {
  align-self: center;
  padding: clamp(56px, 8vw, 120px) 0;
  max-width: 560px;
}

.hero-copy h1 {
  margin-bottom: 1.25rem;
}

.hero-copy .lead {
  margin-bottom: 2rem;
}

.hero-media {
  position: relative;
  min-height: 560px;
  height: min(88vh, 820px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(440px, 78%);
  padding: clamp(24px, 3vw, 40px);
  background-color: var(--yellow);
  color: var(--yellow-ink);
}

.hero-card .eyebrow {
  color: var(--yellow-ink);
  opacity: 0.75;
  margin-bottom: 0.75rem;
}

.hero-card h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  margin-bottom: 1rem;
  color: var(--yellow-ink);
}

.hero-card .arrow-link {
  color: var(--yellow-ink);
}

/* Banner blocks (colored, with pattern strip) -------------------------- */

.banner {
  border-radius: var(--radius);
  overflow: hidden;
}

.banner-body {
  padding: clamp(40px, 5vw, 72px);
}

.banner-mint {
  background-color: var(--mint);
}

.banner-peach {
  background-color: var(--peach-2);
}

.banner-yellow {
  background-color: var(--yellow);
}

.banner h2 {
  max-width: 20ch;
}

.pattern {
  height: clamp(56px, 8vw, 96px);
  background-repeat: repeat-x;
  background-size: auto 100%;
}

/* Quarter-circle tile strips, drawn as SVG so they scale cleanly. */
.pattern-teal {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100'%3E%3Crect width='400' height='100' fill='%230b4f4c'/%3E%3Cpath d='M0 100V0a100 100 0 0 1 100 100z' fill='%23e3f4f3'/%3E%3Cpath d='M100 0h100a100 100 0 0 1-100 100z' fill='%23ffe2a8'/%3E%3Cpath d='M300 100h-100a100 100 0 0 1 100-100z' fill='%23f7e3d2'/%3E%3Cpath d='M400 0v100a100 100 0 0 1-100-100z' fill='%23bbcbe3'/%3E%3C/svg%3E");
}

.pattern-peach {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100'%3E%3Crect width='400' height='100' fill='%23efd3bb'/%3E%3Cpath d='M0 100V0a100 100 0 0 1 100 100z' fill='%23007f7b'/%3E%3Cpath d='M100 0h100a100 100 0 0 1-100 100z' fill='%23ffe2a8'/%3E%3Cpath d='M300 100h-100a100 100 0 0 1 100-100z' fill='%23f4b1a6'/%3E%3Cpath d='M400 0v100a100 100 0 0 1-100-100z' fill='%23bbe3e0'/%3E%3C/svg%3E");
}

.pattern-yellow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100'%3E%3Crect width='400' height='100' fill='%23ffe2a8'/%3E%3Cpath d='M0 100V0a100 100 0 0 1 100 100z' fill='%23007f7b'/%3E%3Cpath d='M100 0h100a100 100 0 0 1-100 100z' fill='%23fffaf6'/%3E%3Cpath d='M300 100h-100a100 100 0 0 1 100-100z' fill='%23f4b1a6'/%3E%3Cpath d='M400 0v100a100 100 0 0 1-100-100z' fill='%23bbcbe3'/%3E%3C/svg%3E");
}

/* Problem -------------------------------------------------------------- */

.pull {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.3;
  color: var(--teal);
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

/* Approach tiles ------------------------------------------------------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
}

.tile {
  background-color: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  padding: 28px 28px 30px;
}

.tile-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.tile h4 {
  margin-bottom: 0.4em;
}

.tile p {
  color: var(--ink-2);
  font-size: 1rem;
}

/* Featured training ---------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--teal);
  color: #fff;
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-body {
  padding: clamp(36px, 4.5vw, 64px);
  align-self: center;
}

.feature-body .eyebrow,
.feature-body h3,
.feature-body p {
  color: #fff;
}

.feature-body .eyebrow {
  opacity: 0.8;
}

.feature-body h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: 1rem;
}

.feature-body p {
  opacity: 0.94;
}

.feature-meta {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 1.5rem 0 1.75rem;
}

/* Workshop cards ------------------------------------------------------- */

.card {
  background-color: var(--peach);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #fff;
  display: grid;
  place-items: center;
  color: var(--teal);
  margin-bottom: 22px;
}

.card h4 {
  font-size: 1.45rem;
  margin-bottom: 0.5em;
}

.card p {
  color: var(--ink-2);
}

.card-meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1.25rem 0 1.5rem;
}

.card .arrow-link {
  margin-top: auto;
}

/* Testimonials --------------------------------------------------------- */

.quote {
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-mark {
  width: 36px;
}

.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.4;
}

.quote cite {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: auto;
}

.quote-blue {
  background-color: var(--blue);
  color: var(--blue-ink);
}

.quote-coral {
  background-color: var(--coral);
  color: var(--coral-ink);
}

.quote-yellow {
  background-color: var(--yellow);
  color: var(--yellow-ink);
}

/* About ---------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.about-media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about h2 {
  max-width: none;
}

.about-role {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Printable ------------------------------------------------------------ */

.printable {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.printable h2 {
  max-width: 18ch;
}

.check-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 10px;
}

.field {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(43, 40, 37, 0.18);
  background-color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}

.field::placeholder {
  color: var(--muted);
}

.field:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.fields .btn {
  height: 52px;
}

.printable-preview {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 2px dashed rgba(43, 40, 37, 0.3);
  background-color: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--yellow-ink);
}

.printable-preview p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Newsletter strip ----------------------------------------------------- */

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 8fr) auto;
  gap: 32px;
  align-items: center;
  border-radius: var(--radius);
  background-color: var(--mint);
  padding: clamp(32px, 4vw, 56px);
}

.newsletter h3 {
  margin-bottom: 0.4em;
}

.newsletter p {
  color: var(--ink-2);
}

/* FAQ ------------------------------------------------------------------ */

.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--teal);
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 14px;
  max-width: 62ch;
  color: var(--ink-2);
}

/* Final CTA ------------------------------------------------------------ */

.cta {
  background-color: var(--teal-deep);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-body {
  padding: clamp(56px, 7vw, 104px) clamp(28px, 5vw, 80px);
  text-align: center;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta h2 {
  margin: 0 auto 0.5em;
  max-width: 16ch;
}

.cta p {
  max-width: 48ch;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Footer --------------------------------------------------------------- */

.site-footer {
  margin-top: var(--section);
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid a {
  display: block;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.footer-grid a.brand {
  margin-bottom: 12px;
}

.footer-grid a:hover {
  color: var(--teal);
}

.footer-tagline {
  color: var(--muted);
  max-width: 28ch;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-bottom {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive ----------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    padding-left: 0;
    gap: 0;
  }

  .hero-copy .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .hero-copy {
    max-width: 640px;
    padding: clamp(48px, 8vw, 80px) var(--gutter);
  }

  .hero-media {
    min-height: 0;
    height: auto;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .hero-card {
    position: static;
    width: 100%;
  }

  .split,
  .about,
  .printable {
    grid-template-columns: 1fr;
  }

  .about-media img {
    aspect-ratio: auto;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .tiles {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .nav-burger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px var(--gutter) 24px;
    background-color: var(--cream);
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:not(.btn) {
    padding: 10px 0;
    font-size: 1.1rem;
  }

  .nav-links .btn {
    margin: 8px 0 0;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .fields {
    grid-template-columns: 1fr;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Late additions ------------------------------------------------------- */

.section-head h2.wide {
  max-width: 30ch;
}

.tiles-label {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.tiles {
  margin-top: 16px;
}

.tile h4 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* Page header (interior pages) ---------------------------------------- */

.page-header {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px);
}

.page-header h1 {
  max-width: 16ch;
}

.page-header .lead {
  margin-top: 1rem;
}

.page-header-center {
  text-align: center;
}

.page-header-center h1,
.page-header-center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Blog index ----------------------------------------------------------- */

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.post-list li {
  border-bottom: 1px solid var(--line);
}

.post-list a {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  color: var(--ink);
}

.post-list a:hover .post-list-title {
  color: var(--teal);
}

.post-list-date {
  font-size: 0.9rem;
  color: var(--muted);
}

.post-list-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  transition: color 160ms ease;
}

/* Blog post ------------------------------------------------------------ */

.post-header {
  max-width: 820px;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(32px, 4vw, 48px);
  text-align: center;
}

.post-header h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  margin: 0 auto 1rem;
  max-width: 22ch;
}

.post-header .lead {
  max-width: 48ch;
  margin: 0 auto 1rem;
}

.crumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.crumbs span {
  margin: 0 8px;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.prose {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.prose > * + * {
  margin-top: 1.25em;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.prose h2 {
  font-size: 1.9rem;
}

.prose h3 {
  font-size: 1.5rem;
}

.prose h4 {
  font-size: 1.2rem;
}

.prose p {
  margin-bottom: 0;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 127, 123, 0.4);
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose blockquote {
  margin: 1.75em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--teal);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
}

.prose blockquote p {
  margin: 0;
}

.prose img {
  border-radius: var(--radius-sm);
  margin: 1.5em auto;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}

.prose strong {
  color: var(--ink);
}

.post-footer {
  max-width: 820px;
  margin-top: clamp(56px, 7vw, 96px);
}

.post-back {
  margin-top: 32px;
}

.arrow-link-back::after {
  content: none;
}

.arrow-link-back::before {
  content: "←";
  transition: transform 160ms ease;
}

.arrow-link-back:hover::before {
  transform: translateX(-4px);
}

@media (max-width: 800px) {
  .post-list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Interior page helpers ----------------------------------------------- */

.prose-left {
  margin-left: 0;
}

.embed-card {
  max-width: 820px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.embed-card iframe {
  display: block;
  border: 0;
  border-radius: var(--radius-sm);
}

/* Program pages -------------------------------------------------------- */

.todo {
  background-color: var(--yellow);
  color: var(--yellow-ink);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

.program-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  border-radius: var(--radius);
  background-color: var(--mint);
  padding: clamp(36px, 5vw, 72px);
  margin-top: clamp(24px, 3vw, 40px);
}

.program-hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: 1rem;
}

.program-hero .lead {
  margin-bottom: 1.25rem;
}

.program-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.facts {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(43, 40, 37, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.facts li:not(.facts-label) {
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1.35;
}

.facts-label {
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}

.weeks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.weeks li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.weeks-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--teal);
  padding-top: 4px;
}

.weeks h4 {
  margin-bottom: 0.4em;
}

.weeks p {
  color: var(--ink-2);
  max-width: 62ch;
}

.tiles-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tile-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 1.75rem 0;
}

.compare-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

.card-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-2);
}

.card-list li + li {
  margin-top: 8px;
}

.section-tight {
  margin-top: clamp(56px, 7vw, 104px);
}

@media (max-width: 1024px) {
  .program-hero {
    grid-template-columns: 1fr;
  }

  .tiles-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .weeks li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .tiles-4 {
    grid-template-columns: 1fr;
  }
}

/* Calm mini-series ----------------------------------------------------- */

.kit-form {
  margin-top: 1.5rem;
  max-width: 560px;
}

.kit-form-center {
  margin: 1.5rem auto 0;
}

.banner-center {
  text-align: center;
}

.banner-center h2 {
  margin-left: auto;
  margin-right: auto;
}

.video-header {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.video-header h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--ink);
}

.video-nav {
  max-width: 960px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 600;
}

.video-nav a:only-child {
  margin-left: auto;
}

.video-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  border-top: 1px solid var(--line);
}

.video-list li {
  border-bottom: 1px solid var(--line);
}

.video-list a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  color: var(--ink);
}

.video-list a:hover .video-list-title {
  color: var(--teal);
}

.video-list-num {
  font-family: var(--serif);
  color: var(--teal);
}

.video-list-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  transition: color 160ms ease;
}

.video-list-time {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Lead-magnet pages ---------------------------------------------------- */

.fine-print {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
}

.printable-preview-ink {
  color: var(--ink-2);
  background-color: rgba(255, 255, 255, 0.6);
  border-color: rgba(43, 40, 37, 0.25);
}

.check-list-spaced {
  margin-top: clamp(28px, 3vw, 40px);
  gap: 16px;
}

.statement {
  text-align: center;
  max-width: 760px;
}

.statement h2 {
  margin-left: auto;
  margin-right: auto;
}

.statement .lead {
  max-width: 48ch;
  margin: 0 auto;
}

.issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.issue-list li {
  border-bottom: 1px solid var(--line);
}

.issue-list a {
  display: block;
  padding: 22px 0;
  color: var(--ink);
}

.issue-list a:hover .issue-title {
  color: var(--teal);
}

.issue-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 6px;
  transition: color 160ms ease;
}

.issue-desc {
  display: block;
  color: var(--ink-2);
}

.printable-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.tile p {
  margin-top: 0.5em;
}

@media (max-width: 800px) {
  .tiles[style*="repeat(2"] {
    grid-template-columns: 1fr !important;
  }
}

/* Focus states --------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn:focus-visible {
  border-radius: 999px;
}

/* Download page -------------------------------------------------------- */

.download {
  text-align: center;
}

.pdf-card {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 320px;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: 0 6px 20px rgba(43, 40, 37, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.pdf-card:hover,
.pdf-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(43, 40, 37, 0.16);
}

.pdf-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.pdf-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  line-height: 0;
  filter: drop-shadow(0 2px 6px rgba(43, 40, 37, 0.25));
}

.download-cta {
  margin-top: clamp(28px, 3vw, 36px);
}

.download-fallback {
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

/* Check your email ----------------------------------------------------- */

.confirm {
  padding: clamp(48px, 8vw, 96px) 0 0;
}

.confirm .container {
  max-width: 560px;
  text-align: center;
}

.confirm-icon {
  color: var(--teal);
  line-height: 0;
  margin-bottom: 1.75rem;
}

.confirm-icon svg {
  display: inline-block;
}

.confirm h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
}

.confirm .lead {
  margin-bottom: 0;
}

.confirm-help {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 40px);
}

.confirm-help h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.confirm-closing {
  margin-top: clamp(32px, 4vw, 48px);
}

/* Kit signup form ------------------------------------------------------ */

.signup-form {
  margin: 0;
}

.signup-alert {
  list-style: none;
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--coral);
  color: var(--coral-ink);
  font-size: 0.95rem;
  text-align: left;
}

.signup-alert:empty {
  display: none;
}

.signup-alert li + li {
  margin-top: 4px;
}

.formkit-spinner {
  display: none;
  gap: 5px;
}

.formkit-spinner > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  animation: signup-bounce 1.4s infinite ease-in-out both;
}

.formkit-spinner > span:nth-child(1) {
  animation-delay: -0.32s;
}

.formkit-spinner > span:nth-child(2) {
  animation-delay: -0.16s;
}

.formkit-submit[data-active] .formkit-spinner {
  display: inline-flex;
}

.formkit-submit[data-active] .signup-submit-label {
  display: none;
}

@keyframes signup-bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .pdf-card {
    max-width: 260px;
  }
}
