/* ==========================================================================
   JUNO Institute — styles.css
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Reset & base -------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #2d2d2d;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* --- Colour tokens ------------------------------------------------------- */

:root {
  --black:   #0d0f14;
  --orange:  #D94F2B;
  --orange-dark: #b83e1f;
  --white:   #ffffff;
  --grey-bg: #f5f5f3;
  --text:    #2d2d2d;
  --muted:   #6b7280;
  --border:  #e5e7eb;
}

/* --- Typography ---------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  color: inherit;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; font-weight: 700; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
}

.lead-dark {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* --- Layout helpers ------------------------------------------------------ */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--grey {
  background: var(--grey-bg);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.14);
}

.btn-hero-download {
  margin-top: 28px;
  display: inline-flex;
}

.btn-hero-download:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: #b0b7c3;
  background: transparent;
}

.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1.05rem;
}

/* --- Nav dropdowns ------------------------------------------------------- */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: color 0.15s;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--black);
}

.nav-arrow {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--grey-bg);
}

.nav-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.nav-item-desc {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 1px;
}

.nav-dropdown-menu a:hover .nav-item-name {
  color: var(--black);
}

/* Mobile dropdown accordion */
.nav-mobile-group {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-mobile-trigger {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  padding: 12px 0;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-mobile-group-links {
  display: none;
  padding-bottom: 8px;
}

.nav-mobile-group.open .nav-mobile-group-links {
  display: block;
}

.nav-mobile-group.open .nav-mobile-trigger .nav-arrow {
  transform: rotate(180deg);
}

.nav-mobile-group-links a {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 8px 0 8px 12px;
  border-bottom: none !important;
}

.nav-mobile-group-links a:hover {
  color: var(--black);
}

/* --- Social proof bar ---------------------------------------------------- */

.social-proof-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.social-proof-stat {
  flex: 1;
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}

.social-proof-stat:last-child {
  border-right: none;
}

.social-proof-number {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.social-proof-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

/* --- Video testimonials -------------------------------------------------- */

.video-section {
  background: var(--black);
  color: var(--white);
  padding: 96px 0;
}

.video-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

.video-featured {
  margin-bottom: 24px;
}

.video-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 700px) {
  .social-proof-inner {
    flex-direction: column;
    gap: 24px;
  }

  .social-proof-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 24px;
    width: 100%;
  }

  .social-proof-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .video-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

/* --- Navigation ---------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 5px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--black);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 160px 0 96px;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/Landingpage1.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  animation: hero-bg-fade 2s ease 4s forwards;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1;
}

@keyframes hero-bg-fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.hero h1 {
  position: relative;
  overflow: visible;
  margin-bottom: 24px;
  z-index: 2;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Alumni carousel ----------------------------------------------------- */

.alumni-strip {
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.alumni-strip-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  text-align: center;
}

.carousel-outer {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: carousel-scroll 45s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-track img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.2s, filter 0.2s;
  object-fit: contain;
}

.carousel-track img[src="images/EssendonFC_A.png"],
.carousel-track img[src="images/Bupa.png"],
.carousel-track img[src="images/homesglen.png"],
.carousel-track img[src="images/DV.png"],
.carousel-track img[src="images/Morningtonshire.png"] {
  height: 60px;
}

.carousel-track img:hover {
  opacity: 1;
  filter: grayscale(0);
}

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Cards --------------------------------------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.card--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
}

.card-step {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
}

.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(217,79,43,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card--dark p {
  color: rgba(255,255,255,0.65);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 20px;
}

.card-link:hover {
  gap: 10px;
}

/* --- Pricing cards ------------------------------------------------------- */

@keyframes pricing-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card--animate-pending {
  opacity: 0;
}

.pricing-card--animating {
  animation: pricing-fade-up 1.4s ease-out both;
}

.pricing-card--animating:nth-child(1) { animation-delay: 0.1s; }
.pricing-card--animating:nth-child(2) { animation-delay: 0.4s; }
.pricing-card--animating:nth-child(3) { animation-delay: 0.7s; }
.pricing-card--animating:nth-child(4) { animation-delay: 1.0s; }
.pricing-card--animating:nth-child(5) { animation-delay: 1.3s; }

@keyframes pricing-org-glow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(232, 80, 10, 0.2), 0 0 0 rgba(232, 80, 10, 0); }
  50%       { box-shadow: 0 0 0 2px rgba(232, 80, 10, 0.65), 0 0 22px rgba(232, 80, 10, 0.28); }
}

