/* ==========================================================================
   Mohammed Alhabbarah · محمد الحبارة — site styles
   Concept: "From the field… to impact" — a transit-network schematic in the
   colours of his banner (cream paper, ink, brush red) with signal accents.
   ========================================================================== */

/* ---------- Fonts (self-hosted; optional display = zero font swap shift) ---------- */
@font-face { font-family: "Plex"; src: url(../fonts/plex-ar-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: optional;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex"; src: url(../fonts/plex-ar-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: optional;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex"; src: url(../fonts/plex-la-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; src: url(../fonts/plex-la-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Readex"; src: url(../fonts/readex-ar.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: optional;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex"; src: url(../fonts/readex-la.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Fallbacks tuned to the web fonts' metrics, so a first visit on a slow line looks the same size */
@font-face { font-family: "Plex Fallback"; src: local("Segoe UI"), local("Geeza Pro"), local("Noto Sans Arabic"), local("Arial"); size-adjust: 102.5%; ascent-override: 105%; descent-override: 40%; line-gap-override: 0%; }
@font-face { font-family: "Readex Fallback"; src: local("Segoe UI Semibold"), local("Geeza Pro Bold"), local("Noto Sans Arabic"), local("Arial"); size-adjust: 110%; ascent-override: 92%; descent-override: 23%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --font-body: "Plex", "Plex Fallback", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  --font-display: "Readex", "Readex Fallback", "Plex", system-ui, sans-serif;

  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  /* radius scale */
  --r1: 8px; --r2: 14px; --r3: 20px; --r4: 28px; --rf: 999px;
  /* type scale */
  --t-xs: .8125rem; --t-sm: .9375rem; --t-md: 1.0625rem; --t-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --t-xl: clamp(1.3rem, 1.15rem + .7vw, 1.7rem); --t-2xl: clamp(1.7rem, 1.35rem + 1.5vw, 2.5rem);
  --t-3xl: clamp(2.35rem, 1.5rem + 3.6vw, 4.6rem);
  --lh: 1.85; --lh-tight: 1.3;

  --hdr-h: 60px;
  --dock-h: 64px;
  --gutter: 16px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.2, 1.25, .35, 1);
  --dur: .5s;
  --mo: 1; /* motion multiplier */

  /* light theme */
  --bg: #F7F4EC; --bg-2: #F0EBDF; --surface: #FFFCF6; --surface-2: #FAF6EE;
  --ink: #1B201D; --ink-2: #474E49; --ink-3: #5E6560;
  --hair: rgba(27, 32, 29, .09); --hair-2: rgba(27, 32, 29, .15);
  --red: #C8473F; --red-ink: #B03A32; --red-soft: rgba(200, 71, 63, .11); --red-tint: rgba(200, 71, 63, .06);
  --green: #2F6B4E; --green-ink: #2A6347; --green-soft: rgba(47, 107, 78, .11);
  --amber: #C9952F; --amber-ink: #85600F; --amber-soft: rgba(201, 149, 47, .14);
  --steel: #46534C; --steel-soft: rgba(70, 83, 76, .1);
  --paper-line: rgba(27, 32, 29, .045);
  --map-dot: #FFFCF6;
  --map-opacity: 1;
  --train-body: #1B201D; --train-win: #F3D48A;
  --btn-bg: #1B201D; --btn-fg: #F7F4EC;
  --focus: #B03A32;
  --tint: 23, 38, 30;
  --shadow-1: 0 1px 1px rgba(var(--tint), .05), 0 2px 6px rgba(var(--tint), .05), 0 12px 26px -14px rgba(var(--tint), .16);
  --shadow-2: 0 1px 2px rgba(var(--tint), .07), 0 8px 18px rgba(var(--tint), .08), 0 26px 50px -20px rgba(var(--tint), .26);
  --shadow-3: 0 2px 4px rgba(var(--tint), .09), 0 16px 34px rgba(var(--tint), .13), 0 44px 90px -26px rgba(var(--tint), .36);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .7);
  --glass-bg: rgba(255, 252, 245, .66);
  --glass-solid: #FBF8F1;
  --glass-line: rgba(27, 32, 29, .08);
  --glass-hi: rgba(255, 255, 255, .8);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 46%);
  --scrim: rgba(14, 21, 18, .34);
  --ftr-bg: #0F1814; --ftr-ink: #EEE9DE; --ftr-ink-2: #B9C1BB;
  --track: rgba(27, 32, 29, .075); --track-2: rgba(27, 32, 29, .17); --trn-a: .62; --toast-ok: #8FD2AA;
  --sheen: rgba(200, 71, 63, .075); --press-c: rgba(200, 71, 63, .3);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0D1411; --bg-2: #101915; --surface: #151F1A; --surface-2: #19241F;
  --ink: #EEE9DE; --ink-2: #C1C8C2; --ink-3: #A3ACA5;
  --hair: rgba(238, 233, 222, .09); --hair-2: rgba(238, 233, 222, .16);
  --red: #E26B61; --red-ink: #F2958B; --red-soft: rgba(226, 107, 97, .16); --red-tint: rgba(226, 107, 97, .08);
  --green: #79C497; --green-ink: #8FD2AA; --green-soft: rgba(121, 196, 151, .15);
  --amber: #E2B65B; --amber-ink: #EBC778; --amber-soft: rgba(226, 182, 91, .16);
  --steel: #A9B6AF; --steel-soft: rgba(169, 182, 175, .13);
  --paper-line: rgba(238, 233, 222, .035);
  --map-dot: #0D1411;
  --map-opacity: .9;
  --train-body: #EEE9DE; --train-win: #E2B65B;
  --btn-bg: #EEE9DE; --btn-fg: #0D1411;
  --focus: #F2958B;
  --tint: 0, 0, 0;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 24px -12px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .45), 0 14px 32px -12px rgba(0, 0, 0, .65), 0 30px 60px -24px rgba(0, 0, 0, .6);
  --shadow-3: 0 4px 8px rgba(0, 0, 0, .5), 0 22px 48px -14px rgba(0, 0, 0, .7), 0 54px 100px -30px rgba(0, 0, 0, .7);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .07);
  --glass-bg: rgba(17, 26, 22, .58);
  --glass-solid: #16211C;
  --glass-line: rgba(238, 233, 222, .1);
  --glass-hi: rgba(255, 255, 255, .09);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 40%);
  --scrim: rgba(0, 0, 0, .55);
  --ftr-bg: #08100C;
  --track: rgba(238, 233, 222, .06); --track-2: rgba(238, 233, 222, .15); --trn-a: .7; --toast-ok: #2F7A4F;
  --sheen: rgba(226, 107, 97, .1); --press-c: rgba(226, 107, 97, .34);
  color-scheme: dark;
}
[dir="rtl"] { --dir: -1; }
[dir="ltr"] { --dir: 1; }

@media (min-width: 768px) { :root { --gutter: 28px; --hdr-h: 64px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --hdr-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); background: var(--bg); transition: background-color .45s var(--ease); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background: transparent; color: var(--ink);
  font-family: var(--font-body); font-size: var(--t-md); line-height: var(--lh); font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; overflow-anchor: none;
  transition: color .45s var(--ease);
}
html[lang="en"] body { --lh: 1.65; letter-spacing: -.003em; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: var(--lh-tight); letter-spacing: -.01em; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
/* No underlines, anywhere, in any state */
a, a:link, a:visited, a:hover, a:focus, a:active, button, button:hover, button:focus { text-decoration: none; text-decoration-line: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--red-soft); color: var(--ink); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[dir="ltr"] { unicode-bidi: isolate; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic--arrow, .ic--ext { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.skip { position: fixed; inset-inline-start: 12px; top: 10px; z-index: 100; padding: 10px 16px; border-radius: var(--r2); background: var(--btn-bg); color: var(--btn-fg); transform: translateY(-160%); transition: transform .25s var(--ease); }
.skip:focus-visible { transform: translateY(0); }
main { display: block; outline: none; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.clamp-2, .clamp-3, .clamp-4 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; line-clamp: 3; }
.clamp-4 { -webkit-line-clamp: 4; line-clamp: 4; }
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; }

/* inline text link: colour + weight, soft highlight on hover — never a line */
.tlink { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; color: var(--red-ink); font-weight: 600; border-radius: .35em; padding: .05em .3em; margin: -.05em -.3em; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tlink:active { background: var(--red-soft); }
@media (hover: hover) and (pointer: fine) {
  .tlink:hover { background: var(--red-soft); }
  .tlink:hover .ic--ext { transform: translate(calc(var(--dir) * 2px), -2px); }
}

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-sheen), var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-2);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .hdr__glass, .dock, .sheet { background: var(--glass-sheen), var(--glass-solid) !important; }
}
html.no-blur .glass, html.no-blur .hdr__glass, html.no-blur .dock, html.no-blur .sheet { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: var(--glass-sheen), var(--glass-solid) !important; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--rf); font-weight: 600; font-size: var(--t-sm); line-height: 1.2;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .ic { width: 20px; height: 20px; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-2); }
.btn--ghost { background: color-mix(in srgb, var(--surface) 72%, transparent); color: var(--ink); border: 1px solid var(--hair-2); box-shadow: var(--shadow-1); }
.btn:active { transform: scale(.97); }
.btn__shine { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.btn__shine::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; inset-inline-start: -40%; width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: translateX(0) skewX(-18deg); animation: shine 6.5s var(--ease) 2.4s infinite;
}
[data-theme="dark"] .btn__shine::after { background: linear-gradient(100deg, transparent, rgba(13, 20, 17, .14), transparent); }
@keyframes shine { 0%, 72% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(calc(var(--dir) * 520%)) skewX(-18deg); } }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
  .btn--ghost:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--red) 45%, var(--hair-2)); box-shadow: var(--shadow-2); background: var(--surface); }
  .btn:hover:active { transform: translateY(0) scale(.97); }
}

/* ---------- Header ---------- */
.hdr { position: fixed; inset-inline: 0; top: 0; z-index: 40; height: var(--hdr-h); transition: transform .45s var(--ease-out); }
.hdr__glass {
  position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease);
  background: var(--glass-sheen), var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--glass-line); box-shadow: var(--shadow-1);
}
.hdr.is-scrolled .hdr__glass { opacity: 1; }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; gap: var(--s4); }
.hdr__in > * { transition: transform .45s var(--ease-out); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; border-radius: var(--rf); padding-inline-end: 6px; transform-origin: var(--origin-start, right) center; }
[dir="ltr"] .brand { --origin-start: left; }
.brand__txt { display: grid; line-height: 1.25; }
.brand { transition: background-color .25s var(--ease), transform .2s var(--ease); }
.brand:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .brand:hover { background: var(--red-tint); } .dot:hover i { background: var(--ink-3); } .dot[aria-current="true"]:hover i { background: var(--red); }
  .seg__b:hover { color: var(--ink); } .sheet__a:hover { background: var(--surface); } .sheet__x:hover, .hdr__back:hover { background: var(--red-soft); } }
.crumbs a:active, .credit__a:active { transform: scale(.96); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; view-transition-name: brand-name; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand { min-width: 0; } .brand__txt { min-width: 0; }
@media (max-width: 400px) { html[lang="en"] .brand__name { font-size: .94rem; } }
.brand__role { font-size: var(--t-xs); color: var(--ink-3); display: none; }
.nav { display: none; }
.hdr__tools { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.tool {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--rf);
  color: var(--ink); border: 1px solid var(--hair); background: color-mix(in srgb, var(--surface) 55%, transparent);
  font-weight: 600; font-size: .92rem; transition: transform .2s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.tool--lang span { font-family: var(--font-display); }
.tool:active { transform: scale(.94); }
.tool__ico { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
.tool__ico .ic { width: 20px; height: 20px; }
.tool__ico--sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"] .tool__ico--moon { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-theme="dark"] .tool__ico--sun { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .tool:hover { background: var(--surface); border-color: var(--hair-2); } }
.hdr__back, .hdr__title { display: none; }
@media (max-width: 1023.98px) {
  .hdr--detail .brand { display: none; }
  .hdr--detail .hdr__back { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--rf); border: 1px solid var(--hair); background: color-mix(in srgb, var(--surface) 55%, transparent); flex: none; }
  .hdr--detail .hdr__back:active { transform: scale(.94); }
  .hdr--detail .hdr__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .hdr--detail.is-scrolled .hdr__title { opacity: 1; transform: none; }
}
@media (min-width: 1024px) {
  .brand__role { display: block; }
  .nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
  .hdr__tools { margin-inline-start: 12px; }
  .nav__a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--rf);
    font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: color .25s var(--ease), background-color .25s var(--ease);
  }
  .nav__a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .35s var(--spring); }
  .nav__a[aria-current]::after { transform: scale(1); }
  .nav__a[aria-current] { color: var(--ink); font-weight: 600; }
  .nav__a:active { transform: scale(.97); }
  .hdr.is-scrolled .hdr__in > * { transform: scale(.94); }
  .hdr.is-scrolled .nav { transform-origin: center; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) { .nav__a:hover { color: var(--ink); background: var(--red-tint); } }
@media (min-width: 1280px) { .nav__a { padding: 0 14px; } }

/* reading progress — a thin rail with a train at its head */
.progress { position: fixed; inset-inline: 0; top: 0; height: 8px; z-index: 45; pointer-events: none; overflow: hidden; }
.progress__bar { position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--red); transform-origin: var(--origin-start, right) center; transform: scaleX(var(--p, 0)); }
[dir="ltr"] .progress__bar { --origin-start: left; }
.progress__train { position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: 6px; transform: translateX(calc(var(--dir) * var(--p, 0) * 100%)); }
.progress__train span { position: absolute; inset-inline-start: -18px; top: 0; width: 16px; height: 6px; border-radius: 3px; background: var(--ink); box-shadow: 0 0 0 1.5px var(--bg); }
@supports (animation-timeline: scroll()) {
  html.sda .progress__bar { animation: prog linear both; animation-timeline: scroll(root); }
  html.sda .progress__train { animation: progt linear both; animation-timeline: scroll(root); }
  @keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes progt { from { transform: translateX(0); } to { transform: translateX(calc(var(--dir) * 100%)); } }
}

