*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --white: #ffffff;
      --off-white: #F8F9FA;
      --accent-bg: #EEF2F7;
      --grey-bg: #F1F3F6;
      --navy: #0F1C2E;
      --navy-deep: #0A1422;
      --blue: #2563EB;
      --blue-hover: #1D4ED8;
      --text-primary: #0F1C2E;
      --text-secondary: #4B5563;
      --text-muted: #9CA3AF;
      --border: #E5E7EB;
      --border-light: #F3F4F6;
      --radius: 12px;
      --radius-sm: 8px;
      --max-w: 1200px;
      --section-py: 100px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-primary);
      background: var(--white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ─── UTILITIES ─── */
    .container {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 32px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      font-size: 0.9375rem;
      border-radius: var(--radius-sm);
      cursor: pointer;
      text-decoration: none;
      transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
      border: none;
    }

    .btn-primary {
      background: var(--blue);
      color: var(--white);
      padding: 14px 28px;
      box-shadow: 0 1px 3px rgba(37,99,235,0.18), 0 4px 16px rgba(37,99,235,0.12);
    }
    .btn-primary:hover {
      background: var(--blue-hover);
      box-shadow: 0 2px 6px rgba(37,99,235,0.25), 0 8px 24px rgba(37,99,235,0.18);
      transform: translateY(-1px);
    }

    .btn-outline-white {
      background: transparent;
      color: var(--white);
      padding: 14px 28px;
      border: 2px solid rgba(255,255,255,0.35);
    }
    .btn-outline-white:hover {
      background: rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.6);
    }

    .tag {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--blue);
      background: rgba(37,99,235,0.08);
      padding: 5px 14px;
      border-radius: 100px;
    }

    /* ─── NAV ─── */
    .topbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 101;
      background: #25347a;
      color: rgba(255,255,255,0.7);
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.01em;
    }
    .topbar__inner {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0;
      height: 36px;
    }
    .topbar__item {
      display: inline-flex;
      align-items: center;
      padding: 0 16px;
      height: 100%;
      color: rgba(255,255,255,0.65);
      text-decoration: none;
      font-size: 12px;
      border-left: 1px solid rgba(255,255,255,0.1);
      transition: color .2s, background .2s;
      white-space: nowrap;
    }
    .topbar__item:first-child { border-left: none; }
    .topbar__item:hover { color: #fff; background: rgba(255,255,255,0.06); }
    .topbar__item--login {
      color: #fff;
      font-weight: 500;
    }
    .topbar__item--login:hover { color: var(--blue); }
    @media (max-width: 768px) { .topbar { display: none; } }

    .nav {
      position: fixed;
      top: 36px;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      transition: box-shadow 0.2s;
    }
    .nav.scrolled {
      box-shadow: 0 2px 16px rgba(15,28,46,0.08);
    }
    .nav__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 120px;
    }
    .nav__logo img {
      height: 64px;
      width: auto;
      display: block;
    }
    .nav__links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav__links a {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      transition: color 0.15s;
    }
    .nav__links a:hover { color: var(--text-primary); }
    .nav__links a.active {
      color: var(--text-primary);
      text-decoration: underline;
      text-underline-offset: 4px;
    }
    .nav__right { display: flex; align-items: center; gap: 10px; }

    /* ─── DROPDOWN ─── */
    .nav__dropdown { position: relative; }
    .nav__dropdown-toggle {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 9px 20px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-size: 14px; font-weight: 500;
      font-family: 'Inter', sans-serif;
      color: var(--text-primary);
      background: transparent;
      cursor: pointer;
      transition: border-color .2s, background .2s, color .2s;
      white-space: nowrap;
    }
    .nav__dropdown-toggle:hover,
    .nav__dropdown-toggle[aria-expanded="true"] {
      border-color: var(--blue); color: var(--blue); background: rgba(37,99,235,.04);
    }
    .nav__dropdown-toggle.active { color: var(--text-primary); text-decoration: underline; text-underline-offset: 4px; }
    .nav__dropdown-toggle svg { transition: transform 0.2s; }
    .nav__dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

    .nav__dropdown-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 240px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      box-shadow: 0 12px 32px rgba(15,28,46,0.12);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
      z-index: 200;
      padding: 8px 0;
    }
    .nav__dropdown-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .nav__dropdown-menu a {
      display: block;
      padding: 10px 20px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      transition: color 0.15s, background 0.15s;
    }
    .nav__dropdown-menu a:hover { color: var(--text-primary); background: var(--off-white); }
    .nav__dropdown-menu a.active { color: var(--text-primary); background: var(--off-white); }

    .nav__dropdown-footer {
      border-top: 1px solid var(--border-light);
      margin-top: 4px;
      padding-top: 4px;
    }
    .nav__dropdown-footer a {
      font-weight: 600;
      color: var(--blue);
    }
    .nav__dropdown-footer a:hover { color: var(--blue-hover); }

    .btn-ghost {
      display: inline-flex; align-items: center;
      padding: 9px 20px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-size: 14px; font-weight: 500;
      color: var(--text-primary);
      background: transparent;
      text-decoration: none;
      transition: border-color .2s, background .2s, color .2s;
      white-space: nowrap;
    }
    .btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: rgba(37,99,235,.04); }
    .nav__right .btn-ghost,
    .nav__right .btn-primary { padding: 9px 22px; font-size: 14px; font-weight: 500; line-height: 1.5; border-radius: 8px; }

    .nav__hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
      background: none;
      border: none;
    }
    .nav__hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: transform 0.2s, opacity 0.2s;
    }

    .nav__mobile {
      display: none;
      flex-direction: column;
      background: var(--white);
      border-top: 1px solid var(--border);
      padding: 20px 0 16px;
    }
    .nav__mobile.open { display: flex; }
    .nav__mobile a {
      display: block;
      padding: 12px 32px;
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
    }
    .nav__mobile a:hover { color: var(--text-primary); background: var(--off-white); }
    .nav__mobile a.active {
      color: var(--text-primary);
      text-decoration: underline;
      text-underline-offset: 4px;
    }
    .nav__mobile .btn {
      margin: 12px 32px 0;
      justify-content: center;
    }

    /* Mobile resources accordion */
    .nav__mobile-group { border-top: 1px solid var(--border-light); }
    .nav__mobile-group-toggle {
      display: flex; align-items: center; justify-content: space-between;
      width: 100%;
      padding: 12px 32px;
      font-size: 0.95rem;
      font-weight: 500;
      font-family: 'Inter', sans-serif;
      color: var(--text-secondary);
      background: none;
      border: none;
      cursor: pointer;
    }
    .nav__mobile-group-toggle svg { transition: transform 0.2s; }
    .nav__mobile-group-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
    .nav__mobile-group-menu {
      display: none;
      flex-direction: column;
      background: var(--off-white);
      padding: 4px 0;
    }
    .nav__mobile-group.open .nav__mobile-group-menu { display: flex; }
    .nav__mobile-group-menu a {
      padding-left: 48px;
      font-size: 0.9rem;
    }


