/* =============================================================
   Screenwriting 101 Workshop — LevelUp Live
   Breakpoints (same as the original design):
     desktop  >= 1200px   (base styles)
     tablet   810px – 1199.98px
     phone    <= 809.98px
   ============================================================= */

:root {
  /* Palette */
  --c-navy: #0e1a28;          /* primary dark: buttons, cards, headings */
  --c-ink: #150033;           /* deep purple ink (some small text) */
  --c-brown: #4b3500;         /* warm brown text on paper backgrounds */
  --c-yellow: #f8af01;        /* accent yellow */
  --c-cream: #fff8f0;         /* light section background */
  --c-lilac: #ede1ff;         /* card body text on dark */
  --c-gold-border: #bd9f5b;   /* info card border */
  --c-charcoal: #2b2b2b;
  --c-grey: #828282;          /* footer text */
  --c-white: #fff;

  /* Fonts */
  --f-display: "Belanosima", sans-serif;
  --f-body: "Poppins", sans-serif;
  --f-faq: "Be Vietnam Pro", sans-serif;
  --f-rupee: "Montserrat", sans-serif;
  --f-ui: "Inter", sans-serif;

  /* Shared effects */
  --shadow-card: 0 0 53.6px rgba(0, 0, 0, 0.19);
  --ease-out: cubic-bezier(0.44, 0, 0, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-navy);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { display: block; overflow-x: clip; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Breakpoint visibility helpers */
.only-tablet, .only-phone { display: none; }

/* Shared paper texture background */
.paper-bg {
  background: url("assets/bg-paper.png") center / cover no-repeat;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 47.07px;
  line-height: 1.2;
  color: var(--c-navy);
  text-align: center;
}
.section-sub {
  font-family: var(--f-body);
  font-size: 11.8px;
  line-height: 1.2;
  color: var(--c-navy);
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--c-white);
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.4s cubic-bezier(0.2, 1.2, 0.4, 1), width 0.4s cubic-bezier(0.2, 1.2, 0.4, 1), font-size 0.4s cubic-bezier(0.2, 1.2, 0.4, 1);
}
.btn:active { opacity: 0.6; }
.btn:focus-visible { outline: 2px solid var(--c-yellow); outline-offset: 3px; }

.btn--primary {
  width: 328px;
  height: 64px;
  padding: 0 40px;
  border-radius: 13px;
  background: var(--c-navy);
  font-size: 20px;
  line-height: 1.2;
}
.btn--primary:active { width: 318px; }

.btn--nav {
  width: 135px;
  height: 64px;
  padding: 0;
  border-radius: 653px;
  background: var(--c-navy);
  font-size: 20px;
  line-height: 1.2;
}

.btn--glass {
  padding: 23px 43px;
  border-radius: 23px;
  background: rgba(217, 217, 217, 0.03);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  /* first shadow = 0.5px white hairline border */
  box-shadow: inset 0 0 0 0.5px var(--c-white), 0 4px 25.8px rgba(0, 0, 0, 0.25), inset 0 4px 20px rgba(255, 255, 255, 0.25);
  color: var(--c-navy);
  font-weight: 600;
  font-size: 35px;
  line-height: 1.2;
}
.btn--glass:hover { font-size: 36px; }
.btn--glass:active { font-size: 34px; }

/* =============================================================
   Navbar
   ============================================================= */
.nav {
  position: fixed;
  z-index: 100;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
}
.nav__glass {
  height: 116px;
  padding: 13px;
  border-radius: 109px;
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(15.44px);
  backdrop-filter: blur(15.44px);
}
.nav__pill {
  display: flex;
  align-items: center;
  gap: 174px;
  height: 100%;
  padding: 0 26px 0 32px;
  border-radius: 118px;
  background: var(--c-white);
  box-shadow: 0 0 23.07px rgba(0, 0, 0, 0.06);
}
.nav__logo { display: block; margin-top: 2px; }
.nav__logo-img--dark { width: 86px; height: 45px; }
.nav__logo-img--light { display: none; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  padding: 180px 0 60px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__headline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero__art img { width: 444px; height: 308px; object-fit: contain; }
.hero__title {
  width: 479px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 82px;
  line-height: 1;
  color: var(--c-brown);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 65%;
}
.hero__lead {
  width: 100%;
  font-size: 20.3px;
  line-height: 1.2;
  color: var(--c-brown);
  text-align: center;
}

/* =============================================================
   Workshop details (banner + info cards)
   ============================================================= */
.details {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.details__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 75%;
}
.details__banner {
  position: relative;
  flex: 0.6 0 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 20px;
  overflow: hidden;
  border-radius: 23px;
  background: #2a2a2a;
  box-shadow: 0 4px 53.6px rgba(0, 0, 0, 0.19);
  isolation: isolate;
}
.details__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--c-gold-border);
  border-radius: inherit;
  pointer-events: none;
}
.details__banner-img {
  position: absolute;
  z-index: -1;
  top: -101px;
  left: 50%;
  width: 105%;
  height: auto;
  aspect-ratio: 0.660377;
  object-fit: contain;
  transform: translateX(-50%);
}
.details__banner-title {
  width: 83%;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  color: var(--c-brown);
}
.details__banner-title > span { display: block; }

