/* ==========================================================================
   Go Engineering — Brand & Design System (mockup stylesheet)
   "Setting the Benchmark"  ·  Navy is authority, green is momentum.
   Tokens sourced from the go-engineering-design skill (single source of truth).
   ========================================================================== */

/* ---------- Self-hosted Poppins (Fontsource, OFL) — first-party, font-display: swap ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/poppins-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/poppins-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/poppins-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/poppins-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/poppins-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/poppins-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/poppins-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/poppins-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Skip link (a11y) ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: #25265E; color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; font-family: "Poppins", system-ui, sans-serif; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ---------- CSP-compliant utilities (no inline styles) ---------- */
section.page-hero { padding: 0; }
.section--alt { background: #F0F4F8; }
.note { max-width: 780px; margin-left: auto; margin-right: auto; text-align: center; }
.note.w760 { max-width: 760px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mb-26 { margin-bottom: 26px; }
.pills.pills--center { justify-content: center; }
.flex-center { justify-content: center; }
.hero-card .hero-card-title { color: #fff; font-family: "Poppins", system-ui, sans-serif; font-weight: 700;
  font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; margin: 0 0 4px; }
.hero-card .hero-card-title .icon { color: #98D846; }
.process .step h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.dept .dept-top h2 { color: #fff; font-size: 1.45rem; margin: 0; position: relative; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 1rem; font-family: "Poppins", system-ui, sans-serif; font-weight: 600; }

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --navy:        #25265E;
  --navy-700:    #1d1e4b;
  --navy-900:    #15163a;
  --charcoal:    #2C3E50;
  --slate:       #627182;
  --slate-200:   #c4ccd5;
  --bg:          #F0F4F8;
  --white:       #ffffff;
  --line:        #e2e8f0;

  /* Green accents — momentum, used sparingly */
  --green-deep:  #53A127;
  --green:       #6DB82F;
  --green-hi:    #98D846;

  /* Typography */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Aptos", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* Spacing / shape */
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 2px rgba(37,38,94,.06), 0 2px 8px rgba(37,38,94,.05);
  --shadow-md:   0 8px 28px rgba(37,38,94,.10);
  --shadow-lg:   0 18px 50px rgba(37,38,94,.16);
  --maxw:        1180px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -.3px; }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1rem; }
ul { margin: 0 0 1.1rem; padding-left: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--green-deep); margin: 0 0 .6rem;
}
.lead { font-size: 1.18rem; color: var(--charcoal); max-width: 60ch; }
.muted { color: var(--slate); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Icons (Lucide, 2px stroke) ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: var(--radius); cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s var(--ease); white-space: nowrap;
}
.btn .icon { width: 19px; height: 19px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(109,184,47,.28); }
.btn-primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(83,161,39,.32); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--slate-200); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.75); font-size: .82rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 1.4rem; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--green-hi); }
.topbar .icon { width: 15px; height: 15px; }
/* Official LinkedIn In-Bug (white variant on the dark strip) - 21px is
   the brand-guideline minimum on screen; margin gives it clear space. */
.topbar .inbug, .footer-contact .inbug { height: 21px; width: auto; display: block; flex: none; }
/* Footer contact icons mimic the In-Bug: white rounded tiles, green glyphs */
/* embedded office map (contact page) */
.map-frame { aspect-ratio: auto; height: 380px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map-frame { height: 300px; } }