/* ═══════════════════════════════════════ */
/* VIDEO SECTIONS (shared across pages)    */
/* ═══════════════════════════════════════ */

.wf-video {
  background: var(--navy-deep);
  color: var(--white);
  padding: var(--section-py) 0;
  overflow: hidden;
}

.wf-video__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.wf-video__h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.wf-video__body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.wf-video__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.wf-video__link:hover {
  color: var(--blue-hover);
}

/* ─── VIDEO CONTAINER ─── */
.wf-video__player {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.wf-video__player::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.wf-video__player--wide::before {
  padding-top: 42.86%; /* 21:9 */
}

.wf-video__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
}

.wf-video__placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.wf-video__placeholder span {
  font-size: 0.9375rem;
}

/* ─── CENTRED (G1, G5) ─── */
.wf-video--centred .wf-video__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.wf-video--centred .wf-video__player {
  max-width: 900px;
  margin: 0 auto;
}

/* ─── SPLIT LEFT (G2) ─── */
.wf-video--split-left .wf-video__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wf-video--split-left .wf-video__media {
  order: 1;
}

.wf-video--split-left .wf-video__text {
  order: 2;
}

/* ─── SPLIT RIGHT (G3) ─── */
.wf-video--split-right .wf-video__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wf-video--split-right .wf-video__text {
  order: 1;
}

