/* ==========================================================================
   Cleanworld theme, components
   Ported from design/final/styles.css (sections 4 to 15). Every class name
   of the prototype is kept. The blocks of the plugin cleanworld-core render
   this markup directly. The rules that core blocks need on top of it are in
   blocks.css.

   Laptop scale: sizes, distances and heights are about 11 percent below the
   prototype. The values that set the scale are tokens in base.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   4. Layout primitives (core/group, core/columns)
   One grid for every two column section: 5 to 7, same gap, same left edges.
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--w-wide) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-section); }
.section--white { background: var(--c-white); }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: clamp(2.25rem, 1.8rem + 2.1vw, 3.5rem) var(--sp-section); }

.split,
.media-text,
.profile {
  display: grid;
  gap: var(--sp-6) var(--col-gap);
  align-items: start;
}
@media (min-width: 56rem) {
  .split,
  .media-text,
  .profile { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.split__head > * + *,
.split__body > * + *,
.media-text__body > * + * { margin-top: var(--sp-5); }
.split__head > .eyebrow + * { margin-top: 0; }

/* core/media-text and core/image */
.media-text { align-items: center; }
.media-text--top { align-items: start; }
.media img,
.media-text__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--c-navy);
}
.media--square img { aspect-ratio: 1 / 1; }
.media--landscape img { aspect-ratio: 4 / 3; }
@media (max-width: 55.99rem) {
  .media img,
  .media-text__media img { aspect-ratio: 3 / 2; }
  .media--square img { aspect-ratio: 1 / 1; max-width: var(--portrait-max); }
}
.split__head .media { margin-top: var(--sp-6); }
@media (max-width: 55.99rem) { .split__head .media { display: none; } }

