/* JetEdCo Partner Program — Landing Page 2 (post-inquiry / scheduling).
   Brand tokens come from /css/brand.css; section themes, seams, buttons,
   photo veils, compare, flow, and FAQ components come from /partners/style.css.
   This file adds only the components unique to this page. */

/* ---- Section 1: confirmation hero ---- */
.hero-confirm { padding-block: clamp(28px, 4vw, 56px); }
.hero-confirm-inner { text-align: center; }
.eyebrow {
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--jetedco-cream);
  margin-bottom: 18px;
}
.hero-confirm h1 {
  font-size: clamp(30px, 5vw, 54px);
  margin-bottom: 18px;
  color: var(--s-ink);
}
.hero-confirm .hero-sub {
  max-width: 58ch;
  margin-inline: auto;
}
.hero-note {
  max-width: 58ch;
  margin: 14px auto 0;
  font-size: clamp(14px, 1.7vw, 16px);
  color: var(--s-muted);
}

/* header CTA: gentle constant float, like it's hovering on station.
   (The animation owns transform, so the shared .btn:hover lift is replaced
   by its glow only — which still fires on hover.) */
.site-header .btn {
  animation: cta-float 2.6s ease-in-out infinite;
}
@keyframes cta-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* progress strip: inquiry received -> schedule -> call
   Styled as a mini flight path: the brand plane flies the completed leg
   in on load and hovers over the current step; dashes march along the
   flown route; the current node pulses like a radar ping. All animation
   is killed globally for prefers-reduced-motion. */