/* clickable direction cards (contact page) */
a.card-go { color: inherit; display: block; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
a.card-go:hover { color: inherit; box-shadow: var(--shadow-md); transform: translateY(-3px); }
a.card-go h3 { margin-top: .6rem; }
.footer-contact .icon { width: 21px; height: 21px; background: #fff; border-radius: 4px; padding: 4px; color: var(--navy); box-sizing: border-box; flex: none; }
.m-li .inbug, .contact-list .inbug { height: 21px; width: auto; flex: none; }
/* Small phones: keep phone + email + In-Bug on one topbar line */
@media (max-width: 520px) {
  .topbar { font-size: .72rem; }
  .topbar .container { gap: .7rem; justify-content: space-between; flex-wrap: nowrap; padding-left: 14px; padding-right: 14px; }
  .topbar a { gap: .3rem; white-space: nowrap; min-width: 0; }
  .topbar .icon { width: 13px; height: 13px; }
}
.topbar .topbar-linkedin { margin-left: .4rem; opacity: 1; }
.topbar .topbar-linkedin:hover { opacity: .85; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; letter-spacing: -.3px; }
.brand-mark { width: 42px; height: 42px; border-radius: 9px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; flex: none; }
.brand-mark span { color: var(--green-hi); }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: .3rem; padding: .7rem .85rem; border-radius: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--charcoal);
}
.nav-links > li > a:hover, .nav-links > li.current > a { color: var(--navy); background: var(--bg); }
.nav-links > li.current > a { color: var(--green-deep); }
.nav-links .chev { width: 15px; height: 15px; opacity: .7; }

/* Dropdown */
.has-menu .submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s var(--ease); z-index: 60;
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; gap: .7rem; align-items: flex-start; padding: .6rem .7rem; border-radius: 8px; color: var(--charcoal); }
.submenu a:hover { background: var(--bg); color: var(--navy); }
.submenu .icon { width: 19px; height: 19px; color: var(--green-deep); margin-top: 2px; }
.submenu strong { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: block; line-height: 1.3; }
.submenu small { color: var(--slate); font-size: .78rem; }
.submenu .featured { background: var(--navy); }
.submenu .featured:hover { background: var(--navy-700); }
.submenu .featured strong, .submenu .featured small { color: #fff; }
.submenu .featured .icon { color: var(--green-hi); }

/* Grouped Services mega menu: three labelled columns in one panel */
.menu-col { min-width: 0; }
.menu-sub { list-style: none; margin: 0; padding: 0; }
/* Dropdown items: no icons; accent title over a quiet one-line description */
.submenu a > .icon { display: none; }
.submenu a { display: block; padding: .55rem .8rem; }
.submenu strong { color: var(--green-deep); }
.submenu a:hover { background: var(--bg); }
.submenu a:hover strong { color: var(--navy); }
.submenu small { display: block; margin-top: 1px; }
/* Study-stage quick links under Mining Studies */
.menu-stages { display: flex; align-items: center; padding: 0 .8rem .5rem; }
.menu-stages a {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  color: var(--green-deep); padding: .15rem .45rem; border-radius: 6px;
}
.menu-stages a:hover { background: var(--bg); color: var(--navy); }
.menu-stages a + a::before { content: "·"; color: var(--slate-200); margin-right: .55rem; }
.submenu .menu-col-title { display: block; padding: .5rem .8rem .45rem; margin-bottom: .35rem; border-bottom: 2px solid var(--green); border-radius: 8px 8px 0 0; }
.submenu .menu-col-title strong { color: var(--navy); font-size: .95rem; }
.menu-col-title strong .icon {
  display: inline-block; width: 14px; height: 14px;
  vertical-align: -2px; margin-left: .15rem; color: var(--green-deep);
}
.nav-close-row { display: none; }
.nav-enquire { display: none; }
@media (min-width: 981px) {
  .has-menu .submenu.mega {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: .3rem 1.4rem; align-items: start;
    min-width: min(820px, calc(100vw - 48px)); max-width: calc(100vw - 48px);
    padding: 1rem 1.1rem;
  }
}

.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--navy); padding: 8px; }

/* Homepage hero: muted looping background video (desktop), navy veil keeps text legible */
.hero-video{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none;}
.hero-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.hero-video-veil{position:absolute;inset:0;background:linear-gradient(115deg, rgba(21,22,58,.93) 0%, rgba(37,38,94,.82) 55%, rgba(29,30,75,.88) 100%);}