/* Diagram or chart supplied as an image: shown whole, on white */
.figure {
  max-width: 30rem;
  padding: var(--sp-5);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius);
  background: var(--c-white);
}
.figure img { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   5. Typography components
   -------------------------------------------------------------------------- */
/* The two line title. Editors type the title, a line break, then set the
   second line in italic: <h2>Markets<br><em>we cover</em></h2> */
.title {
  color: var(--c-blue);
  font-family: var(--ff-title);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.title em {
  display: block;
  margin-top: 0.06em;
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.title br { display: none; }   /* the serif line is a block of its own */
.title--display { font-size: var(--fs-display); line-height: 1.02; }
.title--h1 { font-size: var(--fs-h1); line-height: 1.04; }
.title--on-dark { color: var(--c-on-dark); }
/* German, Spanish and Norwegian: hyphenation is the last resort. A display
   title only splits words of 17 letters or more, the length from which a
   word no longer fits a line on a phone, and keeps six letters on both
   sides. "Kompetenzbereich" moves to the next line as a whole. */
:is(:lang(de), :lang(es), :lang(nb), :lang(nn), :lang(no)) .title {
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 17 6 6;
  -webkit-hyphenate-limit-before: 6;
  -webkit-hyphenate-limit-after: 6;
}
/* Small titles in narrow columns (cards, rows, index, labels, job titles):
   the same rule with five letters on both sides. Names of people and
   places are never hyphenated. */
:is(:lang(de), :lang(es), :lang(nb), :lang(nn), :lang(no)) :is(.card__title, .rows__title, .index__title, .stat__label, .person__role, .person__areas, .profile__role) {
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 14 5 5;
  -webkit-hyphenate-limit-before: 5;
  -webkit-hyphenate-limit-after: 5;
}

.eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
  color: var(--c-text-muted);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow--on-dark { color: var(--c-ice); }

.lead {
  max-width: var(--w-lead);
  color: var(--c-text);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
/* A lead that stands alone in its section uses the reading column */
.section > .container > .lead:only-child { max-width: var(--w-content); }
.lead em, .prose em { font-style: italic; }   /* Be Vietnam italic, as the guide sets quotes */

.prose { max-width: var(--w-content); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2:not(.title),
.prose h3,
.prose h4 {
  color: var(--c-blue);
  font-family: var(--ff-body);
  font-weight: 600;
  line-height: 1.3;
}
.prose h2:not(.title) { font-size: 1.25rem; margin-top: var(--sp-7); }
.prose h3 { font-size: 1.0625rem; margin-top: var(--sp-7); }
.prose h4 { font-size: 1rem; margin-top: var(--sp-6); }
.prose > :first-child { margin-top: 0; }
.prose strong { font-weight: 600; }
.prose ul { border-top: 1px solid var(--c-rule); }
.prose ul li { padding-block: var(--sp-3); border-bottom: 1px solid var(--c-rule); }
.prose ul strong { overflow-wrap: anywhere; }
.text-muted { color: var(--c-text-muted); }
p, dd, li { text-wrap: pretty; }

/* --------------------------------------------------------------------------
   6. Call to action: the only action style (core/button, block style "arrow")
   A small round arrow marker next to a plain sentence.
   -------------------------------------------------------------------------- */
.cta {
  --cta-fill: var(--c-blue);
  --cta-line: var(--c-blue);
  --cta-arrow: var(--c-white);
  --cta-fill-hover: transparent;
  --cta-arrow-hover: var(--c-blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: var(--touch);
  padding-left: var(--cta-indent);
  color: var(--c-blue);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--cta-mark);
  height: var(--cta-mark);
  margin-top: calc(var(--cta-mark) / -2);
}
.cta::before {
  border: 1px solid var(--cta-line);
  border-radius: 50%;
  background-color: var(--cta-fill);
  transition: background-color var(--t-fast);
}
.cta::after {
  background-color: var(--cta-arrow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M4 12h15.5M13.5 6l6 6-6 6'/%3E%3C/svg%3E") center / 1rem 1rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M4 12h15.5M13.5 6l6 6-6 6'/%3E%3C/svg%3E") center / 1rem 1rem no-repeat;
  transition: background-color var(--t-fast);
}
.cta:hover { text-decoration-color: currentColor; }
.cta:hover::before { background-color: var(--cta-fill-hover); }
.cta:hover::after { background-color: var(--cta-arrow-hover); }

/* On blue: a cyan ring that fills on hover. Cyan stays a small mark. */
.cta--on-dark {
  --cta-fill: transparent;
  --cta-line: var(--c-cyan);
  --cta-arrow: var(--c-white);
  --cta-fill-hover: var(--c-cyan);
  --cta-arrow-hover: var(--c-blue);
  color: var(--c-on-dark);
}
.cta--down::after { transform: rotate(90deg); }

button.cta {
  padding-block: 0;
  padding-right: 0;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-7);
}

/* --------------------------------------------------------------------------
   7. Header and navigation (template part: core/site-logo, core/navigation)
   A solid blue bar in the page flow. It never sits on a photograph, so the
   warm grey logo always stands on brand blue and every template starts the
   same way, with or without a hero image.
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--c-blue);
  color: var(--c-on-dark);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--sp-6);
  padding-block: var(--header-pad);
}
.site-logo {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex: none;
  min-height: var(--touch);
  color: var(--c-grey);
}
.site-logo svg {
  width: auto;
  height: var(--logo-h);
}

.site-nav { display: flex; align-items: center; gap: var(--sp-5); }
/* The gap between the entries follows the container, not the window: the
   container stops growing at 72rem, so the gap stops growing as well (18px
   at 1200px, 23px from 1360px). A gap that grows with the window up to
   1920px pushed the Spanish menu to a second row from 1680px. The values
   leave the longest menu (Spanish) 30px and more of spare room at every
   width, which covers a scroll bar of 17px and small differences between
   text renderers. */
.site-nav__list { display: flex; align-items: center; gap: clamp(1.125rem, calc(1.125rem + (100vw - 75rem) * 0.03125), 1.4375rem); }
.site-nav__item { position: relative; }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: var(--touch);
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-on-dark);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45em;
  text-decoration-color: transparent;
  cursor: pointer;
  transition: text-decoration-color var(--t-fast);
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"],
.site-nav__link[aria-expanded="true"] { text-decoration-color: var(--c-cyan); }

.site-nav__chevron,
.site-nav__external {
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  background-color: currentColor;
}
.site-nav__chevron {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M2 4.25 6 8.25l4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M2 4.25 6 8.25l4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.site-nav__external {
  width: 0.625rem;
  height: 0.625rem;
  opacity: 0.8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M3 9l6-6M4 3h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M3 9l6-6M4 3h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Markets submenu */
.site-nav__sublink {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--c-rule-on-dark);
  color: var(--c-on-dark);
  font-size: var(--fs-nav);
  line-height: 1.35;
  text-decoration: none;
  transition: color var(--t-fast);
}
.site-nav__sub li:last-child .site-nav__sublink { border-bottom: 0; }
.site-nav__sublink:hover,
.site-nav__sublink[aria-current="page"] { color: var(--c-cyan); }

/* Language switch: flag plus code (EN, ES, DE, NO) */
.lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding-left: var(--sp-4);
  border-left: 1px solid var(--c-rule-on-dark);
}
.lang li + li::before {
  content: "/";
  color: var(--c-on-dark-muted);
  font-size: 0.8125rem;
}
.lang li { display: inline-flex; align-items: center; }
.lang__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: var(--touch);
  padding-inline: 0.375rem;
  color: var(--c-on-dark-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45em;
  text-decoration-color: transparent;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.lang__link:hover { color: var(--c-on-dark); }
.lang__link[aria-current="true"] { color: var(--c-on-dark); font-weight: 600; text-decoration-color: var(--c-cyan); }

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex: none;
  min-height: var(--touch);
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-on-dark);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
}
.menu-toggle__bars {
  position: relative;
  width: 1.5rem;
  height: 0.625rem;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  height: 0;
  border-bottom: 0;
}

/* Small desktop and landscape tablet: the same menu, set tighter, so the
   longer German and Spanish labels stay on one line */
@media (min-width: 62rem) and (max-width: 74.99rem) {
  .site-header__inner { gap: 0 var(--sp-4); }
  .site-logo svg { height: 1.375rem; }
  .site-nav { gap: var(--sp-3); }
  /* 10px at 992px, 14px from 1056px */
  .site-nav__list { gap: clamp(0.625rem, calc(0.625rem + (100vw - 62rem) * 0.0625), 0.875rem); }
  .site-nav__link { font-size: 0.8125rem; letter-spacing: 0; }
  .lang { flex-wrap: nowrap; padding-left: var(--sp-2); }
  .lang li + li::before { content: none; }
  .lang__link { min-width: 0; padding-inline: 0.25rem; letter-spacing: 0.04em; }
  /* Three classes: the rule has to win over the flag rule of section 16 */
  .lang .lang__link .flag { margin-right: 0.3em; }
}

/* Desktop: dropdown, flat, with hairlines only */
@media (min-width: 62rem) {
  .site-nav__sub {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: -1.375rem;
    z-index: 5;
    display: none;
    width: 22.5rem;
    padding: 0.375rem 1.375rem;
    background: var(--c-blue);
    border: 1px solid var(--c-rule-on-dark);
    border-top: 2px solid var(--c-cyan);
  }
  .site-nav__sub.is-open { display: block; }
  /* Without JavaScript the submenu opens on hover and on keyboard focus */
  html:not(.js) .site-nav__item:hover > .site-nav__sub,
  html:not(.js) .site-nav__item:focus-within > .site-nav__sub { display: block; }
}

/* Phones and tablets. Without JavaScript the navigation stays visible
   below the logo. With JavaScript it becomes an overlay menu. */
@media (max-width: 61.99rem) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-5);
    width: 100%;
    padding-block: var(--sp-4) var(--sp-5);
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { border-bottom: 1px solid var(--c-rule-on-dark); }
  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    min-height: 3.25rem;
    font-family: var(--ff-title);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: left;
    white-space: normal;
  }
  .site-nav__link .site-nav__chevron { width: 1rem; height: 1rem; }
  .site-nav__sub { padding: 0 0 var(--sp-4) 0; }
  .site-nav__sublink { min-height: var(--touch); padding: 0.6rem 0; border-bottom: 0; color: var(--c-on-dark-muted); font-size: 1rem; }
  .lang { padding-left: 0; border-left: 0; margin-left: -0.375rem; }
  .lang__link { min-width: var(--touch); font-size: 0.875rem; }

  /* With JavaScript the navigation leaves the flow, so logo and menu button
     always share one row, also at 320px and at 400 percent zoom */
  .js .site-header__inner { flex-wrap: nowrap; gap: 0 var(--sp-4); }
  .js .site-logo { flex: 0 1 auto; min-width: 0; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: none;
    width: auto;
    padding: calc(var(--header-h) + var(--sp-5)) var(--gutter) var(--sp-7);
    background: var(--c-blue);
    overflow-y: auto;
  }
  /* Logged in: the overlay starts below the toolbar of WordPress, so the
     first entry keeps its distance to the row of logo and close button */
  .js .admin-bar .site-nav { top: var(--wp-admin--admin-bar--height, 0px); }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__sub { display: none; }
  .js .site-nav__sub.is-open { display: block; }
}
@media (max-width: 22.49rem) {
  .site-logo svg { height: 1.25rem; }
  .menu-toggle { gap: 0.5rem; }
}

