/* WS Website — component styles. Loaded after tokens.css. */

/* ---------- FeatureCard ---------- */
.ws-feature-card {
  --fc-tile: var(--primary-soft);
  --fc-icon: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-sizing: border-box;
  padding: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.ws-feature-card--sage, .ws-feature-card--green { --fc-tile: var(--surface-alt); --fc-icon: var(--green-strong); }
.ws-feature-card--orange { --fc-tile: var(--accent-soft); --fc-icon: var(--accent-strong); }

.ws-feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}
.ws-feature-card__tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--fc-tile);
  color: var(--fc-icon);
}
.ws-feature-card__tile svg { width: 24px; height: 24px; fill: currentColor; }
.ws-feature-card__arrow {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1.5px solid var(--border-sage);
  border-radius: 50%;
  fill: currentColor;
  color: var(--ink-muted);
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.ws-feature-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;      /* h3: 24/32 */
  line-height: 2rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s ease;
}
.ws-feature-card__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;   /* body: 17/28 */
  line-height: 1.75rem;
  color: var(--ink-muted);
}

/* Linked card: whole card is the link */
a.ws-feature-card:hover { border-color: transparent; box-shadow: var(--shadow-card); }
a.ws-feature-card:hover .ws-feature-card__title { color: var(--primary); }
a.ws-feature-card:hover .ws-feature-card__arrow { color: var(--primary); border-color: var(--primary); transform: translateX(4px); }
a.ws-feature-card:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Compact: 4-up grids with 8 features */
.ws-feature-card--compact { padding: var(--space-6); gap: var(--space-2); }
.ws-feature-card--compact .ws-feature-card__top { margin-bottom: var(--space-2); }
.ws-feature-card--compact .ws-feature-card__tile { width: 40px; height: 40px; }
.ws-feature-card--compact .ws-feature-card__tile svg { width: 22px; height: 22px; }
.ws-feature-card--compact .ws-feature-card__title { font-size: 1.25rem; line-height: 1.75rem; } /* h4: 20/28 */
.ws-feature-card--compact .ws-feature-card__text { font-size: 0.9375rem; line-height: 1.5rem; }

/* Elevated: 3-up cards with no border, soft shadow, large tile with an offset outline and a «Les mer» link */
.ws-feature-card--elevated {
  padding: var(--space-8) var(--space-8) var(--space-6);
  border-color: transparent;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.ws-feature-card--elevated .ws-feature-card__top { margin-bottom: var(--space-4); }
.ws-feature-card--elevated .ws-feature-card__tile {
  position: relative; isolation: isolate;
  width: 64px; height: 64px; margin: 10px 10px 0 0;
  border-radius: 50%;
  background: none;
}
/* filled circle */
.ws-feature-card--elevated .ws-feature-card__tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 50%; background: var(--fc-tile);
}
/* outline ring behind the circle, offset up-right */
.ws-feature-card--elevated .ws-feature-card__tile::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  border: 1.5px solid currentColor; border-radius: 50%; opacity: .4;
  transform: translate(10px, -10px);
  transition: transform .25s ease;
}
.ws-feature-card--elevated .ws-feature-card__tile svg { width: 28px; height: 28px; }
.ws-feature-card--elevated .ws-feature-card__text { flex: 1; }
a.ws-feature-card--elevated:hover { box-shadow: var(--shadow-card), var(--shadow-soft); }
a.ws-feature-card--elevated:hover .ws-feature-card__tile::after { transform: translate(6px, -6px); }
.ws-feature-card__link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: var(--space-2);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  color: var(--primary);
}
.ws-feature-card__link svg { width: 20px; height: 20px; fill: currentColor; transition: transform .2s ease; }
a.ws-feature-card:hover .ws-feature-card__link { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 4px; }
a.ws-feature-card:hover .ws-feature-card__link svg { transform: translateX(3px); }

/* Grids */
.ws-feature-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
@media (max-width: 1024px) { .ws-feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-feature-grid--3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (max-width: 640px)  { .ws-feature-grid, .ws-feature-grid--4, .ws-feature-grid--3 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .ws-feature-card, .ws-feature-card__arrow, .ws-feature-card__title, .ws-feature-card__tile::after, .ws-feature-card__link svg { transition: none; }
}

/* ---------- Button ---------- */
.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  box-sizing: border-box;
  height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1rem;          /* button: 16/24 600 */
  line-height: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
/* Icons: put the svg before or after the label; the outer side gets 4px less padding */
.ws-btn > svg { flex: none; width: 20px; height: 20px; fill: currentColor; transition: transform .2s ease; }
.ws-btn > svg:first-child:not(:last-child) { margin-left: -4px; }
.ws-btn > svg:last-child:not(:first-child) { margin-right: -4px; }
.ws-btn:hover > .ws-btn__arrow { transform: translateX(3px); }

/* Green (primary teal) */
.ws-btn--primary { background: var(--primary); color: var(--on-primary); }
.ws-btn--primary:hover { background: var(--primary-hover); }

/* Orange, black text */
/* White, for coloured panels */
.ws-btn--white { background: var(--surface); color: var(--primary-deep); }
.ws-btn--white:hover { background: var(--primary-soft); }

.ws-btn--accent, .ws-btn--demo { background: var(--accent); color: var(--ink); }
.ws-btn--accent:hover, .ws-btn--demo:hover { background: var(--accent-hover); }

/* Green outline */
.ws-btn--outline, .ws-btn--secondary { color: var(--primary); border-color: var(--primary); }
.ws-btn--outline:hover, .ws-btn--secondary:hover { background: var(--primary-soft); color: var(--primary-hover); border-color: var(--primary-hover); }

/* Text */
.ws-btn--text { color: var(--primary); padding: 0 var(--space-2); }
.ws-btn--text > svg:first-child:not(:last-child), .ws-btn--text > svg:last-child:not(:first-child) { margin: 0; }
.ws-btn--text:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 4px; }

/* Small */
.ws-btn--sm { height: 40px; padding: 0 var(--space-4); font-size: 0.9375rem; }
.ws-btn--sm > svg { width: 18px; height: 18px; }
.ws-btn--sm.ws-btn--text { padding: 0 var(--space-2); }

/* Icon only: needs aria-label */
.ws-btn--icon { width: 48px; padding: 0; }
.ws-btn--icon.ws-btn--sm { width: 40px; }
.ws-btn--icon > svg { margin: 0 !important; }

.ws-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ws-btn:disabled, .ws-btn[aria-disabled="true"] { opacity: .38; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ws-btn, .ws-btn > svg { transition: none; } }

/* ---------- FeatureSection ---------- */
.ws-section {
  box-sizing: border-box;
  padding: var(--section) var(--space-8);
  background: var(--surface);
}
.ws-section--alt    { background: var(--surface-alt); }
.ws-section--teal   { background: var(--primary-soft); }
.ws-section--sage, .ws-section--green { background: var(--surface-alt); }
.ws-section--orange { background: var(--accent-soft); }
.ws-section--warm   { background: var(--surface-beige); }
.ws-section__inner { max-width: var(--container); margin: 0 auto; }

.ws-section__eyebrow {
  margin: 0 0 var(--space-4);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.ws-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;       /* h2: 40/48 */
  line-height: 3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.ws-section__lead {
  margin: var(--space-4) 0 0;
  font-family: var(--font-sans);
  font-size: 1.25rem;      /* lead: 20/32 */
  line-height: 2rem;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.ws-section__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }

/* Split: intro left, 2×2 linked cards right */
.ws-feature-section--split .ws-section__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-12);
  align-items: start;
}
.ws-feature-section--split .ws-section__intro { max-width: 520px; padding-top: var(--space-6); }

/* Centered: intro on top, 4-up compact cards, actions below */
.ws-feature-section--cards .ws-section__intro,
.ws-feature-section--centered .ws-section__intro { max-width: var(--measure); margin: 0 auto var(--space-12); text-align: center; }
.ws-feature-section--centered .ws-section__actions { justify-content: center; margin-top: var(--space-12); }

@media (max-width: 1024px) {
  .ws-section { padding: 80px var(--space-8); }
  .ws-section__title { font-size: 2.125rem; line-height: 2.625rem; }
  .ws-feature-section--split .ws-section__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .ws-feature-section--split .ws-section__intro { padding-top: 0; }
}
@media (max-width: 640px) {
  .ws-section { padding: 64px var(--space-4); }
  .ws-section__title { font-size: 1.75rem; line-height: 2.25rem; }
  .ws-section__lead { font-size: 1.125rem; line-height: 1.75rem; }
  .ws-section__actions .ws-btn { width: 100%; }
}

/* ---------- Banner (CTA) ---------- */
.ws-banner {
  --bn-bg: var(--surface-beige);
  --bn-disc: var(--accent-soft);
 
  --bn-eyebrow: var(--accent-strong);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: var(--space-12);
  box-sizing: border-box;
  padding: 72px 80px;
  background: var(--bn-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--ink);
}
.ws-banner--teal  { --bn-bg: var(--primary-soft); --bn-disc: var(--surface); --bn-eyebrow: var(--primary); }
.ws-banner--sage, .ws-banner--green { --bn-bg: var(--surface-alt); --bn-disc: var(--surface); --bn-eyebrow: var(--primary); }

.ws-banner__content { position: relative; z-index: 1; max-width: 520px; }

.ws-banner__eyebrow {
  margin: 0 0 var(--space-4);
  font-family: var(--font-sans);
  font-size: 0.8125rem; line-height: 1rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bn-eyebrow);
}
.ws-banner__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: 2.5rem; line-height: 3rem; font-weight: 700; letter-spacing: -0.015em;
  text-wrap: balance;
}
.ws-banner__lead {
  margin: var(--space-4) 0 0;
  max-width: 44ch;
  font-family: var(--font-sans);
  font-size: 1.125rem; line-height: 1.75rem;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.ws-banner__list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.ws-banner__list li {
  display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.5rem; font-weight: 500;
}
.ws-banner__list svg { flex: none; width: 20px; height: 20px; fill: var(--primary); }
.ws-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-8); }

/* Visual: disc + illustration + floating chip + dot pattern */
.ws-banner__visual { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; min-height: 400px; }
.ws-banner__disc { position: absolute; width: 360px; height: 360px; border-radius: var(--radius-xl); background: var(--bn-disc); }
.ws-banner--round .ws-banner__disc { width: 380px; height: 380px; border-radius: 50%; }
.ws-banner__img { position: relative; display: block; width: 100%; max-width: 250px; height: auto; }
.ws-banner__chip {
  position: absolute; left: -8px; bottom: 8px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  font-family: var(--font-sans);
}
.ws-banner__chip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: var(--surface-alt); color: var(--green-strong);
}
.ws-banner__chip-icon svg { width: 20px; height: 20px; fill: currentColor; }
.ws-banner__chip-title { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--ink); }
.ws-banner__chip-meta  { display: block; font-size: 0.8125rem; line-height: 1.125rem; color: var(--ink-muted); }

@media (max-width: 1024px) {
  .ws-banner { grid-template-columns: 1fr; padding: 56px 48px; }
  .ws-banner__visual { order: -1; min-height: 280px; }
  .ws-banner__disc, .ws-banner--round .ws-banner__disc { width: 280px; height: 280px; }
  .ws-banner__img { max-width: 240px; }
}
@media (max-width: 640px) {
  .ws-banner { padding: 40px 24px; border-radius: var(--radius-lg); }
  .ws-banner__title { font-size: 1.75rem; line-height: 2.25rem; }
  .ws-banner__chip { display: none; }
  .ws-banner__actions .ws-btn { width: 100%; }
}

/* ---------- FeatureBento ---------- */
.ws-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: var(--space-6);
}
.ws-bento-card {
  --bc-bg: var(--surface);
  --bc-line: var(--border-sage);
  --bc-label: var(--primary);
  --bc-title: var(--ink);
  --bc-text: var(--ink-muted);
  --bc-tile: var(--primary-soft);
  --bc-icon: var(--primary);
  position: relative;
  grid-column: span 4;
  display: flex; flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  padding: var(--space-8);
  overflow: hidden;
  background: var(--bc-bg);
  border: 1.5px solid var(--bc-line);
  border-radius: var(--radius-xl);
  color: var(--bc-title);
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
/* fills */
.ws-bento-card--deep   { --bc-bg: var(--primary-deep); --bc-line: var(--primary-deep); --bc-label: var(--on-deep-muted); --bc-title: var(--on-deep); --bc-text: var(--on-deep); }
.ws-bento-card--teal   { --bc-bg: var(--primary); --bc-line: var(--primary); --bc-label: var(--primary-soft); --bc-title: var(--on-primary); --bc-text: var(--on-primary); }
.ws-bento-card--orange { --bc-bg: var(--surface-beige); --bc-line: var(--accent-soft); --bc-tile: var(--surface); --bc-icon: var(--accent-strong); }
.ws-bento-card--sage   { --bc-bg: var(--surface-alt); --bc-line: var(--surface-alt); --bc-label: var(--primary); --bc-tile: var(--surface); --bc-icon: var(--green-strong); }
.ws-bento-card--accent { --bc-bg: var(--accent); --bc-line: var(--accent); --bc-label: var(--primary-deep); --bc-text: var(--ink); --bc-tile: var(--surface-beige); --bc-icon: var(--accent-strong); }
.ws-bento-card--mid    { --bc-bg: var(--primary-deep); --bc-line: var(--primary-deep); --bc-label: var(--on-primary); --bc-title: var(--on-primary); --bc-text: var(--on-primary); }
.ws-bento-card--cta    { --bc-bg: var(--surface-beige); --bc-line: var(--accent-soft); flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-8); padding: var(--space-12); }
.ws-bento-card--cta .ws-bento-card__title, .ws-bento-card--cta .ws-bento-card__text { max-width: none; }
.ws-bento-card--cta .ws-btn { flex: none; }
/* arrow top right and a round icon tile (feature cards in the 6 + 3 + 3 layout) */
.ws-bento-card--arrow-top .ws-bento-card__more { top: var(--space-6); bottom: auto; }
.ws-bento-card.ws-bento-card--arrow-top:has(.ws-bento-card__more) { padding-bottom: var(--space-8); }
.ws-bento-card--arrow-top .ws-bento-card__icon { border-radius: var(--radius-lg); width: 56px; height: 56px; }
.ws-bento-card--arrow-top .ws-bento-card__icon svg { width: 28px; height: 28px; }
.ws-bento-card--arrow-top:not(.ws-bento-card--mid) .ws-bento-card__more { border-color: var(--border-sage); color: var(--primary); }
a.ws-bento-card--arrow-top:not(.ws-bento-card--mid):hover .ws-bento-card__more { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
/* sizes on the 12-column grid */
.ws-bento-card--span-3 { grid-column: span 3; }
.ws-bento-card--span-5 { grid-column: span 5; }
.ws-bento-card--span-6 { grid-column: span 6; }
.ws-bento-card--span-7 { grid-column: span 7; }
.ws-bento-card--span-8 { grid-column: span 8; }
.ws-bento-card--tall   { grid-row: span 2; }
.ws-bento-card--full-tall { grid-column: 1 / -1; grid-row: span 2; }
.ws-bento-card--tall-3 { grid-row: span 3; }
/* Full width, content left and actions right (CTA) */
.ws-bento-card--full { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-8); padding: var(--space-12); }
.ws-bento-card--full .ws-bento-card__title { max-width: none; }
.ws-bento-card--accent .ws-bento-card__title, .ws-bento-card--accent .ws-bento-card__text { max-width: none; }
.ws-bento-card--tall .ws-bento-card__title, .ws-bento-card--tall .ws-bento-card__text, .ws-bento-card--full-tall .ws-bento-card__title, .ws-bento-card--full-tall .ws-bento-card__text, .ws-bento-card--tall-3 .ws-bento-card__title, .ws-bento-card--tall-3 .ws-bento-card__text { max-width: none; }
.ws-bento-card--full .ws-bento-card__actions { margin: 0; padding: 0; flex: none; }

