/* ==========================================================================
   Eng. Abdulaziz A. Abdulkareem — commercial leadership & digital transformation
   Visual identity drawn from the ribbon mark: sage green, brushed silver and
   graphite, on pearl (light) or deep graphite (dark).
   Bilingual: Arabic (RTL, default) and English (LTR).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Sage scale (brand #96BD92) */
  --sage-800: #3f6340;
  --sage-700: #5a8457;
  --sage-600: #77a373;
  --sage-500: #96bd92;
  --sage-400: #b0d0ac;
  --sage-300: #cbe1c8;
  --sage-200: #e3efe1;
  --sage-glow: #8fe57a;           /* the vivid edition of the mark, used for light only */

  /* Graphite scale (brand #58595B) */
  --graphite-990: #0b0c0d;
  --graphite-950: #111314;
  --graphite-900: #17191b;
  --graphite-850: #1e2123;
  --graphite-800: #26292b;
  --graphite-700: #36393b;
  --graphite-600: #58595b;
  --graphite-500: #76787a;
  --graphite-400: #9b9d9f;

  /* Brushed silver */
  --silver-100: #f5f6f4;
  --silver-200: #e6e8e5;
  --silver-300: #cfd2d0;
  --silver-400: #b3b6b5;

  --grad-sage: linear-gradient(135deg, #e3efe1, #b0d0ac 28%, #96bd92 55%, #5a8457);
  --grad-sage-text: linear-gradient(100deg, #e3efe1, #96bd92 35%, #d9dcda 55%, #96bd92 75%, #e3efe1);
  --grad-silver: linear-gradient(180deg, #f6f7f5, #d4d6d5 52%, #8e9092);
  --grad-graphite: linear-gradient(165deg, #222527, #17191b 55%, #0f1112);
  --ribbon-stripes: linear-gradient(90deg, #96bd92 0 20%, #e6e8e5 20% 40%, #96bd92 40% 60%, #cfd2d0 60% 80%, #58595b 80% 100%);

  /* Theme (light) */
  --bg: #f3f4f0;
  --bg-2: #e9ebe5;
  --surface: #ffffff;
  --surface-2: #f8f9f6;
  --ink: #15181a;
  --ink-soft: #3c4245;
  --muted: #6c7276;
  --line: rgba(23, 25, 27, .09);
  --line-strong: rgba(23, 25, 27, .17);
  --accent-ink: #4f7a4c;          /* sage readable on light */
  --ring: rgba(150, 189, 146, .45);
  --header-glass: rgba(17, 19, 20, .86);

  --shadow-soft: 0 12px 32px -14px rgba(17, 19, 20, .22);
  --shadow-deep: 0 34px 70px -24px rgba(5, 6, 7, .65);
  --shadow-sage: 0 14px 34px -12px rgba(119, 163, 115, .6);

  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 30px;

  --ease: cubic-bezier(.22, 1, .36, 1);

  --f-display: "El Messiri", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --f-num: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(76px, 10vw, 140px);
  --header-h: 84px;

  color-scheme: light;
}
html[lang="en"] {
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #111314;
  --bg-2: #17191b;
  --surface: #1e2123;
  --surface-2: #1a1d1f;
  --ink: #eef0ed;
  --ink-soft: #c5cac6;
  --muted: #959b98;
  --line: rgba(176, 208, 172, .12);
  --line-strong: rgba(176, 208, 172, .24);
  --accent-ink: #b0d0ac;
  --ring: rgba(150, 189, 146, .5);
  --shadow-soft: 0 12px 32px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --bg: #111314;
    --bg-2: #17191b;
    --surface: #1e2123;
    --surface-2: #1a1d1f;
    --ink: #eef0ed;
    --ink-soft: #c5cac6;
    --muted: #959b98;
    --line: rgba(176, 208, 172, .12);
    --line-strong: rgba(176, 208, 172, .24);
    --accent-ink: #b0d0ac;
    --ring: rgba(150, 189, 146, .5);
    --shadow-soft: 0 12px 32px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

/* ---------- Language visibility ---------- */
html[lang="ar"] body [lang="en"] { display: none !important; }
html[lang="en"] body [lang="ar"] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.9;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
html[lang="en"] body { line-height: 1.7; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.4;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h3, h4 { font-family: var(--f-body); font-weight: 600; }
html[lang="en"] h1, html[lang="en"] h2 { line-height: 1.12; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--sage-300); color: var(--graphite-950); }
:focus-visible { outline: 2px solid var(--sage-500); outline-offset: 3px; border-radius: 6px; }
.num, .ltr-num { font-family: var(--f-num); direction: ltr; unicode-bidi: isolate; display: inline-block; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--sage-500); color: var(--graphite-950); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-l { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Icons ---------- */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--sm { width: 18px; height: 18px; }
[dir="rtl"] .i-flip { transform: scaleX(-1); }

/* ---------- Scroll progress: a five-stripe ribbon ---------- */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--ribbon-stripes); background-size: 200px 100%; transform-origin: var(--po, left); transform: scaleX(0); }
[dir="rtl"] .progress span { --po: right; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center; color: #fff;
  transition: height .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  height: 70px; background: var(--header-glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 -1px 0 rgba(150, 189, 146, .22);
}
.site-header .container { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark {
  width: 50px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
  box-shadow: inset 0 0 0 1px rgba(176, 208, 172, .35);
}
.brand__mark img { width: 38px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 16.5px; }
html[lang="en"] .brand__name { font-weight: 600; font-size: 17px; }
.brand__role { font-size: 11.5px; color: var(--sage-400); letter-spacing: .01em; }

.nav { margin-inline-start: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, 1.5vw, 24px); }
.nav a { position: relative; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .8); padding-block: 6px; transition: color .3s; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--ribbon-stripes); transform: scaleX(0); transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 8px; }
.tool-btn {
  height: 40px; min-width: 40px; padding-inline: 10px; border-radius: 999px; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: #fff; font-size: 13px; font-weight: 600; transition: background .3s, box-shadow .3s;
}
.tool-btn:hover { background: rgba(150, 189, 146, .16); box-shadow: inset 0 0 0 1px rgba(150, 189, 146, .6); }
.tool-btn .i { width: 19px; height: 19px; }
.lang-btn__label { font-family: var(--f-num); }

.theme-menu { position: relative; }
.theme-menu__list {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 170px;
  margin: 0; padding: 6px; list-style: none; background: var(--graphite-900); border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(150, 189, 146, .26), var(--shadow-deep);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.theme-menu.is-open .theme-menu__list { opacity: 1; transform: none; pointer-events: auto; }
.theme-menu__list button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 10px;
  background: transparent; color: #dfe3df; font-size: 14px; text-align: start;
}
.theme-menu__list button:hover { background: rgba(150, 189, 146, .14); color: #fff; }
.theme-menu__list button[aria-checked="true"] { color: var(--sage-400); }
.theme-menu__list button[aria-checked="true"]::after { content: "●"; margin-inline-start: auto; font-size: 9px; }

.header-cta { display: inline-flex; }
.menu-btn { display: none; }
@media (max-width: 1280px) {
  .nav, .site-header .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .header-tools { margin-inline-start: auto; }
}
@media (max-width: 480px) {
  .site-header .container { gap: 10px; }
  .brand { gap: 8px; min-width: 0; flex: 0 1 auto; }
  .brand__mark { width: 44px; height: 40px; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand__role { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-tools { gap: 6px; flex: none; }
  .tool-btn { height: 36px; min-width: 36px; padding-inline: 8px; }
}

/* Drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: rgba(8, 9, 10, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(360px, 88vw);
  background: var(--grad-graphite); color: #fff; padding: 22px 22px 32px; box-shadow: var(--shadow-deep);
  transform: translateX(var(--off, 100%)); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
}
[dir="rtl"] .drawer__panel { --off: -100%; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 6px;
  font-family: var(--f-display); font-size: 18px; border-bottom: 1px solid rgba(150, 189, 146, .14);
}
.drawer nav a[aria-current="page"] { color: var(--sage-400); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 26px; border-radius: 999px; border: 0;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s;
}
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i-flip { transform: translateX(4px); }
[dir="rtl"] .btn:hover .i-flip { transform: scaleX(-1) translateX(4px); }
.btn--sage { background: var(--grad-sage); color: var(--graphite-950); box-shadow: var(--shadow-sage); }
.btn--sage:hover { box-shadow: 0 20px 44px -12px rgba(119, 163, 115, .8); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--sage-400); background: rgba(150, 189, 146, .1); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--sage-500); color: var(--accent-ink); }
.btn--sm { --h: 42px; padding-inline: 18px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-ink); font-size: 14.5px; }
.link-arrow .i { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover .i-flip { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .i-flip { transform: scaleX(-1) translateX(4px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 13.5px; font-weight: 600; color: var(--accent-ink); letter-spacing: .01em;
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.eyebrow::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--ribbon-stripes); }
.eyebrow--center { justify-content: center; }
.eyebrow--on-dark, .on-dark .eyebrow { color: var(--sage-400); }

.h-hero { font-size: clamp(34px, 5.2vw, 66px); line-height: 1.3; }
html[lang="en"] .h-hero { font-size: clamp(36px, 5.4vw, 70px); line-height: 1.06; }
.h-section { font-size: clamp(28px, 3.4vw, 46px); }
.h-card { font-size: clamp(18px, 1.4vw, 21px); margin-bottom: .45em; }
.lead { font-size: clamp(16.5px, 1.3vw, 19.5px); color: var(--ink-soft); max-width: 64ch; }
.on-dark .lead, .section--dark .lead { color: #b9c0bc; }
.muted { color: var(--muted); }

.sage-text {
  background: var(--grad-sage-text); background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
:root:not([data-theme="dark"]) .section:not(.section--dark) .sage-text,
:root:not([data-theme="dark"]) .trust .sage-text {
  background-image: linear-gradient(100deg, #3f6340, #77a373 35%, #58595b 55%, #77a373 75%, #3f6340);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .section:not(.section--dark) .sage-text {
    background-image: var(--grad-sage-text);
  }
}
@keyframes sheen { to { background-position: -240% 0; } }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-2); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section--dark, .on-dark { color: #eef0ed; }
.section--dark {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(150, 189, 146, .14), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(207, 210, 208, .06), transparent 60%),
    var(--grad-graphite);
  overflow: hidden;
}
.section--dark .muted { color: #969c99; }

/* Faint flowing ribbons used as a backdrop */
.ribbons-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ribbons-bg svg { position: absolute; width: 120%; height: 100%; inset-inline-start: -10%; top: 0; opacity: .5; }
.ribbons-bg path { fill: none; stroke-linecap: round; }

.watermark {
  position: absolute; inset-inline-end: -1vw; top: clamp(30px, 5vw, 70px); pointer-events: none; user-select: none;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(90px, 16vw, 230px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong); opacity: .7; white-space: nowrap;
}
.has-watermark { overflow: hidden; }
.has-watermark > .container { position: relative; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: #fff; overflow: hidden; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 36px); padding-bottom: 120px;
  background:
    radial-gradient(900px 620px at 78% 30%, rgba(150, 189, 146, .2), transparent 62%),
    radial-gradient(700px 500px at 10% 90%, rgba(207, 210, 208, .08), transparent 60%),
    linear-gradient(165deg, #23272a, #15171a 55%, #0c0d0e);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(176, 208, 172, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 208, 172, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero .container > * { min-width: 0; }
.hero__copy { position: relative; z-index: 2; }
.hero__role { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 24px; font-size: 13.5px; color: var(--sage-300); }
.hero__role i { width: 5px; height: 5px; border-radius: 50%; background: var(--graphite-500); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero .lead { color: #b9c0bc; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero__chips > span {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: #dfe3df;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(176, 208, 172, .22);
}
.hero__chips .i { width: 16px; height: 16px; color: var(--sage-400); }

.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; justify-self: center; }
.stage__canvas { position: absolute; inset: -14%; }
.stage__canvas canvas { width: 100% !important; height: 100% !important; }
.stage__fallback { position: absolute; inset: 6% 0 auto; width: 100%; opacity: .9; }
.stage.has-3d .stage__fallback { opacity: 0; transition: opacity 1.2s var(--ease); }

/* ---------- Portrait arch with a living, glowing frame ---------- */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin-a { to { --a: 360deg; } }
@keyframes breathe { 50% { opacity: .55; transform: scale(.94); } }
@keyframes sheen-sweep { 0%, 62% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(230%) skewX(-18deg); } }
@keyframes gem { 50% { box-shadow: 0 0 0 4px rgba(150, 189, 146, .14), 0 0 26px 6px rgba(143, 229, 122, .55); } }

.arch {
  --w: clamp(220px, 23vw, 310px);
  position: absolute; left: 50%; top: 47%; translate: -50% -50%; z-index: 2; margin: 0;
  width: var(--w); height: calc(var(--w) * 1.44);
  border-radius: calc(var(--w) / 2) calc(var(--w) / 2) 30px 30px;
}
.arch__halo {
  position: absolute; inset: -18% -26%; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(143, 229, 122, .22), rgba(150, 189, 146, .1) 45%, transparent 72%);
  filter: blur(8px); animation: breathe 7s ease-in-out infinite;
}
.arch__frame {
  position: absolute; inset: -14px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--a),
    rgba(150, 189, 146, .1) 0 12%, #e3efe1 24%, #ffffff 28%, #96bd92 34%, rgba(150, 189, 146, .1) 46% 60%,
    #cfd2d0 72%, #b0d0ac 78%, rgba(150, 189, 146, .1) 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px rgba(143, 229, 122, .65)) drop-shadow(0 0 16px rgba(150, 189, 146, .35));
  animation: spin-a 9s linear infinite;
}
.arch__frame--outer {
  inset: -30px; padding: 1px; opacity: .7; filter: drop-shadow(0 0 5px rgba(207, 210, 208, .5));
  background: conic-gradient(from var(--a), transparent 0 30%, rgba(230, 232, 229, .9) 40%, transparent 52% 80%, rgba(150, 189, 146, .8) 90%, transparent 100%);
  animation: spin-a 16s linear infinite reverse;
}
.arch__frame--outer::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(176, 208, 172, .14);
}
.arch__gem {
  position: absolute; left: 50%; top: -14px; width: 11px; height: 11px; translate: -50% -50%; rotate: 45deg; z-index: 3;
  background: linear-gradient(135deg, #ffffff, #b0d0ac 55%, #5a8457); border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(150, 189, 146, .1), 0 0 16px 3px rgba(143, 229, 122, .4);
  animation: gem 3.6s ease-in-out infinite;
}
.arch__body {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 50% 24%, rgba(227, 239, 225, .32), transparent 50%),
    radial-gradient(circle at 50% 118%, rgba(150, 189, 146, .55), transparent 62%),
    linear-gradient(180deg, #3a463c, #1d2321 62%, #121514);
  box-shadow: inset 0 0 0 1px rgba(207, 210, 208, .16), 0 44px 90px -30px rgba(0, 0, 0, .85), 0 0 80px -12px rgba(150, 189, 146, .4);
}
/* faint ribbon stripes, fading downwards */
.arch__body::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(118deg, rgba(176, 208, 172, .1) 0 10px, transparent 10px 22px, rgba(230, 232, 229, .07) 22px 30px, transparent 30px 44px);
  -webkit-mask-image: linear-gradient(#000, transparent 62%); mask-image: linear-gradient(#000, transparent 62%);
}
/* a slow glass sheen crossing the arch */
.arch__body::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
  animation: sheen-sweep 8s var(--ease) infinite;
}
.arch__img {
  position: absolute; left: 50%; bottom: 0; width: 101%; max-width: none; height: auto; translate: -50% 0; z-index: 1;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .55)) saturate(1.04) contrast(1.03);
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 14%); mask-image: linear-gradient(to top, transparent 0, #000 14%);
}
.arch__badge {
  position: absolute; z-index: 4; left: 50%; bottom: -20px; translate: -50% 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-size: 12.5px; color: #eef0ed;
  background: rgba(17, 19, 20, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(150, 189, 146, .5), 0 12px 30px -10px rgba(0, 0, 0, .7);
}
.arch__badge b { color: var(--sage-400); font-weight: 600; }
.arch__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-glow); box-shadow: 0 0 10px var(--sage-glow); flex: none; }
.arch--sm { --w: clamp(230px, 26vw, 300px); position: relative; left: auto; top: auto; translate: none; margin: 40px auto; }

.float-chip {
  position: absolute; z-index: 3; display: inline-flex; flex-direction: column; gap: 0; line-height: 1.35;
  padding: 10px 16px; border-radius: 16px; font-size: 12px; color: #c7ccc9; white-space: nowrap;
  background: rgba(17, 19, 20, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(150, 189, 146, .32), var(--shadow-soft);
  animation: bob 7s ease-in-out infinite;
}
.float-chip b { font-family: var(--f-num); font-size: 19px; color: #fff; font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.float-chip b em { font-style: normal; color: var(--sage-400); }
.float-chip--a { top: 8%; inset-inline-start: 0; }
.float-chip--b { top: 44%; inset-inline-end: -2%; animation-delay: -2.5s; }
.float-chip--c { bottom: 6%; inset-inline-start: 6%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-9px); } }

.scroll-cue { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sage-400); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 960px) {
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero .container { grid-template-columns: 1fr; }
  .stage { max-width: 460px; margin-top: 12px; }
  .float-chip--b { inset-inline-end: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .float-chip { padding: 7px 12px; font-size: 11px; }
  .float-chip b { font-size: 16px; }
  .float-chip--a { top: 2%; }
  .float-chip--c { bottom: 2%; inset-inline-start: 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(80px, 9vw, 130px);
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(150, 189, 146, .18), transparent 60%),
    linear-gradient(165deg, #23272a, #15171a 60%, #0c0d0e);
}
.page-hero__canvas { position: absolute; inset: 0; opacity: .7; }
.page-hero__canvas canvas { width: 100% !important; height: 100% !important; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, rgba(8, 9, 10, .55)); pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); max-width: 20ch; }
.page-hero .lead { color: #b9c0bc; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #969c99; margin-bottom: 22px; }
.crumbs a:hover { color: var(--sage-400); }
.crumbs .i { width: 14px; height: 14px; }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 5; margin-top: -58px; }
.trust__inner {
  list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.trust__inner::before { content: ""; grid-column: 1 / -1; height: 4px; background: var(--ribbon-stripes); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 22px 22px; }
.trust__item + .trust__item { border-inline-start: 1px solid var(--line); }
.trust__item strong { display: block; font-size: 14.5px; line-height: 1.45; font-weight: 600; }
.trust__item div > span { font-size: 12.5px; color: var(--muted); line-height: 1.55; display: block; }
@media (max-width: 960px) {
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-inline-start: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-inline-start: 0; border-top: 1px solid var(--line); }
}

