/* ==========================================================================
   Stonebridge Global Recruitment — Design system & components
   --------------------------------------------------------------------------
   1. Fonts            6. Buttons & links      11. Industry cards
   2. Tokens           7. Header & navigation  12. Process steps
   3. Base / reset     8. Hero & page heroes   13. Accordions (FAQ)
   4. Typography       9. Media & figures      14. Forms
   5. Layout          10. Sections & bands     15. Footer, utilities, motion
   ========================================================================== */

/* 1. Fonts — self-hosted variable fonts (SIL Open Font License, see /assets/fonts) */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens ------------------------------------------------------- */
:root {
  /* Colour — brand palette (contrast-checked, see README) */
  --navy: #18243B;            /* headings, nav, dark bands — 14.1:1 on ivory */
  --navy-800: #1F2D47;        /* raised surfaces on navy */
  --navy-600: #33425E;        /* borders on navy */
  --terracotta: #B84E36;      /* primary buttons (white text 5.0:1) */
  --terracotta-ink: #9C3F2A;  /* small terracotta text / hover — 6.1:1 on ivory */
  --terracotta-soft: #E89A84; /* accents on navy — 6.9:1 */
  --terracotta-tint: #F6E4DD; /* quiet highlight backgrounds */
  --ivory: #F7F4EF;           /* page background */
  --sand: #EFEAE2;            /* alternate section background */
  --white: #FFFFFF;           /* cards & form surfaces */
  --slate: #526071;           /* secondary text — 5.9:1 on ivory */
  --slate-on-navy: #C9CFD9;   /* secondary text on navy — 9.9:1 */
  --border: #DDD8D0;          /* dividers, card outlines (decorative) */
  --border-input: #8A8377;    /* form control borders — 3.75:1 on white */
  --error: #A3271B;           /* 7.3:1 on white */
  --error-tint: #FBEDEA;
  --success: #2E6B4F;         /* 6.3:1 on white */
  --success-tint: #E8F2EC;
  --focus: #1E5BD8;           /* focus ring — distinct from brand colours */

  /* Typography */
  --font-head: "Manrope", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.5rem, 1.55rem + 3.9vw, 4.25rem);
  --fs-h1: clamp(2.25rem, 1.65rem + 2.5vw, 3.5rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --lh-tight: 1.08;
  --lh-head: 1.18;
  --lh-body: 1.65;

  /* Spacing — 8px system */
  --s-1: 0.5rem;   /* 8  */
  --s-2: 1rem;     /* 16 */
  --s-3: 1.5rem;   /* 24 */
  --s-4: 2rem;     /* 32 */
  --s-5: 2.5rem;   /* 40 */
  --s-6: 3rem;     /* 48 */
  --s-8: 4rem;     /* 64 */
  --s-10: 5rem;    /* 80 */
  --s-12: 6rem;    /* 96 */
  --s-15: 7.5rem;  /* 120 */
  --section-y: clamp(4rem, 2.6rem + 5.6vw, 7.5rem);

  /* Layout */
  --container: 75rem;          /* 1200px */
  --container-narrow: 48rem;   /* 768px — prose & forms */
  --gutter: clamp(1.5rem, 0.9rem + 2.4vw, 2.5rem); /* 24px → 40px */

  /* Shape & depth */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(24, 36, 59, 0.06), 0 2px 8px rgba(24, 36, 59, 0.05);
  --shadow-2: 0 2px 4px rgba(24, 36, 59, 0.06), 0 12px 32px rgba(24, 36, 59, 0.10);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --header-h: 4.5rem;
}

/* 3. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-2));
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:where(h1, h2, h3, h4) { margin: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-6) 0; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--navy :focus-visible, .site-footer :focus-visible, .band--navy :focus-visible {
  outline-color: #FFFFFF;
}
::selection { background: var(--terracotta-tint); color: var(--navy); }

.skip-link {
  position: absolute;
  left: var(--s-2);
  top: -100px;
  z-index: 200;
  padding: var(--s-1) var(--s-2);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--s-2); }

.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;
}

/* 4. Typography ---------------------------------------------------------- */
.display, h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  font-family: var(--font-head);
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.display { font-size: var(--fs-display); line-height: var(--lh-tight); font-weight: 800; letter-spacing: -0.03em; }
h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: 800; letter-spacing: -0.028em; }
h2, .h2 { font-size: var(--fs-h2); line-height: var(--lh-head); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.012em; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.4; letter-spacing: -0.005em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-bottom: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: currentColor;
}
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--slate); }
.muted { color: var(--slate); }
.small { font-size: var(--fs-sm); }
.stack > * + * { margin-top: var(--s-2); }
.stack-lg > * + * { margin-top: var(--s-3); }
.measure { max-width: 40rem; }
.measure-narrow { max-width: 34rem; }
strong { font-weight: 600; }

