/* CBEST glass-box design tokens + components (mockup; same tokens go to resources/css/app.css in Laravel) */
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;500;600;700&family=IBM+Plex+Sans+Thai:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,400,0..1,0&display=block');

:root {
  --brand: #005597;          /* logo blue */
  --brand-strong: #003f72;
  --brand-ink: #0b2545;      /* headings / body on glass */
  --sky: #38bdf8;
  --teal: #14b8a6;
  --text: #1e3350;
  --muted: #44576f;          /* >= 4.5:1 on every light glass surface (audited) */
  --brand-text: #005597;     /* brand colour used AS TEXT/ICON; lighter in dark mode */
  --tint: rgba(0, 85, 151, .09);  --tint-border: rgba(0, 85, 151, .2);
  --surface-2: rgba(255, 255, 255, .72);   /* inner tiles: form links, icon wells */
  --ok-icon: #0f766e;
  --bg: #eef4fb;
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .86);   /* reading surface for long articles */
  --glass-dark: rgba(8, 32, 64, .42);
  --glass-border: rgba(255, 255, 255, .72);
  --glass-border-dark: rgba(255, 255, 255, .22);
  --menu-bg: rgba(255, 255, 255, .97);   /* dropdowns: near-solid, see .drop */
  --shadow: 0 10px 34px rgba(0, 45, 95, .12), inset 0 1px 0 rgba(255, 255, 255, .6);
  --blur: 18px;
  --radius: 22px;
  --radius-sm: 14px;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--brand);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: 'Anuphan', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Thai', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-ink: #e8f1fb; --text: #d3e0ef; --muted: #a9bbd1; --bg: #06182d;
    --glass: rgba(16, 42, 74, .55); --glass-strong: rgba(12, 32, 58, .9);
    --glass-border: rgba(255, 255, 255, .14);
    --shadow: 0 10px 34px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
    --menu-bg: rgba(9, 28, 52, .97);
    --brand-text: #8cc8ff; --tint: rgba(140, 200, 255, .12); --tint-border: rgba(140, 200, 255, .28);
    --surface-2: rgba(255, 255, 255, .07); --ok-icon: #2dd4bf;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.75; color: var(--text);
  background: var(--bg); min-height: 100dvh; -webkit-font-smoothing: antialiased;
}
/* the coloured light behind the glass: fixed so panes keep refracting while scrolling */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 32rem at 8% 12%, rgba(0, 85, 151, .30), transparent 65%),
    radial-gradient(36rem 30rem at 92% 22%, rgba(56, 189, 248, .30), transparent 65%),
    radial-gradient(40rem 34rem at 70% 95%, rgba(20, 184, 166, .22), transparent 65%),
    radial-gradient(30rem 26rem at 18% 88%, rgba(0, 63, 114, .20), transparent 65%),
    var(--bg);
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--brand-ink); line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
img { max-width: 100%; height: auto; display: block; }
.msi { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; line-height: 1; display: inline-block; font-size: 1.35em; vertical-align: -.22em; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- glass primitives ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(var(--blur)) saturate(150%); backdrop-filter: blur(var(--blur)) saturate(150%);
}
.glass--read { background: var(--glass-strong); }
.glass--dark { background: var(--glass-dark); border-color: var(--glass-border-dark); color: #fff; box-shadow: 0 12px 40px rgba(0, 20, 45, .35), inset 0 1px 0 rgba(255,255,255,.18); }
.glass--dark h1, .glass--dark h2, .glass--dark h3 { color: #fff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .94); } .glass--dark { background: rgba(8, 32, 64, .88); }
}

/* ---------- header ---------- */
.site-head { position: sticky; top: 12px; z-index: 40; margin-top: 12px; }
.nav { display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 18px; border-radius: 999px; }
/* the nav's blur lives on a pseudo layer: an element with backdrop-filter becomes the backdrop root for its
   children, so a dropdown inside it could not blur the page and the hero title bled through it */
.nav.glass { position: relative; isolation: isolate; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%); backdrop-filter: blur(var(--blur)) saturate(150%); }
.drop.glass { background: var(--menu-bg); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 16px 40px rgba(0, 25, 55, .28); }
.nav__logo img { height: 42px; width: auto; }
.nav__menu { display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__menu > li { position: relative; }
.nav__menu a, .nav__menu button {
  display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font: 500 .95rem var(--font-head); color: var(--brand-ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background .2s var(--ease);
}
.nav__menu a:hover, .nav__menu button:hover, .nav__menu [aria-current="page"] { background: rgba(0, 85, 151, .10); }
.nav__menu [aria-current="page"] { color: var(--brand-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brand-text); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.drop a { border-radius: 12px; font-weight: 400; justify-content: space-between; }
.nav__menu li:hover > .drop, .nav__menu li:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.nav__cta { white-space: nowrap; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tint); color: var(--brand-text); cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem var(--font-head); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: linear-gradient(135deg, var(--brand), #0a74c4); color: #fff; box-shadow: 0 8px 22px rgba(0, 85, 151, .35); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(0, 85, 151, .45); }
.btn--glass { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }
.btn--ghost { background: var(--tint); color: var(--brand-text); border-color: var(--tint-border); }
.btn--ghost:hover { background: var(--tint-border); }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: -76px; padding: 150px 0 70px; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
/* clean slides (overlay text removed via GPT, checked against originals) */
/* slider: slides stacked, cross-fade; the photo stays visible on the right, the text side is darkened */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hero__slide.is-on { opacity: 1; }
.hero__slide a { display: block; height: 100%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(0, 32, 68, .9) 0%, rgba(0, 60, 115, .6) 42%, rgba(0, 85, 151, .12) 75%, rgba(0, 0, 0, 0) 100%); }
.hero__panel { max-width: 720px; padding: clamp(24px, 4vw, 44px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 .85rem var(--font-head); letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); margin-bottom: 18px; }
.hero__en { font-family: var(--font-head); font-size: 1.05rem; opacity: .9; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease); }
.hero__arrow:hover { background: rgba(255,255,255,.28); }
.hero__dots { display: flex; gap: 8px; align-items: center; }
.hero__dots button { position: relative; }
.hero__dots button::before { content: ""; position: absolute; inset: -19px -4px; }   /* 44px tap target around the thin bar */
.hero__dots button { width: 34px; height: 6px; border-radius: 6px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.hero__dots button[aria-current] { background: #fff; width: 48px; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 90px) 0; }
.section__head { max-width: 760px; margin-bottom: 34px; }
.kicker { font: 600 .82rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 8px; display: block; }
.lead { font-size: 1.08rem; color: var(--muted); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: -40px; position: relative; z-index: 2; padding: 6px; }
.trust__item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.trust__item + .trust__item { border-left: 1px solid rgba(0, 85, 151, .12); }
.trust__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,85,151,.14), rgba(56,189,248,.18)); color: var(--brand-text); font-size: 1.6rem; }
.trust__item strong { display: block; font: 600 1.02rem var(--font-head); color: var(--brand-ink); }
.trust__item div span { font-size: .92rem; color: var(--muted); }

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

.card { padding: 26px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.card { text-decoration: none; color: inherit; cursor: pointer; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 45, 95, .18), inset 0 1px 0 rgba(255,255,255,.6); }
.card__badge { align-self: flex-start; font: 700 .8rem var(--font-head); letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; color: #fff; background: var(--brand); margin-bottom: 16px; }
.card__badge--c { background: #0e7490; } .card__badge--m { background: #0f766e; } .card__badge--cpe { background: #7c3aed; }
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--brand-text); background: var(--surface-2); border: 1px solid var(--glass-border); margin-bottom: 14px; font-size: 1.75rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card__more { margin-top: auto; font: 600 .95rem var(--font-head); color: var(--brand-text); display: inline-flex; align-items: center; gap: 4px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 24px; position: relative; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 700 2.2rem var(--font-head); color: var(--brand-text); display: block; margin-bottom: 6px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.split__media { padding: 12px; }
.split__media img { border-radius: var(--radius-sm); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .msi { color: var(--ok-icon); flex: none; margin-top: 3px; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { padding: 14px 14px 20px; text-align: center; }
.person img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }
.person h3 { font-size: 1.02rem; margin-bottom: 2px; }
.person__en { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.person__role { display: inline-block; margin-top: 10px; font: 600 .78rem var(--font-head); padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--brand-text); }

.cta { padding: clamp(28px, 5vw, 52px); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(0, 52, 96, .94), rgba(0, 76, 138, .9) 60%, rgba(13, 100, 94, .9)); }

/* ---------- footer ---------- */
.foot { margin: 40px 0 16px; padding: 34px clamp(20px, 4vw, 40px) 20px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot h4 { font-size: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--text); text-decoration: none; } .foot a:hover { color: var(--brand-text); text-decoration: underline; }
.foot__base { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(0, 85, 151, .12); font-size: .88rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- content page ---------- */
.page-hero { padding: 120px 0 34px; margin-top: -76px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "chevron_right"; font-family: 'Material Symbols Rounded'; vertical-align: -.2em; margin-right: 6px; opacity: .7; }
.crumbs a { color: var(--muted); }
.layout { display: grid; grid-template-columns: 290px 1fr; gap: 26px; align-items: start; }
.layout > * { min-width: 0; }   /* lets the wide fee table scroll inside its wrapper instead of stretching the page */
.side { position: sticky; top: 96px; padding: 12px; }
.side h4 { padding: 10px 12px 6px; margin: 0; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 12px; text-decoration: none; color: var(--brand-ink); font-size: .95rem; }
.side a:hover { background: rgba(0, 85, 151, .08); }
.side a[aria-current="page"] { background: var(--brand); color: #fff; }
.article { padding: clamp(22px, 4vw, 48px); }
.article > * { max-width: min(72ch, 100%); }
.article .people, .article figure, .article .table-wrap, .article .embed { max-width: none; }
.article h2 { margin-top: 1.6em; } .article h2:first-child { margin-top: 0; }
.article ul, .article ol { padding-left: 1.3em; } .article li { margin-bottom: .4em; }
.meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
figure { margin: 26px 0; } figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; }
figure img { border-radius: var(--radius-sm); border: 1px solid rgba(0, 85, 151, .12); }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(56, 189, 248, .12); border: 1px solid rgba(0, 85, 151, .18); margin: 24px 0; }
.callout .msi { color: var(--brand-text); flex: none; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid rgba(0, 85, 151, .14); margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(0, 85, 151, .1); }
thead th { background: rgba(0, 85, 151, .08); font-family: var(--font-head); color: var(--brand-ink); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.forms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.forms a { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--glass-border); text-decoration: none; color: var(--brand-ink); font-weight: 500; transition: transform .2s var(--ease); }
.forms a:hover { transform: translateY(-2px); }
.forms .msi { color: var(--brand-text); }
.edit-hint { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font: 600 .9rem var(--font-head); color: #fff; text-decoration: none; background: rgba(11, 37, 69, .82); backdrop-filter: blur(10px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid--4, .steps, .people { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; } .side { position: static; order: 2; }   /* article first on small screens */
}
@media (max-width: 900px) {
  .nav__menu, .nav__cta { display: none; } .nav__burger { display: grid; place-items: center; }
  .nav.is-open { border-radius: var(--radius); flex-wrap: wrap; }
  .nav.is-open .nav__menu { display: flex; flex-direction: column; width: 100%; order: 3; padding-bottom: 6px; }
  .nav.is-open .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 14px; backdrop-filter: none; }
  .split, .grid--3, .foot__grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; } .trust__item + .trust__item { border-left: 0; border-top: 1px solid rgba(0,85,151,.12); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--4, .grid--2, .steps, .forms { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero { padding-top: 120px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* embedded forms / maps from the old site (Jotform, Google) */
.embed { margin: 24px 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--tint-border); background: #fff; }
.embed iframe { display: block; width: 100%; min-height: 900px; border: 0; }
/* page header text sits on the coloured light field, not on glass: use body text colour, not --muted (audited) */
.page-hero .lead, .crumbs, .crumbs a { color: var(--text); }
/* menu labels never break into two lines; tighten before the burger takes over */
.nav__menu a, .nav__menu button { white-space: nowrap; }
.drop a { white-space: normal; }
@media (max-width: 1280px) { .nav__menu a, .nav__menu button { padding: 0 10px; font-size: .9rem; } .nav__cta { display: none; } }
@media (max-width: 1080px) { .nav__menu, .nav__cta { display: none; } .nav__burger { display: grid; place-items: center; }
  .nav.is-open { border-radius: var(--radius); flex-wrap: wrap; }
  .nav.is-open .nav__menu { display: flex; flex-direction: column; width: 100%; order: 3; padding-bottom: 6px; }
  .nav.is-open .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 14px; backdrop-filter: none; } }
.nav__menu > li:nth-last-child(-n+3) > .drop { left: auto; right: 0; }   /* right-hand dropdowns open leftwards, stay on screen */

.article img { border-radius: var(--radius-sm); border: 1px solid var(--tint-border); margin: 18px 0; }
.article blockquote { margin: 22px 0; padding: 14px 20px; border-radius: var(--radius-sm); background: var(--tint); border-left: 4px solid var(--brand-text); }
.article blockquote p:last-child { margin: 0; }
/* language switch in the nav pill */
.nav__lang { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 600 .9rem var(--font-head);
  color: var(--brand-text); text-decoration: none; border: 1px solid var(--tint-border); background: var(--tint); white-space: nowrap; }
.nav__lang:hover { background: var(--tint-border); }
.nav__lang .msi { font-size: 1.15em; }
@media (max-width: 1080px) { .nav__lang { margin-left: auto; } .nav__burger { margin-left: 8px; } }
/* English menu labels are longer: drop the nav CTA earlier and switch to the burger sooner */
@media (max-width: 1500px) { html[lang="en"] .nav__cta { display: none; } }
@media (max-width: 1280px) { html[lang="en"] .nav__menu a, html[lang="en"] .nav__menu button { padding: 0 9px; font-size: .88rem; } }
@media (max-width: 1180px) {
  html[lang="en"] .nav__menu { display: none; } html[lang="en"] .nav__burger { display: grid; place-items: center; }
  html[lang="en"] .nav.is-open { border-radius: var(--radius); flex-wrap: wrap; }
  html[lang="en"] .nav.is-open .nav__menu { display: flex; flex-direction: column; width: 100%; order: 3; padding-bottom: 6px; }
  html[lang="en"] .nav.is-open .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 14px; backdrop-filter: none; }
  html[lang="en"] .nav__lang { margin-left: auto; }
}
/* contrast (web-contrast-audit 2026-10-23): the nav pill and the hero badge sit on the photo -> more solid */
:root { --nav-bg: rgba(255, 255, 255, .86); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --nav-bg: rgba(9, 28, 52, .9); } }
.nav.glass::before { background: var(--nav-bg); }
.hero__eyebrow { background: rgba(0, 28, 58, .55); border-color: rgba(255, 255, 255, .35); }

/* logo keeps the original 300 x 80 ratio: never let the flex row squeeze it */
.nav__logo { flex: none; display: block; line-height: 0; }
.nav__logo img { height: 42px; width: auto; aspect-ratio: 300 / 80; flex: none; }
.foot__logo { height: 50px; width: auto; aspect-ratio: 300 / 80; margin-bottom: 14px; }

/* page header with a background photo (like the home slider): text side darkened for white text */
.page-hero--photo { position: relative; isolation: isolate; color: #fff; padding: 140px 0 56px; margin-bottom: 26px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(0, 32, 68, .92) 0%, rgba(0, 56, 108, .72) 45%, rgba(0, 85, 151, .25) 80%, rgba(0, 0, 0, .05) 100%); }
.page-hero--photo h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 20, 45, .35); }
.page-hero--photo .lead, .page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: rgba(255, 255, 255, .95); }
@media (max-width: 560px) { .page-hero--photo { padding: 116px 0 40px; } }

/* EN labels are long: the nav pill (max 1200px) cannot also hold the CTA; the hero has the same button */


/* header pill: a bit wider than the content column so logo + menu + language + CTA fit on one line */
.site-head.wrap { width: min(1360px, 100% - 32px); }
@media (max-width: 1400px) { .nav__cta { display: none; } }

/* long titles reach the photo side: keep the whole header dark enough for white text (audited) */
.page-hero__bg::after { background: linear-gradient(100deg, rgba(0, 30, 64, .93) 0%, rgba(0, 48, 96, .82) 50%, rgba(0, 60, 115, .62) 100%); }
.page-hero--photo h1, .page-hero--photo .lead, .page-hero--photo .crumbs { max-width: 900px; }