.trust__inner--3 { grid-template-columns: repeat(3, 1fr); }
.trust__inner--3 .trust__item:nth-child(4) { border-inline-start: 0; }
.trust__inner--3 .trust__item:nth-child(n+4) { border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .trust__inner--3 { grid-template-columns: 1fr 1fr; }
  .trust__inner--3 .trust__item:nth-child(odd) { border-inline-start: 0; }
  .trust__inner--3 .trust__item:nth-child(4) { border-inline-start: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust__inner--3 { grid-template-columns: 1fr; }
  .trust__inner--3 .trust__item:nth-child(n) { border-inline-start: 0; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split > *, .grid > * { min-width: 0; }
@media (max-width: 900px) { .split, .split--wide-text { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r-md); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(150, 189, 146, .16), transparent 60%);
}
.card::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--ribbon-stripes);
  transform: scaleX(0); transform-origin: var(--co, left); transition: transform .6s var(--ease);
}
[dir="rtl"] .card::after { --co: right; }
.card:hover { box-shadow: inset 0 0 0 1px var(--line-strong), 0 26px 50px -24px rgba(17, 19, 20, .4); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card p { color: var(--ink-soft); margin-bottom: .6em; }
.card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  color: var(--sage-700); background: linear-gradient(150deg, var(--sage-200), rgba(150, 189, 146, .28));
  box-shadow: inset 0 0 0 1px rgba(119, 163, 115, .32);
}
:root[data-theme="dark"] .card__icon { color: var(--sage-400); background: linear-gradient(150deg, rgba(150, 189, 146, .2), rgba(150, 189, 146, .05)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card__icon { color: var(--sage-400); background: linear-gradient(150deg, rgba(150, 189, 146, .2), rgba(150, 189, 146, .05)); } }
.card__num { position: absolute; inset-inline-end: 24px; top: 22px; font-family: var(--f-num); font-size: 13px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-size: 12px; padding: 4px 11px; border-radius: 999px; color: var(--ink-soft);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); direction: ltr; unicode-bidi: isolate;
}
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- Motto ---------- */
.motto { text-align: center; max-width: 920px; margin-inline: auto; }
.motto__mark { width: 74px; margin: 0 auto 20px; opacity: .95; }
.motto blockquote {
  margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1.55;
  font-size: clamp(24px, 3.2vw, 42px);
}
html[lang="en"] .motto blockquote { font-style: italic; font-weight: 500; line-height: 1.25; }
.motto cite { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-style: normal; font-size: 14px; color: var(--muted); }
.motto cite::before, .motto cite::after { content: ""; width: 28px; height: 1px; background: var(--line-strong); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.stat { padding: 8px clamp(16px, 2.6vw, 34px); }
.stat + .stat { border-inline-start: 1px solid rgba(176, 208, 172, .16); }
.stat__num { font-family: var(--f-num); font-weight: 600; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.1; direction: ltr; unicode-bidi: isolate; display: flex; align-items: baseline; gap: 6px; }
[dir="rtl"] .stat__num { justify-content: flex-end; }
.stat__num small { font-size: .38em; color: var(--sage-400); font-weight: 500; letter-spacing: .04em; }
.stat__label { margin-top: 12px; color: #b9c0bc; font-size: 14.5px; line-height: 1.7; max-width: 30ch; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stat:nth-child(3) { border-inline-start: 0; }
}
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-inline-start: 0; border-top: 1px solid rgba(176, 208, 172, .16); padding-top: 26px; } }

