/* InnovateX Academy: reduced-motion and breakpoint rules. Loads after site.css. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .enter, .enter-right, .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; filter: none; }
}

/* ---------- responsive ---------- */

/* ---------- launch-banner elements ---------- */

/* Track chevrons + topic chips (banner treatment) */
.track-eyebrow-row { display: flex; align-items: center; gap: 8px; }
.chev { width: 16px; height: 16px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.chev-blue { stroke: var(--spec-blue); }
.chev-violet { stroke: var(--spec-violet); }
.chev-teal { stroke: var(--spec-teal); }
.track-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.track-topics span {
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--grey);
  border: 1px solid rgba(179, 189, 194, 0.22);
  border-radius: 100px;
  padding: 3px 12px;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(251, 252, 251, 0.4);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 18px; height: 18px; stroke: #FBFCFB; stroke-width: 2; stroke-linecap: round; fill: none; }

@media (max-width: 1080px) {
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-copy { width: 100%; }
  .hero-shot, .structure-shot { width: 100%; flex: none; aspect-ratio: 1600 / 1000; }
  .structure { flex-direction: column; align-items: stretch; }
  .track-list { width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head-split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 24px; }
  .announce { flex-direction: column; gap: 6px; padding: 10px 16px; }
  .brand-img { height: 52px; width: 153px; }
  .footer-logo { height: 44px; width: 130px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 44px; }
  .footer nav { flex-wrap: wrap; gap: 10px 20px; }
  .hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .section { padding: 64px 0; }

  /* Collapsible menu: hamburger opens a panel under the bar */
  .nav-toggle { display: inline-flex; }
  .nav-inner { flex-wrap: wrap; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding: 6px 0 14px;
    border-top: 1px solid rgba(21, 80, 121, 0.5);
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a:not(.pill) { padding: 12px 4px; font-size: 16px; }
  .nav-links .pill { margin-top: 8px; justify-content: center; }

  .feature-grid, .cat-grid { grid-template-columns: 1fr; }
  .plans { flex-direction: column; align-items: stretch; }
  .plan { width: 100%; }
  .video-frame { height: auto; aspect-ratio: 16 / 10; min-height: 320px; }
  .quiz-inner { padding: 26px 20px; }
  .join-form { flex-direction: column; align-items: stretch; width: 100%; max-width: 400px; }
  .join-form input { width: 100%; }
  .join-form .pill { width: 100%; }
  .quiz-carousel { gap: 10px; }
  .qc-arrow { width: 40px; height: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- events ---------- */

.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.event-card {
  border: 1px solid rgba(21, 80, 121, 0.8);
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.7);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(83, 100, 245, 0.25); }
.event-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.badge-workshop { color: var(--spec-blue); border-color: rgba(22, 155, 255, 0.5); }
.badge-masterclass { color: var(--spec-magenta); border-color: rgba(240, 43, 157, 0.5); }
.event-card h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0; }
.event-card p { font-size: 14px; line-height: 1.55; color: var(--grey); margin: 0; }
.event-meta { font-size: 12px !important; color: var(--muted) !important; border-top: 1px solid rgba(21, 80, 121, 0.5); padding-top: 12px; margin-top: auto !important; }

@media (max-width: 1080px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* Catalogue show-all */
.cat-more-wrap { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- team pricing calculator ---------- */

.team-calc {
  width: min(880px, 100%);
  margin: 40px auto 0;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.7);
  padding: 32px 36px;
  text-align: left;
}
.tc-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.tc-sub { font-size: 15px; color: var(--grey); margin: 0; }
.tc-controls { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-end; }
.tc-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.tc-stepper { display: flex; align-items: center; gap: 0; border: 1px solid rgba(21, 80, 121, 0.8); border-radius: 100px; overflow: hidden; }
.tc-stepper button {
  font: inherit; font-size: 18px; color: var(--white);
  background: transparent; border: none; cursor: pointer;
  width: 42px; height: 42px;
  transition: background 0.2s ease;
}
.tc-stepper button:hover { background: rgba(25, 140, 255, 0.15); }
.tc-stepper input {
  font: inherit; font-size: 16px; font-weight: 600; color: var(--white);
  background: transparent; border: none; outline: none;
  width: 56px; text-align: center;
  -moz-appearance: textfield; appearance: textfield;
}
.tc-stepper input::-webkit-outer-spin-button, .tc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tc-toggle { display: flex; border: 1px solid rgba(21, 80, 121, 0.8); border-radius: 100px; overflow: hidden; }
.tc-int {
  font: inherit; font-size: 13px; color: var(--grey);
  background: transparent; border: none; cursor: pointer;
  padding: 11px 18px;
  transition: background 0.25s ease, color 0.25s ease;
}
.tc-int-active { background: linear-gradient(90deg, #169BFF 0%, #5364F5 100%); color: var(--white); font-weight: 500; }
.tc-result { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; border-top: 1px solid rgba(21, 80, 121, 0.5); padding-top: 22px; }
.tc-total { display: flex; align-items: baseline; gap: 8px; }
.tc-total .grad-text { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tc-per { font-size: 14px; color: var(--muted); }
.tc-note { font-size: 13px; color: var(--grey); margin: 0; }

@media (max-width: 680px) {
  .team-calc { padding: 24px 20px; }
  .tc-controls { gap: 16px; }
}
