:root {
  /* layout: dark violet bands frame light content sections; cards on white */
  --ink: #1C1230;
  --muted: #534A66;
  --ground: #EEE8FA;
  --card: rgba(255, 255, 255, 0.26);
  --line: #E4DCF2;
  --tint: #ECE3FA;
  --deep: #12022E;
  --deep-2: #2A0F5C;
  --accent: #6D28D9;
  --lilac: #C9A6FF;
  --lilac-soft: #E3D4FA;
  --medi: #B3121F;
  --exam: #010D44;
  --font-body: 'Noto Sans Bengali', system-ui, sans-serif;
  --font-display: 'Sora', 'Noto Sans Bengali', system-ui, sans-serif;
  --font-poster: 'Anton', Impact, 'Noto Sans Bengali', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--deep-2); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 3px solid #F59E0B; outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; position: relative; z-index: 2; }
.section { padding-block: 52px 16px; display: flex; flex-direction: column; gap: 22px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; color: var(--deep); font-weight: 700; }
.section-head h2::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--accent); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.more { font-weight: 600; padding: 10px 0; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 24px; border-radius: 12px; border: 2px solid transparent; font: 600 17px/1.2 var(--font-body); text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--deep-2); color: #FFFFFF; }
.btn-light { background: var(--lilac); color: var(--deep); }
.btn-light:hover { background: #FFFFFF; color: var(--deep); }
.btn-ghost { border-color: #FFFFFF; color: #FFFFFF; background: transparent; }
.btn-ghost:hover { background: #FFFFFF; color: var(--deep); }
.btn-white { background: #FFFFFF; color: var(--exam); }

/* header */
.site-header { background: var(--deep); color: #FFFFFF; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px 22px; }
.nav a { color: #FFFFFF; text-decoration: none; font-weight: 500; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--lilac); }
.nav .btn { padding: 8px 22px; min-height: 42px; border-radius: 999px; }
.nav .btn:hover { color: var(--deep); }
.menu-btn { display: none; background: transparent; border: 2px solid #5B3A8C; border-radius: 10px; color: #FFFFFF; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 0; border-top: 1px solid #3A2466; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #2A1650; }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .brand img { height: 52px; }
}

/* hero: canvas DNA helix behind, teacher cut-out standing on the stats band */
.hero { position: relative; background: radial-gradient(120% 90% at 78% 40%, #3B1A7A 0%, #1D0B45 42%, var(--deep) 78%); color: #FFFFFF; overflow: hidden; }
/* motion layer: fixed behind all content; .wrap sits above it, section backgrounds below */
#bioCanvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 36px; padding-top: 44px; min-height: 600px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 56px; align-self: center; }
.hero-logo { width: min(340px, 78%); }
.eyebrow { color: var(--lilac); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 15px; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 6.6vw, 78px); line-height: 1.05; letter-spacing: -0.02em; display: flex; flex-direction: column; gap: 4px; }
.hero h1 .small { font-size: 0.42em; font-weight: 600; letter-spacing: 0.01em; color: #FFFFFF; }
.rainbow { background: linear-gradient(90deg, #C9A6FF 0%, #FF7AB8 28%, #FFC66B 52%, #6FE3C4 76%, #C9A6FF 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: hue 9s linear infinite; padding-bottom: 0.08em; }
@keyframes hue { to { background-position: -200% 0; } }
.motto { display: flex; align-items: center; gap: 14px; font: 600 clamp(15px, 2vw, 19px)/1.4 var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--lilac-soft); }
.motto::before, .motto::after { content: ""; width: 36px; height: 2px; border-radius: 2px; background: var(--lilac); }
.quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 560px; margin-top: 10px; }
.quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 4px; border-radius: 16px; border: 1px solid #6B46A8; background: rgba(18, 2, 46, 0.55); color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.2; text-align: center; transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease; }
.quick a svg { color: var(--lilac); }
.quick a:hover { background: var(--accent); border-color: var(--lilac); color: #FFFFFF; transform: translateY(-3px); }
.quick a:hover svg { color: #FFFFFF; }
.nameplate { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 26px 10px; border-radius: 16px; background: rgba(18, 2, 46, 0.86); border: 1px solid var(--lilac); white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.nameplate strong { font: 800 clamp(20px, 2.6vw, 26px)/1.3 var(--font-display); color: #FFFFFF; }
.nameplate span { color: var(--lilac-soft); font-size: 14.5px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid #6B46A8; background: rgba(18, 2, 46, 0.45); border-radius: 999px; padding: 5px 16px; font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-figure { flex: 1 1 340px; min-width: 0; position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: flex-end; }
.hero-figure img { position: relative; width: min(100%, 520px); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)); }
.halo { position: absolute; left: 50%; bottom: 4%; width: min(92%, 470px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(201, 166, 255, 0.55) 0%, rgba(124, 58, 237, 0.35) 45%, rgba(124, 58, 237, 0) 70%); }
.orbit { position: absolute; left: 50%; bottom: 4%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(201, 166, 255, 0.55); translate: -50% 0; }
.orbit::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 18px 4px rgba(201, 166, 255, 0.8); }
.orbit.o1 { width: min(104%, 540px); animation: spin 26s linear infinite; }
.orbit.o2 { width: min(82%, 420px); bottom: 12%; border-style: solid; border-color: rgba(201, 166, 255, 0.25); animation: spin 18s linear infinite reverse; }
.orbit.o2::after { background: #FF7AB8; box-shadow: 0 0 18px 4px rgba(255, 122, 184, 0.7); }
@keyframes spin { to { rotate: 360deg; } }
.hero-stats { position: relative; background: rgba(10, 1, 30, 0.82); border-top: 1px solid #4A2A86; }
.hero-stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; padding-block: 20px; }
.hero-stats .wrap > div { display: flex; flex-direction: column; }
.hero-stats strong { font: 800 28px/1.2 var(--font-display); color: var(--lilac); font-variant-numeric: tabular-nums; }
.hero-stats span { color: var(--lilac-soft); font-size: 15px; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise.d1 { animation-delay: 0.12s; } .rise.d2 { animation-delay: 0.26s; } .rise.d3 { animation-delay: 0.4s; }
@media (max-width: 860px) {
  .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick a { min-height: 68px; }
  .motto { letter-spacing: 0.14em; gap: 10px; }
  .motto::before, .motto::after { width: 22px; }
  .hero-inner { padding-top: 28px; min-height: 0; }
  .hero-text { padding-bottom: 8px; }
  .hero-figure img { width: min(86%, 380px); }
}
@media (prefers-reduced-motion: reduce) { .rise, .orbit, .rainbow { animation: none; } .quick a { transition: none; } }

/* card grids */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
/* frosted glass: the motion layer shows through, softened */
.glass, .card, .quote, .soon, .note { background: var(--card); -webkit-backdrop-filter: blur(4px) saturate(150%); backdrop-filter: blur(4px) saturate(150%); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 8px 26px rgba(42, 15, 92, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.card { border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(42, 15, 92, 0.14); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.tag { align-self: flex-start; background: #EFE5FF; color: #4A1D96; border-radius: 999px; padding: 3px 14px; font-size: 14px; font-weight: 600; }
.card h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
.card p { color: var(--muted); }
.offer { align-self: flex-start; background: #4A1D96; color: #FFFFFF !important; border-radius: 999px; padding: 2px 12px; font-size: 13.5px; font-weight: 600; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.price-row .btn { min-height: 38px; padding: 6px 16px; font-size: 15px; border-radius: 10px; }
.price { font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 400; font-size: 14.5px; margin-left: 6px; }

/* course cover: a poster drawn in HTML, scales with its own width */
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; background: var(--c-bg, #12022E); color: #FFFFFF; }
.cover::before { content: ""; position: absolute; left: -10%; top: -8%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--c-glow, #7C3AED) 0%, var(--c-glow-2, #4C1D95) 38%, transparent 70%); }
.cover .who { position: absolute; left: 0; bottom: 0; height: 90%; width: auto; max-width: none; }
.cover .txt { position: absolute; left: 49%; right: 3%; top: 12%; display: flex; flex-direction: column; align-items: flex-start; gap: 1.2cqw; }
.cover .batch { font: 800 3.9cqw/1 var(--font-display); display: flex; gap: 1.4cqw; align-items: center; white-space: nowrap; }
.cover .batch b { color: var(--c-soft, #C9A6FF); }
.cover .box { width: 100%; border: 0.2cqw solid var(--c-line, #8B5CF6); border-radius: 1.8cqw; background: var(--c-box, #2A0F5C); padding: 1cqw 2.2cqw 1.6cqw; display: flex; flex-direction: column; overflow: hidden; }
.cover .big { font: 400 9.6cqw/1.1 var(--font-poster); letter-spacing: 0.02em; color: var(--c-big, #D9C2FF); white-space: nowrap; }
.cover .big.small { font-size: 7.4cqw; }
.cover .sub { font: 400 4.6cqw/1.15 var(--font-poster); letter-spacing: 0.03em; white-space: nowrap; }
.cover .pill { background: var(--c-line, #8B5CF6); border-radius: 1cqw; padding: 0.4cqw 1.6cqw; font-weight: 700; font-size: 2.3cqw; line-height: 1.5; }
.cover .inst { font-weight: 700; font-size: 2.3cqw; display: flex; align-items: center; gap: 1.2cqw; margin-top: 0.6cqw; }
.cover .inst span { background: #FFFFFF; color: var(--c-box, #2A0F5C); border-radius: 1cqw; padding: 0.2cqw 1.6cqw; font: 800 2.9cqw/1.4 var(--font-display); }
.cover.green { --c-bg: #03170F; --c-glow: #059669; --c-glow-2: #064E3B; --c-soft: #A7F3D0; --c-line: #047857; --c-box: #053B2C; --c-big: #C8FADF; }
.cover.red { --c-bg: #1A0406; --c-glow: #DC2626; --c-glow-2: #7F1D1D; --c-soft: #FFB4B4; --c-line: #B91C1C; --c-box: #450A0A; --c-big: #FFD0D0; }
.cover.blue { --c-bg: #030B24; --c-glow: #2563EB; --c-glow-2: #1E3A8A; --c-soft: #BFD4FF; --c-line: #1D4ED8; --c-box: #0B1F5C; --c-big: #D3E1FF; }
.cover.pink { --c-bg: #1A0320; --c-glow: #DB2777; --c-glow-2: #831843; --c-soft: #FFB3D4; --c-line: #C81E6E; --c-box: #4A0D33; --c-big: #FFC9E0; }
.cover.orange { --c-bg: #1C0A02; --c-glow: #EA580C; --c-glow-2: #7C2D12; --c-soft: #FED7AA; --c-line: #C2410C; --c-box: #4A1B06; --c-big: #FFE1C2; }
.cover.teal { --c-bg: #021716; --c-glow: #0D9488; --c-glow-2: #134E4A; --c-soft: #99F6E4; --c-line: #0F766E; --c-box: #083B37; --c-big: #C6FBF1; }
.cover.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ventures */
.venture { padding: 16px; gap: 4px; }
.venture .lvl { font-size: 14px; font-weight: 600; color: #4A1D96; }
.venture h3 { font-size: 20px; }
.venture .more { padding: 4px 0 0; font-size: 15px; }
.venture-logo { height: 64px; display: flex; align-items: center; }
.venture-logo img { max-height: 64px; width: auto; border-radius: 8px; }

/* exam band */
.exam-band { background: var(--exam); color: #FFFFFF; border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.exam-band img { flex: 1 1 300px; min-width: 0; width: 300px; max-width: 520px; border-radius: 12px; }
.exam-band div { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.exam-band h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.15; }
.exam-band p { color: #D5DCFF; }

/* teacher */
.teacher { background: rgba(255, 255, 255, 0.22); border-block: 1px solid rgba(255, 255, 255, 0.85); margin-top: 40px; }
.teacher .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding-block: 56px; }
.teacher img { flex: 0 1 320px; min-width: 0; width: 320px; height: 400px; object-fit: cover; object-position: 60% 20%; border-radius: 24px; }
.teacher-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.teacher-text h2 { font-size: clamp(30px, 4.2vw, 40px); line-height: 1.15; color: var(--deep); }
.teacher-text .eyebrow { color: var(--accent); }
.teacher-text p.bio { color: var(--muted); max-width: 600px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 6px; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font: 800 32px/1.1 var(--font-display); color: var(--deep); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); }

/* success */
.group figcaption { color: var(--muted); font-size: 15px; margin-top: 8px; }
.group img { width: 100%; border-radius: 20px; }
.result-band { background: var(--deep); color: #FFFFFF; border-radius: 20px; padding: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.result-band > div { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.result-band strong { font: 800 clamp(34px, 5vw, 44px)/1.1 var(--font-display); color: var(--lilac); }
.result-band span.label { color: var(--lilac-soft); }
.student img { width: 100%; height: 140px; object-fit: cover; }
.student .card-body { padding: 10px 12px 12px; gap: 2px; }
.student strong { font-size: 16px; line-height: 1.3; }
.student span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.student .tag { margin-top: 4px; color: #4A1D96; }
.quotes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.quote { border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.quote blockquote { margin: 0; font-size: 16.5px; }
.quote footer { color: var(--muted); font-size: 15.5px; }
.quote footer b { color: var(--ink); display: block; font-size: 17px; }

/* success tiles: each a different translucent colour wash */
.student:nth-child(6n+1), .quote:nth-child(3n+1) { background: linear-gradient(135deg, rgba(201, 166, 255, 0.6), rgba(255, 179, 212, 0.5)); }
.student:nth-child(6n+2), .quote:nth-child(3n+2) { background: linear-gradient(135deg, rgba(167, 243, 208, 0.6), rgba(147, 197, 253, 0.5)); }
.student:nth-child(6n+3), .quote:nth-child(3n+3) { background: linear-gradient(135deg, rgba(253, 230, 138, 0.6), rgba(253, 164, 175, 0.5)); }
.student:nth-child(6n+4) { background: linear-gradient(135deg, rgba(147, 197, 253, 0.6), rgba(196, 181, 253, 0.5)); }
.student:nth-child(6n+5) { background: linear-gradient(135deg, rgba(252, 165, 165, 0.55), rgba(253, 186, 116, 0.5)); }
.student:nth-child(6n+6) { background: linear-gradient(135deg, rgba(153, 246, 228, 0.6), rgba(190, 242, 100, 0.45)); }
.student span, .quote footer { color: #3B3350; }

/* lectures */
.lecture { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.lecture .thumb { aspect-ratio: 16 / 9; border-radius: 16px; background: var(--deep) center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.lecture .thumb span { width: 64px; height: 64px; border-radius: 50%; background: rgba(18, 2, 46, 0.78); display: flex; align-items: center; justify-content: center; }
.lecture strong { font-size: 16px; line-height: 1.4; }
.lecture:hover strong { color: var(--accent); }

/* course detail view */
.page-head { background: var(--deep); color: #FFFFFF; }
.page-head .wrap { padding-block: 44px; display: flex; flex-direction: column; gap: 8px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
.page-head p { color: var(--lilac-soft); max-width: 640px; }
.course-detail { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0; }
.course-detail .cover { flex: 1 1 420px; min-width: 0; align-self: flex-start; }
.course-detail .card-body { flex: 1 1 360px; min-width: 0; padding: 24px; }
.course-detail ul { margin: 0; padding-left: 20px; color: var(--muted); }
.fee-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fee-table th, .fee-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid #ECE6F5; font-weight: 400; }
.fee-table td { text-align: right; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.note { border-radius: 14px; padding: 16px 18px; color: var(--ink); }

/* login placeholder */
.soon { max-width: 560px; margin: 0 auto; text-align: left; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* footer */
.site-footer { background: var(--deep); color: var(--lilac-soft); margin-top: 72px; }
.site-footer .wrap { padding-block: 52px 26px; display: flex; flex-direction: column; gap: 30px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px; }
.foot-cols > div { flex: 1 1 170px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.foot-cols strong { color: #FFFFFF; }
.foot-cols a { color: var(--lilac-soft); padding: 4px 0; }
.foot-cols a:hover { color: #FFFFFF; }
.foot-brand img { height: 78px; width: auto; align-self: flex-start; }
.copyright { border-top: 1px solid #3A2466; padding-top: 18px; font-size: 15px; }
.foot-cols span { line-height: 1.6; }
.foot-owner { font-size: 14.5px; opacity: .85; }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pay-label { color: #FFFFFF; font-weight: 600; font-size: 15px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badge { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: #FFFFFF; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .2px; }
.pb-bkash { color: #E2136E; }
.pb-nagad { color: #EC1C24; }
.pb-rocket { color: #8C3494; }
.pb-visa { color: #1A1F71; font-style: italic; font-size: 15px; }
.pb-master { color: #1C1230; font-weight: 700; font-size: 13px; }
.pb-master i { width: 14px; height: 14px; border-radius: 50%; background: #EB001B; display: inline-block; }
.pb-master i + i { background: #F79E1B; margin-left: -6px; margin-right: 5px; mix-blend-mode: multiply; }

/* phones: two compact tiles per row */
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px 11px 12px; gap: 6px; }
  .card h3 { font-size: 17px; }
  .price { font-size: 17px; }
  .price s { display: block; margin-left: 0; }
  .price-row .btn { width: 100%; }
  .venture { padding: 12px; }
  .venture h3 { font-size: 17px; }
  .student img { height: 104px; }
  .section-head h2 { font-size: 25px; }
  .section { padding-block: 40px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } .card:hover { transform: none; } }

/* success stories: tappable cards and the magazine page viewer */
button.card.student { width: 100%; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.card.student:focus-visible { outline: 3px solid #F59E0B; outline-offset: 3px; }
.student .card-body { display: flex; flex-direction: column; }
.student .read { margin-top: 6px; font-weight: 600; font-size: 14px; color: var(--accent) !important; }
body.no-scroll { overflow: hidden; }
.modal.story-modal { align-items: stretch; padding: 10px; }
.story-box { width: min(100%, 880px); margin: 0 auto; display: flex; flex-direction: column; gap: 8px; min-height: 0; max-height: 100%; }
.story-head, .story-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #FFFFFF; }
.story-head > div { display: flex; flex-direction: column; min-width: 0; }
.story-name { font-size: 19px; line-height: 1.3; }
.story-sub { color: var(--lilac-soft); font-size: 14.5px; }
.story-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; border-radius: 12px; background: #FFFFFF; -webkit-overflow-scrolling: touch; }
.story-img { width: 100%; height: auto; display: block; }
.story-scroll { overflow: auto; }
.story-img { cursor: zoom-in; }
.story-modal.zoomed .story-img { width: 230%; max-width: none; cursor: zoom-out; }
@media (min-width: 900px) { .story-modal.zoomed .story-img { width: 160%; } }
