/* Home page and "Meet your teachers" page. */

.eyebrow { font: 800 0.75rem/1.3 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--surf-deep); margin: 0 0 0.6rem; }
.section-lede { color: var(--fg-muted); max-width: 62ch; font-size: 1.05rem; }
.course-lede { margin-top: 1.25rem; }
.course-lede strong { color: var(--fg); }

/* ---------- Hero ---------- */
.home-hero { position: relative; overflow: hidden; background: var(--abyss); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.home-waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.08; pointer-events: none; }
.home-waves path { stroke: var(--surf-neon); stroke-width: 1; fill: none; }
.home-hero .wrap { position: relative; z-index: 1; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .home-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 3.5rem; } }

.live-pill { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.85rem; margin-bottom: 1.6rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(0, 255, 240, 0.28); font: 700 0.7rem/1 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--surf-neon); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--surf-neon); box-shadow: 0 0 8px var(--surf-neon); animation: live-pulse 2.4s infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.home-h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 0.95; margin: 0 0 1.4rem; text-wrap: balance; }
/* Hand-drawn marks (public/app/scribbles.js), as on platypuseconomics.com. */
.pe-mark-wrap { position: relative; display: inline-block; padding: 0 6px; }
.pe-mark-wrap > .pe-mark-text { position: relative; z-index: 1; color: var(--ink); }
.pe-underline-wrap, .pe-circle-wrap { position: relative; display: inline-block; }
.pe-underline-wrap > .pe-mark-text, .pe-circle-wrap > .pe-mark-text { position: relative; z-index: 1; }
.pe-circle-wrap { padding: 0 0.15em; }
.hand-note { font-family: 'Caveat', 'Marker Felt', cursive; font-weight: 700; font-size: 25px; line-height: 1.05; color: var(--sun-neon); display: inline-block; transform: rotate(-3deg); transform-origin: left center; }
.start-note { position: relative; padding: 0.9rem 0 0 70px; margin-top: 0.4rem; }
.btn-big { padding: 1.05rem 1.6rem; font-size: 0.9rem; }
.btn-big .icon { font-size: 1.05rem; }
.home-h1-line { display: block; color: var(--surf-neon); margin-top: 0.08em; }
.home-tagline { font-style: italic; font-size: clamp(1.15rem, 2.1vw, 1.45rem); line-height: 1.35; margin: 0 0 0.9rem; max-width: 34ch; }
.home-body { color: var(--fg-on-dark-muted); max-width: 52ch; font-size: 1.06rem; margin: 0; }
.home-hero .hero-actions .btn .icon { font-size: 1.05rem; }
.hero-proof { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.9rem; color: var(--fg-on-dark-muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-proof .icon { color: var(--surf-neon); }

/* The artwork: the full TLAE logo, with a "now playing" card underneath (nothing covers the logo). */
.home-hero-art { position: relative; width: 100%; max-width: 440px; margin: 0 auto; display: grid; gap: 1.1rem; justify-items: center; }
@media (max-width: 899.98px) { .home-hero-art { max-width: 360px; } }
.logo-glow { position: absolute; left: 6%; right: 6%; top: 4%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 255, 240, 0.26), transparent 68%); filter: blur(18px); pointer-events: none; }
.tlae-logo { position: relative; width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 0 6px rgba(255, 255, 255, 0.08); animation: logo-float 7s ease-in-out infinite; }
.now-playing { position: relative; width: 92%; display: flex; color: #fff; text-decoration: none; transition: transform 0.15s, border-color 0.15s; align-items: center; gap: 0.75rem; background: rgba(8, 57, 64, 0.94); border: 1px solid var(--abyss-line); padding: 0.7rem 0.9rem; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); }
.now-playing:hover { color: #fff; border-color: var(--sun); transform: translateY(-2px); }
.np-play { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 1rem; }
.np-text { min-width: 0; }
.np-label { display: block; font: 800 0.6rem/1 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--surf-neon); margin-bottom: 0.3rem; }
.np-title { display: block; font-weight: 700; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-eq { margin-left: auto; display: flex; gap: 3px; align-items: flex-end; height: 18px; flex: none; }
.np-eq i { width: 3px; height: 100%; background: var(--surf-neon); transform-origin: bottom; animation: eq-bar 1.1s ease-in-out infinite; }
.np-eq i:nth-child(2) { animation-delay: -0.4s; }
.np-eq i:nth-child(3) { animation-delay: -0.7s; }
.np-eq i:nth-child(4) { animation-delay: -0.2s; }
@keyframes logo-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(0deg); } }
@keyframes eq-bar { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

/* ---------- Sections ---------- */
.home .courses-section { padding-top: clamp(3rem, 7vw, 5rem); }
.home .course-grid { margin-top: 2rem; }

.different-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(1rem, 3vw, 2rem); }
@media (min-width: 900px) { .different-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.different-inner p { color: var(--fg-muted); font-size: 1.06rem; max-width: 58ch; }
.big-quote { position: relative; margin: 76px 0 0; background: var(--abyss); color: #fff; padding: 3.75rem 2rem 2rem; overflow: visible; }
.big-quote::before { content: '“'; position: absolute; left: 1.2rem; top: 0.2rem; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--sun); }
.big-quote blockquote { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1; margin: 0 0 1rem; }
.big-quote figcaption { color: var(--sun-neon); font-weight: 800; letter-spacing: 0.06em; }
.big-quote figcaption::before { content: '— '; }
/* Gus perches on the quote card's top edge: fixed size and offset, so he never overlaps text at any width. */
.quote-gus { position: absolute; width: 190px; height: auto; right: 16px; top: -64px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.22)); transform: scaleX(-1); pointer-events: none; }

