/* Supply Chain Future — site styles
   Brand: Supply Chain Blue #23478A, Transformation Orange #F3941B,
   Action Orange #F46F1C, Future Gold #F9B80F, Grid Blue #D2E3F3,
   Process Blue #C9D8EF, Light Grey #F5F7FA. Typeface: Segoe UI. */

:root {
  --blue: #23478a;
  --blue-deep: #18325f;
  --orange: #f3941b;
  --orange-action: #f46f1c;
  --orange-text: #b8500c;
  --gold: #f9b80f;
  --grid-blue: #d2e3f3;
  --process-blue: #c9d8ef;
  --grey: #f5f7fa;
  --ink: #1f2a3a;
  --ink-soft: #46546a;
  --white: #ffffff;
  --line: #dfe6ef;
  --wrap: 1120px;
  --font: "Segoe UI", "Source Sans 3", "Source Sans Pro", Lato, Aptos, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

/* The logo file has wide empty margins; this frame shows the artwork only. */
.logo {
  display: block;
  width: 190px;
  aspect-ratio: 2240 / 735;
  overflow: hidden;
  flex: none;
}
.logo img {
  width: 119.06%;
  max-width: none;
  margin-left: -4.24%;
  margin-top: -20.31%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 16px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--orange);
}

.lang {
  display: flex;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.lang a { border-bottom: none; color: var(--ink-soft); }
.lang a[aria-current="true"] { color: var(--blue); }

.menu-toggle { display: none; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--orange-action); color: var(--white); }

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--orange-text); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}

/* ---------- Type ---------- */

.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin: 0 0 18px;
}

.display {
  font-size: clamp(30px, 4.1vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--blue);
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--blue);
  margin: 0 0 20px;
}

p { margin: 0 0 18px; }

.lede { font-size: 20px; color: var(--ink-soft); }

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.narrow { max-width: 760px; }

/* Hero */

.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Fine grid from the brand banner: one tile is 225 x 260 units, drawn at 60px wide. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='225' height='260' viewBox='0 0 225 260'%3E%3Cpath fill='none' stroke='%23D2E3F3' stroke-width='5' d='M112.5 0V130M0 0L112.5 65L225 0M0 130L112.5 65L225 130M0 130V260M225 130V260M112.5 130L0 195L112.5 260M112.5 130L225 195L112.5 260'/%3E%3C/svg%3E");
  background-size: 60px 69.33px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 64px;
  align-items: center;
}

.portrait { margin: 0; }
.portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}
.portrait figcaption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.portrait figcaption strong { display: block; color: var(--blue); font-weight: 600; }

/* Proof */

.proof { background: var(--grey); }

.stats {
  list-style: none;
  margin: 40px 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.stats li {
  background: var(--white);
  border-top: 4px solid var(--orange);
  border-radius: 4px;
  padding: 28px 26px 26px;
}
.stat-figure {
  display: block;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--blue);
  margin-bottom: 10px;
}
.stat-text { display: block; font-size: 17px; line-height: 1.5; }
.stat-who {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* Split sections */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.split h2 { margin-bottom: 0; }

/* Diagnostic */

.diagnostic { background: var(--blue); color: var(--white); }
.diagnostic h2 { color: var(--white); }
.diagnostic .lede { color: var(--grid-blue); }
.diagnostic .btn { margin-top: 12px; }

.three {
  list-style: none;
  margin: 36px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: three;
}
.three li {
  counter-increment: three;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 18px;
  font-size: 17px;
}
.three li::before {
  content: counter(three);
  display: block;
  font-size: 34px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.callout {
  margin: 28px 0 20px;
  font-size: 20px;
}
.callout strong { color: var(--gold); font-weight: 600; }

/* Assessment */

.assessment-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: var(--grid-blue);
  border-radius: 6px;
  padding: 48px;
}
.score {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  line-height: 1.1;
}
.score b { font-size: 46px; font-weight: 300; }
.score span { font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.assessment-card .btn { margin-top: 10px; }

/* About */

.about-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.about-grid .mark { width: 200px; }

/* Closing */

.closing { background: var(--grey); text-align: center; }
.closing .narrow { margin: 0 auto; }
.closing .actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--blue-deep);
  color: var(--grid-blue);
  font-size: 16px;
  padding: 44px 0;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-note { margin: 0; max-width: 520px; }

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }

  .hero-grid,
  .split,
  .about-grid { grid-template-columns: 1fr; gap: 36px; }

  .portrait { max-width: 340px; }
  .stats,
  .three { grid-template-columns: 1fr; }

  .assessment-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 24px;
  }
  .score { width: 132px; height: 132px; }
  .score b { font-size: 36px; }
  .about-grid .mark { width: 140px; }

  .logo { width: 160px; }
}