/* 5. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.66); }
.section--flush-top { padding-top: 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy :is(h2, h3, h4, .h2, .h3) { color: var(--white); }
.section--navy .lead, .section--navy .muted { color: var(--slate-on-navy); }
.section--navy .eyebrow { color: var(--terracotta-soft); }
.section--border-top { border-top: 1px solid var(--border); }

.section-head { max-width: 46rem; margin-bottom: var(--s-6); }
.section-head .lead { margin-top: var(--s-2); }
.section-head--split {
  max-width: none;
  display: grid;
  gap: var(--s-3);
  align-items: end;
}
@media (min-width: 60em) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8); }
  .section-head--split .lead { margin-top: 0; }
}

.grid { display: grid; gap: var(--s-3); }
@media (min-width: 40em) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 40em) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
@media (min-width: 40em) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Split: text + media, 12-col feel */
.split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 60em) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
  .split--wide-media { grid-template-columns: 0.9fr 1.1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

/* 6. Buttons & links ----------------------------------------------------- */
.btn {
  --btn-bg: var(--terracotta);
  --btn-fg: var(--white);
  --btn-bd: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { --btn-bg: var(--terracotta-ink); --btn-bd: var(--terracotta-ink); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; flex: none; transition: transform var(--t-fast) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--secondary:hover { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--ivory); --btn-bd: var(--ivory); --btn-fg: var(--navy); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.7); }
.btn--outline-light:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--terracotta-ink);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.text-link:hover { border-bottom-color: currentColor; gap: 0.7rem; }
.text-link .icon { width: 16px; height: 16px; }
.section--navy .text-link { color: var(--terracotta-soft); }

.prose a, .inline-link {
  color: var(--terracotta-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover, .inline-link:hover { text-decoration-thickness: 2px; }

/* 7. Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(24,36,59,0.02); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  flex: none;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}
.brand__sub {
  margin-top: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--r-sm);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 6px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: 600; }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  border: 1.5px solid var(--navy);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__icon { width: 20px; height: 20px; }
.nav-toggle__icon .line { transition: transform var(--t-med) var(--ease), opacity var(--t-fast); transform-origin: center; }
.nav-toggle[aria-expanded="true"] .line--top { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .line--mid { opacity: 0; }
.nav-toggle[aria-expanded="true"] .line--bot { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  overflow-y: auto;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  padding: var(--s-3) var(--gutter) var(--s-6);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { margin: 0; padding: 0; list-style: none; }
.mobile-nav__list li { border-bottom: 1px solid var(--border); }
.mobile-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-decoration: none;
}
.mobile-nav__link[aria-current="page"] { color: var(--terracotta-ink); }
.mobile-nav__link .icon { width: 20px; height: 20px; color: var(--slate); }
.mobile-nav__cta { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
.mobile-nav__note { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--slate); }

@media (min-width: 68em) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* Breadcrumb */
.breadcrumb { margin-bottom: var(--s-3); font-size: var(--fs-sm); color: var(--slate); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--border-input); }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }

/* 8. Hero & page heroes -------------------------------------------------- */
.hero { padding-top: clamp(2rem, 1rem + 4vw, 4.5rem); padding-bottom: var(--section-y); }
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
.hero__title { margin-bottom: var(--s-3); }
.hero__title em { font-style: normal; color: var(--terracotta-ink); }
.hero__lead { max-width: 34rem; margin-bottom: var(--s-4); }
.hero__assurances {
  display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3);
  margin-top: var(--s-4); padding: 0; list-style: none;
  font-size: var(--fs-sm); color: var(--slate);
}
.hero__assurances li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__assurances .icon { width: 18px; height: 18px; color: var(--success); flex: none; }
.hero__media { position: relative; }
.hero__note {
  position: relative;
  margin: calc(var(--s-6) * -1) var(--s-2) 0;
  padding: var(--s-3);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
}
.hero__note-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: var(--s-1); }
.hero__note ol { margin: 0; padding: 0; list-style: none; counter-reset: note; display: grid; gap: 0.5rem; }
.hero__note li { counter-increment: note; display: flex; gap: 0.75rem; font-size: var(--fs-sm); color: var(--slate); line-height: 1.5; }
.hero__note li::before {
  content: counter(note);
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--terracotta-tint);
  color: var(--terracotta-ink);
  font-size: 0.75rem; font-weight: 700;
}
@media (min-width: 60em) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-10); }
  .hero__note { position: absolute; left: calc(var(--s-8) * -1); bottom: var(--s-5); width: 19rem; margin: 0; }
}

