/* ==========================================================================
   CDSU Brand Kit — Executive Director–approved palette (Nov 2026)
   Royal navy carries the brand; gold is the accent for calls to action, the
   active menu item, numbers and icons on navy. Red is used only for form errors.
   ========================================================================== */
:root {
  --ink: #141B3A;        /* body text */
  --navy: #0B1F54;       /* headings, brand text */
  --navy-deep: #0A1A42;  /* hero, footer */
  --blue: #1E4E91;       /* links, hero glow */
  --gold: #E9B30C;       /* primary buttons & accents */
  --gold-dark: #D09D05;
  --tint: #EBEFFA;       /* icon circles, soft panels */
  --surface: #F3F5F9;
  --white: #FFFFFF;
  --muted: #4F5A73;
  --line: #E2E7F0;
  --danger: #B42318;     /* form validation only */

  --font-display: "Plus Jakarta Sans", "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Merriweather", Georgia, serif;

  --radius: 14px;
  --shadow: 0 8px 24px rgba(11, 31, 84, 0.08);
  --shadow-lg: 0 18px 44px rgba(11, 31, 84, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--surface); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: inherit; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; }

/* Icons: navy glyph in a pale-blue circle on light backgrounds, gold glyph on navy */
.icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }
.icon-disc {
  width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--navy);
  display: grid; place-items: center; flex-shrink: 0;
}
.icon-disc svg { width: 21px; height: 21px; display: block; }

/* Buttons — gold primary, outlines for everything else */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn-sm { padding: .55em 1.1em; font-size: .88rem; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
:is(.hero, .page-hero, .footer-cta, .section-dark, .donate-band) .btn:focus-visible { outline-color: var(--white); }
/* Trailing arrow, as on the approved design's calls to action */
.btn-go::after {
  content: ""; width: 1.05em; height: 1.05em; background: currentColor; flex-shrink: 0; transition: transform .2s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-go:hover::after { transform: translateX(3px); }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* Pills (section labels) */
.pill {
  display: inline-block; background: var(--tint); color: var(--navy); border: 1px solid #D6DFEE;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; padding: .4em 1.05em; border-radius: 999px; margin-bottom: 1rem;
}
.pill-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: var(--white); }

/* Header & Menu Bar Brand Lockup */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-bottom: 1.5px solid rgba(233,179,12,.6);
  box-shadow: 0 2px 14px rgba(11,31,84,.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding: .6rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: .8rem;
  text-decoration: none; color: var(--ink);
  padding: .25rem .4rem .25rem .25rem; border-radius: 12px;
}
.brand-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 11px; padding: .3rem .45rem; flex-shrink: 0;
}
.brand-logo-wrap img { height: 50px; width: auto; object-fit: contain; }
.brand-divider { width: 4px; height: 44px; border-radius: 99px; flex-shrink: 0; background: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.14; }
.brand-kicker {
  font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}