.pricing-card--org {
  background: #1a1a1a;
  border-color: transparent;
  position: relative;
}

.pricing-card--org::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  animation: pricing-org-glow 2s ease-in-out infinite;
  pointer-events: none;
}

.pricing-card--org h3            { color: var(--white); }
.pricing-card--org .pricing-price { color: var(--orange); font-size: 1.6rem; }
.pricing-card--org .pricing-desc  { color: rgba(255,255,255,0.6); }
.pricing-card--org .pricing-features li        { color: rgba(255,255,255,0.82); border-color: rgba(255,255,255,0.1); }
.pricing-card--org .pricing-best-for           { color: rgba(255,255,255,0.6); }
.pricing-card--org .pricing-best-for strong    { color: var(--orange); }
.pricing-card--org:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.45); }

@media (max-width: 768px) {
  .pricing-card--org {
    max-width: 100%;
    box-sizing: border-box;
  }
  .pricing-card--org > div {
    flex-direction: column;
  }
  .pricing-card--org > div > * {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .pricing-card--org .pricing-features {
    margin-bottom: 16px !important;
  }
  .pricing-card--org .btn-primary {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
  }
  .pricing-card--org a[href*=".pdf"] {
    display: block;
    text-align: center;
    width: 100%;
  }
}

.pricing-card--featured {
  border-color: var(--orange);
  background: #fef7f5;
}

.pricing-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: rgba(217,79,43,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}

.pricing-card h3 {
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 12px 0 4px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 9px;
}

.pricing-best-for {
  margin: 16px 0 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.pricing-best-for strong {
  color: var(--orange);
  font-weight: 700;
}

/* --- Testimonial --------------------------------------------------------- */

.testimonial-section {
  background: var(--black);
  color: var(--white);
  padding: 96px 0;
}

.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
}

.testimonial-quote::before {
  content: '\201C';
  color: var(--orange);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 4px;
}

.testimonial-quote::after {
  content: '\201D';
  color: var(--orange);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5rem;
  margin-left: 4px;
}

.testimonial-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero pull-quote variant — larger, full width */
.testimonial-section--hero {
  padding: 120px 0;
}

.testimonial-section--hero .testimonial-inner {
  max-width: 100%;
}

.testimonial-section--hero .testimonial-quote {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.35;
}

.testimonial-section--hero .testimonial-quote::before {
  font-size: 4rem;
  display: inline;
  vertical-align: top;
  margin-right: 4px;
  line-height: 1;
}

.testimonial-section--hero .testimonial-quote::after {
  font-size: 5rem;
  vertical-align: -0.65rem;
}

.testimonial-section--hero .testimonial-author {
  font-size: 1rem;
  margin-top: 8px;
}

/* Light variant — white bg, dark text, orange quote marks */
.testimonial-section--light {
  background: var(--white);
  color: var(--text);
}

.testimonial-section--light .testimonial-quote {
  color: var(--text);
}

.testimonial-section--light .testimonial-author {
  color: var(--muted);
}

/* --- Two column content -------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col--reversed .two-col-image {
  order: 2;
}

.two-col-image {
  background: var(--grey-bg);
  border-radius: 12px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.two-col-image--photo {
  position: relative;
  overflow: hidden;
}

.two-col-image--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.two-col-image--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: inherit;
}

.two-col-image--badge {
  background: none;
  border-radius: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.two-col-image--badge::after {
  display: none;
}

/* Desktop: text appears in left column, badge right */
.two-col--badge-layout .two-col-image--badge {
  order: 2;
}

.two-col--badge-layout .two-col-text {
  order: 1;
}

/* --- What it is: read more expand/collapse -------------------------------*/

.what-it-is-teaser {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 16px;
}

.teaser-wrap {
  position: relative;
  max-height: 3.4em;
  overflow: hidden;
  margin-bottom: 12px;
  transition: max-height 0.4s ease;
}

.teaser-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.2em;
  background: linear-gradient(to bottom, transparent, var(--black));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.teaser-wrap.expanded {
  max-height: 300px;
}

.teaser-wrap.expanded::after {
  opacity: 0;
}

.read-more-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.read-more-body.expanded {
  max-height: 600px;
  opacity: 1;
}

.read-more-body p {
  margin-bottom: 16px;
}

.read-more-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.read-more-toggle:hover {
  opacity: 0.75;
}

.read-more-toggle::after {
  content: '›';
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.read-more-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.badge-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  max-width: 320px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-card img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 901px) {
  .two-col--badge-layout {
    align-items: flex-start;
  }

  .two-col--badge-layout .two-col-image--badge {
    align-items: center;
    position: sticky;
    top: 120px;
  }

  .two-col--badge-layout .badge-card {
    width: 100%;
    max-width: none;
    min-height: 360px;
  }
}

/* --- Program overview card ---------------------------------------------- */

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.program-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.program-card h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text);
}