.ws-bento-card__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--bc-tile); color: var(--bc-icon);
}
.ws-bento-card__icon svg { width: 28px; height: 28px; fill: currentColor; }
.ws-bento-card__icon + .ws-bento-card__title { margin-top: var(--space-2); }
.ws-bento-card__label {
  margin: 0 0 var(--space-6);
  font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bc-label);
}
.ws-bento-card__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: 1.75rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--bc-title);
  text-wrap: balance;
}
.ws-bento-card--tall .ws-bento-card__title, .ws-bento-card--tall-3 .ws-bento-card__title, .ws-bento-card--full-tall .ws-bento-card__title { font-size: 2.25rem; line-height: 2.75rem; }
.ws-bento-card--span-3 .ws-bento-card__title { font-size: 1.375rem; line-height: 1.875rem; hyphens: auto; }
.ws-bento-card__text {
  margin: var(--space-4) 0 0;
  max-width: 40ch;
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.75rem;
  color: var(--bc-text);
}
.ws-bento-card__stat {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display); font-size: 3.5rem; line-height: 3.75rem; font-weight: 800; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}
/* arrow in a circle, bottom right */
.ws-bento-card__more {
  position: absolute; right: var(--space-6); bottom: var(--space-6);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid currentColor;
  color: var(--bc-title);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.ws-bento-card__more svg { width: 20px; height: 20px; fill: currentColor; }
.ws-bento-card:has(.ws-bento-card__more) { padding-bottom: 96px; }
/* screenshot bleeding off the bottom-right corner */
.ws-bento-card__media {
  display: block;
  width: calc(100% + var(--space-8));
  max-width: none;
  margin: var(--space-8) calc(-1 * var(--space-8)) calc(-1 * var(--space-8)) 0;
  border-radius: var(--radius-md) 0 0 0;
  box-shadow: var(--shadow-float);
}
.ws-bento-card:has(.ws-bento-card__media) { padding-bottom: var(--space-8); }
.ws-bento-card--tall .ws-bento-card__media, .ws-bento-card--tall-3 .ws-bento-card__media, .ws-bento-card--full-tall .ws-bento-card__media { flex: 1 1 auto; min-height: 0; height: 0; object-fit: cover; object-position: left top; }
.ws-bento-card:has(.ws-bento-card__media) .ws-bento-card__more { top: var(--space-6); bottom: auto; }
/* CTA tile */
.ws-bento-card__actions { margin-top: auto; padding-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.ws-bento-card--accent .ws-btn--primary { background: var(--primary-deep); }
.ws-bento-card--accent .ws-btn--primary:hover { background: var(--ink); }

a.ws-bento-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
a.ws-bento-card:hover .ws-bento-card__more { background: var(--bc-title); color: var(--bc-bg); transform: translateX(2px); }
a.ws-bento-card:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

@media (max-width: 1024px) {
  .ws-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .ws-bento-card, .ws-bento-card--span-3, .ws-bento-card--span-5, .ws-bento-card--span-6, .ws-bento-card--span-7, .ws-bento-card--span-8 { grid-column: span 1; }
  .ws-bento-card--tall, .ws-bento-card--tall-3, .ws-bento-card--span-8, .ws-bento-card--cta { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .ws-bento { grid-template-columns: 1fr; gap: var(--space-4); }
  .ws-bento-card { padding: var(--space-6); }
  .ws-bento-card--full, .ws-bento-card--cta { flex-direction: column; align-items: flex-start; }
  .ws-bento-card--tall .ws-bento-card__title { font-size: 1.75rem; line-height: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) { .ws-bento-card, .ws-bento-card__more { transition: none; } a.ws-bento-card:hover { transform: none; } }

/* ---------- Header ---------- */
.ws-section--beige { background: var(--surface-beige); }

.ws-header {
  --hd-bg: var(--primary-deep);
  --hd-text: var(--on-primary);
  --hd-muted: var(--on-primary);
  --hd-active: var(--on-primary);
  --hd-line: rgba(255,255,255,0.24);
  position: relative; z-index: 10;
  background: var(--hd-bg);
  color: var(--hd-text);
  font-family: var(--font-sans);
}
.ws-header--light { --hd-bg: var(--surface); --hd-text: var(--ink); --hd-muted: var(--ink-muted); --hd-active: var(--primary); --hd-line: var(--border-sage); box-shadow: inset 0 -1px 0 var(--hd-line); }
.ws-header__bar {
  box-sizing: border-box;
  max-width: calc(var(--container) + 2 * var(--space-8)); margin: 0 auto;
  height: 88px; padding: 0 var(--space-8);
  display: flex; align-items: center; gap: var(--space-8);
}
.ws-header__logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--hd-text); text-decoration: none;
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1; font-weight: 800; letter-spacing: -0.01em;
}
.ws-header__logo img { display: block; height: 36px; width: auto; }
.ws-header__nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.ws-header__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  height: 44px; padding: 0 12px;
  background: none; border: 0; border-radius: var(--radius-md);
  color: var(--hd-text); text-decoration: none; cursor: pointer;
  font: 500 1rem/1.5rem var(--font-sans);
}
.ws-header__link svg { width: 20px; height: 20px; fill: currentColor; transition: transform .2s ease; }
.ws-header__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.ws-header__link:hover::after, .ws-header__link[aria-current="page"]::after { transform: scaleX(1); }
.ws-header__link[aria-expanded="true"], .ws-header__link[aria-current="page"] { color: var(--hd-active); }
.ws-header__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.ws-header__link[aria-expanded="true"]::after { transform: scaleX(0); }
.ws-header__link:focus-visible, .ws-header__lang:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ws-header--light .ws-header__link:focus-visible, .ws-header--light .ws-header__lang:focus-visible { outline-color: var(--focus-ring); }

.ws-header__actions { display: flex; align-items: center; gap: var(--space-4); margin-left: var(--space-4); }
.ws-header__lang {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border: 1.5px solid var(--hd-line); border-radius: var(--radius-full);
  color: var(--hd-muted); text-decoration: none; font: 600 0.875rem/1 var(--font-sans); letter-spacing: 0.04em;
}
.ws-header__lang svg { width: 18px; height: 18px; fill: currentColor; }
.ws-header__lang:hover { color: var(--hd-text); border-color: var(--hd-muted); }
.ws-header__menu-btn { display: none; }

/* Mega menu: same colour as the bar, three columns */
.ws-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--hd-bg);
  box-shadow: inset 0 1px 0 var(--hd-line), inset 0 -1px 0 var(--hd-line);
}
.ws-header--light .ws-mega { --hd-line: var(--border-sage); }
.ws-mega[hidden] { display: none; }
.ws-mega__inner {
  box-sizing: border-box; max-width: calc(var(--container) + 2 * var(--space-8)); margin: 0 auto;
  padding: var(--space-12) var(--space-8) 64px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-12);
}
.ws-mega__heading {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 var(--space-4);
  color: var(--hd-text); text-decoration: none;
  font: 600 1.125rem/1.5rem var(--font-sans);
}
.ws-mega__heading svg, .ws-mega__link svg { width: 18px; height: 18px; fill: currentColor; transition: transform .2s ease; }
.ws-mega__text { margin: 0; max-width: 36ch; color: var(--hd-muted); font: 400 1rem/1.625rem var(--font-sans); }
.ws-mega__eyebrow { margin: 0 0 var(--space-4); color: var(--hd-muted); font: 600 0.8125rem/1rem var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; }
.ws-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.ws-mega__link { display: inline-flex; align-items: center; gap: 6px; color: var(--hd-text); text-decoration: none; font: 500 1.0625rem/1.5rem var(--font-sans); }
.ws-mega__heading:hover, .ws-mega__link:hover { color: var(--hd-active); }
.ws-mega__heading:hover svg, .ws-mega__link:hover svg { transform: translateX(3px); }
.ws-mega__heading:focus-visible, .ws-mega__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

@media (max-width: 1024px) {
  .ws-header__bar { height: 72px; padding: 0 var(--space-4); }
  .ws-header__nav, .ws-header__lang { display: none; }
  .ws-header__actions { margin-left: auto; }
  .ws-header__menu-btn { display: inline-flex; color: var(--hd-text); background: none; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
  .ws-header__menu-btn svg { width: 28px; height: 28px; fill: currentColor; }
  .ws-mega__inner { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-8) var(--space-4); }
}
@media (prefers-reduced-motion: reduce) { .ws-header__link::after, .ws-header__link svg, .ws-mega__heading svg, .ws-mega__link svg { transition: none; } }

/* ---------- Pill (shared, for tags and module links) ---------- */
.ws-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.ws-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px;
  border-radius: var(--radius-full); background: var(--primary-soft); color: var(--primary);
  font: 500 0.875rem/1 var(--font-sans); text-decoration: none; white-space: nowrap;
}
a.ws-pill:hover { background: var(--primary); color: var(--on-primary); }
a.ws-pill:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- Quote ---------- */
.ws-quote { max-width: 880px; margin: 0 auto; text-align: center; font-family: var(--font-sans); color: var(--ink); }
.ws-quote__mark { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); color: var(--accent-strong); }
.ws-quote__mark svg { width: 32px; height: 32px; fill: currentColor; }
.ws-quote__text { margin: var(--space-6) 0 0; font-family: var(--font-display); font-size: 2rem; line-height: 2.75rem; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.ws-quote__person { margin-top: var(--space-8); display: inline-flex; align-items: center; gap: var(--space-4); text-align: left; }
.ws-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--primary-soft); color: var(--primary); font: 700 1.125rem/1 var(--font-display); }
.ws-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ws-avatar--lg { width: 96px; height: 96px; font-size: 1.75rem; }
.ws-quote__name { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.5rem; }
.ws-quote__role { display: block; font-size: 0.9375rem; line-height: 1.375rem; color: var(--ink-muted); }
.ws-quote__link { margin-top: var(--space-6); }
.ws-quote--sage .ws-quote__mark { color: var(--primary); }
.ws-quote--deep { color: var(--on-deep); }
.ws-quote--deep .ws-quote__mark { background: var(--primary-deep); color: var(--accent); }
.ws-quote--deep .ws-quote__role { color: var(--on-deep-muted); }
.ws-quote--deep .ws-avatar { background: var(--primary-deep); color: var(--on-deep); }
.ws-section--deep { background: var(--primary-deep); }
@media (max-width: 640px) { .ws-quote__text { font-size: 1.5rem; line-height: 2.125rem; } }

/* ---------- ContactCard ---------- */
.ws-contact {
  display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-12); align-items: center;
  padding: var(--space-12); background: var(--surface); border: 1.5px solid var(--border-sage); border-radius: var(--radius-xl);
  font-family: var(--font-sans); color: var(--ink);
}
.ws-contact__title { margin: 0; font-family: var(--font-display); font-size: 2.5rem; line-height: 3rem; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
.ws-contact__lead { margin: var(--space-4) 0 0; max-width: 46ch; font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-muted); }
.ws-contact__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.ws-contact__person { display: flex; gap: var(--space-6); align-items: center; padding: var(--space-8); background: var(--surface-beige); border-radius: var(--radius-lg); }
.ws-contact__name { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.ws-contact__role { margin: 2px 0 var(--space-4); font-size: 0.9375rem; line-height: 1.375rem; color: var(--ink-muted); }
.ws-contact__links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.ws-contact__links a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--primary); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.ws-contact__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ws-contact__links a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }
.ws-contact__links svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.ws-contact--sage { background: var(--surface-alt); border-color: var(--surface-alt); }
.ws-contact--sage .ws-contact__person { background: var(--surface); }
@media (max-width: 1024px) {
  .ws-contact { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-8) var(--space-6); }
  .ws-contact__title { font-size: 1.75rem; line-height: 2.25rem; }
  .ws-contact__person { flex-direction: column; align-items: flex-start; }
}

/* ---------- ProductShowcase ---------- */
.ws-showcase .ws-section__intro { max-width: 820px; margin: 0 auto; text-align: center; }
.ws-showcase__note { margin: var(--space-6) 0 0; font-family: var(--font-sans); font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: var(--ink); }
.ws-showcase .ws-section__actions { justify-content: center; }
.ws-showcase__frame {
  margin: var(--space-12) 0 0; padding: 64px;
  background: var(--surface-beige); border-radius: var(--radius-xl);
}
.ws-showcase__frame img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.ws-showcase__frame--grey { background: var(--surface-alt); }
.ws-showcase__frame--sage { background: var(--surface-alt); }
@media (max-width: 1024px) { .ws-showcase__frame { padding: var(--space-6); } }

/* ---------- Screen sizes: shared adjustments (tablet ≤ 1024 px, mobile ≤ 640 px) ---------- */
@media (max-width: 1024px) {
  .ws-header__logo img { height: 32px; }
  .ws-banner__title { font-size: 2.125rem; line-height: 2.625rem; }
  .ws-quote__text { font-size: 1.75rem; line-height: 2.5rem; }
  .ws-bento-card--tall .ws-bento-card__media, .ws-bento-card--tall-3 .ws-bento-card__media, .ws-bento-card--full-tall .ws-bento-card__media { flex: none; height: 280px; }
}
@media (max-width: 640px) {
  .ws-header__logo img { height: 28px; }
  .ws-header__actions .ws-btn { display: none; }
  .ws-feature-card { padding: var(--space-6); }
  .ws-quote__text { font-size: 1.5rem; line-height: 2.125rem; }
  .ws-quote .ws-avatar { width: 48px; height: 48px; }
  .ws-showcase__frame { padding: var(--space-4); border-radius: var(--radius-lg); }
  .ws-contact__actions .ws-btn { width: 100%; }
  .ws-bento-card--cta .ws-btn { width: 100%; }
  .ws-bento-card--tall .ws-bento-card__media, .ws-bento-card--tall-3 .ws-bento-card__media, .ws-bento-card--full-tall .ws-bento-card__media { height: 200px; }
}

/* ---------- Max content width on large screens ---------- */
/* Content never gets wider than --container (1200 px); backgrounds run full width. */
.ws-container { box-sizing: content-box; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-8); }
.ws-banner, .ws-contact, .ws-showcase__frame, .ws-bento { box-sizing: border-box; max-width: var(--container); margin-inline: auto; }
@media (max-width: 640px) { .ws-container { padding-inline: var(--space-4); } }

/* ---------- Text width and readability ---------- */
:root { --measure-body: 68ch; --measure-lead: 60ch; --measure-heading: 24ch; --measure-card: 40ch; }
.ws-section__title { max-width: var(--measure-heading); text-wrap: balance; }
.ws-section__lead { max-width: var(--measure-lead); text-wrap: pretty; }
.ws-feature-section--centered .ws-section__title, .ws-feature-section--centered .ws-section__lead,
.ws-feature-section--cards .ws-section__title, .ws-feature-section--cards .ws-section__lead,
.ws-showcase .ws-section__title, .ws-showcase .ws-section__lead { margin-inline: auto; }
/* Running text (articles, legal pages, longer descriptions) */
.ws-prose { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.75rem; color: var(--ink); }
.ws-prose p, .ws-prose li { max-width: var(--measure-body); text-wrap: pretty; }
.ws-prose p { margin: 0 0 1.25em; }
.ws-prose h2, .ws-prose h3 { max-width: var(--measure-heading); text-wrap: balance; font-family: var(--font-display); margin: 2em 0 0.5em; }
.ws-prose ul, .ws-prose ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.ws-prose li + li { margin-top: 0.5em; }
/* Never justify; hyphenate long Norwegian compounds in narrow columns (needs lang="nb" on <html>) */
.ws-prose, .ws-section__lead, .ws-feature-card__text, .ws-bento-card__text, .ws-banner__lead { text-align: start; }
.ws-feature-card__text, .ws-bento-card__text, .ws-bento-card__title { hyphens: auto; }
@media (max-width: 640px) { .ws-prose p, .ws-section__lead { hyphens: auto; } }

/* ---------- Form fields (shared) ---------- */
.ws-field { display: grid; gap: 6px; }
.ws-field + .ws-field { margin-top: var(--space-4); }
.ws-label { font: 600 0.875rem/1.25rem var(--font-sans); color: var(--ink); }
.ws-label .ws-optional { font-weight: 400; color: var(--ink-muted); }
.ws-input, .ws-select {
  box-sizing: border-box; width: 100%; height: 48px; padding: 0 14px;
  font: 400 1rem/1.5rem var(--font-sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ws-input::placeholder { color: var(--ink-muted); }
.ws-select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath fill='%23595959' d='M480-344 240-584l43-43 197 197 197-197 43 43-240 240Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.ws-input:hover, .ws-select:hover { border-color: var(--ink-muted); }
.ws-input:focus-visible, .ws-select:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--primary); }
.ws-field--error .ws-input { border-color: var(--error); }
.ws-field__error { display: flex; gap: 6px; align-items: center; font: 400 0.875rem/1.25rem var(--font-sans); color: var(--error); }
.ws-field__error svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- FormBanner ---------- */
.ws-formband {
  --fb-bg: var(--primary-deep); --fb-title: var(--on-deep); --fb-text: var(--on-deep); --fb-eyebrow: var(--on-deep-muted); --fb-icon: var(--on-deep-muted);
  box-sizing: border-box; padding: var(--section) var(--space-8); background: var(--fb-bg); font-family: var(--font-sans);
}
.ws-formband--mid   { --fb-bg: var(--primary-deep); }
.ws-formband--teal  { --fb-bg: var(--primary); --fb-text: var(--on-primary); --fb-eyebrow: var(--on-primary-muted); --fb-icon: var(--on-primary-muted); }
.ws-formband--deep  { --fb-bg: var(--primary-deep); --fb-eyebrow: var(--on-deep-muted); }
.ws-formband--beige { --fb-bg: var(--surface-beige); --fb-title: var(--ink); --fb-text: var(--ink-muted); --fb-eyebrow: var(--primary); --fb-icon: var(--primary); }
.ws-formband--sage  { --fb-bg: var(--surface-alt); --fb-title: var(--ink); --fb-text: var(--ink-muted); --fb-eyebrow: var(--primary); --fb-icon: var(--primary); }
.ws-formband__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.ws-formband__eyebrow { margin: 0 0 var(--space-4); font: 600 0.8125rem/1rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fb-eyebrow); }
.ws-formband__title { margin: 0; max-width: var(--measure-heading, 24ch); font: 700 2.5rem/3rem var(--font-display); letter-spacing: -.015em; color: var(--fb-title); text-wrap: balance; }
.ws-formband__lead { margin: var(--space-4) 0 0; max-width: var(--measure-lead, 60ch); font-size: 1.125rem; line-height: 1.75rem; color: var(--fb-text); }
.ws-formband__list { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.ws-formband__list li { display: flex; gap: var(--space-4); align-items: flex-start; font-size: 1rem; line-height: 1.5rem; color: var(--fb-title); }
.ws-formband__list svg { flex: none; width: 24px; height: 24px; fill: var(--fb-icon); }
.ws-formband__list small { display: block; color: var(--fb-text); font-size: 0.9375rem; line-height: 1.375rem; }
.ws-formband__contact { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; gap: var(--space-6); font-size: 0.9375rem; color: var(--fb-text); }
.ws-formband--beige .ws-formband__contact, .ws-formband--sage .ws-formband__contact { border-top-color: var(--border-sage); }
.ws-formband__contact a { display: inline-flex; gap: var(--space-2); align-items: center; color: var(--fb-title); font-weight: 600; text-decoration: none; }
.ws-formband__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ws-formband__contact svg { width: 20px; height: 20px; fill: var(--fb-icon); }
/* the white panel */
.ws-formpanel { box-sizing: border-box; padding: var(--space-12) 40px; background: var(--surface); border-radius: var(--radius-xl); color: var(--ink); }
.ws-formband--beige .ws-formpanel, .ws-formband--sage .ws-formpanel { border: 1.5px solid var(--border-sage); }
.ws-formpanel__title { margin: 0 0 var(--space-6); font: 700 1.375rem/1.875rem var(--font-display); }
.ws-formpanel .ws-btn { width: 100%; margin-top: var(--space-6); }
.ws-formpanel__note { margin: var(--space-4) 0 0; font-size: 0.8125rem; line-height: 1.25rem; color: var(--ink-muted); }
.ws-formpanel__note a { color: var(--primary); }
/* steps instead of a form (content variant) */
.ws-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); counter-reset: step; }
.ws-steps li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); counter-increment: step; }
.ws-steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font: 700 1rem/1 var(--font-display); }
.ws-steps strong { display: block; font: 600 1.0625rem/1.5rem var(--font-sans); color: var(--ink); }
.ws-steps span { display: block; margin-top: 2px; font-size: 0.9375rem; line-height: 1.375rem; color: var(--ink-muted); }
/* compact: centred, one line form (newsletter, «få tilbud på e-post») */
.ws-formband--compact .ws-formband__inner { grid-template-columns: 1fr; max-width: var(--measure); text-align: center; gap: 0; }
.ws-formband--compact .ws-formband__title, .ws-formband--compact .ws-formband__lead { margin-inline: auto; }
.ws-inline-form { margin-top: var(--space-8); display: flex; gap: var(--space-2); max-width: 520px; margin-inline: auto; }
.ws-inline-form .ws-input { flex: 1; }
.ws-inline-form .ws-btn { flex: none; }
.ws-formband--compact .ws-formpanel__note { text-align: center; }
@media (max-width: 1024px) {
  .ws-formband { padding: 80px var(--space-8); }
  .ws-formband__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .ws-formband__title { font-size: 2.125rem; line-height: 2.625rem; }
}
@media (max-width: 640px) {
  .ws-formband { padding: 64px var(--space-4); }
  .ws-formband__title { font-size: 1.75rem; line-height: 2.25rem; }
  .ws-formpanel { padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); }
  .ws-inline-form { flex-direction: column; }
  .ws-inline-form .ws-btn { width: 100%; }
}

