/* ==========================================================================
   INNOVEL — Christmas & New Year visual layer
   --------------------------------------------------------------------------
   Loaded after every other stylesheet. It only changes presentation:
   no markup the scripts depend on is restyled into a different behaviour,
   and every class/ID used by script.js, testimonials.js and boost.js is
   untouched. Red stays the primary brand colour; gold, snow white and a
   whisper of pine green are the festive accents.
   ========================================================================== */

:root {
  --x-red: #d0142a;
  --x-red-bright: #e3202f;
  --x-red-deep: #8e0b16;
  --x-burgundy: #5a0610;
  --x-wine: #3a040b;
  --x-gold: #e9b65a;
  --x-gold-light: #f6d58e;
  --x-gold-pale: #fff3c9;
  --x-gold-dark: #9a6a1c;
  --x-snow: #fffaf6;
  --x-pine: #1d6b42;
  --x-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --x-gold-foil: linear-gradient(100deg, #b8862b 0%, #f6d58e 22%, #fff3c9 38%, #e9b65a 55%, #c08a2e 75%, #f6d58e 100%);
  --x-red-grad: linear-gradient(135deg, #e3202f 0%, #b80d1f 55%, #8e0b16 100%);
  --x-shine: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  /* Re-point the shared brand tokens so every legacy rule that reads them
     (accent lines, nav underline, headings) picks up the festive red. */
  --color-red: #d0142a;
  --color-red-dark: #9a0d1b;
  --color-red-deep: #5a0610;
}

/* ---------------------------------------------------------------- *
 * 0. Retire the Diwali decoration layer
 *    (the elements themselves were removed from the markup; these are
 *    the pseudo-element ornaments that lived in the stylesheets).
 * ---------------------------------------------------------------- */
.program-section.section::after,
.curriculum-section.section::before,
.environment-section.section::before,
.environment-section.section::after,
.students-section.section::before,
.projects-section.section::before,
.certificate-section.section::before,
.certificate-section.section::after,
.faq-section.section::before,
.final-cta.section::before,
.final-cta.section::after,
.why-section.section::before,
.why-section.section::after,
.fs-testimonials-section::before,
.fs-testimonials-section::after {
  content: none !important;
  animation: none !important;
}

#tools .tools-overlay {
  background-image: none;
}

.expert-button .expert-button-cracker::before {
  content: none;
}

/* ---------------------------------------------------------------- *
 * 1. Shared ornaments
 * ---------------------------------------------------------------- */

/* Generic decorative container used inside each section. Sections are
   isolated stacking contexts, so -1 paints above the section background
   but below every piece of content. */
.xmas-section-deco {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.program-section > .xmas-section-deco,
.environment-section > .xmas-section-deco,
.why-section > .xmas-section-deco,
.final-cta > .xmas-section-deco,
.fs-testimonials-section > .xmas-section-deco {
  z-index: 0;
}

.xmas-sky {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hanging bauble: one element = string (background), cap (::before) and
   ball (::after). The sway is a transform animation; mouse parallax uses the
   independent `translate` property so the two never fight. */
.xo {
  --size: 30px;
  --len: 80px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: var(--x, 50%);
  display: block;
  width: var(--size);
  height: calc(var(--len) + var(--size) + 4px);
  margin-left: calc(var(--size) / -2);
  background: linear-gradient(90deg, transparent calc(50% - 0.75px), rgba(246, 213, 142, 0.85) calc(50% - 0.75px), rgba(246, 213, 142, 0.85) calc(50% + 0.75px), transparent calc(50% + 0.75px)) top / 100% var(--len) no-repeat;
  pointer-events: none;
  transform-origin: 50% 0;
  translate: var(--px, 0) var(--py, 0);
  animation: xo-sway 5.2s ease-in-out var(--d, 0s) infinite alternate;
  will-change: transform;
}

.xo::before {
  position: absolute;
  z-index: 1;
  top: calc(var(--len) - 1px);
  left: 50%;
  width: calc(var(--size) * 0.3);
  height: calc(var(--size) * 0.2);
  background: linear-gradient(90deg, #8a5a12, #f6d58e 50%, #8a5a12);
  border-radius: 2px 2px 1px 1px;
  content: "";
  transform: translateX(-50%);
}

.xo::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  content: "";
}

.xo--red::after {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75) 0 7%, transparent 20%),
    repeating-linear-gradient(0deg, transparent 0 46%, rgba(246, 213, 142, 0.75) 46% 50%, transparent 50% 100%),
    radial-gradient(circle at 35% 30%, #ff6b74, #d0142a 45%, #6d0612 88%);
  box-shadow: 0 8px 16px rgba(60, 0, 8, 0.35), 0 0 22px rgba(255, 70, 80, 0.32);
}

.xo--gold::after {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85) 0 7%, transparent 22%),
    radial-gradient(circle at 35% 30%, #fff3c4, #e9b65a 45%, #7c4f0e 90%);
  box-shadow: 0 8px 16px rgba(60, 30, 0, 0.3), 0 0 22px rgba(255, 200, 90, 0.45);
}

.xo--snow::after {
  background:
    radial-gradient(circle at 32% 28%, #fff 0 9%, transparent 24%),
    radial-gradient(circle at 35% 30%, #ffffff, #e9edf3 50%, #9aa3b2 92%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18), 0 0 18px rgba(255, 255, 255, 0.5);
}

.xo--star::before {
  content: none;
}

.xo--star::after {
  background: url("assets/xmas/star.svg") center / contain no-repeat;
  border-radius: 0;
  filter: drop-shadow(0 0 8px rgba(255, 214, 120, 0.85));
  animation: xmas-twinkle-scale 2.8s ease-in-out var(--d, 0s) infinite;
}

@keyframes xo-sway {
  from { transform: rotate(-4deg); }
  to { transform: rotate(4deg); }
}

@keyframes xmas-twinkle-scale {
  0%, 100% { transform: scale(0.9) rotate(0deg); opacity: 0.85; }
  50% { transform: scale(1.08) rotate(8deg); opacity: 1; }
}

/* String of Christmas lights: every <i> is one scallop of wire with one bulb. */
.xmas-lights {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -1%;
  right: -1%;
  display: flex;
  height: 26px;
  pointer-events: none;
}

.xmas-lights > i {
  position: relative;
  flex: 1 1 0;
  height: 20px;
  border-bottom: 1.5px solid rgba(40, 6, 10, 0.75);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.xmas-lights > i::before {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: #2a2018;
  border-radius: 1px;
  content: "";
  transform: translateX(-50%);
}

.xmas-lights > i::after {
  --c: #ff3b4a;
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 8px;
  height: 11px;
  background: radial-gradient(circle at 40% 30%, #fff 0 15%, var(--c) 55%);
  border-radius: 50% 50% 45% 45% / 40% 40% 60% 60%;
  box-shadow: 0 0 6px 1px var(--c), 0 0 16px 2px var(--c);
  content: "";
  transform: translateX(-50%);
  animation: xmas-bulb 2.6s ease-in-out infinite;
}

.xmas-lights > i:nth-child(5n + 2)::after { --c: #ffd36b; animation-delay: -0.5s; }
.xmas-lights > i:nth-child(5n + 3)::after { --c: #fff3d6; animation-delay: -1.1s; }
.xmas-lights > i:nth-child(5n + 4)::after { --c: #3fd17a; animation-delay: -1.7s; }
.xmas-lights > i:nth-child(5n + 5)::after { --c: #ff9a6b; animation-delay: -2.2s; }
.xmas-lights > i:nth-child(odd)::after { animation-duration: 3.1s; }

@keyframes xmas-bulb {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.45; }
  60% { opacity: 0.95; }
}

.xmas-lights--section > i {
  border-bottom-color: rgba(255, 220, 160, 0.35);
}

/* Four-point twinkling sparkle. */
.xmas-sparkle {
  position: absolute;
  z-index: 1;
  top: var(--y);
  left: var(--x);
  width: var(--s, 12px);
  height: var(--s, 12px);
  background: radial-gradient(circle, #fff 0 12%, transparent 13%), conic-gradient(from 45deg, transparent 0 20%, rgba(255, 244, 214, 0.9) 25%, transparent 30% 45%, rgba(255, 244, 214, 0.9) 50%, transparent 55% 70%, rgba(255, 244, 214, 0.9) 75%, transparent 80% 95%, rgba(255, 244, 214, 0.9) 100%);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 72%);
  mask: radial-gradient(circle, #000 30%, transparent 72%);
  pointer-events: none;
  animation: xmas-sparkle 3.2s ease-in-out var(--d, 0s) infinite;
}

.xmas-sparkle--gold {
  background: radial-gradient(circle, #fff 0 12%, transparent 13%), conic-gradient(from 45deg, transparent 0 20%, rgba(233, 182, 90, 0.95) 25%, transparent 30% 45%, rgba(233, 182, 90, 0.95) 50%, transparent 55% 70%, rgba(233, 182, 90, 0.95) 75%, transparent 80% 95%, rgba(233, 182, 90, 0.95) 100%);
}

@keyframes xmas-sparkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  40% { opacity: 1; transform: scale(1) rotate(45deg); }
  70% { opacity: 0.2; transform: scale(0.6) rotate(90deg); }
}

/* Pine sprigs anchored to section corners. */
.xmas-pine {
  position: absolute;
  z-index: 1;
  width: clamp(170px, 20vw, 300px);
  aspect-ratio: 420 / 260;
  background: url("assets/xmas/pine-branch.svg") center / contain no-repeat;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(40, 0, 8, 0.18));
}

.xmas-pine--tl { top: -14px; left: -36px; transform: rotate(-4deg); }
.xmas-pine--tr { top: -14px; right: -36px; transform: scaleX(-1) rotate(-4deg); }
.xmas-pine--bl { bottom: -36px; left: -36px; transform: scaleY(-1) rotate(-6deg); }
.xmas-pine--br { bottom: -36px; right: -36px; transform: scale(-1, -1) rotate(-6deg); }
.xmas-pine--hero-left { bottom: -70px; left: -90px; width: clamp(180px, 20vw, 300px); transform: scaleY(-1) rotate(-10deg); opacity: 0.95; }

/* Faint tiled snowflakes for light sections. */
.xmas-flakes {
  position: absolute;
  inset: 0;
  /* One 240px tile holding three small flakes of different sizes, so the
     pattern reads as a light scatter rather than wallpaper. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cdefs%3E%3Cg id='f' stroke-linecap='round' fill='none'%3E%3Cpath d='M0-10v20M-8.7-5l17.4 10M-8.7 5l17.4-10'/%3E%3Cpath d='M-2.5-7.5 0-5l2.5-2.5M-2.5 7.5 0 5l2.5 2.5M-8 -1.5l2.5-1.2-.6-2.7M8 1.5l-2.5 1.2.6 2.7M-8 1.5l2.5 1.2-.6 2.7M8-1.5l-2.5-1.2.6-2.7'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(40 52) scale(1.3)' stroke='%23d0142a' stroke-width='1.1'/%3E%3Cuse href='%23f' transform='translate(168 120) scale(.8)' stroke='%23e9b65a' stroke-width='1.6'/%3E%3Cuse href='%23f' transform='translate(92 196) scale(1)' stroke='%23d0142a' stroke-width='1.3'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.16;
}

.xmas-flakes--soft {
  opacity: 0.12;
}

/* Big "2027" watermark. */
.xmas-year {
  position: absolute;
  z-index: 0;
  right: -1.5vw;
  bottom: -5vw;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(140px, 22vw, 360px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(255, 231, 163, 0.22), rgba(255, 231, 163, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  translate: var(--px, 0) var(--py, 0);
  user-select: none;
}

/* ---------------------------------------------------------------- *
 * 2. Buttons — red gradient with a gold-white light sweep on hover
 * ---------------------------------------------------------------- */
.button--red,
.button--blue,
.header-contact {
  color: #fff;
  background:
    var(--x-shine) -160% 0 / 60% 100% no-repeat,
    var(--x-red-grad);
  box-shadow: 0 12px 24px -10px rgba(142, 11, 22, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 260ms var(--x-ease-out),
    box-shadow 260ms ease,
    background-position 900ms var(--x-ease-out);
}

.button--red:hover,
.button--blue:hover,
.header-contact:hover {
  background:
    var(--x-shine) 260% 0 / 60% 100% no-repeat,
    var(--x-red-grad);
  box-shadow: 0 18px 30px -12px rgba(142, 11, 22, 0.85), 0 0 0 3px rgba(246, 213, 142, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* The syllabus CTA had its own navy gradient; bring it into the red family. */
.curriculum-inner .syllabus-button.button--blue,
.syllabus-button.button--blue {
  background:
    var(--x-shine) -160% 0 / 60% 100% no-repeat,
    var(--x-red-grad);
}

.curriculum-inner .syllabus-button.button--blue:hover,
.syllabus-button.button--blue:hover {
  background:
    var(--x-shine) 260% 0 / 60% 100% no-repeat,
    var(--x-red-grad);
}

.button--light {
  background:
    var(--x-shine) -160% 0 / 60% 100% no-repeat,
    linear-gradient(180deg, #ffffff, #fff4ea);
  box-shadow: 0 14px 28px -12px rgba(40, 0, 8, 0.55), inset 0 0 0 1.5px rgba(233, 182, 90, 0.55);
  transition:
    transform 260ms var(--x-ease-out),
    box-shadow 260ms ease,
    background-position 900ms var(--x-ease-out);
}

.button--light:hover {
  background:
    linear-gradient(110deg, transparent 30%, rgba(233, 182, 90, 0.35) 50%, transparent 70%) 260% 0 / 60% 100% no-repeat,
    linear-gradient(180deg, #ffffff, #fff4ea);
  box-shadow: 0 18px 34px -12px rgba(40, 0, 8, 0.65), inset 0 0 0 2px rgba(233, 182, 90, 0.9), 0 0 24px rgba(255, 214, 120, 0.35);
}

.button--black.fs-stories-counselling {
  background:
    var(--x-shine) -160% 0 / 60% 100% no-repeat,
    linear-gradient(135deg, #5a0610, #2a0308);
  box-shadow: 0 14px 28px -12px rgba(58, 4, 11, 0.8), inset 0 0 0 1px rgba(246, 213, 142, 0.35);
  transition: transform 260ms var(--x-ease-out), box-shadow 260ms ease, background-position 900ms var(--x-ease-out);
}

.button--black.fs-stories-counselling:hover {
  background-position: 260% 0, 0 0;
  transform: translateY(-2px);
}

:focus-visible {
  outline-color: rgba(233, 182, 90, 0.95);
}

.xmas-btn-gift {
  transform: none !important;
}

.expert-button .expert-button-cracker.xmas-btn-gift img,
.final-cta-button .final-cta-cracker.xmas-btn-gift {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
  transform-origin: 50% 80%;
  animation: xmas-gift-wiggle 3.4s ease-in-out infinite;
}

@keyframes xmas-gift-wiggle {
  0%, 70%, 100% { transform: rotate(0) translateY(0); }
  76% { transform: rotate(-10deg) translateY(-2px); }
  82% { transform: rotate(9deg) translateY(-3px); }
  88% { transform: rotate(-5deg) translateY(-1px); }
  94% { transform: rotate(3deg); }
}

/* ---------------------------------------------------------------- *
 * 3. Header
 * ---------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px -12px rgba(90, 6, 16, 0.35);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

.site-header.xmas-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

/* Candy-cane rule under the header. */
.site-header.site-header::after {
  height: 4px;
  bottom: -4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent),
    repeating-linear-gradient(-45deg, #d0142a 0 9px, #ffffff 9px 18px, #e9b65a 18px 21px, #ffffff 21px 30px);
  opacity: 0.95;
  animation: xmas-candy 18s linear infinite;
}

@keyframes xmas-candy {
  to { background-position: 0 0, 424px 0; }
}

.site-nav a::after {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--x-red), var(--x-gold) 60%, var(--x-red));
}

.site-nav a:hover {
  color: var(--x-red);
}

.header-contact {
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- *
 * 4. Hero
 * ---------------------------------------------------------------- */
#home.hero-section {
  background-color: #7a0a16;
  background-image:
    radial-gradient(70% 60% at 82% 8%, rgba(255, 110, 110, 0.32), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(40, 0, 6, 0.55), transparent 65%),
    linear-gradient(160deg, rgba(196, 18, 36, 0.72) 0%, rgba(142, 11, 22, 0.82) 45%, rgba(70, 4, 12, 0.94) 100%),
    url("assets/image 85.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* The old diagonal red panel becomes a warm golden glow behind the form. */
#home.hero-section::after {
  inset: 0;
  width: auto;
  height: auto;
  clip-path: none !important;
  background: radial-gradient(38% 52% at 84% 46%, rgba(255, 196, 110, 0.22), transparent 72%);
  background-image: radial-gradient(38% 52% at 84% 46%, rgba(255, 196, 110, 0.22), transparent 72%);
}

#home.hero-section > .xmas-hero-deco {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.xmas-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}

.xmas-aurora--a {
  top: -20%;
  left: 18%;
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(255, 90, 100, 0.55), transparent 65%);
  animation: xmas-drift-a 18s ease-in-out infinite alternate;
}

.xmas-aurora--b {
  right: 8%;
  bottom: -30%;
  width: 40vw;
  height: 40vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(255, 196, 110, 0.35), transparent 65%);
  animation: xmas-drift-b 22s ease-in-out infinite alternate;
}

@keyframes xmas-drift-a {
  to { transform: translate(8vw, 6vh) scale(1.15); }
}

@keyframes xmas-drift-b {
  to { transform: translate(-10vw, -8vh) scale(0.9); }
}

.xmas-bokeh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 214, 120, 0.35) 0 3px, transparent 18px),
    radial-gradient(circle at 26% 72%, rgba(255, 255, 255, 0.22) 0 4px, transparent 22px),
    radial-gradient(circle at 48% 14%, rgba(255, 214, 120, 0.3) 0 2px, transparent 16px),
    radial-gradient(circle at 62% 58%, rgba(255, 130, 130, 0.3) 0 5px, transparent 26px),
    radial-gradient(circle at 74% 88%, rgba(255, 214, 120, 0.28) 0 3px, transparent 20px),
    radial-gradient(circle at 90% 22%, rgba(255, 255, 255, 0.25) 0 3px, transparent 18px),
    radial-gradient(circle at 38% 46%, rgba(255, 214, 120, 0.18) 0 6px, transparent 30px);
  animation: xmas-bokeh 7s ease-in-out infinite alternate;
}

@keyframes xmas-bokeh {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

#home .xmas-lights {
  top: 0;
  height: 30px;
}

#home .xmas-lights > i {
  height: 22px;
}

#home .xmas-year {
  right: auto;
  left: 34%;
  bottom: -1.2vw;
  font-size: clamp(150px, 19vw, 320px);
}

/* Snow drift that melts the hero into the white section below. */
.xmas-snowbank {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(26px, 3.4vw, 52px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.55' d='M0 34c80-18 150-22 230-8s170 22 250 4 160-30 250-14 160 26 250 10 170-28 250-14 120 16 210 4v44H0Z'/%3E%3Cpath fill='%23ffffff' d='M0 44c90-14 170-12 250 0s160 10 240-4 170-20 260-6 160 18 250 6 170-18 250-6 110 10 190 2v24H0Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}

/* Festive badge above the headline. */
.xmas-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 18px;
  color: var(--x-gold-pale);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(246, 213, 142, 0.55);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 196, 110, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.xmas-hero-badge-star {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: url("assets/xmas/star.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 214, 120, 0.9));
  animation: xmas-spin 9s linear infinite;
}

@keyframes xmas-spin {
  to { transform: rotate(360deg); }
}

/* Gold-foil kicker with a slow light sweep. */
#home .hero-kicker {
  background: var(--x-gold-foil);
  background-size: 220% 100%;
  box-shadow: 0 10px 26px -10px rgba(255, 196, 90, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(120, 70, 10, 0.25);
  animation: xmas-foil 6s ease-in-out infinite;
}

#home .hero-kicker-text {
  background: linear-gradient(90deg, #4a0710 0%, #b3101f 55%, #6d0612 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* The kicker now wraps only "AI-Powered", so keep it inline with the words
   around it on tablets too (style.css made the old, longer kicker a block). */
@media (min-width: 768px) and (max-width: 1024px) {
  #home .hero-kicker {
    display: inline-block;
    margin-bottom: 0;
  }
}

/* Centre the gold box on its word: it used to inherit the headline's tall
   line-height with padding only underneath, so the word sat against the top
   edge and the box looked dropped next to the plain words on the same line.
   A tight line-height with balanced padding hugs the word evenly while the
   baseline stays shared with the words around it. */
@media (min-width: 768px) {
  #home .hero-title .hero-kicker {
    line-height: 1.1;
    padding: 0.06em 0.26em 0.1em;
    border-radius: 0.18em;
    /* room for the arrow pointer before the next word */
    margin-right: 0.3em;
  }
}

#home .hero-title strong {
  background: linear-gradient(100deg, #f2c35e 0%, #fff3c9 25%, #f6d58e 45%, #e9a83a 70%, #fff0b8 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 18px rgba(255, 190, 80, 0.35));
  animation: xmas-foil 5s ease-in-out infinite;
}

@keyframes xmas-foil {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

#home .hero-duration {
  color: var(--x-gold-pale);
}

/* Secondary hero action: frosted glass with a gold rim. */
#home .hero-phone-link {
  background:
    var(--x-shine) -160% 0 / 60% 100% no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1.5px solid rgba(246, 213, 142, 0.75);
  box-shadow: 0 12px 26px -12px rgba(20, 0, 4, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#home .hero-phone-link:hover {
  background:
    var(--x-shine) 260% 0 / 60% 100% no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow: 0 16px 30px -12px rgba(20, 0, 4, 0.8), 0 0 22px rgba(255, 214, 120, 0.35);
}

#home .hero-phone-link .phone-circle {
  color: #5a0610;
  background: var(--x-gold-foil);
  box-shadow: 0 0 14px rgba(255, 214, 120, 0.55);
}

#home .hero-video-trigger .button-play-icon {
  animation: xmas-pulse-ring 2.4s ease-out infinite;
  border-radius: 50%;
}

@keyframes xmas-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

#home .hero-call-icon {
  color: #fff;
  background: var(--x-red-grad);
  box-shadow: 0 0 0 3px rgba(246, 213, 142, 0.6), 0 8px 18px rgba(40, 0, 8, 0.45);
}

/* Gift-wrapped form card. */
#home .hero-form-card {
  position: relative;
  overflow: visible;
  background:
    linear-gradient(180deg, #ffffff, #fffaf6) padding-box,
    linear-gradient(140deg, #f6d58e, #d0142a 38%, #f6d58e 66%, #8e0b16) border-box;
  border: 2px solid transparent;
  border-radius: 22px;
  box-shadow: 0 40px 70px -28px rgba(30, 0, 6, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.06), 0 0 60px rgba(255, 196, 110, 0.18);
}

#home .hero-form-card > * {
  position: relative;
  z-index: 1;
}

.xmas-bow {
  position: absolute !important;
  z-index: 2 !important;
  top: -30px;
  left: 50%;
  display: block;
  width: 96px;
  height: 56px;
  background: url("assets/xmas/bow.svg") center / contain no-repeat;
  filter: drop-shadow(0 6px 8px rgba(60, 0, 8, 0.35));
  transform: translateX(-50%);
  transform-origin: 50% 70%;
  animation: xmas-bow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes xmas-bow {
  0%, 86%, 100% { transform: translateX(-50%) rotate(0) scale(1); }
  90% { transform: translateX(-50%) rotate(-6deg) scale(1.06); }
  95% { transform: translateX(-50%) rotate(5deg) scale(1.03); }
}

#home .hero-form-card h2 {
  margin-top: 8px;
  color: var(--x-burgundy);
}

.lead-form .field-group input:focus,
.lead-form .phone-input:focus-within {
  border-color: var(--x-red);
  box-shadow: 0 0 0 3px rgba(208, 20, 42, 0.14), 0 0 0 6px rgba(233, 182, 90, 0.16);
}

.lead-form .phone-input {
  border: 1px solid transparent;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.lead-form .phone-input input:focus {
  box-shadow: none;
  border-color: transparent;
}

.lead-form .field-group label span[aria-hidden="true"] {
  color: var(--x-red);
}

.lead-submit {
  letter-spacing: 0.02em;
}

/* Content-sized enquiry form.
   1. style.css gives the hero card `min-height: 419px`, which left ~80px of
      dead space under the button on desktop. Let the content decide.
   2. Empty message slots (field errors + the form-level status line) are
      grid items, so even when blank they kept a grid track plus its gap —
      and the status line its 17px min-height — leaving a strip under the
      button. While empty they are taken out of grid flow (absolute, zero
      size) instead of display:none, so they stay in the accessibility tree
      and their live-region announcements keep working; as soon as script.js
      writes a message, :empty stops matching and they rejoin the flow. */
#home .hero-form-card {
  min-height: 0;
}

/* Desktop placement: style.css pins the card to the top of its grid column
   (align-self: start). That only looked right while the old 419px min-height
   made the card fill the column; at its natural height it hung up against the
   lights. Centre it against the hero copy instead, and give the fields a
   desktop-appropriate size. Tablet/mobile already centre the card. */
@media (min-width: 1025px) {
  #home .hero-form-card {
    align-self: center;
    padding: 36px 36px 34px;
  }

  #home .hero-form-card h2 {
    margin-bottom: 26px;
    font-size: 1.3rem;
  }

  #home .hero-form-card .field-group input,
  #home .hero-form-card .phone-input {
    height: 42px;
    font-size: 0.85rem;
  }

  #home .hero-form-card .field-group label {
    font-size: 0.85rem;
  }

  #home .hero-form-card .lead-form {
    gap: 16px;
  }

  #home .hero-form-card .lead-submit {
    min-height: 50px;
    font-size: 1rem;
  }
}

.lead-form .form-status:empty,
.lead-form .field-error:empty {
  position: absolute;
  min-height: 0;
  height: 0;
  overflow: hidden;
}

/* Mobile/tablet rules give the hero submit a flat navy fill; keep it festive red. */
#home .hero-form-card .lead-submit {
  background:
    var(--x-shine) -160% 0 / 60% 100% no-repeat,
    var(--x-red-grad);
  box-shadow: 0 10px 20px -10px rgba(142, 11, 22, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#home .hero-form-card .lead-submit:hover {
  background:
    var(--x-shine) 260% 0 / 60% 100% no-repeat,
    var(--x-red-grad);
}

/* Hero entrance choreography (only when JS is running and motion is OK). */
@media (prefers-reduced-motion: no-preference) {
  .xmas-js #home .hero-copy > * {
    animation: xmas-rise 900ms var(--x-ease-out) both;
  }

  .xmas-js #home .hero-copy > :nth-child(1) { animation-delay: 80ms; }
  .xmas-js #home .hero-copy > :nth-child(2) { animation-delay: 180ms; }
  .xmas-js #home .hero-copy > :nth-child(3) { animation-delay: 300ms; }
  .xmas-js #home .hero-copy > :nth-child(4) { animation-delay: 400ms; }
  .xmas-js #home .hero-copy > :nth-child(5) { animation-delay: 480ms; }
  .xmas-js #home .hero-copy > :nth-child(6) { animation-delay: 560ms; }

  .xmas-js #home .hero-form-card {
    animation: xmas-card-in 1100ms var(--x-ease-out) 250ms both;
  }

  .xmas-js #home .xo {
    animation:
      xmas-drop 1200ms var(--x-ease-out) both,
      xo-sway 5.2s ease-in-out var(--d, 0s) infinite alternate;
  }
}