/* --------------------------------------------------------------------------
   8. Hero (core/cover, block style "frame") and page band (core/group)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--hero-min);
  background: var(--c-blue);
  color: var(--c-on-dark);
  isolation: isolate;
  overflow: hidden;
}
.hero--home { min-height: var(--hero-home-min); }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Scrim built from the primary blue only: strong on the left and at the
   foot, where the text sits, open on the right so the photograph keeps its
   colour. The header is a bar of its own, so the image starts crisp. */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(2 19 91 / 0.10) 0%, rgb(2 19 91 / 0.12) 30%, rgb(2 19 91 / 0.88) 100%),
    linear-gradient(90deg, rgb(2 19 91 / 0.90) 0%, rgb(2 19 91 / 0.86) 22%, rgb(2 19 91 / 0.74) 42%, rgb(2 19 91 / 0.50) 60%, rgb(2 19 91 / 0.24) 78%, rgb(2 19 91 / 0.06) 100%);
}
@media (max-width: 47.99rem) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgb(2 19 91 / 0.16) 0%, rgb(2 19 91 / 0.30) 34%, rgb(2 19 91 / 0.90) 78%, rgb(2 19 91 / 0.94) 100%),
      linear-gradient(90deg, rgb(2 19 91 / 0.50) 0%, rgb(2 19 91 / 0.16) 100%);
  }
}

.hero__content {
  padding-top: var(--hero-pad-top);
  padding-bottom: var(--hero-pad-bottom);
}
/* The home hero follows the height of the window. The title keeps its
   distance to the header without pushing the hero beyond that height. */
.hero--home .hero__content { padding-top: var(--sp-7); }
.hero__content > * + * { margin-top: var(--sp-6); }

/* Page band for pages without a hero image. The ground quotes the cover of
   the brand guide: primary blue, a breath of ice blue, one soft arch. */