.page-hero { padding-top: clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero__grid { display: grid; gap: var(--s-6); align-items: end; }
.page-hero h1 { margin-bottom: var(--s-3); }
.page-hero .lead { max-width: 38rem; }
.page-hero__actions { margin-top: var(--s-4); }
@media (min-width: 60em) {
  .page-hero__grid--media { grid-template-columns: 1fr 1fr; gap: var(--s-10); align-items: center; }
}

/* In-page jump navigation (industries page) */
.jump-nav { border-block: 1px solid var(--border); background: var(--ivory); }
.jump-nav ul { display: flex; gap: var(--s-1); overflow-x: auto; margin: 0; padding: var(--s-2) 0; list-style: none; scrollbar-width: thin; }
.jump-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0.5rem 1rem;
  border: 1px solid var(--border-input); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--navy);
  background: var(--white);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.jump-nav a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* 9. Media --------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--sand) linear-gradient(135deg, #E7E0D5 0%, #EFEAE2 100%);
  aspect-ratio: var(--ratio, 4 / 3);
}
.media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focal, center);
}
/* Fallback shown if a remote photograph cannot load */
.media.is-fallback img { display: none; }
.media.is-fallback::after {
  content: attr(data-fallback);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: var(--s-3);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--slate);
  background: repeating-linear-gradient(135deg, var(--sand) 0 12px, #EAE4DA 12px 24px);
}
.media--portrait { --ratio: 4 / 5; }
.media--square { --ratio: 1 / 1; }
.media--wide { --ratio: 16 / 9; }
.media--photo { --ratio: 3 / 2; }
.media--tall { --ratio: 3 / 4; }
.media-caption { margin-top: var(--s-1); font-size: var(--fs-xs); color: var(--slate); }

/* Stacked photo pair (about page) */
.media-pair { display: grid; grid-template-columns: 1fr 0.8fr; gap: var(--s-2); align-items: end; }
.media-pair .media:last-child { margin-bottom: var(--s-6); }

/* 10. Sections & bands --------------------------------------------------- */
/* Info list — label/description pairs used for "what you can share" */
.info-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.info-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-2); padding: var(--s-3) 0; border-bottom: 1px solid var(--border); }
.info-list .icon-badge { margin-top: 2px; }
.info-list h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; letter-spacing: -0.005em; }
.info-list p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.6; }

.icon-badge {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--terracotta-tint);
  color: var(--terracotta-ink);
}
.icon-badge .icon { width: 20px; height: 20px; }
.section--navy .icon-badge { background: var(--navy-800); color: var(--terracotta-soft); border: 1px solid var(--navy-600); }

/* Feature cards (candidate support, principles) */
.feature {
  padding: var(--s-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  height: 100%;
}
.feature .icon-badge { margin-bottom: var(--s-3); }
.feature h3 { font-size: 1.1875rem; margin-bottom: var(--s-1); }
.feature p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.65; }
.section--navy .feature { background: var(--navy-800); border-color: var(--navy-600); }
.section--navy .feature p { color: var(--slate-on-navy); }