.details__grid {
  flex: 1 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
  height: 362px;
}
.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 19px;
  border-radius: 23px;
  background: url("assets/card-bg-peach.png") center / 100% 100% no-repeat;
  /* inset shadow draws the 1px gold border without affecting layout */
  box-shadow: inset 0 0 0 1px var(--c-gold-border), var(--shadow-card);
  text-align: center;
}
.info-card--date { box-shadow: inset 0 0 0 1px var(--c-gold-border); }
.info-card__label {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  color: var(--c-navy);
}
.info-card__label img { flex: none; }
.info-card__value {
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: var(--c-brown);
}
.info-card__value--bonus { font-size: 25px; }
.info-card__big { font-size: 36px; }
.info-card__rating p {
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  color: var(--c-brown);
}
.info-card__rating p:first-child { line-height: 32.4px; }
.info-card__rating strong {
  line-height: 0; /* don't let the larger figures grow the line box */
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -1.08px;
}
.info-card__stars { width: 144px; height: 27px; margin-bottom: -3px; }

/* =============================================================
   Countdown
   ============================================================= */
.countdown {
  padding: 20px 0 40px;
  background: var(--c-cream);
}
.countdown__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 54px;
  width: min(1189px, 100%);
  margin: 0 auto;
}
.countdown__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  min-height: 137px;
  align-self: stretch;
  align-items: flex-start;
}
.countdown__timer > * { align-self: flex-start; }
.countdown__colon { align-self: flex-start; margin-top: 21px; }
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 18px;
  border: 2px solid var(--c-navy);
  border-radius: 8px;
  font-family: var(--f-display);
  color: var(--c-navy);
  text-align: center;
}
.countdown__num,
.countdown__colon {
  font-family: var(--f-display);
  font-size: 84px;
  line-height: 1;
  color: var(--c-navy);
}
.countdown__label {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1;
}
.countdown__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.countdown__text {
  font-weight: 500;
  font-size: 21px;
  line-height: 1.2;
  color: var(--c-ink);
  text-align: center;
}

/* =============================================================
   What You'll Learn
   ============================================================= */