/* ---------- Growth curves (interactive chart) ---------- */
.growth { display: grid; grid-template-columns: 330px 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.growth > * { min-width: 0; }
.growth__tabs { display: grid; gap: 10px; align-content: start; }
.growth__tab {
  text-align: start; border: 0; padding: 16px 18px; border-radius: 16px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s, background .35s, transform .35s var(--ease);
  display: grid; gap: 2px;
}
.growth__tab:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.growth__tab[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--sage-500), var(--shadow-soft); }
.growth__tab strong { font-size: 15px; font-weight: 600; }
.growth__tab > span { font-size: 12.5px; color: var(--muted); }
.growth__tab .num { font-size: 13px; color: var(--accent-ink); font-weight: 600; }
.growth__panel {
  position: relative; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); color: #eef0ed; overflow: hidden;
  background: radial-gradient(600px 300px at 90% 0%, rgba(150, 189, 146, .16), transparent 60%), var(--grad-graphite);
  box-shadow: var(--shadow-deep);
}
.growth__head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: start; }
.growth__title { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-weight: 700; margin: 0; line-height: 1.4; }
.growth__sub { color: #a6ada9; font-size: 14px; margin: 4px 0 0; }
.growth__mult { text-align: end; }
.growth__mult b { display: block; font-family: var(--f-num); font-size: clamp(34px, 4vw, 52px); line-height: 1; font-weight: 600; direction: ltr; }
.growth__mult span { font-size: 12.5px; color: #a6ada9; }
.growth__chart { margin-top: 18px; direction: ltr; }
.growth__chart svg { width: 100%; height: auto; overflow: visible; }
.growth__chart .gl { stroke: rgba(176, 208, 172, .1); stroke-width: 1; }
.growth__chart .ax { fill: #8e9592; font-family: var(--f-num); font-size: 12px; }
.growth__chart .area { opacity: .95; }
.growth__chart .line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.growth__chart .line--target { stroke-dasharray: 7 7; }
.growth__chart .pt { stroke: #111314; stroke-width: 3; }
.growth__chart .val { font-family: var(--f-num); font-size: 13px; font-weight: 600; fill: #fff; }
.growth__chart .val--t { fill: var(--sage-400); }
.growth__note { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: #a6ada9; }
.growth__note span { display: inline-flex; align-items: center; gap: 8px; }
.growth__note i { width: 22px; height: 3px; border-radius: 2px; background: var(--sage-500); }
.growth__note i.dash { background: repeating-linear-gradient(90deg, var(--sage-400) 0 5px, transparent 5px 9px); }
.growth__story { margin: 16px 0 0; color: #c8cec9; font-size: 15px; max-width: 70ch; }
@media (max-width: 960px) {
  .growth { grid-template-columns: 1fr; }
  .growth__tabs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .growth__tabs { grid-template-columns: 1fr; } }

/* ---------- Career ribbon (34-year timeline strip) ---------- */
.career { position: relative; margin-top: 10px; }
.career__track { position: relative; height: 14px; border-radius: 999px; background: var(--line); overflow: hidden; direction: ltr; }
.career__seg { position: absolute; top: 0; bottom: 0; border-inline-end: 2px solid var(--bg-2); }
.career__seg:nth-child(5n+1) { background: var(--sage-500); }
.career__seg:nth-child(5n+2) { background: var(--silver-300); }
.career__seg:nth-child(5n+3) { background: var(--sage-600); }
.career__seg:nth-child(5n+4) { background: var(--graphite-500); }
.career__seg:nth-child(5n+5) { background: var(--sage-400); }
.career__years { position: relative; height: 20px; margin-top: 10px; font-family: var(--f-num); font-size: 12px; color: var(--muted); direction: ltr; }
.career__years span { position: absolute; top: 0; transform: translateX(-50%); }
.career__years span:first-child { transform: none; }
.career__years span:last-child { transform: translateX(-100%); }
.career__list { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.career__list li {
  position: relative; padding: 18px 20px 18px; border-radius: 16px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 4px;
}
.career__list .yr { font-family: var(--f-body); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 12.5px; color: var(--accent-ink); unicode-bidi: isolate; justify-self: start; }
.career__list strong { font-size: 15.5px; line-height: 1.5; font-weight: 600; }
.career__list li > span:not(.yr) { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 960px) { .career__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .career__list { grid-template-columns: 1fr; } }

/* ---------- Commercial chain (process) ---------- */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: c; position: relative; }
.chain li { position: relative; padding: 26px clamp(14px, 1.8vw, 24px) 10px; counter-increment: c; }
.chain li::before {
  content: counter(c, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--f-num); font-size: 14px; font-weight: 600; color: var(--graphite-950); background: var(--grad-sage);
  box-shadow: 0 0 0 6px var(--bg), var(--shadow-sage); position: relative; z-index: 1; margin-bottom: 16px;
}
.section--alt .chain li::before { box-shadow: 0 0 0 6px var(--bg-2), var(--shadow-sage); }
.chain li::after { content: ""; position: absolute; top: 49px; inset-inline-start: 46px; inset-inline-end: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--sage-500) 0 8px, transparent 8px 14px); opacity: .7; }
.chain li:nth-child(4n)::after { display: none; }
.chain h3 { font-size: 17px; margin-bottom: 6px; }
.chain p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .chain { grid-template-columns: 1fr 1fr; } .chain li:nth-child(2n)::after { display: none; } }
@media (max-width: 560px) { .chain { grid-template-columns: 1fr; } .chain li::after { display: none; } }

/* ---------- Check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 34px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad-sage) ; -webkit-mask: none;
}
.check-list li::after {
  content: ""; position: absolute; inset-inline-start: 6px; top: calc(.5em + 5px); width: 8px; height: 5px;
  border: solid var(--graphite-950); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.check-list strong { color: var(--ink); font-weight: 600; }
.check-list--2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 760px) { .check-list--2 { grid-template-columns: 1fr; } }
.on-dark .check-list li, .section--dark .check-list li { color: #c8cec9; }
.on-dark .check-list strong, .section--dark .check-list strong { color: #fff; }

/* ---------- Full career timeline ---------- */
.tl { position: relative; list-style: none; margin: 0; padding: 0; }
.tl::before { content: ""; position: absolute; inset-inline-start: 23px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--sage-500), var(--silver-300) 45%, var(--graphite-500)); }
.tl__item { position: relative; padding-inline-start: 74px; padding-bottom: clamp(30px, 4vw, 48px); }
.tl__item:last-child { padding-bottom: 0; }
.tl__dot {
  position: absolute; inset-inline-start: 0; top: 4px; width: 49px; height: 49px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--sage-700); box-shadow: inset 0 0 0 2px var(--sage-500), 0 0 0 6px var(--bg);
}
:root[data-theme="dark"] .tl__dot { color: var(--sage-400); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tl__dot { color: var(--sage-400); } }
.section--alt .tl__dot { box-shadow: inset 0 0 0 2px var(--sage-500), 0 0 0 6px var(--bg-2); }
.tl__card { padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
.tl__top { display: flex; justify-content: space-between; align-items: start; gap: 10px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.tl__role { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-weight: 700; margin: 0; line-height: 1.4; }
html[lang="en"] .tl__role { font-weight: 600; }
.tl__org { color: var(--accent-ink); font-weight: 600; font-size: 15px; margin: 2px 0 0; }
.tl__when { font-family: var(--f-body); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; unicode-bidi: isolate; }
.tl__place { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.tl__place .i { width: 15px; height: 15px; }
.tl__cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(18px, 3vw, 36px); margin-top: 8px; }
.tl__cols > * { min-width: 0; }
.tl__h { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 10px; letter-spacing: .02em; }
html[lang="en"] .tl__h { text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; }
.tl ul.dots { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tl ul.dots li { position: relative; padding-inline-start: 18px; font-size: 15px; color: var(--ink-soft); }
.tl ul.dots li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 7px; height: 7px; border-radius: 2px; background: var(--sage-500); transform: rotate(45deg); }
.win {
  border-radius: 16px; padding: 18px 20px; background: linear-gradient(160deg, rgba(150, 189, 146, .16), rgba(150, 189, 146, .04));
  box-shadow: inset 0 0 0 1px rgba(119, 163, 115, .28);
}
.win p { font-size: 15px; margin: 0 0 .6em; color: var(--ink); }
.win p:last-child { margin: 0; }
.win__big { font-family: var(--f-num); font-weight: 600; font-size: 22px; color: var(--accent-ink); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.tl__note { margin-top: 14px; font-size: 14px; color: var(--muted); padding-inline-start: 14px; border-inline-start: 3px solid var(--silver-300); }
@media (max-width: 760px) { .tl__cols { grid-template-columns: 1fr; } .tl__item { padding-inline-start: 62px; } .tl::before { inset-inline-start: 19px; } .tl__dot { width: 41px; height: 41px; } }
.era { display: flex; align-items: center; gap: 14px; margin: clamp(40px, 6vw, 70px) 0 clamp(22px, 3vw, 34px); }
.era:first-child { margin-top: 0; }
.era b { font-family: var(--f-body); font-variant-numeric: tabular-nums; font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--graphite-900); color: var(--sage-300); white-space: nowrap; }
.era h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); }
.era::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

/* ---------- Feature figure tiles ---------- */
.figure {
  border-radius: var(--r-md); padding: 22px 22px 20px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); display: grid; gap: 6px; align-content: start;
}
.figure b { font-family: var(--f-num); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 600; direction: ltr; unicode-bidi: isolate; justify-self: start; }
.figure b em { font-style: normal; color: var(--accent-ink); font-size: .55em; margin-inline-start: 4px; }
.figure span { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Portrait (about) ---------- */
.portrait-card { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.portrait-card__frame {
  position: relative; border-radius: 200px 200px 28px 28px; padding: 8px; background: linear-gradient(160deg, #e3efe1, #96bd92 38%, #5a8457 70%, #cfd2d0);
  box-shadow: var(--shadow-deep);
}
.portrait-card__frame img { width: 100%; aspect-ratio: 357 / 408; object-fit: cover; border-radius: 192px 192px 22px 22px; background: #fff; }
.portrait-card__mark { position: absolute; width: 38%; inset-inline-end: -8%; bottom: -6%; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .25)); }
.portrait-card__badge {
  position: absolute; inset-inline-start: -6%; top: 12%; padding: 12px 16px; border-radius: 16px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); font-size: 13px; line-height: 1.5; display: grid;
}
.portrait-card__badge b { font-family: var(--f-num); font-size: 24px; color: var(--accent-ink); direction: ltr; justify-self: start; }
@media (max-width: 520px) { .portrait-card__badge { inset-inline-start: 0; } .portrait-card__mark { inset-inline-end: 0; } }

/* ---------- Footprint ---------- */
.flags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.flag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
[dir="rtl"] .flag { padding: 8px 10px 8px 14px; }
.flag img { width: 28px; height: 19px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cities span { font-size: 13.5px; padding: 6px 13px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff;
  padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
  background: radial-gradient(700px 300px at 100% 0%, rgba(150, 189, 146, .24), transparent 60%), var(--grad-graphite);
  box-shadow: var(--shadow-deep);
}
.cta-band > * { position: relative; z-index: 1; min-width: 0; }
.cta-band h2 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 12px; }
.cta-band p { color: #b9c0bc; margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band__mark { position: absolute; inset-inline-end: -40px; bottom: -50px; width: 300px; opacity: .07; z-index: 0; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-num); font-size: 22px; color: var(--accent-ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface-2); border: 0; border-radius: 14px;
  padding: 13px 16px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--sage-500); }
