/* Moddaker Academy homepage — conversion-focused, motion-rich, accessible */
.home-page { --home-action: #00566a; --home-action-hover: #003d4d; --home-action-shadow: 0 10px 26px rgba(0,86,106,.28); overflow-x: hidden; background: #fff; }
.home-page main { isolation: isolate; }
.home-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.home-section { position: relative; padding: 108px 0; }
.home-eyebrow { display: inline-block; margin-bottom: 16px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.home-page h2 { color: var(--ink); font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.home-page h2 em { color: var(--gold); font-family: 'Playfair Display', serif; font-weight: 600; }
.home-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 14px 27px; border: 1.5px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; overflow: hidden; }
.home-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45) 48%, transparent 75%); transform: translateX(-140%); transition: transform .7s ease; }
.home-btn:hover::before { transform: translateX(140%); }
.home-btn:hover { transform: translateY(-3px); }
.home-btn span { font-size: 19px; transition: transform .25s ease; }
.home-btn:hover span { transform: translateX(4px); }
.home-btn-gold { color: #fff; background: var(--home-action); box-shadow: var(--home-action-shadow); }
.home-btn-gold:hover { color: #fff; background: var(--home-action-hover); box-shadow: 0 14px 32px rgba(0,61,77,.38); }
.home-btn-teal { color: #fff; background: linear-gradient(145deg, var(--teal), var(--teal-deep)); box-shadow: 0 14px 32px rgba(0,61,77,.2); }
.home-btn-outline { color: var(--teal); border-color: rgba(0,86,106,.35); background: #fff; }
.home-btn-outline:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.home-btn-large { min-height: 62px; padding-inline: 34px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; color: var(--teal); font-size: 14px; font-weight: 800; }
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translateX(5px); }

/* fixed quick actions — matched to the public 2 homepage */
.home-floating-actions { position: fixed; z-index: 1490; right: 16px; bottom: calc(28px + env(safe-area-inset-bottom,0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 30px; pointer-events: none; }
.home-floating-actions a { pointer-events: auto; }
.home-floating-whatsapp { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: transform .2s ease,box-shadow .2s ease; }
.home-floating-whatsapp::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(37,211,102,.22); border-radius: inherit; animation: floatingWhatsappPulse 2.6s ease-out infinite; }
.home-floating-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }
.home-floating-whatsapp:hover { transform: scale(1.12); box-shadow: 0 7px 27px rgba(37,211,102,.62); }
.home-floating-trial { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 8px; color: #fff; background: #00566a; box-shadow: 0 4px 16px rgba(10,37,64,.35); font-size: .85rem; font-weight: 700; letter-spacing: .06em; line-height: 1.25; white-space: nowrap; transition: transform .2s ease,box-shadow .2s ease,background .2s ease; }
.home-floating-trial:hover { color: #fff; background: #003d4d; box-shadow: 0 10px 28px rgba(10,37,64,.45); transform: translateY(-3px); }
.home-floating-whatsapp:focus-visible,.home-floating-trial:focus-visible { outline: 3px solid rgba(212,175,55,.5); outline-offset: 4px; }
.home-page .md-back-to-top,.home-page .to-top { right: auto; left: 16px; }

@keyframes floatingWhatsappPulse { 0%{opacity:.65;transform:scale(.86)} 70%,100%{opacity:0;transform:scale(1.22)} }

/* hero */
.home-hero { position: relative; min-height: min(850px, calc(100vh - 62px)); display: grid; place-items: center; overflow: hidden; padding: 80px 0 98px; color: var(--ink); background: #fff; }
.hero-noise { position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(rgba(0,86,106,.16) .8px, transparent .8px); background-size: 25px 25px; mask-image: linear-gradient(90deg, #000, transparent 92%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 520px; height: 520px; right: -130px; top: -210px; background: radial-gradient(circle, rgba(212,175,55,.14), transparent 68%); animation: orbBreathe 7s ease-in-out infinite; }
.hero-orb-two { width: 360px; height: 360px; left: -180px; bottom: -90px; border: 1px solid rgba(0,86,106,.08); box-shadow: 0 0 0 50px rgba(0,86,106,.018), 0 0 0 100px rgba(0,86,106,.01); animation: slowSpin 28s linear infinite; }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(44px, 5vw, 72px); align-items: center; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: rgba(0,61,77,.76); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 6px rgba(212,175,55,.13); animation: pulseGold 2.4s ease-out infinite; }
.hero-copy h1 { max-width: 680px; color: var(--ink); font-size: clamp(44px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
.hero-copy h1 em { display: block; margin-top: 10px; color: var(--gold-bright); font-family: 'Playfair Display', serif; font-weight: 600; }
.hero-copy > p { max-width: 610px; margin-top: 26px; color: rgba(0,61,77,.76); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.home-btn-glass { color: var(--teal-deep); background: rgba(0,86,106,.04); border-color: rgba(0,86,106,.3); backdrop-filter: blur(10px); }
.home-btn-glass:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.hero-visual { position: relative; width: 100%; max-width: 590px; justify-self: end; padding: 28px 10px; }
.hero-image-wrap { position: relative; overflow: hidden; aspect-ratio: .86; border-radius: 42% 42% 25px 25px; border: 1px solid rgba(0,86,106,.12); box-shadow: 0 28px 70px rgba(0,61,77,.18); transform-style: preserve-3d; transition: transform .18s ease-out; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,61,77,.34)); }
.hero-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.025); animation: heroImageDrift 9s ease-in-out infinite alternate; }
@media (min-width: 861px) {
  .home-hero .home-shell { width: min(1540px, calc(100% - 64px)); }
  .hero-layout { grid-template-columns: .84fr 1.16fr; gap: clamp(48px, 4vw, 84px); }
  .hero-visual { max-width: 780px; }
  .hero-image-wrap { aspect-ratio: 1.18; }
}
.image-sheen { position: absolute; z-index: 2; inset: -60% -90%; background: linear-gradient(110deg, transparent 42%, rgba(255,255,255,.13) 50%, transparent 58%); transform: translateX(-32%); animation: imageSheen 7s ease-in-out infinite; }
.float-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; min-width: 225px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.55); border-radius: 16px; color: var(--teal-deep); background: rgba(255,255,255,.94); box-shadow: 0 18px 48px rgba(0,33,43,.25); backdrop-filter: blur(12px); }
.float-card b,.float-card small { display: block; }
.float-card b { font-size: 12px; }
.float-card small { margin-top: 2px; color: var(--slate); font-size: 9.5px; }
.float-card-top { top: 12%; left: -75px; animation: floatOne 5.4s ease-in-out infinite; }
.float-card-bottom { right: -42px; bottom: 17%; animation: floatTwo 6.2s ease-in-out infinite; }
.float-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--teal); }
.pulse-dot { width: 13px; height: 13px; margin: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 0 rgba(212,175,55,.45); animation: pulseGoldWide 2s infinite; }
.hero-seal { position: absolute; z-index: 4; left: -30px; bottom: 25px; display: flex; align-items: center; gap: 10px; width: 126px; height: 126px; padding: 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: var(--home-action); box-shadow: var(--home-action-shadow),0 18px 40px rgba(0,30,40,.18); animation: sealRotate 12s ease-in-out infinite; }
.hero-seal strong { font-size: 36px; line-height: 1; }
.hero-seal span { font-size: 10px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 4; bottom: 22px; left: 50%; display: grid; place-items: start center; width: 27px; height: 44px; border: 1px solid rgba(0,86,106,.35); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { width: 4px; height: 8px; margin-top: 8px; border-radius: 3px; background: var(--gold-bright); animation: scrollCue 1.8s ease-in-out infinite; }

/* marquee */
.trust-marquee { overflow: hidden; color: #fff; background: var(--home-action); border-block: 1px solid rgba(255,255,255,.24); box-shadow: 0 8px 24px rgba(0,86,106,.16); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 32px; padding: 17px 0; animation: marquee 27s linear infinite; }
.marquee-track span { font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { color: rgba(255,255,255,.55); font-size: 8px; font-style: normal; }
.trust-marquee:hover .marquee-track { animation-play-state: paused; }

/* ayah reflection */
.home-ayah-section { overflow: hidden; padding: clamp(64px,8vw,80px) 24px; border-top: 1px solid rgba(212,175,55,.15); background: #fff; }
.home-ayah-inner { width: min(100%, 760px); margin-inline: auto; text-align: center; }
.home-ayah-arabic { margin: 0 0 14px; color: #c4a44a; font-family: "Amiri",serif; font-size: clamp(25px,3.5vw,38px); font-weight: 400; letter-spacing: .03em; line-height: 1.8; white-space: nowrap; }
.home-ayah-reference { margin: 0 0 20px; color: #999; font-family: "Amiri",serif; font-size: clamp(13px,1.4vw,15px); letter-spacing: .03em; }
.home-ayah-translation { max-width: 600px; margin: 0 auto 28px; color: #2a2a2a; font-size: clamp(14px,1.5vw,16px); line-height: 1.85; }
.home-ayah-translation em { color: #444; font-weight: 400; }
.home-ayah-translation strong { font-weight: 750; }
.home-ayah-button { min-width: 266px; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 34px; cursor: pointer; border: 1.5px solid #c4a44a; border-radius: 99px; color: #b8922a; background: transparent; box-shadow: 0 2px 7px rgba(184,146,42,.22); font: 650 14px/1 "Lexend",sans-serif; letter-spacing: .02em; transition: transform .25s ease,box-shadow .25s ease,color .25s ease,background .25s ease; }
.home-ayah-button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 32px rgba(212,175,55,.28); }
.home-ayah-play { color: #b8922a; font-size: 14px; }
.home-ayah-bars { height: 16px; display: none; align-items: end; gap: 3px; }
.home-ayah-bars i { width: 3px; height: 3px; display: block; border-radius: 2px; background: #fff; animation: ayahBars .65s ease-in-out infinite alternate; }
.home-ayah-bars i:nth-child(2) { animation-delay: .12s; }
.home-ayah-bars i:nth-child(3) { animation-delay: .24s; }
.home-ayah-bars i:nth-child(4) { animation-delay: .36s; }
.home-ayah-button.playing { color: #fff; background: linear-gradient(135deg,var(--gold),#e2c14a); }
.home-ayah-button.playing .home-ayah-play { display: none; }
.home-ayah-button.playing .home-ayah-bars { display: flex; }

/* family needs */
.family-needs-section { position: relative; overflow: hidden; padding: 96px 0 104px; background: linear-gradient(145deg,#f8fbfa 0%,#fff 48%,#fdfaf1 100%); }
.family-needs-section::before { content: ""; position: absolute; width: 420px; height: 420px; top: -265px; right: -125px; border: 1px dashed rgba(192,155,42,.18); border-radius: 50%; box-shadow: 0 0 0 54px rgba(192,155,42,.025),0 0 0 108px rgba(0,86,106,.018); }
.family-needs-section::after { content: ""; position: absolute; width: 300px; height: 300px; left: -205px; bottom: -155px; border-radius: 50%; background: radial-gradient(circle,rgba(0,86,106,.07),rgba(0,86,106,0) 68%); }
.family-needs-shell { position: relative; z-index: 1; width: min(1180px,100%); margin-inline: auto; padding-inline: 32px; }
.family-needs-heading { margin-bottom: 20px; text-align: center; }
.family-needs-eyebrow { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 18px; }
.family-needs-eyebrow > span { position: relative; width: 9px; height: 9px; display: block; background: #c09b2a; transform: rotate(45deg); }
.family-needs-eyebrow > span::before,.family-needs-eyebrow > span::after { content: ""; position: absolute; top: 4px; width: 36px; height: 1px; transform: rotate(-45deg); }
.family-needs-eyebrow > span::before { right: 12px; background: linear-gradient(90deg,transparent,rgba(192,155,42,.45)); }
.family-needs-eyebrow > span::after { left: 12px; background: linear-gradient(90deg,rgba(192,155,42,.45),transparent); }
.family-needs-eyebrow b { color: #c09b2a; font-size: 9.6px; font-weight: 700; letter-spacing: .24em; line-height: 1; text-transform: uppercase; }
.family-needs-heading h2 { max-width: 920px; margin-inline: auto; color: var(--teal); font-size: clamp(42px,4.2vw,56px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.family-needs-heading > i { width: 60px; height: 3px; display: block; margin: 16px auto 0; border-radius: 99px; background: linear-gradient(90deg,var(--gold),var(--gold-bright)); }
.family-needs-summary { max-width: 720px; margin: 0 auto 52px; color: #68747f; font-size: 17px; line-height: 1.7; text-align: center; text-wrap: balance; }
.family-needs-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.family-need-card { --need-accent: var(--teal); position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(0,86,106,.1); border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: 0 14px 40px rgba(0,61,77,.075); transition: transform .42s cubic-bezier(.2,.8,.2,1),box-shadow .42s ease,border-color .35s ease; }
.family-need-card:nth-child(2),.family-need-card:nth-child(5) { --need-accent: var(--gold); }
.family-need-card::after { content: ""; position: absolute; inset: auto 30px 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg,transparent,var(--need-accent),transparent); opacity: .42; transform: scaleX(.45); transition: opacity .4s ease,transform .4s ease; }
.family-need-card:hover { transform: translateY(-9px); border-color: rgba(192,155,42,.3); box-shadow: 0 28px 60px rgba(0,61,77,.14); }
.family-need-card:hover::after { opacity: .8; transform: scaleX(1); }
.family-need-top { display: flex; align-items: center; justify-content: space-between; padding: 26px 27px 0; }
.family-need-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; color: var(--need-accent); background: linear-gradient(150deg,rgba(0,86,106,.1),rgba(0,86,106,.03)); border: 1px solid rgba(0,86,106,.1); transition: transform .42s cubic-bezier(.2,.8,.2,1); }
.family-need-card:nth-child(2) .family-need-ico,.family-need-card:nth-child(5) .family-need-ico { background: linear-gradient(150deg,rgba(192,155,42,.15),rgba(192,155,42,.04)); border-color: rgba(192,155,42,.24); }
.family-need-ico svg { width: 29px; height: 29px; }
.family-need-card:hover .family-need-ico { transform: translateY(-2px) scale(1.07); }
.family-need-number { min-width: 40px; height: 28px; display: grid; place-items: center; padding: 0 11px; border: 1px solid rgba(0,61,77,.12); border-radius: 999px; color: var(--teal); background: rgba(0,61,77,.045); font-family: "Playfair Display",serif; font-size: 12.5px; font-style: italic; font-weight: 700; letter-spacing: .06em; }
.family-need-copy { padding: 18px 27px 28px; }
.family-need-card h3 { color: var(--teal); font-size: 18px; font-weight: 780; line-height: 1.3; letter-spacing: -.015em; }
.family-need-card p { max-width: 34ch; margin-top: 10px; color: #6f7e88; font-size: 13.5px; line-height: 1.7; }

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

@media (max-width: 767px) {
  .family-needs-section { padding: 72px 0 78px; }
  .family-needs-shell { padding-inline: 16px; }
  .home-page .family-needs-heading h2 { font-size: 36px; line-height: 1.08; }
  .family-needs-summary { margin-bottom: 36px; font-size: 15px; line-height: 1.65; }
}

@media (max-width: 560px) {
  .family-needs-grid { grid-template-columns: 1fr; gap: 14px; }
  .family-need-card { border-radius: 21px; }
  .family-need-top { padding: 20px 20px 0; }
  .family-need-ico { width: 52px; height: 52px; border-radius: 15px; }
  .family-need-ico svg { width: 25px; height: 25px; }
  .family-need-number { min-width: 36px; height: 26px; font-size: 11.5px; }
  .family-need-copy { padding: 14px 20px 20px; }
  .family-need-card h3 { font-size: 16px; line-height: 1.35; }
  .family-need-card p { max-width: none; margin-top: 8px; font-size: 13px; line-height: 1.6; }
}

/* shared headings */
.home-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 54px; }
.home-heading > div:last-child p { max-width: 480px; color: var(--slate); font-size: 15px; }
.center-heading { max-width: 760px; margin: 0 auto 58px; text-align: center; }
.center-heading p { max-width: 620px; margin: 18px auto 0; color: var(--slate); }
.center-heading.light h2 { color: #fff; }
.center-heading.light p { color: rgba(255,255,255,.69); }

/* data states */
.dynamic-grid { min-height: 260px; }
.content-skeleton { min-height: 390px; border: 1px solid var(--line); border-radius: 23px; background: linear-gradient(100deg, #edf3f4 20%, #f8fbfb 38%, #edf3f4 56%); background-size: 240% 100%; animation: skeleton 1.7s linear infinite; }
.content-skeleton.portrait { min-height: 400px; }
.content-skeleton.dark { border-color: rgba(255,255,255,.1); background: linear-gradient(100deg, rgba(255,255,255,.04) 20%, rgba(255,255,255,.1) 38%, rgba(255,255,255,.04) 56%); background-size: 240% 100%; }
.content-skeleton.blog { min-height: 360px; }

/* courses */
.courses-home { overflow: hidden; background: #fff; }
.home-courses-heading { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.home-courses-heading .home-eyebrow { margin-bottom: 12px; }
.home-courses-heading h2 { color: var(--teal); }
.home-courses-heading > i { display: block; width: 58px; height: 3px; margin: 17px auto 20px; border-radius: 99px; background: linear-gradient(90deg,var(--gold),var(--gold-bright)); }
.home-courses-heading p { max-width: 650px; margin-inline: auto; color: var(--slate); font-size: 15px; line-height: 1.75; }
.home-courses-heading .text-link { margin-top: 16px; }
.home-course-grid { width: min(100%, 1024px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-inline: auto; }
.home-course-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(10,37,64,.1); border-radius: 16px; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.07); transition: transform .3s ease,box-shadow .3s ease,border-color .3s ease; }
.home-course-card:hover { transform: translateY(-5px); border-color: rgba(212,175,55,.35); box-shadow: 0 14px 38px rgba(10,37,64,.12); }
.home-course-visual { display: grid; grid-template-columns: 52% 48%; min-height: 200px; overflow: hidden; border-bottom: 1px solid rgba(10,37,64,.08); background: #fafaf8; }
.home-course-card-heading { position: relative; z-index: 2; padding: 20px 0 14px 20px; }
.home-course-card-heading h3 { color: var(--gold-bright); font-size: 20px; font-weight: 800; line-height: 1.28; }
.home-course-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.home-course-badges span { padding: 5px 9px; border-radius: 999px; color: var(--teal-deep); background: #edf1f2; font-size: 8px; font-weight: 750; line-height: 1; }
.home-course-badges span:nth-child(2) { color: #8b6c20; background: var(--gold-soft); }
.home-course-illustration { position: relative; min-width: 0; }
.home-course-illustration img { width: 100%; height: 200px; display: block; object-fit: contain; object-position: right bottom; transition: transform .45s ease; }
.home-course-card:hover .home-course-illustration img { transform: scale(1.035); }
.home-course-brand { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 6px 10px; border: 1px solid rgba(0,86,106,.08); border-radius: 8px; color: var(--teal); background: rgba(255,255,255,.94); box-shadow: 0 4px 12px rgba(0,61,77,.1); font-size: 7px; font-weight: 850; letter-spacing: .08em; line-height: 1; }
.home-course-brand small { display: block; margin-top: 2px; color: var(--gold); font-size: 5px; font-weight: 800; letter-spacing: .12em; }
.home-course-body { padding: 20px; }
.home-course-body > p { min-height: 78px; display: -webkit-box; overflow: hidden; color: rgba(10,37,64,.72); font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.home-course-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 17px; }
.home-course-actions a { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 12px; border-radius: 12px; text-align: center; font-size: 12px; font-weight: 800; transition: transform .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease; }
.home-course-actions a:hover { transform: translateY(-2px); }
.course-learn { color: var(--teal); border: 2px solid var(--teal); background: #fff; }
.course-learn:hover { color: #fff; background: var(--teal); }
.course-trial { color: #fff; border: 2px solid transparent; background: var(--home-action); box-shadow: var(--home-action-shadow); }
.course-trial:hover { color: #fff; background: var(--home-action-hover); box-shadow: 0 14px 32px rgba(0,61,77,.38); }
.home-course-mobile-carousel,.home-course-mobile-dots { display: none; }

/* experience */
.experience-section { overflow: hidden; background: linear-gradient(145deg,var(--cream),#f7fbfa 62%,#eef6f5); border-block: 1px solid var(--line); }
.experience-section::after { content: ""; position: absolute; width: 420px; height: 420px; right: -220px; top: 70px; border: 1px solid rgba(184,146,60,.18); border-radius: 50%; box-shadow: 0 0 0 60px rgba(184,146,60,.04), 0 0 0 120px rgba(184,146,60,.025); animation: slowSpin 35s linear infinite; }
.experience-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(65px, 8vw, 115px); align-items: center; }
.media-stack { position: relative; min-height: 580px; isolation: isolate; }
.media-stack::before { content: ""; position: absolute; z-index: -1; inset: -25px 42px 38px -25px; border: 1px dashed rgba(0,86,106,.16); border-radius: 42px 132px 42px 42px; animation: approachFrameBreathe 7s ease-in-out infinite; }
.media-main { width: 84%; height: 515px; object-fit: cover; border-radius: 28px 110px 28px 28px; box-shadow: 0 30px 65px rgba(0,61,77,.16); animation: approachImageDrift 10s ease-in-out infinite alternate; }
.media-detail { position: absolute; right: 0; bottom: 0; width: 48%; height: 255px; object-fit: cover; border: 8px solid var(--cream); border-radius: 22px; box-shadow: 0 20px 45px rgba(0,61,77,.15); animation: detailFloat 6s ease-in-out infinite; }
.media-orbit { position: absolute; z-index: 3; left: 43%; top: 34%; width: 92px; height: 92px; border: 1px solid rgba(212,175,55,.55); border-radius: 50%; pointer-events: none; animation: approachOrbit 12s linear infinite; }
.media-orbit::before { content: ""; position: absolute; inset: 13px; border: 1px dashed rgba(255,255,255,.5); border-radius: 50%; }
.media-orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 15px rgba(212,175,55,.65); }
.media-orbit i:first-child { left: 50%; top: -5px; }
.media-orbit i:nth-child(2) { right: 5px; bottom: 12px; width: 6px; height: 6px; }
.media-orbit i:nth-child(3) { left: 3px; bottom: 18px; width: 5px; height: 5px; background: #fff; }
.media-note { position: absolute; z-index: 5; right: 0; top: 48px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 15px; color: var(--teal-deep); background: rgba(255,255,255,.9); box-shadow: 0 16px 40px rgba(0,61,77,.15); backdrop-filter: blur(10px); animation: approachNoteFloat 5.5s ease-in-out infinite; }
.media-note > span { width: 10px; height: 10px; border-radius: 50%; background: #63b48d; box-shadow: 0 0 0 6px rgba(99,180,141,.12); animation: approachLivePulse 2s ease-out infinite; }
.media-note strong,.media-note small { display: block; }
.media-note strong { font-size: 11px; }
.media-note small { margin-top: 2px; color: var(--slate); font-size: 8px; }
.experience-badge { position: absolute; left: -24px; bottom: 64px; display: grid; place-items: center; width: 132px; height: 132px; padding: 17px; border-radius: 50%; color: #fff; text-align: center; background: var(--teal); box-shadow: 0 20px 40px rgba(0,61,77,.24); animation: approachBadgeFloat 6.5s ease-in-out infinite; }
.experience-badge::after { content: ""; position: absolute; inset: -9px; border: 1px dashed rgba(0,86,106,.35); border-radius: 50%; animation: approachOrbit 18s linear infinite reverse; }
.experience-badge strong { color: var(--gold-bright); font-size: 28px; line-height: 1; }
.experience-badge span { font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.experience-copy > p { max-width: 590px; margin-top: 24px; color: var(--slate); font-size: 15.5px; line-height: 1.85; }
.benefit-list { position: relative; display: grid; gap: 11px; margin: 29px 0 35px; }
.benefit-list::before { content: ""; position: absolute; left: 22px; top: 44px; bottom: 44px; width: 1px; background: linear-gradient(var(--gold),rgba(0,86,106,.15),var(--gold)); }
.benefit-list article { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 17px; border: 1px solid rgba(0,86,106,.09); border-radius: 17px; background: rgba(255,255,255,.67); transition: transform .32s ease,background .32s ease,border-color .32s ease,box-shadow .32s ease; }
.benefit-list article:hover { transform: translateX(8px); border-color: rgba(212,175,55,.38); background: #fff; box-shadow: 0 14px 34px rgba(0,61,77,.08); }
.benefit-list article > span { position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(212,175,55,.35); border-radius: 50%; color: var(--gold); background: #fff; font-family: 'Playfair Display',serif; font-size: 12px; font-style: italic; font-weight: 700; transition: transform .35s ease,color .35s ease,background .35s ease; }
.benefit-list article:hover > span { color: #fff; background: var(--gold); transform: rotate(-10deg) scale(1.08); }
.benefit-list h3 { color: var(--ink); font-size: 15px; }
.benefit-list p { margin-top: 4px; color: var(--slate); font-size: 12.5px; }

/* teachers */
.teachers-home { overflow: hidden; background: linear-gradient(180deg,#fff 0%,#fbfdfd 65%,#f1f7f7 100%); }
.teachers-home::before { content: ""; position: absolute; width: 460px; height: 460px; right: -250px; top: 8%; border-radius: 50%; border: 1px solid rgba(0,86,106,.09); box-shadow: 0 0 0 55px rgba(0,86,106,.025),0 0 0 112px rgba(212,175,55,.025); animation: teacherSectionDrift 14s ease-in-out infinite; }
.teacher-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.teacher-card { --teacher-accent: #d4af37; --teacher-light: #e9f5f4; position: relative; overflow: hidden; min-height: 430px; border: 1px solid rgba(0,77,94,.11); border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 18px 50px rgba(0,61,77,.09); transition: transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease,border-color .35s ease; transform-style: preserve-3d; }
.teacher-card.teacher-tone-2 { --teacher-accent: #73b8ac; --teacher-light: #e8f6f2; }
.teacher-card.teacher-tone-3 { --teacher-accent: #c69a43; --teacher-light: #f8f1dc; }
.teacher-card.teacher-tone-4 { --teacher-accent: #55a0af; --teacher-light: #e6f2f5; }
.teacher-card::after { content: ""; position: absolute; z-index: 1; inset: auto 10% -34px; height: 70px; border-radius: 50%; opacity: .18; background: var(--teacher-accent); filter: blur(30px); transition: opacity .4s ease,transform .4s ease; }
.teacher-card:hover { transform: translateY(-12px); border-color: rgba(212,175,55,.45); box-shadow: 0 30px 70px rgba(0,61,77,.17); }
.teacher-card:hover::after { opacity: .34; transform: translateY(-9px) scale(1.12); }
.teacher-visual { position: relative; z-index: 2; display: grid; place-items: center; height: 228px; overflow: hidden; border-radius: 27px 27px 70px 27px; background: linear-gradient(145deg,var(--teacher-light),#fff 67%); isolation: isolate; }
.teacher-visual::before { content: ""; position: absolute; width: 270px; height: 270px; border-radius: 50%; background: repeating-conic-gradient(from 18deg,rgba(0,86,106,.08) 0 1deg,transparent 1deg 14deg); animation: teacherSunRotate 38s linear infinite; }
.teacher-visual::after { content: ""; position: absolute; inset: 20px; border: 1px dashed color-mix(in srgb,var(--teacher-accent) 42%,transparent); border-radius: 21px 21px 54px 21px; }
.teacher-orbit { position: absolute; z-index: 2; width: 154px; height: 154px; border: 1px solid color-mix(in srgb,var(--teacher-accent) 48%,transparent); border-radius: 50%; animation: teacherOrbit 11s linear infinite; }
.teacher-orbit::before,.teacher-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.teacher-orbit::before { inset: 13px; border: 1px dashed rgba(0,86,106,.18); }
.teacher-orbit::after { width: 9px; height: 9px; left: 20px; bottom: 17px; background: var(--teal); box-shadow: 0 0 0 6px rgba(0,86,106,.08); }
.teacher-orbit-dot { position: absolute; width: 13px; height: 13px; top: -7px; left: 50%; border-radius: 50%; background: var(--teacher-accent); box-shadow: 0 0 18px color-mix(in srgb,var(--teacher-accent) 75%,transparent); }
.teacher-monogram { position: relative; z-index: 3; display: grid; place-items: center; width: 105px; height: 105px; border: 1px solid rgba(255,255,255,.8); border-radius: 38% 62% 54% 46%; color: #fff; background: linear-gradient(145deg,var(--teal),var(--teal-deep)); box-shadow: 0 18px 42px rgba(0,61,77,.25),inset 0 1px rgba(255,255,255,.22); font-family: 'Playfair Display',serif; font-size: 34px; font-weight: 600; letter-spacing: -.04em; animation: teacherMonogramFloat 5.5s ease-in-out infinite; transition: border-radius .5s ease,scale .5s ease; }
.teacher-card:hover .teacher-monogram { border-radius: 55% 45% 39% 61%; scale: 1.06; }
.teacher-card:hover .teacher-orbit { animation-duration: 5.5s; }
.teacher-certified { position: absolute; z-index: 4; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid rgba(0,86,106,.09); border-radius: 999px; color: var(--teal-deep); background: rgba(255,255,255,.88); box-shadow: 0 9px 24px rgba(0,61,77,.1); backdrop-filter: blur(8px); font-size: 8px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; animation: teacherBadgeFloat 4.5s ease-in-out infinite; }
.teacher-certified b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: var(--teal-deep); background: var(--gold-bright); font-size: 9px; }
.teacher-info { position: relative; z-index: 3; padding: 24px 22px 21px; color: var(--ink); transform: translateZ(20px); }
.teacher-info .teacher-role { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.teacher-info h3 { min-height: 47px; margin-top: 6px; font-size: 17px; line-height: 1.38; }
.teacher-info p { display: -webkit-box; min-height: 48px; overflow: hidden; margin-top: 8px; color: var(--slate); font-size: 10.5px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.teacher-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--teal); font-size: 9px; font-weight: 700; }
.teacher-card-foot b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--teal); transition: transform .35s ease,background .35s ease; }
.teacher-card:hover .teacher-card-foot b { transform: translateX(4px) rotate(-10deg); background: var(--gold); }
.center-action { margin-top: 42px; text-align: center; }

/* pricing */
.pricing-home { overflow: hidden; color: #fff; background: linear-gradient(150deg, #003d4d, #00566a); }
.pricing-pattern { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(120deg,transparent 47%,rgba(255,255,255,.025) 48%,rgba(255,255,255,.025) 52%,transparent 53%),radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px); background-size: 180px 180px,27px 27px; mask-image: linear-gradient(180deg,#000,transparent 92%); animation: pricingPatternTravel 28s linear infinite; }
.pricing-home::before { content: ""; position: absolute; width: 540px; height: 540px; left: -250px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.18), transparent 68%); animation: orbBreathe 8s ease-in-out infinite; }
.pricing-home .home-shell { position: relative; z-index: 2; }
.home-pricing-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin: -10px auto 34px; }
.home-pricing-currency { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 600; }
.home-pricing-currency select { min-width: 104px; padding: 10px 17px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; color: var(--teal-deep); background: #fff; font: 700 13px/1 'Lexend',sans-serif; cursor: pointer; outline: none; }
.home-pricing-currency select:focus-visible { box-shadow: 0 0 0 3px rgba(212,175,55,.35); }
.home-pricing-toggle { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.09); }
.home-pricing-tab { border: 0; border-radius: 999px; padding: 10px 20px; color: rgba(255,255,255,.74); background: transparent; font: 700 13px/1 'Lexend',sans-serif; cursor: pointer; transition: color .2s ease,background .2s ease,box-shadow .2s ease; }
.home-pricing-tab span { margin-left: 4px; color: var(--gold-bright); font-size: 8px; letter-spacing: .08em; }
.home-pricing-tab.active { color: var(--teal-deep); background: #fff; box-shadow: 0 7px 20px rgba(0,25,33,.2); }
.home-pricing-tab.active span { color: var(--gold); }
.home-pricing-tab:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.home-pricing-grid { width: min(100%, 1050px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; margin-inline: auto; }
.home-price-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 33px 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.045)); box-shadow: inset 0 1px rgba(255,255,255,.09); backdrop-filter: blur(14px); transition: transform .4s cubic-bezier(.2,.8,.2,1),background .35s ease,border-color .35s ease,box-shadow .4s ease; isolation: isolate; }
.home-price-card::after { content: ""; position: absolute; z-index: 1; top: 0; left: -45%; width: 35%; height: 2px; background: linear-gradient(90deg,transparent,var(--gold-bright),transparent); animation: priceEdgeTravel 5.4s ease-in-out infinite; }
.home-price-card:hover { transform: translateY(-10px); background: linear-gradient(145deg,rgba(255,255,255,.145),rgba(255,255,255,.065)); border-color: rgba(212,175,55,.5); box-shadow: 0 24px 60px rgba(0,25,33,.22),inset 0 1px rgba(255,255,255,.16); }
.home-price-card.highlighted { color: var(--teal-deep); background: #fff; border-color: #fff; box-shadow: 0 25px 60px rgba(0,26,34,.28); transform: translateY(-10px); }
.home-price-card.highlighted:hover { transform: translateY(-15px); }
.price-aura { position: absolute; z-index: 0; width: 180px; height: 180px; right: -95px; top: -90px; border: 1px solid rgba(212,175,55,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(212,175,55,.025),0 0 0 58px rgba(255,255,255,.018); animation: priceAura 9s ease-in-out infinite; }
.highlighted .price-aura { border-color: rgba(0,86,106,.13); box-shadow: 0 0 0 28px rgba(0,86,106,.025),0 0 0 58px rgba(212,175,55,.04); }
.price-badge { position: absolute; z-index: 4; top: 17px; right: 17px; padding: 6px 9px; border-radius: 999px; color: var(--teal-deep); background: var(--gold-bright); box-shadow: 0 7px 19px rgba(212,175,55,.25); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; animation: priceBadgePulse 3.8s ease-in-out infinite; }
.price-card-head { position: relative; z-index: 2; }
.price-index { display: block; margin-bottom: 7px; color: var(--gold-bright); font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.highlighted .price-index { color: var(--gold); }
.home-price-card h3 { color: #fff; font-size: 19px; }
.home-price-card.highlighted h3 { color: var(--ink); }
.home-price { margin: 20px 0 5px; color: #fff; font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.highlighted .home-price { color: var(--teal); }
.home-price small { font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: .6; }
.price-cadence { min-height: 40px; color: rgba(255,255,255,.62); font-size: 11.5px; }
.highlighted .price-cadence { color: var(--slate); }
.price-rhythm { margin: 17px 0 2px; }
.price-rhythm-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: rgba(255,255,255,.52); font-size: 8px; letter-spacing: .04em; }
.price-rhythm-label b { color: var(--gold-bright); font-size: 8px; font-weight: 700; }
.highlighted .price-rhythm-label { color: var(--slate); }
.highlighted .price-rhythm-label b { color: var(--teal); }
.price-rhythm-track { position: relative; height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.highlighted .price-rhythm-track { background: rgba(0,86,106,.09); }
.price-rhythm-track i { position: absolute; inset: 0 auto 0 0; width: var(--plan-strength); overflow: hidden; border-radius: inherit; background: linear-gradient(90deg,var(--gold),var(--gold-bright)); transform-origin: left; animation: priceMeterGrow 1.2s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--item-delay) + 220ms); animation-play-state: paused; }
.price-rhythm-track i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent); transform: translateX(-100%); animation: priceMeterShine 3.5s ease-in-out 1.3s infinite; }
.home-price-card ul { display: grid; gap: 12px; margin: 23px 0 29px; list-style: none; }
.home-price-card li { position: relative; padding-left: 22px; color: rgba(255,255,255,.75); font-size: 11.5px; animation: priceFeatureIn .55s ease both; animation-delay: calc(var(--item-delay) + var(--feature-delay) + 260ms); animation-play-state: paused; transition: transform .25s ease,color .25s ease; }
.home-price-card.motion-ready .price-rhythm-track i,.home-price-card.motion-ready li { animation-play-state: running; }
.home-price-card li:hover { transform: translateX(4px); color: #fff; }
.home-price-card.highlighted li:hover { color: var(--teal-deep); }
.highlighted li { color: var(--slate); }
.home-price-card li::before { content: "✓"; position: absolute; left: 0; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: var(--teal-deep); background: var(--gold-bright); font-size: 8px; font-weight: 900; box-shadow: 0 0 0 0 rgba(212,175,55,.24); transition: transform .3s ease; }
.home-price-card li:hover::before { transform: scale(1.15) rotate(-8deg); }
.home-price-card .home-btn { width: 100%; margin-top: auto; }
.home-price-card:not(.highlighted) .home-btn { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.home-price-card:not(.highlighted) .home-btn:hover { color: var(--teal-deep); background: #fff; }
.pricing-note { margin-top: 42px; color: rgba(255,255,255,.63); font-size: 12px; text-align: center; }
.pricing-note strong { color: var(--gold-bright); }

/* Homepage pricing matched to the standalone pricing page */
.pricing-home { padding: 76px 0; color: var(--ink); background: #fff; border-block: 1px solid var(--line); }
.pricing-home::before,.pricing-home .pricing-pattern { display: none; }
.pricing-home .center-heading { max-width: 660px; margin-bottom: 50px; }
.pricing-home .center-heading .home-eyebrow { color: var(--gold); }
.pricing-home .center-heading h2 { color: var(--ink); font-size: clamp(26px,4vw,38px); line-height: 1.15; letter-spacing: -.01em; }
.pricing-home .center-heading p { margin-top: 14px; color: var(--slate); font-size: 16px; }
.pricing-home .home-pricing-controls { gap: 18px; margin: 0 auto 34px; }
.pricing-home .home-pricing-currency { gap: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.pricing-home .home-pricing-currency select { min-width: 0; padding: 9px 16px; border: 1.5px solid var(--line); color: var(--teal); background: #fff; font-size: 14px; }
.pricing-home .home-pricing-toggle { gap: 4px; padding: 5px; border: 0; background: var(--teal-soft); }
.pricing-home .home-pricing-tab { position: relative; padding: 9px 20px; color: var(--teal); font-size: 14px; background: transparent; }
.pricing-home .home-pricing-tab.active { color: #fff; background: var(--teal); box-shadow: 0 6px 16px rgba(0,86,106,.25); }
.pricing-home .home-pricing-tab span,.pricing-home .home-pricing-tab.active span { padding: 2px 6px; border-radius: 6px; color: #3a2c00; background: var(--gold-bright); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.pricing-home .home-pricing-grid { width: min(100%,940px); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.pricing-home .home-price-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 10px 30px rgba(10,58,78,.06); backdrop-filter: none; transform: none; transition: transform .25s ease,box-shadow .25s ease; }
.pricing-home .home-price-card::after { display: none; }
.pricing-home .home-price-card:hover { transform: translateY(-5px); border-color: var(--line); background: #fff; box-shadow: 0 22px 48px rgba(10,58,78,.13); }
.pricing-home .price-card-head { padding: 22px 24px; border-bottom: 1px solid var(--line); background: #f4f6f7; text-align: center; }
.pricing-home .price-card-head h3 { color: var(--ink); font-size: 20px; font-weight: 800; }
.pricing-home .price-card-head span { display: block; margin-top: 4px; color: var(--slate); font-size: 13.5px; }
.pricing-home .home-price-card-body { display: flex; flex: 1; flex-direction: column; padding: 26px 24px 24px; }
.pricing-home .home-price { margin: 0; color: transparent; background: linear-gradient(135deg,var(--gold),var(--gold-bright)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(44px,7vw,58px); line-height: 1; text-align: center; }
.pricing-home .home-price em { display: block; margin-top: 8px; color: var(--slate); font-size: 13.5px; font-style: normal; font-weight: 500; letter-spacing: 0; -webkit-text-fill-color: var(--slate); }
.pricing-home .home-price-card ul { display: block; margin: 24px 0; padding: 0; }
.pricing-home .home-price-card li { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14.5px; animation: none; }
.pricing-home .home-price-card li:last-child { border-bottom: 0; }
.pricing-home .home-price-card li::before { display: none; }
.pricing-home .home-price-card li:hover { color: var(--ink); transform: none; }
.pricing-home .home-price-card li svg { width: 18px; height: 18px; flex: 0 0 auto; stroke: var(--gold); }
.pricing-home .home-price-cta { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: auto; padding: 15px; border-radius: 14px; color: #fff; background: var(--teal); font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s ease,transform .2s ease; }
.pricing-home .home-price-cta:hover { background: var(--teal-deep); transform: translateY(-2px); }
.pricing-home .home-price-cta svg { width: 18px; height: 18px; flex: 0 0 auto; }
.pricing-home .pricing-note { margin-top: 26px; color: var(--slate); font-size: 14px; }
@media (max-width:720px) { .pricing-home .home-pricing-grid { grid-template-columns: 1fr; } }

/* testimonials */
.results-home { position: relative; overflow: hidden; padding: 112px 0 120px; background: linear-gradient(135deg,#f4f9f8 0%,#fff 52%,#fdf9ed 100%); border-bottom: 0; }
.results-home::before { content: "“"; position: absolute; top: -105px; right: 3vw; color: rgba(192,155,42,.06); font-family: Georgia,serif; font-size: 360px; line-height: 1; pointer-events: none; }
.results-home::after { content: ""; position: absolute; width: 340px; height: 340px; left: -225px; bottom: -190px; border: 1px dashed rgba(0,86,106,.13); border-radius: 50%; box-shadow: 0 0 0 54px rgba(0,86,106,.018); }
.review-experience-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.82fr) minmax(480px,1.18fr); align-items: center; gap: clamp(56px,7vw,104px); }
.review-reference-heading { margin-bottom: 0; text-align: left; }
.review-reference-heading .home-eyebrow { margin-bottom: 16px; }
.review-reference-heading h2 { max-width: 520px; color: var(--teal); font-size: clamp(42px,4.3vw,58px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.review-reference-heading > i { width: 58px; height: 3px; display: block; margin: 22px 0 0; border-radius: 99px; background: linear-gradient(90deg,var(--gold),var(--gold-bright)); }
.review-reference-lead { max-width: 510px; margin-top: 26px; color: #68747f; font-size: 16px; line-height: 1.75; }
.review-trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.review-trust-row > span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(0,86,106,.1); border-radius: 999px; color: var(--teal); background: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; box-shadow: 0 4px 16px rgba(0,61,77,.04); }
.review-trust-row i,.review-verified i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--gold); font-size: 10px; font-style: normal; }
.review-reference-carousel { width: 100%; margin-inline: auto; }
.review-reference-card { position: relative; min-height: 410px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 42px 46px 38px; border: 1px solid rgba(192,155,42,.24); border-radius: 30px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(0,61,77,.12); }
.review-reference-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -100px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle,rgba(212,175,55,.13),rgba(212,175,55,0) 70%); pointer-events: none; }
.review-reference-card.review-updating { animation: reviewCardChange .45s ease; }
.review-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.review-reference-stars { display: flex; gap: 4px; color: var(--gold); }
.review-reference-stars span { font-size: 20px; line-height: 1; }
.review-verified { display: inline-flex; align-items: center; gap: 7px; color: #678079; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.review-card-quote { position: absolute; z-index: 0; top: 76px; left: 38px; color: rgba(192,155,42,.12); font-family: Georgia,serif; font-size: 110px; line-height: 1; pointer-events: none; }
.review-reference-text { position: relative; z-index: 1; max-width: 42ch; margin: 54px 0 38px; color: #183842; font-family: "Playfair Display",Georgia,serif; font-size: 22px; font-weight: 500; line-height: 1.65; }
.review-reference-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 15px; padding-top: 22px; border-top: 1px solid rgba(0,86,106,.1); }
.review-reference-brand > span { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 5px; border: 1px solid rgba(212,175,55,.35); border-radius: 50%; background: #f0ede8; box-shadow: 0 4px 16px rgba(10,37,64,.09); }
.review-reference-brand img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.review-reference-name { margin: 0 0 3px; color: var(--teal); font-size: 15px; font-weight: 800; }
.review-reference-meta { margin: 0; color: #84909a; font-size: 12px; font-weight: 600; }
.review-reference-controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 24px; padding-right: 4px; }
.review-reference-arrow { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; cursor: pointer; border: 1px solid rgba(0,86,106,.16); border-radius: 50%; color: var(--teal); background: rgba(255,255,255,.9); font-size: 17px; box-shadow: 0 5px 18px rgba(0,61,77,.06); transition: color .2s ease,background .2s ease,transform .2s ease,border-color .2s ease; }
.review-reference-arrow:hover { border-color: var(--teal); color: #fff; background: var(--teal); transform: translateY(-2px); }
.review-reference-arrow:focus-visible,.review-reference-dots button:focus-visible { outline: 3px solid rgba(212,175,55,.35); outline-offset: 3px; }
.review-reference-dots { display: flex; align-items: center; gap: 8px; }
.review-reference-dots button { width: 8px; height: 8px; padding: 0; cursor: pointer; border: 0; border-radius: 999px; background: rgba(0,86,106,.2); transition: width .3s ease,background .3s ease; }
.review-reference-dots button.active { width: 24px; background: var(--gold); }

@media (max-width: 980px) {
  .review-experience-layout { grid-template-columns: 1fr; gap: 48px; }
  .review-reference-heading { text-align: center; }
  .review-reference-heading h2,.review-reference-lead { margin-inline: auto; }
  .review-reference-heading > i { margin-inline: auto; }
  .review-trust-row { justify-content: center; }
  .review-reference-carousel { width: min(100%,640px); }
  .review-reference-controls { justify-content: center; }
}

/* journal */
.journal-home { overflow: hidden; background: linear-gradient(180deg,#fff,#f8fbfb); }
.journal-home::before { content: ""; position: absolute; width: 370px; height: 370px; right: -230px; bottom: 8%; border: 1px dashed rgba(0,86,106,.08); border-radius: 46% 54% 41% 59%; animation: journalAmbient 22s linear infinite; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.journal-card { --journal-accent: #d4af37; position: relative; overflow: hidden; border: 1px solid rgba(0,86,106,.1); border-radius: 27px; background: #fff; box-shadow: 0 13px 42px rgba(0,61,77,.055); transition: transform .42s cubic-bezier(.2,.8,.2,1),box-shadow .42s ease,border-color .35s ease; }
.journal-card.journal-tone-2 { --journal-accent: #65aa9f; }
.journal-card.journal-tone-3 { --journal-accent: #4e98a8; }
.journal-card::after { content: ""; position: absolute; z-index: 1; inset: auto 24px 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg,transparent,var(--journal-accent),transparent); transform: scaleX(.4); transition: transform .5s ease; }
.journal-card:hover { transform: translateY(-11px); border-color: color-mix(in srgb,var(--journal-accent) 55%,transparent); box-shadow: 0 29px 62px rgba(0,61,77,.14); }
.journal-card:hover::after { transform: scaleX(1); }
.journal-image { position: relative; height: 230px; overflow: hidden; border-radius: 26px 26px 66px 26px; background: var(--teal-soft); isolation: isolate; }
.journal-image::before { content: ""; position: absolute; z-index: 2; inset: -65% -100%; pointer-events: none; background: linear-gradient(110deg,transparent 43%,rgba(255,255,255,.32) 50%,transparent 57%); transform: translateX(-35%); animation: journalImageSheen 8.5s ease-in-out infinite; }
.journal-image::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,transparent 46%,rgba(0,49,62,.64)); }
.journal-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s cubic-bezier(.2,.8,.2,1),filter .5s ease; }
.journal-card:hover img { transform: scale(1.1); filter: saturate(1.08); }
.journal-index { position: absolute; z-index: 3; top: 17px; right: 18px; color: rgba(255,255,255,.7); font-family: 'Playfair Display',serif; font-size: 34px; font-weight: 600; line-height: 1; text-shadow: 0 4px 16px rgba(0,31,40,.25); transition: transform .4s ease,color .3s ease; }
.journal-card:hover .journal-index { color: var(--gold-bright); transform: rotate(-7deg) translateY(3px); }
.journal-image-label { position: absolute; z-index: 3; left: 17px; bottom: 16px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; background: rgba(0,61,77,.35); backdrop-filter: blur(8px); font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.journal-body { position: relative; z-index: 2; padding: 24px; }
.journal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.journal-category { color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.journal-meta-dot { color: rgba(0,86,106,.24); font-size: 5px; }
.journal-meta-copy { color: var(--slate); font-size: 8px; font-weight: 650; }
.journal-body h3 { margin-top: 10px; color: var(--ink); font-size: 17px; line-height: 1.4; }
.journal-body p { display: -webkit-box; overflow: hidden; margin-top: 10px; color: var(--slate); font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.journal-body a { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--teal); font-size: 11px; font-weight: 800; }
.journal-body a span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 16px; transition: transform .35s ease,background .35s ease; }
.journal-card:hover .journal-body a span { transform: translateX(4px) rotate(-10deg); background: var(--gold); }

/* closing */
.home-closing { position: relative; overflow: hidden; padding: 105px 0; color: #fff; text-align: center; background: linear-gradient(145deg, #00566a, #003d4d); }
.closing-rings { position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(212,175,55,.2), transparent 44%); }
.closing-rings::before,.closing-rings::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; transform: translate(-50%,-50%); animation: ringPulse 5s ease-out infinite; }
.closing-rings::before { width: 450px; height: 450px; }
.closing-rings::after { width: 650px; height: 650px; animation-delay: 1.6s; }
.closing-content { position: relative; z-index: 2; max-width: 790px; }
.closing-content h2 { color: #fff; font-size: clamp(38px, 5vw, 62px); }
.closing-content h2 em { color: var(--gold-bright); }
.closing-content > p { max-width: 620px; margin: 22px auto 32px; color: rgba(255,255,255,.72); font-size: 16px; }
.closing-content > small { display: block; margin-top: 19px; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .04em; }

/* reveal and interaction */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .46s ease, transform .46s cubic-bezier(.2,.75,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.dynamic-item { animation: itemEnter .65s cubic-bezier(.2,.75,.2,1) both; animation-delay: var(--item-delay,0ms); animation-play-state: paused; }
.dynamic-item.motion-ready { animation-play-state: running; }

@keyframes orbBreathe { 0%,100%{transform:scale(.92);opacity:.7}50%{transform:scale(1.12);opacity:1} }
@keyframes slowSpin { to{transform:rotate(360deg)} }
@keyframes pulseGold { 70%{box-shadow:0 0 0 12px rgba(212,175,55,0)}100%{box-shadow:0 0 0 0 rgba(212,175,55,0)} }
@keyframes pulseGoldWide { 70%{box-shadow:0 0 0 13px rgba(212,175,55,0)}100%{box-shadow:0 0 0 0 rgba(212,175,55,0)} }
@keyframes heroImageDrift { from{transform:scale(1.025) translateY(0)}to{transform:scale(1.06) translateY(-7px)} }
@keyframes imageSheen { 0%,55%{transform:translateX(-38%)}85%,100%{transform:translateX(42%)} }
@keyframes floatOne { 0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-13px) rotate(1deg)} }
@keyframes floatTwo { 0%,100%{transform:translateY(0) rotate(1deg)}50%{transform:translateY(12px) rotate(-1deg)} }
@keyframes sealRotate { 0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)} }
@keyframes scrollCue { 0%{transform:translateY(0);opacity:0}25%{opacity:1}75%{opacity:1}100%{transform:translateY(18px);opacity:0} }
@keyframes marquee { to{transform:translateX(-50%)} }
@keyframes detailFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)} }
@keyframes skeleton { to{background-position:-240% 0} }
@keyframes ringPulse { 0%{transform:translate(-50%,-50%) scale(.72);opacity:0}30%{opacity:1}100%{transform:translate(-50%,-50%) scale(1.25);opacity:0} }
@keyframes itemEnter { from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)} }
@keyframes teacherSectionDrift { 0%,100%{transform:translate3d(0,0,0) rotate(0)}50%{transform:translate3d(-36px,28px,0) rotate(8deg)} }
@keyframes teacherSunRotate { to{transform:rotate(360deg)} }
@keyframes teacherOrbit { to{transform:rotate(360deg)} }
@keyframes teacherMonogramFloat { 0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)} }
@keyframes teacherBadgeFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)} }
@keyframes pricingPatternTravel { to{background-position:180px 180px,27px 27px} }
@keyframes priceEdgeTravel { 0%,20%{left:-45%;opacity:0}35%{opacity:1}72%{opacity:1}85%,100%{left:112%;opacity:0} }
@keyframes priceAura { 0%,100%{transform:scale(.92);opacity:.6}50%{transform:scale(1.12);opacity:1} }
@keyframes priceBadgePulse { 0%,100%{transform:translateY(0);box-shadow:0 7px 19px rgba(212,175,55,.25)}50%{transform:translateY(-3px);box-shadow:0 12px 25px rgba(212,175,55,.38)} }
@keyframes priceMeterGrow { from{transform:scaleX(0)}to{transform:scaleX(1)} }
@keyframes priceMeterShine { 0%,30%{transform:translateX(-110%)}65%,100%{transform:translateX(110%)} }
@keyframes priceFeatureIn { from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:translateX(0)} }
@keyframes courseAmbient { 0%,100%{transform:translate3d(0,0,0) scale(.94)}50%{transform:translate3d(42px,25px,0) scale(1.08)} }
@keyframes courseImageSheen { 0%,58%{transform:translateX(-35%)}86%,100%{transform:translateX(35%)} }
@keyframes courseImageBreathe { from{scale:1}to{scale:1.035} }
@keyframes coursePathPulse { 0%,100%{transform:scale(.72);opacity:.48}50%{transform:scale(1.15);opacity:1} }
@keyframes approachFrameBreathe { 0%,100%{transform:scale(.985);border-radius:42px 132px 42px 42px}50%{transform:scale(1.015);border-radius:60px 110px 34px 50px} }
@keyframes approachImageDrift { from{object-position:48% 50%}to{object-position:53% 48%} }
@keyframes approachOrbit { to{transform:rotate(360deg)} }
@keyframes approachNoteFloat { 0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(1deg)} }
@keyframes approachLivePulse { 0%{box-shadow:0 0 0 0 rgba(99,180,141,.32)}100%{box-shadow:0 0 0 10px rgba(99,180,141,0)} }
@keyframes approachBadgeFloat { 0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)} }
@keyframes reviewAmbient { 0%,100%{transform:translate(-50%,-50%) scale(.92)}50%{transform:translate(-50%,-50%) scale(1.08)} }
@keyframes reviewPillFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)} }
@keyframes reviewSignal { 0%,100%{height:5px;opacity:.45}50%{height:17px;opacity:1} }
@keyframes reviewStars { to{background-position:220% 0} }
@keyframes reviewQuoteFloat { 0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(3deg)} }
@keyframes reviewAvatarPulse { 0%,100%{box-shadow:0 0 0 0 rgba(212,175,55,.12)}50%{box-shadow:0 0 0 7px rgba(212,175,55,0)} }
@keyframes reviewCardChange { from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)} }
@keyframes journalAmbient { to{transform:rotate(360deg)} }
@keyframes journalImageSheen { 0%,62%{transform:translateX(-35%)}88%,100%{transform:translateX(35%)} }

/* RTL */
html[dir="rtl"] .hero-layout,html[dir="rtl"] .home-heading,html[dir="rtl"] .experience-grid { direction: rtl; }
html[dir="rtl"] .hero-copy,html[dir="rtl"] .experience-copy,html[dir="rtl"] .home-course-body,html[dir="rtl"] .teacher-info,html[dir="rtl"] .journal-body { text-align: right; }
html[dir="rtl"] .home-course-body li,html[dir="rtl"] .home-price-card li { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .home-course-body li::before,html[dir="rtl"] .home-price-card li::before { left: auto; right: 0; }
html[dir="rtl"] .course-level { left: auto; right: 17px; }
html[dir="rtl"] .course-index,html[dir="rtl"] .journal-index { right: auto; left: 18px; }
html[dir="rtl"] .course-path { right: auto; left: 18px; }
html[dir="rtl"] .journal-image-label { left: auto; right: 17px; }
html[dir="rtl"] .price-badge { right: auto; left: 17px; }
html[dir="rtl"] .benefit-list article:hover { transform: translateX(-7px); }
html[dir="rtl"] .benefit-list::before { left: auto; right: 22px; }

/* responsive */
@media (max-width: 1050px) {
  .hero-layout { gap: 32px; }
  .hero-copy h1 { font-size: clamp(42px, 6vw, 64px); }
  .float-card-top { left: -25px; }
  .float-card-bottom { right: -15px; }
  .home-course-grid,.home-pricing-grid,.testimonial-grid,.journal-grid { gap: 16px; }
  .teacher-rail { grid-template-columns: repeat(2, 1fr); }
  .teacher-card { min-height: 416px; }
}
@media (max-width: 860px) {
  .home-section { padding: 82px 0; }
  .home-hero { min-height: auto; padding-top: 70px; }
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-kicker,.hero-actions { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-visual { max-width: 590px; justify-self: center; margin-top: 10px; }
  .home-heading { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .home-heading > div:last-child p { margin-inline: auto; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-media { max-width: 590px; margin-inline: auto; }
  .experience-copy { text-align: center; }
  .experience-copy > p { margin-inline: auto; }
  .benefit-list { text-align: left; }
  .home-course-grid,.home-pricing-grid,.testimonial-grid,.journal-grid { grid-template-columns: 1fr 1fr; }
  .home-course-grid > :last-child:nth-child(odd),.home-pricing-grid > :last-child:nth-child(odd),.journal-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .home-price-card.highlighted { transform: none; }
  .home-price-card.highlighted:hover { transform: translateY(-8px); }
  .testimonial-grid .featured { order: -1; grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .home-shell { width: min(100% - 32px, 1180px); }
  .home-section { padding: 68px 0; }
  .home-hero { padding: 58px 0 83px; }
  .hero-copy h1 { font-size: clamp(40px, 12vw, 54px); }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-visual { padding: 10px 0 35px; }
  .hero-image-wrap { border-radius: 35% 35% 22px 22px; }
  .float-card { min-width: 180px; padding: 11px 13px; }
  .float-card-top { left: -4px; top: 12%; }
  .float-card-bottom { right: 0; bottom: 14%; }
  .hero-seal { left: 0; bottom: 0; width: 105px; height: 105px; padding: 15px; }
  .hero-seal strong { font-size: 30px; }
  .home-page h2 { font-size: 34px; }
  .home-course-grid,.testimonial-grid,.journal-grid,.teacher-rail { grid-template-columns: 1fr; }
  .home-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-price-card { padding: 24px 16px; border-radius: 20px; }
  .home-price-card h3 { font-size: 16px; }
  .home-price { margin-top: 16px; font-size: 34px; }
  .price-cadence { min-height: 36px; font-size: 10px; }
  .price-rhythm { margin-top: 14px; }
  .home-price-card ul { gap: 9px; margin: 18px 0 22px; }
  .home-price-card li { padding-left: 18px; font-size: 10px; }
  .home-price-card .home-btn { min-height: 48px; padding: 12px 9px; font-size: 11px; }
  .home-price-card .home-btn span { font-size: 15px; }
  .home-course-grid > :last-child:nth-child(odd),.journal-grid > :last-child:nth-child(odd),.testimonial-grid .featured { grid-column: auto; }
  .teacher-card { min-height: 0; }
  .teacher-visual { height: 218px; }
  .home-course-image,.journal-image { height: 218px; }
  .media-stack { min-height: 470px; }
  .media-main { width: 92%; height: 420px; }
  .media-detail { width: 46%; height: 190px; border-width: 6px; }
  .experience-badge { left: -6px; bottom: 30px; width: 105px; height: 105px; }
  .media-note { right: -3px; top: 28px; padding: 10px 12px; }
  .media-orbit { left: 45%; top: 33%; width: 74px; height: 74px; }
  .benefit-list article { grid-template-columns: 36px 1fr; text-align: left; }
  .review-pill-row { gap: 6px; }
  .quote-card,.quote-card.featured { min-height: 0; }
  .marquee-track { animation-duration: 22s; }
  .home-ayah-section { padding: 56px 20px; }
  .home-ayah-arabic { font-size: clamp(24px,8vw,32px); white-space: normal; }
  .home-ayah-button { width: min(100%,290px); min-width: 0; }
  .home-closing { padding: 84px 0; }
}

@media (max-width: 767px) {
  .courses-home .home-course-grid { display: none; }
  .home-course-mobile-carousel { width: 100%; display: block; overflow: hidden; }
  .home-course-mobile-track { display: flex; transition: transform .42s cubic-bezier(.25,.46,.45,.94); will-change: transform; touch-action: pan-y; }
  .home-course-mobile-slide { min-width: 100%; box-sizing: border-box; }
  .home-course-mobile-card-wrap { margin-bottom: 14px; }
  .home-course-mobile-slide .home-course-card { width: 100%; opacity: 1; transform: none; visibility: visible; }
  .home-course-quote { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 14px 16px; overflow: hidden; border: 1px solid rgba(212,175,55,.14); border-radius: 18px; background: #f7f3ea; }
  .home-course-quote-image { width: 90px; height: 90px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
  .home-course-quote-copy p { margin: 0 0 6px; color: #1a1a1a; font-family: "Playfair Display",Georgia,serif; font-size: .82rem; font-style: italic; line-height: 1.55; }
  .home-course-quote-copy span { display: block; color: var(--gold-bright); font-size: .6rem; font-weight: 800; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; }
  .home-course-mobile-dots { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; }
  .home-course-mobile-dot { width: 8px; height: 8px; padding: 0; cursor: pointer; border: 0; border-radius: 50%; background: rgba(0,86,106,.2); transition: width .3s,border-radius .3s,background .3s; }
  .home-course-mobile-dot.active { width: 28px; border-radius: 4px; background: var(--teal); }
  .results-home { padding: 78px 0 84px; }
  .review-experience-layout { grid-template-columns: 1fr; gap: 38px; }
  .review-reference-heading { text-align: center; }
  .review-reference-heading h2 { max-width: 620px; margin-inline: auto; font-size: 36px; }
  .review-reference-heading > i { margin-inline: auto; }
  .review-reference-lead { margin-inline: auto; font-size: 15px; }
  .review-trust-row { justify-content: center; }
  .review-reference-card { min-height: 0; padding: 32px; border-radius: 24px; }
  .review-reference-text { margin: 46px 0 32px; font-size: 19px; }
  .review-reference-controls { justify-content: center; }
}

@media (max-width: 390px) {
  .home-course-quote { gap: 11px; padding: 12px; }
  .home-course-quote-image { width: 78px; height: 78px; }
  .review-trust-row { gap: 8px; }
  .review-trust-row > span { padding: 7px 9px; font-size: 11px; }
  .review-reference-card { padding: 26px 22px; }
  .review-card-top { align-items: flex-start; }
  .review-reference-stars span { font-size: 17px; }
  .review-verified { font-size: 9px; }
  .review-reference-text { font-size: 17px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { transform: none; }
}

/* Advanced homepage motion layer */
.home-scroll-progress {
  position: fixed; z-index: 1500; inset: 0 auto auto 0; width: 100%; height: 3px;
  pointer-events: none; transform: scaleX(var(--home-scroll, 0)); transform-origin: left;
  background: linear-gradient(90deg, var(--gold), #f3d86d, var(--gold-bright));
  box-shadow: 0 2px 14px rgba(212,175,55,.4);
}
html[dir="rtl"] .home-scroll-progress { transform-origin: right; }
.home-cursor-glow {
  position: fixed; z-index: 20; left: 0; top: 0; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none; opacity: .2; mix-blend-mode: soft-light;
  background: radial-gradient(circle,rgba(244,218,116,.6),rgba(0,86,106,.14) 42%,transparent 70%);
  transform: translate3d(calc(var(--home-pointer-x,-600px) - 50%),calc(var(--home-pointer-y,-600px) - 50%),0);
}
.home-ripple {
  position: absolute !important; z-index: 5; width: 12px; height: 12px; border-radius: 50%;
  pointer-events: none; background: rgba(255,255,255,.62);
  transform: translate(-50%,-50%) scale(0); animation: homeRipple .62s ease-out forwards;
}
.hero-particles { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particle {
  position: absolute; left: var(--particle-x); top: var(--particle-y);
  width: var(--particle-size); height: var(--particle-size); border-radius: 50%; opacity: .28;
  background: var(--particle-color); box-shadow: 0 0 15px var(--particle-color);
  animation: particleTravel var(--particle-duration) ease-in-out var(--particle-delay) infinite alternate;
}
.hero-copy h1 em {
  background: linear-gradient(105deg,#9a7318,var(--gold),#bd9024,#a77f20,#9a7318);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: heroGoldFlow 6s linear infinite;
}
.hero-visual { translate: var(--hero-parallax-x,0) var(--hero-parallax-y,0); transition: translate .13s ease-out; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1; inset: 2% -5% 0;
  border: 1px dashed rgba(212,175,55,.24); border-radius: 48% 48% 30px 30px;
  animation: visualOrbit 24s linear infinite;
}
.hero-seal::after {
  content: ""; position: absolute; inset: -9px; border: 1px dashed rgba(255,255,255,.45);
  border-radius: 50%; animation: slowSpin 18s linear infinite;
}
.home-interactive-card { overflow: hidden; transform-style: preserve-3d; will-change: transform; }
.home-interactive-card::before {
  content: ""; position: absolute; z-index: 5; inset: 0; border-radius: inherit; opacity: 0;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--spot-x,50%) var(--spot-y,50%),rgba(255,255,255,.52),transparent 62%);
  transition: opacity .3s ease;
}
.home-interactive-card:hover::before { opacity: .65; }
.home-interactive-card > *:not(.price-badge):not(.price-aura):not(.teacher-info):not(.quote-mark):not(.review-signal) { position: relative; z-index: 2; }
.teacher-card.home-interactive-card::after { z-index: 1; }
.teacher-card.home-interactive-card .teacher-info { z-index: 4; }
.experience-media { translate: 0 var(--experience-parallax,0px); transition: translate .1s linear; }
.pricing-pattern { background-position: 0 var(--pricing-parallax,0px); transition: background-position .1s linear; }
.teacher-card.home-interactive-card .teacher-info,.quote-card.home-interactive-card .quote-person { transform: translateZ(18px); }

@keyframes particleTravel {
  0% { translate: 0 10px; scale: .65; opacity: .1; }
  50% { opacity: .48; }
  100% { translate: var(--particle-drift) -45px; scale: 1.35; opacity: .12; }
}
@keyframes heroGoldFlow { to { background-position: 260% 0; } }
@keyframes visualOrbit { to { transform: rotate(360deg); } }
@keyframes homeRipple { to { transform: translate(-50%,-50%) scale(20); opacity: 0; } }
@keyframes homePriceGlow {
  0%,100% { box-shadow: 0 25px 60px rgba(0,26,34,.28); }
  50% { box-shadow: 0 32px 78px rgba(0,26,34,.42),0 0 0 2px rgba(212,175,55,.22); }
}
@keyframes ayahBars { from { height: 3px; } to { height: 15px; } }

@media (max-width: 620px) {
  .home-cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-scroll-progress,.home-cursor-glow,.hero-particles { display: none !important; }
  .hero-visual,.experience-media { translate: none !important; }
  .dynamic-item { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Keep the single-column hero image-first. */
@media (max-width: 860px) {
  .hero-visual {
    order: -1;
    margin-top: 0;
  }
}