@keyframes xmas-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes xmas-card-in {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes xmas-drop {
  from { transform: translateY(-110%) rotate(0); }
}

/* ---------------------------------------------------------------- *
 * 5. Section headings
 * ---------------------------------------------------------------- */
.section-title span,
.display-title span {
  background: linear-gradient(90deg, #e3202f, #b80d1f 60%, #8e0b16);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.curriculum-inner > .section-title span,
.projects-section .section-title span,
.faq-copy .section-title span {
  padding-bottom: 0.06em;
}

.accent-line {
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--x-red), var(--x-gold));
  transition: width 400ms var(--x-ease-out);
}

/* ---------------------------------------------------------------- *
 * 6. Program video
 * ---------------------------------------------------------------- */
.program-section {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(208, 20, 42, 0.06), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fff8f4 100%);
}

.program-section .program-video {
  position: relative;
  box-shadow: 0 0 0 2px rgba(246, 213, 142, 0.85), 0 0 0 9px rgba(208, 20, 42, 0.08), 0 40px 70px -30px rgba(90, 6, 16, 0.55);
  transition: box-shadow 400ms ease, transform 400ms var(--x-ease-out);
}

.program-section .program-video:hover {
  box-shadow: 0 0 0 2px rgba(246, 213, 142, 1), 0 0 0 9px rgba(208, 20, 42, 0.12), 0 50px 80px -30px rgba(90, 6, 16, 0.65), 0 0 50px rgba(255, 196, 110, 0.3);
  transform: translateY(-4px);
}

