/* =========================================================
   Face the FACS: homepage (soft retro)
   Mobile-first. Breakpoints: 700px, 900px, 1100px.
   Everything is scoped under .ftf so it can't fight GeneratePress.
   ========================================================= */

.ftf {
  font-family: var(--ftf-sans);
  color: var(--ftf-ink);
  font-size: 17px;
  line-height: 1.6;
}
.ftf *, .ftf *::before, .ftf *::after { box-sizing: border-box; }
.ftf h1, .ftf h2, .ftf h3 {
  margin: 0;
  font-family: var(--ftf-display);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.05;
  color: var(--ftf-navy);
}
.ftf :where(p) { margin: 0; color: var(--ftf-body); }
.ftf :where(a:not(.ftf-btn)) { color: var(--ftf-navy); }
.ftf :where(a:not(.ftf-btn)):hover { color: var(--ftf-navy-dark); }
.ftf img { display: block; max-width: 100%; height: auto; }
.ftf figure, .ftf blockquote { margin: 0; }

.ftf-wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--ftf-gutter);
  padding-right: var(--ftf-gutter);
}
.ftf-section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.ftf-bg-white { background: var(--ftf-white); }
.ftf-bg-pale  { background: var(--ftf-l2); }
.ftf-h2 { font-size: clamp(40px, 4.2vw, 56px); }
.ftf-stack { display: flex; flex-direction: column; gap: 16px; }
.ftf-eyebrow { font-size: 15px; font-weight: 600; color: var(--ftf-navy); }
.ftf-textlink {
  font-family: var(--ftf-display);
  font-size: 18px;
  text-underline-offset: 5px;
}
.ftf-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ftf-l3);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ftf-navy);
}
.ftf-chip--lime { background: var(--ftf-lime); }

.ftf-card {
  background: var(--ftf-white);
  border: var(--ftf-line);
  border-radius: var(--ftf-r);
}
.ftf-card--raised { box-shadow: var(--ftf-shadow); }
.ftf-card--soft { border: 2px solid var(--ftf-l4); }