.brand-title {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 800;
  letter-spacing: -.01em; color: var(--navy);
}
.brand-motto {
  font-family: var(--font-body); font-style: italic; font-size: .76rem;
  color: var(--navy); opacity: .8; margin-top: .14rem;
}
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500;
  font-size: .94rem; position: relative; white-space: nowrap;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 3px; background: var(--gold); border-radius: 3px; transition: width .2s;
}
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { width: 100%; }
.site-nav a.active:not(.btn) { color: var(--navy); font-weight: 700; }
.site-nav .btn { border-radius: 10px; padding: .65em 1.2em; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Home Continuous Automatic Full-Area Slide-Over Hero Carousel */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--navy-deep);
  padding: 0;
  min-height: clamp(400px, 58vh, 520px);
  display: flex; align-items: stretch;
}
.hero-slider-stage {
  position: relative; z-index: 2; width: 100%; display: flex; align-items: stretch;
}
.hero-viewport {
  overflow: hidden; width: 100%; min-height: 100%; position: relative; display: flex; align-items: stretch;
}
.hero-track {
  display: flex; width: 100%; min-height: 100%;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%; width: 100%; min-width: 100%; min-height: clamp(400px, 58vh, 520px);
  position: relative; display: flex; align-items: center; overflow: hidden;
  padding: 0;
}
.hero-slide-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1.03);
}
.hero-slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 88% 40%, rgba(52,98,168,.6) 0%, transparent 58%),
              linear-gradient(96deg, rgba(12,34,84,.93) 0%, rgba(14,42,98,.86) 55%, rgba(26,64,128,.74) 100%);
}
.hero-slide-inner {
  width: min(1140px, 90%); margin: 0 auto;
  padding: clamp(1.8rem, 3.2vw, 2.6rem) 0;
  position: relative; z-index: 2;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: center; width: 100%;
}
.hero h1 { font-size: clamp(1.8rem, 3.1vw, 2.65rem); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; margin-bottom: .45rem; }
.hero .accent { color: var(--gold); }
.motto { font-family: var(--font-body); font-style: italic; font-weight: 300; font-size: 1.08rem; color: rgba(255,255,255,.95); margin-bottom: .6rem; }
.lead { font-size: .96rem; color: rgba(255,255,255,.88); max-width: 56ch; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.hero-ctas .btn { padding: .66rem 1.3rem; font-size: .9rem; }

/* Slide 1: NGO Showcase */
.hero-ngo-card { display: grid; gap: .7rem; }
.hero-ngo-collage { display: grid; grid-template-columns: 1.2fr .8fr; gap: .7rem; }
.hero-ngo-collage img {
  width: 100%; height: 140px; object-fit: cover; object-position: top center;
  border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.3);
}
.hero-ngo-vision {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
  padding: .7rem .95rem; border-radius: 10px;
}
.hero-ngo-vision small {
  display: block; font-family: var(--font-display); font-size: .66rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7);
}
.hero-ngo-vision p { margin: .2rem 0 0; font-size: .82rem; color: #fff; line-height: 1.4; }
.hero-ngo-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.hero-ngo-pillar {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px; padding: .48rem .75rem; font-size: .78rem; font-weight: 500;
  display: flex; align-items: center; gap: .45rem;
}
.hero-ngo-pillar span { color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: .78rem; }

/* Slide 2: Book Showcase — the cover carries the colour */
.hero-book-showcase { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-book-showcase::before {
  content: ""; position: absolute; top: 4%; left: 50%; width: 82%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(201,215,240,.16) 0%, transparent 68%); pointer-events: none;
}
.hero-book-showcase img {
  position: relative; max-height: 320px; width: auto; margin: 0 auto;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.5));
  transition: transform .4s ease;
}
.hero-book-showcase:hover img { transform: translateY(-4px); }
.hero-book-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: 1rem; position: relative; }
.hero-float-badge {
  display: inline-flex; align-items: center; gap: .65rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.88); padding: .5rem 1.1rem .5rem .6rem; border-radius: 999px;
  font-size: .8rem; font-weight: 400; line-height: 1.25;
}
.hero-float-badge svg { width: 30px; height: 30px; padding: 4px; color: var(--gold); flex-shrink: 0; }
.hero-float-badge strong { display: block; color: #fff; font-weight: 700; font-size: .86rem; }

/* Slide 3 & Slide 4: Give visual column slightly wider share & larger copy */
.hero-slide[data-slide="2"] .hero-grid,
.hero-slide[data-slide="3"] .hero-grid {
  grid-template-columns: 1fr 1.05fr; gap: clamp(1.4rem, 2.6vw, 2.2rem);
}
.hero-slide[data-slide="2"] .lead,
.hero-slide[data-slide="3"] .lead { font-size: .97rem; }

/* Slide 3: Testimonials & Endorsements */
.hero-testi-deck { display: grid; gap: .7rem; }
.hero-testi-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(10px);
  border-radius: 14px; padding: .9rem 1.1rem;
  display: grid; grid-template-columns: 58px 1fr; gap: .95rem; align-items: center;
  transition: background .2s ease;
}
.hero-testi-card:hover { background: rgba(255,255,255,.11); }
.hero-testi-card img {
  width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: top;
  border: 2px solid rgba(255,255,255,.75);
}
.hero-testi-card blockquote {
  margin: 0 0 .3rem; font-family: var(--font-serif); font-style: italic;
  font-size: .9rem; line-height: 1.45; color: #fff;
}
.hero-testi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .8rem; }
.hero-testi-meta strong { color: #fff; font-family: var(--font-display); font-size: .85rem; }
.hero-testi-meta span { color: rgba(255,255,255,.7); }

/* Slide 4: 3-Phase CDP & Career Clusters */
.hero-cluster-card { display: grid; gap: .85rem; }
.hero-phase-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.hero-phase-box {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  padding: .85rem .95rem; border-radius: 12px;
}
.hero-phase-box small { display: block; font-size: .72rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.hero-phase-box strong { display: block; font-size: 1.04rem; margin-top: .16rem; color: #fff; }
.hero-phase-box span { display: block; font-size: .78rem; color: rgba(255,255,255,.75); margin-top: .12rem; }
.hero-cluster-heading { display: block; font-family: var(--font-display); font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.85); }
.hero-cluster-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.hero-cluster-chip {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  color: #fff; text-decoration: none; font-size: .86rem; font-weight: 500;
  padding: .6rem .9rem; border-radius: 11px; transition: background .2s, color .2s;
  display: flex; align-items: center; gap: .5rem;
}
.hero-cluster-chip strong { color: var(--gold); font-family: var(--font-display); font-size: .88rem; }
.hero-cluster-chip:hover { background: var(--gold); color: var(--navy); }
.hero-cluster-chip:hover strong { color: var(--navy); }

/* Feature strip & motto line under the home hero */
.hero-strip { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1.8rem 0 1.4rem; }
.feature-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-row li + li { border-left: 1px solid #CDD5E3; }
.feature-row a { display: flex; align-items: center; justify-content: center; gap: 1.1rem; padding: .3rem 1.2rem; text-decoration: none; }
.feature-row .icon-disc { width: 64px; height: 64px; }
.feature-row .icon-disc svg { width: 28px; height: 28px; }
.feature-row strong {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  letter-spacing: .02em; text-transform: uppercase; color: var(--navy);
}
.feature-row small { display: block; font-size: .92rem; color: var(--ink); opacity: .85; margin-top: .1rem; }
.feature-row a:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.motto-line {
  display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin: 1.6rem 0 0;
  font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; letter-spacing: .14em;
  color: var(--navy); text-align: center;
}
.motto-line::before, .motto-line::after { content: ""; flex: 0 1 120px; height: 1.5px; background: var(--navy); opacity: .7; }

/* Subpage Hero Banner */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(ellipse at 88% 30%, rgba(49,85,140,.6) 0%, transparent 55%),
              linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: clamp(2.8rem, 5.5vw, 4.4rem) 0;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%);
  border-radius: 50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 60px rgba(255,255,255,.025); pointer-events: none;
}
.page-hero-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 1;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.015em; margin-bottom: .5rem; color: var(--white); }
.page-hero p { font-size: 1.04rem; color: rgba(255,255,255,.84); max-width: 66ch; margin: 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: .85rem;
  font-family: var(--font-display);
}
.breadcrumb a { color: var(--gold); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* Home Navigation Hub & Rules Grid */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hub-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(233,179,12,.6); }
.hub-card-media { position: relative; height: 185px; overflow: hidden; background: var(--navy); }
.hub-card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .35s ease;
}
.hub-card:hover .hub-card-media img { transform: scale(1.04); }
.hub-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,92,0) 40%, rgba(15,42,92,.55) 100%);
}
.hub-card .hub-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--navy);
  font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; padding: .3rem .75rem; border-radius: 999px;
}
.hub-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.hub-card h3 { font-size: 1.18rem; margin-bottom: .45rem; color: var(--ink); }
.hub-card p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 1rem; }
.hub-card .hub-link {
  font-family: var(--font-display); font-weight: 700; font-size: .86rem;
  color: var(--navy); align-self: flex-start;
  display: inline-flex; align-items: center; gap: .4rem;
  border-bottom: 2px solid var(--gold); padding-bottom: .1rem; transition: color .2s;
}
.hub-card:hover .hub-link { color: var(--blue); }