/* ---------- PageHero (title banner on sub pages) ---------- */
/* Same colour as the header, so header and hero read as one block. */
.ws-pagehero { box-sizing: border-box; padding: var(--space-12) var(--space-8) 120px; background: var(--primary-deep); color: var(--on-primary); font-family: var(--font-sans); }
.ws-pagehero__inner { max-width: var(--container); margin: 0 auto; }
.ws-crumbs { list-style: none; margin: 0 0 56px; padding: 6px 14px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.875rem; line-height: 1.25rem; color: var(--on-primary); background: transparent; border: 1.5px solid rgba(255,255,255,.2); border-radius: var(--radius-full); }
.ws-crumbs li { display: inline-flex; align-items: center; }
.ws-crumbs__home { display: inline-flex; align-items: center; justify-content: center; }
.ws-crumbs__home svg { width: 18px; height: 18px; fill: currentColor; }
.ws-crumbs a { color: var(--on-primary); text-decoration: none; }
.ws-crumbs a:hover { color: var(--on-primary); text-decoration: underline; text-underline-offset: 3px; }
.ws-crumbs a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.ws-crumbs li + li::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M530-481 332-679l43-43 241 241-241 241-43-43 198-198Z'/%3E%3C/svg%3E") center/16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M530-481 332-679l43-43 241 241-241 241-43-43 198-198Z'/%3E%3C/svg%3E") center/16px no-repeat; }
.ws-crumbs [aria-current="page"] { color: var(--on-primary); font-weight: 600; }
.ws-pagehero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.ws-pagehero__eyebrow { margin: 0 0 var(--space-4); font: 600 0.8125rem/1rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-deep-muted); }
.ws-pagehero__title { margin: 0; max-width: 18ch; font: 700 3.5rem/3.875rem var(--font-display); letter-spacing: -.02em; color: var(--on-primary); text-wrap: balance; }
.ws-pagehero__lead { margin: var(--space-6) 0 0; max-width: var(--measure-lead, 60ch); font-size: 1.25rem; line-height: 2rem; color: var(--on-primary); text-wrap: pretty; }
.ws-pagehero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.ws-btn--ghost { background: transparent; color: var(--on-primary); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.ws-btn--ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px #fff; }
.ws-btn--ghost:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ws-pagehero__facts { list-style: none; margin: var(--space-12) 0 0; padding: var(--space-6) 0 0; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); font-size: 0.9375rem; line-height: 1.375rem; color: var(--on-primary); }
.ws-pagehero__facts li { display: inline-flex; align-items: center; gap: var(--space-2); }
.ws-pagehero__facts svg { width: 20px; height: 20px; fill: var(--accent); flex: none; }
/* media: a screenshot on the right that drops into the white section below */
.ws-pagehero--media .ws-pagehero__grid { align-items: start; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ws-pagehero__media { margin: 0; }
/* the screenshot hangs 64 px below the banner into the white section */
.ws-pagehero--media { padding-bottom: 0; }
.ws-pagehero--media .ws-pagehero__text { padding-bottom: 96px; }
.ws-pagehero--media .ws-pagehero__media { margin-bottom: -64px; position: relative; z-index: 1; }
.ws-pagehero--media + * { padding-top: calc(var(--section) + 64px) !important; }
.ws-pagehero__media img { display: block; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
/* centred: text only, for simple pages (Kontakt, Om oss, Ressurser) */
.ws-pagehero--center { text-align: center; padding-bottom: 80px; }
.ws-pagehero--center .ws-crumbs { justify-content: center; }
.ws-pagehero--center .ws-pagehero__grid { grid-template-columns: 1fr; }
.ws-pagehero--center .ws-pagehero__title, .ws-pagehero--center .ws-pagehero__lead { margin-inline: auto; }
.ws-pagehero--center .ws-pagehero__actions, .ws-pagehero--center .ws-pagehero__facts { justify-content: center; }
@media (max-width: 1024px) {
  .ws-pagehero { padding: var(--space-6) var(--space-8) 80px; }
  .ws-pagehero__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .ws-pagehero__title { font-size: 2.75rem; line-height: 3.25rem; }
  .ws-crumbs { margin-bottom: var(--space-8); }
}
@media (max-width: 640px) {
  .ws-pagehero { padding: var(--space-4) var(--space-4) 64px; }
  .ws-pagehero__title { font-size: 2.25rem; line-height: 2.625rem; }
  .ws-pagehero__lead { font-size: 1.125rem; line-height: 1.75rem; }
  .ws-pagehero__actions .ws-btn { width: 100%; }
}

/* Centred intros keep a centred lead (overrides the text-align: start above) */
.ws-showcase .ws-section__lead, .ws-feature-section--centered .ws-section__lead, .ws-feature-section--cards .ws-section__lead,
.ws-formband--compact .ws-formband__lead, .ws-pagehero--center .ws-pagehero__lead { text-align: center; }

/* PageHero light variants: white and green-grey, used under the white header (ws-header--light) */
.ws-pagehero--white, .ws-pagehero--sage { color: var(--ink); }
.ws-pagehero--white { background: var(--surface); }
.ws-pagehero--sage  { background: var(--surface-alt); }
.ws-pagehero--white .ws-crumbs, .ws-pagehero--sage .ws-crumbs,
.ws-pagehero--white .ws-crumbs a, .ws-pagehero--sage .ws-crumbs a { color: var(--ink-muted); }
.ws-pagehero--white .ws-crumbs a:hover, .ws-pagehero--sage .ws-crumbs a:hover { color: var(--primary); }
.ws-pagehero--white .ws-crumbs [aria-current="page"], .ws-pagehero--sage .ws-crumbs [aria-current="page"] { color: var(--ink); }
.ws-pagehero--white .ws-crumbs a:focus-visible, .ws-pagehero--sage .ws-crumbs a:focus-visible { outline-color: var(--focus-ring); }
.ws-pagehero--white .ws-pagehero__eyebrow, .ws-pagehero--sage .ws-pagehero__eyebrow { color: var(--primary); }
.ws-pagehero--white .ws-pagehero__title, .ws-pagehero--sage .ws-pagehero__title { color: var(--primary); }
.ws-pagehero--white .ws-pagehero__lead, .ws-pagehero--sage .ws-pagehero__lead { color: var(--ink-muted); }
.ws-pagehero--white .ws-pagehero__facts, .ws-pagehero--sage .ws-pagehero__facts { color: var(--ink); border-top-color: var(--border-sage); }
.ws-pagehero--white .ws-pagehero__facts svg, .ws-pagehero--sage .ws-pagehero__facts svg { fill: var(--primary); }
.ws-pagehero--white .ws-pagehero__media img, .ws-pagehero--sage .ws-pagehero__media img { box-shadow: var(--shadow-card); border: 1px solid var(--border-sage); }
.ws-pagehero--white { border-bottom: 1px solid var(--border-sage); }
.ws-pagehero--white.ws-pagehero--media { border-bottom: 0; }

@media (max-width: 1024px) {
  .ws-pagehero--media .ws-pagehero__text { padding-bottom: 0; }
  .ws-pagehero--media .ws-pagehero__media { margin-bottom: -48px; }
  .ws-pagehero--media + * { padding-top: calc(80px + 48px) !important; }
}
@media (max-width: 640px) {
  .ws-pagehero--media .ws-pagehero__media { margin-bottom: -32px; }
  .ws-pagehero--media + * { padding-top: calc(64px + 32px) !important; }
}

/* Breadcrumb pill on light banners */
.ws-pagehero--sage .ws-crumbs { border-color: var(--border-sage); }
.ws-pagehero--white .ws-crumbs { border-color: var(--border-sage); }
/* Mobile: only a back link to the level above («‹ Funksjoner») */
@media (max-width: 640px) {
  .ws-crumbs { margin-bottom: var(--space-6); }
  .ws-crumbs li { display: none; }
  .ws-crumbs li:nth-last-child(2) { display: inline-flex; }
  .ws-crumbs li:nth-last-child(2)::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z'/%3E%3C/svg%3E") center/16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z'/%3E%3C/svg%3E") center/16px no-repeat; }
  .ws-crumbs li:nth-last-child(2) .ws-crumbs__home::after { content: "Forsiden"; margin-left: 6px; }
}
@media (max-width: 1024px) { .ws-pagehero--media .ws-pagehero__grid { grid-template-columns: 1fr; } }

/* No divider between the white header and a page hero below it */
.ws-header--light:has(+ .ws-pagehero) { box-shadow: none; }
/* Hide the hairline seam that can appear between two same-coloured blocks when the page is scaled */
.ws-header + .ws-pagehero { margin-top: -1px; border-top: 1px solid var(--primary-deep); }
.ws-header--light + .ws-pagehero--sage { border-top-color: var(--surface-alt); }
.ws-header--light + .ws-pagehero--white { border-top-color: var(--surface); }

/* --tint: light teal banner (primary-soft); --white is kept as an alias */
.ws-pagehero--tint { color: var(--ink); background: var(--primary-soft); }
.ws-pagehero--white { background: var(--primary-soft); border-bottom: 0; }
.ws-pagehero--tint .ws-crumbs, .ws-pagehero--tint .ws-crumbs a { color: var(--ink-muted); }
.ws-pagehero--tint .ws-crumbs a:hover { color: var(--primary); }
.ws-pagehero--tint .ws-crumbs [aria-current="page"] { color: var(--ink); }
.ws-pagehero--tint .ws-crumbs a:focus-visible { outline-color: var(--focus-ring); }
.ws-pagehero--tint .ws-crumbs, .ws-pagehero--white .ws-crumbs { border-color: var(--primary-soft); }
.ws-pagehero--tint .ws-pagehero__eyebrow, .ws-pagehero--tint .ws-pagehero__title { color: var(--primary); }
.ws-pagehero--tint .ws-pagehero__lead { color: var(--ink-muted); }
.ws-pagehero--tint .ws-pagehero__facts { color: var(--ink); border-top-color: var(--primary-soft); }
.ws-pagehero--white .ws-pagehero__facts { border-top-color: var(--primary-soft); }
.ws-pagehero--tint .ws-pagehero__facts svg { fill: var(--primary); }
.ws-pagehero--tint .ws-pagehero__media img { box-shadow: var(--shadow-card); border: 1px solid var(--border-sage); }
.ws-header--light + .ws-pagehero--tint, .ws-header--light + .ws-pagehero--white { border-top-color: var(--primary-soft); }

/* --beige: warm banner (surface-beige) under the white header */
.ws-pagehero--beige { color: var(--ink); background: var(--surface-beige); }
.ws-pagehero--beige .ws-crumbs, .ws-pagehero--beige .ws-crumbs a { color: var(--ink-muted); }
.ws-pagehero--beige .ws-crumbs a:hover { color: var(--primary); }
.ws-pagehero--beige .ws-crumbs [aria-current="page"] { color: var(--ink); }
.ws-pagehero--beige .ws-crumbs a:focus-visible { outline-color: var(--focus-ring); }
.ws-pagehero--beige .ws-crumbs { border-color: var(--accent-soft); }
.ws-pagehero--beige .ws-pagehero__eyebrow, .ws-pagehero--beige .ws-pagehero__title { color: var(--primary); }
.ws-pagehero--beige .ws-pagehero__lead { color: var(--ink-muted); }
.ws-pagehero--beige .ws-pagehero__facts { color: var(--ink); border-top-color: var(--accent-soft); }
.ws-pagehero--beige .ws-pagehero__facts svg { fill: var(--primary); }
.ws-pagehero--beige .ws-pagehero__media img { box-shadow: var(--shadow-card); border: 1px solid var(--border-sage); }
.ws-header--light + .ws-pagehero--beige { border-top-color: var(--surface-beige); }
/* Light banners: black text (title, lead, breadcrumbs); eyebrow stays teal */
.ws-pagehero--sage .ws-pagehero__title, .ws-pagehero--beige .ws-pagehero__title, .ws-pagehero--tint .ws-pagehero__title, .ws-pagehero--white .ws-pagehero__title,
.ws-pagehero--sage .ws-pagehero__lead, .ws-pagehero--beige .ws-pagehero__lead, .ws-pagehero--tint .ws-pagehero__lead, .ws-pagehero--white .ws-pagehero__lead,
.ws-pagehero--sage .ws-crumbs, .ws-pagehero--beige .ws-crumbs, .ws-pagehero--tint .ws-crumbs, .ws-pagehero--white .ws-crumbs,
.ws-pagehero--sage .ws-crumbs a, .ws-pagehero--beige .ws-crumbs a, .ws-pagehero--tint .ws-crumbs a, .ws-pagehero--white .ws-crumbs a { color: var(--ink); }
.ws-pagehero--beige .ws-pagehero__eyebrow { color: var(--accent-strong); }

/* --photo: a photograph instead of a screenshot in the media column */
.ws-pagehero--photo .ws-pagehero__media img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% center; border-radius: var(--radius-xl); border: 0; box-shadow: var(--shadow-float); }
.ws-pagehero--photo.ws-pagehero--beige .ws-pagehero__media img, .ws-pagehero--photo.ws-pagehero--sage .ws-pagehero__media img, .ws-pagehero--photo.ws-pagehero--tint .ws-pagehero__media img { border: 0; box-shadow: var(--shadow-card); }

/* --split: text-only hero with the weight spread across the width.
   Eyebrow + title left (5/12), lead + buttons right (6/12, top aligned with the title),
   key facts as a full-width row of equal columns under a thin line. */
.ws-pagehero--split .ws-pagehero__text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 96px; align-items: start; }
.ws-pagehero--split .ws-pagehero__eyebrow { grid-column: 1 / -1; grid-row: 1; }
.ws-pagehero--split .ws-pagehero__title { grid-column: 1; grid-row: 2 / span 2; font-size: 4rem; line-height: 4.375rem; }
.ws-pagehero--split .ws-pagehero__lead { grid-column: 2; grid-row: 2; margin-top: 6px; font-size: 1.375rem; line-height: 2.125rem; }
.ws-pagehero--split .ws-pagehero__actions { grid-column: 2; grid-row: 3; }
.ws-pagehero--split .ws-pagehero__facts { grid-column: 1 / -1; grid-row: 4; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-8); margin-top: 72px; padding-top: var(--space-8); font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.ws-pagehero--split .ws-pagehero__facts li { align-items: flex-start; }
.ws-pagehero--split .ws-pagehero__facts svg { width: 24px; height: 24px; }
@media (max-width: 1024px) {
  .ws-pagehero--split .ws-pagehero__text { display: block; }
  .ws-pagehero--split .ws-pagehero__title { font-size: 2.75rem; line-height: 3.25rem; }
  .ws-pagehero--split .ws-pagehero__lead { margin-top: var(--space-6); font-size: 1.25rem; line-height: 2rem; }
  .ws-pagehero--split .ws-pagehero__facts { margin-top: var(--space-12); grid-auto-flow: row; grid-auto-columns: auto; gap: var(--space-4); }
}
@media (max-width: 640px) {
  .ws-pagehero--split .ws-pagehero__title { font-size: 2.25rem; line-height: 2.625rem; }
  .ws-pagehero--split .ws-pagehero__lead { font-size: 1.125rem; line-height: 1.75rem; }
}
.ws-pagehero--split { padding-bottom: 96px; }
@media (max-width: 1024px) { .ws-pagehero--split { padding-bottom: 80px; } }
@media (max-width: 640px) { .ws-pagehero--split { padding-bottom: 64px; } }

/* --center: breadcrumbs stay at the top left (the logo's edge), same place as on every other sub page;
   only eyebrow, title, lead and buttons are centred. */
.ws-pagehero--center nav[aria-label] { text-align: left; }
.ws-pagehero--center .ws-crumbs { justify-content: flex-start; margin-bottom: 48px; }
@media (max-width: 1024px) { .ws-pagehero--center .ws-crumbs { margin-bottom: var(--space-8); } }
@media (max-width: 640px) { .ws-pagehero--center .ws-crumbs { margin-bottom: var(--space-6); } }

