/* 00-base.css */
/* =========================================================================
   Base: reproduces the old Material UI theme (RAPTheme.ts) + CssBaseline.
   Breakpoints (same as MUI): sm ≥600px, md ≥900px, lg ≥1200px, xl ≥1536px
   ========================================================================= */
:root {
  --primary: #4A68E2;
  --primary-light: #6B85E8;
  --primary-dark: #3A58D2;
  --secondary: #8A3FD1;
  --secondary-light: #A35FE0;
  --secondary-dark: #7A2FC1;
  --bg-default: #F7F7F7;
  --bg-paper: #FFFFFF;
  --text-primary: #1B1530;
  --text-secondary: #4B4766;
  --divider: rgba(0, 0, 0, 0.12);
  --gradient: linear-gradient(45deg, #4A68E2 30%, #8A3FD1 90%);
  --gradient-hover: linear-gradient(45deg, #8A3FD1 30%, #4A68E2 90%);
  --gradient-135: linear-gradient(135deg, #4A68E2 0%, #8A3FD1 100%);
  /* Slack-style type: geometric display (Poppins) + clean text face (Inter) */
  --font-display: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-base: var(--font-text);
  --font-heading: var(--font-display);
  --font-body: var(--font-text);
  --font-serif: var(--font-display);
  --font-inter: var(--font-text);

  /* Slack-style surfaces, mapped to the RAP palette */
  --ink: #1B1530;            /* headings / body text */
  --ink-2: #4B4766;          /* secondary text */
  --ink-3: #6E6A86;          /* muted text */
  --brand: #4A68E2;          /* RAP primary blue */
  --brand-2: #8A3FD1;        /* RAP purple */
  --brand-deep: #241255;     /* deep band (Slack's aubergine, in RAP violet) */
  --brand-deep-2: #1A0D40;
  --tint: #F5F3FF;           /* pale lavender section background */
  --tint-2: #EEF1FD;         /* pale blue */
  --line: #E6E4EF;
  --radius-btn: 4px;
  --radius-card: 16px;
  --shadow-card: 0 1px 3px rgba(27, 21, 48, 0.08), 0 8px 24px rgba(27, 21, 48, 0.06);
  --wrap: 1230px;

  --code-color: darkred;
  --code-bg-color: #aaaaaa;
  --code-font-size: 14px;
  --code-line-height: 1.4;
  --scroll-bar-color: #c5c5c5;
  --scroll-bar-bg-color: #f6f6f6;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: inherit; }
strong, b { font-weight: 700; }

body {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #fff;
  text-rendering: optimizeLegibility;
}
@media print { body { background-color: #fff; } }

img { max-width: 100%; }
a { color: var(--brand); }
button, input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }

/* Scrollbars (from the old index.html) */
* { scrollbar-width: none; scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color); }
*::-webkit-scrollbar { width: 4px; height: 12px; }
*::-webkit-scrollbar-track { background: var(--scroll-bar-bg-color); }
*::-webkit-scrollbar-thumb { background-color: var(--scroll-bar-color); border-radius: 20px; border: 3px solid var(--scroll-bar-bg-color); }
::-webkit-scrollbar-corner { background: rgba(0, 0, 0, 0.5); }

pre { color: var(--code-color); font-size: var(--code-font-size); line-height: var(--code-line-height); background-color: var(--code-bg-color); }

/* ---------- Typography (MUI variants) ---------- */
h1, h2, h3, h4, h5, h6, p { margin: 0; }
.t-h1 { font-family: var(--font-heading); font-weight: 600; font-size: 2.5rem; line-height: 1.167; }
.t-h2 { font-family: var(--font-heading); font-weight: 600; font-size: 2rem; line-height: 1.2; }
.t-h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.75rem; line-height: 1.167; }
.t-h4 { font-family: var(--font-heading); font-weight: 500; font-size: 1.5rem; line-height: 1.235; }
.t-h5 { font-family: var(--font-heading); font-weight: 500; font-size: 1.25rem; line-height: 1.334; }
.t-h6 { font-family: var(--font-heading); font-weight: 500; font-size: 1rem; line-height: 1.6; }
.t-subtitle1 { font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1.75; }
.t-subtitle2 { font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; line-height: 1.57; }
.t-body1 { font-family: var(--font-body); font-weight: 400; font-size: 1rem; line-height: 1.5; }
.t-body2 { font-family: var(--font-body); font-weight: 400; font-size: 0.875rem; line-height: 1.43; }
.t-caption { font-family: var(--font-base); font-weight: 400; font-size: 0.75rem; line-height: 1.66; }
.gutter-bottom { margin-bottom: 0.35em; }
.text-center { text-align: center; }

/* ---------- Icons ---------- */
.mi { width: 1em; height: 1em; display: inline-block; fill: currentColor; flex-shrink: 0; font-size: 1.5rem; user-select: none; vertical-align: middle; }
.lucide { flex-shrink: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; max-width: 1200px; }
@media (min-width: 600px) { .container { padding-left: 24px; padding-right: 24px; } }
.container--md { max-width: 900px; }
.container--sm { max-width: 600px; }
.container--xl { max-width: 1536px; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* ---------- Buttons (MUI Button + RAPTheme overrides) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  position: relative; box-sizing: border-box; outline: 0; border: 0; margin: 0;
  cursor: pointer; user-select: none; vertical-align: middle; text-decoration: none;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.75;
  text-transform: none; min-width: 64px;
  padding: 12px 24px; border-radius: 8px; box-shadow: none;
  transition: all 0.3s ease-in-out; color: inherit; background: transparent;
}
.btn:disabled, .btn.is-disabled { cursor: default; pointer-events: none; }
.btn-block { display: flex; width: 100%; }
.btn-gradient { background: var(--gradient); color: #fff; }
.btn-gradient:hover { background: var(--gradient-hover); box-shadow: 0px 4px 8px rgba(74, 104, 226, 0.4); transform: translateY(-2px); }
.btn-gradient:disabled { background: #D1D1D1; color: #fff; box-shadow: none; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: linear-gradient(45deg, #3A58D2 30%, #7A2FC1 90%); box-shadow: 0px 4px 8px rgba(138, 63, 209, 0.4); transform: translateY(-2px); }
.btn-outline { color: var(--primary); }
.btn-outline::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--primary); border-radius: 4px; pointer-events: none; }
.btn-outline:hover { background: var(--gradient); color: #fff; border-radius: 4px; box-shadow: 0px 4px 8px rgba(74, 104, 226, 0.4); transform: translateY(-2px); }
.btn-outline:hover::before { opacity: 0; }
.btn-text { color: var(--primary); padding: 6px 8px; }
.btn-text:hover { background-color: rgba(74, 104, 226, 0.04); }
.btn-sm { padding: 4px 10px; font-size: 0.8125rem; }

/* ---------- Avatars ---------- */
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; flex-shrink: 0; object-fit: cover; color: #fff; background: #bdbdbd; font-family: var(--font-base); user-select: none; }
.avatar--32 { width: 32px; height: 32px; font-size: 1.25rem; }
.avatar--40 { width: 40px; height: 40px; font-size: 1.25rem; }
.avatar--48 { width: 48px; height: 48px; font-size: 1.5rem; font-weight: 700; }
.avatar--gradient { background: var(--gradient-135); }
.avatar--light { background-color: #fff; color: #4A68E2; }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px; border-radius: 16px; font-family: var(--font-base); font-size: 0.8125rem; font-weight: 500; white-space: nowrap; background-color: rgba(0, 0, 0, 0.08); color: rgba(0, 0, 0, 0.87); }
.chip--sm { height: 24px; padding: 0 8px; }
.chip--primary { background: var(--gradient); color: #fff; }
.chip--outlined { background: transparent; border: 1px solid #bdbdbd; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 6px 16px; border-radius: 8px; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.43; }
.alert .mi { font-size: 22px; margin-top: 7px; }
.alert__msg { padding: 8px 0; }
.alert__msg p { margin: 1em 0; }
.alert--error { background: rgb(253, 237, 237); color: rgb(95, 33, 32); }
.alert--error .mi { color: #d32f2f; }
.alert--success { background: rgb(237, 247, 237); color: rgb(30, 70, 32); }
.alert--success .mi { color: #2e7d32; }
.alert--info { background: rgb(229, 246, 253); color: rgb(1, 67, 97); }
.alert--info .mi { color: #0288d1; }
.alert--warning { background: rgb(255, 244, 229); color: rgb(102, 60, 0); }
.alert--warning .mi { color: #ed6c02; }

/* ---------- Spinner ---------- */
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3.6px solid rgba(74, 104, 226, 0.2); border-top-color: var(--primary); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Animations shared across sections ---------- */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp60 { 0% { opacity: 0; transform: translateY(60px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 10-layout.css */
/* =========================================================================
   Global layout — Slack.com-style header, mega-menus, mobile menu, CTA band,
   footer and mobile contact bar, in the RAP Education colour scheme.
   ========================================================================= */
.wrap { width: 100%; max-width: calc(var(--wrap) + 80px); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 4px; }
.skip-link:focus { left: 8px; }
.site-main { width: 100%; min-width: 0; overflow-x: clip; }
:focus-visible { outline: 3px solid rgba(74, 104, 226, 0.45); outline-offset: 2px; }

/* ---------- Slack-style buttons ---------- */
.sbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: var(--radius-btn); border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--font-text); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.sbtn--solid { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; }
.sbtn--solid:hover { box-shadow: 0 6px 18px rgba(74, 104, 226, 0.35); color: #fff; transform: translateY(-1px); }
.sbtn--outline { background: #fff; color: var(--brand-2); border-color: var(--brand-2); }
.sbtn--outline:hover { background: var(--tint); color: var(--brand-2); box-shadow: inset 0 0 0 1px var(--brand-2); }
.sbtn--white { background: #fff; color: var(--brand-2); }
.sbtn--white:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); color: var(--brand-2); }
.sbtn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.9); }
.sbtn--ghost-white:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.sbtn--sm { min-height: 40px; padding: 0 16px; font-size: 0.8125rem; }
.sbtn--block { display: flex; width: 100%; }
.sbtn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.textlink .mi { transition: transform 0.2s ease; }
.textlink:hover .mi { transform: translateX(4px); }

/* ---------- Announcement strip ---------- */
.topbar { background: var(--brand-deep); color: #fff; font-size: 0.875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.topbar__text { margin: 0; text-align: center; line-height: 1.4; }
.topbar__pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(62, 224, 143, 0.6); animation: topPulse 1.8s infinite; }
@keyframes topPulse { 70% { box-shadow: 0 0 0 8px rgba(62, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0); } }
.topbar__link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }
.topbar__link:hover { color: #d9ccff; }
.topbar__close { flex-shrink: 0; display: inline-flex; padding: 4px; border: 0; background: none; color: #fff; opacity: 0.8; cursor: pointer; border-radius: 4px; }
.topbar__close:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1100; background: #fff; transition: box-shadow 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(27, 21, 48, 0.06); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
@media (min-width: 1024px) { .site-header__inner { height: 80px; } }
.site-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 36px; width: auto; display: block; }
@media (min-width: 1024px) { .site-header__logo img { height: 44px; } }

.mainnav { display: none; }
@media (min-width: 1024px) { .mainnav { display: block; } }
.mainnav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav__item { position: relative; }
.mainnav__link {
  display: inline-flex; align-items: center; gap: 2px; height: 80px; padding: 0 10px; border: 0; background: none; cursor: pointer; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-family: var(--font-text); font-size: 1rem; font-weight: 600; position: relative;
}
.mainnav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 22px; height: 2px; background: var(--brand-2); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.mainnav__link:hover::after, .mainnav__link.is-active::after, .has-menu.is-open > .mainnav__link::after { transform: scaleX(1); }
.mainnav__chev { transition: transform 0.2s ease; color: var(--ink-3); }
.has-menu.is-open .mainnav__chev { transform: rotate(180deg); }

.megamenu {
  position: absolute; top: calc(100% - 8px); left: -24px; min-width: 640px; padding: 24px; z-index: 10;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 48px rgba(27, 21, 48, 0.16);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.megamenu--small { min-width: 260px; padding: 12px; }
.has-menu.is-open .megamenu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.18s ease; }
.megamenu__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.megamenu__label { margin: 0 0 8px; padding: 0 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.megamenu__links { list-style: none; margin: 0; padding: 0; }
.megamenu__links a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.megamenu__links a:hover { background: var(--tint); }
.megamenu__links--plain a { font-weight: 500; }
.megamenu__title { font-weight: 600; line-height: 1.3; }
.megamenu__meta { font-size: 0.8125rem; color: var(--ink-3); text-transform: capitalize; }
.megamenu__col--wide { border-right: 1px solid var(--line); padding-right: 16px; }
.megamenu__cta { display: inline-flex; align-items: center; gap: 6px; margin: 12px 12px 0; color: var(--brand-2); font-weight: 700; text-decoration: none; font-size: 0.875rem; }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.site-header__signin { display: none; color: var(--ink); font-weight: 600; text-decoration: none; padding: 8px; white-space: nowrap; }
.site-header__signin:hover { color: var(--brand-2); }
.site-header__demo { display: none; }
.site-header__cta { min-height: 40px; padding: 0 14px; font-size: 0.8125rem; }
@media (min-width: 1024px) {
  .site-header__signin { display: inline-block; }
  .site-header__cta { min-height: 48px; padding: 0 24px; font-size: 0.9375rem; }
}
@media (min-width: 1360px) { .site-header__demo { display: inline-flex; } }
@media (min-width: 1024px) and (max-width: 1180px) { .mainnav__link { padding: 0 7px; font-size: 0.9375rem; } .site-header__inner { gap: 12px; } }
.site-header__burger { display: inline-flex; padding: 6px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 6px; }
@media (min-width: 1024px) { .site-header__burger { display: none; } }

.usermenu { position: relative; }
.usermenu__trigger { display: inline-flex; padding: 4px; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.usermenu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 48px rgba(27, 21, 48, 0.16); z-index: 20; }
.usermenu__head { display: flex; flex-direction: column; padding: 8px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.usermenu__head span { font-size: 0.8125rem; color: var(--ink-3); }
.usermenu__panel a, .usermenu__panel button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 8px; color: var(--ink); text-decoration: none; font: inherit; font-weight: 500; cursor: pointer; text-align: left; }
.usermenu__panel a:hover, .usermenu__panel button:hover { background: var(--tint); }
.usermenu__panel form { margin: 0; }

/* ---------- Mobile menu (full screen, Slack-style) ---------- */
.mobilemenu { position: fixed; inset: 0; z-index: 1300; background: #fff; display: flex; flex-direction: column; overflow-y: auto; animation: fadeIn 0.18s ease; }
.mobilemenu__top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.mobilemenu__close { display: inline-flex; padding: 6px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.mobilemenu__nav { flex: 1; padding: 8px 20px; }
.mobilemenu__link, .mobilemenu__group > summary {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none;
}
.mobilemenu__group > summary::-webkit-details-marker { display: none; }
.mobilemenu__group[open] > summary .mi { transform: rotate(180deg); }
.mobilemenu__group ul { list-style: none; margin: 0; padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
.mobilemenu__group li a { display: block; padding: 10px 0; color: var(--ink-2); text-decoration: none; font-size: 1.0625rem; }
.mobilemenu__actions { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-top: 1px solid var(--line); }
body.menu-open { overflow: hidden; }

/* ---------- Pre-footer CTA band ---------- */
.ctaband { position: relative; color: #fff; background: var(--brand-deep); padding: 72px 0 120px; overflow: hidden; text-align: center; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 0%, rgba(74, 104, 226, 0.45), transparent 60%), radial-gradient(50% 70% at 90% 10%, rgba(138, 63, 209, 0.5), transparent 60%); pointer-events: none; }
.ctaband::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.ctaband__inner { position: relative; z-index: 1; max-width: 900px; }
.ctaband__title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; }
.ctaband__text { margin: 0 auto 32px; max-width: 640px; font-size: 1.125rem; color: rgba(255, 255, 255, 0.86); }
.ctaband__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 599px) { .ctaband__actions .sbtn { width: 100%; } }

/* ---------- Footer ---------- */
.sitefoot { background: #fff; color: var(--ink-2); padding: 24px 0 96px; font-size: 0.9375rem; }
@media (min-width: 1024px) { .sitefoot { padding-bottom: 40px; } }
.sitefoot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 24px; border-bottom: 1px solid var(--line); }
.sitefoot__region { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.sitefoot__social { display: flex; gap: 8px; }
.sitefoot__social a { display: inline-flex; padding: 8px; color: var(--ink); border-radius: 8px; transition: background 0.2s, color 0.2s; }
.sitefoot__social a:hover { background: var(--tint); color: var(--brand-2); }
.sitefoot__main { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .sitefoot__main { grid-template-columns: 220px 1fr; gap: 48px; } }
.sitefoot__brand img { height: 44px; width: auto; }
.sitefoot__tagline { margin: 12px 0 0; color: var(--ink-3); font-size: 0.875rem; max-width: 220px; }
.sitefoot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 768px) { .sitefoot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sitefoot__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sitefoot__col h3 { margin: 0 0 16px; font-family: var(--font-text); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.sitefoot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sitefoot__col a { color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.sitefoot__col a:hover { color: var(--brand-2); text-decoration: underline; }
.sitefoot__bottom { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
@media (min-width: 1024px) { .sitefoot__bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.sitefoot__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.sitefoot__legal a { color: var(--ink-2); text-decoration: none; }
.sitefoot__legal a:hover { color: var(--brand-2); }
.sitefoot__copy { display: flex; flex-direction: column; gap: 4px; font-size: 0.875rem; }
@media (min-width: 1024px) { .sitefoot__copy { text-align: right; } }
.sitefoot__copy p { margin: 0; }
.sitefoot__credit a { color: var(--brand-2); font-weight: 600; text-decoration: none; }
.sitefoot__credit a:hover { text-decoration: underline; }

/* ---------- Mobile quick-contact bar (sticky conversion footer) ---------- */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
@media (min-width: 1024px) { .mobilebar { display: none; } }
.mobilebar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 0.75rem; font-weight: 600; }
.mobilebar__item:hover { background: var(--tint); }
.mobilebar__item--primary { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; }
.mobilebar__item--primary:hover { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; }

/* ---------- WhatsApp button (desktop only; phones use the bar above) ---------- */
.whatsapp-fab { position: fixed; bottom: 20px; right: 20px; z-index: 1001; display: none; align-items: center; justify-content: center; cursor: pointer; animation: zoomInOut 2s ease-in-out infinite; transition: all 0.3s ease; }
@media (min-width: 1024px) { .whatsapp-fab { display: flex; } }
.whatsapp-fab:hover { transform: scale(1.12); animation: none; }
.whatsapp-fab img { width: 56px; height: 56px; display: block; }
@keyframes zoomInOut { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---------- Courses mega-menu (Hostinger-style dark panel) ---------- */
.site-header__inner { position: relative; }
.mainnav__item--static { position: static; }
.mega {
  position: absolute; top: calc(100% - 6px); left: 20px; right: 20px; z-index: 30;
  display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 0;
  background: #14111f; color: #fff; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(10, 6, 30, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
@media (min-width: 1240px) { .mega { grid-template-columns: 240px minmax(0, 1fr) 290px; } }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.18s ease; }
.mega__label { margin: 0 0 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.mega__side { display: flex; flex-direction: column; gap: 4px; padding: 24px 16px 24px 20px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.mega__cat {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  color: #fff; font: 500 0.9375rem/1.3 var(--font-text); text-align: left; transition: background 0.15s;
}
.mega__cat .mi { color: rgba(255, 255, 255, 0.85); }
.mega__cat:hover { background: rgba(255, 255, 255, 0.06); }
.mega__cat.is-active { background: rgba(138, 63, 209, 0.28); box-shadow: inset 0 0 0 1px rgba(138, 63, 209, 0.45); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin: auto 12px 0; padding-top: 16px; color: #c9b8ff; font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.mega__all:hover { color: #fff; }
.mega__main { padding: 24px 24px 20px; min-height: 320px; }
.mega__pane { display: none; }
.mega__pane.is-active { display: block; animation: fadeIn 0.15s ease; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1240px) { .mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mega__item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; color: #fff; text-decoration: none; transition: background 0.15s; }
.mega__item:hover { background: rgba(255, 255, 255, 0.06); }
.mega__item:hover .mega__title { color: #d9ccff; }
.mega__icon { display: inline-flex; flex-shrink: 0; margin-top: 1px; color: #fff; }
.mega__title { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.35; }
.mega__desc { display: block; margin-top: 3px; font-size: 0.8125rem; line-height: 1.45; color: rgba(255, 255, 255, 0.68); text-transform: none; }
.mega__promo {
  display: none; flex-direction: column; margin: 16px; padding: 20px; border-radius: 14px; color: #fff; text-decoration: none;
  background: linear-gradient(160deg, #5b73ec 0%, #7a4fe0 55%, #8A3FD1 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
@media (min-width: 1240px) { .mega__promo { display: flex; } }
.mega__promo-label { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.mega__promo-art { display: flex; align-items: center; justify-content: center; gap: 18px; flex: 1; min-height: 120px; }
.mega__promo-art .mi { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.92); color: var(--brand-2); box-shadow: 0 12px 30px rgba(20, 10, 60, 0.35); }
.mega__promo-art .mi:last-child { transform: rotate(8deg) translateY(10px); color: var(--brand); }
.mega__promo-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.mega__promo-text { margin: 6px 0 16px; font-size: 0.875rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }
.mega__promo-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: 0.9375rem; }
.mega__promo:hover .mega__promo-btn { background: #f1ecff; }

/* 20-hero-sponsors-lead.css */
/* =========================================================================
   Home: HeroSection, SponsorSection ("Powered By"), LeadSection + ModernLeadForm
   ========================================================================= */

/* ---------- Hero ---------- */
.hero-section, .hero-section * { border: none !important; outline: none !important; box-shadow: none !important; }
.hero-section {
  position: relative; isolation: isolate; z-index: 0;
  height: calc(100vh - 50px); width: 100%; max-width: 100%; overflow: hidden;
  display: flex; align-items: flex-end; background: #000;
}
@media (min-width: 600px) { .hero-section { height: calc(100vh - 35px); } }
@media (min-width: 900px) { .hero-section { height: calc(100vh - 50px); } }
.hero-section__video { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-section__player, .hero-section__video iframe {
  position: absolute; top: 50%; left: 50%; width: 177.77777778vh; height: 56.25vw;
  min-width: 100%; min-height: 100%; transform: translate(-50%, -50%);
}
.hero-section__overlay { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.4); z-index: 1; pointer-events: none; }
.hero-section__content { display: flex; text-align: center; justify-content: center; align-items: flex-end; height: 100%; position: relative; z-index: 2; padding-bottom: 32px; }
@media (min-width: 600px) { .hero-section__content { padding-bottom: 48px; } }
@media (min-width: 900px) { .hero-section__content { padding-bottom: 64px; } }
.hero-section__stack { display: flex; flex-direction: column; justify-content: center; align-items: center; max-width: 980px; animation: fadeInUp60 1.2s ease-out 0.5s both; }
.hero-section__stack > * + * { margin-top: 32px; }
.hero-section__title {
  font-family: var(--font-inter); font-weight: 700; color: #fff; text-align: center;
  font-size: clamp(32px, 2.8vw + 6px, 58px); line-height: 1.15;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3); animation: fadeInUp 1s ease-out 0.5s both;
}
.hero-section__text {
  font-family: var(--font-heading); font-weight: 500; color: #fff;
  font-size: clamp(14px, 1.1vw + 4px, 20px); line-height: 1.5; max-width: 980px;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3); animation: fadeInUp 1s ease-out 2s both;
}
.hero-section__actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; animation: fadeInUp 1s ease-out 3s both; }
.hero-section__actions > * + * { margin-left: 8px; }
@media (min-width: 600px) { .hero-section__actions > * + * { margin-left: 16px; } }
.hero-btn.btn {
  font-size: 0.75rem; padding: 6px 16px; border-radius: 8px; overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 600px) { .hero-btn.btn { font-size: 0.875rem; padding: 8px 24px; } }
@media (min-width: 900px) { .hero-btn.btn { font-size: 1rem; padding: 12px 32px; } }
/* (borders/shadows on hero children are suppressed by the !important rule above, as on the old site) */
.hero-btn.btn:hover { transform: translateY(-3px) scale(1.05); }
.hero-btn--ghost { color: #fff; background-color: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-btn--ghost::before { content: ""; position: absolute; inset: 0; border: 2px solid #8A3FD1; border-radius: inherit; pointer-events: none; }
.hero-btn--ghost:hover { background-color: rgba(255, 255, 255, 0.3); color: #fff; }
.hero-btn--ghost:hover::before { opacity: 0; }

/* ---------- Powered By ---------- */
.powered-by { background-color: #f8f9fa; padding: 60px 0; overflow: hidden; position: relative; width: 100vw; margin-left: calc(-50vw + 50%); }
.powered-by__head { text-align: center; margin-bottom: 40px; padding: 0 20px; }
.powered-by__title { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.334; font-weight: 600; color: #333; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.powered-by__subtitle { color: #666; max-width: 600px; margin: 0 auto; }
.powered-by__slider { position: relative; width: 100%; margin: 0 auto; overflow: auto; cursor: grab; scrollbar-width: none; -ms-overflow-style: none; }
.powered-by__slider::-webkit-scrollbar { display: none; }
.powered-by__slider:active { cursor: grabbing; }
.powered-by__track { display: flex; animation: poweredScroll 8s linear infinite; }
@media (min-width: 768px) { .powered-by__track { animation-duration: 20s; } }
.powered-by__slider.is-dragging .powered-by__track { animation: none; }
@keyframes poweredScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.powered-by__item {
  flex: 0 0 auto; width: calc(33.333% - 20px); min-width: calc(33.333% - 20px); height: 100px;
  display: flex; align-items: center; justify-content: center; margin: 0 10px; padding: 15px;
  background-color: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); transition: all 0.3s ease;
}
@media (min-width: 600px) { .powered-by__item { width: 200px; min-width: 200px; height: 120px; margin: 0 20px; padding: 20px; } }
.powered-by__item:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }
.powered-by__item img { max-width: 100%; max-height: 60px; object-fit: contain; filter: grayscale(100%); transition: filter 0.3s ease; }
@media (min-width: 768px) { .powered-by__item img { max-height: 80px; } }
.powered-by__item img:hover { filter: grayscale(0%); }
.powered-by__fade { position: absolute; top: 0; width: 100px; height: 100%; z-index: 1; pointer-events: none; }
.powered-by__fade--left { left: 0; background: linear-gradient(to right, #f8f9fa, transparent); }
.powered-by__fade--right { right: 0; background: linear-gradient(to left, #f8f9fa, transparent); }

/* ---------- Lead section ---------- */
.lead-section { padding: 64px 0; background: #fff; position: relative; display: flex; justify-content: center; width: 100%; }
.lead-section__wrap { position: relative; z-index: 1; max-width: 85%; width: 100%; padding: 0 16px; }
@media (min-width: 600px) { .lead-section__wrap { max-width: 80%; padding: 0 24px; } }
.lead-section__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; min-height: 60vh; }
@media (min-width: 1200px) { .lead-section__grid { grid-template-columns: 35% 65%; gap: 48px; } }
.lead-section__text { display: flex; flex-direction: column; justify-content: center; }
.lead-section__title { font-family: var(--font-heading); font-weight: 800; font-size: 2rem; line-height: 1.2; color: #4A5568; margin-bottom: 24px; }
@media (min-width: 900px) { .lead-section__title { font-size: 2.5rem; } }
@media (min-width: 1200px) { .lead-section__title { font-size: 3rem; } }
.lead-section__desc { font-family: var(--font-heading); color: #718096; font-weight: 400; line-height: 1.6; font-size: 1rem; }
@media (min-width: 900px) { .lead-section__desc { font-size: 1.1rem; } }
.lead-section__form { display: flex; flex-direction: column; align-items: flex-start; }
.lead-section__form-title { font-family: var(--font-heading); font-weight: 600; margin-bottom: 24px; color: #4A5568; text-align: left; font-size: 1.5rem; line-height: 1.235; }
@media (min-width: 900px) { .lead-section__form-title { font-size: 1.75rem; } }

.modern-lead { width: 100%; }
.modern-lead__error { margin-bottom: 16px; }
.modern-lead__grid { display: grid; grid-template-columns: 1fr; gap: 16px; width: 100%; margin-bottom: 24px; }
@media (min-width: 600px) { .modern-lead__grid { grid-template-columns: 1fr 1fr; } }
.neu-input {
  width: 100%; padding: 16px; border: none; border-radius: 25px; font-size: 1rem; font-family: inherit; line-height: normal;
  background: #F5F5F5; color: #4A5568; transition: all 0.3s ease;
  box-shadow: inset 3px 3px 6px #e0e0e0, inset -3px -3px 6px #ffffff;
  appearance: auto;
}
.neu-input:focus { outline: none; box-shadow: inset 3px 3px 6px #e0e0e0, inset -3px -3px 6px #ffffff, 0 0 0 3px rgba(102, 126, 234, 0.2); }
.neu-input::placeholder { color: #718096; }
.field-error { display: block; margin-top: 4px; color: #e74c3c; font-family: var(--font-base); font-size: 0.75rem; line-height: 1.66; }
.field-error:empty { display: none; }
.modern-lead__submit { display: flex; justify-content: flex-start; margin-top: 16px; }
.neu-btn {
  padding: 16px 48px; background: #F5F5F5; color: #4A5568; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.75;
  border: 0; border-radius: 25px; cursor: pointer; text-transform: none; min-width: 64px;
  box-shadow: 3px 3px 6px #e0e0e0, -3px -3px 6px #ffffff; transition: all 0.3s ease;
}
.neu-btn:hover, .neu-btn:active { box-shadow: inset 3px 3px 6px #e0e0e0, inset -3px -3px 6px #ffffff; }
.neu-btn:disabled { background: #D1D5DB; color: #9CA3AF; box-shadow: inset 3px 3px 6px #e0e0e0, inset -3px -3px 6px #ffffff; cursor: default; }
.modern-lead__success { padding: 24px; text-align: center; background: #E0E5EC; border-radius: 24px; box-shadow: inset 5px 5px 10px #BEBEBE, inset -5px -5px 10px #FFFFFF; color: #4A5568; }
.modern-lead__thanks { font-family: var(--font-heading); font-size: 1rem; line-height: 1.6; color: #48BB78; font-weight: 600; margin-bottom: 16px; text-shadow: 2px 2px 4px rgba(255,255,255,0.8), -2px -2px 4px rgba(0,0,0,0.1); }

/* 21-courses.css */
/* =========================================================================
   CoursesSection (home carousel + /courses grid), CourseCard, CourseCarousel
   ========================================================================= */
.courses-home {
  padding: 32px 0 24px; position: relative; overflow: visible;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #9333EA 100%);
}
@media (min-width: 900px) { .courses-home { padding: 48px 0 32px; } }
@media (min-width: 1200px) { .courses-home { padding: 56px 0 40px; } }
.courses-home__layout { display: block; position: relative; z-index: 1; max-width: 100%; padding: 0 24px; }
@media (min-width: 600px) { .courses-home__layout { padding: 0 32px; } }
@media (min-width: 1200px) { .courses-home__layout { display: flex; align-items: center; gap: 24px; padding: 0 0 0 48px; } }
.courses-home__intro {
  flex: 1 1 100%; margin-bottom: 24px; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; overflow: hidden; width: 100%; margin-left: auto; margin-right: auto;
}
@media (min-width: 1200px) {
  .courses-home__intro { flex: 0 0 26%; margin: 0; padding-right: 16px; align-items: flex-start; text-align: left; width: auto; }
}
.courses-home__title {
  color: #fff; font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem); line-height: 1.15; margin-bottom: 16px; text-align: center; width: 100%;
}
@media (min-width: 600px) { .courses-home__title { font-size: clamp(3rem, 4vw + 1.5rem, 4rem); } }
@media (min-width: 900px) { .courses-home__title { font-size: clamp(3.5rem, 3.5vw + 2rem, 4.5rem); } }
@media (min-width: 1200px) { .courses-home__title { font-size: clamp(3rem, 2vw + 1.5rem, 3.8rem); line-height: 1.1; text-align: left; width: auto; } }
@media (min-width: 1536px) { .courses-home__title { font-size: clamp(3.2rem, 1.8vw + 1.8rem, 4rem); } }
.courses-home__text {
  color: rgba(255, 255, 255, 0.9); font-size: 1rem; line-height: 1.6; margin-bottom: 24px; font-weight: 300;
  font-style: italic; font-family: var(--font-inter); text-align: center; width: 100%;
}
@media (min-width: 900px) { .courses-home__text { font-size: 1.1rem; } }
@media (min-width: 1200px) { .courses-home__text { font-size: 1rem; text-align: left; width: auto; } }
.glass-btn {
  display: block; padding: 9.6px 28px; border-radius: 16px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1.75;
  text-transform: none; text-decoration: none; text-align: center; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3); transition: all 0.3s ease;
}
.glass-btn:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.courses-home__browse { align-self: center; margin: 0 auto; }
@media (min-width: 1200px) { .courses-home__browse { align-self: flex-start; margin: 0; display: inline-block; } }
.courses-home__carousel { flex: 1 1 100%; width: 100%; min-width: 0; overflow: visible; position: relative; padding-right: 0; margin-right: 0; }
@media (min-width: 1200px) { .courses-home__carousel { flex: 1 1 74%; } }
.courses-home__empty { color: #fff; text-align: center; width: 100%; }

/* ---------- Course carousel (Swiper) ---------- */
.course-carousel { position: relative; width: 100%; }
.course-carousel .swiper { width: 100%; height: 100%; padding-bottom: 4px; }
.course-carousel .swiper-wrapper { align-items: stretch; }
.course-carousel .swiper-slide { height: auto; display: flex; }
.course-carousel__slide { height: 100%; width: 100%; display: flex; flex-direction: column; }
.course-carousel__controls { display: flex; align-items: center; justify-content: space-between; position: relative; margin-top: 16px; padding-top: 8px; width: 100%; flex-wrap: nowrap; overflow: hidden; }
.course-carousel__nav { display: flex; gap: 8px; z-index: 10; flex-shrink: 0; min-width: 96px; }
@media (min-width: 900px) { .course-carousel__nav { min-width: 108px; } }
.glass-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 8px; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-icon-btn .mi { font-size: 1.2rem; }
@media (min-width: 900px) { .glass-icon-btn { width: 50px; height: 50px; } .glass-icon-btn .mi { font-size: 1.4rem; } }
.glass-icon-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.3); transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.glass-icon-btn:active:not(:disabled) { transform: translateY(-1px) scale(1.02); }
.glass-icon-btn:disabled { background: rgba(255, 255, 255, 0.1); opacity: 0.3; cursor: not-allowed; color: rgba(255, 255, 255, 0.5); }
.course-carousel__dots { position: absolute; left: 58%; transform: translateX(-50%); display: flex; gap: 6.4px; align-items: center; z-index: 5; flex-shrink: 0; max-width: 50%; }
@media (min-width: 600px) { .course-carousel__dots { left: 56%; } }
@media (min-width: 900px) { .course-carousel__dots { left: 50%; gap: 8px; } }
.carousel-dot { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, 0.35); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.carousel-dot:hover { background: rgba(255, 255, 255, 0.55); transform: scale(1.1); }
.carousel-dot.is-active { width: 28px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }
.carousel-dot.is-active:hover { background: #fff; }
.course-carousel__spacer { width: 96px; flex-shrink: 0; }
@media (min-width: 900px) { .course-carousel__spacer { width: 108px; } }

/* ---------- Course card ---------- */
.course-card {
  height: 100%; display: flex; flex-direction: column; border-radius: 20px; background: #f5f7fb; box-shadow: none;
  transition: all 0.3s ease; overflow: hidden; border: 1.5px solid #d1d5db; width: 100%; max-width: 350px; margin: 0 auto;
  color: var(--text-primary);
}
@media (min-width: 600px) { .course-card { max-width: none; } }
.course-card:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); border-color: #9ca3af; }
.course-card__media { position: relative; overflow: hidden; height: 160px; }
@media (min-width: 600px) { .course-card__media { height: 180px; } }
.course-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 100%; transition: transform 0.5s ease; }
.course-card__media img:hover { transform: scale(1.05); }
.course-card__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%); pointer-events: none; }
.course-card__discount, .course-card__category {
  position: absolute; top: 12px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 16px;
  font-family: var(--font-base); white-space: nowrap;
}
.course-card__discount { left: 12px; background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); color: #fff; font-weight: 700; font-size: 0.75rem; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4); animation: pulse 2s infinite; }
.course-card__category { right: 12px; background: rgba(255, 255, 255, 0.9); color: #333; font-weight: 600; text-transform: capitalize; font-size: 0.7rem; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.course-card__body { flex-grow: 1; padding: 16px 16px 24px; background: #f5f7fb; display: flex; flex-direction: column; }
.course-card__title {
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.3; color: #1a1a1a; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}
.course-card__details { display: flex; flex-direction: column; flex-grow: 1; margin-bottom: 16px; }
.course-card__details > * + * { margin-top: 8px; }
.course-card__row { display: flex; align-items: center; color: #666; font-size: 0.85rem; line-height: 1.43; }
.course-card__row .mi { font-size: 1rem; color: #666; margin-right: 6.4px; }
.course-card__price { background: #f5f7fb; padding: 12px; border-radius: 16px; border: 1px solid #e6eaf2; position: relative; overflow: hidden; }
.course-card__price::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 2px;
  background: linear-gradient(45deg, #4F46E5, #7C3AED, #4F46E5, #7C3AED); background-size: 400% 400%;
  animation: borderGlow 3s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
  pointer-events: none;
}
@keyframes borderGlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.course-card__price-row { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 0.85rem; line-height: 1.43; color: #666; }
.course-card__price-row--last { margin-bottom: 0; }
.course-card__price-row--orig { font-size: 0.75rem; }
.course-card__price-row--orig s { color: #999; }
.course-card__price-row strong { color: #4F46E5; font-weight: 700; font-size: 0.85rem; }
.course-card__price-row strong.is-discounted { font-size: 0.95rem; }
.course-card__price-row strong.course-card__emi { color: #7C3AED; font-weight: 600; }
.course-card__save {
  display: block; text-align: center; margin-top: 6.4px; padding: 3.2px 6.4px; border-radius: 8px;
  color: #4F46E5; font-weight: 600; font-size: 0.7rem; line-height: 1.66; font-family: var(--font-base);
  background: rgba(79, 70, 229, 0.1);
}
.course-card__btn {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 9.6px 24px; border-radius: 999px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #9333EA 100%); color: #fff; border: none;
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; line-height: 1.75; text-decoration: none; text-transform: none;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); transition: all 0.25s ease;
}
.course-card__btn:hover { background: linear-gradient(135deg, #5B52F0 0%, #8B4FE8 50%, #A044F5 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4); }
.course-card__btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3); }

/* ---------- /courses page grid ---------- */
.courses-page { padding: 64px 0 96px; background: #fff; position: relative; }
.courses-page__head { text-align: center; margin-bottom: 64px; }
.courses-page__title { color: #1a1a1a; font-family: var(--font-serif); font-weight: 700; font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
@media (min-width: 900px) { .courses-page__title { font-size: 3.5rem; } }
@media (min-width: 1200px) { .courses-page__title { font-size: 4rem; } }
.courses-page__text { color: #666; font-family: var(--font-heading); font-weight: 300; font-size: 1.1rem; line-height: 1.6; max-width: 800px; margin: 0 auto 48px; }
@media (min-width: 900px) { .courses-page__text { font-size: 1.3rem; } }
.courses-page__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .courses-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .courses-page__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.courses-page__empty { text-align: center; width: 100%; margin-top: 32px; }

/* 22-workshops.css */
/* =========================================================================
   WorkshopsSection + WorkshopCard, shared section intro / card grid
   ========================================================================= */
.workshops-section { padding: 64px 0 96px; background: #fff; position: relative; }
.section-intro { text-align: center; margin-bottom: 64px; }
.section-intro__title { color: #1a1a1a; font-family: var(--font-serif); font-weight: 700; font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
@media (min-width: 900px) { .section-intro__title { font-size: 3.5rem; } }
@media (min-width: 1200px) { .section-intro__title { font-size: 4rem; } }
.section-intro__text { color: #666; font-family: var(--font-heading); font-weight: 300; font-size: 1.1rem; line-height: 1.6; max-width: 800px; margin: 0 auto; }
@media (min-width: 900px) { .section-intro__text { font-size: 1.3rem; } }

.card-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card-grid--24 { gap: 24px; }
.card-grid--32 { gap: 32px; }
.card-grid__cell { grid-column: span 12; min-width: 0; }
@media (min-width: 600px) { .card-grid__cell { grid-column: span 6; } }
@media (min-width: 900px) { .card-grid__cell { grid-column: span 4; } }
.card-grid__empty { grid-column: 1 / -1; text-align: center; width: 100%; margin-top: 32px; }

.section-cta { margin-top: 64px; display: flex; justify-content: center; align-items: center; }
.section-cta__btn.btn { padding: 12px 32px; border-radius: 16px; font-size: 1rem; transition: all 0.3s ease; }
@media (min-width: 900px) { .section-cta__btn.btn { padding: 16px 48px; font-size: 1.1rem; } }
.section-cta__btn.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }

.workshop-card {
  height: 100%; display: flex; flex-direction: column; border-radius: 24px; background: #f5f7fb; overflow: hidden;
  box-shadow: 6px 6px 16px #d1d5e5, -6px -6px 16px #ffffff; border: 1px solid #eef1f6; transition: all 0.3s ease;
}
.workshop-card:hover { transform: translateY(-2px); box-shadow: 10px 10px 24px #c9cfda, -10px -10px 24px #ffffff; }
.workshop-card__media { position: relative; overflow: hidden; height: 240px; }
.workshop-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.workshop-card__media img:hover { transform: scale(1.05); }
.workshop-card__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%); pointer-events: none; }
.workshop-card__chips { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: row; }
.workshop-card__chips > * + * { margin-left: 8px; }
.workshop-card__chip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 16px; color: #fff; font-family: var(--font-base); font-weight: 600; font-size: 0.75rem; white-space: nowrap; }
.workshop-card__chip--cat { background: rgba(79, 70, 229, 0.9); text-transform: capitalize; }
.workshop-card__chip--mode { background: rgba(124, 58, 237, 0.9); }
.workshop-card__body { padding: 24px; background: #f5f7fb; display: flex; flex-direction: column; flex-grow: 1; }
.workshop-card__title {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: #1a1a1a; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}
.workshop-card__desc {
  color: #666; font-size: 0.9rem; line-height: 1.5; margin-bottom: 24px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}
.workshop-card__details { display: flex; flex-direction: column; flex-grow: 1; margin-bottom: 24px; }
.workshop-card__details > * + * { margin-top: 12px; }
.workshop-card__row { display: flex; align-items: center; color: #666; font-size: 0.9rem; line-height: 1.43; }
.workshop-card__row .mi { margin-right: 8px; }
.mi--sm { font-size: 1.25rem; }
.workshop-card__btn {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 24px; border-radius: 999px;
  background: #f5f7fb; color: #4F46E5; border: none; text-decoration: none; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; line-height: 1.75;
  box-shadow: 6px 6px 12px #d1d5e5, -6px -6px 12px #ffffff; transition: all 0.25s ease;
}
.workshop-card__btn:hover { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79,70,229,0.35); }
.workshop-card__btn:active { box-shadow: inset 4px 4px 8px #d1d5e5, inset -4px -4px 8px #ffffff; transform: translateY(0); }

/* 23-master-studentworks-articles.css */
/* =========================================================================
   MasterPhotographySection, StudentWorkSection (+ gallery & ContentDialog),
   ArticleSection + ArticleCard
   ========================================================================= */

/* ---------- Master photography accordion ---------- */
.master-photo { padding: 96px 0; background: #f0f2f5; position: relative; overflow: hidden; }
.master-photo__subtitle { max-width: 600px; }
.master-photo__empty { text-align: center; padding: 64px 0; color: var(--text-secondary); }
.master-photo__frame { width: 100%; max-width: 1400px; height: 50vh; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); margin: 0 auto; border-radius: 16px; }
@media (min-width: 900px) { .master-photo__frame { height: 60vh; } }
.master-photo__track { display: flex; height: 100%; position: relative; width: 100%; transition: transform 0.6s ease; }
@media (min-width: 900px) { .master-photo__track { transition: none; transform: none !important; } }
.master-photo__slide {
  flex: 0 0 100%; position: relative; cursor: pointer; background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; filter: grayscale(0); min-height: 260px;
}
@media (min-width: 900px) {
  .master-photo__slide { flex: 1; filter: grayscale(1); min-height: auto; }
  .master-photo__slide.is-active { flex: 2.5; filter: grayscale(0); }
}
.master-photo__slide:hover { filter: grayscale(0); transform: scale(1.02); }
.master-photo__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 80%); z-index: 1; }
.master-photo__num {
  font-size: 32px; font-weight: 300; color: rgba(255, 255, 255, 0.6); line-height: 1; position: absolute; bottom: 8px; left: 16px;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2;
}
@media (min-width: 900px) { .master-photo__num { font-size: 64px; bottom: 30px; left: 30px; } }
.master-photo__slide.is-active .master-photo__num { bottom: auto; top: -20px; font-size: 24px; left: 0; }
@media (min-width: 900px) { .master-photo__slide.is-active .master-photo__num { top: -50px; font-size: 48px; } }
.master-photo__content { position: absolute; bottom: 12px; left: 16px; right: 16px; color: #fff; z-index: 2; transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
@media (min-width: 900px) { .master-photo__content { bottom: 30px; left: 30px; right: 30px; } }
.master-photo__slide.is-active .master-photo__content { bottom: 16px; transition-delay: 0.2s; }
@media (min-width: 900px) { .master-photo__slide.is-active .master-photo__content { bottom: 80px; } }
.master-photo__title, .master-photo__text { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); transition-delay: 0s; }
.master-photo__title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: 1.235; margin-bottom: 8px; }
.master-photo__text { font-size: 12px; color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }
@media (min-width: 900px) { .master-photo__title { font-size: 28px; } .master-photo__text { font-size: 16px; } }
.master-photo__slide.is-active .master-photo__title { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.master-photo__slide.is-active .master-photo__text { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.master-photo__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; z-index: 4; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 0; font-family: var(--font-body);
}
@media (min-width: 900px) { .master-photo__arrow { width: 50px; height: 50px; font-size: 20px; } }
.master-photo__arrow:hover { background: rgba(255, 255, 255, 0.2); }
.master-photo__arrow--prev { left: 20px; }
.master-photo__arrow--next { right: 20px; }

/* ---------- Student works section + gallery ---------- */
.student-work-section { padding: 48px 16px 16px; background: #fff; position: relative; overflow: hidden; }
@media (min-width: 600px) { .student-work-section { padding: 64px 24px 24px; } }
@media (min-width: 900px) { .student-work-section { padding: 80px 32px 32px; } }
.student-work-section__inner { position: relative; }
.student-work-section__subtitle { max-width: 700px; }
.sw-gallery { margin: 32px 0; padding: 0; }
.sw-gallery--all { margin: 64px 0; }
.sw-tabs { display: flex; flex-direction: row; justify-content: center; align-items: center; margin-bottom: 64px; }
.sw-tabs > * + * { margin-left: 24px; }
.sw-tab {
  display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: pointer;
  border-radius: 50px; padding: 16px 48px; font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; line-height: 1.75; text-transform: none;
  background: #f5f7fb; color: #333; border: 1px solid #e5e7eb; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sw-tab .mi { margin-right: 8px; margin-left: -4px; }
.sw-tab::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.5s; }
.sw-tab:hover { background: #eef1f6; transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3); }
.sw-tab:hover::before { left: 100%; }
.sw-tab:active { transform: translateY(-1px) scale(1.02); }
.sw-tab.is-active { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border: none; box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4); }
.sw-tab.is-active:hover { background: linear-gradient(135deg, #7c8ef0 0%, #8a5fb8 100%); box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3); }
.sw-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-auto-rows: minmax(180px, auto); grid-auto-flow: row dense; margin-top: 32px; }
@media (max-width: 768px) { .sw-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; } }
.sw-item {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box; text-align: left;
  background-size: cover; background-position: center; box-shadow: -2px 2px 10px 0px rgba(68, 68, 68, 0.4);
  transition: transform 0.3s ease-in-out; cursor: pointer; border: 0; padding: 0; margin: 0; font: inherit; text-decoration: none; min-height: 180px;
}
.sw-item--large { grid-row-end: span 2; }
.sw-item::after { content: ""; position: absolute; inset: 0; background-color: black; opacity: 0.3; transition: opacity 0.3s ease-in-out; }
.sw-item:hover { transform: scale(1.05); }
.sw-item:hover::after { opacity: 0; }
.sw-item__caption { position: relative; z-index: 1; display: block; padding: 15px; background: #fff; text-transform: lowercase; color: #828282; }
.sw-item__title {
  font-family: var(--font-body); font-size: 0.9rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}
.sw-item__badge { position: absolute; top: 15px; left: 15px; z-index: 2; background: rgba(79, 70, 229, 0.95); color: #fff; border-radius: 4px; padding: 4px 8px; font-size: 0.65rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; }
.sw-item__type { position: absolute; top: 15px; right: 15px; z-index: 2; background: rgba(255, 255, 255, 0.9); border-radius: 50%; padding: 8px; display: flex; align-items: center; justify-content: center; }

.gradient-cta {
  display: inline-block; padding: 12px 24px; border-radius: 16px; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.75; text-transform: none; color: #fff;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3); transition: all 0.3s ease;
}
.gradient-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(79, 70, 229, 0.4); background: linear-gradient(135deg, #5B52F0 0%, #8B5CF6 100%); color: #fff; }
.gradient-cta--lg { padding: 16px 48px; font-size: 1.1rem; }
.sw-more { display: block; width: max-content; max-width: 100%; margin: 40px auto 0; }

/* ---------- Content dialog (photo / video preview) ---------- */
.content-dialog { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; }
.content-dialog__backdrop { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.5); animation: fadeIn 0.225s ease; }
.content-dialog__paper {
  position: relative; z-index: 1; background-color: var(--bg-paper); border-radius: 0; overflow: hidden;
  width: 100%; height: 100vh; margin: 0; display: flex; flex-direction: column; box-shadow: none; animation: fadeIn 0.225s ease;
}
@media (min-width: 600px) {
  .content-dialog__paper { width: calc(100% - 64px); max-width: 1200px; height: 90vh; margin: 16px; border-radius: 16px; flex-direction: row; box-shadow: 0 12px 24px rgba(0,0,0,0.2); }
}
.content-dialog__close {
  position: absolute; top: 8px; right: 8px; z-index: 10; display: inline-flex; padding: 8px; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background-color: rgba(0, 0, 0, 0.5); transition: background-color 0.15s;
}
.content-dialog__close:hover { background-color: rgba(0, 0, 0, 0.7); }
@media (min-width: 600px) {
  .content-dialog__close { color: var(--text-primary); background-color: transparent; }
  .content-dialog__close:hover { background-color: rgba(0, 0, 0, 0.1); }
}
.content-dialog__media { width: 100%; height: 60%; position: relative; background-color: black; display: flex; justify-content: center; align-items: center; flex: none; }
@media (min-width: 600px) { .content-dialog__media { width: 60%; height: 100%; flex: 1 0 auto; } }
.content-dialog__media > img { width: 100%; height: 100%; object-fit: contain; }
.content-dialog__video { width: 100%; height: 0; padding-bottom: 56.25%; position: relative; }
.content-dialog__video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.content-dialog__nav { position: absolute; top: 50%; transform: translateY(-50%); display: inline-flex; padding: 8px; border: 0; border-radius: 50%; cursor: pointer; background-color: rgba(0, 0, 0, 0.5); color: #fff; }
.content-dialog__nav:hover { background-color: rgba(0, 0, 0, 0.7); }
.content-dialog__nav--prev { left: 16px; }
.content-dialog__nav--next { right: 16px; }
.content-dialog__dots { display: flex; justify-content: center; gap: 8px; position: absolute; bottom: 8px; left: 0; right: 0; }
.content-dialog__dots span { width: 6px; height: 6px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); transition: all 0.3s ease; }
.content-dialog__dots span.is-active { background-color: #fff; }
.content-dialog__info { width: 100%; height: 40%; display: flex; flex-direction: column; overflow: hidden; flex: none; }
@media (min-width: 600px) { .content-dialog__info { width: 40%; height: 100%; flex: 0 0 auto; } }
.content-dialog__author { padding: 16px; display: flex; align-items: center; border-bottom: 1px solid var(--divider); }
.content-dialog__avatar { margin-right: 12px; background-color: var(--primary); }
.content-dialog__author-text { display: flex; flex-direction: column; justify-content: center; flex-grow: 1; overflow: hidden; }
.content-dialog__name { text-transform: none; text-decoration: none; }
.content-dialog__date { color: var(--text-secondary); }
.content-dialog__body { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.content-dialog__body-inner { padding: 16px; word-break: break-word; }
.content-dialog__desc { margin-bottom: 8px; }
.content-dialog__tags { display: flex; flex-wrap: wrap; }
.content-dialog__tags span { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin: 0 4px 4px 0; border-radius: 16px; background-color: rgba(0, 0, 0, 0.7); color: #fff; font-size: 0.6rem; font-family: var(--font-base); font-weight: 500; }
body.modal-open { overflow: hidden; }

/* ---------- Articles ---------- */
.articles-section { padding: 64px 0 16px; background: #fff; position: relative; }
@media (min-width: 600px) { .articles-section { padding-bottom: 24px; } }
@media (min-width: 900px) { .articles-section { padding-bottom: 64px; } }
.articles-section__head { text-align: center; margin-bottom: 64px; }
.articles-section__text { margin-bottom: 48px; }
.articles-section__grid { gap: 15px; }
.articles-section__empty { margin-top: 0; }
.articles-section__cta { text-align: center; margin-top: 64px; }

.article-card {
  width: 100%; height: 100%; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #f5f7fb;
  box-shadow: 6px 6px 16px #d1d5e5, -6px -6px 16px #ffffff; transition: all 0.3s ease; border: 1px solid #eef1f6;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 10px 10px 24px #c9cfda, -10px -10px 24px #ffffff; }
.article-card__media { position: relative; padding-top: 56.25%; }
.article-card__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.article-card__media img:hover { transform: scale(1.05); }
.article-card__chip {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 16px;
  background: rgba(79, 70, 229, 0.9); color: #fff; font-family: var(--font-base); font-weight: 600; font-size: 0.75rem; text-transform: capitalize;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.article-card__body { flex-grow: 1; text-align: left; background: #f5f7fb; padding: 16px; }
.article-card__meta { display: block; margin-bottom: 8px; color: var(--text-secondary); }
.article-card__title {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; line-height: 1.334; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card__desc { color: var(--text-secondary); margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__footer { padding: 24px; background: #f5f7fb; }
.neu-link-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 24px; border-radius: 16px; border: none; text-decoration: none;
  background: #f5f7fb; color: #4F46E5; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.75;
  box-shadow: 6px 6px 12px #d1d5e5, -6px -6px 12px #ffffff; transition: all 0.25s ease;
}
.neu-link-btn:hover { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79,70,229,0.35); }
.neu-link-btn:active { box-shadow: inset 4px 4px 8px #d1d5e5, inset -4px -4px 8px #ffffff; transform: translateY(0); }

/* 24-facilities-testimonials-faq-contact.css */
/* =========================================================================
   FacilitiesSection, TestimonialsSection, FAQSection, SponsorCarouselSection
   ("Associated With"), ContactSection + ContactForm, shared MUI card / field
   ========================================================================= */
.text-secondary { color: var(--text-secondary); }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.divider { border: 0; border-top: 1px solid var(--divider); margin: 0; }

/* ---------- MUI Card (RAPTheme MuiCard override) ---------- */
.mui-card {
  background-color: #fff; color: var(--text-primary); border-radius: 12px; overflow: hidden;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mui-card:hover { transform: translateY(-5px); box-shadow: 0px 12px 24px rgba(74, 104, 226, 0.15); }
.mui-card__content { padding: 16px 16px 24px; }

/* ---------- MUI outlined TextField ---------- */
.mui-field { position: relative; display: flex; flex-direction: column; width: 100%; margin: 16px 0 8px; min-width: 0; }
.mui-field__label {
  position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; transform-origin: top left;
  transform: translate(14px, 16px) scale(1); max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.4375em; color: rgba(0, 0, 0, 0.6);
  transition: color 200ms cubic-bezier(0, 0, 0.2, 1), transform 200ms cubic-bezier(0, 0, 0.2, 1), max-width 200ms cubic-bezier(0, 0, 0.2, 1);
}
.mui-field.is-filled .mui-field__label, .mui-field:focus-within .mui-field__label { transform: translate(14px, -9px) scale(0.75); max-width: calc(133% - 32px); }
.mui-field:focus-within .mui-field__label { color: var(--primary); }
.mui-field.has-error .mui-field__label { color: #d32f2f; }
.mui-field__control { position: relative; display: flex; align-items: center; border-radius: 8px; cursor: text; }
.mui-field__input {
  font-family: var(--font-body); font-size: 0.75rem; line-height: 1.4375em; color: rgba(0, 0, 0, 0.87);
  width: 100%; min-width: 0; padding: 16.5px 14px; border: 0; background: none; margin: 0; outline: 0; box-sizing: content-box; height: 1.4375em;
  -webkit-tap-highlight-color: transparent;
}
.mui-field--multiline .mui-field__control { padding: 16.5px 14px; }
.mui-field--multiline .mui-field__input { padding: 0; height: auto; resize: none; box-sizing: border-box; }
.mui-field__input::placeholder { color: currentColor; opacity: 0.42; }
.mui-field__outline {
  position: absolute; inset: -5px 0 0; margin: 0; padding: 0 8px; pointer-events: none; overflow: hidden; min-width: 0%;
  border: 1px solid rgba(0, 0, 0, 0.23); border-radius: inherit; text-align: left;
}
.mui-field__control:hover .mui-field__outline { border-color: rgba(0, 0, 0, 0.87); }
.mui-field:focus-within .mui-field__outline { border-color: #4A68E2; border-width: 2px; }
.mui-field.has-error .mui-field__outline { border-color: #d32f2f; }
.mui-field__outline legend { float: unset; width: auto; overflow: hidden; display: block; padding: 0; height: 11px; font-size: 0.75em; visibility: hidden; max-width: 0.01px; white-space: nowrap; transition: max-width 50ms cubic-bezier(0, 0, 0.2, 1) 0ms; font-family: var(--font-body); }
.mui-field__outline legend > span { padding-left: 5px; padding-right: 5px; display: inline-block; opacity: 0; visibility: visible; }
.mui-field.is-filled .mui-field__outline legend, .mui-field:focus-within .mui-field__outline legend { max-width: 100%; transition: max-width 100ms cubic-bezier(0, 0, 0.2, 1) 50ms; }
.mui-field__helper { margin: 3px 14px 0; font-family: var(--font-base); font-size: 0.75rem; line-height: 1.66; color: rgba(0, 0, 0, 0.6); }
.mui-field__helper:empty { display: none; }
.mui-field.has-error .mui-field__helper { color: #d32f2f; }
.mui-field.is-disabled .mui-field__input { color: rgba(0, 0, 0, 0.38); }
.mui-field--small .mui-field__input { padding: 8.5px 14px; }
.mui-field--small .mui-field__label { transform: translate(14px, 9px) scale(1); }
.mui-field--small.is-filled .mui-field__label, .mui-field--small:focus-within .mui-field__label { transform: translate(14px, -9px) scale(0.75); }

/* ---------- Facilities ---------- */
.facilities { padding: 16px 0 64px; background: #fff; position: relative; }
@media (min-width: 600px) { .facilities { padding-top: 24px; } }
@media (min-width: 900px) { .facilities { padding-top: 32px; } }
.facilities__subtitle { margin-bottom: 48px; }
.facilities__grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
.facilities__grid--last { margin-bottom: 0; }
@media (min-width: 600px) { .facilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .facilities__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facility-card { height: 100%; display: flex; flex-direction: column; }
.facility-card__content { flex-grow: 1; display: flex; flex-direction: column; align-items: flex-start; }
.facility-card__icon { color: var(--primary); margin-bottom: 16px; display: flex; justify-content: center; align-items: center; }
.pioneer-card { height: 100%; border-radius: 24px; background: var(--bg-paper); }
.pioneer-card:hover { box-shadow: 0px 12px 24px rgba(138, 63, 209, 0.15); }
.pioneer-card__icon { color: var(--secondary); margin-bottom: 16px; display: flex; justify-content: flex-start; align-items: center; }
.experiential { background: var(--gradient); border-radius: 24px; padding: 24px; margin-bottom: 64px; color: #fff; box-shadow: 0px 10px 30px rgba(74, 104, 226, 0.3); }
@media (min-width: 900px) { .experiential { padding: 48px; } }
.experiential__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .experiential__grid { grid-template-columns: 1fr 1fr; } }
.experiential__title { font-weight: 700; }
.experiential__p { margin-bottom: 16px; }
.experiential__btn { margin-top: 16px; }
.experiential__media { border-radius: 16px; overflow: hidden; box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2); height: 250px; }
@media (min-width: 900px) { .experiential__media { height: 300px; } }
.experiential__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.experiential__media img:hover { transform: scale(1.05); }
.pioneering__head { text-align: center; margin-bottom: 48px; }
.pioneering__subtitle { font-size: 1rem; margin-bottom: 32px; }
@media (min-width: 900px) { .pioneering__subtitle { font-size: 1.2rem; } }
.pioneering__quote { text-align: center; margin-top: 48px; }
.pioneering__quote .t-h5 { max-width: 800px; margin: 0 auto; font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 64px 0; position: relative; background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); }
.testimonials--plain { background: none; }
.testimonials__subtitle { max-width: 600px; margin-bottom: 48px; }
.testimonials__empty { text-align: center; padding: 64px 0; }
.testimonials__empty-title { margin-bottom: 16px; }
.testimonials__badge-row { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-bottom: 48px; text-align: center; }
.testimonials__badge-row > * + * { margin-top: 16px; }
@media (min-width: 600px) { .testimonials__badge-row { flex-direction: row; } .testimonials__badge-row > * + * { margin-top: 0; margin-left: 16px; } }
.gmb-chip {
  display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 16px; cursor: pointer; text-decoration: none;
  font-family: var(--font-base); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; color: #fff; background: var(--gradient); border: none; transition: all 0.3s ease;
}
.gmb-chip:hover { background: var(--gradient-hover); transform: translateY(-2px); box-shadow: 0px 4px 8px rgba(74, 104, 226, 0.4); color: #fff; }
.gmb-chip--sm { font-size: 0.875rem; }
.gmb-chip__icon { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #4A68E2; margin-right: 8px; }
.gmb-chip__icon--sm { width: 18px; height: 18px; margin-right: 6px; }
.testimonials__rating { display: flex; gap: 8px; flex-direction: column; align-items: center; }
@media (min-width: 600px) { .testimonials__rating { flex-direction: row; } }
.testimonials__rating-main { display: flex; align-items: center; gap: 8px; }
.testimonials__rating-num { font-weight: 700; color: var(--primary); }
.stars { display: inline-flex; align-items: center; gap: 4px; }
.testimonials__head { margin-bottom: 64px; }
.testimonials__head .section-intro__title { margin-bottom: 24px; }
.testimonials__stage { position: relative; padding: 0; margin: 32px 0; }
@media (min-width: 900px) { .testimonials__stage { padding: 0 48px; } }
.testimonials__nav { display: flex; justify-content: space-between; position: absolute; top: 75%; left: 0; right: 0; transform: translateY(-50%); z-index: 2; padding: 0 8px; pointer-events: none; }
@media (min-width: 600px) { .testimonials__nav { top: 50%; padding: 0 16px; } }
.testimonials__nav-btn {
  pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 50%; cursor: pointer;
  background-color: #fff; color: rgba(0, 0, 0, 0.54); opacity: 0.7; transition: all 0.3s ease;
  box-shadow: 0px 3px 3px -2px rgba(0,0,0,0.2), 0px 3px 4px 0px rgba(0,0,0,0.14), 0px 1px 8px 0px rgba(0,0,0,0.12);
}
@media (min-width: 600px) { .testimonials__nav-btn { width: 48px; height: 48px; } }
.testimonials__stage:hover .testimonials__nav-btn { opacity: 1; }
.testimonials__nav-btn:hover { background-color: var(--primary); color: #fff; transform: scale(1.1); }
.testimonials__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 600px) { .testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .testimonials__grid.is-single { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .testimonials__grid, .testimonials__grid.is-single { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.testimonials__cell { animation: testimonialIn 0.5s ease-out both; }
@keyframes testimonialIn { from { opacity: 0; transform: translateY(50px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.testimonial-card {
  height: 100%; min-height: 400px; display: flex; flex-direction: column; position: relative; border-radius: 32px; overflow: hidden;
  background: #fff; color: var(--text-primary); box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0px 20px 40px rgba(74, 104, 226, 0.2); }
.testimonial-card__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #3B82F6 0%, #1D4ED8 50%, #1E40AF 100%); }
.testimonial-card__quote { position: absolute; top: 20px; right: 20px; color: var(--primary-light); opacity: 0.1; transform: rotate(15deg); }
.testimonial-card__content { padding: 32px 24px 24px; flex-grow: 1; display: flex; justify-content: space-between; flex-direction: column; position: relative; }
.testimonial-card__stars { margin-bottom: 16px; }
.testimonial-card__text { margin-bottom: 16px; font-size: 1rem; line-height: 1.6; position: relative; z-index: 1; font-weight: 400; color: var(--text-primary); }
.testimonial-card__more { margin-bottom: 16px; }
.testimonial-card__more-btn { background: none; border: none; padding: 0; color: var(--primary); cursor: pointer; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; line-height: 1.5; text-decoration: underline; }
.testimonial-card__more-btn:hover { color: var(--primary-dark); text-decoration: none; }
.testimonial-card__author { display: flex; align-items: center; margin-top: auto; }
.testimonial-card__avatar {
  position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid var(--primary); box-shadow: 0 4px 12px rgba(74, 104, 226, 0.2); background-color: var(--primary); color: #fff;
  font-family: var(--font-base); font-size: 1.2rem; font-weight: bold;
}
.testimonial-card__avatar img { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; border-radius: 50%; }
.testimonial-card__who { margin-left: 16px; flex: 1; }
.testimonial-card__name { font-weight: 600; color: var(--text-primary); }
.testimonials__dots { display: flex; justify-content: center; margin-top: 32px; }
.testimonials__dots button { width: 12px; height: 12px; border-radius: 50%; margin: 0 4px; padding: 0; border: 0; background-color: #e0e0e0; cursor: pointer; transition: all 0.3s ease; }
.testimonials__dots button:hover { transform: scale(1.2); background-color: #bdbdbd; }
.testimonials__dots button.is-active { background-color: var(--primary); }
.testimonials__dots button.is-active:hover { background-color: var(--primary-dark); }
.testimonials__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; text-align: center; margin: 48px 0 32px; }
@media (min-width: 600px) { .testimonials__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.testimonials__stat-num { font-weight: 700; color: var(--primary); }
.testimonials__cta { text-align: center; margin-top: 48px; }
.testimonials__cta-title { font-weight: 600; margin-bottom: 16px; }
.testimonials__cta-text { margin-bottom: 24px; }

/* ---------- FAQ ---------- */
.faq-section { padding: 48px 0; background-color: #f8f9fa; position: relative; }
@media (min-width: 900px) { .faq-section { padding: 64px 0; } }
.faq-section__head { text-align: center; margin-bottom: 48px; }
.faq-section__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background-color: var(--primary); border-radius: 50%; margin-bottom: 24px; }
.faq-section__subtitle { max-width: 600px; margin-bottom: 48px; }
.faq-section__list { width: 100%; margin: 0 auto; }
@media (min-width: 900px) { .faq-section__list { width: 66.6667%; } }
.accordion {
  position: relative; background-color: #fff; color: var(--text-primary); margin-bottom: 16px; border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms;
}
.accordion.is-expanded { margin: 0 0 16px 0; box-shadow: 0px 4px 15px rgba(74, 104, 226, 0.1); }
.accordion__summary {
  display: flex; align-items: center; width: 100%; min-height: 48px; padding: 16px 24px; border: 0; cursor: pointer; text-align: left;
  background-color: #fff; border-radius: 8px; transition: min-height 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion.is-expanded .accordion__summary { min-height: 64px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.accordion__content { display: flex; flex-grow: 1; margin: 12px 0; transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.accordion.is-expanded .accordion__content { margin: 20px 0; }
.accordion__title { font-family: var(--font-heading); font-weight: 600; color: var(--text-primary); font-size: 1.1rem; line-height: 1.6; }
.accordion__icon { display: flex; color: rgba(0, 0, 0, 0.54); transform: rotate(0deg); transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.accordion.is-expanded .accordion__icon { transform: rotate(180deg); }
.accordion__details { background-color: #fff; border-radius: 0 0 8px 8px; padding: 16px 24px; }
.accordion__answer { color: var(--text-secondary); line-height: 1.7; font-size: 1rem; }

/* ---------- Associated With ---------- */
.associated { padding: 64px 0; background: #fff; position: relative; overflow: hidden; }
.associated__subtitle { max-width: 600px; margin-bottom: 48px; }
.associated__viewport { position: relative; overflow: hidden; }
.associated__viewport::before, .associated__viewport::after { content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 1; pointer-events: none; }
.associated__viewport::before { left: 0; background: linear-gradient(to right, white, transparent); }
.associated__viewport::after { right: 0; background: linear-gradient(to left, white, transparent); }
.associated__track { display: flex; animation: poweredScroll 20s linear infinite; }
.associated__item {
  flex: 0 0 auto; width: 200px; min-width: 200px; height: 120px; display: flex; align-items: center; justify-content: center; margin: 0 15px; padding: 20px;
  background-color: #f8f9fa; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; border: 1px solid #e9ecef;
}
@media (min-width: 600px) { .associated__item { width: 250px; min-width: 250px; height: 140px; margin: 0 20px; padding: 25px; } }
@media (min-width: 900px) { .associated__item { width: 300px; min-width: 300px; height: 160px; margin: 0 25px; padding: 30px; } }
.associated__item:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); background-color: #fff; }
.associated__item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(20%); transition: filter 0.3s ease; }
.associated__item img:hover { filter: grayscale(0%); }
.associated__note { margin-top: 48px; text-align: center; }
.associated__note p { max-width: 800px; margin: 0 auto; font-size: 0.95rem; line-height: 1.6; }
@media (min-width: 900px) { .associated__note p { font-size: 1rem; } }

/* ---------- Contact ---------- */
.contact-section { padding: 64px 0; background-color: #f7f7f7; position: relative; }
.contact-section::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 50%; background: var(--gradient); z-index: 0; }
.contact-section__inner { position: relative; z-index: 1; }
.contact-section__title { color: #fff; }
.contact-section__subtitle { color: rgba(255, 255, 255, 0.9); max-width: 600px; margin-bottom: 48px; }
.contact-card { margin-top: 48px; border-radius: 32px; box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1); }
.contact-card__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-card__grid { grid-template-columns: 5fr 7fr; } }
.contact-card__info { background: var(--gradient-135); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-card__heading { margin-bottom: 24px; font-weight: 600; }
.contact-card__lead { margin-bottom: 32px; }
.contact-card__list { margin-top: 32px; display: flex; flex-direction: column; }
.contact-card__list > * + * { margin-top: 24px; }
.contact-card__row { display: flex; align-items: center; }
.contact-card__row > .mi { margin-right: 16px; }
.contact-card__row--top { align-items: flex-start; }
.contact-card__row--top > .mi { margin-top: 4px; }
.contact-card__footer { margin-top: 48px; }
.contact-card__join { opacity: 0.9; }
.contact-card__school { margin-top: 8px; font-weight: 600; }
.contact-card__form-inner { padding: 32px; }
.contact-card__form-title { margin-bottom: 24px; font-weight: 500; }
.contact-section__locations-head { text-align: center; margin: 64px 0; }
.contact-section__locations-head .section-intro__title { margin-bottom: 24px; }
.contact-section__locations { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .contact-section__locations { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.location-card { height: 100%; transition: transform 0.3s, box-shadow 0.3s ease; }
.location-card:hover { transform: scale(1.05); }
.location-card__content { padding: 24px; }
.location-card__title { font-weight: 600; margin-bottom: 16px; }
.location-card__divider { margin-bottom: 16px; }
.location-card__address { margin-bottom: 8px; display: flex; align-items: flex-start; }
.location-card__address .mi { margin-right: 8px; margin-top: 2.4px; color: var(--primary); }
.location-card__hours { font-weight: 500; display: flex; align-items: center; }

.contact-form .alert { margin-bottom: 8px; }
.contact-form__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.contact-form__cell { grid-column: span 12; min-width: 0; }
@media (min-width: 900px) { .contact-form__cell--half { grid-column: span 6; } }
.contact-form__actions { display: flex; justify-content: flex-end; }
.btn-lg-icon .mi { font-size: 22px; margin-left: -4px; }
.btn-lg-icon { gap: 8px; }

/* 30-pages-misc.css */
/* =========================================================================
   Misc pages: StudentWorksPage hero, Error404 / error pages
   ========================================================================= */
.bg-white { background-color: #fff; }

.sw-hero { position: relative; height: 92vh; width: 100%; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.sw-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url('/images/students-work.webp'); background-size: cover; background-position: center; filter: brightness(0.5);
}
.sw-hero__inner { display: flex; text-align: center; justify-content: center; align-items: center; height: 100%; }
.sw-hero__stack { display: flex; flex-direction: column; max-width: 700px; justify-content: center; align-items: center; }
.sw-hero__stack > * + * { margin-top: 32px; }
.sw-hero__title { color: #fff; font-weight: 700; font-size: 2.5rem; line-height: 1.5; text-shadow: 0px 2px 4px rgba(0,0,0,0.3); }
@media (min-width: 900px) { .sw-hero__title { font-size: 3rem; } }
.sw-hero__subtitle, .sw-hero__text { color: #fff; text-shadow: 0px 1px 2px rgba(0,0,0,0.3); }

.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70vh; padding: 16px; text-align: center; }
.error-page__box { background: var(--gradient-135); border-radius: 8px; padding: 32px; color: #fff; text-align: center; margin-bottom: 16px; }
.error-page__box .mi { margin-bottom: 16px; }
.error-page__title { font-family: var(--font-heading); font-weight: 500; font-size: 1.5rem; line-height: 1.235; }
.error-page__subtitle { font-family: var(--font-heading); font-weight: 500; font-size: 1rem; line-height: 1.6; }
@media (min-width: 600px) {
  .error-page__title { font-weight: 600; font-size: 2rem; line-height: 1.2; }
  .error-page__subtitle { font-size: 1.25rem; line-height: 1.334; }
}
.error-page__text { margin-bottom: 16px; max-width: 600px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.btn-outline-secondary { color: var(--text-primary); }
.btn-outline-secondary::before { content: ""; position: absolute; inset: 0; border: 2px solid #8A3FD1; pointer-events: none; }
.btn-outline-secondary:hover { background: #8A3FD1; color: #fff; box-shadow: 0px 4px 8px rgba(138, 63, 209, 0.2); transform: translateY(-2px); }
.btn-outline-secondary:hover::before { opacity: 0; }
.btn-plain { color: inherit; }
.btn-plain:hover { background-color: rgba(0, 0, 0, 0.04); }
.btn.btn-sm.btn-gradient, .btn.btn-sm.btn-outline-secondary, .btn.btn-sm.btn-plain { padding: 12px 24px; font-size: 1rem; }

/* 31-about.css */
/* =========================================================================
   AboutPage
   ========================================================================= */
:root { --font-bricolage: "Bricolage Grotesque", sans-serif; }

/* framer-motion equivalents */
.about-anim--down { animation: aboutDown 0.6s ease both; }
.about-anim--up { animation: aboutUp30 0.8s ease 0.3s both; }
.about-anim--up-late { animation: aboutUp20 0.8s ease 0.5s both; }
@keyframes aboutDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes aboutUp30 { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes aboutUp20 { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal[data-reveal="up"] { transform: translateY(20px); transition-duration: 0.8s; }
.reveal[data-reveal="up30"] { transform: translateY(30px); transition-duration: 0.5s; }
.reveal[data-reveal="left"] { transform: translateX(-20px); transition-duration: 0.6s; }
.reveal[data-reveal="left40"] { transform: translateX(-40px); }
.reveal[data-reveal="right40"] { transform: translateX(40px); }
.reveal[data-reveal="zoom"] { transform: scale(0.8); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .about-anim--down, .about-anim--up, .about-anim--up-late { opacity: 1; transform: none; animation: none; transition: none; } }

/* ---------- Hero ---------- */
.about-hero {
  min-height: auto; position: relative; overflow: hidden; padding: 32px 0;
  background: radial-gradient(circle at 50% 0%, #2b1055 0%, #050511 60%, #000000 100%);
}
@media (min-width: 600px) { .about-hero { padding: 48px 0; } }
@media (min-width: 900px) { .about-hero { min-height: 100vh; padding: 96px 0; } }
.about-hero::before, .about-hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.about-hero::before {
  top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; filter: blur(60px);
  background: radial-gradient(circle, rgba(74, 104, 226, 0.2) 0%, rgba(138, 63, 209, 0.15) 40%, transparent 70%);
}
.about-hero::after { top: 30%; right: 20%; width: 300px; height: 300px; filter: blur(40px); background: radial-gradient(circle, rgba(138, 63, 209, 0.15) 0%, transparent 60%); }
@media (min-width: 900px) {
  .about-hero::before { width: 800px; height: 800px; filter: blur(80px); }
  .about-hero::after { width: 600px; height: 600px; filter: blur(60px); }
}
.about-hero__inner { position: relative; z-index: 1; }
.about-hero__stack { display: flex; flex-direction: column; align-items: center; }
.about-hero__stack > * + * { margin-top: 48px; }
@media (min-width: 600px) { .about-hero__stack > * + * { margin-top: 64px; } }
@media (min-width: 900px) { .about-hero__stack > * + * { margin-top: 96px; } }
.about-banner {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 16px; max-width: 90%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
@media (min-width: 900px) { .about-banner { gap: 12px; padding: 12px 24px; max-width: 100%; } }
.about-banner__text { font-family: var(--font-bricolage); color: #fff; font-weight: 500; font-size: 0.75rem; line-height: 1.43; text-align: center; }
@media (min-width: 600px) { .about-banner__text { font-size: 0.85rem; } }
@media (min-width: 900px) { .about-banner__text { font-size: 0.9rem; } }
.about-hero__heading-wrap { position: relative; width: 100%; min-height: 350px; display: flex; align-items: center; justify-content: center; padding: 0 16px; }
@media (min-width: 600px) { .about-hero__heading-wrap { min-height: 400px; padding: 0 24px; } }
@media (min-width: 900px) { .about-hero__heading-wrap { min-height: 500px; padding: 0; } }
.about-bubble { position: absolute; z-index: 2; left: var(--mx); top: var(--my); opacity: 0; transform: scale(0); animation: bubbleFloat 3s ease-in-out var(--delay) infinite; }
@media (min-width: 900px) { .about-bubble { left: var(--dx); top: var(--dy); } }
@keyframes bubbleFloat { 0%, 100% { opacity: 0.6; transform: translateY(0) scale(1); } 50% { opacity: 0.8; transform: translateY(-10px) scale(1.1); } }
.about-bubble__pill { padding: 6px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (min-width: 900px) { .about-bubble__pill { padding: 8px 16px; border-radius: 24px; } }
.about-bubble__pill--accent { background: rgba(138, 63, 209, 0.2); border-color: rgba(138, 63, 209, 0.4); }
.about-bubble__pill span { font-family: var(--font-bricolage); color: #fff; font-weight: 500; font-size: 0.7rem; line-height: 1.43; white-space: nowrap; }
@media (min-width: 600px) { .about-bubble__pill span { font-size: 0.75rem; } }
@media (min-width: 900px) { .about-bubble__pill span { font-size: 0.85rem; } }
.about-hero__heading { position: relative; z-index: 1; text-align: center; max-width: 900px; width: 100%; }
.about-hero__title {
  font-family: var(--font-bricolage); font-weight: 700; color: #fff; font-size: 1.75rem; line-height: 1.3; margin-bottom: 16px; padding: 0 8px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 40px #4A68E240;
}
@media (min-width: 600px) { .about-hero__title { font-size: 2.25rem; margin-bottom: 20px; } }
@media (min-width: 900px) { .about-hero__title { font-size: 3.5rem; line-height: 1.2; margin-bottom: 32px; padding: 0; } }
@media (min-width: 1200px) { .about-hero__title { font-size: 4.5rem; } }
.about-hero__actions-wrap { width: 100%; max-width: 600px; }
.about-hero__actions { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0 16px; }
.about-hero__actions > * + * { margin-top: 16px; }
@media (min-width: 600px) { .about-hero__actions { flex-direction: row; } .about-hero__actions > * + * { margin-top: 0; margin-left: 16px; } }
@media (min-width: 900px) { .about-hero__actions { gap: 16px; padding: 0; } }
.glow-border {
  position: relative; border-radius: 20px; padding: 3px; overflow: hidden;
  background: linear-gradient(90deg, #C026D3, #9333EA, #3B82F6, #06B6D4, #C026D3); background-size: 400% 100%;
  animation: borderGlow 4s ease infinite; box-shadow: 0 0 20px rgba(192, 38, 211, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
}
.glow-border__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; min-width: 180px;
  font-family: var(--font-bricolage); border: none; background: #1e1b4b; color: #fff; padding: 8px 20px; border-radius: 16px;
  font-size: 0.85rem; font-weight: 600; line-height: 1.75; text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
  transition: all 0.3s ease-in-out; cursor: pointer;
}
@media (min-width: 600px) { .glow-border__btn { font-size: 0.9rem; } }
@media (min-width: 900px) { .glow-border__btn { padding: 12px 32px; font-size: 1rem; min-width: auto; } }
.glow-border__btn:hover { background: #312e81; transform: translateY(-2px); box-shadow: 0px 4px 8px rgba(74, 104, 226, 0.4); color: #fff; }
.about-hero__about { position: relative; z-index: 1; width: 90%; margin: 64px auto 0; padding: 0 24px; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 600px) { .about-hero__about { padding: 0 32px; } }
@media (min-width: 900px) { .about-hero__about { margin-top: 96px; padding: 0 48px; } }
.about-hero__about > div { width: 100%; }
.about-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px; border-radius: 16px; background: rgba(30, 30, 40, 0.9); border: 1px solid rgba(255, 255, 255, 0.2); margin-bottom: 32px; }
.about-pill__text { font-family: var(--font-heading); font-weight: 400; color: rgb(245, 245, 245); font-size: 1.1rem; line-height: 1.5; }
@media (min-width: 900px) { .about-pill__text { font-size: 1.25rem; } }
.about-hero__body { font-family: var(--font-heading); font-weight: 400; color: rgb(245, 245, 245); font-size: 1.25rem; line-height: 1.8; margin: 0; }
@media (min-width: 900px) { .about-hero__body { font-size: 40px; line-height: 48px; } }

/* ---------- Activities ---------- */
.about-activities { padding: 38.4px 0; background: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 900px) { .about-activities { padding: 57.6px 0; } }
.about-gradient-title {
  font-family: var(--font-bricolage); font-weight: 700; line-height: 1.167;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.about-activities__title { margin-bottom: 28.8px; font-size: 3rem; text-align: center; z-index: 2; width: 100%; }
.about-activities__intro { text-align: center; margin-bottom: 38.4px; }
.about-activities__heading { font-family: var(--font-heading); font-weight: 600; margin-bottom: 19.2px; font-size: 1.5rem; line-height: 1.235; color: var(--text-primary); }
@media (min-width: 900px) { .about-activities__heading { font-size: 2rem; } }
.about-activities__desc { max-width: 700px; margin: 0 auto; font-family: var(--font-heading); color: #666; font-weight: 300; line-height: 1.6; }
.carousel {
  --size: max(20vw, 20vh); position: relative; width: 100%; height: var(--size);
  perspective: calc(var(--size) * 5.55); transform-style: preserve-3d; opacity: 0; transition: opacity 0.25s linear; margin: 3rem 0;
}
@media (max-width: 900px) { .carousel { --size: max(35vw, 35vh); } }
.carousel.ready { opacity: 1; }
.carousel .slide {
  position: absolute; width: calc(var(--size) * 0.67); height: var(--size); border-radius: 16px; overflow: hidden;
  box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1); background: white; display: flex; flex-direction: column; isolation: isolate;
}
.carousel .slide img { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.carousel .slide-caption {
  min-height: 50px; max-height: 100px; background: white; display: flex; align-items: center; justify-content: center; padding: 10px 12px;
  font-family: var(--font-bricolage); font-size: 13px; font-weight: 600; color: #333; text-align: center; word-wrap: break-word; overflow-wrap: break-word;
  overflow: hidden; line-height: 1.5; flex-shrink: 0; box-sizing: border-box;
}
.about-activities__controls { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; margin: 16px auto 0; padding-top: 8px; width: 100%; max-width: 900px; gap: 16px; }
@media (min-width: 900px) { .about-activities__controls { flex-direction: row; justify-content: space-between; gap: 0; } }
.about-activities__nav { display: flex; gap: 8px; z-index: 10; flex-shrink: 0; order: 1; }
@media (min-width: 900px) { .about-activities__nav { order: 0; } }
.soft-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 8px; cursor: pointer;
  color: #4A68E2; background: rgba(74, 104, 226, 0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 104, 226, 0.3); border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.soft-icon-btn .mi { font-size: 1.2rem; }
@media (min-width: 900px) { .soft-icon-btn { width: 50px; height: 50px; } .soft-icon-btn .mi { font-size: 1.4rem; } }
.soft-icon-btn:hover:not(:disabled) { background: rgba(74, 104, 226, 0.25); transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 24px rgba(74, 104, 226, 0.3); }
.soft-icon-btn:active:not(:disabled) { transform: translateY(-1px) scale(1.02); }
.about-activities__dots { display: flex; gap: 6.4px; align-items: center; justify-content: center; z-index: 5; flex-shrink: 0; order: 0; position: relative; max-width: 100%; }
@media (min-width: 900px) { .about-activities__dots { gap: 8px; position: absolute; left: 50%; transform: translateX(-50%); max-width: 50%; } }
.soft-dot { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(74, 104, 226, 0.35); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.soft-dot:hover { background: rgba(74, 104, 226, 0.55); transform: scale(1.1); }
.soft-dot.is-active { width: 28px; background: #4A68E2; box-shadow: 0 2px 8px rgba(74, 104, 226, 0.3); }
.soft-dot.is-active:hover { background: #5B7AE8; }
.about-activities__spacer { display: none; width: 108px; flex-shrink: 0; }
@media (min-width: 900px) { .about-activities__spacer { display: block; } }

/* ---------- What we teach ---------- */
.about-teach { padding: 24px 0; background: #fff; position: relative; overflow: hidden; min-height: auto; display: flex; align-items: center; }
@media (min-width: 900px) { .about-teach { padding: 48px 0; } }
.about-teach__blobs { position: absolute; z-index: 0; opacity: 0.3; pointer-events: none; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; }
.about-teach__blobs span { width: 300px; height: 300px; border-radius: 50%; filter: blur(60px); flex-shrink: 0; }
.about-teach__inner { position: relative; z-index: 1; width: calc(100% - 60px); }
.about-teach__head { text-align: center; margin-bottom: 32px; }
.about-teach__title { margin-bottom: 12px; font-size: 3rem; }
.about-teach__subtitle { max-width: 700px; margin: 0 auto; }
.about-teach__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 600px) { .about-teach__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .about-teach__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-teach__cell { padding: 15px; min-width: 0; }
.about-teach__motion { height: 100%; }
.glass-card {
  height: 100%; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1); padding: 30px 20px;
  display: flex; flex-flow: column; align-items: center; justify-content: center; text-align: center; transition: all 0.3s ease; color: var(--text-primary);
}
@media (min-width: 900px) { .glass-card { padding: 45px 30px; } }
.glass-card:hover { transform: translateY(-5px); box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15); }
.glass-card__icon { display: flex; justify-content: center; margin-bottom: 15px; }
.glass-card__title { font-family: var(--font-heading); font-weight: 600; margin-bottom: 15px; text-align: center; color: #000; font-size: 1.1rem; line-height: 1.6; }
@media (min-width: 900px) { .glass-card__title { font-size: 1.25rem; } }
.glass-card__text { text-align: center; color: #000; font-size: 14px; line-height: 1.6; margin-bottom: 15px; }

/* ---------- Sony partnership ---------- */
.about-sony { padding: 64px 0; background: #fff; position: relative; overflow: hidden; }
@media (min-width: 900px) { .about-sony { padding: 96px 0; } }
.about-sony__box { background: var(--gradient); border-radius: 24px; padding: 24px; margin-bottom: 64px; color: #fff; box-shadow: 0px 10px 30px rgba(74, 104, 226, 0.3); }
@media (min-width: 900px) { .about-sony__box { padding: 48px; } }
.about-sony__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
@media (min-width: 600px) { .about-sony__head { flex-direction: row; align-items: center; gap: 24px; } }
.about-sony__logo { height: 45px; flex-shrink: 0; }
@media (min-width: 900px) { .about-sony__logo { height: 70px; } }
.about-sony__logo img { height: 100%; width: auto; object-fit: contain; padding: 0 8px; }
.about-sony__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff; line-height: 1.2; overflow-wrap: break-word; width: 100%; }
@media (min-width: 900px) { .about-sony__title { font-size: 2rem; } }
.about-sony__lead { font-weight: 500; margin-bottom: 16px; overflow-wrap: break-word; }
.about-sony__p { margin-bottom: 16px; overflow-wrap: break-word; }
.about-sony__p:last-child { margin-bottom: 0; }
.about-sony__label { font-weight: 600; margin-bottom: 16px; }
.about-sony__benefits { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.about-sony__benefit {
  display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.about-sony__benefit p { color: #fff; overflow-wrap: break-word; }
.about-sony__check { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #5B5BFF; color: #fff; font-weight: bold; font-size: 1.2rem; flex-shrink: 0; }

/* ---------- Evolution ---------- */
.about-evolution { padding: 64px 0; background: #fff; position: relative; overflow: hidden; }
@media (min-width: 900px) { .about-evolution { padding: 96px 0; } }
.about-evolution__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-evolution__grid { grid-template-columns: 5fr 7fr; } }
.about-evolution__grid > * { min-width: 0; }
.about-evolution__media {
  border-radius: 24px; overflow: hidden; box-shadow: 0px 15px 40px rgba(74, 104, 226, 0.2); height: 400px; aspect-ratio: 4/4; max-width: 100%;
  background: linear-gradient(135deg, rgba(74, 104, 226, 0.1), rgba(138, 63, 209, 0.1));
}
@media (min-width: 900px) { .about-evolution__media { height: 520px; } }
.about-evolution__media img { width: 100%; height: 100%; object-fit: cover; padding: 0 8px; display: block; }
.about-evolution__content { padding-left: 0; }
@media (min-width: 900px) { .about-evolution__content { padding-left: 24px; } }
.about-evolution__title { margin-bottom: 24px; font-size: 2rem; }
@media (min-width: 900px) { .about-evolution__title { font-size: 2.8rem; } }
.about-evolution__text { margin-bottom: 24px; font-size: 1rem; line-height: 1.8; }

/* ---------- Refund ---------- */
.about-refund { padding: 64px 0; background: linear-gradient(180deg, #4A68E2 30%, #8A3FD1 90%); position: relative; overflow: hidden; }
@media (min-width: 900px) { .about-refund { padding: 96px 0; } }
.about-refund__inner { position: relative; z-index: 1; }
.about-refund__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-refund__grid { grid-template-columns: 1fr 200px; gap: 48px; } }
.about-refund__title { font-family: var(--font-bricolage); font-weight: 700; margin-bottom: 32px; font-size: 1.75rem; line-height: 1.2; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
@media (min-width: 900px) { .about-refund__title { font-size: 2.5rem; } }
.about-refund__body { display: flex; flex-direction: column; gap: 20px; }
.about-refund__body p { color: rgba(255, 255, 255, 0.95); font-size: 1.05rem; line-height: 1.8; }
.about-refund__badge { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; }
@media (min-width: 900px) { .about-refund__badge { padding: 0; } }
.about-refund__badge img { width: 250px; height: 250px; max-width: none; object-fit: contain; padding: 0 8px; }

/* ---------- Founder quote ---------- */
.about-quote { padding: 64px 0; background: #fff; position: relative; overflow: hidden; }
@media (min-width: 900px) { .about-quote { padding: 96px 0; } }
.about-quote__box { border-radius: 16px; padding: 16px 20px; position: relative; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; }
@media (min-width: 900px) { .about-quote__box { padding: 48px; } }
.about-quote__box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #4A68E2 0%, #8A3FD1 100%); border-radius: 2px 0 0 2px; z-index: 2; }
.about-quote__box::after { content: ""; position: absolute; inset: 0; background: url('/images/Cover-3.webp') center / cover no-repeat; filter: blur(8px); transform: scale(1.1); z-index: 0; }
.about-quote__overlay { position: absolute; inset: 0; background: rgba(245, 245, 245, 0.85); z-index: 1; }
.about-quote__text-wrap { position: relative; z-index: 2; padding-left: 8px; padding-right: 12px; }
@media (min-width: 900px) { .about-quote__text-wrap { padding-left: 64px; padding-right: 32px; } }
.about-quote__text { font-size: 1.3rem; font-weight: 400; color: #1a1a1a; line-height: 1.7; font-family: var(--font-serif); font-style: italic; margin-bottom: 24px; }
@media (min-width: 900px) { .about-quote__text { font-size: 1.8rem; line-height: 1.8; margin-bottom: 32px; } }
.about-quote__author { position: relative; z-index: 2; padding-left: 8px; margin-top: 24px; display: flex; align-items: center; gap: 16px; }
@media (min-width: 900px) { .about-quote__author { padding-left: 64px; margin-top: 32px; gap: 24px; } }
.about-quote__photo { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid #4A68E2; box-shadow: 0px 4px 12px rgba(74, 104, 226, 0.3); position: relative; }
@media (min-width: 900px) { .about-quote__photo { width: 100px; height: 100px; } }
.about-quote__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; margin: 0; padding: 0; }
.about-quote__name {
  font-size: 1.1rem; font-weight: 700; font-family: var(--font-heading); margin-bottom: 4px; color: #4A68E2;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (min-width: 900px) { .about-quote__name { font-size: 1.3rem; } }
.about-quote__role { font-size: 0.9rem; color: #666; font-weight: 400; font-family: var(--font-heading); }
@media (min-width: 900px) { .about-quote__role { font-size: 1rem; } }

/* 32-detail-pages.css */
/* =========================================================================
   Course / workshop detail pages, rich-text content (editorStyles.ts),
   react-material-ui-carousel equivalent, enquiry form
   ========================================================================= */
.paper { background: #fff; color: var(--text-primary); border-radius: 8px; box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12); }

/* ---------- Rich text (RichTextContent / richTextContentSx) ---------- */
.rte-content::after { content: ""; display: table; clear: both; }
.rte-content h1 { font-size: 1.75rem; font-weight: 700; line-height: 1.25; margin: 24px 0 12px; }
.rte-content h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin: 24px 0 10px; }
.rte-content h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.35; margin: 20px 0 8px; }
@media (min-width: 900px) {
  .rte-content h1 { font-size: 2.25rem; }
  .rte-content h2 { font-size: 1.85rem; }
  .rte-content h3 { font-size: 1.5rem; }
}
.rte-content h4 { font-size: 1.2rem; font-weight: 650; line-height: 1.4; margin: 16px 0 8px; }
.rte-content h5 { font-size: 1.1rem; font-weight: 600; line-height: 1.4; margin: 14px 0 6px; }
.rte-content h6 { font-size: 1rem; font-weight: 600; line-height: 1.45; margin: 12px 0 6px; }
.rte-content p { font-size: 1rem; line-height: 1.7; margin: 1em 0 12px; }  /* top: browser default (the old app never reset it) */
.rte-content a { color: var(--primary); text-decoration: underline; }
.rte-content ul, .rte-content ol { padding-left: 28px; margin: 1em 0 12px; }
.rte-content li { margin-bottom: 4px; display: list-item; }
.rte-content ul { list-style-type: disc; }
.rte-content ol { list-style-type: decimal; }
.rte-content ul ul, .rte-content ol ul { list-style-type: circle; }
.rte-content li > ul, .rte-content li > ol { margin-top: 0; }
.rte-content blockquote { border-left: 4px solid var(--primary); padding-left: 16px; margin: 16px 40px 16px 0; color: var(--text-secondary); font-style: italic; }
.rte-content pre { background-color: #111827; color: #f9fafb; padding: 16px; border-radius: 8px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.9rem; margin: 1em 0 16px; }
.rte-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.9em; }
.rte-content :not(pre) > code { background-color: #f5f5f5; padding: 2px 6px; border-radius: 4px; }
.rte-content hr { border: 0; border-top: 1px solid var(--divider); margin: 24px 0; }
.rte-content img, .rte-content .rte-image { max-width: 100%; height: auto; display: inline-block; vertical-align: bottom; border-radius: 8px; margin: 0.5rem 10px 0.5rem 0; }
.rte-content .rte-img-left { float: left; clear: left; max-width: 100%; margin: 0.5rem 1.25rem 1rem 0; }
.rte-content .rte-img-right { float: right; clear: right; max-width: 100%; margin: 0.5rem 0 1rem 1.25rem; }
.rte-content .rte-img-center { float: none; clear: both; display: block; width: fit-content; max-width: 100%; margin: 1rem auto; }
.rte-content .rte-image-row { display: flex; gap: 16px; margin: 16px 0; width: 100%; box-sizing: border-box; }
.rte-content .rte-image-row > img, .rte-content .rte-image-row > div { flex: 1; width: calc(50% - 8px) !important; max-width: 100% !important; height: auto !important; margin: 0 !important; }
@media (max-width: 600px) { .rte-content .rte-image-row { flex-direction: column; } .rte-content .rte-image-row > img, .rte-content .rte-image-row > div { width: 100% !important; } }
.rte-content table, .rte-content .rte-table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin-bottom: 16px; }
.rte-content th, .rte-content td { border: 1px solid var(--divider); padding: 8px; min-width: 80px; vertical-align: top; }
.rte-content th { background-color: #f5f5f5; font-weight: 700; text-align: left; }
.rte-content mark { padding: 0 2px; }

/* ---------- Course detail ---------- */
.course-detail { padding-top: 64px; }
.course-detail__header { padding-bottom: 32px; }
.course-detail__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.course-detail__main { grid-column: span 12; order: 2; min-width: 0; }
.course-detail__side { grid-column: span 12; order: 1; min-width: 0; }
@media (min-width: 900px) { .course-detail__main { grid-column: span 8; order: 1; } .course-detail__side { grid-column: span 4; order: 2; } }
.course-detail__hero { display: none; margin: 16px 0; position: relative; }
@media (min-width: 900px) { .course-detail__hero { display: block; } }
.course-detail__hero img, .course-summary__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease; }
.course-detail__hero img:hover, .course-summary__media img:hover { transform: scale(1.05); }
.course-detail__badge, .course-summary__badge {
  position: absolute; top: 16px; left: 16px; color: #fff; font-weight: 700; background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4); animation: pulse 2s infinite;
}
.course-detail__badge { font-size: 1rem; padding: 8px 16px; border-radius: 16px; }
.course-summary { margin: 16px 0; position: relative; }
.course-summary:hover, .course-detail__hero:hover { transform: translateY(-5px); }
.course-summary__media { display: block; position: relative; }
@media (min-width: 900px) { .course-summary__media { display: none; } }
.course-summary__badge { font-size: 0.9rem; padding: 4px 12px; border-radius: 12px; }
.course-summary__content { padding: 16px; }
.course-summary__title { font-weight: 700; margin-bottom: 32px; }
.course-summary__rows { display: flex; flex-direction: column; margin-bottom: 32px; }
.course-summary__rows > * + * { margin-top: 16px; }
.course-summary__divider { border-bottom: 1px solid var(--divider); margin-left: 4px; margin-right: 4px; }
.course-summary__row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; }
.course-summary__label { display: flex; align-items: center; }
.course-summary__label .mi { margin-right: 8px; }
.course-summary__value { font-weight: 500; text-align: right; }
.course-summary__price { background: #f5f7fb; padding: 16px; border-radius: 16px; border: 1px solid #e6eaf2; margin-top: 16px; position: relative; overflow: hidden; }
.course-summary__price::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 2px;
  background: linear-gradient(45deg, #4F46E5, #7C3AED, #4F46E5, #7C3AED); background-size: 400% 400%; animation: borderGlow 3s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
  pointer-events: none;
}
.course-summary__price-row { display: flex; justify-content: space-between; }
.course-summary__price-row--orig { margin-bottom: 8px; color: var(--text-secondary); font-size: 0.8rem; line-height: 1.43; }
.course-summary__price-row--main span, .course-summary__price-row--emi span { font-weight: 600; }
.course-summary__price-row--main strong { color: var(--primary); font-weight: 700; font-size: 1rem; }
.course-summary__price-row--main strong.is-discounted { color: #4F46E5; font-size: 1.1rem; }
.course-summary__price-row--emi { margin-top: 8px; }
.course-summary__price-row--emi strong { color: var(--secondary); font-weight: 600; }
.course-summary__save { display: block; text-align: center; margin-top: 8px; padding: 4px 8px; border-radius: 8px; color: #4F46E5; font-weight: 600; font-size: 0.75rem; line-height: 1.66; font-family: var(--font-base); background: rgba(79, 70, 229, 0.1); }
.course-summary__cta { display: flex; flex-direction: column; margin-top: 16px; }
.course-summary__cta > * + * { margin-top: 8px; }
@media (min-width: 600px) { .course-summary__cta { flex-direction: row; } .course-summary__cta > * + * { margin-top: 0; margin-left: 8px; } }
.course-summary__btn.btn { width: 100%; border-radius: 8px; font-weight: 600; }
.course-summary__btn .mi { margin-left: -4px; }
.course-summary__btn--nowrap { white-space: nowrap; }

/* Tabs */
.course-tabs__bar { background: var(--gradient); color: #fff; border-radius: 16px; padding: 1.6px 16px; margin-bottom: 24px; }
.course-tabs__list { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.course-tabs__list::-webkit-scrollbar { display: none; }
.course-tabs__tab {
  flex: 0 0 auto; min-width: auto; min-height: 48px; padding: 12px 16px; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; line-height: 1.25; color: #181A2A; text-transform: none;
}
.course-tabs__tab.is-active { color: #fff; }
@media (min-width: 769px) { .course-tabs__list { justify-content: space-between; } .course-tabs__tab { flex: 1; } }
.course-tabs__indicator { position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 16px; background-color: #4A68E2; transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), width 300ms cubic-bezier(0.4, 0, 0.2, 1); width: 0; }
.course-panel { padding: 16px; margin-bottom: 16px; }
.course-panel--tight { padding: 8px; }
.course-panel__title { font-weight: 600; }
.course-panel__split { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .course-panel__split { grid-template-columns: 1fr 1fr; } }
.benefit-list { list-style: none; margin: 0; padding: 8px 0; }
.benefit-list li { display: flex; align-items: center; padding: 0; }
.benefit-list__icon { min-width: 24px; display: inline-flex; flex-shrink: 0; }
.benefit-list li .t-body2 { margin: 4px 0; }
.instructor-list { margin-top: 16px; display: flex; flex-direction: column; }
.instructor-list > * + * { margin-top: 24px; }
.instructor-card { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12); }
.instructor-card__photo { min-width: 80px; min-height: 80px; margin-right: 16px; }
.instructor-card__photo img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; border: 2px solid #eee; display: block; }
.instructor-card__body { flex: 1; }
.instructor-card__name { font-weight: 700; margin-bottom: 4px; }
.instructor-card__role { color: var(--primary); font-weight: 600; }
.instructor-card__bio { margin-top: 8px; }
.course-faq { margin-top: 16px; }
.accordion--compact { margin: 16px 0 0; }
.accordion--compact:first-child { margin-top: 0; }
.accordion--compact.is-expanded { margin: 0 0 16px 0; }
.accordion--compact .accordion__summary { padding: 12px 16px; }
.accordion--compact .accordion__details { padding: 16px; }
.accordion__q { font-weight: 600; color: var(--text-primary); text-align: left; }
.accordion__a { color: var(--text-secondary); line-height: 1.7; }
.course-faq__empty { margin-top: 16px; padding: 24px; text-align: center; }

/* Browse other courses */
.course-browse { padding: 16px; margin-bottom: 16px; }
.course-browse__title { font-weight: 600; }
.course-browse__lead { margin-bottom: 40px; }
.mui-carousel { position: relative; overflow: hidden; }
.mui-carousel__viewport { overflow: hidden; }
.mui-carousel__items { display: flex; transition: transform 0.5s ease; }
.mui-carousel__slide { flex: 0 0 100%; display: flex; gap: 16px; min-height: 1px; }
.mui-carousel__cell { flex: 1; min-width: 0; }
.mui-carousel__nav {
  position: absolute; top: calc(50% - 20px); z-index: 1; display: inline-flex; padding: 8px; margin: 0 10px; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background-color: #494949; opacity: 0; transition: opacity 200ms; font-size: 30px;
}
.mui-carousel:hover .mui-carousel__nav { opacity: 0.6; }
.mui-carousel__nav:hover { opacity: 1 !important; }
.mui-carousel__nav--prev { left: 0; }
.mui-carousel__nav--next { right: 0; }
.mui-carousel__indicators { width: 100%; margin-top: 10px; text-align: center; }
.mui-carousel__dot { width: 15px; height: 15px; padding: 0; margin: 0 2px; border: 0; border-radius: 50%; cursor: pointer; background: #afafaf; transform: scale(0.6); }
.mui-carousel__dot:hover { background: #606060; }
.mui-carousel__dot.is-active { background: #494949; }

/* Enquiry form */
.enquiry-form__title { font-weight: 600; }
.enquiry-form__error { margin: 8px 0 12px; }
.enquiry-form__grid { display: flex; flex-direction: column; gap: 8px; }
.mui-field.mui-field--flush { margin: 0; }
.enquiry-form__actions { display: flex; justify-content: flex-end; }
.alert--filled.alert--success { background-color: #2e7d32; color: #fff; margin-bottom: 12px; font-weight: 500; }
.alert--filled.alert--success .mi { color: #fff; }
.alert__close { margin-left: auto; align-self: center; display: inline-flex; padding: 5px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }

/* 40-slack-pages.css */
/* =========================================================================
   Slack.com-style page system (RAP colours): display type, sections, hero,
   lead card, segmented control, cards, feature list, stats, campuses.
   ========================================================================= */
.display { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
.accent { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cap { text-transform: capitalize; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--brand-2); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.2); }

.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section--tint { background: linear-gradient(180deg, var(--tint) 0%, #faf9ff 100%); }
.section__head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
@media (min-width: 1024px) { .section__head { margin-bottom: 56px; } }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; }
.section__head--row .section__lead { margin-left: 0; }
.section__title { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.section__title--sm { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.section__lead { margin: 16px auto 0; max-width: 680px; font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); }
.section__more { margin-top: 40px; text-align: center; }

/* ---------- Hero ---------- */
.hero2 { position: relative; overflow: hidden; padding: 40px 0 56px; }
@media (min-width: 1024px) { .hero2 { padding: 72px 0 88px; } }
.hero2__glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(40% 50% at 8% 90%, rgba(138, 63, 209, 0.14), transparent 70%),
  radial-gradient(40% 60% at 95% 5%, rgba(74, 104, 226, 0.14), transparent 70%); }
.hero2__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero2__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.hero2__title { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.hero2__lead { margin: 24px 0 0; font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 620px; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 599px) { .hero2__actions .sbtn { width: 100%; } }
.hero2__proof { display: flex; flex-wrap: wrap; gap: 16px 32px; list-style: none; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.hero2__proof li { display: flex; flex-direction: column; }
.hero2__proof strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.hero2__proof span { font-size: 0.875rem; color: var(--ink-3); }

/* ---------- Lead card ---------- */
.leadcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; box-shadow: 0 24px 64px rgba(36, 18, 85, 0.14); }
@media (min-width: 600px) { .leadcard { padding: 32px; } }
.leadcard__kicker { margin: 0 0 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-2); }
.leadcard__title { margin: 0 0 20px; font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
.leadcard__form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfccdd; border-radius: 8px; background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--font-text); transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(74, 104, 226, 0.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d32f2f; }
.field__error { font-size: 0.8125rem; color: #c62828; min-height: 0; }
.field__error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand-2); flex-shrink: 0; }
.leadcard__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 0; font-size: 0.8125rem; color: var(--ink-3); }
.leadcard__error { margin: 0; }
.leadcard__done { text-align: center; padding: 16px 0; }
.leadcard__check { color: #2e7d32; display: inline-flex; margin-bottom: 8px; }
.leadcard__done h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.375rem; color: var(--ink); }
.leadcard__done p { margin: 0 0 20px; color: var(--ink-2); }

/* ---------- Showreel "app window" ---------- */
.reel { padding: 0 0 24px; }
.appwindow { max-width: 1000px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: var(--brand-deep); box-shadow: 0 30px 80px rgba(36, 18, 85, 0.3); }
.appwindow__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: linear-gradient(90deg, #2c1766, #3b1a7a); }
.appwindow__bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.appwindow__bar span:nth-child(2) { background: #febc2e; }
.appwindow__bar span:nth-child(3) { background: #28c840; }
.appwindow__bar p { margin: 0 auto; padding-right: 52px; color: rgba(255, 255, 255, 0.7); font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appwindow__screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.appwindow__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.appwindow__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.appwindow__play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s; }
.appwindow__play:hover img { opacity: 1; }
.appwindow__playicon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; padding: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--brand-2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 0.2s; }
.appwindow__play:hover .appwindow__playicon { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Logo strip ---------- */
.logos { padding: 40px 0 8px; }
.logos__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 900px) { .logos__inner { flex-direction: row; gap: 32px; } }
.logos__label { margin: 0; flex-shrink: 0; font-size: 0.875rem; color: var(--ink-3); }
.logos__track { position: relative; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__run { display: flex; align-items: center; gap: 48px; width: max-content; animation: poweredScroll 30s linear infinite; }
.logos__track:hover .logos__run, .logos__track.is-dragging .logos__run { animation-play-state: paused; }
.logos__run img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
.logos__run img:hover { filter: none; opacity: 1; }
@keyframes poweredScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Segmented control (Slack "Knowledge · People · Process") ---------- */
.segments { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(36, 18, 85, 0.08); overflow-x: auto; scrollbar-width: none; }
.segments::-webkit-scrollbar { display: none; }
.segments__btn { flex-shrink: 0; padding: 10px 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 0.9375rem/1 var(--font-text); cursor: pointer; transition: background 0.2s, color 0.2s; }
.segments__btn:hover { color: var(--brand-2); }
.segments__btn.is-active { background: var(--tint); color: var(--brand-2); box-shadow: inset 0 0 0 1px rgba(138, 63, 209, 0.25); }

/* ---------- Card grids ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cards__cell { min-width: 0; display: flex; }
.cards__cell[hidden] { display: none; }
.scard { display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.scard:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(27, 21, 48, 0.08), 0 18px 40px rgba(36, 18, 85, 0.12); }
.scard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.scard__media--article { aspect-ratio: 4 / 3; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.scard:hover .scard__media img { transform: scale(1.04); }
.scard__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.scard__badge--free { background: #2bb673; }
.scard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.scard__label { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-2); }
.scard__title { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.scard__title--article { font-size: 1.125rem; }
.scard__title a { color: var(--ink); text-decoration: none; }
.scard__title a:hover { color: var(--brand-2); }
.scard__meta { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; color: var(--ink-2); }
.scard__meta li { display: flex; align-items: center; gap: 8px; }
.scard__meta .mi { color: var(--brand); flex-shrink: 0; }
.scard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.scard__price strong { font-family: var(--font-display); font-size: 1.375rem; color: var(--ink); }
.scard__price s { color: var(--ink-3); font-size: 0.9375rem; }
.scard__emi { margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: var(--brand-2); background: var(--tint); padding: 3px 8px; border-radius: 999px; }
.scard__more { margin-top: auto; }

/* ---------- Feature list (Slack accent-rule list) ---------- */
.feature { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .feature { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.feature__list { display: flex; flex-direction: column; gap: 4px; }
.feature__item { display: block; width: 100%; text-align: left; padding: 14px 0 14px 20px; border: 0; border-left: 3px solid var(--line); background: none; cursor: pointer; font: inherit; transition: border-color 0.2s; }
.feature__item:hover { border-left-color: rgba(138, 63, 209, 0.5); }
.feature__name { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.feature__text { display: none; margin-top: 8px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.feature__item.is-active { border-left-color: var(--brand-2); }
.feature__item.is-active .feature__name { color: var(--brand-2); }
.feature__item.is-active .feature__text { display: block; }
.feature__media { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(36, 18, 85, 0.18); aspect-ratio: 4 / 3; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature__stat { position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; max-width: 240px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.feature__stat strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-2); line-height: 1.1; }
.feature__stat span { font-size: 0.875rem; color: var(--ink-2); }
.statsrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 64px; }
@media (min-width: 1024px) { .statsrow { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 88px; } }
.statsrow div { display: flex; flex-direction: column; gap: 6px; }
.statsrow strong { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--brand-deep); }
.statsrow span { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Campuses & areas ---------- */
.campus { display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.campus__map { aspect-ratio: 16 / 9; background: var(--tint); }
.campus__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.campus__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.campus__name { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.campus__body p { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }
.campus__body p .mi { color: var(--brand); margin-top: 2px; }
.campus__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; }
.campus__actions .sbtn { flex: 1; }
.areas { margin-top: 40px; text-align: center; }
.areas__label { margin: 0 0 14px; color: var(--ink-2); }
.areas__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip2 { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: border-color 0.2s, color 0.2s; }
.chip2:hover { border-color: var(--brand-2); color: var(--brand-2); }
.chip2--more { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.chip2--more:hover { color: #fff; background: var(--brand-2); border-color: var(--brand-2); }

/* ---------- Restyle shared legacy sections to the new system ---------- */
.testimonials { background: #fff; padding: 72px 0; }
@media (min-width: 1024px) { .testimonials { padding: 112px 0; } }
.testimonials .section-intro__title, .faq-section .section-intro__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.08; }
.testimonial-card { border-radius: var(--radius-card); box-shadow: var(--shadow-card); min-height: 360px; }
.testimonial-card__bar { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.gmb-chip { border-radius: 999px; }
.faq-section { background: var(--tint); }
.faq-section__icon { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.accordion { border-radius: 12px !important; box-shadow: 0 1px 2px rgba(27, 21, 48, 0.06); border: 1px solid var(--line); }
.accordion__title, .accordion__q { font-family: var(--font-display); font-weight: 600; }
.sw-tab { border-radius: 999px; font-family: var(--font-text); font-size: 1rem; padding: 12px 28px; }
.sw-tab.is-active { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.sw-more { border-radius: var(--radius-btn); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9375rem; padding: 16px 28px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.sw-item { border-radius: 12px; overflow: hidden; }
.master-photo__frame { border-radius: 16px; }
@media (max-width: 599px) { .sw-tabs > * + * { margin-left: 8px; } .sw-tab { padding: 10px 16px; font-size: 0.875rem; } }

/* ---------- Hero with the live site's looping background video ---------- */
.hero3 { position: relative; isolation: isolate; overflow: hidden; background: #0d0a1c; color: #fff; min-height: calc(100vh - 108px); display: flex; align-items: center; padding: 56px 0; }
@media (min-width: 1024px) { .hero3 { min-height: calc(100vh - 124px); padding: 72px 0; } }
.hero3__video { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero3__player, .hero3__video iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%) scale(1.3); border: 0; }
/* (scaled so YouTube's title bar and controls fall outside the visible area) */
.hero3__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 10, 28, 0.82) 0%, rgba(13, 10, 28, 0.55) 55%, rgba(13, 10, 28, 0.35) 100%); }
@media (max-width: 1023px) { .hero3__shade { background: linear-gradient(180deg, rgba(13, 10, 28, 0.55) 0%, rgba(13, 10, 28, 0.8) 100%); } }
.hero3__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; width: 100%; }
@media (min-width: 1024px) { .hero3__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.hero3__title { color: #fff; font-size: clamp(2.375rem, 5.4vw, 4.25rem); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
.hero3__lead { margin: 24px 0 0; max-width: 620px; font-size: 1.1875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.hero3__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 599px) { .hero3__actions .sbtn { width: 100%; } }
.hero3__proof { display: flex; flex-wrap: wrap; gap: 16px 32px; list-style: none; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.hero3__proof li { display: flex; flex-direction: column; }
.hero3__proof strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.hero3__proof span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }
.eyebrow--dark { background: rgba(255, 255, 255, 0.12); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* Poster (HD video frame) shows until the video is really playing — no black flash or YouTube UI */
.hero3__video { background: #0d0a1c var(--poster) center / cover no-repeat; }
.hero3__video iframe { opacity: 0; transition: opacity 0.8s ease; }
.hero3.is-playing .hero3__video iframe { opacity: 1; }

/* 50-mobile.css */
/* =========================================================================
   Mobile polish (checked at 320 / 360 / 375 / 390 / 414 / 768 px)
   ========================================================================= */
html, body { overflow-x: clip; }
@media (max-width: 1023px) {
  .site-header__inner { gap: 10px; height: 60px; }
  .site-header__logo { min-width: 0; flex-shrink: 1; }
  .site-header__logo img { height: auto; max-height: 34px; width: auto; max-width: 100%; }
  .site-header__actions { gap: 6px; flex-shrink: 0; }
  .site-header__cta { min-height: 38px; padding: 0 12px; font-size: 0.75rem; letter-spacing: 0.04em; }
  .site-header__burger { padding: 4px; }
}
@media (max-width: 359px) {
  .site-header__cta { display: none; }   /* the bottom bar already has "Enquire" */
}
.topbar__close { min-width: 40px; min-height: 40px; justify-content: center; align-items: center; }
@media (max-width: 599px) {
  .topbar { font-size: 0.8125rem; }
  .topbar__inner { padding-left: 16px; padding-right: 8px; gap: 4px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .leadcard { padding: 22px 18px; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 28px; }
  .section__lead { font-size: 1.0625rem; }
  .segments { margin-bottom: 28px; }
  .statsrow { margin-top: 48px; gap: 28px 16px; }
  .sw-tabs { flex-wrap: wrap; gap: 8px; }
  .sw-tabs > * + * { margin-left: 0; }
  .feature__media { aspect-ratio: 4 / 3.2; }
  .ctaband { padding: 56px 0 96px; }
  .testimonials__badge-row { gap: 12px; }
  .accordion__summary { padding: 14px 16px; }
  .accordion__details { padding: 12px 16px 16px; }
}
.sw-item__badge { font-size: 0.6875rem; }
/* Tablet: 2 columns for content-heavy grids */
@media (min-width: 600px) and (max-width: 1023px) {
}
@media (max-width: 599px) {
  .contact-card__grid > * { min-width: 0; }
  .contact-card__info { padding: 24px 18px; }
  .contact-card__form-inner { padding: 24px 16px; }
  .contact-card__row p { overflow-wrap: anywhere; }
}

/* 60-vs-theme.css */
/* =========================================================================
   Clean light theme modelled on visualstudio.microsoft.com, in RAP colours:
   white header with regular-weight menu, Segoe UI type, soft ribbon hero,
   near-black semibold headings, flat violet buttons, pale-blue alternate
   sections, hairline cards. Loaded last so it overrides earlier files.
   (Dropdowns / the Courses mega-menu keep their existing look.)
   ========================================================================= */
:root {
  --font-text: 'Segoe UI', 'Segoe UI Web (West European)', 'Open Sans', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  --font-display: var(--font-text);
  --font-base: var(--font-text);
  --font-heading: var(--font-text);
  --font-body: var(--font-text);
  --font-serif: var(--font-text);
  --font-inter: var(--font-text);

  --ink: #161616;            /* headings & body (VS uses near-black) */
  --ink-2: #3b3b3b;          /* secondary text */
  --ink-3: #616161;          /* muted text */
  --text-primary: var(--ink);
  --text-secondary: var(--ink-2);
  --vs-btn: #5b2ba6;         /* deep RAP violet (VS "Get free download" tone) */
  --vs-btn-hover: #46207f;
  --vs-link: #5b2ba6;
  --tint: #f2f6fc;           /* VS pale blue section background */
  --tint-2: #f7f5fd;
  --line: #e1e1e1;
  --divider: var(--line);
  --radius-card: 8px;
  --radius-btn: 4px;
  --shadow-card: 0 1.6px 3.6px rgba(0, 0, 0, 0.11), 0 0.3px 0.9px rgba(0, 0, 0, 0.09);
  color-scheme: light;
}
html, body { background: #fff; color: var(--ink); font-family: var(--font-text); -webkit-font-smoothing: antialiased; }
a { color: var(--vs-link); }
::selection { background: rgba(91, 43, 166, 0.2); }
:focus-visible { outline: 2px solid var(--vs-btn); outline-offset: 2px; }

/* ---------- Top strip: quiet, light ---------- */
.topbar { background: #f5f3fb; color: var(--ink-2); border-bottom: 1px solid #ebe7f5; font-size: 0.875rem; }
.topbar__inner { min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.topbar__text strong { font-weight: 600; color: var(--ink); }
.topbar__link { color: var(--vs-link); font-weight: 600; }
.topbar__link:hover { color: var(--vs-btn-hover); }
.topbar__close { color: var(--ink-2); }
.topbar__close:hover { background: rgba(0, 0, 0, 0.06); }

/* ---------- Header (white, slim, regular-weight menu) ---------- */
.site-header { background: #fff; border-bottom: 1px solid #e6e6e6; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
@media (min-width: 1024px) {
  .site-header__inner { height: 64px; gap: 20px; }
  .site-header__logo img { height: 36px; }
  .mainnav__link { height: 64px; }
}
.site-header__logo { padding-right: 18px; margin-right: 2px; border-right: 1px solid #c8c8c8; }
@media (max-width: 1023px) { .site-header__logo { border-right: 0; padding-right: 0; } }
.mainnav__link { color: #262626; font-family: var(--font-text); font-size: 0.9375rem; font-weight: 400; padding: 0 10px; }
.mainnav__link:hover, .mainnav__link.is-active { color: #000; }
.mainnav__link::after { bottom: 16px; left: 10px; right: 10px; height: 2px; background: #262626; }
.mainnav__chev { color: #616161; }
.site-header__signin { color: #262626; font-weight: 400; font-size: 0.9375rem; }
.site-header__signin:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }
/* VS's outlined "Free Visual Studio" box */
.site-header__demo.sbtn--outline { min-height: 34px; padding: 0 10px; border: 1px solid #262626; border-radius: 2px; background: #fff; color: #262626; font-size: 0.9375rem; font-weight: 400; }
.site-header__demo.sbtn--outline:hover { background: #f5f5f5; color: #000; box-shadow: none; }
@media (min-width: 1180px) { .site-header__demo { display: inline-flex; } }
@media (min-width: 1024px) { .site-header__cta { min-height: 36px; padding: 0 16px; font-size: 0.9375rem; } }
.site-header__burger, .mobilemenu__close { color: var(--ink); }
.megamenu--small { background: #fff; }

/* Mobile menu */
.mobilemenu { background: #fff; }
.mobilemenu__link, .mobilemenu__group > summary { color: var(--ink); font-weight: 400; }
.mobilemenu__group li a { color: var(--ink-2); }

/* ---------- Buttons (flat, 4px radius) ---------- */
.sbtn { border-radius: var(--radius-btn); font-family: var(--font-text); font-weight: 600; letter-spacing: 0; text-transform: none; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.sbtn--solid { background: var(--vs-btn); color: #fff; box-shadow: none; }
.sbtn--solid:hover { background: var(--vs-btn-hover); color: #fff; box-shadow: none; transform: none; }
.sbtn--outline { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.sbtn--outline:hover { background: #f5f5f5; color: #000; box-shadow: none; }
.sbtn--white { color: var(--vs-btn); }
.textlink, .vslink { color: var(--vs-link); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.textlink:hover, .vslink:hover { color: var(--vs-btn-hover); text-decoration-thickness: 2px; }
.btn-gradient { background: var(--vs-btn); }
.btn-gradient:hover { background: var(--vs-btn-hover); }

/* ---------- Type & sections ---------- */
.display { font-family: var(--font-text); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.accent { background: none; -webkit-text-fill-color: currentColor; color: inherit; }   /* VS headings are plain */
.section__title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.section__title--sm { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.section__head { text-align: left; margin-left: 0; max-width: 900px; }
.section__lead { margin-left: 0; font-size: 1.125rem; color: var(--ink-2); }
.section__more { text-align: left; }
.section--tint { background: var(--tint); border: 0; }
.eyebrow { background: none; padding: 0; color: var(--ink-3); font-weight: 600; }
h1, h2, h3, h4, h5, h6, .t-h1, .t-h2, .t-h3, .t-h4, .t-h5, .t-h6 { font-family: var(--font-text); }

/* Hero: see 65-photo-theme.css */

/* Enquiry band below hero */
.vsenquire__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .vsenquire__grid { grid-template-columns: 1fr 460px; gap: 80px; } }
.vsenquire .section__head, .vsenquire .section__lead { text-align: left; margin-left: 0; }
.vsproof { display: flex; flex-wrap: wrap; gap: 20px 40px; list-style: none; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid #d6dbe6; }
.vsproof li { display: flex; flex-direction: column; }
.vsproof strong { font-size: 1.75rem; font-weight: 600; line-height: 1.15; color: var(--ink); }
.vsproof span { font-size: 0.9375rem; color: var(--ink-3); }

/* ---------- Lead card & form fields ---------- */
.leadcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6.4px 14.4px rgba(0, 0, 0, 0.13), 0 1.2px 3.6px rgba(0, 0, 0, 0.11); }
.leadcard__kicker { color: var(--vs-btn); }
.leadcard__title { font-family: var(--font-text); font-weight: 600; color: var(--ink); }
.field__label { font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { border: 1px solid #8a8a8a; border-radius: 4px; font-family: var(--font-text); color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--vs-btn); box-shadow: 0 0 0 1px var(--vs-btn); }

/* ---------- Cards & components ---------- */
.scard, .campus { border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); background: #fff; }
.scard:hover { transform: none; box-shadow: 0 6.4px 14.4px rgba(0, 0, 0, 0.13), 0 1.2px 3.6px rgba(0, 0, 0, 0.11); }
.scard:hover .scard__media img { transform: scale(1.02); }
.scard__badge { background: var(--vs-btn); border-radius: 2px; font-weight: 600; }
.scard__label { color: var(--vs-btn); font-weight: 600; }
.scard__title { font-family: var(--font-text); font-weight: 600; letter-spacing: 0; }
.scard__title a:hover { color: var(--vs-btn); text-decoration: underline; }
.scard__meta .mi { color: var(--ink-3); }
.scard__price strong { font-family: var(--font-text); font-weight: 600; }
.scard__emi { background: #f1ecfa; color: var(--vs-btn); border-radius: 2px; }

/* Segmented filter → VS-style underline tabs */
.segments { margin: 0 0 36px; padding: 0; gap: 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; width: auto; }
.segments__btn { padding: 12px 6px; margin-right: 18px; border-radius: 0; font-weight: 400; color: var(--ink-2); border-bottom: 2px solid transparent; }
.segments__btn:hover { color: #000; background: none; }
.segments__btn.is-active { background: none; color: #000; font-weight: 600; box-shadow: none; border-bottom-color: var(--vs-btn); }
.chip2 { border-radius: 4px; }

.logos { padding: 36px 0; border-bottom: 1px solid #ededed; }
.logos__label { color: var(--ink-3); }

.feature__item { border-left-width: 2px; }
.feature__name { font-family: var(--font-text); font-weight: 600; }
.feature__item.is-active { border-left-color: var(--vs-btn); }
.feature__item.is-active .feature__name { color: var(--ink); }
.feature__media { border-radius: 8px; box-shadow: 0 25.6px 57.6px rgba(0, 0, 0, 0.14), 0 4.8px 14.4px rgba(0, 0, 0, 0.12); }
.feature__stat { border-radius: 6px; }
.feature__stat strong { font-family: var(--font-text); color: var(--vs-btn); }
.statsrow strong { font-family: var(--font-text); font-weight: 600; color: var(--ink); background: none; -webkit-text-fill-color: currentColor; }

/* Legacy components used on inner pages */
.section-intro__title, .courses-page__title, .lead-section__title, .about-activities__heading { font-family: var(--font-text); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.testimonial-card, .accordion, .paper, .mui-card, .workshop-card, .article-card, .course-card, .instructor-card { border-radius: 8px; box-shadow: var(--shadow-card); }
.accordion { border: 1px solid var(--line); }
.faq-section { background: var(--tint); }
.sw-tab { border-radius: 4px; font-weight: 400; }

/* ---------- CTA band & footer ---------- */
.ctaband { color: var(--ink); background: linear-gradient(100deg, #f6f5fb 0%, #ebe6f8 45%, #d9cff4 100%); padding: 80px 0; text-align: left; }
.ctaband::before { background: radial-gradient(50% 90% at 100% 50%, rgba(138, 63, 209, 0.25), transparent 70%), radial-gradient(40% 80% at 80% 100%, rgba(74, 104, 226, 0.22), transparent 70%); }
.ctaband::after { display: none; }
.ctaband__inner { max-width: calc(var(--wrap) + 80px); }
.ctaband__title { font-family: var(--font-text); font-weight: 600; color: #111; max-width: 760px; }
.ctaband__text { color: #242424; margin-left: 0; }
.ctaband__actions { justify-content: flex-start; }
.ctaband .sbtn--white { background: var(--vs-btn); color: #fff; }
.ctaband .sbtn--white:hover { background: var(--vs-btn-hover); box-shadow: none; }
.ctaband .sbtn--ghost-white { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.ctaband .sbtn--ghost-white:hover { background: rgba(255, 255, 255, 0.6); }

.sitefoot { background: #f2f2f2; color: #616161; font-size: 0.875rem; }
.sitefoot__top, .sitefoot__main { border-color: #dcdcdc; }
.sitefoot__region { color: #262626; font-weight: 400; }
.sitefoot__brand img { height: 36px; }
.sitefoot__col h3 { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #262626; }
.sitefoot__col a, .sitefoot__legal a { color: #616161; }
.sitefoot__col a:hover, .sitefoot__legal a:hover { color: #262626; }
.sitefoot__social a { color: #262626; }
.sitefoot__social a:hover { background: #e6e6e6; color: #000; }
.sitefoot__credit a { color: var(--vs-btn); }
.mobilebar { background: rgba(255, 255, 255, 0.96); border-top: 1px solid #e1e1e1; }

@media (max-width: 599px) {
  .ctaband { padding: 56px 0 96px; }
  .ctaband__actions .sbtn { width: 100%; }
  .segments__btn { margin-right: 8px; }
}

/* ---------- Legacy sections brought in line ---------- */
.textlink { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.textlink .mi { display: none; }
.section-intro__title { font-weight: 600 !important; letter-spacing: -0.02em; }
.testimonial-card__bar { background: var(--vs-btn); height: 2px; }
.testimonial-card__quote { color: var(--ink-3); opacity: 0.12; }
.testimonial-card__more-btn { color: var(--vs-link); font-weight: 600; }
.testimonials__stat-num, .testimonials__rating-num { color: var(--ink) !important; font-weight: 600; background: none !important; -webkit-text-fill-color: currentColor !important; }
.testimonials__nav-btn { border-radius: 4px; }
.gmb-chip { background: #fff !important; color: var(--ink) !important; border: 1px solid var(--ink); border-radius: 4px !important; box-shadow: none !important; font-weight: 600; }
.gmb-chip:hover { background: #f5f5f5 !important; }
.faq-section__icon { display: none; }
.faq-section__head { text-align: left; }
.faq-section__head .section-intro__title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.faq-section__subtitle { margin-left: 0; }
.accordion__title { font-weight: 600; }
/* Student-work tabs: same underline tabs as the course filter */
.sw-tabs { justify-content: flex-start; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.sw-tabs > * + * { margin-left: 0; }
.sw-tab, .sw-tab.is-active { background: none !important; color: var(--ink-2) !important; box-shadow: none !important; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 6px; margin-right: 20px; }
.sw-tab.is-active { color: #000 !important; font-weight: 600; border-bottom-color: var(--vs-btn); }
.gradient-cta { background: var(--vs-btn) !important; border-radius: 4px !important; box-shadow: none !important; }
.gradient-cta:hover { background: var(--vs-btn-hover) !important; }
.chip2--more { background: var(--vs-btn); }
.faq-section__list { margin-left: 0; }
@media (min-width: 900px) { .faq-section__list { width: 75%; } }

/* ---------- Mobile drawer: slides in from the left ---------- */
@media (max-width: 1023px) {
  .site-header__burger { order: -1; margin: 0 2px 0 -6px; }
}
.mobilemenu { inset: 0 auto 0 0; width: min(86vw, 360px); animation: none; border-right: 1px solid var(--line);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.18); transform: translateX(-100%); transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mobilemenu.is-open { transform: none; }
.mobilemenu__top { height: 60px; padding: 0 12px 0 20px; }
.mobilemenu__top .site-header__logo img { height: 30px; width: auto; }
.mobilemenu__link, .mobilemenu__group > summary { font-size: 1.0625rem; }
.mobilemenu-backdrop { position: fixed; inset: 0; z-index: 1299; display: block; width: 100%; border: 0; padding: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.26s ease; cursor: pointer; }
.mobilemenu-backdrop.is-open { opacity: 1; }
.mobilemenu-backdrop[hidden], .mobilemenu[hidden] { display: none; }
@media (min-width: 1024px) { .mobilemenu, .mobilemenu-backdrop { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mobilemenu, .mobilemenu-backdrop { transition: none; } }
/* footer links: comfortable tap height */
.sitefoot__col a { display: inline-block; padding: 4px 0; }

/* ---------- Mobile bottom bar ---------- */
.mobilebar__item--primary, .mobilebar__item--primary:hover { background: var(--vs-btn); color: #fff; border-radius: 6px; }

/* ---------- Course page tabs: white bar, underline indicator ---------- */
.course-tabs__bar { background: #fff; color: var(--ink); border-radius: 0; padding: 0; border-bottom: 1px solid var(--line); }
.course-tabs__tab { font-family: var(--font-text); font-size: 0.9375rem; font-weight: 400; color: var(--ink-2); }
.course-tabs__tab:hover { color: #000; }
.course-tabs__tab.is-active { color: #000; font-weight: 600; }
.course-tabs__indicator { background-color: var(--vs-btn); height: 2px; border-radius: 0; }
.course-summary__title { font-family: var(--font-text); font-weight: 600; }

/* ---------- About hero: light ribbon background like the home hero ---------- */
:root { --font-bricolage: var(--font-text); }
.about-hero { background:
  radial-gradient(60% 80% at 100% 30%, rgba(138, 63, 209, 0.32), transparent 70%),
  radial-gradient(50% 70% at 0% 100%, rgba(74, 104, 226, 0.22), transparent 70%),
  linear-gradient(100deg, #f6f5fb 0%, #efedf9 45%, #e0d8f5 100%); }
.about-hero::before, .about-hero::after { opacity: 0.5; }
.about-hero__title { color: #111; font-weight: 600; letter-spacing: -0.025em; text-shadow: none; }
.about-hero__body, .about-pill__text, .about-banner__text, .about-bubble__pill span { color: #242424; }
.about-pill, .about-bubble__pill { background: rgba(255, 255, 255, 0.7); border-color: rgba(0, 0, 0, 0.1); }
.about-bubble__pill--accent { background: rgba(138, 63, 209, 0.12); border-color: rgba(138, 63, 209, 0.3); }
.glow-border__btn { background: var(--vs-btn); border-radius: 4px; }
.glow-border__btn:hover { background: var(--vs-btn-hover); }

/* 65-photo-theme.css */
/* =====================================================================
   Photo theme — "golden hour" palette (warm light → magenta → violet,
   like a lens flare / light leak) and the full-bleed cinematic hero.
   ===================================================================== */
:root {
  --gh-amber: #FFB547;
  --gh-coral: #FF5E7E;
  --gh-violet: #9B5CFF;
  --gh-blue: #4F7BFF;
  --gh-night: #0a0812;
  /* bright gradient for fills on dark or as thin accents */
  --grad-lens: linear-gradient(100deg, #FF9A3C 0%, #FF4F7B 42%, #8B5CF6 78%, #4F7BFF 100%);
  /* deeper version for text on white (keeps contrast ≥ 3:1 for large headings) */
  --grad-lens-ink: linear-gradient(100deg, #E8590C 0%, #D6336C 45%, #7C3AED 90%);
  /* buttons: violet → magenta, white text */
  --grad-btn: linear-gradient(100deg, #6D28D9 0%, #A21CAF 50%, #DB2777 100%);
}

/* Heading highlights ("real careers.", "students." …) */
.accent {
  background: var(--grad-lens-ink); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #7C3AED;
}

/* Primary buttons site-wide */
.sbtn--solid {
  background: var(--grad-btn); background-size: 160% 100%; background-position: 0% 50%; color: #fff; border: 0;
  transition: background-position 0.45s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.sbtn--solid:hover {
  background: var(--grad-btn); background-size: 160% 100%; background-position: 100% 50%; color: #fff;
  box-shadow: 0 8px 22px -8px rgba(162, 28, 175, 0.55);
}
.mobilebar__item--primary, .mobilebar__item--primary:hover { background: var(--grad-btn); }

/* ---------------------------------------------------------------- Hero */
.vshero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(560px, calc(100svh - 102px), 880px); padding: 96px 0;
  background: var(--gh-night); color: #fff;
}

/* Video fills the hero like CSS `cover` */
.vshero__video {
  position: absolute; inset: 0; z-index: -3; overflow: hidden; container-type: size;
  background: var(--gh-night) var(--poster) center / cover no-repeat;
}
/* 16% oversized + 180px letterbox above/below so YouTube's title bar and controls stay out of view */
.vshero__player, .vshero__video iframe {
  --w: calc(max(100cqw, 177.78cqh) * 1.16);
  position: absolute; top: 50%; left: 50%; width: var(--w); height: calc(var(--w) * 0.5625 + 360px);
  transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: 0; transition: opacity 1s ease;
}
.vshero.is-playing .vshero__video iframe { opacity: 1; transition-delay: 2.5s; }

/* Cinematic grade: dark side for the text, warm light leak top-right, violet glow bottom, vignette */
.vshero__grade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 55% at 92% 8%, rgba(255, 154, 60, 0.38), transparent 70%),
    radial-gradient(45% 60% at 100% 100%, rgba(139, 92, 246, 0.45), transparent 70%),
    radial-gradient(35% 45% at 58% 108%, rgba(255, 79, 123, 0.32), transparent 70%),
    radial-gradient(ellipse 120% 90% at 60% 45%, transparent 55%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(90deg, rgba(10, 8, 18, 0.9) 0%, rgba(10, 8, 18, 0.72) 32%, rgba(10, 8, 18, 0.25) 62%, rgba(10, 8, 18, 0.15) 100%);
}
/* teal-and-orange film look */
.vshero__grade::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: soft-light;
  background: linear-gradient(135deg, rgba(0, 150, 170, 0.28) 0%, rgba(255, 130, 60, 0.38) 100%);
}
/* film grain */
.vshero__grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: vsgrain 0.9s steps(4) infinite;
}
@keyframes vsgrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* Viewfinder overlay */
.vf { position: absolute; inset: 28px; z-index: 0; pointer-events: none; color: rgba(255, 255, 255, 0.85);
  font: 600 0.75rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.12em; }
.vf__corner { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(255, 255, 255, 0.7); }
.vf__corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf__corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf__corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf__corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf__rec { position: absolute; top: 14px; left: 50px; display: flex; align-items: center; gap: 8px; }
.vf__rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; animation: vfblink 1.2s steps(1) infinite; }
.vf__rec b { font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.vf__fmt { position: absolute; top: 14px; right: 50px; padding: 4px 7px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 3px; }
.vf__focus { position: absolute; top: 46%; left: 72%; width: 76px; height: 56px; transform: translate(-50%, -50%);
  background:
    linear-gradient(#ffd166, #ffd166) top left / 14px 2px, linear-gradient(#ffd166, #ffd166) top left / 2px 14px,
    linear-gradient(#ffd166, #ffd166) top right / 14px 2px, linear-gradient(#ffd166, #ffd166) top right / 2px 14px,
    linear-gradient(#ffd166, #ffd166) bottom left / 14px 2px, linear-gradient(#ffd166, #ffd166) bottom left / 2px 14px,
    linear-gradient(#ffd166, #ffd166) bottom right / 14px 2px, linear-gradient(#ffd166, #ffd166) bottom right / 2px 14px;
  background-repeat: no-repeat; opacity: 0.9; animation: vffocus 4s ease-in-out infinite; }
.vf__exif { position: absolute; bottom: 14px; left: 50px; display: flex; gap: 18px; color: rgba(255, 255, 255, 0.75); }
@keyframes vfblink { 50% { opacity: 0; } }
@keyframes vffocus { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 8% { transform: translate(-50%, -50%) scale(1.18); } 16% { transform: translate(-50%, -50%) scale(1); } }

/* Copy */
.vshero__inner { position: relative; z-index: 1; width: 100%; }
.vshero__copy { max-width: 680px; }
.vshero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.vshero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gh-amber); box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.7); animation: vspulse 2s infinite; }
@keyframes vspulse { 70% { box-shadow: 0 0 0 10px rgba(255, 181, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0); } }

.vshero__title {
  margin: 0; font-family: var(--font-text); font-weight: 700; font-size: clamp(2.75rem, 6.2vw, 5.25rem);
  line-height: 1.03; letter-spacing: -0.035em;
  background: linear-gradient(168deg, #FFF7EE 6%, #FFE0B8 24%, #FFB547 42%, #FF7A6B 58%, #F0569E 72%, #A98BFF 90%);
  background-size: 100% 130%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #fff;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
  animation: vsglow 9s ease-in-out infinite alternate;
}
.vshero__title span { display: block; }
@keyframes vsglow { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }
.vshero__lead { margin: 24px 0 0; max-width: 560px; font-size: 1.1875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }

.vshero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.vshero__actions .sbtn { min-height: 52px; padding: 0 26px; font-size: 1.0625rem; border-radius: 999px; }
.vshero .sbtn--solid {
  background: linear-gradient(100deg, #FF9A3C 0%, #FF4F7B 50%, #8B5CF6 100%); background-size: 160% 100%;
  box-shadow: 0 12px 32px -10px rgba(255, 79, 123, 0.7);
}
.vshero .sbtn--solid:hover { background: linear-gradient(100deg, #FF9A3C 0%, #FF4F7B 50%, #8B5CF6 100%); background-size: 160% 100%; background-position: 100% 50%; box-shadow: 0 16px 40px -10px rgba(139, 92, 246, 0.8); }
.vshero__ghost { display: inline-flex; align-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-decoration: none; }
.vshero__ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.16); border-color: #fff; }

/* Tablet / phone: text sits at the bottom over a darker grade, camera overlay simplified */
@media (max-width: 1023px) {
  .vshero { align-items: flex-end; min-height: clamp(560px, calc(100svh - 130px), 760px); padding: 120px 0 56px; }
  .vshero__grade {
    background:
      radial-gradient(60% 40% at 100% 0%, rgba(255, 154, 60, 0.35), transparent 70%),
      radial-gradient(70% 40% at 100% 100%, rgba(139, 92, 246, 0.4), transparent 70%),
      linear-gradient(0deg, rgba(10, 8, 18, 0.94) 0%, rgba(10, 8, 18, 0.7) 45%, rgba(10, 8, 18, 0.25) 75%, rgba(10, 8, 18, 0.45) 100%);
  }
  .vf { inset: 16px; }
  .vf__focus, .vf__exif { display: none; }
  .vf__corner { width: 24px; height: 24px; }
  .vf__rec { top: 10px; left: 36px; }
  .vf__fmt { top: 8px; right: 36px; }
}
@media (max-width: 599px) {
  .vshero__eyebrow { font-size: 0.75rem; margin-bottom: 18px; }
  .vshero__title { font-size: clamp(2.4rem, 11.5vw, 3rem); }
  .vshero__lead { font-size: 1.0625rem; }
  .vshero__actions .sbtn { width: 100%; justify-content: center; }
  .vshero { padding-bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .vshero__grain, .vf__rec i, .vf__focus, .vshero__dot, .vshero__title { animation: none; }
}

/* 66-pages.css */
/* =====================================================================
   Inner pages — cinematic page header, detail layouts (course, workshop,
   article, story), legal, areas, contact, plus theme overrides for the
   older shared components so every page matches the home page.
   ===================================================================== */

/* ---------------------------------------------------------------- Page hero */
.phero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 480px; padding: 120px 0 72px; background: var(--gh-night); color: #fff;
}
.phero--lg { min-height: clamp(540px, 74svh, 760px); }
.phero--sm { min-height: 340px; padding: 104px 0 56px; }
.phero__bg {
  position: absolute; inset: 0; z-index: -3; background-position: center; background-size: cover; background-repeat: no-repeat;
  transform: scale(1.06); animation: phzoom 26s ease-in-out infinite alternate;
}
@keyframes phzoom { to { transform: scale(1.15) translate(-1.5%, -1%); } }
.phero .phero__grade {
  background:
    radial-gradient(38% 60% at 95% 0%, rgba(255, 154, 60, 0.34), transparent 70%),
    radial-gradient(45% 70% at 100% 100%, rgba(139, 92, 246, 0.42), transparent 70%),
    linear-gradient(0deg, rgba(10, 8, 18, 0.88) 0%, rgba(10, 8, 18, 0.2) 60%),
    linear-gradient(90deg, rgba(10, 8, 18, 0.9) 0%, rgba(10, 8, 18, 0.72) 42%, rgba(10, 8, 18, 0.35) 78%, rgba(10, 8, 18, 0.3) 100%);
}
.phero__vf { inset: 22px; }
.phero__inner { position: relative; z-index: 1; }
.phero__eyebrow { margin-bottom: 18px; }
.phero__title {
  margin: 0; max-width: 20ch; font-family: var(--font-text); font-weight: 700; font-size: clamp(2.25rem, 4.8vw, 4rem);
  line-height: 1.06; letter-spacing: -0.032em;
  background: linear-gradient(168deg, #FFF7EE 6%, #FFE0B8 26%, #FFB547 46%, #FF7A6B 64%, #F0569E 80%, #A98BFF 96%);
  background-size: 100% 130%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.35)); animation: vsglow 9s ease-in-out infinite alternate;
}
.phero__title--long { max-width: 30ch; font-size: clamp(1.875rem, 3.4vw, 3rem); line-height: 1.12; }
.phero__lead { margin: 18px 0 0; max-width: 660px; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.phero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.phero__chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.phero__chips svg { color: var(--gh-amber); flex: none; }
.phero__actions { margin-top: 30px; }
.phero .sbtn--solid { background: linear-gradient(100deg, #FF9A3C 0%, #FF4F7B 50%, #8B5CF6 100%); background-size: 160% 100%; box-shadow: 0 12px 32px -10px rgba(255, 79, 123, 0.7); }
.phero .sbtn--solid:hover { background: linear-gradient(100deg, #FF9A3C 0%, #FF4F7B 50%, #8B5CF6 100%); background-size: 160% 100%; background-position: 100% 50%; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.crumbs li + li::before { content: "/"; opacity: 0.5; }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { display: inline-block; max-width: 42ch; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #FFD29A; }

@media (max-width: 1023px) {
  .phero { padding: 104px 0 56px; min-height: 420px; }
  .phero .phero__grade {
    background:
      radial-gradient(60% 40% at 100% 0%, rgba(255, 154, 60, 0.32), transparent 70%),
      radial-gradient(70% 40% at 100% 100%, rgba(139, 92, 246, 0.38), transparent 70%),
      linear-gradient(0deg, rgba(10, 8, 18, 0.95) 0%, rgba(10, 8, 18, 0.72) 50%, rgba(10, 8, 18, 0.45) 100%);
  }
  .phero__vf { inset: 14px; }
}
@media (max-width: 599px) {
  .phero, .phero--sm, .phero--lg { min-height: 0; padding: 88px 0 44px; }
  .phero__title { font-size: clamp(2rem, 9vw, 2.5rem); }
  .phero__title--long { font-size: clamp(1.625rem, 7.2vw, 2rem); }
  .phero__lead { font-size: 1rem; }
  .phero__chips { gap: 8px; }
  .phero__chips li { font-size: 0.8125rem; padding: 6px 12px; }
  .phero__actions .sbtn { width: 100%; justify-content: center; }
  .crumbs [aria-current] { max-width: 24ch; }
}

/* ---------------------------------------------------------------- Shared detail layout */
.dsection { padding-top: 64px; }
.dlayout { display: grid; gap: 40px; }
.dlayout__main { min-width: 0; }
.dlayout__side > * + * { margin-top: 24px; }
@media (min-width: 1024px) {
  .dsection { padding-top: 80px; }
  .dlayout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
  .dlayout__side { position: sticky; top: 92px; }
}
.dfigure { margin: 0 0 44px; overflow: hidden; border-radius: 16px; background: #111; box-shadow: 0 28px 60px -32px rgba(36, 18, 85, 0.5); }
.dfigure img { display: block; width: 100%; height: auto; }
.dblock { margin: 0 0 48px; }
.dblock__title { margin: 0 0 20px; font-family: var(--font-text); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.dblock__title--sm { font-size: 1.25rem; margin-bottom: 10px; }
.dblock--note { padding: 24px 28px; border-radius: 16px; background: linear-gradient(120deg, #fff7ed 0%, #fdf2f8 55%, #f5f3ff 100%); border: 1px solid #f3e8ff; }
.dblock--note p { margin: 0; line-height: 1.65; color: var(--ink-2); }

.prose { font-size: 1.0625rem; line-height: 1.75; color: #2b2b2b; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 1.8em 0 0.6em; font-size: 1.625rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.3rem; line-height: 1.3; color: var(--ink); }
.prose h4 { margin: 1.4em 0 0.4em; font-size: 1.1rem; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin: 0.35em 0; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose a { color: var(--vs-link); text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid #D6336C; color: var(--ink-2); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--line); text-align: left; }
.prose--article { max-width: 760px; font-size: 1.125rem; }
.prose--article > *:first-child { margin-top: 0; }

.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); line-height: 1.5; color: var(--ink-2); }
.checklist svg { flex: none; margin-top: 1px; color: #7C3AED; }
.checklist--star svg { color: #E8590C; }

.dcard { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(36, 18, 85, 0.4); }
.dcard__kicker { margin: 0 0 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--grad-lens-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dcard__title { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.3; }
.dcard__full { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 46px; margin-top: 18px; border-radius: 999px; }
.dcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.dcard__actions .sbtn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: 999px; }
.dstatus { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: #f1f1f4; color: var(--ink-2); }
.dstatus--live { background: linear-gradient(100deg, rgba(255, 154, 60, 0.16), rgba(139, 92, 246, 0.16)); color: #7C3AED; }

.facts { margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 26px auto 1fr; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0eff4; font-size: 0.9375rem; }
.facts li:last-child { border-bottom: 0; }
.facts__icon { display: flex; color: #7C3AED; }
.facts__label { color: var(--ink-3); }
.facts__value { font-weight: 600; text-align: right; color: var(--ink); }

.minilist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.minilist a { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; color: var(--ink); font-size: 0.9rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.minilist img { width: 88px; height: 56px; object-fit: cover; border-radius: 8px; }
.minilist a:hover span { color: #7C3AED; }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.tagrow li { padding: 6px 12px; border-radius: 999px; background: var(--tint-2); color: #5b2ba6; font-size: 0.8125rem; font-weight: 600; }
.sharerow { display: flex; align-items: center; gap: 10px; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sharerow > span { margin-right: auto; font-weight: 600; }
.sharerow a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.sharerow a:hover { background: var(--grad-btn); color: #fff; border-color: transparent; }
.authorbox { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 16px; background: var(--tint-2); }
.authorbox img { flex: none; border-radius: 50%; background: #fff; object-fit: contain; padding: 6px; }
.authorbox__name { margin: 0; font-weight: 700; }
.authorbox__bio { margin: 4px 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-3); }
.empty-note { padding: 28px; border-radius: 16px; background: var(--tint-2); text-align: center; color: var(--ink-2); }

/* ---------------------------------------------------------------- Photo story */
.story-intro { display: grid; gap: 36px; }
@media (min-width: 1024px) { .story-intro { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; } }
.story-intro__lead { margin: 0 0 1em; font-size: 1.25rem; line-height: 1.65; color: var(--ink); }
.story-intro__text p { line-height: 1.75; color: #2b2b2b; }
.story-facts {
  display: grid; gap: 14px; margin: 0; padding: 26px; border-radius: 16px; color: #fff;
  background: radial-gradient(60% 50% at 100% 0%, rgba(255, 154, 60, 0.3), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgba(139, 92, 246, 0.4), transparent 70%), var(--gh-night);
}
.story-facts div { padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.story-facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.story-facts dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gh-amber); }
.story-facts dd { margin: 4px 0 0; font-weight: 600; line-height: 1.4; }

.story-frames { padding: 80px 0; background: var(--gh-night); color: #fff; }
.frame { display: grid; gap: 24px; align-items: center; max-width: 1280px; margin: 0 auto 80px; padding: 0 20px; }
.frame:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .frame { padding: 0 40px; } }
@media (min-width: 1024px) {
  .frame { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 56px; }
  .frame--alt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
  .frame--alt .frame__img { order: 2; }
  .frame:not(:has(.frame__cap)) { grid-template-columns: 1fr; }
}
.frame__img { display: block; overflow: hidden; border-radius: 6px; background: #000; box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.9); }
.frame__img img { display: block; width: 100%; height: auto; max-height: 86vh; object-fit: contain; transition: transform 0.8s var(--card-hover-ease, ease); }
@media (hover: hover) { .frame__img:hover img { transform: scale(1.025); } }
.frame__num { font: 600 0.8rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.22em; color: var(--gh-amber); }
.frame__title {
  margin: 10px 0 12px; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -0.02em;
  background: linear-gradient(120deg, #FFF7EE, #FFB547 45%, #FF7A9A 75%, #B79BFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.frame__cap p { margin: 0; line-height: 1.75; color: rgba(255, 255, 255, 0.75); }
.story-outro { max-width: 820px; }
.story-outro p { font-size: 1.125rem; line-height: 1.8; color: #2b2b2b; }
.story-outro__by { font-style: italic; color: var(--ink-3) !important; }
.storygrid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .storygrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .storygrid { grid-template-columns: repeat(3, 1fr); } }
.storygrid .sw-item { min-height: 280px; text-decoration: none; }

/* ---------------------------------------------------------------- Legal */
.legal-toc { display: none; }
@media (min-width: 1024px) {
  .dlayout--legal { grid-template-columns: 260px minmax(0, 1fr); }
  .legal-toc { display: block; }
}
.legal-toc__title { margin: 0 0 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.legal-toc a { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 0.9rem; line-height: 1.4; color: var(--ink-3); text-decoration: none; }
.legal-toc a:hover { color: #7C3AED; border-left-color: #7C3AED; }
.prose--legal { max-width: 820px; }
.prose--legal h2 { scroll-margin-top: 100px; }
.prose--legal > h2:first-child { margin-top: 0; }
.legal-contact { margin-top: 40px; padding: 20px 24px; border-radius: 12px; background: var(--tint-2); }

/* ---------------------------------------------------------------- Areas */
.regionnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.regions { display: grid; gap: 24px; }
@media (min-width: 900px) { .regions { grid-template-columns: 1fr 1fr; } }
.region { padding: 28px; border-radius: 16px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 100px; transition: box-shadow 0.3s, border-color 0.3s; }
.region:target { border-color: rgba(91, 43, 166, 0.55); box-shadow: var(--card-hover-shadow); }
.region__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.region__name { margin: 0; font-size: 1.375rem; }
.region__campus { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 0.9rem; color: var(--ink-3); }
.region__campus svg { color: #E8590C; }
.region__travel { margin: 12px 0 16px; line-height: 1.6; color: var(--ink-2); }
.region__areas { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.region__areas li { padding: 4px 10px; border-radius: 999px; background: var(--tint); font-size: 0.8125rem; color: var(--ink-2); }
.region__more { margin: 32px 0 0; line-height: 1.6; color: var(--ink-3); }

/* ---------------------------------------------------------------- Contact */
.contactx { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .contactx { grid-template-columns: 420px minmax(0, 1fr); gap: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 70px -36px rgba(36, 18, 85, 0.45); }
  .contactx__info, .contactx__form { border-radius: 0 !important; border: 0 !important; }
}
.contactx__info {
  padding: 40px 32px; border-radius: 20px; color: #fff;
  background: radial-gradient(60% 50% at 100% 0%, rgba(255, 154, 60, 0.35), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgba(139, 92, 246, 0.45), transparent 70%), var(--gh-night);
}
.contactx__title { margin: 0 0 8px; font-size: 1.75rem; background: linear-gradient(120deg, #FFF7EE, #FFB547 50%, #FF7A9A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.contactx__lead { margin: 0; color: rgba(255, 255, 255, 0.75); line-height: 1.6; }
.contactx__list { display: grid; gap: 20px; margin: 28px 0; padding: 0; list-style: none; }
.contactx__list li { display: flex; gap: 14px; }
.contactx__list li > div { font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.9); overflow-wrap: anywhere; }
.contactx__list li > div > span { display: block; margin-bottom: 4px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.contactx__list a { color: #fff; text-decoration: none; }
.contactx__list a:hover { color: var(--gh-amber); }
.contactx__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: var(--gh-amber); }
.contactx__sign { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.contactx__sign strong { display: block; margin-top: 6px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.contactx__form { padding: 40px 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.contactx__formtitle { margin: 0 0 24px; font-size: 1.75rem; }
@media (min-width: 1024px) { .contactx__info, .contactx__form { padding: 48px; } }
@media (max-width: 599px) { .contactx__info, .contactx__form { padding: 28px 20px; } }

/* ---------------------------------------------------------------- About intro */
.about-intro__inner { max-width: 1040px; }
.about-intro__kicker { margin: 0 0 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.about-intro__text { margin: 0; font-size: clamp(1.25rem, 2.3vw, 1.75rem); font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }

/* ---------------------------------------------------------------- Theme overrides for older shared components */
/* CTA band before the footer: cinematic night, gradient title */
.ctaband {
  color: #fff; text-align: left;
  background:
    radial-gradient(40% 90% at 92% 0%, rgba(255, 154, 60, 0.38), transparent 70%),
    radial-gradient(50% 100% at 100% 100%, rgba(139, 92, 246, 0.5), transparent 70%),
    radial-gradient(40% 80% at 0% 100%, rgba(255, 79, 123, 0.22), transparent 70%),
    var(--gh-night);
}
.ctaband::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.08; mix-blend-mode: overlay; }
.ctaband__title { color: #fff; background: linear-gradient(168deg, #FFF7EE 10%, #FFB547 45%, #FF7A6B 65%, #F0569E 82%, #A98BFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ctaband__text { color: rgba(255, 255, 255, 0.8); }
.ctaband .sbtn { border-radius: 999px; min-height: 50px; padding: 0 26px; }
.ctaband .sbtn--white, .ctaband .sbtn--white:hover { background: linear-gradient(100deg, #FF9A3C 0%, #FF4F7B 50%, #8B5CF6 100%); color: #fff; box-shadow: 0 12px 32px -10px rgba(255, 79, 123, 0.7); }
.ctaband .sbtn--ghost-white { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.ctaband .sbtn--ghost-white:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: #fff; }

/* Filter tabs scroll sideways on phones instead of wrapping */
.segments { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.segments__btn.is-active { border-bottom-color: #D6336C; }

/* Course detail: tabs, panels and summary in the new palette */
.course-detail { padding-top: 64px; padding-bottom: 24px; }
.course-detail__hero { display: none; }
.course-panel__split--one { grid-template-columns: 1fr !important; }
.course-tabs__indicator { background: var(--grad-lens) !important; height: 3px !important; }
.course-tabs__tab.is-active { color: var(--ink) !important; }
.course-summary { border-radius: 16px !important; border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(36, 18, 85, 0.4) !important; overflow: hidden; }
.course-summary__price { border-color: rgba(124, 58, 237, 0.35) !important; background: linear-gradient(120deg, #fff7ed 0%, #fdf2f8 55%, #f5f3ff 100%) !important; border-radius: 12px !important; }
.course-summary .is-discounted, .course-summary__price-row--emi strong { color: #7C3AED !important; }
.course-summary__save { background: rgba(124, 58, 237, 0.1) !important; color: #6D28D9 !important; }
.course-summary__btn { border-radius: 999px !important; }
.btn-gradient { background: var(--grad-btn) !important; color: #fff !important; border: 0 !important; }
.btn-outline { border-color: #7C3AED !important; color: #6D28D9 !important; }
.benefit-list svg, .course-summary__label svg { color: #7C3AED !important; fill: currentColor; }
#course-enquire { scroll-margin-top: 96px; }

/* Contact form fields + submit */
.contact-form .btn-gradient { border-radius: 999px !important; min-height: 48px; padding: 0 26px; }

/* Student-work gallery tabs + "load more" */
.sw-tab.is-active { color: var(--ink) !important; border-bottom-color: #D6336C !important; }
.gradient-cta { background: var(--grad-btn) !important; color: #fff !important; border-radius: 999px !important; }

/* About page sections in the new palette */
.about-gradient-title { background: var(--grad-lens-ink) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; }
.about-sony__box, .about-refund {
  background:
    radial-gradient(45% 70% at 100% 0%, rgba(255, 154, 60, 0.32), transparent 70%),
    radial-gradient(55% 80% at 0% 100%, rgba(139, 92, 246, 0.45), transparent 70%),
    var(--gh-night) !important;
}
.about-sony__check { background: var(--grad-btn) !important; color: #fff !important; }
.about-refund__title { background: linear-gradient(120deg, #FFF7EE, #FFB547 50%, #FF7A9A) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; }

@media (prefers-reduced-motion: reduce) {
  .phero__bg, .phero__title { animation: none; }
  .frame__img img { transition: none; }
}

/* Course page on phones/tablets: summary card → course content → enquiry form */
@media (max-width: 899px) {
  .course-detail__side { display: contents; }
  .course-detail__side > .course-summary { grid-column: span 12; order: 1; }
  .course-detail__main { order: 2; }
  #course-enquire { grid-column: span 12; order: 3; margin-top: 24px; }
}
@media (min-width: 900px) { .course-detail__side { position: sticky; top: 92px; align-self: start; } .course-detail__side > * + * { margin-top: 24px; } }

/* Detail-page headers built from posters: soften the poster text behind the title */
.phero--soft .phero__bg { filter: blur(6px) saturate(1.15); transform: scale(1.12); animation: none; }

/* 67-widgets.css */
/* =====================================================================
   WhatsApp chat widget, footer layout, centred FAQ, roomier mega-menu
   ===================================================================== */

/* ---------------------------------------------------------------- WhatsApp chat widget */
.whatsapp-fab { display: none !important; } /* legacy round button */
.wachat { position: fixed; right: 24px; bottom: 24px; z-index: 1001; }
.wachat__fab {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 7px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--grad-btn); background-size: 160% 100%; background-position: 0 50%; color: #fff; font: 600 1rem/1 var(--font-text);
  box-shadow: 0 14px 34px -10px rgba(162, 28, 175, 0.65); transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.wachat__fab:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(162, 28, 175, 0.75); }
.wachat__fab-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #25D366; color: #fff; }
.wachat__fab-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); animation: wapulse 2.2s infinite; }
@keyframes wapulse { 70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.wachat__panel {
  position: absolute; right: 0; bottom: 70px; display: flex; flex-direction: column; width: 372px;
  max-height: min(610px, calc(100vh - 130px)); overflow: hidden; border-radius: 18px; background: #efeae2;
  box-shadow: 0 30px 80px -20px rgba(20, 10, 40, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform-origin: bottom right; animation: wapop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.wachat__panel[hidden] { display: none; }
@keyframes wapop { from { opacity: 0; transform: translateY(12px) scale(0.96); } }

.wachat__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, rgba(255, 154, 60, 0.35), transparent 70%), radial-gradient(60% 120% at 0% 100%, rgba(139, 92, 246, 0.5), transparent 70%), var(--gh-night);
}
.wachat__avatar { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.wachat__avatar img { width: 100%; height: 100%; padding: 6px; object-fit: contain; border-radius: 50%; }
.wachat__avatar i { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #25D366; border: 2px solid var(--gh-night); }
.wachat__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wachat__who strong { font-size: 1rem; }
.wachat__who span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); }
.wachat__close { display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
.wachat__close:hover { background: rgba(255, 255, 255, 0.18); }

.wachat__body {
  flex: 1; min-height: 220px; overflow-y: auto; padding: 16px 14px 10px; overscroll-behavior: contain;
  background-color: #efeae2; background-image: radial-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px); background-size: 14px 14px;
}
.wachat__day { width: fit-content; margin: 0 auto 12px; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: 0.72rem; color: #54656f; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13); }
.wamsg { position: relative; max-width: 86%; margin: 0 0 8px; padding: 8px 10px 5px; border-radius: 10px; font-size: 0.9rem; line-height: 1.45; color: #111b21; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13); animation: wapop 0.2s ease; }
.wamsg--in { background: #fff; border-top-left-radius: 2px; }
.wamsg--out { margin-left: auto; background: #d9fdd3; border-top-right-radius: 2px; }
.wamsg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.wamsg time { display: block; margin-top: 2px; text-align: right; font-size: 0.68rem; color: #667781; }
.wamsg__ticks { margin-left: 4px; color: #53bdeb; letter-spacing: -2px; }
.wachat__quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.wachat__quick[hidden] { display: none; }
.wachat__quick button {
  padding: 7px 12px; border: 1px solid rgba(124, 58, 237, 0.35); border-radius: 999px; background: #fff; color: #6D28D9;
  font: 600 0.8rem/1.2 var(--font-text); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.wachat__quick button:hover { background: var(--grad-btn); color: #fff; border-color: transparent; }

.wachat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 6px; background: #f0f2f5; }
.wachat__form textarea {
  flex: 1; min-height: 44px; max-height: 120px; padding: 11px 16px; border: 0; border-radius: 22px; resize: none; background: #fff;
  font: 16px/1.35 var(--font-text); color: #111b21; outline: none;
}
.wachat__form textarea:focus-visible { box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.45); }
.wachat__send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--grad-btn); color: #fff; cursor: pointer; }
.wachat__send:hover { filter: brightness(1.1); }
.wachat__note { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0 14px 10px; background: #f0f2f5; font-size: 0.72rem; color: #667781; }
.wachat__note svg { color: #25D366; }

/* Phones/tablets: the bottom bar's WhatsApp button opens the panel as a sheet */
@media (max-width: 1023px) {
  .wachat { right: 0; bottom: 0; }
  .wachat__fab { display: none; }
  .wachat__panel { position: fixed; left: 10px; right: 10px; bottom: 78px; width: auto; max-height: calc(100svh - 150px); }
}
@media (prefers-reduced-motion: reduce) {
  .wachat__fab-icon::after, .wachat__panel, .wamsg { animation: none; }
}

/* ---------------------------------------------------------------- Footer: wide Courses column, one Contact & campuses column */
.sitefoot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sitefoot__col--courses, .sitefoot__col--contact { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .sitefoot__cols { grid-template-columns: 1.5fr 1fr 1fr; }
  .sitefoot__col--courses { grid-column: auto; }
}
@media (min-width: 1100px) {
  .sitefoot__cols { grid-template-columns: 1.7fr 0.9fr 0.9fr 1.6fr; gap: 32px 40px; }
  .sitefoot__col--contact { grid-column: auto; }
}
.sitefoot__contact li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.sitefoot__contact svg { margin-top: 3px; color: #7C3AED; }
.sitefoot__contact a { display: inline; padding: 0; }
.sitefoot__contact strong { color: #262626; font-weight: 600; }

/* ---------------------------------------------------------------- FAQ: centred like every other section */
.faq-section__list { width: 100% !important; max-width: 880px; margin: 0 auto !important; }

/* ---------------------------------------------------------------- Mega-menu: two roomy columns, titles max 2 lines */
.mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px 16px; }
.mega__item { padding: 12px; }
.mega__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega__desc { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mega__item > span:last-child { min-width: 0; }
.mega__cat { white-space: nowrap; }
.mega__cat.is-active { background: rgba(139, 92, 246, 0.25); box-shadow: inset 0 0 0 1px rgba(255, 154, 60, 0.45); }
.mega__item:hover .mega__title { color: #FFD29A; }
.mega__promo { background: radial-gradient(70% 60% at 100% 0%, rgba(255, 154, 60, 0.45), transparent 70%), var(--grad-btn) !important; }
.faq-section .section__head { max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }
.faq-section .section__lead { margin-left: auto; margin-right: auto; }
@media (min-width: 1240px) { .mega { grid-template-columns: 264px minmax(0, 1fr) 290px; } }
.mega__cat { font-size: 0.9375rem; }

/* 68-auth.css */
/* =====================================================================
   Sign-in / sign-up page (views/pages/login.ejs)
   ===================================================================== */
.auth { display: grid; min-height: calc(100svh - 118px); background: #fff; }
@media (min-width: 1024px) { .auth { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

/* ---- Cinematic side */
.auth__art { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 280px; padding: 56px; background: var(--gh-night); color: #fff; }
.auth__art-bg { position: absolute; inset: 0; z-index: -3; background: center / cover no-repeat; transform: scale(1.06); animation: phzoom 26s ease-in-out infinite alternate; }
.auth .auth__grade {
  background:
    radial-gradient(45% 50% at 100% 0%, rgba(255, 154, 60, 0.38), transparent 70%),
    radial-gradient(55% 60% at 0% 100%, rgba(139, 92, 246, 0.5), transparent 70%),
    linear-gradient(0deg, rgba(10, 8, 18, 0.94) 0%, rgba(10, 8, 18, 0.55) 55%, rgba(10, 8, 18, 0.25) 100%);
}
.auth__vf { inset: 24px; }
.auth__art-copy { position: relative; z-index: 1; max-width: 560px; }
.auth__headline {
  margin: 0; font-size: clamp(2.5rem, 4.4vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em;
  background: linear-gradient(168deg, #FFF7EE 6%, #FFE0B8 26%, #FFB547 46%, #FF7A6B 64%, #F0569E 80%, #A98BFF 96%);
  background-size: 100% 130%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.35)); animation: vsglow 9s ease-in-out infinite alternate;
}
.auth__headline span { display: block; }
.auth__lead { margin: 18px 0 0; max-width: 480px; font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.auth__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; max-width: 480px; }
.auth__strip figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8); }
.auth__strip figure:nth-child(2) { transform: translateY(-14px); }
.auth__strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auth__strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.85); background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Form side */
.auth__panel {
  display: flex; align-items: center; justify-content: center; padding: 56px 24px;
  background: radial-gradient(50% 40% at 100% 0%, rgba(255, 154, 60, 0.08), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(139, 92, 246, 0.08), transparent 70%), #fff;
}
.auth__card { width: 100%; max-width: 440px; }
.auth__logo { display: inline-block; margin-bottom: 28px; }
.auth__logo img { height: 34px; width: auto; display: block; }
.auth__title { margin: 0; font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); }
.auth__sub { margin: 10px 0 24px; font-size: 0.975rem; line-height: 1.55; color: var(--ink-3); }
.auth__sub strong { color: var(--ink); white-space: nowrap; }

.auth__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 22px; padding: 4px; border-radius: 999px; background: #f3f1f8; }
.auth__switch button { min-height: 42px; border: 0; border-radius: 999px; background: none; color: var(--ink-3); font: 600 0.9375rem/1 var(--font-text); cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.auth__switch button.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -2px rgba(36, 18, 85, 0.18); }

.auth__form { display: grid; gap: 18px; }
.afield { display: grid; gap: 6px; }
.afield[hidden] { display: none; }
.afield__label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.afield__box { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid #d9d6e3; border-radius: 12px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.afield__box > svg { flex: none; color: #8b87a0; }
.afield__box:focus-within { border-color: #7C3AED; box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14); }
.afield__box:focus-within > svg { color: #7C3AED; }
.afield__box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font: 16px var(--font-text); color: var(--ink); }
.afield__hint { font-size: 0.8rem; color: var(--ink-3); }
.afield__eye { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -6px; border: 0; border-radius: 8px; background: none; color: #8b87a0; cursor: pointer; }
.afield__eye:hover, .afield__eye.is-on { color: #7C3AED; background: #f5f3ff; }

.auth__submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border-radius: 999px; font-size: 1rem; cursor: pointer; }
.auth__submit.is-busy { opacity: 0.75; cursor: wait; }
.auth__submit.is-busy svg { animation: authspin 0.9s linear infinite; }
@keyframes authspin { to { transform: rotate(360deg); } }

.auth__alert { padding: 11px 14px; border-radius: 10px; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; font-size: 0.9rem; line-height: 1.45; }
.auth__alert[hidden] { display: none; }
.auth__inline { padding: 0; border: 0; background: none; color: #6D28D9; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.auth__or { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--ink-3); font-size: 0.85rem; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__google { display: flex; justify-content: center; min-height: 44px; }

.auth__link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 22px; padding: 12px; border: 1px dashed #d9d6e3; border-radius: 12px; background: none; color: var(--ink-2); font: 600 0.9rem var(--font-text); cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.auth__link:hover { border-color: #7C3AED; color: #6D28D9; background: #faf8ff; }
.auth__link svg { color: #7C3AED; }
.auth__back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; padding: 0; border: 0; background: none; color: var(--ink-3); font: 600 0.875rem var(--font-text); cursor: pointer; }
.auth__back:hover { color: #6D28D9; }

.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.otp input { width: 100%; height: 60px; padding: 0; border: 1px solid #d9d6e3; border-radius: 12px; text-align: center; font: 700 1.5rem var(--font-text); color: var(--ink); background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.otp input:focus { border-color: #7C3AED; box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14); }
.otp input:not(:placeholder-shown), .otp input:valid:not([value=""]) { background: #faf8ff; }
.auth__resend { margin: 0; text-align: center; font-size: 0.9rem; color: var(--ink-3); }
.auth__resend button { padding: 0; border: 0; background: none; color: #6D28D9; font: 600 0.9rem var(--font-text); cursor: pointer; }
.auth__resend button:disabled { color: var(--ink-3); cursor: default; }

.auth__fine { margin: 18px 0 0; font-size: 0.8125rem; line-height: 1.55; color: var(--ink-3); }
.auth__fine a { color: #6D28D9; }
.auth__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }

/* The sign-in page has its own WhatsApp help link; keep the floating button out of the way of the form */
.page-auth .wachat__fab-text { display: none; }
.page-auth .wachat__fab { padding: 0 7px; }

/* ---- Phones & tablets: short cinematic banner on top, form below */
@media (max-width: 1023px) {
  .auth { min-height: 0; }
  .auth__art { min-height: 250px; padding: 64px 24px 32px; }
  .auth__strip, .auth__art .vf__exif { display: none; }
  .auth__headline { font-size: clamp(2rem, 8vw, 2.75rem); }
  .auth__lead { font-size: 0.975rem; }
  .auth__vf { inset: 14px; }
  .auth__vf .vf__rec { top: 10px; left: 36px; }
  .auth__panel { padding: 36px 16px 56px; }
}
@media (max-width: 380px) { .otp { gap: 6px; } .otp input { height: 52px; font-size: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .auth__art-bg, .auth__headline { animation: none; } }
@media (max-width: 1023px) { .auth__logo { display: none; } }

/* 69-dashboard.css */
/* =====================================================================
   Dashboard (/dashboard) — same theme as the website: Open Sans, golden-hour
   gradients, gradient pill buttons, cinematic night panels with film grain.
   ===================================================================== */
.dash-body { background: #f6f5fb; color: var(--ink); }
.dash { display: grid; min-height: 100vh; }
@media (min-width: 1024px) { .dash { grid-template-columns: 264px minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Sidebar (night panel) */
.dash__side {
  position: sticky; top: 0; z-index: 30; display: flex; flex-direction: column; height: 100vh; padding: 22px 14px; overflow-y: auto; color: #fff; isolation: isolate;
  background:
    radial-gradient(70% 35% at 100% 0%, rgba(255, 154, 60, 0.28), transparent 70%),
    radial-gradient(80% 40% at 0% 100%, rgba(139, 92, 246, 0.42), transparent 70%),
    var(--gh-night);
}
.dash__side::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dash__brand { display: block; margin: 2px 10px 28px; }
.dash__brand img { height: 34px; width: auto; display: block; }
.dash__navlabel { margin: 0 12px 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.dash__nav { display: grid; gap: 4px; }
.dash__link {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: none;
  color: rgba(255, 255, 255, 0.78); font: 600 0.9375rem var(--font-text); text-align: left; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.dash__link svg { flex: none; color: rgba(255, 255, 255, 0.6); transition: color 0.2s; }
.dash__link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.dash__link.is-active { background: rgba(139, 92, 246, 0.24); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 154, 60, 0.28); }
.dash__link.is-active::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad-lens); }
.dash__link.is-active svg { color: var(--gh-amber); }
.dash__sidefoot { display: grid; gap: 4px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.dash__sidefoot form { margin: 0; }
.dash__scrim { display: none; }

/* ---------------------------------------------------------------- Top bar + content */
.dash__main { min-width: 0; display: flex; flex-direction: column; }
.dash__top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 28px;
  background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid #ebe8f3; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dash__burger { display: none; place-items: center; width: 42px; height: 42px; margin-left: -8px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.dash__toptitle { margin: 0; font-weight: 700; font-size: 1rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__me { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dash__avatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--grad-btn); color: #fff; font-weight: 700; }
.dash__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash__who { display: flex; flex-direction: column; line-height: 1.2; }
.dash__who strong { font-size: 0.9rem; }
.dash__who span { font-size: 0.75rem; color: var(--ink-3); }
.dash__content { width: 100%; max-width: 1280px; padding: 28px; }

@media (max-width: 1023px) {
  .dash__side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-102%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); box-shadow: 20px 0 60px rgba(10, 8, 18, 0.35); }
  .dash.is-open .dash__side { transform: none; }
  .dash__scrim { position: fixed; inset: 0; z-index: 25; border: 0; background: rgba(10, 8, 18, 0.5); }
  .dash.is-open .dash__scrim { display: block; }
  .dash__burger { display: grid; }
  .dash__top { padding: 0 16px; }
  .dash__content { padding: 20px 16px 40px; }
}
@media (max-width: 599px) { .dash__who { display: none; } }

/* ---------------------------------------------------------------- Cinematic welcome banner */
.dhero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 24px; padding: 30px 32px; border-radius: 20px; color: #fff;
  background:
    radial-gradient(45% 90% at 100% 0%, rgba(255, 154, 60, 0.38), transparent 70%),
    radial-gradient(55% 100% at 0% 100%, rgba(139, 92, 246, 0.5), transparent 70%),
    radial-gradient(30% 70% at 60% 120%, rgba(255, 79, 123, 0.28), transparent 70%),
    var(--gh-night);
}
.dhero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dhero__kicker { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.dhero__title { margin: 0; font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: #fff; }
.dhero .accent { background: linear-gradient(100deg, #FFE0B8 0%, #FFB547 35%, #FF7A9A 70%, #B79BFF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dhero__lead { margin: 8px 0 0; color: rgba(255, 255, 255, 0.75); }
.dhero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dhero .sbtn, .dpage-head .sbtn, .dlead-head .sbtn, .dfilters .sbtn, .dnote-form .sbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; }
.dhero .sbtn--solid { background: linear-gradient(100deg, #FF9A3C 0%, #FF4F7B 50%, #8B5CF6 100%); background-size: 160% 100%; box-shadow: 0 12px 28px -12px rgba(255, 79, 123, 0.7); }
.dhero .sbtn--outline { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.dhero .sbtn--outline:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
@media (max-width: 599px) { .dhero { padding: 24px 20px; border-radius: 16px; } .dhero__actions, .dhero__actions .sbtn { width: 100%; justify-content: center; } }

/* ---------------------------------------------------------------- Stat cards */
.dstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.dstat {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid #ebe8f3;
  color: var(--ink); text-decoration: none; transition: transform 0.3s var(--card-hover-ease), box-shadow 0.3s, border-color 0.3s;
}
a.dstat:hover { transform: translateY(-3px); border-color: rgba(91, 43, 166, 0.45); box-shadow: var(--card-hover-shadow); }
.dstat--accent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-lens); }
.dstat__label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.dstat__value { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.dstat--accent .dstat__value { background: var(--grad-lens-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dstat__sub { font-size: 0.8rem; color: var(--ink-3); }

/* ---------------------------------------------------------------- Panels & grids */
.dgrid { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 1100px) { .dgrid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } .dgrid--lead { grid-template-columns: minmax(0, 1fr) 320px; } }
.dgrid > div, .dgrid > aside { display: grid; gap: 20px; align-content: start; min-width: 0; }
.dpanel { min-width: 0; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid #ebe8f3; }
.dpanel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.dpanel__head--sub { margin-top: 26px; }
.dpanel__title { margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.dpanel .textlink { display: inline-flex; align-items: center; gap: 4px; font-size: 0.875rem; text-decoration: none; }
.dpanel--danger { border-color: #fde2e2; }
.dpanel--links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.dpanel--links a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background 0.2s; }
.dpanel--links a:hover { background: var(--tint-2); }
.dpanel--links svg { flex: none; color: #7C3AED; }
.dpanel--links span { display: flex; flex-direction: column; font-size: 0.85rem; color: var(--ink-3); }
.dpanel--links strong { font-size: 0.95rem; color: var(--ink); }
.dhint { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--ink-3); }
.dnote { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--tint-2); font-size: 0.875rem; }
.dempty { margin: 0; color: var(--ink-3); }
.dempty--box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 20px; border-radius: 16px; background: #fff; border: 1px dashed #d9d6e3; text-align: center; }
.dempty--box svg { color: #B79BFF; }
.dempty--box p { margin: 0; max-width: 460px; line-height: 1.55; }

/* Lists */
.dlist { display: grid; margin: 0; padding: 0; list-style: none; }
.dlist__row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.dlist__row:hover { background: var(--tint-2); }
.dlist__avatar, .dlead-head__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #fff1e6, #f3e8ff); color: #6D28D9; font-weight: 700; }
.dlist__main { display: flex; flex-direction: column; min-width: 0; }
.dlist__main strong { font-size: 0.95rem; }
.dlist__main span, .dlist__time { font-size: 0.8rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 599px) { .dlist__row { grid-template-columns: 38px minmax(0, 1fr) auto; } .dlist__time { display: none; } }

.dmini { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dmini a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.dmini a:hover { background: var(--tint-2); }
.dmini svg { color: #7C3AED; }
.dmini strong { margin-left: auto; }

.dfacts { display: grid; margin: 0; padding: 0; list-style: none; }
.dfacts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #f1eff6; font-size: 0.9rem; }
.dfacts li:last-child { border-bottom: 0; }
.dfacts span { color: var(--ink-3); }
.dfacts strong { text-align: right; overflow-wrap: anywhere; font-weight: 600; }

/* ---------------------------------------------------------------- Lead stages */
.stage { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.stage--hot { --st: #E8590C; --st-bg: #fff1e6; }
.stage--warm { --st: #B45309; --st-bg: #fef6e0; }
.stage--cold { --st: #3B5BDB; --st-bg: #eef2ff; }
.stage--converted { --st: #15803d; --st-bg: #e9f9ee; }
.stage--disqualified { --st: #6b7280; --st-bg: #f1f2f4; }
.stage { color: var(--st); background: var(--st-bg); }
.stage-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--st); }
.pipe { display: flex; height: 12px; gap: 3px; margin: 4px 0 14px; overflow: hidden; border-radius: 999px; background: #f1eff6; }
.pipe__seg { background: var(--st); }
.pipe__legend { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pipe__legend a { display: grid; grid-template-columns: 14px 1fr auto 44px; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.pipe__legend a:hover { background: var(--tint-2); }
.pipe__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--st); }
.pipe__legend em { font-style: normal; color: var(--ink-3); text-align: right; font-size: 0.8rem; }

/* ---------------------------------------------------------------- Leads page */
.dpage-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.dpage-title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.025em; }
.dpage-sub { margin: 6px 0 0; max-width: 720px; color: var(--ink-3); font-size: 0.925rem; line-height: 1.5; }
.stagetabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.stagetabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #ebe8f3; color: var(--ink-2); font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.stagetabs a span { padding: 1px 8px; border-radius: 999px; background: #f3f1f8; font-size: 0.75rem; color: var(--ink-3); }
.stagetabs a.is-active { background: var(--gh-night); border-color: var(--gh-night); color: #fff; }
.stagetabs a.is-active span { background: rgba(255, 255, 255, 0.15); color: #fff; }

.dfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #ebe8f3; }
.dfield { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid #d9d6e3; border-radius: 10px; background: #fff; font-size: 0.85rem; color: var(--ink-3); }
.dfield--grow { flex: 1 1 260px; }
.dfield:focus-within { border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14); }
.dfield input, .dfield select { min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font: 15px var(--font-text); color: var(--ink); }
.dfield--grow input { flex: 1; }
.dcheck { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-2); cursor: pointer; }
.dcheck input { width: 16px; height: 16px; accent-color: #7C3AED; }

.dtable-wrap { overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid #ebe8f3; }
.dtable { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dtable th { padding: 12px 16px; background: #faf9fd; border-bottom: 1px solid #ebe8f3; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); text-align: left; }
.dtable td { padding: 12px 16px; border-bottom: 1px solid #f1eff6; vertical-align: middle; }
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable tbody tr:hover { background: #fcfbff; }
.dtable__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.dtable__name:hover { color: #6D28D9; }
.dtable__meta { display: block; margin-top: 2px; font-size: 0.78rem; color: var(--ink-3); text-transform: capitalize; }
.dtable__go a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--ink-3); }
.dtable__go a:hover { background: var(--tint-2); color: #6D28D9; }
.badge { display: inline-block; padding: 1px 7px; border-radius: 999px; background: #f3e8ff; color: #6D28D9; font-size: 0.72rem; font-weight: 700; text-transform: none; }
.dcontact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dcontact a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 8px; background: #f6f5fb; color: var(--ink-2); text-decoration: none; font-size: 0.85rem; white-space: nowrap; }
.dcontact a:hover { background: #ede9fe; color: #6D28D9; }
.stage-select { height: 34px; padding: 0 28px 0 12px; border: 0; border-radius: 999px; color: var(--st); background: var(--st-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23616161' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; font: 700 0.8rem var(--font-text); appearance: none; -webkit-appearance: none; cursor: pointer; }
.dsaved { margin-left: 8px; font-size: 0.75rem; font-weight: 600; color: #15803d; animation: fadeIn 0.2s; }
.dpager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; font-size: 0.9rem; color: var(--ink-3); }
.dpager a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #ebe8f3; color: var(--ink); text-decoration: none; font-weight: 600; }
.dpager a:hover { border-color: #7C3AED; color: #6D28D9; }

/* Table → cards on phones */
@media (max-width: 899px) {
  .dtable thead { display: none; }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display: block; width: 100%; }
  .dtable tr { position: relative; padding: 14px 16px; border-bottom: 1px solid #f1eff6; }
  .dtable td { padding: 4px 0; border: 0; }
  .dtable td[data-label="Interest"]::before, .dtable td[data-label="Last activity"]::before { content: attr(data-label) ": "; color: var(--ink-3); font-size: 0.8rem; }
  .dtable__go { position: absolute; top: 12px; right: 10px; width: auto !important; }
  .dfilters { padding: 12px; }
  .dfield:not(.dfield--grow) { flex: 1 1 140px; }
  .dfilters .sbtn { flex: 1 1 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- Lead detail */
.dback { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--ink-3); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.dback:hover { color: #6D28D9; }
.dlead-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 20px; }
.dlead-head__avatar { width: 56px; height: 56px; font-size: 1.4rem; }
.dlead-head__main { flex: 1 1 280px; min-width: 0; }
.dlead-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 599px) { .dlead-head__actions { width: 100%; } .dlead-head__actions .sbtn { flex: 1; justify-content: center; } }
.dstages { display: grid; gap: 6px; }
.dstage { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #ebe8f3; border-radius: 10px; background: #fff; color: var(--ink-2); font: 600 0.9rem var(--font-text); text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.dstage:hover { border-color: var(--st); }
.dstage.is-current { background: var(--st-bg); border-color: var(--st); color: var(--st); }
.dassign select, .dnote-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9d6e3; border-radius: 10px; background: #fff; font: 15px/1.5 var(--font-text); color: var(--ink); outline: none; }
.dassign select:focus, .dnote-form textarea:focus { border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14); }
.dnote-form { margin-bottom: 18px; }
.dnote-form textarea { resize: vertical; min-height: 84px; }
.dnote-form__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.dtimeline { position: relative; display: grid; gap: 16px; margin: 0; padding: 0 0 0 22px; list-style: none; }
.dtimeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: #ede9f5; }
.dtimeline li { position: relative; }
.dtimeline p { margin: 0; line-height: 1.5; }
.dtimeline__dot { position: absolute; left: -22px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #8B5CF6; }
.dtimeline__dot--note { border-color: #FF9A3C; }
.dtimeline__meta { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--ink-3); }
.dkv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #faf9fd; font-size: 0.85rem; }
.dkv dt { color: var(--ink-3); text-transform: capitalize; }
.dkv dd { margin: 0; overflow-wrap: anywhere; }
.dlinkbtn { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: 600 0.9rem var(--font-text); cursor: pointer; }
.dlinkbtn--danger { color: #b91c1c; }

/* ---------------------------------------------------------------- Member home */
.dworks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dwork > a, .dwork { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.dwork > a { grid-column: 1 / -1; }
.dwork__img { width: 64px; height: 48px; border-radius: 8px; background: #eee center / cover no-repeat; }
.dwork__body { display: flex; flex-direction: column; min-width: 0; }
.dwork__body strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dwork__body span { font-size: 0.8rem; color: var(--ink-3); }
.wstatus { padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: #f1f2f4; color: #6b7280; }
.wstatus--published, .wstatus--approved { background: #e9f9ee; color: #15803d; }
.wstatus--pending { background: #fef6e0; color: #B45309; }
.wstatus--rejected { background: #fff1f2; color: #b91c1c; }
.dprofile { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.dprofile__avatar { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--grad-btn); color: #fff; font-size: 1.3rem; font-weight: 700; }
.dprofile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dprofile > div { display: flex; flex-direction: column; }
.dprofile > div span { font-size: 0.85rem; color: var(--ink-3); }
.dmeter { height: 8px; margin: 14px 0 8px; overflow: hidden; border-radius: 999px; background: #f1eff6; }
.dmeter span { display: block; height: 100%; border-radius: inherit; background: var(--grad-lens); }

.dalert { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: #eef2ff; color: #3730a3; }
.dalert--success { background: #e9f9ee; color: #15803d; }
.dalert--error { background: #fff1f2; color: #9f1239; }

/* ---------------------------------------------------------------- Error pages (site + dashboard) in the cinematic theme */
.error-page__box {
  position: relative; isolation: isolate; overflow: hidden; max-width: 560px; padding: 40px 36px; border-radius: 20px;
  background: radial-gradient(50% 90% at 100% 0%, rgba(255, 154, 60, 0.38), transparent 70%), radial-gradient(60% 100% at 0% 100%, rgba(139, 92, 246, 0.5), transparent 70%), var(--gh-night) !important;
  box-shadow: 0 30px 70px -30px rgba(36, 18, 85, 0.6);
}
.error-page__box .mi { color: var(--gh-amber); }
.error-page__title { font-family: var(--font-text) !important; font-weight: 700 !important; background: linear-gradient(120deg, #FFF7EE, #FFB547 45%, #FF7A9A 75%, #B79BFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page__subtitle { font-family: var(--font-text) !important; color: rgba(255, 255, 255, 0.8); }
.error-page__actions .btn { border-radius: 999px !important; min-height: 44px; padding: 0 20px; }

/* ---------------------------------------------------------------- Phase 2: content lists + editor */
.dash__navlabel--group { margin-top: 18px; }
.sbtn--sm { min-height: 34px !important; padding: 0 14px !important; font-size: 0.85rem; border-radius: 999px !important; display: inline-flex; align-items: center; gap: 6px; }
.iconbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #ebe8f3; border-radius: 10px; background: #fff; color: var(--ink-2); cursor: pointer; text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.iconbtn:hover { border-color: #7C3AED; color: #6D28D9; background: #faf8ff; }

.plist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.plist__item { display: grid; grid-template-columns: auto 96px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #ebe8f3; transition: border-color 0.2s, box-shadow 0.2s; }
.plist__item:hover { border-color: rgba(91, 43, 166, 0.35); box-shadow: 0 10px 30px -20px rgba(36, 18, 85, 0.5); }
.plist__order { display: grid; gap: 2px; }
.plist__order form { margin: 0; }
.plist__order button { display: grid; place-items: center; width: 28px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink-3); cursor: pointer; }
.plist__order button:hover:not(:disabled) { background: var(--tint-2); color: #6D28D9; }
.plist__order button:disabled { opacity: 0.25; cursor: default; }
.plist__thumb { width: 96px; height: 60px; border-radius: 8px; background: #eee center / cover no-repeat; }
.plist__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.plist__title { font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plist__title:hover { color: #6D28D9; }
.plist__meta { font-size: 0.8rem; color: var(--ink-3); }
.plist__actions { display: flex; align-items: center; gap: 8px; }
.plist__actions form { margin: 0; }
.pstatus { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; background: #f1f2f4; color: #6b7280; }
.pstatus--published { background: #e9f9ee; color: #15803d; }
.pstatus--draft { background: #fef6e0; color: #B45309; }
.pstatus--deleted { background: #fff1f2; color: #b91c1c; }
@media (max-width: 899px) {
  .plist__item { grid-template-columns: auto 72px minmax(0, 1fr); }
  .plist__thumb { width: 72px; height: 48px; }
  .pstatus { grid-column: 3; justify-self: start; }
  .plist__actions { grid-column: 1 / -1; justify-content: flex-end; flex-wrap: wrap; }
}

/* Editor */
.pform__head { margin-bottom: 18px; }
.pform__head .pstatus { vertical-align: 1px; }
.pform__grid { display: grid; gap: 20px; }
@media (min-width: 1100px) { .pform__grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } .pform__side { position: sticky; top: 84px; } }
.pform__main, .pform__side { display: grid; gap: 20px; min-width: 0; }
.pform__save { width: 100%; justify-content: center; margin-top: 4px; }
.pform__publish .ff:last-of-type { margin-bottom: 14px; }
.ff { display: grid; gap: 6px; align-content: start; margin-bottom: 16px; }
.ff:last-child { margin-bottom: 0; }
.ff__label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.ff__label i { color: #D6336C; font-style: normal; }
.ff__label em { margin-left: 6px; font-style: normal; font-weight: 400; font-size: 0.78rem; color: var(--ink-3); }
.ff__label em.is-over { color: #b91c1c; font-weight: 700; }
.ff__hint { font-size: 0.8rem; color: var(--ink-3); line-height: 1.45; }
.ferr { font-size: 0.8rem; font-weight: 600; color: #b91c1c; }
.ff input, .ff select, .ff textarea, .rlist input, .rlist textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d9d6e3; border-radius: 10px; background: #fff;
  font: 15px/1.5 var(--font-text); color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.ff textarea, .rlist textarea { resize: vertical; }
.ff input:focus, .ff select:focus, .ff textarea:focus, .rlist input:focus, .rlist textarea:focus { border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14); }
.ff .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.ff__prefix { display: flex; align-items: stretch; overflow: hidden; border: 1px solid #d9d6e3; border-radius: 10px; }
.ff__prefix:focus-within { border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14); }
.ff__prefix span { display: flex; align-items: center; padding: 0 10px; background: #f6f5fb; color: var(--ink-3); font-size: 0.85rem; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.ff__prefix input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.fgrid .ff { margin-bottom: 16px; }
.ff--wide { grid-column: 1 / -1; }
@media (max-width: 599px) { .fgrid { grid-template-columns: 1fr; } }

/* Cover upload */
.upl { position: relative; display: grid; gap: 10px; }
.upl img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; background: #111; }
.upl__drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 140px; padding: 20px; border: 2px dashed #d9d6e3; border-radius: 12px; background: #faf9fd; color: var(--ink-3); text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.upl__drop svg { color: #8B5CF6; }
.upl__drop strong { color: #6D28D9; }
.upl__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upl.has-image .upl__drop { min-height: 64px; flex-direction: row; }
.upl.is-drag .upl__drop, .upl__drop:hover { border-color: #7C3AED; background: #f5f3ff; }
.upl.is-busy .upl__drop { opacity: 0.6; pointer-events: none; }
.upl__bar { font-size: 0.85rem; color: var(--ink-2); }
.upl__remove { justify-self: start; }

/* Repeatable lists */
.rlist__items { display: grid; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; counter-reset: rl; }
.rlist__item { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 8px; align-items: start; }
.rlist__fields { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: #faf9fd; border: 1px solid #f1eff6; }
.rlist--faq .rlist__item { counter-increment: rl; }

/* Instructor picker */
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pick { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #ebe8f3; border-radius: 12px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick:has(input:checked) { border-color: #7C3AED; background: #f5f3ff; box-shadow: inset 0 0 0 1px #7C3AED; }
.pick:has(input:focus-visible) { outline: 2px solid #7C3AED; outline-offset: 2px; }
.pick__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #ede9fe center / cover no-repeat; color: #6D28D9; font-weight: 700; }
.pick__text { display: flex; flex-direction: column; min-width: 0; }
.pick__text strong { font-size: 0.9rem; }
.pick__text span { font-size: 0.75rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Quill in the theme */
.rte-source { width: 100%; min-height: 240px; padding: 12px; border: 1px solid #d9d6e3; border-radius: 10px; font: 15px/1.6 var(--font-text); }
.rte .ql-editor { min-height: 260px; font: 16px/1.7 var(--font-text); color: #2b2b2b; }
.rte .ql-editor h2 { font-size: 1.5rem; } .rte .ql-editor h3 { font-size: 1.25rem; }
.rte .ql-editor img { max-width: 100%; border-radius: 8px; }
.pform .ql-toolbar.ql-snow { position: sticky; top: 64px; z-index: 5; border: 1px solid #d9d6e3; border-radius: 10px 10px 0 0; background: #faf9fd; font-family: var(--font-text); }
.pform .ql-container.ql-snow { border: 1px solid #d9d6e3; border-top: 0; border-radius: 0 0 10px 10px; }
.pform .ql-snow .ql-stroke { stroke: var(--ink-2); }
.pform .ql-snow .ql-fill { fill: var(--ink-2); }
.pform .ql-snow button:hover .ql-stroke, .pform .ql-snow .ql-active .ql-stroke { stroke: #7C3AED; }
.pform .ql-snow button:hover .ql-fill, .pform .ql-snow .ql-active .ql-fill { fill: #7C3AED; }

/* ---------------------------------------------------------------- Phase 3: student works + profiles */
.newwork { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
.newwork__card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #ebe8f3; color: var(--ink); text-decoration: none; transition: transform 0.3s var(--card-hover-ease), box-shadow 0.3s, border-color 0.3s; }
.newwork__card:hover { transform: translateY(-3px); border-color: rgba(91, 43, 166, 0.45); box-shadow: var(--card-hover-shadow); }
.newwork__card svg { color: #7C3AED; margin-bottom: 6px; }
.newwork__card span { font-size: 0.85rem; color: var(--ink-3); }
.newwork__card--accent { color: #fff; border-color: transparent; background: radial-gradient(60% 90% at 100% 0%, rgba(255, 154, 60, 0.4), transparent 70%), radial-gradient(70% 100% at 0% 100%, rgba(139, 92, 246, 0.55), transparent 70%), var(--gh-night); }
.newwork__card--accent svg { color: var(--gh-amber); }
.newwork__card--accent span { color: rgba(255, 255, 255, 0.75); }
.plist__item--work { grid-template-columns: 96px minmax(0, 1fr) auto auto; }
@media (max-width: 899px) { .plist__item--work { grid-template-columns: 72px minmax(0, 1fr); } .plist__item--work .wstatus { grid-column: 2; justify-self: start; } }
.wfeedback { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff1f2; color: #9f1239; font-size: 0.85rem; line-height: 1.5; }
.wstatus--approved { background: #eef2ff; color: #3B5BDB; }
.wstatus--deleted { background: #f1f2f4; color: #6b7280; }
.dreq-input { width: 100%; max-width: 420px; min-height: 44px; padding: 10px 12px; border: 1px solid #d9d6e3; border-radius: 10px; font: 15px var(--font-text); }

/* Photo slides in the work editor */
.slides { display: grid; gap: 12px; margin: 0 0 12px; padding: 0; list-style: none; }
.slide { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px; border-radius: 14px; background: #faf9fd; border: 1px solid #f1eff6; }
.slide__img { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background: #e9e6f2 center / cover no-repeat; overflow: hidden; }
.slide__busy { position: absolute; inset: 0; display: none; place-items: center; background: rgba(10, 8, 18, 0.55); color: #fff; font-size: 0.85rem; font-weight: 600; }
.slide.is-busy .slide__busy { display: grid; }
.slide__fields { display: grid; gap: 8px; }
.slide__fields input, .slide__fields textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9d6e3; border-radius: 10px; background: #fff; font: 15px/1.5 var(--font-text); outline: none; }
.slide__fields input:focus, .slide__fields textarea:focus { border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14); }
.slide__tools { display: grid; gap: 6px; }
[data-single="1"] .slide { grid-template-columns: minmax(0, 1fr) auto; }
[data-single="1"] .slide__img { aspect-ratio: auto; min-height: 280px; background-size: contain; background-color: #111; }
.slides__add { position: relative; }
@media (max-width: 599px) { .slide { grid-template-columns: 1fr auto; } .slide__fields { grid-column: 1 / -1; } }
.vidrow { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; }
.vidrow__thumb { aspect-ratio: 16 / 9; border-radius: 8px; background: #e9e6f2 center / cover no-repeat; }
.vidrow input.is-invalid { border-color: #b91c1c !important; }

/* Review queue */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.rcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid #ebe8f3; color: var(--ink); text-decoration: none; transition: transform 0.3s var(--card-hover-ease), box-shadow 0.3s, border-color 0.3s; }
.rcard:hover { transform: translateY(-3px); border-color: rgba(91, 43, 166, 0.45); box-shadow: var(--card-hover-shadow); }
.rcard__img { position: relative; aspect-ratio: 4 / 3; background: #eee center / cover no-repeat; }
.rcard__type { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(10, 8, 18, 0.7); color: #fff; font-size: 0.72rem; font-weight: 700; }
.rcard__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 6px; }
.rcard__body strong { line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__body span { font-size: 0.8rem; color: var(--ink-3); }
.rcard .wstatus { align-self: flex-start; margin: 4px 14px 14px; }
.rtext { margin: 0 0 12px; line-height: 1.7; white-space: pre-line; }
.rtext--muted { color: var(--ink-3); }
.rslides { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.rslides li { display: grid; gap: 10px; }
.rslides img { display: block; width: 100%; max-height: 640px; object-fit: contain; border-radius: 10px; background: #111; }
.rslides strong { display: block; }
.rslides p { margin: 4px 0 0; color: var(--ink-2); line-height: 1.6; }
.rslides__n { margin-right: 8px; font: 700 0.75rem ui-monospace, monospace; color: #E8590C; }
.rvideo { position: relative; aspect-ratio: 16 / 9; margin-bottom: 12px; overflow: hidden; border-radius: 12px; background: #000; }
.rvideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rdecide { display: grid; gap: 8px; }
.rdecide form { margin: 0; }
.rreject { margin-top: 18px; padding-top: 16px; border-top: 1px solid #f1eff6; }

/* Profile editor */
.pfmedia { position: relative; padding-bottom: 46px; }
.pfcover { position: relative; }
.pfcover__img { display: block; aspect-ratio: 3 / 1; border-radius: 14px; background: linear-gradient(120deg, #2a1d4d, #6D28D9 60%, #DB2777) center / cover no-repeat; }
.pfcover__btn, .pfavatar__btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.pfcover__btn { position: absolute; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 8, 18, 0.65); color: #fff; font-size: 0.85rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pfcover__btn input, .pfavatar__btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pfavatar { position: absolute; left: 24px; bottom: 0; }
.pfavatar__img { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; background: var(--grad-btn) center / cover no-repeat; color: #fff; font-size: 2rem; font-weight: 700; box-shadow: 0 12px 30px -12px rgba(36, 18, 85, 0.5); }
.pfavatar.has-image .pfavatar__img { background-size: cover; }
.pfavatar__btn { position: absolute; right: 0; bottom: 4px; width: 32px; height: 32px; justify-content: center; border-radius: 50%; background: #fff; color: #6D28D9; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.pfcover.is-busy, .pfavatar.is-busy { opacity: 0.6; }

/* Public profile page */
.pfhero__inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.pfhero__avatar { display: grid; place-items: center; flex: none; width: 128px; height: 128px; overflow: hidden; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.85); background: var(--grad-btn); color: #fff; font-size: 3rem; font-weight: 700; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); }
.pfhero__avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) { .pfhero__avatar { width: 92px; height: 92px; font-size: 2.2rem; } }
.pfbio__text { max-width: 820px; font-size: 1.125rem; }

/* ---------------------------------------------------------------- Phase 4: admin tools */
.uname { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.uname > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.uname strong { font-weight: 700; }
.uname em { font-style: normal; font-size: 0.8rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uname:hover strong { color: #6D28D9; }
.uname__av { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #fff1e6, #f3e8ff) center / cover no-repeat; color: #6D28D9; font-weight: 700; }
.ucontact { font-size: 0.85rem; color: var(--ink-2); overflow-wrap: anywhere; }
.rolechip { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: #f1f2f4; color: #4b5563; white-space: nowrap; }
.rolechip--admin { background: linear-gradient(100deg, rgba(255, 154, 60, 0.18), rgba(219, 39, 119, 0.18)); color: #C2410C; }
.rolechip--editor { background: #ede9fe; color: #6D28D9; }
.rolechip--creator { background: #fdf2f8; color: #BE185D; }
.rolechip--student { background: #e9f9ee; color: #15803d; }
.rolechip--off { background: #fff1f2; color: #b91c1c; }
.pickgrid--roles .pick { align-items: flex-start; flex-direction: column; gap: 6px; }
.pickgrid--roles .pick__text span { white-space: normal; }

.aplist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.aplist__item { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1.4fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #ebe8f3; }
.aplist__info { font-size: 0.9rem; color: var(--ink-2); }
.aplist__info p { margin: 4px 0 0; font-style: italic; color: var(--ink-3); }
.aplist__actions { display: flex; gap: 8px; }
.aplist__actions form { margin: 0; }
@media (max-width: 899px) { .aplist__item { grid-template-columns: 1fr; } }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pcard { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 22px 16px; border-radius: 16px; background: #fff; border: 1px solid #ebe8f3; color: var(--ink); text-align: center; text-decoration: none; transition: transform 0.3s var(--card-hover-ease), box-shadow 0.3s, border-color 0.3s; }
.pcard:hover { transform: translateY(-3px); border-color: rgba(91, 43, 166, 0.45); box-shadow: var(--card-hover-shadow); }
.pcard__av { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; background: var(--grad-btn) center / cover no-repeat; color: #fff; font-size: 1.8rem; font-weight: 700; }
.pcard > span { font-size: 0.85rem; color: var(--ink-3); }
.pcard__tags { margin: 4px 0; }
.pfperson { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.pfperson .pfavatar { position: relative; left: 0; }

.medup { position: relative; cursor: pointer; }
.medup input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.mitem { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid #ebe8f3; }
.mitem__img { aspect-ratio: 4 / 3; background: #f1eff6 center / cover no-repeat; }
.mitem__body { display: grid; gap: 4px; padding: 10px 12px 12px; min-width: 0; }
.mitem__body strong { font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mitem__body span { font-size: 0.75rem; color: var(--ink-3); }
.mitem__actions { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 4px; }
.mitem__actions form { margin: 0; }

.setgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.setcard { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 14px; align-items: center; height: 100%; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #ebe8f3; color: var(--ink); text-decoration: none; transition: transform 0.3s var(--card-hover-ease), box-shadow 0.3s, border-color 0.3s; }
.setcard:hover { transform: translateY(-3px); border-color: rgba(91, 43, 166, 0.45); box-shadow: var(--card-hover-shadow); }
.setcard__icon { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: radial-gradient(70% 70% at 100% 0%, rgba(255, 154, 60, 0.35), transparent 70%), var(--gh-night); color: var(--gh-amber); }
.setcard__body { display: flex; flex-direction: column; }
.setcard__body span { font-size: 0.85rem; color: var(--ink-3); }
.setcard__meta { grid-column: 2; font-size: 0.78rem; font-weight: 700; color: #6D28D9; }

.slist { display: grid; gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.srow { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #ebe8f3; }
.srow:not(:has(.srow__img)) { grid-template-columns: minmax(0, 1fr) auto; }
.srow__img { display: grid; gap: 8px; }
.srow__preview { display: block; aspect-ratio: 4 / 3; border-radius: 10px; background: #f1eff6 center / contain no-repeat; border: 1px solid #ebe8f3; }
.srow__upl { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border-radius: 999px; border: 1px solid #d9d6e3; font-size: 0.8rem; font-weight: 600; color: #6D28D9; cursor: pointer; }
.srow__upl input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.srow .ff { margin-bottom: 10px; }
.srow__img.is-busy { opacity: 0.55; }
.slist__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 6px 0 10px; }
@media (max-width: 599px) { .srow { grid-template-columns: 1fr auto; } .srow__img { grid-column: 1 / -1; } .srow__fields { grid-column: 1; } }
.seopage { padding: 0; }
.seopage summary { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; }
.seopage summary::-webkit-details-marker { display: none; }
.seopage summary span { color: var(--ink-3); font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seopage[open] summary svg { transform: rotate(180deg); }
.seopage > label, .seopage > input + label { margin: 0 20px 14px; }
.seopage[open] { padding-bottom: 6px; }
@media (max-width: 599px) { .seopage summary { grid-template-columns: 1fr auto; } .seopage summary span { grid-column: 1; } }
.dstat__value--sm { font-size: 1.25rem; }
.revlist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.revlist li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.revlist__av { width: 40px; height: 40px; border-radius: 50%; background: #f1eff6 center / cover no-repeat; }
.revlist p { margin: 4px 0 0; color: var(--ink-2); font-size: 0.9rem; line-height: 1.55; }
.revlist__stars { color: #F59E0B; letter-spacing: 1px; }

/* 70-card-hover.css */
/* =====================================================================
   Unified card hover — one consistent "lift + violet border glow" for
   every card on the site. Loads last, so it replaces the older mixed
   hovers (neumorphic shadows, scale-only, grey shadows) from earlier parts.
   ===================================================================== */
:root {
  --card-hover-ring: rgba(91, 43, 166, 0.55);   /* RAP violet border highlight */
  --card-hover-shadow:
    0 0 0 1px var(--card-hover-ring),
    0 4px 10px -2px rgba(74, 104, 226, 0.14),
    0 22px 44px -12px rgba(91, 43, 166, 0.32);
  --card-hover-lift: -6px;
  --card-hover-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cards that get the effect. .mui-card is a generic wrapper (also used for
   the contact panel and course hero), so only its card variants are listed. */
.scard, .campus, .course-card, .workshop-card, .article-card, .instructor-card,
.testimonial-card, .glass-card, .facility-card, .pioneer-card, .location-card, .sw-item {
  position: relative;
  transition: transform 0.35s var(--card-hover-ease), box-shadow 0.35s var(--card-hover-ease), border-color 0.35s ease;
  will-change: transform;
}

/* Generic MUI wrappers (contact panel, course summary) stay still */
.mui-card:hover { transform: none; box-shadow: var(--shadow-card); }

/* Gradient top accent that slides in on hover */
.scard::before, .campus::before, .course-card::before, .workshop-card::before, .article-card::before,
.instructor-card::before, .glass-card::before, .facility-card::before, .pioneer-card::before, .location-card::before {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 3px; pointer-events: none;
  border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  background: var(--grad-lens);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--card-hover-ease);
}

@media (hover: hover) {
  .scard:hover, .campus:hover, .course-card:hover, .workshop-card:hover, .article-card:hover,
  .instructor-card:hover, .testimonial-card:hover, .glass-card:hover, .facility-card:hover,
  .pioneer-card:hover, .location-card:hover {
    transform: translateY(var(--card-hover-lift));
    box-shadow: var(--card-hover-shadow);
    border-color: var(--card-hover-ring);
  }
  .scard:hover::before, .campus:hover::before, .course-card:hover::before, .workshop-card:hover::before,
  .article-card:hover::before, .instructor-card:hover::before, .glass-card:hover::before,
  .facility-card:hover::before, .pioneer-card:hover::before, .location-card:hover::before { transform: scaleX(1); }

  /* Gentle image zoom inside the (clipped) media area */
  .scard:hover .scard__media img, .course-card:hover .course-card__media img,
  .workshop-card:hover .workshop-card__media img, .article-card:hover .article-card__media img { transform: scale(1.05); }

  /* Student-work tiles: lift + glow instead of the old 5% scale (which overlapped neighbours) */
  .sw-item:hover { z-index: 2; transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
}

/* Keyboard users get the same highlight (without the movement) */
.scard:focus-within, .campus:focus-within, .course-card:focus-within, .workshop-card:focus-within,
.article-card:focus-within, .testimonial-card:focus-within, .location-card:focus-within, .sw-item:focus-visible {
  box-shadow: var(--card-hover-shadow);
}

@media (prefers-reduced-motion: reduce) {
  .scard, .campus, .course-card, .workshop-card, .article-card, .instructor-card, .testimonial-card,
  .glass-card, .facility-card, .pioneer-card, .location-card, .sw-item { transition: box-shadow 0.2s ease, border-color 0.2s ease; }
  .scard:hover, .campus:hover, .course-card:hover, .workshop-card:hover, .article-card:hover,
  .instructor-card:hover, .testimonial-card:hover, .glass-card:hover, .facility-card:hover,
  .pioneer-card:hover, .location-card:hover, .sw-item:hover { transform: none; }
  .scard__media img, .course-card__media img, .workshop-card__media img, .article-card__media img { transition: none; transform: none !important; }
}
