/* ==========================================================================
   Gen-E Foundation : standalone site stylesheet
   Palette sampled directly from the Gen-E Foundation logo.
   ========================================================================== */

:root {
  --deep:      #072B28;   /* darkest ground, behind the logo   */
  --deep-2:    #0B3B36;
  --teal:      #1A5B63;   /* card and band teal                */
  --teal-dk:   #124A50;
  --ink:       #24606C;   /* the GEN-E wordmark teal           */
  --cyan:      #10D3B9;
  --orange:    #FC7824;   /* dominant mark orange              */
  --flame:     #FC6030;
  --amber:     #F0C24A;
  --plum:      #6B3A7A;

  --body:      #4C5A5A;
  --grey:      #7A8C8C;
  --hairline:  #DCE6E6;
  --tint:      #F2F7F7;
  --white:     #FFFFFF;

  --max:       1160px;
  --gutter:    28px;
  --sans:      Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.62;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1380px; margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ type */

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.07; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; }
h3 { font-size: 1.15rem; line-height: 1.3; }
h4 { font-size: 1rem; line-height: 1.35; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange); margin: 0 0 14px;
}
.eyebrow-amber { color: var(--amber); }
.eyebrow-grey { color: var(--grey); }

.lede { font-size: 1.18rem; line-height: 1.56; color: var(--ink); }
.small { font-size: 0.86rem; line-height: 1.58; }
.tiny { font-size: 0.76rem; line-height: 1.55; color: var(--grey); }

.rule {
  width: 84px; height: 4px; border: 0; margin: 0 0 26px;
  background: linear-gradient(90deg, var(--flame), var(--orange) 45%, var(--amber));
}

/* ------------------------------------------------------------------- nav */

.topbar { position: sticky; top: 0; z-index: 60; background: var(--deep); }
.topbar-inner {
  max-width: 1380px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  min-height: 88px; gap: 24px;
}
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.86);
  text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: #fff; border-bottom-color: var(--orange); text-decoration: none; }
.nav a.active { color: #fff; border-bottom-color: var(--orange); }
.nav .pill {
  background: var(--orange); color: #fff; border: 0; border-radius: 40px;
  padding: 12px 24px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.nav .pill:hover { background: #fff; color: var(--deep); border-bottom-color: transparent; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.35);
  padding: 9px 13px; font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff; cursor: pointer;
}

/* ------------------------------------------------------------------ hero */

.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.62;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,43,40,0.94) 0%, rgba(7,43,40,0.78) 50%, rgba(7,43,40,0.42) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 108px 0 92px; }
.hero h1 { color: #fff; max-width: 19ch; }
.hero .lede { color: rgba(255,255,255,0.90); max-width: 62ch; }
.hero-sm .hero-inner { padding: 74px 0 62px; }
.hero-sm h1 { max-width: 24ch; }

.banner { position: relative; height: 360px; overflow: hidden; background: var(--deep); }
.banner-img { position: absolute; inset: 0; background-size: cover; background-position: center; }

/* ---------------------------------------------------------------- layout */

section { padding: 76px 0; }
section.tight { padding: 52px 0; }
section.tint { background: var(--tint); }
section.teal { background: var(--teal); color: rgba(255,255,255,0.86); }
section.deep { background: var(--deep); color: rgba(255,255,255,0.80); }
section.teal h2, section.teal h3, section.teal h4,
section.deep h2, section.deep h3, section.deep h4 { color: #fff; }
section.teal .lede, section.deep .lede { color: rgba(255,255,255,0.92); }
section.teal a, section.deep a { color: var(--amber); }

.section-head { max-width: 780px; margin-bottom: 46px; }
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.split-top { align-items: start; }

/* ------------------------------------------------------------ stat tiles */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--orange); }
.stat { padding: 26px 26px 24px; border-right: 1px solid rgba(255,255,255,0.18); }
.stat:last-child { border-right: 0; }
.stat .num {
  display: block; font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 700;
  color: #fff; line-height: 1.02; letter-spacing: -0.02em;
}
.stat .num small { font-size: 0.44em; font-weight: 700; margin-left: 3px; }
.stat .lab {
  display: block; margin-top: 10px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.62); line-height: 1.45;
}

/* ---------------------------------------------------------------- cards */

.card {
  background: #fff; border: 1px solid var(--hairline); border-top: 3px solid var(--orange);
  padding: 28px 26px 26px; height: 100%;
}
.card .idx {
  display: block; margin-bottom: 12px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange);
}
.card-cyan { border-top-color: var(--cyan); }
.card-cyan .idx { color: var(--ink); }
.card p { font-size: 0.95rem; }