/* --media: the image now sits fully inside the banner (no overhang).
   Add --overhang to let it hang 64 px below the banner, as before. */
.ws-pagehero--media:not(.ws-pagehero--overhang) { padding-bottom: 96px; }
.ws-pagehero--media:not(.ws-pagehero--overhang) .ws-pagehero__text { padding-bottom: 0; }
.ws-pagehero--media:not(.ws-pagehero--overhang) .ws-pagehero__media { margin-bottom: 0; }
.ws-pagehero.ws-pagehero--media:not(.ws-pagehero--overhang) + * { padding-top: var(--section) !important; }
@media (max-width: 1024px) {
  .ws-pagehero--media:not(.ws-pagehero--overhang) { padding-bottom: 80px; }
  .ws-pagehero.ws-pagehero--media:not(.ws-pagehero--overhang) + * { padding-top: 80px !important; }
}
@media (max-width: 640px) {
  .ws-pagehero--media:not(.ws-pagehero--overhang) { padding-bottom: 64px; }
  .ws-pagehero.ws-pagehero--media:not(.ws-pagehero--overhang) + * { padding-top: 64px !important; }
}
/* Contained media: text block vertically centred against the image */
@media (min-width: 1025px) { .ws-pagehero--media:not(.ws-pagehero--overhang) .ws-pagehero__grid { align-items: center; } }
/* Taller media (desktop): 5:4 frame for both screenshot and photo; screenshots crop from the top left */
@media (min-width: 1025px) {
  .ws-pagehero--media:not(.ws-pagehero--overhang) .ws-pagehero__media img { aspect-ratio: 5 / 4; object-fit: cover; object-position: left top; }
  .ws-pagehero--media.ws-pagehero--photo:not(.ws-pagehero--overhang) .ws-pagehero__media img { object-position: 60% center; }
}

/* --overhang (desktop): same 5:4 image and centred text as the contained version, but the image hangs 64 px below the banner.
   The text is centred against the part of the image that is inside the banner. */
@media (min-width: 1025px) {
  .ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__grid { align-items: center; }
  .ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__text { padding-bottom: 64px; }
  .ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__media img { aspect-ratio: 5 / 4; object-fit: cover; object-position: left top; }
  .ws-pagehero--media.ws-pagehero--photo.ws-pagehero--overhang .ws-pagehero__media img { object-position: 60% center; }
}
/* --overhang: text top-aligned with the image (eyebrow level with the top edge of the image) */
@media (min-width: 1025px) { .ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__grid { align-items: start; } }
/* Rounder media corners: radius-xl (24 px) for both screenshot and photo */
.ws-pagehero__media img, .ws-pagehero--photo .ws-pagehero__media img { border-radius: var(--radius-xl); }
/* Slightly lower media frame on desktop: 4:3 instead of 5:4 */
@media (min-width: 1025px) {
  .ws-pagehero--media:not(.ws-pagehero--overhang) .ws-pagehero__media img,
  .ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__media img { aspect-ratio: 4 / 3; }
}
/* --overhang: text starts 40 px below the top edge of the image */
@media (min-width: 1025px) { .ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__text { padding-top: 40px; } }

/* --strip: a narrow, wide image under centred text. The banner colour ends 48 px down the image;
   the rest of the image hangs into the white section below. */
.ws-pagehero--strip { padding-bottom: 0; }
.ws-pagehero__strip { margin: var(--space-12) 0 -312px; position: relative; z-index: 1; }
.ws-pagehero__strip img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center 30%; border-radius: var(--radius-xl); box-shadow: var(--shadow-float); }
.ws-pagehero--strip + * { padding-top: calc(var(--section) + 312px) !important; }
@media (max-width: 1024px) {
  .ws-pagehero__strip { margin-top: var(--space-8); margin-bottom: -192px; }
  .ws-pagehero__strip img { height: 240px; }
  .ws-pagehero--strip + * { padding-top: calc(80px + 192px) !important; }
}
@media (max-width: 640px) {
  .ws-pagehero__strip { margin-bottom: -132px; }
  .ws-pagehero__strip img { height: 180px; border-radius: var(--radius-lg); }
  .ws-pagehero--strip + * { padding-top: calc(64px + 132px) !important; }
}
.ws-pagehero--strip .ws-pagehero__inner { display: flow-root; }
/* --strip v2: image starts 72 px under the buttons, and the banner colour ends 96 px down the image */
.ws-pagehero__strip { margin-top: 72px; margin-bottom: -264px; }
.ws-pagehero--strip + * { padding-top: calc(var(--section) + 264px) !important; }
@media (max-width: 1024px) {
  .ws-pagehero__strip { margin-top: var(--space-12); margin-bottom: -176px; }
  .ws-pagehero--strip + * { padding-top: calc(80px + 176px) !important; }
}
@media (max-width: 640px) {
  .ws-pagehero__strip { margin-top: var(--space-8); margin-bottom: -132px; }
  .ws-pagehero--strip + * { padding-top: calc(64px + 132px) !important; }
}
/* --strip v3: taller image (480 px desktop, 320 tablet, 220 mobile); banner still ends 96/64/48 px down it */
.ws-pagehero__strip img { height: 480px; }
.ws-pagehero__strip { margin-bottom: -384px; }
.ws-pagehero--strip + * { padding-top: calc(var(--section) + 384px) !important; }
@media (max-width: 1024px) {
  .ws-pagehero__strip img { height: 320px; }
  .ws-pagehero__strip { margin-bottom: -256px; }
  .ws-pagehero--strip + * { padding-top: calc(80px + 256px) !important; }
}
@media (max-width: 640px) {
  .ws-pagehero__strip img { height: 220px; }
  .ws-pagehero__strip { margin-bottom: -172px; }
  .ws-pagehero--strip + * { padding-top: calc(64px + 172px) !important; }
}
/* --strip v4: image starts 112 px under the buttons; banner colour ends 160 px down the image (96 tablet, 64 mobile) */
.ws-pagehero__strip { margin-top: 112px; margin-bottom: -320px; }
.ws-pagehero--strip + * { padding-top: calc(var(--section) + 320px) !important; }
@media (max-width: 1024px) {
  .ws-pagehero__strip { margin-top: 64px; margin-bottom: -224px; }
  .ws-pagehero--strip + * { padding-top: calc(80px + 224px) !important; }
}
@media (max-width: 640px) {
  .ws-pagehero__strip { margin-top: 40px; margin-bottom: -156px; }
  .ws-pagehero--strip + * { padding-top: calc(64px + 156px) !important; }
}
/* --strip with left-aligned text (no --center): one text column on the logo edge */
.ws-pagehero--strip:not(.ws-pagehero--center) .ws-pagehero__grid { grid-template-columns: 1fr; }
/* --strip: image a little higher, 80 px under the buttons (desktop) */
@media (min-width: 1025px) { .ws-pagehero__strip { margin-top: 80px; } }
/* Beige banner: eyebrow back to teal (primary, 6.2:1 on surface-beige) */
.ws-pagehero--beige .ws-pagehero__eyebrow { color: var(--primary); }
/* Breadcrumbs: a little less space above the text on desktop (40 px instead of 56/48) */
@media (min-width: 1025px) { .ws-pagehero .ws-crumbs, .ws-pagehero--center .ws-crumbs { margin-bottom: 40px; } }
/* --split: lead and buttons closer to the heading (desktop): 4/12 + 7/12, 48 px gap */
@media (min-width: 1025px) {
  .ws-pagehero--split .ws-pagehero__text { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 48px; }
}
/* Quote, beige (default): coral tone — coral quote circle and coral-toned avatar */
.ws-quote:not(.ws-quote--sage):not(.ws-quote--deep) .ws-quote__mark { background: var(--accent); color: var(--on-accent); }
.ws-quote:not(.ws-quote--sage):not(.ws-quote--deep) .ws-avatar { background: var(--accent-soft); color: var(--accent-strong); }
/* Light teal PageHero: lines on the light teal background use border-sage */
.ws-pagehero--tint .ws-crumbs, .ws-pagehero--white .ws-crumbs { border-color: var(--border-sage); }
.ws-pagehero--tint .ws-pagehero__facts, .ws-pagehero--white .ws-pagehero__facts { border-top-color: var(--border-sage); }

/* ---------- ServiceCard ---------- */
.ws-service { display: flex; flex-direction: column; box-sizing: border-box; padding: var(--space-8); background: var(--surface); border-radius: var(--radius-lg); color: var(--ink); font-family: var(--font-sans); }
.ws-service--outline { border: 1.5px solid var(--border-sage); }
.ws-service__head { display: flex; align-items: center; gap: var(--space-4); }
.ws-service__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.ws-service__icon svg { width: 28px; height: 28px; fill: currentColor; }
.ws-service__title { margin: 0; font: 700 1.375rem/1.875rem var(--font-display); color: var(--ink); text-wrap: balance; }
.ws-service__text { margin: var(--space-6) 0 0; font-size: 1.0625rem; line-height: 1.75rem; color: var(--ink-muted); max-width: var(--measure-body); text-wrap: pretty; }
.ws-service__offer { margin-top: var(--space-6); padding: var(--space-6); border-radius: var(--radius-md); background: var(--surface-alt); }
.ws-service--outline .ws-service__offer, .ws-section--sage .ws-service__offer { background: var(--primary-soft); }
.ws-service__label { margin: 0 0 var(--space-4); font: 600 0.8125rem/1rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.ws-service__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.ws-service__list li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 1rem; line-height: 1.5rem; color: var(--ink); }
.ws-service__list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: var(--primary); }
.ws-service__more { margin-top: auto; padding-top: var(--space-6); }
.ws-service__more .ws-btn { padding-left: 0; }
@media (max-width: 640px) {
  .ws-service { padding: var(--space-6); }
  .ws-service__offer { padding: var(--space-4); }
  .ws-service__icon { width: 48px; height: 48px; }
  .ws-service__icon svg { width: 24px; height: 24px; }
}

/* ---------- ServiceSection ---------- */
.ws-service-section .ws-section__inner > .ws-service-section__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-8); margin-bottom: var(--space-12); }
.ws-service-section__intro .ws-section__actions { margin-top: 0; flex: none; }
.ws-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.ws-service-section__foot { margin-top: var(--space-8); font-family: var(--font-sans); display: flex; align-items: center; justify-content: center; gap: var(--space-4); flex-wrap: wrap; font-size: 1.0625rem; line-height: 1.75rem; color: var(--ink); }
@media (max-width: 1024px) {
  .ws-service-section .ws-section__inner > .ws-service-section__intro { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .ws-service-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .ws-service-section__foot { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) { .ws-service-section__intro .ws-section__actions { align-self: stretch; } }
/* ServiceCard on a coloured band (default card): checklist without a panel background */
.ws-service:not(.ws-service--outline) .ws-service__offer { background: none; padding: 0; border-radius: 0; }
/* ServiceCard: square icon tile with rounded corners */
.ws-service__icon { border-radius: var(--radius-lg); }

/* --long: PageHero with a 3–4 line lead. Slightly smaller lead (18/30) at full 60ch measure;
   in the media layout text and image share the width (6/12 + 6/12) so the lead keeps ~60 characters a line. */
.ws-pagehero--long .ws-pagehero__lead { font-size: 1.125rem; line-height: 1.875rem; max-width: var(--measure-lead, 60ch); }
@media (min-width: 1025px) {
  .ws-pagehero--long.ws-pagehero--media .ws-pagehero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; }
  .ws-pagehero--long.ws-pagehero--split .ws-pagehero__lead { margin-top: 10px; }
}
@media (max-width: 640px) { .ws-pagehero--long .ws-pagehero__lead { font-size: 1.0625rem; line-height: 1.75rem; } }
@media (min-width: 1025px) { .ws-pagehero--long.ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__text { padding-bottom: 32px; } }
/* --long with image: more air under the buttons (80 px); the image stretches to the text height and still hangs 64 px below */
@media (min-width: 1025px) {
  .ws-pagehero--long.ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__text { padding-bottom: 80px; }
  .ws-pagehero--long.ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__media { align-self: stretch; display: flex; }
  .ws-pagehero--long.ws-pagehero--media.ws-pagehero--overhang .ws-pagehero__media img { aspect-ratio: auto; height: 100%; min-height: 0; }
}

/* ---------- FeaturePanel ---------- */
.ws-featurepanel .ws-section__intro { max-width: var(--measure); margin: 0 auto var(--space-12); text-align: center; }
.ws-featurepanel .ws-section__title, .ws-featurepanel .ws-section__lead { margin-left: auto; margin-right: auto; }
.ws-featurepanel__panel { box-sizing: border-box; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 64px; padding: 64px; background: var(--surface); border-radius: var(--radius-xl); }
.ws-featurepanel__item { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: var(--space-4); row-gap: var(--space-4); align-items: center; align-content: start; font-family: var(--font-sans); }
.ws-featurepanel__icon { display: inline-flex; width: 32px; height: 32px; color: var(--primary); }
.ws-featurepanel__icon svg { width: 32px; height: 32px; fill: currentColor; }
.ws-featurepanel__title { margin: 0; font: 700 1.375rem/1.875rem var(--font-display); color: var(--ink); text-wrap: balance; }
.ws-featurepanel__text { grid-column: 2; margin: 0; font-size: 1.0625rem; line-height: 1.75rem; color: var(--ink-muted); max-width: var(--measure-card); text-wrap: pretty; }
.ws-featurepanel__actions { display: flex; justify-content: center; gap: var(--space-4); margin-top: var(--space-12); }
/* --tiles: icons in a 48 px square tile (primary-soft, radius-lg), like ServiceCard */
.ws-featurepanel--tiles .ws-featurepanel__item { grid-template-columns: 48px minmax(0, 1fr); }
.ws-featurepanel--tiles .ws-featurepanel__icon { width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: var(--radius-lg); background: var(--primary-soft); }
.ws-featurepanel--tiles .ws-featurepanel__icon svg { width: 26px; height: 26px; }
@media (max-width: 1024px) {
  .ws-featurepanel__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding: 48px; }
}
@media (max-width: 640px) {
  .ws-featurepanel__panel { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; border-radius: var(--radius-lg); }
  .ws-featurepanel__actions { flex-direction: column; }
  .ws-featurepanel__actions .ws-btn { width: 100%; }
}

/* ---------- Flow (steps) ---------- */
.ws-flow .ws-section__intro { max-width: var(--measure); margin: 0 auto var(--space-12); text-align: center; }
.ws-flow .ws-section__title, .ws-flow .ws-section__lead { margin-left: auto; margin-right: auto; }
.ws-flow__panel { box-sizing: border-box; padding: 56px 64px; background: var(--surface); border-radius: var(--radius-xl); }
.ws-flow__list { list-style: none; margin: 0; padding: 0; counter-reset: flow; display: grid; grid-template-columns: repeat(var(--flow-cols, 4), minmax(0, 1fr)); gap: 32px; font-family: var(--font-sans); }
.ws-flow__step { position: relative; counter-increment: flow; }
.ws-flow__step::before { content: counter(flow); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font: 700 1.25rem/1 var(--font-display); position: relative; z-index: 1; }
.ws-flow__step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 64px; right: -16px; height: 2px; background: var(--border-sage); }
.ws-flow__title { margin: var(--space-6) 0 0; font: 700 1.25rem/1.75rem var(--font-display); color: var(--ink); text-wrap: balance; }
.ws-flow__text { margin: var(--space-2) 0 0; font-size: 1rem; line-height: 1.625rem; color: var(--ink-muted); text-wrap: pretty; }
.ws-flow__media { margin: 56px 0 0; padding: 40px 40px 0; border-radius: var(--radius-lg); background: var(--primary-soft); overflow: hidden; }
.ws-flow__media img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: left top; border-radius: var(--radius-md) var(--radius-md) 0 0; box-shadow: var(--shadow-card); }
.ws-flow__actions { display: flex; justify-content: center; gap: var(--space-4); margin-top: var(--space-12); }

/* Vertical: numbered timeline */
.ws-flow--vertical .ws-flow__list { grid-template-columns: 1fr; gap: 40px; }
.ws-flow--vertical .ws-flow__step { padding-left: 72px; min-height: 48px; }
.ws-flow--vertical .ws-flow__step::before { position: absolute; left: 0; top: 0; }
.ws-flow--vertical .ws-flow__step:not(:last-child)::after { top: 56px; bottom: -32px; left: 23px; right: auto; width: 2px; height: auto; }
.ws-flow--vertical .ws-flow__title { margin-top: 10px; }
.ws-flow__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.ws-flow__split .ws-section__intro { margin: 0; text-align: left; }
.ws-flow__split .ws-section__title, .ws-flow__split .ws-section__lead { margin-left: 0; }
.ws-flow__split .ws-section__actions { margin-top: var(--space-8); }
.ws-flow__photo { margin: 0; }
.ws-flow__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center; border-radius: var(--radius-xl); }
.ws-flow--photo .ws-flow__split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.ws-flow--photo .ws-section__intro { margin-bottom: var(--space-12); }