.program-section .video-play-button img {
  border-radius: 50%;
  animation: xmas-pulse-ring 2.4s ease-out infinite;
}

/* ---------------------------------------------------------------- *
 * 7. Curriculum cards
 * ---------------------------------------------------------------- */
.curriculum-section {
  background: linear-gradient(180deg, #fff8f4 0%, #ffffff 30%);
}

.curriculum-band::before {
  background:
    radial-gradient(circle at 10% 30%, rgba(255, 255, 255, 0.5) 0 1.5px, transparent 2px) 0 0 / 46px 46px,
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.5px) 0 0 / 31px 31px,
    linear-gradient(200deg, #e3202f 0%, #a10f1f 55%, #5a0610 100%) !important;
}

.curriculum-grid .program-card {
  transition: transform 380ms var(--x-ease-out), box-shadow 380ms ease;
}

.curriculum-grid .program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -24px rgba(90, 6, 16, 0.6), 0 0 0 2px rgba(246, 213, 142, 0.8);
}

.curriculum-grid .program-card:hover .accent-line {
  width: 88px;
}

.curriculum-grid .program-card h3 strong,
.curriculum-grid .program-card h3 {
  color: inherit;
}

/* ---------------------------------------------------------------- *
 * 8. Learning environment
 * ---------------------------------------------------------------- */
