/* ==================================================================
   Lilongwe Commercial College: website styles
   Palette from the LCC crest (navy, steel) and the team's red polos.
   ================================================================== */
:root {
  --navy: #0F2744;
  --navy-deep: #0A1B31;
  --navy-2: #173A63;
  --steel: #7FA7CC;
  --steel-soft: #E3ECF5;
  --red: #C8203A;
  --red-deep: #A6172D;
  --red-soft: #FBE7EA;
  --green: #1F8A50;
  --green-soft: #E3F4EA;
  --green-ink: #16623A;
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --line: #DAE1EA;
  --line-dark: rgba(255,255,255,.14);
  --ink: #0F2744;
  --muted: #55647C;
  --on-dark: #E9EFF6;
  --on-dark-muted: #A9BBD0;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.7rem, 1.15rem + 2.3vw, 3rem);
  --fs-hero: clamp(2rem, 1.05rem + 4.5vw, 4.6rem);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 5rem + 3vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Layout rules below set display on these elements, so [hidden] needs to win. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-sm { padding-block: clamp(48px, 3rem + 2vw, 80px); }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: var(--on-dark); }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 2px; flex: none; }
.bg-navy .eyebrow { color: var(--steel); }

.h2 { font-size: var(--fs-xl); font-weight: 750; letter-spacing: -.03em; }
.h3 { font-size: var(--fs-lg); font-weight: 700; }
.lede { font-size: var(--fs-md); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.bg-navy .lede { color: var(--on-dark-muted); }
.muted { color: var(--muted); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head > div { display: grid; gap: 16px; justify-items: start; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* Buttons + links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: .6em 1.05em; font-size: .92rem; }
.bg-navy .btn-ghost, .cta-band .btn-ghost { border-color: var(--on-dark-muted); color: var(--white); }
.bg-navy .btn-ghost:hover, .cta-band .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--red); text-decoration: none; }
.link-arrow svg { width: 17px; height: 17px; flex: none; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Announcement + header ---------------- */
.announce { background: var(--navy-deep); color: var(--on-dark); font-size: var(--fs-sm); }
.announce .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding-block: 10px; text-align: center; }
.announce strong { color: var(--white); font-weight: 600; }
.announce a { color: var(--steel); font-weight: 600; text-decoration: none; white-space: nowrap; }
.announce a:hover { color: var(--white); }
.announce .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(200,32,58,.25); }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,39,68,.35); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: clamp(8px, 2.5vw, 12px); text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: clamp(34px, 9vw, 42px); height: clamp(34px, 9vw, 42px); flex: none; }
.brand-name { font-family: var(--display); font-weight: 750; font-size: clamp(.8rem, .45rem + 2.2vw, 1.05rem); line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; min-width: 0; }
.brand-name small { display: block; font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.nav-links { display: flex; gap: 15px; font-size: .92rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink); padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-phone { font-family: var(--mono); font-size: .82rem; text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav-phone:hover { color: var(--ink); }
.nav-cta .btn { padding: .65em 1.05em; font-size: .92rem; white-space: nowrap; }
.nav-call svg { width: 16px; height: 16px; }
.nav-call:hover svg { transform: none; }
.menu-toggle { display: none; flex: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }
@media (max-width: 1400px) { .brand-name small { display: none; } }
@media (max-width: 1280px) { .nav-phone, .nav-call .call-number { display: none; } }
@media (max-width: 1020px) {
  .nav { gap: 12px; }
  .brand-name { white-space: normal; overflow-wrap: break-word; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { border-top: 1px solid var(--line); background: var(--white); }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu ul { display: grid; padding-block: 8px 20px; }
  .mobile-menu a { display: block; padding: 12px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu a[aria-current="page"] { color: var(--red); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; border-bottom: 0; }
}
@media (max-width: 420px) { .brand-name small { display: none; } }

/* ---------------- Home hero ---------------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(72px, 8vw, 120px); background:
  radial-gradient(1200px 500px at 85% -10%, var(--steel-soft), transparent 60%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero h1 .stop { color: var(--red); }
.hero .lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--fs-sm); color: var(--muted); padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--red); flex: none; }

.hero-visual { position: relative; }
.hero-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4.4; max-width: 100%; box-shadow: 0 40px 80px -48px rgba(15,39,68,.55); background: var(--steel-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }
.hero-badge { position: absolute; top: 18px; right: 18px; left: auto; max-width: calc(100% - 36px); background: rgba(10,27,49,.78); color: var(--white); backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 14px 8px 8px; display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 500; }
.hero-badge img { width: 30px; height: 30px; flex: none; }

.ticket {
  position: absolute; left: clamp(-56px, -3.5vw, -24px); bottom: -44px; width: min(340px, 86%);
  background: var(--white); border-radius: var(--r); padding: 20px 22px;
  box-shadow: 0 30px 60px -28px rgba(15,39,68,.5), 0 0 0 1px rgba(15,39,68,.06);
}
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ticket-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticket-code { font-family: var(--mono); font-size: .85rem; font-weight: 600; color: var(--red); margin-top: 12px; }
.ticket-title { font-family: var(--display); font-size: 1.28rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-top: 4px; }
.ticket-title a { text-decoration: none; }
.ticket-title a:hover { text-decoration: underline; }
.ticket-rule { border: 0; border-top: 2px dashed var(--line); margin: 16px -22px; }
.ticket-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin: 0; }
.ticket-meta dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticket-meta dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; }
.ticket .link-arrow { margin-top: 14px; font-size: .95rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 640px; }
}
@media (max-width: 600px) {
  .ticket { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 12px 0; }
  .hero { padding-bottom: 64px; }
  .ticket-meta { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .rise-2 { animation-delay: .08s; } .rise-3 { animation-delay: .16s; } .rise-4 { animation-delay: .24s; } .rise-5 { animation-delay: .4s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; white-space: nowrap; line-height: 1.3; }
.pill-soon { background: var(--red-soft); color: var(--red-deep); }
.pill-soon::before, .pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live { background: var(--green-soft); color: var(--green-ink); }
.pill-done { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.pill-cancelled { background: var(--paper); color: var(--red-deep); border: 1px solid var(--red-soft); text-decoration: line-through; }
.pill-date { background: var(--steel-soft); color: var(--navy-2); }

/* ---------------- Inner page hero ---------------- */
.page-hero { padding-block: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 64px); background:
  radial-gradient(1000px 420px at 90% -20%, var(--steel-soft), transparent 60%), var(--paper); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero-copy { display: grid; gap: 18px; justify-items: start; }
.page-hero h1 { font-size: clamp(1.8rem, 1.1rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 20ch; }
.page-hero .lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.page-hero-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-media { max-width: 560px; } }

/* ---------------- Logo wall ---------------- */
.logos { background: var(--white); border-block: 1px solid var(--line); padding-block: 34px; }
.logos-inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center; }
.logos-label { font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; }
.logo-list { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.logo-list img { height: 56px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .78; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logo-list img:hover { filter: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; }
  .logo-list { flex-wrap: wrap; gap: 28px 40px; padding-right: 0; }
  .logo-list[aria-hidden="true"] { display: none; }
}
@media (max-width: 760px) { .logos-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; } .logos-label { text-align: center; } }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.partner { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; justify-items: center; text-align: center; font-size: .86rem; color: var(--muted); }
.partner img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------------- Results band ---------------- */
.results { padding-block: clamp(56px, 6vw, 88px); }
.results-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); gap: 32px; align-items: end; }
.results-intro { display: grid; gap: 12px; justify-items: start; }
.results-intro h2 { font-size: var(--fs-lg); font-weight: 700; color: var(--white); }
.stat { border-left: 1px solid var(--line-dark); padding-left: 22px; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-num sup { color: var(--red); font-size: .55em; vertical-align: .5em; margin-left: 2px; }
.stat-label { font-family: var(--mono); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--steel); margin-top: 12px; line-height: 1.45; min-height: 2.9em; }
@media (max-width: 1000px) { .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .results-intro { grid-column: 1 / -1; } }

/* ---------------- Tracks ---------------- */
.tracks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.track {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  text-decoration: none; color: inherit; transition: border-color .2s, transform .25s, box-shadow .25s;
}
.track:hover { border-color: var(--steel); transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(15,39,68,.45); }
.track-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--steel-soft); color: var(--navy-2); display: grid; place-items: center; flex: none; }
.track-icon svg { width: 25px; height: 25px; }
.track h3 { font-size: 1.35rem; font-weight: 700; }
.track p { color: var(--muted); font-size: .98rem; margin-top: 6px; }
.track-courses { display: grid; gap: 8px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line); }
.track-courses li { display: grid; grid-template-columns: 5.6rem 1fr; gap: 10px; font-size: .9rem; line-height: 1.4; }
.track-courses .d { font-family: var(--mono); font-size: .76rem; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.track-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.track-count { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.track-count b { color: var(--ink); font-weight: 600; }
.track .link-arrow { font-size: .95rem; }
@media (max-width: 1000px) { .tracks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tracks-grid { grid-template-columns: minmax(0, 1fr); } .track { padding: 22px; } }

/* ---------------- Timetable ---------------- */
.tt-controls { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover { border-color: var(--navy); }
.chip .n { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip[aria-pressed="true"] .n, .chip[aria-current="true"] .n { color: var(--steel); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--navy); }

.tt { border-top: 2px solid var(--navy); }
.tt-head, .tt-row { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr) 10rem 7.5rem 8.4rem 7.6rem; gap: 20px; align-items: center; }
.tt-head { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tt-month h3 { display: flex; align-items: baseline; gap: 14px; font-size: 1.3rem; font-weight: 700; padding: 30px 16px 12px; }
.tt-month h3 span { font-family: var(--mono); font-size: .76rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.tt-row { padding: 16px; border-bottom: 1px solid var(--line); border-radius: 10px; transition: background-color .15s; }
.tt-row:hover { background: var(--paper); }
.bg-paper .tt-row:hover { background: var(--white); }
.tt-code { font-family: var(--mono); font-size: .84rem; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.tt-title a { display: block; font-weight: 600; line-height: 1.35; text-decoration: none; }
.tt-title a:hover { text-decoration: underline; }
.tt-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 5px; font-size: .84rem; color: var(--muted); }
.tag-laptop { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; background: var(--steel-soft); color: var(--navy-2); padding: 2px 8px; border-radius: 6px; }
.tag-laptop svg { width: 14px; height: 14px; }
.tt-dates { display: grid; gap: 6px; justify-items: start; font-family: var(--mono); font-size: .88rem; font-variant-numeric: tabular-nums; }
.tt-venue { font-size: .95rem; }
.tt-fee { font-family: var(--mono); font-size: .88rem; font-variant-numeric: tabular-nums; }
.tt-action { justify-self: end; }
.btn-row { display: inline-block; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); border-radius: 999px; padding: 7px 16px; font-size: .88rem; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .15s, color .15s; }
.btn-row:hover { background: var(--navy); color: var(--white); }
.tt-row.is-soon .btn-row { background: var(--red); border-color: var(--red); color: var(--white); }
.tt-row.is-soon .btn-row:hover { background: var(--red-deep); border-color: var(--red-deep); }
.tt-row.is-done, .tt-row.is-cancelled { color: var(--muted); }
.tt-row.is-done .tt-code, .tt-row.is-cancelled .tt-code { color: var(--muted); }
.tt-empty { padding: 40px 16px; color: var(--muted); display: grid; gap: 10px; justify-items: start; }
.tt-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; font-size: var(--fs-sm); color: var(--muted); }
.tt-foot a { color: var(--ink); font-weight: 600; }
.venue-ico { display: none; }
@media (max-width: 960px) {
  .tt-head { display: none; }
  .tt-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "code fee" "title title" "dates dates" "venue action"; gap: 10px 16px; padding: 18px 4px; border-radius: 0; }
  .tt-code { grid-area: code; } .tt-title { grid-area: title; } .tt-dates { grid-area: dates; grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; }
  .tt-venue { grid-area: venue; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
  .venue-ico { display: inline; width: 16px; height: 16px; }
  .tt-fee { grid-area: fee; justify-self: end; } .tt-action { grid-area: action; }
  .tt-month h3 { padding-inline: 4px; }
}
.year-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* ---------------- Services / ways to work ---------------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.way { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.way-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel-soft); }
.way-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.way:hover .way-img img { transform: scale(1.04); }
.way-body { display: grid; gap: 12px; padding: 26px 26px 28px; align-content: start; justify-items: start; }
.way-kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.way h3 { font-size: 1.45rem; font-weight: 700; }
.way p { color: var(--muted); }
.way .link-arrow { margin-top: 8px; }
@media (max-width: 960px) { .ways { grid-template-columns: minmax(0, 1fr); max-width: 620px; } }

.service-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block:nth-child(even) .service-media { order: 2; }
.service-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel-soft); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-copy { display: grid; gap: 16px; justify-items: start; }
@media (max-width: 860px) { .service-block { grid-template-columns: minmax(0, 1fr); } .service-block:nth-child(even) .service-media { order: 0; } }

