/* =========================================================
   WEPI SERVICES — site styles
   Change the colours here and they update everywhere.
   ========================================================= */

:root {
  --navy:  #101f32;
  --blue:  #245b82;
  --teal:  #007d7b;
  --cream: #f6f5f0;
  --ink:   #1d2c3b;
  --muted: #526171;
  --line:  #dce3e6;
  --white: #fff;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
a { color: inherit; }
a:focus-visible,
button:focus-visible { outline: 3px solid #f0a83a; outline-offset: 4px; }

.wrap { width: min(1160px, calc(100% - 42px)); margin: auto; }

/* ---------- Header / navigation ---------- */
.top {
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 2px 16px #0002;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.logo { text-decoration: none; font-size: 1.23rem; font-weight: 850; letter-spacing: .07em; }
.logo span { color: #66d2c8; }

.navlinks { display: flex; align-items: center; gap: 23px; font-size: .88rem; }
.navlinks a { text-decoration: none; opacity: .92; }
.navlinks a:hover { text-decoration: underline; }
.navlinks .navcta {
  background: #fff;
  color: var(--navy);
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 700;
}
.menu {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid #ffffff77;
  border-radius: 5px;
  padding: 8px 12px;
  font: inherit;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, #10263d 0%, #173e59 55%, #087c7b 140%);
  color: white;
  padding: 112px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  right: -120px;
  top: 20px;
  box-shadow: 0 0 0 80px #ffffff08, 0 0 0 170px #ffffff06;
  pointer-events: none;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .77rem;
  font-weight: 750;
  color: #76dfd5;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 1.08;
  max-width: 870px;
  letter-spacing: -.045em;
  margin: 22px 0;
}
.hero p { max-width: 690px; font-size: 1.25rem; color: #e0ecf2; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 6px;
  padding: 13px 22px;
  font-weight: 750;
  line-height: 1.3;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.primary { background: #6ad8c9; color: #10263d; }
.outline { border: 1px solid #c0e3e7; color: white; }
.dark    { background: var(--navy); color: white; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: 10px 0 20px;
}
.intro { font-size: 1.14rem; max-width: 800px; color: var(--muted); }
.light { background: white; }
.smallcap {
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 800;
  font-size: .77rem;
  letter-spacing: .15em;
}
.note { font-size: .83rem; color: var(--muted); }

/* Dark navy section (add class "band" to a section) */
.band { background: var(--navy); color: white; }
.band .intro    { color: #d1e1ea; }
.band .smallcap { color: #7ae3d5; }
.band .tile     { background: #1a324a; border-color: #34516a; color: white; }
.band .tile p   { color: #d0dce6; }
.band .tile .num { color: #76dfd5; }
.band .note     { color: #bed4e0; }

/* ---------- Tiles (3-column cards) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 29px; background: white; }
.tile .num { color: var(--teal); font-weight: 850; font-size: .84rem; }
.tile h3 { font-size: 1.35rem; line-height: 1.3; margin: 13px 0; }
.tile p { color: var(--muted); margin-bottom: 0; }

/* ---------- Two-column layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }

/* ---------- Video ---------- */
.video {
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #12273c, #1b5e70);
  box-shadow: 0 18px 40px #101f3220;
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Quote ---------- */
.quote {
  border-left: 4px solid var(--teal);
  padding-left: 24px;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 30px 0;
}

/* ---------- Pathways (3 linked cards) ---------- */
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.path {
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.path h3 { margin: 4px 0 8px; font-size: 1.4rem; }
.path p { color: var(--muted); flex: 1; }
.path a { font-weight: 750; color: #006b70; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.footer { background: #0c1929; color: #cbd7e1; padding: 50px 0; }
.footergrid { display: flex; justify-content: space-between; gap: 25px; flex-wrap: wrap; }
.footer a { color: white; }
.footer small { display: block; margin-top: 35px; color: #9eb0bf; }

/* ---------- Utilities ---------- */
.mt-28 { margin-top: 28px; }
.hidden { display: none !important; }

/* ---------- Mobile (800px and below) ---------- */
@media (max-width: 800px) {
  .menu { display: block; }
  .navlinks {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .navlinks.open { display: flex; }
  .split, .grid, .pathways { grid-template-columns: 1fr; }
  .hero { padding: 80px 0; }
  .section { padding: 62px 0; }
}