.environment-section .quote-mark {
  background: var(--x-gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.environment-section #environment-title span {
  background: linear-gradient(90deg, #e3202f, #8e0b16);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.environment-tile {
  transition: transform 500ms var(--x-ease-out), box-shadow 500ms ease;
}

.environment-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 40px -20px rgba(90, 6, 16, 0.55), 0 0 0 2px rgba(246, 213, 142, 0.8);
}

/* ---------------------------------------------------------------- *
 * 8b. Santa's sleigh flight (Learning Environment)
 *
 * Lives in the section's decorative layer (z 0), so it glides *behind*
 * the heading/gallery layer (z 1) and can never cover or block them.
 * Motion is split across nested layers so each axis has its own easing:
 *   .santa-track  horizontal journey (translateX in % of section width)
 *   .santa-arc    altitude + pitch, keyed to the same timeline
 *   .santa-bob    short hover bob, independent tempo
 * ---------------------------------------------------------------- */
.santa-flight {
  --fly-top: 66%;
  --fly-dur: 20s;
  --rig-w: clamp(230px, 21vw, 320px);
  --trail: -170px;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.santa-track {
  position: absolute;
  top: var(--fly-top);
  left: 0;
  width: 100%;
  transform: translateX(-40%);
  animation: santa-x var(--fly-dur) infinite;
  will-change: transform;
}

.santa-arc {
  width: var(--rig-w);
  transform-origin: 50% 60%;
  animation: santa-arc var(--fly-dur) ease-in-out infinite;
  will-change: transform;
}

.santa-bob {
  animation: santa-bob 2.8s ease-in-out infinite alternate;
}

.santa-rig {
  position: relative;
  width: var(--rig-w);
  aspect-ratio: 340 / 210;
}

.santa-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 18px 18px rgba(90, 6, 16, 0.22));
}

