/* Compact mobile reading scale. Desktop remains unchanged.
   Content stays in flow: no fixed heights or clipped paragraphs. */
@media (max-width: 768px) {
  #about #learning-title, #agency .vibe-ideas-label {
    line-height: 1.5; letter-spacing: .18em; margin-bottom: 16px;
  }
  #about .vibe-learning-card h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.015em; }
  #about .vibe-learning-card p {
    font-size: 14px; line-height: 1.45; letter-spacing: 0; margin: 10px 0 0;
  }

  main > section#agency h2#ideas-title,
  main > section#approach h2#code-title,
  main > section#el h2#founder-title,
  main > section#program h2#program-title {
    font-size: clamp(29px, 7.7vw, 36px); line-height: 1.12; letter-spacing: -.025em;
    margin-bottom: 16px; text-wrap: balance;
  }
  #agency .vibe-ideas-body p,
  #approach .vibe-code-body p,
  #el .founder-editorial p,
  #program .program-description {
    font-size: 15px; line-height: 1.45; letter-spacing: 0; word-spacing: normal;
    margin: 0 0 12px; text-align: left; text-wrap: pretty;
  }
  #approach .vibe-code-body p:last-child,
  #el .founder-editorial p:last-child,
  #program .program-description { margin-bottom: 0; }
  #agency .vibe-ideas-closing { padding-top: 8px; }
  #agency .vibe-ideas-body .vibe-ideas-emphasis {
    font-size: 23px; line-height: 1.25; letter-spacing: -.015em; margin: 0; text-wrap: balance;
  }

  /* The wrapper already provides the heading gap: don't add a second margin. */
  #el .founder-editorial { gap: 16px; padding: 26px 22px; }
  main > section#el h2#founder-title { margin-bottom: 0; }
  #program .program-introduction { gap: 14px; padding-bottom: 18px; }
  #program .program-promise { font-size: 18px; line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
  #program .program-fact { font-size: 14px; line-height: 1.35; letter-spacing: 0; padding: 12px 8px; gap: 8px; }

  #contact .contact-brand { letter-spacing: .24em; margin-bottom: 20px; }
  main > section#contact #contact-title:not(#top) {
    font-size: 34px; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 16px;
  }
  main > section#contact:not(#top):not(#about) .contact-invitation {
    font-size: 15px; line-height: 1.45; letter-spacing: 0; max-width: 32ch;
  }
  #contact form { margin-top: 24px; }
  #contact label { font-size: 14px; display: grid; gap: 4px; line-height: 1.4; margin-bottom: 14px; }
  #contact input, #contact select, #contact textarea { line-height: 1.5; letter-spacing: 0; }
  #contact .form-note { font-size: 12px; line-height: 1.5; margin-top: 14px; }

  #about { padding: 24px 22px; }
  #about .vibe-learning-grid { gap: 10px; }
  #about .vibe-learning-card { padding: 14px; grid-template-columns: 34px minmax(0,1fr); gap: 0 12px; }
  #about .vibe-learning-card svg { width: 34px; height: 32px; }
  #agency { padding-top: 24px; padding-bottom: 24px; }
  #agency .vibe-ideas-closing { margin-top: 12px; }

  /* Section 4: smaller copy plus less reserved space below it, keeping the figure visible. */
  #approach .vibe-code-copy { padding: 26px 22px 62vw; }
  #approach .vibe-code-body > p { font-size: 16px; line-height: 1.45; margin: 0 0 24px; }
  #approach .vibe-code-lessons { gap: 24px; }
  #approach .vibe-code-lessons li { grid-template-columns: 42px minmax(0,1fr); gap: 18px; padding: 0; align-items: start; }
  #approach .vibe-code-lessons li + li { border-top: 0; }
  #approach .vibe-code-icon { width: 42px; height: 42px; margin-top: 4px; }
  #approach .vibe-code-lessons h3 { font-size: 18px; line-height: 1.25; margin-bottom: 10px; }
  #approach .vibe-code-lessons p { font-size: 14px; line-height: 1.45; margin: 0; }
  #program { padding-top: 26px; padding-bottom: 24px; }
  #contact { padding-top: 26px; }
  #contact .contact-brand { margin-bottom: 16px; }
  #contact .button { font-size: 16px; }
  #contact .contact-back-top { margin-top: 35vw; }
}