.learn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 40px 0 80px;
  overflow: hidden;
}
.learn__title { width: 100%; }
.learn__topics {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 82px;
  width: 63%;
  max-width: 761px;
  height: 620px;
}
.learn__row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: none;
}
.learn__row--1 { gap: 64px; }
.learn__row--2 { gap: 83px; }
.learn__row--3 { gap: 74px; }
.topic {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}
.topic--1 { width: 340px; }
.topic--2 { width: 339px; }
.topic--3 { width: 329px; }
.topic--4 { width: 328px; }
.topic--5 { width: 344px; }
.topic--6 { width: 343px; }
.topic__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 35.27px;
  line-height: 1.2;
  color: var(--c-brown);
}
.topic__text {
  font-size: 13.47px;
  line-height: 1.2;
  color: var(--c-brown);
}
.learn__path {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.learn__path--wide {
  top: 257px;
  left: 50%;
  width: 100%;
  max-width: 1213px;
  height: auto;
  aspect-ratio: 2.35519;
  transform: translateX(-50%);
}
.learn__path--phone { display: none; }

/* =============================================================
   Who is this for
   ============================================================= */
.audience {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 40px 0;
}
.audience__title { width: 70%; }
.audience__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.audience__row {
  display: flex;
  gap: 10px;
  height: 224px;
}
.audience-card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 23px;
  border-radius: 23px;
  background: var(--c-navy);
  text-align: center;
}
.audience-card__title {
  width: 100%;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 35.27px;
  line-height: 1.1;
  color: var(--c-yellow);
}
.audience-card__title > span { display: block; }
.audience-card__text {
  width: 100%;
  font-size: 13.47px;
  line-height: 1.2;
  color: var(--c-lilac);
}

/* =============================================================
   Mentor
   ============================================================= */
.mentor {
  display: flex;
  justify-content: center;
  padding: 40px;
  background: var(--c-cream);
}
.mentor__inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 1200px;
}
.mentor__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 35px;
  width: 65%;
  height: 768px;
}
.mentor__profile {
  position: relative;
  height: 432px;
}
.mentor__photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 332px;
  overflow: hidden;
}
.mentor__photo-backdrop {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 94%;
  height: 412px;
  border-radius: 27px;
  background: var(--c-yellow);
}
.mentor__photo-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 94%;
  height: 412px;
  border-radius: 27px;
  overflow: hidden;
}
.mentor__photo-frame img {
  position: absolute;
  top: -2px;
  left: -31px;
  width: 119%;
  height: 419px;
  object-fit: cover;
}
.mentor__id {
  position: absolute;
  top: 50%;
  right: -101px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 70%;
  transform: translateY(-50%);
  overflow: hidden;
}
.mentor__name-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 444px;
  height: 129px;
}
.mentor__dot {
  position: absolute;
  top: 50%;
  left: 383px;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-yellow);
  transform: translateY(-50%);
}
.mentor__name-glass {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 93%;
  height: 100%;
  border-radius: 11px;
  background: rgba(210, 210, 210, 0.03);
  -webkit-backdrop-filter: blur(18.63px);
  backdrop-filter: blur(18.63px);
  /* first shadow draws the 1.72px border without changing the box size */
  box-shadow: inset 0 0 0 1.72px #fff4cf, 0 2.29px 58.35px rgba(244, 190, 0, 0.12), inset 0 0 5.79px rgba(255, 255, 255, 0.25);
}
.mentor__name {
  width: 394px;
  padding: 5px 0;
  border-radius: 5px;
  background: var(--c-navy);
  box-shadow: 0 0 3.03px rgba(244, 190, 0, 0.25);
  font-family: var(--f-display);
  font-size: 68.25px;
  line-height: 1.2;
  color: var(--c-cream);
  text-align: center;
  white-space: nowrap;
}
.mentor__role {
  width: 74%;
  padding-left: 35px;
  font-weight: 600;
  font-size: 16.47px;
  line-height: 1.2;
  color: var(--c-navy);
}
.mentor__facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mentor__facts li {
  padding: 20px 20px 20px;
  padding-right: calc(4% + 20px);
  border-radius: 23px;
  background: var(--c-white);
  box-shadow: 0 0 35.58px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  font-size: 13.47px;
  line-height: 1.2;
  color: var(--c-navy);
}
.mentor__facts li:last-child { border-radius: 18px; }
.mentor__heading-wrap {
  flex: 1 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.mentor__flower {
  flex: none;
  width: 34px;
  height: 34px;
  margin-bottom: 37px;
}
.mentor__heading {
  flex: none;
  width: 323px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 99.43px;
  line-height: 1.2;
  color: var(--c-navy);
  text-align: right;
}
.mentor__heading > span { display: block; }

/* =============================================================
   Bonuses
   ============================================================= */
.bonus {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 51px;
  padding: 60px 40px;
}
.bonus__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 798px;
  padding-bottom: 9px;
}
.bonus__title { white-space: nowrap; }
.bonus__heading .section-sub,
.faq__heading .section-sub { width: 434px; height: 19px; }
.bonus__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 89%;
}
.bonus__row {
  display: flex;
  justify-content: center;
  gap: 60px;
  width: 100%;
}
.bonus__sparkle { width: 129px; height: 129px; }
.bonus-card {
  position: relative;
  flex: none;
  width: 326px;
  height: 268px;
}
/* the two dark "binder rings" peeking out above and below the card */
.bonus-card::before,
.bonus-card::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-navy);
  transform: translateX(-50%);
}
.bonus-card::before { top: 0; }
.bonus-card::after { bottom: 0; }
.bonus-card__glass {
  position: absolute;
  z-index: 1;
  top: calc(50.3731% - 111px);
  left: 0;
  right: 0;
  height: 222px;
  border: 2.64px solid rgba(14, 26, 40, 0.1);
  border-radius: 17px;
  background: rgba(210, 210, 210, 0.03);
  -webkit-backdrop-filter: blur(28.59px);
  backdrop-filter: blur(28.59px);
  box-shadow: var(--shadow-card), inset 0 0 8.89px rgba(255, 255, 255, 0.25);
}
.bonus-card__body {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 88%;
  transform: translate(-50%, -50%);
}
.bonus-card__label {
  font-size: 21.8px;
  line-height: 1.2;
  color: var(--c-ink);
  text-align: center;
}
.bonus-card__label--narrow { width: 68%; }
.bonus-card__price {
  position: relative;
  width: 191px;
  height: 68px;
  border-radius: 13px;
  background: var(--c-navy);
  overflow: hidden;
}
.bonus-card__price-text {
  position: absolute;
  top: -2px;
  left: 48%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 57.07px;
  line-height: 1.2;
  color: var(--c-yellow);
  white-space: nowrap;
}
.bonus-card__rupee {
  font-family: var(--f-rupee);
  font-weight: 600;
  font-size: 32.07px;
}
.bonus-card__price--word .bonus-card__price-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 45.07px;
}