@media (max-width: 1024px) {
  .ws-flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .ws-flow__step:not(:last-child)::after { display: none; }
  .ws-flow--vertical .ws-flow__list { grid-template-columns: 1fr; }
  .ws-flow--vertical .ws-flow__step:not(:last-child)::after { display: block; }
  .ws-flow__panel { padding: 48px; }
  .ws-flow__split, .ws-flow--photo .ws-flow__split { grid-template-columns: 1fr; gap: 48px; }
  .ws-flow__photo img { aspect-ratio: 16 / 10; }
  .ws-flow__media img { height: 280px; }
}
@media (max-width: 640px) {
  .ws-flow__list { grid-template-columns: 1fr; gap: 32px; }
  .ws-flow__step { padding-left: 64px; min-height: 40px; }
  .ws-flow__step::before { position: absolute; left: 0; top: 0; width: 40px; height: 40px; font-size: 1.125rem; }
  .ws-flow__step:not(:last-child)::after { display: block; top: 48px; bottom: -24px; left: 19px; right: auto; width: 2px; height: auto; }
  .ws-flow--vertical .ws-flow__step { padding-left: 64px; }
  .ws-flow--vertical .ws-flow__step:not(:last-child)::after { left: 19px; top: 48px; bottom: -24px; }
  .ws-flow__title { margin-top: 6px; }
  .ws-flow__panel { padding: 32px 24px; border-radius: var(--radius-lg); }
  .ws-flow__media { padding: 24px 24px 0; margin-top: 32px; }
  .ws-flow__media img { height: 200px; }
  .ws-flow__actions { flex-direction: column; }
  .ws-flow__actions .ws-btn { width: 100%; }
}
.ws-flow:not(.ws-flow--vertical) .ws-section__lead { text-align: center; }
/* FeaturePanel --links: every item is a link to the feature page, with «Read more» at the bottom */
.ws-featurepanel--links .ws-featurepanel__panel { gap: 24px 32px; padding: 40px; }
.ws-featurepanel--links .ws-featurepanel__item { grid-template-rows: auto 1fr auto; align-content: stretch; padding: 24px; margin: 0; border-radius: var(--radius-lg); color: inherit; text-decoration: none; transition: background-color .2s ease; }
.ws-featurepanel--links .ws-featurepanel__text { align-self: start; }
.ws-featurepanel--links .ws-featurepanel__item:hover { background: var(--primary-soft); }
.ws-featurepanel--links .ws-featurepanel__item:hover .ws-featurepanel__title { color: var(--primary); }
.ws-featurepanel--links .ws-featurepanel__item:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ws-featurepanel__more { grid-column: 2; display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); font: 600 1rem/1.5rem var(--font-sans); color: var(--primary); }
.ws-featurepanel__more svg { width: 20px; height: 20px; fill: currentColor; transition: transform .2s ease; }
.ws-featurepanel--links .ws-featurepanel__item:hover .ws-featurepanel__more svg { transform: translateX(3px); }
.ws-featurepanel--links .ws-featurepanel__item:hover .ws-featurepanel__more span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1024px) { .ws-featurepanel--links .ws-featurepanel__panel { gap: 16px; padding: 32px; } }
@media (max-width: 640px) { .ws-featurepanel--links .ws-featurepanel__panel { gap: 8px; padding: 16px; } .ws-featurepanel--links .ws-featurepanel__item { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .ws-featurepanel--links .ws-featurepanel__item, .ws-featurepanel__more svg { transition: none; } }
/* FeaturePanel --links: framed boxes */
.ws-featurepanel--links .ws-featurepanel__item { border: 1px solid var(--border-sage); }
.ws-featurepanel--links .ws-featurepanel__item:hover { border-color: var(--primary); }
/* FeaturePanel --links: no white panel, each card filled */
.ws-featurepanel--links .ws-featurepanel__panel { background: none; padding: 0; border-radius: 0; box-shadow: none; gap: 24px; }
.ws-featurepanel--links .ws-featurepanel__item { background: var(--surface); padding: 32px; }
@media (max-width: 1024px) { .ws-featurepanel--links .ws-featurepanel__panel { gap: 16px; } .ws-featurepanel--links .ws-featurepanel__item { padding: 24px; } }
/* Linked compact FeatureCard (Explore other features): «Read more» sits at the bottom */
a.ws-feature-card--compact .ws-feature-card__text { flex: 1; }
a.ws-feature-card--compact .ws-feature-card__link { margin-top: var(--space-2); }
/* ---------- FeatureLinks: icon + name only, clearly clickable ---------- */
.ws-featurelinks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.ws-featurelinks__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-featurelinks__item { display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 20px 20px 20px 24px; box-sizing: border-box; background: var(--surface); border: 1px solid var(--border-sage); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.ws-featurelinks__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-lg); background: var(--primary-soft); color: var(--primary); }
.ws-featurelinks__icon svg { width: 26px; height: 26px; fill: currentColor; }
.ws-featurelinks__title { flex: 1; margin: 0; font: 700 1.125rem/1.625rem var(--font-display, "Plus Jakarta Sans", sans-serif); color: inherit; }
.ws-featurelinks__arrow { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-sage); color: var(--primary); transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.ws-featurelinks__arrow svg { width: 20px; height: 20px; fill: currentColor; }
.ws-featurelinks__item:hover { border-color: var(--primary); box-shadow: var(--shadow-card, 0 2px 8px rgba(0,41,41,.08)); }
.ws-featurelinks__item:hover .ws-featurelinks__title { color: var(--primary); }
.ws-featurelinks__item:hover .ws-featurelinks__arrow { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateX(3px); }
.ws-featurelinks__item:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ws-featurelinks__actions { display: flex; justify-content: center; gap: 16px; margin-top: 48px; }
@media (max-width: 1024px) { .ws-featurelinks__grid, .ws-featurelinks__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ws-featurelinks__grid, .ws-featurelinks__grid--4 { grid-template-columns: 1fr; gap: 12px; } .ws-featurelinks__item { min-height: 72px; padding: 12px 12px 12px 16px; } .ws-featurelinks__actions { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .ws-featurelinks__item, .ws-featurelinks__arrow { transition: none; } .ws-featurelinks__item:hover .ws-featurelinks__arrow { transform: none; } }
/* preview-only hover demo */
.ws-featurelinks__item.is-hover { border-color: var(--primary); box-shadow: var(--shadow-card, 0 2px 8px rgba(0,41,41,.08)); }
.ws-featurelinks__item.is-hover .ws-featurelinks__title { color: var(--primary); }
.ws-featurelinks__item.is-hover .ws-featurelinks__arrow { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateX(3px); }
.ws-featurelinks .ws-section__intro { max-width: var(--measure); margin: 0 auto var(--space-12); text-align: center; }
.ws-featurelinks .ws-section__title, .ws-featurelinks .ws-section__lead { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .ws-featurelinks .ws-section__intro { margin-bottom: var(--space-8); } }
/* FlowHorizontal: number, heading and text centred (desktop and tablet; mobile stays a left-aligned timeline) */
@media (min-width: 641px) {
  .ws-flow:not(.ws-flow--vertical) .ws-flow__step { text-align: center; }
  .ws-flow:not(.ws-flow--vertical) .ws-flow__step::before { margin: 0 auto; }
  .ws-flow:not(.ws-flow--vertical) .ws-flow__step:not(:last-child)::after { left: calc(50% + 32px); right: -50%; }
  .ws-flow:not(.ws-flow--vertical) .ws-flow__text { max-width: 30ch; margin-left: auto; margin-right: auto; }
}
/* Dark green band (ws-section--deep): light intro text, white cards */
.ws-section--deep .ws-section__eyebrow { color: var(--on-deep-muted); }
.ws-section--deep .ws-section__title { color: var(--on-deep); }
.ws-section--deep .ws-section__lead { color: var(--on-deep); }
.ws-section--deep a.ws-feature-card:hover { box-shadow: 0 0 0 2px var(--on-deep-muted); }
.ws-section--deep a.ws-feature-card:focus-visible { outline: 2px solid var(--on-deep); outline-offset: 3px; }
/* Flow --icons: large icon circle with a numbered badge, steps straight on the section (no panel) */
.ws-flow--icons .ws-flow__step::before { content: none; }
.ws-flow__icon { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); z-index: 1; }
.ws-flow__icon > svg { width: 40px; height: 40px; fill: currentColor; }
.ws-flow__num { position: absolute; right: -10px; bottom: 2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-strong); color: #fff; box-shadow: 0 0 0 3px var(--surface); font: 700 0.875rem/1 var(--font-display); letter-spacing: .02em; }
.ws-flow--icons .ws-flow__title { margin-top: var(--space-6); }
@media (min-width: 641px) {
  .ws-flow.ws-flow--icons:not(.ws-flow--vertical) .ws-flow__step:not(:last-child)::after { top: 43px; left: calc(50% + 68px); right: calc(-50% + 60px); background: var(--border-strong, var(--border-sage)); }
}
@media (max-width: 640px) {
  .ws-flow--icons .ws-flow__step { padding-left: 88px; min-height: 64px; }
  .ws-flow--icons .ws-flow__icon { position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: 0; }
  .ws-flow--icons .ws-flow__icon > svg { width: 30px; height: 30px; }
  .ws-flow--icons .ws-flow__num { width: 28px; height: 28px; right: -8px; bottom: -2px; font-size: .75rem; }
  .ws-flow--icons .ws-flow__step:not(:last-child)::after { top: 72px; bottom: -24px; left: 31px; }
  .ws-flow--icons .ws-flow__title { margin-top: 18px; }
}
/* Flow: screenshot frame runs to the bottom edge of the white panel */
.ws-flow__panel:has(> .ws-flow__media:last-child) { padding-bottom: 0; overflow: hidden; }
.ws-flow__panel > .ws-flow__media:last-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
/* Flow: screenshot without a coloured frame, straight in the white panel */
.ws-flow__media { background: none; padding: 0; border-radius: 0; }
.ws-flow__media img { border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
@media (max-width: 640px) { .ws-flow__media { padding: 0; } }
/* FlowVertical with icon steps (ws-flow--vertical + ws-flow--icons): light orange icon circles with a number badge, timeline on the right, no panel */
@media (min-width: 641px) {
  .ws-flow--vertical.ws-flow--icons .ws-flow__list { gap: 40px; }
  .ws-flow--vertical.ws-flow--icons .ws-flow__step { padding-left: 112px; min-height: 96px; }
  .ws-flow--vertical.ws-flow--icons .ws-flow__icon { position: absolute; left: 0; top: 0; width: 80px; height: 80px; margin: 0; }
  .ws-flow--vertical.ws-flow--icons .ws-flow__icon > svg { width: 36px; height: 36px; }
  .ws-flow--vertical.ws-flow--icons .ws-flow__step:not(:last-child)::after { display: block; top: 88px; bottom: -32px; left: 39px; right: auto; width: 2px; height: auto; background: var(--border-sage); }
  .ws-flow--vertical.ws-flow--icons .ws-flow__title { margin-top: 12px; }
  .ws-flow--vertical.ws-flow--icons .ws-flow__text { max-width: 44ch; }
}
/* FlowVertical icon steps: number badge at the top right of the circle */
.ws-flow.ws-flow--vertical.ws-flow--icons .ws-flow__num { top: -4px; bottom: auto; right: -10px; }
@media (max-width: 640px) { .ws-flow.ws-flow--vertical.ws-flow--icons .ws-flow__num { top: -4px; bottom: auto; right: -8px; } }
/* ---------- LogoWall: customer logos under a centred intro ---------- */
.ws-logos .ws-section__intro { max-width: var(--measure); margin: 0 auto var(--space-12); text-align: center; }
.ws-logos .ws-section__title, .ws-logos .ws-section__lead { margin-left: auto; margin-right: auto; }
.ws-logos__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.ws-logos__item { display: grid; place-items: center; height: 112px; padding: 20px 28px; box-sizing: border-box; background: var(--surface); border: 1px solid var(--border-sage); border-radius: var(--radius-lg); }
.ws-logos__item img { display: block; max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.ws-logos__foot { margin: var(--space-12) 0 0; text-align: center; }
/* --lines: no fill, hairlines between the logos */
.ws-logos--lines .ws-logos__grid { gap: 1px; background: var(--border); }
.ws-logos--lines .ws-logos__item { border: 0; border-radius: 0; height: 128px; }
@media (max-width: 1024px) {
  .ws-logos__grid { gap: 12px; }
  .ws-logos__item { height: 96px; padding: 16px 18px; }
  .ws-logos__item img { max-height: 44px; }
  .ws-logos--lines .ws-logos__item { height: 112px; }
}
@media (max-width: 640px) {
  .ws-logos .ws-section__intro { margin-bottom: var(--space-8); }
  .ws-logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ws-logos__item { height: 88px; padding: 16px; }
  .ws-logos__item img { max-height: 40px; }
  .ws-logos--lines .ws-logos__grid { gap: 1px; }
  .ws-logos--lines .ws-logos__item { height: 96px; }
}
/* LogoWall default: one white box with dividers between the logos */
.ws-logos:not(.ws-logos--lines) .ws-logos__grid { gap: 1px; background: var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 0 0 1px var(--border); }
.ws-logos:not(.ws-logos--lines) .ws-logos__item { border: 0; border-radius: 0; height: 128px; padding: 24px 32px; }
@media (max-width: 1024px) { .ws-logos:not(.ws-logos--lines) .ws-logos__grid { gap: 1px; } .ws-logos:not(.ws-logos--lines) .ws-logos__item { height: 112px; padding: 16px 20px; } }
@media (max-width: 640px) { .ws-logos:not(.ws-logos--lines) .ws-logos__grid { gap: 1px; border-radius: var(--radius-lg); } .ws-logos:not(.ws-logos--lines) .ws-logos__item { height: 96px; padding: 16px; } }
.ws-logos .ws-section__lead { text-align: center; }
/* LogoWall --lines: a frame around the whole grid */
.ws-logos--lines .ws-logos__grid { border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
@media (max-width: 640px) { .ws-logos--lines .ws-logos__grid { border-radius: var(--radius-lg); } }
/* LogoWall --plain: logos straight on the section, no frame and no dividers */
/* ---------- FeatureIntro: what the feature is and why (under the PageHero on feature pages) + «With this feature you can» ---------- */
.ws-fintro__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.ws-fintro__title { margin: 0; font: 700 2.5rem/3rem var(--font-display); letter-spacing: -0.015em; color: var(--ink); max-width: 16ch; text-wrap: balance; }
.ws-fintro__body { font: 400 1.0625rem/1.75rem var(--font-sans); color: var(--ink); }
.ws-fintro__body p { margin: 0 0 var(--space-4); max-width: var(--measure-body); text-wrap: pretty; }
.ws-fintro__body p:first-child { font-size: 1.25rem; line-height: 2rem; }
.ws-fintro__body p:last-child { margin-bottom: 0; }
.ws-fintro__body a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ws-fintro__body a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }
/* Benefits */
.ws-fintro__benefits { margin-top: 64px; padding: 48px; border-radius: var(--radius-xl); background: var(--primary-soft); }
.ws-fintro__label { margin: 0 0 var(--space-6); font: 700 1.375rem/1.875rem var(--font-display); color: var(--ink); }
.ws-fintro__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 48px; margin: 0; padding: 0; list-style: none; }
.ws-fintro__item { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; font: 500 1.0625rem/1.75rem var(--font-sans); color: var(--ink); }
.ws-fintro__check { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--on-primary); margin-top: -2px; }
.ws-fintro__check svg { width: 20px; height: 20px; fill: currentColor; }
/* --aside: benefits in a white card beside the text */
.ws-fintro--aside .ws-fintro__split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ws-fintro--aside .ws-fintro__title { margin-bottom: var(--space-6); max-width: 20ch; }
.ws-fintro--aside .ws-fintro__benefits { margin-top: 0; padding: 40px; background: var(--surface); border: 1px solid var(--border-sage); box-shadow: var(--shadow-soft); }
.ws-fintro--aside .ws-fintro__list { grid-template-columns: 1fr; gap: 0; }
.ws-fintro--aside .ws-fintro__item { padding: 16px 0; border-top: 1px solid var(--border); }
.ws-fintro--aside .ws-fintro__item:first-child { border-top: 0; padding-top: 0; }
.ws-fintro--aside .ws-fintro__item:last-child { padding-bottom: 0; }
.ws-fintro--aside .ws-fintro__check { background: var(--primary-soft); color: var(--primary); }
/* --card: benefits in one wide white card with dividers, light teal check circles */
@media (max-width: 1024px) {
  .ws-fintro__split, .ws-fintro--aside .ws-fintro__split { grid-template-columns: 1fr; gap: 24px; }
  .ws-fintro--aside .ws-fintro__split { gap: 40px; }
  .ws-fintro__benefits { margin-top: 48px; padding: 40px; }
}
@media (max-width: 640px) {
  .ws-fintro__title { font-size: 1.75rem; line-height: 2.25rem; }
  .ws-fintro__body p:first-child { font-size: 1.125rem; line-height: 1.75rem; }
  .ws-fintro__benefits, .ws-fintro--aside .ws-fintro__benefits { margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); }
  .ws-fintro--aside .ws-fintro__benefits { margin-top: 0; }
  .ws-fintro__list { grid-template-columns: 1fr; gap: 16px; }
}

