/* ==========================================================================
   KADRONA PLUS - Design System
   People. Opportunities. Growth.
   Colours taken directly from the logo (see README.md §Brand).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy:        #002448;
  --navy-2:      #0B3A6B;
  --navy-3:      #14508F;
  --orange:      #F06C0C;
  --orange-dark: #C85708;   /* AA-safe orange for small text on white */
  --orange-tint: #FCE9D8;
  --light:       #EEF2F7;
  --light-2:     #F7F9FC;
  --grey:        #5A6472;
  --grey-line:   #DDE3EC;
  --ink:         #222831;
  --white:       #FFFFFF;

  /* Type - Montserrat throughout, SemiBold as the base weight.
     If long paragraphs ever read too heavy, change --weight-body to 500;
     that single line lightens all body copy without touching headings. */
  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --weight-body: 600;   /* SemiBold */
  --weight-head: 700;   /* Bold, for headings */

  /* Layout */
  --container:   1240px;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;
  --topbar-h:    40px;
  --header-h:    88px;

  /* Depth */
  --shadow-xs: 0 1px 2px rgba(0, 36, 72, .06);
  --shadow-sm: 0 2px 10px rgba(0, 36, 72, .06);
  --shadow:    0 10px 30px rgba(0, 36, 72, .08);
  --shadow-lg: 0 22px 50px rgba(0, 36, 72, .14);
  --shadow-orange: 0 10px 24px rgba(240, 108, 12, .28);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t:    .28s var(--ease);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  font-size: 16.5px;
  line-height: 1.7;
  letter-spacing: -.005em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.022em;
  margin: 0 0 .6em;
  font-weight: var(--weight-head);
}
h1 { font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.35rem); }
h3 { font-size: clamp(1.12rem, 1rem + .45vw, 1.34rem); font-weight: var(--weight-head); }
h4 { font-size: 1.05rem; font-weight: var(--weight-head); }

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-2); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--orange); }

img { max-width: 100%; height: auto; display: block; }

/* The icon() helper in config.php prints <svg> without width or height, so
   without this they would render at their intrinsic 24px (or stretch to fill
   a flex parent). Sizing them in em means every icon matches the text beside
   it automatically. Component rules further down override where a specific
   size is wanted. */
svg { width: 1.15em; height: 1.15em; flex: none; }
ul, ol { margin: 0 0 1.05rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
strong, b { font-weight: 600; color: var(--navy); }
hr { border: 0; border-top: 1px solid var(--grey-line); margin: 2.5rem 0; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--orange); color: #fff; padding: .8rem 1.4rem;
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding: clamp(3.4rem, 2rem + 5vw, 6.25rem) 0; }
.section--tight { padding: clamp(2.4rem, 1.6rem + 3vw, 4rem) 0; }
.section--light  { background: var(--light); }
.section--light2 { background: var(--light-2); }
.section--navy   { background: var(--navy); color: rgba(255,255,255,.82); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

/* Navy sections get a faint brand texture */
.section--navy { position: relative; overflow: hidden; }
.section--navy > .container { position: relative; z-index: 2; }
.section--navy::before {
  content: ''; position: absolute; inset: 0; z-index: 1; opacity: .5;
  background:
    radial-gradient(700px 340px at 12% -10%, rgba(240,108,12,.20), transparent 70%),
    radial-gradient(620px 320px at 92% 110%, rgba(20,80,143,.55), transparent 70%);
}

/* minmax(0, 1fr) everywhere - see the note on .layout-side below. */
.grid { display: grid; gap: 26px; }
.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)); }
@media (max-width: 991px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.stack-lg > * + * { margin-top: 1.4rem; }

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange-dark);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--orange); border-radius: 2px;
}
.section--navy .eyebrow { color: #FFA65C; }
.section--navy .eyebrow::before { background: var(--orange); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.4rem + 1.6vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--grey); font-size: 1.05rem; margin-bottom: 0; }
.section--navy .section-head p { color: rgba(255,255,255,.78); }