/* ---------- Roundel (portrait / monogram) ---------- */
.roundel { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: #133326; color: #F7F4EC; isolation: isolate; }
.roundel::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .14), transparent 55%),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 9px),
  linear-gradient(160deg, #1D4A37, #0C2219); }
.roundel__mono { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; line-height: 1; }
.roundel__img { width: 100%; height: 100%; object-fit: cover; }
.roundel--sm { width: 38px; height: 38px; box-shadow: 0 0 0 2px var(--red), 0 0 0 4px var(--bg); }
.roundel--sm .roundel__mono { font-size: .82rem; }
.roundel--md { width: 64px; height: 64px; box-shadow: 0 0 0 3px var(--red); }
.roundel--lg { width: 78px; height: 78px; box-shadow: 0 0 0 3px #E26B61, 0 0 0 8px rgba(226, 107, 97, .16); }
.roundel--lg .roundel__mono { font-size: 1.4rem; }
.roundel--photo { background: #133326; }
.roundel--photo .roundel__img { transition: transform .8s var(--ease-out); }
.roundel--md .roundel__mono { font-size: 1.2rem; }
.roundel--xl { width: 100%; height: 100%; }
.roundel--xl .roundel__mono { font-size: clamp(2.6rem, 8vw, 5.2rem); transform: translateY(-.04em); }
.roundel--xl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 -30px 60px rgba(0, 0, 0, .25); }

/* ---------- Concept maps (SVG) ---------- */
.map { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; opacity: var(--map-opacity); }
.ln { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease-out) var(--d, 0s) forwards; }
.ln--red { stroke: var(--red); }
.ln--green { stroke: var(--green); }
.ln--amber { stroke: var(--amber); }
.ln--ink { stroke: var(--steel); opacity: .55; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.st { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s var(--spring) var(--d, .6s) forwards; }
.st__dot { fill: var(--map-dot); stroke-width: 3.5; }
.st__dot--red { stroke: var(--red); } .st__dot--green { stroke: var(--green); } .st__dot--amber { stroke: var(--amber); } .st__dot--ink { stroke: var(--steel); }
.st--x .st__dot { stroke: var(--ink); stroke-width: 4.5; }
.st__pulse { fill: none; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 3.6s var(--ease) calc(var(--d, 0s) + 1.2s) infinite; }
.st__pulse--red { stroke: var(--red); } .st__pulse--green { stroke: var(--green); } .st__pulse--amber { stroke: var(--amber); } .st__pulse--ink { stroke: var(--steel); }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
.train__body { fill: var(--train-body); }
.train__win { fill: var(--train-win); }
.train { opacity: 0; animation: fadein .6s var(--ease) 1.8s forwards; }
@keyframes fadein { to { opacity: 1; } }
.is-paused .ln, .is-paused .st, .is-paused .st__pulse, .is-paused .train { animation-play-state: paused; }

/* paper — faint vertical lines like his banner */
.hero__paper { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, var(--paper-line) 46px 47px); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(52px, 6.4vw, 92px); }
.sec--alt { background: color-mix(in srgb, var(--bg-2) 84%, transparent); overflow: clip; }
.sec--alt::before { content: ""; position: absolute; top: 0; inset-inline-start: -28px; width: calc(100% + 56px); height: 7px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--hair-2) 0 2px, transparent 2px 14px); opacity: .7;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  animation: track 2.8s linear infinite; }
@keyframes track { from { transform: translateX(0); } to { transform: translateX(calc(var(--dir) * 14px)); } }
.is-paused.sec--alt::before, .is-paused .lb circle, .is-paused .sig::after, .is-paused .rline__dot::after, .is-paused .now-chip i, .is-paused .jline__dot, .is-paused .tl__st, .is-paused .edu__dot { animation-play-state: paused; }
.sec--alt + .sec--alt { padding-top: 0; }
.sec__head { display: grid; gap: 10px; margin-bottom: clamp(24px, 3.4vw, 40px); max-width: 760px; }
.sec__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.sec__head--row > div { display: grid; gap: 10px; max-width: 720px; }
.sec__lead { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.75; }
.h2 { display: flex; align-items: center; gap: 12px; font-size: var(--t-2xl); }
.h3, .subh { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: var(--t-xl); line-height: var(--lh-tight); }
.subh { margin: clamp(36px, 5vw, 56px) 0 18px; font-size: var(--t-lg); }
.lb { width: 34px; height: 12px; flex: none; overflow: visible; }
.lb path { stroke-width: 4; stroke-linecap: round; fill: none; }
.lb circle { stroke-width: 3; fill: var(--bg); }
.sec--alt .lb circle { fill: var(--bg-2); }
.lb circle { transform-box: fill-box; transform-origin: center; animation: breathe 3.2s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.32); } }
.lb--red path, .lb--red circle { stroke: var(--red); }
.lb--green path, .lb--green circle { stroke: var(--green); }
.lb--amber path, .lb--amber circle { stroke: var(--amber); }
.lb--ink path, .lb--ink circle { stroke: var(--steel); }
[dir="ltr"] .lb { transform: scaleX(-1); }
.more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--rf);
  font-weight: 600; font-size: var(--t-sm); color: var(--ink); border: 1px solid var(--hair-2); background: color-mix(in srgb, var(--surface) 60%, transparent);
  transition: transform .25s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.more:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .more:hover { background: var(--surface); border-color: color-mix(in srgb, var(--red) 40%, var(--hair-2)); box-shadow: var(--shadow-1); }
  .more:hover .ic--arrow, .go:hover .ic--arrow { transform: translateX(calc(var(--dir) * 4px)); }
}

/* ---------- Cards (shared) ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--r3); box-shadow: var(--edge), var(--shadow-1); isolation: isolate;
}
.card__foot { margin-block-start: auto; padding-top: 16px; display: flex; align-items: center; min-height: 44px; }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-sm); color: var(--red-ink); }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.stretch:focus-visible { outline: none; }
.card:has(.stretch:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .ic--arrow, .stat:hover .ic--arrow { transform: translateX(calc(var(--dir) * 4px)); }
  .card:hover .ic--ext { transform: translate(calc(var(--dir) * 2px), -2px); }
}
.sig { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; position: relative; isolation: isolate; }
.sig::after { content: ""; position: absolute; inset: -5px; z-index: -1; border-radius: 18px; background: inherit; opacity: 0; animation: glow 4.2s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .7s); }
@keyframes glow { 0%, 100% { opacity: 0; transform: scale(.9); } 50% { opacity: .55; transform: scale(1); } }
.sig .ic { width: 22px; height: 22px; }
.sig--red { background: var(--red-soft); color: var(--red-ink); }
.sig--green { background: var(--green-soft); color: var(--green-ink); }
.sig--amber { background: var(--amber-soft); color: var(--amber-ink); }
.sig--ink { background: var(--steel-soft); color: var(--ink); }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--rf); font-size: var(--t-xs); font-weight: 600; background: var(--steel-soft); color: var(--ink-2); }
.chip--competency { background: var(--green-soft); color: var(--green-ink); }
.chip--training { background: var(--amber-soft); color: var(--amber-ink); }
.chip--career { background: var(--red-soft); color: var(--red-ink); }
.chip--leadership { background: var(--steel-soft); color: var(--ink); }
.chip--field { background: var(--red-soft); color: var(--red-ink); }

/* ---------- Rails: grids on desktop, swipe rows on phones ---------- */
.rail { display: grid; gap: var(--s5); align-items: stretch; }
.rail > * { min-width: 0; }
@media (min-width: 768px) {
  .rail--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail + .dots { display: none; }
}
@media (min-width: 1100px) {
  .rail--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .rail {
    grid-auto-flow: column; grid-auto-columns: 80vw; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; padding: 6px 10vw 18px; margin-inline: calc(-1 * var(--gutter));
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: center; scroll-snap-stop: always; }
  .rail--6 { grid-auto-columns: 44vw; padding-inline: 28vw; }
}
/* centred card larger & sharper, neighbours smaller & dimmer */
@media (max-width: 767.98px) {
  .rail > *, .carousel__row > * { transition: scale .45s var(--ease-out), filter .45s var(--ease-out), translate .9s var(--ease-out), opacity .8s var(--ease), transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
  html.js .rail > *:not(.is-center), html.js .carousel__row > *:not(.is-center) { scale: .92; filter: saturate(.7) opacity(.6); }
  html.js .rail > .is-center, html.js .carousel__row > .is-center { box-shadow: var(--edge), var(--shadow-2); }
}
.dots { display: flex; justify-content: center; gap: 0; margin-top: 2px; }
.dot { position: relative; width: 44px; height: 44px; display: grid; place-items: center; margin-inline: -4px; }
.dot i { display: block; width: 8px; height: 8px; border-radius: 4px; background: var(--hair-2); transition: transform .4s var(--ease-out), background-color .3s var(--ease); }
.dot[aria-current="true"] i { background: var(--red); transform: scaleX(2.6); }
.dot:active i { transform: scale(.8); }
.dot[aria-current="true"]:active i { transform: scaleX(2.2) scaleY(.85); }

/* ---------- HERO (home) ---------- */
.hero { position: relative; padding-top: calc(var(--hdr-h) + clamp(24px, 4vw, 56px)); padding-bottom: clamp(40px, 5vw, 72px); overflow: clip; isolation: isolate; background: var(--bg); transition: background-color .45s var(--ease); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__maps { position: absolute; inset: 0; }
.map--wide { display: none; }
.hero__maps { opacity: .8; -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent calc(var(--hdr-h) - 8px), #000 calc(var(--hdr-h) + 56px)); mask-image: linear-gradient(to bottom, transparent 0, transparent calc(var(--hdr-h) - 8px), #000 calc(var(--hdr-h) + 56px)); }
.hero__maps .map { -webkit-mask-image: radial-gradient(70% 40% at 50% 52%, rgba(0, 0, 0, .1), #000 85%); mask-image: radial-gradient(70% 40% at 50% 52%, rgba(0, 0, 0, .1), #000 85%); }
[dir="ltr"] .map--wide, [dir="ltr"] .map--narrow, [dir="ltr"] .map--page, [dir="ltr"] .map--mini { transform: scaleX(-1); }
.hero__grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
.hero__text { display: grid; gap: 14px; justify-items: start; }
.hero__name { font-size: var(--t-3xl); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; view-transition-name: page-title; }
.hero__name span { display: inline-block; }
.hero__role { font-size: var(--t-lg); color: var(--ink-2); font-weight: 500; line-height: 1.6; max-width: 34em; }
.motto { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.15rem + 2vw, 2.6rem); line-height: 1.35; margin-top: 6px; }
.motto__a { color: var(--ink-2); font-weight: 500; }
.motto__b { position: relative; display: inline-block; color: var(--ink); padding-inline: 2px; }
.motto__w { position: relative; z-index: 1; }
.brush { position: absolute; z-index: 0; left: -8%; right: -8%; bottom: -.16em; width: 116%; max-width: none; height: .72em; overflow: visible; }
[dir="rtl"] .brush { transform: scaleX(-1); }
.brush__p { fill: var(--red); opacity: .92; }
.brush__s { stroke: var(--red); stroke-width: 1.4; opacity: .5; stroke-linecap: round; fill: none; }
.brush { clip-path: inset(0 100% 0 0); animation: brush 1.05s cubic-bezier(.6, .05, .25, 1) 1.05s forwards; }
@keyframes brush { to { clip-path: inset(0 0 0 0); } }
.hero__lead { font-size: var(--t-lg); color: var(--ink-2); max-width: 36em; line-height: 1.85; }
html[lang="en"] .hero__lead { line-height: 1.7; }
.hero__cta { display: grid; gap: 12px; width: 100%; margin-top: 10px; }
.hero__visual { order: -1; display: grid; justify-items: start; }
.portrait { position: relative; width: clamp(124px, 34vw, 176px); aspect-ratio: 1; }
.portrait__track { position: absolute; inset: -14%; width: 128%; height: 128%; max-width: none; overflow: visible; }
.portrait__ring { fill: none; stroke: var(--red); stroke-width: 10; }
.portrait__ticks { fill: none; stroke: var(--bg); stroke-width: 12; stroke-dasharray: 2 26; opacity: .9; transform-origin: 200px 200px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait .roundel { position: absolute; inset: 0; box-shadow: var(--shadow-3); }
.portrait .roundel__img { animation: kenburns 22s var(--ease) 1.6s infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(calc(var(--dir) * 2%), -2%); } }
.badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border-radius: 18px; white-space: nowrap; --glass-bg: rgba(255, 252, 245, .86); }
[data-theme="dark"] .badge { --glass-bg: rgba(17, 26, 22, .8); }
.badge__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--red-soft); color: var(--red-ink); flex: none; }
.badge--2 .badge__ic { background: var(--amber-soft); color: var(--amber-ink); }
.badge__ic .ic { width: 19px; height: 19px; }
.badge__t { display: grid; line-height: 1.3; }
.badge__t strong { font-size: .9rem; font-family: var(--font-display); }
.badge__t span { font-size: .76rem; color: var(--ink-2); }
.badge--1 { inset-inline-start: calc(100% + 26px); top: 50%; margin-top: -27px; }
.badge--2 { display: none; }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -9px; } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 5vw, 64px); }
.stat { border-radius: var(--r3); padding: 0; display: flex; flex-direction: column; }
.stat__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; color: var(--ink); }
.stat__l { font-size: var(--t-xs); color: var(--ink-2); line-height: 1.55; }
.num { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums lining-nums; }
.num__v { display: inline-grid; }
.num__v::before { content: attr(data-final); grid-area: 1 / 1; visibility: hidden; pointer-events: none; }
.num__c { grid-area: 1 / 1; width: 0; min-width: 100%; white-space: nowrap; text-align: start; } /* sized by the ghost only: counting can't move anything */
.num__s { color: var(--red); margin-inline-start: 1px; }
.num--txt { font-size: .82em; }

