@charset "UTF-8";
/* ==========================================================================
   XERA FZCO — Design System
   Style: Modern Dark / Trust & Authority  ·  Deep violet + champagne gold
   Written with CSS logical properties so a single sheet serves LTR and RTL.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. TOKENS */
:root {
  /* --- Surfaces (never pure black: avoids OLED smear, reads richer) */
  --void:        #06040C;
  --bg:          #0A0612;
  --bg-2:        #0F0A1C;
  --surface:     #150E26;
  --surface-2:   #1B1330;
  --surface-3:   #241839;

  /* --- Violet ramp */
  --violet-50:   #F7F3FF;
  --violet-100:  #EBE2FF;
  --violet-200:  #D8C7FF;
  --violet-300:  #C0A5FF;
  --violet-400:  #A67CFF;
  --violet-500:  #8B5CF6;
  --violet-600:  #7C3AED;
  --violet-700:  #5F23BE;
  --violet-800:  #45188C;
  --violet-900:  #2E0F63;

  /* --- Champagne gold accent (the "luxury" signal) */
  --gold-200:    #F7EBC9;
  --gold-300:    #EFDCA6;
  --gold-400:    #E2C583;
  --gold-500:    #C9A455;

  /* --- Text (all verified >= 4.5:1 on --bg) */
  --text:        #F4F0FB;
  --text-2:      #C9BCDF;
  --text-3:      #A294BE;

  /* --- Lines */
  --border:        rgba(200, 172, 255, 0.12);
  --border-2:      rgba(200, 172, 255, 0.20);
  --border-gold:   rgba(226, 197, 131, 0.28);

  /* --- Semantic */
  --primary:     var(--violet-600);
  --primary-hover: var(--violet-500);
  --accent:      var(--gold-400);
  --ring:        var(--violet-300);
  --danger:      #F87171;
  --ok:          #6EE7B7;

  /* --- Gradients */
  --grad-hero:    linear-gradient(135deg, var(--violet-200) 0%, #FFFFFF 38%, var(--gold-300) 100%);
  --grad-primary: linear-gradient(135deg, var(--violet-600) 0%, var(--violet-800) 100%);
  --grad-line:    linear-gradient(90deg, transparent, var(--border-2) 20%, var(--border-gold) 50%, var(--border-2) 80%, transparent);
  --grad-card:    linear-gradient(160deg, rgba(139, 92, 246, 0.10) 0%, rgba(139, 92, 246, 0) 55%);

  /* --- Typography: per-script stacks, swapped by [lang] below */
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
  --tracking-display: -0.02em;
  --tracking-eyebrow: 0.16em;
  --leading-display: 1.08;
  --leading-body: 1.72;

  /* --- Fluid type scale (density 4/10 = standard) */
  --fs-eyebrow: 0.75rem;
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 0.4vw + 1.03rem, 1.3125rem);
  --fs-xl:   clamp(1.375rem, 0.8vw + 1.19rem, 1.75rem);
  --fs-2xl:  clamp(1.75rem, 1.5vw + 1.4rem, 2.375rem);
  --fs-3xl:  clamp(2.125rem, 2.6vw + 1.5rem, 3.25rem);
  --fs-4xl:  clamp(2.5rem, 4.6vw + 1.4rem, 4.75rem);
  /* Stats read as short statements now ("Over 15 years"), not bare figures,
     so this is sized to fit a phrase in a four-column grid. */
  --fs-stat: clamp(1.375rem, .8vw + 1.05rem, 1.75rem);

  /* --- Space scale (8px rhythm) */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.5rem;  --sp-8: 3rem;
  --sp-9: 4rem;    --sp-10: 5rem;   --sp-11: 6.5rem; --sp-12: 8rem;
  --section-y: clamp(4.5rem, 8vw, 8.5rem);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow:     0 12px 32px -12px rgba(0,0,0,.7);
  --shadow-lg:  0 40px 80px -32px rgba(0,0,0,.85);
  --shadow-glow: 0 0 0 1px var(--border-2), 0 24px 60px -28px rgba(124, 58, 237, .55);

  --container: 1220px;
  --container-narrow: 760px;
  --header-h: 74px;

  /* Motion 6/10 = standard. Expo-out feels premium; never faster than 150ms. */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 180ms;
  --dur: 300ms;
  --dur-slow: 620ms;
}

/* Per-script typography. Thai and Arabic get their own families, line-height
   and tracking — one scale across three scripts always makes two look wrong. */