.program-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.program-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

/* --- CTA band ------------------------------------------------------------ */

.cta-band {
  background: var(--orange);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
}

/* --- Stats --------------------------------------------------------------- */

.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 140px;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.stat-label-dark {
  font-size: 0.9rem;
  color: var(--muted);
}

@keyframes badge-stamp {
  from { transform: scale(1.2) rotate(3deg); }
  to   { transform: scale(1)   rotate(0deg); }
}

/* --- Feature list -------------------------------------------------------- */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(217,79,43,0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.feature-text h4 {
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* --- Form --------------------------------------------------------------- */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(217,79,43,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-top: 12px;
}

/* --- Team cards ---------------------------------------------------------- */

.team-card {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grey-bg);
  margin: 0 auto 16px;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- Footer ------------------------------------------------------------- */

.footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand span { color: var(--orange); }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-contact a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
  transition: color 0.15s;
}

.footer-contact a:hover { color: var(--white); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* --- Info box ------------------------------------------------------------ */

.info-box {
  background: rgba(217,79,43,0.08);
  border-left: 3px solid var(--orange);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 32px 0;
}

.info-box p {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
}

/* --- Page hero (inner pages) -------------------------------------------- */

.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 140px 0 80px;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero .lead-dark {
  max-width: 600px;
}

.hero-clarity {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  max-width: 560px;
  margin-bottom: 12px;
  opacity: 0.9;
}

/* --- Dividers ------------------------------------------------------------ */

.divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 20px 0 28px;
}

/* --- Delivery model comparison ------------------------------------------ */

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.delivery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
}

.delivery-card h3 {
  margin-bottom: 16px;
}

.delivery-card ul {
  margin-top: 16px;
}

.delivery-card ul li {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.delivery-card ul li:last-child { border-bottom: none; }

.delivery-card ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 10px;
}

/* --- PTW individual pricing summary ---------------------------------------- */

.ptw-pricing-summary {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 20px;
  letter-spacing: 0.01em;
}

.ptw-pricing-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 6px;
}

/* --- PTW tier panel -------------------------------------------------------- */

.ptw-tier-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.ptw-tier-panel.open {
  max-height: 2400px;
  opacity: 1;
  margin-top: 36px;
}

.ptw-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ptw-tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.ptw-tier-card--featured {
  border-top: 3px solid var(--orange);
}

.ptw-tier-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin: 8px 0 12px;
}

.ptw-tier-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 10px;
}

.ptw-tier-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.ptw-tier-includes {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 8px;
}