/* =============================================================
   CTA banner
   ============================================================= */
.cta-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 3.72671;
  overflow: hidden;
}
.cta-banner__bg,
.cta-banner__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner__content {
  position: absolute;
  top: -30px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.cta-banner__panel {
  display: flex;
  justify-content: center;
  width: 88%;
  padding: 50px 0 28px;
  border-radius: 0 0 100px 100px;
  background: rgba(217, 217, 217, 0.03);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow: inset 0 0 0 0.5px var(--c-white), 0 4px 25.8px rgba(0, 0, 0, 0.25), inset 0 4px 20px rgba(255, 255, 255, 0.25);
}
.cta-banner__title {
  width: 83%;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 60.55px;
  line-height: 1.1;
  color: var(--c-brown);
  text-align: center;
}
.cta-banner__title span span { display: block; }

/* =============================================================
   Testimonials
   ============================================================= */
.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 0;
  overflow: hidden;
}
.testimonials__head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  padding-left: 50px;
}
.testimonials__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 99.43px;
  line-height: 1.2;
  color: var(--c-navy);
  white-space: nowrap;
}
.testimonials__title span span { display: block; }
.testimonials__flower {
  width: 40px;
  height: 34px;
  margin-bottom: 28px;
}

.carousel {
  --slide-w: 515px;
  --slide-h: 402px;
  --pad: 30px;
  position: relative;
  width: calc(var(--slide-w) + 2 * var(--pad));
  height: calc(var(--slide-h) + 2 * var(--pad));
  margin-inline: auto;
}
.carousel__viewport {
  position: absolute;
  inset: var(--pad);
}
.carousel__track { position: relative; width: 100%; height: 100%; }
.carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--slide-w);
  height: var(--slide-h);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.carousel__slide.is-instant { transition: none; }