/* Mobile nav */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 88px 18px 32px;
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .28s var(--ease);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  /* Accordion menu: groups collapsed until tapped; chevron flips when open */
  .nav-links { padding: 76px 22px 40px; }
  .nav-links > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .8rem .3rem; font-size: 1.05rem; font-weight: 600; color: var(--navy);
    border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .nav-links .chev { display: inline-block; color: var(--green-deep); transition: transform .25s var(--ease); }
  .has-menu.expanded > a { color: var(--green-deep); border-bottom-color: var(--green); }
  .has-menu.expanded > a .chev { transform: rotate(180deg); }
  .has-menu .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: 3px solid var(--green); border-radius: 0;
    margin: 0; padding: .35rem 0 .5rem .3rem; min-width: 0;
    background: var(--bg);
    display: none;
  }
  .has-menu.expanded .submenu { display: block; }
  .submenu a { padding: .5rem .9rem; }
  .submenu a strong { color: var(--navy); font-weight: 600; }
  .submenu small { display: none; }
  .submenu .menu-col-title { border-bottom: none; margin: .3rem 0 0; padding: .55rem .9rem .15rem; }
  .submenu .menu-col-title strong {
    color: var(--green-deep); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em;
  }
  .submenu .menu-col-title small { display: none; }
  .menu-col-title strong .icon { width: 12px; height: 12px; vertical-align: -1px; }
  .menu-stages { padding: 0 .9rem .35rem; }
  /* Full-width Enquire at the foot of the panel */
  .nav-enquire { margin-top: 1.2rem; }
  .nav-enquire > a.btn {
    display: flex; justify-content: center; border-bottom: none;
    background: var(--green); color: #fff; font-size: 1rem; padding: .85rem 1.5rem;
    border-radius: var(--radius); box-shadow: 0 6px 16px rgba(109,184,47,.28);
  }
  /* Green corner with the close control */
  .nav-links::before {
    content: ""; position: absolute; top: 0; right: 0;
    border-style: solid; border-width: 0 84px 84px 0;
    border-color: transparent var(--green) transparent transparent;
  }
  .nav-links > li.nav-close-row { display: block; position: static; }
  .nav-links > li.nav-enquire { display: block; }
  .nav-close {
    position: absolute; top: 8px; right: 6px; z-index: 2;
    background: none; border: none; cursor: pointer; color: #fff; padding: 10px;
  }
  .nav-cta .btn { display: none; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(21,22,58,.45); opacity: 0; visibility: hidden; transition: .25s; z-index: 40; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   Page header / hero
   ========================================================================== */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 380px at 88% -10%, rgba(109,184,47,.20), transparent 60%),
    radial-gradient(700px 320px at 0% 120%, rgba(152,216,70,.12), transparent 55%);
}
.page-hero .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero .eyebrow { color: var(--green-hi); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats .stat strong { font-family: var(--font-head); font-size: 2rem; color: #fff; display: block; line-height: 1; }
.hero-stats .stat span { font-size: .82rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .07em; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 30px; }

/* hero visual card */
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(4px); }
.hero-card h3 { color: #fff; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.hero-card h3 .icon { color: var(--green-hi); }
.hero-card ul { list-style: none; margin: 14px 0 0; }
.hero-card li { display: flex; gap: .6rem; align-items: flex-start; padding: .5rem 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.86); font-size: .96rem; }
.hero-card li:first-child { border-top: none; }
.hero-card li .icon { width: 19px; height: 19px; color: var(--green-hi); margin-top: 3px; }

/* Breadcrumb */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0; padding: 12px 0; font-size: .85rem; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; color: var(--slate); }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--green-deep); }
.breadcrumb .sep { width: 14px; height: 14px; color: var(--slate-200); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   Sections & layout helpers
   ========================================================================== */
section { padding: 72px 0; }
section.tight { padding: 52px 0; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--green-hi); }
.section-navy p { color: rgba(255,255,255,.82); }
.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }

/* Service / feature cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ic-badge {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--bg); color: var(--navy); margin-bottom: 18px;
}
.card .ic-badge .icon { width: 27px; height: 27px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--slate); font-size: .98rem; }
.card .card-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .35rem; color: var(--green-deep); }
.card .card-link .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.card:hover .card-link .icon { transform: translateX(4px); }
.card.featured { border: 1.5px solid var(--green); position: relative; }
.card .tag { position: absolute; top: 18px; right: 18px; background: var(--green); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; }
.checklist li .icon { width: 21px; height: 21px; color: var(--green-deep); margin-top: 3px; }
.checklist.tight li { padding: .35rem 0; }

/* Stat band */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statband .stat { text-align: center; }
.statband .stat strong { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green-hi); display: block; line-height: 1; }
.section-navy .statband .stat strong { color: var(--green-hi); }
.statband .stat span { font-size: .9rem; opacity: .85; }