@media (max-width: 767.98px) {
  .hero { padding-bottom: 32px; }
  .hero__text { gap: 12px; }
  .badge { padding: 8px 12px 8px 10px; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glass-sheen), var(--glass-solid); white-space: normal; width: max-content; max-width: calc(100vw - 2 * var(--gutter) - clamp(124px, 34vw, 176px) - 44px); }
  .badge__t strong { font-size: .84rem; white-space: nowrap; }
  .badge__t span { display: none; }
  .badge__ic { width: 30px; height: 30px; border-radius: 10px; }
  .stat.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glass-sheen), color-mix(in srgb, var(--glass-solid) 92%, transparent); }
  .hero__cta .btn { width: 100%; }
}
@media (max-width: 379.98px) { .badge__ic { display: none; } .badge { padding: 8px 12px; } }
@media (max-width: 339.98px) { .badge--1 { display: none; } }
@media (min-width: 768px) {
  .map--narrow { display: none; }
  .map--wide { display: block; }
  .hero__cta { display: flex; flex-wrap: wrap; width: auto; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .stat__a { padding: 20px 22px 18px; }
  .stat__l { font-size: var(--t-sm); }
}
@media (min-width: 1024px) {
  .hero { min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; }
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .hero__visual { order: 0; justify-items: center; padding-block: 40px; }
  .portrait { width: clamp(300px, 27vw, 380px); }
  .badge--1 { inset-inline-start: auto; inset-inline-end: -22%; top: 5%; margin-top: 0; }
  .badge--2 { display: flex; inset-inline-start: -12%; bottom: 1%; }
  .hero__maps .map { -webkit-mask-image: radial-gradient(48% 40% at 74% 42%, rgba(0, 0, 0, .05), rgba(0, 0, 0, .25) 60%, #000 96%); mask-image: radial-gradient(48% 40% at 74% 42%, rgba(0, 0, 0, .05), rgba(0, 0, 0, .25) 60%, #000 96%); }
}

/* ---------- Opening: platform doors (home) ----------
   The hero opens as a station platform: a departure board flips (one tile per word, so Arabic stays
   joined) to his name, his role and the destination while the train calls at the stations of his
   readiness line; the amber lamps blink and the platform screen doors slide apart onto the finished
   hero. Shown only when the head script adds html.pd-play (JS on, motion allowed, first view of the
   session). Only transform and opacity animate; the layer is fixed, so nothing shifts. */
.pd {
  display: none;
  /* timeline — every delay goes through --k so a skip can restart the sequence just before the doors open */
  --k: 0s;
  --t-name: calc(.3s + var(--k)); --t-role: calc(.9s + var(--k)); --t-run: calc(.95s + var(--k)); --run: 1.4s;
  --t-dest: calc(2.2s + var(--k)); --t-cue: calc(2.45s + var(--k)); --t-open: calc(2.95s + var(--k)); --open: 1s;
  --t-lift: calc(3.35s + var(--k)); --t-end: calc(3.9s + var(--k));
  /* the board is a physical object: the same in both themes */
  --pd-board: #0F1814; --pd-ink: #F3EFE4; --pd-dim: #9AA59F; --pd-amber: #F3D48A; --pd-red: #E26B61; --pd-green: #79C497;
  --pd-frame: #3A4640; --pd-frame-hi: #5B6962; --pd-glass: rgba(222, 230, 224, .74); --pd-gleam: rgba(255, 255, 255, .55);
  --pd-floor: #E6E0D2; --pd-floor-2: #D9D2C2; --pd-tactile: #D6A33A; --pd-arrow: #85600F;
}
[data-theme="dark"] .pd { --pd-frame: #26322C; --pd-frame-hi: #3D4B44; --pd-glass: rgba(16, 26, 21, .78); --pd-gleam: rgba(255, 255, 255, .07); --pd-floor: #131D18; --pd-floor-2: #0D1512; --pd-tactile: #A27A27; --pd-arrow: #E2B65B; }
html.pd-skip .pd { --k: -3.15s; }
/* fixed over the viewport, under the header (40) and the dock (50): it covers whatever the first screen shows */
html.pd-play .pd {
  position: fixed; inset: 0; z-index: 35;
  display: flex; flex-direction: column; overflow: hidden; contain: layout paint;
  animation: pd-end .35s var(--ease) var(--t-end) forwards;
}
html.pd-done .pd { display: none; }
@keyframes pd-end { to { opacity: 0; visibility: hidden; } }

/* the wall above the doors, with the board hanging from the ceiling */
.pd__wall {
  position: relative; flex: none; padding-top: calc(var(--hdr-h) + 4px); padding-bottom: 14px; background-color: var(--bg);
  background-image: repeating-linear-gradient(90deg, transparent 0 46px, var(--paper-line) 46px 47px);
  animation: pd-lift .6s cubic-bezier(.55, 0, .3, 1) var(--t-lift) forwards;
}
@keyframes pd-lift { to { transform: translateY(-70%); opacity: 0; } }
.pd__board {
  position: relative; max-width: 800px; margin-inline: auto; display: grid; gap: 10px; padding: 10px 14px 14px; border-radius: 18px;
  color: var(--pd-ink); background: radial-gradient(130% 120% at 50% 0%, #1B2722, var(--pd-board) 62%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 5px var(--pd-frame), 0 22px 40px -20px rgba(0, 0, 0, .6);
}
.pd__board::before, .pd__board::after { content: ""; position: absolute; bottom: calc(100% + 5px); width: 3px; height: 200px; border-radius: 2px; background: var(--pd-frame); }
.pd__board::before { inset-inline-start: 16%; }
.pd__board::after { inset-inline-end: 16%; }
.pd__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; font-size: .75rem; font-weight: 600; line-height: 1.3; color: var(--pd-dim); }
html[lang="en"] .pd__bar, html[lang="en"] .pd__k, html[lang="en"] .pd__via { text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; }
.pd__line { display: inline-flex; align-items: center; gap: 8px; color: var(--pd-amber); white-space: nowrap; }
.pd__line .lb { width: 28px; }
.pd__line .lb circle { fill: var(--pd-board); animation: none; }
.pd__status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pd__led { position: relative; width: 8px; height: 8px; flex: none; }
.pd__led i { position: absolute; inset: 0; border-radius: 50%; background: var(--pd-green); box-shadow: 0 0 8px var(--pd-green); }
.pd__led i + i { background: var(--pd-amber); box-shadow: 0 0 10px var(--pd-amber); opacity: 0; animation: pd-led .9s linear var(--t-cue) both; }
@keyframes pd-led { 0% { opacity: 0; } 1%, 22% { opacity: 1; } 23%, 44% { opacity: .15; } 45%, 66% { opacity: 1; } 67%, 88% { opacity: .15; } 89%, 100% { opacity: 1; } }
.pd__st { display: grid; perspective: 400px; }
.pd__st > span { grid-area: 1 / 1; backface-visibility: hidden; }
.pd__st-a { animation: pd-flop .28s ease-in var(--t-cue) forwards; }
.pd__st-b { color: var(--pd-amber); animation: pd-flip .45s var(--ease-out) calc(var(--t-cue) + .14s) both; }

/* the split-flap rows */
.pd__name, .pd__m { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.pd__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3rem); line-height: 1.12; }
.pd__msg { display: grid; align-items: center; min-height: 2.3em; font-family: var(--font-display); font-weight: 500; font-size: clamp(.98rem, .86rem + .7vw, 1.4rem); line-height: 1.2; }
.pd__m { grid-area: 1 / 1; }
.fl { display: inline-block; perspective: 600px; }
.fl__f {
  position: relative; display: block; padding: .1em .32em .16em; border-radius: .2em; color: var(--pd-ink); backface-visibility: hidden;
  background: linear-gradient(180deg, #27352E, #1C2823 49.2%, #050907 49.2% 50.8%, #1A2620 50.8%, #121B17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 0 rgba(0, 0, 0, .55), 0 3px 6px -2px rgba(0, 0, 0, .5);
}
.pd__name .fl__f { animation: pd-flip .6s var(--ease-out) calc(var(--t-name) + var(--w) * 110ms) both; }
.pd__m--role .fl__f { animation: pd-flip .5s var(--ease-out) calc(var(--t-role) + var(--w) * 70ms) both, pd-flop .3s ease-in calc(var(--t-dest) + var(--w) * 45ms) forwards; }
.pd__m--dest .fl__f { color: var(--pd-amber); animation: pd-flip .55s var(--ease-out) calc(var(--t-dest) + .26s + var(--w) * 110ms) both; }
.pd__k { margin-inline-end: 4px; font-family: var(--font-body); font-size: .75rem; font-weight: 600; color: var(--pd-dim); animation: pd-fade .3s var(--ease) calc(var(--t-dest) + .2s) both; }
@keyframes pd-flip { 0% { opacity: 0; transform: rotateX(-100deg); } 1% { opacity: 1; } 62% { transform: rotateX(14deg); } 100% { opacity: 1; transform: rotateX(0); } }
@keyframes pd-flop { 0% { opacity: 1; transform: rotateX(0); } 99% { opacity: 1; } 100% { opacity: 0; transform: rotateX(96deg); } }
@keyframes pd-fade { from { opacity: 0; } to { opacity: 1; } }

/* calling at: the stations of his readiness line, lit as the train passes */
.pd__route { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pd__via { font-size: .75rem; font-weight: 600; color: var(--pd-dim); line-height: 1.3; }
.pd__track { position: relative; --lt: 0px; }
.pd__stops { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pd__stop { display: grid; grid-template-rows: var(--lt) 12px auto; justify-items: center; align-content: start; row-gap: 5px; text-align: center; min-width: 0; }
.pd__stop i { grid-row: 2; position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--pd-board); box-shadow: inset 0 0 0 2.5px #4D5B54; }
.pd__stop i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pd-amber); box-shadow: 0 0 10px var(--pd-amber); opacity: 0; transform: scale(.3);
  animation: pd-lit .4s var(--spring) calc(var(--t-run) + var(--s) * var(--run) / 4) both; }
.pd__stop:last-child i::after { background: var(--pd-red); box-shadow: 0 0 0 3px rgba(226, 107, 97, .3), 0 0 12px var(--pd-red); }
.pd__stop b { grid-row: 3; font-size: .75rem; font-weight: 500; line-height: 1.3; white-space: nowrap; color: var(--pd-ink); opacity: .42;
  animation: pd-on .3s var(--ease) calc(var(--t-run) + var(--s) * var(--run) / 4) forwards; }
@keyframes pd-lit { to { opacity: 1; transform: scale(1); } }
@keyframes pd-on { to { opacity: 1; } }
.pd__rail { position: absolute; top: calc(var(--lt) + 4.5px); height: 3px; inset-inline: 10%; border-radius: 2px; background: #33413A; }
.pd__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--pd-amber); transform: scaleX(0); transform-origin: right center; animation: pd-grow var(--run) linear var(--t-run) forwards; }
[dir="ltr"] .pd__fill { transform-origin: left center; }
@keyframes pd-grow { to { transform: scaleX(1); } }
.pd__run { position: absolute; top: var(--lt); inset-inline: 10%; height: 12px; z-index: 1; animation: pd-run var(--run) linear var(--t-run) both; }
@keyframes pd-run { from { transform: translateX(0); } to { transform: translateX(calc(var(--dir) * 100%)); } }
.pd__train { position: absolute; top: -1px; inset-inline-start: -11px; width: 22px; height: 14px; border-radius: 7px; background: var(--pd-ink); box-shadow: 0 0 0 2px var(--pd-board); }
.pd__train::after { content: ""; position: absolute; top: 4px; inset-inline-end: 4px; width: 6px; height: 6px; border-radius: 2px; background: #C8473F; }

/* the platform screen doors */
.pd__doors { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pd__head { position: relative; z-index: 2; flex: none; height: 22px; display: flex; justify-content: center; align-items: center; gap: 52px; background: var(--pd-frame); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 3px 8px -3px rgba(0, 0, 0, .35); }
.pd__lamp { position: relative; width: 30px; height: 8px; border-radius: 4px; background: #5E5130; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .4); }
.pd__lamp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--pd-amber); box-shadow: 0 0 10px 2px rgba(243, 212, 138, .75); opacity: 0; animation: pd-lamp .5s linear var(--t-cue) 4; }
@keyframes pd-lamp { 0%, 54% { opacity: 1; } 55%, 100% { opacity: 0; } }
.pd__bay { position: relative; flex: 1; min-height: 0; }
.pd__leaf {
  position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; background: var(--pd-glass);
  border: 7px solid var(--pd-frame); border-top-width: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  will-change: transform;
}
.pd__leaf--s { inset-inline-start: 0; border-inline-end-width: 3px; animation: pd-open-s var(--open) cubic-bezier(.62, 0, .22, 1) var(--t-open) forwards; }
.pd__leaf--e { inset-inline-end: 0; border-inline-start-width: 3px; animation: pd-open-e var(--open) cubic-bezier(.62, 0, .22, 1) var(--t-open) forwards; }
@keyframes pd-open-s { 0% { transform: translateX(0); } 12% { transform: translateX(calc(var(--dir) * -1.5%)); } 100% { transform: translateX(calc(var(--dir) * -101%)); } }
@keyframes pd-open-e { 0% { transform: translateX(0); } 12% { transform: translateX(calc(var(--dir) * 1.5%)); } 100% { transform: translateX(calc(var(--dir) * 101%)); } }
.pd__glass { position: absolute; inset: 0; background:
  linear-gradient(112deg, transparent 0 22%, var(--pd-gleam) 22% 25%, transparent 25% 30%, var(--pd-gleam) 30% 31.2%, transparent 31.2%),
  linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 45%); opacity: .7; }
.pd__pane { position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; }
.pd__seal { position: absolute; top: 0; bottom: 0; width: 3px; background: rgba(0, 0, 0, .28); }
.pd__leaf--s .pd__seal { inset-inline-end: 0; }
.pd__leaf--e .pd__seal { inset-inline-start: 0; }
/* the line printed across the glass: his red line with its stations, and a roundel the doors split in two */
.pd__stripe { position: absolute; inset-inline: 0; top: 54%; height: 22px; margin-top: -7px; background:
  radial-gradient(circle, #F7F4EC 0 3.4px, transparent 3.9px) 28px 0 / 64px 14px repeat-x,
  linear-gradient(var(--red) 0 14px, transparent 14px 18px, var(--amber) 18px 21px, transparent 21px); }
.pd__half { position: absolute; top: 54%; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%; background: #F7F4EC; box-shadow: inset 0 0 0 9px var(--red), 0 0 0 3px rgba(0, 0, 0, .08); }
.pd__leaf--s .pd__half { inset-inline-end: -30px; }
.pd__leaf--e .pd__half { inset-inline-start: -30px; }
.pd__arw { position: absolute; top: calc(54% + 44px); width: 22px; height: 22px; fill: none; stroke: var(--pd-arrow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.pd__leaf--s .pd__arw { inset-inline-end: 16px; transform: scaleX(var(--dir)); }
.pd__leaf--e .pd__arw { inset-inline-start: 16px; transform: scaleX(calc(var(--dir) * -1)); }
.pd__arw { animation: pd-arw .5s linear var(--t-cue) 4; }
@keyframes pd-arw { 0%, 54% { opacity: 1; } 55%, 100% { opacity: .35; } }
.pd__floor { position: relative; flex: none; height: 46px; background: linear-gradient(var(--pd-floor), var(--pd-floor-2)); box-shadow: inset 0 3px 0 var(--pd-frame-hi); }
.pd__tactile { position: absolute; inset-inline: 0; top: 3px; height: 16px; background: radial-gradient(circle, rgba(0, 0, 0, .2) 0 1.6px, transparent 2.1px) 0 0 / 8px 8px, var(--pd-tactile); }
@media (max-width: 1023.98px) { .pd__floor { height: calc(var(--dock-space) - 6px); } }
@media (max-width: 767.98px) {
  /* phones: names alternate above and below the line, like a transit diagram, so neighbours never collide */
  .pd__track { --lt: 16px; }
  .pd__stop:nth-child(even) b { grid-row: 1; }
  .pd__stop b { line-height: 16px; }
  .pd__via { padding-top: 18px; }
}
@media (max-width: 379.98px) {
  .pd__board { padding: 9px 11px 11px; gap: 8px; }
  .pd__route { gap: 8px; }
  .pd__stop b { font-size: .6875rem; }
  .pd__bar { font-size: .6875rem; }
  .pd__name { font-size: 1.32rem; }
  .pd__msg { font-size: .92rem; }
}
@media (min-width: 768px) {
  .pd__board { padding: 14px 20px 18px; gap: 12px; border-radius: 22px; }
  .pd__name, .pd__m { gap: 7px; }
  .pd__stop b { font-size: .8125rem; }
  .pd__stripe { height: 26px; margin-top: -9px; background:
    radial-gradient(circle, #F7F4EC 0 4.4px, transparent 4.9px) 36px 0 / 88px 18px repeat-x,
    linear-gradient(var(--red) 0 18px, transparent 18px 22px, var(--amber) 22px 26px, transparent 26px); }
  .pd__half { width: 84px; height: 84px; margin-top: -42px; box-shadow: inset 0 0 0 12px var(--red), 0 0 0 3px rgba(0, 0, 0, .08); }
  .pd__leaf--s .pd__half { inset-inline-end: -42px; }
  .pd__leaf--e .pd__half { inset-inline-start: -42px; }
  .pd__arw { top: calc(54% + 60px); width: 28px; height: 28px; }
}
@media (min-width: 1024px) {
  .pd__wall { padding-top: calc(var(--hdr-h) + 10px); padding-bottom: 20px; }
  .pd__head { height: 28px; gap: 64px; }
  .pd__lamp { width: 44px; height: 10px; border-radius: 5px; }
  .pd__floor { height: 52px; }
  .pd__tactile { height: 20px; }
  /* each leaf: a door and its fixed side screen */
  .pd__pane::after { content: ""; position: absolute; top: -11px; bottom: -11px; inset-inline-start: 50%; width: 8px; margin-inline-start: -4px; background: var(--pd-frame); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
}
/* short landscape phones: keep the doors in view */
@media (max-height: 560px) {
  .pd__route { display: none; }
  .pd__msg { min-height: 0; }
  .pd__wall { padding-bottom: 8px; }
  .pd__board { gap: 6px; padding-block: 8px 10px; }
  .pd__name { font-size: 1.45rem; }
  .pd__floor { height: 26px; }
}
/* the brush under «to impact» paints as the doors open */
html.pd-play .hero .brush { animation-delay: 3.55s; }
@media (prefers-reduced-motion: reduce) { .pd { display: none !important; } }

/* replay the opening */
.hero__visual { position: relative; }
.pd-replay { display: none; }
html.js:not(.rm) .pd-replay {
  position: absolute; bottom: 0; inset-inline-end: 0; z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink-2); border: 1px solid var(--hair-2); background: color-mix(in srgb, var(--surface) 72%, transparent); box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.pd-replay .ic { width: 19px; height: 19px; }
.pd-replay:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .pd-replay:hover { background: var(--surface); color: var(--red-ink); } }
@media (min-width: 1024px) { html.js:not(.rm) .pd-replay { bottom: 40px; } }

/* ---------- Inner page hero ---------- */
.phero { position: relative; padding-top: calc(var(--hdr-h) + clamp(28px, 5vw, 64px)); padding-bottom: clamp(36px, 5vw, 64px); overflow: clip; isolation: isolate; border-bottom: 1px solid var(--hair); background: var(--bg); transition: background-color .45s var(--ease); }
.phero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.map--page { opacity: calc(var(--map-opacity) * .72); }
.phero__bg .map--page { -webkit-mask-image: radial-gradient(58% 80% at 74% 62%, rgba(0, 0, 0, .04), rgba(0, 0, 0, .3) 62%, #000 92%); mask-image: radial-gradient(58% 80% at 74% 62%, rgba(0, 0, 0, .04), rgba(0, 0, 0, .3) 62%, #000 92%); }
.phero__in { display: grid; gap: 14px; justify-items: start; }
.phero__title { font-size: var(--t-3xl); font-weight: 700; view-transition-name: page-title; }
.phero__title span { display: inline-block; }
.phero__lead { font-size: var(--t-lg); color: var(--ink-2); max-width: 40em; line-height: 1.8; }
.here { margin-bottom: 10px; max-width: 100%; }
.here__list { position: relative; display: flex; align-items: flex-start; }
.here__list::before { content: ""; position: absolute; inset-inline: 20px; top: 20px; height: 4px; border-radius: 2px; background: var(--hair-2); }
.here__a { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 40px; min-height: 44px; padding: 11px 2px 2px; border-radius: 12px; color: var(--ink-3); transition: color .25s var(--ease), transform .2s var(--ease); }
.here__a i { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3.5px solid var(--hair-2); position: relative; z-index: 1; transition: transform .45s var(--spring), border-color .3s var(--ease), background-color .3s var(--ease); }
.here__a span { font-size: var(--t-xs); white-space: nowrap; }
.here__st:not(.here__st--on) .here__a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.here__st--on .here__a { color: var(--ink); font-weight: 600; }
.here__st--on .here__a i { border-color: var(--red); transform: scale(1.18); box-shadow: 0 0 0 5px var(--red-soft); }
.here__a:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .here__a:hover { color: var(--ink); } .here__a:hover i { border-color: var(--red); transform: scale(1.22); } }
@media (max-width: 767.98px) {
  /* phones: 44px targets that overlap a little, the current page's name hangs under its dot */
  .here__list { padding-bottom: 18px; }
  .here__list::before { inset-inline: 22px; }
  .here__a { min-width: 44px; }
  .here__st + .here__st { margin-inline-start: -4px; }
  .here__st--on .here__a span { position: absolute; top: 35px; inset-inline-start: 50%; translate: calc(var(--dir) * -50%) 0; }
  .here__st--on:first-child .here__a span { inset-inline-start: 0; translate: none; }
  .here__st--on:last-child .here__a span { inset-inline-start: auto; inset-inline-end: 0; translate: none; }
}
@media (min-width: 768px) {
  .here__a { min-width: 92px; }
  .here__st:not(.here__st--on) .here__a span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .here__list::before { inset-inline: 46px; }
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-3); margin-bottom: 6px; }
.crumbs a { color: var(--red-ink); font-weight: 600; min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; border-radius: 10px; padding-inline: 8px; margin-inline: -8px; transition: background-color .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { background: var(--red-soft); } }
.here + .phero__title { margin-top: 8px; }
@media (min-width: 768px) {
  .here + .phero__title { margin-top: 6px; }
}
.pmeta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 6px; }
.pmeta li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--rf); background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--hair); font-size: var(--t-sm); color: var(--ink-2); }
.pmeta .ic { width: 18px; height: 18px; color: var(--red-ink); }

/* ---------- Quote ---------- */
.quote { position: relative; display: grid; gap: 12px; padding: 22px 22px 18px; border-radius: var(--r3); background: var(--surface-2); border: 1px solid var(--hair); border-inline-start: 4px solid var(--red); }
.quote__ic { width: 28px; height: 28px; color: var(--red); opacity: .8; }
[dir="rtl"] .quote__ic { transform: scaleX(-1); }
.quote blockquote p { font-family: var(--font-display); font-weight: 500; font-size: var(--t-lg); line-height: 1.7; color: var(--ink); }
.quote__src { font-size: var(--t-sm); color: var(--ink-3); }
.quote--plain { margin-top: 24px; max-width: 760px; }
.quote--wide { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Readiness line (home) ---------- */
.rline { display: grid; gap: clamp(24px, 3vw, 36px); padding: clamp(22px, 3.4vw, 44px); border-radius: var(--r4); background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--edge), var(--shadow-2); }
.rline__head { display: grid; gap: 22px; }
.rline__intro { display: grid; gap: 10px; }
.rline__track { position: relative; padding-top: 6px; overflow: clip; }
.rline__rail { position: absolute; inset-inline: 10%; top: 26px; height: 8px; border-radius: 4px; background: var(--steel-soft); }
.rline__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--red); transform-origin: var(--origin-start, right) center; transform: scaleX(var(--f, 0)); transition: transform .9s var(--ease-out); }
[dir="ltr"] .rline__fill { --origin-start: left; }
.rline__train { position: absolute; top: 19px; left: 0; width: 0; height: 22px; transform: translateX(var(--x, 0px)); transition: transform .9s var(--ease-out); z-index: 2; pointer-events: none; }
.rline__car { position: absolute; top: 0; left: -17px; width: 34px; height: 22px; border-radius: 11px; background: var(--ink); box-shadow: 0 0 0 3px var(--surface), var(--shadow-1); }
.rline__car::after { content: ""; position: absolute; top: 7px; inset-inline-end: 6px; width: 8px; height: 8px; border-radius: 3px; background: var(--train-win); }
.rline__stops { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rline__stop { display: grid; justify-items: center; gap: 10px; min-height: 64px; padding: 10px 2px 4px; border-radius: var(--r2); color: var(--ink-3); transition: color .3s var(--ease), background-color .3s var(--ease); }
.rline__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 4px solid var(--hair-2); position: relative; z-index: 1; transition: border-color .4s var(--ease), transform .45s var(--spring), box-shadow .4s var(--ease); }
.rline__stop[data-past="true"] .rline__dot { border-color: var(--red); }
.rline__stop[aria-selected="true"] { color: var(--ink); }
.rline__stop[aria-selected="true"] .rline__dot { border-color: var(--red); transform: scale(1.22); box-shadow: 0 0 0 6px var(--red-soft); }
.rline__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; }
.rline__stop[aria-selected="true"] .rline__dot::after { animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .6; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.2); } }
.rline__name { font-size: var(--t-xs); font-weight: 600; text-align: center; line-height: 1.35; }
.rline__stop:active .rline__dot { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) { .rline__stop:hover { color: var(--ink); background: var(--red-tint); } }
.rline__panels { min-height: 0; }
.rline__panel { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: start; opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity .45s var(--ease), transform .55s var(--ease-out), visibility 0s .55s; }
.rline__panel.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .5s var(--ease) .1s, transform .6s var(--ease-out) .1s, visibility 0s; }
.rline__k { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.rline__t { font-size: var(--t-xl); margin-bottom: 6px; }
.rline__x { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.7; max-width: 42em; }
@media (min-width: 768px) { .rline__name { font-size: var(--t-sm); } }
@media (min-width: 1024px) {
  .rline__head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
}

/* ---------- Honour cards ---------- */
.hcard { padding: 22px; gap: 10px; }
.hcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.hcard__y { font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm); color: var(--ink-3); padding: 4px 12px; border-radius: var(--rf); border: 1px solid var(--hair); }
.hcard__t { font-size: var(--t-lg); line-height: 1.45; }
.hcard__by { font-size: var(--t-sm); color: var(--ink-3); line-height: 1.6; }
.hcard__x { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.75; }
.hcard__link { position: relative; z-index: 2; font-size: var(--t-sm); min-height: 44px; }