.rules-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.rule-card {
  background: var(--white); border-radius: var(--radius); padding: 1.4rem;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.rule-card .num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1;
  color: var(--gold); margin-bottom: .8rem;
}
.rule-card h4 { font-size: 1rem; margin-bottom: .4rem; color: var(--ink); }
.rule-card p { color: var(--muted); font-size: .88rem; margin: 0; }

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

/* Official sponsors showcase — each slide wears its sponsor's own colours */
.sponsors-section { padding: clamp(2.6rem, 5vw, 4rem) 0 0; }
.sp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.sp-head h2 { margin: 0; color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.sp-head .pill { margin-bottom: .7rem; }
.sp-controls { display: flex; align-items: center; gap: .5rem; }
.sp-tabs { display: flex; gap: .4rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .3rem; }
.sp-tab {
  position: relative; overflow: hidden; border: 0; background: none; cursor: pointer; border-radius: 999px;
  padding: .55rem 1.1rem; font: 600 .86rem var(--font-display); color: var(--muted); transition: background .2s, color .2s;
}
.sp-tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.sp-progress { position: absolute; left: 14%; right: 14%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.is-timing .sp-tab[aria-selected="true"] .sp-progress { animation: sp-progress var(--sp-dwell, 8000ms) linear forwards; }
@keyframes sp-progress { to { transform: scaleX(1); } }
.sp-tab:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.sp-stage { display: grid; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.sp-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 460px;
  background: var(--sp-bg); color: var(--sp-ink);
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .7s;
}
.sp-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.sp-slide[data-theme="seeta"] {
  --sp-bg: #24245C; --sp-ink: #FFFFFF; --sp-muted: rgba(255,255,255,.78); --sp-accent: #C0A934;
  --sp-chip-bg: rgba(255,255,255,.06); --sp-chip-line: rgba(192,169,52,.5);
  --sp-cta-bg: #C0A934; --sp-cta-ink: #1B1B47;
}
.sp-slide[data-theme="uvtab"] {
  --sp-bg: #FFFFFF; --sp-ink: #14213D; --sp-muted: #566074; --sp-accent: #282C7C;
  --sp-chip-bg: #F2F3FA; --sp-chip-line: #DADCF0;
  --sp-cta-bg: #282C7C; --sp-cta-ink: #FFFFFF;
}
.sp-copy { padding: clamp(1.8rem, 3.4vw, 2.8rem); display: flex; flex-direction: column; }
.sp-kicker { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sp-accent); }
.sp-name { margin: .7rem 0 .35rem; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2; color: var(--sp-accent); }
.sp-name span { color: var(--sp-ink); font-weight: 600; }
.sp-name-logo img { height: clamp(62px, 6.4vw, 84px); width: auto; }
.sp-headline { font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; margin: 0 0 .55rem; color: var(--sp-ink); }
.sp-summary { font-size: .93rem; line-height: 1.6; color: var(--sp-muted); max-width: 54ch; margin-bottom: 1.1rem; }
.sp-label { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sp-muted); margin-bottom: .5rem; }
.sp-chips { list-style: none; padding: 0; margin: 0 0 1.3rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.sp-chips li { font-size: .8rem; font-weight: 500; padding: .32rem .75rem; border-radius: 999px; background: var(--sp-chip-bg); border: 1px solid var(--sp-chip-line); }
.sp-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; }
.sp-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .88rem; }
.sp-facts li { display: flex; align-items: flex-start; gap: .55rem; }
.sp-facts svg { width: 18px; height: 18px; margin-top: .15rem; color: var(--sp-accent); flex-shrink: 0; }
.sp-facts small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sp-muted); }
.sp-cta { background: var(--sp-cta-bg); color: var(--sp-cta-ink); padding: .7rem 1.25rem; font-size: .88rem; }
.sp-cta:hover { filter: brightness(1.08); }
.sp-cta svg { width: 16px; height: 16px; }
.sp-cta:focus-visible { outline-color: var(--sp-accent); }

.sp-visual { position: relative; min-height: 260px; overflow: hidden; }
/* Seeta: campus photograph with a framed lab inset */
.sp-visual-photos .sp-photo-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-visual-photos::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #24245C 0%, rgba(36,36,92,.35) 30%, rgba(36,36,92,0) 60%);
}
.sp-photo-inset {
  position: absolute; z-index: 2; left: 9%; bottom: 9%; width: 34%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 14px; border: 3px solid #C0A934; box-shadow: 0 18px 36px rgba(0,0,0,.35);
}
/* UVTAB: logo on its own blue, with slow-turning gears from the emblem */
.sp-visual-mark { background: radial-gradient(circle at 50% 45%, #353A9A 0%, #282C7C 62%, #1F2266 100%); display: grid; place-items: center; }
.sp-visual-mark img { position: relative; z-index: 1; width: min(58%, 270px); height: auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.3)); }
.sp-gear { position: absolute; color: rgba(255,255,255,.07); }
.sp-gear svg { width: 100%; height: 100%; display: block; }
.sp-gear-a { width: 420px; height: 420px; right: -150px; top: -150px; animation: sp-spin 60s linear infinite; }
.sp-gear-b { width: 260px; height: 260px; left: -90px; bottom: -100px; animation: sp-spin 45s linear infinite reverse; }
@keyframes sp-spin { to { transform: rotate(360deg); } }