.progress {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 3vw, 26px);
  margin-top: clamp(20px, 3vw, 36px);
}
.progress li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 170px;
}
/* connector between steps */
.progress li + li::before {
  content: "";
  position: absolute;
  right: calc(50% + 32px);
  width: calc(100% - 44px + clamp(10px, 3vw, 26px));
  top: 21px;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    rgba(204, 217, 245, 0.35) 0 4px, transparent 4px 12px);
}
/* the flown leg (into the current step): bright dashes marching forward */
.progress .p-current::before {
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, 0.95) 0 4px, transparent 4px 12px);
  filter: drop-shadow(0 0 6px rgba(134, 172, 229, 0.8));
  animation: p-dash-march 0.9s linear infinite;
}
@keyframes p-dash-march {
  to { background-position: 12px 0; }
}
.p-dot {
  position: relative;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(204, 217, 245, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-weight: var(--weight-title);
  font-size: 16px;
  color: rgba(204, 217, 245, 0.75);
  background: rgba(45, 48, 53, 0.5);
}
.p-dot svg { width: 19px; height: 19px; }
.p-label {
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s-muted);
  text-align: center;
  text-wrap: balance;
}
/* step 1 — done: filled blue, glowing, check pops in */
.progress .p-done .p-dot {
  background: var(--jetedco-blue);
  border-color: var(--jetedco-blue);
  color: #fff;
  box-shadow: 0 0 22px rgba(69, 137, 215, 0.65);
}
.progress .p-done .p-dot svg {
  animation: p-check-pop 0.5s cubic-bezier(0.5, 1.8, 0.4, 1) 0.25s both;
}
@keyframes p-check-pop {
  from { transform: scale(0) rotate(-30deg); }
  to   { transform: scale(1) rotate(0); }
}
/* step 2 — current: white ring, glassy core, radar ping */
.progress .p-current .p-dot {
  border-color: #fff;
  border-width: 2.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 0 30px rgba(134, 172, 229, 0.5);
}
.progress .p-current .p-dot::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: p-ping 2.4s ease-out 1.2s infinite;
  opacity: 0;
}
@keyframes p-ping {
  0%   { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.9); opacity: 0; }
}
.progress .p-current .p-label {
  color: #fff;
  text-shadow: 0 0 14px rgba(134, 172, 229, 0.8);
}
/* the plane: flies in along the completed leg, then hovers on station */
.p-plane {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 36px; height: 36px;
  margin-left: -18px;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
  animation: p-fly 1.7s cubic-bezier(0.3, 0.8, 0.3, 1) 0.4s both;
}
.p-plane img {
  width: 100%; height: 100%;
  animation: p-hover 3.4s ease-in-out 2.3s infinite;
}
@keyframes p-fly {
  0%   { transform: translate(-170px, 44px) scale(0.7) rotate(10deg); opacity: 0; }
  25%  { opacity: 1; }
  70%  { transform: translate(14px, -26px) scale(1.04) rotate(-4deg); }
  100% { transform: translate(0, -20px) scale(1) rotate(0); opacity: 1; }
}
@keyframes p-hover {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
/* reduced motion: the global kill switch stops the animations; park the
   plane at its resting point so it doesn't sit at the keyframe start */
@media (prefers-reduced-motion: reduce) {
  .p-plane { transform: translate(0, -20px); opacity: 1; }
}

/* ---- Section 2: Before You Book video (16:9, wider than the page-1 VSL) ---- */
.section-byb { padding-block: clamp(8px, 1.5vw, 20px) clamp(48px, 7vw, 90px); text-align: center; }
.section-byb .section-lede { margin-inline: auto; }
/* Vidalytics player is 4:5 portrait — same treatment as the page-1 VSL;
   height comes from the embed's own padding-top */
.section-byb .video-embed { aspect-ratio: auto; }

/* twin CTAs under the video: book now, or detour to the proof */
.video-ctas {
  margin-top: clamp(26px, 4vw, 44px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
}
.btn-ghost {
  background: transparent;
  color: var(--s-ink);
  border: 2px solid rgba(204, 217, 245, 0.38);
  --btn-glow: rgba(204, 217, 245, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover {
  border-color: rgba(204, 217, 245, 0.85);
  background: rgba(204, 217, 245, 0.07);
}
@media (max-width: 560px) {
  .video-ctas { flex-direction: column; }
  .video-ctas .btn { width: 100%; max-width: 340px; text-align: center; }
}

/* ---- Shared media placeholder (testimonials, clips, case study) ---- */
.media-ph {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(69, 137, 215, 0.16), rgba(45, 48, 53, 0.55));
  color: #fff;
  font-weight: var(--weight-subtitle);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.media-ph .video-play-badge { width: 56px; height: 56px; }
.media-ph .video-play-badge::after { border-width: 10px 0 10px 17px; }
.media-ph svg { width: 42px; height: 42px; opacity: 0.65; }

/* ---- Featured testimonial (follows the light calendar section) ---- */
.section-featured { padding-top: clamp(8px, 2vw, 24px); }
.feat-t {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  background: var(--s-card);
  border: 1px solid var(--s-border);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 18px 50px rgba(45, 48, 53, 0.10);
}
@media (max-width: 760px) {
  .feat-t { grid-template-columns: 1fr; }
}
.feat-t-media {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.feat-t-media img, .feat-t-media video, .feat-t-media iframe {
  width: 100%; height: 100%; object-fit: cover; border: 0;
}
.feat-t-cta {
  display: flex;
  justify-content: center;
}

/* ---- Calendar (first light section after the dark-to-light seam) ---- */
.section-calendar { text-align: center; padding-top: clamp(16px, 3vw, 40px); }
.eyebrow-blue {
  color: var(--jetedco-blue);
  margin-bottom: 10px;
}
.section-calendar h2 { margin-bottom: 0.5em; }
.calendar-lede {
  margin-inline: auto;
  margin-bottom: clamp(24px, 4vw, 36px);
  max-width: 48ch;
}
.calendar-embed {
  position: relative;
  min-height: 480px;
  /* starting height only — once Calendly loads, app.js resizes the box to
     the widget's own content height so it never scrolls internally */
  height: min(640px, 90vh);
  transition: height 0.25s ease;
  border-radius: 14px;
  overflow: hidden;
  background: var(--s-card);
  border: 1px solid var(--s-border);
  box-shadow: 0 14px 44px rgba(45, 48, 53, 0.10);
}
.calendar-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.calendar-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  color: var(--s-muted);
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}
.calendar-placeholder small { text-transform: none; letter-spacing: 0; }

/* ---- Section 8: media feature (founder spotlight over the world map) ---- */
.section-press h2 { text-align: center; }
.section-press .section-lede { margin-inline: auto; text-align: center; margin-bottom: 40px; }
.press-feat {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
  background: var(--s-card);
  border: 1px solid var(--s-border);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 760px) {
  .press-feat { grid-template-columns: 1fr; }
}
.press-photo {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}
.press-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
/* magazine-cover composition: photo base, masthead layered over it with a
   soft radial mask cut around Jordan's head so the letters read as behind
   him — same treatment as SFBW's actual covers */
.press-cover {
  position: relative;
  container-type: inline-size;
}
.press-cover .cover-photo {
  position: absolute;
  inset: 0;
  object-position: 50% 22%;
}
.cover-redbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.6cqw;
  background: #C43A2F;
  z-index: 3;
}
/* soft corner scrim so the lockup reads over the bright window light */
.cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(140deg,
    rgba(20, 22, 26, 0.62) 0%,
    rgba(20, 22, 26, 0.30) 32%,
    rgba(20, 22, 26, 0) 58%);
}
/* masthead lockup pinned top-left, editorial style */
.cover-mast {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6cqw 0 0 6cqw;
  pointer-events: none;
}
.cover-strip {
  font-weight: var(--weight-title);
  font-size: 2.5cqw;
  letter-spacing: 0.24em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  margin-bottom: 1cqw;
}
.cover-sfbw {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 12cqw;
  line-height: 0.85;
  letter-spacing: 0.01em;
  color: #F4F1E8;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.press-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--weight-title);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jetedco-cream);
  border: 1px solid rgba(134, 172, 229, 0.45);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
/* masthead: publication mark rendered typographically */
.press-masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.press-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #17181b;
  border-top: 3px solid #C0392B;
  padding: 4px 10px 5px;
  border-radius: 3px;
}
.press-pubname {
  font-size: 13px;
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.06em;
  color: var(--s-muted);
}
.press-headline {
  font-size: clamp(20px, 2.6vw, 27px);
  margin-bottom: 12px;
  color: var(--s-ink);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.25;
}
.press-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.6;
  color: var(--s-muted);
  margin-bottom: 16px;
}
.press-note {
  font-size: 13px;
  font-weight: var(--weight-subtitle);
  color: var(--jetedco-cream);
  border-left: 3px solid rgba(134, 172, 229, 0.5);
  padding-left: 12px;
}
/* the quiet "coverage keeps coming" strip under the feature */
.press-more {
  max-width: 980px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--s-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 22px;
}
.press-more-label {
  font-weight: var(--weight-title);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--jetedco-cream);
}
.press-more-item { font-style: italic; }

