/* ==========================================================================
   UTNM BIM Training — public landing page styles (Phase 1)
   Design tokens: navy #16335A (+#0f2746 dark), gold #F2B01E (decision #59)
   Fonts: Plus Jakarta Sans (display) + Open Sans (body)
   Ported from the Claude Design .jsx; this is the visual source of truth.
   ========================================================================== */

:root {
  --navy:    #16335A;
  --navy-dk: #0f2746;
  --gold:    #F2B01E;
  --gold-dk: #e0a312;
  --ink:     #2a3340;
  --muted:   #5a6573;
  --muted-2: #6b7685;
  --line:    #e8ecf1;
  --paper:   #f6f8fb;
  --eyebrow: #C8901A;
  --ok:      #2faa5e;
  --maxw:    1200px;
}

/* --- reset-ish ----------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.disp { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* skip link for keyboard users */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- shared bits --------------------------------------------------------- */
.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--eyebrow);
}
.eyebrow--gold { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px;
  border-radius: 9px; padding: 13px 24px; text-decoration: none; cursor: pointer;
  border: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--gold  { background: var(--gold); color: var(--navy); }
.btn--gold:hover  { background: var(--gold-dk); transform: translateY(-2px);
                    box-shadow: 0 8px 20px rgba(242,176,30,.35); }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff;
              border: 1px solid rgba(255,255,255,.32); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--navy  { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dk); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

.section-label {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; margin-bottom: 48px;
}
.section-label h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px; font-weight: 800; color: var(--navy); margin: 0;
}
.section-label p { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(22,51,90,.13);
  border-color: #dde3ea;
}

.section { padding: 88px 0; }
.section--paper { background: var(--paper); }
.section--white { background: #fff; }

/* --- header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef1f5;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 9px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 800;
}
.brand__name {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 21px;
  color: var(--navy); line-height: 1;
}
.brand__sub {
  display: block; font-family: 'Open Sans', sans-serif; font-size: 8.5px;
  font-weight: 600; color: #8a94a3; letter-spacing: .14em; margin-top: 2px;
}
.nav__links { display: flex; gap: 28px; align-items: center; }
.navlink {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13.5px; font-weight: 600;
  color: #3a4658; text-decoration: none; transition: color .2s;
}
.navlink:hover, .navlink--active { color: var(--navy); }
.navlink--active { font-weight: 700; }

.lang-toggle {
  display: inline-flex; border: 1px solid #d6dde6; border-radius: 8px; overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12.5px; font-weight: 700;
}
.lang-toggle a {
  border: none; cursor: pointer; padding: 7px 11px; text-decoration: none;
  background: #fff; color: #3a4658;
}
.lang-toggle a.is-active { background: var(--navy); color: #fff; }

/* mobile nav toggle (hidden on desktop) */
.nav__burger { display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--navy); }

/* --- hero ---------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(115deg,#13305A 0%,#1C3F73 55%,#27508C 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1400&q=80') center/cover;
  opacity: .13; mix-blend-mode: luminosity;
}
.hero__ring {
  position: absolute; top: -90px; right: 38%; width: 420px; height: 420px;
  border: 2px solid rgba(242,176,30,.18); border-radius: 50%;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center; padding-top: 78px; padding-bottom: 86px;
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 53px; line-height: 1.06; font-weight: 800; margin: 18px 0 0;
  letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--gold); }
.hero__sub { font-size: 16.5px; line-height: 1.65; color: #cdd8e8; margin: 24px 0 0; max-width: 540px; }
.hero__ctas { display: flex; gap: 14px; margin-top: 34px; align-items: center; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 42px; margin-top: 48px; }
.hero__stat .n { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 30px; color: var(--gold); }
.hero__stat .l { font-size: 12.5px; color: #aebbcf; }

.hero__visual { position: relative; }
.hero__photo {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 26px 60px rgba(0,0,0,.4);
}
.hero__photo img { width: 100%; height: 360px; object-fit: cover; }
.hero__photo-grad { position: absolute; left:0; right:0; bottom:0; height: 120px;
  background: linear-gradient(transparent, rgba(15,29,52,.85)); }
.hero__photo-cap { position: absolute; left: 20px; bottom: 18px; right: 20px; }
.hero__photo-cap .ttl { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 18px; color: #fff; }

.hero__card {
  position: absolute; left: -30px; bottom: -34px; background: #fff; color: var(--navy);
  border-radius: 13px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.28); width: 228px;
}
.hero__card .row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hero__card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.hero__card .tag { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ok); }
.hero__card .date { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px; }
.hero__card .meta { font-size: 12px; color: #7b8694; margin-top: 2px; }

.hero__rating {
  position: absolute; right: -22px; top: 26px; background: var(--gold); color: var(--navy);
  border-radius: 11px; padding: 11px 15px; box-shadow: 0 12px 30px rgba(242,176,30,.4); text-align: center;
}
.hero__rating .score { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 22px; line-height: 1; }
.hero__rating .score small { font-size: 13px; }
.hero__rating .lbl { font-size: 10px; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; margin-top: 3px; }

.trust { position: relative; background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.1); }
.trust__row { display: flex; gap: 46px; align-items: center; justify-content: center; padding: 18px 40px; flex-wrap: wrap; }
.trust__lead { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9fb0c8;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.trust__item { font-size: 15px; font-weight: 700; color: #cdd8e8; font-family: 'Plus Jakarta Sans', sans-serif; }

/* --- why ----------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card { padding: 30px 28px; }
.why-card .ic {
  width: 50px; height: 50px; border-radius: 11px; background: #eef3f9;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  font-size: 24px; margin-bottom: 18px;
}
.why-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.why-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* --- courses ------------------------------------------------------------- */
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.course-card { padding: 22px; display: flex; flex-direction: column; gap: 11px; }
.course-card__top { display: flex; align-items: center; justify-content: space-between; }
.course-card__num {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 13px; color: #fff;
  background: var(--navy); width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.course-card__price {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: .02em; background: #eef3f9; color: #2a4d7a; padding: 4px 10px; border-radius: 6px;
}
.course-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16.5px; font-weight: 700;
  color: var(--navy); margin: 4px 0 0; line-height: 1.25; }
