/* ==========================================================================
   Key Skills Hub — Design System
   Brand palette: charcoal / slate / grey / off-white / orange
   ========================================================================== */

:root {
  --charcoal: #4A5456;
  --charcoal-dark: #3B4344;
  --charcoal-darker: #2E3536;
  --slate: #485154;
  --slate-light: #565F60;
  --grey: #737B7D;
  --grey-light: #A6ABAC;
  --grey-lighter: #C7CBCB;
  --border: #E3E5E5;
  --border-light: #EDEEEE;
  --off-white: #F4F4F4;
  --white: #FFFFFF;
  --ink: #2B3132;
  --ink-soft: #565E5F;
  --orange: #EF902D;
  --orange-dark: #D97B17;

  --font-display: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --radius-sm: 6px;

  --shadow-sm: 0 1px 2px rgba(43,49,50,.05), 0 1px 4px rgba(43,49,50,.04);
  --shadow-md: 0 6px 20px rgba(43,49,50,.09), 0 2px 6px rgba(43,49,50,.05);
  --shadow-lg: 0 20px 48px rgba(43,49,50,.16), 0 6px 18px rgba(43,49,50,.08);
  --shadow-orange: 0 10px 24px rgba(217,123,23,.22);
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
main:focus { outline: none; }
.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 200;
  background: var(--charcoal-darker); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 6px 6px; font-size: 14px; font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}

/* ---- Layout helpers ---- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--light { background: var(--off-white); }
.section--dark { background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%); color: var(--white); }
.section--darker { background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--charcoal-darker) 100%); color: var(--white); }
.section--border-y { border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-heading.center .eyebrow { justify-content: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 1px 2px rgba(43,49,50,.08); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); box-shadow: var(--shadow-orange); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(43,49,50,.08); }
.btn-secondary { background: var(--white); color: var(--charcoal); border-color: var(--grey-lighter); }
.btn-secondary:hover { background: var(--off-white); color: var(--charcoal); border-color: var(--grey-light); transform: translateY(-1px); }
.btn-secondary-inverse { background: transparent; color: var(--off-white); border-color: rgba(244,244,244,.4); }
.btn-secondary-inverse:hover { background: rgba(244,244,244,.1); color: var(--white); border-color: rgba(244,244,244,.6); transform: translateY(-1px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Cards ---- */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--grey-lighter); transform: translateY(-3px); }
.card--dark { background: linear-gradient(160deg, var(--slate-light), var(--slate)); border-color: var(--slate-light); color: var(--white); }
.card--dark:hover { border-color: var(--slate-light); }
.card--charcoal { background: linear-gradient(160deg, var(--charcoal), var(--charcoal-dark)); border-color: var(--charcoal); color: var(--white); }
.card--charcoal:hover { border-color: var(--charcoal); }
.card--placeholder { border: 1.5px dashed var(--grey-lighter); background: #FAFAFA; box-shadow: none; }
.card--placeholder:hover { box-shadow: none; transform: none; border-color: var(--grey-lighter); }

/* ---- Grids ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Icon ---- */
.icon { color: var(--orange); flex-shrink: 0; }
.icon-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--charcoal); color: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(43,49,50,.18);
}
.icon-circle.is-active { background: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }

/* ---- Checklist ---- */
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #3D4445; }
.check-item svg { margin-top: 2px; flex-shrink: 0; }
.check-item.on-dark { color: #EDEEEE; }

/* ==========================================================================
   Site chrome — utility bar, header/nav, footer
   ========================================================================== */
.utility-bar {
  background: var(--charcoal-darker);
  padding: 9px 0;
  font-size: 12.5px;
  color: #C7CBCB;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.utility-bar .wrap { display: flex; justify-content: space-between; align-items: center; max-width: 1360px; }
.utility-bar__contacts { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.utility-bar__contacts a { display: inline-flex; align-items: center; gap: 6px; color: #C7CBCB; }
.utility-bar__contacts a svg { color: var(--orange); }
.utility-bar__contacts a:hover { color: var(--white); }
.utility-bar__tag { color: #9DA3A4; }

.site-header {
  background: linear-gradient(120deg, var(--slate) 0%, var(--charcoal-dark) 100%);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-lg); }
.nav-scrim {
  position: fixed; inset: 0; background: rgba(20,23,23,.5);
  z-index: 45; border: none; padding: 0; cursor: default;
}
body.nav-open { overflow: hidden; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1360px;
}
.site-header__logo img { height: 34px; width: auto; display: block; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  color: var(--off-white);
  font-size: 14.5px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--orange); }
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-header__cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
}

footer.site-footer {
  background: var(--charcoal-darker);
  color: var(--white);
  padding: 64px 0 0 0;
  position: relative;
}
footer.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
}
.site-footer .wrap { max-width: 1360px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: #9DA3A4; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid #4B5253;
  display: flex; align-items: center; justify-content: center; color: #C7CBCB;
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-col { display: flex; flex-direction: column; gap: 14px; min-width: 180px; }
.footer-col h2 {
  font-size: 13px; font-weight: 700; color: var(--white);
  letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-body);
}
.footer-col a, .footer-col span { font-size: 13.5px; color: #9DA3A4; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; border-top: 1px solid #3F4647; flex-wrap: wrap; gap: 12px;
}
.footer-bottom, .footer-bottom span { font-size: 12.5px; color: #7D8384; }
.footer-powered { display: flex; gap: 10px; align-items: center; }
.footer-powered img { height: 24px; width: 24px; border-radius: 4px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: linear-gradient(180deg, #F8F8F7 0%, var(--off-white) 100%); position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero::before { width: 460px; height: 460px; top: -180px; right: -140px; background: radial-gradient(circle, rgba(239,144,45,.10), transparent 70%); }
.hero::after { width: 380px; height: 380px; bottom: -200px; left: -120px; background: radial-gradient(circle, rgba(74,84,86,.07), transparent 70%); }
.hero .wrap { padding-top: 72px; padding-bottom: 60px; position: relative; z-index: 1; }
.hero__content { max-width: 640px; }
.hero h1 { font-size: 43px; margin-bottom: 18px; letter-spacing: -0.01em; }
.hero__lead { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 26px; }
.hero--split .wrap { display: flex; align-items: center; gap: 60px; }
.hero--simple h1 { max-width: 760px; margin-bottom: 16px; font-size: 38px; letter-spacing: -0.01em; }
.hero--simple__lead { max-width: 700px; }
.hero-stats { display: flex; gap: 36px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #DCDFDF; }
.hero-stat strong { display: block; font-size: 26px; font-weight: 700; color: var(--charcoal); font-family: var(--font-display); }
.hero-stat span { font-size: 12.5px; color: var(--grey); }
.hero-figure { flex-shrink: 0; }

/* ---- Trust bar ---- */
.trust-bar { padding: 34px 0; border-bottom: 1px solid var(--border-light); }
.trust-bar__label { font-size: 13px; color: #8A9091; text-align: center; letter-spacing: .03em; margin-bottom: 20px; }
.trust-bar__logos { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; align-items: center; }
.trust-bar__logos span { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--grey-light); }

/* ---- Section heading ---- */
.section-heading { max-width: 680px; margin-bottom: 40px; }
.section-heading h2 { font-size: 28px; margin-bottom: 12px; }
.section-heading p { font-size: 15px; color: var(--grey); line-height: 1.6; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Feature card ---- */
.feature-card { display: flex; flex-direction: column; gap: 12px; }
.feature-card h3 { font-size: 15px; font-weight: 600; }
.feature-card p { font-size: 13px; color: var(--grey); line-height: 1.5; }

/* ---- Delivery format bar ---- */
.format-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.format-bar__label { font-size: 15px; font-weight: 600; color: var(--charcoal); }
.format-list { display: flex; gap: 40px; flex-wrap: wrap; }
.format-item { display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: var(--charcoal); font-weight: 500; }

/* ---- Quote ---- */
.quote-block { text-align: center; }
.quote-block p {
  font-size: 24px; font-weight: 600; color: var(--ink); max-width: 760px; margin: 0 auto;
  line-height: 1.4; font-family: var(--font-display);
}

/* ---- CTA band ---- */
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { font-size: 15px; }
.cta-band.section--darker p { color: #C7CBCB; }
.cta-band.section--light p { color: var(--grey); }
.section--dark h2, .section--dark h3,
.section--darker h2, .section--darker h3,
.card--dark h2, .card--dark h3,
.card--charcoal h2, .card--charcoal h3 { color: var(--white); }

/* ---- Stepper (How We Work) ---- */
.stepper-row { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 24px; }
.stepper-row::before { content: ""; position: absolute; top: 23px; left: 60px; right: 60px; height: 2px; background: var(--border); z-index: 0; }
.stepper-item { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 150px; z-index: 1; text-align: center; }
.stepper-item strong { font-size: 14.5px; font-weight: 600; }
.stepper-item span { font-size: 12.5px; color: #8A9091; line-height: 1.4; }

.timeline { display: flex; flex-direction: column; }
.timeline-row { display: flex; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--border-light); flex-wrap: wrap; }
.timeline-row:last-child { border-bottom: none; }
.timeline-label { display: flex; flex-direction: column; gap: 6px; width: 220px; flex-shrink: 0; }
.timeline-label strong { font-size: 19px; font-weight: 700; }
.timeline-label span { font-size: 13px; color: var(--grey-light); text-transform: uppercase; letter-spacing: .03em; }
.timeline-row p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 640px; align-self: center; }

/* ---- Form ---- */
.field-group { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.field-group label { font-size: 12.5px; font-weight: 600; color: var(--charcoal); }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  border: 1px solid #DCDFDF; border-radius: var(--radius-sm); padding: 13px 14px;
  font-size: 14px; color: var(--ink); background: var(--white); width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--grey-light); }
textarea { resize: vertical; min-height: 90px; }
select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737B7D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px;
}
.radio-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { flex: 1; min-width: 130px; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill label {
  display: block; text-align: center; padding: 13px 10px; border: 1px solid #DCDFDF;
  border-radius: var(--radius-sm); font-size: 13.5px; color: var(--ink-soft); cursor: pointer;
}
.radio-pill input:checked + label { border-color: var(--orange); color: var(--orange); font-weight: 600; background: #FFF7EE; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; }
.form-status { font-size: 13px; margin-top: 10px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: #1C883E; }
.form-status.is-error { color: #C4402B; }
input.is-invalid, textarea.is-invalid { border-color: #C4402B; }

/* ---- Map placeholder ---- */
.map-placeholder {
  height: 200px; border-radius: var(--radius); background: var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--grey-light); font-size: 13px;
}

/* ---- Brand architecture (About) ---- */
.brand-chart { display: flex; flex-direction: column; align-items: center; }
.brand-chart__node { display: flex; align-items: center; gap: 14px; padding: 20px 34px; border-radius: var(--radius); }
.brand-chart__node img { flex-shrink: 0; }
.brand-chart__connector { width: 2px; height: 30px; background: #DCDFDF; }
.brand-chart__audience { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.brand-chart__audience .card { width: 150px; align-items: center; text-align: center; gap: 8px; }
.brand-chart__audience .card span { font-size: 12.5px; font-weight: 600; }

/* ---- Free Assessment tool ---- */
.assess-progress { height: 5px; border-radius: 3px; background: var(--border); overflow: hidden; margin-bottom: 12px; }
.assess-progress-bar { height: 100%; background: var(--orange); border-radius: 3px; transition: width .3s var(--ease); width: 25%; }
.assess-step-label { font-size: 12.5px; font-weight: 600; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 22px; }
.assess-step { display: none; }
.assess-step.is-active { display: block; }
.assess-step h2 { font-size: 20px; margin-bottom: 16px; line-height: 1.35; }
.assess-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.assess-error { font-size: 13px; color: #C4402B; margin: 10px 0 0; min-height: 16px; }
.tag { display: inline-block; background: #FFF7EE; color: var(--orange-dark); font-weight: 700; font-size: 12.5px;
  padding: 4px 10px; border-radius: 20px; margin-right: 8px; }
.assess-result-row { padding: 16px 0; border-bottom: 1px solid var(--border); }
.assess-result-row:last-of-type { border-bottom: none; }
.assess-result-label { display: block; font-size: 12px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.assess-result-row p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.assess-result-intro { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 4px; }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.center-col { align-items: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero--split .wrap { flex-direction: column; align-items: flex-start; }
  .hero-figure { width: 100%; }
  .hero-figure svg { width: 100%; height: auto; }
  .footer-top { gap: 32px; }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .hero .wrap { padding-top: 40px; padding-bottom: 40px; }
  .hero h1, .hero--simple h1 { font-size: 30px; }
  .utility-bar__tag { display: none; }
  .site-nav {
    position: fixed; inset: 0; top: 0; left: 0; right: 0;
    background: var(--slate); flex-direction: column; align-items: flex-start;
    padding: 90px 24px 24px; gap: 4px; transform: translateX(100%);
    transition: transform .25s ease; width: 100%; max-width: 320px; left: auto; height: 100vh; overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .site-header__cta { display: none; }
  .nav-toggle { display: block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stepper-row { flex-direction: column; align-items: flex-start; }
  .stepper-row::before { display: none; }
  .stepper-item { flex-direction: row; width: 100%; text-align: left; }
  .trust-bar__logos { gap: 26px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .format-bar { flex-direction: column; align-items: flex-start; }
  .timeline-row { flex-direction: column; gap: 12px; }
  .field-row { flex-direction: column; }
  .inline-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .quote-block p { font-size: 19px; }
}