.ws-fintro--card .ws-fintro__benefits { padding: 40px 48px; background: var(--surface); border: 1px solid var(--border-sage); box-shadow: none; }
.ws-fintro--card .ws-fintro__label { margin-bottom: var(--space-4); }
.ws-fintro--card .ws-fintro__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ws-fintro--card .ws-fintro__item { padding: 16px 0; border-top: 1px solid var(--border); }
.ws-fintro--card .ws-fintro__item:nth-child(-n+2) { border-top: 0; }
.ws-fintro--card .ws-fintro__check { background: var(--primary-soft); color: var(--primary); }
@media (max-width: 640px) {
  .ws-fintro--card .ws-fintro__benefits { padding: 24px; }
  .ws-fintro--card .ws-fintro__list { grid-template-columns: 1fr; gap: 0; }
  .ws-fintro--card .ws-fintro__item:nth-child(2) { border-top: 1px solid var(--border); }
}
/* FeatureIntro --card: three checkpoints per row on desktop */
.ws-fintro--card .ws-fintro__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.ws-fintro--card .ws-fintro__item:nth-child(3) { border-top: 0; }
@media (max-width: 1024px) {
  .ws-fintro--card .ws-fintro__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-fintro--card .ws-fintro__item:nth-child(3) { border-top: 1px solid var(--border); }
}
@media (max-width: 640px) { .ws-fintro--card .ws-fintro__list { grid-template-columns: 1fr; } }
/* ---------- AccordionMedia: expand/collapse list beside an image ---------- */
.ws-accmedia__split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.ws-accmedia--reverse .ws-accmedia__media { order: -1; }
.ws-accmedia .ws-section__intro { margin-bottom: var(--space-8); }
.ws-accmedia__list { border-top: 1px solid var(--border-sage); }
.ws-accmedia__item { border-bottom: 1px solid var(--border-sage); }
.ws-accmedia__item > summary { display: flex; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 700 1.25rem/1.75rem var(--font-display); color: var(--ink); }
.ws-accmedia__item > summary::-webkit-details-marker { display: none; }
.ws-accmedia__item > summary:hover { color: var(--primary); }
.ws-accmedia__item > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.ws-accmedia__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--primary-soft); color: var(--primary); }
.ws-accmedia__icon svg { width: 22px; height: 22px; fill: currentColor; }
.ws-accmedia__label { flex: 1; }
.ws-accmedia__chev { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-sage); color: var(--primary); transition: transform .2s ease, background-color .2s ease; }
.ws-accmedia__chev svg { width: 20px; height: 20px; fill: currentColor; }
.ws-accmedia__item[open] > summary { color: var(--ink); }
.ws-accmedia__item[open] .ws-accmedia__chev { transform: rotate(180deg); background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.ws-accmedia__body { padding: 0 48px 24px 56px; font: 400 1.0625rem/1.75rem var(--font-sans); color: var(--ink-muted); max-width: var(--measure-body); }
.ws-accmedia__body p { margin: 0; text-wrap: pretty; }
.ws-accmedia__body a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ws-accmedia__media { margin: 0; }
.ws-accmedia__media img { display: block; width: 100%; height: auto; border-radius: var(--radius-xl); }
.ws-accmedia__media--shot { padding: 40px 0 0 40px; border-radius: var(--radius-xl); background: var(--primary-soft); overflow: hidden; }
.ws-accmedia__media--shot img { aspect-ratio: 4 / 3.2; object-fit: cover; object-position: left top; border-radius: var(--radius-md) 0 0 0; box-shadow: var(--shadow-card); }
.ws-accmedia__media--photo img { aspect-ratio: 4 / 5; object-fit: cover; }

@media (max-width: 1024px) {
  .ws-accmedia__split { grid-template-columns: 1fr; gap: 40px; }
  .ws-accmedia--reverse .ws-accmedia__media { order: 0; }
  .ws-accmedia__media--photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .ws-accmedia__item > summary { font-size: 1.125rem; line-height: 1.625rem; padding: 16px 0; gap: 12px; }
  .ws-accmedia__icon { width: 36px; height: 36px; }
  .ws-accmedia__body { padding: 0 0 20px 48px; }
  .ws-accmedia__media--shot { padding: 24px 0 0 24px; border-radius: var(--radius-lg); }
  .ws-accmedia__media img { border-radius: var(--radius-lg); }
}
@media (prefers-reduced-motion: reduce) { .ws-accmedia__chev { transition: none; } }
/* ---------- Label (tag): small rounded status or category label, not clickable ---------- */
.ws-tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.ws-tag {
  --tag-bg: var(--primary-soft); --tag-fg: var(--primary); --tag-line: transparent;
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; box-sizing: border-box;
  border-radius: var(--radius-full); background: var(--tag-bg); color: var(--tag-fg); box-shadow: inset 0 0 0 1px var(--tag-line);
  font: 600 0.8125rem/1 var(--font-sans); letter-spacing: .01em; white-space: nowrap; vertical-align: middle;
}
.ws-tag svg { width: 16px; height: 16px; fill: currentColor; flex: none; margin-left: -2px; }
.ws-tag--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.ws-tag--sm { height: 24px; padding: 0 10px; font-size: 0.75rem; gap: 4px; }
.ws-tag--sm svg { width: 14px; height: 14px; }
/* Main colours */
.ws-tag--green        { --tag-bg: var(--primary-soft);  --tag-fg: var(--primary); }          /* 6.3:1 */
.ws-tag--green-dark   { --tag-bg: var(--primary-deep);  --tag-fg: var(--on-deep); }          /* 10.1:1 */
.ws-tag--orange       { --tag-bg: var(--accent-soft);   --tag-fg: var(--accent-strong); }    /* 6.3:1 */
.ws-tag--orange-dark  { --tag-bg: #a64b14; --tag-fg: #fff; }                    /* burnt orange, less red than accent-strong: 5.8:1 */
.ws-tag--neutral      { --tag-bg: var(--surface-alt);   --tag-fg: var(--ink-muted); }        /* 6.3:1 */
/* Other colours */
.ws-tag--teal         { --tag-bg: var(--primary);       --tag-fg: var(--on-primary); }       /* 6.8:1 */
.ws-tag--coral        { --tag-bg: var(--accent);        --tag-fg: var(--on-accent); }        /* 6.1:1 */
.ws-tag--beige        { --tag-bg: var(--surface-beige); --tag-fg: var(--accent-strong); }    /* 7.0:1 */
.ws-tag--sage         { --tag-bg: color-mix(in srgb, var(--green-strong) 12%, #fff); --tag-fg: var(--green-strong); } /* 4.6:1 */
.ws-tag--error        { --tag-bg: color-mix(in srgb, var(--error) 10%, #fff); --tag-fg: var(--error); }               /* 5.5:1 */
.ws-tag--outline      { --tag-bg: transparent;           --tag-fg: var(--ink-muted); --tag-line: var(--border-sage); }
.ws-tag--white        { --tag-bg: var(--surface);       --tag-fg: var(--primary-deep); }     /* on dark bands */
.ws-tag--ghost        { --tag-bg: transparent;           --tag-fg: var(--on-deep); --tag-line: rgba(255,255,255,.55); } /* on dark bands */
/* FlowVertical icon steps: intro aligned higher, starting level with the first step */
@media (min-width: 1025px) {
  .ws-flow--vertical.ws-flow--icons .ws-flow__split { align-items: start; }
  .ws-flow--vertical.ws-flow--icons .ws-flow__split > .ws-section__intro { padding-top: 24px; }
}
/* Flow --overhang: the screenshot breaks out of the white panel and below the coloured band */
.ws-flow--overhang { --flow-hang: 96px; position: relative; margin-bottom: var(--flow-hang); }
.ws-flow--overhang .ws-flow__panel, .ws-flow--overhang .ws-flow__panel:has(> .ws-flow__media:last-child) { display: flow-root; padding-bottom: 0; overflow: visible; }
.ws-flow--overhang .ws-flow__media:last-child { position: relative; z-index: 1; margin-bottom: calc(-1 * (var(--section) + var(--flow-hang))); }
.ws-flow--overhang .ws-flow__media:last-child img { height: 440px; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
@media (max-width: 1024px) { .ws-flow--overhang { --flow-hang: 64px; } .ws-flow--overhang .ws-flow__media:last-child { margin-bottom: calc(-1 * (80px + var(--flow-hang))); } .ws-flow--overhang .ws-flow__media:last-child img { height: 320px; } }
@media (max-width: 640px) { .ws-flow--overhang { --flow-hang: 40px; } .ws-flow--overhang .ws-flow__media:last-child { margin-bottom: calc(-1 * (64px + var(--flow-hang))); } .ws-flow--overhang .ws-flow__media:last-child img { height: 220px; } }
/* Icon tiles on surface-alt bands: primary-soft disappears there, so the tile is white */
.ws-section--alt .ws-accmedia__icon, .ws-section--sage .ws-accmedia__icon { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-sage); }
.ws-section--alt .ws-accmedia__chev, .ws-section--sage .ws-accmedia__chev { background: var(--surface); }
.ws-section--alt .ws-accmedia__item[open] .ws-accmedia__chev, .ws-section--sage .ws-accmedia__item[open] .ws-accmedia__chev { background: var(--primary); }
/* ---------- Checklist: intro on one side, a checklist with divider lines on the other ---------- */
.ws-checks { --ck-line: var(--border-sage); --ck-icon: var(--primary); --ck-text: var(--ink); }
.ws-section--deep.ws-checks, .ws-checks.ws-section--primary { --ck-line: rgba(255,255,255,.2); --ck-icon: var(--on-deep-muted); --ck-text: var(--on-deep); }
.ws-checks.ws-section--primary { --ck-icon: var(--on-primary-muted); background: var(--primary); }
.ws-section--primary .ws-section__eyebrow { color: var(--on-primary-muted); }
.ws-section--primary .ws-section__title { color: var(--on-primary); }
.ws-section--primary .ws-section__lead { color: var(--on-primary); }
.ws-checks__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; align-items: start; }
.ws-checks--media.ws-checks--reverse .ws-checks__split > :first-child { order: 2; } /* Checklist without image: the title is always on the left */
.ws-checks .ws-section__intro { margin: 0; }
.ws-checks .ws-section__lead { font-size: 1.0625rem; line-height: 1.75rem; }
.ws-checks .ws-section__actions { margin-top: var(--space-8); }
.ws-checks__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ck-line); }
.ws-checks__list li { display: grid; grid-template-columns: 24px 1fr; gap: 20px; align-items: start; padding: 20px 0; border-top: 1px solid var(--ck-line); font: 500 1.0625rem/1.75rem var(--font-sans); color: var(--ck-text); text-wrap: pretty; }
.ws-checks__list svg { width: 24px; height: 24px; margin-top: 2px; fill: var(--ck-icon); }
/* Media version: an image on one side, eyebrow, title and checklist on the other */
.ws-checks--media .ws-checks__split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.ws-checks--media .ws-section__intro { margin-bottom: var(--space-8); }
.ws-checks__media { margin: 0; }
.ws-checks__media img { display: block; width: 100%; border-radius: var(--radius-xl); }
.ws-checks__media--photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.ws-checks__media--shot { padding: 40px 0 0 40px; border-radius: var(--radius-xl); background: var(--primary-soft); overflow: hidden; }
.ws-section--alt .ws-checks__media--shot, .ws-section--beige .ws-checks__media--shot { background: var(--surface); }
.ws-section--deep .ws-checks__media--shot, .ws-section--primary .ws-checks__media--shot { background: rgba(255,255,255,.08); }
.ws-checks__media--shot img { aspect-ratio: 4 / 3.3; object-fit: cover; object-position: left top; border-radius: var(--radius-md) 0 0 0; box-shadow: var(--shadow-card); }
@media (max-width: 1024px) {
  .ws-checks__split, .ws-checks--media .ws-checks__split { grid-template-columns: 1fr; gap: 40px; }
  .ws-checks--reverse .ws-checks__split > :first-child { order: 0; }
  .ws-checks__media--photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .ws-checks__list li { gap: 14px; padding: 16px 0; font-size: 1rem; line-height: 1.625rem; }
  .ws-checks__media--shot { padding: 24px 0 0 24px; border-radius: var(--radius-lg); }
  .ws-checks__media img { border-radius: var(--radius-lg); }
  .ws-checks .ws-section__actions { flex-direction: column; }
  .ws-checks .ws-section__actions .ws-btn { width: 100%; }
}
/* AccordionMedia without icons: the body lines up with the label */
.ws-accmedia__item:not(:has(.ws-accmedia__icon)) .ws-accmedia__body { padding-left: 0; }
.ws-accmedia__item:not(:has(.ws-accmedia__icon)) > summary { padding: 24px 0; }
/* AccordionText: title, lead and button on one side, the expandable list on the other (no image) */
.ws-accmedia--text .ws-accmedia__split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.ws-accmedia--text .ws-section__intro { margin: 0; }
.ws-accmedia--text .ws-section__lead { font-size: 1.0625rem; line-height: 1.75rem; }
.ws-accmedia--text .ws-section__actions { margin-top: var(--space-8); }
.ws-section--beige .ws-accmedia__icon { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-sage); }
.ws-section--beige .ws-accmedia__chev { background: var(--surface); }
.ws-section--beige .ws-accmedia__item[open] .ws-accmedia__chev { background: var(--primary); }
@media (max-width: 1024px) { .ws-accmedia--text .ws-accmedia__split { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 640px) { .ws-accmedia--text .ws-section__actions { flex-direction: column; } .ws-accmedia--text .ws-section__actions .ws-btn { width: 100%; } }
/* Never light green (primary-soft) on beige or light orange: screenshot frames are white there */
.ws-section--beige .ws-accmedia__media--shot, .ws-section--orange .ws-accmedia__media--shot,
.ws-section--alt .ws-accmedia__media--shot, .ws-section--sage .ws-accmedia__media--shot,
.ws-section--orange .ws-checks__media--shot { background: var(--surface); }
/* AccordionMedia and ChecklistMedia: the image lines up with the top of the text (the eyebrow), so it stays still when items open */
.ws-accmedia__split, .ws-checks--media .ws-checks__split { align-items: start; }
/* ChecklistMedia: text centred against the image; when the list is taller than the image, the image sits at the top */
.ws-checks--media .ws-checks__split > div { align-self: center; }
.ws-checks--media .ws-checks__split > .ws-checks__media { align-self: start; }
/* ---------- StatBand: one big number with a statement, and an info card beside it ---------- */
.ws-stat { --st-eyebrow: var(--primary); --st-num: var(--primary-deep); --st-line: var(--primary); --st-text: var(--ink); --st-card-bg: var(--surface); --st-card-line: var(--border-sage); --st-card-title: var(--ink); --st-card-text: var(--ink-muted); --st-divider: var(--border-sage); }
.ws-stat.ws-section--deep { --st-eyebrow: var(--on-deep-muted); --st-num: var(--on-deep); --st-line: var(--on-deep-muted); --st-text: var(--on-deep); --st-card-bg: rgba(255,255,255,.06); --st-card-line: rgba(255,255,255,.22); --st-card-title: var(--on-deep); --st-card-text: var(--on-deep-muted); --st-divider: rgba(255,255,255,.2); }
.ws-stat.ws-section--alt, .ws-stat.ws-section--beige { --st-card-line: transparent; }
.ws-stat__split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 96px; align-items: center; }
.ws-stat__eyebrow { margin: 0 0 var(--space-4); font: 600 0.8125rem/1rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--st-eyebrow); }
.ws-stat__num { display: inline-block; margin: 0; padding-bottom: 12px; font: 800 4.5rem/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--st-num); white-space: nowrap; box-shadow: inset 0 -4px 0 var(--st-line); }
.ws-stat__text { margin: var(--space-6) 0 0; max-width: 30ch; font: 600 1.5rem/2.125rem var(--font-display); color: var(--st-text); text-wrap: balance; }
.ws-stat__card { padding: 40px; border-radius: var(--radius-xl); background: var(--st-card-bg); box-shadow: inset 0 0 0 1px var(--st-card-line); }
.ws-stat__card .ws-tag { margin-bottom: var(--space-4); }
.ws-stat__card-title { margin: 0; font: 700 1.5rem/2rem var(--font-display); color: var(--st-card-title); }
.ws-stat__card-text { margin: 12px 0 0; font: 400 1.0625rem/1.75rem var(--font-sans); color: var(--st-card-text); text-wrap: pretty; }
.ws-stat__card .ws-btn { margin-top: var(--space-6); }
/* Row of numbers */
.ws-stat__row { display: grid; grid-template-columns: repeat(var(--stat-cols, 3), minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.ws-stat__row > li { padding: 8px 40px; border-left: 1px solid var(--st-divider); }
.ws-stat__row > li:first-child { padding-left: 0; border-left: 0; }
.ws-stat__row .ws-stat__num { font-size: 3.5rem; }
.ws-stat__row .ws-stat__text { margin-top: var(--space-4); font: 500 1.0625rem/1.75rem var(--font-sans); max-width: 26ch; }
.ws-stat .ws-section__intro { margin-bottom: var(--space-12); }
@media (max-width: 1024px) {
  .ws-stat__split { grid-template-columns: 1fr; gap: 48px; }
  .ws-stat__num { font-size: 3.5rem; }
  .ws-stat__row .ws-stat__num { font-size: 2.75rem; }
  .ws-stat__row > li { padding: 8px 24px; }
}
@media (max-width: 640px) {
  .ws-stat__num { font-size: 2.75rem; padding-bottom: 8px; box-shadow: inset 0 -3px 0 var(--st-line); }
  .ws-stat__text { font-size: 1.25rem; line-height: 1.75rem; }
  .ws-stat__card { padding: 24px; border-radius: var(--radius-lg); }
  .ws-stat__row { grid-template-columns: 1fr; }
  .ws-stat__row > li, .ws-stat__row > li:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--st-divider); }
  .ws-stat__row > li:first-child { border-top: 0; padding-top: 0; }
}
/* StatBand --accent: coral underline under the number, dark green only (allowed exception to «no orange on dark green») */
.ws-stat.ws-section--deep.ws-stat--accent { --st-line: var(--accent); }
/* ---------- InfoCard: label, title and short text in an outlined card; works on dark green and on light bands ---------- */
.ws-infocard { --ic-bg: var(--surface); --ic-line: var(--border-sage); --ic-title: var(--ink); --ic-text: var(--ink-muted);
  box-sizing: border-box; padding: 40px; border-radius: var(--radius-xl); background: var(--ic-bg); box-shadow: inset 0 0 0 1px var(--ic-line); }