/* ---------------- Process ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.step { position: relative; padding: 30px 28px 6px 0; border-top: 2px solid var(--line); display: grid; gap: 10px; align-content: start; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--red); }
.step-n { font-family: var(--mono); font-size: .82rem; font-weight: 600; color: var(--red); }
.step h3 { font-size: 1.3rem; font-weight: 700; }
.step p { color: var(--muted); font-size: .98rem; max-width: 30ch; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- Why LCC / values ---------------- */
.why { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.why-photo { position: relative; margin: 0; }
.why-photo img { border-radius: var(--r-lg); aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 45% center; width: 100%; }
.why-copy { display: grid; gap: 22px; justify-items: start; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; margin-top: 10px; }
.value h3 { font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.value h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--red); flex: none; }
.value p { color: var(--muted); font-size: .96rem; margin-top: 6px; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cred { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 8px 12px; font-size: .86rem; font-weight: 500; }
.cred svg { width: 16px; height: 16px; color: var(--navy-2); }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } .why-photo img { aspect-ratio: 16 / 11; } }
@media (max-width: 520px) { .values { grid-template-columns: minmax(0, 1fr); } }

.mvv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mvv-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.mvv-card h3 { font-size: 1.4rem; font-weight: 700; }
.mvv-card p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 760px) { .mvv { grid-template-columns: minmax(0, 1fr); } }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.member img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--steel-soft); }
.member div { padding: 16px 18px 20px; display: grid; gap: 4px; }
.member h3 { font-size: 1.1rem; font-weight: 700; }
.member span { color: var(--muted); font-size: .9rem; }

