/* ============================================================
   MGLC — محمد قشلان محامون ومستشارون قانونيون (Gashlan Associates)
   Premium bilingual (RTL/LTR) law-firm site
   ============================================================ */

:root {
  /* Palette — tweakable. Default: deep navy + warm gold */
  --primary: #1B2840;
  --primary-deep: #0F172A;
  --primary-soft: #2B3B57;
  --gold: #C29B40;
  --gold-light: #D7BA79;
  --gold-tint: rgba(194,155,64, 0.12);

  --paper: #F9F8F3;
  --paper-2: #F2EEE5;
  --card: #FFFFFF;
  --ink: #1F1F1D;
  --muted: #6E756F;
  --line: #E6E1D6;
  --line-strong: #D6CFBF;

  /* Type */
  --font-ar: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  --font-en: "IBM Plex Sans", system-ui, sans-serif;
  --font: var(--font-ar);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(20, 40, 35, 0.05), 0 1px 2px rgba(20, 40, 35, 0.04);
  --shadow: 0 14px 40px -18px rgba(20, 40, 35, 0.22), 0 4px 14px -8px rgba(20, 40, 35, 0.12);
  --shadow-lg: 0 30px 70px -30px rgba(20, 40, 35, 0.30);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* gentle overshoot for entrance reveals (tasteful, not bouncy) */
  --ease-overshoot: cubic-bezier(0.34, 1.4, 0.5, 1);
}

/* ---------- Lenis smooth-scroll (self-hosted; required base CSS) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body[dir="ltr"] { --font: var(--font-en); line-height: 1.65; }

img { max-width: 100%; display: block; }
::selection { background: rgba(194,155,64,0.22); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- Shared section + heading rhythm ---------- */
section { position: relative; }
.section { padding-block: 104px; }
.section-pad-sm { padding-block: 72px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: none;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
body[dir="ltr"] .eyebrow { letter-spacing: 0.12em; text-transform: uppercase; }

.h-xl { font-size: clamp(2.6rem, 5.2vw, 4.2rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.h-lg { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.005em; }
.h-md { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.3; font-weight: 600; }
.lead { font-size: 1.12rem; color: var(--muted); line-height: 1.85; }

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h-lg { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn-gold { background: var(--gold); color: #20170A; box-shadow: 0 12px 28px -12px rgba(194,155,64, 0.7); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(194,155,64, 0.85); }
.btn-gold:hover .ico { transform: translateX(var(--arrow, -4px)); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-3px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--primary-deep); }

/* arrow direction respects RTL/LTR */
body[dir="rtl"] { --arrow: -4px; }
body[dir="ltr"] { --arrow: 4px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 46px; }
.topbar-info { display: flex; align-items: center; gap: 24px; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; color: inherit; transition: color 0.2s; }
.topbar-info a:hover { color: var(--gold-light); }
.topbar-info svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: rgba(255,255,255,0.7); transition: color 0.2s, transform 0.2s; }
.topbar-social a:hover { color: var(--gold-light); transform: translateY(-1px); }
.topbar-social svg { width: 16px; height: 16px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); }
.lang-toggle svg { width: 15px; height: 15px; color: var(--gold-light); }
.topbar-info .hide-sm { }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
.header.scrolled { box-shadow: 0 8px 30px -18px rgba(20,40,35,0.25); border-bottom-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--primary-soft), var(--primary-deep));
  display: grid; place-items: center;
  color: var(--gold-light); font-weight: 700; font-size: 19px; letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(194,155,64,0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 17px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.brand-text span { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 8px;
  font-weight: 500; font-size: 16px; color: var(--ink);
  transition: color 0.2s;
}
.nav a::after {
  content: ""; position: absolute; bottom: 4px; inset-inline: 16px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--primary); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 14px; }
/* small platform shortcut buttons in the header (beside "احجز موعد") */
.header-platform { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--primary); transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s; }
.header-platform:hover { background: var(--gold-tint); border-color: var(--gold); color: var(--primary-deep); transform: translateY(-2px); }
.header-platform svg { width: 21px; height: 21px; }
@media (max-width: 940px) { .header-platform { display: none; } }
.drawer-platform { padding: 14px 16px; border-radius: 10px; font-weight: 500; font-size: 1.05rem; color: var(--primary); transition: background 0.2s; display: block; }
.drawer-platform:hover { background: var(--gold-tint); }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); }
.menu-btn svg { width: 22px; height: 22px; margin: auto; color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--primary-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(155deg, rgba(15,23,42,0.80) 0%, rgba(15,23,42,0.88) 55%, rgba(15,23,42,0.92) 100%),
    radial-gradient(ellipse 70% 90% at 85% 10%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero_bg_1_1.jpg") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000, transparent 75%);
}

.hero .container { position: relative; padding-block: clamp(96px, 16vh, 168px); }
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: var(--gold-light); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; letter-spacing: 0; gap: 14px; }
.hero .eyebrow::before { display: none; }
body[dir="ltr"] .hero .eyebrow { letter-spacing: 0; text-transform: none; }
.hero h1 { margin: 22px 0 26px; color: #fff; }
.hero h1 .accent { color: var(--gold-light); }
.hero p.lead { color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-trust {
  margin-top: 64px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 44px;
}
.hero-trust .ht { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .ht b { font-size: 1.9rem; font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.hero-trust .ht span { font-size: 0.92rem; color: rgba(255,255,255,0.62); }

.hero-scroll {
  position: absolute; inset-inline-start: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 0.1em;
}
.hero-scroll .mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 12px; position: relative; }
.hero-scroll .mouse::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: var(--gold-light); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 60% { opacity: 1; transform: translate(-50%, 8px); } 100% { opacity: 0; transform: translate(-50%, 8px); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { position: relative; overflow: hidden; }
.about::before {
  content: ""; position: absolute; z-index: 0; bottom: 0; inset-inline-start: 0;
  width: clamp(170px, 18vw, 290px); aspect-ratio: 271 / 539;
  background: url("uploads/about1-left-shape.png") no-repeat bottom / contain;
  opacity: 0.55; pointer-events: none;
}
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.about-media { position: relative; }
/* Floating gavel (مطرقة) as the About section's right-side visual */
.about-gavel {
  display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.30));
  animation: gavelFloat 6s var(--ease) infinite;
}
@keyframes gavelFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}
.about-figure {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow);
}
.about-badge {
  position: absolute; inset-inline-start: -28px; bottom: 40px;
  background: var(--primary); color: #fff; border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-lg); max-width: 230px;
  border: 1px solid rgba(194,155,64,0.3);
}
.about-badge b { display: block; font-size: 2.4rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.about-badge span { font-size: 0.92rem; color: rgba(255,255,255,0.8); }
.about-list { display: grid; gap: 14px; margin: 30px 0 36px; }
.about-list li { display: flex; align-items: flex-start; gap: 13px; font-weight: 500; }
.about-list .chk {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  background: var(--gold-tint); color: var(--gold); display: grid; place-items: center;
}
.about-list .chk svg { width: 14px; height: 14px; }
.about .lead { margin-top: 20px; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4;
  background-image: radial-gradient(circle at 20% 120%, rgba(194,155,64,0.18), transparent 45%), radial-gradient(circle at 90% -20%, rgba(194,155,64,0.14), transparent 40%);
}
.stats .container { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; padding: 14px 10px; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-end: -15px; top: 18%; height: 64%; width: 1px;
  background: rgba(255,255,255,0.14);
}
.stat .stat-ico { width: 50px; height: 50px; margin: 0 auto 16px; color: var(--gold-light); }
.stat .stat-ico svg { width: 100%; height: 100%; }
.stat b { display: block; font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; color: #fff; white-space: nowrap; }
.stat b .plus { color: var(--gold-light); }
.stat span { font-size: 1rem; color: rgba(255,255,255,0.72); margin-top: 10px; display: block; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--paper); }
.services-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 52px; }
.services-head .section-head { margin-bottom: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* Home page: compact icon + title tiles (titles only; full cards live on Services.html) */
.service-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 42px 22px; color: var(--ink); min-height: 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.service-tile .service-ico { margin-bottom: 0; }
.service-tile h3 { font-size: 1.18rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.45; transition: color 0.3s; }
.service-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-tile:hover .service-ico { background: var(--primary); color: var(--gold-light); }
.service-tile:hover h3 { color: var(--primary); }
.services-tiles { align-items: stretch; }

/* Digital platforms cross-promo (dark band) */
.platforms { background: var(--primary-deep); color: #fff; }
.platforms .eyebrow { color: var(--gold-light); }
.platforms .eyebrow::before { background: var(--gold-light); }
.platforms h2 { color: #fff; }
.platforms .lead { color: rgba(255,255,255,0.78); max-width: 640px; margin-inline: auto; }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.platform-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px 34px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(194,155,64,0.28);
  border-radius: var(--radius); color: #fff; min-height: 100%;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), border-color 0.3s;
}
.platform-card:hover { transform: translateY(-7px); background: rgba(255,255,255,0.07); border-color: var(--gold); }
.platform-ico { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-light); transition: background 0.4s, color 0.4s; }
.platform-ico svg { width: 30px; height: 30px; }
.platform-card:hover .platform-ico { background: var(--gold); color: var(--primary-deep); }
.platform-card h3 { font-size: 1.35rem; font-weight: 700; color: #fff; }
.platform-card p { color: rgba(255,255,255,0.72); line-height: 1.8; flex: 1; }
.platform-cta { color: var(--gold-light); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.platform-cta svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.platform-card:hover .platform-cta svg { transform: translateX(-5px); }
@media (max-width: 760px) { .platform-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 100%; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-ico {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold); margin-bottom: 24px;
  transition: background 0.4s, color 0.4s;
}
.service-card:hover .service-ico { background: var(--primary); color: var(--gold-light); }
.service-ico svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.28rem; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.service-card p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 22px; }
.service-link { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-weight: 600; font-size: 0.96rem; }
.service-link svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.service-card:hover .service-link { color: var(--gold); }
.service-card:hover .service-link svg { transform: translateX(var(--arrow, -4px)); }

/* ============================================================
   ACCREDITATIONS
   ============================================================ */
.accred { background: var(--paper-2); border-block: 1px solid var(--line); overflow: hidden; }
.accred .container { display: block; }
.accred-label { font-weight: 700; color: var(--ink); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.2; letter-spacing: -0.005em; display: flex; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.accred-label::before, .accred-label::after { display: none; }

/* Auto-scrolling logo marquee (JS-driven, transparent logos, no tiles) */
.accred-marquee {
  position: relative; margin-top: 36px; overflow: hidden; width: 100%;
  direction: ltr;   /* keep marquee in LTR coordinate space so RTL pages still lay the strip out left→right */
}
.accred-track {
  display: flex; gap: 0; width: max-content; will-change: transform; direction: ltr;
}
.accred-group { display: flex; align-items: center; gap: 0; flex: none; }
.accred-logo {
  flex: none; padding-inline: 44px; display: grid; place-items: center;
  background: none; border: none; box-shadow: none; min-width: 0;
  opacity: 0.85; transition: opacity 0.3s, transform 0.3s;
}
.accred-logo:hover { opacity: 1; transform: translateY(-3px); }
body.no-motion .accred-track { transform: none !important; flex-wrap: wrap; justify-content: center; width: 100%; }
body.no-motion .accred-group:nth-child(2) { display: none; }
body.no-motion .accred-group { flex-wrap: wrap; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .accred-track { transform: none !important; flex-wrap: wrap; justify-content: center; width: 100%; }
  .accred-group:nth-child(2) { display: none; }
  .accred-group { flex-wrap: wrap; justify-content: center; }
}

/* ============================================================
   ARTICLES
   ============================================================ */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* Home page: compact title-only article tiles (no photo). Full cards live on Articles.html */
.articles-compact { align-items: stretch; }
.article-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; color: var(--ink); min-height: 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.article-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.article-tile h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.55; color: var(--ink); margin: 0; transition: color 0.3s; }
.article-tile:hover h3 { color: var(--primary); }
.article-tile-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.article-tile-more svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.article-tile:hover .article-tile-more svg { transform: translateX(-5px); }
/* Single article page (migrated content) */
.article-page { max-width: 820px; margin-inline: auto; }
.article-page-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.article-page-date { color: var(--muted); font-size: 0.9rem; }
.article-page-figure { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.article-page-figure img { width: 100%; height: auto; display: block; }
.article-page-body { font-size: 1.08rem; line-height: 2.1; color: var(--ink); }
.article-page-body p { margin-bottom: 20px; }
.article-page-back { margin-top: 38px; }
/* top "back to articles" link inside the dark article hero */
.article-back-top { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-weight: 600; font-size: 0.95rem; margin-bottom: 16px; transition: color 0.25s, gap 0.25s; }
.article-back-top svg { width: 18px; height: 18px; }
.article-back-top:hover { color: #fff; gap: 12px; }
.article-page-top-back { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: 0.95rem; margin-bottom: 22px; transition: gap 0.25s, color 0.25s; }
.article-page-top-back:hover { gap: 13px; color: var(--primary); }
.article-page-top-back svg { width: 18px; height: 18px; }
.article-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.article-thumb .ph { width: 100%; height: 100%; }
.article-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex: 1; margin-bottom: 18px; }
.article-tag {
  flex-shrink: 0; align-self: flex-start;
  background: rgba(14,42,37,0.9); color: var(--gold-light); font-size: 12px; font-weight: 600;
  padding: 6px 13px; border-radius: 100px; white-space: nowrap;
}
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 0.86rem; color: var(--muted); margin-bottom: 12px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; color: var(--gold); }
.article-card h3 { font-size: 1.16rem; font-weight: 600; line-height: 1.45; flex: 1; }
.article-card h3 a:hover { color: var(--primary); }
.article-more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 0.94rem; }
.article-more svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.article-card:hover .article-more svg { transform: translateX(var(--arrow, -4px)); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--primary-deep); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(ellipse 60% 80% at 12% 90%, rgba(194,155,64,0.16), transparent 55%);
}
.contact .container { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: stretch; }
.contact .eyebrow { color: var(--gold-light); }
.contact .eyebrow::before { background: var(--gold-light); }
.contact h2 { color: #fff; margin: 18px 0 18px; }
.contact .lead { color: rgba(255,255,255,0.74); }
.contact-info { display: grid; gap: 18px; margin-top: 40px; }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); background: rgba(255,255,255,0.03); transition: border-color 0.3s, background 0.3s; }
.contact-item:hover { border-color: rgba(194,155,64,0.5); background: rgba(255,255,255,0.05); }
.contact-item .ci-ico { width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--gold-tint); color: var(--gold-light); display: grid; place-items: center; }
.contact-item .ci-ico svg { width: 22px; height: 22px; }
.contact-item .ci-txt small { display: block; font-size: 0.84rem; color: rgba(255,255,255,0.55); margin-bottom: 3px; }
.contact-item .ci-txt b { font-size: 1.04rem; font-weight: 600; color: #fff; }
.contact-social { display: flex; gap: 12px; margin-top: 26px; }
.contact-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: all 0.3s; }
.contact-social a:hover { background: var(--gold); color: #20170A; border-color: var(--gold); transform: translateY(-3px); }
.contact-social svg { width: 18px; height: 18px; }

.contact-form {
  background: #fff; border-radius: var(--radius); padding: 38px 36px; box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.contact-form h3 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: 0.98rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0F172A; color: rgba(255,255,255,0.7); padding-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 56px; }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: rgba(255,255,255,0.55); }
.footer-about { margin-top: 22px; font-size: 0.96rem; line-height: 1.8; color: rgba(255,255,255,0.6); max-width: 340px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: grid; place-items: center; color: rgba(255,255,255,0.75); transition: all 0.3s; }
.footer-social a:hover { background: var(--gold); color: #20170A; border-color: var(--gold); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.96rem; transition: color 0.2s, padding-inline-start 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); padding-inline-start: 6px; }
.footer-accred { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); background: rgba(255,255,255,0.03); }
.footer-accred .seal { width: 48px; height: 48px; flex: none; color: var(--gold); }
.footer-accred .seal svg { width: 100%; height: 100%; }
.footer-accred p { font-size: 0.86rem; line-height: 1.7; color: rgba(255,255,255,0.62); }
.footer-accred b { color: #fff; display: block; margin-bottom: 5px; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============================================================
   IMAGE PLACEHOLDERS (striped)
   ============================================================ */
.ph {
  background-color: var(--primary-soft);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 11px);
  display: grid; place-items: center; color: rgba(255,255,255,0.7);
  font-family: var(--font-en); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}
.ph-light { background-color: var(--paper-2); background-image: repeating-linear-gradient(135deg, rgba(20,58,51,0.05) 0 2px, transparent 2px 11px); color: var(--muted); }

/* ============================================================
   REVEAL ANIMATIONS — v2 (blur + rise, directional variants)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(5px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); will-change: opacity, transform, filter; }
.reveal.rv-left { transform: translateX(-44px); }
.reveal.rv-right { transform: translateX(44px); }
.reveal.rv-scale { transform: scale(0.92) translateY(16px); }
/* tzamun-style entrances (extend the same .reveal/.in observer system) */
.reveal.rv-3d {
  transform: perspective(1000px) rotateX(12deg) translateY(40px);
  transform-origin: center bottom;
  transition: opacity 0.9s var(--ease), transform 0.95s var(--ease-overshoot), filter 0.9s var(--ease);
}
.reveal.rv-clip {
  transition: opacity 0.7s var(--ease), transform 1.05s var(--ease), filter 0.7s var(--ease), clip-path 1.05s var(--ease);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .reveal.rv-clip { clip-path: none; }
  html { scroll-behavior: auto; }
  .hero-scroll .mouse::before { animation: none; }
  .hero-enter, .accred-logo, .brand-logo, .about-gavel { animation: none !important; }
}
body.no-motion .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
body.no-motion .reveal.rv-clip { clip-path: none !important; }
body.no-motion .hero-scroll .mouse::before { animation: none; }
body.no-motion .hero-enter { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
body.no-motion .about-gavel { animation: none !important; transform: none !important; }
body.no-motion .page-hero .container > * { animation: none !important; opacity: 1 !important; }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,0.5); backdrop-filter: blur(3px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%; width: min(340px, 86vw); z-index: 100;
  background: var(--paper); box-shadow: var(--shadow-lg); padding: 26px 24px;
  transform: translateX(var(--drawer-hidden, 105%)); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
}
body[dir="rtl"] { --drawer-hidden: -105%; }
body[dir="ltr"] { --drawer-hidden: 105%; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.drawer-close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); }
.drawer-close svg { width: 22px; height: 22px; margin: auto; color: var(--primary); }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a { padding: 14px 16px; border-radius: 10px; font-weight: 500; font-size: 1.05rem; transition: background 0.2s; }
.drawer nav a:hover { background: var(--gold-tint); color: var(--primary); }
.drawer .btn { margin-top: 24px; justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 940px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .about .container { grid-template-columns: 1fr; gap: 80px; }
  .about-media { max-width: 460px; }
  .contact .container { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding-block: 72px; }
  .topbar-info .hide-sm { display: none; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .stat:nth-child(2)::after { display: none; }
  .services-grid, .articles-grid { grid-template-columns: 1fr; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge { inset-inline-start: 12px; }
  .hero-trust { gap: 28px; }
}
@media (max-width: 480px) {
  .container { padding-inline: 20px; }
  .topbar-info { gap: 14px; }
  .stats .container { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   VIDEO SECTION (Crown Prince speech)
   ============================================================ */
.video-section { background: var(--paper-2); border-block: 1px solid var(--line); }
.video-wrap {
  max-width: 920px; margin-inline: auto; aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-strong);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   INNER PAGE HERO (breadcrumb banner)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    linear-gradient(155deg, var(--primary) 0%, var(--primary-deep) 70%);
  color: #fff; padding-block: 84px 72px; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; margin-top: 14px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.65); }
.breadcrumb a { color: var(--gold-light); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.team-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 1 / 1; overflow: hidden; flex: none; }
.team-photo .ph { width: 100%; height: 100%; }
.team-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.team-body h3 { font-size: 1.22rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.team-role { display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
/* card shows title only; full bio lives in the click popup (kept in DOM, hidden on card) */
.team-bio { display: none; }
.team-role { margin-bottom: 0; }

@media (max-width: 940px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HERO ENTRANCE (load animation, no observer needed)
   ============================================================ */
@keyframes heroRise { from { opacity: 0; transform: translateY(40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-enter { animation: heroRise 1s var(--ease) both; }
.hero-enter.he1 { animation-delay: 0.1s; }
.hero-enter.he2 { animation-delay: 0.22s; }
.hero-enter.he3 { animation-delay: 0.34s; }
.hero-enter.he4 { animation-delay: 0.5s; }
@keyframes pageHeroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.page-hero .container > * { animation: pageHeroRise 0.9s var(--ease) both; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.12s; }

/* ============================================================
   MICRO-INTERACTIONS
   ============================================================ */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; top: 0; height: 100%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent); inset-inline-start: -60%; transform: skewX(-18deg); transition: inset-inline-start 0.7s var(--ease); }
.btn-gold:hover::after { inset-inline-start: 120%; }
.service-card:hover .service-ico svg { transform: scale(1.12) rotate(-6deg); }
.service-ico svg { transition: transform 0.45s var(--ease); }
.stat .stat-ico { transition: transform 0.5s var(--ease); }
.stat:hover .stat-ico { transform: translateY(-6px); }
.article-thumb .ph, .team-photo .ph { transition: transform 0.8s var(--ease); }
.article-card:hover .article-thumb .ph, .team-card:hover .team-photo .ph { transform: scale(1.05); }

/* ============================================================
   BRAND LOGO (real logo from aglc.sa, monogram fallback)
   ============================================================ */
.brand-logo { height: 56px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.footer .brand-logo { height: 62px; }
.drawer .brand-logo { height: 46px; }
.brand.has-logo .brand-text { display: none; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 40px 36px; position: relative; overflow: hidden; }
.vm-card.alt { background: var(--primary-deep); }
.vm-card::before { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(194,155,64,0.25); }
.vm-card .vm-ico { width: 54px; height: 54px; border-radius: 13px; background: var(--gold-tint); color: var(--gold-light); display: grid; place-items: center; margin-bottom: 22px; }
.vm-card .vm-ico svg { width: 26px; height: 26px; }
.vm-card h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 14px; color: #fff; }
.vm-card p { color: rgba(255,255,255,0.78); line-height: 1.85; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .v-num { font-family: var(--font-en); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; color: var(--gold); display: block; margin-bottom: 14px; }
.value-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { color: var(--muted); line-height: 1.8; font-size: 0.99rem; }
@media (max-width: 940px) { .about-intro .container, .vm-grid, .values-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 64px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; text-align: center; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card .cc-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); display: grid; place-items: center; margin: 0 auto 20px; }
.contact-card .cc-ico svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 1.02rem; }
.contact-card a:hover { color: var(--gold); }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 420px; background: var(--paper-2); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(0.85); }
.contact-page-form { background: var(--card); border: 1px solid var(--line); }
@media (max-width: 940px) { .contact-cards { grid-template-columns: 1fr; } .contact-split { grid-template-columns: 1fr; } }


/* ============================================================
   REAL IMAGES FROM ORIGINAL SITE (hot-linked)
   ============================================================ */
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.article-thumb img.thumb-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.accred-logo img { height: 72px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.about-logo-panel {
  aspect-ratio: 5 / 3.4;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(194,155,64,0.18), transparent 70%),
    linear-gradient(155deg, var(--primary-soft), var(--primary-deep));
  display: grid; place-items: center; padding: 40px;
  border: 1px solid rgba(194,155,64,0.22);
  position: relative; overflow: hidden;
}
.about-logo-panel::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,155,64,0.22), transparent 62%);
  filter: blur(8px); animation: logoGlow 5s ease-in-out infinite;
}
.about-logo-panel img.about-logo-img {
  position: relative; z-index: 1;
  width: 76%; max-width: 320px; height: auto;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,0.4));
  animation: logoFloat 5s var(--ease) infinite;
}
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes logoGlow { 0%, 100% { opacity: 0.55; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.06); } }
body.no-motion .about-logo-panel img.about-logo-img,
body.no-motion .about-logo-panel::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .about-logo-panel img.about-logo-img, .about-logo-panel::before { animation: none; }
}
.footer-accred .seal-img { width: 64px; height: auto; flex: none; background: #fff; border-radius: 10px; padding: 6px; }
.video-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 26px; align-items: stretch; max-width: 1060px; margin-inline: auto; }
.video-grid .video-wrap { max-width: none; }
.video-side { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-strong); }
.video-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } .video-side { max-height: 300px; } }

