:root {
  --navy: #002855;
  --ink: #191e24;
  --orange: #ff8743;
  --orange-deep: #e86d28;
  --line: #e6ebf2;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --muted: #5c6773;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 40, 85, 0.06);
}

.site-header__bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-logo img {
  display: block;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu > li { position: relative; }

.site-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.site-menu a:hover,
.site-menu a.is-current,
.site-menu li:hover > a,
.site-menu li:focus-within > a {
  color: var(--orange);
}

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
}

.site-drop {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 40, 85, 0.12);
  border: 1px solid var(--line);
  z-index: 20;
}

.site-menu li:hover > .site-drop,
.site-menu li:focus-within > .site-drop,
.site-menu li.is-open > .site-drop {
  display: block;
}

.site-drop a {
  display: block;
  padding: 10px 18px;
  font-weight: 500;
  white-space: normal;
}

.site-drop a:hover { background: #fff6f0; }

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(255, 135, 67, 0.28);
}
.btn-register:hover { background: var(--orange-deep); color: #fff !important; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.site-footer {
  background: #f7f9fc;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 28px;
  text-align: center;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.site-footer p { margin: 6px 0; color: #243140; }
.site-footer a { color: var(--navy); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.site-footer__links a { font-weight: 500; }

.site-footer__copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.site-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.site-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.site-social a:hover { background: var(--orange); color: #fff; }

.wa-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Programme sheets sit under the live header. Unlock the one-screen lock
   and retint the supplied layouts to the isloan navy / orange palette. */
.eeg-page {
  --eeg-navy: #002855;
  --eeg-maroon: #e06a2c;
  --eeg-action: #ff8743;
  --eeg-body: #333333;
  --eeg-muted: #5c6773;
  --eeg-paper: #ffffff;
  --eeg-mist: #f4f7fb;
  --eeg-tint: #f7f9fc;
  --eeg-line: #e4e9f0;
  --eeg-fs: 16px;
  --eeg-fs-sm: 14px;
  --eeg-fs-h1: clamp(32px, 3.4vw, 48px);
  --eeg-sp: 28px;
  font-family: Inter, sans-serif !important;
  min-height: 0 !important;
  height: auto !important;
}
.eeg-page .eeg-screen {
  min-height: 0 !important;
  height: auto !important;
  scroll-snap-align: none !important;
}
html:has(.eeg-page--2s) { scroll-snap-type: none !important; }
.eeg-page h1 { color: #ff8743 !important; }
.eeg-page .eeg-logo { display: none !important; }
.eeg-page .eeg-top { border-top: 0 !important; background: #f7f9fc; }
.eeg-page .eeg-cta {
  border-radius: 999px !important;
  background: #ff8743 !important;
  color: #fff !important;
}
.eeg-page .eeg-cta:hover { background: #002855 !important; }
.eeg-page .eeg-legal { background: #002855 !important; }
.eeg-page .eeg-partner img { display: none !important; }

@media screen and (min-width: 1280px) {
  .eeg-page { --eeg-sp: 22px !important; }
  .eeg-page .eeg-top { padding-top: 16px !important; padding-bottom: 16px !important; }
  .eeg-page .eeg-group { gap: 14px !important; }
}

@media (max-width: 1180px) {
  .menu-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 8px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 40, 85, 0.08);
    flex-direction: column;
    align-items: stretch;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-menu { flex-direction: column; align-items: stretch; }
  .site-menu > li { border-bottom: 1px solid var(--line); }
  .site-menu a { padding: 12px 8px; }
  .site-drop {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .site-menu li.is-open > .site-drop { display: block; }
  .site-menu li:hover > .site-drop { display: none; }
  .site-menu li.is-open:hover > .site-drop { display: block; }
  .btn-register { margin: 12px 8px 0; }
  .site-logo img { width: 72px; height: 72px; }
  .site-header__bar { padding: 8px 16px; }
}
