@charset "utf-8";
/* ==========================================================================
   Repsco — accessible, cookie-free stylesheet
   No external requests. No web fonts. No tracking. No cookies.
   Targets WCAG 2.2 AA.
   ========================================================================== */

:root {
  --brand:        #273879;
  --brand-dark:   #1c2a5c;
  --brand-light:  #9188c1;
  --accent:       #03c2f3;
  --accent-strong: #2fd0f6;   /* accent tuned for text on dark grounds */
  --accent-ink:   #0b2030;
  --violet:       #5a4d9c;

  --ink:          #1b2430;
  --ink-soft:     #48566b;
  --line:         #d9dfe8;
  --bg:           #ffffff;
  --bg-alt:       #f4f6fa;
  --bg-deep:      var(--brand-dark);

  --focus:        #b1004f;

  --radius:       14px;
  --radius-lg:    24px;
  --shadow:       0 1px 2px rgba(27,36,48,.06), 0 8px 24px rgba(27,36,48,.07);

  --measure:      68ch;
  --wrap:         1160px;
  --gap:          clamp(1rem, 2.5vw, 2rem);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-underline-offset: 0.18em;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--brand-dark);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 650;
  text-decoration: none;
  transition: top .15s ease-in-out;
}
.skip-link:focus { top: 0; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
/* Every dark ground gets the light focus colour. #b1004f on --brand-dark is only
   1.9:1, so omitting any of these selectors is a WCAG 1.4.11 / 2.4.11 failure. */
.hero :focus-visible,
.section--deep :focus-visible,
.stat :focus-visible,
.site-footer :focus-visible { outline-color: #ffd23f; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: #fff; }
.section--deep a { color: #fff; }
.stack > * + * { margin-top: 1rem; }
.lede { font-size: 1.15em; color: var(--ink-soft); max-width: var(--measure); }
.section--deep .lede { color: rgba(255,255,255,.88); }
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.75rem;
}
.section--deep .eyebrow, .hero .eyebrow { color: var(--accent-strong); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: inherit;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1rem; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }

a { color: var(--brand); text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

ul, ol { padding-left: 1.3em; max-width: var(--measure); }
li + li { margin-top: 0.35rem; }
.list-plain { list-style: none; padding-left: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  color: var(--brand-dark);
  padding: .35rem 0;
  margin-right: auto;
}
.brand img { display: block; height: 42px; width: auto; }
.brand__suffix {
  font-weight: 750;
  font-size: 1rem;
  letter-spacing: .01em;
  padding-left: .625rem;
  border-left: 2px solid var(--line);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .9rem;
  font: inherit;
  font-weight: 650;
  color: var(--brand-dark);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
/* The markup ships the nav with the `hidden` attribute so the mobile menu never
   flashes open before main.js runs. Above the breakpoint we override it. */
.nav[hidden] { display: flex; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.nav__list li + li { margin-top: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .8rem;
  border-radius: 10px;
  font-size: .9375rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
}
.nav__link:hover { background: var(--bg-alt); color: var(--brand-dark); text-decoration: underline; }
.nav__link[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--bg-alt);
  box-shadow: inset 0 -3px 0 var(--brand);
}

.lang {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 0 .5rem;          /* .lang is a <p>: reset the paragraph margin */
  padding-left: .75rem;
  border-left: 1px solid var(--line);
  font-size: .875rem;
  font-weight: 700;
}
.lang a, .lang span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 40px; padding: 0 .4rem; border-radius: 8px;
}
.lang [aria-current="true"] { background: var(--brand-dark); color: #fff; }
.lang a { color: var(--ink-soft); text-decoration: none; }
.lang a:hover { background: var(--bg-alt); text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary { background: var(--brand-dark); color: #fff; }
.btn--primary:hover { background: var(--brand); text-decoration: underline; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { filter: brightness(.93); text-decoration: underline; }
.btn--ghost { background: transparent; color: var(--brand-dark); border-color: currentColor; }
.btn--ghost:hover { background: var(--bg-alt); text-decoration: underline; }
.btn--on-dark { background: #fff; color: var(--brand-dark); }
.btn--on-dark:hover { background: #eef2f9; text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  /* The violet wash is centred beyond the top-right corner and fades out well
     before the text column, so heading and eyebrow text always sits on
     --brand-dark / --brand (both >= 4.5:1 against white and --accent-strong). */
  background:
    radial-gradient(85% 95% at 118% -12%, var(--violet) 0%, transparent 58%),
    linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  padding-block: clamp(3rem, 9vw, 6.5rem);
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.92); }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
.hero__tagline {
  font-size: clamp(.875rem, .8rem + .3vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1.25rem;
}
.hero--compact { padding-block: clamp(2.25rem, 6vw, 4rem); }
.hero--compact .hero__grid { grid-template-columns: minmax(0,1fr); }
.hero--single .hero__grid { grid-template-columns: minmax(0, 1fr); }

/* decorative CSS art */
.deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.deco span { position: absolute; border-radius: 50%; display: block; }
.deco .d1 {
  width: 32rem; height: 32rem; right: -12rem; top: -14rem;
  border: 3.5rem solid rgba(255,255,255,.10);
}
.deco .d2 {
  width: 17rem; height: 17rem; right: 6rem; bottom: -9rem;
  border: 2.25rem solid rgba(255,255,255,.07);
}
.deco .d3 {
  width: 10rem; height: 10rem; left: -4rem; bottom: -4rem;
  background: rgba(255,255,255,.06);
}

/* Circular motif used as a picture stand-in */
.motif {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 25rem);
  margin-inline: auto;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent) 0turn, var(--violet) .38turn, var(--brand-dark) .72turn, var(--accent) 1turn);
  display: grid;
  place-items: center;
}
.motif::after {
  content: "";
  width: 62%; height: 62%;
  border-radius: 50%;
  background: var(--brand-dark);
}
.motif--light::after { background: #fff; }
.motif__label {
  position: relative;
  z-index: 1;
  max-width: 58%;
  text-align: center;
  font-weight: 750;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #fff;
}
.motif--light .motif__label { color: var(--brand-dark); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }

.card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }
.card h3, .card h2 { margin-bottom: .35rem; }
.card p { max-width: none; color: var(--ink-soft); }
.card--flat { box-shadow: none; }
.card--brand { border-top: 5px solid var(--brand); }
.card--accent { border-top: 5px solid var(--accent); }
img { max-width: 100%; height: auto; }
.card .cert-mark { flex: 0 0 auto; align-self: flex-start; width: 120px; max-width: 100%; margin: 0 0 .75rem; line-height: 0; }
.cert-mark img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.card--violet { border-top: 5px solid var(--violet); }
.section--deep .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); box-shadow: none; }
.section--deep .card p, .section--deep .card h3 { color: #fff; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 14px;
  background: var(--bg-alt);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: .02em;
  margin-bottom: .35rem;
}
.section--deep .icon-badge { background: rgba(255,255,255,.16); color: #fff; }
.card--accent .icon-badge { background: #e4f7fe; color: var(--brand-dark); }
.card--violet .icon-badge { background: #f0eef9; color: var(--brand-dark); }

/* stats */
.stat {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
}
.stat__n { display: block; font-size: clamp(2rem, 1.3rem + 2.4vw, 2.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.stat__unit { font-size: .55em; font-weight: 700; }
.stat p { margin: .5rem 0 0; max-width: none; color: rgba(255,255,255,.92); font-size: .9375rem; }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; max-width: none; }
.pills li { margin: 0; }
.pills li > * , .pill {
  display: inline-block;
  padding: .45rem .95rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: .9375rem;
  font-weight: 650;
  color: var(--ink);
}
.section--deep .pills li > *, .section--deep .pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }

/* quotes */
.quote {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote blockquote { margin: 0; }
.quote p { color: var(--ink); }
.quote footer, .quote figcaption { margin-top: .9rem; font-size: .9375rem; color: var(--ink-soft); }
.quote cite { font-style: normal; font-weight: 750; color: var(--ink); display: block; }

/* media object */
.media { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: center; }
.media--flip > :first-child { order: 2; }

/* definition-style blocks */
.qa { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.qa h3 { color: var(--brand-dark); }

/* FAQ — native disclosure, works without JS */
.faq { max-width: var(--measure); }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: .75rem;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: .85rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: .6rem; height: .6rem;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .15s ease-in-out;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { background: var(--bg-alt); }
.faq .faq__body { padding: 0 1.1rem 1.1rem; }
.faq .faq__body p { color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form { max-width: 40rem; }
.form__row { margin-bottom: 1.25rem; }
.form__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
label { display: block; font-weight: 650; margin-bottom: .35rem; }
.hint { display: block; font-weight: 400; font-size: .875rem; color: var(--ink-soft); margin-top: .15rem; }
.req { color: #a3003f; font-weight: 700; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: .65rem .8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #828fa1;
  border-radius: 10px;
}
textarea { min-height: 9rem; resize: vertical; }
select { min-height: 48px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--brand-dark); }
fieldset { margin: 0 0 1.25rem; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); }
legend { padding: 0 .4rem; font-weight: 700; }
.choice { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.choice input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--brand-dark); }
.choice label { margin: 0; font-weight: 400; }
.form__note { font-size: .875rem; color: var(--ink-soft); }
.section--deep .form__note { color: rgba(255,255,255,.85); }
.section--deep .req { color: #ffd23f; }
.section--deep label,
.section--deep legend { color: #fff; }
.section--deep fieldset { border-color: rgba(255,255,255,.28); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; }
/* Scroll containers must be focusable so a keyboard-only user can pan them
   (WCAG 2.1.1). The markup adds role="region" + tabindex="0" + a name. */
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.section--deep .table-scroll:focus-visible { outline-color: #ffd23f; }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
caption { text-align: left; font-weight: 700; padding-bottom: .6rem; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-alt); }

/* ---------- Job list ---------- */
.jobs { list-style: none; padding: 0; max-width: none; }
.jobs li { margin: 0 0 .75rem; }
.job {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.job h3 { margin: 0; font-size: 1.0625rem; flex: 1 1 22rem; }
.job__meta { font-size: .9375rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,.88);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  font-size: .9375rem;
}
.site-footer h3 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: .9rem; }
.site-footer a { color: #fff; }
.site-footer p { color: rgba(255,255,255,.88); }
.footer__logo {
  display: block;
  height: 54px;
  width: auto;
  margin-bottom: 1.5rem;
}
.footer__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer__list { list-style: none; padding: 0; margin: 0; max-width: none; }
.footer__list li { margin: 0; }
.footer__list a { display: flex; align-items: center; padding: .4rem 0; min-height: 44px; }
.footer__bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
}
.footer__legal { color: rgba(255,255,255,.75); }
.a11y-note { color: rgba(255,255,255,.75); }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive nav ---------- */
/* BREAKPOINT: keep this value identical to the matchMedia query in js/main.js.
   If they ever disagree, the mobile menu renders collapsed while the JS runs the
   desktop branch, and the visible toggle button stops working. */
@media (max-width: 75rem) {
  .site-header__inner { min-height: 66px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 1rem;
  }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { min-height: 50px; border-radius: 8px; }
  .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); }
  .lang { margin: .5rem 0 0; padding: .5rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .media--flip > :first-child { order: 0; }
}

/* JS not available → always show the nav */
.no-js .nav-toggle { display: none; }
.no-js .nav { display: flex !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .btn, .card, .quote, .job, .faq details { border: 1px solid CanvasText; }
  .hero, .stat, .site-footer, .section--deep { background: Canvas; color: CanvasText; }
  .motif { background: Canvas; border: 1px solid CanvasText; }
}

@media print {
  .site-header, .site-footer, .skip-link, .deco, .btn-row { display: none; }
  body { color: #000; font-size: 11pt; }
  /* Browsers drop background gradients when printing, so any element that relies
     on a dark ground for white text must be reset or it prints white-on-white. */
  .hero, .stat, .section--deep, .section--alt, .motif, .card, .quote, .job {
    background: none !important;
    box-shadow: none !important;
    color: #000 !important;
  }
  .hero h1, .hero p, .hero .eyebrow, .hero__tagline,
  .section--deep h2, .section--deep h3, .section--deep p, .section--deep .lede,
  .section--deep .eyebrow, .section--deep label, .section--deep legend,
  .stat p, .stat__n, .motif__label, .card p, .card h3 { color: #000 !important; }
  .motif::after { display: none; }
  .card, .quote, .job, .stat { border: 1px solid #999; }
  a[href^="http"]::after, a[href^="mailto"]::after, a[href^="tel"]::after {
    content: " (" attr(href) ")"; font-size: .85em; word-break: break-all;
  }
}
