:root {
  --navy:#102d4f;
  --blue:#28649a;
  --sky:#54b9e8;
  --gold:#f2b544;
  --ink:#172638;
  --muted:#647386;
  --paper:#f5f8fb;
  --white:#fff;
  --radius:22px;
  --shadow:0 18px 50px rgba(16,45,79,.12)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ink);
  line-height:1.6
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit
}

.topline {
  height:5px;
  background:linear-gradient(90deg,var(--sky),var(--blue),var(--gold))
}

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

.site-header {
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #e8eef4
}

.nav {
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:850;
  letter-spacing:-.04em;
  color:var(--navy);
  line-height:1.05
}

.brand img {
  width:58px;
  height:58px;
  object-fit:contain
}

.brand span {
  font-size:16px
}

.brand small {
  display:block;
  font-size:10px;
  letter-spacing:.18em;
  color:var(--blue);
  font-weight:700;
  margin-top:5px
}

.navlinks {
  display:flex;
  align-items:center;
  gap:28px;
  font-size:13px;
  font-weight:700;
  color:#43556a
}

.navlinks a:hover {
  color:var(--blue)
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:13px 20px;
  border-radius:999px;
  background:var(--gold);
  color:#172638;
  font-size:13px;
  font-weight:850;
  border:0;
  cursor:pointer;
  transition:.2s;
  box-shadow:0 8px 22px rgba(242,181,68,.22)
}

.btn:hover {
  transform:translateY(-2px);
  filter:saturate(1.08)
}

.btn.blue {
  background:var(--blue);
  color:white;
  box-shadow:0 8px 22px rgba(40,100,154,.2)
}

.btn.outline {
  background:transparent;
  border:1px solid rgba(255,255,255,.6);
  color:white;
  box-shadow:none
}

.menu {
  display:none;
  background:none;
  border:0;
  font-size:26px;
  color:var(--navy)
}

.hero {
  position:relative;
  overflow:hidden;
  background:var(--navy);
  color:white;
  min-height:620px;
  display:flex;
  align-items:center
}

.hero:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(9,30,54,.94) 0%,rgba(9,30,54,.8) 43%,rgba(9,30,54,.18) 100%),url('../img/img-01.jpg') center 43%/cover;
  transform:scale(1.02)
}

.hero:after {
  content:"";
  position:absolute;
  width:480px;
  height:480px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  right:-140px;
  bottom:-280px;
  box-shadow:0 0 0 45px rgba(255,255,255,.035),0 0 0 90px rgba(255,255,255,.025)
}

.hero-content {
  position:relative;
  z-index:1;
  max-width:680px;
  padding:92px 0
}

.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--gold);
  font-size:11px;
  letter-spacing:.19em;
  text-transform:uppercase;
  font-weight:900
}

.eyebrow:before {
  content:"";
  width:28px;
  height:2px;
  background:var(--gold)
}

h1 {
  font-size:clamp(42px,6.4vw,76px);
  line-height:1.02;
  letter-spacing:-.055em;
  margin:22px 0
}

.hero p {
  font-size:17px;
  color:#e0eaf3;
  max-width:560px;
  margin:0 0 30px
}

.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.hero-note {
  margin-top:44px;
  display:flex;
  align-items:center;
  gap:14px;
  color:#c6d7e7;
  font-size:12px
}

.avatars {
  display:flex
}

.avatars img {
  width:34px;
  height:34px;
  object-fit:cover;
  border-radius:50%;
  border:2px solid var(--navy);
  margin-left:-8px
}

.avatars img:first-child {
  margin-left:0
}

.hero-note strong {
  color:white
}

.strip {
  background:var(--gold);
  color:#233449
}

.strip-inner {
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  padding:17px 0;
  font-size:12px;
  font-weight:850;
  letter-spacing:.04em
}

.strip-inner span {
  display:flex;
  align-items:center;
  gap:9px
}

.section {
  padding:94px 0
}