.band {
  position: relative;
  background:
    radial-gradient(120% 150% at 100% 100%, rgb(130 211 255 / 0.20) 0%, rgb(130 211 255 / 0) 62%),
    var(--c-blue);
  color: var(--c-on-dark);
  isolation: isolate;
  overflow: hidden;
}
.band__arch {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--w-wide)) / 2));
  bottom: 0;
  z-index: -1;
  width: clamp(12.5rem, 21vw, 19.5rem);
  height: 82%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgb(130 211 255 / 0.12), rgb(130 211 255 / 0.03));
  pointer-events: none;
}
@media (max-width: 55.99rem) { .band__arch { display: none; } }
.band__content {
  padding-top: var(--band-pad-top);
  padding-bottom: var(--band-pad-bottom);
}
.band--slim { background: var(--c-blue); border-top: 1px solid var(--c-rule-on-dark); }
.band--slim .band__content { padding-block: var(--sp-4); }
.band__content > * + * { margin-top: var(--sp-5); }
.band__lead { max-width: 32rem; color: var(--c-on-dark); font-size: var(--fs-lead); line-height: 1.55; }

.breadcrumb ol { display: flex; flex-wrap: wrap; }
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: var(--c-on-dark);
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.breadcrumb li + li::before {
  content: "/";
  margin-inline: 0.6rem;
  color: var(--c-on-dark-muted);
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}
.breadcrumb a:hover { text-decoration-color: var(--c-cyan); }
.breadcrumb [aria-current="page"] { font-weight: 600; }
.hero .breadcrumb + *,
.band .breadcrumb + * { margin-top: var(--sp-3); }
@media (max-width: 47.99rem) {
  .breadcrumb li, .breadcrumb a { min-height: var(--touch); }
  .band--slim .band__content { padding-block: var(--sp-2); }
  /* Phones: the trail ends at the parent level and stays on one line, the
     page itself is named by the title that follows. Screen readers still
     read the whole trail. A profile shows the trail only, so it keeps it. */
  :is(.hero, .band:not(.band--slim)) .breadcrumb li:last-child:not(:first-child) {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  :is(.hero, .band:not(.band--slim)) .breadcrumb li:last-child:not(:first-child) > * {
    display: block;
    max-width: 100%;
    overflow: hidden;
  }
  /* A trail that still needs two lines keeps them together */
  .breadcrumb ol { row-gap: 0; }
  .band--slim .breadcrumb li:not(:has(a)) { min-height: 1.75rem; }
}

/* "On this page": a quiet row of anchors under the hero of long pages */
.pagenav {
  border-bottom: 1px solid var(--c-rule);
  background: var(--c-grey);
}
.pagenav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--sp-6);
  padding-block: var(--sp-3);
}
.pagenav__label { color: var(--c-text-muted); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.pagenav__list { display: flex; flex-wrap: wrap; gap: 0 var(--sp-6); }
.pagenav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  color: var(--c-blue);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}
.pagenav__link:hover { text-decoration-color: currentColor; }
@media (max-width: 47.99rem) { .pagenav { display: none; } }

/* --------------------------------------------------------------------------
   9. Statistics (core/columns with paragraphs): a ruled band
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* The figures take their size from the width of the band, see below */
  container-type: inline-size;
  margin-top: var(--sp-section);
  border-top: 1px solid var(--c-rule-strong);
  border-bottom: 1px solid var(--c-rule-strong);
}
.stat { padding: var(--sp-5) var(--sp-4) var(--sp-5) 0; }
.stat:nth-child(even) { padding-left: var(--sp-5); border-left: 1px solid var(--c-rule); }
.stat:nth-child(n + 3) { border-top: 1px solid var(--c-rule); }
@media (min-width: 56rem) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: var(--sp-6) var(--sp-5) var(--sp-6) 0; }
  .stat:nth-child(n + 3) { border-top: 0; }
  .stat + .stat { padding-left: var(--sp-6); border-left: 1px solid var(--c-rule); }
}
/* Front-page statistics: retain spacing without dividing rules. */
.home .stats,
.home .stats > .stat { border: 0; }

/* A figure of six characters ("1,000+") fits every column: the size follows
   the width of the band (cqi), not the width of the window. The first
   declaration serves browsers without container units. */