/* Journey: decelerate in -> slow cruise -> accelerate away -> rest off stage. */
@keyframes santa-x {
  0% { transform: translateX(-34%); animation-timing-function: cubic-bezier(0.22, 0.6, 0.35, 1); }
  42% { transform: translateX(15%); animation-timing-function: linear; }
  62% { transform: translateX(28%); animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.45); }
  84%, 100% { transform: translateX(110%); }
}

@keyframes santa-arc {
  0% { transform: translateY(56px) rotate(-7deg); }
  42% { transform: translateY(-6px) rotate(-1.5deg); }
  62% { transform: translateY(-18px) rotate(1.5deg); }
  84%, 100% { transform: translateY(-70px) rotate(-6deg); }
}

@keyframes santa-bob {
  from { transform: translateY(-6px) rotate(-1.2deg); }
  to { transform: translateY(6px) rotate(1deg); }
}

/* Santa waves; one gift bobs loose on top of the pile. */
.sl-wave {
  transform-box: fill-box;
  transform-origin: 0% 100%;
  animation: sl-wave 1.5s ease-in-out infinite alternate;
}

@keyframes sl-wave {
  from { transform: rotate(-12deg); }
  to { transform: rotate(10deg); }
}

.sl-float-gift {
  transform-box: fill-box;
  transform-origin: center;
  animation: sl-gift 2.3s ease-in-out infinite alternate;
}

@keyframes sl-gift {
  from { transform: translateY(2px) rotate(-6deg); }
  to { transform: translateY(-7px) rotate(9deg); }
}

/* Magic trail: a glowing streak plus gold dust shed from the runners. */
.santa-streak {
  position: absolute;
  top: 84%;
  right: 84%;
  width: calc(var(--rig-w) * 0.95);
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 120, 0.95));
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(255, 196, 90, 0.75);
  transform-origin: 100% 50%;
  animation: santa-streak 1.3s ease-in-out infinite alternate;
}

.santa-streak--soft {
  top: 78%;
  height: 14px;
  width: calc(var(--rig-w) * 1.2);
  background: linear-gradient(90deg, transparent, rgba(255, 220, 150, 0.45));
  border-radius: 14px;
  box-shadow: none;
  animation-delay: -0.6s;
}

@keyframes santa-streak {
  from { opacity: 0.55; transform: scaleX(0.85); }
  to { opacity: 1; transform: scaleX(1.05); }
}

.santa-dust {
  position: absolute;
  top: 84%;
  left: 14%;
}

.santa-dust > i {
  --dy: 14px;
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #fffbe8 0 30%, #f2c35e 60%, transparent 72%);
  border-radius: 50%;
  opacity: 0;
  animation: santa-dust 1.9s linear infinite;
  animation-delay: calc(var(--k) * -0.158s);
}

.santa-dust > i:nth-child(2n) { --dy: -12px; }
.santa-dust > i:nth-child(3n) { --dy: 30px; width: 4px; height: 4px; background: radial-gradient(circle, #fff 0 40%, transparent 72%); }
.santa-dust > i:nth-child(4n) { --dy: -24px; width: 8px; height: 8px; }

@keyframes santa-dust {
  0% { opacity: 0; transform: translate(0, 0) scale(1); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--trail), var(--dy)) scale(0.2); }
}

.santa-twinkle {
  position: absolute;
  z-index: 2;
  top: var(--ty);
  left: var(--tx);
  width: 16px;
  height: 16px;
  background: url("assets/xmas/star.svg") center / contain no-repeat;
  animation: xmas-sparkle 2.6s ease-in-out var(--td, 0s) infinite;
}

/* Only animate while the section is on screen (resumes, never restarts). */
.environment-section:not(.is-flying) .santa-flight,
.environment-section:not(.is-flying) .santa-flight * {
  animation-play-state: paused !important;
}

/* Tablet: smaller rig, same lower-left flight lane under the heading. */
@media (min-width: 768px) and (max-width: 1024px) {
  .santa-flight {
    --rig-w: 220px;
    --fly-top: 60%;
    --trail: -130px;
  }
}

/* Phones: the section is a short heading + photo strip, so Santa uses a
   dedicated route in the free corner beside the heading: he flies in from the
   right (mirrored, facing left), hovers, then climbs away over the top. */
@media (max-width: 767px) {
  .santa-flight {
    --rig-w: 112px;
    --fly-top: 4px;
    --fly-dur: 16s;
    --trail: -70px;
  }

  .santa-track {
    animation-name: santa-x-m;
  }

  .santa-arc {
    animation-name: santa-arc-m;
  }

  .santa-bob {
    animation-duration: 2.2s;
  }

  .santa-rig {
    transform: scaleX(-1);
  }

  .santa-svg {
    filter: none;
  }

  .santa-streak--soft,
  .santa-twinkle:nth-of-type(n + 2),
  .santa-dust > i:nth-child(n + 8) {
    display: none;
  }

  .santa-twinkle {
    width: 11px;
    height: 11px;
  }
}

/* Narrowest phones: park a little further right so the sleigh never touches the heading. */
@media (max-width: 360px) {
  .santa-flight {
    --rig-w: 100px;
    --m-hover: 58%;
  }
}

@keyframes santa-x-m {
  0% { transform: translateX(105%); animation-timing-function: cubic-bezier(0.22, 0.6, 0.35, 1); }
  30% { transform: translateX(var(--m-hover, 52%)); animation-timing-function: ease-in-out; }
  58% { transform: translateX(calc(var(--m-hover, 52%) - 5%)); animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.45); }
  80%, 100% { transform: translateX(26%); }
}

@keyframes santa-arc-m {
  0% { transform: translateY(16px) rotate(5deg); }
  30% { transform: translateY(0) rotate(0deg); }
  58% { transform: translateY(-3px) rotate(1deg); }
  80%, 100% { transform: translateY(-150px) rotate(14deg); }
}

/* ---------------------------------------------------------------- *
 * 9. Tools
 * ---------------------------------------------------------------- */