.home .how { margin-top: clamp(3rem, 7vw, 5rem); }

.teachers-teaser { padding-top: clamp(3rem, 7vw, 5rem); }
.teacher-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 760px) { .teacher-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.teacher-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem; border: 1px solid var(--border); text-decoration: none; color: var(--ink); transition: box-shadow 0.2s, transform 0.2s; }
.teacher-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.teacher-card-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; border: 3px solid var(--sun); }
.teacher-card-text { display: flex; flex-direction: column; gap: 0.25rem; }
.teacher-card-text strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.5rem; line-height: 1; }
.teacher-card-text span { color: var(--fg-muted); font-size: 0.95rem; }
.initials { display: grid; place-items: center; background: linear-gradient(135deg, var(--surf), var(--abyss)); color: #fff; font-family: var(--font-display); font-size: 2.2rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 800; margin-top: 1.25rem; text-decoration: none; color: var(--surf-deep); }

.final-cta { position: relative; overflow: hidden; background: var(--abyss-dark); color: #fff; text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; margin-top: clamp(3.5rem, 8vw, 6rem); }
.final-cta-inner { position: relative; z-index: 1; }
.final-cta p { color: var(--fg-on-dark-muted); font-size: 1.1rem; }
.final-cta .hero-actions { justify-content: center; }
.main:has(.final-cta) + .site-footer { margin-top: 0; }

/* ---------- Meet your teachers ---------- */
.teachers-hero { padding-top: 2rem; }
.teachers-hero h1 { margin: 0 0 1rem; }
.teachers-hero .crumb { display: flex; width: fit-content; } /* its own line, above the pill */
.teachers-snap { position: relative; width: 100%; max-width: 440px; margin: 0 auto; padding: 10px 10px 48px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42); transform: rotate(2deg); }
.teachers-snap img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.teachers-snap figcaption { position: absolute; left: 16px; right: 12px; bottom: 9px; color: var(--abyss); font-size: 24px; }
@media (max-width: 899.98px) { .teachers-snap { max-width: 360px; } }
.profiles { display: grid; gap: clamp(3rem, 7vw, 5rem); padding-top: clamp(3rem, 7vw, 5rem); }
.profile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; scroll-margin-top: 1rem; }
@media (min-width: 820px) {
  .profile { grid-template-columns: 320px minmax(0, 1fr); gap: 3.5rem; }
  .profile.flip { grid-template-columns: minmax(0, 1fr) 320px; }
  .profile.flip .profile-photo-wrap { order: 2; }
}
.profile-photo-wrap { position: relative; max-width: 320px; }
.profile-photo-wrap::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--sun); z-index: -1; }
.profile-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--bg-alt); }
.profile-photo.initials { font-size: 5rem; background: linear-gradient(135deg, var(--surf), var(--abyss)); }
.profile-role { font-weight: 700; color: var(--surf-deep); margin-bottom: 1.2rem; }
.profile-text p { color: var(--fg-muted); font-size: 1.05rem; max-width: 62ch; }
.profile-text p.profile-role { color: var(--surf-deep); font-size: 0.95rem; }

.together { background: var(--bg-alt); margin-top: clamp(3.5rem, 8vw, 6rem); }
.together-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
@media (min-width: 900px) { .together-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.together-inner p { color: var(--fg-muted); font-size: 1.05rem; }
.exchange { margin: 0; display: grid; gap: 0.75rem; }
.exchange p { margin: 0; padding: 0.9rem 1.1rem; background: #fff; border-left: 5px solid var(--surf); box-shadow: var(--shadow); font-size: 1.08rem; max-width: 90%; }
.exchange p:nth-child(2) { border-left-color: var(--sun); justify-self: end; }
.exchange figcaption { font-size: 0.85rem; color: var(--fg-subtle); }