/* Numbered principle list */
.principles { display: grid; gap: var(--s-4); counter-reset: pr; margin: 0; padding: 0; list-style: none; }
.principles li { counter-increment: pr; padding-top: var(--s-3); border-top: 2px solid var(--navy); }
.principles li::before {
  content: "0" counter(pr);
  display: block; margin-bottom: var(--s-2);
  font-family: var(--font-head); font-weight: 800; font-size: 0.875rem; letter-spacing: 0.06em;
  color: var(--terracotta-ink);
}
.principles h3 { margin-bottom: var(--s-1); }
.principles p { color: var(--slate); }
@media (min-width: 60em) { .principles { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }

/* Two-audience panel (candidates / employers) */
.audience {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  height: 100%;
}
.audience--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.audience--navy h3, .audience--navy h2 { color: var(--white); }
.audience--navy p, .audience--navy li { color: var(--slate-on-navy); }
.audience h2, .audience h3 { margin-bottom: var(--s-2); }
.audience p { color: var(--slate); }
.audience .check-list { margin-top: var(--s-3); margin-bottom: var(--s-4); }
.audience .btn-row { margin-top: auto; }

.check-list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; color: var(--slate); }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--terracotta); }
.audience--navy .check-list .icon, .section--navy .check-list .icon { color: var(--terracotta-soft); }
.section--navy .check-list li { color: var(--slate-on-navy); }

/* Employer band */
.band { border-radius: var(--r-lg); overflow: hidden; }
.band--navy { background: var(--navy); color: var(--white); }
.band--navy h2, .band--navy h3 { color: var(--white); }
.band--navy .lead, .band--navy p { color: var(--slate-on-navy); }
.band--navy .eyebrow { color: var(--terracotta-soft); }
.band__grid { display: grid; }
.band__body { padding: clamp(2rem, 1.2rem + 3.4vw, 4.5rem); }
.band__body h2 { margin-bottom: var(--s-2); }
.band__body .check-list { margin: var(--s-4) 0; }
.band__media { position: relative; min-height: 280px; }
.band__media .media { border-radius: 0; height: 100%; aspect-ratio: auto; position: absolute; inset: 0; }
@media (min-width: 60em) { .band__grid { grid-template-columns: 1.1fr 0.9fr; } .band__media { min-height: 100%; } }

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--terracotta);
}
.cta-band__grid { display: grid; gap: var(--s-4); align-items: center; }
.cta-band h2 { margin-bottom: var(--s-2); }
@media (min-width: 60em) { .cta-band__grid { grid-template-columns: 1.4fr auto; gap: var(--s-8); } }

/* Notice */
.notice {
  display: grid; grid-template-columns: 24px 1fr; gap: var(--s-2);
  padding: var(--s-3);
  border-radius: var(--r-md);
  background: var(--sand);
  border-left: 3px solid var(--navy);
  font-size: var(--fs-sm);
  color: var(--navy);
}
.notice .icon { width: 22px; height: 22px; color: var(--navy); }
.notice p { color: var(--slate); }
.notice strong { color: var(--navy); }

/* 11. Industry cards ----------------------------------------------------- */
.industry-card {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease), border-color var(--t-med);
}
.industry-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: transparent; }
.industry-card:focus-within { box-shadow: var(--shadow-2); }
.industry-card .media { border-radius: 0; --ratio: 4 / 3; }
.industry-card .media img { transition: transform 600ms var(--ease); }
.industry-card:hover .media img { transform: scale(1.04); }
.industry-card__body { display: flex; flex-direction: column; gap: var(--s-1); flex: 1; padding: var(--s-3) var(--s-3) var(--s-4); }
.industry-card__kicker { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.industry-card h3 { font-size: 1.25rem; }
.industry-card p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.6; flex: 1; }
.industry-card .text-link { margin-top: var(--s-2); align-self: flex-start; }
/* Whole card clickable via stretched link, text stays selectable */
.industry-card .text-link::after { content: ""; position: absolute; inset: 0; }

/* Industry detail rows (industries page) */
.industry-detail { padding-block: var(--s-10); border-top: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + var(--s-2)); }
.industry-detail:first-of-type { border-top: 0; padding-top: 0; }
.industry-detail__grid { display: grid; gap: var(--s-5); }
.industry-detail__num { font-family: var(--font-head); font-weight: 800; font-size: 0.875rem; letter-spacing: 0.08em; color: var(--terracotta-ink); margin-bottom: var(--s-2); }
.industry-detail h2 { margin-bottom: var(--s-2); }
.industry-detail .lead { margin-bottom: var(--s-4); }
.role-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.role-tags li {
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--navy);
}
.detail-cols { display: grid; gap: var(--s-4); margin-bottom: var(--s-4); }
.detail-cols h3 { font-size: 1rem; margin-bottom: var(--s-2); letter-spacing: 0; }
@media (min-width: 40em) { .detail-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) {
  .industry-detail__grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-10); align-items: start; }
  .industry-detail--reverse .industry-detail__grid { grid-template-columns: 1.15fr 0.85fr; }
  .industry-detail--reverse .industry-detail__media { order: 2; }
  .industry-detail__media { position: sticky; top: calc(var(--header-h) + var(--s-4)); }
}