.init {
  background: var(--teal-dk); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px;
  padding: 30px 22px 26px; text-align: center; height: 100%; color: inherit; display: block;
}
a.init { text-decoration: none; transition: transform .15s, border-color .15s; }
a.init:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--orange); }
.init img { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; }
.init h4 { font-size: 1.02rem; line-height: 1.3; margin-bottom: 8px; color: #fff; min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.init .tagline { min-height: 3em; display: flex; align-items: center; justify-content: center; }
.init .tagline {
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 14px; line-height: 1.5;
}
.init p { font-size: 0.9rem; color: rgba(255,255,255,0.80); margin: 0; }

.value {
  background: var(--teal-dk); border: 1px solid rgba(255,255,255,0.10); border-radius: 10px;
  padding: 28px 24px 26px; text-align: center; height: 100%;
}
.value h4 { margin-bottom: 14px; }
.value p { font-size: 0.9rem; color: rgba(255,255,255,0.78); margin: 0; }
.ring {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(140deg, var(--amber), var(--orange) 45%, var(--flame));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700; color: #fff;
  box-shadow: 0 0 0 4px rgba(252,120,36,0.16);
}

/* ------------------------------------------------------------ programmes */

.prog { border-top: 1px solid var(--hairline); padding: 46px 0 40px; }
.prog:first-of-type { border-top: 0; padding-top: 4px; }
.prog-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 46px; align-items: start; }
.prog-art { border: 1px solid var(--hairline); background: #fff; position: sticky; top: 116px; }
.prog-art img { width: 100%; height: auto; }
.prog-badge {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border-top: 1px solid var(--hairline); background: #FAFCFC;
}
.prog-badge img { width: 54px; height: 54px; border-radius: 50%; flex: none; }
.prog-badge span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--grey); line-height: 1.45;
}
.tagline-lg {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin: 0 0 12px;
}
.impact { background: var(--tint); border-left: 3px solid var(--orange); padding: 20px 24px; margin: 22px 0 4px; }
.impact h4 {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 10px;
}
.impact p { font-size: 0.93rem; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 18px; font-size: 0.82rem; color: var(--grey); }
.meta b {
  display: block; color: var(--ink); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.7rem;
}

/* ----------------------------------------------------------------- misc */

ul.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
ul.ticks li { position: relative; padding: 0 0 11px 22px; font-size: 0.94rem; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--orange); }
section.teal ul.ticks li, section.deep ul.ticks li { color: rgba(255,255,255,0.84); }

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 40px; background: var(--orange);
  color: #fff; border: 2px solid var(--orange); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
}
.btn:hover { background: #fff; border-color: #fff; color: var(--deep); text-decoration: none; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.figure { border: 1px solid var(--hairline); background: #fff; }
.figure img { width: 100%; height: auto; }
.figure img.crop { aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption { padding: 12px 16px; font-size: 0.76rem; color: var(--grey); border-top: 1px solid var(--hairline); }

.quote { border-left: 3px solid var(--amber); padding: 6px 0 6px 24px; font-size: 1.22rem; line-height: 1.5; color: #fff; }
.logo-plate { background: var(--deep); padding: 26px 30px; border-radius: 8px; display: inline-block; }
.logo-plate img { height: 62px; width: auto; }
.note { background: var(--tint); border-left: 3px solid var(--grey); padding: 18px 22px; font-size: 0.85rem; line-height: 1.6; }

table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.data th, table.data td { padding: 14px 14px 14px 0; text-align: left; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.data th {
  width: 30%; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey);
}

/* --------------------------------------------------------------- footer */

.footer { background: var(--deep); color: rgba(255,255,255,0.62); padding: 60px 0 32px; font-size: 0.9rem; }
.footer h4 { color: #fff; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,0.84); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer-brand img { height: 52px; width: auto; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.75rem; line-height: 1.7; color: rgba(255,255,255,0.42);
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .g5 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.18); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--deep); padding: 8px var(--gutter) 22px;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .nav a:hover, .nav a.active { border-bottom-color: rgba(255,255,255,0.14); }
  .nav .pill { width: auto; margin-top: 14px; border-bottom: 0; }
  .nav-toggle { display: block; }
  .topbar-inner { position: relative; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; gap: 28px; }
  .prog-art { position: static; }
  .banner { height: 220px; }
  section { padding: 56px 0; }
  .hero-inner { padding: 72px 0 60px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .g5, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  table.data th { width: auto; display: block; padding-bottom: 4px; border: 0; }
  table.data td { display: block; padding-top: 0; }
}

@media print { .topbar, .nav-toggle { display: none; } body { font-size: 11pt; color: #000; } }