/* Process / timeline */
.process { counter-reset: step; display: grid; gap: 20px; }
.process .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 24px 78px; position: relative; box-shadow: var(--shadow-sm); }
.process .step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 22px; top: 22px; font-family: var(--font-head); font-weight: 700;
  font-size: 1.1rem; color: #fff; background: var(--navy); width: 40px; height: 40px;
  border-radius: 10px; display: grid; place-items: center;
}
.process .step h4 { margin-bottom: .25rem; }
.process .step p { margin: 0; color: var(--slate); font-size: .96rem; }

/* Study phase comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
table.compare tbody th { font-family: var(--font-head); color: var(--navy); font-weight: 600; }
table.compare tbody tr:nth-child(even) td, table.compare tbody tr:nth-child(even) th { background: #fafbfc; }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: none; }

/* Pill row */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { background: #fff; border: 1px solid var(--line); color: var(--charcoal); border-radius: 999px;
  padding: .4rem .9rem; font-size: .85rem; font-family: var(--font-head); font-weight: 500; }
.section-navy .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s var(--ease); color: var(--green-deep); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--charcoal); }
.faq details > div p { margin: 0; color: var(--slate); }

/* Callout */
.callout { background: #fff; border-left: 4px solid var(--green); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-sm); }
.callout p { font-size: 1.12rem; color: var(--charcoal); margin: 0; }

/* Related links */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--navy); font-family: var(--font-head); font-weight: 600; box-shadow: var(--shadow-sm); transition: all .2s var(--ease); }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.related a .icon { color: var(--green-deep); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(640px 300px at 90% 0%, rgba(109,184,47,.22), transparent 60%); }
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: 60px; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; font-family: var(--font-head); font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr 1fr; gap: 26px; padding-bottom: 44px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--green-hi); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; font-size: .94rem; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand small { color: rgba(255,255,255,.6); }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.footer-contact li { display: flex; gap: .6rem; align-items: center; margin-bottom: .7rem; font-size: .94rem; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--green-hi); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a { margin-left: 1rem; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea { font-family: var(--font-body); font-size: 1rem; color: var(--charcoal); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; width: 100%; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); background: #fff; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: 6px; }
.req { color: var(--green-deep); }

/* File attachment fields (application form) */
.file-field input[type="file"] { border-style: dashed; padding: .55rem .6rem; cursor: pointer; }
.file-field input[type="file"]::file-selector-button {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: #fff;
  background: var(--navy); border: 0; border-radius: 8px; padding: .5rem .9rem;
  margin-right: .8rem; cursor: pointer; transition: background .2s var(--ease);
}
.file-field input[type="file"]:hover::file-selector-button { background: var(--navy-700); }
.file-hint { font-size: .82rem; color: var(--slate); margin: 0; min-height: 1.1em; }
.file-hint.is-error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.li-follow { display: flex; justify-content: center; margin-top: 10px; }
/* Official LinkedIn wordmark as a static follow link - blue on white per
   brand spec; padding gives the required clear space. */
.li-follow a { display: inline-block; padding: 14px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.li-follow a:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.li-follow img { height: 28px; width: auto; display: block; }

.form-status { margin-top: 14px; font-family: var(--font-head); font-weight: 600; min-height: 1.2em; }
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { color: var(--green-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: none; }
.contact-list .icon { color: var(--green-deep); margin-top: 3px; }
.contact-list strong { font-family: var(--font-head); color: var(--navy); display: block; font-size: .9rem; }

/* Department cards (landing) */
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dept { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.dept:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dept .dept-top { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; padding: 30px 32px; position: relative; overflow: hidden; }
.dept .dept-top::after { content:""; position:absolute; inset:0; background: radial-gradient(420px 200px at 90% -20%, rgba(109,184,47,.25), transparent 60%); }
.dept .dept-top .icon { width: 34px; height: 34px; color: var(--green-hi); margin-bottom: 12px; position: relative; }
.dept .dept-top h2 { color: #fff; font-size: 1.45rem; margin: 0; position: relative; }
.dept .dept-top .kicker { font-family: var(--font-head); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-hi); position: relative; }
.dept .dept-body { padding: 28px 32px; display: flex; flex-direction: column; flex: 1; }
.dept .dept-body p { color: var(--slate); }
.dept .dept-body .checklist { margin-bottom: 22px; }
.dept .dept-body .btn { margin-top: auto; align-self: flex-start; }
table.compare td.yes { color: var(--green-deep); font-weight: 600; }

/* Mockup banner */
.mockup-flag { background: var(--green-hi); color: var(--navy-900); text-align: center; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .04em; padding: 7px 12px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .statband { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
}
@media (max-width: 760px) { .form-row, .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4, .split, .related { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .page-hero .container { padding-top: 44px; padding-bottom: 44px; }
}

/* ==========================================================================
   Responsive hardening (responsive-design skill audit)
   ========================================================================== */
/* Anchor jumps clear the sticky header */
html { scroll-padding-top: 92px; }

/* Media never overflows its column */
img, svg, video, canvas { max-width: 100%; }

/* Let flex/grid children shrink below their content size (kills mystery overflow) */
.hero-grid > *, .split > *, .contact-grid > *, .footer-grid > *, .card, .dept, .dept-body { min-width: 0; }

/* Long unbreakable strings (emails, URLs) wrap instead of forcing horizontal scroll */
body { overflow-wrap: break-word; }
.topbar a, .footer-contact a, .contact-list a, .breadcrumb a, .card-link { overflow-wrap: anywhere; }

/* Graceful heading/paragraph wrapping */
h1, h2, h3 { text-wrap: balance; }
p, .lead, .card p, .callout p { text-wrap: pretty; }

/* Tablet / landscape zone (681–980px): stop 3-/4-up rows and side-by-side splits
   from cramping. Phones (<=680px) are handled by the single-column block above. */
@media (min-width: 681px) and (max-width: 980px) {
  .grid-3  { grid-template-columns: repeat(2, 1fr); }
  .split   { grid-template-columns: 1fr; gap: 34px; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(2, 1fr); }
}

/* Small phones: a touch more room and larger tap targets */
@media (max-width: 680px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .footer-links a { display: inline-block; padding: 3px 0; }
  .nav-links > li > a { padding-top: 1rem; padding-bottom: 1rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}

/* Landing department cards must stack on phones / small tablets */
@media (max-width: 980px) {
  .dept-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Q-PRIO values — "Quality is our PRIOrity"
   ========================================================================== */
.qprio-phrase { font-family: var(--font-head); font-weight: 700; }
.qprio-phrase .q { color: var(--green-hi); }
.section--alt .qprio-phrase .q, body .qprio-phrase.on-light .q { color: var(--green-deep); }
.qprio-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.val-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); position: relative; overflow: hidden;
}
.val-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green); }
.val-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.val-letter {
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--green); margin-bottom: .5rem;
}
.val-card h3 { margin: 0 0 .15rem; font-size: 1.15rem; }
.val-tag { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--green-deep); margin: 0 0 .5rem; }
.val-desc { color: var(--slate); font-size: .95rem; margin: 0; }
/* Q-PRIO emblem inline mark */
.qprio-mark { width: 56px; height: 56px; display: inline-block; vertical-align: middle; }

/* ---- Q-PRIO value cards: explicit colours so they're visible on the navy band ---- */
.val-card h3 { color: var(--navy); }
.qprio-emblem { width: 60px; height: 60px; display: block; margin: 0 auto 14px; }
/* On the navy values band: deck-style navy cards with green outline + white text */
.section-navy .val-card { background: rgba(255,255,255,.05); border-color: rgba(152,216,70,.35); }
.section-navy .val-card::before { background: var(--green-hi); }
.section-navy .val-card .val-letter { color: var(--green-hi); }
.section-navy .val-card h3 { color: #fff; }
.section-navy .val-card .val-tag { color: var(--green-hi); }
.section-navy .val-card .val-desc { color: rgba(255,255,255,.82); }

/* ==========================================================================
   Q-PRIO values RAIL — vertical acronym (replaces card grid)
   ========================================================================== */
.qprio-list { position: relative; max-width: 860px; margin: 0 auto; }
.qprio-list::before {
  content: ""; position: absolute; left: 35px; top: 52px; bottom: 52px; width: 2px;
  background: linear-gradient(rgba(152,216,70,.55), rgba(152,216,70,.12));
}
.qprio-row {
  display: grid; grid-template-columns: 72px 1fr; gap: 26px; align-items: center;
  padding: 22px 0; position: relative;
}
.qprio-row + .qprio-row { border-top: 1px solid rgba(255,255,255,.10); }
.qprio-node {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(152,216,70,.5);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
  font-size: 2rem; color: var(--green-hi); background: #1d1e4b; position: relative; z-index: 1;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.qprio-row:hover .qprio-node { transform: scale(1.07); border-color: var(--green-hi); background: rgba(152,216,70,.16); }
.qprio-rc { min-width: 0; }
.qprio-rc h3 { color: #fff; margin: 0 0 .1rem; font-size: clamp(1.18rem, 2.2vw, 1.55rem); }
.qprio-rc .vtag { display: block; color: var(--green-hi); font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.qprio-rc .vdesc { color: rgba(255,255,255,.82); margin: 0; font-size: 1.02rem; }
@media (max-width: 560px) {
  .qprio-row { grid-template-columns: 52px 1fr; gap: 18px; }
  .qprio-node { width: 48px; height: 48px; font-size: 1.5rem; }
  .qprio-list::before { left: 25px; }
}

/* Q-PRIO horizontal band — the official compact values format: green rounded
   panel, five navy nodes on a navy connector line, white labels beneath. */
/* Q-PRIO full device: navy section, band chain + two-column value detail */
.qprio-full .eyebrow { color: var(--green-hi); }
.qprio-full .qprio-sub { color: rgba(255,255,255,.85); max-width: 640px; }
.qprio-full .qprio-band { margin-top: 26px; }
.qprio-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 48px; margin-top: 30px; }
.qprio-detail .vrow2 { display: flex; gap: 14px; align-items: flex-start; }
.qprio-detail .vnode2 { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--green); color: var(--green-hi); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; }
.qprio-detail h3 { color: #fff; font-size: 1.1rem; margin: 0 0 .05rem; }
.qprio-detail .vtag { display: block; color: var(--green-hi); font-family: var(--font-head); font-weight: 600; font-size: .86rem; margin-bottom: .3rem; }
.qprio-detail p { color: rgba(255,255,255,.82); margin: 0; font-size: .96rem; }
@media (max-width: 760px) { .qprio-detail { grid-template-columns: 1fr; } }

.qprio-sub {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--green-deep);
  margin: .35rem 0 0;
}
.qprio-band {
  background: linear-gradient(135deg, #aee64d, #9fdb47, #8ecf41, #8ecf41, #77bd37, #459721, #459721, #459721);
  border-radius: 24px; box-shadow: var(--shadow-md);
  padding: clamp(30px, 5vw, 52px) clamp(18px, 4vw, 48px);
  margin-top: 28px;
}
.qprio-chain {
  position: relative; display: flex; justify-content: space-between;
  gap: 10px; max-width: 920px; margin: 0 auto;
}
.qprio-chain::before {
  content: ""; position: absolute; z-index: 0;
  top: calc(clamp(52px, 6.5vw, 70px) / 2 - 4px);
  left: 9%; right: 9%; height: 8px; border-radius: 4px;
  background: var(--navy);
}
.qprio-item {
  position: relative; z-index: 1; flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
}
.qprio-dot {
  width: clamp(52px, 6.5vw, 70px); height: clamp(52px, 6.5vw, 70px);
  border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(21, 22, 58, .28);
}
.qprio-item span {
  color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(.85rem, 1.5vw, 1.05rem); line-height: 1.25; max-width: 9.5em;
}
@media (max-width: 640px) {
  .qprio-chain { flex-direction: column; align-items: stretch; gap: 0; max-width: 340px; }
  .qprio-chain::before {
    top: 24px; bottom: 24px; height: auto; width: 8px;
    left: calc(26px - 4px); right: auto;
  }
  .qprio-item {
    flex-direction: row; text-align: left; gap: 18px; padding: 12px 0;
  }
  .qprio-item .qprio-dot { width: 52px; height: 52px; font-size: 1.35rem; flex: none; }
}

/* ==========================================================================
   Team — grouped profile cards
   ========================================================================== */
.team-group { margin-bottom: 44px; }
.team-group:last-child { margin-bottom: 0; }
.team-group-title { font-size: 1.15rem; color: var(--navy); display: flex; align-items: center; gap: .7rem; margin-bottom: 22px; }
.team-group-title::before { content: ""; width: 30px; height: 3px; background: var(--green); border-radius: 2px; flex: none; }
.team-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr)); }
.member { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.m-photo { aspect-ratio: 3 / 2; background: var(--navy); position: relative; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-photo.m-monogram { display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 70%, var(--green-deep) 160%); }
.m-photo.m-monogram span { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 3rem;
  width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid var(--green-hi); background: rgba(255,255,255,.06); }
.m-body { min-width: 0; display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.m-name { margin: 0; font-size: 1.18rem; }
.m-role { margin: .15rem 0 .6rem; color: var(--green-deep); font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.chip { background: var(--bg); border: 1px solid var(--line); color: var(--navy); border-radius: 999px;
  padding: .18rem .6rem; font-size: .72rem; font-family: var(--font-head); font-weight: 600; }
.m-bio { color: var(--slate); font-size: .94rem; margin: 0 0 .9rem; }
.m-li { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; font-family: var(--font-head);
  font-weight: 600; font-size: .85rem; color: var(--green-deep); }
.m-li .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Video — privacy-friendly click-to-play (YouTube facade)
   ========================================================================== */
.video-wrap { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0;
  cursor: pointer; background: var(--navy-900); display: block; }
.video-poster { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play svg { width: 88px; height: 88px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); transition: transform .2s var(--ease); }
.video-facade:hover .video-play svg, .video-facade:focus-visible .video-play svg { transform: scale(1.08); }
.video-frame { width: 100%; height: 100%; border: 0; display: block; }

/* Team / photo banners */
.team-banner { margin: 0 auto 36px; max-width: 1100px; aspect-ratio: 16 / 7; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy); }
.team-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Client logo strip
   ========================================================================== */
.client-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px 48px; }
.client-logos img { height: 52px; width: auto; max-width: 180px; object-fit: contain;
  filter: grayscale(1); opacity: .72; transition: filter .2s var(--ease), opacity .2s var(--ease); }
.client-logos img:hover { filter: none; opacity: 1; }
@media (max-width: 600px) { .client-logos { gap: 20px 30px; } .client-logos img { height: 40px; max-width: 130px; } }

/* ==========================================================================
   Job listing pages (generated from the SharePoint JobPostings list)
   ========================================================================== */
.chips-light .chip { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.30);
  color: #fff; border-radius: 999px; padding: .28rem .8rem; font-size: .8rem;
  font-family: var(--font-head); font-weight: 600; }
.page-hero .chips-light { margin: 14px 0 6px; }
.job-banner { margin: 0 auto; max-width: 1100px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy); }
.job-banner img { width: 100%; height: auto; display: block; }
.job-apply-note { color: var(--slate); font-size: .95rem; margin-top: 14px; }

/* Article body for generated news pages (sanitised SharePoint content) */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin: 0 0 1.1rem; }
.prose h2, .prose h3, .prose h4 { margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { border-left: 4px solid var(--green); margin: 1.2rem 0; padding: .4rem 0 .4rem 1.2rem;
  color: var(--charcoal); font-size: 1.08rem; }

/* Full-width photo banner band */
.media-band { padding-top: 0; }

/* Full-bleed hero ribbon: the page photo runs edge to edge, flush under the
   navy hero - shorter than the boxed banner, extended not enlarged. */
.media-band--flush { padding: 0; }
.media-band--flush .container { max-width: none; padding: 0; }
.media-band--flush figure.media-banner, .media-band--flush figure.team-banner { margin: 0; max-width: none; aspect-ratio: auto; height: auto; border-radius: 0; box-shadow: none; overflow: hidden; }
.media-band--flush .media-banner img, .media-band--flush .team-banner img,
.media-band--flush .media-banner video { width: 100%; height: clamp(300px, 38vw, 500px); object-fit: cover; display: block; }
.media-band--flush .media-banner img.crop-faces, .media-band--flush .team-banner img.crop-faces { object-position: 50% 30%; }
.media-banner { position: relative; margin: 0 auto; max-width: 1180px; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy); }
.media-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-banner figcaption { position: absolute; left: 0; right: 0; bottom: 0; color: #fff;
  padding: 30px clamp(20px,4vw,36px) 22px; font-weight: 600; font-size: clamp(1rem, 2.2vw, 1.25rem);
  background: linear-gradient(to top, rgba(15,16,40,.82), rgba(15,16,40,.30) 55%, rgba(15,16,40,0)); }