.section.soft {
  background:var(--paper)
}

.section-head {
  max-width:650px;
  margin-bottom:42px
}

.section-head.center {
  text-align:center;
  margin-left:auto;
  margin-right:auto
}

.kicker {
  color:var(--blue);
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase
}

.section h2 {
  font-size:clamp(32px,4vw,48px);
  letter-spacing:-.045em;
  line-height:1.1;
  color:var(--navy);
  margin:12px 0
}

.section-head p {
  color:var(--muted);
  margin:0
}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center
}

.photo-stack {
  position:relative;
  padding:0 32px 32px 0
}

.photo-stack>img {
  width:100%;
  height:450px;
  object-fit:cover;
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}

.photo-stack:after {
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:65%;
  height:55%;
  border:8px solid var(--gold);
  border-radius:var(--radius);
  z-index:-1
}

.photo-tag {
  position:absolute;
  left:-18px;
  bottom:55px;
  background:white;
  padding:16px 20px;
  border-radius:14px;
  box-shadow:var(--shadow);
  font-weight:850;
  color:var(--navy);
  font-size:13px
}

.photo-tag small {
  display:block;
  color:var(--muted);
  font-weight:500
}

.about-copy p {
  color:var(--muted)
}

.checklist {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:26px 0
}

.check {
  display:flex;
  gap:10px;
  font-size:13px;
  font-weight:750
}

.check b {
  color:var(--blue);
  font-size:18px
}

.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}

.card {
  background:white;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 35px rgba(16,45,79,.07);
  transition:.25s;
  border:1px solid #edf1f5
}

.card:hover {
  transform:translateY(-7px);
  box-shadow:var(--shadow)
}

.card img {
  width:100%;
  height:220px;
  object-fit:cover
}

.card-body {
  padding:24px
}

.card-icon {
  width:42px;
  height:42px;
  border-radius:13px;
  background:#eaf5fc;
  color:var(--blue);
  display:grid;
  place-items:center;
  font-size:20px;
  margin-top:-46px;
  position:relative;
  border:4px solid white
}

.card h3 {
  color:var(--navy);
  font-size:20px;
  margin:14px 0 8px
}

.card p {
  font-size:13px;
  color:var(--muted);
  margin:0 0 16px
}

.text-link {
  font-size:12px;
  font-weight:900;
  color:var(--blue)
}

.text-link span {
  font-size:17px;
  margin-left:4px
}

.feature {
  background:var(--navy);
  color:white;
  position:relative;
  overflow:hidden
}

.feature:before {
  content:"";
  position:absolute;
  right:-120px;
  top:-200px;
  width:550px;
  height:550px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.02)
}

.feature-grid {
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px;
  align-items:center
}

.feature h2 {
  color:white
}

.feature p {
  color:#c6d7e7
}

.feature-photo {
  width:100%;
  height:390px;
  object-fit:cover;
  border-radius:var(--radius)
}

.feature-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:28px 0
}

.feature-list div {
  border-left:2px solid var(--gold);
  padding-left:13px
}

.feature-list strong {
  display:block;
  font-size:14px
}

.feature-list small {
  color:#b8cadd;
  font-size:12px
}

.impact {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px
}

.impact-box {
  padding:28px 20px;
  background:white;
  border-radius:18px;
  text-align:center;
  border:1px solid #eaf0f5
}

.impact-box strong {
  font-size:35px;
  color:var(--blue);
  letter-spacing:-.05em;
  display:block
}

.impact-box span {
  font-size:11px;
  color:var(--muted);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em
}

.gallery {
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  grid-template-rows:190px 190px;
  gap:14px
}

.gallery img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:16px
}

.gallery img:first-child {
  grid-row:span 2
}


.timeline {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}

.phase {
  background:white;
  padding:26px;
  border-radius:18px;
  border-top:4px solid var(--sky);
  box-shadow:0 8px 25px rgba(16,45,79,.05)
}

