/* ============================================
   PAGE 5 — MASTERCLASS REGISTRATION
   styles.css
   ============================================ */

/* ---------- HERO SECTION ---------- */
.p5-hero-section {
  background: var(--ivory);
  padding: 60px 0 48px;
}

.p5-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 48px;
  align-items: center;
}

.p5-welcome {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 12px;
}

.p5-hero-section .section-eyebrow {
  margin-bottom: 16px;
}

.p5-hero-headline {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-primary);
  margin-bottom: 24px;
}

.p5-hero-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 12px;
}

.p5-hero-emphasis {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--navy-primary);
  margin: 20px 0;
}

.p5-hero-micro {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-top: 16px;
}

.p5-hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

/* ---------- RECRUITER ATTRIBUTION ---------- */
.p5-recruiter-section {
  background: var(--ivory);
  padding: 0 0 24px;
}

.p5-recruiter-line {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-muted);
  text-align: center;
}

.p5-recruiter-line strong {
  color: var(--navy-primary);
}

/* ---------- RECAP SECTION ---------- */
.p5-recap-section {
  background: var(--ivory);
  padding: 0 0 60px;
}

.p5-recap-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.p5-recap-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 20px;
  text-align: center;
}

.p5-recap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.p5-recap-item {
  text-align: center;
}

.p5-recap-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.p5-recap-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-primary);
}

.p5-recap-purpose {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
}

.p5-recap-purpose-text {
  font-size: 14px;
  color: var(--text-body);
  margin-top: 4px;
}

.p5-recap-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
  margin-top: 16px;
}

/* ---------- WHAT TO EXPECT ---------- */
.p5-expect-section {
  background: var(--ivory-warm);
  padding: 64px 0;
}

.p5-expect-headline {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-primary);
  text-align: center;
  margin-bottom: 12px;
}

.p5-expect-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-muted);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 40px;
}

.p5-expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.p5-expect-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.p5-expect-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.p5-expect-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.p5-expect-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p5-expect-body {
  padding: 24px 22px 28px;
}

.p5-expect-num-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.p5-expect-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(166, 124, 61, 0.1);
  color: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p5-expect-icon svg {
  width: 16px;
  height: 16px;
}

.p5-expect-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-muted);
}

.p5-expect-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-primary);
  margin-bottom: 8px;
}

.p5-expect-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

/* ---------- REASSURANCE ---------- */
.p5-reassurance-section {
  background: var(--navy-primary);
  padding: 64px 0;
}

.p5-reassurance-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.p5-reassurance-headline {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ivory);
  margin-bottom: 24px;
}

.p5-reassurance-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-on-dark);
  margin-bottom: 12px;
}

/* ---------- WHO THIS IS FOR ---------- */
.p5-fit-section {
  background: var(--ivory);
  padding: 64px 0;
  scroll-margin-top: 100px;
}

.p5-fit-headline {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-primary);
  text-align: center;
  margin-bottom: 16px;
}

.p5-fit-intro {
  font-size: 16px;
  color: var(--text-body);
  text-align: center;
  margin-bottom: 28px;
}

.p5-fit-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
}

.p5-fit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-subtle);
}

.p5-fit-item:last-child {
  border-bottom: none;
}

.p5-fit-icon {
  flex-shrink: 0;
  color: var(--gold-muted);
}

/* ---------- BOOKING SECTION ---------- */
.p5-booking-section {
  background: var(--ivory-warm);
  padding: 64px 0;
}

.p5-booking-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 48px;
  align-items: center;
}

.p5-booking-content {
  text-align: left;
}

.p5-booking-section .section-eyebrow {
  margin-bottom: 16px;
  text-align: left;
}

.p5-booking-headline {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-primary);
  margin-bottom: 16px;
}

.p5-booking-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 28px;
}

.p5-booking-cta-wrap {
  margin-bottom: 16px;
}

.p5-booking-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.p5-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  background: var(--crimson);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(180, 35, 42, 0.3);
}

.p5-cta-button:hover {
  background: var(--crimson-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(180, 35, 42, 0.4);
}

.p5-cta-button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.p5-cta-button--disabled {
  background: var(--navy-secondary);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
  border: 1px solid rgba(216, 195, 154, 0.2);
}

.p5-cta-button--success {
  background: var(--green-success);
  color: var(--ivory);
  cursor: default;
  box-shadow: none;
  border: 1px solid var(--green-success);
}

.p5-cta-button--success:hover {
  background: var(--green-success-hover);
  border-color: var(--green-success-hover);
}

.p5-booking-status {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

.p5-booking-micro {
  font-size: 12px;
  color: var(--text-light);
}

/* ---------- WHAT HAPPENS AFTER ---------- */
.p5-after-section {
  background: var(--ivory);
  padding: 64px 0;
}

.p5-after-headline {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-primary);
  text-align: center;
  margin-bottom: 40px;
}

.p5-after-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.p5-after-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.p5-after-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p5-after-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-primary);
  margin-bottom: 6px;
}

.p5-after-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}

/* ---------- PRE-BOOKING NOTE ---------- */
.p5-note-section {
  background: var(--ivory-warm);
  padding: 40px 0;
}

.p5-note-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.p5-note-headline {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-primary);
  margin-bottom: 12px;
}

.p5-note-body {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 10px;
}

.p5-note-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-bottom: 12px;
}

.p5-note-list li {
  font-size: 13px;
  color: var(--text-body);
  position: relative;
  padding-left: 14px;
}