html[lang="th"] {
  --font-display: "Noto Serif Thai", "Playfair Display", serif;
  --font-body: "IBM Plex Sans Thai", "Inter", system-ui, sans-serif;
  --tracking-display: 0;
  --tracking-eyebrow: 0.10em;
  --leading-display: 1.3;
  --leading-body: 1.95;
}
html[lang="ar"] {
  --font-display: "Noto Kufi Arabic", "Noto Naskh Arabic", serif;
  --font-body: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --tracking-display: 0;
  --tracking-eyebrow: 0;
  --leading-display: 1.42;
  --leading-body: 1.95;
}

/* ------------------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--leading-body);
  font-weight: 400;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { text-wrap: pretty; }
strong { color: var(--text); font-weight: 600; }

::selection { background: var(--violet-600); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; inset-inline-start: 50%; top: -100px;
  transform: translateX(-50%);
  z-index: 200; padding: .75rem 1.25rem;
  background: var(--violet-600); color: #fff; border-radius: 0 0 var(--radius) var(--radius);
  font-size: var(--fs-sm); font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------- 3. PRIMITIVES */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { position: relative; padding-block: var(--section-y); }
/* Anchor targets must clear the sticky header, or a jump link buries its own heading. */
:target, section[id], article[id], [id^="role-"] { scroll-margin-block-start: calc(var(--header-h) + 1.5rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--sp-4);
}
html[lang="th"] .eyebrow, html[lang="ar"] .eyebrow { text-transform: none; }
.eyebrow::before {
  content: ""; width: 26px; height: 1px; flex: none;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}
.eyebrow--center::before { display: none; }

.lead { font-size: var(--fs-lg); color: var(--text-2); }
.muted { color: var(--text-3); }
.gold { color: var(--gold-400); }

.grad-text {
  background: var(--grad-hero);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* Descenders on serif italics need breathing room when clipped */
  padding-inline-end: .08em;
}

.hairline { height: 1px; border: 0; background: var(--grad-line); }

/* --- Buttons */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 0.95rem 1.65rem;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .01em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn:active { transform: scale(.975); }
.btn__icon { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease); }
[dir="rtl"] .btn__icon { transform: scaleX(-1); }
.btn:hover .btn__icon { transform: translateX(3px); }
[dir="rtl"] .btn:hover .btn__icon { transform: scaleX(-1) translateX(3px); }

.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 14px 34px -14px rgba(124,58,237,.85);
}
.btn--primary:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.24) inset, 0 18px 44px -14px rgba(139,92,246,1);
  filter: brightness(1.08);
}
.btn--ghost {
  border: 1px solid var(--border-2);
  color: var(--text);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--border-gold); background: rgba(226,197,131,.07); color: var(--gold-200); }
.btn--gold { background: var(--gold-400); color: #1A1004; font-weight: 700; }
.btn--gold:hover { background: var(--gold-300); }
.btn--sm { padding: .6rem 1.1rem; min-height: 40px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--violet-300);
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--gold-300); gap: .8rem; }
.link-arrow svg { width: 15px; height: 15px; flex: none; }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* --- Chips / pills */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .95rem;
  font-size: var(--fs-xs); font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.025);
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); flex: none; }
.chip--live .chip__dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(110,231,183,.18); }

/* --- Cards */
.card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    var(--grad-card),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
  height: 100%;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(196,165,255,.10), transparent 62%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card__title { margin-bottom: .75rem; }
.card__text { font-size: var(--fs-sm); color: var(--text-2); }

.icon-badge {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  margin-bottom: var(--sp-5);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(139,92,246,.24), rgba(139,92,246,.06));
  border: 1px solid var(--border-2);
  color: var(--violet-200);
}
.icon-badge svg { width: 23px; height: 23px; }
.icon-badge--gold { background: linear-gradient(140deg, rgba(226,197,131,.22), rgba(226,197,131,.04)); border-color: var(--border-gold); color: var(--gold-300); }