/* 12. Process steps ------------------------------------------------------ */
.steps { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  counter-increment: step;
  position: relative;
  padding: var(--s-4) var(--s-3) var(--s-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.step__num {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: var(--s-3);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.125rem;
}
.step h3 { font-size: 1.1875rem; margin-bottom: var(--s-1); }
.step p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.65; }
@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
  .steps--connected .step::after {
    content: "";
    position: absolute;
    top: calc(var(--s-4) + 24px);
    left: calc(var(--s-3) + 56px);
    right: calc(var(--s-3) * -1 - 8px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-input) 0 6px, transparent 6px 12px);
  }
  .steps--connected .step:last-child::after { display: none; }
}

/* Detailed timeline (how-it-works page) */
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline__item { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-3); padding-bottom: var(--s-8); position: relative; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 8px; width: 2px; background: var(--border);
}
.timeline__item:last-child::before { display: none; }
.timeline__marker {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
}
.timeline__content h2, .timeline__content h3 { margin-bottom: var(--s-2); }
.timeline__content > p { color: var(--slate); }
.timeline__panel {
  margin-top: var(--s-3);
  display: grid; gap: var(--s-3);
  padding: var(--s-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.timeline__panel h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); margin-bottom: var(--s-1); font-family: var(--font-body); font-weight: 600; }
.timeline__panel p, .timeline__panel li { font-size: var(--fs-sm); }
@media (min-width: 48em) { .timeline__panel { grid-template-columns: 1fr 1fr; } }
@media (min-width: 48em) { .timeline__item { grid-template-columns: 72px 1fr; gap: var(--s-4); } .timeline__item::before { left: 35px; top: 72px; } .timeline__marker { width: 72px; height: 72px; font-size: 1.5rem; } }

/* 13. Accordions --------------------------------------------------------- */
.faq-group + .faq-group { margin-top: var(--s-8); }
.faq-group__title { margin-bottom: var(--s-3); }
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__heading { margin: 0; font-size: inherit; letter-spacing: 0; }
.accordion__trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) 0;
  border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); font-weight: 700; letter-spacing: -0.01em;
  color: var(--navy);
}
.accordion__trigger:hover { color: var(--terracotta-ink); }
.accordion__icon {
  flex: none; position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border-input);
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease);
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: currentColor; border-radius: 1px;
  transition: transform var(--t-med) var(--ease);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { background: var(--navy); border-color: var(--navy); color: var(--white); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }
.accordion__panel { padding: 0 var(--s-6) var(--s-3) 0; color: var(--slate); }
.accordion__panel[hidden] { display: none; }
.accordion__panel p + p { margin-top: var(--s-2); }
.accordion__panel a { color: var(--terracotta-ink); text-underline-offset: 3px; }

/* 14. Forms -------------------------------------------------------------- */
.form-layout { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 64em) { .form-layout { grid-template-columns: minmax(0, 1fr) 22rem; gap: var(--s-8); } .form-aside { position: sticky; top: calc(var(--header-h) + var(--s-3)); } }

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.form-intro { margin-bottom: var(--s-4); }
.form-intro p { color: var(--slate); font-size: var(--fs-sm); }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-section + .form-section { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--border); }
.form-section > legend {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: var(--s-3); padding: 0;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; color: var(--navy);
}
.form-section > legend .legend-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--terracotta-tint); color: var(--terracotta-ink);
  font-size: 0.8125rem; font-weight: 800;
}
.form-grid { display: grid; gap: var(--s-3); }
@media (min-width: 40em) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field label, .field .label {
  font-size: var(--fs-sm); font-weight: 600; color: var(--navy);
}
.req { color: var(--terracotta-ink); font-weight: 700; margin-left: 2px; }
.optional { font-weight: 400; color: var(--slate); }
.hint { font-size: var(--fs-xs); color: var(--slate); line-height: 1.5; }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  background: var(--white);
  border: 1.5px solid var(--border-input);
  border-radius: var(--r-sm);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--navy);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #6B6459; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(30, 91, 216, 0.28);
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2318243B' stroke-width='2' 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 0.875rem center;
  background-size: 18px;
  cursor: pointer;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); background-color: #FFFCFB; }