/* ---- Section 9: podcast / educational clips ---- */
.section-clips h2 { text-align: center; }
.section-clips .section-lede { margin-inline: auto; text-align: center; margin-bottom: 40px; }
.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 26px);
  max-width: 1100px;
  margin-inline: auto;
}
.clip-card {
  background: var(--s-card);
  border: 1px solid var(--s-border);
  border-radius: 16px;
  overflow: hidden;
}
.clip-media { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.clip-media video, .clip-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.clip-body { padding: clamp(16px, 2.5vw, 24px); }
.clip-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.clip-title {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--s-ink);
}
.clip-runtime {
  flex: none;
  font-size: 12px;
  font-weight: var(--weight-subtitle);
  color: var(--jetedco-cream);
  border: 1px solid rgba(134, 172, 229, 0.45);
  border-radius: 100px;
  padding: 2px 10px;
}
.clip-desc { font-size: 13.5px; color: var(--s-muted); }

/* ---- Section 10: roles (photo veil tuned for dark neighbors) ---- */
.veil-roles {
  background: linear-gradient(180deg,
    #2D3035 0%,
    rgba(45, 48, 53, 0.55) 30%,
    rgba(45, 48, 53, 0.45) 70%,
    #2D3035 100%);
}
.section-roles { padding-top: clamp(56px, 9vw, 110px); }
.roles-heading { text-align: center; }
.roles-lede { margin-inline: auto; text-align: center; margin-bottom: 40px; }

/* ---- Section 11: relationship flow ---- */
.flow-lede { margin-inline: auto; text-align: center; }
.flow-footnote {
  margin-top: 36px;
  text-align: center;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: var(--weight-subtitle);
  color: var(--s-muted);
}

/* ---- Section 12: who we're looking for ---- */
.section-fit h2 { text-align: center; }
.section-fit .section-lede { margin-inline: auto; text-align: center; margin-bottom: 40px; }
/* flex (not grid) so all five cards sit in one row on desktop and a
   partial last row centers on smaller screens */
.fit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 24px);
  max-width: 1100px;
  margin-inline: auto;
}
.fit-card {
  flex: 1 1 185px;
  max-width: 280px;
  background: var(--s-card);
  border: 1px solid var(--s-border);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 30px) clamp(18px, 2.5vw, 24px);
  text-align: center;
  box-shadow: 0 6px 22px rgba(45, 48, 53, 0.07);
}
.fit-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(69, 137, 215, 0.10);
  display: flex; align-items: center; justify-content: center;
}
.fit-icon svg { width: 28px; height: 28px; color: var(--jetedco-blue); }
.fit-card h3 {
  font-size: clamp(15px, 1.8vw, 17px);
  margin-bottom: 8px;
  color: var(--s-ink);
}
.fit-card p { font-size: 13.5px; color: var(--s-muted); }
.fit-footnote {
  margin-top: 36px;
  text-align: center;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: var(--weight-subtitle);
  color: var(--s-ink);
  max-width: 52ch;
  margin-inline: auto;
}

/* ---- Section 15: final CTA (dark above and below) ---- */
.veil-cta {
  background: linear-gradient(180deg,
    #2D3035 0%,
    rgba(45, 48, 53, 0.45) 35%,
    rgba(45, 48, 53, 0.55) 70%,
    #2D3035 100%);
}
.section-final-cta .final-lede {
  margin-inline: auto;
  text-align: center;
}

/* ---- Footer additions ---- */
.footer-brand {
  font-weight: var(--weight-title);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: var(--s-ink) !important;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--s-muted);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--s-ink); text-decoration: underline; }