.field__err { display: none; font-size: 13px; color: #c0543f; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #c0543f; }
.field.is-invalid .field__err { display: block; }
.form-status { border-radius: 16px; padding: 18px 20px; background: linear-gradient(160deg, rgba(150, 189, 146, .2), rgba(150, 189, 146, .06)); box-shadow: inset 0 0 0 1px rgba(119, 163, 115, .3); }
.contact-card { display: grid; gap: 14px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
a.contact-line:hover { box-shadow: inset 0 0 0 1px var(--sage-500); transform: translateY(-2px); }
.contact-line .card__icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.contact-line small { display: block; color: var(--muted); font-size: 12.5px; }
.contact-line strong { font-weight: 600; }

/* ---------- Readiness check (diagnostic) ---------- */
.diag { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.diag > * { min-width: 0; }
.diag__form { display: grid; gap: 14px; }
.diag__progress { display: flex; align-items: center; gap: 14px; position: sticky; top: 80px; z-index: 3; padding: 12px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
.diag__count { font-family: var(--f-num); font-size: 14px; white-space: nowrap; direction: ltr; }
.diag__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.diag__bar i { display: block; height: 100%; background: var(--ribbon-stripes); transform-origin: var(--po, left); transform: scaleX(0); transition: transform .5s var(--ease); }
[dir="rtl"] .diag__bar i { --po: right; }
.dq { border: 0; margin: 0; padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s; min-width: 0; }
.dq.is-done { box-shadow: inset 0 0 0 1px rgba(119, 163, 115, .45); }
.dq legend { padding: 0; float: left; width: 100%; margin-bottom: 14px; }
[dir="rtl"] .dq legend { float: right; }
.dq legend + * { clear: both; }
.dq__axis { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); margin-bottom: 4px; }
.dq__axis .i { width: 16px; height: 16px; }
.dq__text { display: block; font-size: 15.5px; font-weight: 500; line-height: 1.7; }
.dq__opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.dq__opts label { position: relative; }
.dq__opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dq__opts label > span { display: grid; place-items: center; text-align: center; min-height: 42px; padding: 6px 4px; border-radius: 12px; font-size: 13px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s, color .25s; line-height: 1.3; }
.dq__opts input:hover + span { box-shadow: inset 0 0 0 1px var(--sage-500); }
.dq__opts input:checked + span { background: var(--grad-sage); color: var(--graphite-950); font-weight: 600; box-shadow: none; }
.dq__opts input:focus-visible + span { outline: 2px solid var(--sage-500); outline-offset: 2px; }
@media (max-width: 520px) { .dq__opts { grid-template-columns: repeat(5, minmax(0, 1fr)); } .dq__opts span { font-size: 11.5px; } }
.diag__actions { display: flex; justify-content: flex-end; }
.diag__panel { position: sticky; top: 92px; border-radius: var(--r-lg); color: #eef0ed; overflow: hidden; background: radial-gradient(500px 260px at 100% 0%, rgba(150, 189, 146, .2), transparent 60%), var(--grad-graphite); box-shadow: var(--shadow-deep); }
.diag__panel-inner { padding: clamp(22px, 2.6vw, 32px); }
.radar svg { width: 100%; height: auto; }
.radar .grid-line { fill: none; stroke: rgba(176, 208, 172, .16); }
.radar .axis { stroke: rgba(176, 208, 172, .12); }
.radar .area { fill: rgba(150, 189, 146, .32); stroke: var(--sage-400); stroke-width: 2; stroke-linejoin: round; transition: all .5s var(--ease); }
.radar .dot { fill: #e6e8e5; }
.radar .lbl { fill: #c8cec9; font-size: 13px; font-family: var(--f-body); }
.radar .lbl--pct { fill: var(--sage-400); font-family: var(--f-num); font-size: 12px; }
.diag__score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.diag__score b { font-family: var(--f-num); font-size: 54px; line-height: 1; font-weight: 600; }
.diag__score small { font-family: var(--f-num); color: #969c99; }
.diag__score span { flex-basis: 100%; color: var(--sage-300); font-weight: 600; }
.diag__result { margin-top: 16px; }
.diag__result p { color: #c8cec9; font-size: 15px; }
.diag__h { font-size: 15px; color: #fff; margin: 18px 0 10px; }
.diag__tips { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.diag__tips li { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(176, 208, 172, .18); font-size: 14.5px; color: #c8cec9; }
.diag__tips strong { display: block; color: #fff; margin-bottom: 4px; }
.diag__tips .link-arrow { color: var(--sage-400); margin-top: 6px; font-size: 13.5px; }
@media (max-width: 980px) { .diag { grid-template-columns: 1fr; } .diag__panel { position: relative; top: 0; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: #c8cec9; padding: clamp(60px, 8vw, 96px) 0 30px; background: linear-gradient(170deg, #17191b, #0b0c0d); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--ribbon-stripes); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 56px); }
.footer-grid > * { min-width: 0; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer p { font-size: 14.5px; max-width: 44ch; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a:hover { color: var(--sage-400); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(176, 208, 172, .25); transition: background .3s, box-shadow .3s; }
.socials a:hover { background: rgba(150, 189, 146, .14); box-shadow: inset 0 0 0 1px var(--sage-500); }
.socials .i { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid rgba(176, 208, 172, .12); font-size: 13px; color: #8a918d; }
.footer-mark { position: absolute; inset-inline-end: -60px; bottom: -40px; width: 380px; opacity: .05; pointer-events: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.fab {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--graphite-950); background: var(--grad-sage); box-shadow: var(--shadow-sage);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab .i { width: 26px; height: 26px; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff; padding: 120px var(--gutter) 60px; background: radial-gradient(700px 400px at 50% 30%, rgba(150, 189, 146, .2), transparent 60%), linear-gradient(165deg, #23272a, #0c0d0e); }
.nf img { width: min(320px, 70vw); margin: 0 auto 10px; }
.nf b { display: block; font-family: var(--f-num); font-size: clamp(64px, 12vw, 140px); line-height: 1; background: var(--grad-sage-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal & motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--scale { transform: scale(.96); }
.no-js .reveal { opacity: 1; transform: none; }
.load-in { animation: loadIn 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes loadIn { from { opacity: 0; transform: translateY(22px); } }
.kw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.kw__i { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) both; animation-delay: calc(.2s + var(--i) * .055s); }
@keyframes rise { to { transform: none; } }
.lang-block > [lang] { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .drawer, .fab, .progress, .stage__canvas, .page-hero__canvas, .scroll-cue { display: none !important; }
  .hero, .page-hero, .section--dark, .site-footer, .cta-band, .growth__panel, .diag__panel { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Gradient text that sits on a dark panel inside a light section keeps the light sheen */
:root:not(#_) .section .cta-band .sage-text,
:root:not(#_) .section .growth__panel .sage-text,
:root:not(#_) .section .diag__panel .sage-text { background-image: var(--grad-sage-text); }
@media (max-width: 600px) { .career__years span:nth-child(4), .career__years span:nth-child(5) { display: none; } }