.review {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
  padding: 45px 30px;
  border-radius: 23px;
  background: var(--c-navy);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.25);
}
.review__text {
  font-weight: 300;
  font-size: 17.8px;
  line-height: 1.7;
  color: var(--c-white);
}
.review__author {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.review__author img { flex: none; width: 53px; height: 53px; }
.review__name {
  display: block;
  font-family: var(--f-display);
  font-size: 28.27px;
  line-height: 1.2;
  color: var(--c-white);
}
.review__role {
  display: block;
  font-size: 15.8px;
  line-height: 1.2;
  color: var(--c-white);
}
.carousel__arrow {
  position: absolute;
  z-index: 2;
  bottom: -17.5px; /* vertically centred on the dot row */
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  overflow: hidden;
}
.carousel__arrow img { width: 30px; height: 30px; }
.carousel__arrow--prev { left: calc(50% - 70px); }  /* half the dot row (27.5px) + 12px gap + 30px arrow */
.carousel__arrow--next { right: calc(50% - 70px); }
.carousel__dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -15px;
  display: flex;
  transform: translateX(-50%);
}
.carousel__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.carousel__dot:first-child { padding-left: 10px; }
.carousel__dot:last-child { padding-right: 10px; }
.carousel__dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-ink);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.carousel__dot[aria-selected="true"]::before { opacity: 1; }

/* =============================================================
   FAQ
   ============================================================= */
.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 37px;
  padding: 49px;
  background: var(--c-cream);
}
.faq__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 798px;
  padding-bottom: 9px;
}
.faq__title { white-space: nowrap; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 27px;
  width: 100%;
  padding: 0 33px;
}
.faq-item {
  border-radius: 10px;
  background: var(--c-white);
  transition: background-color 0.3s;
}
.faq-item:not([open]):hover { background: rgb(255, 231, 204); }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 20px;
  font-family: var(--f-faq);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.6px;
  color: var(--c-navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  background: rgb(131, 139, 163);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.5;
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s, background-color 0.3s;
}
.faq-item:hover .faq-item__q::after,
.faq-item[open] .faq-item__q::after { opacity: 1; background: rgb(78, 87, 116); }
.faq-item.is-open .faq-item__q::after { transform: rotate(180deg); }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.35s;
  opacity: 0;
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; opacity: 1; }
.faq-item__a > div { overflow: hidden; min-height: 0; }
.faq-item__a p {
  max-width: 740px; /* 700px of text + side padding */
  padding: 0 20px 30px;
  font-family: var(--f-faq);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: rgba(14, 26, 40, 0.56);
}

/* Scroll-reveal (FAQ heading/list, like the original appear effects) */
.js .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y, 30px));
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity var(--reveal-dur, 0.8s) var(--ease-out) var(--reveal-delay, 0s), transform var(--reveal-dur, 0.8s) var(--ease-out) var(--reveal-delay, 0s);
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: var(--c-navy);
}
.footer p {
  width: 100%;
  font-family: var(--f-ui);
  font-size: 16.07px;
  line-height: 1.2;
  color: var(--c-grey);
  text-align: center;
}