.stat__value {
  color: var(--c-blue);
  font-family: var(--ff-title);
  font-size: clamp(1.625rem, 0.4rem + 6.4vw, 2.75rem);
  font-size: clamp(1.625rem, 13.5cqi - 0.65rem, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}
@media (min-width: 56rem) {
  .stat__value {
    font-size: clamp(2rem, 4.6vw - 0.4rem, 3.5rem);
    font-size: clamp(2rem, 6.9cqi - 0.85rem, 3.5rem);
  }
}
.stat__label {
  margin-top: var(--sp-3);
  color: var(--c-text-muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   10. Index list: ruled rows that link onward (core/list or core/query)
   Numbered 01, 02, 03 by a CSS counter, so editors never type the numbers.
   -------------------------------------------------------------------------- */
.index { border-top: 1px solid var(--c-rule-strong); counter-reset: index; }
.index__item { border-bottom: 1px solid var(--c-rule-strong); counter-increment: index; }
.index__link,
.index__row {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.25rem var(--sp-4);
  align-items: baseline;
  padding: 1.125rem 3.25rem 1.125rem 0;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 40rem) {
  .index__link,
  .index__row { grid-template-columns: 2rem minmax(0, 5fr) minmax(0, 6fr); }
}
.index__link::before,
.index__row::before {
  content: counter(index, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--c-text-muted);
  font-family: var(--ff-title);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums lining-nums;
}
@media (min-width: 40rem) {
  .index__link::before,
  .index__row::before { grid-row: auto; }
}
.index--plain .index__link,
.index--plain .index__row { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) {
  .index--plain .index__link,
  .index--plain .index__row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.index--plain .index__link::before,
.index--plain .index__row::before { content: none; }
.index__title {
  color: var(--c-blue);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}
.index__text { color: var(--c-text-muted); font-size: 1rem; line-height: 1.55; }
@media (max-width: 39.99rem) { .index__text { grid-column: 2; } .index--plain .index__text { grid-column: 1; } }
.index__link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border: 1px solid var(--c-blue);
  border-radius: 50%;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302135B' stroke-width='1.5'%3E%3Cpath d='M4 12h15.5M13.5 6l6 6-6 6'/%3E%3C/svg%3E") center / 0.875rem 0.875rem no-repeat;
  transition: background-color var(--t-fast);
}
.index__link:hover .index__title { text-decoration-color: currentColor; }
.index__link:hover::after {
  background-color: var(--c-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.5'%3E%3Cpath d='M4 12h15.5M13.5 6l6 6-6 6'/%3E%3C/svg%3E");
}
.index__row { padding-right: 0; }

/* --------------------------------------------------------------------------
   11. Ruled cards and definition rows (core/columns, core/group)
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: var(--sp-6) var(--card-gap);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 36rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Four cards stand two by two until a column is wide enough for a German
   or Spanish card title */
@media (min-width: 75rem) {
  .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split + .cards,
.section-head + .cards { margin-top: var(--sp-block-wide); }

.card {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-rule-strong);
}
/* The family is set here, so a card title of level 2 (office names) does
   not take the title face of the headings */
.card__title,
.rows__title {
  color: var(--c-blue);
  font-family: var(--ff-body);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}
.card__text {
  margin-top: var(--sp-3);
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.card__text + .card__link { margin-top: var(--sp-4); }
.card address { font-style: normal; }
.card address span { display: block; }

.rows { border-top: 1px solid var(--c-rule-strong); }
.rows__item {
  display: grid;
  gap: 0.25rem var(--sp-6);
  padding-block: 1rem;
  border-bottom: 1px solid var(--c-rule-strong);
}
@media (min-width: 40rem) {
  .rows__item { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; }
}
.rows__text { color: var(--c-text-muted); font-size: 1rem; line-height: 1.55; }

.section-head { display: grid; gap: var(--sp-4); }
/* Title on the left, action on the right. The action moves below the title
   as soon as the two do not fit next to each other, whatever the language,
   so the title never gives up its width. On phones the action wraps. */
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5) var(--sp-6);
}
.section-head--row > * { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.section-head--row > :first-child { flex-grow: 1; min-width: min(100%, 12rem); }
.section-head + .people,
.section-head + .index,
.split + .people { margin-top: var(--sp-block); }

/* --------------------------------------------------------------------------
   12. People: directory card, contact card, grids
   (cleanworld/team-directory and cleanworld/contact-people)
   -------------------------------------------------------------------------- */
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-7) clamp(0.875rem, 2.2vw, 1.75rem);
}
@media (min-width: 48rem) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.person {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.person__photo,
.contact__photo,
.profile__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: var(--radius);
  background: var(--c-navy);
}
.person__name {
  margin-top: var(--sp-4);
  color: var(--c-blue);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}
.person__name a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}
.person__name a:hover { text-decoration-color: currentColor; }
/* The portrait is part of the name link without a second tab stop */
.person__name a::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  aspect-ratio: 4 / 5;
}
.person__role {
  margin-top: 0.25rem;
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.4;
}
.person__areas {
  display: grid;
  gap: 0.125rem;
  margin-block: var(--sp-3);
  color: var(--c-text-muted);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}
.person__contact {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-rule);
  font-size: 1rem;
  line-height: 1.5;
}
/* Three lines are always reserved, so hairlines align across a row */
.people:not(.people--compact) .person__contact { min-height: calc(5.25rem + var(--sp-3) + 1px); }
.person__contact li { overflow-wrap: anywhere; }
.person__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}
.person__contact a:hover { text-decoration-color: currentColor; }
.person__meta { min-height: 1.75rem; padding-top: 0.2rem; color: var(--c-text-muted); font-size: var(--fs-small); }

