/* Home page: simplified sections that reuse the courses components. Spacing on a 4px grid. */
.hm-first { padding-top: 96px; }
.hm-more { font-size: 14px; color: var(--cx-2); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.hm-more:hover { color: var(--cx-ink); }
.hm-more span { margin-left: 4px; }
.hm-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
.hm-list .cx-row:nth-child(-n+2) { border-top: 1px solid var(--cx-line); }

/* Founder */
.hm-founder { background: var(--cx-tint); padding: 96px 0; margin-bottom: 96px; }
.hm-founder-in { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.hm-founder img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; }
.hm-founder .cx-kicker { margin-top: 0; }
.hm-founder h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 400; }
.hm-copy { max-width: 520px; margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--cx-2); }
.hm-points { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.hm-points li { position: relative; padding-left: 20px; font-size: 15px; color: var(--cx-ink); }
.hm-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--gold); }

/* Quotes */
.hm-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-quote-grid figure { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px; border: 1px solid var(--cx-line); border-radius: 16px; }
.hm-quote-grid blockquote { margin: 0; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; letter-spacing: -.01em; color: var(--cx-ink); }
.hm-quote-grid figcaption { display: flex; align-items: center; gap: 12px; }
.hm-quote-grid img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hm-quote-grid figcaption span { display: flex; flex-direction: column; font-size: 13px; color: var(--cx-3); }
.hm-quote-grid figcaption b { font-size: 15px; font-weight: 500; color: var(--cx-ink); }

/* FAQ */
.hm-faq { max-width: 800px; }
.hm-faq details { border-bottom: 1px solid var(--cx-line); }
.hm-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; color: var(--cx-ink); }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--cx-3); transition: transform .25s var(--cx-ease); }
.hm-faq details[open] summary::after { transform: rotate(45deg); }
.hm-faq details p { margin: -4px 0 20px; max-width: 640px; font-size: 15px; line-height: 1.6; color: var(--cx-2); }
.hm-faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.hm-close { margin-top: 0; }

/* Motion: hero settles in once; sections rise gently as they enter. No loops. */
@keyframes hm-in { from { opacity: 0; transform: translateY(12px); } }
.hero-content > * { animation: hm-in .7s var(--cx-ease, cubic-bezier(.2,.8,.2,1)) both; }
.hero-content > :nth-child(2) { animation-delay: .06s; }
.hero-content > :nth-child(3) { animation-delay: .12s; }
.hero-content > :nth-child(4) { animation-delay: .18s; }
.hero-image { animation: hm-fade 1s ease-out both; }
@keyframes hm-fade { from { opacity: 0; transform: scale(1.03); } }
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hm-founder-in { grid-template-columns: 280px 1fr; gap: 48px; }
}
@media (max-width: 760px) {
  .hm-first { padding-top: 72px; }
  .hm-list { grid-template-columns: 1fr; }
  .hm-list .cx-row:nth-child(2) { border-top: 0; }
  .hm-founder { padding: 72px 0; margin-bottom: 72px; }
  .hm-founder-in { grid-template-columns: 1fr; gap: 32px; }
  .hm-founder img { aspect-ratio: 4/3; object-position: center 20%; }
  .hm-quote-grid { grid-template-columns: 1fr; }
  .hm-quote-grid figure { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero-image { animation: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
.cx .hero h1 { color: #fff; font-weight: 400; }
.cx .hero h1 em { color: var(--gold); }
.hm-founder img { background: #fff; object-position: center top; }