.ptw-tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.ptw-tier-list li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ptw-tier-list li:last-child { border-bottom: none; }

.ptw-tier-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .ptw-tier-grid {
    grid-template-columns: 1fr;
  }
  .ptw-tier-panel.open {
    max-height: 3600px;
  }
}

/* --- PTW "How to join" dark section ---------------------------------------- */

.section--ptw-join {
  background: var(--black);
}

.section--ptw-join h2 {
  color: var(--white);
}

.section--ptw-join .lead {
  color: #9ca3af;
}

.section--ptw-join .delivery-card {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: #9ca3af;
}

.section--ptw-join .delivery-card h3 {
  color: var(--white);
}

.section--ptw-join .delivery-card ul li {
  color: #d1d5db;
  border-bottom-color: #3a3a3a;
}

.section--ptw-join .ptw-pricing-summary {
  color: var(--white);
}

.section--ptw-join .ptw-tier-card {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

.section--ptw-join .ptw-tier-desc {
  color: #9ca3af;
}

.section--ptw-join .ptw-tier-includes {
  color: #d1d5db;
}

.section--ptw-join .ptw-tier-list li {
  color: #d1d5db;
  border-bottom-color: #3a3a3a;
}

/* ==========================================================================
   PTW — Program content accordion
   ========================================================================== */

.ptw-content-section {
  background: var(--black);
}

.ptw-content-section .section-header h2 {
  color: var(--white);
}

.ptw-content-subline {
  color: #6b7280;
  font-size: 0.97rem;
  margin-top: 8px;
}

.ptw-accordion {
  max-width: 760px;
  margin: 0 auto;
  margin-top: 48px;
  position: relative;
  padding-left: 56px;
}

.ptw-accordion::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #F15A29;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.5s ease-in-out;
}

.ptw-accordion.in-view::before {
  transform: scaleY(1);
}

.ptw-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ptw-accordion-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ptw-accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.ptw-accordion-num {
  position: absolute;
  left: -56px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid #F15A29;
  color: #F15A29;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.ptw-accordion-topic-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #F15A29;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.ptw-accordion-topic-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* --- Icon hover animations --- */

/* 1. Heart — double pulse */
@keyframes ptw-heartbeat {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.35); }
  40%  { transform: scale(1); }
  60%  { transform: scale(1.35); }
  80%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.ptw-accordion-item:hover .ptw-icon-heart svg,
.ptw-accordion-item.animate .ptw-icon-heart svg {
  animation: ptw-heartbeat 0.8s ease;
}

/* 2. Compass — 360° spin + N north label */
@keyframes ptw-compass-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ptw-icon-compass::after {
  content: 'N';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.48rem;
  font-weight: 700;
  color: #F15A29;
  opacity: 0;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
  transition: opacity 0.2s ease;
}

.ptw-accordion-item:hover .ptw-icon-compass svg,
.ptw-accordion-item.animate .ptw-icon-compass svg {
  animation: ptw-compass-spin 1s ease;
}

.ptw-accordion-item:hover .ptw-icon-compass::after,
.ptw-accordion-item.animate .ptw-icon-compass::after {
  opacity: 1;
  transition-delay: 0.78s;
}

/* 3. Application strategy — file-text crossfades to mail, @ fades in */
.ptw-icon-mail {
  position: relative;
}

/* After createIcons(), .ptw-mail-doc and .ptw-mail-env are SVGs */
.ptw-mail-doc,
.ptw-mail-env {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  transition: opacity 0.4s ease;
}

.ptw-mail-doc { opacity: 1; }
.ptw-mail-env { opacity: 0; }