/* font-weight is stated explicitly: Bootstrap's .lead sets 300 */
.lead { font-size: 1.13rem; font-weight: 400; line-height: 1.65; color: var(--grey); }
.section--navy .lead { color: rgba(255,255,255,.85); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
/* Every variant states its background, text and border colour explicitly for
   both rest and hover. Earlier these were swapped through CSS variables,
   which made it easy for a hover state to change the background without
   changing the text colour with it - and the label vanished. Writing all
   three properties in both states means a variant can never end up with
   text the same colour as what is behind it. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-size: .95rem; font-weight: 600;
  line-height: 1.15; text-align: center;
  padding: .95rem 1.6rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  background-color: var(--orange); color: #fff; border-color: var(--orange);
  transition: background-color var(--t), border-color var(--t), color var(--t),
              transform var(--t), box-shadow var(--t);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* Anything nested in a button follows the button's own colour */
.btn svg, .btn span { color: inherit; fill: none; stroke: currentColor; }

/* Orange, on light backgrounds */
.btn--primary            { background-color: var(--orange); color: #fff; border-color: var(--orange); box-shadow: var(--shadow-orange); }
.btn--primary:hover,
.btn--primary:focus-visible { background-color: #C85708; color: #fff; border-color: #C85708; box-shadow: 0 14px 30px rgba(240,108,12,.36); }

/* Solid navy */
.btn--navy               { background-color: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover,
.btn--navy:focus-visible { background-color: var(--navy-2); color: #fff; border-color: var(--navy-2); }

/* Navy outline, on light backgrounds */
.btn--outline            { background-color: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover,
.btn--outline:focus-visible { background-color: var(--navy); color: #fff; border-color: var(--navy); }

/* White outline, on navy backgrounds */
.btn--ghost-light        { background-color: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover,
.btn--ghost-light:focus-visible { background-color: #fff; color: var(--navy); border-color: #fff; }

/* Solid white, on navy backgrounds */
.btn--white              { background-color: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover,
.btn--white:focus-visible { background-color: var(--orange-tint); color: var(--navy); border-color: var(--orange-tint); }

/* Quiet text button */
.btn--plain              { background-color: transparent; color: var(--grey); border-color: transparent; box-shadow: none; }
.btn--plain:hover,
.btn--plain:focus-visible { background-color: var(--light); color: var(--navy); border-color: transparent; }

.btn--sm { padding: .68rem 1.15rem; font-size: .88rem; }
.btn--lg { padding: 1.12rem 2rem; font-size: 1.04rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  color: var(--orange-dark);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform var(--t); flex: none; }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Language switcher
   --------------------------------------------------------------------------
   Sits in the main header, to the left of the "Hire talent" button.
   -------------------------------------------------------------------------- */
.langswitch {
  display: inline-flex; background: var(--light); border-radius: 999px;
  padding: 3px; flex: none;
}
.langswitch__btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .06em;
  color: var(--grey); padding: .34rem .74rem; border-radius: 999px;
  transition: background var(--t), color var(--t);
}
.langswitch__btn:hover { color: var(--navy); }
.langswitch__btn.is-active { background: var(--orange); color: #fff; }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1030; background: #fff;
  border-bottom: 1px solid var(--grey-line);
  transition: box-shadow var(--t);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0,36,72,.10); }
/* The header needs more room than the page container: the logo carries the
   wordmark and tagline, and there are seven nav items plus two controls. */
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: var(--header-h); max-width: 1460px;
}

/* The header lockup carries the wordmark and the tagline strip, so it needs
   more height than a monogram-plus-name mark would. Sizes step down as the
   viewport narrows to leave room for the menu button. */
.brand { display: inline-flex; align-items: center; flex: none; min-width: 0; }
.brand img { height: 52px; width: auto; }
@media (max-width: 1499px) { .brand img { height: 46px; } }
@media (max-width: 767px)  { .brand img { height: 42px; } }
@media (max-width: 480px)  { .brand img { height: 34px; } }
/* At 400px and below the <picture> in header.php switches to the monogram,
   which is roughly square, so it can be taller again. */
@media (max-width: 400px)  { .brand img { height: 40px; } }
@media (max-width: 300px)  { .brand img { height: 34px; } }

/* Named .mainnav, not .nav - Bootstrap already owns .nav */
.mainnav { display: flex; flex-wrap: nowrap; align-items: center; gap: .1rem; margin-left: auto; padding: 0; list-style: none; margin-bottom: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .28rem;
  font-family: var(--font-head); font-size: .89rem; font-weight: 600;
  color: var(--navy); padding: .7rem .6rem; border-radius: var(--radius-sm);
  white-space: nowrap; background: none; border: 0; cursor: pointer;
  text-decoration: none;
}
.nav__link:hover { color: var(--orange); }
.nav__link .caret { width: 12px; height: 12px; transition: transform var(--t); opacity: .6; }
.nav__item.is-open > .nav__link .caret { transform: rotate(180deg); }
.nav__item.is-current > .nav__link { color: var(--orange-dark); }
.nav__item.is-current > .nav__link::after {
  content: ''; position: absolute; left: .72rem; right: .72rem; bottom: .28rem;
  height: 2px; background: var(--orange); border-radius: 2px;
}

.nav__panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__item.is-open > .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel li { margin: 0; }

/* Two-column dropdown - used by Services, which has seven entries */
.nav__panel--2col {
  display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 0 .25rem; min-width: 560px;
}
/* "All services" spans the full width and is separated from the list */
.nav__panel--2col > li:first-child {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--grey-line);
  margin-bottom: .35rem; padding-bottom: .35rem;
}
/* Keep the panel on screen when the menu sits near the right edge */
.nav__item:nth-last-child(-n+3) .nav__panel { left: auto; right: 0; }
.nav__panel a {
  display: flex; flex-direction: column; gap: .12rem;
  padding: .6rem .8rem; border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 500; color: var(--navy);
}
.nav__panel a:hover { color: var(--orange-dark); }
.nav__panel a small { font-size: .78rem; font-weight: 500; color: var(--grey); line-height: 1.4; }
.nav__panel a:hover small { color: var(--grey); }

.header__cta { display: flex; align-items: center; gap: .55rem; flex: none; margin-left: .5rem; }

.nav-toggle {
  display: none; appearance: none; border: 1px solid var(--grey-line);
  background: #fff; border-radius: var(--radius-sm); padding: .55rem;
  cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* Below this width the seven nav items, the logo and both controls stop
   fitting side by side, so navigation moves into the drawer. Measured: the
   row needs about 1135px, so 1250px leaves comfortable breathing room. The
   language switcher stays in the header at every size. */
@media (max-width: 1249px) {
  .mainnav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
}
@media (max-width: 767px) { :root { --header-h: 76px; } }
@media (max-width: 480px) { :root { --header-h: 66px; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(400px, 88vw); z-index: 1060;
  background: #fff; transform: translateX(100%); transition: transform .34s var(--ease);
  display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,36,72,.18);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--grey-line); flex: none;
}
.drawer__head img { height: 40px; width: auto; max-width: calc(100% - 60px); }
.drawer__close {
  appearance: none; border: 0; background: var(--light); color: var(--navy);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
}
.drawer__close:hover { background: var(--orange); color: #fff; }
.drawer__body { padding: 1rem 1.25rem 2rem; overflow-y: auto; flex: 1; }
.drawer__foot { padding: 1.1rem 1.25rem; border-top: 1px solid var(--grey-line); flex: none; }

.mnav { list-style: none; margin: 0; padding: 0; }
.mnav > li { border-bottom: 1px solid var(--grey-line); }
.mnav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--font-head); font-size: 1rem; font-weight: 500; color: var(--navy);
  padding: .95rem 0; background: none; border: 0; cursor: pointer; text-align: left;
}
.mnav__link .caret { width: 16px; height: 16px; opacity: .55; transition: transform var(--t); }
.mnav > li.is-open .mnav__link .caret { transform: rotate(180deg); }
.mnav__sub { list-style: none; margin: 0; padding: 0 0 .8rem; display: none; }
.mnav > li.is-open .mnav__sub { display: block; }
.mnav__sub a {
  display: block; padding: .5rem 0 .5rem .95rem; font-size: .93rem;
  color: var(--grey); border-left: 2px solid var(--grey-line);
}
.mnav__sub a:hover { color: var(--orange); border-left-color: var(--orange); }

.backdrop {
  position: fixed; inset: 0; z-index: 1050; background: rgba(0,36,72,.5);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
  backdrop-filter: blur(2px);
}
.backdrop.is-open { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background-color: var(--navy);
  background-size: cover; background-position: center;
  padding: clamp(3.5rem, 2rem + 7vw, 7rem) 0 clamp(3.5rem, 2rem + 6vw, 6rem);
}
/* Background images. Swap these two files for real photography and nothing
   else needs to change - see README.md §Images. */
.hero--home { background-image: url('../img/photos/hero-home.jpg'); }
.hero--page { background-image: url('../img/photos/hero-inner.jpg'); }

/* --------------------------------------------------------------------------
   Home hero slideshow
   --------------------------------------------------------------------------
   Layered under the navy wash, so the existing contrast rules still hold.
   Each slide cross-fades and drifts slowly (Ken Burns) while it is on screen.
   -------------------------------------------------------------------------- */
.hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s var(--ease);
  will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; animation: heroDrift 12s linear forwards; }

@keyframes heroDrift {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14); }
}

/* Navy wash over the image so white text always has contrast */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(0,36,72,.93) 0%, rgba(0,36,72,.84) 45%, rgba(11,58,107,.62) 100%),
    radial-gradient(760px 420px at 88% 14%, rgba(240,108,12,.20), transparent 68%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__deco {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
}
.hero .container { position: relative; z-index: 3; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; max-width: 16ch; }
.hero__sub { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: rgba(255,255,255,.85); max-width: 60ch; margin-bottom: 1.9rem; }
.hero__inner { max-width: 720px; }

/* The home hero is centred; the inner-page heroes stay left-aligned. */
.hero--home .hero__inner { margin-inline: auto; text-align: center; }
.hero--home .eyebrow { justify-content: center; }
.hero--home h1,
.hero--home .hero__sub { margin-inline: auto; }
/* Wider than the default 16ch so the centred headline breaks evenly. */
.hero--home h1 { max-width: 20ch; }
.hero--home .btn-row { justify-content: center; }

/* Hero copy rises in on load, one element after another. */
.hero__inner--animate > * {
  opacity: 0;
  animation: heroRise .85s var(--ease) forwards;
}
.hero__inner--animate > :nth-child(1) { animation-delay: .10s; }
.hero__inner--animate > :nth-child(2) { animation-delay: .24s; }
.hero__inner--animate > :nth-child(3) { animation-delay: .38s; }
.hero__inner--animate > :nth-child(4) { animation-delay: .52s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero--page { padding: clamp(2.8rem, 2rem + 3.5vw, 4.6rem) 0 clamp(2.8rem, 2rem + 3.5vw, 4.4rem); }
.hero--page h1 { max-width: 22ch; }
.hero--page .hero__sub { margin-bottom: 0; }
.hero--page .hero__sub + .btn-row { margin-top: 1.7rem; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; }
.hero__badge { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero__badge svg { width: 20px; height: 20px; color: var(--orange); flex: none; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: rgba(255,255,255,.62); margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.crumbs li + li::before { content: '/'; opacity: .45; }
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card--link:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--grey); font-size: .96rem; margin-bottom: 1.1rem; }
.card .link-arrow { margin-top: auto; }
.card__stretch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

.icon-box {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border-radius: var(--radius-sm); background: var(--orange-tint); color: var(--orange-dark);
  margin-bottom: 1.25rem; transition: background var(--t), color var(--t);
}
.icon-box svg { width: 28px; height: 28px; }
.card--link:hover .icon-box { background: var(--orange); color: #fff; }
.icon-box--navy { background: rgba(0,36,72,.07); color: var(--navy); }
.card--link:hover .icon-box--navy { background: var(--navy); color: #fff; }

/* Card with a numbered index (process steps) */
.step { position: relative; background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 2.1rem 1.7rem 1.7rem; height: 100%; }
.step__num {
  position: absolute; top: -20px; left: 1.7rem;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.step:hover .step__num { background: var(--orange); }
.step h3 { margin: .6rem 0 .5rem; }
.step p { color: var(--grey); font-size: .95rem; margin: 0; }
.steps { margin-top: 34px; }

/* Feature row (icon + text, no box) */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature__ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-tint); color: var(--orange-dark);
}
.feature__ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.feature p { color: var(--grey); font-size: .95rem; margin: 0; }
.section--navy .feature__ico { background: rgba(240,108,12,.18); color: #FFA65C; }
.section--navy .feature p { color: rgba(255,255,255,.75); }

/* Two-path split cards */
.path {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 2vw, 3.1rem); color: #fff; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform var(--t), box-shadow var(--t);
}
.path:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.path::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(155deg, var(--navy-2), var(--navy) 70%);
}
.path--candidate::before { background: linear-gradient(155deg, #F58220, #D95F06 72%); }
.path::after {
  content: ''; position: absolute; right: -60px; bottom: -70px; width: 260px; height: 260px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,.07); z-index: 0;
}
.path > * { position: relative; z-index: 1; }
.path__ico { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: auto; }
.path__ico svg { width: 27px; height: 27px; }
.path h3 { color: #fff; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); margin: 1.6rem 0 .6rem; }
.path p { color: rgba(255,255,255,.86); font-size: 1rem; margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }
.stat { text-align: center; padding: .5rem; }
.stat__num {
  font-family: var(--font-head); font-weight: 700; color: var(--orange);
  font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.3rem); line-height: 1; display: block;
  letter-spacing: -.03em;
}
.stat__label { display: block; margin-top: .65rem; font-size: .93rem; color: rgba(255,255,255,.78); }
.section--light .stat__label, .section--light2 .stat__label { color: var(--grey); }

/* --------------------------------------------------------------------------
   11. Trust bar / logo wall
   -------------------------------------------------------------------------- */
.trustbar { padding: 2.6rem 0; background: var(--white); border-bottom: 1px solid var(--grey-line); }
.trustbar__label {
  text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); font-weight: 600; margin-bottom: 1.6rem;
}
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { display: flex; gap: 3.2rem; width: max-content; animation: marquee 38s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee__track { animation: none; } }

.client-logo {
  flex: none; display: grid; place-items: center; height: 62px; min-width: 168px;
  padding: 0 1.4rem; border: 1px dashed var(--grey-line); border-radius: var(--radius-sm);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  color: #A6B0BF; text-transform: uppercase; background: var(--light-2);
}

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quote {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 2.1rem 1.9rem; height: 100%; display: flex; flex-direction: column;
}
.quote__mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--orange-tint); margin-bottom: .8rem; }
.quote__text { font-size: 1.02rem; color: var(--ink); margin-bottom: 1.5rem; flex: 1; }
.quote__by { display: flex; align-items: center; gap: .9rem; }
.quote__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
/* display:block matters here - name and role are sibling spans and would
   otherwise run together on one line. */
.quote__name {
  display: block; font-family: var(--font-head); font-weight: 700;
  color: var(--navy); font-size: .95rem; line-height: 1.3;
}
.quote__role { display: block; font-size: .85rem; color: var(--grey); line-height: 1.45; margin-top: .15rem; }
.quote__flag {
  display: inline-block; margin-left: .4rem; padding: .08rem .45rem; border-radius: 4px;
  background: var(--light); color: var(--navy-2); font-size: .72rem; font-weight: 600;
  vertical-align: 1px;
}

/* --------------------------------------------------------------------------
   13. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.acc { border: 1px solid var(--grey-line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc__item + .acc__item { border-top: 1px solid var(--grey-line); }
.acc__btn {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.25rem 1.5rem; font-family: var(--font-head); font-size: 1.02rem;
  font-weight: 600; color: var(--navy); transition: background var(--t), color var(--t);
}
.acc__btn:hover { background: var(--light-2); color: var(--orange-dark); }
.acc__btn .ico {
  width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--light); color: var(--navy); transition: transform var(--t), background var(--t), color var(--t);
  margin-top: 2px;
}
.acc__btn .ico svg { width: 15px; height: 15px; }
.acc__item.is-open .acc__btn { color: var(--orange-dark); }
.acc__item.is-open .acc__btn .ico { transform: rotate(45deg); background: var(--orange); color: #fff; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 1.5rem 1.4rem; color: var(--grey); font-size: .97rem; margin: 0; }
.acc__panel ul { padding: 0 1.5rem 1.4rem 2.7rem; color: var(--grey); font-size: .97rem; }

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.15rem; }
.field label, .field > .field-label {
  display: block; font-family: var(--font-head); font-size: .87rem; font-weight: 600;
  color: var(--navy); margin-bottom: .45rem;
}
.field .req { color: var(--orange); }
.field .hint { display: block; font-size: .82rem; color: var(--grey); font-weight: 400; margin-top: .3rem; }

.input, .select, .textarea {
  width: 100%; font-family: var(--font-body); font-size: .97rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--grey-line); border-radius: var(--radius-sm);
  padding: .82rem 1rem; transition: border-color var(--t), box-shadow var(--t);
}
.input::placeholder, .textarea::placeholder { color: #9AA5B4; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,108,12,.13);
}
.textarea { min-height: 132px; resize: vertical; }
.select { appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6472' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }

.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #D92D20; }
.field.has-error .input:focus, .field.has-error .select:focus, .field.has-error .textarea:focus { box-shadow: 0 0 0 4px rgba(217,45,32,.12); }
.error-msg { display: none; font-size: .83rem; color: #D92D20; margin-top: .35rem; font-weight: 500; }
.field.has-error .error-msg { display: block; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 575px) { .field-grid { grid-template-columns: 1fr; } }

/* File input */
.filedrop {
  position: relative; display: flex; align-items: center; gap: .9rem;
  border: 1.5px dashed var(--grey-line); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; background: var(--light-2); cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.filedrop:hover, .filedrop.is-drag { border-color: var(--orange); background: var(--orange-tint); }
.filedrop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.filedrop svg { width: 26px; height: 26px; color: var(--orange-dark); flex: none; }
.filedrop__text { font-size: .9rem; color: var(--grey); line-height: 1.45; }
.filedrop__text strong { display: block; color: var(--navy); font-size: .94rem; }

/* Choice tiles (radio / checkbox cards) */
.choices { display: grid; gap: .85rem; }
.choices--2 { grid-template-columns: 1fr 1fr; }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .choices--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .choices--2, .choices--3 { grid-template-columns: 1fr; } }

.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
  display: flex; align-items: flex-start; gap: .8rem; height: 100%;
  border: 1.5px solid var(--grey-line); border-radius: var(--radius-sm);
  padding: 1rem 1.05rem; background: #fff;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.choice:hover .choice__box { border-color: #B9C6D8; }
.choice input:checked + .choice__box { border-color: var(--orange); background: var(--orange-tint); box-shadow: 0 0 0 3px rgba(240,108,12,.10); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--orange); outline-offset: 2px; }
.choice__tick {
  width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1.5px solid var(--grey-line);
  background: #fff; display: grid; place-items: center; color: transparent; margin-top: 1px;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.choice input[type=radio] ~ .choice__box .choice__tick { border-radius: 50%; }
.choice input:checked + .choice__box .choice__tick { background: var(--orange); border-color: var(--orange); color: #fff; }
.choice__tick svg { width: 14px; height: 14px; }
.choice__label { font-family: var(--font-head); font-size: .93rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.choice__desc { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 400; color: var(--grey); margin-top: .18rem; }

/* Consent checkbox */
.consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .87rem; color: var(--grey); line-height: 1.55; }
.consent input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--orange); cursor: pointer; }
.consent a { color: var(--navy-2); text-decoration: underline; }

