/* The Hazel Academy — redesigned layout */

.nav-main a.is-active {
  color: var(--gold);
}

.academy-page .section-tight {
  padding: 3.5rem 0;
}

.section-header-left {
  text-align: left;
  max-width: none;
  margin: 0 0 2rem;
}

.section-header-left p {
  max-width: 36rem;
}

/* Intro: dark panel (left) + warm panel (right) */
.academy-intro {
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  background: #f2ece2;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 0;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.intro-copy {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem 2.5rem 0;
  color: var(--white);
}

.intro-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -2rem;
  bottom: -3.5rem;
  left: -100vw;
  right: -1.5rem;
  background:
    linear-gradient(165deg, #0f2419 0%, #1a3328 48%, #142a22 100%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 162, 77, 0.12), transparent 50%);
  border-radius: 0 14px 14px 0;
}

.intro-form-wrap {
  padding: 1.5rem 0 1.5rem 2rem;
  background: transparent;
}

.intro-copy .eyebrow {
  margin-bottom: 0.75rem;
}

.intro-copy h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.intro-copy .text-gold {
  color: var(--gold-light);
}

.intro-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  max-width: 28rem;
}

.intro-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.intro-highlights li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.5rem;
}

.intro-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
}

.intro-price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  background: rgba(201, 162, 77, 0.2);
  border: 1px solid rgba(201, 162, 77, 0.45);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.intro-price-pill strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
}

.intro-price-pill span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.page-jump a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-jump a:hover {
  color: var(--white);
}

.register-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-elegant);
  border: 1px solid rgba(15, 36, 25, 0.08);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.register-card-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 36, 25, 0.08);
}

.register-card-head h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.register-card-head p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-body);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-block {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-block legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
  padding: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(15, 36, 25, 0.15);
  border-radius: var(--radius);
  color: var(--text-dark);
  background: var(--cream);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field textarea {
  min-height: auto;
  resize: vertical;
}

.btn-block {
  width: 100%;
  margin-top: 0.25rem;
}

.register-note {
  font-size: 0.78rem;
  color: var(--text-body);
  margin: 0;
  text-align: center;
  line-height: 1.45;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.85rem;
  color: #8b2e2e;
  background: rgba(139, 46, 46, 0.08);
  border: 1px solid rgba(139, 46, 46, 0.25);
  border-radius: var(--radius);
}

.form-confirmation {
  display: none;
  padding: 1.5rem;
  background: rgba(201, 162, 77, 0.12);
  border: 1px solid rgba(201, 162, 77, 0.35);
  border-radius: var(--radius);
  text-align: center;
}

.form-confirmation.is-visible {
  display: block;
}

.form-confirmation h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.form-confirmation p {
  margin: 0;
  font-size: 0.9rem;
}

/* Program — dark band */
.academy-program .section-header-left h2,
.academy-program .section-header-left h2 .text-gold {
  color: var(--white);
}

.academy-program .program-lead {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.day-card {
  background: var(--green-card);
  border: 1px solid rgba(201, 162, 77, 0.28);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.day-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.day-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.day-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.program-includes {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 52rem;
  margin: 0 0 1.5rem;
}

.program-cta {
  margin: 0;
}

/* Paths */
.academy-paths {
  background: var(--cream);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.path-card {
  background: var(--white);
  border: 1px solid rgba(15, 36, 25, 0.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elegant);
}

.path-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--green-dark);
}

.path-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.45;
}

/* Instructor */
.academy-instructor {
  background: #f2ece2;
  border-top: 1px solid rgba(15, 36, 25, 0.08);
  border-bottom: 1px solid rgba(15, 36, 25, 0.08);
}

.instructor-row {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.instructor-row img {
  width: 108px;
  height: 108px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  border: 2px solid rgba(201, 162, 77, 0.55);
  box-shadow: var(--shadow-card);
}

.instructor-row h2 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.instructor-row p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 40rem;
  color: var(--text-body);
}

/* FAQ */
.academy-page #faq {
  background: var(--cream);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 40rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 36, 25, 0.08);
  overflow: hidden;
}

.faq-item summary {
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  font-size: 0.88rem;
  color: var(--text-body);
  border-top: 1px solid rgba(15, 36, 25, 0.06);
  padding-top: 0.85rem;
}

.disclaimer-details summary {
  font-weight: 500;
  color: var(--text-body);
}

/* Sticky mobile CTA */
.academy-sticky-cta {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 8px 24px rgba(15, 36, 25, 0.25);
}

@media (max-width: 1100px) {
  .paths-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .academy-intro {
    background: #f2ece2;
    padding-bottom: 2.5rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 1.25rem;
  }

  .intro-copy {
    padding: 2rem 1.25rem 2rem;
    margin: 0 -1.25rem;
  }

  .intro-copy::before {
    left: -1.25rem;
    right: -1.25rem;
    border-radius: 0;
    top: 0;
    bottom: 0;
  }

  .intro-form-wrap {
    padding: 2rem 0 0;
  }

  .register-card {
    position: static;
  }

  .program-grid,
  .paths-grid {
    grid-template-columns: 1fr;
  }

  .academy-sticky-cta {
    display: inline-flex;
  }

  body.academy-page:has(.form-confirmation.is-visible) .academy-sticky-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .instructor-row {
    flex-direction: column;
    text-align: center;
  }

  .register-card {
    padding: 1.25rem;
  }
}