.tool-group h3 {
  color: var(--x-burgundy);
}

.tool-group h3::after {
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--x-red), var(--x-gold));
  border-radius: 3px;
  content: "";
}

.tools-section .section-title--centered + .tools-grid .tool-group h3::after,
.tool-group--development h3::after {
  margin-inline: inherit;
}

.tool-tile:hover,
.tool-tile:focus-visible {
  filter: drop-shadow(0 12px 18px rgba(208, 20, 42, 0.28)) drop-shadow(0 0 10px rgba(255, 196, 110, 0.4));
}

/* ---------------------------------------------------------------- *
 * 10. Students
 * ---------------------------------------------------------------- */
.success-spotlight {
  color: rgba(255, 231, 163, 0.75);
}

/* ---------------------------------------------------------------- *
 * 11. Why INNOVEL
 * ---------------------------------------------------------------- */
#why-innovel.why-section {
  background-color: #7a0a16;
  background-image:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 110, 110, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(196, 18, 36, 0.75), rgba(58, 4, 11, 0.95)),
    url("assets/image 85.png");
  background-size: cover;
}

#why-innovel .xmas-lights {
  z-index: 0;
}

#why-innovel .why-inner {
  padding-top: 64px;
}

#why-innovel .benefit-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(246, 213, 142, 0.4);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 30px 60px -30px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#why-innovel .benefit-item {
  transition: transform 380ms var(--x-ease-out);
}

#why-innovel .benefit-item:hover {
  transform: translateY(-6px);
}

#why-innovel .benefit-item > img,
#why-innovel .benefit-icon {
  border: 1px solid rgba(246, 213, 142, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04), 0 0 26px rgba(255, 196, 110, 0.2);
  transition: box-shadow 380ms ease, border-color 380ms ease;
}

#why-innovel .benefit-item:hover > img,
#why-innovel .benefit-item:hover .benefit-icon {
  border-color: rgba(246, 213, 142, 1);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 0 34px rgba(255, 214, 120, 0.55);
}

#why-innovel .benefit-item h3 {
  color: var(--x-gold-pale);
}

#why-innovel #why-title strong {
  background: linear-gradient(90deg, #ffffff, #fff3c9 60%, #f6d58e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- *
 * 12. Student testimonials
 * ---------------------------------------------------------------- */
.fs-testimonials-section {
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(208, 20, 42, 0.07), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(233, 182, 90, 0.12), transparent 70%),
    #fff8f4;
}

.fs-stories-heading .fs-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  color: var(--x-red);
  background: rgba(208, 20, 42, 0.07);
  border: 1px solid rgba(208, 20, 42, 0.18);
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.fs-accent-text {
  color: var(--x-red);
}

.fs-story-play-icon::after {
  border-left-color: var(--x-red);
}

.fs-story-play-icon {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6), 0 6px 18px rgba(60, 0, 8, 0.35);
  animation: xmas-pulse-ring 2.4s ease-out infinite;
}

.fs-story-feature figcaption::before,
.fs-stories-list-panel h3::after {
  background: linear-gradient(180deg, var(--x-red), var(--x-gold));
}

.fs-stories-list-panel h3::after {
  background: linear-gradient(90deg, var(--x-red), var(--x-gold));
}

.fs-story-feature {
  box-shadow: 0 0 0 2px rgba(246, 213, 142, 0.7), 0 30px 50px -26px rgba(90, 6, 16, 0.55);
  transition: transform 400ms var(--x-ease-out), box-shadow 400ms ease;
}

.fs-story-feature:hover {
  transform: translateY(-4px);
}

.fs-stories-list-panel {
  border-color: rgba(233, 182, 90, 0.45);
  box-shadow: 0 30px 50px -30px rgba(90, 6, 16, 0.35);
}

.fs-story-watch {
  color: var(--x-red);
}

.fs-story-choice {
  transition: background-color 220ms ease, transform 220ms ease;
}

.fs-story-choice:hover,
.fs-story-choice[aria-pressed="true"] {
  background: #fff3ee;
}

.fs-story-choice:hover .fs-story-choice-arrow {
  color: #fff;
  background: var(--x-red-grad);
  border-color: transparent;
}

.fs-story-choice-arrow {
  transition: background-color 220ms ease, color 220ms ease;
}

.fs-story-choice:focus-visible,
.fs-story-feature-play:focus-visible,
.fs-stories-counselling:focus-visible {
  outline-color: var(--x-gold);
}

.fs-story-dialog::backdrop {
  background: rgba(40, 3, 9, 0.7);
}

.xmas-gift-stack {
  position: absolute;
  right: clamp(12px, 3vw, 48px);
  bottom: 18px;
  width: clamp(64px, 7vw, 104px);
  aspect-ratio: 1;
  background: url("assets/xmas/gift.svg") center / contain no-repeat;
  filter: drop-shadow(0 10px 14px rgba(90, 6, 16, 0.3));
  animation: xmas-float 5s ease-in-out infinite;
}

@keyframes xmas-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

/* ---------------------------------------------------------------- *
 * 13. Projects & partners
 * ---------------------------------------------------------------- */
.projects-section {
  background:
    radial-gradient(50% 50% at 100% 0%, rgba(208, 20, 42, 0.05), transparent 70%),
    #ffffff;
}

.project-slide img {
  transition: transform 600ms var(--x-ease-out);
}

.project-slide:hover img {
  transform: scale(1.025);
}

.carousel-button {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(233, 182, 90, 0.7), 0 10px 20px -10px rgba(90, 6, 16, 0.5);
  transition: transform 220ms var(--x-ease-out), box-shadow 220ms ease, background-color 220ms ease;
}

.carousel-button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px rgba(233, 182, 90, 1), 0 14px 24px -10px rgba(90, 6, 16, 0.6);
}

.project-dot.is-active {
  background: var(--x-red) !important;
}

.partners-title {
  color: var(--x-burgundy);
}

.partner-logo {
  transition: transform 300ms var(--x-ease-out), filter 300ms ease;
}

.partner-logo:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 10px 12px rgba(90, 6, 16, 0.2));
}

/* ---------------------------------------------------------------- *
 * 14. Certificate
 * ---------------------------------------------------------------- */
.certificate-section {
  background:
    radial-gradient(45% 55% at 22% 50%, rgba(255, 196, 110, 0.22), transparent 70%),
    radial-gradient(60% 60% at 100% 0%, rgba(255, 110, 110, 0.25), transparent 60%),
    linear-gradient(180deg, #c4122a 0%, #8e0b16 55%, #4a0510 100%);
}

.certificate-image {
  filter: drop-shadow(0 30px 40px rgba(30, 0, 6, 0.55)) drop-shadow(0 0 30px rgba(255, 196, 110, 0.25));
  transition: transform 700ms var(--x-ease-out);
}

.certificate-image:hover {
  transform: rotate(-1.5deg) scale(1.02);
}

.certificate-benefit {
  padding: 14px 16px;
  border-radius: 16px;
  transition: background-color 300ms ease, transform 300ms var(--x-ease-out);
}

.certificate-benefit:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(6px);
}

.certificate-benefit h3 {
  color: var(--x-gold-pale);
}

/* ---------------------------------------------------------------- *
 * 15. FAQ
 * ---------------------------------------------------------------- */
.faq-section {
  background:
    radial-gradient(40% 50% at 100% 50%, rgba(208, 20, 42, 0.06), transparent 70%),
    #ffffff;
}

.faq-accordion {
  background: linear-gradient(180deg, #fff8f4, #fff2ec) !important;
  border: 1px solid rgba(233, 182, 90, 0.35);
  box-shadow: 0 30px 60px -40px rgba(90, 6, 16, 0.45);
}

.faq-question {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--x-ease-out);
}