.grid { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 780px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* ------------------------------------------------------ 4. AMBIENT LAYERS */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient__blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.ambient__blob--1 {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  inset-block-start: -14vw; inset-inline-start: -8vw;
  background: radial-gradient(circle, rgba(124,58,237,.50), transparent 68%);
  animation: drift-a 28s var(--ease-inout) infinite alternate;
}
.ambient__blob--2 {
  width: 38vw; height: 38vw; min-width: 300px; min-height: 300px;
  inset-block-start: 42vh; inset-inline-end: -12vw;
  background: radial-gradient(circle, rgba(94,35,190,.42), transparent 68%);
  animation: drift-b 34s var(--ease-inout) infinite alternate;
}
.ambient__blob--3 {
  width: 30vw; height: 30vw; min-width: 240px; min-height: 240px;
  inset-block-end: -10vw; inset-inline-start: 24vw;
  background: radial-gradient(circle, rgba(201,164,85,.16), transparent 66%);
  animation: drift-a 40s var(--ease-inout) infinite alternate-reverse;
}
@keyframes drift-a { to { transform: translate3d(7vw, 5vh, 0) scale(1.14); } }
@keyframes drift-b { to { transform: translate3d(-6vw, -7vh, 0) scale(1.1); } }

/* Fine grid + film grain: reads as "engineered" rather than decorative */
.ambient::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(200,172,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200,172,255,.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .028; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------- 5. HEADER */
.announce {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, var(--violet-900), var(--violet-700), var(--violet-900));
  color: var(--violet-100);
  font-size: var(--fs-xs);
  text-align: center;
}
.announce__inner { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; padding-block: .6rem; }
.announce a { color: var(--gold-300); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: var(--gold-200); }
.announce__close { color: var(--violet-200); padding: .25rem; line-height: 0; border-radius: 50%; }
.announce__close svg { width: 14px; height: 14px; }
.announce__close:hover { color: #fff; }

.header {
  position: sticky; inset-block-start: 0; z-index: 50;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: rgba(10, 6, 18, .78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: var(--header-h);
}

/* Text-only wordmark: no badge glyph, no FZCO line. The gold-to-white
   gradient is the whole brand signal, so it must survive on any surface. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.25rem; font-weight: 700; letter-spacing: .26em;
  background: linear-gradient(135deg, var(--violet-200) 0%, #FFFFFF 42%, var(--gold-300) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.nav { display: flex; align-items: center; gap: .2rem; margin-inline-start: auto; }
.nav__link {
  position: relative;
  padding: .55rem .85rem;
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-2); border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__link[aria-current="page"] { color: var(--gold-300); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: .85rem; inset-block-end: .25rem;
  height: 1px; background: var(--gold-400);
}

.header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .8rem; min-height: 40px;
  font-size: var(--fs-xs); font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang__btn:hover { border-color: var(--border-2); color: var(--text); }
.lang__btn svg { width: 14px; height: 14px; }
.lang__caret { transition: transform var(--dur) var(--ease); }
.lang__btn[aria-expanded="true"] .lang__caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; inset-block-start: calc(100% + .5rem); inset-inline-end: 0;
  min-width: 190px; padding: .4rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.lang__menu[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__item {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .6rem .8rem; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--text-2);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.lang__item:hover { background: rgba(255,255,255,.06); color: var(--text); }
.lang__item[aria-current="true"] { color: var(--gold-300); }
.lang__item small { font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

/* Mobile nav */
.burger { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); }
.burger svg { width: 20px; height: 20px; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  padding: var(--sp-5) clamp(1.25rem, 5vw, 2rem) var(--sp-8);
  background: rgba(8, 5, 15, .96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
  overflow-y: auto;
}
.mobile-nav[data-open="true"] { opacity: 1; visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-7); }
.mobile-nav__list { display: flex; flex-direction: column; gap: .25rem; margin-bottom: var(--sp-7); }
.mobile-nav__link {
  padding: .95rem .25rem;
  font-family: var(--font-display); font-size: var(--fs-xl); color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav__link:hover, .mobile-nav__link[aria-current="page"] { color: var(--gold-300); }
.mobile-nav__langs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--sp-6); }

@media (max-width: 1024px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: grid; margin-inline-start: auto; }
  .header__actions { margin-inline-start: auto; }
}

/* ---------------------------------------------------------------- 6. HERO */
.hero { position: relative; padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3.5rem, 6vw, 6rem); }
.hero__inner { max-width: 60rem; }
.hero__title { margin-bottom: var(--sp-5); }
.hero__title em { font-style: italic; font-weight: 500; }
.hero__sub { max-width: 58ch; font-size: var(--fs-lg); color: var(--text-2); margin-bottom: var(--sp-7); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: var(--sp-8); }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; }

.hero--app .hero__inner { max-width: 54rem; }
.hero__note { margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--text-3); }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); }
.page-hero__title { max-width: 26ch; }
.page-hero h1 { font-size: var(--fs-3xl); }
.page-hero__sub { max-width: 62ch; margin-top: var(--sp-5); font-size: var(--fs-lg); }