/* ---- Click-to-play video facade (poster = thumbnail) ---- */
.video-facade {
  position: relative; max-width: 940px; margin-inline: auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-strong);
}
.video-facade .video-poster {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s var(--ease), filter 0.4s;
}
.video-facade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(15,23,42,0.55), rgba(15,23,42,0.05) 45%, rgba(15,23,42,0.25));
  transition: opacity 0.4s; opacity: 1;
}
.video-facade:hover .video-poster { transform: scale(1.04); }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%; z-index: 2;
  background: var(--gold); color: #1A1206; display: grid; place-items: center;
  box-shadow: 0 14px 40px -8px rgba(194,155,64,0.7); transition: transform 0.35s var(--ease), background 0.3s;
}
body[dir="rtl"] .video-play svg { transform: none; }
.video-play svg { width: 36px; height: 36px; margin-inline-start: 0; margin-left: 5px; }
.video-play::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(194,155,64,0.5); animation: videoPulse 2.2s ease-out infinite;
}
@keyframes videoPulse { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold-light); }
.video-label {
  position: absolute; inset-inline-start: 0; bottom: 22px; inset-inline-end: 0; z-index: 2;
  text-align: center; color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5); pointer-events: none;
}
.video-facade.playing { cursor: default; }
.video-facade.playing .video-poster, .video-facade.playing::after,
.video-facade.playing .video-play, .video-facade.playing .video-label { display: none; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.no-motion .video-play::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .video-play::before { animation: none; } }