/* ---------- Journey preview line ---------- */
@property --jl { syntax: "<number>"; inherits: true; initial-value: 1; }
html.js:not(.sda) .jline .jline__rail span { --jl: 0; transition: transform 1.6s var(--ease-out) .2s; }
html.js:not(.sda) .jline.is-in .jline__rail span { --jl: 1; }
.jline { position: relative; display: grid; gap: 0; padding-inline-start: 34px; }
.jline__rail { position: absolute; inset-inline-start: 10px; top: 14px; bottom: 14px; width: 6px; border-radius: 3px; background: var(--steel-soft); }
.jline__rail span { position: absolute; inset: 0; border-radius: inherit; background: var(--green); transform-origin: top; transform: scaleY(var(--jl, 1)); }
.jline__st { position: relative; }
.jline__a { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "y p" "y t"; gap: 0 14px; padding: 10px 12px 14px; margin-inline: -12px; border-radius: var(--r2); color: inherit; transition: background-color .3s var(--ease), transform .25s var(--ease); }
.jline__a:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .jline__a:hover { background: var(--green-soft); } .jline__a:hover .jline__dot { transform: scale(1.25); } }
.jline__y { grid-area: y; font-family: var(--font-display); font-weight: 600; font-size: var(--t-lg); color: var(--green-ink); min-width: 3.2em; line-height: 1.5; }
.jline__dot { position: absolute; inset-inline-start: -19px; top: 16px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-2); border: 4px solid var(--green); transition: transform .45s var(--spring); }
.jline__st.is-now .jline__dot { border-color: var(--red); box-shadow: 0 0 0 0 var(--red-soft); animation: nowpulse 2.4s var(--ease) infinite; }
@keyframes nowpulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--red) 0%, transparent); } }
.jline__p { grid-area: p; font-weight: 600; line-height: 1.5; }
.jline__t { grid-area: t; color: var(--ink-2); font-size: var(--t-sm); line-height: 1.6; }
@media (min-width: 900px) {
  .jline { grid-template-columns: repeat(6, minmax(0, 1fr)); padding-inline-start: 0; padding-top: 4px; }
  .jline__rail { inset-inline: 8%; top: 52px; bottom: auto; width: auto; height: 6px; }
  .jline__rail span { transform-origin: var(--origin-start, right) center; transform: scaleX(var(--jl, 1)); }
  [dir="ltr"] .jline__rail span { --origin-start: left; }
  .jline__a { grid-template-columns: 1fr; grid-template-areas: "y" "d" "p" "t"; justify-items: center; text-align: center; padding: 6px 6px 12px; margin: 0; }
  .jline__dot { position: relative; inset: auto; grid-area: d; margin: 10px 0 12px; }
  .jline__y { min-width: 0; }
}