/* --------------------------------------------------------- 7. LOGO STRIP */
.logos { padding-block: var(--sp-7); border-block: 1px solid var(--border); }
.logos__label { text-align: center; font-size: var(--fs-xs); color: var(--text-3); margin-bottom: var(--sp-5); }
.logos__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__track { display: flex; gap: clamp(2rem, 5vw, 4.5rem); width: max-content; animation: marquee 42s linear infinite; }
.logos__viewport:hover .logos__track { animation-play-state: paused; }
.logos__item {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 500; letter-spacing: .04em;
  color: var(--text-3); white-space: nowrap;
  opacity: .78; transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.logos__item:hover { opacity: 1; color: var(--violet-200); }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .logos__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------------------------------------------------------- 8. STAT BAND */
.stats__grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.stat { padding: clamp(1.5rem, 2.5vw, 2.25rem); background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); }
.stat__value {
  font-family: var(--font-display); font-size: var(--fs-stat); font-weight: 600;
  line-height: 1.25; letter-spacing: -.01em; text-wrap: balance;
  background: var(--grad-hero); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: .6rem;
}
.stat__label { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.6; }

/* -------------------------------------------------------- 9. SOLUTIONS */
.solution__bullets { margin-top: var(--sp-5); display: grid; gap: .55rem; }
.solution__bullets li {
  position: relative;
  padding-inline-start: 1.35rem;
  font-size: var(--fs-xs); color: var(--text-3);
}
.solution__bullets li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500);
}

/* ------------------------------------------------------- 10. SPOTLIGHT */
.spotlight { position: relative; }
.spotlight__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .spotlight__grid { grid-template-columns: 1.05fr .95fr; } }
.spotlight__points { display: grid; gap: var(--sp-5); margin-block: var(--sp-6) var(--sp-7); }
.spotlight__point { display: flex; gap: var(--sp-4); }
.spotlight__point-icon {
  flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(226,197,131,.12); border: 1px solid var(--border-gold); color: var(--gold-300);
}
.spotlight__point-icon svg { width: 16px; height: 16px; }
.spotlight__point h3, .spotlight__point h4 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: .2rem; }
.spotlight__point p { font-size: var(--fs-xs); color: var(--text-3); }