/* Compact: portrait, name and title only (home page, six people) */
.people--compact { gap: var(--sp-6) clamp(0.875rem, 1.8vw, 1.375rem); }
@media (min-width: 48rem) { .people--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .people--compact { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.people--compact .person__name { margin-top: var(--sp-3); font-size: 1rem; }
.people--compact .person__role { color: var(--c-text-muted); font-size: var(--fs-small); }

/* Contact people: horizontal card */
.contacts {
  display: grid;
  gap: var(--sp-6) var(--card-gap);
  grid-template-columns: minmax(0, 1fr);
  margin-top: var(--sp-block);
}
@media (min-width: 44rem) { .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.contact {
  position: relative;
  display: grid;
  grid-template-columns: var(--portrait-thumb) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-rule-strong);
}
.contact .person__name { margin-top: 0; }
.contact .person__name a::after { inset: var(--sp-5) auto auto 0; width: var(--portrait-thumb); }
.contact .person__contact { margin-top: var(--sp-3); border-top: 0; padding-top: 0; }

/* Phones: the directory card turns into a compact row, links become
   full touch targets */
@media (max-width: 35.99rem) {
  .people:not(.people--compact) { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--c-rule-strong); }
  .people:not(.people--compact) .person {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    column-gap: var(--sp-4);
    align-content: start;
    padding-block: var(--sp-5);
    border-bottom: 1px solid var(--c-rule-strong);
  }
  .people:not(.people--compact) .person__photo { grid-column: 1; grid-row: 1 / span 5; align-self: start; }
  .people:not(.people--compact) .person > :not(.person__photo) { grid-column: 2; }
  .people:not(.people--compact) .person__name { margin-top: 0; }
  .people:not(.people--compact) .person__name a::after { inset: var(--sp-5) auto auto 0; width: 5rem; }
  .people:not(.people--compact) .person__areas { margin-bottom: 0; }
  .people:not(.people--compact) .person__contact { min-height: 0; margin-top: var(--sp-2); padding-top: 0; border-top: 0; }
  .person__contact a { display: flex; min-height: var(--touch); }
  .person__meta { min-height: 0; padding-top: var(--sp-2); }
}

/* --------------------------------------------------------------------------
   13. Directory filter: controls set as typography (underline only)
   -------------------------------------------------------------------------- */
.filter { display: grid; gap: var(--sp-6); }
.filter__row {
  display: grid;
  gap: var(--sp-5) var(--col-gap);
}
@media (min-width: 48rem) {
  .filter__row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.field { display: block; min-width: 0; }
/* The label keeps its distance to the control, so the focus ring of the
   control never runs through it */
.field__label { margin-bottom: var(--sp-2); }
.field__label,
.filter__legend {
  display: block;
  padding: 0;
  color: var(--c-text-muted);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.field__control {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 2rem 0.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--c-rule-control);
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: right 0.125rem center;
  background-size: 1rem 1rem;
  color: var(--c-blue);
  font-family: var(--ff-body);
  font-size: var(--fs-lead);
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t-fast);
}
.field__control::placeholder { color: var(--c-text-muted); opacity: 1; }
.field__control:hover { border-bottom-color: var(--c-blue); }
.field__control:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
  border-bottom-color: var(--c-blue);
}
input.field__control::-webkit-search-cancel-button,
input.field__control::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
input.field__control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302135B' stroke-width='1.5'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
}
select.field__control {
  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='%2302135B' stroke-width='1.5'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
}

.filter__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 0.5rem;
  margin-top: var(--sp-4);
}
.chip { position: relative; display: inline-flex; }
.chip__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--touch);
  padding: 0.375rem 1rem;
  border: 1px solid var(--c-rule-control);
  border-radius: 999px;
  background: transparent;
  color: var(--c-blue);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.2;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip__count { color: var(--c-text-muted); font-weight: 400; transition: color var(--t-fast); }
.chip__input:hover + .chip__label { border-color: var(--c-blue); }
.chip__input:checked + .chip__label {
  border-color: var(--c-blue);
  background: var(--c-blue);
  color: var(--c-white);
}
/* Second cue beside colour: a check mark */
.chip__input:checked + .chip__label::before {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  background-color: var(--c-cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='m2 7.5 3.2 3.2L12 3.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='m2 7.5 3.2 3.2L12 3.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chip__input:checked + .chip__label .chip__count { color: var(--c-on-dark-muted); }
.chip__input:focus-visible + .chip__label {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
}
.chips__divider {
  align-self: center;
  width: 1px;
  height: 1.5rem;
  margin-inline: 0.5rem;
  background: var(--c-rule-strong);
}

/* Phones: the chip group folds behind a text toggle with the selected count */
.filter__toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  min-height: 3rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--c-rule-control);
  background: none;
  color: var(--c-blue);
  font-size: var(--fs-lead);
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.filter__toggle-count { margin-left: auto; color: var(--c-text-muted); font-size: var(--fs-small); font-weight: 500; }
.filter__toggle-icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-right: 0.125rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302135B' stroke-width='1.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.filter__toggle[aria-expanded="true"] .filter__toggle-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302135B' stroke-width='1.5'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
@media (max-width: 47.99rem) {
  .filter { gap: var(--sp-5); }
  .js .filter__toggle { display: flex; }
  .js .filter__legend { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .js .filter__group:not(.is-open) { display: none; }
  .chips__divider { display: none; }
}

.filter__submit { justify-self: start; }
.js .filter__submit { display: none; }

.filter__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-6);
  min-height: var(--touch);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-rule);
}
.filter__count { color: var(--c-text); font-size: var(--fs-body); font-weight: 500; }
.filter__count strong { font-weight: 600; }
.text-button {
  min-height: var(--touch);
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-blue);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--c-rule-control);
  cursor: pointer;
  transition: text-decoration-color var(--t-fast);
}
.text-button:hover { text-decoration-color: currentColor; }