/* ---------- Method cards (home) ---------- */
.mcard { padding: 22px; gap: 12px; }
.mcard__top { display: flex; align-items: center; justify-content: space-between; }
.mcard__k { font-family: var(--font-display); color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.mcard__t { font-size: var(--t-lg); line-height: 1.45; }
.mcard__x { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.75; }

/* ---------- Note cards + carousel ---------- */
.ncard { padding: 22px; gap: 12px; }
.ncard__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: var(--t-xs); color: var(--ink-3); }
.ncard__hook { font-size: var(--t-lg); line-height: 1.55; font-weight: 600; }
.ncard__sum { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.75; }
.carousel { position: relative; }
.carousel__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; margin: -6px -2px 0; outline: none;
}
.carousel__row::-webkit-scrollbar { display: none; }
.carousel__row > * { scroll-snap-align: start; }
.carousel__row:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 4px; border-radius: var(--r3); }
.rail:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; border-radius: var(--r3); }
.carousel__ctrl { display: flex; align-items: center; justify-content: center; gap: 8px; }
@media (min-width: 1024px) { .carousel .dot:nth-child(n+4) { display: none; } }
@media (min-width: 768px) and (max-width: 1023.98px) { .carousel .dot:nth-child(n+5) { display: none; } }
.cbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair-2); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); transition: transform .2s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.cbtn .ic { width: 20px; height: 20px; }
.cbtn:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .cbtn:hover { box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--red) 40%, var(--hair-2)); } }
@media (max-width: 1023.98px) and (min-width: 768px) { .carousel__row { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 767.98px) {
  .carousel__row { grid-auto-columns: 80vw; gap: 14px; padding: 6px 10vw 18px; margin-inline: calc(-1 * var(--gutter)); }
  .carousel__row > * { scroll-snap-align: center; scroll-snap-stop: always; }
  .cbtn { display: none; }
}

/* ---------- Credentials strip (home) ---------- */
.ccard { padding: 18px 16px; gap: 6px; text-align: start; }
.ccard__s { font-family: var(--font-display); font-weight: 600; font-size: var(--t-xl); color: var(--ink); line-height: 1.2; }
.ccard__g { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
.ccard__by { margin-block-start: auto; padding-top: 8px; font-size: var(--t-xs); color: var(--ink-3); }

/* ---------- Journey timeline ---------- */
.sec--tl { padding-top: clamp(40px, 6vw, 72px); }
.tlwrap { position: relative; }
.tl__line { position: absolute; inset-inline-start: 17px; top: 8px; bottom: 8px; width: 6px; border-radius: 3px; background: var(--steel-soft); }
.tl__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--red); transform-origin: top; transform: scaleY(var(--tp, 0)); }
.tl__train { position: absolute; left: 50%; top: 0; width: 0; height: 100%; transform: translateY(calc(var(--tp, 0) * 100%)); }
.tl__train span { position: absolute; left: -9px; top: -16px; width: 18px; height: 30px; border-radius: 9px; background: var(--ink); box-shadow: 0 0 0 3px var(--bg); }
.tl__train span::after { content: ""; position: absolute; left: 5px; bottom: 6px; width: 8px; height: 7px; border-radius: 2px; background: var(--train-win); }
.tl { display: grid; gap: clamp(28px, 4vw, 44px); padding-inline-start: 52px; }
.tl__org { display: grid; gap: 16px; }
.tl__orghead { position: relative; display: grid; gap: 6px; }
.tl__x { position: absolute; inset-inline-start: -48px; top: 4px; width: 34px; height: 22px; border-radius: 11px; background: var(--bg); border: 4px solid var(--ink); }
.tl__name { font-size: var(--t-xl); }
.tl__meta { display: flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-3); }
.tl__meta .ic { width: 18px; height: 18px; }
.tl__ctx { font-size: var(--t-sm); color: var(--ink-2); }
.tl__roles { display: grid; gap: 16px; }
.tl__role { position: relative; }
.tl__st { position: absolute; inset-inline-start: -41px; top: 26px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 4px solid var(--red); z-index: 1; }
.tl__role.is-now .tl__st { animation: nowpulse 2.4s var(--ease) infinite; }
.rcard { padding: 20px 20px 8px; gap: 10px; }
.rcard__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rcard__t { font-size: var(--t-lg); line-height: 1.45; }
.now-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: var(--rf); background: var(--red-soft); color: var(--red-ink); font-size: var(--t-xs); font-weight: 600; }
.now-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.8s var(--ease) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.rcard__when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--t-sm); color: var(--ink-2); }
.rcard__when .ic { width: 18px; height: 18px; color: var(--ink-3); }
.rcard__dur { color: var(--ink-3); padding-inline-start: 10px; border-inline-start: 1px solid var(--hair-2); }
.rcard__sum { color: var(--ink-2); line-height: 1.85; }
html[lang="en"] .rcard__sum { line-height: 1.7; }
@media (min-width: 768px) {
  .tl__line { inset-inline-start: 25px; }
  .tl { padding-inline-start: 72px; }
  .tl__x { inset-inline-start: -60px; }
  .tl__st { inset-inline-start: -53px; }
  .rcard { padding: 24px 26px 10px; }
}

/* ---------- Expander (the only place the page grows on purpose) ---------- */
.xp { margin-inline: -8px; }
.xp__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--rf); color: var(--red-ink); font-weight: 600; font-size: var(--t-sm); transition: background-color .25s var(--ease), transform .2s var(--ease); }
.xp__btn:active { transform: scale(.97); }
.xp__chev { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.xp__btn[aria-expanded="true"] .xp__chev { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .xp__btn:hover { background: var(--red-soft); } }
.xp__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.xp__body.is-open { grid-template-rows: 1fr; }
.xp__inner { min-height: 0; overflow: hidden; padding-inline: 8px; }
.xp__inner > :first-child { padding-top: 6px; }
.xp__inner > :last-child { padding-bottom: 14px; }

/* lists with his ⤶ arrow */
.list { display: grid; gap: 10px; }
.list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: var(--ink-2); line-height: 1.75; font-size: var(--t-sm); }
.list__ic { width: 18px; height: 18px; margin-top: .42em; color: var(--red); }
[dir="ltr"] .list .list__ic { transform: scaleX(-1); }
.list--big li { font-size: var(--t-lg); color: var(--ink); line-height: 1.7; }
.list--big .list__ic { width: 22px; height: 22px; margin-top: .3em; }