.phase:nth-child(2) {
  border-color:var(--blue)
}

.phase:nth-child(3) {
  border-color:var(--gold)
}

.phase small {
  font-weight:900;
  color:var(--blue);
  letter-spacing:.12em
}

.phase h3 {
  margin:8px 0;
  color:var(--navy)
}

.phase p {
  font-size:13px;
  color:var(--muted);
  margin:0
}

.cta {
  background:linear-gradient(115deg,#1b5688,#102d4f);
  color:white;
  border-radius:28px;
  padding:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  position:relative;
  overflow:hidden
}

.cta:after {
  content:"⚽";
  position:absolute;
  font-size:170px;
  right:25%;
  opacity:.06;
  transform:rotate(-18deg)
}

.cta h2 {
  font-size:clamp(28px,3vw,40px);
  line-height:1.1;
  margin:0 0 10px;
  letter-spacing:-.04em
}

.cta p {
  color:#d1dfeb;
  margin:0
}

.cta .btn {
  position:relative;
  z-index:1;
  white-space:nowrap
}

.contact-grid {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:50px
}

.contact-info p {
  color:var(--muted)
}

.contact-item {
  margin:20px 0;
  font-size:13px
}

.contact-item strong {
  display:block;
  color:var(--navy)
}

.form {
  background:white;
  padding:30px;
  border-radius:22px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px
}

.field {
  display:flex;
  flex-direction:column;
  gap:6px
}

.field.full {
  grid-column:1/-1
}

.field label {
  font-size:11px;
  font-weight:850;
  color:var(--navy)
}

.field input,.field select,.field textarea {
  border:1px solid #dce5ed;
  border-radius:11px;
  padding:13px;
  font:inherit;
  font-size:13px;
  outline:none;
  background:#fbfdff
}

.field input:focus,.field select:focus,.field textarea:focus {
  border-color:var(--sky);
  box-shadow:0 0 0 3px rgba(84,185,232,.15)
}

.field textarea {
  min-height:110px;
  resize:vertical
}

.form-note {
  grid-column:1/-1;
  color:var(--muted);
  font-size:11px
}

.footer {
  background:#0a2038;
  color:#c6d7e7;
  padding:58px 0 24px
}

.footer-grid {
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:45px
}

.footer .brand {
  color:white
}

.footer p,.footer a {
  font-size:12px;
  color:#aebfd0
}

.footer h4 {
  color:white;
  margin:0 0 14px
}

.footer-links {
  display:grid;
  gap:8px
}

.copyright {
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:38px;
  padding-top:18px;
  font-size:11px;
  color:#8fa5ba;
  display:flex;
  justify-content:space-between;
  gap:20px
}

.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translate(-50%,20px);
  opacity:0;
  pointer-events:none;
  background:#102d4f;
  color:white;
  padding:14px 20px;
  border-radius:12px;
  box-shadow:var(--shadow);
  z-index:40;
  font-size:13px;
  transition:.25s
}

.toast.show {
  opacity:1;
  transform:translate(-50%,0)
}

@media(max-width:850px) {
  .navlinks {
    display:none;
    position:absolute;
    top:82px;
    left:0;
    right:0;
    background:white;
    padding:22px;
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:flex-start
  }
  .navlinks.open {
    display:flex
  }
  .menu {
    display:block
  }
  .nav>.btn {
    display:none
  }
  .about-grid,.feature-grid,.contact-grid {
    grid-template-columns:1fr
  }
  .cards {
    grid-template-columns:1fr 1fr
  }
  .feature-photo {
    height:300px
  }
  .impact {
    grid-template-columns:1fr 1fr
  }
  .footer-grid {
    grid-template-columns:1fr 1fr
  }
  .hero {
    min-height:570px
  }
}