/* Honeypot */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; overflow: hidden; }

/* Form feedback */
.form-alert {
  display: none; align-items: flex-start; gap: .8rem; border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; font-size: .94rem; margin-bottom: 1.4rem;
}
.form-alert.is-shown { display: flex; }
.form-alert svg { width: 21px; height: 21px; flex: none; margin-top: 1px; }
.form-alert--ok { background: #E7F6EC; color: #14603A; border: 1px solid #B7E3C7; }
.form-alert--err { background: #FEECEB; color: #9A2A21; border: 1px solid #F7C9C5; }

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn__spin { display: inline-block; }
.btn__spin {
  display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Multi-step wizard */
.wizard__bar { margin-bottom: 2.2rem; }
.wizard__track { display: flex; align-items: center; gap: .5rem; }
.wizard__dot { display: flex; align-items: center; gap: .5rem; flex: 1; }
.wizard__dot:last-child { flex: none; }
.wizard__circle {
  width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--light); color: var(--grey); border: 2px solid var(--grey-line);
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.wizard__line { flex: 1; height: 3px; border-radius: 3px; background: var(--grey-line); transition: background var(--t); }
.wizard__dot.is-done .wizard__circle, .wizard__dot.is-active .wizard__circle { background: var(--orange); border-color: var(--orange); color: #fff; }
.wizard__dot.is-done .wizard__line { background: var(--orange); }
.wizard__labels { display: flex; justify-content: space-between; margin-top: .6rem; gap: .5rem; }
.wizard__labels span { font-size: .78rem; color: var(--grey); font-weight: 500; flex: 1; }
.wizard__labels span:last-child { flex: none; text-align: right; }
.wizard__labels span.is-active { color: var(--orange-dark); font-weight: 600; }
@media (max-width: 575px) { .wizard__labels { display: none; } }

.wstep { display: none; animation: fadeUp .35s var(--ease); }
.wstep.is-active { display: block; }
.wstep__title { font-family: var(--font-head); font-size: 1.28rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.wstep__sub { color: var(--grey); font-size: .95rem; margin-bottom: 1.6rem; }
.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--grey-line); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   15. Job board
   -------------------------------------------------------------------------- */
.filters {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.filters__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: .8rem; align-items: end; }
@media (max-width: 991px) { .filters__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .filters__grid { grid-template-columns: 1fr; } }
.filters .field { margin-bottom: 0; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--grey); pointer-events: none; }
.search-field .input { padding-left: 2.85rem; }

.jobs-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 1.2rem; }
.jobs-count { font-size: .95rem; color: var(--grey); }
.jobs-count strong { color: var(--navy); }

.job-card {
  display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center;
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.job-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.job-card + .job-card { margin-top: 1rem; }
.job-card h3 { font-size: 1.13rem; margin-bottom: .5rem; }
.job-card h3 a { color: var(--navy); }
.job-card h3 a:hover { color: var(--orange); }
.job-card__meta { display: flex; flex-wrap: wrap; gap: .35rem .95rem; font-size: .87rem; color: var(--grey); }
.job-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.job-card__meta svg { width: 15px; height: 15px; opacity: .75; flex: none; }
.job-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
@media (max-width: 639px) {
  .job-card { grid-template-columns: 1fr; }
  .job-card__side { align-items: flex-start; flex-direction: row; align-items: center; }
}

.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: .32rem .7rem; border-radius: 999px;
  background: var(--light); color: var(--navy-2);
}
.tag--orange { background: var(--orange-tint); color: var(--orange-dark); }
.tag--navy { background: var(--navy); color: #fff; }
.tag--new { background: #E7F6EC; color: #14603A; }

.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--grey); }
.empty-state svg { width: 52px; height: 52px; color: var(--grey-line); margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: .4rem; }

/* Sticky sidebar for job / article pages */
/* minmax(0, 1fr) rather than 1fr: a plain 1fr track has an automatic minimum
   of min-content, so a long word or a wide child can push the grid past its
   container and produce a horizontal scrollbar on narrow screens. */
.layout-side { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 3rem; align-items: start; }
@media (max-width: 991px) { .layout-side { grid-template-columns: minmax(0,1fr); gap: 2.2rem; } }
.sticky-box { position: sticky; top: calc(var(--header-h) + 22px); }

.side-card { background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.side-card + .side-card { margin-top: 1.2rem; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.side-card--navy { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.82); }
.side-card--navy h3 { color: #fff; }
/* Links inherit the dark brand blue by default, which is unreadable on navy. */
.side-card--navy a { color: #fff; }
.side-card--navy a:hover { color: var(--orange); }

/* --------------------------------------------------------------------------
   Sample-content notice
   --------------------------------------------------------------------------
   Marks illustrative job listings and example testimonials so neither reads
   as genuine. Both disappear on their own once real content replaces them -
   see assets/data/jobs.json (sampleData) and assets/js/site-config.js
   (testimonialsAreReal).
   -------------------------------------------------------------------------- */
.sample-notice {
  margin: 0 0 1.2rem;
  padding: .7rem 1rem;
  border: 1px dashed var(--grey-line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  background: var(--light-2);
  color: var(--grey);
  font-size: .88rem;
  line-height: 1.55;
}
.sample-notice--center { margin: 1.8rem auto 0; max-width: 62ch; text-align: center; }

.dl { margin: 0; }
.dl__row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--grey-line); font-size: .92rem; }
.dl__row:last-child { border-bottom: 0; }
.dl__row dt { color: var(--grey); margin: 0; }
.dl__row dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }

/* --------------------------------------------------------------------------
   16. Article / rich text
   -------------------------------------------------------------------------- */
.prose { font-size: 1.04rem; line-height: 1.75; color: #33404F; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); margin: 2.4rem 0 .9rem; }
.prose h3 { font-size: 1.22rem; margin: 1.9rem 0 .7rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; margin-bottom: 1.3rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--orange); font-weight: 700; }
.prose a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--orange); }
.prose blockquote {
  margin: 2rem 0; padding: 1.4rem 1.7rem; border-left: 4px solid var(--orange);
  background: var(--light-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.08rem; color: var(--navy); font-style: italic;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .95rem; }
.prose th, .prose td { padding: .8rem 1rem; border: 1px solid var(--grey-line); text-align: left; }
.prose th { background: var(--light); font-family: var(--font-head); font-weight: 600; color: var(--navy); }

.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .75rem; color: var(--grey); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23C85708' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.section--navy .checklist li { color: rgba(255,255,255,.8); }
.checklist--tight li { margin-bottom: .5rem; font-size: .95rem; }

/* --------------------------------------------------------------------------
   17. Blog cards
   -------------------------------------------------------------------------- */
.post-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.post-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__cat { position: absolute; top: .9rem; left: .9rem; z-index: 2; }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .83rem; color: var(--grey); margin-bottom: .5rem; }
.post-card h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--orange); }
.post-card p { font-size: .94rem; color: var(--grey); margin-bottom: 1.1rem; }
.post-card .link-arrow { margin-top: auto; }