/* Sponsor cards — the band under inner page headers and the row in every footer */
.sponsor-band { background: var(--white); border-bottom: 1px solid var(--line); }
.sponsor-band-inner { display: flex; align-items: center; justify-content: space-between; gap: .8rem 2rem; flex-wrap: wrap; padding: 1rem 0; }
.sponsor-band-label { font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sponsor-cards { display: flex; flex-wrap: wrap; gap: .7rem; }
.sponsor-card {
  display: flex; align-items: center; gap: .75rem; padding: .5rem 1.15rem .5rem .75rem; border-radius: 12px;
  background: var(--sb-bg); color: var(--white); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.sponsor-card[data-theme="seeta"] { --sb-bg: #24245C; }
.sponsor-card[data-theme="uvtab"] { --sb-bg: #282C7C; }
.sponsor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sponsor-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sponsor-card img { height: 48px; width: auto; flex-shrink: 0; }
.sponsor-card strong { display: block; font-family: var(--font-display); font-size: .95rem; line-height: 1.25; }
.sponsor-card small { display: block; font-size: .74rem; line-height: 1.3; color: rgba(255,255,255,.82); }
.sponsor-band-footer { background: transparent; border-bottom: 1px solid rgba(255,255,255,.1); }
.sponsor-band-footer .sponsor-band-inner { padding: 1.3rem 0; }
.sponsor-band-footer .sponsor-band-label { color: rgba(255,255,255,.82); }
.sponsor-band-footer .sponsor-card { box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.sponsor-band-footer .sponsor-card:focus-visible { outline-color: var(--white); }
@media (max-width: 620px) {
  .sponsor-cards { width: 100%; }
  .sponsor-card { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sponsor-card { transition: none; }
  .sponsor-card:hover { transform: none; }
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy-deep); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head h2 { color: var(--ink); }
.section-dark .section-head h2 { color: var(--white); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.sub-head { margin: 3rem 0 1.2rem; font-size: 1.35rem; color: var(--ink); }

/* About */
.who-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 1.8rem 2rem; margin-bottom: 1.5rem; }
.who-card h3 { font-size: 1.35rem; color: var(--ink); }
.who-card p { color: var(--muted); margin: 0 0 .8em; }
.who-card p:last-child { margin-bottom: 0; }
.who-motto { font-family: var(--font-serif); color: var(--navy); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vm-card { padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.vm-card p { font-size: 1.06rem; margin: 0; }
.vm-vision { background: var(--navy); color: var(--white); }
.vm-vision h3 { color: var(--gold); }
.vm-mission { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.vm-mission h3 { color: var(--navy); }
.vm-mission p { color: var(--muted); }
.obj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.obj-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.obj-card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--gold); }
.obj-card ul { padding-left: 1.1rem; margin: 0; color: var(--muted); font-size: .92rem; }
.obj-card li + li { margin-top: .4rem; }

/* Programme phases */
.phase-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1rem; }
.phase-tab {
  text-align: left; padding: 1rem 1.2rem; border-radius: var(--radius); border: 1.5px solid var(--line);
  background: var(--white); cursor: pointer; font-family: var(--font-display); color: var(--ink); transition: .2s;
}
.phase-tab small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.phase-tab strong { font-size: 1.04rem; }
.phase-tab[aria-selected="true"] { border-color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold), var(--shadow); }
.phase-panel { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.phase-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.phase-panel li { padding-left: 1.8rem; position: relative; }
.phase-panel li::before { content: "★"; position: absolute; left: 0; color: var(--gold); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.product-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card .num { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-weight: 700; margin-bottom: .8rem; }
.product-card h4 { font-size: 1rem; }
.product-card p { color: var(--muted); font-size: .88rem; flex: 1; }

/* Upcoming national seminar — home teaser */
.event-band { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.event-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.4rem 1.6rem;
}
.event-date {
  width: 98px; text-align: center; background: var(--navy); color: #fff; border-radius: 12px;
  padding: .75rem .5rem; font-family: var(--font-display); line-height: 1.1;
}
.event-date span { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.event-date strong { display: block; font-size: 1.4rem; font-weight: 800; margin: .22rem 0; }
.event-kicker { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.event-body h3 { font-size: 1.18rem; margin: .25rem 0 .6rem; color: var(--ink); }
.event-body h3 span { font-weight: 500; color: var(--muted); }
.event-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .88rem; color: var(--muted); }
.event-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.event-facts svg { width: 17px; height: 17px; color: var(--navy); flex-shrink: 0; }
.event-actions { display: flex; flex-direction: column; gap: .5rem; }

/* Upcoming national seminar — programme page details */
.seminar-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.seminar-fact {
  display: flex; align-items: center; gap: .9rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.2rem;
}
.seminar-fact small { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.seminar-fact strong { display: block; font-family: var(--font-display); color: var(--ink); line-height: 1.3; }
.fee-note { font-style: italic; font-size: .78rem; color: var(--muted); }
a.fee-note { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 2px; }
a.fee-note:hover { color: var(--navy); }
.seminar-fact .fee-note { display: block; margin-top: .15rem; }
.seminar-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; }
.seminar-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem 2rem; }
.seminar-panel h3 {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--navy);
  margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line);
}
.seminar-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem; color: var(--muted); font-size: .93rem; }
.seminar-list li { position: relative; padding-left: 1.6rem; }
.seminar-list li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.seminar-objectives { counter-reset: obj; }
.seminar-objectives li { counter-increment: obj; padding-left: 2.1rem; }
.seminar-objectives li::before {
  content: counter(obj, decimal-leading-zero); top: .05em; left: 0; width: auto; height: auto; background: none;
  font-family: var(--font-display); font-weight: 800; font-size: .82rem; color: var(--navy); opacity: .45;
}
.seminar-topics { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.seminar-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; }
.seminar-features li { display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--ink); line-height: 1.4; }
.seminar-features .icon-disc { width: 40px; height: 40px; }
.seminar-features .icon-disc svg { width: 19px; height: 19px; }
.speaker { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.speaker:first-child { padding-top: 0; border-top: 0; }
.speaker small { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .3rem; }
.speaker strong { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); }
.speaker span { display: block; font-size: .86rem; color: var(--muted); }
.speaker em { display: block; margin-top: .6rem; font-family: var(--font-serif); font-size: .92rem; line-height: 1.5; color: var(--navy); }
.seminar-note { font-size: .85rem; color: var(--muted); background: var(--tint); border-radius: 10px; padding: .8rem 1rem; margin: .4rem 0 1.2rem; }
.seminar-ctas { display: grid; gap: .6rem; }
.seminar-closing { text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; color: var(--navy); margin: 2.2rem 0 0; }

/* Member account */
.page-hero-slim { padding: clamp(2rem, 4vw, 2.8rem) 0; }
.acct-section { padding-top: clamp(2rem, 4vw, 3rem); }
.acct-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1.8rem; }
.acct-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .9rem; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem; align-items: start; max-width: 980px; margin: 0 auto; }
.auth-tabs { display: flex; gap: .3rem; background: var(--surface); border-radius: 999px; padding: .3rem; margin-bottom: 1.2rem; }
.auth-tabs button { flex: 1; border: 0; background: none; border-radius: 999px; padding: .6rem; font: 600 .9rem var(--font-display); color: var(--muted); cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.auth-note { background: var(--tint); border-left: 3px solid var(--gold); padding: .7rem .9rem; border-radius: 8px; font-size: .9rem; }
.auth-aside { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.auth-aside h3 { color: var(--gold); font-size: 1.05rem; }
.auth-aside ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .7rem; color: rgba(255,255,255,.85); font-size: .93rem; }
.auth-aside li::marker { color: var(--gold); }
.auth-aside strong { color: #fff; }
.link-btn { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; justify-self: start; }
.form .check { display: flex; align-items: flex-start; gap: .55rem; font-size: .86rem; color: var(--muted); }
.form .check input { margin-top: .2rem; }
.acct-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.acct-head h2 { margin: 0; color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.acct-head p { margin: .2rem 0 0; }
.acct-head .pill { margin-bottom: .6rem; }
.acct-head-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.acct-wide { grid-column: 1 / -1; }
.acct-book { border-top: 3px solid var(--gold); }
.book-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.book-row img { filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); flex-shrink: 0; }
.progress { height: 8px; background: var(--tint); border-radius: 99px; overflow: hidden; margin: .6rem 0 .3rem; }
.progress span { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.serial-input { font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.acct-list { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .6rem; }
.acct-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; }
.acct-list small { display: block; color: var(--muted); font-size: .8rem; }
.chip-status { display: inline-block; white-space: nowrap; font-size: .74rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: var(--tint); color: var(--navy); }
.chip-status.is-pending { background: #FFF4D6; color: #7A5A00; }
.chip-status.is-confirmed, .chip-status.is-active, .chip-status.is-redeemed { background: #E3F4E6; color: #1E6B34; }
.chip-status.is-rejected, .chip-status.is-revoked, .chip-status.is-cancelled { background: #FBE7E5; color: #9B2C20; }
.table-wrap { overflow-x: auto; }
.acct-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.acct-table th, .acct-table td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.acct-table th { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); }

/* Terms & Conditions */
.terms-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2.5rem; align-items: start; }
.terms-toc {
  position: sticky; top: 104px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.4rem;
}
.terms-toc small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.terms-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .9rem; }
.terms-toc li::marker { color: var(--gold); font-weight: 700; }
.terms-toc a { color: var(--navy); text-decoration: none; }
.terms-toc a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.terms-updated { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.terms-body { display: grid; gap: 1.2rem; min-width: 0; }
.terms-summary { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.terms-summary h2 { font-size: 1.05rem; color: var(--gold); margin-bottom: .7rem; }
.terms-summary ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .93rem; color: rgba(255,255,255,.9); }
.terms-summary li::marker { color: var(--gold); }
.terms-section {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 2rem; scroll-margin-top: 100px;
}
.terms-section h2 { display: flex; align-items: baseline; gap: .7rem; font-size: 1.3rem; color: var(--navy); margin-bottom: .9rem; }
.terms-section h2 span { font-size: .95rem; font-weight: 800; color: var(--gold); }
.terms-section h3 { font-size: 1rem; color: var(--navy); margin: 1.3rem 0 .5rem; }
.terms-section p, .terms-section li { color: var(--muted); font-size: .95rem; }
.terms-section ul { padding-left: 1.2rem; margin: 0 0 .6rem; display: grid; gap: .45rem; }
.terms-section li strong, .terms-section p strong { color: var(--ink); }
.terms-table-wrap { overflow-x: auto; margin: .4rem 0 1rem; }
.terms-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.terms-table th, .terms-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms-table thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.terms-table tbody th { color: var(--navy); white-space: nowrap; }
.terms-table td { color: var(--muted); }

/* Book */
.book-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: center; }
.book-cover img { border-radius: 8px; box-shadow: var(--shadow-lg); }
.book-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; }
.book-meta dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.book-meta dd { margin: 0; font-weight: 600; }
.note { background: var(--tint); border-left: 3px solid var(--navy); padding: .8rem 1rem; border-radius: 6px; font-size: .92rem; }
.endorse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3.5rem; }
.endorse-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.endorse-card blockquote { font-family: var(--font-serif); font-style: italic; margin: 0 0 1.2rem; font-size: .95rem; flex: 1; position: relative; padding-top: 1.4rem; color: var(--ink); }
.endorse-card blockquote::before { content: "“"; position: absolute; top: -.6rem; left: 0; font-size: 3rem; color: var(--gold); line-height: 1; }
.endorser { display: flex; align-items: center; gap: .8rem; }
.endorser img, .endorser .avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.endorser .avatar { background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.endorser strong { display: block; font-family: var(--font-display); }
.endorser small { color: var(--muted); font-size: .8rem; }

.accordion { display: grid; gap: .6rem; }
.acc-item { background: var(--white); border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.acc-btn .ch { font-family: var(--font-display); font-weight: 800; color: var(--navy); min-width: 3.2rem; }
.acc-btn .t { flex: 1; font-weight: 600; }
.acc-btn .chev { transition: transform .2s; color: var(--muted); }
.acc-item.open .chev { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 1.2rem 1.2rem 5.4rem; color: var(--muted); font-size: .93rem; }
.acc-item.open .acc-body { display: block; }
.acc-body ul { padding-left: 1.1rem; }

/* Tools */
.tools-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; }
.tool-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem; }
.tool-card > p { opacity: .8; }
/* minmax(0, 1fr) stops a dropdown's longest option from pushing fields wider than the form on phones */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; font-size: .88rem; font-weight: 500; }
.form input, .form select, .form textarea {
  font: inherit; padding: .7rem .9rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: inherit;
}
.form select option { color: var(--ink); }
.form-light input, .form-light select, .form-light textarea { border-color: var(--line); background: var(--white); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.section-dark .form input:focus, .section-dark .form select:focus, .section-dark .form textarea:focus { outline-color: var(--white); }
.form .invalid { border-color: var(--danger) !important; }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.form-msg { min-height: 1.2em; font-size: .88rem; margin: 0; }

.quiz-step h4 { font-size: 1rem; margin: 1.2rem 0 .6rem; color: var(--gold); }
.quiz-step .hint { font-size: .82rem; opacity: .7; margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: transparent; color: inherit; cursor: pointer; font: inherit; font-size: .88rem;
}
.chip[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.chip[data-level="1"] { background: rgba(233,179,12,.25); border-color: var(--gold); }
.chip[data-level="2"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; }
.quiz-progress { height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; margin-top: 1rem; }
.quiz-progress span { display: block; height: 100%; background: var(--gold); border-radius: 4px; transition: width .3s; }
.result-card { background: var(--white); color: var(--ink); border-radius: 10px; padding: 1.2rem; margin-top: 1rem; }
.result-card .code { display: inline-block; background: var(--navy); color: #fff; border-radius: 6px; padding: 0 .5em; font-weight: 700; margin-right: .4rem; }
.result-card p { font-size: .9rem; margin: .4rem 0; }
.bars { display: grid; gap: .4rem; margin-top: 1rem; }
.bar { display: grid; grid-template-columns: 9rem 1fr 2rem; gap: .5rem; align-items: center; font-size: .8rem; }
.bar .track { height: 8px; background: rgba(255,255,255,.15); border-radius: 4px; }
.bar .track span { display: block; height: 100%; background: var(--gold); border-radius: 4px; }

/* Stories */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.story-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.story-card img { height: 300px; width: 100%; object-fit: cover; object-position: top; }
.story-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.story-card .cluster { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.story-card h3 { margin-top: .4rem; color: var(--ink); }
.story-card .who { font-weight: 600; font-size: .9rem; }
.story-card .who small { display: block; color: var(--muted); font-weight: 400; }
.story-card blockquote { font-family: var(--font-serif); font-style: italic; font-size: .9rem; color: var(--muted); margin: 1rem 0; flex: 1; }
.story-full { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; }
.story-full img { border-radius: 10px; width: 100%; object-fit: cover; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.badges span { background: var(--tint); color: var(--navy); padding: .25em .7em; border-radius: 999px; font-size: .78rem; font-weight: 600; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-btn { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; font: inherit; font-size: .9rem; }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; border: 0; padding: 0; background: var(--navy); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .cap { position: absolute; inset: auto 0 0 0; padding: 1rem; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(10,29,66,.85)); font-size: .88rem; font-weight: 600; }

/* Tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tier-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.tier-card.featured { border: 2px solid var(--gold); }
.tier-card.featured::before { content: "Popular"; position: absolute; top: -11px; right: 18px; background: var(--gold); color: var(--navy); font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: .25em .85em; border-radius: 999px; text-transform: uppercase; }
.tier-card .badge { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tier-card .price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: .4rem 0; }
.tier-card .aud { font-size: .85rem; color: var(--blue); font-weight: 600; }
.tier-card ul { padding-left: 1.1rem; color: var(--muted); font-size: .9rem; flex: 1; }
.donate-band {
  margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2rem 2.4rem; border-radius: var(--radius); color: #fff;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
}
.donate-band h3 { color: #fff; }
.donate-band p { opacity: .85; margin: 0; }

/* Authors */
.author-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.author-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.author-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: #e9ecf2; }
.author-card .body { padding: 1rem; }
.author-card h4 { font-size: .98rem; margin-bottom: .2rem; color: var(--ink); }
.author-card .role { font-size: .8rem; color: var(--blue); font-weight: 600; }
.author-card details { margin-top: .5rem; font-size: .82rem; color: var(--muted); }
.author-card summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.review-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.review-list li { background: var(--white); padding: .9rem 1rem; border-radius: 10px; border: 1px solid var(--line); border-left: 3px solid var(--gold); font-size: .9rem; }
.review-list small { display: block; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-grid > * { min-width: 0; } /* let the columns shrink below their longest line on small phones */
.contact-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-list li > div { min-width: 0; overflow-wrap: anywhere; }
.contact-list .ico {
  width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--navy);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-list .ico svg { width: 20px; height: 20px; display: block; }
.contact-list strong { display: block; font-family: var(--font-display); }
.contact-list a { color: var(--ink); white-space: nowrap; } /* keep each phone number on one line */

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); }
.footer-cta {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 2.2rem 0;
}
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-cta h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .25rem; }
.footer-cta p { color: rgba(255,255,255,.8); margin: 0; font-size: .95rem; max-width: 60ch; }
.footer-cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr .95fr 1fr 1.35fr; gap: 2.2rem;
  padding: 3.2rem 0 2.4rem;
}
.footer-brand-head { display: flex; align-items: center; gap: .85rem; margin-bottom: .9rem; }
.footer-logo { background: #fff; border-radius: 12px; padding: .45rem .6rem; width: 74px; flex-shrink: 0; }
.footer-brand-title strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--white); }
.footer-brand-title small { display: block; color: rgba(255,255,255,.65); font-size: .78rem; font-weight: 500; }
.motto-sm { font-family: var(--font-serif); font-style: italic; color: var(--gold); margin: .6rem 0; font-size: .95rem; }
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.68); line-height: 1.55; margin-bottom: .9rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.footer-badge {
  display: inline-block; font-size: .74rem; font-weight: 600;
  padding: .25rem .65rem; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85);
}
.site-footer h4 {
  position: relative; color: var(--white); font-size: .82rem; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 1rem; padding-bottom: .65rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 2px; background: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a {
  display: inline-flex; align-items: center; gap: .45rem;
  color: rgba(255,255,255,.78); text-decoration: none; font-size: .9rem;
  transition: color .18s, transform .18s;
}
.footer-links a::before { content: "›"; color: var(--gold); font-weight: 700; font-size: 1.05rem; line-height: 1; }
.footer-links a:hover { color: var(--gold); transform: translateX(3px); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .8rem; font-size: .88rem; }
.footer-contact-list .f-ico {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: var(--gold);
  display: grid; place-items: center; flex-shrink: 0;
}
.footer-contact-list .f-ico svg { width: 16px; height: 16px; display: block; }
.footer-contact-list strong { display: block; color: var(--white); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-contact-list a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-contact-list a:hover { color: var(--white); text-decoration: underline; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 1rem; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem;
  color: rgba(255,255,255,.62);
}
.footer-base a { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-base a:hover { text-decoration: underline; }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10,29,66,.6); display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius); padding: 2rem; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); color: var(--ink); }
.modal-wide { width: min(960px, 100%); }
.modal-close { position: absolute; top: .6rem; right: .8rem; border: 0; background: none; font-size: 2rem; cursor: pointer; line-height: 1; color: var(--muted); }
.pay-summary { background: var(--tint); padding: .8rem 1rem; border-radius: 8px; font-weight: 600; }
.pay-tabs { display: flex; gap: .4rem; margin: 1rem 0; border-bottom: 1px solid var(--line); }
.pay-tabs button { padding: .6rem 1rem; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); }
.pay-tabs button.active { color: var(--navy); border-color: var(--navy); }
.kv { display: grid; gap: .6rem; }
.kv-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 8px; }
.kv-row small { display: block; color: var(--muted); font-size: .75rem; }
.kv-row strong { font-family: var(--font-display); }
.copy-btn { border: 1px solid var(--navy); color: var(--navy); background: none; border-radius: 6px; padding: .3rem .7rem; cursor: pointer; font-size: .8rem; font-weight: 600; }
.copy-btn:hover { background: var(--navy); color: #fff; }
/* Mobile money keeps a thin network-colour edge so payers recognise MTN and Airtel at a glance */
.momo-card { padding: 1rem; border-radius: 10px; border: 1px solid var(--line); margin-bottom: .7rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.momo-card .tag { font-size: .75rem; background: var(--tint); padding: .2em .7em; border-radius: 999px; color: var(--muted); }
.momo-mtn { border-left: 4px solid #FFCB05; }
.momo-airtel { border-left: 4px solid #E40000; }
.momo-card.momo-live { display: block; }
.momo-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.momo-top .tag { white-space: nowrap; }
.momo-code { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: .14em; line-height: 1.2; margin: .3rem 0 .5rem; color: var(--ink); }
.momo-steps { margin: 0 0 .8rem; padding-left: 1.2rem; font-size: .86rem; color: var(--muted); }
.momo-steps li { margin-bottom: .15rem; }
.momo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.momo-dial { background: var(--navy); color: var(--white); }
.momo-dial:hover { background: var(--blue); }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 8px; }

/* Payment confirmation form inside the payment pop-up */
#pay-confirm { display: block; margin-top: 1.2rem; }
.pay-form { border-top: 1px solid var(--line); padding-top: 1.2rem; gap: .8rem; }
.pay-form h4 { margin: 0; font-size: 1.02rem; color: var(--navy); }
.pay-form > p.small { margin: -.4rem 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; align-items: start; }
.pay-form .btn { justify-self: start; }
.pay-alt { margin: 0; }
.pay-done { border-top: 1px solid var(--line); padding-top: 1.4rem; text-align: center; display: grid; justify-items: center; gap: .3rem; }
.pay-done h4 { color: var(--navy); margin: .4rem 0 .2rem; }
.pay-done p { margin: 0 0 .4rem; }
.pay-done-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.pay-done-icon svg { width: 26px; height: 26px; }
.seats-left { font-weight: 700; color: var(--navy); }
.access-steps { margin: 0 0 1.4rem; padding-left: 1.3rem; display: grid; gap: .55rem; color: rgba(255,255,255,.85); }
.access-steps li::marker { color: var(--gold); font-weight: 700; }
.access-steps strong { color: #fff; }
.seminar-fact .seats-left { display: block; font-size: .78rem; margin-top: .15rem; color: var(--blue); }
.seats-left.is-full { color: var(--danger); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--navy-deep); color: #fff; padding: .8rem 1.4rem; border-radius: 999px; z-index: 200; transition: transform .3s; font-size: .9rem; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* Reveal on scroll */
.reveal { opacity: 1; transform: none; transition: opacity .4s ease-out, transform .4s ease-out; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .sp-gear { animation: none !important; }
  .sp-slide, .sp-slide.is-active { transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1240px) {
  .brand-motto { display: none; }
  .site-nav { gap: .95rem; }
  .site-nav a:not(.btn) { font-size: .9rem; }
}
@media (max-width: 1080px) {
  .product-grid, .rules-grid { grid-template-columns: repeat(3, 1fr); }
  .author-grid { grid-template-columns: repeat(3, 1fr); }
  .obj-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-motto { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); box-shadow: var(--shadow); border-bottom: 1px solid var(--line); padding: .5rem 4%; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin: .8rem 0; }
  .hero, .hero-slide { min-height: auto; }
  /* slides share the tallest slide's height; start copy at the top rather than floating mid-way */
  .hero-slide { align-items: flex-start; }
  .hero-slide-inner { padding: 1.8rem 0; }
  .hero-grid, .hero-slide[data-slide="2"] .hero-grid, .hero-slide[data-slide="3"] .hero-grid, .book-grid, .tools-grid, .contact-grid, .story-full, .page-hero-inner { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; min-height: auto; gap: 1.4rem; }
  .hero-book-showcase { align-self: center; }
  .hero-book-showcase img { max-height: 240px; }
  .story-grid, .tier-grid, .endorse-grid, .gallery-grid, .review-list, .hub-grid, .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .phase-tabs { grid-template-columns: 1fr; }
  .seminar-facts { grid-template-columns: repeat(2, 1fr); }
  .feature-row a { justify-content: flex-start; padding: .3rem .9rem; gap: .8rem; }
  .feature-row .icon-disc { width: 52px; height: 52px; }
  .feature-row strong { font-size: .86rem; }
  .sp-slide { grid-template-columns: 1fr; min-height: 0; }
  .sp-visual { order: -1; min-height: 230px; }
  .sp-visual-photos::before { background: linear-gradient(0deg, #24245C 0%, rgba(36,36,92,0) 55%); }
  .sp-photo-inset { width: 26%; left: auto; right: 6%; bottom: 8%; }
  .sp-visual-mark img { width: min(40%, 190px); }
  .seminar-grid { grid-template-columns: 1fr; }
  .terms-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .auth-wrap, .acct-grid { grid-template-columns: 1fr; }
  .terms-toc { position: static; }
  .event-card { grid-template-columns: auto 1fr; }
  .event-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .donate-band, .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .brand-motto { display: none; }
  .brand-title { font-size: .95rem; }
  .brand-kicker { font-size: .62rem; }
  .brand-logo-wrap img { height: 42px; }
  .vm-grid, .obj-grid, .product-grid, .story-grid, .tier-grid, .endorse-grid, .gallery-grid, .review-list, .footer-grid, .hub-grid, .rules-grid, .hero-ngo-collage, .hero-ngo-pillars, .hero-phase-mini, .hero-cluster-chips { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: repeat(2, 1fr); }
  .acc-body { padding-left: 1.2rem; }
  .bar { grid-template-columns: 6.5rem 1fr 2rem; }
  .feature-row { grid-template-columns: 1fr; gap: .9rem; }
  .feature-row li + li { border-left: 0; }
  .motto-line { font-size: .9rem; letter-spacing: .06em; gap: .8rem; }
  .motto-line::before, .motto-line::after { flex-basis: 28px; }
  /* join.html sets these paddings inline; trim the nested padding so merchant cards have room */
  #donate-section { padding: 1.25rem .9rem !important; }
  #donate-section .contact-grid > div { padding: 1.1rem !important; }
  .who-card { padding: 1.3rem 1.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .terms-section, .terms-summary { padding: 1.3rem 1.2rem; }
  .terms-table tbody th { white-space: normal; }
  .seminar-facts, .seminar-topics, .seminar-features { grid-template-columns: 1fr; }
  .sp-head { align-items: flex-start; }
  .sp-controls { width: 100%; }
  .sp-tabs { flex: 1; }
  .sp-tab { flex: 1; padding: .55rem .6rem; }
  .sp-stage { border-radius: 16px; }
  .sp-foot { flex-direction: column; align-items: flex-start; }
  .seminar-panel { padding: 1.4rem 1.2rem; }
  .event-card { grid-template-columns: 1fr; padding: 1.2rem; gap: 1rem; }
  .event-date { display: flex; align-items: baseline; gap: .5rem; width: auto; justify-self: start; padding: .5rem .9rem; }
  .event-date strong { font-size: 1.1rem; margin: 0; }
}