.course-card p { font-size: 13px; color: var(--muted-2); line-height: 1.5; margin: 0; }
.center-cta { text-align: center; margin-top: 40px; }
.empty-note {
  text-align: center; color: var(--muted); font-size: 15px;
  padding: 32px; border: 1px dashed var(--line); border-radius: 13px;
}

/* --- instructors --------------------------------------------------------- */
.inst-card { overflow: hidden; }
.inst-card img { width: 100%; height: 230px; object-fit: cover; }
.inst-card__body { padding: 20px 22px; }
.inst-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; color: var(--navy); margin: 0; }
.inst-card .role { font-size: 13px; font-weight: 600; color: var(--eyebrow); font-family: 'Plus Jakarta Sans', sans-serif; margin: 3px 0 10px; }
.inst-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }

/* --- schedule + pricing -------------------------------------------------- */
.sched { padding: 88px 0; background: var(--navy); color: #fff; }
.sched__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sched h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 34px; font-weight: 800; margin: 14px 0 18px; color: #fff; }
.sched__list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.sched__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px; padding: 16px 20px;
}
.sched__row .mod { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; }
.sched__row .sub { font-size: 12.5px; color: #aebbcf; margin-top: 2px; }
.sched__row .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sched__row .date { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--gold); font-weight: 800; font-size: 15px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11.5px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.pill .d { width: 7px; height: 7px; border-radius: 50%; }
.pill--available { background: rgba(47,170,94,.15); color: #7be0a3; }
.pill--available .d { background: var(--ok); }
.pill--filling   { background: rgba(242,176,30,.16); color: #f6c860; }
.pill--filling .d { background: var(--gold); }
.pill--full      { background: rgba(138,148,163,.18); color: #aab4c2; }
.pill--full .d   { background: #8a94a3; }
.sched__empty { color: #cdd8e8; font-size: 15px; line-height: 1.6;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px; padding: 20px; }

.price-card { background: #fff; color: var(--navy); border-radius: 18px; padding: 38px 36px; box-shadow: 0 24px 56px rgba(0,0,0,.35); }
.price-card .amount { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 4px; }
.price-card .amount .big { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 46px; }
.price-card .amount .per { font-size: 15px; color: #7b8694; }
.price-card .lede { font-size: 13.5px; color: var(--muted-2); margin: 0 0 14px; }
.price-card .note { font-size: 12.5px; color: var(--muted); background: var(--paper);
  border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; margin: 0 0 22px; line-height: 1.5; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price-card li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.price-card li .ck { color: var(--ok); font-weight: 800; }

/* --- testimonials -------------------------------------------------------- */
.testi-card { padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.testi-card .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.testi-card .quote { font-size: 15px; line-height: 1.6; color: #3a4452; margin: 0; font-style: italic; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-card .av { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; }
.testi-card .nm { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); }
.testi-card .rl { font-size: 12.5px; color: #7b8694; }

/* --- faq ----------------------------------------------------------------- */
.faq-wrap { max-width: 820px; }
.faq-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item { padding: 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16.5px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--gold); font-weight: 700; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; padding: 0 28px 24px; }

/* --- CTA ----------------------------------------------------------------- */
.cta { padding: 80px 0; color: #fff; text-align: center;
  background: linear-gradient(120deg,#13305A,#27508C); }
.cta h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 40px; font-weight: 800; margin: 0 0 14px; color: #fff; }
.cta p { font-size: 17px; color: #cdd8e8; margin: 0 0 30px; }
.cta__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-dk); color: #9fb0c8; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand .mark { width: 38px; height: 38px; border-radius: 9px; background: var(--gold);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 800; }
.footer-brand .nm { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 19px; color: #fff; }
.site-footer .tag { font-size: 13.5px; line-height: 1.6; margin: 0; max-width: 280px; }
.footer-col h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer-col .links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-col a { color: inherit; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px;
  font-size: 12.5px; color: #6f7f96; }

/* --- enrol "coming soon" inline banner ----------------------------------- */
.soon-banner {
  background: rgba(242,176,30,.12); border: 1px solid rgba(242,176,30,.35);
  border-radius: 11px; padding: 14px 18px; color: var(--navy);
  font-size: 13.5px; line-height: 1.5; margin: 0 0 22px;
}
.soon-banner strong { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .hero__visual { margin-top: 8px; }
  .hero h1 { font-size: 40px; }
  .hero__card { left: 0; bottom: -28px; }
  .hero__rating { right: 0; }
  .grid-3, .courses-grid { grid-template-columns: 1fr 1fr; }
  .sched__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section, .sched { padding: 64px 0; }
  .section-label h2 { font-size: 30px; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid #eef1f5; padding: 20px 24px;
  }
  .nav__burger { display: inline-flex; }
  .grid-3, .courses-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .section-label h2 { font-size: 26px; }
  .cta h2 { font-size: 30px; }
  .price-card { padding: 28px 24px; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card:hover, .btn:hover { transform: none; }
}

/* ==========================================================================
   Schedule view toggle + calendar (Phase 1 addition)
   Lives inside .sched (navy background), so colours are light-on-navy.
   ========================================================================== */
.sched__toggle {
  display: inline-flex; gap: 0; margin: 6px 0 18px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 9px; overflow: hidden;
}
.sched__toggle-btn {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700;
  padding: 8px 18px; cursor: pointer; border: none; background: transparent;
  color: #cdd8e8; transition: background .2s, color .2s;
}
.sched__toggle-btn.is-active { background: var(--gold); color: var(--navy); }
.sched__toggle-btn:not(.is-active):hover { background: rgba(255,255,255,.08); color: #fff; }

/* calendar shell */
.sched__cal { margin-top: 4px; }
.cal__head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.cal__title { font-size: 20px; font-weight: 800; color: #fff; }
.cal__nav {
  width: 36px; height: 36px; border-radius: 9px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07);
  color: #fff; font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.cal__nav:hover:not(:disabled) { background: rgba(255,255,255,.16); }
.cal__nav:disabled { opacity: .3; cursor: default; }

.cal__grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px;
}
.cal__grid--head { margin-bottom: 6px; gap: 6px; }
.cal__dow {
  text-align: center; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #9fb0c8;
  text-transform: uppercase; padding: 4px 0;
}
.cal__cell {
  min-height: 78px; border-radius: 9px; padding: 6px 7px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  display: flex; flex-direction: column; gap: 4px;
}
.cal__cell--empty { background: transparent; border: none; }
.cal__cell--has { background: rgba(255,255,255,.09); border-color: rgba(242,176,30,.35); }
.cal__cell--today { box-shadow: inset 0 0 0 2px rgba(242,176,30,.65); }
.cal__num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12.5px; font-weight: 700; color: #aebbcf; }
.cal__cell--has .cal__num { color: #fff; }

.cal__ev {
  display: flex; align-items: center; gap: 5px;
  font-size: 10.5px; line-height: 1.2; color: #eaf0f8;
  background: rgba(242,176,30,.14); border-radius: 5px; padding: 3px 5px;
}
.cal__ev-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.cal__ev--full .cal__ev-dot    { background: #8a94a3; }
.cal__ev--filling .cal__ev-dot { background: var(--gold); }
.cal__ev--available .cal__ev-dot { background: var(--ok); }
.cal__ev-name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal__ev-span {
  opacity: .72; font-weight: 600; margin-left: 2px; font-size: 9.5px;
}

@media (max-width: 980px) {
  .cal__cell { min-height: 64px; }
  .cal__ev-name { display: none; }   /* on small screens, dots only to avoid clutter */
}
@media (max-width: 640px) {
  .cal__cell { min-height: 50px; padding: 4px; }
}