/* Media placeholder - branded gradient used until real photography is supplied */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: rgba(255,255,255,.55);
}
.ph::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(130deg, transparent 40%, #000);
  mask-image: linear-gradient(130deg, transparent 40%, #000);
}
.ph::after {
  content: ''; position: absolute; right: -34px; bottom: -44px; width: 160px; height: 160px;
  border-radius: 50%; border: 26px solid rgba(240,108,12,.20);
}
.ph__label {
  position: relative; z-index: 2; font-family: var(--font-head); font-size: .74rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center;
  padding: 0 1rem;
}

/* --------------------------------------------------------------------------
   18. Team
   -------------------------------------------------------------------------- */
.person { text-align: center; }
.person__photo {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem;
  background: linear-gradient(150deg, var(--navy-2), var(--navy)); display: grid; place-items: center;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__initials { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: rgba(255,255,255,.85); }
.person h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.person__role { font-size: .88rem; color: var(--orange-dark); font-weight: 600; margin-bottom: .6rem; }
.person__bio { font-size: .92rem; color: var(--grey); }

/* --------------------------------------------------------------------------
   19. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 85% 20%, rgba(240,108,12,.30), transparent 65%),
    radial-gradient(600px 320px at 5% 100%, rgba(20,80,143,.55), transparent 70%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(2.6rem, 2rem + 2.6vw, 4.2rem) 0;
}
@media (max-width: 879px) { .cta-banner__inner { flex-direction: column; text-align: center; } }
.cta-banner h2 { color: #fff; margin-bottom: .6rem; max-width: 20ch; }
@media (max-width: 879px) { .cta-banner h2 { max-width: none; } }
.cta-banner p { color: rgba(255,255,255,.8); margin: 0; max-width: 52ch; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: .9rem; flex: none; justify-content: center; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); font-size: .93rem; }
.site-footer__main { padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 991px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; } }
@media (max-width: 519px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--orange); }
.footer-brand img { height: 62px; width: auto; max-width: 100%; margin-bottom: 1.3rem; }
.footer-brand p { max-width: 34ch; margin-bottom: 1.4rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .85rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 3px; }
.footer-contact address { font-style: normal; }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0;
  text-align: center; font-size: .86rem;
}
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.09); color: #fff; transition: background var(--t), transform var(--t);
}
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-social { display: flex; gap: .6rem; }
.footer-social svg { width: 17px; height: 17px; }

.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter .input {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; padding: .72rem .9rem;
}
.newsletter .input::placeholder { color: rgba(255,255,255,.45); }
.newsletter .input:focus { border-color: var(--orange); box-shadow: none; background: rgba(255,255,255,.13); }
.newsletter .btn { padding: .72rem 1.1rem; flex: none; }

/* --------------------------------------------------------------------------
   21. Cookie consent
   -------------------------------------------------------------------------- */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1080;
  max-width: 560px; background: #fff; border: 1px solid var(--grey-line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.5rem;
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.cookiebar.is-shown { transform: translateY(0); }
.cookiebar h4 { font-size: 1.02rem; margin-bottom: .5rem; }
.cookiebar p { font-size: .89rem; color: var(--grey); margin-bottom: 1.1rem; }
.cookiebar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
/* "Decline" sits apart from the two positive choices, so the bar reads
   as a real choice rather than one button plus decoration. */
.cookiebar__actions .btn--plain { margin-left: auto; }
@media (min-width: 560px) { .cookiebar { left: 24px; bottom: 24px; right: auto; } }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all var(--t);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 575px) { .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; } }