/* Phone mockup */
.phone {
  position: relative; width: min(340px, 100%); margin-inline: auto;
  aspect-ratio: 340 / 690;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2A1F42, #120C20 60%);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg), 0 0 90px -30px rgba(124,58,237,.7);
}
.phone::before {
  content: ""; position: absolute; inset-block-start: 22px; inset-inline: 50%;
  transform: translateX(-50%);
  width: 78px; height: 5px; border-radius: 99px; background: rgba(0,0,0,.6); z-index: 3;
}
.phone__screen {
  height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #120B21 0%, #0A0612 100%);
  display: flex; flex-direction: column;
}
.phone__bar { display: flex; align-items: center; gap: .55rem; padding: 2.4rem 1.1rem .85rem; border-bottom: 1px solid var(--border); }
.phone__avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--grad-primary); display: grid; place-items: center;
  font-family: "Inter", sans-serif; font-size: .625rem; font-weight: 700; letter-spacing: .08em; color: #fff;
}
.phone__who { display: flex; flex-direction: column; line-height: 1.2; }
.phone__who strong { font-family: "Inter", sans-serif; font-size: .8125rem; }
.phone__who span { font-size: .625rem; color: var(--ok); }
.phone__thread { flex: 1; display: flex; flex-direction: column; gap: .6rem; padding: 1rem .85rem; overflow: hidden; }
.bubble {
  max-width: 84%;
  padding: .65rem .85rem;
  font-size: .75rem; line-height: 1.65;
  border-radius: 16px;
}
.bubble--user { align-self: flex-end; background: var(--violet-700); color: var(--violet-50); border-end-end-radius: 5px; }
.bubble--ai { align-self: flex-start; background: rgba(255,255,255,.055); border: 1px solid var(--border); color: var(--text-2); border-end-start-radius: 5px; }
.phone__input {
  margin: .5rem .85rem 1.1rem; padding: .7rem .95rem;
  font-size: .6875rem; color: var(--text-3);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: rgba(255,255,255,.03);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.phone__send { width: 24px; height: 24px; border-radius: 50%; background: var(--violet-600); display: grid; place-items: center; flex: none; }
.phone__send svg { width: 12px; height: 12px; color: #fff; }
[dir="rtl"] .phone__send svg { transform: scaleX(-1); }

/* --------------------------------------------------------- 11. APPROACH */
.steps { display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.step { position: relative; padding: clamp(1.75rem, 2.6vw, 2.5rem) clamp(1.25rem, 2vw, 2rem); background: var(--bg); transition: background-color var(--dur) var(--ease); }
.step:hover { background: var(--surface); }
.step__num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1;
  color: #8069B0; margin-bottom: var(--sp-5); /* 4.36:1 on --bg */
  transition: color var(--dur) var(--ease);
}
.step:hover .step__num { color: var(--gold-500); }
.step h3 { font-family: var(--font-body); font-size: var(--fs-lg); font-weight: 600; margin-bottom: .6rem; }
.step p { font-size: var(--fs-sm); color: var(--text-3); }

/* ------------------------------------------------------ 12. CASE STUDIES */
.case { display: flex; flex-direction: column; }
.case__meta { display: flex; align-items: center; gap: .6rem; margin-bottom: var(--sp-5); font-size: var(--fs-xs); }
.case__client { font-weight: 700; color: var(--gold-300); letter-spacing: .04em; }
.case__sector { color: var(--text-3); }
.case__sector::before { content: "·"; margin-inline-end: .5rem; }
.case__title { font-size: var(--fs-lg); margin-bottom: .75rem; }
.case__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: auto; padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.case__metric-value { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; color: var(--violet-200); line-height: 1.1; }
.case__metric-label { font-size: .6875rem; color: var(--text-3); line-height: 1.45; margin-top: .2rem; }

/* ------------------------------------------------------ 13. TESTIMONIALS */
.quote-card { display: flex; flex-direction: column; }
.quote-card__mark { font-family: var(--font-display); font-size: 3.5rem; line-height: .8; color: var(--violet-700); margin-bottom: .5rem; }
.quote-card blockquote { font-family: var(--font-display); font-size: var(--fs-lg); font-style: italic; font-weight: 400; line-height: 1.55; color: var(--text); margin-bottom: var(--sp-5); }
html[lang="th"] .quote-card blockquote, html[lang="ar"] .quote-card blockquote { font-style: normal; line-height: 1.8; }
html[lang="th"] .hero__title em, html[lang="ar"] .hero__title em,
html[lang="th"] .article__title em, html[lang="ar"] .article__title em { font-style: normal; font-weight: 700; }
.quote-card__who { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.quote-card__name { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.quote-card__role { font-size: var(--fs-xs); color: var(--text-3); }

/* ------------------------------------------------------------ 14. ABOUT */
.about__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 920px) { .about__grid { grid-template-columns: 1.15fr .85fr; } }
.about__lead { font-family: var(--font-display); font-size: var(--fs-xl); font-style: italic; color: var(--gold-200); margin-bottom: var(--sp-6); padding-inline-start: var(--sp-5); border-inline-start: 2px solid var(--gold-500); }
html[lang="th"] .about__lead, html[lang="ar"] .about__lead { font-style: normal; }
.about__body p + p { margin-top: var(--sp-4); }
.about__body p { font-size: var(--fs-sm); }

.vm { display: grid; gap: var(--sp-4); }
.vm__item { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(160deg, rgba(139,92,246,.10), transparent); }
.vm__label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--gold-400); margin-bottom: .6rem; }
html[lang="th"] .vm__label, html[lang="ar"] .vm__label { text-transform: none; }
.vm__text { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--text); line-height: 1.45; }

.value h4 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; color: var(--text); margin-bottom: .35rem; }
.value p { font-size: var(--fs-xs); color: var(--text-3); }
.value { padding-inline-start: var(--sp-4); border-inline-start: 1px solid var(--border-2); }

/* The .person, .timeline and .registry blocks lived here. The Leadership,
   Milestones and Company details sections were removed from the Company
   section, so their rules went with them. Contact details are still in the
   contact section and the footer. */

/* --------------------------------------------------------- 15. SECURITY */
.trust-item { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.018); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.trust-item:hover { border-color: var(--border-gold); background: rgba(226,197,131,.04); }
.trust-item__head { display: flex; align-items: center; gap: .65rem; margin-bottom: .5rem; }
.trust-item__head svg { width: 17px; height: 17px; flex: none; color: var(--gold-400); }
.trust-item h3, .trust-item h4 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; }
.trust-item p { font-size: var(--fs-xs); color: var(--text-3); }