@media (max-width: 600px) { .media-banner { aspect-ratio: 4 / 3; } }

/* Official logo (used as-is, scaled only) */
.brand-logo { height: 52px; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo { height: 42px; } }
/* On the navy footer, the logo sits on a white chip so its navy elements stay visible */
.brand-logo-chip { height: auto; width: 190px; max-width: 60vw; background: #fff;
  padding: 10px 14px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.site-footer .brand { display: inline-block; }

/* ==========================================================================
   Experience-profile pages — share actions + print / save-as-PDF
   ========================================================================== */
.profile-actions { margin-top: 20px; }

@media print {
  .skip-link, .mockup-flag, .topbar, .site-header, .site-footer, .profile-actions { display: none !important; }
  body { background: #fff; }
  /* The navy hero prints white-on-white unless restyled */
  .page-hero { background: none !important; color: var(--navy); }
  .page-hero::after { display: none; }
  .page-hero h1 { color: var(--navy); }
  .page-hero .lead { color: var(--charcoal); }
  .page-hero .eyebrow { color: var(--green-deep); }
  .page-hero .container { padding-top: 0; padding-bottom: 16px; }
  .page-hero .chips-light .chip { color: var(--navy); background: none; border: 1px solid var(--slate-200); }
  .section--alt { background: #fff; }
  .prose article, article.prose { break-inside: avoid; }
  .callout { border: 1px solid var(--line); }
  a { color: var(--navy); text-decoration: none; }
}


/* ==========================================================================
   Hero card on phones — collapsible summary
   The card carries content that appears nowhere else on the page, so it is
   never hidden. On phones nav.js marks it .is-collapsible and turns the title
   into a real <button>; without JS the card renders in full, as before.
   ========================================================================== */
.hero-card-toggle {
  display: none; width: 100%; background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  align-items: center; gap: .5rem;
}
.hero-card-toggle .chev {
  margin-left: auto; width: 18px; height: 18px; flex: none;
  color: var(--green-hi); transition: transform .18s ease;
}
.hero-card.is-collapsible > .hero-card-title { display: none; }
.hero-card.is-collapsible .hero-card-toggle { display: flex; }
.hero-card.is-collapsible:not(.is-open) > ul { display: none; }
.hero-card.is-collapsible.is-open .chev { transform: rotate(180deg); }
.hero-card-toggle:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; }

@media (max-width: 680px) {
  /* Tighter card so the navy header does not dominate the first screen */
  .hero-card { padding: 14px 16px; }
  .hero-card.is-collapsible:not(.is-open) { padding: 12px 16px; }
  .hero-card { margin-top: 18px; }

}

@media (prefers-reduced-motion: reduce) {
  .hero-card-toggle .chev { transition: none; }
}
