/* =====================================================================
   Acme Pharma - main.css
   One stylesheet for the whole site. No framework.
   Layout: 1200px content width, 100px section rhythm, 30px card gutters.
   Colours: Acme Pharma brand blues (unchanged from the current site).
   ===================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: Eina; src: url('../fonts/eina-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Eina; src: url('../fonts/eina-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Markpro; src: url('../fonts/markpro-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Markpro; src: url('../fonts/markpro-heavy-1.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* If the web fonts cannot load - for example when the page is opened straight from a folder,
   where Chrome blocks web fonts - fall back to a system font set to the SAME metrics as Eina
   and Markpro, so text keeps its position (button labels stay centred) and nothing shifts. */
@font-face { font-family: 'Eina fallback'; src: local('Segoe UI'), local('Helvetica Neue'), local('Arial'), local('Liberation Sans'), local('DejaVu Sans');
  ascent-override: 77.7%; descent-override: 22.3%; line-gap-override: 36%; }
@font-face { font-family: 'Markpro fallback'; src: local('Segoe UI Semibold'), local('Segoe UI'), local('Helvetica Neue'), local('Arial'), local('Liberation Sans'), local('DejaVu Sans');
  ascent-override: 111.3%; descent-override: 23.6%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
  --brand: #3a5597;          /* Acme dark slate blue */
  --brand-2: #4c82b7;        /* Acme lighter blue */
  --brand-deep: #1f2e57;     /* deep shade of the brand blue (top bar, footer) */
  --brand-soft: #eaf0fa;     /* tint for icon circles and pills */
  --ink: #2b2a35;            /* headings */
  --text: #545465;           /* body copy */
  --muted: #6b6e7b;
  --line: #e3e5ec;
  --bg-alt: #f4f6fa;         /* alternate section background */
  --white: #fff;

  --font-body: Eina, 'Eina fallback', 'Segoe UI', Arial, sans-serif;
  --font-head: Markpro, 'Markpro fallback', Eina, 'Segoe UI', Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --section-y: 100px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(31, 46, 87, .06);
  --shadow: 0 14px 40px rgba(31, 46, 87, .10);
  --header-h: 84px;

  /* used by careers.css */
  --dark-slate-blue-2: #3a5597;
  --text-color: #545465;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-2); }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 20px; }
h1, h2, h3, h4, h5 { text-wrap: balance; margin: 0 0 14px; color: var(--ink); font-family: var(--font-head); font-weight: 700; line-height: 1.2; letter-spacing: -.2px; }
h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 900; line-height: 1.08; letter-spacing: -.8px; }
h2 { font-size: clamp(30px, 3.2vw, 42px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 70px 0; }
.section--flush-top { padding-top: 0; }
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }

/* section heading: eyebrow + title + intro, Lifexa-style */
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.section-head h2 { margin-bottom: 16px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  color: var(--brand); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.center .eyebrow::after, .section-head:not(.section-head--left) .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 19px; line-height: 1.7; color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 4px 28px 0; border: 2px solid transparent; border-radius: 12px;
  font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .2px;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(58, 85, 151, .25); }