.wf-video--split-right .wf-video__media {
  order: 2;
}

/* ─── CINEMATIC (G4) ─── */
.wf-video--cinematic .wf-video__inner {
  text-align: center;
}

.wf-video--cinematic .wf-video__player {
  max-height: 540px;
}

.wf-video--cinematic .wf-video__player::before {
  padding-top: 42.86%; /* 21:9 */
}

.wf-video--cinematic .wf-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(10,20,34,0.8) 0%, transparent 50%);
  padding: 32px;
}

.wf-video--cinematic .wf-video__overlay-text {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  max-width: 600px;
}

.wf-video--cinematic .wf-video__context {
  max-width: 640px;
  margin: 32px auto 0;
}

/* ─── VIDEO RESPONSIVE ─── */
@media (max-width: 900px) {
  .wf-video--split-left .wf-video__inner,
  .wf-video--split-right .wf-video__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wf-video--split-left .wf-video__media,
  .wf-video--split-right .wf-video__media {
    order: 1;
  }

  .wf-video--split-left .wf-video__text,
  .wf-video--split-right .wf-video__text {
    order: 2;
  }

  .wf-video--split-left .wf-video__player,
  .wf-video--split-right .wf-video__player {
    max-width: 520px;
    margin: 0 auto;
  }

  .wf-video--cinematic .wf-video__player {
    max-height: 380px;
  }
}

@media (max-width: 600px) {
  .wf-video { padding: 64px 0; }

  .wf-video--centred .wf-video__h3,
  .wf-video--split-left .wf-video__h3,
  .wf-video--split-right .wf-video__h3 {
    font-size: 1.375rem;
  }
}

/* ─── PORTRAIT MODIFIER (9:16 vertical video) ─── */
.wf-video--portrait .wf-video__player {
  max-width: 420px;
  margin: 0 auto;
}
.wf-video--portrait .wf-video__player::before {
  padding-top: 177.78%; /* 9:16 */
}
.wf-video--portrait .wf-video__media video {
  object-fit: cover;
}
@media (max-width: 900px) {
  .wf-video--portrait .wf-video__player {
    max-width: 340px;
  }
}
@media (max-width: 600px) {
  .wf-video--portrait .wf-video__player {
    max-width: 280px;
  }
}


/* ─── BREADCRUMBS (inside hero) ─── */
.wf-breadcrumbs,
.res-hero__breadcrumbs {
  margin-bottom: 20px;
}
.wf-breadcrumbs__list,
.res-hero__breadcrumbs ol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wf-breadcrumbs__list li,
.res-hero__breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wf-breadcrumbs__list li:not(:last-child)::after,
.res-hero__breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: rgba(255,255,255,0.15);
  font-size: 0.875rem;
  font-weight: 300;
}
.wf-breadcrumbs__list a,
.res-hero__breadcrumbs a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.wf-breadcrumbs__list a:hover,
.res-hero__breadcrumbs a:hover {
  color: rgba(255,255,255,0.85);
}
.wf-breadcrumbs__list li[aria-current="page"],
.res-hero__breadcrumbs li[aria-current="page"] {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

@media (max-width: 600px) {
  .wf-breadcrumbs,
  .res-hero__breadcrumbs {
    margin-bottom: 14px;
  }
  .wf-breadcrumbs__list,
  .res-hero__breadcrumbs ol {
    font-size: 0.7rem;
    gap: 5px;
    padding: 4px 12px;
  }
}

/* ─── SHARED RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav__links, .nav__right .btn-primary, .nav__right .btn-ghost { display: none; }
  .nav__hamburger { display: flex; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
}