.directory { margin-top: var(--sp-7); }
@media (max-width: 47.99rem) { .directory { margin-top: var(--sp-5); } }
.empty {
  max-width: var(--w-content);
  padding: var(--sp-6) 0 var(--sp-7);
}
.empty > * + * { margin-top: var(--sp-5); }

/* --------------------------------------------------------------------------
   14. Person profile (single-cw_person)
   -------------------------------------------------------------------------- */
.profile__photo { max-width: var(--portrait-max); }
.profile__body > * + * { margin-top: var(--sp-6); }
.profile__role {
  margin-top: 0.35rem;
  color: var(--c-blue);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-h2);
  line-height: 1.15;
  text-wrap: balance;
}
.profile__bio { max-width: var(--w-content); }

/* The label column takes the width of its longest word. A quarter of the
   list is the usual width; a label with a longer word ("Kompetenzbereiche",
   "Kompetanseområder") widens the column for all rows, so a label only
   breaks between words and never inside one. The rows share the columns of
   the list (subgrid). */
.facts { border-top: 1px solid var(--c-rule-strong); }
.facts__row {
  display: grid;
  grid-template-columns: minmax(12.5rem, 3fr) minmax(0, 9fr);
  gap: var(--sp-4);
  align-items: baseline;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--c-rule);
}
@supports (grid-template-columns: subgrid) {
  .facts {
    display: grid;
    grid-template-columns: fit-content(max(8rem, 25%)) minmax(0, 1fr);
    column-gap: var(--sp-4);
  }
  .facts__row { grid-column: 1 / -1; grid-template-columns: subgrid; }
}
.facts__term {
  color: var(--c-text-muted);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  /* Never inside a word: the safety net of the body does not apply here */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.facts__value { font-size: var(--fs-body); line-height: 1.5; overflow-wrap: anywhere; }
.facts__value .link { display: inline-flex; align-items: center; min-height: 1.75rem; }
.facts__note { display: block; color: var(--c-text-muted); font-size: var(--fs-small); }
@media (max-width: 35.99rem) {
  .facts { display: block; }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .facts__value .link { min-height: var(--touch); }
  .profile__photo { max-width: 12.5rem; }
  /* Phones: every link next to an action is a full touch target */
  .cta-group .link { display: inline-flex; align-items: center; min-height: var(--touch); }
}

/* --------------------------------------------------------------------------
   15. Footer (template part): the blue frame closes the page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-blue);
  color: var(--c-on-dark);
}
.site-footer__top {
  display: grid;
  gap: var(--sp-6);
  padding-top: var(--sp-section);
  padding-bottom: clamp(2.25rem, 1.8rem + 1.8vw, 3.5rem);
}
.site-footer__logo { display: inline-flex; align-items: center; min-height: var(--touch); color: var(--c-grey); justify-self: start; }
.site-footer__logo svg { width: auto; height: 1.5rem; }
.site-footer__claim { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); }

.offices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6) var(--card-gap);
  padding-block: clamp(1.75rem, 1.4rem + 1.8vw, 2.625rem);
  border-top: 1px solid var(--c-rule-on-dark);
}
@media (min-width: 30rem) {
  .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office--wide { grid-column: 1 / -1; }
}
@media (min-width: 56rem) {
  .offices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 75rem) {
  .offices { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.15fr); }
  .office--wide { grid-column: auto; }
}
.office__address a { overflow-wrap: anywhere; }

.office__name {
  margin-bottom: var(--sp-3);
  color: var(--c-ice);
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.office__address {
  color: var(--c-on-dark);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.6;
}
.office__address span { display: block; }
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: var(--c-on-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: rgb(235 232 227 / 0.45);
  transition: text-decoration-color var(--t-fast);
}
.footer-link:hover { text-decoration-color: var(--c-cyan); }
.office__map { margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--c-on-dark-muted); }

.site-footer__meta {
  display: grid;
  gap: var(--sp-2) var(--sp-6);
  padding-block: var(--sp-5) var(--sp-7);
  border-top: 1px solid var(--c-rule-on-dark);
  color: var(--c-on-dark-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}
@media (min-width: 62rem) {
  .site-footer__meta { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .site-footer__top-link { grid-column: 2; grid-row: 1 / span 2; }
}
.meta-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; }
.meta-list li { display: inline-flex; align-items: center; min-height: 2rem; }
.meta-list .footer-link { color: var(--c-on-dark-muted); }
.meta-list .footer-link:hover,
.office__map:hover,
.site-footer__top-link:hover { color: var(--c-on-dark); }
.site-footer__top-link { color: var(--c-on-dark-muted); justify-self: start; }
@media (max-width: 47.99rem) {
  .footer-link { min-height: var(--touch); }
  .meta-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .meta-list li { min-height: var(--touch); }
  .meta-list + .meta-list { margin-top: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   16. Flags (markup of the plugin)
   <span class="flag flag--de" aria-hidden="true"><svg ...></svg></span>
   stands directly before the text: the code in the language switch, the
   name of a spoken language, the name or the country of an office. The flag
   is a small drawing in the ratio 4 to 3 that follows the size of the text.
   The hairline keeps white and light fields visible on every ground.
   -------------------------------------------------------------------------- */
.flag {
  display: inline-block;
  flex: none;
  box-sizing: content-box;
  width: 1.3em;
  height: 0.975em;
  margin-right: 0.4em;
  border: 1px solid var(--c-rule);
  border-radius: 1px;
  background: var(--c-white);
  line-height: 0;
  vertical-align: -0.12em;
  overflow: hidden;
}
.flag > svg {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
}
/* On blue: header, footer, hero and band */
:is(.site-header, .site-footer, .hero, .band) .flag { border-color: var(--c-rule-on-dark); }
/* In uppercase labels with letter spacing the flag keeps its distance */
:is(.eyebrow, .office__name, .person__areas, .lang__link) .flag { margin-right: 0.5em; }
/* The plugin wraps flag and text in a span "flagged": a language or an
   office never loses its flag at the end of a line */
.flagged { white-space: nowrap; }
@media (forced-colors: active) {
  .flag { border-color: CanvasText; forced-color-adjust: none; }
}
@media print {
  .flag { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Compact language dropdown: visual codes only, semantic language names for assistive tech. */
.lang { position: relative; display: block; flex-wrap: nowrap; margin-left: auto; padding-left: var(--sp-4); }
.lang__toggle { display: inline-flex; align-items: center; gap: 0.65rem; min-height: var(--touch); padding: 0.25rem 0.35rem; border: 0; background: transparent; color: var(--c-on-dark); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.lang__chevron { width: 0.45rem; height: 0.45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.125rem) rotate(45deg); }
.lang__toggle[aria-expanded="true"] .lang__chevron { transform: translateY(0.125rem) rotate(225deg); }
.lang__options { position: absolute; top: 100%; right: 0; z-index: 50; display: none; min-width: 5.5rem; padding: 0.3rem; margin: 0; list-style: none; background: var(--c-blue); border: 1px solid var(--c-rule-on-dark); box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.17); }
.lang__options.is-open { display: block; }
.lang__options li { display: block; }
.lang__options li + li::before { content: none; }
.lang__options .lang__link { display: flex; width: 100%; min-height: 2.75rem; justify-content: space-between; padding: 0.5rem 0.7rem; text-decoration: none; color: var(--c-on-dark); }
.lang__options .lang__link:hover, .lang__options .lang__link:focus-visible { background: rgba(255,255,255,0.12); }
.lang__check { padding-left: 0.6rem; }
.lang__toggle:focus-visible, .lang__link:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; }
@media (max-width: 61.99rem) {
  .lang { margin-left: 0; padding-left: 0; border: 0; }
  .lang__options { position: static; width: 100%; box-shadow: none; margin-top: 0.25rem; }
  .lang__toggle { min-height: 3rem; }
}
/* Without scripting the language choices remain available. */
html:not(.js) .lang__options { display: block; }

/* Give the desktop header its own wider frame; keep compact navigation below 1200px. */
@media (min-width: 62rem) {
  .site-header .site-header__inner { max-width: 112rem; }
}
@media (min-width: 75rem) {
  .site-nav__list { gap: clamp(1.5rem, 2.2vw, 2.75rem); }
}

/* Front-page market links: names and existing arrow controls only. */
.home .wp-block-cleanworld-market-list .index__text { display: none; }
.home .wp-block-cleanworld-market-list .index__link {
  grid-template-columns: minmax(0, 1fr);
  min-height: 5rem;
  padding-block: 1.5rem;
  align-items: center;
}
.home .wp-block-cleanworld-market-list .index__title { font-weight: 400; }

/* Desktop market photo follows list height, without changing other split sections. */
@media (min-width: 56rem) {
  .home #markets .split { align-items: stretch; }
  .home #markets .split__head { position: relative; min-height: 0; align-self: stretch; }
  .home #markets .split__head .media { position: absolute; inset: 0; margin: 0; height: 100%; }
  .home #markets .split__head .media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 50%; }
}

/* Inter/Arial trial: headings use Inter; navigation remains system Arial. */
.card__title,
.rows__title,
.person__name,
.office__name,
.prose h2:not(.title),
.prose h3,
.prose h4 { font-family: var(--ff-title); }
.site-nav__link { font-family: var(--ff-body); }

/* Front-page hero: regular Inter statement, with italic emphasis retained. */
.home .hero--home .title { font-weight: 400; }

/* Icon-only mobile menu: keep the updating Menu/Close label accessible. */
@media (max-width: 61.99rem) {
  .menu-toggle { position: relative; justify-content: center; gap: 0; min-width: var(--touch); }
  .menu-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* Floating back-to-top control: dark blue and Cleanworld warm beige. */
.cw-back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-grey);
  box-shadow: none;
  text-decoration: none;
}
.cw-back-to-top[hidden] { display: none; }
.cw-back-to-top:hover { background: var(--c-navy); }
.cw-back-to-top:focus-visible { outline: 3px solid var(--c-cyan); outline-offset: 3px; }
@media (min-width: 62rem) {
  .cw-back-to-top { right: 2rem; bottom: 2rem; }
}
