/* =====================================================================
   Virtual Global Education Limited - main stylesheet
   Signature idea: "arch" shaped image frames (like classroom doorways)
   Palette: black, gold, white (with a pale gold tint and light grey)
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #0A0A0A;          /* main dark text + footer */
  --blue: #0A0A0A;         /* brand ultramarine */
  --blue-deep: #111111;    /* darker blue for hero and bands */
  --sun: #D4AF37;          /* accent yellow */
  --mint: #F3EAC8;         /* soft green panel */
  --paper: #F5F5F4;        /* page background */
  --white: #FFFFFF;
  --line: #DEDEDA;         /* borders */
  --muted: #555555;        /* secondary text */

  --font-head: "Syne", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-body: "Manrope", "Noto Sans Devanagari", system-ui, sans-serif;

  --arch: 999px 999px 0 0; /* true arch: radius is capped to half the width by the browser */
  --wrap: 1180px;
}

/* ---------- 2. Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink a:not(.btn) { color: var(--sun); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.section__head { max-width: 680px; margin-bottom: 44px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--sun);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--white); border-color: var(--white); }
.btn--line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--line:hover { background: var(--white); color: var(--blue-deep); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn--small { padding: 8px 16px; font-size: .9rem; border-radius: 8px; background: var(--paper); border-color: var(--line); color: var(--blue); }
.btn--small:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---------- 4. Top strip + header ---------- */
.topbar { background: var(--ink); color: #C9C9C9; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #C9C9C9; text-decoration: none; }
.topbar a:hover { color: var(--sun); }
.topbar__links { display: flex; gap: 22px; }

.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 52px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--muted); letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: block; padding: 10px 14px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .98rem; border-radius: 8px;
}
.nav__link:hover, .nav__item.is-active > .nav__link { background: var(--paper); color: var(--blue); }
.nav__drop {
  display: none; position: absolute; left: 0; top: 100%;
  min-width: 270px; background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px; box-shadow: 0 14px 30px rgba(0,0,0,.14);
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { display: block; }
.nav__drop a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav__drop a:hover { background: var(--paper); color: var(--blue); }
.nav__cta { margin-left: 8px; padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; padding: 8px 12px; font-weight: 700; font-family: var(--font-body); cursor: pointer; color: var(--ink); }

/* ---------- 5. Arch image frames (signature element) ---------- */
.arch {
  margin: 0; overflow: hidden;
  border-radius: var(--arch);
  background: var(--mint);          /* shows if the image has not been downloaded yet */
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--sun { background: var(--sun); }
.arch--blue { background: var(--blue); }
.arch--paper { background: var(--paper); }

/* ---------- 6. Home hero ---------- */
.hero { background: var(--blue-deep); color: var(--white); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; padding-top: 72px; }
.hero__text { padding-bottom: 72px; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero p { font-size: 1.2rem; color: #DADADA; max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 22px; }
.hero__note { font-size: .95rem; color: #BDBDBD; }
.hero__note a { color: var(--sun); }

.hero__arches { position: relative; height: 500px; }
.hero__sun { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: var(--sun); right: 6%; top: 28px; }
.hero__arches .arch { position: absolute; bottom: 0; animation: rise .9s ease-out both; }
.hero__arches .a1 { left: 0;   width: 36%; height: 330px; animation-delay: .05s; }
.hero__arches .a2 { left: 32%; width: 40%; height: 470px; animation-delay: .2s; }
.hero__arches .a3 { right: 0;  width: 31%; height: 280px; animation-delay: .35s; }
@keyframes rise { from { transform: translateY(50px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 7. Stats ledger ---------- */
.ledger { background: var(--sun); }
.ledger__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger__item { padding: 30px 24px; border-left: 2px solid var(--ink); }
.ledger__item:first-child { border-left: 0; padding-left: 0; }
.ledger__num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; display: block; }
.ledger__label { font-weight: 600; }

/* ---------- 8. Home: what we do (uneven trio) ---------- */
.trio { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.trio__stack { display: grid; gap: 24px; }
.panel { border-radius: 18px; padding: 36px; }
.panel--big { background: var(--blue); color: var(--white); display: grid; grid-template-columns: 1fr 190px; gap: 24px; align-items: end; padding-bottom: 0; overflow: hidden; }
.panel--big .arch { height: 290px; }
.panel--big h3, .panel--big a { color: var(--white); }
.panel--big p { color: #DADADA; }
.panel--mint { background: var(--mint); }
.panel--line { background: var(--white); border: 2px solid var(--ink); }
.panel h3 { font-size: 1.55rem; }
.textlink { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
.textlink:hover { color: var(--blue-deep); }

/* ---------- 9. Index list (sectors) ---------- */
.index { border-top: 2px solid var(--ink); }
.index__row {
  display: grid; grid-template-columns: 220px 1fr 1fr; gap: 24px;
  padding: 22px 8px; border-bottom: 1px solid var(--line); align-items: baseline;
  transition: background .2s;
}
.index__row:hover { background: var(--white); }
.index__row h3 { margin: 0; font-size: 1.25rem; }
.index__row p { margin: 0; color: var(--muted); }
.index__row span { font-size: .93rem; color: var(--blue); font-weight: 600; }

/* ---------- 10. Why us ---------- */
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.why__intro { position: sticky; top: 110px; }
.why__list { display: grid; gap: 0; }
.why__list li { padding: 26px 0; border-top: 1px solid var(--line); }
.why__list li:first-child { border-top: 2px solid var(--ink); }
.why__list h3 { margin-bottom: 6px; }
.why__list p { margin: 0; color: var(--muted); }

/* ---------- 11. Steps (real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps li { padding: 0 24px 0 0; position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sun); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 46px; right: 0; height: 2px; background: rgba(255,255,255,.35); }
.steps li:last-child::after { display: none; }
.steps h3 { color: var(--white); margin-bottom: 6px; }
.steps p { color: #C9C9C9; margin: 0; font-size: .98rem; }

/* ---------- 12. Quotes (staggered) ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.quote { background: var(--white); border-radius: 16px; padding: 30px; border: 1px solid var(--line); }
.quote:nth-child(2) { margin-top: 44px; background: var(--mint); border-color: var(--mint); }
.quote:nth-child(3) { margin-top: 18px; }
.quote p { font-size: 1.1rem; }
.quote footer { font-weight: 700; font-size: .95rem; }
.quote footer span { display: block; font-weight: 400; color: var(--muted); }

/* ---------- 13. CTA band + newsletter ---------- */
.band { background: var(--blue); color: var(--white); }
.band__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.band h2 { color: var(--white); }
.band p { color: #DADADA; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }

/* ---------- 14. Forms ---------- */
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--white);
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; }
.field { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: var(--mint); color: var(--ink); font-weight: 600; }
.form-msg.is-shown { display: block; }

/* ---------- 15. Inner page hero ---------- */
.page-hero { background: var(--blue-deep); color: var(--white); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; padding-top: 56px; }
.page-hero__text { padding-bottom: 56px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.page-hero p { color: #DADADA; font-size: 1.15rem; max-width: 56ch; margin: 0; }
.crumbs { font-size: .9rem; color: #BDBDBD; margin-bottom: 18px; }
.crumbs a { color: #BDBDBD; }
.page-hero .arch { height: 250px; width: 78%; margin-left: auto; }

/* ---------- 16. Generic content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split .arch { height: 480px; max-width: 420px; }
.split--flip .arch { order: 2; margin-left: auto; }
.ticks li { padding: 8px 0 8px 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo .panel h3 { font-size: 1.6rem; }
.panel--sun { background: var(--sun); }

.bars { display: grid; gap: 18px; }
.bar__top { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 6px; }
.bar__track { height: 14px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--blue); border-radius: 99px; }

.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pipeline li { border-top: 4px solid var(--blue); background: var(--white); padding: 24px; border-radius: 0 0 12px 12px; }
.pipeline li:nth-child(2) { border-color: var(--sun); }
.pipeline li:nth-child(3) { border-color: #8F7109; }
.pipeline h3 { font-size: 1.15rem; }
.pipeline p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- 17. Board of directors ---------- */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: end; }
.person .arch { aspect-ratio: 3 / 4; display: grid; place-items: center; }
.person .arch span { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; color: var(--ink); opacity: .75; }
.person:nth-child(1) .arch { background: var(--sun); }
.person:nth-child(2) .arch { background: var(--blue); }
.person:nth-child(2) .arch span { color: var(--white); }
.person:nth-child(3) .arch { background: var(--mint); }
.person:nth-child(4) .arch { background: var(--line); }
.person h3 { margin: 16px 0 2px; font-size: 1.15rem; }
.person p { margin: 0; color: var(--muted); font-size: .95rem; }
.person--lead { grid-column: span 1; }
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-slot { border: 2px dashed var(--line); border-radius: 12px; padding: 30px 12px; text-align: center; color: var(--muted); font-weight: 600; background: var(--white); }

/* ---------- 18. Offices ---------- */
.office { background: var(--white); border-radius: 18px; padding: 34px; border: 1px solid var(--line); }
.office dl { margin: 18px 0 0; display: grid; grid-template-columns: 90px 1fr; gap: 10px 14px; }
.office dt { font-weight: 700; color: var(--muted); }
.office dd { margin: 0; }
.map { width: 100%; height: 380px; border: 0; border-radius: 18px; }

/* ---------- 19. Side-index layout (entrepreneurship) ---------- */
.sidelayout { display: grid; grid-template-columns: 250px 1fr; gap: 64px; align-items: start; }
.sidenav { position: sticky; top: 110px; border-left: 3px solid var(--line); }
.sidenav a { display: block; padding: 10px 18px; text-decoration: none; color: var(--ink); font-weight: 600; margin-left: -3px; border-left: 3px solid transparent; }
.sidenav a:hover { color: var(--blue); border-left-color: var(--blue); }
.topic { padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.topic:last-child { border-bottom: 0; margin-bottom: 0; }
.topic__media { display: grid; grid-template-columns: 1fr 220px; gap: 36px; align-items: end; }
.topic__media .arch { height: 260px; }

/* ---------- 20. Tabs ---------- */
.tabs__bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.tabs__btn {
  padding: 11px 20px; border-radius: 99px; border: 2px solid var(--ink); background: transparent;
  font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer;
}
.tabs__btn:hover { background: var(--white); }
.tabs__btn[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tabs__panel { display: none; }
.tabs__panel.is-shown { display: block; }
.tab-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; background: var(--white); border-radius: 20px; padding: 44px; }
.tab-body .arch { height: 340px; }

/* ---------- 21. Course masonry + resources ---------- */
.courses { columns: 3; column-gap: 24px; }
.course { break-inside: avoid; margin-bottom: 24px; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.course img { width: 100%; height: 190px; object-fit: cover; background: var(--mint); }
.course:nth-child(2n) img { height: 240px; }
.course:nth-child(3n) img { height: 160px; }
.course div { padding: 22px; }
.course h3 { font-size: 1.15rem; margin-bottom: 6px; }
.course p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- 22. Document rows ---------- */
.docs li {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.docs li:first-child { border-top: 2px solid var(--ink); }
.docs strong { display: block; }
.docs span { color: var(--muted); font-size: .93rem; }

details.acc { border-bottom: 1px solid var(--line); }
details.acc:first-of-type { border-top: 2px solid var(--ink); }
details.acc summary {
  list-style: none; cursor: pointer; padding: 24px 4px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.8rem; color: var(--blue); }
details.acc[open] summary::after { content: "\2212"; }
details.acc .acc__body { padding: 0 4px 28px; }
details.acc .acc__body > p { color: var(--muted); max-width: 70ch; }

/* ---------- 23. Gallery + press ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.shot { margin: 0; grid-column: span 4; }
.shot:nth-child(1) { grid-column: span 7; }
.shot:nth-child(2) { grid-column: span 5; }
.shot img { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; background: var(--mint); }
.shot:nth-child(1) img { height: 340px; }
.shot figcaption { padding-top: 10px; font-weight: 600; }
.shot figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .93rem; }

.press li { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.press li:first-child { border-top: 2px solid var(--ink); }
.press time { font-weight: 700; color: var(--blue); }
.press h3 { margin: 0 0 2px; font-size: 1.15rem; }
.press p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- 24. Tables ---------- */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--ink); color: var(--white); font-family: var(--font-head); }

/* ---------- 25. Center locator + jobs ---------- */
.locator { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
.locator__filters { background: var(--white); padding: 28px; border-radius: 18px; border: 1px solid var(--line); position: sticky; top: 110px; }
.centres { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.centre { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.centre h3 { font-size: 1.1rem; margin-bottom: 4px; }
.centre p { margin: 0; color: var(--muted); font-size: .96rem; }
.centre .tag { display: inline-block; margin-top: 10px; padding: 4px 12px; background: var(--mint); border-radius: 99px; font-size: .85rem; font-weight: 600; }
.centre[hidden] { display: none; }
.empty { display: none; padding: 30px; background: var(--white); border-radius: 14px; border: 2px dashed var(--line); }
.empty.is-shown { display: block; }

.jobs { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; }
.job h3 { margin: 0 0 2px; font-size: 1.15rem; }
.job p { margin: 0; color: var(--muted); font-size: .96rem; }
.search-bar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; background: var(--white); padding: 14px; border-radius: 16px; margin-top: 28px; max-width: 760px; }
.search-bar input { border-color: transparent; background: var(--paper); }

/* ---------- 26. Footer ---------- */
.footer { background: var(--ink); color: #C9C9C9; padding: 72px 0 28px; }
.footer a { color: #C9C9C9; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: var(--white); font-size: 1.05rem; }
.footer li { margin-bottom: 8px; }
.footer .brand { color: var(--white); margin-bottom: 14px; }
.footer .brand__name small { color: #BDBDBD; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }

/* ---------- 27. Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line); max-height: 80vh; overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__drop { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav__cta { margin: 10px 0 0; text-align: center; }
  .hero__grid, .page-hero__grid, .split, .why, .band__grid, .trio, .locator, .sidelayout, .tab-body { grid-template-columns: 1fr; }
  .hero__arches { height: 400px; }
  .page-hero .arch { display: none; }
  .split .arch { max-width: 100%; height: 360px; }
  .split--flip .arch { order: 0; }
  .why__intro, .sidenav, .locator__filters { position: static; }
  .sidenav { display: flex; flex-wrap: wrap; border-left: 0; gap: 6px; }
  .sidenav a { border: 2px solid var(--line); border-radius: 99px; margin: 0; padding: 6px 14px; }
  .ledger__grid { grid-template-columns: 1fr 1fr; }
  .ledger__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .board, .logo-row { grid-template-columns: 1fr 1fr; }
  .courses { columns: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .topbar__links { display: none; }
  .index__row { grid-template-columns: 1fr; gap: 4px; }
  .steps, .quotes, .duo, .pipeline, .centres, .form-grid { grid-template-columns: 1fr; }
  .steps li { padding-bottom: 28px; }
  .steps li::after { display: none; }
  .quote:nth-child(n) { margin-top: 0; }
  .panel--big { grid-template-columns: 1fr; }
  .panel--big .arch { width: 60%; margin-inline: auto; }
  .courses { columns: 1; }
  .gallery { display: block; }
  .shot { margin-bottom: 22px; }
  .press li { grid-template-columns: 1fr; gap: 6px; }
  .topic__media { grid-template-columns: 1fr; }
  .topic__media .arch { width: 60%; }
  .search-bar { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__arches { height: 340px; }
  .hero__arches .a1 { height: 230px; } .hero__arches .a2 { height: 320px; } .hero__arches .a3 { height: 200px; }
  .hero__sun { width: 150px; height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__arches .arch { animation: none; }
}

/* =====================================================================
   VERSION 2 ADDITIONS
   Black + gold + white. Main slider, ticker, 3D effects, phone mockup.
   ===================================================================== */

/* ---------- Colour fixes after the blue -> black change ---------- */
a { text-decoration-color: var(--sun); text-underline-offset: 3px; }
.textlink { border-bottom-color: var(--sun); border-bottom-width: 3px; }
.btn--blue:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.nav__item.is-active > .nav__link { box-shadow: inset 0 -3px 0 var(--sun); border-radius: 8px 8px 0 0; }
.bar__fill { background: var(--sun); }
.band { background: var(--sun); color: var(--ink); }
.band h2, .band p { color: var(--ink); }
.band .btn { background: var(--ink); border-color: var(--ink); color: var(--white); }
.band .btn:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.band input { border-color: var(--ink); }
.panel--big .textlink, .section--ink .textlink { border-bottom-color: var(--sun); }
.page-hero .arch { background: var(--sun); }
.hero__sun { background: var(--sun); }

/* ---------- Main slider ---------- */
.slider { position: relative; height: clamp(540px, 84vh, 780px); background: #000; color: var(--white); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; }

/* Background image + slow zoom (Ken Burns). A dark gradient keeps the text readable. */
.slide__bg { position: absolute; inset: 0; background-color: #1a1a1a; background-size: cover; background-position: center; transform: scale(1.04); }
.slide.is-active .slide__bg { animation: zoom 9s ease-out forwards; }
.slide__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.15) 100%); }
@keyframes zoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }

.slide__inner { position: relative; height: 100%; display: flex; align-items: center; }
.slide__text { max-width: 660px; padding-left: 26px; border-left: 4px solid var(--sun); }
.slide__text h1 { color: var(--white); font-size: clamp(2.1rem, 4.8vw, 3.9rem); margin-bottom: .4em; }
.slide__text p { color: #E2E2E2; font-size: 1.2rem; max-width: 52ch; }
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.slide.is-active .slide__text > * { animation: textin .8s ease-out both; }
.slide.is-active .slide__text > :nth-child(2) { animation-delay: .15s; }
.slide.is-active .slide__text > :nth-child(3) { animation-delay: .3s; }
@keyframes textin { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Controls: dots, counter, arrows, progress line */
.slider__ui { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.slider__dots { display: flex; gap: 10px; align-items: center; }
.slider__dot { width: 44px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; position: relative; border-radius: 4px; }
.slider__dot::before { content: ""; position: absolute; inset: -12px 0; } /* bigger click area */
.slider__dot.is-active { background: rgba(255,255,255,.35); }
.slider__dot.is-active::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--sun); border-radius: 4px; }
.slider.is-running .slider__dot.is-active::after { animation: fill 6.5s linear forwards; }
@keyframes fill { to { width: 100%; } }
.slider__count { margin-left: 18px; font-family: var(--font-head); font-weight: 700; color: #DADADA; }
.slider__count b { color: var(--sun); }
.slider__arrows { display: flex; gap: 10px; }
.slider__arrow { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: rgba(0,0,0,.35); color: var(--white); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.slider__arrow:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }

/* ---------- Ticker (endless strip of sectors) ---------- */
.ticker { background: var(--ink); color: var(--sun); overflow: hidden; border-top: 1px solid #2a2a2a; }
.ticker__track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { padding: 16px 30px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; white-space: nowrap; display: flex; align-items: center; gap: 60px; }
.ticker__track span::after { content: ""; width: 9px; height: 9px; background: var(--white); transform: rotate(45deg); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Intro with 3D arches ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.arches3d { position: relative; height: 480px; perspective: 900px; }
.arches3d .hero__sun { right: 4%; top: 10px; }
.arches3d .arch { position: absolute; bottom: 0; transition: transform .25s ease-out; box-shadow: 0 24px 40px rgba(0,0,0,.25); }
.arches3d .a1 { left: 0;   width: 36%; height: 320px; }
.arches3d .a2 { left: 32%; width: 40%; height: 450px; }
.arches3d .a3 { right: 0;  width: 31%; height: 270px; }

/* ---------- Tilt cards (JS adds the .tilt class) ---------- */
.tilt { transition: transform .25s ease-out; will-change: transform; }

/* ---------- Flip cards for sectors ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flip { perspective: 1100px; height: 270px; cursor: pointer; outline-offset: 6px; }
.flip__in { position: relative; height: 100%; transition: transform .75s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip:hover .flip__in, .flip:focus .flip__in, .flip.is-flipped .flip__in { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; }
.flip__front { background: var(--ink); color: var(--white); border: 2px solid var(--ink); }
.flip__front h3 { font-size: 1.8rem; color: var(--sun); margin: 0 0 6px; }
.flip__front p { margin: 0; color: #BDBDBD; font-size: .95rem; }
.flip__front::before { content: ""; position: absolute; top: 28px; left: 30px; width: 54px; height: 70px; border-radius: 99px 99px 0 0; border: 3px solid var(--sun); }
.flip__back { background: var(--sun); color: var(--ink); transform: rotateY(180deg); justify-content: center; }
.flip__back h4 { margin: 0 0 8px; font-size: 1.1rem; }
.flip__back p { margin: 0 0 10px; font-weight: 600; }
.flip__back small { font-size: .88rem; }

/* ---------- E-Siksha band with 3D phone ---------- */
.app { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.phone-stage { perspective: 1000px; display: grid; place-items: center; padding: 20px 0; }
.phone {
  width: 240px; height: 470px; border-radius: 38px; background: #000; border: 7px solid #2b2b2b;
  box-shadow: 30px 40px 60px rgba(0,0,0,.35), inset 0 0 0 2px #444;
  transform: rotateY(-22deg) rotateX(8deg) rotateZ(2deg);
  animation: float 6s ease-in-out infinite; padding: 14px; display: flex; flex-direction: column; gap: 12px;
}
@keyframes float { 50% { transform: rotateY(-14deg) rotateX(5deg) rotateZ(1deg) translateY(-14px); } }
.phone__bar { background: var(--sun); color: var(--ink); border-radius: 14px; padding: 16px 14px; font-family: var(--font-head); font-weight: 800; }
.phone__row { background: #1b1b1b; border-radius: 12px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.phone__row i { width: 34px; height: 34px; border-radius: 10px 10px 0 0; background: var(--sun); flex: none; border-radius: 99px 99px 0 0; }
.phone__row b { display: block; height: 8px; border-radius: 6px; background: #f1f1f1; width: 80%; margin-bottom: 8px; }
.phone__row b + b { background: #555; width: 55%; margin: 0; }
.phone__prog { margin-top: auto; background: #1b1b1b; border-radius: 12px; padding: 14px; color: #ddd; font-size: .85rem; }
.phone__prog span { display: block; height: 8px; border-radius: 6px; background: #444; margin-top: 8px; overflow: hidden; }
.phone__prog span::after { content: ""; display: block; height: 100%; width: 68%; background: var(--sun); }

/* ---------- Job stack in 3D ---------- */
.jobstack { perspective: 1100px; display: grid; gap: 16px; }
.jobstack article {
  background: #181818; border: 1px solid rgba(212,175,55,.55); border-radius: 14px; padding: 22px 26px;
  transform: rotateY(-16deg) rotateX(3deg); transform-origin: left center;
  box-shadow: 18px 20px 30px rgba(0,0,0,.4); transition: transform .4s ease;
}
.jobstack article:nth-child(2) { margin-left: 34px; }
.jobstack article:nth-child(3) { margin-left: 68px; }
.jobstack article:hover { transform: rotateY(0) rotateX(0) translateZ(30px); }
.jobstack h3 { margin: 0 0 2px; color: var(--white); font-size: 1.15rem; }
.jobstack p { margin: 0; color: #BDBDBD; font-size: .95rem; }
.split-dark { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-dark h2 { color: var(--white); }
.split-dark p { color: #CFCFCF; }

@media (max-width: 1020px) {
  .intro, .app, .split-dark { grid-template-columns: 1fr; }
  .flip-grid { grid-template-columns: 1fr 1fr; }
  .slider__text, .slide__text { padding-left: 18px; }
}
@media (max-width: 680px) {
  .flip-grid { grid-template-columns: 1fr; }
  .arches3d { height: 360px; }
  .arches3d .a1 { height: 230px; } .arches3d .a2 { height: 320px; } .arches3d .a3 { height: 200px; }
  .slider__arrows { display: none; }
  .phone { transform: rotateY(-12deg) rotateX(5deg); width: 210px; height: 420px; }
  .jobstack article:nth-child(n) { margin-left: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-active .slide__bg, .slide.is-active .slide__text > *, .ticker__track, .phone { animation: none; }
  .slider.is-running .slider__dot.is-active::after { animation: none; width: 100%; }
  .flip__in, .tilt { transition: none; }
}

/* =====================================================================
   VERSION 3: calmer typography, black header, fixed menu, premium finish
   (These rules come last, so they override earlier ones.)
   ===================================================================== */

/* ---------- Typography: Marcellus (classic, slightly stylish) + Manrope ---------- */
:root {
  --font-head: "Marcellus", "Noto Sans Devanagari", Georgia, serif;
  --mint: #ECECEA;            /* neutral light grey panel instead of the pale gold */
}
body { font-synthesis: none; }   /* Marcellus has one weight, so never fake a bold */
h1, h2, h3, h4 { font-weight: 400; letter-spacing: 0; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.brand__name, .ledger__num, .slider__count, .ticker__track span, .phone__bar,
.flip__front h3, .person .arch span { font-weight: 400; }

/* ---------- Header: black with gold detail ---------- */
.topbar { background: var(--sun); color: #0A0A0A; }
.topbar a { color: #0A0A0A; }
.topbar a:hover { color: #FFFFFF; }
.header { background: #0A0A0A; border-bottom: 1px solid rgba(212,175,55,.5); }
.header .wrap { width: min(1320px, 100% - 48px); min-height: 84px; }
.brand { color: #FFFFFF; }
.brand img { width: 40px; height: 48px; }
.brand__name { font-size: 1.15rem; white-space: nowrap; letter-spacing: .01em; }
.brand__name small { color: #BDBDBD; margin-top: 3px; }

.nav { gap: 2px; }
.nav__link { color: #FFFFFF; font-size: .94rem; padding: 10px 13px; white-space: nowrap; border-radius: 4px; }
.nav__link:hover { background: rgba(255,255,255,.08); color: var(--sun); }
.nav__item.is-active > .nav__link { background: transparent; color: var(--sun); box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.nav__drop { background: #111111; border: 1px solid rgba(212,175,55,.45); border-radius: 6px; top: calc(100% - 6px); box-shadow: 0 18px 36px rgba(0,0,0,.45); }
.nav__drop a { color: #EDEDED; white-space: nowrap; border-radius: 4px; }
.nav__drop a:hover { background: rgba(212,175,55,.15); color: var(--sun); }
.nav__cta { white-space: nowrap; margin-left: 12px; padding: 11px 22px; border-radius: 4px; }
.nav-toggle { color: #FFFFFF; border-color: rgba(255,255,255,.4); background: transparent; }

/* Menu turns into the mobile menu earlier, so the items never wrap onto two lines */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #0A0A0A; flex-direction: column; align-items: stretch;
    padding: 12px 24px 24px; border-bottom: 1px solid rgba(212,175,55,.5); max-height: 80vh; overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__drop { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; min-width: 0; }
  .nav__item.is-active > .nav__link { box-shadow: none; }
  .nav__cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- Main slider: no side bar, smaller heading, image stays visible ---------- */
.slider { height: clamp(520px, 80vh, 700px); }
.slide__bg::after { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.42) 50%, rgba(0,0,0,.08) 100%); }
.slide__inner { padding-bottom: 84px; }
.slide__text { border-left: 0; padding-left: 0; max-width: 600px; }
.slide__text h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.15; margin-bottom: .45em; }
.slide__text p { font-size: 1.1rem; }
.slider__ui { bottom: 28px; }

/* ---------- Finer shapes: smaller radii, hairlines, calmer buttons ---------- */
.btn { border-radius: 4px; letter-spacing: .02em; padding: 13px 26px; }
.btn--small { border-radius: 4px; }
.panel, .office, .quote, .course, .centre, .job, .locator__filters, .tab-body, .map, .flip__face, .shot img { border-radius: 6px; }
.pipeline li { border-radius: 0; }
input, select, textarea { border-radius: 4px; }

/* Numbers strip: black with gold figures */
.ledger { background: #0A0A0A; color: #FFFFFF; border-top: 1px solid rgba(212,175,55,.4); }
.ledger .ledger__item { border-left: 1px solid rgba(212,175,55,.45); }
.ledger .ledger__item:first-child { border-left: 0; }
.ledger .ledger__num { color: var(--sun); font-size: 2.8rem; }
.ledger .ledger__label { color: #D5D5D5; font-weight: 500; }

/* Section spacing a little more generous */
.section { padding: 96px 0; }
.lead { color: #555555; }
.section--ink .lead, .section--ink p { color: #CFCFCF; }

/* =====================================================================
   VERSION 4: image + content sections and full-width banners
   ===================================================================== */

/* ---------- Image + content ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.feature--flip .feature__img { order: 2; }
.feature__img { position: relative; margin: 0; min-height: 470px; background: #161616; border-radius: 6px; }
.feature__img::before {                 /* gold outline sitting behind the photo */
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--sun); border-radius: 6px; z-index: -1;
}
.feature--flip .feature__img::before { inset: 22px 22px -22px -22px; }
.feature__img img { width: 100%; height: 470px; object-fit: cover; border-radius: 6px; }
.feature__text .lead { margin-bottom: 1em; }
.feature__text .ticks { margin: 0 0 28px; }

/* ---------- Banner ---------- */
.banner {
  background-color: #0A0A0A; background-size: cover; background-position: center;
  background-attachment: fixed;          /* photo stays still while the page scrolls past it */
  border-top: 1px solid rgba(212,175,55,.5); border-bottom: 1px solid rgba(212,175,55,.5);
}
.banner__shade { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.35) 100%); padding: 104px 0; }
.banner__inner { display: grid; grid-template-columns: 1.3fr auto; gap: 48px; align-items: center; }
.banner h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.8rem); max-width: 20ch; margin-bottom: .4em; }
.banner p { color: #E0E0E0; font-size: 1.1rem; max-width: 52ch; margin: 0; }
.banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1020px) {
  .feature { grid-template-columns: 1fr; gap: 56px; }
  .feature--flip .feature__img { order: 0; }
  .feature__img, .feature__img img { min-height: 340px; height: 340px; }
  .feature__img::before, .feature--flip .feature__img::before { inset: 14px -8px -14px 8px; }
  .banner { background-attachment: scroll; }
  .banner__inner { grid-template-columns: 1fr; gap: 28px; }
  .banner__shade { padding: 72px 0; }
}

/* =====================================================================
   VERSION 5: icons, readable top strip, colour-contrast clean-up
   ===================================================================== */

/* ---------- Icons ---------- */
.ico { width: 1.1em; height: 1.1em; margin-right: .5em; vertical-align: -.2em; flex: none; }
.topbar .ico, .footer .ico, .panel--sun .ico, .band .ico { color: inherit; }
.topbar .ico, .footer .ico { color: var(--sun); }
.office dt .ico, .panel--mint .ico, .centre .ico, .locator__filters .ico { color: #A8861C; }
.office dd .ico { display: none; }          /* the label on the left already has the icon */
.office dl { grid-template-columns: 130px 1fr; }
.office dt { display: flex; align-items: center; }
.btn .ico { margin-right: .45em; }

/* ---------- Top strip: black with white text (gold-on-black icons) ---------- */
.topbar { background: #000000; color: #D8D8D8; border-bottom: 1px solid rgba(212,175,55,.3); }
.topbar .wrap { align-items: center; }
.topbar .wrap > span { display: inline-flex; align-items: center; color: #CFCFCF; }
.topbar a { color: #FFFFFF; display: inline-flex; align-items: center; }
.topbar a:hover { color: var(--sun); }

@media (max-width: 680px) {
  /* keep phone and email visible on mobile, hide only the CIN */
  .topbar .wrap > span { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar__links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
}

/* ---------- Content fixes: records table, partners, chips, grouped documents ---------- */
table.records { min-width: 720px; }
table.records td { vertical-align: top; font-size: .95rem; }
table.records td:nth-child(2) { color: var(--muted); max-width: 440px; }
table.records .num, table.records th.num { text-align: right; white-space: nowrap; }
table.records tbody tr:nth-child(even) { background: var(--paper); }
.bars--wide { max-width: 760px; }
.pipeline--4 { grid-template-columns: repeat(4, 1fr); }
.pipeline--4 li:nth-child(4) { border-color: var(--ink); }
.pipeline__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.board--bio { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; align-items: start; }
.board--bio .person { display: grid; grid-template-columns: 150px 1fr; column-gap: 24px; align-items: start; }
.board--bio .person .arch { grid-row: 1 / span 3; }
.board--bio .person h3 { margin-top: 0; }
.board--bio .person .role { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.board--bio .person .bio { font-size: .94rem; line-height: 1.6; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.partners li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; line-height: 1.45; }
.partners__n { font-family: var(--font-head); font-weight: 800; color: var(--sun-deep, #8F7109); min-width: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.chips--lg li { background: var(--mint); border-color: transparent; }
.quotes--4 { grid-template-columns: repeat(2, 1fr); }
h3.docs-group { margin: 36px 0 12px; font-size: 1.15rem; }
h3.docs-group:first-child { margin-top: 0; }
.docs + h3.docs-group { margin-top: 36px; }
.docs li { gap: 16px; }
.docs li > div { min-width: 0; }
.docs li .btn { flex-shrink: 0; }
.acc__body .docs { margin-top: 12px; }
.tabs__btn { white-space: nowrap; }
a[data-doc="pending"] { cursor: not-allowed; opacity: .55; }
@media (max-width: 1020px) {
  .pipeline--4 { grid-template-columns: 1fr 1fr; }
  .board--bio { grid-template-columns: 1fr; }
  .partners, .quotes--4 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .pipeline--4 { grid-template-columns: 1fr; }
  .board--bio .person { grid-template-columns: 1fr; }
  .board--bio .person .arch { max-width: 160px; margin-bottom: 14px; grid-row: auto; }
  .docs li { flex-wrap: wrap; }
}

/* =====================================================================
   VERSION 6: brand colours from the logo (blue #008FD3) - white, blue, navy
   Logo is blue on a transparent background, so the header is white and
   the footer shows the logo on a white tile.
   ===================================================================== */
:root {
  --brand: #008FD3;        /* exact logo blue: decorative fills */
  --blue: #0072AD;         /* logo blue, a little deeper so white text on it is readable */
  --blue-deep: #0A3A5F;    /* navy for hero and dark bands */
  --ink: #0B2239;          /* text and footer: navy instead of black */
  --sun: #FFB81C;          /* warm amber: small highlights only */
  --mint: #E3F2FB;         /* soft sky-blue panel */
  --paper: #F3F8FC;
  --line: #D5E3EE;
  --muted: #475E73;
}
body { background: var(--paper); }
a { text-decoration-color: var(--brand); }
.textlink { border-bottom-color: var(--brand); }
:focus-visible { outline-color: var(--brand); }

/* ---- Top strip + header (white, logo visible) ---- */
.topbar { background: var(--blue-deep); color: #D6E9F7; border-bottom: 0; }
.topbar .wrap > span { color: #D6E9F7; }
.topbar a { color: #FFFFFF; }
.topbar a:hover { color: var(--sun); }
.topbar .ico, .footer .ico { color: #7FD0F5; }
.header { background: #FFFFFF; border-bottom: 1px solid var(--line); box-shadow: 0 6px 22px rgba(10,58,95,.08); }
.header .wrap { min-height: 88px; }
.brand img { width: auto; height: 62px; display: block; }
.brand__name { display: none; }
.nav__link { color: var(--ink); font-weight: 700; }
.nav__link:hover { background: var(--mint); color: var(--blue); }
.nav__item.is-active > .nav__link { background: transparent; color: var(--blue); box-shadow: inset 0 -3px 0 var(--brand); }
.nav__drop { background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 18px 36px rgba(10,58,95,.16); }
.nav__drop a { color: var(--ink); }
.nav__drop a:hover { background: var(--mint); color: var(--blue); }
.nav__cta, .nav__cta:hover { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.nav__cta:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.nav-toggle { color: var(--ink); border-color: var(--line); background: #FFFFFF; }
@media (max-width: 1180px) {
  .nav { background: #FFFFFF; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(10,58,95,.14); }
  .nav__drop { background: transparent; }
}
@media (max-width: 680px) { .brand img { height: 50px; } .header .wrap { min-height: 74px; } }

/* ---- Buttons ---- */
.btn { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #FFFFFF; }
.btn--line { background: transparent; border-color: rgba(255,255,255,.7); color: #FFFFFF; }
.btn--line:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--blue-deep); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.btn--blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #FFFFFF; }
.btn--small { background: #FFFFFF; border-color: var(--line); color: var(--blue); }
.btn--small:hover { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
/* on dark photo/navy areas the main button is amber so it stands out */
.slide .btn:not(.btn--line), .banner .btn:not(.btn--line), .hero .btn:not(.btn--line), .page-hero .btn:not(.btn--line) { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.slide .btn:not(.btn--line):hover, .banner .btn:not(.btn--line):hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--blue-deep); }

/* ---- Hero areas ---- */
.page-hero, .hero { background: linear-gradient(120deg, #0A3A5F 0%, #07507F 55%, #0072AD 100%); }
.page-hero .arch, .hero__sun { background: rgba(255,255,255,.14); }
.page-hero .crumbs a { color: #BFE6FA; }
.slider { background: var(--blue-deep); }
.slide__bg::after { background: linear-gradient(90deg, rgba(8,38,64,.86) 0%, rgba(8,38,64,.5) 50%, rgba(8,38,64,.1) 100%); }
.slide__text { border-left-color: var(--sun); }
.slider__arrow:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.ticker { background: var(--blue-deep); color: #FFFFFF; border-top: 0; }
.ticker__track span::after, .ticker__track span::before { color: var(--sun); }

/* ---- Numbers strip ---- */
.ledger { background: var(--blue); color: #FFFFFF; border-top: 0; }
.ledger .ledger__item { border-left: 1px solid rgba(255,255,255,.35); }
.ledger .ledger__item:first-child { border-left: 0; }
.ledger .ledger__num { color: #FFFFFF; }
.ledger .ledger__label { color: #E2F3FC; }

/* ---- Panels, bars, accents ---- */
.panel--sun { background: var(--brand); color: #FFFFFF; }
.panel--sun h3, .panel--sun p, .panel--sun a, .panel--sun .ico { color: #FFFFFF; }
.panel--sun { background: var(--blue); }
.panel--mint { background: var(--mint); }
.arch--sun { background: var(--brand); }
.arch--mint { background: var(--mint); }
.bar__fill { background: var(--brand); }
.ticks li::before { border-color: var(--brand); }
.pipeline li { border-top-color: var(--brand); }
.pipeline li:nth-child(2) { border-top-color: var(--sun); }
.pipeline li:nth-child(3) { border-top-color: var(--blue-deep); }
.pipeline--4 li:nth-child(4) { border-top-color: var(--blue); }
.pipeline__n { background: var(--blue); }
.person:nth-child(1) .arch { background: #BFE6FA; }
.person:nth-child(2) .arch { background: var(--brand); }
.person:nth-child(2) .arch span { color: #FFFFFF; }
.person:nth-child(3) .arch { background: var(--mint); }
.person:nth-child(4) .arch { background: #D5E3EE; }
.partners__n { color: var(--brand); }
.chips--lg li { background: var(--mint); color: var(--blue-deep); }
.office dt .ico, .panel--mint .ico, .centre .ico, .locator__filters .ico { color: var(--blue); }
.centre .tag { background: var(--mint); color: var(--blue-deep); }
.press time, .index__row span, details.acc summary::after { color: var(--blue); }
.feature__img { background: var(--mint); }
.feature__img::before { border-color: var(--brand); }
.docs li:first-child, .press li:first-child, details.acc:first-of-type, .index, .why__list li:first-child { border-top-color: var(--blue); }
.tabs__btn { border-color: var(--blue); color: var(--blue); }
.tabs__btn:hover { background: var(--mint); }
.tabs__btn[aria-selected="true"] { background: var(--blue); color: #FFFFFF; }
th { background: var(--blue-deep); }
table.records tbody tr:nth-child(even) { background: var(--paper); }
.sidenav a:hover { color: var(--blue); border-left-color: var(--brand); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,143,211,.2); }

/* ---- Banners ---- */
.banner { background-color: var(--blue-deep); border-top: 0; border-bottom: 0; }
.banner__shade { background: linear-gradient(90deg, rgba(8,38,64,.92) 0%, rgba(8,58,95,.72) 60%, rgba(0,114,173,.45) 100%); }
.banner p { color: #E6F4FC; }

/* ---- Newsletter band ---- */
.band { background: linear-gradient(120deg, #0072AD, #008FD3); color: #FFFFFF; }
.band h2, .band p, .band label, .band a, .band strong { color: #FFFFFF; }
.band .ico { color: #FFFFFF; }
.band input { border-color: #FFFFFF; }
.band .btn { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.band .btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--blue-deep); }

/* ---- Flip cards ---- */
.flip__front { background: var(--blue-deep); border-color: var(--blue-deep); }
.flip__front h3 { color: #FFFFFF; }
.flip__front::before { border-color: var(--brand); }
.flip__back { background: var(--brand); color: #FFFFFF; }
.flip__back h4, .flip__back p, .flip__back small { color: #FFFFFF; }

/* ---- Footer: navy, logo on a white tile ---- */
.footer { background: var(--ink); color: #C7D8E6; }
.footer a { color: #C7D8E6; }
.footer a:hover { color: #FFFFFF; }
.footer h4 { color: #FFFFFF; }
.footer .brand img { height: 58px; background: #FFFFFF; padding: 8px 14px; border-radius: 8px; }
.footer__bottom, .footer hr { border-color: rgba(255,255,255,.15); }

/* ---- Dark sections and 3D job cards: navy-blue instead of black/gold ---- */
.section--ink { background: linear-gradient(135deg, #0A3A5F 0%, #082B47 100%); }
.section--ink .btn:not(.btn--line) { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.section--ink .btn:not(.btn--line):hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--blue-deep); }
.steps li::before { background: var(--sun); color: var(--ink); }
.steps li::after { background: rgba(127,208,245,.5); }
.steps p, .split-dark p { color: #D3E6F3; }
.jobstack article { background: #0F4A75; border-color: rgba(127,208,245,.6); box-shadow: 18px 20px 30px rgba(3,20,36,.4); }
.jobstack p { color: #CBE5F5; }
.phone__bar { background: var(--brand); color: #FFFFFF; }
.phone__row, .phone__prog { background: #0F4A75; }
.phone__row i { background: var(--sun); }
.phone__prog span::after { background: var(--brand); }
.phone { background: #082B47; border-color: #1B5A8A; }
.footer .brand { align-items: center; }
.steps, .steps li { list-style: none; }


/* ---- Investors dropdown (16 items): scroll if the screen is short ---- */
.nav__drop--long { min-width: 320px; max-height: 72vh; overflow-y: auto; }
@media (max-width: 1020px) { .nav__drop--long { max-height: none; overflow: visible; min-width: 0; } }

/* ---- Single office card ---- */
.duo.duo--single { grid-template-columns: minmax(0, 760px); }

/* ---- Board: committee composition tables ---- */
.committees__head { margin-top: 64px; }
.committees { display: grid; gap: 24px; }
.committee { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; }
.committee h3 { margin: 0 0 14px; font-size: 1.35rem; }
.committee__scroll { overflow-x: auto; }
.committee table { width: 100%; border-collapse: collapse; min-width: 480px; }
.committee th { text-align: left; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); padding: 10px 12px; border-bottom: 2px solid var(--brand); }
.committee td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.committee tr:last-child td { border-bottom: 0; }
.committee td:first-child, .committee th:first-child { width: 70px; }
.committee td:nth-child(2) { font-weight: 700; }
.committee thead th, .committee th { background: transparent; color: var(--brand); border-top: 0; }
.committee thead { background: transparent; }

/* ---- Investor document pages ---- */
h2.docs-title { margin: 56px 0 6px; font-size: 1.6rem; }
h2.docs-title:first-child { margin-top: 0; }

/* ---- Investor pages: point-wise lists (same format as the Word file) ---- */
.wrap--narrow { max-width: 980px; }
h2.docs-title.docs-title--major { margin-top: 64px; padding-top: 28px; border-top: 2px solid var(--line); }
h4.docs-sub { margin: 26px 0 8px; font-size: 1.02rem; color: var(--brand); letter-spacing: .02em; }
.points { list-style: none; margin: 10px 0 8px; padding: 0; counter-reset: pt; }
.points li { counter-increment: pt; position: relative; padding: 13px 8px 13px 52px; border-bottom: 1px solid var(--line); font-weight: 500; }
.points li:first-child { border-top: 2px solid var(--brand); }
.points li::before { content: counter(pt); position: absolute; left: 6px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--brand); font-size: .82rem; font-weight: 700; display: grid; place-items: center; }
.points li a { text-decoration: none; font-weight: 700; }
.points li a:hover { text-decoration: underline; }