.field.has-error .input:focus-visible, .field.has-error .select:focus-visible, .field.has-error .textarea:focus-visible { box-shadow: 0 0 0 3px rgba(163, 39, 27, 0.22); }
.error-msg {
  display: flex; align-items: flex-start; gap: 0.375rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--error);
}
.error-msg[hidden] { display: none; }
.error-msg .icon { width: 16px; height: 16px; margin-top: 3px; flex: none; }

/* Checkbox / radio */
.choice-group { display: grid; gap: 0.75rem; }
@media (min-width: 40em) { .choice-group--2 { grid-template-columns: 1fr 1fr; } .choice-group--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .choice-group--4 { grid-template-columns: repeat(4, 1fr); } }
.choice {
  position: relative;
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  font-size: var(--fs-sm);
  line-height: 1.45;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.choice:hover { border-color: var(--border-input); }
.choice input {
  flex: none;
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; margin: 0;
  border: 1.5px solid var(--border-input);
  border-radius: 4px;
  background: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.choice input[type="radio"] { border-radius: 50%; }
.choice input::after {
  content: ""; width: 10px; height: 6px;
  border: 2px solid var(--white); border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform var(--t-fast) var(--ease);
}
.choice input[type="radio"]::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--white); transform: scale(0); }
.choice input:checked { background: var(--navy); border-color: var(--navy); }
.choice input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.choice input[type="radio"]:checked::after { transform: scale(1); }
.choice input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice:has(input:checked) { border-color: var(--navy); background: #FBFAF8; }
.choice--plain { border: 0; padding: 0; background: none; }
.choice--plain:hover { border: 0; }
.choice--plain:has(input:checked) { background: none; }
.field.has-error .choice input { border-color: var(--error); }

.form-actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.form-actions .hint { max-width: 26rem; }

.error-summary {
  margin-bottom: var(--s-4);
  padding: var(--s-3);
  border: 2px solid var(--error);
  border-radius: var(--r-md);
  background: var(--error-tint);
}
.error-summary[hidden] { display: none; }
.error-summary h2 { font-size: 1.125rem; color: var(--error); margin-bottom: var(--s-1); letter-spacing: 0; }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--error); font-weight: 500; }

.form-success {
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--success);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.form-success[hidden] { display: none; }
.form-success__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--success-tint); color: var(--success); margin-bottom: var(--s-3); }
.form-success__icon .icon { width: 28px; height: 28px; }
.form-success h2 { margin-bottom: var(--s-2); }
.form-success > p { color: var(--slate); }
.form-success .steps-mini { margin: var(--s-4) 0; }
.form-success .btn-row { margin-top: var(--s-4); }
.steps-mini { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; counter-reset: mini; }
.steps-mini li { counter-increment: mini; display: grid; grid-template-columns: 32px 1fr; gap: var(--s-2); color: var(--slate); font-size: var(--fs-sm); }
.steps-mini li::before {
  content: counter(mini);
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 0.875rem;
}
.steps-mini strong { display: block; color: var(--navy); }
.copy-box {
  margin-top: var(--s-3);
  padding: var(--s-2);
  background: var(--ivory);
  border: 1px dashed var(--border-input);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
  color: var(--navy);
}

/* Aside card */
.aside-card {
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: var(--white);
}
.aside-card h2, .aside-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: var(--s-2); }
.aside-card p, .aside-card li { color: var(--slate-on-navy); font-size: var(--fs-sm); }
.aside-card .steps-mini li { color: var(--slate-on-navy); }
.aside-card .steps-mini li::before { background: var(--terracotta); }
.aside-card .steps-mini strong { color: var(--white); }
.aside-card a { color: var(--terracotta-soft); }
.aside-card + .aside-card, .aside-card + .aside-plain { margin-top: var(--s-3); }
.aside-plain { padding: var(--s-3); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--white); }
.aside-plain h3 { font-size: 1.0625rem; margin-bottom: var(--s-1); }
.aside-plain p { color: var(--slate); font-size: var(--fs-sm); }
.aside-media { margin-bottom: var(--s-3); }