/* --- is / is-not lists */
.dual { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.dual__col { padding: var(--sp-6); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.dual__col--is { background: linear-gradient(165deg, rgba(110,231,183,.08), transparent 70%); border-color: rgba(110,231,183,.22); }
.dual__col--not { background: linear-gradient(165deg, rgba(248,113,113,.07), transparent 70%); border-color: rgba(248,113,113,.20); }
.dual__label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; margin-bottom: var(--sp-5); }
html[lang="th"] .dual__label, html[lang="ar"] .dual__label { text-transform: none; }
.dual__col--is .dual__label { color: var(--ok); }
.dual__col--not .dual__label { color: var(--danger); }
.dual__list { display: grid; gap: .85rem; }
.dual__list li { display: flex; gap: .7rem; font-size: var(--fs-sm); color: var(--text-2); }
.dual__list svg { width: 17px; height: 17px; flex: none; margin-top: .35em; }
.dual__col--is svg { color: var(--ok); }
.dual__col--not svg { color: var(--danger); }

.alert {
  display: flex; gap: var(--sp-4);
  margin-top: var(--sp-6); padding: var(--sp-5);
  border: 1px solid rgba(248,113,113,.28); border-radius: var(--radius);
  background: rgba(248,113,113,.06);
}
.alert svg { width: 20px; height: 20px; flex: none; color: var(--danger); margin-top: .15em; }
.alert h3, .alert h4 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; color: #FCA5A5; margin-bottom: .35rem; }
.alert p { font-size: var(--fs-xs); color: var(--text-2); }

/* -------------------------------------------------------------- 16. FAQ */
.faq { display: grid; gap: .6rem; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.018); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.faq__item[open] { border-color: var(--border-2); background: var(--surface); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5); cursor: pointer;
  font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; color: var(--text);
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold-300); }
.faq__icon { flex: none; width: 20px; height: 20px; margin-top: .2em; color: var(--violet-300); transition: transform var(--dur) var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); color: var(--gold-400); }
.faq__a { padding: 0 var(--sp-5) var(--sp-5); font-size: var(--fs-sm); color: var(--text-2); max-width: 78ch; }

/* ---------------------------------------------------------- 17. CONTACT */
.contact__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: .85fr 1.15fr; } }
.contact__list { display: grid; gap: var(--sp-5); margin-bottom: var(--sp-6); }
.contact__row { display: flex; gap: var(--sp-4); }
.contact__row svg { width: 18px; height: 18px; flex: none; margin-top: .35em; color: var(--gold-400); }
.contact__label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-3); margin-bottom: .25rem; }
html[lang="th"] .contact__label, html[lang="ar"] .contact__label { text-transform: none; }
.contact__value { font-size: var(--fs-sm); color: var(--text); }
.contact__value a:hover { color: var(--gold-300); }
.contact__value address { color: var(--text-2); }
.map {
  position: relative;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; height: 220px;
  background:
    radial-gradient(circle at 50% 46%, rgba(139,92,246,.28), transparent 55%),
    linear-gradient(160deg, var(--surface), var(--bg-2));
  filter: grayscale(1) invert(.92) hue-rotate(190deg) brightness(.86) contrast(.92);
  transition: filter var(--dur-slow) var(--ease);
}
.map:hover { filter: grayscale(.4) invert(.92) hue-rotate(190deg) brightness(.95) contrast(1); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* --- Forms */
.form { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(170deg, var(--surface) 0%, var(--bg-2) 100%); }
.form__title { font-size: var(--fs-xl); margin-bottom: var(--sp-6); }
.form__grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); }
.field label .req { color: var(--gold-400); }
.field input, .field select, .field textarea {
  padding: .8rem 1rem;
  font-size: var(--fs-sm);
  color: var(--text);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 46px;
  width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.7; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A294BE' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-inline-end: 2.75rem;
  text-overflow: ellipsis;
}
[dir="rtl"] .field select { background-position: left 1rem center; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet-400);
  background: rgba(255,255,255,.055);
  box-shadow: 0 0 0 3px rgba(139,92,246,.18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: var(--fs-xs); color: #FCA5A5; min-height: 1em; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--text-3); line-height: 1.6; cursor: pointer; }
.check input { appearance: none; flex: none; width: 19px; height: 19px; margin-top: .1em; border: 1px solid var(--border-2); border-radius: 5px; background: rgba(255,255,255,.04); cursor: pointer; transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.check input:checked { background: var(--violet-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--violet-500); }
.check a { color: var(--violet-300); text-decoration: underline; text-underline-offset: 2px; }

.form__status { margin-top: var(--sp-4); padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: var(--fs-xs); display: none; }
.form__status[data-state="ok"] { display: block; background: rgba(110,231,183,.1); border: 1px solid rgba(110,231,183,.3); color: #A7F3D0; }
.form__status[data-state="err"] { display: block; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: #FCA5A5; }

/* ------------------------------------------------------------ 18. CTA BAND */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid var(--border-2); border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--violet-900) 0%, var(--surface) 55%, var(--bg-2) 100%);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset-block-start: -60%; inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,197,131,.16), transparent 62%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 30ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin: var(--sp-4) auto var(--sp-6); font-size: var(--fs-lg); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* --------------------------------------------------------- 19. INSIGHTS */
.post-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__cover { position: relative; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--border); overflow: hidden; }
.post-card__cover svg { width: 100%; height: 100%; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.35rem, 2vw, 1.85rem); }
.post-card__meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .6875rem; color: var(--text-3); margin-bottom: var(--sp-4); }
.post-card__cat { padding: .25rem .6rem; border-radius: var(--radius-pill); background: rgba(139,92,246,.16); border: 1px solid var(--border-2); color: var(--violet-200); font-weight: 600; }
.post-card__title { font-size: var(--fs-lg); margin-bottom: .65rem; }
.post-card:hover .post-card__title { color: var(--gold-200); }
.post-card__excerpt { font-size: var(--fs-sm); color: var(--text-3); margin-bottom: var(--sp-5); }
.post-card__foot { margin-top: auto; }

