/* BesVog Consulting site styles, v3 (27 Nov 2026), built on v2 (25 Nov 2026). Brand system: BesVog_00_Brand_System_Master (Oct 2026).
   VOICE   a senior engineering consultancy: calm, exact, confident; plain words
   IDEA    a systems engineering drawing set: each section is a sheet with its own working diagram
           (system overlay, V model, traceability tree, N² matrix, assurance argument, delivery chain)
   PICTURE hero: a railway system with its subsystems and interfaces drawn over it; then the five-question V
   COLOUR  navy #17324D fields for hero, foundation and contact; white and mist sheets; teal for information;
           amber only as the safety marker, never text
   TYPE    Inter Display 700 for headings, Inter for text (self-hosted)
   LAYOUT  up to 76rem; hero copy over navy with the drawing to the right; diagrams sit beside their text;
           everything stacks to one column below 760px */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #17324D;
  --navy-deep: #10263C;
  --navy-2: #1E3E5E;
  --teal: #177E89;
  --teal-rev: #5FC4CC;
  --teal-wash: #E3F2F3;
  --amber: #C88A2D;
  --amber-wash: #FBF1E1;
  --ink: #243746;
  --slate: #596B78;
  --slate-rev: #B9C6D2;
  --mist: #F4F7FA;
  --line: #DCE3EA;
  --white: #FFFFFF;
  --font-display: "Inter Display", "Inter", Arial, Helvetica, sans-serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.3vw, 2.6rem);
  --step-4: clamp(2.5rem, 6.4vw, 5.25rem);
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.25rem);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; font-feature-settings: "kern", "calt"; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: var(--step-1); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: 0.75rem 1rem; z-index: 20; }
.skip:focus { left: 1rem; top: 1rem; }
.label { font-size: var(--step--1); font-weight: 600; color: var(--teal); }
.fine { font-size: var(--step--1); color: var(--slate); }
.lede { font-size: var(--step-1); max-width: 40rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 0.5rem; font: 600 1rem/1.2 var(--font-body); text-decoration: none; padding: 0.8rem 1.4rem; border-radius: 999px; border: 2px solid var(--navy); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--mist); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--teal-rev); border-color: var(--teal-rev); color: var(--navy); }
.btn-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-line:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }


/* Sections */
.sec { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band-mist { background: var(--mist); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2, .band-navy h3, .band-navy h4 { color: var(--white); }
.band-navy a { color: var(--teal-rev); }
.band-navy a:hover { color: var(--white); }
.band-navy .btn-light { color: var(--navy); }
.band-navy .btn-light:hover { color: var(--navy); }
.head { display: grid; gap: 1rem; max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head p { color: var(--ink); }
.band-navy .head p { color: var(--slate-rev); }

.frame { position: relative; width: fit-content; max-width: 100%; padding: clamp(1.4rem, 3.4vw, 2.4rem) clamp(1.3rem, 3.4vw, 2.4rem); margin-left: calc(-1 * clamp(1.3rem, 3.4vw, 2.4rem)); }
.frame::before, .frame::after { content: ""; position: absolute; width: 14%; min-width: 42px; aspect-ratio: 1; border: 0 solid var(--navy); }
.frame::before { top: 0; left: 0; border-top-width: 9px; border-left-width: 9px; border-top-left-radius: 13px; }
.frame::after { bottom: 0; right: 0; border-bottom-width: 9px; border-right-width: 9px; border-bottom-right-radius: 13px; }
.proof { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; color: var(--slate-rev); font-size: 0.95rem; }
.sil { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--white); color: var(--navy); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.3rem 0.65rem 0.3rem 0.5rem; border-radius: 6px; white-space: nowrap; }
.sil::before { content: ""; width: 0.55rem; height: 1rem; background: var(--amber); border-radius: 2px; }
.flow { stroke-dasharray: 3 7; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* Five questions explorer */
.qx { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.qx-side { position: sticky; top: 5.5rem; }
.qx-list { display: grid; gap: 0.6rem; }
.qtab { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.25rem 0.75rem; align-items: center; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.85rem 1rem; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.qtab:hover { border-color: var(--teal); }
.qtab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 10px 24px -12px rgba(23,50,77,.55); }
.qn { grid-row: span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--teal-wash); color: var(--teal); font-weight: 700; font-variant-numeric: tabular-nums; }
.qtab[aria-selected="true"] .qn { background: var(--teal-rev); color: var(--navy); }
.qtab.safety .qn { box-shadow: inset 0 0 0 3px var(--amber); }
.qt { font-weight: 600; line-height: 1.3; }
.qa { font-size: 0.8rem; color: var(--slate); }
.qtab[aria-selected="true"] .qa { color: var(--slate-rev); }
.qa[data-v="yes"]::before, .qa[data-v="think"]::before, .qa[data-v="no"]::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .4rem; vertical-align: 0.05em; }
.qa[data-v="yes"]::before { background: var(--teal); }
.qa[data-v="think"]::before { background: var(--amber); }
.qa[data-v="no"]::before { background: #B4453A; }
.qx-score { margin-top: 0.6rem; border-radius: var(--r-m); background: var(--mist); padding: 1rem 1.1rem; }
.meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; margin: 0.6rem 0 0.75rem; }
.meter span { height: 0.5rem; border-radius: 99px; background: var(--line); transition: background-color .25s; }
.meter span[data-v="yes"] { background: var(--teal); }
.meter span[data-v="think"] { background: var(--amber); }
.meter span[data-v="no"] { background: #B4453A; }
.qx-score p { font-size: 0.95rem; }
.qx-score .btn { margin-top: 0.75rem; min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.qx-stage { border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.vfig { grid-column: 1 / -1; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(0.75rem, 2.5vw, 1.75rem) clamp(0.75rem, 2.5vw, 2rem) clamp(0.9rem, 2vw, 1.25rem); }
.vfig svg { width: 100%; max-width: 980px; margin: 0 auto; }
.vfig text { font-family: var(--font-body); }
.vfig figcaption { margin: 0.75rem auto 0; max-width: 980px; font-size: var(--step--1); color: var(--slate); }
.vfig .v-tall { display: none; }
.vfig .hl { opacity: 0; transition: opacity .35s; }
.vfig[data-active="1"] .h1, .vfig[data-active="2"] .h2, .vfig[data-active="3"] .h3, .vfig[data-active="4"] .h4, .vfig[data-active="5"] .h5 { opacity: 1; }
.qp { padding: clamp(1.25rem, 3vw, 2rem); }
.qp h3 { font-size: var(--step-2); }
.qp-why { margin-top: 0.6rem; max-width: 46rem; }
.qp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.75rem; margin-top: 1.25rem; }
.qp-cols h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.ticks { list-style: none; display: grid; gap: 0.4rem; font-size: 0.97rem; }
.ticks li { position: relative; padding-left: 1.4rem; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.5rem; height: 0.5rem; border-radius: 50%; border: 2px solid var(--teal); }
.warn li::before { border-color: var(--amber); border-radius: 2px; transform: rotate(45deg); }
.qp-help { margin-top: 1.25rem; padding: 0.9rem 1rem; background: var(--teal-wash); border-radius: var(--r-s); font-size: 0.97rem; }
.ans { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.ans > span { font-weight: 600; color: var(--navy); margin-right: 0.25rem; }
.ans button { min-height: 44px; font: 500 0.95rem/1 var(--font-body); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 1rem; cursor: pointer; transition: all .2s; }
.ans button:hover { border-color: var(--teal); }
.ans button[aria-pressed="true"][data-ans="yes"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.ans button[aria-pressed="true"][data-ans="think"] { background: var(--amber-wash); border-color: var(--amber); color: var(--ink); }
.ans button[aria-pressed="true"][data-ans="no"] { background: #F7E4E1; border-color: #B4453A; color: var(--ink); }

/* Challenge */
.challenge .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.statement { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.challenge .prose p { color: var(--ink); }
.cite { border-left: 3px solid var(--teal); padding: 0.25rem 0 0.25rem 1.1rem; margin-top: 1.5rem; }
.cite p { color: var(--ink); }
.cite footer { margin-top: 0.5rem; font-size: var(--step--1); color: var(--slate); }

/* Pillars */
.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ov { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.25rem 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--r-m); background: var(--mist); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.ov:hover { border-color: var(--teal); background: var(--white); color: var(--ink); }
.ov svg { grid-row: span 2; width: 3rem; height: 3rem; }
.ov b { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.ov span { font-size: 0.95rem; color: var(--slate); }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: 4.5rem; }
.pillar-head { display: grid; gap: 0.75rem; align-content: start; }
.pno { display: inline-flex; width: fit-content; align-items: center; gap: 0.5rem; font-size: var(--step--1); font-weight: 600; color: var(--teal); background: var(--teal-wash); border-radius: 999px; padding: 0.25rem 0.75rem; }
.pillar h3 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.tagline { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--teal); }
.pillar-art { background: var(--mist); border-radius: var(--r-l); padding: clamp(1rem, 2.4vw, 1.75rem); align-self: start; }
.pillar-art svg { width: 100%; }
.pillar-art figcaption { margin-top: 0.75rem; font-size: var(--step--1); color: var(--slate); }
.pillar-art text { font-family: var(--font-body); }
.svc { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1rem; }
.svc li { display: grid; gap: 0.45rem; align-content: start; padding: 1.15rem 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.svc .num { font-size: 0.8rem; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.svc p { font-size: 0.97rem; }
.svc .ask { color: var(--teal); font-style: italic; font-size: 0.95rem; }
.svc li.safety { border-color: #E7CFA8; background: linear-gradient(180deg, var(--amber-wash), var(--white) 55%); }
.tag { display: inline-block; vertical-align: 0.15em; margin-left: 0.35rem; font: 700 0.68rem/1 var(--font-body); letter-spacing: 0.06em; color: var(--navy); background: var(--white); border: 1.5px solid var(--amber); border-radius: 4px; padding: 0.22rem 0.35rem; }
.esm { grid-column: 1 / -1; border: 1px solid #E7CFA8; border-radius: var(--r-l); background: linear-gradient(180deg, var(--amber-wash), var(--white) 45%); padding: clamp(1.25rem, 3vw, 2rem); }
.esm-head { display: grid; gap: 0.4rem; }
.esm-head h4 { font-size: var(--step-1); }
.esm-head p { font-size: 0.97rem; max-width: 52rem; }
.esm-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.45rem; margin: 1.1rem 0 1rem; }
.esm-tabs button { display: grid; gap: 0.15rem; align-content: start; text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-top: 3px solid #E7CFA8; border-radius: var(--r-s); padding: 0.6rem 0.7rem 0.65rem; cursor: pointer; transition: border-color .2s, background-color .2s; }
.esm-tabs button:hover { border-color: var(--amber); }
.esm-tabs b { font-size: 0.9rem; font-weight: 600; line-height: 1.25; color: var(--navy); }
.esm-tabs span { font-size: 0.78rem; color: var(--slate); }
.esm-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); border-top-color: var(--amber); }
.esm-tabs button[aria-selected="true"] b { color: var(--white); }
.esm-tabs button[aria-selected="true"] span { color: var(--slate-rev); }
.esm-acts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.75rem; }
.esm-acts li { display: grid; gap: 0.45rem; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.9rem 1rem 1rem; }
.esm-acts p { font-size: 0.95rem; }
.act { width: fit-content; font-size: 0.78rem; font-weight: 600; color: var(--navy); background: var(--amber-wash); border: 1px solid #E7CFA8; border-radius: 999px; padding: 0.12rem 0.6rem; }
.act.ia { background: var(--teal-wash); border-color: #A9D8DB; }
.esm-src { margin-top: 0.9rem; font-size: var(--step--1); color: var(--slate); }
.artefacts { grid-column: 1 / -1; border-radius: var(--r-l); background: var(--navy); color: var(--white); padding: clamp(1.25rem, 3vw, 2rem); }
.art-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; align-items: baseline; }
.art-head h4 { color: var(--white); font-size: var(--step-1); }
.art-head p { color: var(--slate-rev); font-size: var(--step--1); max-width: 40rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 1.25rem; }
.tabs button { min-height: 42px; font: 500 0.93rem/1.2 var(--font-body); color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 0.55rem 1rem; cursor: pointer; transition: all .2s; }
.tabs button:hover { border-color: var(--teal-rev); }
.tabs button[aria-selected="true"] { background: var(--teal-rev); border-color: var(--teal-rev); color: var(--navy); font-weight: 600; }
.art-list { list-style: none; display: grid; border-top: 1px solid rgba(255,255,255,.14); }
.art-list li { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr); gap: 0.35rem 1.75rem; align-items: baseline; padding: 0.85rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.art-list b { font-weight: 600; color: var(--white); line-height: 1.35; }
.art-list span { font-size: 0.95rem; color: #C9D5DF; }
.art-list li.s b::before { content: ""; display: inline-block; width: 0.45rem; height: 0.9rem; margin-right: 0.55rem; vertical-align: -0.08em; border-radius: 2px; background: var(--amber); }
.refs { margin-top: 1.1rem; font-size: 0.82rem; color: var(--slate-rev); max-width: 60rem; }

/* Common problems */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.4rem; padding: 1.1rem 1.25rem 1.2rem; background: var(--white); border-top: 3px solid var(--navy); border-radius: 0 0 var(--r-m) var(--r-m); }
.stat strong { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.stat p { font-size: 0.97rem; }
.stat .src { font-size: 0.8rem; color: var(--slate); }
.stat .more { width: fit-content; margin-top: 0.35rem; font-weight: 600; font-size: 0.93rem; }
.stat-key { border-top-color: var(--teal); background: linear-gradient(180deg, var(--teal-wash), var(--white) 60%); }
.stat-key strong { color: var(--teal); }
.probs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.prob { display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.6rem; padding: 1.25rem 1.3rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.prob h3 { font-size: 1.2rem; line-height: 1.25; }
.prob .sym { font-size: 0.97rem; color: var(--slate); }
.prob .fix { align-self: start; font-size: 0.97rem; padding: 0.75rem 0.85rem; background: var(--teal-wash); border-radius: var(--r-s); }
.prob .fix b { color: var(--navy); }
.prob .more { width: fit-content; font-weight: 600; font-size: 0.95rem; }
.prob-key { border: 2px solid var(--teal); }
.prob-safety { border-color: #E7CFA8; background: linear-gradient(180deg, var(--amber-wash), var(--white) 50%); }
.prob-safety .fix { background: var(--white); border: 1px solid #E7CFA8; }
.probs-note { margin: 1.5rem 0 2rem; max-width: 56rem; font-size: 0.97rem; border-left: 3px solid var(--teal); padding-left: 1rem; }
.probs-note span { display: block; margin-top: 0.35rem; font-size: var(--step--1); color: var(--slate); }
.probs-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.problems .btn-ghost:hover { background: var(--white); }

/* For engineers: technical detail on demand */
.deep { grid-column: 1 / -1; }
.deep > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.65rem; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 0.97rem; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.15rem; transition: border-color .2s; }
.deep > summary::-webkit-details-marker { display: none; }
.deep > summary::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.deep[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.deep > summary:hover { border-color: var(--teal); }
.deep[open] > summary { margin-bottom: 1rem; }
.deep > .esm + .artefacts { margin-top: 1rem; }
.band-navy .deep > summary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.3); }
.band-navy .deep > summary:hover { border-color: var(--teal-rev); }

/* Joined up with project and contract management */
.tp { display: grid; gap: 0.5rem; }
.tp-row { display: grid; grid-template-columns: 8.5rem repeat(3, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.tp-row > * { padding: 0.8rem 1rem; font-size: 0.95rem; }
.tp-row > span + span { border-left: 1px solid var(--line); }
.tp-row .tp-label { font-weight: 600; color: var(--navy); background: var(--teal-wash); }
.tp-row i { display: none; font-style: normal; }
.tp-head { background: transparent; border: 0; border-radius: 0; }
.tp-head > * { padding-top: 0; padding-bottom: 0.15rem; font-size: 0.9rem; font-weight: 700; }
.tp-head > span + span { border-left: 0; }
.tp-head .tp-label { background: transparent; color: var(--slate); font-weight: 600; }
.tp-head .tp-se, .tp-row .tp-se > i { color: var(--teal); }
.tp-head .tp-pm { color: var(--navy); }
.tp-head .tp-cm { color: #6B4E8C; }
.tp-head .tp-se::before, .tp-head .tp-pm::before, .tp-head .tp-cm::before { content: ""; display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-right: 0.45rem; background: currentColor; }
.joined-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; margin-top: 2rem; align-items: start; }
.joined-how h3 { grid-column: 1 / -1; font-size: var(--step-1); }
.joined-src { font-size: 0.97rem; border-left: 3px solid var(--teal); padding-left: 1rem; }
.joined-src span { display: block; margin-top: 0.35rem; font-size: var(--step--1); color: var(--slate); }
.cases-title { margin: 2.25rem 0 1rem; font-size: var(--step-1); }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.case { display: grid; gap: 0.6rem; align-content: start; padding: 1.3rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.case h4 { font-size: 1.15rem; }
.case p { font-size: 0.97rem; }
.case-fix { padding: 0.75rem 0.85rem; background: var(--teal-wash); border-radius: var(--r-s); }
.case-fix b { color: var(--navy); }
.case .src { font-size: 0.8rem; color: var(--slate); }
.cases-note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--slate); }
.course-wide { grid-column: span 2; }

/* Foundation */
.foundation .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.commitments { list-style: none; display: grid; gap: 1rem; margin-top: 1.75rem; counter-reset: c; }
.commitments li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; color: var(--slate-rev); counter-increment: c; }
.commitments li::before { content: counter(c); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); color: var(--white); font-weight: 600; font-size: 0.95rem; }
.commitments b { color: var(--white); }
.figure-block { background: var(--navy-2); border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgba(255,255,255,.08); }
.figure { display: grid; gap: 0.2rem; padding-block: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.figure strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; white-space: nowrap; }
.figure span { color: var(--slate-rev); }
.figure-block .fine { color: var(--slate-rev); margin-top: 1rem; }
.figure-block .label { color: var(--teal-rev); }

.stds-d { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: clamp(1.25rem, 3vw, 2rem); }
.stds ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.75rem 1.5rem; }
.stds li { display: grid; align-content: start; gap: 0.15rem; padding-left: 0.9rem; border-left: 2px solid var(--teal-rev); }
.stds b { color: var(--white); font-weight: 600; }
.stds span { color: var(--slate-rev); font-size: 0.93rem; }

/* How we work */
.how .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cycle text { font-family: var(--font-body); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1.75rem; }
.way { padding: 1rem 1.1rem; border-radius: var(--r-m); background: var(--mist); display: grid; gap: 0.3rem; align-content: start; }
.way h3 { font-size: 1.05rem; }
.way p { font-size: 0.95rem; }
.right-sized { margin-top: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-m); border: 1px solid var(--line); }
.right-sized h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }

/* Offers */
.offers { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.25rem; }
.offer { background: var(--white); border-radius: var(--r-l); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 0.9rem; align-content: start; border: 1px solid var(--line); }
.offer h3 { font-size: var(--step-2); }
.duration { display: flex; align-items: baseline; gap: 0.5rem; color: var(--slate); }
.duration strong { font-family: var(--font-display); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 0.2rem; padding: 0.8rem 0.9rem; border-radius: var(--r-s); background: var(--mist); font-size: 0.93rem; }
.steps b::before { content: counter(s) ". "; color: var(--teal); }
.outputs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.outputs li { font-size: 0.88rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--teal-wash); color: var(--navy); }
.offer.safety-offer { background: linear-gradient(180deg, var(--amber-wash), var(--white) 60%); border-color: #E7CFA8; }
.offer .ask { color: var(--slate); font-style: italic; }

/* Training */
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.course { display: grid; gap: 0.45rem; align-content: start; padding: 1.15rem 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.course h3 { font-size: 1.1rem; }
.course p { font-size: 0.97rem; }
.course-feature { grid-row: span 4; border-color: #E7CFA8; background: linear-gradient(180deg, var(--amber-wash), var(--white) 55%); padding: 1.4rem 1.4rem 1.5rem; gap: 0.75rem; }
.course-feature h3 { font-size: var(--step-2); }
.course-out { font-size: 0.93rem; color: var(--slate); }
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.formats div { background: var(--mist); border-radius: var(--r-m); padding: 1rem 1.1rem; }
.formats h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.formats p { font-size: 0.95rem; }
.training-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.training-cta .fine { max-width: 40rem; }

/* Experience */
.region + .region { margin-top: 2.5rem; }
.region > h3 { font-size: 1.05rem; color: var(--slate); font-weight: 600; margin-bottom: 1rem; }
.work { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.1rem; }
.card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(23,50,77,.45); }
.card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; background: var(--mist); }
.card-body { display: grid; gap: 0.35rem; align-content: start; padding: 1rem 1.1rem 1.2rem; }
.card .what { font-size: 0.82rem; font-weight: 600; color: var(--teal); }
.card h4 { font-size: 1.15rem; }
.card .who { font-size: 0.93rem; color: var(--ink); }
.card .scale { font-size: 0.88rem; color: var(--slate); }
.card .award { font-size: 0.85rem; color: var(--navy); font-weight: 600; }
.work-note { margin-top: 1.25rem; }

/* Delivery chain */
.chain { margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--r-l); background: var(--mist); }
.chain-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; margin-top: 1.5rem; }
.dc { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(5.5rem, auto)); gap: clamp(2.2rem, 5vw, 3.6rem) clamp(1rem, 6.5vw, 6.25rem); padding: 0.5rem; }
.dc svg.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dc .lk { stroke: #A9B8C5; stroke-width: 1.5; fill: none; transition: stroke .2s, opacity .2s; }
.dc .lk.on { stroke: var(--teal); stroke-width: 2.5; }
.dc.has-active .lk:not(.on) { opacity: .35; }
.dc .lt { font: 500 12.5px var(--font-body); fill: var(--slate); paint-order: stroke; stroke: var(--mist); stroke-width: 5px; stroke-linejoin: round; transition: fill .2s, opacity .2s; }
.dc .lt.on { fill: var(--teal); font-weight: 600; }
.dc.has-active .lt:not(.on) { opacity: .45; }
.actor { position: relative; z-index: 1; overflow-wrap: anywhere; hyphens: auto; display: grid; place-items: center; text-align: center; gap: 0.2rem; font: 600 0.95rem/1.25 var(--font-body); color: var(--navy); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 0.75rem 0.6rem; cursor: pointer; transition: all .2s; }
.actor small { font-weight: 500; font-size: 0.78rem; color: var(--slate); }
.actor:hover { border-color: var(--teal); }
.actor[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 12px 26px -14px rgba(23,50,77,.6); }
.actor[aria-pressed="true"] small { color: var(--slate-rev); }
.a-sponsor { grid-area: 1 / 2; }
.a-adviser { grid-area: 1 / 1; }
.a-assessor { grid-area: 1 / 3; }
.a-contractor { grid-area: 2 / 2; }
.a-operator { grid-area: 2 / 3; }
.a-supplier { grid-area: 3 / 2; }
.dc-panel { background: var(--white); border-radius: var(--r-m); border: 1px solid var(--line); padding: clamp(1.1rem, 2.5vw, 1.6rem); display: grid; align-content: start; gap: 0.75rem; }
.dc-panel h4 { font-size: var(--step-1); }
.dc-panel .role { color: var(--slate); font-size: 1rem; }
.dc-panel h5 { margin: 0.25rem 0 0; font: 600 0.9rem/1.3 var(--font-body); color: var(--teal); }

/* About */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.facts { background: var(--white); border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); }
.facts dl { display: grid; gap: 0; }
.facts div { display: grid; gap: 0.15rem; padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.facts dd { margin: 0; color: var(--ink); }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact .lede { color: var(--slate-rev); margin-top: 1rem; }
.contact-card { background: var(--navy-2); border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid rgba(255,255,255,.1); }
.contact-card div { display: grid; gap: 0.15rem; padding-block: 0.7rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-card div:last-child { border-bottom: 0; }
.contact-card dt { font-size: 0.85rem; color: var(--slate-rev); }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }


/* Legal page */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 6vw, 5rem); }
.legal h1 { font-size: var(--step-3); }
.legal h2 { font-size: var(--step-2); margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.075rem; margin-top: 1.5rem; }
.legal p, .legal li { max-width: 46rem; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal .prose > * + * { margin-top: 0.85em; }
.legal h2 + *, .legal h3 + *, .legal p + p, .legal p + table, .legal p + ul, .legal table + p { margin-top: 0.75rem; }
.legal table { border-collapse: collapse; width: 100%; max-width: 46rem; margin-top: 1rem; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--slate); font-weight: 600; width: 34%; }
.todo { background: #FFF4E2; color: var(--ink); border-radius: 4px; padding: 0 0.3em; font-weight: 600; }
.note { background: var(--mist); border-radius: var(--r-m); padding: 1rem 1.25rem; max-width: 46rem; }

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow { animation: none; }
  *, *::before, *::after { transition: none !important; }
}

/* Responsive */
@media (max-width: 1060px) {
  .stats, .probs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-row { grid-template-columns: minmax(0, 1fr); }
  .tp-head { display: none; }
  .tp-row > span + span { border-left: 0; border-top: 1px solid var(--line); }
  .tp-row i { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.15rem; }
  .tp-row .tp-pm > i { color: var(--navy); }
  .tp-row .tp-cm > i { color: #6B4E8C; }
  .joined-how { grid-template-columns: minmax(0, 1fr); }
  .esm-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(10.5rem, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.35rem; }
  .esm-tabs button { scroll-snap-align: start; }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-feature { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 980px) {
  .qx, .pillar, .foundation .wrap, .how .wrap, .about .wrap, .contact .wrap, .chain-grid { grid-template-columns: minmax(0, 1fr); }
  .qx-list { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
  .qx-side { position: static; order: 1; }
  .vfig { order: 2; }
  .qx-stage { order: 3; }
  .how figure { max-width: 26rem; margin-inline: auto; }
}
@media (max-width: 860px) {
  .cases { grid-template-columns: minmax(0, 1fr); }
  .challenge .wrap, .offers, .overview { grid-template-columns: minmax(0, 1fr); }
  .ways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .courses, .formats, .stats, .probs { grid-template-columns: minmax(0, 1fr); }
  .course-wide { grid-column: auto; }
  .qp-cols { grid-template-columns: minmax(0, 1fr); }
  .art-list li { grid-template-columns: minmax(0, 1fr); }
  .pillar-art { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pillar-art svg { min-width: 520px; }
  .vfig .v-wide { display: none; }
  .vfig .v-tall { display: block; max-width: 420px; }
  .pillar-art figcaption { position: sticky; left: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .dc { gap: 2rem 0.6rem; grid-template-rows: repeat(3, minmax(4.75rem, auto)); }
  .actor { font-size: 0.8rem; padding: 0.6rem 0.25rem; }
  .actor small { display: none; }
  .dc .lt { display: none; }
  .frame::before, .frame::after { min-width: 30px; }
  .frame::before { border-top-width: 7px; border-left-width: 7px; }
  .frame::after { border-bottom-width: 7px; border-right-width: 7px; }
  .frame { margin-left: 0; }
  .proof { flex-wrap: wrap; }
}

/* ===== Multi-page additions ===== */
.foot-site { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* At a glance */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; padding-block: clamp(1.25rem, 3vw, 1.9rem); }
.trust li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.85rem; align-items: center; }
.trust b { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; color: var(--navy); }
.trust p span { display: block; font-size: 0.9rem; line-height: 1.35; color: var(--slate); }
.ti { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ti .fill { fill: var(--teal); fill-opacity: .25; stroke: none; }

/* What we do (home) */
.wwd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.wwd-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; color: var(--ink); text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); transition: transform .25s, box-shadow .25s, border-color .25s; }
.wwd-card:hover, .wwd-card:focus-visible { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 18px 40px -24px rgba(23,50,77,.45); color: var(--ink); }
.wwd-art { background: var(--mist); padding: 1.25rem 1.5rem 0.75rem; border-bottom: 1px solid var(--line); }
.wwd-art svg { display: block; width: 100%; max-height: 15rem; margin-inline: auto; }
.wwd-body { display: grid; gap: 0.5rem; align-content: start; padding: 1.25rem 1.5rem 1.5rem; }
.wwd-body h3 { font-size: var(--step-2); font-weight: 700; }
.wwd-tag { color: var(--teal); font-weight: 600; }
.wwd-body p { font-size: 0.98rem; }
.wwd .more { width: fit-content; margin-top: 0.35rem; font-weight: 600; color: var(--teal); border-bottom: 2px solid currentColor; }
.wwd-card:hover .more { color: var(--navy); }
.wwd-train { margin-top: 1.25rem; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; gap: 1rem 1.25rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: var(--r-l); background: var(--navy); color: var(--white); text-decoration: none; transition: background-color .25s; }
.wwd-train:hover { background: #1F3F5E; color: var(--white); }
.wwd-train .ti { stroke: var(--teal-rev); }
.wwd-train b { display: block; font-family: var(--font-display); font-size: var(--step-1); color: var(--white); }
.wwd-train > span > span { display: block; font-size: 0.95rem; color: var(--slate-rev); }
.wwd-train .more { color: var(--teal-rev); }

.crumbs ol { list-style: none; display: flex; gap: 0.5rem; margin: 0; padding: 0; font-size: var(--step--1); color: var(--slate-rev); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: .6; }


/* Joined-up heading with its diagram */
.jn-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem 3rem; align-items: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.jn-top .head { margin-bottom: 0; }
.jn-art { margin: 0; }
.jn-art svg { display: block; width: 100%; max-width: 30rem; margin-inline: auto; }

/* Where next */
.next-steps { padding-block: clamp(2.5rem, 6vw, 4rem); }
.ns-title { margin-bottom: 1.25rem; font-size: var(--step-2); }
.ns-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ns { display: grid; gap: 0.3rem; padding: 1.2rem 1.3rem; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ns:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 14px 30px -22px rgba(23,50,77,.5); color: var(--ink); }
.ns b { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }
.ns span { font-size: 0.95rem; color: var(--slate); }

/* Course finder */
.finder-top { display: grid; gap: 0.9rem; margin-bottom: 1.5rem; }
.finder-top .head { margin-bottom: 0; }
.finder { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.finder button { min-height: 44px; padding: 0.5rem 1rem; font: inherit; font-size: 0.93rem; font-weight: 600; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.finder button:hover { border-color: var(--teal); }
.finder button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.finder-count { font-size: var(--step--1); color: var(--slate); }
.tc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tc { display: grid; grid-template-rows: auto 1fr auto; gap: 0.5rem; padding: 1.2rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); animation: tc-in .35s ease both; }
@keyframes tc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tc h3 { font-size: 1.1rem; }
.tc p { font-size: 0.97rem; }
.tc-for { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.25rem 0 0; padding: 0; }
.tc-for li { padding: 0.15rem 0.6rem; font-size: 0.78rem; font-weight: 600; color: var(--teal); background: var(--teal-wash); border-radius: 999px; }
.tc-feature { grid-column: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; gap: 1.25rem 2rem; padding: 1.5rem 1.6rem; border-color: #E7CFA8; background: linear-gradient(180deg, var(--amber-wash), var(--white) 60%); }
.tc-main { display: grid; gap: 0.6rem; align-content: start; }
.tc-feature h3 { font-size: var(--step-2); }
.tc-out { font-size: 0.93rem; color: var(--slate); }

/* Formats and the course journey */
.tf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tf { display: grid; gap: 0.35rem; align-content: start; padding: 1.3rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.tf .ti { margin-bottom: 0.35rem; }
.tf h3 { font-size: var(--step-1); }
.tf-len { font-size: 0.93rem; font-weight: 600; color: var(--teal); }
.tf p:last-child { font-size: 0.97rem; }
.tj-title { margin: 2.5rem 0 1.25rem; font-size: var(--step-1); }
.tj { position: relative; list-style: none; counter-reset: tj; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; }
.tj::before { content: ""; position: absolute; top: 1.2rem; left: 1.2rem; right: 1.2rem; height: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-rev)); }
.tj li { position: relative; display: grid; gap: 0.3rem; align-content: start; padding-top: 3.25rem; counter-increment: tj; }
.tj li::before { content: counter(tj); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; box-shadow: 0 0 0 5px var(--mist); }
.tj b { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); }
.tj span { font-size: 0.95rem; }

@media (max-width: 1060px) {
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .jn-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .wwd-grid, .ns-grid, .tf-grid { grid-template-columns: minmax(0, 1fr); }
  .tj { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .tj::before { display: none; }
  .wwd-train { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .wwd-train .more { grid-column: 2; }
}
@media (max-width: 640px) {
  .trust ul { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
  .tc-grid { grid-template-columns: minmax(0, 1fr); }
  .tc-feature { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .tj { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
  .tj::before { display: block; top: 1.2rem; bottom: 1.2rem; left: 1.2rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal), var(--teal-rev)); }
  .tj li { padding: 0.35rem 0 0 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tc { animation: none; }
}

/* ===== v3 layer (27 Nov 2026): photo-led framework ======================================
   IDEA    FHK-style simplicity: one clear menu with dropdowns, full-bleed photo heroes,
           photo cards and split blocks; BesVog's own diagrams kept where they explain something
   PHOTOS  Unsplash, cropped and graded to the navy palette, logos blurred; credits on legal.html#fotos
   HEADER  fixed; transparent over the photo hero, solid navy once you scroll or open the menu */

:root { --hdr: 4.5rem; --shade: 13, 31, 49; }
html { scroll-padding-top: calc(var(--hdr) + 1rem); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; color: var(--white); transition: background-color .25s, box-shadow .25s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -2.5rem; background: linear-gradient(180deg, rgba(var(--shade), .6), rgba(var(--shade), 0)); pointer-events: none; transition: opacity .25s; }
.site-header.is-solid, .solid-head .site-header, .site-header.nav-open { background: var(--navy); box-shadow: 0 12px 30px -22px rgba(0, 0, 0, .6); }
.site-header.is-solid::before, .solid-head .site-header::before, .site-header.nav-open::before { opacity: 0; }
.hdr { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--hdr); }
.brand { display: block; flex: none; }
.brand img { width: 190px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-top { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.5rem 0.8rem; font: 500 0.97rem/1.2 var(--font-body); color: var(--white); text-decoration: none; background: none; border: 0; border-radius: 8px; cursor: pointer; transition: background-color .2s, color .2s; }
.nav-top::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .75; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-top[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.nav-list > li > a:hover, .nav-top:hover, .nav-top[aria-expanded="true"] { background: rgba(255, 255, 255, .12); color: var(--white); }
.nav-list > li > a[aria-current="page"], .nav-top.is-current { color: var(--teal-rev); }
.nav-cta { margin-left: 0.75rem; }
.nav-lang { display: flex; align-items: center; margin-left: 0.5rem; padding: 2px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; }
.nav-list > li.nav-lang > a, .nav-lang a, .nav-lang span { display: inline-flex; gap: 0; align-items: center; justify-content: center; min-width: 2.3rem; min-height: 34px; padding: 0 0.55rem; font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.04em; color: var(--white); text-decoration: none; border-radius: 999px; transition: background-color .2s; }
.nav-lang span[aria-current] { background: rgba(255, 255, 255, .2); }
.nav-lang a:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.nav-list > li.nav-cta > a { min-height: 44px; padding: 0.55rem 1.2rem; color: var(--navy); background: var(--white); border-radius: 999px; font-weight: 600; }
.nav-list > li.nav-cta > a:hover { background: var(--teal-rev); color: var(--navy); }
.burger { display: none; }

/* Dropdowns */
.sub { position: absolute; top: calc(100% + 0.55rem); left: -0.4rem; z-index: 2; min-width: 21.5rem; padding: 0.45rem; background: var(--white); border-radius: var(--r-m); box-shadow: 0 26px 50px -20px rgba(var(--shade), .55), 0 0 0 1px rgba(23, 50, 77, .06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
.sub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.sub a { display: grid; gap: 0.1rem; padding: 0.6rem 0.8rem; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color .15s; }
.sub a b { font-weight: 600; font-size: 0.97rem; color: var(--navy); }
.sub a span { font-size: 0.85rem; line-height: 1.35; color: var(--slate); }
.sub a:hover, .sub a:focus-visible { background: var(--mist); color: var(--ink); }
.sub a[aria-current="page"] { background: var(--teal-wash); }
.sub a[aria-current="page"] b { color: var(--teal); }
.sub hr { border: 0; border-top: 1px solid var(--line); margin: 0.35rem 0.6rem; }
.nav-top[aria-expanded="true"] + .sub,
html:not(.js) .has-sub:hover > .sub,
html:not(.js) .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }

/* Photo heroes */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(36rem, 88vh, 56rem); padding: calc(var(--hdr) + 3rem) 0 clamp(3rem, 7vw, 5.5rem); background: var(--navy-deep); color: var(--white); }
.hero-page { min-height: clamp(27rem, 62vh, 40rem); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(var(--shade), .9) 0%, rgba(var(--shade), .74) 36%, rgba(var(--shade), .28) 72%, rgba(var(--shade), .12) 100%),
  linear-gradient(0deg, rgba(var(--shade), .5) 0%, rgba(var(--shade), 0) 40%); }
.hero h1 { color: var(--white); font-size: var(--step-4); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.hero h1 span { display: block; }
.hero-page h1 { max-width: 17ch; margin-top: 1rem; font-size: clamp(2.35rem, 5.2vw, 4.1rem); }
.hero .lede { max-width: 38rem; margin-top: 1.25rem; color: #E4ECF2; }
.hero .frame { margin-bottom: 0.25rem; }
.hero .frame::before, .hero .frame::after { border-color: var(--white); }
.hero .proof { color: #C9D5DF; }
.hero .crumbs ol { color: #C9D5DF; }
.hero .crumbs a { color: var(--white); }
.hero .crumbs a:hover { color: var(--teal-rev); }

/* Section intro text centred under a heading pair */
.sec-tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

/* Photo cards */
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.pcards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; color: var(--ink); text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pcard-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pcard-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.45rem; padding: 1.15rem 1.3rem 1.35rem; }
.pcard h3 { font-size: 1.35rem; font-weight: 700; }
.pcard .tagl { color: var(--teal); font-weight: 600; font-size: 0.98rem; }
.pcard p { font-size: 0.97rem; }
.pcard .more { width: fit-content; margin-top: 0.4rem; font-weight: 600; color: var(--teal); border-bottom: 2px solid currentColor; }
.pcard:hover, .pcard:focus-visible { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 18px 40px -24px rgba(23, 50, 77, .45); color: var(--ink); }
.pcard:hover .pcard-img img { transform: scale(1.045); }
.pcard:hover .more { color: var(--navy); }
.band-mist .pcard { border-color: transparent; }
.band-mist .pcard:hover { border-color: var(--teal); }

/* Training band (home) */
.train-band { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); margin-top: 1.25rem; overflow: hidden; color: var(--white); text-decoration: none; background: var(--navy); border-radius: var(--r-l); transition: background-color .25s; }
.train-band img { width: 100%; height: 100%; min-height: 15rem; object-fit: cover; }
.train-body { display: grid; align-content: center; gap: 0.6rem; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.train-body b { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; color: var(--white); }
.train-body span { color: var(--slate-rev); }
.train-body .more { width: fit-content; margin-top: 0.4rem; font-weight: 600; color: var(--teal-rev); border-bottom: 2px solid currentColor; }
.train-band:hover { background: var(--navy-2); color: var(--white); }

/* Split: text beside a photo */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.split.rev > .split-media { order: 2; }
.split-media { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-l); }
.split .head { margin-bottom: 0; }
.split .cta-row { margin-top: 1.75rem; }
.split + .stats { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.split-fig { align-self: center; }

/* Full-bleed photo strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--white); }
.strip img { width: 100%; height: clamp(11rem, 21vw, 20rem); object-fit: cover; }

/* Contact band over a photo */
.cta-band { position: relative; isolation: isolate; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 60%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--shade), .9) 0%, rgba(var(--shade), .66) 50%, rgba(var(--shade), .3) 100%); }
.band-navy .btn-line, .band-navy .btn-line:hover { color: var(--white); }
.cta-band .contact-card { background: rgba(16, 38, 60, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(255, 255, 255, .16); }
.cta-band .lede { color: #D3DEE7; }

/* Discipline pages */
.band-navy .artefacts { padding: 0; background: none; border-radius: 0; }
.band-navy .head p { color: var(--slate-rev); }
.svc-sec .svc li { border-color: transparent; }
.svc-sec .svc h3 { font-size: 1.12rem; }
.svc-sec .svc li.safety { border-color: #E7CFA8; }
.lead-in { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--teal); }
.ov-text > * + * { margin-top: 1rem; }
.ov-text h2 { margin-bottom: 0.25rem; }

/* Contact page */
.reach { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.reach-card { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.reach-card dl div { display: grid; gap: 0.15rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.reach-card dl div:last-child { border-bottom: 0; }
.reach-card dt { font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.reach-card dd { margin: 0; overflow-wrap: anywhere; }
.reach-card .cta-row { margin-top: 1.25rem; }
.reach .tj { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
.reach .tj::before { display: block; top: 1.2rem; bottom: 1.2rem; left: 1.2rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal), var(--teal-rev)); }
.reach .tj li { padding: 0.35rem 0 0 3.5rem; }
.reach .tj li::before { box-shadow: 0 0 0 5px var(--white); }

/* Footer */
.site-footer { padding-block: clamp(2.75rem, 6vw, 4rem) 1.75rem; background: var(--navy-deep); color: var(--slate-rev); font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-brand img { width: 170px; }
.foot-brand p { max-width: 22rem; margin-top: 0.85rem; }
.foot-grid h2 { margin-bottom: 0.8rem; font: 600 0.92rem/1.3 var(--font-body); letter-spacing: 0; color: var(--white); }
.foot-grid ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--slate-rev); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 0.85rem; }

/* Pages without a photo hero */
.solid-head main.legal { padding-top: calc(var(--hdr) + clamp(2rem, 5vw, 3.25rem)); }
.credits { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.4rem 1.5rem; max-width: 60rem; margin-top: 1rem; font-size: 0.93rem; }
.credits li { max-width: none; }

@media (max-width: 1100px) {
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-list > li > a, .nav-top { padding-inline: 0.6rem; }
  .nav-cta { margin-left: 0.4rem; }
}
@media (max-width: 980px) {
  :root { --hdr: 4rem; }
  .burger { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.45rem 1rem 0.45rem 0.8rem; font: 600 0.95rem/1 var(--font-body); color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; cursor: pointer; }
  .burger-box { position: relative; width: 18px; height: 12px; }
  .burger-box span, .burger-box::before, .burger-box::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s, top .2s; }
  .burger-box::before { top: 0; }
  .burger-box span { top: 5px; }
  .burger-box::after { top: 10px; }
  .burger[aria-expanded="true"] .burger-box::before { top: 5px; transform: rotate(45deg); }
  .burger[aria-expanded="true"] .burger-box span { opacity: 0; }
  .burger[aria-expanded="true"] .burger-box::after { top: 5px; transform: rotate(-45deg); }
  .nav { display: none; position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0.5rem var(--gutter) 2.5rem; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .1); }
  .nav-open .nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-list > li > a, .nav-top { width: 100%; justify-content: space-between; min-height: 54px; padding: 0.8rem 0.2rem; font-size: 1.1rem; border-radius: 0; }
  .nav-list > li > a:hover, .nav-top:hover, .nav-top[aria-expanded="true"] { background: none; }
  .sub { display: none; position: static; min-width: 0; padding: 0 0 0.85rem; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .sub::before { display: none; }
  .nav-top[aria-expanded="true"] + .sub { display: block; }
  .sub a { padding: 0.55rem 0.8rem; }
  .sub a b { color: var(--white); }
  .sub a span { color: var(--slate-rev); }
  .sub a:hover, .sub a:focus-visible { background: rgba(255, 255, 255, .07); }
  .sub a[aria-current="page"] { background: rgba(95, 196, 204, .14); }
  .sub a[aria-current="page"] b { color: var(--teal-rev); }
  .sub hr { border-color: rgba(255, 255, 255, .1); }
  .nav-list > li.nav-lang { align-self: flex-start; margin: 1.25rem 0 0; border: 1px solid rgba(255, 255, 255, .35); }
  .nav-list > li.nav-lang > a, .nav-lang a, .nav-lang span { width: auto; justify-content: center; min-height: 42px; min-width: 3rem; font-size: 0.9rem; }
  .nav-list > li.nav-cta { margin: 1.5rem 0 0; border-bottom: 0; }
  .nav-list > li.nav-cta > a { justify-content: center; min-height: 50px; }
  .brand img { width: 165px; }
  html:not(.js) .site-header { position: absolute; }
  html:not(.js) .burger { display: none; }
  html:not(.js) .nav { display: block; position: static; padding: 0 0 1rem; background: none; border: 0; }
  html:not(.js) .sub { display: block; }
  .split, .reach { grid-template-columns: minmax(0, 1fr); }
  .split.rev > .split-media { order: 0; }
  .split-media img { aspect-ratio: 16 / 10; }
  .train-band { grid-template-columns: minmax(0, 1fr); }
  .train-band img { min-height: 0; aspect-ratio: 16 / 8; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .pcards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(0deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .68) 48%, rgba(var(--shade), .3) 100%); }
  .hero { min-height: clamp(34rem, 92vh, 46rem); }
  .hero-page { min-height: 30rem; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip img { height: 10rem; }
}
@media (max-width: 640px) {
  .pcards, .pcards.three { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .frame { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard-img img, .sub { transition: none; }
}

/* Longer Spanish figures may wrap on narrow screens */
@media (max-width: 640px) { .figure strong { white-space: normal; text-wrap: balance; } }

/* Phone layouts for the diagrams (30 Nov 2026): portrait versions replace the wide ones */
.pillar-art .art-tall, .jn-art .art-tall, .cap-tall { display: none; }
@media (min-width: 641px) and (max-width: 1060px) {
  .esm-tabs { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow-x: visible; scroll-snap-type: none; padding-bottom: 0; }
}
@media (max-width: 640px) {
  .pillar-art { overflow-x: visible; }
  .pillar-art svg.art-wide, .jn-art svg.art-wide { display: none; }
  .pillar-art svg.art-tall, .jn-art svg.art-tall { display: block; min-width: 0; width: 100%; max-width: 420px; margin-inline: auto; }
  .jn-art svg.art-tall text, .pillar-art svg.art-tall text { font-family: var(--font-body); }
  .pillar-art figcaption { position: static; }
  .cap-wide { display: none; }
  .cap-tall { display: inline; }
  .vfig { padding-inline: 0.5rem; }
  .actor { overflow-wrap: normal; hyphens: manual; font-size: 0.76rem; padding: 0.6rem 0.3rem; }
  /* the seven safety phases: a two-column grid instead of a sideways strip that hides six of them */
  .esm-tabs { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow-x: visible; scroll-snap-type: none; padding-bottom: 0; }
  .esm-tabs button { padding: 0.5rem 0.6rem 0.55rem; }
  .esm-tabs button:last-child { grid-column: 1 / -1; }
  /* legal details: label above value, so the e-mail address fits on small phones */
  .legal th, .legal td { display: block; width: auto; }
  .legal th { padding-bottom: 0; border-bottom: 0; }
  .legal td { padding-top: 0.2rem; }
}