/* ---------- Hero ---------- */
.ftf-hero {
  background-color: var(--ftf-l1);
  background-image: radial-gradient(var(--ftf-l3) 1.4px, transparent 1.5px);
  background-size: 22px 22px;
  padding-top: clamp(44px, 6vw, 88px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.ftf-hero__grid { display: grid; gap: 48px; }
.ftf-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.ftf-hero h1 { font-size: clamp(46px, 6vw, 82px); line-height: 0.98; }
.ftf-hero__lede { font-size: clamp(18px, 1.5vw, 20px); max-width: 620px; }

.ftf-doors { display: grid; gap: 22px; margin-top: 8px; }
.ftf-door {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 26px;
  border: var(--ftf-line);
  border-radius: var(--ftf-r);
  box-shadow: var(--ftf-shadow);
  background: var(--ftf-l3);
}
.ftf-door--lime { background: var(--ftf-lime); }
.ftf-door h2 { font-size: clamp(26px, 2.3vw, 30px); }
.ftf-door p { font-size: 16px; line-height: 1.5; color: #2A2866; margin-bottom: 14px; }
.ftf-door .ftf-btn { align-self: flex-start; margin-top: auto; }

/* Photo windows: side by side on phones, scattered on desktop */
.ftf-photos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 6px 6px 16px 0;
}
.ftf-photos .ftf-win img { width: 100%; aspect-ratio: 34 / 29; object-fit: cover; }
.ftf-photos .ftf-win__title { font-size: 13px; }
.ftf-photo--a { transform: rotate(-2deg); }
.ftf-photo--b { transform: rotate(2deg); }
.ftf-sticker {
  position: absolute;
  left: 50%;
  bottom: -18px;
  translate: -50% 0;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--ftf-lime);
  border: var(--ftf-line);
  box-shadow: 4px 4px 0 0 var(--ftf-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-10deg);
  font-family: var(--ftf-display);
  font-size: 16px;
  line-height: 1;
  color: var(--ftf-navy);
  z-index: 2;
}

/* ---------- Clients ---------- */
.ftf-clients {
  background: var(--ftf-navy);
  padding-top: clamp(48px, 5vw, 64px);
  padding-bottom: clamp(48px, 5vw, 64px);
  text-align: center;
}
.ftf-clients__label { color: var(--ftf-l3); font-weight: 600; font-size: 16px; }
.ftf-clients ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: clamp(22px, 3vw, 44px);
  row-gap: 8px;
  font-family: var(--ftf-display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  color: var(--ftf-white);
}
.ftf-clients__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* ---------- Free breakdowns (file browser) ---------- */
.ftf-learn__grid { display: grid; gap: 40px; align-items: center; }
.ftf-learn__intro .ftf-btn { align-self: flex-start; margin-top: 6px; }
.ftf-files__head,
.ftf-files__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.ftf-files__head {
  background: var(--ftf-l2);
  font-size: 14px;
  font-weight: 700;
  color: var(--ftf-body);
}
.ftf-files__row {
  border-top: 2px solid var(--ftf-l3);
  text-decoration: none;
  color: var(--ftf-ink);
}
.ftf-files__row:hover { background: var(--ftf-l1); }
.ftf-files__topic { display: none; font-size: 15px; color: var(--ftf-body); }
.ftf-files__name { font-family: var(--ftf-display); font-size: 19px; line-height: 1.2; color: var(--ftf-navy); }
.ftf-files__open { font-size: 15px; font-weight: 700; color: var(--ftf-navy); text-align: right; }

/* ---------- About ---------- */
.ftf-about { display: grid; gap: 40px; align-items: center; }
.ftf-about__text { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.ftf-about__text > p { font-size: clamp(17px, 1.4vw, 19px); }
.ftf-headshot { position: relative; width: min(260px, 70vw); aspect-ratio: 1; }
.ftf-headshot::before {
  content: "";
  position: absolute;
  inset: 0;
  translate: 14px 14px;
  border-radius: var(--ftf-r);
  background: var(--ftf-l3);
  border: var(--ftf-line);
}
.ftf-headshot img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: var(--ftf-line);
  border-radius: var(--ftf-r);
  background: var(--ftf-l2);
}

/* ---------- Courses ---------- */
.ftf-courses__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: 32px; }
.ftf-featured { display: grid; gap: 28px; padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px); }
.ftf-featured h3 { font-size: clamp(34px, 3.4vw, 44px); }
.ftf-featured__price { font-weight: 700; color: var(--ftf-navy); }
.ftf-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--ftf-r-sm);
  background: var(--ftf-l2);
}
.ftf-form label { font-weight: 700; color: var(--ftf-navy); }
.ftf-form__row { display: flex; flex-direction: column; gap: 12px; }
.ftf input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 2px solid var(--ftf-navy);
  border-radius: var(--ftf-r-sm);
  background: var(--ftf-white);
  color: var(--ftf-ink);
  font: inherit;
  font-size: 17px;
}
.ftf-course-grid { display: grid; gap: 22px; margin-top: 28px; }
.ftf-course {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 2px solid var(--ftf-navy);
  border-radius: var(--ftf-r);
  background: var(--ftf-white);
  text-decoration: none;
  color: var(--ftf-ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.ftf-course:hover { transform: translate(-3px, -3px); box-shadow: var(--ftf-shadow); color: var(--ftf-ink); }
.ftf-course .ftf-chip { align-self: flex-start; }
.ftf-course h3 { font-size: clamp(24px, 2.2vw, 28px); }
.ftf-course p { font-size: 16px; line-height: 1.55; }
.ftf-course__more {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--ftf-display);
  font-size: 18px;
  color: var(--ftf-navy);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- Testimonials ---------- */
.ftf-quotes { display: grid; gap: 28px; }
.ftf-quote-main { padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.ftf-quote-main blockquote { font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; line-height: 1.45; color: var(--ftf-navy); }
.ftf-quote-main figcaption { font-family: var(--ftf-display); font-size: 20px; color: var(--ftf-navy); }
.ftf-quote-side { display: grid; gap: 22px; }
.ftf-quote { padding: 24px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.ftf-quote blockquote { font-size: 17px; color: var(--ftf-body); }
.ftf-quote figcaption { font-weight: 700; font-size: 15px; color: var(--ftf-navy); }

/* ---------- Membership + newsletter ---------- */
.ftf-split { display: grid; gap: 28px; }
.ftf-split > * { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.ftf-split h2 { font-size: clamp(32px, 3vw, 40px); }
.ftf-split .ftf-btn { align-self: flex-start; }
.ftf-member { background: var(--ftf-lime); }
.ftf-member p { color: #2A2866; }
.ftf-news { background: var(--ftf-l2); }
.ftf-news label { font-weight: 700; font-size: 15px; color: var(--ftf-navy); }

/* ---------- Closer ---------- */
.ftf-closer { background: var(--ftf-navy); }
.ftf-closer__inner { display: flex; flex-direction: column; gap: 24px; }
.ftf-closer h2 { max-width: 1060px; font-size: clamp(42px, 5vw, 72px); line-height: 1; color: var(--ftf-lime); }
.ftf-closer p { max-width: 700px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ftf-l3); }
.ftf-closer__ctas { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 6px; }

/* =================== 700px and up =================== */
@media (min-width: 700px) {
  .ftf-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftf-photos { gap: 28px; max-width: 640px; }
  .ftf-sticker { width: 104px; height: 104px; font-size: 18px; }
  .ftf-files__head, .ftf-files__row { grid-template-columns: 40px minmax(0, 1fr) 160px 60px; padding: 15px 22px; }
  .ftf-files__topic { display: block; }
  .ftf-form__row { flex-direction: row; }
  .ftf-form__row .ftf-btn { flex-shrink: 0; }
  .ftf-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftf-quote-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =================== 900px and up =================== */
@media (min-width: 900px) {
  .ftf-about { grid-template-columns: minmax(0, 1fr) 320px; gap: 90px; }
  .ftf-headshot { width: 300px; }
  .ftf-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

/* =================== 1100px and up =================== */
@media (min-width: 1100px) {
  .ftf-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; }

  .ftf-photos { display: block; height: 600px; max-width: none; padding: 0; }
  .ftf-photos .ftf-win { position: absolute; width: 340px; }
  .ftf-photos .ftf-win__title { font-size: 15px; }
  .ftf-photo--a { left: 0; top: 10px; transform: rotate(-4deg); }
  .ftf-photo--b { right: 0; top: 230px; transform: rotate(3deg); }
  .ftf-sticker { left: 50px; top: 400px; bottom: auto; translate: none; width: 116px; height: 116px; font-size: 20px; }

  .ftf-learn__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 64px; }
  .ftf-featured { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .ftf-featured .ftf-form__row { flex-direction: column; }
  .ftf-course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .ftf-quotes { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; }
  .ftf-quote-side { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .ftf-course { transition: none; }
  .ftf-course:hover { transform: none; }
}

/* ---------- GeneratePress safety net for designed pages ----------
   Strips GP's article padding and spacing so the full-width
   bands run edge to edge, even if a layout setting is missed. */
.ftf-page .site-content { padding: 0; display: block; }
.ftf-page .inside-article { padding: 0; background: transparent; }
.ftf-page .entry-content:not(:first-child),
.ftf-page .entry-content { margin-top: 0; }
.ftf-page .site-main { margin: 0; }
.ftf-page.separate-containers .site-main > * { margin-bottom: 0; }
.ftf-page .site.grid-container,
.ftf-page .site-content.grid-container { max-width: none; }