/* Article */
.article { max-width: 72ch; margin-inline: auto; }
.article__head { margin-bottom: var(--sp-8); }
.article__meta { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-3); margin-bottom: var(--sp-5); }
.article__title { font-size: var(--fs-3xl); margin-bottom: var(--sp-5); }
.article__excerpt { font-size: var(--fs-lg); color: var(--text-2); }
.article__cover { margin-bottom: var(--sp-8); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; }
.article__cover svg { width: 100%; height: 100%; }
.prose > * + * { margin-top: var(--sp-5); }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-8); }
.prose p { font-size: var(--fs-base); color: var(--text-2); }
.prose ul { display: grid; gap: .8rem; }
.prose ul li { position: relative; padding-inline-start: 1.5rem; font-size: var(--fs-sm); color: var(--text-2); }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.prose blockquote {
  margin-block: var(--sp-7);
  padding: var(--sp-6);
  border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(226,197,131,.08), transparent 70%);
  font-family: var(--font-display); font-size: var(--fs-lg); font-style: italic; line-height: 1.6;
  color: var(--gold-200);
}
html[lang="th"] .prose blockquote, html[lang="ar"] .prose blockquote { font-style: normal; line-height: 1.85; }
.article__foot { margin-top: var(--sp-9); padding-top: var(--sp-6); border-top: 1px solid var(--border); }

/* --------------------------------------------------------- 20. CAREERS */
.role { border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(170deg, var(--surface), var(--bg-2)); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.role:hover { border-color: var(--border-2); }
.role__head { padding: clamp(1.5rem, 2.4vw, 2.25rem); }
.role__tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.role__title { font-size: var(--fs-xl); margin-bottom: .75rem; }
.role__summary { font-size: var(--fs-sm); color: var(--text-2); max-width: 72ch; }
.role__detail { padding: 0 clamp(1.5rem, 2.4vw, 2.25rem) clamp(1.5rem, 2.4vw, 2.25rem); }
.role__cols { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.role__col-label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--gold-400); margin-bottom: var(--sp-4); }
html[lang="th"] .role__col-label, html[lang="ar"] .role__col-label { text-transform: none; }
.role__list { display: grid; gap: .7rem; }
.role__list li { display: flex; gap: .65rem; font-size: var(--fs-xs); color: var(--text-2); }
.role__list svg { width: 15px; height: 15px; flex: none; margin-top: .3em; color: var(--violet-300); }
.perk-list { display: grid; gap: .8rem; }
.perk-list li { display: flex; gap: .7rem; font-size: var(--fs-sm); color: var(--text-2); }
.perk-list svg { width: 17px; height: 17px; flex: none; margin-top: .35em; color: var(--gold-400); }

/* ------------------------------------------------------------ 21. LEGAL */
.legal { max-width: 76ch; margin-inline: auto; }
.legal__notice { display: flex; gap: var(--sp-4); padding: var(--sp-5); margin-bottom: var(--sp-7); border: 1px dashed var(--border-gold); border-radius: var(--radius); background: rgba(226,197,131,.05); font-size: var(--fs-xs); color: var(--text-2); }
.legal__notice svg { width: 18px; height: 18px; flex: none; color: var(--gold-400); margin-top: .2em; }
.legal__section { padding-block: var(--sp-6); border-bottom: 1px solid var(--border); }
.legal__section:last-child { border-bottom: 0; }
.legal__section h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.legal__section p + p, .legal__section ul { margin-top: var(--sp-4); }
.legal__section p { font-size: var(--fs-sm); }
.legal__section ul { display: grid; gap: .7rem; }
.legal__section li { position: relative; padding-inline-start: 1.4rem; font-size: var(--fs-sm); }
.legal__section li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--violet-500); }