.p5-note-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-muted);
  font-weight: 700;
}

.p5-note-closing {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-muted);
}

/* ---------- FINAL CTA CLOSE ---------- */
.p5-final-section {
  background: var(--navy-primary);
  padding: 72px 0 64px;
}

.p5-final-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 48px;
  align-items: center;
}

.p5-final-content {
  text-align: left;
}

.p5-final-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.p5-final-headline {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ivory);
  margin-bottom: 24px;
}

.p5-final-headline-line {
  display: block;
}

.p5-final-headline-accent {
  color: var(--gold-light);
}

.p5-final-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-on-dark);
  margin-bottom: 12px;
}

.p5-final-reassurance {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1.8;
  margin: 24px 0;
}

.p5-final-cta-wrap {
  margin-bottom: 20px;
}

.p5-final-status {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  margin-top: 12px;
  font-style: italic;
}

.p5-final-micro {
  font-size: 12px;
  color: var(--text-on-dark-muted);
  margin-top: 10px;
}

.p5-final-trust {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  line-height: 1.8;
}

.p5-final-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(166, 124, 61, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.p5-final-philosophy {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  text-align: center;
  margin-top: 48px;
  line-height: 1.8;
}

.p5-cta-button--final {
  margin-top: 8px;
}

.p5-final-micro {
  font-size: 12px;
  color: var(--text-on-dark-muted);
  margin-top: 16px;
}

/* ---------- PRE-BOOKING CONTACT CAPTURE ---------- */
.p5-contact-section {
  background: var(--ivory);
  padding: 48px 0 32px;
}

.p5-contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.p5-contact-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-muted);
  text-align: center;
  margin-bottom: 8px;
}

.p5-contact-headline {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-primary);
  text-align: center;
  margin-bottom: 8px;
}

.p5-contact-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
}

.p5-contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}

.p5-contact-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.p5-contact-field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--navy-primary);
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.p5-contact-field input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.p5-contact-field input:focus {
  outline: none;
  border-color: var(--gold-muted);
  box-shadow: 0 0 0 3px rgba(166, 124, 61, 0.15);
}

.p5-contact-error {
  display: block;
  font-size: 13px;
  color: var(--crimson);
  text-align: center;
  min-height: 18px;
  line-height: 18px;
}

/* ---------- RESPONSIVE — TABLET ---------- */
@media (max-width: 960px) {
  .p5-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .p5-hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .p5-hero-content {
    text-align: center;
  }

  .p5-hero-section .section-eyebrow {
    text-align: center;
  }

  .p5-recap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p5-expect-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .p5-after-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .p5-booking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p5-booking-content {
    text-align: center;
  }

  .p5-booking-section .section-eyebrow {
    text-align: center;
  }

  .p5-booking-image {
    aspect-ratio: 16 / 9;
    max-width: 400px;
    margin: 0 auto;
  }

  .p5-final-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p5-final-content {
    text-align: center;
  }

  .p5-final-eyebrow {
    text-align: center;
  }

  .p5-final-image {
    aspect-ratio: 16 / 9;
    max-width: 400px;
    margin: 0 auto;
  }

  .p5-final-philosophy {
    margin-top: 40px;
  }

  .p5-contact-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- RESPONSIVE — MOBILE ---------- */
@media (max-width: 640px) {
  .p5-hero-section {
    padding: 40px 0 32px;
  }

  .p5-hero-headline {
    font-size: 20px;
  }

  .p5-hero-image {
    aspect-ratio: 16 / 10;
  }

  .p5-recap-card {
    padding: 20px;
  }

  .p5-recap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .p5-expect-section,
  .p5-reassurance-section,
  .p5-fit-section,
  .p5-booking-section,
  .p5-after-section,
  .p5-note-section {
    padding: 48px 0;
  }

  .p5-booking-image {
    aspect-ratio: 16 / 10;
    max-width: 100%;
  }

  .p5-cta-button {
    padding: 16px 28px;
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .p5-final-section {
    padding: 48px 0 40px;
  }

  .p5-final-headline {
    font-size: 20px;
  }

  .p5-final-headline-line:first-child {
    white-space: normal;
  }

  .p5-final-image {
    aspect-ratio: 16 / 10;
    max-width: 100%;
  }

  .p5-cta-button--final {
    width: 100%;
    justify-content: center;
  }

  .p5-final-philosophy {
    margin-top: 32px;
    font-size: 10px;
  }
}


/* Recruiter-specific booking continuation */
.booking-success-panel {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(201, 164, 92, 0.42);
  background: rgba(201, 164, 92, 0.08);
  text-align: center;
}
.booking-success-title {
  margin: 0 0 .45rem;
  color: #c9a45c;
  font-size: .78rem;
  letter-spacing: .14em;
  font-weight: 700;
}
.booking-success-copy { margin: 0 0 1rem; }
.booking-calendar-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.booking-calendar-link:hover { color: #c9a45c; }

/* Match the session selector to the contact fields. */
#masterclassSession { width:100%; padding:14px; border:1px solid #82724d;
  border-radius:8px; background:#17202b; color:#fff; font:inherit; }
#scheduleStatus { font-size:14px; line-height:1.5; margin:10px 0; }
#scheduleRetry { padding:10px 16px; border:1px solid #b79a54; border-radius:6px;
  background:transparent; color:inherit; cursor:pointer; }
.p5-cta-button:disabled { opacity:.6; cursor:wait; }