.faq-question:hover {
  border-color: rgba(208, 20, 42, 0.45);
  box-shadow: 0 10px 20px -14px rgba(90, 6, 16, 0.45);
  transform: translateY(-1px);
}

.faq-item.is-open .faq-question {
  border-color: rgba(233, 182, 90, 0.8);
}

.faq-answer {
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px) 0 0 / 38px 38px,
    linear-gradient(160deg, #d0142a, #8e0b16);
  box-shadow: inset 0 1px 0 rgba(246, 213, 142, 0.6);
}

.faq-item.is-open .faq-answer:not([hidden]) {
  animation: xmas-unfold 420ms var(--x-ease-out);
}

@keyframes xmas-unfold {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* FAQ indicator: a small red bauble whose +/− shows the open state. */
.faq-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75) 0 8%, transparent 22%),
    radial-gradient(circle at 35% 30%, #ff6b74, #d0142a 50%, #7d0716 92%);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(90, 6, 16, 0.3);
  transition: transform 300ms var(--x-ease-out), background 300ms ease;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  bottom: auto !important;
  width: 11px !important;
  height: 2px !important;
  background: #fff !important;
  border-radius: 2px !important;
  content: "" !important;
  filter: none !important;
  animation: none !important;
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--x-ease-out), opacity 300ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-icon--close {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85) 0 8%, transparent 22%),
    radial-gradient(circle at 35% 30%, #fff3c4, #e9b65a 50%, #7c4f0e 92%);
  transform: rotate(180deg);
}

.faq-icon--close::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* ---------------------------------------------------------------- *
 * FAQ illustration — animated 3D question mark + gift boxes (SVG)
 *
 * Structure inside the SVG:
 *   .fq-pop   one-off entrance (runs once when the section first appears)
 *   .fq-float endless idle motion (float / tilt), paused while off screen
 * Splitting them onto two nested groups means the entrance never fights the
 * loop for `transform`, and hovering only ever moves the outer group.
 * ---------------------------------------------------------------- */
.xmas-faq-figure {
  position: relative;
  display: block;
  width: min(100%, 400px);
  justify-self: center;
}

.fq-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Only the animated layers pivot on their own centre; static positioning
   transforms (e.g. the scaled mini question marks) keep SVG's default origin. */
.fq-pop,
.fq-float,
.fq-gift,
.fq-gshadow,
.fq-glow,
.fq-qm-halo,
.fq-spark,
.fq-dust circle,
.fq-snow circle {
  transform-box: fill-box;
  transform-origin: center;
}

/* Idle loops: float + tilt, every element on its own tempo. */
.fq-float {
  animation: fq-float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes fq-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-9px) rotate(var(--rot, 2deg)); }
  65% { transform: translateY(4px) rotate(calc(var(--rot, 2deg) * -0.6)); }
}

.fq-qm {
  animation-name: fq-qm-float;
  transform-origin: 50% 85%;
}

@keyframes fq-qm-float {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
  50% { transform: translateY(-12px) rotate(3deg) scale(1.025); }
}

.fq-mini {
  animation-name: fq-mini;
}

@keyframes fq-mini {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(var(--rot, 10deg)); }
}

/* Contact shadows breathe in step with the gift above them. */
.fq-gshadow {
  animation: fq-shadow var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes fq-shadow {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  30% { transform: scaleX(0.82); opacity: 0.65; }
  65% { transform: scaleX(1.05); opacity: 1; }
}

.fq-glow {
  animation: fq-glow 5s ease-in-out infinite;
}

.fq-qm-halo {
  opacity: 0.7;
  animation: fq-glow 4.2s ease-in-out -1s infinite;
  transition: opacity 500ms ease;
}

@keyframes fq-glow {
  0%, 100% { opacity: 0.65; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.fq-rays {
  transform-origin: 215px 215px;
  transform-box: view-box;
  animation: fq-spin 60s linear infinite;
}

@keyframes fq-spin {
  to { transform: rotate(360deg); }
}

/* A golden glint that travels along the question mark every few seconds. */
.fq-qm-shine {
  opacity: 0.85;
  stroke-dashoffset: 40;
  animation: fq-shine 5.5s ease-in-out 1.5s infinite;
}

@keyframes fq-shine {
  0% { stroke-dashoffset: 40; opacity: 0; }
  8% { opacity: 0.9; }
  45% { stroke-dashoffset: -420; opacity: 0.9; }
  52%, 100% { stroke-dashoffset: -460; opacity: 0; }
}

.fq-spark {
  opacity: 0;
  animation: fq-spark var(--sp, 3s) ease-in-out var(--sdl, 0s) infinite;
}

.fq-spark--white {
  fill: #fff;
}

@keyframes fq-spark {
  0%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
  45% { opacity: 1; transform: scale(var(--ss, 1)) rotate(45deg); }
  70% { opacity: 0.25; transform: scale(calc(var(--ss, 1) * 0.6)) rotate(90deg); }
}

.fq-dust circle {
  opacity: 0;
  animation: fq-dust var(--dd, 6s) ease-out var(--ddl, 0s) infinite;
}

@keyframes fq-dust {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(10px, -230px); }
}

.fq-snow circle {
  opacity: 0;
  animation: fq-snow var(--sd, 10s) linear var(--sdl, 0s) infinite;
}

@keyframes fq-snow {
  0% { opacity: 0; transform: translate(0, -10px); }
  10% { opacity: 0.9; }
  85% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(var(--sx, 10px), 440px); }
}

/* Entrance: the question mark drops in, gifts pop in one after another.
   It only runs once (.is-in is never removed). */
.xmas-js .xmas-faq-art:not(.is-in) .fq-pop {
  opacity: 0;
}

.xmas-faq-art.is-in .fq-pop {
  animation: fq-pop 900ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i, 0) * 110ms + 120ms) backwards;
}

.xmas-faq-art.is-in .fq-pop--drop {
  animation: fq-drop 1100ms cubic-bezier(0.34, 1.4, 0.64, 1) 80ms backwards;
}

@keyframes fq-pop {
  from { opacity: 0; transform: translateY(30px) scale(0.6); }
  to { opacity: 1; transform: none; }
}

@keyframes fq-drop {
  from { opacity: 0; transform: translateY(-60px) scale(0.85) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}

/* Hover: gifts hop, the question mark glows brighter. */
.fq-gift {
  cursor: default;
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fq-gift:hover {
  transform: translateY(-10px) rotate(-3deg);
}

.xmas-faq-art:hover .fq-qm-halo {
  opacity: 1;
}

/* Pause every loop while the illustration is off screen (no restarts — the
   animations simply resume where they stopped). */
.xmas-faq-art:not(.is-visible) * {
  animation-play-state: paused !important;
}

.xmas-faq-art.is-visible * {
  animation-play-state: running;
}

/* ---------------------------------------------------------------- *
 * 16. Final CTA
 * ---------------------------------------------------------------- */
.final-cta.section {
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(255, 196, 110, 0.28), transparent 70%),
    radial-gradient(50% 70% at 50% -10%, rgba(255, 110, 110, 0.3), transparent 70%),
    linear-gradient(180deg, #b80d1f 0%, #7a0a16 55%, #3a040b 100%);
}

.final-cta .xmas-year--cta {
  right: auto;
  bottom: auto;
  top: 50%;
  left: 50%;
  font-size: clamp(160px, 26vw, 420px);
  transform: translate(-50%, -52%);
  background: linear-gradient(180deg, rgba(255, 231, 163, 0.16), rgba(255, 231, 163, 0.01));
  -webkit-background-clip: text;
  background-clip: text;
}

.final-cta .xmas-aurora--a {
  top: auto;
  bottom: -60%;
  left: 25%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 196, 110, 0.35), transparent 65%);
}