/* ---------- Impact ---------- */
.nboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nbox { padding: 18px 16px 16px; gap: 4px; }
.nbox__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); line-height: 1.1; }
.nbox__l { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.55; }
.nbox__s { margin-block-start: auto; padding-top: 10px; font-size: var(--t-xs); color: var(--ink-3); }
@media (min-width: 768px) { .nboxes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .nbox { padding: 24px 24px 20px; } }
.pgrid { display: grid; gap: 18px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.pcard { overflow: hidden; }
.pcard__map { position: relative; aspect-ratio: 320 / 130; background: var(--surface-2); border-bottom: 1px solid var(--hair); overflow: hidden; }
.pcard__map .map { opacity: calc(var(--map-opacity) * .95); }
.pcard__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 8px; }
.pcard__org { font-size: var(--t-xs); color: var(--ink-3); font-weight: 600; }
.pcard__t { font-size: var(--t-lg); line-height: 1.45; }
.pcard__when { font-size: var(--t-xs); color: var(--ink-3); }
.pcard__sum { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.75; }
.pcard__figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--hair-2); }
.pfig .fig__n { font-family: var(--font-display); font-weight: 600; font-size: var(--t-xl); line-height: 1.2; }
.pfig .fig__l { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: 3em; }
@media (hover: hover) and (pointer: fine) { .pcard:hover .map--mini .train { animation-duration: .6s; } }
.prog__map { aspect-ratio: 1200 / 240; overflow: hidden; margin-bottom: 22px; background: var(--surface-2); }
@media (max-width: 767.98px) { .prog__map { aspect-ratio: 1200 / 400; } }
.prog__map .map { position: absolute; inset: 0; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.fig.card { padding: 18px 18px 16px; gap: 4px; }
.fig .fig__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; }
.fig .fig__l { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.55; }
.pblocks { display: grid; gap: 16px; margin-top: clamp(24px, 3vw, 36px); align-items: stretch; }
@media (min-width: 1024px) { .pblocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pblock { padding: 22px; gap: 14px; }
.pblock .h3 { font-size: var(--t-lg); }
.pnav { display: grid; gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
.pnav__a { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; min-height: 76px; color: var(--ink); }
.pnav__a > span { display: grid; gap: 2px; min-width: 0; }
.pnav__a small { font-size: var(--t-xs); color: var(--ink-3); font-weight: 600; }
.pnav__a span span { font-weight: 600; line-height: 1.45; }
.pnav__a .ic { width: 22px; height: 22px; color: var(--red-ink); flex: none; }
.pnav__a--next { justify-content: space-between; }


@media (min-width: 900px) { .pnav { grid-template-columns: 1fr auto 1fr; } .pnav__a--next { text-align: end; } }

/* ---------- Method ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.toc__a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--rf); background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--hair); font-size: var(--t-sm); font-weight: 500; transition: transform .2s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.toc__k { font-family: var(--font-display); font-weight: 600; color: var(--red-ink); font-size: var(--t-xs); }
.toc__a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .toc__a:hover { background: var(--surface); border-color: color-mix(in srgb, var(--red) 40%, var(--hair)); } }
@media (max-width: 767.98px) {
  .toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .toc::-webkit-scrollbar { display: none; }
  .toc__a { flex: none; }
}
.msec__head { display: grid; gap: 10px; max-width: 780px; margin-bottom: clamp(22px, 3vw, 34px); }
.msec__k { font-family: var(--font-display); font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.srclink { justify-self: start; font-size: var(--t-sm); min-height: 44px; }
.chainwrap { padding: clamp(20px, 3vw, 34px); gap: 18px; }
.chain__ex { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.chain__ex .ic { color: var(--amber-ink); }
.chain { display: grid; gap: 0; position: relative; }
.chain__st { position: relative; display: grid; gap: 4px; padding: 0 0 22px 0; padding-inline-start: 40px; }
.chain__st::before { content: ""; position: absolute; inset-inline-start: 9px; top: 22px; bottom: -4px; width: 5px; border-radius: 3px; background: var(--red); opacity: .85; }
.chain__st:last-child::before { display: none; }
.chain__dot { position: absolute; inset-inline-start: 0; top: 4px; width: 23px; height: 23px; border-radius: 50%; background: var(--surface); border: 4.5px solid var(--red); }
.chain__st:last-child .chain__dot { background: var(--red); box-shadow: 0 0 0 5px var(--red-soft); }
.chain__k { font-family: var(--font-display); color: var(--ink-3); font-size: var(--t-xs); font-weight: 600; }
.chain__t { font-size: var(--t-lg); }
.chain__x { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.75; }
@media (min-width: 900px) {
  .chain { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
  .chain__st { padding: 40px 0 0; }
  .chain__st::before { inset-inline-start: 22px; inset-inline-end: -18px; top: 9px; bottom: auto; width: auto; height: 5px; }
  .chain__dot { top: 0; }
}
.lvlwrap { padding: clamp(20px, 3vw, 34px); gap: 22px; }
.lvl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.lvl::before { content: ""; position: absolute; inset-inline: 12.5%; top: 9px; height: 5px; border-radius: 3px; background: linear-gradient(to var(--to-end, left), var(--green-soft), var(--green)); }
[dir="ltr"] .lvl { --to-end: right; }
.lvl__st { display: grid; justify-items: center; gap: 8px; position: relative; }
.lvl__st i { width: 23px; height: 23px; border-radius: 50%; background: var(--surface); border: 4.5px solid var(--green); transform: scale(calc(.75 + var(--i) * .1)); }
.lvl__st span { font-size: var(--t-sm); font-weight: 600; }
.seg { display: grid; gap: 18px; }
.seg__bar { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); padding: 4px; border-radius: var(--rf); background: var(--bg-2); border: 1px solid var(--hair); }
.seg__ind { position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc((100% - 8px) / var(--n)); border-radius: var(--rf); background: var(--surface); box-shadow: var(--shadow-1); transform: translateX(calc(var(--dir) * 100% * var(--k, 0))); transition: transform .5s var(--ease-out); }
.seg__b { position: relative; z-index: 1; min-height: 44px; padding: 0 6px; border-radius: var(--rf); font-size: var(--t-sm); font-weight: 600; color: var(--ink-3); transition: color .3s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg__b[aria-selected="true"] { color: var(--ink); }
.seg__b:active { transform: scale(.97); }
.seg__p { display: grid; gap: 6px; padding: 6px 4px; opacity: 0; transform: translateX(calc(var(--dir) * -14px)); visibility: hidden; transition: opacity .4s var(--ease), transform .5s var(--ease-out), visibility 0s .5s; }
.seg__p.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .45s var(--ease) .08s, transform .55s var(--ease-out) .08s, visibility 0s; }
.seg__k { font-family: var(--font-display); color: var(--green-ink); font-size: var(--t-sm); font-weight: 600; }
.seg__q { font-family: var(--font-display); font-weight: 500; font-size: var(--t-xl); line-height: 1.5; }
.party { padding: 22px; gap: 12px; }
.party__t { font-size: var(--t-lg); }
.party__q { color: var(--ink-2); font-size: var(--t-md); line-height: 1.75; }
.checks { padding: clamp(20px, 3vw, 32px); }
.bars { padding: clamp(20px, 3vw, 34px); gap: 26px; }
.bars__list { display: grid; gap: 22px; }
.bar { display: grid; gap: 10px; }
.bar__head { display: flex; align-items: baseline; gap: 14px; }
.bar__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1; min-width: 2.2ch; }
.bar__t { font-size: var(--t-lg); }
.bar__track { height: 14px; border-radius: 7px; background: var(--bg-2); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: inherit; transform-origin: var(--origin-start, right) center; }
[dir="ltr"] .bar__fill { --origin-start: left; }
.bar--green .bar__fill { background: var(--green); } .bar--amber .bar__fill { background: var(--amber); } .bar--red .bar__fill { background: var(--red); }
.bar__x { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.7; }
.list--qs { padding-top: 18px; border-top: 1px dashed var(--hair-2); }
.list--qs .list__ic { color: var(--green); }
.list--qs li { color: var(--ink); font-size: var(--t-md); }
.cmp { display: grid; gap: 14px; }
.cmp__c { padding: 22px; gap: 8px; border-top: 4px solid var(--steel); }
.cmp__c--1 { border-top-color: var(--amber); }
.cmp__t { font-size: var(--t-lg); }
.cmp__x { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.6; }
@media (min-width: 768px) { .cmp { grid-template-columns: 1fr 1fr; gap: 18px; } }
.trial { margin-top: 18px; padding: clamp(20px, 3vw, 30px); gap: 18px; }
.trial__t { font-size: var(--t-lg); }
.trial__line { display: grid; gap: 12px; position: relative; padding-inline-start: 30px; }
.trial__line::before { content: ""; position: absolute; inset-inline-start: 8px; top: 10px; bottom: 10px; width: 5px; border-radius: 3px; background: var(--amber); opacity: .8; }
.trial__i { position: relative; display: flex; align-items: center; min-height: 32px; font-weight: 500; }
.trial__i i { position: absolute; inset-inline-start: -30px; width: 21px; height: 21px; border-radius: 50%; background: var(--surface); border: 4px solid var(--amber); }
.trial__i:last-child i { background: var(--amber); }
@media (min-width: 1024px) {
  .trial__line { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-inline-start: 0; padding-top: 36px; gap: 14px; }
  .trial__line::before { inset-inline-start: 10px; inset-inline-end: calc((100% - 56px) / 5 - 12px); top: 8px; bottom: auto; width: auto; height: 5px; }
  .trial__i { align-items: flex-start; }
  .trial__i i { inset-inline-start: 0; top: -36px; }
}

/* ---------- Credentials ---------- */
html[dir="rtl"] .cert__n, html[dir="rtl"] .cert__by, html[dir="rtl"] .course__n, html[dir="rtl"] .ccx__v, html[dir="rtl"] .fprof__v, html[dir="rtl"] .ccard__s, html[dir="rtl"] .ccard__by { text-align: right; }
.edu { display: grid; gap: 0; position: relative; padding-inline-start: 34px; }
.edu::before { content: ""; position: absolute; inset-inline-start: 9px; top: 12px; bottom: 26px; width: 6px; border-radius: 3px; background: var(--green); opacity: .85; }
.edu__st { position: relative; display: grid; gap: 4px; padding-bottom: 24px; }
.edu__dot { position: absolute; inset-inline-start: -32px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-2); border: 4.5px solid var(--green); }
.edu__st.is-now .edu__dot { border-color: var(--red); animation: nowpulse 2.4s var(--ease) infinite; }
.edu__y { font-family: var(--font-display); font-weight: 600; color: var(--green-ink); }
.edu__t { font-size: var(--t-lg); line-height: 1.45; }
.edu__o { color: var(--ink-2); font-size: var(--t-sm); }
@media (min-width: 900px) {
  .edu { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline-start: 0; padding-top: 38px; gap: 24px; }
  .edu::before { inset-inline-start: 10px; inset-inline-end: calc((100% - 48px) / 3 - 12px); top: 8px; bottom: auto; width: auto; height: 6px; }
  .edu__dot { inset-inline-start: 0; top: -38px; }
}
.certs { display: grid; gap: 14px; }
@media (min-width: 640px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1280px) { .certs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cert { padding: 18px 18px 16px; gap: 8px; }
.cert__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cert__s { font-family: var(--font-display); font-weight: 600; font-size: var(--t-lg); color: var(--red-ink); }
.cert__d { font-size: var(--t-xs); color: var(--ink-3); white-space: nowrap; }
.cert__n { font-size: var(--t-sm); font-family: var(--font-body); font-weight: 600; line-height: 1.5; min-height: 3em; text-align: start; }
.cert__g { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.6; }
.cert__by { font-size: var(--t-xs); color: var(--ink-3); text-align: start; }
.courses { padding: 8px 20px; gap: 0; }
.course { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.course:last-child { border-bottom: 0; }
.course__dot { width: 12px; height: 12px; margin-top: .6em; border-radius: 50%; border: 3px solid var(--steel); }
.course__n { font-weight: 600; line-height: 1.5; text-align: start; }
.course__m { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.7; overflow-wrap: anywhere; }
.xmap { display: grid; gap: 14px; }
@media (min-width: 700px) { .xmap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .xmap { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.xline { padding: 20px 20px 16px; gap: 16px; }
.xline__t { display: flex; align-items: center; gap: 10px; font-size: var(--t-md); }
.xline__list { position: relative; display: grid; gap: 14px; padding-inline-start: 30px; }
.xline__list::before { content: ""; position: absolute; inset-inline-start: 8px; top: 8px; bottom: 8px; width: 5px; border-radius: 3px; background: var(--c, var(--red)); }
.xline--red { --c: var(--red); } .xline--green { --c: var(--green); } .xline--amber { --c: var(--amber); } .xline--ink { --c: var(--steel); }
.xline__st { position: relative; font-size: var(--t-sm); line-height: 1.6; color: var(--ink); }
.xline__st i { position: absolute; inset-inline-start: -30px; top: .25em; width: 21px; height: 21px; border-radius: 50%; background: var(--surface); border: 4px solid var(--c, var(--red)); }
.langs { display: grid; gap: 14px; }
@media (min-width: 640px) { .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; } }
.lang { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
.lang .ic { width: 26px; height: 26px; color: var(--green-ink); }
.lang__n { font-weight: 600; }
.lang__l { color: var(--ink-3); font-size: var(--t-sm); }

/* ---------- Notes page ---------- */
.followers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--ink-2); font-weight: 500; margin-top: 4px; }
.followers .ic { color: var(--green-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fchip { min-height: 44px; padding: 0 16px; border-radius: var(--rf); border: 1px solid var(--hair-2); background: var(--surface); font-weight: 600; font-size: var(--t-sm); color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); }
.fchip[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.fchip:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .fchip:hover:not([aria-pressed="true"]) { border-color: color-mix(in srgb, var(--red) 40%, var(--hair-2)); color: var(--ink); } }
@media (max-width: 767.98px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .fchip { flex: none; }
}
.tnote { display: flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-3); margin-bottom: 18px; }
.ngrid { display: grid; gap: 16px; }
@media (min-width: 700px) { .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ngrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ngrid .ncard { transition: transform .45s var(--ease-out), box-shadow .4s var(--ease-out), border-color .35s var(--ease), filter .45s var(--ease), scale .45s var(--ease-out), translate .9s var(--ease-out), opacity .8s var(--ease); }
.ngrid .ncard.is-dim { filter: opacity(.3) saturate(.3); scale: .975; }

/* ---------- Contact ---------- */
.ccxs { display: grid; gap: 14px; }
@media (min-width: 768px) { .ccxs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .ccx--main { grid-column: 1 / -1; } }
.ccx { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; min-height: 88px; color: var(--ink); }
.ccx__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-soft); color: var(--green-ink); flex: none; }
.ccx--main .ccx__ic { background: var(--red-soft); color: var(--red-ink); width: 60px; height: 60px; }
.ccx__ic .ic { width: 24px; height: 24px; }
.ccx__b { display: grid; gap: 2px; min-width: 0; flex: 1; }
.ccx__k { font-size: var(--t-sm); color: var(--ink-3); font-weight: 600; }
.ccx__v { font-weight: 600; overflow-wrap: anywhere; text-align: start; }
.ccx__x { font-size: var(--t-sm); color: var(--ink-2); }
.ccx__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--rf); background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: var(--t-sm); flex: none; }

@media (max-width: 559.98px) { .ccx--main { flex-wrap: wrap; } .ccx--main .ccx__cta { width: 100%; justify-content: center; min-height: 48px; } }
.faq { display: grid; gap: 12px; }
.faq__i { padding: 0; }
.faq__q { font-size: var(--t-md); font-family: var(--font-body); }
.faq__b { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 60px; padding: 14px 20px; text-align: start; font-weight: 600; line-height: 1.55; border-radius: var(--r3); transition: background-color .25s var(--ease); }
.faq__b:active { transform: scale(.995); }
@media (hover: hover) and (pointer: fine) { .faq__b:hover { background: var(--red-tint); } }
.faq__pm { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--red-soft); }
.faq__pm i { position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; border-radius: 1px; background: var(--red-ink); transition: transform .4s var(--ease-out); }
.faq__pm i + i { transform: rotate(90deg); }
.faq__b[aria-expanded="true"] .faq__pm i + i { transform: rotate(0deg); }
.faq__a p { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.85; }
.faq__a .xp__inner { padding-inline: 0; }

/* (footer: see FOOTER block below) */

/* ---------- Phone dock, sheet, sticky action ---------- */
.dock { display: none; }
.fab { display: none; }
@media (max-width: 1023.98px) {
  :root { --dock-space: calc(var(--dock-h) + 24px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed; z-index: 50; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 460px); height: var(--dock-h);
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px; border-radius: 24px;
    background: var(--glass-sheen), var(--glass-bg); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-3);
    transform: translateX(-50%); transition: transform .45s var(--ease-out), opacity .3s var(--ease);
  }
  .dock.is-hidden { transform: translate(-50%, calc(100% + 30px)); }
  .dock__a { position: relative; display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 18px; color: var(--ink-3); min-height: 52px; transition: color .25s var(--ease), transform .2s var(--ease); }
  .dock__a .ic { width: 22px; height: 22px; position: relative; z-index: 1; }
  .dock__l { position: relative; z-index: 1; font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
  .dock__a.is-on { color: var(--red-ink); }
  .dock__pill { position: absolute; inset: 0; border-radius: 18px; background: var(--red-soft); view-transition-name: dock-pill; }
  .dock__a:active { transform: scale(.92); }

  .fab {
    position: fixed; z-index: 49; left: 50%; bottom: calc(12px + var(--dock-h) + 12px + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--rf); white-space: nowrap; width: max-content;
    background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: var(--t-sm); box-shadow: var(--shadow-3);
    opacity: 0; transform: translate(-50%, 16px) scale(.96); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease-out);
  }
  .fab .ic { width: 20px; height: 20px; }
  .fab.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
  .fab:active { transform: translate(-50%, 0) scale(.96); }
}
.scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); opacity: 0; transition: opacity .35s var(--ease); }
.scrim.is-on { opacity: 1; }
.sheet {
  position: fixed; z-index: 61; left: 50%; bottom: -40px; width: min(100%, 560px); max-height: calc(86vh + 40px); overflow: auto;
  padding: 10px 16px calc(56px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0;
  background: var(--glass-sheen), var(--glass-bg); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--glass-line); border-bottom: 0; box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-3);
  transform: translate(-50%, 105%); transition: transform .55s var(--spring); overscroll-behavior: contain;
}
.sheet.is-on { transform: translate(-50%, 0); }
.sheet__handle { width: 44px; height: 5px; border-radius: 3px; background: var(--hair-2); margin: 2px auto 8px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.sheet__title { font-family: var(--font-display); font-weight: 600; font-size: var(--t-lg); }
.sheet__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--steel-soft); }
.sheet__x .ic { width: 20px; height: 20px; }
.sheet__x:active { transform: scale(.92); }
.sheet__nav { display: grid; gap: 8px; }
.sheet__a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--hair); font-weight: 600; font-size: var(--t-md); transition: transform .2s var(--ease), background-color .25s var(--ease); }
.sheet__a[aria-current] { border-color: color-mix(in srgb, var(--red) 40%, var(--hair)); background: var(--red-tint); }
.sheet__a:active { transform: scale(.98); }
.sheet__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--red-soft); color: var(--red-ink); flex: none; }
.sheet__ic .ic { width: 21px; height: 21px; }
.sheet__t { flex: 1; }
html.lock, html.lock body { overflow: hidden; }