/* Contact methods */
.contact-methods { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.contact-method {
  display: grid; grid-template-columns: 40px 1fr; gap: var(--s-2); align-items: center;
  padding: var(--s-3);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
}
.contact-method h3 { font-size: 1rem; letter-spacing: 0; }
.contact-method p, .contact-method a { font-size: var(--fs-sm); color: var(--slate); }
.contact-method a { color: var(--terracotta-ink); font-weight: 600; word-break: break-word; }

/* Prose (legal pages) */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: var(--s-2); }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin-top: var(--s-6); }
.prose h3 { margin-top: var(--s-4); font-size: 1.1875rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose p, .prose li { color: #3D4859; }
.prose-meta { font-size: var(--fs-sm); color: var(--slate); }
.toc { padding: var(--s-3); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--white); }
.toc h2 { font-size: 1rem; margin: 0 0 var(--s-2); letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 1.25rem; font-size: var(--fs-sm); }
.toc li + li { margin-top: 0.25rem; }
.toc a { color: var(--navy); }
.legal-layout { display: grid; gap: var(--s-6); }
@media (min-width: 64em) { .legal-layout { grid-template-columns: 16rem minmax(0, 1fr); gap: var(--s-10); } .legal-layout .toc { position: sticky; top: calc(var(--header-h) + var(--s-3)); align-self: start; } }

/* 15. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--slate-on-navy); padding-top: var(--s-12); padding-bottom: var(--s-4); font-size: var(--fs-sm); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-top { display: grid; gap: var(--s-6); padding-bottom: var(--s-8); border-bottom: 1px solid var(--navy-600); }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand__sub { color: var(--slate-on-navy); }
.footer-brand p { margin-top: var(--s-3); max-width: 22rem; line-height: 1.65; }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta-soft); margin-bottom: var(--s-2); }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.625rem; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-cta { margin-top: var(--s-3); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4); padding-top: var(--s-4); font-size: var(--fs-xs); }
.footer-bottom p { max-width: 46rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48em) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-8); } }

/* Utilities */
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.center { margin-inline: auto; }
.icon { display: inline-block; flex: none; }

/* Reveal motion — progressive enhancement, disabled for reduced motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .industry-card:hover, .industry-card:hover .media img { transform: none; }
}

@media print {
  .site-header, .mobile-nav, .site-footer, .btn, .skip-link { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 1.5rem; }
}

/* Long unbroken strings (e.g. email addresses) never cause horizontal scrolling */
body { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ---- Refinements from visual QA ---- */
[hidden] { display: none !important; }

/* Floated legends sit outside the fieldset border, so section dividers stay unbroken */
.form-section > legend { float: left; width: 100%; }
.form-section > .form-grid { clear: both; }
.field > legend.label { float: left; width: 100%; margin-bottom: 0.375rem; padding: 0; }
.field > legend.label + .hint, .field > legend.label + .choice-group { clear: both; }
.field > legend.label ~ .choice-group { margin-top: 0.5rem; clear: both; }

/* Buttons keep their own colours inside the footer */
.site-footer a.btn { color: var(--btn-fg); text-decoration: none; }
.site-footer .brand__mark rect:first-child { fill: #2A3956; }

/* Check lists on navy bands */
.band--navy .check-list li { color: var(--slate-on-navy); }
.band--navy .check-list .icon { color: var(--terracotta-soft); }

/* Card links: arrow stays with the last word when the label wraps */
.industry-card .text-link { display: inline; }
.industry-card .text-link .icon { display: inline-block; vertical-align: -3px; margin-left: 0.375rem; }

/* Calmer image proportions on small screens */
@media (max-width: 59.99em) {
  .media--portrait, .media--tall { --ratio: 4 / 3; }
  .hero__media .media--portrait { --ratio: 5 / 4; }
  .industry-detail__media .media--portrait { --ratio: 3 / 2; }
}
.aside-plain .accordion__trigger { font-size: 1rem; padding: 1rem 0; }
.aside-plain .accordion__icon { width: 28px; height: 28px; }
.aside-plain .accordion__panel { padding-right: 0; font-size: var(--fs-sm); }
@media (min-width: 64em) { .jump-nav ul { flex-wrap: wrap; overflow: visible; } }
.error-summary, .form-success, .form-card { scroll-margin-top: calc(var(--header-h) + var(--s-3)); }