/* ----------------------------------------------------------- 22. FOOTER */
.footer { position: relative; margin-top: var(--sp-10); border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-2), var(--void)); }
.footer__top { display: grid; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(3rem, 6vw, 5rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } }
.footer__brand-block { max-width: 34ch; }
.footer__tagline { margin-block: var(--sp-4) var(--sp-5); font-size: var(--fs-xs); color: var(--text-3); }
.footer__social { display: flex; gap: .5rem; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; color: var(--text-3); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.footer__social a:hover { color: var(--gold-300); border-color: var(--border-gold); }
.footer__social svg { width: 16px; height: 16px; }
.footer__col-title { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text); margin-bottom: var(--sp-4); }
html[lang="th"] .footer__col-title, html[lang="ar"] .footer__col-title { text-transform: none; }
.footer__list { display: grid; gap: .7rem; }
.footer__list a, .footer__list button { font-size: var(--fs-xs); color: var(--text-3); text-align: start; transition: color var(--dur) var(--ease); }
.footer__list a:hover, .footer__list button:hover { color: var(--gold-300); }
.footer__bottom { padding-block: var(--sp-5); border-top: 1px solid var(--border); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem var(--sp-5); align-items: center; justify-content: space-between; font-size: .6875rem; color: var(--text-3); }
.footer__disclaimer { margin-top: var(--sp-4); font-size: .625rem; color: var(--text-3); opacity: .8; max-width: 92ch; }

/* ------------------------------------------------------ 23. COOKIE BANNER */
.cookie {
  position: fixed; z-index: 80;
  inset-block-end: clamp(1rem, 3vw, 1.75rem);
  inset-inline-start: clamp(1rem, 3vw, 1.75rem);
  max-width: 400px;
  padding: var(--sp-5);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  background: rgba(21, 14, 38, .94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform var(--dur-slow) var(--ease);
}
.cookie[data-open="true"] { transform: translateY(0); }
.cookie__title { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; margin-bottom: .5rem; }
.cookie p { font-size: var(--fs-xs); color: var(--text-3); margin-bottom: var(--sp-4); }
.cookie__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie__link { display: inline-block; margin-top: var(--sp-4); font-size: .6875rem; color: var(--violet-300); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------- 24. SCROLL REVEAL */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------- 25. RTL EXCEPTIONS */
/* Latin brand strings and codes must stay LTR inside RTL prose. */
/* .stat__value is deliberately absent: the stats now read as Arabic
   sentences, so forcing an LTR base direction would misorder them. */
[dir="rtl"] .brand__name,
[dir="rtl"] .case__metric-value,
[dir="rtl"] .step__num,
[dir="rtl"] .logos__item,
[dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .case__metric-value, [dir="rtl"] .step__num { display: inline-block; }
[dir="rtl"] .eyebrow::before { background: linear-gradient(270deg, transparent, var(--gold-400)); }
[dir="rtl"] .quote-card__mark { transform: scaleX(-1); }
/* Directional icons flip; brand marks and media controls do not. */
[dir="rtl"] [data-flip] { transform: scaleX(-1); }

/* ------------------------------------------------------ 26. UTILITIES */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-6 { margin-bottom: var(--sp-6); }
.stack-6 > * + * { margin-top: var(--sp-6); }
.stack-5 > * + * { margin-top: var(--sp-5); }
.stack-4 > * + * { margin-top: var(--sp-4); }

/* -------------------------------------------- 27. REDUCED MOTION / PRINT */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .logos__track { animation: none; width: 100%; justify-content: space-around; flex-wrap: wrap; }
  .ambient__blob { animation: none; }
  .card:hover, .btn:active { transform: none; }
}

@media print {
  .ambient, .grain, .header, .footer, .cookie, .announce, .map, .mobile-nav { display: none !important; }
  body { background: #fff; color: #111; }
  h1, h2, h3, h4 { color: #000; }
  .card, .form { border-color: #ccc; background: none; }
  a { color: #000; }
}

/* Small-screen refinements */
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .case__metrics { grid-template-columns: 1fr 1fr; }
  .cookie { inset-inline: .75rem; max-width: none; }
  .hero__actions .btn { width: 100%; }
}