/* ---------------- Testimonials (only shown when enabled in CMS) ---------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; align-content: space-between; margin: 0; }
.quote p { font-family: var(--display); font-size: 1.2rem; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.quote footer { font-size: .92rem; color: var(--muted); }
.quote footer b { display: block; color: var(--ink); }

/* ---------------- Gallery ---------------- */
.mosaic { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 14px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--steel-soft); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figure:nth-child(1) { grid-row: span 2; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.mosaic figcaption, .g-cap { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--white); background: rgba(10,27,49,.72); padding: 5px 10px; border-radius: 6px; line-height: 1.4; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 170px 190px; }
  .mosaic figure:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .mosaic figure:nth-child(4) { grid-column: span 2; }
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.g-item { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--steel-soft); aspect-ratio: 4 / 3; }
.g-item a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-item a:focus-visible { outline: 3px solid var(--steel); outline-offset: -3px; border-radius: var(--r); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,27,49,.88); }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; margin-inline: auto; }
.lightbox p { color: var(--white); text-align: center; margin-top: 12px; font-size: .95rem; }
.lightbox-close { position: absolute; top: -48px; right: 0; background: var(--white); border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; }

/* ---------------- Rich text from the CMS ---------------- */
.prose { max-width: 70ch; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; font-size: 1.35rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--red); }
.prose img { border-radius: var(--r); height: auto; }
.prose span[style*="color"], .prose h2 span[style*="color"] { color: var(--navy-2) !important; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }

/* ---------------- Course detail ---------------- */
.course-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.course-main { display: grid; gap: 36px; }
.course-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.5vw, 30px); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
@media (max-width: 480px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.course-image { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.course-image img { width: 100%; height: auto; }
.other-dates { display: grid; gap: 0; }
.other-dates a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.other-dates a:hover strong { text-decoration: underline; }
.other-dates span { font-family: var(--mono); font-size: .84rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 960px) { .course-layout { grid-template-columns: minmax(0, 1fr); } .course-aside { position: static; } }

/* ---------------- Courses catalogue ---------------- */
.catalogue { display: grid; gap: clamp(40px, 5vw, 64px); }
.cat-track { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cat-head { position: sticky; top: 100px; display: grid; gap: 12px; justify-items: start; }
.cat-head h2 { font-size: var(--fs-lg); font-weight: 750; }
.cat-head p { color: var(--muted); }
.cat-list { border-top: 2px solid var(--navy); }
.cat-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.cat-item h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.cat-item h3 a { text-decoration: none; }
.cat-item h3 a:hover { text-decoration: underline; }
.cat-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .86rem; color: var(--muted); margin-top: 4px; }
.cat-meta .mono { font-family: var(--mono); font-size: .8rem; }
@media (max-width: 860px) { .cat-track { grid-template-columns: minmax(0, 1fr); } .cat-head { position: static; } }
@media (max-width: 520px) { .cat-item { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- Forms ---------------- */
.register { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.register-copy { display: grid; gap: 22px; justify-items: start; }
.bg-navy .register-copy .h2 { color: var(--white); }
.contact-list { display: grid; gap: 14px; margin-top: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--steel); flex: none; margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.bg-navy .contact-list a, .bg-navy .contact-list b { color: var(--white); }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--muted); font-size: .86rem; }
.bg-navy .contact-list small { color: var(--on-dark-muted); }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(15,39,68,.45); border: 1px solid var(--line); }
.bg-navy .form-card { border: 0; box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.form-card h2, .form-card h3 { font-size: 1.4rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: .86rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; background: var(--white); font-size: .98rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--steel-soft); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red-deep); font-size: .84rem; }
.form-card .btn[type="submit"] { width: 100%; margin-top: 4px; }
.form-note { font-size: .84rem; color: var(--muted); }
.alert { border-radius: 10px; padding: 14px 16px; font-size: .95rem; line-height: 1.5; }
.alert-ok { background: var(--green-soft); color: var(--green-ink); }
.alert-err { background: var(--red-soft); color: var(--red-deep); }
@media (max-width: 900px) { .register { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.info-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--steel-soft); color: var(--navy-2); display: grid; place-items: center; }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); }
.info-card a { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.info-card a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--navy); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 40px; align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 750; letter-spacing: -.03em; }
.cta-band p { color: var(--on-dark-muted); margin-top: 10px; max-width: 58ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

.empty { background: var(--white); border: 1px dashed var(--line); border-radius: var(--r); padding: 32px; color: var(--muted); display: grid; gap: 12px; justify-items: start; }
.empty strong { color: var(--ink); font-size: 1.1rem; }

/* ---------------- Footer ---------------- */
.footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-block: 72px 32px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 64px; height: 64px; flex: none; }
.footer-brand b { display: block; color: var(--white); font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; }
.footer-brand i { font-style: normal; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; }
.footer-about { margin-top: 18px; max-width: 52ch; font-size: .92rem; }
.news { display: grid; gap: 12px; align-content: start; }
.news b { color: var(--white); font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.news-form { display: flex; gap: 8px; }
.news-form input[type="email"] { flex: 1; min-width: 0; border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: var(--white); border-radius: 999px; padding: 11px 18px; }
.news-form input::placeholder { color: var(--on-dark-muted); }
.news-form input:focus { outline: none; border-color: var(--steel); }
.news .alert { font-size: .9rem; padding: 10px 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 44px; }
.footer-cols h2 { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.footer-cols ul { display: grid; gap: 9px; }
.footer-cols a { color: var(--on-dark); text-decoration: none; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-bottom a { color: var(--on-dark); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-cols > div:last-child { grid-column: 1 / -1; } .news-form { flex-direction: column; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