/* =============================================================
   TABLET  810px – 1199.98px
   ============================================================= */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .only-tablet { display: inline; }
  .only-desktop-phone, .hide-tablet { display: none; }
  div.only-tablet { display: block; }

  .nav { top: 27px; }
  .nav__glass { height: 114px; }

  /* Hero */
  .hero__headline { flex-direction: column; }
  .hero__art img { height: 309px; }
  .hero__title { width: 80%; text-align: center; }
  .hero__content { width: 80%; }

  /* Details */
  .details { width: 95%; height: 442px; margin: 0 auto; padding: 0; align-items: center; }
  .details__inner { width: 100%; height: 413px; }
  .details__banner { flex: none; width: 40%; height: 100%; }
  .details__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--c-gold-border);
  border-radius: inherit;
  pointer-events: none;
}
.details__banner-img {
    top: -40px;
    left: -2.11%;
    width: 105%;
    height: calc(100% + 76px); /* top -40px, bottom -36px */
    aspect-ratio: auto;
    transform: none;
  }
  .details__banner-title { width: auto; font-size: 34px; white-space: nowrap; }
  .details__banner-last { font-size: 40px; }
  .details__grid { height: 100%; }
  .info-card--rating { order: 2; padding: 33px 0; }
  .info-card--bonus { order: 3; padding: 27px 0; }
  .info-card__value--bonus { font-size: 35px; }
  .info-card__value--bonus .info-card__big { font-size: inherit; }
  .info-card__rating--tablet .info-card__rating-small { font-size: 23px; line-height: 31px; }
  .info-card__rating--tablet .info-card__rating-small span { font-size: 25px; line-height: 0; }

  /* Countdown */
  .countdown__inner { gap: 33px; width: 98%; }
  .countdown__timer { gap: 34px; }
  .countdown__num { font-size: 66px; color: var(--c-charcoal); }
  .countdown__colon { font-size: 66px; margin-top: 21px; }
  .countdown__text { width: 40%; }

  /* Learn */
  .learn__path--wide { width: 145%; }

  /* Audience */
  .audience { gap: 54px; padding: 40px 35px; }
  /* Shrink titles with the viewport so long words ("Screenwriters") fit the narrow four-card row without breaking. */
  .audience-card__title { font-size: clamp(22px, calc(4.6vw - 14px), 35.27px); }

  /* Mentor (tablet keeps a two-column layout; heading kept visible) */
  .mentor { padding: 40px 63px; }
  .mentor__inner { max-width: none; justify-content: center; }
  .mentor__main { width: 434px; height: 927px; gap: 35px; }
  .mentor__profile { height: auto; display: flex; flex-direction: column; gap: 10px; }
  .mentor__photo { position: relative; top: auto; bottom: auto; left: auto; width: 307px; height: 309px; }
  .mentor__photo-backdrop,
  .mentor__photo-frame { height: 295px; }
  .mentor__photo-frame img { width: 343px; }
  .mentor__id { position: relative; top: auto; right: auto; transform: none; width: 100%; overflow: visible; }
  .mentor__name-wrap { width: 405px; }
  .mentor__name-glass { width: 92%; height: 91%; }
  .mentor__name { width: auto; padding: 0 12px; font-size: 62px; }
  .mentor__dot { left: 350px; top: 54%; width: 12%; }
  .mentor__role { width: 210px; }
  .mentor__heading-wrap { flex: none; width: 331px; height: 323px; align-items: flex-end; }
  .mentor__heading { width: auto; font-size: 95.43px; }

  /* Bonus */
  .bonus__grid { width: 89%; }

  /* CTA banner: grows if the headline wraps to 3 lines on narrow tablets */
  .cta-banner { aspect-ratio: auto; min-height: 315px; padding-bottom: 26px; }
  .cta-banner__content { position: relative; gap: 27px; margin-bottom: -30px; }
  .cta-banner__panel { width: 94%; padding: 50px 0 20px; }
  .cta-banner__title { width: 90%; }
}

/* =============================================================
   PHONE  <= 809.98px
   ============================================================= */