/* The menu stays visible at every width: it drops to its own row under the
   logo, and on phones becomes a single row that scrolls sideways. */
@media (max-width: 1080px) {
  .header-row {
    position: relative;
    flex-wrap: wrap;
    gap: 0 24px;
    min-height: 0;
    padding-top: 10px;
  }
  .nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 2px 20px;
    padding: 4px 0 10px;
    font-size: 15px;
  }
  .lang {
    position: absolute;
    top: 26px;
    right: 24px;
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 18px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav > a { flex: none; }
}

section[id] { scroll-margin-top: 130px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* German: let long compound words break cleanly in headings. */
html[lang="de"] .display,
html[lang="de"] h2,
html[lang="de"] .eyebrow {
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Menu items never break onto two lines; the header may use a wider frame. */
.nav a { white-space: nowrap; }
.site-header .wrap { max-width: 1280px; }

/* German menu labels are longer, so the menu drops to its own row sooner. */
@media (max-width: 1260px) {
  html[lang="de"] .header-row {
    position: relative;
    flex-wrap: wrap;
    gap: 0 24px;
    min-height: 0;
    padding-top: 10px;
  }
  html[lang="de"] .nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 2px 20px;
    padding: 4px 0 10px;
    font-size: 15px;
  }
  html[lang="de"] .lang {
    position: absolute;
    top: 26px;
    right: 24px;
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  html[lang="de"] .nav {
    flex-wrap: nowrap;
    gap: 18px;
  }
}

/* ---------- Inner pages ---------- */

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--blue);
  margin: 0 0 10px;
}

section.alt { background: var(--grey); }

.page-hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='225' height='260' viewBox='0 0 225 260'%3E%3Cpath fill='none' stroke='%23D2E3F3' stroke-width='5' d='M112.5 0V130M0 0L112.5 65L225 0M0 130L112.5 65L225 130M0 130V260M225 130V260M112.5 130L0 195L112.5 260M112.5 130L225 195L112.5 260'/%3E%3C/svg%3E");
  background-size: 60px 69.33px;
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero .narrow { max-width: 820px; }

.page-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--blue);
  margin: 0 0 24px;
}

.lede.narrow { margin-bottom: 8px; }

/* Cards */

.cards {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 4px;
  padding: 26px 26px 22px;
}
.card p { font-size: 17px; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }

.cards + .actions,
.steps + .actions,
.quotes + .actions { margin-top: 36px; }

/* Case studies */

.case .results {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.case .results li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.case .results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}
.case .results strong { color: var(--blue); }

/* Numbered steps */

.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
  counter-reset: steps;
}
.steps.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li {
  counter-increment: steps;
  border-top: 2px solid var(--process-blue);
  padding-top: 18px;
}
.steps li::before {
  content: counter(steps);
  display: block;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--orange-text);
  margin-bottom: 12px;
}
.steps p { font-size: 17px; margin: 0; }

/* Bullet lists */

.ticks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--orange);
  transform: rotate(45deg);
}
.ticks strong { color: var(--blue); }

.slot {
  border: 1px dashed var(--process-blue);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--ink-soft);
  background: var(--white);
}

/* Person block on the About page */

.person {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: center;
}

/* Recommendations */