.ws-section--deep .ws-infocard, .ws-infocard--dark { --ic-bg: rgba(255,255,255,.06); --ic-line: rgba(255,255,255,.22); --ic-title: var(--on-deep); --ic-text: var(--on-deep-muted); }
.ws-section--primary .ws-infocard { --ic-bg: rgba(255,255,255,.08); --ic-line: rgba(255,255,255,.3); --ic-title: var(--on-primary); --ic-text: var(--on-primary); }
.ws-section--alt .ws-infocard, .ws-section--beige .ws-infocard { --ic-line: transparent; }
.ws-infocard .ws-tag { margin-bottom: var(--space-4); }
.ws-infocard__title { margin: 0; font: 700 1.5rem/2rem var(--font-display); color: var(--ic-title); text-wrap: balance; }
.ws-infocard__text { margin: 12px 0 0; font: 400 1.0625rem/1.75rem var(--font-sans); color: var(--ic-text); text-wrap: pretty; }
.ws-infocard .ws-btn { margin-top: var(--space-6); }
.ws-section--deep .ws-infocard .ws-btn--text, .ws-section--primary .ws-infocard .ws-btn--text { color: var(--on-deep); }
.ws-infocards { display: grid; grid-template-columns: repeat(var(--ic-cols, 3), minmax(0, 1fr)); gap: 24px; }
.ws-infocards .ws-infocard { padding: 32px; }
.ws-infocards .ws-infocard__title { font-size: 1.25rem; line-height: 1.75rem; }
@media (max-width: 1024px) { .ws-infocards { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 640px) { .ws-infocard, .ws-infocards .ws-infocard { padding: 24px; border-radius: var(--radius-lg); } }

/* AccordionText — stacked: list under the heading, one readable column */
.ws-accmedia--stacked .ws-accmedia__col { max-width: 800px; margin-inline: auto; }
.ws-accmedia--stacked .ws-section__intro { margin: 0 0 48px; max-width: none; }
.ws-accmedia--stacked .ws-section__title { max-width: 24ch; }
.ws-accmedia--stacked .ws-section__lead { max-width: var(--measure-lead); font-size: 1.125rem; line-height: 1.75rem; }
.ws-accmedia--stacked .ws-accmedia__body { max-width: var(--measure-body); padding-right: 0; font-size: 1.0625rem; line-height: 1.75rem; color: var(--ink-muted); }
.ws-accmedia--stacked .ws-accmedia__item > summary { font-size: 1.25rem; line-height: 1.75rem; }
.ws-accmedia--stacked .ws-accmedia__more { margin: 32px 0 0; }
@media (max-width: 640px) { .ws-accmedia--stacked .ws-section__intro { margin-bottom: 32px; } .ws-accmedia--stacked .ws-accmedia__item > summary { font-size: 1.125rem; line-height: 1.625rem; } }

/* LogoWall — strip: one simple row of logos with a short label */
.ws-logostrip { padding-block: 40px; }
.ws-logostrip--lined { border-block: 1px solid var(--border); }
.ws-logostrip__row { display: flex; align-items: center; gap: 64px; }
.ws-logostrip__label { flex: 0 0 168px; margin: 0; font: 500 0.875rem/1.375rem var(--font-sans); color: var(--ink-muted); text-wrap: balance; }
.ws-logostrip__list { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.ws-logostrip__list li { flex: 0 1 auto; display: grid; place-items: center; min-width: 0; }
.ws-logostrip__list img { display: block; max-height: 40px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 1024px) {
  .ws-logostrip__row { flex-direction: column; align-items: stretch; gap: 24px; }
  .ws-logostrip__label { flex: none; text-align: center; }
  .ws-logostrip__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
  .ws-logostrip__list img { max-height: 36px; max-width: 128px; }
}
@media (max-width: 640px) {
  .ws-logostrip { padding-block: 32px; }
  .ws-logostrip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ws-logostrip__list img { max-height: 32px; max-width: 120px; }
}

/* TextMedia — title and body text beside an image */
.ws-textmedia__split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 96px; align-items: center; }
.ws-textmedia--reverse .ws-textmedia__media { order: -1; }
.ws-textmedia__text .ws-section__title { max-width: 18ch; }
.ws-textmedia__body { margin-top: 24px; max-width: var(--measure-body); }
.ws-textmedia__body p { margin: 0; font: 400 1.0625rem/1.75rem var(--font-sans); color: var(--ink-muted); text-wrap: pretty; }
.ws-textmedia__body p + p { margin-top: 16px; }
.ws-textmedia__body p:first-child { font-size: 1.125rem; line-height: 1.875rem; color: var(--ink); }
.ws-textmedia__media { margin: 0; }
.ws-textmedia__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); }
.ws-section--deep .ws-textmedia__body p, .ws-section--primary .ws-textmedia__body p { color: var(--on-deep); }
@media (max-width: 1024px) {
  .ws-textmedia__split { grid-template-columns: 1fr; gap: 40px; }
  .ws-textmedia--reverse .ws-textmedia__media { order: 0; }
  .ws-textmedia__media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .ws-textmedia__media img { border-radius: var(--radius-lg); }
  .ws-textmedia .ws-section__actions { flex-direction: column; }
  .ws-textmedia .ws-section__actions .ws-btn { width: 100%; }
}

/* Footer */
.ws-footer { --ft-bg: var(--primary-deep); --ft-text: var(--on-deep); --ft-muted: var(--on-deep-muted); --ft-line: rgba(255,255,255,.18); background: var(--ft-bg); color: var(--ft-text); font-family: var(--font-sans); padding: 80px 32px 0; }
.ws-footer a:not(.ws-btn) { color: inherit; text-decoration: none; }
.ws-footer a.ws-btn { text-decoration: none; }
.ws-footer a:not(.ws-btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.ws-footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ws-footer__inner { max-width: var(--container); margin: 0 auto; }
.ws-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 96px; padding-bottom: 64px; }
.ws-footer__logo img { display: block; height: 36px; width: auto; }
.ws-footer__about { margin: 24px 0 0; max-width: 36ch; font-size: 1rem; line-height: 1.625rem; color: var(--ft-text); }
.ws-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ws-footer__heading { margin: 0 0 20px; font-size: 0.8125rem; line-height: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ft-muted); }
.ws-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 0.9375rem; line-height: 1.5rem; }
.ws-footer__links svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -2px; margin-left: 4px; }
.ws-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 0 32px; border-top: 1px solid var(--ft-line); font-size: 0.875rem; line-height: 1.375rem; color: var(--ft-muted); }
.ws-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.ws-footer__legal a, .ws-footer__social a { color: var(--ft-text); }
.ws-footer__social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ws-footer__social a, .ws-footer__lang { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px var(--ft-line); font-weight: 600; color: var(--ft-text); }
.ws-footer__social a:hover, .ws-footer__lang:hover { text-decoration: none; background: rgba(255,255,255,.08); }
.ws-footer__lang svg { width: 18px; height: 18px; fill: currentColor; }
.ws-footer__end { display: flex; align-items: center; gap: 8px; }
/* light */
.ws-footer--light { --ft-bg: var(--surface-alt); --ft-text: var(--ink); --ft-muted: var(--ink-muted); --ft-line: var(--border-sage); }
.ws-footer--light .ws-footer__heading { color: var(--primary); }
.ws-footer--light a:focus-visible { outline-color: var(--focus-ring); }
.ws-footer--light .ws-footer__social a:hover, .ws-footer--light .ws-footer__lang:hover { background: var(--surface); }
@media (max-width: 1024px) {
  .ws-footer { padding: 64px 16px 0; }
  .ws-footer__top { grid-template-columns: 1fr; gap: 48px; }
  .ws-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .ws-footer__logo img { height: 32px; }
}
@media (max-width: 640px) {
  .ws-footer { padding-top: 48px; }
  .ws-footer__top { padding-bottom: 48px; }
  .ws-footer__logo img { height: 28px; }
  .ws-footer__bottom { flex-direction: column; align-items: flex-start; }
}
/* Utility: text for screen readers only */
.ws-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ws-footer .ws-footer__cta { margin-top: 32px; }
.ws-footer a.ws-footer__cta:hover { text-decoration: none; }
@media (max-width: 640px) { .ws-footer .ws-footer__cta { width: 100%; } }
.ws-footer__group + .ws-footer__group { margin-top: 40px; }
.ws-footer__sub { display: block; margin-top: 2px; font-size: 0.8125rem; line-height: 1.25rem; color: var(--ft-muted); }
@media (min-width: 1025px) { .ws-footer__cols { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); } .ws-footer__heading { white-space: nowrap; } }

/* ---------- Form fields: full set ---------- */
.ws-field__help { margin: 0; font: 400 0.875rem/1.25rem var(--font-sans); color: var(--ink-muted); }
.ws-textarea { box-sizing: border-box; width: 100%; min-height: 128px; padding: 12px 14px; font: 400 1rem/1.5rem var(--font-sans); color: var(--ink); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); resize: vertical; transition: border-color .15s ease, box-shadow .15s ease; }
.ws-textarea::placeholder { color: var(--ink-muted); }
.ws-textarea:hover { border-color: var(--ink-muted); }
.ws-textarea:focus-visible, .ws-input.is-focus, .ws-textarea.is-focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--primary); }
.ws-field--error .ws-select, .ws-field--error .ws-textarea { border-color: var(--error); }
.ws-field--error .ws-input:focus-visible, .ws-field--error .ws-select:focus-visible, .ws-field--error .ws-textarea:focus-visible { border-color: var(--error); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--error); }
.ws-input:disabled, .ws-select:disabled, .ws-textarea:disabled { background-color: var(--surface-alt); border-color: var(--border); color: var(--ink-muted); cursor: not-allowed; }
.ws-field:has(:disabled) .ws-label { color: var(--ink-muted); }
.ws-input-icon { position: relative; }
.ws-input-icon > svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: var(--ink-muted); pointer-events: none; }
.ws-input-icon .ws-input { padding-left: 44px; }
.ws-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.ws-field-row + .ws-field, .ws-field + .ws-field-row, .ws-field-row + .ws-field-row, .ws-field + .ws-fieldset, .ws-fieldset + .ws-field, .ws-field-row + .ws-fieldset, .ws-fieldset + .ws-check, .ws-field + .ws-check { margin-top: var(--space-4); }
.ws-field-row > .ws-field + .ws-field { margin-top: 0; }
/* checkbox and radio */
.ws-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ws-fieldset > legend { padding: 0; margin-bottom: 10px; font: 600 0.875rem/1.25rem var(--font-sans); color: var(--ink); }
.ws-options { display: grid; gap: 12px; }
.ws-options--inline { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.ws-check { display: flex; align-items: flex-start; gap: 12px; font: 400 1rem/1.5rem var(--font-sans); color: var(--ink); cursor: pointer; }
.ws-check small { display: block; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-muted); }
.ws-check a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ws-check input { flex: none; appearance: none; margin: 2px 0 0; width: 20px; height: 20px; border: 1.5px solid var(--border-strong); border-radius: 4px; background: var(--surface) center / 16px no-repeat; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.ws-check input[type="radio"] { border-radius: 50%; }
.ws-check:hover input:not(:disabled) { border-color: var(--ink-muted); }
.ws-check input:checked { background-color: var(--primary); border-color: var(--primary); }
.ws-check input[type="checkbox"]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath fill='%23fff' d='M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z'/%3E%3C/svg%3E"); }
.ws-check input[type="radio"]:checked { box-shadow: inset 0 0 0 4px var(--surface); }
.ws-check input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ws-check input:disabled { background-color: var(--surface-alt); border-color: var(--border); cursor: not-allowed; }
.ws-check:has(input:disabled) { color: var(--ink-muted); cursor: not-allowed; }
.ws-check--error input { border-color: var(--error); }
/* status message after sending */
.ws-form-status { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-md); font: 400 0.9375rem/1.5rem var(--font-sans); color: var(--ink); }
.ws-form-status strong { display: block; font-weight: 600; }
.ws-form-status svg { flex: none; width: 24px; height: 24px; fill: currentColor; }
.ws-form-status--success { background: color-mix(in srgb, var(--success) 10%, var(--surface)); }
.ws-form-status--success svg { fill: var(--success); }
.ws-form-status--error { background: color-mix(in srgb, var(--error) 8%, var(--surface)); }
.ws-form-status--error svg { fill: var(--error); }
@media (max-width: 640px) { .ws-field-row { grid-template-columns: 1fr; } }
/* required: note at the top, and the asterisk variant */
.ws-form-note { margin: 0 0 24px; font: 400 0.875rem/1.25rem var(--font-sans); color: var(--ink-muted); }
.ws-required { margin-left: 2px; font-weight: 600; color: var(--error); text-decoration: none; }

/* ---------- ArticleCard ---------- */
.ws-article { --ar-bg: var(--surface); --ar-line: var(--border-sage); --ar-title: var(--ink); --ar-text: var(--ink-muted); --ar-meta: var(--ink-muted); --ar-hover: var(--primary);
  position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--ar-bg); border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1px var(--ar-line); overflow: hidden; font-family: var(--font-sans); transition: box-shadow .2s ease; }
