/* Palette shared with KWIRA-CT (brand blue + sun gold), plus purple from the SAITA logo. */
:root {
  --brand-50: #eef7ff;
  --brand-100: #d9edff;
  --brand-200: #bce0ff;
  --brand-500: #2b7fff;
  --brand-600: #1764e8;
  --brand-700: #1650c4;
  --brand-900: #142f63;
  --navy: #22104f;
  --sun-400: #ffc531;
  --sun-500: #f5a70b;
  --purple: #5b21b6;
  --purple-700: #4c1d95;
  --purple-900: #2a1263;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f7f9fc;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(20, 47, 99, 0.09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-600); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; color: var(--brand-900); font-weight: 900; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.eyebrow {
  font-size: 0.8rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 0.6em;
}
.eyebrow-light { color: var(--sun-400); }
.script { font-family: "Dancing Script", cursive; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85em 1.5em; border-radius: 999px; border: 2px solid var(--brand-600);
  background: var(--brand-600); color: var(--white); font-weight: 800; text-decoration: none;
  font-size: 1rem; cursor: pointer; transition: background 0.15s, transform 0.15s; font-family: inherit;
}
.btn:hover { background: var(--brand-700); border-color: var(--brand-700); transform: translateY(-1px); }
.btn-sun { background: var(--sun-400); border-color: var(--sun-400); color: var(--brand-900); }
.btn-sun:hover { background: var(--sun-500); border-color: var(--sun-500); }
.btn-ghost { background: transparent; color: var(--brand-900); border-color: var(--brand-900); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-900); }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  padding: 0.5em 0.8em; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.95rem;
}
.site-nav a:not(.btn):hover { background: var(--brand-50); }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px;
    border: 0; background: transparent; cursor: pointer; padding: 10px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--brand-900); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.8em 0.6em; }
  .site-nav .btn { text-align: center; margin-top: 8px; }
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, var(--brand-100), transparent 45%),
    linear-gradient(180deg, var(--brand-50), var(--white));
  padding: 48px 0 56px; overflow: hidden;
}
.hero-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.2fr 0.8fr; } .hero { padding: 80px 0 88px; } }
.underline { color: var(--purple); background: linear-gradient(transparent 78%, var(--sun-400) 78%, var(--sun-400) 92%, transparent 92%); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--brand-600); margin-right: 6px; font-weight: 900; }

.hero-photo { position: relative; max-width: 340px; width: 100%; margin: 0 auto; }
.hero-photo img {
  width: 100%; height: auto; border-radius: 28px; border: 6px solid var(--white);
  box-shadow: 0 0 0 4px var(--sun-400), var(--shadow);
}
.hero-badge {
  position: absolute; left: -12px; bottom: 24px; background: var(--purple); color: var(--white);
  padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow); line-height: 1.1;
}
.hero-badge .script { display: block; font-size: 1.35rem; color: var(--sun-400); }
.hero-badge strong { font-size: 0.95rem; }
@media (min-width: 900px) { .hero-badge { left: -40px; } }

/* Values strip */
.strip { background: var(--brand-900); color: var(--white); }
.strip-inner { display: grid; gap: 22px; padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 640px) { .strip-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip-inner { grid-template-columns: repeat(4, 1fr); } }
.value { display: flex; align-items: center; gap: 14px; }
.value svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--sun-400); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.value strong { display: block; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem; }
.value span { color: var(--brand-200); font-size: 0.92rem; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-tint { background: var(--bg); }
.section-dark { background: var(--brand-900); color: var(--brand-100); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); }

/* Mentor */
.mentor { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .mentor { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.mentor-quote {
  background: var(--navy); color: var(--white); border-radius: 28px; padding: 36px 32px;
  border-bottom: 8px solid var(--sun-400); box-shadow: var(--shadow);
}
.mentor-quote p { margin: 0; font-size: 1.25rem; font-weight: 700; }
.mentor-quote .big { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; line-height: 1.15; margin-top: 6px; text-transform: uppercase; }
.mentor-quote .big span { color: var(--sun-400); }
.checklist { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 10px; }
.checklist li { padding-left: 34px; position: relative; font-weight: 700; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-size: 0.8rem;
}

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.card .tag { color: var(--purple); font-weight: 800; font-size: 0.9rem; margin: -0.3em 0 0.6em; }
.card-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--sun-400); display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--brand-900); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-cta { background: var(--brand-600); border-color: var(--brand-600); display: flex; flex-direction: column; justify-content: center; }
.card-cta h3 { color: var(--white); font-size: 1.4rem; }
.card-cta p { color: var(--brand-100); margin-bottom: 18px; }
.card-cta .btn { align-self: flex-start; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps span {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sun-400); color: var(--brand-900); font-weight: 900; font-size: 1.2rem; margin-bottom: 14px;
}
.steps p { margin: 0; }