.btn--primary:hover { background: var(--brand-2); color: #fff; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-soft); color: var(--brand); }
.btn--outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline:hover { background: #fff; border-color: #fff; color: var(--brand); }
.btn--ghost { border-color: var(--brand); color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--sm { min-height: 44px; padding: 2px 22px 0; font-size: 15px; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- top bar ---------- */
.topbar { background: var(--brand-deep); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar a { color: rgba(255, 255, 255, .9); }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; align-items: center; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; color: #8fb1dc; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(31, 46, 87, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; border: 0; background: none;
  color: var(--ink); font-family: var(--font-body); font-size: 15.5px; font-weight: 700; cursor: pointer;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item--current > .nav__link { color: var(--brand); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--current > .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav__item--has-menu:hover .nav__link svg, .nav__item--has-menu.is-open .nav__link svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: -22px; min-width: 270px; margin: 0; padding: 10px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--has-menu:hover .nav__menu, .nav__item--has-menu.is-open .nav__menu, .nav__item--has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.3; }
.nav__menu a small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 400; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--bg-alt); color: var(--brand); }
.nav__menu-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.nav__menu-icon svg { width: 20px; height: 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- hero (home) ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 680px; padding: 110px 0 170px; color: #fff; overflow: hidden; background: var(--brand-deep) center / cover no-repeat; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 31, 61, .92) 0%, rgba(31, 46, 87, .78) 45%, rgba(58, 85, 151, .35) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero__content { max-width: 680px; }
.hero .eyebrow { color: #a9c3e8; }
.hero h1 { margin-bottom: 22px; color: #fff; }
.hero__lead { margin-bottom: 34px; font-size: 20px; line-height: 1.65; color: rgba(255, 255, 255, .88); }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: rgba(255, 255, 255, .9); }
.hero__badge span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand); }
.hero__badge svg { width: 16px; height: 16px; }
.hero__badge a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* trust strip overlapping the hero */
.trust { position: relative; z-index: 2; margin-top: -90px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust__item { display: flex; gap: 16px; align-items: flex-start; padding: 30px 28px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item h3 { margin: 0 0 4px; font-size: 18px; }
.trust__item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* icon badge */
.icon-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 54px; height: 54px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--lg { width: 72px; height: 72px; border-radius: 18px; }
.icon-badge--lg svg { width: 34px; height: 34px; }
.icon-badge--solid { background: var(--brand); color: #fff; }
.icon-badge--round { border-radius: 50%; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 120px 0 110px; color: #fff; background: var(--brand-deep) center / cover no-repeat; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 31, 61, .92) 0%, rgba(31, 46, 87, .80) 50%, rgba(58, 85, 151, .45) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; margin-bottom: 16px; color: #fff; }
.page-hero p { max-width: 680px; margin: 0; font-size: 19px; color: rgba(255, 255, 255, .86); }
.page-hero--short { padding: 90px 0 80px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- media row (image + text) ---------- */
.media-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 70px; }
.media-row + .media-row { margin-top: 100px; }
.media-row--reverse .media-row__media { order: 2; }
.media-row__media { position: relative; }
.media-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-row__media--contain img { object-fit: contain; background: #fff; box-shadow: none; border: 1px solid var(--line); }
.media-row__body h2 { margin-bottom: 18px; }
.media-row__body > :last-child { margin-bottom: 0; }
.media-badge {
  position: absolute; right: -22px; bottom: -26px; display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.media-badge > div strong { display: block; font-family: var(--font-head); font-size: 28px; line-height: 1; color: var(--brand); }
.media-badge > div span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.media-badge--left { right: auto; left: -22px; }

/* ---------- check list ---------- */
.check-list { margin: 0 0 24px; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 0 0 12px; padding-left: 34px; line-height: 1.6; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a5597' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.check-list--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a.card { color: inherit; }
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.card--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; left: 16px; top: 16px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--brand); font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { margin-bottom: 18px; font-size: 16px; line-height: 1.65; color: var(--text); }
.card__body .link-arrow { margin-top: auto; }
.card--pad { padding: 34px 32px; }
.card--pad .icon-badge { margin-bottom: 22px; }
.card--pad h3 { margin-bottom: 10px; }
.card--pad p { margin: 0; font-size: 16px; }
.card--center { align-items: center; text-align: center; }

/* feature (icon + text, Lifexa "about" style) */
.feature { display: flex; gap: 24px; align-items: flex-start; }
.feature h3 { margin: 2px 0 8px; font-size: 21px; }
.feature p { margin: 0 0 10px; font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 60px; }

/* values list */
.value-list { display: grid; gap: 18px; }
.value { display: flex; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.value h3 { margin: 0 0 4px; font-size: 18px; }
.value p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.value .icon-badge { width: 46px; height: 46px; border-radius: 12px; }
.value .icon-badge svg { width: 22px; height: 22px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 700; }
.section--alt .chips li { background: #fff; }

/* dark band (mission / vision / values) */
.band { position: relative; padding: var(--section-y) 0; color: rgba(255, 255, 255, .85); background: var(--brand-deep); overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(76, 130, 183, .35), transparent 45%), radial-gradient(circle at 5% 100%, rgba(58, 85, 151, .5), transparent 40%); }
.band .container { position: relative; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #a9c3e8; }
.band .section-head p { color: rgba(255, 255, 255, .72); }
.band-card { height: 100%; padding: 36px 32px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s ease, transform .25s ease; }
.band-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.band-card .icon-badge { margin-bottom: 22px; background: rgba(255, 255, 255, .12); color: #fff; }
.band-card p { margin-bottom: 18px; font-size: 16px; }
.band-card .link-arrow { color: #a9c3e8; }
.band-card .link-arrow:hover { color: #fff; }

/* accreditation cards */
.accred { display: flex; flex-direction: column; height: 100%; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.accred__logo { display: flex; align-items: center; height: 84px; margin-bottom: 22px; }
.accred__logo img { max-height: 76px; width: auto; }
.accred h3 { font-size: 19px; }
.accred p { margin: 0 0 12px; font-size: 15.5px; }
.accred .link-arrow { margin-top: auto; }

/* contact cards (Lifexa style) */
.contact-card { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 40px 28px 36px; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .icon-badge { margin-bottom: 22px; }
.contact-card h3 { margin-bottom: 8px; font-size: 22px; }
.contact-card p { margin: 0; font-size: 16px; line-height: 1.7; }
.contact-card a { font-weight: 700; }

/* ---------- forms ---------- */
.form-card { padding: 40px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14.5px; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #d5d9e4; border-radius: 10px; background: #fbfcfe;
  color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9095a3; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(58, 85, 151, .12); }
.form-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }

/* map */
.map-card { position: relative; height: 100%; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #eef2fa, #d6e0f2); box-shadow: var(--shadow-sm); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__panel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; text-align: center; }
.map-card.is-loaded .map-card__panel { display: none; }
.map-card__panel h3 { margin: 6px 0 0; }
.map-card__panel p { max-width: 340px; margin: 0; font-size: 15px; }
.map-card__panel small { max-width: 320px; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---------- accordion (FAQ) ---------- */
.accordion { display: grid; gap: 14px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .2s ease, border-color .2s ease; }
.accordion details[open] { border-color: transparent; box-shadow: var(--shadow); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; color: var(--ink); font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.35; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; transition: transform .2s ease;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a5597' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .accordion__body { padding: 0 26px 22px; }
.accordion .accordion__body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta { padding: 0 0 var(--section-y); }
.section--alt + .cta, .cta--alt { background: var(--bg-alt); }
.cta__box {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 60px;
  border-radius: 20px; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 60%, var(--brand-2) 100%);
}
.cta__box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta__box h2 { max-width: 640px; margin: 0 0 8px; color: #fff; font-size: clamp(26px, 2.6vw, 36px); }
.cta__box p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta__box p a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cta__box .btn-row { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- prose / legal ---------- */
.prose { color: var(--text); }
.prose h2 { margin: 42px 0 12px; font-size: 26px; }
.prose h3 { margin: 28px 0 10px; font-size: 20px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.prose code { padding: 1px 6px; border-radius: 4px; background: var(--bg-alt); font-size: 14px; }
.prose .legal-doc__meta { color: var(--muted); font-size: 14px; }
.prose .legal-doc__table { max-width: 100%; margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--bg-alt); color: var(--ink); }
.prose tbody th { width: 32%; background: #fafbfd; color: var(--ink); }
.prose tr:last-child th, .prose tr:last-child td { border-bottom: 0; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 60px; align-items: start; }
.legal-layout--aside-right { grid-template-columns: minmax(0, 1fr) 340px; }
.enquiry-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.toc h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); }
.toc ol { margin: 0; padding-left: 18px; font-size: 14.5px; }
.toc li { margin-bottom: 8px; }
.toc a:not(.btn) { color: var(--ink); }
.toc a:not(.btn):hover { color: var(--brand); }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .72); font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 50px; padding: 80px 0 60px; }
.site-footer__logo img { width: 190px; height: auto; margin-bottom: 20px; }
.site-footer__about { max-width: 340px; margin: 0 0 22px; font-size: 15px; line-height: 1.7; }
.site-footer h2 { margin: 6px 0 20px; color: #fff; font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 11px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.site-footer__contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: #8fb1dc; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s ease; }
.social a:hover { background: var(--brand-2); }
.social svg { width: 18px; height: 18px; }
.accred-mini { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 13px; line-height: 1.45; }
.accred-mini img { width: 92px; height: auto; padding: 6px; border-radius: 6px; background: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.site-footer__bottom p { margin: 0 0 3px; }
.site-footer__bottom a { color: rgba(255, 255, 255, .85); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; flex-shrink: 0; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-2); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- cookie notice ---------- */

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- careers / enquiry forms (works with careers.css) ---------- */
.career-main-content-wrapper { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.careers-section-container { width: 100%; }
.grid-6a { display: block; }
.link-2.job-link, .link-2.no-openings__link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 2px solid var(--brand); border-radius: 10px; color: var(--brand); font-weight: 700; }
.link-2.job-link:hover, .link-2.no-openings__link:hover { background: var(--brand); color: #fff; }
.link-2 .text-span { color: inherit !important; font-size: 15px !important; letter-spacing: .2px !important; }
.no-openings__heading { font-size: clamp(30px, 3.4vw, 44px) !important; }
.job-card__title, .jobs-intro__heading, .job-detail__title { font-size: clamp(28px, 3vw, 38px) !important; }
.career-main-content-wrapper.no-openings { margin-top: 0 !important; }
.enquiry-steps { counter-reset: step; margin: 30px 0 0; padding: 0; list-style: none; }
.enquiry-steps li { position: relative; margin-bottom: 22px; padding-left: 58px; }
.enquiry-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.enquiry-steps h3 { margin: 6px 0 4px; font-size: 18px; }
.enquiry-steps p { margin: 0; font-size: 15.5px; }
.job-form__status--info { color: var(--brand); }
.job-form__status--ok { color: #15803d; }
.job-form__status--error { color: #b91c1c; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .nav__list { gap: 24px; }
  .nav { gap: 22px; }
  .brand img { width: 176px; }
  .trust__item { padding: 26px 22px; }
}
@media (max-width: 1023px) {
  :root { --section-y: 80px; --header-h: 74px; }
  .topbar__group--hide-md { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 30px; overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 17px 4px; font-size: 17px; }
  .nav__link::after { display: none; }
  .nav__menu { position: static; min-width: 0; margin: 0 0 12px; padding: 6px; border: 0; border-radius: 12px; background: var(--bg-alt); box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__menu::before { display: none; }
  .nav__item--has-menu:hover .nav__menu { display: none; }
  .nav__item--has-menu.is-open .nav__menu { display: block; }
  .nav__item--has-menu:hover .nav__link svg { transform: none; }
  .nav__item--has-menu.is-open .nav__link svg { transform: rotate(180deg); }
  .nav__menu a:hover { background: #fff; }
  .nav .btn { width: 100%; margin-top: 22px; }
  .hero { min-height: 600px; padding: 90px 0 150px; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-row { gap: 44px; }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .legal-layout, .legal-layout--aside-right, .enquiry-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .toc { position: static; }
  .cta__box { flex-direction: column; align-items: flex-start; padding: 44px 40px; }
}
@media (max-width: 767px) {
  :root { --section-y: 64px; --gutter: 20px; }
  body { font-size: 16px; }
  .topbar { display: none; }
  .brand img { width: 160px; }
  .hero { min-height: 0; padding: 70px 0 130px; }
  .hero__lead { font-size: 17.5px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .trust { margin-top: -80px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { padding: 22px 22px; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .page-hero { padding: 80px 0 70px; }
  .page-hero p { font-size: 17px; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16.5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .media-row, .media-row--reverse { grid-template-columns: 1fr; gap: 34px; }
  .media-row--reverse .media-row__media { order: 0; }
  .media-row + .media-row { margin-top: 64px; }
  .media-badge { right: 12px; bottom: -22px; padding: 14px 16px; }
  .media-badge--left { left: 12px; }
  .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature { gap: 18px; }
  .check-list--2, .check-list--3 { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 340px; }
  .cta__box { padding: 36px 26px; border-radius: 16px; }
  .cta__box .btn-row, .cta__box .btn { width: 100%; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding: 56px 0 40px; }
  .site-footer__brand, .site-footer__col--contact { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; gap: 14px; padding-bottom: 90px; }
  .prose table { table-layout: fixed; font-size: 14px; }
  .prose th, .prose td { padding: 10px; overflow-wrap: anywhere; }
  .prose tbody th { width: 38%; }
  .accordion summary { padding: 18px 20px; font-size: 17px; }
  .accordion .accordion__body { padding: 0 20px 18px; }
}

/* page hero title when it is not the page's main heading (job pages) */
p.page-hero__title { max-width: 820px; margin: 0 0 16px; color: #fff; font-family: var(--font-head); font-size: clamp(36px, 4.6vw, 58px); font-weight: 900; line-height: 1.08; letter-spacing: -.8px; }

/* job detail pills */
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.job-meta__pill { display: inline-flex; align-items: center; padding: 6px 12px !important; border-radius: 999px !important; background: var(--brand-soft) !important; color: var(--brand) !important; font-size: 13px !important; font-weight: 700; }

/* buttons: same shape as the main site (12px corners, 52px), full-width form submits */
.form-actions .btn, .job-form__submit { width: 100%; }
.job-form__submit { min-height: 52px; border-radius: 12px !important; background: var(--brand) !important; font-size: 16px !important; box-shadow: 0 10px 24px rgba(58, 85, 151, .28); }
.job-form__submit:hover { background: #2c4379 !important; }
.btn--primary:hover { background: #2c4379; }
.link-2.job-link, .link-2.no-openings__link { min-height: 52px; border-radius: 12px; }
.link-2.job-link[data-apply-link], .link-2.job-link[href*="apply"] { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(58, 85, 151, .28); }
.link-2 .text-span { text-transform: none !important; }

/* label centring: Eina sits high in its line box, so labels are nudged down slightly (measured on screen) */
.job-form__submit { padding-top: 5px !important; padding-bottom: 0 !important; }
.link-2.job-link, .link-2.no-openings__link { padding-top: 4px; padding-bottom: 0; }

/* ---------- wide header and footer (same spread as the main site) ---------- */
:root { --wide-gutter: clamp(20px, 4vw, 64px); }
.topbar .container, .site-header .container, .site-footer .container {
  max-width: calc(1560px + 2 * var(--wide-gutter)); padding-left: var(--wide-gutter); padding-right: var(--wide-gutter);
}
@media (min-width: 1200px) {
  .site-footer__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 60px; }
  .site-footer__about { max-width: 380px; }
}

/* ---------- cookie banner (js/consent.js): Accept / Decline ---------- */
.consent {
  position: fixed; left: 50%; bottom: 20px; z-index: 1100; transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px;
  width: min(calc(100% - 32px), 1080px); padding: 22px 26px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(31, 46, 87, .25);
  font-size: 15px; line-height: 1.55; animation: consent-in .35s ease-out;
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.consent p { margin: 0; }
.consent .consent__title { margin: 0 0 4px; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); }
.consent a { color: var(--brand); font-weight: 700; text-decoration: underline; }
.consent__text { flex: 1 1 auto; min-width: 0; }
.consent__actions { display: flex; flex: 0 0 auto; gap: 12px; }
.consent__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 48px; margin: 0; padding: 4px 24px 0;
  border: 2px solid var(--brand); border-radius: 12px; background: var(--brand); color: #fff;
  font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer;
  box-shadow: 0 10px 24px rgba(58, 85, 151, .28); transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.consent__btn:hover { background: #2c4379; border-color: #2c4379; color: #fff; transform: translateY(-1px); }
.consent__btn--decline { background: #fff; color: var(--brand); box-shadow: none; }
.consent__btn:focus-visible { outline: 3px solid #9bb8e6; outline-offset: 3px; }
@media (max-width: 767px) {
  .consent { flex-direction: column; align-items: stretch; gap: 16px; bottom: 12px; padding: 18px; }
  .consent__actions { gap: 10px; }
  .consent__btn { flex: 1 1 0; min-width: 0; }
}
.map-card iframe[hidden] { display: none; }

/* About page header: the building photo sits on the right, so the Acme sign
   shows beside the title instead of behind it (the photo fades into the dark blue on its left) */
.page-hero--photo-right { background-size: auto 100%; background-position: right center; }
@media (max-width: 767px) {
  .page-hero--photo-right { background-size: cover; background-position: 40% center; }
}

/* ---------- home "About" section: "How we work" card (replaces the office photo) ---------- */
.how-card {
  position: relative; overflow: hidden; padding: 34px 36px 30px; border-radius: var(--radius);
  background: linear-gradient(160deg, #f6f9fe 0%, #e9f0fa 100%); border: 1px solid #e3e9f4; box-shadow: var(--shadow);
}
.how-card::after {   /* one soft brand glow, no pattern */
  content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(76, 130, 183, .16), transparent); pointer-events: none;
}
.how-card > * { position: relative; }
.how-card__label { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: 12.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.how-card__label::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.how-card__title { max-width: 320px; margin: 8px 0 22px; font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ink); }

.how-card__steps { position: relative; }
.how-card__list { margin: 0; padding: 0; list-style: none; }
/* connector between one step's icon and the next: grey track + blue fill */
.hw-step:not(:last-child)::before, .hw-step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; }
.hw-step:not(:last-child)::before { background: #d6e0ef; }
.hw-step:not(:last-child)::after { background: linear-gradient(#3a5597, #4c82b7); transform-origin: top; }
.hw-step { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 0 0 18px; }
.hw-step:last-child { padding-bottom: 0; }
.hw-step__icon {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 50%; background: #fff; color: var(--brand); box-shadow: 0 0 0 5px #edf2fa, 0 6px 14px rgba(31, 46, 87, .10);
}
.hw-step__icon svg { width: 20px; height: 20px; }
.hw-step__text { padding-top: 1px; }
.hw-step__num { display: inline-block; margin-right: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #8a9bbd; }
.hw-step__text strong { font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.hw-step__text p { margin: 2px 0 0; max-width: 340px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.how-card__foot { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #dde5f1; font-size: 13.5px; color: var(--muted); }
.how-card__foot svg { width: 16px; height: 16px; color: var(--brand); }

/* the "2014" badge sits on the top-right corner so it doesn't cover the steps */
.media-badge.how-badge { top: -24px; bottom: auto; right: -22px; }
@media (min-width: 992px) { .how-card__head { padding-right: 180px; } }

/* draw-in: runs once when the card comes into view (js/main.js) */
.how-ready .hw-step::after { transform: scaleY(0); }
.how-ready .hw-step__icon { opacity: 0; transform: scale(.7); }
.how-ready .hw-step__text { opacity: 0; transform: translateX(10px); }
.how-in .hw-step::after { transform: scaleY(1); transition: transform .5s ease-in-out; transition-delay: calc(.6s + var(--i) * .42s); }
.how-in .hw-step__icon, .how-in .hw-step__text {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
  transition-delay: calc(.25s + var(--i) * .42s);
}

@media (max-width: 991px) {
  .media-badge.how-badge { position: relative; top: auto; right: auto; width: fit-content; margin: -28px 16px 0 auto; }
}
@media (max-width: 575px) {
  .how-card { padding: 26px 20px 22px; }
  .how-card__title { font-size: 19px; }
  .hw-step { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .how-ready .hw-step::after, .how-ready .hw-step__icon, .how-ready .hw-step__text { transform: none; opacity: 1; transition: none; }
}

/* ---------- wide layout (17 Sep): every page and section spreads like the header and footer ----------
   Content starts in line with the footer logo and ends in line with the right-hand footer column. */
.container, .container--narrow { max-width: calc(1560px + 2 * var(--wide-gutter)); padding-left: var(--wide-gutter); padding-right: var(--wide-gutter); }
@media (min-width: 1200px) {
  .site-footer__top { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .site-footer__brand { max-width: 440px; }
  .media-row { gap: clamp(70px, 6vw, 120px); }
}

/* ---------- logo globe (17 Sep): "Who we work with" brands as a spinning ball of logos ---------- */
.logo-globe {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 40%, #ffffff 0%, #f3f6fb 60%, #e8eef8 100%);
  box-shadow: var(--shadow-sm); user-select: none; -webkit-user-select: none;
}
.logo-globe__stage { position: relative; aspect-ratio: 1 / 0.98; touch-action: pan-y; cursor: grab; }
.logo-globe__stage.is-dragging { cursor: grabbing; }
.logo-globe__ball {
  position: absolute; left: 50%; top: 50%; width: var(--ball, 70%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 50% 50%, #eaf0fa 0%, #dbe5f4 62%, #c9d7ee 100%);
  box-shadow: inset -18px -24px 50px rgba(31, 46, 87, .10), 0 30px 60px rgba(31, 46, 87, .12);
}
.logo-globe__ball::before, .logo-globe__ball::after {  /* faint latitude / longitude lines */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(58, 85, 151, .10);
}
.logo-globe__ball::before { transform: scaleY(.38); }
.logo-globe__ball::after { transform: scaleX(.38); }
.logo-globe__list { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.logo-globe__item {
  position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center;
  width: var(--chip-w, 112px); height: var(--chip-h, 50px); margin: calc(var(--chip-h, 50px) / -2) 0 0 calc(var(--chip-w, 112px) / -2);
  padding: 5px 9px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(31, 46, 87, .10);
  will-change: transform, opacity; transition: box-shadow .3s ease;
}
.logo-globe .logo-globe__item img {
  width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain;
  border: 0; border-radius: 0; background: none; box-shadow: none; pointer-events: none;
}
.logo-globe__item.is-front { box-shadow: 0 0 0 2px var(--brand-c, #3a5597), 0 18px 36px rgba(31, 46, 87, .25); }
.logo-globe__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 16px; border-top: 1px solid var(--line); background: #fff; }
.logo-globe__now { display: inline-flex; align-items: center; gap: 12px; min-width: 0; margin: 0; font-family: var(--font-head); font-size: 16px; font-weight: 700; }
/* small copy of the front logo, then the company name in its logo colour */
.logo-globe__mini {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 64px; width: 64px; height: 32px; padding: 3px 6px;
  border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(31, 46, 87, .08);
}
.logo-globe .logo-globe__mini img { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.logo-globe__name { color: var(--brand-c, var(--ink)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s ease; }
.logo-globe__now.is-swap .logo-globe__mini, .logo-globe__now.is-swap .logo-globe__name { animation: globe-swap .35s ease; }
@keyframes globe-swap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .logo-globe__now.is-swap .logo-globe__mini, .logo-globe__now.is-swap .logo-globe__name { animation: none; } }
@media (max-width: 420px) { .logo-globe__hint { display: none; } }
.logo-globe__hint { margin: 0; font-size: 13px; color: var(--muted); }
.logo-globe__hint::before { content: "\2194"; margin-right: 6px; color: var(--brand); }
/* without JavaScript: a simple grid of logos */
.logo-globe:not(.is-live) .logo-globe__stage { aspect-ratio: auto; cursor: default; }
.logo-globe:not(.is-live) .logo-globe__ball, .logo-globe:not(.is-live) .logo-globe__foot { display: none; }
.logo-globe:not(.is-live) .logo-globe__list { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; padding: 20px; }
.logo-globe:not(.is-live) .logo-globe__item { position: static; margin: 0; width: auto; }

/* "How we work" card: when the wide layout makes the card wide, the steps use the extra width
   (fills the empty right-hand side at 1440px and up). */
.how-card { container-type: inline-size; }
@container (min-width: 520px) {
  .hw-step { gap: 22px; padding-bottom: 24px; }
  .hw-step__text strong { font-size: 18px; }
  .hw-step__text p { max-width: 600px; font-size: 15.5px; }
  .how-card__foot { margin-top: 26px; }
}

/* accessibility (17 Sep production check) */
.site-footer p a { text-decoration: underline; text-underline-offset: 2px; }   /* e.g. the company-number link: not colour alone */
html .job-eyebrow, html .no-openings__eyebrow { opacity: 1; }                  /* careers labels: full contrast (was .75) */

/* "Choose file" button on the apply pages (careers.css): centre its label like the other buttons */
html .job-form__file-btn { padding-top: 10px; padding-bottom: 6px; }   /* label was sitting about 2px high */