/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.svc-main h2 { font-size: 1.6rem; font-weight: 700; margin: 38px 0 16px; color: var(--primary); }
.svc-main h2:first-child { margin-top: 0; }
.svc-main p { color: var(--muted); line-height: 1.9; margin-bottom: 16px; font-size: 1.05rem; }
.svc-offers { display: grid; gap: 16px; margin: 20px 0 10px; }
.svc-offers li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; transition: border-color 0.3s, box-shadow 0.3s; }
.svc-offers li:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.svc-offers .dot { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); margin-top: 9px; transform: rotate(45deg); }
.svc-offers b { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.svc-offers span { color: var(--muted); font-size: 0.97rem; line-height: 1.75; }
.svc-why { display: grid; gap: 12px; margin-top: 18px; }
.svc-why li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.svc-why .chk { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); display: grid; place-items: center; margin-top: 2px; }
.svc-why .chk svg { width: 13px; height: 13px; }
.svc-cta { margin-top: 40px; background: var(--primary); color: #fff; border-radius: var(--radius); padding: 32px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.svc-cta b { font-size: 1.25rem; font-weight: 700; }
.svc-cta p { color: rgba(255,255,255,0.75); margin: 4px 0 0; font-size: 0.98rem; }
.svc-sidebar { display: grid; gap: 26px; position: sticky; top: 110px; }
.svc-side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.svc-side-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.svc-side-card ul { display: grid; gap: 4px; }
.svc-side-card ul a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 0.96rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
.svc-side-card ul a:hover { background: var(--gold-tint); color: var(--primary); }
.svc-side-card ul a.current { background: var(--primary); color: #fff; }
.svc-side-card ul a svg { width: 14px; height: 14px; opacity: 0.5; }
.svc-side-contact { background: var(--primary-deep); color: #fff; border: none; }
.svc-side-contact h3 { color: #fff; }
.svc-side-contact .sc-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.svc-side-contact .sc-row:last-child { border-bottom: none; }
.svc-side-contact .sc-row svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.svc-side-contact .sc-row a, .svc-side-contact .sc-row span { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.svc-side-contact .sc-row a:hover { color: var(--gold-light); }
@media (max-width: 940px) { .svc-layout { grid-template-columns: 1fr; } .svc-sidebar { position: static; } }


/* ============================================================
   MOTION v3 — scroll progress, card tilt, magnetic CTA,
   media wipe, eyebrow + accent draw   (AGLC brand)
   ============================================================ */

/* Scroll progress bar (top of viewport) */
.scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 12px rgba(194,155,64,0.55);
  z-index: 200; pointer-events: none;
}

/* Card tilt — needs preserve-3d + crisp backface while interacting */
.service-card, .article-card, .team-card, .value-card { transform-style: preserve-3d; }

/* Media wipe reveal (combines with .reveal — clip uncovers upward) */
.media-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease), opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.media-reveal.in { clip-path: inset(0 0 0 0); }

/* Eyebrow accent line draws in when its label reveals */
.eyebrow.reveal::before { transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease) 0.15s; }
body[dir="ltr"] .eyebrow.reveal::before { transform-origin: left; }
.eyebrow.reveal.in::before { transform: scaleX(1); }

/* Hero accent word — gold underline draws on load */
.hero h1 .accent { position: relative; }
.hero h1 .accent::after { display: none; }
body[dir="ltr"] .hero h1 .accent::after { transform-origin: left; }
@keyframes accentDraw { to { transform: scaleX(1); } }

/* Motion guards */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .media-reveal { clip-path: none !important; }
  .eyebrow.reveal::before { transform: scaleX(1); }
  .hero h1 .accent::after { animation: none; transform: scaleX(1); }
}
body.no-motion .scroll-progress { display: none; }
body.no-motion .media-reveal { clip-path: none !important; }
body.no-motion .eyebrow.reveal::before { transform: scaleX(1) !important; }
body.no-motion .hero h1 .accent::after { animation: none !important; transform: scaleX(1) !important; }

/* ============================================================
   TEAM MEMBER POPUP
   ============================================================ */
.team-card { cursor: pointer; }
.team-modal-backdrop {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px;
  background: rgba(15,23,42,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
  perspective: 1600px;   /* 3D space so the modal can flip in */
}
.team-modal-backdrop.open { opacity: 1; pointer-events: auto; }
.team-modal {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  width: 100%; max-width: 880px; max-height: 90vh; overflow: hidden; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 0.85fr 1.05fr; align-items: stretch;
  transform-origin: center center; transform: rotateY(-90deg); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.45s var(--ease);
}
.team-modal-backdrop.open .team-modal { transform: rotateY(0deg); opacity: 1; }
.tm-close {
  position: absolute; inset-inline-end: 14px; top: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.9); border: 1px solid var(--line); color: var(--primary);
  transition: background 0.2s, transform 0.2s;
}
.tm-close:hover { background: #fff; transform: rotate(90deg); }
.tm-close svg { width: 20px; height: 20px; }
/* full photo (never cropped) in its own column */
.tm-photo { height: 100%; min-height: 340px; overflow: hidden; background: var(--paper-2); }
.tm-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
/* full bio in the other column; only the text scrolls if a bio is very long */
.tm-body { padding: 38px 34px; overflow-y: auto; align-self: stretch; scrollbar-width: none; -ms-overflow-style: none; }
.tm-body::-webkit-scrollbar { width: 0; display: none; }
.tm-name { font-size: 1.6rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.tm-role { display: inline-block; font-size: 0.98rem; font-weight: 600; color: var(--gold); margin-bottom: 20px; }
.tm-bio { font-size: 1.02rem; line-height: 2; color: var(--muted); }
@media (max-width: 720px) {
  .team-modal { grid-template-columns: 1fr; max-width: 460px; max-height: 90vh; overflow-y: auto; scrollbar-width: none; }
  .team-modal::-webkit-scrollbar { display: none; }
  .tm-photo { height: auto; max-height: 56vh; min-height: 0; }
  .tm-body { padding: 24px 24px 28px; overflow: visible; }
  .tm-name { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .team-modal, .team-modal-backdrop { transition: none; }
  .team-modal { transform: none; }
}
body.no-motion .team-modal, body.no-motion .team-modal-backdrop { transition: none !important; }
body.no-motion .team-modal { transform: none !important; }

/* ============================================================
   HOMEPAGE: services expanding cards + team
   ============================================================ */

/* ---------- Services: expanding cards ---------- */
.xc { display: flex; flex-direction: column; gap: 10px; }
.xc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.xc-item.is-active { background: var(--primary); border-color: var(--primary); box-shadow: var(--shadow); }
.xc-trigger {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 15px 18px;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: start;
}
.xc-trigger:focus-visible, .ta-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: var(--radius); }
.xc-num { font: 600 .8rem var(--font-en); letter-spacing: .06em; color: var(--gold); flex: none; }
.xc-ico, .xc-panel-ico {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gold-tint); color: var(--gold);
}
.xc-ico svg, .xc-panel-ico svg { width: 21px; height: 21px; }
.xc-title { flex: 1; font-weight: 700; font-size: 1rem; line-height: 1.45; color: var(--primary); transition: color .3s; }
.xc-item.is-active .xc-title { color: #fff; }
.xc-chev { width: 18px; height: 18px; flex: none; color: var(--gold); transition: transform .4s var(--ease); }
.xc-item.is-active .xc-chev { transform: rotate(180deg); }

.xc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.xc-item.is-active .xc-panel { grid-template-rows: 1fr; }
.xc-clip { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility .45s; }
.xc-item.is-active .xc-clip { visibility: visible; }
.xc-inner { padding: 2px 18px 22px; color: rgba(255,255,255,.8); }
.xc-panel-ico, .xc-inner h3 { display: none; }
.xc-inner p { font-size: .96rem; line-height: 1.85; margin: 0 0 14px; }
.xc-inner ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.xc-inner li { position: relative; padding-inline-start: 18px; font-size: .92rem; line-height: 1.6; color: #fff; }
.xc-inner li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.xc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-light); }
.xc-link svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
[dir="rtl"] .xc-link svg { transform: scaleX(-1); }
.xc-link:hover svg { transform: translateX(4px); }
[dir="rtl"] .xc-link:hover svg { transform: scaleX(-1) translateX(4px); }

@media (min-width: 1024px) {
  .xc { flex-direction: row; height: 540px; container-type: inline-size; }
  .xc-item { position: relative; flex: 1 1 0; min-width: 0; transition: flex-grow .6s var(--ease), background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }
  .xc-item:not(.is-active):hover { border-color: var(--gold); }
  .xc-item.is-active { flex-grow: 7; }
  .xc-trigger { position: absolute; inset: 0; flex-direction: column; justify-content: flex-start; padding: 22px 0; gap: 16px; }
  .xc-title { flex: none; writing-mode: vertical-rl; max-height: 380px; font-size: .98rem; line-height: 1.3; }
  .xc-chev { display: none; }
  .xc-item.is-active .xc-trigger { opacity: 0; pointer-events: none; }
  .xc-panel { position: absolute; inset: 0; display: block; pointer-events: none; }
  .xc-item.is-active .xc-panel { pointer-events: auto; }
  .xc-clip { height: 100%; opacity: 0; transition: opacity .2s, visibility .2s; }
  .xc-item.is-active .xc-clip { opacity: 1; transition: opacity .45s .22s, visibility 0s; }
  .xc-inner { box-sizing: border-box; width: calc((100cqw - 80px) * 7 / 15); height: 100%; padding: 36px; display: flex; flex-direction: column; }
  .xc-panel-ico { display: grid; margin-bottom: 20px; background: rgba(194,155,64,.18); color: var(--gold-light); }
  .xc-inner h3 { display: block; margin: 0 0 12px; font-size: 1.5rem; line-height: 1.35; font-weight: 700; color: #fff; }
  .xc-link { margin-top: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .xc { height: 660px; }
  .xc-inner { padding: 26px; }
  .xc-inner h3 { font-size: 1.3rem; }
}

/* ---------- Team ---------- */
.team-home { background: var(--paper-2); }
.tf-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.tf-card {
  display: grid; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.tf-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--primary); }
.tf-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.tf-body { padding: 24px; }
.tf-role { display: block; font-size: .88rem; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.tf-body h3 { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.4; color: var(--primary); }
.tf-body p { margin: 0; font-size: .94rem; line-height: 1.85; color: var(--muted); }

.ta {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.ta::-webkit-scrollbar { display: none; }
.ta-item {
  position: relative; flex: 0 0 82%; max-width: 330px; height: 480px;
  overflow: hidden; scroll-snap-align: center;
  border-radius: var(--radius); background: var(--primary);
}
.ta-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 15%;
  transition: filter .5s var(--ease);
}
.ta-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(15,23,42,.96) 0%, rgba(15,23,42,.82) 34%, rgba(15,23,42,0) 68%);
}
.ta-trigger { position: absolute; inset: 0; z-index: 3; background: none; border: 0; padding: 0; cursor: pointer; }
.ta-info { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 20px; color: #fff; pointer-events: none; }
.ta-info h3 { margin: 0 0 3px; font-size: 1.14rem; line-height: 1.4; color: #fff; }
.ta-role { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 600; color: var(--gold-light); }
.ta-info p { margin: 0; font-size: .85rem; line-height: 1.75; color: rgba(255,255,255,.86); }
.ta-vname { display: none; }
.ta-hint { margin: 12px 0 0; text-align: center; font-size: .86rem; color: var(--muted); }

@media (min-width: 720px) {
  .tf-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .tf-card { grid-template-columns: 42% 1fr; }
  .tf-photo { aspect-ratio: auto; min-height: 340px; }
  .ta { overflow: visible; height: 560px; gap: 8px; padding: 0; container-type: inline-size; }
  .ta-item { flex: 1 1 0; min-width: 0; max-width: none; height: auto; transition: flex-grow .6s var(--ease); }
  .ta-item.is-active { flex-grow: 7; }
  .ta-item:not(.is-active) img { filter: saturate(.7) brightness(.82); }
  .ta-info { box-sizing: border-box; width: calc((100cqw - 80px) * 7 / 17); padding: 26px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .ta-item.is-active .ta-info { opacity: 1; visibility: visible; transition: opacity .45s .22s, visibility 0s; }
  .ta-vname {
    display: block; position: absolute; z-index: 2; bottom: 18px; left: 50%;
    transform: translateX(-50%); writing-mode: vertical-rl; white-space: nowrap;
    font-size: .92rem; font-weight: 600; color: #fff; transition: opacity .25s;
  }
  .ta-item.is-active .ta-vname { opacity: 0; }
  .ta-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .xc-item, .xc-panel, .xc-clip, .ta-item, .ta-info, .ta-item img { transition: none !important; }
}

/* Honeypot stays out of the layout in both text directions */
.contact-form { position: relative; }
.hp-field { position: absolute; inset-inline-start: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

/* Side-entrance animations must not widen the page on smaller screens */
@media (max-width: 1400px) {
  .reveal.rv-left, .reveal.rv-right { transform: translateY(28px); }
}

/* Keep the header on one line on small laptops */
.nav a, .header-cta .btn { white-space: nowrap; }
@media (max-width: 1240px) {
  .header .container { gap: 12px; }
  .nav a { padding-inline: 9px; font-size: 15px; }
  .nav a::after { inset-inline: 9px; }
  .header-cta { gap: 8px; }
  .header-platform { display: none; }
  .header-cta .btn { padding-inline: 18px; }
}

/* ---------- Contact on the homepage (split contact card) ---------- */
.contact-home { background: var(--paper-2); }
.cc {
  position: relative; display: grid;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cc-plus { position: absolute; width: 19px; height: 19px; z-index: 2; pointer-events: none; color: var(--gold); }
.cc-plus::before, .cc-plus::after { content: ""; position: absolute; background: currentColor; }
.cc-plus::before { left: 9px; top: 0; width: 1px; height: 19px; }
.cc-plus::after { top: 9px; left: 0; height: 1px; width: 19px; }
.cc-p1 { top: -10px; left: -10px; } .cc-p2 { top: -10px; right: -10px; }
.cc-p3 { bottom: -10px; left: -10px; } .cc-p4 { bottom: -10px; right: -10px; }

.cc-info {
  padding: 34px 24px; color: rgba(255,255,255,.78);
  background: var(--primary);
  background-image: radial-gradient(circle at 100% 0, rgba(194,155,64,.2), transparent 46%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.cc-info .eyebrow { color: var(--gold-light); }
.cc-info .eyebrow::before { background: var(--gold-light); }
.cc-info h2 { margin: 16px 0 14px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cc-info .lead { color: rgba(255,255,255,.76); font-size: 1.02rem; }
.cc-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 4px; }
.cc-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); transition: color .25s; }
.cc-list li:last-child a { border-bottom: 0; }
.cc-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: var(--radius-sm); background: rgba(194,155,64,.16); color: var(--gold-light); transition: background .25s, color .25s; }
.cc-ico svg { width: 20px; height: 20px; }
.cc-list a:hover .cc-ico { background: var(--gold); color: #20170A; }
.cc-list small { display: block; font-size: .8rem; color: rgba(255,255,255,.6); }
.cc-list b { display: block; font-size: 1rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.cc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cc-actions .contact-social { margin-top: 0; }

.cc .contact-form { padding: 32px 24px; background: none; border-radius: 0; box-shadow: none; }
.cc-map { height: 260px; overflow: hidden; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.cc-map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (min-width: 960px) {
  .cc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .cc-info { padding: 46px 40px; border-radius: var(--radius) 0 0 0; }
  [dir="rtl"] .cc-info { border-radius: 0 var(--radius) 0 0; }
  .cc .contact-form { padding: 46px 40px 38px; }
  .cc-map { grid-column: 1 / -1; height: 300px; }
}

/* ---------- Articles index ---------- */
.ax-feature {
  display: grid; overflow: hidden; margin-bottom: 64px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.ax-feature:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.ax-feature[hidden], .ax-card[hidden] { display: none; }
.ax-feature-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.ax-feature-media img, .ax-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .7s var(--ease); }
.ax-feature:hover .ax-feature-media img, .ax-card:hover .ax-media img { transform: scale(1.04); }
.ax-feature-body { display: flex; flex-direction: column; justify-content: center; padding: 26px 22px; }
.ax-feature-label { font-size: .84rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.ax-feature-body h2 { margin: 12px 0; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--primary); }
.ax-feature-body p { margin: 0 0 20px; color: var(--muted); line-height: 1.85; }

.ax-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .84rem; color: var(--muted); }
.ax-tag { padding: 3px 11px; border-radius: 999px; background: var(--gold-tint); color: #7D6230; font-weight: 600; font-size: .8rem; }
.ax-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.ax-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); }
.ax-more svg { width: 18px; height: 18px; color: var(--gold); transition: transform .35s var(--ease); }
[dir="rtl"] .ax-more svg { transform: scaleX(-1); }
a:hover > .ax-more svg, .ax-card:hover .ax-more svg { transform: translateX(4px); }
[dir="rtl"] a:hover > .ax-more svg, [dir="rtl"] .ax-card:hover .ax-more svg { transform: scaleX(-1) translateX(4px); }

.ax-bar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.ax-bar h2 { margin: 0; font-size: 1.7rem; color: var(--primary); }
.ax-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px; }
.ax-filters::-webkit-scrollbar { display: none; }
.ax-filter {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink);
  transition: background .25s, border-color .25s, color .25s;
}
.ax-filter:hover { border-color: var(--gold); }
.ax-filter:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ax-filter[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.ax-n { font: 600 .76rem var(--font-en); color: var(--muted); }
.ax-filter[aria-pressed="true"] .ax-n { color: var(--gold-light); }

.ax-grid { display: grid; gap: 22px; }
.ax-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  animation: axIn .5s var(--ease) both;
}
.ax-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
@keyframes axIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ax-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.ax-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.ax-body h3 { margin: 12px 0 8px; font-size: 1.14rem; line-height: 1.55; color: var(--primary); }
.ax-body h3 a:hover { color: var(--gold); }
.ax-body p { margin: 0 0 16px; font-size: .92rem; line-height: 1.8; color: var(--muted); }
.ax-body .ax-more { margin-top: auto; font-size: .94rem; }
html[lang="en"] .ax-excerpt { display: none; }

@media (min-width: 680px) and (max-width: 959px) {
  .ax-card.ax-w2-2 { grid-column: span 2; flex-direction: row; }
  .ax-card.ax-w2-2 .ax-media { flex: 0 0 46%; aspect-ratio: auto; }
}
@media (min-width: 960px) {
  .ax-card.ax-w3-3, .ax-card.ax-w3-2 { flex-direction: row; }
  .ax-card.ax-w3-3 { grid-column: span 3; }
  .ax-card.ax-w3-2 { grid-column: span 2; }
  .ax-card.ax-w3-3 .ax-media, .ax-card.ax-w3-2 .ax-media { flex: 0 0 44%; aspect-ratio: auto; min-height: 260px; }
  .cc-info { display: flex; flex-direction: column; }
  .cc-actions { margin-top: auto; }
}
@media (min-width: 680px) { .ax-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .ax-feature { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .ax-feature-media { aspect-ratio: auto; min-height: 400px; }
  .ax-feature-body { padding: 44px 40px; }
  .ax-bar { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .ax-filters { flex-wrap: wrap; justify-content: flex-end; overflow: visible; margin: 0; padding: 0; }
  .ax-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) { .ax-card { animation: none; } }

/* Security check fits inside the form on very small phones */
.cc .cf-turnstile { margin-bottom: 14px; }
@media (max-width: 380px) {
  .cc .cf-turnstile { transform: scale(.8); transform-origin: top left; height: 54px; }
  [dir="rtl"] .cc .cf-turnstile { transform-origin: top right; }
}

/* ---------- Articles: curved moving row ---------- */
.articles-curve { padding-bottom: 72px; overflow: hidden; }
.articles-curve .services-head { margin-bottom: 20px; }
.tg { position: relative; height: clamp(380px, 36vw, 540px); container-type: size; overflow: hidden; }
.tg-band { position: absolute; inset: 0; transition: opacity .5s; }
.tg-band:hover .tg-tile { animation-play-state: paused !important; }
.tg-tile { position: absolute; display: block; transform-style: preserve-3d; cursor: pointer; }
.tg-s { position: absolute; top: 0; overflow: hidden; background: var(--primary); }
.tg-c { position: absolute; top: 0; overflow: hidden; color: #fff; background: var(--primary); }
.tg-c img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; transition: filter .35s; }
.tg-tile:hover .tg-c img { filter: brightness(1.08); }
.tg-c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.97) 0%, rgba(15,23,42,.78) 36%, rgba(15,23,42,0) 72%); }
.tg-text { position: absolute; z-index: 1; inset-inline: calc(var(--u) * .075); bottom: calc(var(--u) * .07); }
.tg-tag {
  display: inline-block; margin-bottom: calc(var(--u) * .035); padding: calc(var(--u) * .012) calc(var(--u) * .045);
  border-radius: 999px; background: var(--gold); color: #20170A;
  font-size: calc(var(--u) * .052); font-weight: 700; line-height: 1.5;
}
.tg-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-size: calc(var(--u) * .078); font-weight: 700; line-height: 1.45; color: #fff;
}
.tg-more { display: block; margin-top: calc(var(--u) * .025); font-size: calc(var(--u) * .056); font-weight: 600; color: var(--gold-light); }

/* Plain links: search engines, keyboards, and browsers without JavaScript */
.tg-list { list-style: none; margin: 24px auto 0; padding: 0; display: grid; gap: 10px; }
.tg-list a { font-weight: 600; color: var(--primary); }
.tg-ready .tg-list:not(:focus-within) {
  position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Accreditations: infinite slider ---------- */
.is {
  --is-gap: 72px;
  direction: ltr; overflow: hidden; margin-top: 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.is-track { display: flex; width: max-content; direction: ltr; will-change: transform; }
.is-set { display: flex; flex: none; align-items: center; gap: var(--is-gap); padding-inline-end: var(--is-gap); }
.is-logo { flex: none; display: grid; place-items: center; height: 84px; }
.is-logo img { display: block; width: auto; height: auto; max-width: 170px; max-height: 76px; object-fit: contain; }

@media (max-width: 640px) {
  .articles-curve { padding-bottom: 52px; }
  .tg { height: 300px; }
  .is { --is-gap: 44px; margin-top: 22px; }
  .is-logo { height: 64px; }
  .is-logo img { max-width: 124px; max-height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .is { -webkit-mask-image: none; mask-image: none; }
  .is-track { width: auto; justify-content: center; }
  .is-set { flex-wrap: wrap; justify-content: center; padding: 0 20px; gap: 28px; }
}

/* Section labels: larger, readable, no side line (site-wide) */
.eyebrow { gap: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 700; letter-spacing: 0; color: #806228; }
.eyebrow::before { display: none; }
body[dir="ltr"] .eyebrow { letter-spacing: 0; text-transform: none; }
.hero .eyebrow, .platforms .eyebrow, .contact .eyebrow, .cc-info .eyebrow { color: var(--gold-light); }
.hero .eyebrow { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; }

/* Footer column titles are labels, not page headings */
.footer-col .fh { color: #fff; font-size: 1.05rem; font-weight: 600; margin: 0 0 22px; position: relative; padding-bottom: 12px; }
.footer-col .fh::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }

/* Article pages: shared metadata, booking prompt, related articles */
.article-page-meta { margin-bottom: 22px; }
.article-cta { margin-top: 44px; }
.article-related { max-width: 1120px; margin: 72px auto 0; }
.article-related h2 { margin-bottom: 24px; font-size: 1.7rem; color: var(--primary); }

/* Service FAQs and article sub-headings */
.faq-list { display: grid; gap: 10px; margin-top: 18px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { position: relative; padding: 16px 18px; padding-inline-end: 46px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.6; color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; inset-inline-end: 18px; top: 13px; font-size: 1.4rem; line-height: 1.4; color: var(--gold); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq-item p { margin: 0; padding: 0 18px 18px; color: var(--muted); line-height: 1.9; }
.article-sub { margin: 30px 0 12px; font-size: 1.3rem; line-height: 1.5; color: var(--primary); }

/* Privacy policy and terms */
.legal-page { max-width: 820px; margin-inline: auto; }
.legal-page h2 { margin: 34px 0 12px; font-size: 1.35rem; line-height: 1.5; color: var(--primary); }
.legal-page p { margin: 0 0 14px; line-height: 2; overflow-wrap: anywhere; }
.form-consent { margin-top: 6px; }
.form-consent a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   REMAINING PAGES: about, services, articles, legal, 404
   ============================================================ */
/* About: bento */
.ab-bento { display: grid; gap: 18px; }
.ab-story { position: relative; overflow: hidden; padding: 32px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ab-story::after { content: ""; position: absolute; inset-inline-end: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--gold-tint), transparent 70%); pointer-events: none; }
.ab-story h2 { margin: 12px 0 18px; }
.ab-story .lead { position: relative; z-index: 1; margin: 0 0 14px; font-size: 1.05rem; }
.ab-story .lead:last-child { margin-bottom: 0; }
.ab-card { position: relative; overflow: hidden; padding: 28px 24px; color: #fff; background: var(--primary); border-radius: var(--radius); }
.ab-card.alt { background: var(--primary-deep); }
.ab-card::before { content: ""; position: absolute; inset-inline-end: -70px; top: -70px; width: 190px; height: 190px; border: 1px solid rgba(215,186,121,.22); border-radius: 50%; }
.ab-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 12px; background: rgba(194,155,64,.16); color: var(--gold-light); }
.ab-ico svg { width: 24px; height: 24px; }
.ab-card h3 { margin-bottom: 10px; font-size: 1.35rem; font-weight: 700; color: #fff; }
.ab-card p { margin: 0; line-height: 1.85; color: rgba(255,255,255,.8); }

/* About: values grid */
.vg-wrap { position: relative; }
.vg { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.vg-cell { padding: 28px 24px; background: var(--paper); transition: background .3s; }
.vg-cell:hover { background: #fff; }
.vg-n { display: block; margin-bottom: 14px; font: 600 .85rem var(--font-en); letter-spacing: .1em; color: #806228; }
.vg-cell h3 { margin-bottom: 10px; font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.vg-cell p { margin: 0; font-size: .97rem; line-height: 1.85; color: var(--muted); }

/* About: why us */
.ab-why { background: var(--paper-2); border-block: 1px solid var(--line); }
.wh { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.wh-cell { position: relative; overflow: hidden; padding: 30px 24px; background: var(--paper-2); }
.wh-cell::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #fff, transparent); opacity: 0; transition: opacity .3s; }
.wh-cell::after { content: ""; position: absolute; inset-inline-start: 0; top: 30px; width: 3px; height: 26px; background: var(--line-strong); border-radius: 0 3px 3px 0; transition: height .3s var(--ease), background .3s; }
.wh-cell:hover::before { opacity: 1; }
.wh-cell:hover::after { height: 54px; background: var(--gold); }
.wh-ico, .wh-cell h3, .wh-cell p { position: relative; z-index: 1; }
.wh-ico { display: block; width: 26px; height: 26px; margin-bottom: 16px; color: #806228; }
.wh-ico svg { width: 100%; height: 100%; }
.wh-cell h3 { margin-bottom: 10px; font-size: 1.1rem; font-weight: 700; color: var(--primary); transition: transform .3s var(--ease); }
.wh-cell:hover h3 { transform: translateX(6px); }
[dir="rtl"] .wh-cell:hover h3 { transform: translateX(-6px); }
.wh-cell p { margin: 0; font-size: .95rem; line-height: 1.8; color: var(--muted); }

/* Closing call to action */
.cb { position: relative; padding: 42px 22px; text-align: center; background: #fff; border: 1px solid var(--line-strong); }
.cb h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--primary); }
.cb p { margin: 0 0 22px; color: var(--muted); }
.cb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cb-alt { color: var(--primary); border-color: var(--line-strong); }
.cb-alt:hover { color: var(--primary); border-color: var(--gold); background: var(--gold-tint); }

/* Services: offers */
.of-grid { display: grid; gap: 1px; margin: 20px 0 10px; overflow: hidden; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.of-cell { padding: 24px 22px; background: #fff; transition: background .25s; }
.of-cell:hover { background: var(--paper); }
.of-n { display: block; margin-bottom: 10px; font: 600 .8rem var(--font-en); letter-spacing: .08em; color: #806228; }
.of-cell h3 { margin-bottom: 6px; font-size: 1.05rem; font-weight: 700; line-height: 1.5; color: var(--primary); }
.svc-main .of-cell p { margin: 0; font-size: .95rem; line-height: 1.75; }

/* Services: FAQ */
.fq-sec { background: var(--paper-2); border-top: 1px solid var(--line); }
.fq { display: grid; gap: 30px; }
.fq-card { margin-top: 22px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fq-card b { display: block; margin-bottom: 4px; font-size: 1.1rem; color: var(--primary); }
.fq-card p { margin: 0 0 16px; font-size: .95rem; line-height: 1.75; color: var(--muted); }
.fq-card .btn { width: 100%; justify-content: center; }
.fq-mail { display: block; margin-top: 12px; text-align: center; font-size: .9rem; font-weight: 600; color: var(--primary); }
.fq-item { border-bottom: 1px solid var(--line-strong); }
.fq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.6; color: var(--primary); }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fq-chev { flex: none; width: 20px; height: 20px; color: #806228; transition: transform .3s var(--ease); }
.fq-item[open] .fq-chev { transform: rotate(180deg); }
.fq-item p { margin: 0; padding: 0 2px 20px; line-height: 1.9; color: var(--muted); }

/* Articles: reading layout */
.ar-layout { display: grid; gap: 36px; }
.ar-layout .article-page { min-width: 0; max-width: none; margin: 0; }
.ar-side { display: none; }
.ar-box { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ar-track { height: 5px; overflow: hidden; border-radius: 99px; background: var(--paper-2); }
.ar-track span { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--gold); }
.ar-progress small { display: block; margin-top: 8px; font-size: .84rem; color: var(--muted); }
.ar-firm b { display: block; font-size: 1.05rem; color: var(--primary); }
.ar-firm > span { display: block; margin-bottom: 14px; font-size: .86rem; color: var(--muted); }
.ar-firm .btn { width: 100%; justify-content: center; padding-inline: 14px; }
.article-sub, .legal-page h2 { scroll-margin-top: 110px; }

/* Table of contents */
.toc b { display: block; margin-bottom: 10px; font-size: .92rem; color: var(--primary); }
.toc ul, .toc-m ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 12px; font-size: .9rem; line-height: 1.55; color: var(--muted); border-inline-start: 2px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--primary); }
.toc a.is-active { font-weight: 600; color: var(--primary); border-inline-start-color: var(--gold); }
.toc-m { margin-bottom: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.toc-m summary { padding: 14px 16px; cursor: pointer; font-weight: 700; color: var(--primary); }
.toc-m ul { padding: 0 16px 12px; }
.toc-m a { display: block; padding: 7px 0; font-size: .94rem; color: var(--muted); }

/* Legal pages */
.lg-layout { display: grid; gap: 24px; }
.lg-layout .legal-page { min-width: 0; max-width: none; margin: 0; }
.lg-side { display: none; }

/* 404 */
.nf { max-width: 560px; margin-inline: auto; text-align: center; }
.nf-num { font: 700 clamp(6rem, 22vw, 10.5rem)/1 var(--font-en); background: linear-gradient(180deg, var(--primary), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { margin: 10px 0 12px; color: var(--primary); }
.nf-links { list-style: none; margin: 26px 0; padding: 0; overflow: hidden; text-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.nf-links li + li { border-top: 1px solid var(--line); }
.nf-links a { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; font-weight: 600; color: var(--primary); transition: background .2s; }
.nf-links a:hover { background: var(--paper); }
.nf-links svg { width: 18px; height: 18px; color: #806228; }
[dir="rtl"] .nf-links svg { transform: scaleX(-1); }

@media (min-width: 640px) {
  .vg, .wh, .of-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svc-main .svc-why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
}
@media (min-width: 960px) {
  .ab-bento { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .ab-story { display: flex; flex-direction: column; justify-content: center; grid-row: 1 / 3; padding: 48px 44px; }
  .ab-card { padding: 32px; }
  .fq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .fq-intro { position: sticky; top: 108px; }
  .cb { padding: 54px 40px; }
}
@media (min-width: 1024px) {
  .vg, .wh { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ar-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 52px; align-items: start; }
  .ar-side, .lg-side { display: grid; gap: 14px; position: sticky; top: 108px; max-height: calc(100vh - 128px); overflow-y: auto; scrollbar-width: thin; }
  .lg-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 52px; align-items: start; }
  .toc-m { display: none; }
}

/* Service pages: the "All Services" card stays in view; quick contact sits at the end of the column */
.svc-main .fq-list { margin-top: 12px; }
.svc-main .fq-item p { margin: 0; padding: 0 2px 20px; font-size: 1rem; }
.svc-main .fq-card { margin-top: 26px; }
.svc-main .fq-card p { margin: 0 0 16px; font-size: .95rem; }
@media (min-width: 941px) {
  .svc-layout { align-items: stretch; }
  .svc-sidebar { position: static; display: flex; flex-direction: column; gap: 26px; }
  .svc-side-stick { flex: 1 1 auto; }
  .svc-side-nav { position: sticky; top: 108px; max-height: calc(100vh - 128px); overflow-y: auto; scrollbar-width: thin; }
}
@media (min-width: 640px) {
  .svc-main .fq-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; }
  .svc-main .fq-card b, .svc-main .fq-card p { grid-column: 1; }
  .svc-main .fq-card p { margin-bottom: 0; }
  .svc-main .fq-card .btn { grid-column: 2; grid-row: 1 / 3; width: auto; }
  .svc-main .fq-mail { grid-column: 1 / -1; margin-top: 10px; text-align: start; }
}

/* ===== 2026-11-20 redesign: mobile, hero, services, team ===== */
/* ============================================================
   PHONE AND TABLET EXPERIENCE
   ============================================================ */
.m-bar, .m-chips, .m-sec, .m-sheet, .m-sheet-back { display: none; }

/* Bottom bars */
.m-bar {
  position: fixed; z-index: 70; inset-inline: 0; bottom: 0;
  align-items: center; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(15,23,42,.35);
}
.m-line { position: absolute; inset-inline: 0; top: -1px; height: 3px; background: var(--paper-2); }
.m-line i { display: block; width: 0; height: 100%; background: var(--gold); }
.m-toc { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font: inherit; font-size: .88rem; font-weight: 700; color: var(--primary); cursor: pointer; }
.m-toc svg { width: 18px; height: 18px; color: #806228; }
.m-left { flex: 1; min-width: 0; font-size: .82rem; line-height: 1.3; color: var(--muted); }
.m-book { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--gold); color: #20170A; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.m-book-wide { flex: 1; }
.m-call { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--primary); background: #fff; }
.m-call svg { width: 20px; height: 20px; }

/* Bottom sheet */
.m-sheet-back { position: fixed; inset: 0; z-index: 108; background: rgba(10,24,40,.5); opacity: 0; pointer-events: none; transition: opacity .25s; }
.m-sheet-back.open { opacity: 1; pointer-events: auto; }
.m-sheet {
  position: fixed; z-index: 110; inset-inline: 0; bottom: 0; flex-direction: column;
  max-height: 72vh; padding-bottom: env(safe-area-inset-bottom);
  background: #fff; border-radius: 18px 18px 0 0;
  transform: translateY(105%); visibility: hidden; transition: transform .32s var(--ease), visibility .32s;
}
.m-sheet.open { transform: none; visibility: visible; }
.m-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.m-sheet-head b { font-size: 1.05rem; color: var(--primary); }
.m-sheet-close { display: grid; place-items: center; width: 44px; height: 44px; margin-inline-end: -10px; border: 0; background: none; color: var(--primary); cursor: pointer; }
.m-sheet-close svg { width: 22px; height: 22px; }
.m-sheet-list { list-style: none; margin: 0; padding: 6px 10px 14px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.m-sheet-list a { display: block; padding: 12px 10px; border-radius: 8px; line-height: 1.5; color: var(--ink); }
.m-sheet-list a.is-active { font-weight: 700; color: var(--primary); background: var(--gold-tint); }

/* Services: swipeable service list */
.m-chips {
  position: sticky; z-index: 30; top: var(--m-head, 72px); gap: 8px;
  margin: -24px calc(50% - 50vw) 26px; padding: 10px 20px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.m-chips::-webkit-scrollbar { display: none; }
.m-chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.m-chip.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Privacy + terms: current section */
.m-sec {
  position: sticky; z-index: 30; top: var(--m-head, 72px); align-items: center; justify-content: space-between; gap: 12px;
  width: calc(100% + 40px); margin: -24px -20px 20px; padding: 9px 20px; min-height: 58px;
  background: var(--paper); border: 0; border-bottom: 1px solid var(--line); font: inherit; text-align: start; cursor: pointer;
}
.m-sec-txt { min-width: 0; }
.m-sec small { display: block; font-size: .76rem; color: var(--muted); }
.m-sec b { display: block; overflow: hidden; font-size: .95rem; line-height: 1.5; color: var(--primary); white-space: nowrap; text-overflow: ellipsis; }
.m-sec svg { flex: none; width: 20px; height: 20px; color: #806228; }

@media (max-width: 1023.98px) {
  .m-sheet { display: flex; }
  .m-sheet-back { display: block; }
  body.m-article .m-bar.is-article { display: flex; }
  body.m-article .footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body.m-article .toc-m, body.m-legal .toc-m { display: none; }
  body.m-legal .m-sec { display: flex; }
}
@media (max-width: 940px) {
  .svc-main { min-width: 0; }
  body.m-service .m-bar.is-service { display: flex; }
  body.m-service .footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body.m-service .m-chips { display: flex; }
  body.m-service .svc-side-stick { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .m-sheet, .m-sheet-back { transition: none; }
}

/* ------------------------------------------------------------
   Phone designs
   ------------------------------------------------------------ */
.m-nav, .m-team, .m-stack-ctl, .m-dw-grab, .m-dw-back, .m-dw-lang { display: none; }
[dir="rtl"] .m-flip { transform: scaleX(-1); }

@media (max-width: 940px) {
  /* Bottom navigation */
  body.m-has-nav .footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body.m-has-nav .m-nav { display: flex; }
  .m-nav {
    position: fixed; z-index: 72; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    justify-content: space-between; gap: 3px; max-width: 460px; margin-inline: auto; padding: 6px;
    background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 16px 34px -14px rgba(15,23,42,.42); transition: transform .3s var(--ease);
  }
  body.m-typing .m-nav { transform: translateY(calc(100% + 34px)); }
  .m-nav-item {
    flex: 0 0 44px; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 46px;
    overflow: hidden; border-radius: 999px; color: var(--primary); transition: flex-grow .35s var(--ease), background .25s, color .25s;
  }
  .m-nav-item svg { flex: none; width: 21px; height: 21px; }
  .m-nav-lab { max-width: 0; overflow: hidden; opacity: 0; font-size: .82rem; font-weight: 700; white-space: nowrap; transition: max-width .35s var(--ease), opacity .2s; }
  .m-nav-item.is-on { flex: 1 1 auto; gap: 5px; padding-inline: 5px; background: var(--primary); color: #fff; }
  .m-nav-item.is-on .m-nav-lab { max-width: 92px; opacity: 1; }

  /* Menu sheet */
  .drawer-backdrop { z-index: 96; }
  .drawer, .drawer.open { width: auto; height: auto; top: auto; }
  .drawer {
    inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); max-width: 520px; margin-inline: auto; padding: 0;
    overflow: hidden; background: #fff; border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(10,24,40,.5);
    transform: translateY(calc(100% + 34px)); visibility: hidden; transition: transform .42s var(--ease), visibility .42s;
  }
  .drawer.open { transform: none; visibility: visible; }
  .drawer-head { position: relative; flex: none; margin: 0; padding: 18px 16px 10px; touch-action: none; cursor: grab; }
  .m-dw-grab { display: block; position: absolute; top: 7px; inset-inline: 0; width: 40px; height: 4px; margin-inline: auto; border-radius: 9px; background: var(--line-strong); }
  .drawer .brand-logo { height: 38px; }
  .drawer-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper-2); }
  .m-dw-views { position: relative; overflow: hidden; transition: height .36s var(--ease); }
  .m-dw-view {
    position: absolute; inset-inline: 0; top: 0; max-height: 100%; padding: 2px 14px 14px; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: transform .36s var(--ease), opacity .24s, visibility .36s;
  }
  .m-dw-view.is-on { opacity: 1; visibility: visible; transform: none; }
  .m-dw-view.is-main { transform: translateX(-22%); }
  .m-dw-view.is-sub { transform: translateX(100%); }
  [dir="rtl"] .m-dw-view.is-main { transform: translateX(22%); }
  [dir="rtl"] .m-dw-view.is-sub { transform: translateX(-100%); }
  [dir] .m-dw-view.is-on { transform: none; }
  .drawer nav { gap: 6px; }
  .drawer nav a, .m-dw-row, .m-dw-list a {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 8px 16px;
    border: 0; border-radius: 14px; background: var(--paper); font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--primary); text-align: start; cursor: pointer;
  }
  .m-dw-row svg { flex: none; width: 19px; height: 19px; color: #806228; }
  .m-dw-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
  .drawer-platform { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 14px; font-size: .84rem; font-weight: 600; line-height: 1.4; text-align: center; }
  .m-dw-ends { display: flex; gap: 6px; margin-top: 10px; }
  .drawer .m-dw-ends .btn { flex: 1; min-height: 48px; margin: 0; padding-block: 0; }
  .m-dw-lang { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: var(--primary); cursor: pointer; }
  .m-dw-lang svg { width: 17px; height: 17px; }
  .m-dw-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 4px; padding: 0 6px; border: 0; background: none; font: inherit; font-size: 1.05rem; font-weight: 700; color: var(--primary); cursor: pointer; }
  .m-dw-back svg { width: 20px; height: 20px; rotate: 180deg; color: #806228; }
  .m-dw-list { display: grid; gap: 6px; }
  .m-dw-list a { min-height: 46px; font-size: .94rem; }
  .m-dw-list a[aria-current] { background: var(--primary); color: #fff; }
}

@media (max-width: 639.98px) {
  /* Team */
  .team-home .tf-grid, .team-home .ta, .team-home .ta-hint { display: none; }
  .m-team { display: block; }
  .m-team-count { margin: 0 0 10px; font: 500 .84rem var(--font-en); color: var(--muted); text-align: start; }
  .m-team-count b { color: var(--primary); }
  .m-team-stage { position: relative; aspect-ratio: 1 / 1.12; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
  .m-team-img, .m-team-fly { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; border-radius: 18px; background: var(--primary); }
  .m-team-img { box-shadow: var(--shadow); }
  .m-team-fly { z-index: 2; transform-origin: 0 0; }
  .m-team-names { position: absolute; z-index: 3; inset-inline: 0; bottom: 0; display: grid; padding: 54px 18px 16px; border-radius: 0 0 18px 18px; background: linear-gradient(to top, rgba(15,23,42,.94), rgba(15,23,42,.62) 58%, transparent); pointer-events: none; }
  .m-team-name { grid-area: 1 / 1; align-self: end; opacity: 0; transition: opacity .3s; }
  .m-team-name.is-on { opacity: 1; }
  .m-team-name span { display: block; margin: 0 0 3px; font-size: .84rem; font-weight: 600; color: var(--gold-light); }
  .m-team-name h3 { margin: 0; font-size: 1.22rem; line-height: 1.4; color: #fff; }
  .m-team-rail { display: flex; gap: 8px; margin: 12px -20px 0; padding: 3px 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-team-rail::-webkit-scrollbar { display: none; }
  .m-team-thumb { flex: none; width: 58px; height: 72px; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: var(--primary); opacity: .62; outline: 2px solid transparent; outline-offset: 1px; cursor: pointer; transition: opacity .25s, outline-color .25s; }
  .m-team-thumb.is-on { opacity: 1; outline-color: var(--gold); }
  .m-team-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
  .m-team-bios { margin-top: 16px; }
  .m-team-bios p { display: none; margin: 0; font-size: .96rem; line-height: 1.9; color: var(--muted); }
  .m-team-bios p.is-on { display: block; animation: mFade .3s ease both; }

  /* About values: swipe stack */
  .ab-values { overflow: hidden; }
  .vg-wrap .cc-plus { display: none; }
  .vg { display: grid; gap: 0; padding-bottom: 24px; background: none; border: 0; touch-action: pan-y; }
  .vg-cell {
    grid-area: 1 / 1; z-index: calc(10 - var(--p, 0)); padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    transform: translateY(calc(var(--p, 0) * 9px)) scale(calc(1 - var(--p, 0) * .045)); transform-origin: 50% 100%;
    transition: transform .4s var(--ease), opacity .3s; user-select: none; -webkit-user-select: none;
  }
  .vg-cell:not(.is-top) > * { opacity: 0; }
  .vg-cell.is-last { opacity: 0; }
  .vg-cell:hover { background: #fff; }
  .m-stack-ctl { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .m-stack-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--primary); cursor: pointer; }
  .m-stack-btn svg { width: 19px; height: 19px; }
  .m-prev svg { rotate: 180deg; }
  .m-dots { display: flex; justify-content: center; }
  .m-dots button { display: grid; place-items: center; width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .m-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .25s var(--ease), background .25s; }
  .m-dots button.is-on::before { width: 22px; background: var(--gold); }

  /* About + services: stacked cards */
  .m-stack { display: block; overflow: visible; background: none; border: 0; border-radius: 0; }
  .m-stack > * {
    position: sticky; top: calc(var(--m-top, 84px) + var(--i, 0) * 10px); margin-bottom: 14px; background: #fff;
    border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 -10px 26px -20px rgba(15,23,42,.45), var(--shadow-sm); transform-origin: 50% 0;
  }
  .m-stack > :last-child { margin-bottom: 0; }

  /* Articles list + related articles: compact rows */
  .ax-grid { gap: 0; padding: 4px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
  .ax-card { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 0; overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .ax-card[hidden] { display: none; }
  .ax-card:not([hidden]) ~ .ax-card:not([hidden]) { border-top: 1px solid var(--line); }
  .ax-card:hover { transform: none; box-shadow: none; }
  .ax-card:active h3 a { color: #806228; }
  .ax-media { width: 78px; height: 78px; aspect-ratio: auto; border-radius: 12px; }
  .ax-body { display: flex; flex-direction: column; min-width: 0; padding: 0; }
  .ax-body h3 { order: -1; margin: 0 0 5px; font-size: 1rem; line-height: 1.55; }
  .ax-body h3 a::after { content: ""; position: absolute; inset: 0; }
  .ax-card .ax-meta { gap: 2px 8px; font-size: .78rem; }
  .ax-card .ax-tag { padding: 0; background: none; font-weight: 600; color: #806228; }
  .ax-card .ax-dot, .ax-card .ax-dot + span, .ax-card .ax-excerpt, .ax-card .ax-more { display: none; }
}

@keyframes mFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .m-team-bios p.is-on { animation: none; }
  .m-nav, .m-nav-item, .m-nav-lab, .drawer, .m-dw-views, .m-dw-view, .vg-cell, .m-team-name { transition: none; }
}

/* Hero: Jeddah and Riyadh open in vertical slats onto the gavel scene */
.hk { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero.hk-on::before { transform: scale(1.18); }
.hero.hk-on::after { opacity: 0; transition: opacity 1.2s ease .6s; }
.hero.hk-play::before { transform: scale(1); transition: transform 2s cubic-bezier(.22,.61,.36,1) .25s; }
.hero.hk-play::after { opacity: .5; }
.hero.hk-done::before { transform: none; transition: none; }
.hero.hk-done::after { opacity: .5; transition: none; }

.hk-slats { position: absolute; inset: 0; display: flex; direction: ltr; }
.hk-slat { position: relative; flex: 1 1 0; height: 100%; overflow: hidden; will-change: transform; }
.hk-slat i {
  position: absolute; top: 0; bottom: 0;
  width: calc(var(--n) * 100%); left: calc(var(--i) * -100%);
  background: var(--primary-deep) url("uploads/hero/cities-d.webp") center / cover no-repeat;
}
.hero.hk-play .hk-slat {
  transform: translateY(var(--y)) scaleX(.82);
  transition: transform 1.1s cubic-bezier(.76,0,.24,1) var(--d);
}
.hero.hk-done .hk { display: none; }

@media (max-width: 640px) {
  .hk-slat i { background-image: url("uploads/hero/cities-m.webp"); }
}

/* Services: dark section, readable list, detail panel with a photo (motion after inc.aglc.sa team panels) */
.services { background: var(--primary-deep); }
.services .section-head .eyebrow { color: var(--gold-light); }
.services .section-head .h-lg { color: #fff; }
.xc-item { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.xc-item.is-active { background: #1B2840; border-color: var(--gold); box-shadow: 0 24px 50px -28px rgba(0,0,0,.6); }
.xc-title { color: #fff; }
.xc-ico { background: rgba(194,155,64,.14); color: var(--gold-light); }
.xc-chev { color: var(--gold-light); }
.xc-media { position: relative; overflow: hidden; background: #0b1b2d; }
.xc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.7) contrast(1.05); }
.xc-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #1B2840; mix-blend-mode: color; opacity: .35; }
.xc-media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(15,23,42,.55), rgba(15,23,42,.08) 55%); }

@media (max-width: 1023px) {
  .xc-media { height: 180px; margin: 0 18px 16px; border-radius: var(--radius-sm); }
}

@media (min-width: 1024px) {
  .xc { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 8px 24px; height: auto; position: relative; container-type: normal; }
  .xc-item { grid-column: 1; position: static; flex: none; min-width: 0; overflow: visible; border-radius: var(--radius-sm);
    transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
  .xc-item.is-active { flex-grow: 0; }
  .xc-item:not(.is-active):hover { border-color: rgba(215,186,121,.55); background: rgba(255,255,255,.07); }
  .xc-trigger { position: relative; inset: auto; flex-direction: row; justify-content: flex-start; align-items: center; padding: 11px 16px; gap: 14px; }
  .xc-item.is-active .xc-trigger { opacity: 1; pointer-events: auto; }
  .xc-ico { width: 38px; height: 38px; transition: background .35s, color .35s; }
  .xc-ico svg { width: 19px; height: 19px; }
  .xc-item.is-active .xc-ico { background: var(--gold); color: var(--primary-deep); }
  .xc-title { flex: 1; writing-mode: horizontal-tb; max-height: none; font-size: 1rem; line-height: 1.45; color: rgba(255,255,255,.86); }
  .xc-item.is-active .xc-title { color: #fff; }
  .xc-chev { display: block; opacity: 0; transform: rotate(90deg); transition: opacity .3s, transform .3s var(--ease); }
  body[dir="ltr"] .xc-chev { transform: rotate(-90deg); }
  .xc-item.is-active .xc-chev { opacity: 1; transform: rotate(90deg); }
  body[dir="ltr"] .xc-item.is-active .xc-chev { transform: rotate(-90deg); }

  .xc-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: auto; inset-inline-end: 0; width: calc(100% - 424px);
    display: block; overflow: hidden; border-radius: var(--radius); background: #132b47; border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; }
  .xc-item.is-active .xc-panel { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s, visibility 0s; }
  .xc-clip { position: relative; height: 100%; opacity: 1 !important; visibility: inherit; }
  .xc-media { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 100%; height: auto; margin: 0; border-radius: 0;
    transition: width .65s cubic-bezier(.22,.8,.24,1); }
  .xc-item.is-active .xc-media { width: 42%; transition-delay: .08s; }
  .xc-inner { position: relative; width: 58%; height: 100%; padding: 44px 44px; opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; }
  .xc-item.is-active .xc-inner { opacity: 1; transform: none; transition: opacity .45s .32s, transform .55s cubic-bezier(.22,.8,.24,1) .28s; }
  .xc-inner h3 { font-size: 1.55rem; }
  .xc-inner p { font-size: 1rem; }
  .xc-inner li { font-size: .96rem; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .xc { grid-template-columns: 340px minmax(0, 1fr); height: auto; }
  .xc-panel { width: calc(100% - 364px); }
  .xc-inner { width: 60%; padding: 30px; }
  .xc-item.is-active .xc-media { width: 40%; }
  .xc-inner h3 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .xc-inner, .xc-media { transition: none !important; }
}

/* Desktop detail panel: light card inside the dark section */
@media (min-width: 1024px) {
  .xc-panel { background: #FBF8F2; border-color: rgba(255,255,255,.5); box-shadow: 0 34px 70px -34px rgba(0,0,0,.75); }
  .xc-inner { color: var(--muted); }
  .xc-inner h3 { color: var(--primary); }
  .xc-inner li { color: var(--ink); }
  .xc-panel-ico { background: var(--gold-tint); color: var(--gold); }
  .xc-link { color: #8a6a2c; }
}

/* Team: wider strip so the closed cards show each face; one featured partner card */
@media (min-width: 720px) {
  .team-home .tf-grid.tf-one { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .team-home .tf-one .tf-card { grid-template-columns: 34% 1fr; }
  .team-home .tf-one .tf-photo { min-height: 380px; }
  .team-home .tf-one .tf-body { align-self: center; padding: 40px 48px; max-width: 760px; }
  .team-home .tf-one .tf-body h3 { font-size: 1.6rem; }
  .team-home .tf-one .tf-body p { font-size: 1rem; }
  .team-home .ta {
    width: min(1520px, calc(100vw - 48px));
    margin-inline: calc(50% - min(760px, 50vw - 24px));
    height: 600px;
  }
  .team-home .ta-item.is-active { flex-grow: 5; }
  .team-home .ta-info { width: calc((100cqw - 80px) * 5 / 15); }
  .team-home .ta-item:not(.is-active) img { object-position: 50% 12%; }
}

/* Partner card: opens like inc.aglc.sa (photo slides aside, the biography rises in) */
.tv { display: none; }
.lm-tag { display: none; }
@media (min-width: 1024px) {
  .team-home .tf-one .tf-card.lm { position: relative; display: block; height: 430px; background: #fff; box-shadow: 0 30px 60px -42px rgba(15,23,42,.55); }
  .team-home .tf-card.lm .tf-photo { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 100%; min-height: 0; background: #fff; transition: width .9s cubic-bezier(.22,.8,.24,1); }
  .team-home .tf-card.lm .tf-photo img { object-fit: contain; object-position: center bottom; }
  .team-home .tf-card.lm::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(15,23,42,.9), rgba(15,23,42,.45) 22%, transparent 46%); transition: opacity .45s; }
  .team-home .tf-card.lm .lm-tag { display: block; position: absolute; z-index: 2; bottom: 30px; inset-inline-start: 36px; color: #fff; transition: opacity .35s; }
  .team-home .tf-card.lm .lm-tag h3 { margin: 0; font-size: 1.45rem; color: #fff; }
  .team-home .tf-card.lm .lm-tag .tf-role { margin: 4px 0 0; color: var(--gold-light); }
  .team-home .tf-card.lm .tf-body { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 64%; max-width: none; display: flex; flex-direction: column; justify-content: center; padding: 40px 56px; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; }
  .team-home .tf-card.lm.lm-on .tf-photo { width: 34%; }
  .team-home .tf-card.lm.lm-on::after, .team-home .tf-card.lm.lm-on .lm-tag { opacity: 0; }
  .team-home .tf-card.lm.lm-on .tf-body { opacity: 1; transform: none; transition: opacity .55s .4s, transform .8s cubic-bezier(.22,.8,.24,1) .35s; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .team-home .tf-card.lm .tf-photo, .team-home .tf-card.lm .tf-body { transition: none !important; }
}

/* Team layouts on desktop (each preview page picks one) */
@media (min-width: 1024px) {
  body.tv-a .team-home .ta, body.tv-b .team-home .ta, body.tv-c .team-home .ta, body[class*="tv-"] .team-home .ta-hint { display: none; }
  .tv { display: grid; margin-top: 56px; }

  /* A: staggered grayscale cards with names; a click opens the card over the grid */
  .tv-a { display: block; position: relative; }
  .tva-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-bottom: 56px; transition: opacity .5s; }
  .tv-a.is-open .tva-grid { opacity: .5; filter: blur(1.5px) saturate(.8); }
  .tva-grid { transition: opacity .5s, filter .5s; }
  .tva-card { all: unset; box-sizing: border-box; position: relative; cursor: pointer; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: #e4e7eb; box-shadow: 0 18px 40px -30px rgba(15,23,42,.6); transition: box-shadow .4s, transform .6s cubic-bezier(.22,.8,.24,1); }
  .tva-card:nth-child(4n+2), .tva-card:nth-child(4n+4) { transform: translateY(56px); }
  .tva-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .8s cubic-bezier(.22,.8,.24,1); }
  .tva-card:hover img, .tva-card:focus-visible img, .tva-card.sel img { filter: none; transform: scale(1.04); }
  .tva-card:hover, .tva-card:focus-visible { box-shadow: 0 0 0 2px var(--gold), 0 24px 50px -28px rgba(15,23,42,.7); }
  .tva-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(to top, rgba(15,23,42,.92), rgba(15,23,42,.55) 55%, transparent); color: #fff; }
  .tva-name { margin: 0; font-size: 1.15rem; line-height: 1.4; color: #fff; }
  .tva-role { display: block; margin-top: 2px; font-size: .9rem; color: var(--gold-light); }
  .tva-open { position: absolute; z-index: 5; width: 50%; right: auto; display: grid; grid-template-columns: 42% 1fr; overflow: hidden; border-radius: 22px; background: var(--primary-deep); color: #fff; box-shadow: 0 40px 80px -40px rgba(15,23,42,.8); transition: clip-path .65s cubic-bezier(.22,.8,.24,1); }
  .tva-open[hidden] { display: none; }
  .tva-oph { position: relative; background: #fff; }
  .tva-oph { overflow: hidden; }
  .tva-oph img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
  .tva-otx { display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; opacity: 0; transform: translateY(14px); transition: opacity .2s, transform .2s; }
  .tva-open.on .tva-otx { opacity: 1; transform: none; transition: opacity .5s .3s, transform .7s cubic-bezier(.22,.8,.24,1) .25s; }
  .tva-orole { color: var(--gold-light); font-weight: 600; }
  .tva-oname { margin: 6px 0 12px; font-size: 1.6rem; line-height: 1.3; color: #fff; }
  .tva-obio { margin: 0; color: rgba(255,255,255,.82); line-height: 1.9; font-size: .97rem; }
  .tva-x { all: unset; cursor: pointer; position: absolute; top: 20px; inset-inline-end: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; transition: background .3s; }
  .tva-x:hover { background: rgba(255,255,255,.12); }

  /* B: editorial split */
  .tv-b { grid-template-columns: 430px minmax(0, 1fr); gap: 64px; align-items: stretch; }
  .tvb-ph { position: relative; height: 540px; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -42px rgba(15,23,42,.55); }
  .tvb-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; opacity: 0; transform: scale(1.06); transition: opacity .7s, transform 1.4s cubic-bezier(.22,.8,.24,1); }
  .tvb-ph img.on { opacity: 1; transform: none; }
  .tvb-tx { display: flex; flex-direction: column; min-width: 0; }
  .tvb-sw { transition: opacity .3s, transform .45s cubic-bezier(.22,.8,.24,1); }
  .tvb-sw.out { opacity: 0; transform: translateY(10px); }
  .tvb-c { display: flex; align-items: center; gap: 12px; font: 600 .95rem var(--font-en); color: var(--gold); }
  .tvb-c::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
  .tvb-name { margin: 16px 0 4px; font-size: 2.3rem; line-height: 1.3; color: var(--primary); }
  .tvb-role { font-weight: 600; color: var(--gold); }
  .tvb-bio { margin: 16px 0 0; min-height: 120px; color: var(--muted); line-height: 1.95; }
  .tvb-ar { display: flex; gap: 10px; margin: 24px 0; }
  .tvb-ar button { all: unset; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--primary); font-size: 1.1rem; transition: background .3s, color .3s, border-color .3s; }
  .tvb-ar button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
  .tvb-idx { margin-top: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; border-top: 1px solid var(--line); }
  .tvb-idx button { all: unset; cursor: pointer; margin-top: -1px; padding: 12px 0 6px; border-top: 2px solid transparent; transition: border-color .3s; }
  .tvb-k { margin: 0; font-size: .93rem; font-weight: 500; color: #8b9097; transition: color .3s; }
  .tvb-idx button.on { border-top-color: var(--gold); }
  .tvb-idx button.on .tvb-k, .tvb-idx button:hover .tvb-k { color: var(--primary); font-weight: 700; }

  /* C: portrait wall with a detail card */
  .tv-c { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
  .tvc-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .tvc-cell { all: unset; box-sizing: border-box; position: relative; cursor: pointer; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: #e4e7eb; }
  .tvc-cell img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(.35); transition: filter .45s, transform .7s cubic-bezier(.22,.8,.24,1); }
  .tvc-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 10px 8px; background: linear-gradient(to top, rgba(15,23,42,.88), transparent); opacity: 0; transition: opacity .3s; }
  .tvc-cn { margin: 0; font-size: .82rem; line-height: 1.4; color: #fff; }
  .tvc-cell:hover .tvc-cap, .tvc-cell.on .tvc-cap { opacity: 1; }
  .tvc-cell.on { box-shadow: 0 0 0 2px var(--gold); }
  .tvc-cell.on img { filter: none; transform: scale(1.06); }
  .tvc-card { position: sticky; top: 110px; align-self: start; overflow: hidden; border-radius: 22px; background: var(--primary); color: #fff; box-shadow: 0 30px 60px -36px rgba(15,23,42,.7); }
  .tvc-ph { position: relative; height: 300px; background: #fff; }
  .tvc-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: 0; transition: opacity .6s; }
  .tvc-ph img.on { opacity: 1; }
  .tvc-tx { padding: 26px 30px 30px; }
  .tvc-tx.in { animation: tvIn .55s cubic-bezier(.22,.8,.24,1) both; }
  .tvc-role { color: var(--gold-light); font-weight: 600; }
  .tvc-name { margin: 6px 0 10px; font-size: 1.6rem; color: #fff; }
  .tvc-bio { margin: 0; color: rgba(255,255,255,.8); line-height: 1.9; font-size: .96rem; }
}
@keyframes tvIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* D: flowing names with portrait chips + side profile */
@media (min-width: 1024px) {
  body.tv-d .team-home .ta { display: none; }
  .tv-d { display: block; }
  .tvd-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; max-width: 1080px; }
  .tvd-item { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 14px; }
  .tvd-chip { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1); transition: filter .4s, transform .5s cubic-bezier(.22,.8,.24,1), box-shadow .4s; box-shadow: 0 0 0 1px var(--line); background: #e4e7eb; }
  .tvd-name { margin: 0; font-size: 2.05rem; font-weight: 600; line-height: 1.35; color: var(--primary); transition: color .3s, opacity .3s; }
  .tvd-flow:hover .tvd-item .tvd-name { opacity: .35; }
  .tvd-flow .tvd-item:hover .tvd-name, .tvd-item:focus-visible .tvd-name { opacity: 1; color: var(--primary); }
  .tvd-item:hover .tvd-chip, .tvd-item:focus-visible .tvd-chip { filter: none; transform: scale(1.12); box-shadow: 0 0 0 2px var(--gold); }
  .tvd-drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
  .tvd-back { position: absolute; inset: 0; background: rgba(15,23,42,.45); opacity: 0; transition: opacity .4s; }
  .tvd-side { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 480px; background: var(--primary-deep); color: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .6s cubic-bezier(.22,.8,.24,1); }
  body[dir="ltr"] .tvd-side { transform: translateX(100%); }
  .tvd-drawer.open { pointer-events: auto; }
  .tvd-drawer.open .tvd-back { opacity: 1; }
  .tvd-drawer.open .tvd-side { transform: none; }
  .tvd-x { all: unset; cursor: pointer; position: absolute; z-index: 2; top: 18px; inset-inline-start: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(15,23,42,.6); color: #fff; display: grid; place-items: center; }
  .tvd-ph { position: relative; height: 360px; background: #fff; }
  .tvd-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
  .tvd-tx { padding: 28px 34px 10px; }
  .tvd-tx.in { animation: tvIn .55s cubic-bezier(.22,.8,.24,1) .15s both; }
  .tvd-role { color: var(--gold-light); font-weight: 600; }
  .tvd-big { margin: 6px 0 12px; font-size: 1.8rem; color: #fff; }
  .tvd-bio { margin: 0; color: rgba(255,255,255,.8); line-height: 1.95; }
  .tvd-nav { display: flex; gap: 10px; padding: 18px 34px 34px; }
  .tvd-nav button { all: unset; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; }
  html.tvd-lock { overflow: hidden; }
}

/* E: roster with drifting tritone columns (after 21st.dev duotone-team-roster) */
.tve { display: none; }
body.tv-e .team-home .ta, body.tv-e .team-home .ta-hint { display: none !important; }
body.tv-e .team-home { padding-bottom: 64px; }
body.tv-e .tve {
  --g: #0A1626; --d: #12294A; --ink: #F6EEDC; --gold: #C29B40; --gl: #D7BA79; --ease2: cubic-bezier(.23,1,.32,1); --gap: 14px; --pad: clamp(20px, 3.2vw, 56px);
  display: block; position: relative; isolation: isolate; overflow: hidden; height: 600px; color: var(--ink); background: var(--g);
}
.tve-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.tve-field { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(42% 60% at 34% 46%, rgba(215,186,121,.16), rgba(194,155,64,.06) 45%, transparent 75%),
  radial-gradient(60% 80% at 80% 30%, #1d3d66 0%, transparent 70%),
  radial-gradient(50% 70% at 100% 100%, #08121f 0%, transparent 70%),
  linear-gradient(180deg, #0F172A 0%, #0A1626 100%); }
.tve-grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-size: 220px 220px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.6 -.35'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.tve-in { position: relative; display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); height: 100%; }
.tve-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad); min-width: 0; }
.tve-eb { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 600; color: var(--gl); }
.tve-title { margin: 4px 0 0; font-size: clamp(64px, 8.4vw, 150px); line-height: 1.02; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.tve-title span { display: block; animation: tveLine .9s var(--ease2) both; }
.tve-title span + span { animation-delay: .08s; color: var(--gl); }
.tve-intro { margin: 22px 0 0; max-width: 34ch; font-size: 1.05rem; line-height: 1.9; color: rgba(246,238,220,.82); }
.tve-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--gold); color: #0F172A; font-weight: 700; transition: background .25s, transform .2s; }
.tve-cta:hover { background: var(--gl); }
.tve-cta b { transition: transform .3s var(--ease2); }
.tve-cta:hover b { transform: translateX(-4px); }
body[dir="ltr"] .tve-cta b { transform: scaleX(-1); }
.tve-wall { grid-column: 2; grid-row: 1; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 0 clamp(8px, 1vw, 16px) 0 var(--pad); height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.tve-col { position: relative; min-width: 0; animation: tveRise 1.1s var(--ease2) both; animation-delay: calc(var(--ci) * 90ms); }
.tve-track { display: flex; flex-direction: column; will-change: transform; transition: translate .45s var(--ease2); animation: tveUp var(--dur) linear infinite; animation-delay: var(--phase); }
.tve-col[data-dir="down"] .tve-track { animation-name: tveDown; }
.tve[data-paused] .tve-track, .tve[data-hover] .tve-track, .tve[data-open] .tve-track, .tve[data-off] .tve-track,
.tve[data-paused] .tve-strip-track, .tve[data-open] .tve-strip-track, .tve[data-off] .tve-strip-track { animation-play-state: paused; }
.tve-card { position: relative; margin: 0 0 var(--gap); aspect-ratio: 3 / 4; border-radius: 6px; transition: transform .3s var(--ease2); }
.tve-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: 0 22px 50px -14px rgba(0,0,0,.75); opacity: 0; transition: opacity .3s; }
.tve-photo { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; background: var(--d); transition: opacity .3s, filter .3s; }
.tve-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 18%; transform-origin: 50% 22%; transition: transform .35s var(--ease2), opacity .35s; }
.tve-duo { filter: grayscale(1) contrast(1.06); }
.tve-true { opacity: 0; }
.tve-chip { position: absolute; bottom: 10px; inset-inline-start: 10px; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 4px; background: rgba(15,23,42,.94); color: var(--gl); font-size: .8rem; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .16s; }
.tve-hit { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.tve-hit:focus-visible { box-shadow: 0 0 0 2px var(--g), 0 0 0 4px var(--gl); outline: none; }
.tve-panel { position: absolute; z-index: 2; inset: 10px; overflow-y: auto; padding: 16px 16px 14px; border-radius: 5px; background: #102641; color: var(--ink); scrollbar-width: thin;
  clip-path: inset(calc(100% - 34px) 0 0 calc(100% - var(--cw)) round 4px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: clip-path .22s var(--ease2), opacity .1s ease .12s, visibility 0s linear .24s; }
body[dir="ltr"] .tve-panel { clip-path: inset(calc(100% - 34px) calc(100% - var(--cw)) 0 0 round 4px); }
.tve-name { margin: 0; font-size: 1.15rem; line-height: 1.35; color: #fff; }
.tve-role { display: block; margin-top: 2px; font-size: .86rem; font-weight: 600; color: var(--gl); }
.tve-bio { margin: 10px 0 0; font-size: .84rem; line-height: 1.75; color: rgba(246,238,220,.88); }
.tve-card[data-on] { z-index: 3; transform: translateY(-6px) scale(1.03); }
.tve-card[data-on]::after { opacity: 1; }
.tve-card[data-on] .tve-true { opacity: .78; }
.tve-card[data-on] img { transform: scale(1.05); }
.tve[data-hover] .tve-card:not([data-on]) .tve-photo, .tve[data-open] .tve-card:not([data-open]) .tve-photo { opacity: .4; filter: saturate(.7); }
.tve-card[data-open] { transform: translateY(-6px) scale(1.06); }
.tve-card[data-open] .tve-chip { opacity: 0; }
.tve-card[data-open] .tve-panel { clip-path: inset(0 0 0 0 round 5px); opacity: 1; visibility: visible; pointer-events: auto; transition: clip-path .34s var(--ease2), opacity .06s, visibility 0s; }
.tve-card[data-open] .tve-hit { z-index: 3; inset: 0 0 auto auto; width: 0; height: 0; }
.tve-pause { position: absolute; z-index: 4; bottom: 16px; inset-inline-end: var(--pad); display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(10,22,38,.85); box-shadow: inset 0 0 0 1px rgba(246,238,220,.3); color: var(--ink); font: 600 .8rem var(--font-ar, inherit); cursor: pointer; }
.tve-pause i { display: inline-block; width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.tve[data-paused] .tve-pause i { width: 0; border-right: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.tve-strip { display: none; }
@keyframes tveUp { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,-50%,0); } }
@keyframes tveDown { from { transform: translate3d(0,-50%,0); } to { transform: translate3d(0,0,0); } }
@keyframes tveSide { from { transform: translate3d(0,0,0); } to { transform: translate3d(50%,0,0); } }
@keyframes tveRise { from { opacity: 0; transform: translate3d(0,56px,0); } to { opacity: 1; transform: none; } }
@keyframes tveLine { from { opacity: 0; transform: translate3d(0,40%,0); } to { opacity: 1; transform: none; } }
@media (min-width: 700px) and (max-width: 1023px) {
  .tve-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tve-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tve-col:nth-child(n+3) { display: none; }
}
@media (max-width: 699px) {
  body.tv-e .tve { height: auto; min-height: 0; }
  body.tv-e .team-home .tf-grid { display: grid !important; }
  body.tv-e .m-team { display: none !important; }
  .tve-in { display: flex; flex-direction: column; height: auto; }
  .tve-wall { display: none; }
  .tve-strip { display: block; order: -1; overflow: hidden; padding: 22px 0 6px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
  .tve-strip-track { display: flex; width: max-content; gap: 10px; padding-inline: 10px; will-change: transform; animation: tveSide var(--sdur, 55s) linear infinite; }
  body[dir="ltr"] .tve-strip-track { animation-direction: reverse; }
  .tve-strip .tve-card { width: 220px; margin: 0; flex: none; }
  .tve-copy { padding: 18px 20px 30px; }
  .tve-title { font-size: 58px; }
  .tve-pause { position: static; margin: 0 20px 26px; align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .tve-track, .tve-strip-track, .tve-col, .tve-title span { animation: none !important; }
  .tve-card, .tve-panel { transition-duration: 1ms !important; }
  .tve-pause { display: none; }
}

/* E v2: the opened card in the wall spreads over the neighbouring column and grows upward from its chip */
.tve[data-open] .tve-col:has(.tve-card[data-open]) { z-index: 5; }
.tve-col { z-index: 1; }
.tve-wall .tve-panel { inset: auto; bottom: 0; inset-inline-start: 0; width: calc(200% + var(--gap)); min-height: 100%; max-height: none; overflow: visible; padding: 20px 22px 18px;
  display: flex; flex-direction: column; justify-content: flex-end; background: #102641; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.tve-wall .tve-col[data-edge] .tve-panel { inset-inline-start: auto; inset-inline-end: 0; }
.tve-wall .tve-col[data-edge] .tve-chip { inset-inline-start: auto; inset-inline-end: 10px; }
.tve-wall .tve-col[data-edge] .tve-panel { clip-path: inset(calc(100% - 34px) calc(100% - var(--cw)) 0 0 round 4px); }
body[dir="ltr"] .tve-wall .tve-col[data-edge] .tve-panel { clip-path: inset(calc(100% - 34px) 0 0 calc(100% - var(--cw)) round 4px); }
.tve-wall .tve-card[data-open] .tve-panel { clip-path: inset(0 0 0 0 round 6px); }
.tve-wall .tve-card[data-open] { transform: translateY(-4px); }
.tve-wall .tve-name { font-size: 1.25rem; }
.tve-wall .tve-bio { font-size: .9rem; line-height: 1.85; }
body[dir="ltr"] .tve-wall .tve-card[data-open] .tve-panel { clip-path: inset(0 0 0 0 round 6px); }

/* E v4: part of the light team section, under the partner card, within the page width */
body.tv-e .team-home { padding-bottom: revert; }
body.tv-e .tve { --ink: #F6EEDC; height: 520px; min-height: 0; margin-top: 40px; background: transparent; color: var(--primary); overflow: hidden; border-radius: 0; }
body.tv-e .tve-field { background: radial-gradient(40% 60% at 30% 50%, rgba(194,155,64,.10), transparent 70%); }
body.tv-e .tve-grain { display: none; }
body.tv-e .tve-in { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
body.tv-e .tve-copy { padding: 24px 0 36px 24px; }
body[dir="ltr"].tv-e .tve-copy { padding: 24px 24px 36px 0; }
body.tv-e .tve-eb { color: var(--gold); }
body.tv-e .tve-title { font-size: clamp(56px, 6.6vw, 104px); color: var(--primary); }
body.tv-e .tve-title span + span { color: var(--gold); }
body.tv-e .tve-intro { color: var(--muted); }
body.tv-e .tve-wall { padding: 0 0 0 16px; }
body[dir="ltr"].tv-e .tve-wall { padding: 0 16px 0 0; }
body.tv-e .tve-card::after { box-shadow: 0 22px 44px -18px rgba(15,23,42,.45); }
body.tv-e .tve-photo { background: #e6e9ee; box-shadow: 0 10px 26px -18px rgba(15,23,42,.5); }
body.tv-e .tve[data-hover] .tve-card:not([data-on]) .tve-photo, body.tv-e .tve[data-open] .tve-card:not([data-open]) .tve-photo { opacity: .35; filter: saturate(.6); }
body.tv-e .tve-pause { inset-inline-end: 0; bottom: 10px; background: var(--primary); box-shadow: none; color: #fff; }
@media (max-width: 699px) {
  body.tv-e .tve { height: auto; margin-top: 28px; }
  body.tv-e .tve-copy { padding: 18px 0 24px; }
  body.tv-e .tve-pause { margin: 0 0 8px; }
}

/* E: the opened panel shows the member's photo */
.tve-pph { display: none; }
.tve-wall .tve-panel { padding-inline-start: calc((200% + var(--gap)) * .4 + 20px); }
.tve-wall .tve-pph { display: block; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 40%; overflow: hidden; background: #fff; border-start-start-radius: 6px; border-end-start-radius: 6px; }
.tve-wall .tve-pph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

/* F: marquee row (after 21st.dev cnippet-dev/team) */
.tvf { display: none; }
body.tv-f .team-home .ta, body.tv-f .team-home .ta-hint { display: none !important; }
body.tv-f .tvf { display: block; position: relative; margin-top: 44px; }
.tvf-row { position: relative; overflow: hidden; padding: 8px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.tvf-track { display: flex; gap: 22px; width: max-content; will-change: transform; animation: tvfRtl var(--fdur, 60s) linear infinite; }
body[dir="ltr"] .tvf-track { animation-name: tvfLtr; }
.tvf-row:hover .tvf-track, .tvf[data-open] .tvf-track { animation-play-state: paused; }
@keyframes tvfRtl { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(50% + 11px),0,0); } }
@keyframes tvfLtr { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(-50% - 11px),0,0); } }
.tvf-card { all: unset; box-sizing: border-box; position: relative; flex: none; width: 240px; height: 340px; overflow: hidden; border-radius: 18px; background: #e8ebef; cursor: pointer; box-shadow: 0 16px 34px -26px rgba(15,23,42,.55); transition: transform .45s cubic-bezier(.22,.8,.24,1), box-shadow .45s; }
.tvf-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) contrast(1.05); transition: filter .35s, transform .7s cubic-bezier(.22,.8,.24,1); }
.tvf-card:hover, .tvf-card:focus-visible, .tvf-card.sel { transform: translateY(-6px); box-shadow: 0 26px 46px -26px rgba(15,23,42,.7); }
.tvf-card:hover img, .tvf-card:focus-visible img, .tvf-card.sel img { filter: none; transform: scale(1.04); }
.tvf-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tvf-cap { position: absolute; inset-inline: 8px; bottom: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(251,248,242,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tvf-name { margin: 0; font-size: 1rem; line-height: 1.4; color: var(--primary); }
.tvf-role { display: block; margin-top: 1px; font-size: .84rem; color: #8a6a2c; }
.tvf-open { position: absolute; z-index: 5; top: 8px; height: 340px; width: min(620px, 100%); display: grid; grid-template-columns: 38% 1fr; overflow: hidden; border-radius: 20px; background: var(--primary-deep); color: #fff; box-shadow: 0 40px 80px -40px rgba(15,23,42,.8); transition: clip-path .6s cubic-bezier(.22,.8,.24,1); }
.tvf-open[hidden] { display: none; }
.tvf-oph { position: relative; overflow: hidden; background: #fff; }
.tvf-oph img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.tvf-otx { display: flex; flex-direction: column; justify-content: center; padding: 26px 30px; opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; overflow-y: auto; }
.tvf-open.on .tvf-otx { opacity: 1; transform: none; transition: opacity .45s .28s, transform .6s cubic-bezier(.22,.8,.24,1) .24s; }
.tvf-orole { color: var(--gold-light); font-weight: 600; font-size: .92rem; }
.tvf-oname { margin: 4px 0 10px; font-size: 1.45rem; line-height: 1.35; color: #fff; }
.tvf-obio { margin: 0; color: rgba(255,255,255,.84); line-height: 1.85; font-size: .9rem; }
.tvf-x { all: unset; cursor: pointer; position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; }
@media (max-width: 699px) {
  body.tv-f .team-home .tf-grid { display: grid !important; }
  body.tv-f .m-team { display: none !important; }
  .tvf-card { width: 200px; height: 284px; }
  .tvf-open { height: auto; min-height: 284px; grid-template-columns: 1fr; width: 100%; left: 0 !important; }
  .tvf-oph { height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .tvf-track { animation: none; } .tvf-row { overflow-x: auto; } }
/* F on wide screens: the card row runs edge to edge (2026-11-21) */
@media (min-width: 700px) {
  body.tv-f .team-home { overflow-x: clip; }
  body.tv-f .tvf-row { margin-inline: calc(50% - min(50vw, 1500px));
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
}

/* F on phones: the opened member card is a sheet above the bottom bar */
@media (max-width: 699px) {
  body.tv-f .tvf-open { position: fixed; z-index: 80; top: auto; left: 12px !important; right: 12px; bottom: 96px; width: auto; height: auto; min-height: 0; max-height: calc(100svh - 200px); display: block; overflow-y: auto; overscroll-behavior: contain; }
  body.tv-f .tvf-oph { position: relative; height: 210px; }
  body.tv-f .tvf-open[hidden] { display: none; }
  body.tv-f .tvf-otx { display: block; padding: 20px 22px 24px; overflow: visible; }
}
@media (max-width: 699px) {
  body.tv-f .tvf-open { background: #132b47; border: 1px solid rgba(215,186,121,.35); box-shadow: 0 0 0 100vmax rgba(10,20,34,.55), 0 30px 60px -20px rgba(0,0,0,.6); }
}
@media (max-width: 699px) {
  body.tv-f .tvf-x { z-index: 2; background: rgba(15,23,42,.85); border-color: rgba(255,255,255,.4); }
}

/* F in two rows (2026-11-21): consultants sway inside the content width, lawyers run edge to edge the other way; names sit under the photo */
body.tv-f .tvf-grp + .tvf-grp { margin-top: 34px; }
.tvf-h { margin: 0 0 14px; text-align: center; font-size: 1.05rem; font-weight: 700; color: var(--primary); letter-spacing: .01em; }
.tvf-h::after { content: ""; display: block; width: 34px; height: 2px; margin: 8px auto 0; border-radius: 2px; background: var(--gold); }
.tvf-track { animation-name: tvfRtlN; }
body[dir="ltr"] .tvf-track { animation-name: tvfLtrN; }
@keyframes tvfRtlN { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc((100% + 22px) / var(--fn, 2)),0,0); } }
@keyframes tvfLtrN { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc((100% + 22px) / var(--fn, 2) * -1),0,0); } }
body.tv-f .tvf-row-c { -webkit-mask-image: none; mask-image: none; }
body.tv-f .tvf-row-c.ovf { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
body.tv-f .tvf-row-c { display: flex; justify-content: center; }
.tvf-row-c .tvf-track { flex: none; animation: tvfSwayR var(--fdur, 8s) ease-in-out infinite alternate; }
body[dir="ltr"] .tvf-row-c .tvf-track { animation-name: tvfSwayL; }
@keyframes tvfSwayR { from { transform: translate3d(var(--fs, 0px),0,0); } to { transform: translate3d(calc(var(--fs, 0px) * -1),0,0); } }
@keyframes tvfSwayL { from { transform: translate3d(calc(var(--fs, 0px) * -1),0,0); } to { transform: translate3d(var(--fs, 0px),0,0); } }
.tvf-card { height: auto; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.tvf-ph { position: relative; display: block; height: 340px; overflow: hidden; border-radius: 18px; background: #e8ebef; box-shadow: 0 16px 34px -26px rgba(15,23,42,.55); transition: box-shadow .45s; }
.tvf-card:hover, .tvf-card:focus-visible, .tvf-card.sel { box-shadow: none; }
.tvf-card:hover .tvf-ph, .tvf-card:focus-visible .tvf-ph, .tvf-card.sel .tvf-ph { box-shadow: 0 26px 46px -26px rgba(15,23,42,.7); }
.tvf-card .tvf-cap { position: static; display: block; padding: 12px 6px 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-align: center; }
@media (min-width: 700px) {
  body.tv-f .tvf-row-c { margin-inline: 0; }
}
@media (max-width: 699px) {
  .tvf-card { height: auto; }
  .tvf-ph { height: 284px; }
}
@media (prefers-reduced-motion: reduce) { .tvf-track { animation: none !important; } body.tv-f .tvf-row-c { display: block; } .tvf-row-c .tvf-track { margin-inline: auto; } }

.xc-media img[src*="svc2-maritime"] { object-position: 24% 50%; }
.xc-media img[src*="svc3-contracts"] { object-position: 66% 50%; }
.xc-media img[src*="svc3-maritime"] { object-position: 68% 50%; }
.xc-media img[src*="svc3-sports"] { object-position: 40% 50%; }

/* About page header: the gavel photo from the home hero behind the title (2026-11-21) */
.page-hero.ph-gavel {
  background:
    linear-gradient(155deg, rgba(15,23,42,0.78) 0%, rgba(15,23,42,0.84) 55%, rgba(15,23,42,0.9) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero_bg_1_1.jpg") 45% 62% / cover no-repeat;
}

/* Service page headers: each service shows its own photo behind the title (2026-11-21) */
.page-hero.ph-commercial { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-commercial.webp") 50% 50% / cover no-repeat; }
.page-hero.ph-governance { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-governance.webp") 50% 50% / cover no-repeat; }
.page-hero.ph-ip { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-ip.webp") 50% 50% / cover no-repeat; }
.page-hero.ph-arbitration { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-arbitration.webp") 50% 50% / cover no-repeat; }
.page-hero.ph-contracts { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-contracts.webp") 66% 50% / cover no-repeat; }
.page-hero.ph-realestate { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-realestate.webp") 50% 50% / cover no-repeat; }
.page-hero.ph-sports { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-sports.webp") 40% 50% / cover no-repeat; }
.page-hero.ph-company { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-company.webp") 50% 50% / cover no-repeat; }
.page-hero.ph-maritime { background:
    linear-gradient(155deg, rgba(15,23,42,0.66) 0%, rgba(15,23,42,0.74) 55%, rgba(10,24,40,0.84) 100%),
    radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
    url("uploads/hero/svc3-maritime.webp") 68% 50% / cover no-repeat; }

/* Service page headers on desktop: the photo sits in its own panel beside the title and fades into navy, so it is not squeezed into a thin strip (2026-11-21) */
@media (min-width: 941px) {
  section.page-hero.ph-svc {
    background:
      radial-gradient(ellipse 60% 100% at 85% 0%, rgba(194,155,64,0.16), transparent 60%),
      linear-gradient(155deg, var(--primary) 0%, var(--primary-deep) 70%);
    min-height: 360px; display: flex; align-items: center; padding-block: 72px;
  }
  section.page-hero.ph-svc > .container { position: relative; z-index: 1; width: 100%; }
  section.page-hero.ph-svc h1 { max-width: 46%; }
  section.page-hero.ph-svc::before {
    content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 56%;
    background: center / cover no-repeat; filter: saturate(.85) brightness(.9);
    -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 100%); mask-image: linear-gradient(to right, #000 62%, transparent 100%);
  }
  html[dir="ltr"] section.page-hero.ph-svc::before { -webkit-mask-image: linear-gradient(to left, #000 62%, transparent 100%); mask-image: linear-gradient(to left, #000 62%, transparent 100%); }
  section.page-hero.ph-commercial::before { background-image: url("uploads/hero/svc3-commercial.webp"); background-position: 30% 50%; }
  section.page-hero.ph-governance::before { background-image: url("uploads/hero/svc3-governance.webp"); background-position: 50% 55%; }
  section.page-hero.ph-ip::before { background-image: url("uploads/hero/svc3-ip.webp"); background-position: 50% 45%; }
  section.page-hero.ph-arbitration::before { background-image: url("uploads/hero/svc3-arbitration.webp"); background-position: 50% 40%; }
  section.page-hero.ph-contracts::before { background-image: url("uploads/hero/svc3-contracts.webp"); background-position: 55% 55%; }
  section.page-hero.ph-realestate::before { background-image: url("uploads/hero/svc3-realestate.webp"); background-position: 50% 55%; }
  section.page-hero.ph-sports::before { background-image: url("uploads/hero/svc3-sports.webp"); background-position: 45% 60%; }
  section.page-hero.ph-company::before { background-image: url("uploads/hero/svc3-company.webp"); background-position: 50% 55%; }
  section.page-hero.ph-maritime::before { background-image: url("uploads/hero/svc3-maritime.webp"); background-position: 88% 50%; }
}

/* Consultants: a still row as wide as the founder card above; 2×2 on narrow screens (2026-11-21) */
body.tv-f .tvf-row-c { display: block; margin-inline: 0; -webkit-mask-image: none; mask-image: none; }
body.tv-f .tvf-row-c .tvf-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; width: auto; transform: none; animation: none; }
body.tv-f .tvf-row-c .tvf-card { width: auto; }
@media (max-width: 899px) {
  body.tv-f .tvf-row-c .tvf-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
}
@media (max-width: 699px) {
  body.tv-f .tvf-row-c .tvf-track { gap: 18px 14px; }
  body.tv-f .tvf-row-c .tvf-ph { height: auto; aspect-ratio: 3 / 4; }
}

/* About values on wider screens: the phone swipe stack, title on one side and the deck on the other (2026-11-21) */
@media (min-width: 640px) {
  .ab-values { overflow: hidden; }
  .ab-values .vg-wrap .cc-plus { display: none; }
  .ab-values .vg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 30px; background: none; border: 0; touch-action: pan-y; cursor: grab; }
  .ab-values .vg:active { cursor: grabbing; }
  .ab-values .vg-cell {
    grid-area: 1 / 1; z-index: calc(10 - var(--p, 0)); padding: 40px 40px 42px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
    transform: translateY(calc(var(--p, 0) * 12px)) scale(calc(1 - var(--p, 0) * .04)); transform-origin: 50% 100%;
    transition: transform .4s var(--ease), opacity .3s; user-select: none; -webkit-user-select: none;
  }
  .ab-values .vg-cell:not(.is-top) > * { opacity: 0; }
  .ab-values .vg-cell.is-last { opacity: 0; }
  .ab-values .vg-cell:hover { background: #fff; }
  .ab-values .vg-n { margin-bottom: 18px; font-size: .95rem; }
  .ab-values .vg-cell h3 { margin-bottom: 14px; font-size: 1.45rem; }
  .ab-values .vg-cell p { font-size: 1.05rem; line-height: 1.95; }
  .ab-values .m-stack-ctl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; }
  .ab-values .m-stack-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--primary); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
  .ab-values .m-stack-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
  .ab-values .m-stack-btn svg { width: 20px; height: 20px; }
  .ab-values .m-prev svg { rotate: 180deg; }
  .ab-values .m-dots { display: flex; justify-content: center; }
  .ab-values .m-dots button { display: grid; place-items: center; width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .ab-values .m-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .25s var(--ease), background .25s; }
  .ab-values .m-dots button.is-on::before { width: 22px; background: var(--gold); }
  .ab-values .vg-wrap { max-width: 600px; margin-inline: auto; }
}
@media (min-width: 900px) {
  .ab-values .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 64px; }
  .ab-values .section-head { margin-bottom: 0; }
  .ab-values .vg-wrap { max-width: none; margin-inline: 0; }
}
@media (min-width: 640px) and (prefers-reduced-motion: reduce) { .ab-values .vg-cell { transition: none; } }

/* Team: on wide screens the member's info slides out from behind the photo, beside it and the same size (2026-11-21) */
@media (min-width: 700px) {
  body.tv-f .tvf-open.side { display: block; z-index: 6; overflow: hidden; border-radius: 18px; background: none; box-shadow: none; clip-path: none; transition: none; }
  body.tv-f .tvf-open.side .tvf-oph { display: none; }
  body.tv-f .tvf-open.side .tvf-pnl { position: relative; height: 100%; border-radius: 18px; background: var(--primary-deep); color: #fff; transform: translate3d(var(--from, 100%),0,0); transition: transform .55s cubic-bezier(.22,.8,.24,1); }
  body.tv-f .tvf-open.side.on .tvf-pnl { transform: none; }
  body.tv-f .tvf-open.side .tvf-otx { height: 100%; justify-content: flex-start; padding: 24px 20px 20px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
  body.tv-f .tvf-open.side .tvf-orole { font-size: .82rem; padding-inline-end: 34px; }
  body.tv-f .tvf-open.side .tvf-oname { margin: 4px 0 10px; font-size: 1.12rem; line-height: 1.4; padding-inline-end: 34px; }
  body.tv-f .tvf-open.side .tvf-obio { font-size: .84rem; line-height: 1.75; }
  body.tv-f .tvf-open.side .tvf-x { top: 12px; inset-inline-end: 12px; width: 30px; height: 30px; font-size: .8rem; }
}
@media (min-width: 700px) and (prefers-reduced-motion: reduce) { body.tv-f .tvf-open.side .tvf-pnl { transition: none; } }
@media (min-width: 700px) {
  body.tv-f .tvf[data-open] .tvf-card { transform: none; }
}

/* About values: dots run left to right with the next arrow on the right (2026-11-21) */
.ab-values .m-stack-ctl { direction: ltr; }
[dir="rtl"] .ab-values .m-stack-ctl .m-flip { transform: none; }

/* About: values title back on top of its deck; "why us" uses the same swipe deck (2026-11-21) */
@media (min-width: 640px) {
  .ab-values .vg-wrap { max-width: 720px; margin-inline: 0; }
}
@media (min-width: 900px) {
  .ab-values .container { display: block; }
  .ab-values .section-head { margin-bottom: 56px; }
  .ab-values .vg-wrap { max-width: 720px; margin-inline: 0; }
}
.ab-why { overflow: hidden; }
.ab-why .wh-wrap, .ab-why .wh { max-width: 720px; }
.ab-why .wh { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 24px; background: none; border: 0; touch-action: pan-y; cursor: grab; }
.ab-why .wh:active { cursor: grabbing; }
.ab-why .wh-cell {
  grid-area: 1 / 1; z-index: calc(10 - var(--p, 0)); padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  transform: translateY(calc(var(--p, 0) * 9px)) scale(calc(1 - var(--p, 0) * .045)); transform-origin: 50% 100%;
  transition: transform .4s var(--ease), opacity .3s; user-select: none; -webkit-user-select: none;
}
.ab-why .wh-cell:not(.is-top) > *, .ab-why .wh-cell:not(.is-top)::after, .ab-why .wh-cell:not(.is-top)::before { opacity: 0; }
.ab-why .wh-cell.is-last { opacity: 0; }
.ab-why .m-stack-ctl { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 720px; direction: ltr; }
[dir="rtl"] .ab-why .m-stack-ctl .m-flip { transform: none; }
.ab-why .m-stack-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--primary); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.ab-why .m-stack-btn svg { width: 19px; height: 19px; }
.ab-why .m-prev svg { rotate: 180deg; }
.ab-why .m-dots { display: flex; justify-content: center; }
.ab-why .m-dots button { display: grid; place-items: center; width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.ab-why .m-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .25s var(--ease), background .25s; }
.ab-why .m-dots button.is-on::before { width: 22px; background: var(--gold); }
@media (hover: hover) { .ab-why .m-stack-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; } }
@media (min-width: 640px) {
  .ab-why .wh { padding-bottom: 30px; }
  .ab-why .wh-cell { padding: 40px 40px 42px; border-radius: 22px; transform: translateY(calc(var(--p, 0) * 12px)) scale(calc(1 - var(--p, 0) * .04)); }
  .ab-why .wh-cell::after { top: 40px; }
  .ab-why .wh-ico { width: 32px; height: 32px; margin-bottom: 18px; }
  .ab-why .wh-cell h3 { margin-bottom: 14px; font-size: 1.45rem; }
  .ab-why .wh-cell p { font-size: 1.05rem; line-height: 1.95; }
  .ab-why .m-stack-ctl { gap: 10px; margin-top: 6px; }
  .ab-why .m-stack-btn { width: 48px; height: 48px; }
  .ab-why .m-stack-btn svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .ab-why .wh-cell { transition: none; } }

/* About: values on the start side, "why us" beside it on the end side (2026-11-21) */
@media (min-width: 900px) {
  .ab-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; width: 100%; max-width: var(--container); margin-inline: auto; padding: 88px 28px; }
  .ab-duo > section { padding-block: 0; background: none; border: 0; overflow: visible; }
  .ab-duo > section > .container { max-width: none; padding-inline: 0; }
  .ab-duo .section-head { margin-bottom: 40px; }
  .ab-duo .vg-wrap, .ab-duo .wh, .ab-duo .ab-why .m-stack-ctl { max-width: none; }
  .ab-duo .ab-values .vg-cell, .ab-duo .ab-why .wh-cell { padding: 34px 32px 36px; }
  .ab-duo .ab-values .vg-cell h3, .ab-duo .ab-why .wh-cell h3 { font-size: 1.3rem; }
  .ab-duo .ab-values .vg-cell p, .ab-duo .ab-why .wh-cell p { font-size: 1rem; }
  .ab-duo { overflow-x: clip; overflow-clip-margin: 40px; }
}

/* Service pages: "what we offer" is the same swipe deck (2026-11-21) */
.svc-main .of-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 20px 0 6px; padding-bottom: 24px; overflow: visible; background: none; border: 0; border-radius: 0; touch-action: pan-y; cursor: grab; }
.svc-main .of-grid:active { cursor: grabbing; }
.svc-main .of-grid .of-cell {
  grid-area: 1 / 1; z-index: calc(10 - var(--p, 0)); padding: 30px 30px 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  transform: translateY(calc(var(--p, 0) * 10px)) scale(calc(1 - var(--p, 0) * .04)); transform-origin: 50% 100%;
  transition: transform .4s var(--ease), opacity .3s; user-select: none; -webkit-user-select: none;
}
.svc-main .of-grid .of-cell:hover { background: #fff; }
.svc-main .of-grid .of-cell:not(.is-top) > * { opacity: 0; }
.svc-main .of-grid .of-cell.is-last { opacity: 0; }
.svc-main .of-grid .of-n { margin-bottom: 14px; font-size: .9rem; }
.svc-main .of-grid .of-cell h3 { margin-bottom: 10px; font-size: 1.25rem; }
.svc-main .of-grid .of-cell p { font-size: 1rem; line-height: 1.85; }
.svc-main .m-stack-ctl { display: flex; align-items: center; justify-content: center; gap: 8px; direction: ltr; margin-bottom: 8px; }
[dir="rtl"] .svc-main .m-stack-ctl .m-flip { transform: none; }
.svc-main .m-stack-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--primary); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.svc-main .m-stack-btn svg { width: 19px; height: 19px; }
.svc-main .m-prev svg { rotate: 180deg; }
.svc-main .m-dots { display: flex; justify-content: center; }
.svc-main .m-dots button { display: grid; place-items: center; width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.svc-main .m-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .25s var(--ease), background .25s; }
.svc-main .m-dots button.is-on::before { width: 22px; background: var(--gold); }
@media (hover: hover) { .svc-main .m-stack-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; } }
@media (max-width: 639.98px) { .svc-main .of-grid .of-cell { padding: 24px 22px 26px; border-radius: 18px; } .svc-main .of-grid .of-cell h3 { font-size: 1.1rem; } .svc-main .of-grid .of-cell p { font-size: .96rem; } }
@media (prefers-reduced-motion: reduce) { .svc-main .of-grid .of-cell { transition: none; } }

/* Decks: no mouse dragging; the block pins while the page scroll deals the cards (2026-11-21) */
.ab-values .vg, .ab-why .wh, .svc-main .of-grid { cursor: auto; }
.ab-values .vg:active, .ab-why .wh:active, .svc-main .of-grid:active { cursor: auto; }
.ab-values, .ab-why { overflow: clip; }
.deck-run { position: relative; }
.deck-run > .ab-duo { background: var(--paper); }
.svc-main .deck-pin { background: var(--paper); }
.svc-main .deck-pin > h2 { margin-top: 38px; }

/* No corner "+" marks; the footer accreditation sits without a box (2026-11-21) */
.cc-plus { display: none !important; }
.footer-accred { padding: 0; border: 0; border-radius: 0; background: none; }

/* Page scrollbar in the brand gold on the paper beige (2026-11-21) */
html { scrollbar-color: var(--gold) var(--paper-2); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: #a9853f; }

/* Floating "book a consultation" button on every page (2026-11-21) */
.fbook { position: fixed; z-index: 65; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--gold); color: #20170A; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(15,23,42,.55), 0 0 0 1px rgba(255,255,255,.35) inset; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s, background .25s; }
.fbook.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s var(--ease), visibility 0s, background .25s; }
.fbook:hover { background: #cfae6c; }
.fbook:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.fbook svg { width: 21px; height: 21px; flex: none; }
@media (max-width: 940px) {
  .fbook { left: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; }
  .fbook-lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.has-mbar .fbook, body.m-typing .fbook { display: none; }
}
@media print { .fbook { display: none; } }

/* About blocks on wide screens: one row each, alternating sides; each deck pins and deals on its own (2026-11-21) */
@media (min-width: 900px) {
  .ab-duo { display: block; max-width: none; padding: 0; overflow: visible; }
  .ab-duo > section { padding-block: 84px; }
  .ab-duo > .ab-why { background: var(--paper-2); border-block: 1px solid var(--line); }
  .ab-duo > section > .container, .ab-duo .deck-run > .container { max-width: var(--container); padding-inline: 28px; }
  .ab-duo .ab-values .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head deck"; align-items: center; gap: 64px; }
  .ab-duo .ab-values .section-head { grid-area: head; margin: 0; }
  .ab-duo .ab-values .vg-wrap { grid-area: deck; }
  .ab-duo .ab-why .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "deck head" "ctl head"; align-items: center; column-gap: 64px; row-gap: 0; }
  .ab-duo .ab-why .section-head { grid-area: head; margin: 0; }
  .ab-duo .ab-why .wh { grid-area: deck; }
  .ab-duo .ab-why .m-stack-ctl { grid-area: ctl; }
}

/* Stacking cards, built like makan.vip's offers (StackingOffers.tsx): every card sits in a full-screen sticky slot,
   centred under the header and 22px lower than the one before; the next card slides up over it and the covered
   ones shrink towards the end of the stack. Cards alternate navy and white. (2026-11-21) */
.cstack { display: block !important; position: relative; padding: 0 !important; margin: -70px 0 0 !important; background: none !important; border: 0 !important; overflow: visible !important; cursor: auto !important; touch-action: auto !important; max-width: none !important; }
.cs-slot { position: sticky; top: 0; display: flex; align-items: center; justify-content: center; height: 100vh; height: 100svh; height: 100dvh; padding-top: calc(var(--m-head, 84px) + 4px + var(--i, 0) * 22px); box-sizing: border-box; }
.cstack .cs-slot > * {
  grid-area: auto !important; position: relative !important; width: 100%; margin: 0 !important; opacity: 1 !important; z-index: auto !important;
  transform: scale(var(--s, 1)) !important; transform-origin: 50% 0 !important; transition: none !important;
  min-height: 300px; display: flex; flex-direction: column; justify-content: center;
  padding: 48px 52px !important; border: 0 !important; border-radius: 32px !important; overflow: hidden;
  background: #fff !important; color: var(--primary) !important;
  box-shadow: 0 30px 80px -40px rgba(10,22,40,.65) !important;
}
.cstack .cs-slot > * > * { opacity: 1 !important; position: relative; z-index: 1; }
.cstack .cs-slot > *::before { display: none !important; }
.cstack .cs-slot > .wh-cell::after { display: none !important; }
.cstack .cs-slot > * h3 { margin: 0 0 14px !important; font-size: clamp(1.45rem, 2.4vw, 2rem) !important; line-height: 1.35 !important; color: var(--primary) !important; transform: none !important; }
.cstack .cs-slot > * p { margin: 0 !important; max-width: 640px; font-size: clamp(1rem, 1.3vw, 1.12rem) !important; line-height: 1.95 !important; color: rgba(27,40,64,.66) !important; }
.cstack .vg-n, .cstack .of-n { display: block; margin: 0 0 6px !important; font: 700 clamp(3.2rem, 6vw, 4.6rem)/1 var(--font-en) !important; letter-spacing: 0 !important; color: var(--gold) !important; }
.cstack .wh-ico { display: grid !important; place-items: center; width: 56px !important; height: 56px !important; margin: 0 0 22px !important; padding: 13px; border: 1px solid rgba(194,155,64,.45); border-radius: 14px; background: rgba(194,155,64,.1); color: var(--gold) !important; }
.cstack .cs-slot > *::after { content: ""; position: absolute; inset-inline-end: -90px; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(194,155,64,.28); pointer-events: none; }
.cstack .cs-slot:nth-child(odd) > * { background: var(--primary-deep) !important; }
.cstack .cs-slot:nth-child(odd) > * h3 { color: #fff !important; }
.cstack .cs-slot:nth-child(odd) > * p { color: rgba(255,255,255,.68) !important; }
.cstack .cs-slot:nth-child(odd) .wh-ico { color: var(--gold-light) !important; }
/* About: heading centred above a wide stack, like the offers section */
.ab-values .vg-wrap, .ab-why .wh { max-width: 980px !important; margin-inline: auto !important; }
.ab-values .section-head, .ab-why .section-head { margin-inline: auto; text-align: center; }
@media (min-width: 900px) {
  .ab-duo .ab-values .container, .ab-duo .ab-why .container { display: block !important; }
  .ab-duo .ab-values .section-head, .ab-duo .ab-why .section-head { position: static !important; margin: 0 auto 56px !important; }
}
@media (max-width: 639.98px) {
  .cstack { margin-top: -30px !important; }
  .cs-slot { padding-top: calc(var(--m-head, 72px) + 4px + var(--i, 0) * 16px); padding-bottom: 84px; }
  .cstack .cs-slot > * { min-height: 0; padding: 30px 26px !important; border-radius: 24px !important; }
}
@media (prefers-reduced-motion: reduce) { .cstack .cs-slot > * { transform: none !important; } }

/* Stack size two thirds, and on About the title sits beside its stack (values: title right; why us: title left) (2026-11-21) */
.cstack .cs-slot > * { min-height: 200px; padding: 32px 36px !important; border-radius: 24px !important; box-shadow: 0 24px 60px -34px rgba(10,22,40,.6) !important; }
.cstack .cs-slot > * h3 { margin: 0 0 10px !important; font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important; }
.cstack .cs-slot > * p { font-size: .96rem !important; line-height: 1.85 !important; }
.cstack .vg-n, .cstack .of-n { font-size: clamp(2.2rem, 4vw, 3rem) !important; margin-bottom: 4px !important; }
.cstack .wh-ico { width: 44px !important; height: 44px !important; padding: 10px; margin-bottom: 16px !important; border-radius: 12px; }
.cstack .cs-slot > *::after { width: 200px; height: 200px; inset-inline-end: -60px; bottom: -80px; }
.svc-main .cstack { max-width: 540px !important; margin-inline: 0 !important; }
.ab-values .vg-wrap, .ab-why .wh { max-width: 660px !important; }
@media (min-width: 900px) {
  .ab-duo .ab-values .container, .ab-duo .ab-why .container { display: grid !important; align-items: start !important; column-gap: 64px; }
  .ab-duo .ab-values .container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important; grid-template-areas: "head deck" !important; }
  .ab-duo .ab-why .container { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important; grid-template-areas: "deck head" !important; }
  .ab-duo .ab-values .vg-wrap, .ab-duo .ab-why .wh { grid-area: deck; width: 100%; max-width: 660px !important; margin: 0 !important; }
  .ab-duo .ab-values .vg-wrap { justify-self: end; }
  .ab-duo .ab-why .wh { justify-self: start; }
  .ab-duo .ab-values .section-head, .ab-duo .ab-why .section-head {
    grid-area: head; position: sticky !important; top: 0; height: 100vh; height: 100dvh; margin: 0 !important; max-width: none;
    display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--m-head, 84px) + 4px); box-sizing: border-box;
  }
  .ab-duo .ab-values .section-head { text-align: start; align-items: flex-start; }
  .ab-duo .ab-why .section-head { text-align: end; align-items: flex-end; }
  .ab-duo .cstack { margin-top: 0 !important; }
}
@media (max-width: 639.98px) {
  .cstack .cs-slot > * { min-height: 0; padding: 24px 22px !important; border-radius: 20px !important; }
  .cstack .vg-n, .cstack .of-n { font-size: 2.2rem !important; }
}
.cs-slot { pointer-events: none; }
.cs-slot > * { pointer-events: auto; }
@media (min-width: 900px) { .ab-duo .ab-values .section-head, .ab-duo .ab-why .section-head { pointer-events: none; } }
.ab-duo > section { padding-block: 56px !important; }

/* Tighter stack: cards pin just under the header (not mid-screen) and the next card follows closely, so no empty screens (2026-11-21) */
.cs-slot { height: auto !important; display: block !important; top: calc(var(--m-head, 84px) + 28px + var(--i, 0) * 22px) !important; padding: 0 0 18vh !important; }
.cs-slot:last-child { padding-bottom: 0 !important; }
@media (min-width: 900px) {
  .ab-duo .ab-values .section-head, .ab-duo .ab-why .section-head { height: auto !important; top: calc(var(--m-head, 84px) + 28px) !important; padding-top: 0 !important; justify-content: flex-start !important; }
}
@media (max-width: 639.98px) {
  .cs-slot { top: calc(var(--m-head, 72px) + 16px + var(--i, 0) * 16px) !important; padding-bottom: 14vh !important; }
  .cs-slot:last-child { padding-bottom: 0 !important; }
}
/* the last card needs the same run-up as the others to land on the stack before the block scrolls away (2026-11-21) */
.cs-slot:last-child { padding-bottom: 18vh !important; }
@media (max-width: 639.98px) { .cs-slot:last-child { padding-bottom: 14vh !important; } }