@media(max-width:560px) {
  .wrap {
    width:min(100% - 30px,1160px)
  }
  .nav {
    height:72px
  }
  .brand img {
    width:48px;
    height:48px
  }
  .brand span {
    font-size:14px
  }
  .navlinks {
    top:72px
  }
  .hero-content {
    padding:76px 0
  }
  .hero p {
    font-size:15px
  }
  .strip-inner {
    flex-wrap:wrap;
    justify-content:center;
    gap:12px 22px
  }
  .section {
    padding:68px 0
  }
  .about-grid {
    gap:35px
  }
  .photo-stack>img {
    height:330px
  }
  .cards,.timeline {
    grid-template-columns:1fr
  }
  .checklist {
    grid-template-columns:1fr
  }
  .feature-list {
    grid-template-columns:1fr 1fr
  }
  .gallery {
    grid-template-columns:1fr 1fr;
    grid-template-rows:150px 150px 150px
  }
  .gallery img:first-child {
    grid-row:auto
  }
  .gallery img:last-child {
    grid-column:span 2
  }
  .cta {
    padding:32px 24px;
    display:block
  }
  .cta .btn {
    margin-top:22px
  }
  .form {
    grid-template-columns:1fr;
    padding:22px
  }
  .field.full,.form-note {
    grid-column:auto
  }
  .footer-grid {
    grid-template-columns:1fr
  }
  .copyright {
    display:block
  }
  .copyright span {
    display:block;
    margin-top:6px
  }
}

/* Interactive enhancements */
:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:3px
}

.navlinks a.active {
  color:var(--blue);
  position:relative
}

.navlinks a.active:after {
  content:"";
  height:3px;
  background:var(--gold);
  position:absolute;
  left:0;
  right:0;
  bottom:-12px;
  border-radius:3px
}

.card {
  cursor:pointer;
  transition:transform .25s,box-shadow .25s
}

.card:hover {
  transform:translateY(-7px);
  box-shadow:0 22px 45px rgba(16,45,79,.16)
}

.card .text-link {
  display:inline-flex
}

.gallery img {
  cursor:zoom-in;
  transition:transform .3s,filter .3s
}

.gallery img:hover {
  transform:scale(1.025);
  filter:saturate(1.12)
}

.interactive-hint {
  font-size:12px;
  color:var(--muted);
  text-align:center;
  margin:12px 0 0
}

.phase {
  cursor:pointer;
  transition:transform .2s,box-shadow .2s
}

.phase:hover,.phase.selected {
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  outline:2px solid rgba(84,185,232,.5)
}

.phase:after {
  content:'＋ More details';
  display:block;
  font-size:11px;
  font-weight:800;
  color:var(--blue);
  margin-top:14px
}

.phase.selected:after {
  content:'− Selected'
}

.overlay {
  position:fixed;
  inset:0;
  background:rgba(5,19,35,.82);
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px
}

.overlay.open {
  display:flex
}

.dialog {
  position:relative;
  background:white;
  color:var(--ink);
  width:min(620px,100%);
  max-height:88vh;
  overflow:auto;
  border-radius:24px;
  padding:34px;
  box-shadow:0 30px 90px rgba(0,0,0,.3);
  animation:pop .22s ease
}

.dialog h2 {
  color:var(--navy);
  margin:8px 0 12px
}

.dialog .close {
  position:absolute;
  right:16px;
  top:12px;
  border:0;
  background:#edf3f8;
  border-radius:50%;
  width:38px;
  height:38px;
  font-size:23px;
  cursor:pointer
}

.dialog .dialog-icon {
  font-size:34px
}

.dialog-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px
}

.lightbox {
  background:rgba(0,0,0,.94)
}

.lightbox img {
  max-width:min(1100px,90vw);
  max-height:82vh;
  object-fit:contain;
  border-radius:12px
}

.lightbox .close {
  position:fixed;
  right:24px;
  top:18px;
  color:white;
  background:rgba(255,255,255,.18)
}