.final-cta h2 {
  text-shadow: 0 6px 30px rgba(30, 0, 6, 0.45);
}

.final-cta-button {
  min-width: 230px;
}

/* ---------------------------------------------------------------- *
 * 17. Modal, toasts & mobile contact bar
 * ---------------------------------------------------------------- */
.lead-modal {
  border-radius: 20px;
  box-shadow: 0 40px 80px -20px rgba(30, 0, 6, 0.6), 0 0 0 2px rgba(233, 182, 90, 0.7);
}

.lead-modal .modal-inner {
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(-45deg, #d0142a 0 9px, #ffffff 9px 18px, #e9b65a 18px 21px, #ffffff 21px 30px) 6;
}

.lead-modal::backdrop {
  background: rgba(40, 3, 9, 0.66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lead-modal #modal-title {
  color: var(--x-burgundy);
}

.lead-modal[open] {
  animation: xmas-card-in 420ms var(--x-ease-out);
}

.inv-bar .inv-call {
  background: var(--x-red-grad) !important;
}

/* ---------------------------------------------------------------- *
 * 18. Scroll reveal (classes added by xmas.js; removed after reveal so
 *     each element falls back to its own transitions/transforms).
 * ---------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .xmas-js .xr {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
      opacity 800ms var(--x-ease-out) var(--rd, 0ms),
      transform 900ms var(--x-ease-out) var(--rd, 0ms);
  }

  .xmas-js .xr.xr--left {
    transform: translate3d(-40px, 0, 0);
  }

  .xmas-js .xr.xr--right {
    transform: translate3d(40px, 0, 0);
  }

  .xmas-js .xr.xr--zoom {
    transform: scale(0.94);
  }

  .xmas-js .xr.is-in {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------- *
 * 19. Responsive
 * ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .xmas-pine {
    width: clamp(140px, 22vw, 220px);
  }

  .xo--wide {
    display: none;
  }

  #home .xmas-year {
    left: 4%;
  }

  .xmas-hero-badge {
    padding: 7px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .xmas-aurora,
  .xmas-pine--hero-left {
    display: none;
  }

  .xmas-hero-badge {
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .xmas-hero-badge-star {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
  }

  #home .xmas-lights {
    height: 22px;
  }

  #home .xmas-lights > i {
    height: 15px;
  }

  #home .xmas-lights > i:nth-child(n + 15),
  .xmas-lights--section > i:nth-child(n + 13) {
    display: none;
  }

  .xmas-lights > i::after {
    width: 6px;
    height: 8px;
    bottom: -11px;
  }

  /* On phones the hanging ornaments would collide with the stacked copy, so
     only the ones explicitly marked for mobile stay, re-placed via --mx/--mlen. */
  .xo:not(.xo--mobile) {
    display: none;
  }

  .xo.xo--mobile {
    --size: 24px !important;
    left: var(--mx, var(--x));
    height: calc(var(--mlen, 50px) + var(--size) + 4px);
    background-size: 100% var(--mlen, 50px);
  }

  .xo.xo--mobile::before {
    top: calc(var(--mlen, 50px) - 1px);
  }

  /* The stacked mobile hero has no empty band for the watermark. */
  #home .xmas-year {
    display: none;
  }

  #home .hero-form-card {
    margin-top: 14px;
    border-radius: 18px;
  }

  .xmas-bow {
    top: -24px;
    width: 74px;
    height: 44px;
  }

  .xmas-pine {
    width: 130px;
  }

  .xmas-pine--tl { top: -10px; left: -40px; }
  .xmas-pine--tr { top: -10px; right: -40px; }

  .xmas-gift-stack {
    width: 54px;
    bottom: 10px;
  }

  #why-innovel .why-inner {
    padding-top: 48px;
  }

  /* On phones each benefit is already its own card; drop the outer frame. */
  #why-innovel .benefit-panel {
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* Phones: sits above the accordion (as the old image did), compact. */
  .xmas-faq-figure {
    order: -1;
    align-self: center;
    width: clamp(190px, 58vw, 250px);
    max-width: 100%;
  }

  .fq-snow,
  .fq-rays {
    display: none;
  }

  .carousel-button {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .xmas-snowbank {
    height: 22px;
  }

  .certificate-benefit {
    padding: 10px 8px;
  }

  .certificate-benefit:hover {
    transform: none;
  }
}

@media (max-width: 400px) {
  .xmas-hero-badge {
    letter-spacing: 0.1em;
  }
}

/* Large desktop: give the hero a touch more breathing room for the badge. */
@media (min-width: 1441px) {
  #home .xmas-year {
    left: 30%;
  }
}

/* ---------------------------------------------------------------- *
 * 20. Reduced motion — everything settles into a calm static scene.
 * ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .xo,
  .xo::after,
  .xmas-lights > i::after,
  .xmas-sparkle,
  .xmas-aurora,
  .xmas-bokeh,
  .xmas-hero-badge-star,
  #home .hero-kicker,
  #home .hero-title strong,
  .xmas-bow,
  .xmas-gift-stack,
  .site-header.site-header::after,
  .expert-button .expert-button-cracker.xmas-btn-gift img,
  .final-cta-button .final-cta-cracker.xmas-btn-gift,
  .program-section .video-play-button img,
  .fs-story-play-icon,
  #home .hero-video-trigger .button-play-icon,
  .lead-modal[open],
  .faq-item.is-open .faq-answer:not([hidden]) {
    animation: none !important;
  }

  .xmas-sparkle {
    opacity: 0.7;
  }

  .xmas-sky {
    display: none;
  }

  /* Santa parks in his lane instead of flying. */
  .santa-flight *,
  .santa-track,
  .santa-arc {
    animation: none !important;
  }

  .santa-track {
    transform: translateX(16%);
  }

  .santa-dust,
  .santa-streak--soft {
    display: none;
  }

  .santa-twinkle {
    opacity: 0.8;
  }

  /* FAQ illustration: a calm, fully composed still. */
  .xmas-faq-art *,
  .xmas-faq-art.is-in .fq-pop {
    animation: none !important;
  }

  @media (max-width: 767px) {
    .santa-track {
      transform: translateX(var(--m-hover, 52%));
    }
  }

  .xmas-faq-art .fq-pop {
    opacity: 1 !important;
  }

  .fq-spark {
    opacity: 0.8;
  }

  .fq-dust,
  .fq-snow,
  .fq-qm-shine {
    display: none;
  }

  .fq-gift:hover {
    transform: none;
  }
}

/* ==========================================================================
   Course cards ("Everything You Need to Become a ...") on phones: one large,
   readable card at a time in the swipe row (was two 158px cards with 6-8.5px
   text). The next card peeks in so people know to swipe. Phones only.
   ========================================================================== */
@media (max-width: 767px) {
  .curriculum-viewport { scroll-snap-type: x proximity; scroll-padding-left: 20px; }
  .curriculum-grid { gap: 16px; padding: 0 20px 22px; }
  .curriculum-grid .program-card { flex: 0 0 min(78vw, 300px); padding: 10px 10px 18px; gap: 10px; border-radius: 12px; scroll-snap-align: start; }
  .curriculum-grid .program-card > img { border-radius: 8px; }
  .curriculum-grid .program-card h3 { font-size: 16px; line-height: 1.25; white-space: normal; }
  .curriculum-grid .program-card .accent-line { width: 32px; height: 2px; margin-top: 6px; }
  .curriculum-grid .program-card h4 { font-size: 15px; line-height: 1.3; margin-top: 8px; }
  .curriculum-grid .program-card p { font-size: 14px; line-height: 1.5; margin-top: 6px; }
  .curriculum-inner .syllabus-button { min-height: 44px; padding: 12px 22px; font-size: 15px; border-radius: 8px; }
}