/* ==========================================================================
   ALWAYS-MOVING BACKGROUND — a quiet railway network behind every page.
   Fixed layer, compositor-only motion (transform/opacity), nothing reacts to the mouse.
   ========================================================================== */
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; contain: strict; direction: ltr; }
.bgfx__paper { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, var(--paper-line) 46px 47px); }
.bgfx__net { position: absolute; inset: -6vh 0; }
.bgfx__drift { position: absolute; inset: 0; contain: strict; }
/* large screens get the extra layers (slow drift, calmer centre, pulsing stations); phones keep it light: trains only */
@media (min-width: 1024px) {
  .bgfx__net { -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .4) 20%, rgba(0, 0, 0, .4) 80%, #000); mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .4) 20%, rgba(0, 0, 0, .4) 80%, #000); }
  .bgfx__drift { animation: bg-drift 24s var(--ease) infinite alternate; }
}
@keyframes bg-drift { from { transform: translate3d(0, -12px, 0); } to { transform: translate3d(0, 14px, 0); } }
.trk { position: absolute; display: block; background: var(--track); }
.trk::before { content: ""; position: absolute; opacity: .9; }
.trk--1, .trk--2, .trk--3 { inset-inline: 0; height: 2px; }
.trk--1::before, .trk--2::before, .trk--3::before { inset-inline: 0; top: -3px; height: 8px; background: repeating-linear-gradient(90deg, var(--track) 0 2px, transparent 2px 16px); }
.trk--4, .trk--5 { top: 0; bottom: 0; width: 2px; }
.trk--4::before, .trk--5::before { top: 0; bottom: 0; inset-inline-start: -3px; width: 8px; background: repeating-linear-gradient(180deg, var(--track) 0 2px, transparent 2px 16px); }
.trk--1 { top: 21%; } .trk--2 { top: 55%; } .trk--3 { top: 87%; }
.trk--4 { inset-inline-start: 5%; } .trk--5 { inset-inline-end: 5%; }
.stn { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bg); border: 3px solid var(--track-2); }
.stn::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--track-2); opacity: 0; animation: ring 3.6s var(--ease) infinite; animation-delay: calc(var(--d, 0) * 1s); }
.stn--1 { top: 21%; left: 5%; --d: 0; } .stn--2 { top: 21%; left: 95%; --d: 1.2; } .stn--3 { top: 55%; left: 95%; --d: 2.1; }
.stn--4 { top: 87%; left: 5%; --d: .6; } .stn--5 { top: 55%; left: 38%; --d: 1.7; } .stn--6 { top: 87%; left: 66%; --d: 2.8; }
.sig-l { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; text-decoration: none; animation: blinkl 2.8s steps(1, end) infinite; animation-delay: calc(var(--d, 0) * 1s); }
.sig-l--1 { top: calc(21% - 9px); left: 22%; background: #C8473F; --d: .3; } .sig-l--2 { top: calc(55% - 9px); left: 71%; background: #C9952F; --d: 1.1; }
.sig-l--3 { top: calc(87% - 9px); left: 41%; background: #4E9A6B; --d: 1.9; } .sig-l--4 { top: calc(21% - 9px); left: 83%; background: #4E9A6B; --d: .7; }
@keyframes blinkl { 0%, 60% { opacity: .55; } 61%, 100% { opacity: .12; } }
.trn { position: absolute; display: block; will-change: transform; opacity: var(--trn-a); }
.trn span { display: block; width: 34px; height: 9px; border-radius: 5px; background: var(--c, var(--red)); position: relative; }
.trn span::after { content: ""; position: absolute; top: 2px; inset-inline-end: 5px; width: 6px; height: 5px; border-radius: 2px; background: var(--train-win); }
.trn--1 { top: calc(21% - 4px); left: 0; --c: var(--red); animation: run-x 32s linear infinite; }
.trn--2 { top: calc(55% - 4px); left: 0; --c: var(--green); animation: run-xr 41s linear infinite; animation-delay: -9s; }
.trn--3 { top: calc(87% - 4px); left: 0; --c: var(--steel); animation: run-x 27s linear infinite; animation-delay: -15s; }
.trn--6 { top: calc(21% - 4px); left: 0; --c: var(--amber); animation: run-xr 37s linear infinite; animation-delay: -21s; }
.trn--4 { inset-inline-start: calc(5% - 4px); top: 0; --c: var(--green); animation: run-y 36s linear infinite; animation-delay: -6s; }
.trn--5 { inset-inline-end: calc(5% - 4px); top: 0; --c: var(--red); animation: run-yr 44s linear infinite; animation-delay: -18s; }
.trn--4 span, .trn--5 span { width: 9px; height: 34px; }
.trn--4 span::after, .trn--5 span::after { top: auto; bottom: 5px; inset-inline-end: 1.5px; width: 6px; height: 6px; }
@media (max-width: 1023.98px) {
  .bgfx { --trn-a: .48; }
  .stn::after { display: none; }
  .sig-l { animation: none; opacity: .4; }
}
@media (max-width: 767.98px) {
  .trk--4 { inset-inline-start: 7px; } .trk--5 { inset-inline-end: 7px; }
  .trn--4 { inset-inline-start: 3px; } .trn--5 { inset-inline-end: 3px; }
  .stn--1, .stn--4 { left: 8px; } .stn--2, .stn--3 { left: calc(100% - 8px); }
}
@keyframes run-x { from { transform: translate3d(-60px, 0, 0); } to { transform: translate3d(calc(100vw + 60px), 0, 0); } }
@keyframes run-xr { from { transform: translate3d(calc(100vw + 60px), 0, 0); } to { transform: translate3d(-60px, 0, 0); } }
@keyframes run-y { from { transform: translate3d(0, -60px, 0); } to { transform: translate3d(0, 112vh, 0); } }
@keyframes run-yr { from { transform: translate3d(0, 112vh, 0); } to { transform: translate3d(0, -60px, 0); } }
@supports (animation-timeline: scroll()) {
  @media (min-width: 1024px) { html.sda .bgfx__net { animation: bg-par linear both; animation-timeline: scroll(root); } }
  @keyframes bg-par { from { transform: translate3d(0, 3vh, 0); } to { transform: translate3d(0, -3vh, 0); } }
}

/* ==========================================================================
   INTERACTIVE SURFACES — every card answers: tilt + light on desktop,
   a press glow on touch. Transforms only, so nothing around them moves.
   ========================================================================== */
.card, .stat, .badge, .quote, .fprof, .roundel--xl, .lang, .fig {
  --lift: 0px; --press: 1;
  transition: transform .6s var(--ease-out), box-shadow .45s var(--ease-out), border-color .35s var(--ease), background-color .45s var(--ease), translate .9s var(--ease-out), opacity .8s var(--ease), scale .45s var(--ease-out), filter .45s var(--ease);
}
html :is(.card, .stat, .badge, .quote, .fprof, .roundel--xl, .lang, .fig).is-tilt {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift)) scale(var(--press));
  transition: transform .14s linear, box-shadow .45s var(--ease-out), border-color .35s var(--ease), background-color .45s var(--ease), translate .9s var(--ease-out), opacity .8s var(--ease), scale .45s var(--ease-out), filter .45s var(--ease) !important;
}
.card::before, .stat::before, .quote::before, .fprof::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -10%), var(--sheen), transparent 46%);
  transition: opacity .45s var(--ease);
}
.card::after, .stat::after, .quote::after, .fprof::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(230px circle at var(--px, 50%) var(--py, 50%), var(--press-c), transparent 68%);
  transform-origin: var(--px, 50%) var(--py, 50%);
}
.is-tilt::before { opacity: 1; }
.is-press::after { animation: press-glow .8s var(--ease) both; }
@keyframes press-glow { 0% { opacity: 0; transform: scale(.45); } 22% { opacity: 1; } 100% { opacity: 0; transform: scale(1.04); } }
.quote, .stat, .fprof { isolation: isolate; }
.card:active, .stat:active, .badge:active, .lang:active, .fig:active { --press: .985; transform: translateY(var(--lift)) scale(var(--press)); }
@media (hover: hover) and (pointer: fine) {
  .card:hover, .stat:hover, .badge:hover, .quote:hover, .lang:hover, .fig:hover {
    --lift: -5px; transform: translateY(var(--lift)) scale(var(--press)); box-shadow: var(--edge), var(--shadow-2); border-color: color-mix(in srgb, var(--red) 28%, var(--hair));
  }
  .badge:hover { box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-3); }
  .card:hover .sig, .lang:hover .ic { transform: rotate(-7deg) scale(1.08); }
  .quote:hover .quote__ic { transform: scale(1.12) rotate(-6deg); }
  .roundel--xl:hover .roundel__img { scale: 1.05; }
  [dir="rtl"] .quote:hover .quote__ic { transform: scaleX(-1) scale(1.12) rotate(-6deg); }
}
.sig, .quote__ic, .lang .ic { transition: transform .5s var(--spring); }
.roundel__img { transition: scale .8s var(--ease-out); }
.quote { cursor: default; }
.rcard { cursor: pointer; }
.rcard .xp__body { cursor: auto; }

/* stats are links into the numbers */
.stat { position: relative; }
.stat__a { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 16px 14px; color: inherit; border-radius: inherit; }
.stat__a:focus-visible { outline-offset: 6px; }
.stat__go { margin-top: auto; padding-top: 6px; color: var(--red-ink); opacity: 0; transform: translateX(calc(var(--dir) * -6px)); transition: opacity .3s var(--ease), transform .4s var(--ease-out); line-height: 0; }
.stat:hover .stat__go, .stat__a:focus-visible .stat__go { opacity: 1; transform: none; }
@media (hover: none) { .stat__go { opacity: .7; transform: none; } }
/* hero badges are links too */
a.badge { color: inherit; min-height: 44px; }
a.badge:focus-visible { outline-offset: 4px; border-radius: 18px; }

/* credential ID: copy with one tap */
.cert--copy .cert__id { cursor: copy; }
.cert__id--none { border-top-color: transparent; }
.cert__id { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; margin-block-start: auto; padding-top: 8px; border-top: 1px dashed var(--hair-2); font-size: var(--t-xs); color: var(--ink-3); }
.cert__id p { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.cert__copy { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: var(--ink-3); transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.cert__copy-i { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .25s var(--ease), transform .4s var(--spring); }
.cert__copy-i .ic { width: 19px; height: 19px; }
.cert__copy-i--ok { opacity: 0; transform: scale(.4); color: var(--green-ink); }
.cert__copy.is-done .cert__copy-i { opacity: 0; transform: scale(.4); }
.cert__copy.is-done .cert__copy-i--ok { opacity: 1; transform: none; }
.cert__copy:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .cert__copy:hover, .cert:hover .cert__copy { background: var(--red-soft); color: var(--red-ink); } }

/* small things that answer the pointer */
.xline__st i, .edu__dot, .course__dot, .chain__dot, .lvl__st i { transition: transform .45s var(--spring), background-color .3s var(--ease), border-color .3s var(--ease); }
.xline__st { transition: color .25s var(--ease), translate .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .xline__st:hover { color: var(--c); translate: calc(var(--dir) * 4px) 0; }
  .xline__st:hover i { background: var(--c); transform: scale(1.15); }
  .edu__st:hover .edu__dot { transform: scale(1.22); background: var(--green); }
  .course { transition: background-color .25s var(--ease); border-radius: 12px; }
  .course:hover { background: var(--red-tint); }
  .course:hover .course__dot { background: var(--steel); transform: scale(1.2); }
  .chain__st:hover .chain__dot { transform: scale(1.22); background: var(--red); }
  .lvl__st:hover i { background: var(--green); }
  .bar:hover .bar__track { transform: scaleY(1.4); }
  .party:hover .party__q { color: var(--ink); }
}
.bar__track { transition: transform .45s var(--spring); }
/* the role chain lights up station by station, on its own */
.chain__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: ring 4.8s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 1.2s); }
.lvl__st i { position: relative; }
.lvl__st i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ring 4.4s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 1.1s); }

/* toast */
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(24px + var(--dock-space, 0px)); display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--rf); white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: var(--t-sm); box-shadow: var(--shadow-3);
  opacity: 0; transform: translate(-50%, 16px) scale(.96); pointer-events: none; transition: opacity .3s var(--ease), transform .5s var(--spring); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { width: 18px; height: 18px; flex: none; color: var(--toast-ok); }
.toast__x { font-weight: 500; opacity: .78; font-variant-numeric: tabular-nums; }
.toast:empty { visibility: hidden; }

/* light button for dark surfaces */
.btn--light { background: #F7F4EC; color: #0F1814; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7); }
.btn--light .btn__shine::after { background: linear-gradient(100deg, transparent, rgba(200, 71, 63, .16), transparent); }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .8); background: #fff; } }