.lightbox .caption {
  position:fixed;
  bottom:18px;
  color:white;
  text-align:center;
  left:20px;
  right:20px;
  font-size:14px
}

.toast {
  max-width:min(520px,calc(100% - 30px));
  position:fixed;
  bottom:22px;
  left:50%;
  transform:translate(-50%,20px);
  z-index:120;
  background:var(--navy);
  color:white;
  padding:13px 20px;
  border-radius:14px;
  box-shadow:var(--shadow);
  opacity:0;
  pointer-events:none;
  transition:.25s
}

.toast.show {
  opacity:1;
  transform:translate(-50%,0)
}

.cta .btn {
  white-space:nowrap
}

@keyframes pop {
  from {
    opacity:0;
    transform:translateY(12px) scale(.98)
  }
  to {
    opacity:1;
    transform:none
  }
}

@media(max-width:760px) {
  .navlinks {
    display:none;
    position:absolute;
    top:82px;
    left:0;
    right:0;
    background:white;
    padding:18px 24px 24px;
    box-shadow:0 16px 25px rgba(16,45,79,.12);
    flex-direction:column;
    align-items:flex-start;
    gap:18px
  }
  .navlinks.open {
    display:flex
  }
  .menu {
    display:block
  }
  .nav .btn {
    display:none
  }
  .dialog {
    padding:28px 22px
  }
  .cta {
    gap:18px;
    flex-direction:column;
    align-items:flex-start
  }
}