/* --------------------------------------------------------------------------
   22. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card--link:hover, .path:hover, .post-card:hover, .job-card:hover { transform: none; }
  /* The hero shows its first slide and its copy straight away, with no motion. */
  .hero__inner--animate > * { opacity: 1 !important; animation: none !important; }
  .hero__slide { transition: none !important; transform: none !important; }
  .hero__slide.is-active { animation: none !important; }
}

/* --------------------------------------------------------------------------
   23. Utilities
   -------------------------------------------------------------------------- */
/* Spacing helpers are named .space-* rather than .mt-* so they never fight
   Bootstrap's spacing scale, which uses different values. */
.space-sm { margin-top: 1.2rem; }
.space-md { margin-top: 2rem; }
.space-lg { margin-top: 3rem; }
.maxw-60 { max-width: 60ch; }
.maxw-70 { max-width: 70ch; }
.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;
}
.nowrap { white-space: nowrap; }
.text-orange { color: var(--orange-dark); }
.text-muted { color: var(--grey); }

/* --------------------------------------------------------------------------
   24. Small screens, foldables and flip phones
   --------------------------------------------------------------------------
   Targets, narrowest first:
     280px  Galaxy Z Fold (folded), Galaxy Z Flip cover screen
     320px  iPhone SE 1st gen, older Androids
     360px  most Android phones, Z Flip unfolded
     412px  large phones
   Everything below keeps the layout usable - never a horizontal scrollbar.
   -------------------------------------------------------------------------- */