.ptw-icon-mail::after {
  content: '@';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 700;
  color: #F15A29;
  font-family: 'Inter', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ptw-accordion-item:hover .ptw-mail-doc,
.ptw-accordion-item.animate .ptw-mail-doc {
  opacity: 0;
}

.ptw-accordion-item:hover .ptw-mail-env,
.ptw-accordion-item.animate .ptw-mail-env {
  opacity: 1;
}

.ptw-accordion-item:hover .ptw-icon-mail::after,
.ptw-accordion-item.animate .ptw-icon-mail::after {
  opacity: 1;
  transition-delay: 0.4s;
}

/* 4. Message-circle — scales up, second bubble appears top-right */
@keyframes ptw-message-grow {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.ptw-icon-message::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 9px;
  height: 9px;
  border: 1.5px solid #F15A29;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ptw-accordion-item:hover .ptw-icon-message svg,
.ptw-accordion-item.animate .ptw-icon-message svg {
  animation: ptw-message-grow 0.7s ease;
}

.ptw-accordion-item:hover .ptw-icon-message::after,
.ptw-accordion-item.animate .ptw-icon-message::after {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.22s;
}

/* 5. Mindset — zap flashes then crossfades to glowing lightbulb */
.ptw-icon-zap {
  width: 20px;
  height: 20px;
}

.ptw-icon-zap svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.ptw-icon-zap svg:nth-child(1) {
  opacity: 1;
}

.ptw-icon-zap svg:nth-child(2) {
  opacity: 0;
}

.ptw-accordion-item:hover .ptw-icon-zap svg:nth-child(1),
.ptw-accordion-item.animate .ptw-icon-zap svg:nth-child(1) {
  opacity: 0;
  filter: drop-shadow(0 0 5px #F15A29);
  transition: opacity 0.15s ease 0.1s, filter 0.25s ease;
}

.ptw-accordion-item:hover .ptw-icon-zap svg:nth-child(2),
.ptw-accordion-item.animate .ptw-icon-zap svg:nth-child(2) {
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(241, 90, 41, 0.7));
  transition: opacity 0.3s ease 0.22s, filter 0.3s ease 0.22s;
}

/* 6. Mentoring — two user icons slide together with bounce */
.ptw-icon-users {
  width: 32px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* After lucide.createIcons(), .ptw-user-left and .ptw-user-right ARE the SVGs */
.ptw-icon-users svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: static;
}

.ptw-user-left,
.ptw-user-right {
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ptw-accordion-item:hover .ptw-user-left,
.ptw-accordion-item.animate .ptw-user-left {
  transform: translateX(4px);
}

.ptw-accordion-item:hover .ptw-user-right,
.ptw-accordion-item.animate .ptw-user-right {
  transform: translateX(-4px);
}

.ptw-accordion-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  flex: 1;
  line-height: 1.4;
  transition: color 0.2s;
}

.ptw-accordion-trigger:hover .ptw-accordion-title {
  color: rgba(255, 255, 255, 0.7);
}

.ptw-accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease;
}

.ptw-accordion-icon::before,
.ptw-accordion-icon::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.ptw-accordion-icon::before { width: 10px; height: 2px; }
.ptw-accordion-icon::after  { width: 2px; height: 10px; }

.ptw-accordion-item.open .ptw-accordion-icon {
  border-color: var(--orange);
}

.ptw-accordion-item.open .ptw-accordion-icon::before,
.ptw-accordion-item.open .ptw-accordion-icon::after {
  background: var(--orange);
}

.ptw-accordion-item.open .ptw-accordion-icon::after {
  transform: scaleY(0);
}

.ptw-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ptw-accordion-body-inner {
  padding-bottom: 24px;
  color: #d1d5db;
  font-size: 0.97rem;
  line-height: 1.7;
  padding-left: 0;
}

/* PTW participant quote + video testimonials */

.ptw-participant-quote {
  border-left: 3px solid var(--orange);
  margin: 24px 0 0;
  padding: 12px 0 12px 20px;
}

.ptw-participant-quote p {
  margin: 0 0 8px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.ptw-participant-quote cite {
  font-size: 0.875rem;
  font-style: normal;
  color: var(--muted);
  display: block;
}

.ptw-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.ptw-video-testimonials {
  margin-top: 28px;
}

.ptw-video-testimonials__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 12px;
}

.ptw-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ptw-video-card {
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}

.ptw-video-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.ptw-video-card--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ptw-video-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.ptw-video-coming {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
}

/* PTW "What it is" — read-more fade treatment (mobile only) */

.ptw-teaser-wrap {
  position: relative;
}

.ptw-read-more-body p {
  margin-bottom: 16px;
}

.ptw-read-more-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
  margin-bottom: 20px;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.ptw-read-more-toggle:hover {
  opacity: 0.75;
}

.ptw-read-more-toggle::after {
  content: '›';
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.ptw-read-more-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .ptw-teaser-wrap {
    max-height: 4.8em;
    overflow: hidden;
    margin-bottom: 12px;
    transition: max-height 0.4s ease;
  }
  .ptw-teaser-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.2em;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .ptw-teaser-wrap.expanded {
    max-height: 300px;
  }
  .ptw-teaser-wrap.expanded::after {
    opacity: 0;
  }
  .ptw-read-more-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  .ptw-read-more-body.expanded {
    max-height: 400px;
    opacity: 1;
  }
  .ptw-read-more-toggle {
    display: inline-flex;
  }
  .section--ptw-intro .two-col--ptw-intro .two-col-image--photo {
    order: 1 !important;
  }

  #job-search-trap .two-col-image--photo {
    order: 1 !important;
  }
  .ptw-accordion {
    padding-left: 44px;
  }
  .ptw-accordion::before {
    left: 8px;
  }
  .ptw-accordion-num {
    left: -44px;
  }
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col-image {
    height: 240px;
    order: -1 !important;
  }

  .two-col-image--badge {
    height: auto;
    order: 0;
  }

  .two-col--badge-layout .two-col-image--badge {
    order: 0;
  }

  .two-col--badge-layout .two-col-text {
    order: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .page-hero {
    padding: 120px 0 64px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .stats-row {
    gap: 32px;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .stat {
    flex: 1;
    text-align: center;
    padding: 0;
  }

  .cta-band {
    padding: 56px 0;
  }

  .testimonial-section {
    padding: 64px 0;
  }

  .testimonial-section--hero .testimonial-quote {
    padding-left: 32px;
    padding-right: 32px;
  }

  .testimonial-section--hero .testimonial-quote::before {
    display: block;
    font-size: 4rem;
    margin-bottom: 8px;
  }

  .testimonial-section--hero .testimonial-quote::after {
    display: block;
    font-size: 4rem;
    margin-top: 16px;
    vertical-align: initial;
    line-height: 1;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .partner-logos {
    gap: 12px;
  }

  .partner-logo-box {
    width: 100px;
    height: 38px;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--orange);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Hero brandmark — rolling image
   ========================================================================== */

.hex-mark {
  position: absolute;
  width: clamp(180px, 25vw, 300px);
  height: auto;
  left: 72%;
  top: 50%;
  translate: 0 -50%;
  z-index: -1;
  opacity: 0;
  animation:
    hex-roll-in 4.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
    hex-pulse 3s ease-in-out 4.8s infinite;
}

@keyframes hex-roll-in {
  0% {
    opacity: 1;
    transform: translateX(calc(-100vw - 100%)) rotate(-720deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes hex-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

@keyframes hex-fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes hex-roll-in-mobile {
  0% {
    opacity: 1;
    transform: translateX(calc(-100vw - 100%)) rotate(-360deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@media (max-width: 768px) {
  .hex-mark {
    display: block;
    width: 180px;
    top: 50%;
    right: -15px;
    left: auto;
    translate: 0 -50%;
    animation:
      hex-roll-in-mobile 4.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
      hex-pulse 3s ease-in-out 4.8s infinite;
  }
}

/* ==========================================================================
   Program card hover
   ========================================================================== */

.program-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   FAQ section
   ========================================================================== */

.faq-section {
  background: var(--black);
  padding: 96px 0;
}

.faq-section h2 {
  color: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px; height: 10px; transition: transform 0.25s ease; }

.faq-item.open .faq-icon::after {
  transform: scaleY(0);
}

.faq-item.open .faq-icon {
  border-color: var(--orange);
  color: var(--orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ==========================================================================
   Calendly modal
   ========================================================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 0;
}

.modal-overlay.visible {
  opacity: 1;
}

.modal-box {
  background: var(--white);
  border-radius: 12px;
  width: min(820px, 95vw);
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.visible .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  line-height: 1;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.modal-close:hover {
  color: var(--text);
  background: var(--grey-bg);
}

.modal-body {
  flex: 1;
  overflow: auto;
}

.modal-body iframe {
  width: 100%;
  height: 680px;
  border: none;
  display: block;
}

/* ==========================================================================
   Video carousel
   ========================================================================== */

.video-carousel {
  width: 100%;
}

.carousel-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.video-carousel-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.video-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.video-slide {
  flex: 0 0 50%;
  padding: 0 10px;
  box-sizing: border-box;
}

.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 10px;
  margin-bottom: 0;
}

/* Carousel arrow buttons */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity 0.2s, filter 0.2s;
}

.carousel-btn:hover:not(:disabled) {
  filter: brightness(0.88);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .video-slide {
    flex: 0 0 100%;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-row {
    gap: 10px;
  }

  .section-watermark {
    display: none;
  }

  .badge-card {
    max-width: 220px;
    padding: 16px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Leadership Leap — brandmark animations
   ========================================================================== */

/* 1. Hero */
.page-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/* Right-side image panel — fades in after 3s */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background:
    linear-gradient(to right, var(--black) 0%, transparent 20%),
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../images/Landingpage1.jpg') center / cover no-repeat;
  z-index: 0;
  opacity: 0;
  animation: hero-right-img-fade 2s ease 2s forwards;
  pointer-events: none;
}

@keyframes hero-right-img-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero brandmark — fades in over 2s on load */
.hero-hex-bg {
  position: absolute;
  width: clamp(220px, 35vw, 400px);
  height: auto;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  animation: hero-hex-fade 2s ease 0.3s forwards;
}

@keyframes hero-hex-fade {
  from { opacity: 0; }
  to   { opacity: 0.35; }
}

/* Passport to Work stats — tighten gap below hero */
.page-hero--ptw + .section--dark {
  padding-top: 72px;
}

/* Passport to Work hero — right-side photo panel (same geometry as global ::before) */
.page-hero--ptw::before {
  background:
    linear-gradient(to right, var(--black) 0%, transparent 20%),
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../images/20221206_103924.jpg') center / cover no-repeat;
}

/* 2. Section brandmark watermarks */
.section--watermark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-watermark {
  position: absolute;
  width: 900px;
  height: auto;
  top: -120px;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

.section-watermark--right {
  right: -120px;
  width: 650px;
  transform: rotate(25deg);
}

.section-watermark--left {
  left: -120px;
  opacity: 0.35;
}

/* 3. How-it-works step cards */
.card--step {
  position: relative;
  overflow: hidden;
}

.card--step:hover {
  transform: none;
}

/* Step number circle — stays fixed, always in front */
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

/* Hex — absolute, starts aligned with step number */
.card--step .step-hex {
  position: absolute;
  top: 36px;
  left: 32px;
  width: 50px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

/* h3 and p sit above the hex (z-index 2), below step number (z-index 3) */
.card--step h3 {
  position: relative;
  z-index: 2;
}

.card--step p {
  position: relative;
  z-index: 2;
}

.card--step.hex-animating .step-hex {
  animation: step-hex-fall 2.2s linear forwards;
}

@keyframes step-hex-fall {
  /* ── Phase 1: Roll rightward ~half turn ── 0-28% */
  0%  { transform: translateX(0)                    translateY(0)                                       rotate(0deg);   opacity: 1;    }
  28% { transform: translateX(var(--hex-end-x, 150px)) translateY(0)                                   rotate(180deg); opacity: 1;    }
  /* ── Phase 2: Gravity fall — straight down, accelerating ── 28-72% */
  35% { transform: translateX(var(--hex-end-x, 150px)) translateY(calc(var(--hex-end-y, 150px) * 0.03)) rotate(200deg); opacity: 1; }
  45% { transform: translateX(var(--hex-end-x, 150px)) translateY(calc(var(--hex-end-y, 150px) * 0.14)) rotate(225deg); opacity: 1; }
  56% { transform: translateX(var(--hex-end-x, 150px)) translateY(calc(var(--hex-end-y, 150px) * 0.37)) rotate(255deg); opacity: 1; }
  66% { transform: translateX(var(--hex-end-x, 150px)) translateY(calc(var(--hex-end-y, 150px) * 0.70)) rotate(280deg); opacity: 1; }
  72% { transform: translateX(var(--hex-end-x, 150px)) translateY(var(--hex-end-y, 150px))               rotate(300deg); opacity: 1; }
  /* ── Phase 3: Brief settle at impact ── */
  77% { transform: translateX(var(--hex-end-x, 150px)) translateY(var(--hex-end-y, 150px))               rotate(308deg); opacity: 0.9; }
  /* ── Phase 4: Simple bounce up ── */
  85% { transform: translateX(var(--hex-end-x, 150px)) translateY(calc(var(--hex-end-y, 150px) - 14px))  rotate(314deg); opacity: 0.65; }
  /* ── Phase 5: Settle to final position ── */
  93% { transform: translateX(var(--hex-end-x, 150px)) translateY(var(--hex-end-y, 150px))               rotate(318deg); opacity: 0.35; }
  100%{ transform: translateX(var(--hex-end-x, 150px)) translateY(var(--hex-end-y, 150px))               rotate(320deg); opacity: 0.2;  }
}

/* 4. CTA section centrepiece hex */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-hex-bg {
  position: absolute;
  width: 300px;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  animation: hex-cta-spin 10s linear infinite;
}

@keyframes hex-cta-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── How it works — animated step cards (hw-) ─────────────────────────── */

.hw-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px 16px;
  min-height: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hw-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.hw-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hw-body {
  font-size: 0.875rem;
  color: #999;
  line-height: 1.55;
  margin-bottom: 14px;
}

.hw-zone {
  position: relative;
  height: 140px;
  pointer-events: none;
  overflow: hidden;
  margin-top: auto;
}

/* Card 1 — tier selector */
.hw-tier {
  position: absolute;
  left: 0;
  right: 24px;
  background: #222;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 10px;
  color: #aaa;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hw-tier.hw-active {
  background: rgba(232, 80, 10, 0.13);
  border-color: #E8500A;
  color: #E8500A;
}

.hw-cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  transition: top 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Card 2 — confetti */
@keyframes hw-cf-pop {
  0%   { opacity: 1; transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
  75%  { opacity: 0.8; }
  100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--cf-x), var(--cf-y)) rotate(var(--cf-r)); }
}

.hw-cf {
  position: absolute;
  left: 50%;
  top: 40%;
  opacity: 0;
  will-change: transform, opacity;
}

.hw-welcome {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #E8500A;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
}

/* Card 3 — chat bubbles */
.hw-bubble {
  position: absolute;
  font-size: 10.5px;
  padding: 8px 11px;
  border-radius: 10px;
  max-width: 84%;
  line-height: 1.45;
  opacity: 0;
}

.hw-bubble-left {
  background: #2a2a2a;
  color: #ccc;
  left: 0;
  border-bottom-left-radius: 2px;
}

.hw-bubble-right {
  background: rgba(232, 80, 10, 0.13);
  color: #E8500A;
  right: 0;
  border-bottom-right-radius: 2px;
}

/* Card 4 — notifications */
.hw-notif {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #222;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
  color: #aaa;
  opacity: 0;
  transform: translateY(8px);
}

.hw-notif-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stat-group,
  .brandmark-watermark {
    display: none;
  }

  .section-header {
    padding-right: 0 !important;
  }
}