/* Contact */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.contact-list { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-50); border: 2px solid var(--purple); display: grid; place-items: center; }
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--purple); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-list a { font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-form {
  background: var(--white); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line);
  border-top: 6px solid var(--sun-400); display: grid; gap: 16px;
}
.contact-form label { display: grid; gap: 6px; font-weight: 800; font-size: 0.92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 0.75em 0.9em; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100);
}
.contact-form .invalid { border-color: #c2412d; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { margin: 0; font-size: 0.9rem; color: var(--muted); min-height: 1.2em; }

/* Footer */
.site-footer { background: var(--navy); color: var(--brand-200); padding: 48px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; }
.footer-name { color: var(--white); font-weight: 900; font-size: 1.2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footer-nav a { color: var(--white); text-decoration: none; font-weight: 700; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding-top: 20px; font-size: 0.88rem; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--sun-400); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ===== Additions: logo brand, mental math, KWIRA-CT dashboard, news ===== */
.brand img { width: 52px; height: 52px; }
.brand-text { line-height: 1.05; color: var(--purple-900); }
.brand-text strong { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: 0.04em; }
.brand-text small { display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); }

.announce {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 5px 14px 5px 5px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-weight: 800; font-size: 0.9rem; color: var(--purple-900); text-decoration: none;
}
.announce span { background: var(--purple); color: var(--white); border-radius: 999px; padding: 2px 10px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.announce:hover { border-color: var(--purple); }

.mentor-quote .hashtag { margin-top: 18px; font-size: 1rem; font-weight: 800; color: var(--brand-200); }

.pill { display: inline-block; vertical-align: middle; margin-left: 6px; background: var(--purple); color: var(--white); font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 9px; border-radius: 999px; }
.card-feature { border: 2px solid var(--purple); background: linear-gradient(180deg, #f6f1ff, var(--white)); }
.card-feature .card-icon { background: var(--purple); }
.card-feature .card-icon svg { stroke: var(--sun-400); }

/* Mental math */
.section-purple { background: linear-gradient(135deg, var(--purple-900), var(--purple-700)); color: #e4dcff; }
.section-purple h2 { color: var(--white); }
.section-purple strong { color: var(--white); }
.mm { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .mm { grid-template-columns: 1fr 1fr; gap: 56px; } }
.mm-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 28px; border: 6px solid var(--sun-400); }
.mm-benefits { list-style: none; padding: 0; margin: 1.2em 0 0.5em; display: grid; gap: 12px; }
@media (min-width: 640px) { .mm-benefits { grid-template-columns: repeat(3, 1fr); } }
.mm-benefits li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 16px; font-size: 0.92rem; }
.mm-benefits strong { display: block; color: var(--sun-400); font-size: 1rem; margin-bottom: 4px; }
.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

/* KWIRA-CT */
.kwira { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .kwira { grid-template-columns: 1fr 1fr; gap: 64px; } }
.kwira-features { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 12px; }
.kwira-features li { padding: 14px 18px; border-radius: 14px; background: var(--brand-50); color: var(--muted); border-left: 4px solid var(--brand-600); }
.kwira-features strong { display: block; color: var(--brand-900); }

.dash { background: var(--white); border-radius: 22px; box-shadow: 0 24px 60px rgba(20, 47, 99, 0.18); border: 1px solid var(--line); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--brand-900); }
.dash-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.dash-bar em { margin-left: 10px; font-style: normal; font-size: 0.8rem; font-weight: 800; color: var(--brand-100); }
.dash-body { padding: 22px; }
.dash-learner { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dash-learner small { display: block; color: var(--muted); font-size: 0.82rem; }
.dash-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sun-400); color: var(--brand-900); font-weight: 900; display: grid; place-items: center; flex: none; }
.dash-badge { margin-left: auto; font-size: 0.8rem; font-weight: 800; background: var(--brand-50); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.dash-label { margin: 16px 0 10px; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.dash-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dash-bars li { display: grid; grid-template-columns: 28px 1fr 40px; align-items: center; gap: 10px; font-size: 0.85rem; }
.dash-bars span { font-weight: 900; color: var(--brand-900); }
.dash-bars i { height: 10px; border-radius: 999px; background: var(--brand-100); position: relative; overflow: hidden; }
.dash-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--brand-500), var(--brand-600)); }
.dash-bars b { text-align: right; color: var(--muted); font-weight: 700; }
.dash-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.dash-tiles div { background: var(--bg); border-radius: 14px; padding: 12px; text-align: center; }
.dash-tiles strong { display: block; font-size: 1.3rem; font-weight: 900; color: var(--brand-900); }
.dash-tiles small { color: var(--muted); font-size: 0.75rem; }