@media (max-width: 575px) {
  .btn { white-space: normal; }               /* long SR labels may need 2 lines */
  .btn-row .btn { flex: 1 1 auto; }
  .cta-banner__actions { width: 100%; }
  .cta-banner__actions .btn { flex: 1 1 100%; }
  .jobs-meta { flex-direction: column; align-items: stretch; }
  .wizard__nav { flex-direction: column-reverse; }
  .wizard__nav .btn { width: 100%; }
}

@media (max-width: 420px) {
  body { font-size: 15.5px; }
  .container { padding-inline: 16px; }
  .card { padding: 1.5rem 1.25rem; }
  .form-card { padding: 1.35rem 1.1rem; border-radius: var(--radius); }
  .path { min-height: 250px; padding: 1.6rem 1.35rem; }
  .job-card { padding: 1.15rem 1.15rem; }
  .btn-row { gap: .65rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .quote { padding: 1.6rem 1.3rem; }
  .acc__btn { padding: 1.05rem 1.1rem; font-size: .96rem; }
  .acc__panel p, .acc__panel ul { padding-inline: 1.1rem; }
  .acc__panel ul { padding-left: 2.3rem; }
  .cookiebar { padding: 1.2rem; left: 10px; right: 10px; bottom: 10px; }
  .cookiebar__actions .btn { flex: 1 1 100%; }
  .cookiebar__actions .btn--plain { margin-left: 0; }
}

/* Flip / folded phones - roughly 280px–360px wide */
@media (max-width: 360px) {
  :root { --header-h: 62px; --topbar-h: 36px; }

  .container { padding-inline: 13px; }
  h1 { font-size: 1.72rem; letter-spacing: -.015em; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.06rem; }
  body { font-size: 15px; line-height: 1.62; }

  .nav-toggle { padding: .45rem; }
  .nav-toggle svg { width: 21px; height: 21px; }

  .topbar { font-size: .72rem; }
  .topbar .container { gap: .5rem; }
  .langswitch__btn { padding: .26rem .52rem; font-size: .69rem; }

  .section { padding: 2.6rem 0; }
  .section--tight { padding: 2rem 0; }
  .section-head { margin-bottom: 1.7rem; }
  .eyebrow { font-size: .71rem; letter-spacing: .12em; }
  .eyebrow::before { width: 18px; }

  .grid { gap: 18px; }
  .card { padding: 1.3rem 1.05rem; }
  .icon-box { width: 48px; height: 48px; margin-bottom: 1rem; }
  .icon-box svg { width: 24px; height: 24px; }

  .btn { padding: .82rem 1rem; font-size: .9rem; }
  .btn--lg { padding: .95rem 1.15rem; font-size: .95rem; }

  /* Stats stack to a single column so long labels stay readable */
  .stats { grid-template-columns: 1fr; gap: 1.6rem; }
  .stat__num { font-size: 2.4rem; }

  .step { padding: 1.9rem 1.15rem 1.35rem; }
  .step__num { left: 1.15rem; width: 38px; height: 38px; font-size: .95rem; }

  .feature { gap: .8rem; }
  .feature__ico { width: 40px; height: 40px; }
  .feature__ico svg { width: 20px; height: 20px; }

  .job-card { padding: 1.05rem .95rem; }
  .job-card h3 { font-size: 1.02rem; }
  .job-card__meta { font-size: .82rem; gap: .3rem .7rem; }
  .job-card__side { flex-wrap: wrap; }

  .filters { padding: 1rem; }
  .drawer { width: 100vw; }
  .drawer__body { padding: .85rem 1rem 1.5rem; }
  .drawer__head, .drawer__foot { padding: .85rem 1rem; }

  .footer-brand img { height: 54px; }
  .site-footer__grid { gap: 1.8rem; }
  .site-footer__bottom { flex-direction: column; text-align: center; gap: .8rem; }
  .site-footer__legal { justify-content: center; gap: .9rem; }

  .prose { font-size: .98rem; }
  .prose blockquote { padding: 1.1rem 1.2rem; font-size: 1rem; }

  .to-top { width: 38px; height: 38px; right: 10px; bottom: 10px; }
  .to-top svg { width: 17px; height: 17px; }
}

/* Galaxy Z Fold closed (280px) and anything narrower */
@media (max-width: 400px) {
  /* Keep the header row inside the viewport on flip and folded phones */
  .site-header .container { gap: .4rem; padding-inline: 12px; }
  .header__cta { gap: .35rem; margin-left: 0; }
  .langswitch { padding: 2px; }
  .langswitch__btn { padding: .3rem .5rem; font-size: .7rem; letter-spacing: .02em; }
  .nav-toggle { padding: .4rem; }
  .nav-toggle svg { width: 20px; height: 20px; }
}

@media (max-width: 300px) {
  .container { padding-inline: 10px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.24rem; }
  body { font-size: 14.5px; }
  .card, .form-card { padding: 1.1rem .9rem; }
  .btn { padding: .75rem .8rem; font-size: .85rem; }
  .stat__num { font-size: 2.1rem; }
  .quote__text { font-size: .95rem; }
  .wizard__circle { width: 28px; height: 28px; font-size: .76rem; }
  .path { padding: 1.35rem 1.1rem; min-height: 220px; }
}

/* Flip phones opened in landscape leave very little vertical room */
@media (max-height: 460px) and (orientation: landscape) {
  .hero { padding: 2.2rem 0; }
  .hero__badges { margin-top: 1.4rem; gap: 1rem; }
  .drawer__body { padding-bottom: 1rem; }
  .site-header { position: static; }           /* reclaim vertical space */
}

/* Long, narrow foldable inner screens keep generous side padding */
@media (min-width: 600px) and (max-width: 767px) {
  .container { padding-inline: 28px; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

/* Guard: nothing may force the page wider than the viewport */
.table-wrap, .prose table { max-width: 100%; }
pre, code { overflow-wrap: break-word; word-break: break-word; }
.job-card h3, .card h3, .post-card h3, h1, h2, h3 { overflow-wrap: break-word; }

/* Print */
@media print {
  .topbar, .site-header, .site-footer, .cta-banner, .to-top, .cookiebar, .drawer, .backdrop { display: none !important; }
  body { font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
}
