/* GML — shared stylesheet for all inner pages (content + legal)
   Palette per Design Feedback 11-09-2026 */
:root {
  --bg: #FFFFFF;            /* white: primary clear-space */
  --ink: #000000;           /* black: maximum-contrast text */
  --muted: #656667;         /* dark grey: secondary text */
  --soft: #A09E9E;          /* mid grey: labels, low-emphasis */
  --red: #C33530;           /* primary red: CTAs, brand markers */
  --red-dark: #9B2D28;      /* dark red: depth & states */
  --blue: #7FB5E3;          /* light companion blue: dark surfaces, large display */
  --blue-deep: #315F86;     /* deep industrial blue: emphasis on light surfaces */
  --blue-steel: #3F78A8;    /* steel blue: medium graphic elements */
  --dark: #06090F;
  --line: #DADADA;          /* light grey: rules & borders */
  --paper: #F4F4F4;         /* pale neutral surface */
  --label-font: 'Montserrat', 'Instrument Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-steel); outline-offset: 2px; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 2000; padding: 12px 18px; background: var(--red); color: #fff; border-radius: 10px; font-weight: 600; font-size: 14px; transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: none; outline: 2px solid #fff; outline-offset: 2px; }
img, video { display: block; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
/* Headline colour rules (Design Feedback Round 2, 26-09-2026):
   emphasized word(s) = red; punctuation + design elements (underline) = #315F86 on light, #7FB5E3 on dark */
.hl { color: var(--red); }
.tr { color: var(--blue-deep); }
.phero .tr { color: var(--blue); }

.label-chip {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--blue-deep);
  font-family: var(--label-font); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600;
}
.label-chip::before { content: ""; width: 8px; height: 8px; background: currentColor; flex: none; }
.label-chip--dark { color: var(--blue); }

.u-stroke { position: relative; display: inline-block; }
.u-stroke svg { position: absolute; left: 0; bottom: -0.14em; width: 100%; height: 0.14em; overflow: visible; }
.u-stroke path { stroke: var(--blue-deep); stroke-width: 5; fill: none; stroke-linecap: round; }
.js .u-stroke path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.js .reveal.in .u-stroke path { transition: stroke-dashoffset 1s var(--ease) 0.55s; stroke-dashoffset: 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn i { font-style: normal; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); box-shadow: 0 12px 28px rgba(195, 53, 48, 0.35); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; padding: 15px 32px; }
.btn--ghost:hover { background: var(--red); border-color: var(--red); }
.btn--outline { border: 1px solid rgba(0, 0, 0, 0.3); color: var(--ink); padding: 15px 32px; }
.btn--outline:hover { background: var(--red); border-color: var(--red); color: #fff; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--red); }
.more-link i { font-style: normal; transition: transform 0.35s var(--ease); }
.more-link:hover i { transform: translateX(5px); }

/* ---- NAV (floating capsule, always solid on inner pages) ---- */
/* capsule edge 25px + 1px border + 22px padding = 48px: the logo and the Contact button sit on the .wrap content line */
.nav-shell { position: sticky; top: 16px; z-index: 50; padding: 0 25px; }
.nav {
  max-width: 1270px; margin: 0 auto;
  background: rgba(8, 12, 20, 0.88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 9px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo img { height: 60px; transition: transform 0.35s var(--ease); }
.nav__logo:hover img { transform: scale(1.04); }
.nav__links { display: flex; align-items: center; gap: 0; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.nav__links > a:not(.btn--nav), .nav__item > a { padding: 10px 10px; border-radius: 10px; color: #fff; transition: background 0.25s; }
.nav__links > a:not(.btn--nav):hover, .nav__item:hover > a { background: rgba(255, 255, 255, 0.12); }
/* current page: its name in GML red (Sigal, Round 3) */
.nav__links > a.on, .nav__item > a.on { color: var(--red); font-weight: 600; }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 7px; }
.nav__item .car { width: 9px; height: 6px; opacity: 0.55; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__item:hover .car { transform: rotate(180deg); opacity: 1; }
.nav__drop {
  position: absolute; top: 100%; left: 50%; z-index: 60;
  padding-top: 12px; transform: translate(-50%, 10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s, transform 0.4s var(--ease), visibility 0.28s;
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav__drop-in {
  min-width: 240px; padding: 8px;
  background: rgba(8, 12, 20, 0.9);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.nav__drop-in a {
  display: block; padding: 10px 14px; border-radius: 9px;
  color: rgba(255, 255, 255, 0.82); font-size: 13.5px; font-weight: 500; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav__drop-in a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn--nav {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 11px 24px; border-radius: 999px; margin-left: 10px; font-weight: 600;
}
.btn--nav i { font-style: normal; transition: transform 0.3s var(--ease); }
.btn--nav:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--nav:hover i { transform: translateX(3px); }
@media (max-width: 1380px) {
  .nav__links { gap: 0; font-size: 13px; }
  .nav__links > a:not(.btn--nav), .nav__item > a { padding: 9px 8px; }
  .nav__item .car { display: none; }
  .btn--nav { padding: 9px 16px; margin-left: 4px; }
}

/* ---- MOBILE MENU ---- */
.nav__burger {
  display: none; background: none; border: 0; padding: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.25s; }
.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(6, 9, 15, 0.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto;
  padding: 96px 34px 44px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.4s;
}
.mobile-menu nav { margin: auto 0; display: flex; flex-direction: column; gap: 8px; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.menu-open { overflow: hidden; }
.mobile-menu a.mm-link {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0 8px;
  font-size: 25px; font-weight: 700; letter-spacing: -0.02em; color: #fff;
}
.mobile-menu .mm-sub {
  display: flex; flex-wrap: wrap; gap: 2px 18px; padding: 0 0 12px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 4px;
}
.mobile-menu a.mm-link.on { color: var(--red); }
.mobile-menu .mm-sub a { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.62); padding: 4px 0; }
.mobile-menu .mm-sub a:active { color: #fff; }
.mobile-menu .btn--red {
  display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; border-radius: 999px;
  font-size: 15px; font-weight: 600; background: var(--red); color: #fff;
  margin-top: 22px; justify-content: center; width: 100%;
}
.mobile-menu .btn--red i { font-style: normal; }
.mobile-menu a.mm-link, .mobile-menu .mm-sub, .mobile-menu .btn--red { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease) var(--md, 0s), transform 0.5s var(--ease) var(--md, 0s); }
.menu-open .mobile-menu a.mm-link, .menu-open .mobile-menu .mm-sub, .menu-open .mobile-menu .btn--red { opacity: 1; transform: none; }

/* ---- REVEAL ---- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .u-stroke path { stroke-dashoffset: 0; }
}

/* ---- PAGE HERO (dark, photographic) ---- */
/* pulled up under the floating nav: 60px logo + 2x9px padding + 2x1px border = 80px, so no body strip shows above it */
.phero {
  position: relative; margin-top: -80px; background: var(--dark); color: #fff;
  min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
/* a darker source photo (Industries: the robot cell) - shown brighter so it reads behind the shade (Haim, 4.10) */
.phero__bg--bright { opacity: 0.9; filter: brightness(1.2); }
.phero__bg--bright + .phero__shade { background: linear-gradient(90deg, rgba(6,9,15,0.7) 0%, rgba(6,9,15,0.3) 55%, rgba(6,9,15,0) 100%), linear-gradient(180deg, rgba(6,9,15,0.55) 0%, rgba(6,9,15,0.08) 45%, rgba(6,9,15,0.85) 100%); }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,9,15,0.72) 0%, rgba(6,9,15,0.4) 55%, rgba(6,9,15,0.1) 100%), linear-gradient(180deg, rgba(6,9,15,0.8) 0%, rgba(6,9,15,0.3) 45%, rgba(6,9,15,0.92) 100%); }
.phero__inner { position: relative; width: 100%; padding-top: 150px; padding-bottom: 58px; }
.phero h1 { margin: 22px 0 0; font-size: clamp(40px, 5.4vw, 76px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.03; max-width: 980px; }
.phero__lead { margin: 22px 0 0; max-width: 640px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, 0.88); text-wrap: pretty; }

.phero--plain { background: radial-gradient(120% 90% at 85% 20%, color-mix(in srgb, var(--blue-deep) 38%, var(--dark)) 0%, var(--dark) 62%); }
.phero__tree { position: absolute; right: -40px; top: 50%; transform: translateY(-46%); width: 560px; height: 560px; opacity: 0.22; pointer-events: none; }
@media (max-width: 720px) { .phero__tree { width: 340px; height: 340px; right: -110px; opacity: 0.16; } }

/* ---- SECTIONS ---- */
.psec { padding: 88px 0; }
/* menu anchors (e.g. /news-events#news) land with the label clear of the sticky nav - pages can override */
.psec[id] { scroll-margin-top: 100px; }
.psec--line { border-top: 1px solid var(--line); }
.psec--paper { background: var(--paper); }
.h2 { margin: 22px 0 0; font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
.sec-lead { margin: 22px 0 0; max-width: 720px; font-size: 16.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* prose on light pages (no numbering) */
.prose { max-width: 820px; }
.prose p { font-size: 16.5px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; }
.prose > p:last-child { margin-bottom: 0; }
.prose .lead { font-size: 19px; line-height: 1.7; color: var(--ink); }
.prose--even p { font-size: 18px; line-height: 1.72; }
/* inline links inside running text must read as links */
.text-link { color: var(--red); font-weight: 600; border-bottom: 1px solid rgba(195, 53, 48, 0.4); transition: border-color 0.25s, color 0.25s; }
.text-link:hover { color: var(--red-dark); border-color: var(--red-dark); }
.prose h2 { margin: 54px 0 16px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; scroll-margin-top: 120px; }
.prose h3 { margin: 30px 0 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--blue-deep); }
.prose ul { margin: 0 0 18px; padding: 0; list-style: none; }
.prose li { position: relative; padding: 0 0 0 24px; margin: 0 0 10px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; background: var(--red); }

/* feature cards (sub-services) */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.fgrid--2 { grid-template-columns: repeat(2, 1fr); }
.fcard {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 30px 34px; box-shadow: 0 10px 30px rgba(11, 21, 36, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  display: flex; flex-direction: column; gap: 12px;
}
.fcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 21, 36, 0.12); }
.fcard::before { content: ""; width: 34px; height: 3px; background: var(--red); }
.fcard h3 { margin: 6px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; color: var(--blue-deep); }
.fcard p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
/* About > The Group office cards keep their original treatment (HQ blue, affiliates black) */
.fgrid--offices .fcard h3 { color: var(--ink); }
.fgrid--offices .fcard--accent h3 { color: var(--blue-deep); }
/* cards with a photo on top (manufacturing capabilities) */
.fcard--media { padding: 0; gap: 0; overflow: hidden; }
.fcard--media::before { display: none; }
.fcard__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.fcard__body { padding: 26px 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.fcard__body::before { content: ""; width: 34px; height: 3px; background: var(--red); }
.fcard__body h3 { margin-top: 6px; }

/* split rows: text + image */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-top: 56px; }
.split--flip > .split__media { order: -1; }
.split__media { border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(11, 21, 36, 0.12); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.split p { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
/* prose lists inside a split match the split paragraphs (same size + colour) */
.split .prose li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.split .prose p + ul { margin-top: 16px; }

/* tree watermark */
.has-tree { position: relative; overflow: hidden; }
/* tree.svg already carries fill-opacity .22, so .34 here reads as ~7% red: visible, never louder than the content.
   Anchored top-right beside the section heading so photos and cards below never cover it. */
.tree-mark { position: absolute; right: -40px; top: 36px; width: 420px; height: 420px; opacity: 0.34; pointer-events: none; }
.has-tree > .wrap { position: relative; }
/* Full-height tree (Sigal, Round 3): spans its section from the top edge to the bottom edge - or, inside a .tree-zone,
   down to the top of the block that follows it (map card, photo cards; gap given as --tz-after). tree.svg draws between
   9.9% and 90.4% of its height, so a 124.4% background height makes the drawing itself fill the box top to bottom. */
.tree-span {
  position: absolute; top: 0; bottom: 0; right: -40px; width: 1400px;
  background: url(tree.svg) no-repeat 100% 50% / auto 124.4%;
  opacity: 0.34; pointer-events: none;
}
.tree-zone { position: relative; z-index: 0; }
.tree-zone > .tree-span { z-index: -1; top: -88px; bottom: calc(-1 * var(--tz-after, 0px)); right: calc(-1 * max(48px, (100vw - 1320px) / 2 + 48px) - 40px); }

/* ---- LEADERSHIP / FOUNDERS: flip cards (photo front, biography back) ---- */
.flip-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 56px; }
.flip { position: relative; flex: 0 1 calc((100% - 48px) / 3); perspective: 1800px; cursor: pointer; }
.flip__inner { display: grid; height: 100%; transform-style: preserve-3d; transition: transform 0.85s var(--ease); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face {
  grid-area: 1 / 1; align-self: stretch; justify-self: stretch; width: 100%; min-width: 0; border-radius: 18px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(11, 21, 36, 0.07);
  transition: box-shadow 0.45s;
}
.flip:hover .flip__face { box-shadow: 0 26px 56px rgba(11, 21, 36, 0.14); }
.flip__front { position: relative; aspect-ratio: 4 / 5; background: var(--paper); }
/* portraits crop from the bottom only - never through the head */
.flip__front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.9s var(--ease); }
.flip:hover .flip__front img { transform: scale(1.03); transform-origin: center top; }
.flip__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 15, 0) 52%, rgba(6, 9, 15, 0.82) 100%); }
.flip__id { position: absolute; left: 26px; right: 26px; bottom: 74px; color: #fff; }
.flip__id h3 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.flip__id p { margin: 7px 0 0; font-family: var(--label-font); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.flip__back { transform: rotateY(180deg); background: #fff; padding: 30px 28px 84px; display: flex; flex-direction: column; }
.flip__back::before { content: ""; width: 34px; height: 3px; background: var(--red); margin-bottom: 18px; }
.flip__name { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.flip__role { margin: 6px 0 0; font-family: var(--label-font); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--blue-deep); }
.flip__bio p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.66; color: var(--muted); text-wrap: pretty; }
.flip__toggle {
  position: absolute; left: 26px; bottom: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(6, 9, 15, 0.35); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.flip__toggle i { position: relative; width: 12px; height: 12px; transition: transform 0.45s var(--ease); }
.flip__toggle i::before, .flip__toggle i::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.flip__toggle i::after { transform: rotate(90deg); }
.flip__toggle:hover { background: var(--red); border-color: var(--red); }
.flip__less { display: none; }
.flip.is-flipped .flip__toggle { background: #fff; border-color: var(--line); color: var(--ink); }
.flip.is-flipped .flip__toggle:hover { background: var(--red); border-color: var(--red); color: #fff; }
.flip.is-flipped .flip__toggle i { transform: rotate(45deg); }
.flip.is-flipped .flip__more { display: none; }
.flip.is-flipped .flip__less { display: inline; }
@media (max-width: 1080px) { .flip { flex-basis: calc((100% - 24px) / 2); } }
/* phones (Romain/Sigal, 11.10: one portrait per screen was too much scrolling): two portraits per row, name and role under the
   photo, and the biography opens in a bottom sheet (.bio-sheet) instead of flipping a card that is too narrow to hold it */
@media (max-width: 680px) {
  .flip-grid { gap: 22px 12px; margin-top: 40px; }
  .flip { flex-basis: calc((100% - 12px) / 2); perspective: none; }
  .flip__back { display: none; }
  .flip__face { border-radius: 14px; box-shadow: 0 8px 22px rgba(11, 21, 36, 0.06); }
  .flip__front { aspect-ratio: auto; padding-top: 125%; background: #fff; }
  .flip__front img { bottom: auto; height: auto; aspect-ratio: 4 / 5; background: var(--paper); }
  .flip:hover .flip__front img { transform: none; }
  .flip__shade { display: none; }
  .flip__id { position: static; padding: 12px 12px 14px; color: var(--ink); }
  .flip__id h3 { font-size: 15.5px; line-height: 1.25; letter-spacing: -0.01em; }
  .flip__id p { margin-top: 5px; font-size: 9.5px; line-height: 1.45; letter-spacing: 0.1em; color: var(--blue-deep); }
  /* the toggle becomes a round "+" on the photo's bottom-right corner (margin-top % = % of the card width = photo height) */
  .flip__toggle { left: auto; right: 10px; top: 0; bottom: auto; margin-top: calc(125% - 46px); width: 36px; height: 36px; padding: 0; justify-content: center; gap: 0; }
  .flip__toggle span { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .flip__inner, .flip.is-flipped .flip__inner { transform: none; transition: none; }
  .flip__face { -webkit-backface-visibility: visible; backface-visibility: visible; transition: opacity 0.2s; }
  .flip__back { transform: none; opacity: 0; visibility: hidden; }
  .flip.is-flipped .flip__back { opacity: 1; visibility: visible; }
  .flip.is-flipped .flip__front { opacity: 0; }
}

/* ---- BIO SHEET (phones): the card's biography in a native <dialog>, sliding up from the bottom ---- */
.bio-sheet {
  position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 86svh;
  padding: 0; border: 0; border-radius: 18px 18px 0 0; background: #fff; color: var(--ink);
  box-shadow: 0 -18px 50px rgba(6, 9, 15, 0.22); overflow: hidden;
}
.bio-sheet[open] { display: flex; flex-direction: column; animation: sheetUp 0.45s var(--ease); }
.bio-sheet.is-closing { animation: sheetDown 0.28s ease-in forwards; }
.bio-sheet::backdrop { background: rgba(6, 9, 15, 0.55); }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetDown { from { transform: none; } to { transform: translateY(100%); } }
.bio-sheet__head { position: relative; display: flex; align-items: center; gap: 14px; padding: 26px 64px 18px 22px; border-bottom: 1px solid var(--line); }
.bio-sheet__head::before { content: ""; position: absolute; left: 50%; top: 9px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line); }
.bio-sheet__head img { flex: none; width: 56px; height: 70px; border-radius: 10px; object-fit: cover; object-position: center top; background: var(--paper); }
.bio-sheet__head .flip__name { font-size: 19px; }
.bio-sheet__head .flip__role { font-size: 10px; line-height: 1.45; letter-spacing: 0.1em; }
.bio-sheet__body { overflow-y: auto; padding: 4px 22px calc(28px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.bio-sheet__body::before { content: ""; display: block; width: 34px; height: 3px; margin-top: 18px; background: var(--red); }
.bio-sheet__body p { font-size: 15px; line-height: 1.68; }
.bio-sheet__close {
  position: absolute; right: 14px; top: 22px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.bio-sheet__close::before, .bio-sheet__close::after { content: ""; position: absolute; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.bio-sheet__close::after { transform: rotate(-45deg); }
.bio-sheet__close:hover { background: var(--red); border-color: var(--red); color: #fff; }
html.sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .bio-sheet[open], .bio-sheet.is-closing { animation: none; } }

/* governance cards */
.gov-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
/* Governance and Ethics boxes: light grey #DADADA with the regular text-box colour system - red topline, blue title,
   grey copy, red CTA (Sigal, Round 3). Copy is a touch darker than --muted so it keeps AA contrast on the grey. */
.gov-card {
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  background: var(--line); color: var(--ink);
  border-radius: 16px; padding: 38px 34px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.gov-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 21, 36, 0.14); }
.gov-card::before { content: ""; width: 34px; height: 3px; background: var(--red); }
.gov-card h3 { margin: 6px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: var(--blue-deep); }
.gov-card p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(0, 0, 0, 0.72); }
.gov-card .more-link { color: var(--red-dark); margin-top: 8px; } /* --red is 3.9:1 on the grey; the darker red keeps AA */

/* ---- LEGAL PAGES ---- */
.lhero { margin-top: -80px; /* = nav height, see .phero */ padding: 190px 0 64px; background: var(--paper); border-bottom: 1px solid var(--line); }
.lhero h1 { margin: 26px 0 0; font-size: clamp(40px, 5vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.lhero__meta { margin: 26px 0 0; font-family: var(--label-font); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.lhero__meta .dot { width: 8px; height: 8px; background: var(--blue-deep); border-radius: 50%; display: inline-block; flex: none; }
.lhero__intro { margin: 24px 0 0; max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.pdf-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, 0.25);
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.pdf-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pdf-btn svg { width: 15px; height: 15px; }
.lbody { padding: 72px 0 110px; background: #fff; }
.lgrid { display: flex; gap: 72px; align-items: flex-start; }
.ltoc { position: sticky; top: 120px; width: 280px; flex: none; }
.ltoc__label { font-family: var(--label-font); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 16px; }
.ltoc a {
  display: flex; gap: 12px; align-items: baseline;
  padding: 8px 0 8px 14px; border-left: 2px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  transition: color 0.25s, border-color 0.25s;
}
.ltoc a:hover { color: var(--ink); }
.ltoc a.on { color: var(--ink); border-color: var(--red); }
.lprose { max-width: 760px; min-width: 0; }
.lprose > p:first-child { margin-top: 0; }
.lprose p { font-size: 16.5px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; }
.lprose .lead { font-size: 19px; line-height: 1.7; color: var(--ink); }
.lprose h2 {
  margin: 58px 0 18px; padding-top: 34px; border-top: 1px solid var(--line);
  font-size: 25px; font-weight: 700; letter-spacing: -0.02em; scroll-margin-top: 120px;
}
.lprose h3 { margin: 30px 0 10px; font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; }
.lprose ul { margin: 0 0 18px; padding: 0; list-style: none; }
.lprose li { position: relative; padding: 0 0 0 24px; margin: 0 0 10px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.lprose li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; background: var(--red); }
.lprose .contact-card {
  margin: 24px 0; padding: 26px 30px; border-left: 3px solid var(--red);
  background: var(--paper); border-radius: 0 12px 12px 0;
  font-size: 16px; line-height: 1.8; color: var(--ink);
}
.lprose .contact-card a { font-weight: 600; border-bottom: 1px solid rgba(195, 53, 48, 0.35); transition: border-color 0.25s, color 0.25s; }
.lprose .contact-card a:hover { color: var(--red); border-color: var(--red); }

/* ---- CONTACT BAND (pre-footer, on every page — Alps blending in, footer inside) ---- */
.cta-band { border-top: 1px solid var(--line); padding: 88px 0 64px; position: relative; overflow: hidden; background: var(--bg); }
.cta-band__alps { position: absolute; left: 0; right: 0; bottom: 0; height: 78%; pointer-events: none; }
.cta-band__alps img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.cta-band__alps::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.6) 38%, rgba(255, 255, 255, 0.22) 72%, rgba(255, 255, 255, 0.55) 100%);
}
.cta-band > .wrap { position: relative; }
.cta-band__cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px 64px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.06; }
.cta-band__sub { margin: 20px 0 0; max-width: 460px; font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.cta-band__ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band__meta { display: flex; gap: 26px 56px; flex-wrap: wrap; font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 40px; }
.cta-band__meta h3 { margin: 0 0 8px; font-family: var(--label-font); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-deep); font-weight: 600; }
.cta-band__meta div > div { color: var(--ink); }
.cform {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(11, 21, 36, 0.1);
  padding: 34px 32px 32px; width: 420px; max-width: 100%;
  display: flex; flex-direction: column; gap: 14px;
}
.cform h3 { margin: 0 0 4px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.cform label { display: block; font-family: var(--label-font); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.cform input, .cform textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-family: inherit; font-size: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(49, 95, 134, 0.12); }
.cform textarea { resize: vertical; min-height: 110px; }
.cform .btn { justify-content: center; border: 0; cursor: pointer; font-family: inherit; margin-top: 4px; }

/* ---- FOOTER (inside the contact band, resting on the Alps) ---- */
.footer-bar {
  margin-top: 200px; border-top: 1px solid rgba(0, 0, 0, 0.14); padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: var(--label-font); font-size: 12px; letter-spacing: 0.02em; color: var(--ink);
}
.footer-bar nav { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.footer-bar a { color: var(--ink); font-weight: 600; transition: color 0.25s; }
.footer-bar a:hover { color: var(--red); }
.footer-bar nav a { position: relative; }
.footer-bar nav a::after { content: ""; position: absolute; inset: -9px -6px; }
.footer-bar a.on { color: var(--red); }
.footer-bar__in { display: inline-flex; align-items: center; gap: 6px; }
.footer-bar__in svg { width: 17px; height: 17px; display: block; transition: transform 0.3s var(--ease); }
.footer-bar__in:hover svg { transform: scale(1.18); }
/* footer: two link groups (legal | company) + contact button icons + event link */
.footer-bar__gap { width: 24px; flex: none; }
.btn__ic { width: 18px; height: 18px; flex: none; }
.meet-link { font-weight: 600; color: var(--ink); border-bottom: 1px solid rgba(195, 53, 48, 0.35); transition: color 0.25s, border-color 0.25s; }
.meet-link:hover { color: var(--red); border-color: var(--red); }
/* below ~960px the two link groups break onto their own rows instead of wrapping mid-group */
@media (max-width: 960px) { .footer-bar__gap { flex-basis: 100%; width: auto; height: 0; } .footer-bar nav { row-gap: 10px; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 1080px) {
  .fgrid, .fgrid--2 { grid-template-columns: 1fr 1fr; }
  .gov-grid { grid-template-columns: 1fr; }
  .split, .split--flip { grid-template-columns: 1fr; gap: 32px; }
  .split--flip > .split__media { order: 0; }
  .ltoc { display: none; }
  .lgrid { display: block; }
  .tree-mark { width: 300px; height: 300px; right: -70px; top: 24px; opacity: 0.28; }
  /* phones: sections run 2000px+, so the full-height tree would be mostly off-screen - corner mark as elsewhere */
  .tree-span { top: 24px; bottom: auto; width: 300px; height: 300px; right: -70px; background-size: contain; opacity: 0.28; }
  .tree-zone > .tree-span { top: -36px; bottom: auto; right: -92px; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .nav-shell { top: 10px; padding: 0 10px; }
  .nav { padding: 8px 10px 8px 11px; }
  .nav__logo img { height: 52px; }
  .phero__inner { padding-top: 120px; padding-bottom: 44px; }
  .phero__lead { font-size: 16px; }
  .psec { padding: 60px 0; }
  .fgrid, .fgrid--2 { grid-template-columns: 1fr; }
  .fcard { padding: 26px 22px 28px; }
  .fcard--media { padding: 0; }
  .fcard__body { padding: 22px 22px 26px; }
  .gov-card { padding: 30px 24px; }
  .lprose .contact-card { padding: 20px 20px; }
  .lprose a { overflow-wrap: anywhere; }
  .lhero { padding: 150px 0 46px; }
  .lbody { padding: 52px 0 80px; }
  .lprose h2 { margin: 44px 0 14px; padding-top: 26px; font-size: 21.5px; }
  .cta-band { padding: 60px 0 44px; }
  .cta-band__cols > div { width: 100%; min-width: 0; }
  .cta-band__ctas { flex-direction: column; }
  .cta-band__ctas .btn { width: 100%; justify-content: center; padding-left: 16px; padding-right: 16px; font-size: min(15px, 3.8vw); overflow-wrap: anywhere; }
  .cform { width: 100%; padding: 26px 22px 24px; }
  .footer-bar { margin-top: 120px; justify-content: center; text-align: center; }
  .footer-bar nav { gap: 18px; justify-content: center; }
}

/* Certifications register (About) */
.certlist { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.certlist li { display: grid; grid-template-columns: 190px 1fr; gap: 28px; align-items: baseline; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.certlist__code { font-family: var(--label-font); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--blue-deep); }
.certlist__name { font-size: 15.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
@media (max-width: 768px) {
  .certlist { margin-top: 36px; }
  .certlist li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .certlist__name { font-size: 14.5px; }
}
