/* Home page – design "Aegean" (calm, institutional): Greek blue on white, Literata headings, Commissioner text.
   Fonts are served from this site (Content/fonts, SIL Open Font License) – no third-party font requests.
   Colours come from public.css tokens plus a few of its own, with a dark variant. */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/commissioner-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/commissioner-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;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/literata-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/literata-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;
}
:root { --hm-ink: #14213d; --hm-ink-2: #3c4a63; --hm-blue: #0d5eaf; --hm-blue-ink: #0b4f94; --hm-tint: #f4f7fb; --hm-hero: #efeff7;
  --hm-line: #e1e7ef; --hm-card: #ffffff; --hm-foot: #0f2747; --hm-foot-ink: #dbe5f2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --hm-ink: #e8edf2; --hm-ink-2: #b4c0cc; --hm-blue: #6aa6f0; --hm-blue-ink: #8bbcf5; --hm-tint: #141b23;
    --hm-hero: #15202c; --hm-line: #2c3845; --hm-card: #182029; --hm-foot: #0a1520; --hm-foot-ink: #b4c0cc; }
}
:root[data-theme="dark"] { --hm-ink: #e8edf2; --hm-ink-2: #b4c0cc; --hm-blue: #6aa6f0; --hm-blue-ink: #8bbcf5; --hm-tint: #141b23;
  --hm-hero: #15202c; --hm-line: #2c3845; --hm-card: #182029; --hm-foot: #0a1520; --hm-foot-ink: #b4c0cc; }

body.hm { background: var(--page); color: var(--hm-ink); font-family: 'Commissioner', system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
.hm h1, .hm h2 { font-family: 'Literata', Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
.hm a { color: var(--hm-blue-ink); }
.hm-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hm-skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; margin: 0; padding: 10px 14px; background: var(--surface); z-index: 100; border-radius: 8px; }

/* top bar */
.hm-top { background: var(--surface); border-bottom: 1px solid var(--hm-line); position: sticky; top: 0; z-index: 30; }
.hm-top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 10px; padding-bottom: 10px; }
.hm-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hm-ink) !important; }
.hm-brand img { height: 44px; width: auto; border-radius: 6px; background: #fff; }
.hm-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.hm-brand b { font-size: 15px; } .hm-brand small { font-size: 12.5px; color: var(--hm-ink-2); }
.hm-nav { display: flex; flex-wrap: wrap; gap: 0 20px; flex: 1 1 380px; justify-content: center; font-weight: 500; font-size: 15px; }
.hm-nav a { color: var(--hm-ink); text-decoration: none; padding: 10px 0; }
.hm-nav a:hover { color: var(--hm-blue-ink); text-decoration: underline; }
.hm-tools { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) { .hm-nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } .hm-nav a { white-space: nowrap; }
  .hm-tools { margin-left: auto; } .hm-brand small { display: none; } }
@media (max-width: 420px) { .hm-tools .hm-btn { padding: 8px 12px; font-size: 14px; } .hm-top-in { gap: 8px 12px; } }

/* buttons */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid var(--ring); background: var(--surface); color: var(--hm-blue-ink) !important; }
.hm-btn.primary { background: var(--hm-blue); border-color: var(--hm-blue); color: var(--brand-ink) !important; }
.hm-btn.lg { padding: 13px 24px; font-size: 16px; }
.hm-btn:hover { filter: brightness(.95); }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hm-note { color: var(--hm-ink-2); font-size: 15px; }

/* hero */
.hm-hero { background: var(--hm-hero); }
.hm-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.hm-hero-text { flex: 1 1 480px; min-width: 0; }
.hm-kicker { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hm-blue-ink); }
.hm-hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.14; margin: 0 0 18px; }
.hm-lead { font-size: 18px; color: var(--hm-ink-2); max-width: 620px; margin: 0 0 28px; }
.hm-hero-art { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.hm-hero-art img { width: 100%; max-width: 440px; height: auto; border-radius: 24px; border: 1px solid var(--hm-line); background: #efeff7; }

/* facts */
.hm-facts { border-bottom: 1px solid var(--hm-line); background: var(--surface); }
.hm-facts-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding-top: 24px; padding-bottom: 24px; }
.hm-facts-in > div { display: flex; gap: 14px; align-items: flex-start; }
.hm-facts svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--hm-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-facts p { margin: 0; display: flex; flex-direction: column; font-size: 14px; color: var(--hm-ink-2); }
.hm-facts p b { font-size: 17px; color: var(--hm-ink); }

/* sections */
.hm-sec { padding: 64px 0; background: var(--surface); }
.hm-sec.hm-tint { background: var(--hm-tint); border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line); }
.hm-sec h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 0 0 6px; }
.hm-sec-head p { margin: 0; color: var(--hm-ink-2); }
.hm-sec-head { margin-bottom: 24px; }
.hm-sec-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; }
.hm-links { margin: 0 0 24px; font-weight: 600; }
.hm-split { display: flex; flex-wrap: wrap; gap: 8px 48px; }
.hm-split .hm-sec-head { flex: 1 1 280px; }
.hm-prose { flex: 2 1 520px; min-width: 0; font-size: 17px; }
.hm-prose p { margin: 0 0 14px; }