@media (max-width: 809.98px) {
  .only-phone { display: inline; }
  .hide-phone { display: none; }

  .section-title { font-size: 47.07px; }

  /* Navbar: the exact desktop pill, shrunk proportionally to fit the screen.
     --u is "one desktop pixel": 1px when the 479px-wide pill fits with a 12px
     margin each side, smaller on narrower phones. */
  :root { --u: min(1px, calc((100vw - 24px) / 479)); }
  .nav { top: calc(13 * var(--u)); }
  .nav__glass { height: calc(116 * var(--u)); padding: calc(13 * var(--u)); border-radius: calc(109 * var(--u)); }
  .nav__pill { gap: calc(174 * var(--u)); padding: 0 calc(26 * var(--u)) 0 calc(32 * var(--u)); border-radius: calc(118 * var(--u)); }
  .nav__logo { margin-top: calc(2 * var(--u)); }
  .nav__logo-img--dark { width: calc(86 * var(--u)); height: calc(45 * var(--u)); }
  .btn--nav { width: calc(135 * var(--u)); height: calc(64 * var(--u)); font-size: calc(20 * var(--u)); }

  /* Hero (top padding clears the navbar: its 129 desktop-px plus a 12px gap) */
  .hero { padding: calc(129 * var(--u) + 12px) 0 60px; }
  .hero__headline { flex-direction: column; }
  .hero__art img { width: 248px; height: 212px; }
  .hero__title { width: 85%; font-size: 48px; text-align: center; }
  .hero__content { width: 100%; }
  .hero__lead { width: 80%; font-weight: 500; font-size: 12.04px; }
  .hero .btn--primary { width: 273px; height: 57px; font-size: 14px; }

  /* Details */
  .details { padding: 40px 0; }
  .details__inner { flex-direction: column; width: 72%; }
  .details__banner {
    flex: none;
    width: 100%;
    aspect-ratio: 0.813953;
    align-self: auto;
  }
  .details__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--c-gold-border);
  border-radius: inherit;
  pointer-events: none;
}
.details__banner-img {
    top: -70px;
    bottom: -31px;
    height: auto;
  }
  .details__banner-title { width: auto; font-size: 33px; white-space: nowrap; }
  .details__grid {
    flex: none;
    width: 100%;
    height: auto;
    grid-template-columns: minmax(50px, 1fr);
    grid-auto-rows: 1fr;
    gap: 23px;
  }
  .info-card--date { padding-bottom: 6px; }
  .info-card--rating { order: 2; padding: 35px 0; }
  .info-card--bonus { order: 3; }

  /* Countdown: 2×2 grid of boxes, no background */
  .countdown { padding: 0; background: none; }
  .countdown__inner {
    justify-content: center;
    gap: 27px;
    width: 382px;
    max-width: 100%;
    height: 428px;
  }
  .countdown__timer {
    display: grid;
    grid-template-columns: 124px 124px;
    gap: 34px;
    min-height: 0;
    align-self: center;
  }
  .countdown__colon { display: none; }
  .countdown__unit {
    width: 124px;
    height: 100px;
    justify-content: center;
    padding: 11px 30px;
    border-width: 3px;
    border-radius: 11px;
  }
  .countdown__num { font-size: 46px; font-variant-numeric: tabular-nums; }
  .countdown__label { margin-top: 8px; }
  .countdown__text { width: 82%; color: var(--c-navy); }
  .countdown .btn--primary { width: 248px; height: 57px; font-size: 14px; }

  /* Learn: zig-zag list over a vertical winding path */
  .learn { gap: 32px; padding: 70px 0 130px; overflow: visible; }
  .learn__title { width: 90%; }
  .learn__topics {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 1134px;
    padding: 0 40px;
  }
  .learn__row { display: contents; }
  .topic { position: absolute; left: 50%; transform: translateX(-50%); }
  .topic--1 { top: 0; width: 310px; }
  .topic--2 { top: 207px; width: 310px; text-align: right; }
  .topic--3 { top: 420px; width: 329px; }
  .topic--4 { bottom: 383px; width: 328px; text-align: right; }
  .topic--5 { bottom: 144px; width: 310px; }
  .topic--6 { bottom: -34px; width: 310px; text-align: right; }
  .learn__path--wide { display: none; }
  .learn__path--phone {
    display: block;
    top: 363px;
    left: -110px;
    width: 515px;
    height: 1069px;
  }

  /* Audience */
  .audience { gap: 54px; padding: 40px 38px; }
  .audience__title { width: 306px; }
  .audience__row { flex-direction: column; height: auto; }
  .audience-card { flex: none; width: 100%; height: 224px; }

  /* Mentor */
  .mentor { padding: 40px 0; }
  .mentor__inner { flex-direction: column; align-items: center; gap: 40px; }
  .mentor__heading-wrap {
    order: -1;
    align-self: flex-start;
    flex: none;
    justify-content: center;
    gap: 10px;
    width: auto;
    padding-left: min(70px, calc(100vw - 274px));
  }
  .mentor__flower { margin-bottom: 7px; }
  .mentor__heading { width: 230px; height: 259px; font-size: 76.43px; }
  .mentor__main { width: 100%; height: auto; gap: 0; }
  .mentor__profile { height: auto; display: flex; flex-direction: column; gap: 10px; }
  .mentor__photo { position: relative; top: auto; bottom: auto; width: 307px; height: 350px; overflow: visible; }
  .mentor__photo-backdrop { left: 18px; height: 317px; }
  .mentor__photo-frame { top: 5px; right: -18px; height: 327px; }
  .mentor__photo-frame img { top: 2px; left: -8px; width: 110%; height: 391px; }
  .mentor__id { position: relative; top: auto; right: auto; transform: none; width: 100%; overflow: visible; }
  .mentor__name-wrap { width: 405px; height: auto; }
  .mentor__name-glass { width: auto; height: auto; padding: 10px 20px; }
  .mentor__name { width: 303px; font-size: 52px; }
  .mentor__dot { left: 320px; top: 49%; width: 10%; }
  .mentor__role { width: 74%; padding-left: 21px; }
  .mentor__facts { padding: 19px; }

  /* Bonus */
  .bonus { width: 75%; margin: 0 auto; padding: 60px 0; overflow: visible; }
  .bonus__heading { width: 470px; }
  .bonus__title { width: 74%; white-space: normal; }
  .bonus__heading .section-sub { width: 54%; height: auto; }
  .bonus__grid { width: 100%; gap: 40px; }
  .bonus__row { flex-direction: column; align-items: center; gap: 40px; }
  .bonus__sparkle { display: none; }

  /* CTA banner */
  .cta-banner { width: 106%; margin-left: -3%; aspect-ratio: 1.08033; }
  .cta-banner__content { gap: 35px; }
  .cta-banner__panel { width: 89%; padding: 49px 0 20px; border-radius: 0 0 60px 60px; }
  .cta-banner__title { width: 100%; font-size: 37.55px; line-height: 1.2; }
  .btn--glass { font-size: 27px; }
  .btn--glass:hover { font-size: 27px; }

  /* Testimonials */
  .testimonials { gap: 0; padding: 60px 20px; }
  .testimonials__head { gap: 0; padding: 0; }
  .testimonials__title { width: 305px; font-size: 76.43px; color: var(--c-ink); white-space: normal; }
  .testimonials__flower { width: 24px; height: 20px; }
  .carousel {
    --slide-w: 100%;
    --slide-h: 610px;
    --pad: 0px;
    width: 100%;
  }
  .carousel__slide { width: 100%; }
  .carousel__arrow { bottom: -42.5px; }
  .carousel__dots { bottom: -40px; }
  .review__author { align-items: flex-start; }

  /* FAQ */
  .faq__heading { width: 798px; }
  .faq__title { width: 335px; white-space: normal; }
  .faq__list { padding: 0; }

  /* Footer */
  .footer p { width: 69%; }
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  .footer p { width: 55%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* No-JS fallback for the FAQ (<details> still works natively) */
html:not(.js) .faq-item[open] .faq-item__a { grid-template-rows: 1fr; opacity: 1; }
html:not(.js) .faq-item[open] .faq-item__q::after { transform: rotate(180deg); }