/* ==========================================================================
   FOOTER — the terminal station
   ========================================================================== */
.ftr { position: relative; overflow: clip; isolation: isolate; background: var(--ftr-bg); color: var(--ftr-ink); padding: 0 0 calc(22px + var(--dock-space, 0px)); --bg: var(--ftr-bg); --hair: rgba(238, 233, 222, .1); }
.ftr__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ftr__paper { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(238, 233, 222, .028) 46px 47px); }
.ftr__map { position: absolute; inset: 0; opacity: .5; }
.ftr__map .map { --map-dot: #0F1814; -webkit-mask-image: radial-gradient(70% 90% at 50% 40%, rgba(0, 0, 0, .25), #000 85%); mask-image: radial-gradient(70% 90% at 50% 40%, rgba(0, 0, 0, .25), #000 85%); }
.ftr__map .ln--ink { stroke: #6E7C74; }
.ftr__glow { position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 149, 139, .45), transparent); }
.ftr :focus-visible { outline-color: #F2958B; }
/* station line = site map */
.fline { position: relative; padding: clamp(26px, 3.4vw, 40px) 0 14px; border-bottom: 1px solid rgba(238, 233, 222, .09); }
.fline__in { position: relative; }
.fline__track { position: absolute; inset-inline: calc(100% / 14); top: 19px; height: 6px; border-radius: 3px; background: rgba(238, 233, 222, .13); overflow: hidden; }
.fline__track::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(15, 24, 20, .7) 0 2px, transparent 2px 14px); opacity: .6; }
.fline__run { position: absolute; inset: 0; animation: fline-run 11s linear infinite; will-change: transform; }
.fline__train { position: absolute; top: 0; inset-inline-start: -46px; width: 46px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(242, 149, 139, 0), #F2958B 40%, #fff); }
[dir="rtl"] .fline__train { background: linear-gradient(270deg, rgba(242, 149, 139, 0), #F2958B 40%, #fff); }
@keyframes fline-run { from { transform: translateX(0); } to { transform: translateX(calc(var(--dir) * (100% + 46px))); } }
.fline__list { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.fline__a { display: grid; justify-items: center; align-content: start; gap: 10px; min-height: 66px; padding: 12px 4px 8px; border-radius: 14px; color: var(--ftr-ink-2); font-size: var(--t-sm); font-weight: 600; text-align: center; transition: color .25s var(--ease), background-color .25s var(--ease), transform .2s var(--ease); }
.fline__dot { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--ftr-bg); border: 4px solid rgba(238, 233, 222, .42); transition: transform .45s var(--spring), border-color .3s var(--ease), background-color .3s var(--ease); }
.fline__st.is-on .fline__a { color: var(--ftr-ink); }
.fline__st.is-on .fline__dot { border-color: #F2958B; background: #E26B61; }
.fline__st.is-on .fline__dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid #F2958B; opacity: 0; animation: ring 2.4s var(--ease) infinite; }
.fline__a:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .fline__a:hover { color: var(--ftr-ink); background: rgba(238, 233, 222, .05); } .fline__a:hover .fline__dot { transform: scale(1.25); border-color: #F2958B; } }
@media (max-width: 899.98px) {
  .fline { overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
  .fline::-webkit-scrollbar { display: none; }
  .fline__in { min-width: 590px; }
}
/* statement + profile */
.ftr__top { display: grid; gap: 28px; padding-top: clamp(34px, 5vw, 64px); }
.ftr__h { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.22; color: var(--ftr-ink); max-width: 15em; }
.ftr__p { color: var(--ftr-ink-2); font-size: var(--t-lg); line-height: 1.8; margin-top: 12px; max-width: 34em; }
.ftr__cta { margin-top: 24px; }
.ftr__cta .btn { min-height: 54px; }
.fprof { position: relative; padding: 22px; border-radius: var(--r4); background: rgba(238, 233, 222, .055); border: 1px solid rgba(238, 233, 222, .11);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 36px 70px -34px rgba(0, 0, 0, .75); --sheen: rgba(242, 149, 139, .12); --press-c: rgba(242, 149, 139, .26); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .fprof { background: rgba(238, 233, 222, .07) !important; } }
html.no-blur .fprof { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(238, 233, 222, .07) !important; }
.fprof__id { display: flex; align-items: center; gap: 16px; }
.fprof__name { font-family: var(--font-display); font-weight: 600; font-size: var(--t-xl); line-height: 1.3; }
.fprof__role { color: var(--ftr-ink-2); font-size: var(--t-sm); margin-top: 2px; line-height: 1.6; }
.fprof__org { color: #F2958B; font-size: var(--t-xs); font-weight: 600; margin-top: 2px; }
.fprof__rows { display: grid; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(238, 233, 222, .09); }
.fprof__row { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 10px; margin-inline: -10px; border-radius: 14px; color: var(--ftr-ink); transition: background-color .25s var(--ease), transform .2s var(--ease); }
a.fprof__row:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { a.fprof__row:hover { background: rgba(238, 233, 222, .06); } }
.fprof__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(121, 196, 151, .13); color: #8FD2AA; }
.fprof__ic .ic { width: 20px; height: 20px; }
.fprof__t { display: grid; min-width: 0; flex: 1; }
.fprof__k { font-size: var(--t-xs); color: var(--ftr-ink-2); font-weight: 600; }
.fprof__v { font-weight: 600; font-size: var(--t-sm); overflow-wrap: anywhere; }
html[dir="rtl"] .fprof__v { text-align: right; }
.fprof__row > .ic { color: var(--ftr-ink-2); }
@media (min-width: 900px) { .ftr__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; } }
@media (max-width: 767.98px) {
  .fprof { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(238, 233, 222, .065); }
  .ftr__cta .btn { width: 100%; }
}
/* motto as a large quiet signature */
.ftr__wm { margin-top: clamp(40px, 6vw, 72px); font-family: var(--font-display); font-weight: 700; line-height: 1.15; user-select: none; --wm-k: 10; }
html[lang="en"] .ftr__wm { --wm-k: 13.2; letter-spacing: -.01em; }
.ftr__wm-in { display: block; white-space: nowrap; font-size: min(8rem, calc((100vw - 2 * var(--gutter)) / var(--wm-k))); color: color-mix(in srgb, var(--ftr-ink) 10%, var(--ftr-bg)); }
@supports (font-size: 1cqi) {
  .ftr__wm { container-type: inline-size; }
  .ftr__wm-in { font-size: min(8rem, calc(100cqi / var(--wm-k))); }
}
.ftr__wm-b { position: relative; display: inline-block; color: color-mix(in srgb, #F2958B 26%, var(--ftr-bg)); }
/* decorative signature: the words live in ::before (not in the text), so readers and crawlers skip it */
.ftr__wm-a::before, .ftr__wm-b::before { content: attr(data-t); }
.ftr__wm .brush { z-index: -1; bottom: -.1em; height: .5em; opacity: .5; animation: none; clip-path: inset(0 100% 0 0); }
.ftr__wm.is-in .brush { animation: brush 1.3s cubic-bezier(.6, .05, .25, 1) .15s forwards; }
@supports (animation-timeline: view()) {
  html.sda .ftr__wm .brush { animation: brush linear both; animation-timeline: view(); animation-range: entry 10% entry 100%; }
}
.ftr__bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(238, 233, 222, .09); font-size: var(--t-sm); color: var(--ftr-ink-2); }
.ftr__copy { grid-row: 1; }
.totop { grid-row: 1; grid-column: 2; position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--ftr-ink); background: rgba(238, 233, 222, .06); border: 1px solid rgba(238, 233, 222, .14); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease-out); }
.totop .ic { width: 22px; height: 22px; transition: transform .45s var(--spring); }
.totop__ring { position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(242, 149, 139, .6); opacity: 0; animation: ring-sm 3.2s var(--ease) infinite; pointer-events: none; }
@keyframes ring-sm { 0% { opacity: .6; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.42); } }
.totop:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .totop:hover { background: #F7F4EC; color: #0F1814; transform: translateY(-3px); } .totop:hover .ic { transform: translateY(-2px); } }
.credit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.credit__a { color: var(--ftr-ink); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; margin: 0 -2px; border-radius: 8px; transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.credit__sep { opacity: .6; }
.credit__names { display: inline-flex; align-items: center; gap: 0 4px; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .credit__a:hover { background: rgba(242, 149, 139, .16); color: #F7C5BF; } }
@media (min-width: 900px) {
  .ftr__bottom { grid-template-columns: 1fr auto 1fr; }
  .ftr__copy { grid-column: 1; }
  .totop { grid-column: 2; }
  .credit { grid-column: 3; grid-row: 1; justify-content: flex-end; }
}


/* ==========================================================================
   MOTION
   ========================================================================== */
/* entrance stagger (load) */
.in { animation: rise .9s var(--ease-out) both; }
.in--1 { animation-delay: .08s; } .in--2 { animation-delay: .2s; } .in--3 { animation-delay: .32s; } .in--4 { animation-delay: .44s; } .in--5 { animation-delay: .56s; }
.in--v { animation: zoomin 1.2s var(--ease-out) .1s both; }
.hdr__in { animation: drop .8s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: none; } }
@keyframes zoomin { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
/* each stat card rises on its own: an animated parent would stop the glass from blurring what is behind it */
.stats > .stat { animation: rise .8s var(--ease-out) both; animation-delay: calc(.56s + var(--i, 0) * 90ms); }
.badge--1 { animation: rise .8s var(--ease-out) .9s both, bob 7s var(--ease) 2.2s infinite alternate; }
.badge--2 { animation: rise .8s var(--ease-out) 1.1s both, bob 8s var(--ease) 3.2s infinite alternate; }

/* scroll reveal — IntersectionObserver fallback (class set by JS) */
html.js:not(.sda) .rv { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease), translate .9s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .35s var(--ease), scale .35s var(--ease-out), filter .35s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s, 0s, 0s; }
html.js:not(.sda) .rv-h { opacity: 0; translate: calc(var(--dir) * -28px) 0; transition: opacity .8s var(--ease), translate .9s var(--ease-out); }
html.js:not(.sda) .rv.is-in, html.js:not(.sda) .rv-h.is-in { opacity: 1; translate: none; }
html.js:not(.sda) .bar .bar__fill { transform: scaleX(0); transition: transform 1.3s var(--ease-out) calc(.25s + var(--i, 0) * 140ms); }
html.js:not(.sda) .bar.is-in .bar__fill { transform: scaleX(1); }
html.js:not(.sda) .pcard__map .map, html.js:not(.sda) .prog__map .map { scale: 1.08; transition: scale 1.4s var(--ease-out); }
html.js:not(.sda) .rv.is-in .pcard__map .map, html.js:not(.sda) .prog__map.is-in .map { scale: 1; }

/* scroll-driven version (Chrome/Edge/Safari 26+) */
@supports (animation-timeline: view()) {
  html.sda .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  html.sda .rv-h { animation: rv-h linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  html.sda .bar__fill { animation: bar-in linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  html.sda .pcard__map .map--mini, html.sda .prog__map .map--prog { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  html.sda .jline__rail span { animation: jl-draw linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
  html.sda .hero__text { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
  html.sda .hero__visual .portrait { animation: hero-vis linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  html.sda .hero__maps { animation: parallax linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  html.sda .phero__bg { animation: parallax linear both; animation-timeline: scroll(root); animation-range: 0 60vh; }
  html.sda .phero__in { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  @keyframes rv-in { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: none; } }
  @keyframes rv-h { from { opacity: 0; translate: calc(var(--dir) * -34px) 0; } to { opacity: 1; translate: none; } }
  @keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes settle { from { scale: 1.1; } to { scale: 1; } }
  @keyframes jl-draw { from { --jl: 0; } to { --jl: 1; } }
  @keyframes hero-out { to { opacity: .15; transform: translateY(-46px) scale(.97); } }
  @keyframes hero-vis { to { transform: translateY(40px) scale(.93); opacity: .4; } }
  @keyframes parallax { to { transform: translateY(90px); } }
}

/* cross-document view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-old(page-title) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(page-title) { animation: vt-in .5s var(--ease-out) both; }
::view-transition-group(dock-pill) { animation-duration: .5s; animation-timing-function: var(--spring); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* visitors who asked for less motion: simple fades only */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .2s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.sda .rv, html.sda .rv-h, html.sda .hero__text, html.sda .hero__visual .portrait, html.sda .hero__maps, html.sda .phero__bg, html.sda .phero__in, html.sda .pcard__map .map--mini, html.sda .bar__fill { animation: none !important; }
  html.js:not(.sda) .rv, html.js:not(.sda) .rv-h { translate: none !important; transition: opacity .4s linear !important; }
  .in, .in--v, .badge { translate: none !important; }
  .ln { stroke-dashoffset: 0; }
  .st, .train { opacity: 1; }
  .train { display: none; }
  .brush { clip-path: none; }
  .btn__shine, .st__pulse { display: none; }
  .badge { animation: none !important; }
  .rline__panel, .seg__p { transform: none !important; }
  .rail > *, .carousel__row > * { scale: none !important; filter: none !important; }
  .jline__rail span { --jl: 1 !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
html.rm .train { display: none; }
@media (prefers-reduced-motion: reduce) {
  .trn, .bgfx .sig-l, .fline__run { display: none !important; }
  html.sda .bgfx__net, .bgfx__drift { animation: none !important; }
  .card, .stat, .badge, .quote, .fprof, .roundel--xl, .lang, .fig { transform: none !important; }
  .ftr__wm .brush { clip-path: none !important; }
}

/* smaller screens: keep blur layers to a minimum */
@media (max-width: 767.98px) {
  .hdr__glass { -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
}
@media print { .hdr, .dock, .fab, .progress, .sheet, .scrim, .hero__bg, .phero__bg { display: none !important; } }