/* classes */
.hm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.hm-class { background: var(--hm-card); border: 1px solid var(--hm-line); border-radius: 16px; padding: 20px 22px; border-top: 4px solid var(--k-primary); }
.hm-class.hm-k-early { border-top-color: var(--k-early); } .hm-class.hm-k-levels { border-top-color: var(--k-levels); } .hm-class.hm-k-adult { border-top-color: var(--k-adult); }
.hm-eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--hm-ink-2); min-height: 1.4em; }
.hm-class h3 { margin: 0 0 10px; font-size: 20px; }
.hm-chips { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hm-chips li { font-size: 13.5px; background: var(--hm-tint); border: 1px solid var(--hm-line); border-radius: 999px; padding: 3px 10px; }
.hm-days { margin: 0; font-size: 14px; color: var(--hm-ink-2); }

/* registration */
.hm-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.hm-steps li { border: 1px solid var(--hm-line); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; color: var(--hm-ink-2); font-size: 15px; background: var(--hm-card); }
.hm-steps b { font-size: 18px; color: var(--hm-ink); }
.hm-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--hm-blue); color: var(--brand-ink); font-weight: 700; margin-bottom: 8px; }

/* certificate + events */
.hm-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.hm-card { background: var(--hm-card); border: 1px solid var(--hm-line); border-radius: 18px; padding: 26px; }
.hm-card h2 { font-size: 26px; margin-bottom: 12px; }
.hm-card p { margin: 0 0 16px; }
.hm-card > a { font-weight: 600; }
.hm-events { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hm-events li { display: flex; gap: 14px; align-items: center; }
.hm-events small { color: var(--hm-ink-2); font-size: 13.5px; }
.hm-date { flex: none; width: 58px; text-align: center; border: 1px solid var(--ring); border-radius: 10px; padding: 5px 0; line-height: 1.15; font-size: 12px; color: var(--hm-ink-2); }
.hm-date b { display: block; font-size: 20px; color: var(--hm-ink); }
/* GLP events stand out in the GLP green of the Schedule (public.css --e-glp); holidays and national days stay quiet */
.hm-events li { padding: 8px 12px; border-left: 4px solid transparent; border-radius: 12px; }
.hm-events li.glp { background: var(--e-glp-bg); border-left-color: var(--e-glp); }
.hm-events li.glp .hm-date { border-color: var(--e-glp); background: var(--hm-card); }
.hm-events li.glp .hm-date b { color: var(--e-glp); }
.hm-kind { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--e-glp); color: #fff; font-weight: 600; font-size: 12px; line-height: 1.6; }
:root[data-theme="dark"] .hm-kind { color: #0b1f12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hm-kind { color: #0b1f12; } }
.hm-events li.quiet b { font-weight: 500; color: var(--hm-ink-2); }

/* contact */
.hm-contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.hm-contact > div { flex: 1 1 320px; }
.hm-contact p { margin: 0 0 8px; }
.hm-contact .hm-btn { margin-top: 12px; }
.hm-map { flex: 1 1 480px; min-width: 0; width: 100%; height: 300px; border: 0; border-radius: 18px; }

/* footer */
.hm-foot { background: var(--hm-foot); color: var(--hm-foot-ink); font-size: 14px; }
.hm-foot-in { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; }
.hm-foot-in > div { display: flex; flex-direction: column; gap: 4px; }
.hm-foot b { color: #fff; font-size: 15px; }
.hm-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.hm-foot a { color: var(--hm-foot-ink); }

@media print { .hm-top, .hm-map, .hm-actions, .hm-hero-art { display: none !important; } .hm-sec, .hm-hero { padding: 16px 0; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