.ws-article__media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-alt); }
.ws-article__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ws-article__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 24px 24px 28px; }
.ws-article__body .ws-tags { margin-bottom: 4px; }
.ws-article__title { margin: 0; font: 700 1.25rem/1.75rem var(--font-display); color: var(--ar-title); text-wrap: balance; }
.ws-article__title a { color: inherit; text-decoration: none; }
.ws-article__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ws-article__excerpt { margin: 0; font-size: 0.9375rem; line-height: 1.5rem; color: var(--ar-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ws-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: auto 0 0; padding-top: 8px; font-size: 0.8125rem; line-height: 1.25rem; color: var(--ar-meta); }
.ws-article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ws-article__meta svg { width: 16px; height: 16px; fill: currentColor; }
.ws-article__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; font-size: 1rem; color: var(--ar-hover); }
.ws-article__more svg { width: 20px; height: 20px; fill: currentColor; transition: transform .2s ease; }
.ws-article:hover { box-shadow: inset 0 0 0 2px var(--ar-hover); }
.ws-article:hover .ws-article__title { color: var(--ar-hover); }
.ws-article:hover .ws-article__media img { transform: scale(1.03); }
.ws-article:hover .ws-article__more svg { transform: translateX(3px); }
.ws-article:has(a:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.ws-article a:focus-visible { outline: none; }
/* featured: horizontal, large */
.ws-article--featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ws-article--featured .ws-article__media { aspect-ratio: auto; min-height: 420px; }
.ws-article--featured .ws-article__body { justify-content: center; gap: 16px; padding: 56px 48px; }
.ws-article--featured .ws-article__title { font-size: 2rem; line-height: 2.5rem; letter-spacing: -.01em; }
.ws-article--featured .ws-article__excerpt { font-size: 1.0625rem; line-height: 1.75rem; -webkit-line-clamp: 4; }
.ws-article--featured .ws-article__meta { margin-top: 0; }
.ws-article--reverse .ws-article__media { order: 2; }
/* large vertical (front page lead) */
.ws-article--lead .ws-article__body { padding: 32px 32px 36px; gap: 14px; }
.ws-article--lead .ws-article__title { font-size: 1.75rem; line-height: 2.25rem; }
.ws-article--lead .ws-article__excerpt { font-size: 1.0625rem; line-height: 1.75rem; }
/* dark */
.ws-article--deep { --ar-bg: var(--primary-deep); --ar-line: transparent; --ar-title: var(--on-deep); --ar-text: var(--on-deep); --ar-meta: var(--on-deep-muted); --ar-hover: var(--on-deep); }
.ws-article--deep:hover { box-shadow: inset 0 0 0 2px var(--on-deep-muted); }
.ws-article--deep:hover .ws-article__title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ws-article--deep:has(a:focus-visible) { outline-color: var(--accent); }
/* compact list item */
.ws-article--compact { flex-direction: row; align-items: center; gap: 16px; padding: 12px; border-radius: var(--radius-lg); }
.ws-article--compact .ws-article__media { flex: none; width: 112px; aspect-ratio: 1; border-radius: var(--radius-md); }
.ws-article--compact .ws-article__body { gap: 6px; padding: 0 8px 0 0; }
.ws-article--compact .ws-article__title { font-size: 1.0625rem; line-height: 1.5rem; }
.ws-article--compact .ws-article__meta { padding-top: 0; margin: 0; }
.ws-article--plain { --ar-line: transparent; background: transparent; }
/* event date badge */
.ws-article__date { position: absolute; top: 16px; left: 16px; display: grid; place-items: center; width: 64px; padding: 8px 0 10px; border-radius: var(--radius-md); background: var(--surface); color: var(--ink); text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ws-article__date b { font: 800 1.5rem/1.75rem var(--font-display); }
.ws-article__date small { font: 600 0.75rem/1rem var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong); }
/* grids */
.ws-articles { display: grid; grid-template-columns: repeat(var(--ar-cols, 3), minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.ws-articles > li { display: flex; min-width: 0; }
.ws-articles > li > .ws-article { flex: 1; }
.ws-articles--stack { --ar-cols: 1; gap: 8px; }
@media (max-width: 1024px) {
  .ws-articles { --ar-cols: 2; }
  .ws-articles--stack { --ar-cols: 1; }
  .ws-article--featured { grid-template-columns: 1fr; }
  .ws-article--featured .ws-article__media { aspect-ratio: 16 / 9; min-height: 0; }
  .ws-article--reverse .ws-article__media { order: 0; }
  .ws-article--featured .ws-article__body { padding: 32px; }
  .ws-article--featured .ws-article__title { font-size: 1.75rem; line-height: 2.25rem; }
}
@media (max-width: 640px) {
  .ws-articles { --ar-cols: 1; gap: 16px; }
  .ws-article { border-radius: var(--radius-lg); }
  .ws-article--featured .ws-article__body, .ws-article--lead .ws-article__body { padding: 24px 24px 28px; }
  .ws-article--featured .ws-article__title, .ws-article--lead .ws-article__title { font-size: 1.5rem; line-height: 2rem; }
  .ws-article--compact .ws-article__media { width: 88px; }
}
@media (prefers-reduced-motion: reduce) { .ws-article__media img, .ws-article__more svg { transition: none; } .ws-article:hover .ws-article__media img { transform: none; } }

/* ---------- ArticleHighlight ---------- */
.ws-artsec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 40px; }
.ws-artsec__head .ws-section__intro { margin: 0; }
.ws-artsec__head .ws-btn { flex: none; }
.ws-artsec__lead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.ws-artsec__side-title { margin: 0 0 8px; padding: 0 12px; font: 600 0.8125rem/1rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.ws-artsec__stack { display: grid; gap: 24px; }
.ws-artsec__featured { margin-bottom: 24px; }
@media (max-width: 1024px) { .ws-artsec__lead-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .ws-artsec__featured { margin-bottom: 16px; } }
@media (max-width: 640px) {
  .ws-artsec__head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
}
.ws-article--featured .ws-article__media img { position: absolute; inset: 0; }
@media (max-width: 1024px) { .ws-article--featured .ws-article__media img { position: static; } }

/* ---------- RelatedArticles ---------- */
.ws-articles--pairs { --ar-cols: 2; gap: 16px; }
.ws-related .ws-artsec__head .ws-section__title { font-size: 2rem; line-height: 2.5rem; }
.ws-related--next .ws-section__inner { max-width: 960px; }
@media (max-width: 1024px) { .ws-articles--pairs { --ar-cols: 1; } }
@media (max-width: 640px) { .ws-related .ws-artsec__head .ws-section__title { font-size: 1.75rem; line-height: 2.25rem; } }
@media (min-width: 1025px) {
  .ws-related--next .ws-article--featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ws-related--next .ws-article--featured .ws-article__media { min-height: 340px; }
  .ws-related--next .ws-article--featured .ws-article__body { padding: 40px; }
  .ws-related--next .ws-article--featured .ws-article__title { font-size: 1.75rem; line-height: 2.25rem; }
}

/* ---------- ArticlePage: the article itself, with a sticky table of contents ---------- */
.ws-articlepage { padding: 64px 32px var(--section); font-family: var(--font-sans); color: var(--ink); }
.ws-articlepage__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 240px minmax(0, 680px) minmax(0, 1fr); column-gap: 72px; }
.ws-articlepage__head, .ws-articlepage__body, .ws-articlepage__end { grid-column: 2; min-width: 0; }
.ws-articlepage__hero { grid-column: 1 / -1; margin: 48px 0 64px; }
.ws-articlepage__hero img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-xl); }
.ws-articlepage__hero figcaption { margin-top: 12px; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-muted); }
.ws-articlepage__aside { grid-column: 1; grid-row: 3 / span 2; }
/* head */
.ws-articlepage__head .ws-tags { margin-bottom: 20px; }
.ws-articlepage__title { margin: 0; max-width: 24ch; font: 700 2.75rem/3.25rem var(--font-display); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.ws-articlepage__lead { margin: 20px 0 0; max-width: 60ch; font-size: 1.25rem; line-height: 2rem; color: var(--ink-muted); text-wrap: pretty; }
.ws-articlepage__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.9375rem; line-height: 1.375rem; color: var(--ink-muted); }
.ws-articlepage__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.ws-articlepage__meta svg { width: 18px; height: 18px; fill: currentColor; }
/* table of contents */
.ws-toc { position: sticky; top: 112px; max-height: calc(100vh - 136px); overflow-y: auto; }
.ws-toc > summary { display: none; }
.ws-toc__title { margin: 0 0 16px; font: 600 0.8125rem/1rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.ws-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.ws-toc li a { display: block; margin-left: -2px; padding: 8px 0 8px 16px; border-left: 2px solid transparent; font-size: 0.9375rem; line-height: 1.375rem; color: var(--ink-muted); text-decoration: none; text-wrap: pretty; }
.ws-toc li a:hover { color: var(--ink); border-left-color: var(--border-strong); }
.ws-toc li a[aria-current="true"] { color: var(--primary); font-weight: 600; border-left-color: var(--primary); }
.ws-toc li a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }
.ws-toc__top { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 0.875rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.ws-toc__top svg { width: 18px; height: 18px; fill: currentColor; }
/* body text: the readable part */
.ws-articlebody { font-size: 1.125rem; line-height: 1.875rem; color: var(--ink); }
.ws-articlebody > * { max-width: 68ch; }
.ws-articlebody > :first-child { margin-top: 0; }
.ws-articlebody p { margin: 0 0 24px; text-wrap: pretty; }
.ws-articlebody h2 { margin: 56px 0 16px; font: 700 1.75rem/2.25rem var(--font-display); letter-spacing: -.01em; text-wrap: balance; scroll-margin-top: 112px; }
.ws-articlebody h3 { margin: 40px 0 12px; font: 600 1.375rem/1.875rem var(--font-display); text-wrap: balance; scroll-margin-top: 112px; }
.ws-articlebody a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ws-articlebody a:hover { text-decoration-thickness: 2px; }
.ws-articlebody strong { font-weight: 600; }
.ws-articlebody ul, .ws-articlebody ol { margin: 0 0 24px; padding-left: 28px; }
.ws-articlebody li { padding-left: 4px; }
.ws-articlebody li + li { margin-top: 10px; }
.ws-articlebody li::marker { color: var(--primary); font-weight: 600; }
.ws-articlebody blockquote { margin: 40px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--primary); font: 600 1.375rem/2rem var(--font-display); color: var(--ink); }
.ws-articlebody blockquote p { margin: 0; }
.ws-articlebody blockquote footer { margin-top: 12px; font: 400 0.9375rem/1.375rem var(--font-sans); color: var(--ink-muted); }
.ws-articlebody figure { margin: 40px 0; }
.ws-articlebody figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.ws-articlebody figcaption { margin-top: 12px; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-muted); }
.ws-articlebody table { width: 100%; margin: 32px 0; border-collapse: collapse; font-size: 1rem; line-height: 1.5rem; }
.ws-articlebody caption { margin-bottom: 8px; text-align: left; font-weight: 600; }
.ws-articlebody th, .ws-articlebody td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.ws-articlebody th { font-weight: 600; border-bottom-color: var(--border-strong); }
/* fact box */
.ws-factbox { display: flex; gap: 16px; margin: 40px 0; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--primary-soft); }
.ws-factbox > svg { flex: none; width: 24px; height: 24px; margin-top: 3px; fill: var(--primary); }
.ws-factbox__title { margin: 0 0 6px; font: 700 1.0625rem/1.625rem var(--font-display); color: var(--ink); }
.ws-factbox p { margin: 0; font-size: 1rem; line-height: 1.625rem; }
.ws-factbox p + p { margin-top: 8px; }
.ws-factbox ul { margin: 8px 0 0; font-size: 1rem; line-height: 1.625rem; }
/* end of article */
.ws-articlepage__end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); display: grid; gap: 32px; }
.ws-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.9375rem; color: var(--ink-muted); }
.ws-share__label { margin-right: 4px; font-weight: 600; color: var(--ink); }
.ws-share a, .ws-share button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: var(--radius-full); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-sage); font: 600 0.875rem/1 var(--font-sans); color: var(--ink); text-decoration: none; cursor: pointer; }
.ws-share a:hover, .ws-share button:hover { background: var(--primary-soft); color: var(--primary); }
.ws-share svg { width: 18px; height: 18px; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) { html:has(.ws-toc) { scroll-behavior: smooth; } }
@media (max-width: 1024px) {
  .ws-articlepage { padding: 48px 16px var(--section); }
  .ws-articlepage__grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .ws-articlepage__head, .ws-articlepage__body, .ws-articlepage__end, .ws-articlepage__hero, .ws-articlepage__aside { grid-column: 1; grid-row: auto; }
  .ws-articlepage__hero { margin: 40px 0; }
  .ws-articlepage__hero img { aspect-ratio: 16 / 9; }
  .ws-toc { position: static; max-height: none; margin-bottom: 40px; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--border-sage); }
  .ws-toc > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
  .ws-toc > summary::-webkit-details-marker { display: none; }
  .ws-toc > summary svg { width: 22px; height: 22px; fill: var(--primary); transition: transform .2s ease; }
  .ws-toc[open] > summary svg { transform: rotate(180deg); }
  .ws-toc__title { display: none; }
  .ws-toc ol { margin: 0 20px 16px; }
  .ws-toc__top { display: none; }
}
@media (max-width: 640px) {
  .ws-articlepage { padding-top: 32px; }
  .ws-articlepage__title { font-size: 2rem; line-height: 2.5rem; }
  .ws-articlepage__lead { font-size: 1.125rem; line-height: 1.75rem; }
  .ws-articlepage__hero img { border-radius: var(--radius-lg); }
  .ws-articlebody { font-size: 1.0625rem; line-height: 1.75rem; hyphens: auto; }
  .ws-articlebody h2 { margin-top: 48px; font-size: 1.5rem; line-height: 2rem; }
  .ws-articlebody h3 { font-size: 1.25rem; line-height: 1.75rem; }
  .ws-articlebody blockquote { padding-left: 20px; font-size: 1.25rem; line-height: 1.875rem; }
  .ws-factbox { padding: 20px; }
}
@media (min-width: 1025px) { .ws-articlepage__body { grid-row: 3; } .ws-articlepage__end { grid-row: 4; } }
.ws-factbox ul { padding-left: 20px; }
/* author card at the end of the article */
.ws-authorbox { display: flex; align-items: flex-start; gap: 24px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-sage); }
.ws-authorbox__photo { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--surface-alt); }
.ws-authorbox__eyebrow { margin: 0 0 6px; font: 600 0.8125rem/1rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.ws-authorbox__name { margin: 0; font: 700 1.25rem/1.75rem var(--font-display); color: var(--ink); }
.ws-authorbox__role { margin: 0; font-size: 0.9375rem; line-height: 1.375rem; color: var(--ink-muted); }
.ws-authorbox__bio { margin: 12px 0 0; max-width: 60ch; font-size: 1rem; line-height: 1.625rem; color: var(--ink); }
@media (max-width: 640px) { .ws-authorbox { flex-direction: column; gap: 16px; padding: 24px; } .ws-authorbox__photo { width: 72px; height: 72px; } }
/* wider head: title up to ~30 characters, lead aligned with the body text */
@media (min-width: 1025px) { .ws-articlepage__head { grid-column: 2 / -1; } .ws-articlepage__meta { max-width: 680px; } }
.ws-articlepage__title { max-width: 30ch; }
.ws-articlepage__lead { max-width: 64ch; }
/* centred head: the block sits in the middle of the page, the text inside stays left aligned */
@media (min-width: 1025px) { .ws-articlepage__head { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 800px; } }
.ws-articlepage__meta { max-width: none; }


/* ---------- Breadcrumb ---------- */
.ws-breadcrumb { --bc-link: var(--ink-muted); --bc-current: var(--ink); --bc-sep: var(--border-strong); --bc-hover: var(--primary); font: 400 0.875rem/1.25rem var(--font-sans); }
.ws-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ws-breadcrumb li { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
.ws-breadcrumb li + li::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--bc-sep); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M530-481 332-679l43-43 241 241-241 241-43-43 198-198Z'/%3E%3C/svg%3E") center / 16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M530-481 332-679l43-43 241 241-241 241-43-43 198-198Z'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ws-breadcrumb a { display: inline-flex; align-items: center; padding: 2px 4px; border-radius: 4px; color: var(--bc-link); text-decoration: none; }
.ws-breadcrumb a:hover { color: var(--bc-hover); text-decoration: underline; text-underline-offset: 3px; }
.ws-breadcrumb a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.ws-breadcrumb a svg { width: 18px; height: 18px; fill: currentColor; }
.ws-breadcrumb [aria-current="page"] { padding: 2px 4px; font-weight: 600; color: var(--bc-current); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 32ch; }
/* pill */
.ws-breadcrumb--pill { display: inline-flex; padding: 6px 12px; border-radius: var(--radius-full); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-sage); }
/* on dark green: on its own, or automatically inside PageHero and dark sections */
.ws-breadcrumb--dark, .ws-pagehero .ws-breadcrumb, .ws-section--deep .ws-breadcrumb { --bc-link: var(--on-deep-muted); --bc-current: var(--on-deep); --bc-sep: var(--on-deep-muted); --bc-hover: var(--on-deep); }
.ws-breadcrumb--dark.ws-breadcrumb--pill, .ws-pagehero .ws-breadcrumb--pill, .ws-section--deep .ws-breadcrumb--pill { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ws-breadcrumb--dark a:focus-visible, .ws-pagehero .ws-breadcrumb a:focus-visible, .ws-section--deep .ws-breadcrumb a:focus-visible { outline-color: var(--accent); }
/* compact (mobile): only a back link to the parent page */
.ws-breadcrumb--compact li:not(:nth-last-child(2)) { display: none; }
.ws-breadcrumb--compact li:nth-last-child(2)::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; color: var(--bc-link); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M561-240 320-481l241-241 43 43-198 198 198 198-43 43Z'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M561-240 320-481l241-241 43 43-198 198 198 198-43 43Z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ws-breadcrumb--compact li:nth-last-child(2) { color: var(--bc-link); }
@media (max-width: 640px) {
  .ws-breadcrumb li:not(:nth-last-child(2)) { display: none; }
  .ws-breadcrumb li:nth-last-child(2)::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--bc-link); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M561-240 320-481l241-241 43 43-198 198 198 198-43 43Z'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M561-240 320-481l241-241 43 43-198 198 198 198-43 43Z'/%3E%3C/svg%3E") center / 18px no-repeat; }
}
.ws-articlepage__head .ws-breadcrumb { margin-bottom: 24px; }


/* ---------- ArticleStory: customer story card (logo, quote, key number, link) ---------- */
.ws-story { --sy-bg: var(--surface); --sy-line: var(--border-sage); --sy-text: var(--ink); --sy-muted: var(--ink-muted); --sy-num: var(--primary); --sy-link: var(--primary); --sy-mark: var(--accent-strong);
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px; border-radius: var(--radius-xl); background: var(--sy-bg); box-shadow: inset 0 0 0 1px var(--sy-line); font-family: var(--font-sans); color: var(--sy-text); transition: box-shadow .2s ease; }
.ws-story__logo { display: flex; align-items: center; height: 40px; margin: 0 0 28px; }
.ws-story__logo img { display: block; max-height: 40px; max-width: 160px; width: auto; height: auto; }
.ws-story__stat { margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--sy-line); }
.ws-story__num { display: block; font: 800 2.75rem/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--sy-num); }
.ws-story__label { display: block; margin-top: 8px; font-size: 0.9375rem; line-height: 1.375rem; color: var(--sy-muted); }
.ws-story__quote { flex: 1; margin: 0; }
.ws-story__quote + .ws-story__stat, .ws-story__person + .ws-story__stat { margin-top: auto; }
.ws-story__person { margin-bottom: 24px; }
.ws-story__quote p { margin: 0; font: 600 1.125rem/1.75rem var(--font-display); color: var(--sy-text); text-wrap: pretty; }
.ws-story__person { margin-top: 16px; font-size: 0.875rem; line-height: 1.25rem; color: var(--sy-muted); }
.ws-story__person b { display: block; font-weight: 600; color: var(--sy-text); }
.ws-story__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; color: var(--sy-link); text-decoration: none; }
.ws-story__link svg { width: 20px; height: 20px; fill: currentColor; transition: transform .2s ease; }
.ws-story__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ws-story:hover { box-shadow: inset 0 0 0 2px var(--primary); }
.ws-story:hover .ws-story__link svg { transform: translateX(3px); }
.ws-story:has(a:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.ws-story a:focus-visible { outline: none; }
.ws-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.ws-stories > li { display: flex; } .ws-stories > li > .ws-story { flex: 1; }
/* featured: photo beside the story */
.ws-story--featured { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 0; overflow: hidden; }
.ws-story--featured .ws-story__media { position: relative; margin: 0; min-height: 440px; background: var(--surface-alt); }
.ws-story--featured .ws-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-story--featured .ws-story__body { display: flex; flex-direction: column; justify-content: center; padding: 48px 56px; }
.ws-story--featured .ws-story__quote { flex: none; }
.ws-story--featured .ws-story__person { margin-bottom: 0; }
.ws-story--featured .ws-story__quote p { font-size: 1.625rem; line-height: 2.25rem; letter-spacing: -.01em; }
.ws-story--featured .ws-story__stats { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--sy-line); }
.ws-story--featured .ws-story__stat { margin: 0; padding: 0; border: 0; }
.ws-story--featured .ws-story__logo { margin-bottom: 32px; }
/* dark green: logo on a white tile so it keeps its colours */
.ws-story--deep { --sy-bg: var(--primary-deep); --sy-line: rgba(255,255,255,.18); --sy-text: var(--on-deep); --sy-muted: var(--on-deep-muted); --sy-num: var(--on-deep); --sy-link: var(--on-deep); }
.ws-story--deep .ws-story__logo { align-self: flex-start; height: auto; padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface); }
.ws-story--deep .ws-story__logo img { max-height: 32px; }
.ws-story--deep:hover { box-shadow: inset 0 0 0 2px var(--on-deep-muted); }
.ws-story--deep:has(a:focus-visible) { outline-color: var(--accent); }
@media (max-width: 1024px) {
  .ws-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-story--featured { grid-template-columns: 1fr; }
  .ws-story--featured .ws-story__media { min-height: 0; aspect-ratio: 16 / 9; }
  .ws-story--featured .ws-story__body { padding: 32px; }
}
@media (max-width: 640px) {
  .ws-stories { grid-template-columns: 1fr; gap: 16px; }
  .ws-story { padding: 24px; border-radius: var(--radius-lg); }
  .ws-story--featured { padding: 0; }
  .ws-story--featured .ws-story__body { padding: 24px; }
  .ws-story--featured .ws-story__quote p { font-size: 1.25rem; line-height: 1.875rem; }
  .ws-story__num { font-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) { .ws-story__link svg { transition: none; } }

/* ---------- Global rule: equal height in a row, buttons on one line ----------
   Cards side by side stretch to the tallest card. Buttons and links sit at the bottom of every card,
   so they line up across the row. In the tallest card the space above the button is the normal gap. */
.ws-feature-card__link { margin-top: auto; }
.ws-feature-card__text:has(+ .ws-feature-card__link) { margin-bottom: var(--space-2); }
.ws-infocard { display: flex; flex-direction: column; }
.ws-infocard > .ws-btn { margin-top: auto; align-self: flex-start; }
.ws-infocard > :has(+ .ws-btn) { margin-bottom: var(--space-6); }
.ws-infocard > .ws-tag, .ws-infocard > .ws-tags { align-self: flex-start; }
