/* Inter (SIL OFL 1.1, rsms/inter), self-hosted variable font: one file per subset covers every weight.
   latin-ext carries the Hausa hooked letters (ɓ ɗ ƙ ƴ) and is fetched only when they appear. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(vendor/inter/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(vendor/inter/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* CloudKlass e-Tour: collection home and coming-soon pages (shared, content-hashed at build). */
:root {
  color-scheme: light;
  --bg: #f8fafc; --surface: #ffffff; --sunk: #f1f5f9; --ink: #0f172a; --text: #1e293b; --muted: #64748b; --line: #e2e8f0;
  --accent: #b4432a; --accent-strong: #8a2f1b; --accent-50: #fbeee9; --ta: #2563eb; --ta-50: #eff6ff; --navbg: rgb(255 255 255 / .85);
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .08);
  --f: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #0b111c; --surface: #111827; --sunk: #162033; --ink: #f1f5f9; --text: #d9e0ea; --muted: #94a3b8; --line: #243049;
  --accent: #e2805f; --accent-strong: #f3a88e; --accent-50: #2d1a14; --ta: #93c5fd; --ta-50: #12213d; --navbg: rgb(17 24 39 / .85);
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 30px rgb(0 0 0 / .35);
} }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b111c; --surface: #111827; --sunk: #162033; --ink: #f1f5f9; --text: #d9e0ea; --muted: #94a3b8; --line: #243049;
  --accent: #e2805f; --accent-strong: #f3a88e; --accent-50: #2d1a14; --ta: #93c5fd; --ta-50: #12213d; --navbg: rgb(17 24 39 / .85);
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 30px rgb(0 0 0 / .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.ck-nav { position: sticky; top: 0; z-index: 40; background: var(--navbg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.ck-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.ck-brandgroup { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ck-brand { font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.ck-sub { display: flex; align-items: center; gap: 6px; padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ck-sub img { height: 16px; width: auto; opacity: .7; }
.ck-sub:hover { color: var(--ta); }
.ck-links { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 500; }
.ck-links a { color: var(--muted); text-decoration: none; }
.ck-links a:hover { color: var(--ta); }
header.hero { padding: 48px 0 28px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 10px 0 12px; font-size: clamp(34px, 6vw, 58px); line-height: 1.02; letter-spacing: -.025em; font-weight: 800; color: var(--ink); text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 18px; color: var(--text); max-width: 62ch; margin: 0 0 10px; }
.sub { color: var(--muted); max-width: 70ch; margin: 0; }
.themes { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.theme { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; }
.theme.live { box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.theme.live:hover { transform: translateY(-2px); border-color: var(--accent); }
.theme img, .theme .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--sunk); }
.theme .ph { background: repeating-linear-gradient(135deg, var(--sunk) 0 12px, var(--bg) 12px 24px); }
.theme .in { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kick { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.kick.soon { color: var(--muted); }
.theme h2 { margin: 0; font-size: 24px; letter-spacing: -.01em; color: var(--ink); }
.loc { font-size: 14px; font-weight: 600; color: var(--muted); }
.theme p { margin: 0; color: var(--text); }
.planned p, .planned h2 { color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.go { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--accent-strong); }
.teachers { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 18px; align-items: center; background: var(--ta-50); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 8px 0 28px; }
.teachers h2 { margin: 0 0 4px; font-size: 20px; color: var(--ta); }
.teachers p { margin: 0; }
.btn { display: inline-block; background: var(--ta); color: #fff; font-weight: 700; text-decoration: none; padding: 10px 16px; border-radius: 10px; white-space: nowrap; }
:root[data-theme="dark"] .btn { color: #0b111c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #0b111c; } }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
.how div { border-top: 3px solid var(--accent); padding-top: 10px; }
.how h3 { margin: 0 0 4px; font-size: 16px; color: var(--ink); }
.how p { margin: 0; font-size: 14.5px; color: var(--muted); }
.ck-footer { background: var(--sunk); border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 13px; color: var(--muted); }
.ck-footer p { margin: 4px 0; max-width: 90ch; }
.ck-footrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ck-footbrand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.ck-footbrand img { height: 28px; width: auto; opacity: .6; }
.ck-footlinks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.ck-footlinks a { color: var(--muted); text-decoration: none; }
.ck-footlinks a:hover { color: var(--ta); }
/* the CloudKlass logo PNG has an opaque off-white ground: on dark surfaces show it as a small light tile */
:root[data-theme="dark"] :is(.ck-sub, .ck-footbrand) img { background: #f8fafa; border-radius: 4px; padding: 1px; opacity: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.ck-sub, .ck-footbrand) img { background: #f8fafa; border-radius: 4px; padding: 1px; opacity: 1; } }
@media (max-width: 700px) {
  header.hero { padding: 28px 0 16px; }
  .teachers, .how { grid-template-columns: 1fr; }
  .ck-links a.hide { display: none; }
  .ck-sub span { display: none; }
  .ck-footrow { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .theme.live { transition: none; } .theme.live:hover { transform: none; } }