/* News */
.news { display: grid; gap: 20px; }
@media (min-width: 900px) { .news { grid-template-columns: 2fr 1fr; } }
.news-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.news-lead { display: grid; }
@media (min-width: 640px) { .news-lead { grid-template-columns: 220px 1fr; } }
.news-lead img { width: 100%; height: 100%; min-height: 220px; max-height: 320px; object-fit: cover; object-position: center 25%; }
.news-body { padding: 24px; }
.news-body time { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--purple); }
.news-body h3 { margin-top: 6px; }
.news-body p { color: var(--muted); font-style: italic; }
.news-body a { font-weight: 800; text-decoration: none; }
.news-side { padding: 28px; background: var(--purple-900); border-color: var(--purple-900); color: #e4dcff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.news-side h3 { color: var(--white); }

/* Footer brand */
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 64px; height: 64px; }

/* CBE levels */
.levels { display: grid; gap: 20px; }
@media (min-width: 640px) { .levels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .levels { grid-template-columns: repeat(4, 1fr); } }
.level { border-radius: var(--radius); padding: 26px; background: var(--bg); border-top: 5px solid var(--sun-400); }
.level p { color: var(--muted); margin: 0; }
.level-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 900; color: var(--purple); background: var(--white);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; border: 1px solid var(--line);
}

/* Upcoming training & events */
.upcoming-section { padding-top: 64px; padding-bottom: 64px; }
.upcoming { display: grid; gap: 20px; }
@media (min-width: 860px) { .upcoming { grid-template-columns: 1fr 1fr; } }
.up-card { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 6px solid var(--brand-600); }
.up-card-event { border-top-color: var(--purple); }
.up-date { flex: none; width: 76px; height: 76px; border-radius: 16px; background: var(--brand-50); display: grid; place-content: center; text-align: center; }
.up-card-event .up-date { background: #f1eaff; }
.up-date span { font-size: 1.3rem; font-weight: 900; color: var(--brand-900); line-height: 1; }
.up-date small { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.up-kind { margin: 0 0 4px; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-600); }
.up-card-event .up-kind { color: var(--purple); }
.up-body p { color: var(--muted); }
.up-meta { font-weight: 800; font-size: 0.9rem; }
@media (max-width: 480px) { .up-card { flex-direction: column; } }

/* Mentees group photo */
.mentees-section { padding-top: 56px; padding-bottom: 0; }
.mentees { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.mentees img { width: 100%; height: auto; min-height: 220px; object-fit: cover; }
.mentees figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; color: var(--white);
  background: linear-gradient(transparent, rgba(34, 16, 79, 0.85)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
}
.mentees figcaption strong { font-size: 1.1rem; }
.mentees figcaption span { color: var(--sun-400); font-weight: 800; }

/* ===== Hero slider ===== */
.slider { position: relative; background: var(--navy); overflow: hidden; color: var(--white); }
.slides { position: relative; display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center;
  min-height: clamp(540px, 78vh, 680px); opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0.7s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 12, 60, 0.92) 0%, rgba(20, 12, 60, 0.75) 45%, rgba(20, 12, 60, 0.15) 100%);
}
.slide-content { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 88px; }
.slide-content > * { max-width: 600px; }
.slide h1, .slide-title { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 900; line-height: 1.12; margin: 0 0 0.4em; }
.slide-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 800; color: var(--brand-100); margin-bottom: 14px; }
.slide-kicker span { background: var(--sun-400); color: var(--brand-900); padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.slide-text { font-size: 1.12rem; color: #dfe6ff; }
.slide .btn-sun { font-size: 1.02rem; }
@media (max-width: 760px) {
  .slide { flex-direction: column; align-items: stretch; min-height: 0; }
  .slide-img { position: relative; inset: auto; height: 250px; flex: none; }
  .slide::after { inset: 0 0 auto 0; height: 250px; background: linear-gradient(180deg, transparent 55%, rgba(34, 16, 79, 0.9)); }
  .slide-content { padding-top: 22px; padding-bottom: 64px; }
  .slider-dots { bottom: 22px; }
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.18); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px;
}
.slider-arrow:hover { background: rgba(255, 255, 255, 0.32); }
.slider-arrow.prev { left: 14px; } .slider-arrow.next { right: 14px; }
@media (max-width: 760px) { .slider-arrow { display: none; } }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: width 0.3s, background 0.3s; }
.slider-dots button[aria-current="true"] { width: 32px; background: var(--sun-400); }

/* Upcoming: three cards */
@media (min-width: 860px) { .upcoming { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .upcoming { grid-template-columns: repeat(3, 1fr); } }
.up-card-open { border-top-color: var(--sun-500); }
.up-card-open .up-date { background: #fff6dc; }
.up-card-open .up-kind { color: #b7790a; }
.up-date span { text-transform: uppercase; }
.up-card button.btn { font-family: inherit; }

/* ToT dialog */
.tot-dialog { border: 0; padding: 0; background: transparent; width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); }
.tot-dialog::backdrop { background: rgba(13, 10, 40, 0.6); }
.tot-form { max-height: calc(100vh - 24px); overflow-y: auto; }
.tot-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.tot-head h2 { font-size: 1.5rem; margin: 0; }
.tot-close { border: 0; background: var(--bg); width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); flex: none; }