/* ===== WordPress additions (inner pages, team, partners, forms) ===== */
.gold { color: var(--gold) }
.center { text-align: center }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px }
.skip-link:focus { left: 12px }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden }
.form-status { grid-column: 1/-1; padding: 13px 16px; border-radius: 11px; font-size: 13px; font-weight: 700 }
.form-status.ok { background: #e7f6ec; color: #17603a }
.form-status.err { background: #fdeceb; color: #9b1c1c }
.form-plugin { display: block }
.btn[disabled] { opacity: .7; cursor: wait; transform: none }

.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 86px 0 74px }
.page-hero:after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; right: -120px; top: -220px; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025) }
.page-hero .wrap { position: relative; z-index: 1 }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin: 16px 0 12px; max-width: 820px }
.page-hero p { color: #d1dfeb; max-width: 640px; margin: 0; font-size: 16px }
.banner-icon { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 18px; background: rgba(255,255,255,.1); font-size: .8em; vertical-align: middle }
.section-tight { padding: 56px 0 0 }

.entry-content { color: var(--ink); font-size: 16px }
.entry-content.narrow { max-width: 780px }
.entry-content > *:first-child { margin-top: 0 }
.entry-content h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); letter-spacing: -.04em; line-height: 1.15; margin: 1.6em 0 .5em }
.entry-content h3 { color: var(--navy); font-size: 21px; margin: 1.5em 0 .4em }
.entry-content p, .entry-content li { color: #3c4c5f }
.entry-content a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px }
.entry-content img { max-width: 100%; height: auto; border-radius: 16px }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); font-size: 19px; color: var(--navy) }
.entry-content .cards, .entry-content .team-grid, .entry-content .partner-grid, .entry-content .timeline { margin: 28px 0 }
.entry-image { margin: 0 0 28px }
.includes { list-style: none; padding: 0; display: grid; gap: 10px }
.includes li { position: relative; padding-left: 30px; font-weight: 600 }
.includes li:before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 900 }
.programme-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start }
.programme-photo img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow) }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.team-card { background: #fff; border: 1px solid #edf1f5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 35px rgba(16,45,79,.06) }
.team-photo { aspect-ratio: 4/4.4; background: linear-gradient(135deg, #e8f3fb, #f8f1e2); display: grid; place-items: center }
.team-photo img { width: 100%; height: 100%; object-fit: cover }
.team-initials { width: 92px; height: 92px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 30px; font-weight: 900; letter-spacing: -.03em }
.team-body { padding: 18px 20px 22px }
.team-body h3 { margin: 0; color: var(--navy); font-size: 17px }
.team-role { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px }
.team-body p { font-size: 13px; color: var(--muted); margin: 10px 0 0 }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px }
.partner { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e8eef4; border-radius: 16px; padding: 16px 18px; font-weight: 750; color: var(--navy); font-size: 14px; line-height: 1.3; transition: .2s }
a.partner:hover { border-color: var(--sky); transform: translateY(-2px) }
.partner-logo { width: 48px; height: 48px; object-fit: contain; flex: none }
.partner-mark { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #eaf5fc; color: var(--blue); display: grid; place-items: center; font-weight: 900 }

.gallery-full { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; grid-auto-rows: 240px }
.gallery-full img:first-child { grid-row: auto }
.gallery-full img:last-child { grid-column: auto }

.post-card h3 a:hover { color: var(--blue) }
.pagination { margin-top: 36px; text-align: center }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; border-radius: 10px; background: #fff; border: 1px solid #e3eaf1; font-weight: 700; font-size: 13px }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy) }
.nav-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; font-weight: 700; color: var(--blue) }

.footer-tagline { max-width: 300px; margin-top: 18px }
.footer-contact { display: grid; gap: 4px; margin-top: 14px }
.footer-contact p { margin: 0 }
.footer-social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px }
.footer-social a { font-weight: 700; color: #fff }
.footer .copyright a { color: #c6d7e7 }

@media (max-width: 1000px) {
	.team-grid { grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 850px) {
	.programme-grid { grid-template-columns: 1fr }
	.team-grid { grid-template-columns: repeat(2, 1fr) }
	.gallery-full { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px }
}
@media (max-width: 560px) {
	.page-hero { padding: 64px 0 54px }
	.team-grid { grid-template-columns: 1fr 1fr; gap: 12px }
	.team-body { padding: 14px }
	.gallery-full { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px }
	.gallery-full img:last-child { grid-column: auto }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto }
	*, *:before, *:after { transition: none !important; animation: none !important }
}

/* ===== 1.0.1 fixes ===== */
body { background: #fff }
.cta h2 { color: #fff }
.brand img { border-radius: 10px }
.footer .brand img { background: #fff; padding: 5px }
@media (max-width: 560px) {
	.gallery:not(.gallery-full) img:last-child { grid-column: span 2 }
}

/* ===== 1.1.0 Departments: structure chart, cards, chips ===== */
.org { --line: #b9c8d8; margin-top: 18px }
.org-row { display: flex; justify-content: center; gap: 22px; position: relative }
.org-node {
	--accent: var(--blue);
	display: flex; align-items: center; justify-content: center; gap: 10px;
	background: #fff; color: var(--navy); text-align: center;
	border: 2px solid var(--accent); border-radius: 14px;
	padding: 12px 18px; font-weight: 850; font-size: 14px; line-height: 1.25; letter-spacing: -.01em;
	box-shadow: 0 8px 22px rgba(16,45,79,.07);
	transition: transform .2s, box-shadow .2s;
	position: relative; z-index: 1;
}
.org-node:hover, .org-node:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16,45,79,.14) }
.org-icon { font-size: 18px; line-height: 1; color: var(--accent); flex: none }
.org-node-lead { background: var(--accent); color: #fff; font-size: 16px; padding: 15px 30px; min-width: 300px; border-radius: 999px }
.org-node-lead .org-icon { color: var(--gold) }
.org-node-core { background: color-mix(in srgb, var(--accent) 9%, #fff); min-width: 260px; max-width: 340px; flex: 0 1 340px }
.org-lead { margin-bottom: 34px }
.org-core { margin-bottom: 40px; gap: clamp(22px, 14vw, 220px) }

/* connectors (desktop only) */
.org-lead:after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 34px; background: var(--line) }
.org-core:before { content: ""; position: absolute; left: 50%; top: -17px; height: 2px; width: calc(min(340px, 100%) + clamp(22px, 14vw, 220px)); transform: translateX(-50%); background: var(--line) }
.org-core .org-node:before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 17px; background: var(--line) }
.org-core:after { content: ""; position: absolute; left: 50%; top: -17px; width: 2px; height: calc(100% + 57px); background: var(--line); z-index: 0 }

.org-depts { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 14px; align-items: start; padding-top: 20px }
.org-depts:before { content: ""; position: absolute; top: 0; height: 2px; background: var(--line); left: calc(100% / var(--cols, 6) / 2); right: calc(100% / var(--cols, 6) / 2) }
.org-col { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 8px }
.org-col:before { content: ""; position: absolute; left: 50%; top: -20px; width: 2px; height: 20px; background: var(--line) }
.org-node-dept { min-height: 76px; flex-direction: column; gap: 6px; padding: 12px 10px; font-size: 13px; background: color-mix(in srgb, var(--accent) 12%, #fff) }
.org-node-dept .org-icon { font-size: 20px }
.org-items { list-style: none; margin: 0; padding: 0 0 0 0; display: flex; flex-direction: column; gap: 6px; position: relative }
.org-items li {
	position: relative; font-size: 12px; font-weight: 700; color: #34465b; text-align: center; line-height: 1.3;
	padding: 8px 8px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 35%, #fff);
	background: color-mix(in srgb, var(--accent) 6%, #fff);
}
.org-items li:before { content: "↓"; display: block; font-size: 10px; color: var(--accent); margin: -2px 0 1px; opacity: .8 }
.org-cta { margin-top: 38px }

@media (max-width: 1080px) {
	.org-depts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px }
	.org-depts:before, .org-col:before { display: none }
	.org-core:after { height: calc(100% + 17px) }
}
@media (max-width: 700px) {
	.org-row { flex-direction: column; align-items: stretch; gap: 12px }
	.org-node-lead, .org-node-core { min-width: 0; max-width: none; flex: none }
	.org-lead { margin-bottom: 16px }
	.org-core { margin-bottom: 22px; gap: 12px }
	.org-lead:after, .org-core:before, .org-core:after, .org-core .org-node:before { display: none }
	.org-depts { grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 0 }
	.org-items li { font-size: 11.5px; padding: 7px 6px }
}
@media (max-width: 340px) {
	.org-depts { grid-template-columns: 1fr }
}

/* Department cards */
.dept-card { --accent: var(--blue); display: flex; flex-direction: column }
.dept-band { height: 92px; position: relative; background: radial-gradient(circle at 100% 0, transparent 84px, rgba(255,255,255,.22) 85px, rgba(255,255,255,.22) 86px, rgba(255,255,255,.06) 87px, rgba(255,255,255,.06) 108px, transparent 109px), linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #0a2038)) }
.dept-band span { position: absolute; left: 24px; bottom: -22px; width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 20px rgba(16,45,79,.15) }
.dept-card .card-body { padding-top: 36px; display: flex; flex-direction: column; flex: 1 }
.dept-card h3 { margin-top: 0 }
.dept-card .text-link { margin-top: auto; color: var(--accent); filter: saturate(1.1) brightness(.85) }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px }
.chips li { font-size: 11px; font-weight: 750; color: #34465b; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent, var(--blue)) 10%, #fff); border: 1px solid color-mix(in srgb, var(--accent, var(--blue)) 25%, #fff) }
.chips li.chip-more { background: transparent; border-style: dashed; color: var(--muted) }
.dialog .chips { margin-top: 6px }
.dialog .dialog-icon { color: var(--accent, var(--blue)) }

/* Department page */
.banner-icon { background: var(--accent, rgba(255,255,255,.1)) }
.programme-grid.no-photo { grid-template-columns: 1fr; max-width: 820px }
.programme-grid .includes li:before { color: var(--accent, var(--blue)) }
.dept-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