.quotes {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.quotes li {
  background: var(--white);
  border-left: 4px solid var(--blue);
  padding: 24px 26px;
}
.quotes blockquote { margin: 0 0 16px; }
.quotes blockquote p { font-size: 17px; margin: 0; }
.quotes blockquote p::before { content: "\201C"; }
.quotes blockquote p::after { content: "\201D"; }
.quotes .who { font-size: 15px; color: var(--ink-soft); margin: 0; }
.quotes .who strong { color: var(--blue); font-size: 16px; }

/* Article cards */

.article .meta {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.article h3 a { text-decoration: none; }
.article h3 a:hover { text-decoration: underline; }

/* Contact form */

.form { display: grid; gap: 18px; max-width: 560px; }
.form label {
  display: grid;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}
.form input,
.form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid #b9c6d8;
  border-radius: 4px;
  background: var(--white);
  width: 100%;
}
.form button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.form-note { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* Legal pages */

.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin-top: 36px; }

@media (max-width: 900px) {
  .page-hero { padding: 44px 0 44px; }
  .cards.cols-2,
  .cards.cols-3,
  .steps.cols-4,
  .steps.cols-3,
  .quotes,
  .person { grid-template-columns: 1fr; }
  .person { gap: 32px; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .cards.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Working parts: forms and the maturity assessment ---------- */

.form .field { display: grid; gap: 6px; }
.form .field > label {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}
.form .req { color: var(--orange-text); }
.form .field.check label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-weight: 400;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.form .field.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
}
.form [aria-invalid="true"] { border-color: #b42318; }
.field-error,
.form-error { color: #b42318; font-size: 15px; margin: 0; }
.form button[disabled] { opacity: 0.6; cursor: default; }
.form-done {
  border-left: 4px solid var(--orange);
  padding: 14px 18px;
  background: var(--grey);
  font-weight: 600;
  color: var(--blue);
}

.assess { max-width: 820px; margin: 0 auto; }
.assess h2 { margin-top: 48px; }

.assess-progress {
  position: sticky;
  top: 96px;
  z-index: 5;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 28px;
}
.assess-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}
.assess-track { height: 8px; background: var(--grid-blue); border-radius: 4px; overflow: hidden; }
.assess-fill { height: 100%; width: 0; background: var(--orange); transition: width 0.2s ease; }

.assess-q {
  border: 1px solid var(--line);
  border-left: 4px solid var(--process-blue);
  border-radius: 4px;
  padding: 22px 24px 18px;
  margin: 0 0 22px;
  min-width: 0;
}
.assess-q.is-answered { border-left-color: var(--orange); }
.assess-q legend { padding: 0; width: 100%; float: left; margin-bottom: 8px; }
.assess-badge {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 4px;
}
.assess-title { display: block; font-size: 20px; font-weight: 600; color: var(--blue); line-height: 1.3; }
.assess-text { clear: both; font-size: 17px; margin-bottom: 14px; }
.assess-opt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.45;
  cursor: pointer;
}
.assess-opt:hover { background: var(--grey); }
.assess-opt:has(input:checked) { border-color: var(--blue); background: #eef4fb; }
.assess-opt input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.assess-opt strong { color: var(--blue); margin-right: 4px; }

.assess-next { margin-top: 28px; }
.assess-next .btn { border: 0; cursor: pointer; font-family: inherit; }
.assess-next .btn[disabled] { opacity: 0.5; cursor: default; }
.assess-next .form-note { margin-top: 12px; }

.assess-gate h2 { margin-top: 0; }
.assess-gate .form { margin: 24px 0 18px; }

.assess-result {
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  padding: 40px 32px;
  text-align: center;
}
.assess-overall { font-size: 14px; letter-spacing: 0.1em; margin: 0 0 6px; color: var(--grid-blue); }
.assess-score { font-size: 72px; font-weight: 300; line-height: 1; margin: 0 0 14px; }
.assess-score span { font-size: 28px; opacity: 0.8; }
.assess-level {
  display: inline-block;
  background: var(--orange);
  color: var(--blue-deep);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.assess-leveltext { max-width: 620px; margin: 0 auto; color: var(--white); }

.assess-bars { list-style: none; margin: 0; padding: 0; }
.assess-bars li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  font-size: 16px;
}
.bar-track { display: block; height: 10px; background: var(--grid-blue); border-radius: 5px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--blue); }
.bar-fill.low { background: var(--orange-action); }
.bar-fill.high { background: #2e7d5b; }
.bar-score { font-weight: 600; color: var(--blue); }

.assess-focus {
  margin-top: 40px;
  background: var(--grey);
  border-top: 4px solid var(--orange);
  border-radius: 4px;
  padding: 26px 28px;
}
.assess-focus h2 { margin-top: 0; font-size: 24px; }
.assess-focus ol { margin: 0; padding-left: 22px; }
.assess-focus li { margin-bottom: 8px; }

.assess-cta { margin-top: 40px; }
.assess-cta h2 { margin-top: 0; }
.text-link.plain {
  background: none;
  border: 0;
  border-bottom: 2px solid var(--orange);
  padding: 0 0 2px;
  font: inherit;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

@media (max-width: 900px) {
  .assess-progress { top: 118px; }
  .assess-bars li { grid-template-columns: 1fr auto; }
  .assess-bars .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .assess-score { font-size: 56px; }
}

@media print {
  .site-header, .site-footer, .page-hero, .assess-cta .actions, main > section:not(:has(.assess)) { display: none; }
  section { padding: 0; }
  .assess-result { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Jump targets clear the fixed header. */
#form { scroll-margin-top: 130px; }
