/* Free Masterclass — page-scoped layout on top of the shared magazine.css
   design system. Tokens (--accent / --cream / --ink / --muted / --line) and
   base classes (.section, .wrap, .headline, .eyebrow, .sec-head, .btn) come
   from magazine.css; this file only adds the page's own structure. */

/* ---------- Hero (reuses the home .hero magazine grid) ---------- */
.fm-hero {
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(200, 16, 46, 0.07), transparent 55%),
    var(--cream);
}
/* The headline follows the sitewide stacked poster treatment (accent italic
   closing line, like the Love & Money hero), slightly smaller than the home
   hero so three lines sit cleanly in the left column. */
.fm-h1.hero-headline {
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 0.92;
  margin: 22px 0 0;
}
/* Lede matches the Love & Money hero sub: tight 22px gap under the title,
   larger reading size (ev-hero-sub in loveandmoney.css). */
.fm-lede.hero-sub {
  margin-top: 22px;
  max-width: 540px;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.35;
}
.fm-hero-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Hero right: session pass (distinct from the home hero) ---------- */
.fm-pass {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 26px 64px -34px rgba(17, 17, 17, 0.4);
  display: flex;
  flex-direction: column;
}
.fm-pass-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 360px;
  overflow: hidden;
}
.fm-pass-next {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
}
.fm-pass-next-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.fm-pass-next-val {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}
.fm-pass-body {
  padding: 20px 24px 24px;
}
.fm-pass-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.fm-pass-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.fm-pass-list li:first-child {
  padding-top: 4px;
}
.fm-pass-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.fm-pass-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.fm-pass-v {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-align: right;
}
.fm-pass-cta {
  width: 100%;
  justify-content: center;
}
.fm-pass-meta {
  margin-top: 0;
  border-top: 0;
  padding-top: 4px;
}

/* ---------- About the hosts: full-story link ---------- */
.fm-hosts-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.fm-hosts-link .arrow {
  transition: transform 0.2s;
}
.fm-hosts-link:hover .arrow {
  transform: translateX(3px);
}

/* ---------- What you'll learn ---------- */
.fm-learn-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
}
.fm-learn-card {
  background: var(--ink);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
}
.fm-learn-idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.fm-learn-title {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--cream);
}
.fm-learn-body {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-2);
}

/* ---------- Who this is for ---------- */
.fm-for-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.fm-for-head { margin-bottom: 32px; }
.fm-for-media {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-3);
}
.fm-for-list {
  margin: 0;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.fm-for-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
  border-top: 1px solid var(--line);
}
.fm-for-list li:first-child { border-top: 0; }
.fm-for-check {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.fm-for-cta { margin-top: 32px; }

/* ---------- Closing CTA ---------- */
.fm-final {
  background:
    radial-gradient(120% 90% at 88% 110%, rgba(200, 16, 46, 0.08), transparent 55%),
    var(--cream);
}
.fm-final-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fm-final .sec-num { margin-bottom: 14px; }
.fm-final-h {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.0;
  margin: 0;
}
.fm-final-sub {
  max-width: 580px;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-3);
}
.fm-final-cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ---------- About the hosts ---------- */
.fm-hosts-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.fm-hosts-media {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-3);
}
.fm-hosts-h {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.95;
  margin: 16px 0 0;
  color: var(--cream);
}
.fm-hosts-lead {
  margin: 28px 0 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.fm-hosts-copy p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .fm-learn-grid { grid-template-columns: 1fr; }
  .fm-hosts-grid { grid-template-columns: 1fr; gap: 36px; }
  .fm-hosts-media { aspect-ratio: 16 / 10; }
  .fm-for-grid { grid-template-columns: 1fr; gap: 28px; }
  .fm-for-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .fm-learn-card { padding: 28px 24px; }
  .fm-for-list li { padding: 20px 20px; }
}
