/* Raqmi1 - North Al Batinah microsite
   Theme v2: Coastal Horizon ? warm navy, sand-gold accent, soft geometry
   Type: Plus Jakarta Sans (EN) + Alexandria (AR) */

@font-face {
  font-family: "Inter";
  src: url("../images/fonts/Inter-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../images/fonts/Inter-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Alexandria";
  src: url("../images/fonts/Alexandria-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg-deep: #11223b;
  --bg-panel: #152232a3;
  --bg-elevated: #1c2d4045;
  --text: #f7f3eb;
  --text-muted: #a8b4c4;
  --accent: #c4923a;
  --accent-dim: #c4923a;
  --accent-hover: #f0c56d;
  --glow: rgba(228, 176, 74, 0.28);
  --border: rgba(255, 236, 210, 0.1);
  --radius: 3px;
  --font-en: "Inter", system-ui, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
  --font-ar: "Alexandria", "Segoe UI", sans-serif;
  --max: 1140px;
  --header-bg: rgb(31 56 93 / 23%);
  --stat-card-bg: rgba(21, 34, 50, 0.75);
  --promo-inner-bg: rgba(21, 34, 50, 0.55);
  --btn-primary-fg: #1c1408;
  --link-hover: #f8d78f;
  --footer-bg: rgba(10, 16, 26, 0.92);
  --hero-visual-glow: rgba(228, 176, 74, 0.09);
  --mesh-base: #080f18;
  --activity-card-shadow: rgba(0, 0, 0, 0.2);
  --pillar-card-shadow: rgba(0, 0, 0, 0.16);
  --section-bg-overlay-1: rgba(12, 18, 28, 0.65);
  --section-bg-overlay-2: rgba(12, 18, 28, 0.22);
  --section-bg-overlay-3: rgba(12, 18, 28, 0.7);
  --section-bg-photo-filter: saturate(0.9) brightness(0.8);
  --digital-grid: rgba(228, 176, 74, 0.35);
  --digital-grid-faint: rgba(140, 180, 210, 0.14);
  --digital-scan: rgba(245, 210, 140, 0.5);
}

html[data-theme="light"] {
  --bg-deep: #f7f4ee;
  --bg-panel: #ffffff;
  --bg-elevated: #ebe4d8;
  --text: #1a2433;
  --text-muted: #5c6b7d;
  --accent: #b07d1e;
  --accent-dim: #8f6518;
  --accent-hover: #946a16;
  --glow: rgba(176, 125, 30, 0.2);
  --border: rgba(26, 36, 51, 0.1);
  --header-bg: rgba(255, 252, 247, 0.96);
  --stat-card-bg: rgba(255, 255, 255, 0.9);
  --promo-inner-bg: rgba(255, 255, 255, 0.88);
  --btn-primary-fg: #1c1408;
  --link-hover: #7a5614;
  --footer-bg: rgba(255, 252, 247, 0.96);
  --hero-visual-glow: rgba(176, 125, 30, 0.12);
  --mesh-base: #ebe6de;
  --activity-card-shadow: rgba(26, 36, 51, 0.07);
  --pillar-card-shadow: rgba(26, 36, 51, 0.06);
  --section-bg-overlay-1: rgba(255, 252, 247, 0.78);
  --section-bg-overlay-2: rgba(255, 252, 247, 0.35);
  --section-bg-overlay-3: rgba(255, 252, 247, 0.85);
  --section-bg-photo-filter: saturate(0.95) brightness(1.02);
  --digital-grid: rgba(176, 125, 30, 0.3);
  --digital-grid-faint: rgba(90, 120, 150, 0.15);
  --digital-scan: rgba(176, 125, 30, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-en);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

body[dir="rtl"] .nav-links,
body[dir="rtl"] .hero-actions {
  flex-direction: row-reverse;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--link-hover);
}

/* Background: warm dusk + soft tide lines (coastal, not cyber-grid) */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--mesh-base);
  background-image: linear-gradient(
    195deg,
    rgba(228, 176, 74, 0.06) 0%,
    transparent 38%,
    transparent 55%,
    rgba(45, 75, 110, 0.12) 100%
  );
}

.bg-mesh__skew,
.bg-mesh__horizon,
.bg-mesh__beacon {
  position: absolute;
  pointer-events: none;
}

.bg-mesh__skew {
  z-index: 0;
  inset: -28% -18%;
  transform: rotate(-8deg) scale(1.1);
  transform-origin: 50% 40%;
  opacity: 0.4;
  background-image:
    linear-gradient(90deg, rgba(228, 176, 74, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(120, 155, 195, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: bg-skew-slide 120s linear infinite;
  mix-blend-mode: soft-light;
}

.bg-mesh__horizon {
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -8%;
  height: 50%;
  opacity: 0.32;
  background-image: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 12px,
    rgba(228, 176, 74, 0.04) 12px,
    rgba(228, 176, 74, 0.04) 13px
  );
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 40%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 40%, #000 100%);
  animation: bg-horizon-drift 28s ease-in-out infinite alternate;
}

.bg-mesh__beacon {
  z-index: 0;
  inset: -40%;
  background: conic-gradient(
    from 200deg at 48% 40%,
    transparent 0deg,
    rgba(228, 176, 74, 0.04) 32deg,
    transparent 64deg,
    transparent 360deg
  );
  animation: bg-beacon-turn 56s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.bg-mesh::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(228, 176, 74, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 165, 200, 0.022) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: bg-fine-grid 88s linear infinite;
  opacity: 0.75;
}

.bg-mesh::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 75% at 50% 45%, transparent 18%, rgba(4, 8, 14, 0.5) 100%);
  animation: bg-vignette-breathe 22s ease-in-out infinite alternate;
  opacity: 0.65;
}

html[data-theme="light"] .bg-mesh {
  background-image: linear-gradient(
    195deg,
    rgba(176, 125, 30, 0.08) 0%,
    transparent 40%,
    transparent 58%,
    rgba(200, 210, 225, 0.35) 100%
  );
}

html[data-theme="light"] .bg-mesh::after {
  background: radial-gradient(ellipse 92% 78% at 50% 42%, transparent 25%, rgba(255, 252, 247, 0.55) 100%);
}

@keyframes bg-skew-slide {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 124px 62px, -62px 124px;
  }
}

@keyframes bg-horizon-drift {
  0% {
    transform: translateY(3%);
    opacity: 0.28;
  }
  100% {
    transform: translateY(-1.5%);
    opacity: 0.46;
  }
}

@keyframes bg-beacon-turn {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bg-fine-grid {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 26px 26px, 26px 26px;
  }
}

@keyframes bg-vignette-breathe {
  0% {
    opacity: 0.62;
    transform: scale(1);
  }
  100% {
    opacity: 0.78;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-mesh::before,
  .bg-mesh::after,
  .bg-mesh__skew,
  .bg-mesh__horizon,
  .bg-mesh__beacon {
    animation: none;
  }

  .bg-mesh__skew {
    background-position: 40px 20px, -20px 40px;
  }

  .bg-mesh__horizon {
    transform: translateY(0);
    opacity: 0.34;
  }

  .bg-mesh__beacon {
    transform: rotate(120deg);
    opacity: 0.5;
  }

  .bg-mesh::after {
    opacity: 0.7;
    transform: none;
  }
}

/* Full-width bg.png + readable digital overlay (gradient opens in the middle so motion shows) */
.section-bg-fixed {
  position: relative;
  width: 100%;
  min-height: min(52vh, 560px);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
}

.section-bg-fixed__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: var(--section-bg-photo-filter);
}

/* Digital dots network overlay */
.section-bg-fixed__digital {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: rgba(16, 24, 36, 0.22);
  background-image: radial-gradient(circle at center, rgba(228, 176, 74, 0.62) 1.2px, transparent 1.8px);
  background-size: 22px 22px;
  animation: section-dots-drift 22s linear infinite;
}

.section-bg-fixed__digital::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(60deg, transparent 48%, rgba(228, 176, 74, 0.2) 50%, transparent 52%),
    linear-gradient(120deg, transparent 48%, rgba(228, 176, 74, 0.14) 50%, transparent 52%);
  background-size: 42px 42px, 48px 48px;
  animation: section-links-flow 18s linear infinite;
}

.section-bg-fixed__digital::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(248, 210, 140, 0.45) 0, rgba(248, 210, 140, 0) 24%),
    radial-gradient(circle at 68% 62%, rgba(228, 176, 74, 0.3) 0, rgba(228, 176, 74, 0) 28%),
    radial-gradient(circle at 84% 34%, rgba(248, 210, 140, 0.32) 0, rgba(248, 210, 140, 0) 22%);
  animation: section-dots-pulse 7.5s ease-in-out infinite alternate;
}

@keyframes section-dots-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 22px 22px;
  }
}

@keyframes section-links-flow {
  0% {
    transform: translateX(-2%) translateY(1%);
  }
  100% {
    transform: translateX(2%) translateY(-1%);
  }
}

@keyframes section-dots-pulse {
  0% {
    opacity: 0.45;
  }
  100% {
    opacity: 0.9;
  }
}

/* Softer band in the centre so the grid and scan stay visible */
.section-bg-fixed::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 16, 26, 0.75) 0%,
    rgba(10, 16, 26, 0.14) 36%,
    rgba(10, 16, 26, 0.2) 64%,
    rgba(10, 16, 26, 0.8) 100%
  );
}

html[data-theme="light"] .section-bg-fixed__digital {
  background-color: rgba(255, 255, 255, 0.2);
  background-image: radial-gradient(circle at center, rgba(176, 125, 30, 0.56) 1.1px, transparent 1.7px);
}

html[data-theme="light"] .section-bg-fixed__digital::before {
  opacity: 0.38;
  background-image:
    linear-gradient(60deg, transparent 48%, rgba(176, 125, 30, 0.15) 50%, transparent 52%),
    linear-gradient(120deg, transparent 48%, rgba(176, 125, 30, 0.11) 50%, transparent 52%);
}

html[data-theme="light"] .section-bg-fixed__digital::after {
  background:
    radial-gradient(circle at 18% 28%, rgba(176, 125, 30, 0.28) 0, rgba(176, 125, 30, 0) 24%),
    radial-gradient(circle at 68% 62%, rgba(176, 125, 30, 0.2) 0, rgba(176, 125, 30, 0) 28%),
    radial-gradient(circle at 84% 34%, rgba(176, 125, 30, 0.24) 0, rgba(176, 125, 30, 0) 22%);
}

html[data-theme="light"] .section-bg-fixed::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.18) 38%,
    rgba(255, 255, 255, 0.28) 62%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

@media (max-width: 768px) {
  .section-bg-fixed__media {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-bg-fixed__digital,
  .section-bg-fixed__digital::before,
  .section-bg-fixed__digital::after {
    animation: none;
  }

  .section-bg-fixed__digital::before,
  .section-bg-fixed__digital::after {
    opacity: 0.45;
    transform: none;
  }
}

/* Decorative PNG at top of promo / page hero */
.promo-banner-asset {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 0.85rem;
  display: flex;
  justify-content: center;
  line-height: 0;
  pointer-events: none;
  transform: translateY(-20%);
  margin-bottom: -6%;
}

.promo-banner-asset img {
  display: block;
  width: min(100%, 1000px);
  max-height: min(30vh, 260px);
  height: auto;
  object-fit: contain;
  object-position: center center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body[dir="rtl"] .header-controls {
  flex-direction: row-reverse;
}

body[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

body[dir="rtl"] .nav-links a {
  text-align: right;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.brand-separator {
  width: 1px;
  height: 30px;
  background: var(--border);
  opacity: 0.9;
}

.brand-logo2 {
  display: block;
  width: clamp(74px, 8.4vw, 116px);
  height: auto;
  object-fit: contain;
}

.brand-logo {
  display: block;
  height: 60px;
  width: auto;
  max-width: min(62vw, 360px);
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
  animation: brand-float 5.8s ease-in-out infinite;
}

@media (min-width: 640px) {
  .brand-logo {
    height: 78px;
    margin: 0;
    max-width: min(48vw, 360px);
    position: static;
  }
}

@keyframes brand-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

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

/* Header: two imgs; CSS shows dark vs light asset per data-theme */
.brand-logo--theme-light {
  display: none;
}

html[data-theme="light"] .brand-logo--theme-dark {
  display: none;
}

html[data-theme="light"] .brand-logo--theme-light {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-panel);
  color: var(--text);
  padding: 0.45rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.8rem;
}

.lang-toggle button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
}

.lang-toggle button.active {
  background: var(--bg-elevated);
  color: var(--accent);
}

.theme-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.theme-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0.45rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  line-height: 0;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.theme-toggle button:hover {
  color: var(--text);
}

.theme-toggle button:active {
  transform: scale(0.94);
}

.theme-toggle button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-toggle button.active {
  background: var(--bg-elevated);
  color: var(--accent);
}

.theme-toggle__icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "brand toggle controls"
      "nav nav";
    align-items: center;
    gap: 0.7rem 0.9rem;
    padding: 0.7rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
  }

  .site-header.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    gap: 0.5rem;
  }

  .brand-logo {
    height: 48px;
    max-width: min(47vw, 220px);
  }

  .brand-logo2 {
    width: clamp(56px, 12vw, 88px);
  }

  .brand-separator {
    height: 24px;
  }

  .header-controls {
    grid-area: controls;
    justify-self: end;
    gap: 0.4rem;
  }

  .theme-toggle button {
    min-width: 2.1rem;
    min-height: 2.1rem;
    padding: 0.35rem;
  }

  .lang-toggle button {
    padding: 0.3rem 0.6rem;
  }

  .site-header nav {
    grid-area: nav;
    width: 100%;
    display: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
    padding: 0.65rem 0.75rem;
  }

  .site-header.nav-open nav {
    display: block;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding-bottom: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    width: 100%;
    white-space: normal;
    font-size: 0.88rem;
    line-height: 1.2;
    padding: 0.35rem 0;
  }

  body[dir="rtl"] .nav-links {
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 0.55rem 0.6rem;
    padding: 0.62rem 0.78rem;
  }

  .brand-logo {
    height: 42px;
    max-width: min(44vw, 185px);
  }

  .brand-logo2 {
    width: clamp(52px, 15vw, 72px);
  }

  .theme-toggle button {
    min-width: 1.95rem;
    min-height: 1.95rem;
    padding: 0.28rem;
  }

  .theme-toggle__icon {
    width: 1rem;
    height: 1rem;
  }

  .lang-toggle {
    font-size: 0.74rem;
  }

  .lang-toggle button {
    padding: 0.24rem 0.5rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.82rem;
  }
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
}

/* Hero shell + full-bleed video (images/bgvideo.mp4) */
.hero.hero--shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: min(72vh, 820px);
  padding: clamp(2.75rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.55) saturate(1.85);
}

.hero__video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(8, 14, 24, 0.93) 0%,
    rgba(8, 14, 24, 0.76) 38%,
    rgba(8, 14, 24, 0.52) 72%,
    rgba(8, 14, 24, 0.68) 100%
  );
}

html[data-theme="light"] .hero__video-scrim {
  background: linear-gradient(
    105deg,
    rgba(247, 244, 238, 0.92) 0%,
    rgba(247, 244, 238, 0.72) 40%,
    rgba(247, 244, 238, 0.45) 72%,
    rgba(247, 244, 238, 0.7) 100%
  );
}

.hero.hero--shell .hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video-wrap {
    display: none;
  }

  .hero.hero--shell {
    background: linear-gradient(125deg, rgba(228, 176, 74, 0.09) 0%, transparent 42%, transparent 100%),
      var(--bg-deep);
  }

  html[data-theme="light"] .hero.hero--shell {
    background: linear-gradient(125deg, rgba(176, 125, 30, 0.1) 0%, transparent 45%, transparent 100%),
      var(--bg-deep);
  }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero--shell h1 {
  font-size: clamp(2.1rem, 4.9vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1.15rem;
  max-width: 16ch;
}

html[lang="en"] .hero--shell h1 {
  font-family: var(--font-display);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 0 1.75rem;
}

.hero-lead[lang="ar"] {
  max-width: 42ch;
  font-size: 1.1rem;
}

.hero--shell .hero-lead {
  max-width: 44ch;
  line-height: 1.7;
}

.hero--shell .hero-lead[lang="ar"] {
  max-width: 50ch;
}

.hero-lead strong,
.page-hero p strong {
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero--shell .btn {
  border-radius: 10px;
  padding: 0.88rem 1.55rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--btn-primary-fg);
  box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px var(--glow);
  color: var(--btn-primary-fg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  /* background:
    radial-gradient(ellipse 80% 70% at 50% 50%, var(--hero-visual-glow), transparent 65%),
    linear-gradient(160deg, var(--bg-panel), var(--bg-elevated)); */
  /* border: 1px solid var(--border); */
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero--shell .hero-visual {
  border-radius: var(--radius);
  min-height: 300px;
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); */
}

html[data-theme="light"] .hero--shell .hero-visual {
  box-shadow: 0 16px 48px rgba(26, 36, 51, 0.08);
}

.hero-stat-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.stat-card {
  /* background: var(--stat-card-bg); */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 1.75rem;
  color: var(--accent);
  font-weight: 700;
}

.hero--shell .stat-card strong {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

.stat-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Promo banner (below hero) ? full-bleed strip, editorial block inside */
.promo-banner {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 0 1.5rem;
}

.promo-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  border: solid var(--border);
  border-width: 1px 0;
  border-radius: 0;
  background: var(--promo-inner-bg);
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  box-shadow: none;
}

html[data-theme="light"] .promo-banner-inner {
  box-shadow: 0 4px 28px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .hero-visual {
  box-shadow: 0 8px 36px rgba(15, 23, 42, 0.08);
}

.promo-banner-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
}

.promo-banner-inner h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

html[lang="en"] .promo-banner-inner h2 {
  font-family: var(--font-display);
}

.promo-banner-text {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Activities carousel */
.activities-section {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.activities-head {
  margin-bottom: 1.5rem;
}

.activities-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: min(var(--max), 100%);
  margin: 0 auto;
  padding-bottom: 2.25rem;
}

body[dir="rtl"] .activities-carousel {
  flex-direction: row-reverse;
}

.carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(228, 176, 74, 0.35) transparent;
  padding: 0.35rem 0 0.85rem;
  -webkit-overflow-scrolling: touch;
  outline: none;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 24px,
    #000 calc(100% - 24px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 24px,
    #000 calc(100% - 24px),
    transparent 100%
  );
}

.carousel-viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0 0.35rem;
}

body[dir="rtl"] .carousel-track {
  flex-direction: row-reverse;
}

.activity-card {
  flex: 0 0 min(100%, 300px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

@media (min-width: 720px) {
  .activity-card {
    flex: 0 0 calc(33.333vw - 2.5rem);
    max-width: 320px;
    min-width: 260px;
  }
}

@media (min-width: 1100px) {
  .activity-card {
    flex: 0 0 300px;
  }
}

.activity-card:hover {
  border-color: rgba(228, 176, 74, 0.35);
  box-shadow: 0 12px 36px var(--activity-card-shadow);
  transform: translateY(-2px);
}

.activity-meta {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

.activity-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.activity-card p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.activity-link {
  font-size: 0.85rem;
  font-weight: 600;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.carousel-btn:hover {
  border-color: rgba(228, 176, 74, 0.45);
  color: var(--accent);
  background: var(--bg-elevated);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel-btn span {
  margin-top: -2px;
}

@media (max-width: 520px) {
  .carousel-btn {
    display: none;
  }
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

body[dir="rtl"] .carousel-dots {
  left: 50%;
  right: auto;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}

.carousel-dots button:hover {
  opacity: 0.65;
}

.carousel-dots button[aria-current="true"] {
  opacity: 1;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(228, 176, 74, 0.35);
}

.carousel-dots button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}

.section-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 700;
}

html[lang="en"] .section-head h2 {
  font-family: var(--font-display);
}

.section-head h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1rem;
  border-radius: 1px;
}

body[dir="rtl"] .section-head h2::before {
  margin-left: auto;
  margin-right: 0;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.65;
}

.impact-section {
  padding-top: clamp(1.8rem, 4vw, 2.8rem);
  padding-bottom: clamp(2rem, 4.5vw, 3rem);
  position: relative;
  /* Fade section out so next section background becomes visible */
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.impact-head {
  text-align: center;
  margin-bottom: 1rem;
}

.impact-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.impact-head p {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--text-muted);
}

.impact-orbit {
  position: relative;
  width: min(100%, 860px);
  min-height: 34rem;
  margin: 0 auto;
}

.impact-orbit__ring {
  position: absolute;
  inset: 12% 20%;
  border-radius: 999px;
  border: 1px dashed rgba(228, 176, 74, 0.4);
  box-shadow: 0 0 0 10px rgba(228, 176, 74, 0.05);
  animation: impact-spin 24s linear infinite;
}

.impact-orbit__ring--inner {
  inset: 22% 30%;
  opacity: 0.75;
  animation-duration: 16s;
  animation-direction: reverse;
}

.impact-orbit__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: clamp(7rem, 16vw, 9.4rem);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(228, 176, 74, 0.46);
  background: radial-gradient(circle at 30% 30%, rgba(228, 176, 74, 0.28), rgba(21, 34, 50, 0.95));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.impact-node {
  position: absolute;
  z-index: 3;
  width: min(300px, 42vw);
  padding: 0.25rem 0.4rem;
  text-align: center;
}

.impact-node::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(2rem, 5vw, 3.2rem);
  height: 2px;
  background: linear-gradient(90deg, rgba(228, 176, 74, 0.75), rgba(228, 176, 74, 0.15));
  opacity: 0.85;
}

.impact-node--inputs {
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
}

.impact-node--inputs::after {
  right: calc(-1 * clamp(2rem, 5vw, 3.2rem));
}

.impact-node--activation {
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
}

.impact-node--activation::after {
  left: 50%;
  top: auto;
  bottom: calc(-1 * clamp(1.8rem, 4vw, 2.8rem));
  width: 2px;
  height: clamp(1.8rem, 4vw, 2.8rem);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(228, 176, 74, 0.75), rgba(228, 176, 74, 0.15));
}

.impact-node--outcomes {
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
}

.impact-node--outcomes::after {
  left: calc(-1 * clamp(2rem, 5vw, 3.2rem));
  background: linear-gradient(90deg, rgba(228, 176, 74, 0.15), rgba(228, 176, 74, 0.75));
}

@keyframes impact-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.impact-icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin: 0 auto 0.45rem;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(228, 176, 74, 0.13);
  border: 1px solid rgba(228, 176, 74, 0.36);
  font-size: 1.15rem;
  line-height: 1;
}

.impact-icon--skills {
  font-size: 1.05rem;
}

.impact-icon--digitization {
  font-size: 1rem;
}

.impact-icon--reach {
  font-size: 1.1rem;
}

.impact-node h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.impact-kpi {
  margin: 0.25rem 0 0;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.impact-bars {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.62rem;
}

.impact-bar {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem;
}

.impact-bar span {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 2rem;
  padding: 0.35rem 0.55rem;
  color: #fff8eb;
  font-size: 0.83rem;
  overflow: hidden;
}

.impact-bar span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(228, 176, 74, 0.72), rgba(228, 176, 74, 0.36));
  z-index: -1;
  animation: impact-fill 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes impact-fill {
  to {
    width: var(--bar, 70%);
  }
}

.impact-bar b {
  font-weight: 700;
  color: var(--text);
}

html[data-theme="light"] .impact-bar span {
  color: #2a2013;
}

@media (max-width: 900px) {
  .impact-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .impact-orbit__ring,
  .impact-orbit__ring--inner,
  .impact-orbit__hub {
    display: none;
  }

  .impact-node,
  .impact-node--inputs,
  .impact-node--activation,
  .impact-node--outcomes {
    position: static;
    width: 100%;
    transform: none;
  }

  .impact-node::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .impact-orbit__ring,
  .impact-orbit__ring--inner,
  .impact-bar span::before {
    animation: none;
  }

  .impact-bar span::before {
    width: var(--bar, 70%);
  }
}

/* News & activities: full-bleed horizontal strip + hover shine */
.news-activities {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(3rem, 6vw, 4.5rem);
  margin-top: 0.5rem;
  background: linear-gradient(
    180deg,
    rgba(228, 176, 74, 0.04) 0%,
    transparent 45%,
    rgba(12, 22, 38, 0.35) 100%
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .news-activities {
  background: linear-gradient(
    180deg,
    rgba(176, 125, 30, 0.06) 0%,
    transparent 50%,
    rgba(235, 228, 216, 0.65) 100%
  );
}

.news-activities__intro {
  max-width: var(--max);
  margin: 0 auto clamp(1.75rem, 3vw, 2.25rem);
  padding: 0 1.5rem;
  text-align: center;
}

.news-activities__intro h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 700;
}

html[lang="en"] .news-activities__intro h2 {
  font-family: var(--font-display);
}

.news-activities__intro h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1rem;
  border-radius: 1px;
}

.news-activities__intro p {
  margin: 0 auto;
  color: var(--text-muted);
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.65;
}

.news-activities__controls {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 max(0.65rem, calc((100vw - min(var(--max), 100vw)) / 2 - 1.5rem));
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
  z-index: 4;
}

.news-nav-btn {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 0.2s ease, transform 0.18s ease, color 0.2s ease;
}

.news-nav-btn:hover {
  border-color: rgba(228, 176, 74, 0.45);
  color: var(--accent);
  transform: translateY(-1px);
}

.news-nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.news-activities__viewport {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(228, 176, 74, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1.75rem;
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

.news-activities__marquee {
  overflow: visible;
}

.news-activities__marquee-track {
  display: block;
  width: max-content;
}

.news-activities__row {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  gap: 1rem;
  padding: 0.5rem max(1.25rem, calc((100vw - min(var(--max), 100vw)) / 2 + 0.5rem));
}

body[dir="rtl"] .news-activities__row {
  flex-direction: row-reverse;
}

body[dir="rtl"] .news-activities__controls {
  flex-direction: row-reverse;
}

.news-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 min(82vw, 340px);
  min-height: clamp(26rem, 66vw, 34rem);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  padding: 0;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.25s ease;
}

.news-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(
    155deg,
    rgba(228, 176, 74, 0.22) 0%,
    rgba(21, 34, 50, 0.92) 48%,
    rgba(8, 15, 24, 0.98) 100%
  );
}

html[data-theme="light"] .news-slide__media {
  background: linear-gradient(
    155deg,
    rgba(176, 125, 30, 0.2) 0%,
    rgba(255, 252, 247, 0.96) 55%,
    rgba(235, 228, 216, 0.99) 100%
  );
}

.news-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-slide:hover .news-slide__img {
  transform: scale(1.07);
}

.news-slide__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem 1.15rem;
  min-height: 42%;
  background: linear-gradient(180deg, rgb(8 15 24 / 24%) 0%, rgb(8 15 24 / 78%) 35%, rgb(8 15 24) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.news-slide:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(228, 176, 74, 0.45);
  box-shadow:
    0 20px 48px var(--activity-card-shadow),
    0 0 0 1px rgba(228, 176, 74, 0.12);
  color: inherit;
}

.news-slide:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.news-slide__shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 248, 230, 0.14) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] .news-slide__shine {
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 60%,
    transparent 100%
  );
}

.news-slide:hover .news-slide__shine {
  transform: translateX(120%);
}

.news-slide__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.45rem;
}

.news-slide__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.news-slide__date {
  font-size: 0.74rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: rgba(247, 243, 235, 0.86);
  letter-spacing: 0.02em;
}

.news-slide h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff8eb;
}

html[lang="en"] .news-slide h3 {
  font-family: var(--font-display);
}

.news-slide p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(247, 243, 235, 0.92);
  line-height: 1.55;
  flex: 1;
}

.news-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s ease, transform 0.25s ease;
}

.news-slide:hover .news-slide__cta {
  color: var(--link-hover);
  transform: translateX(4px);
}

body[dir="rtl"] .news-slide:hover .news-slide__cta {
  transform: translateX(-4px);
}

@media (min-width: 720px) {
  .news-slide {
    flex: 0 0 min(34vw, 430px);
    min-height: clamp(29rem, 48vw, 36rem);
  }

  .news-slide__media {
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-slide,
  .news-slide__shine,
  .news-slide__img,
  .news-slide:hover .news-slide__cta {
    transition: none;
  }

  .news-slide:hover {
    transform: none;
  }

  .news-slide:hover .news-slide__shine {
    transform: none;
  }

  .news-slide:hover .news-slide__img {
    transform: none;
  }
}

.pillars {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 960px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.pillar-card:hover {
  border-color: rgba(228, 176, 74, 0.35);
  box-shadow: 0 10px 32px var(--pillar-card-shadow);
  transform: translateY(-2px);
}

.pillar-card .num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.pillar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pillar-card a.more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* CTA strip */
.cta-strip {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 0 4rem;
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--bg-elevated);
  border: solid var(--border);
  border-width: 1px 0;
  border-radius: 0;
  padding: clamp(2.75rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

html[lang="en"] .cta-inner h2 {
  font-family: var(--font-display);
}

.cta-inner p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner .btn {
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 0.9rem 1.75rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  margin-top: auto;
  background: var(--footer-bg);
  backdrop-filter: blur(8px);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.footer-logo2 {
  display: block;
  width: min(150px, 42vw);
  max-width: 180px;
  height: auto;
  margin: 0.15rem auto 0.25rem;
  object-fit: contain;
  object-position: center;
}

/* Inner page: article layout */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
}

.page-hero.page-hero--shell {
  position: relative;
  max-width: none;
  width: 100%;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}

.page-hero.page-hero--shell::after {
  content: "";
  display: block;
  max-width: var(--max);
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.page-hero.page-hero--shell .promo-banner-asset {
  max-width: var(--max);
}

.page-hero.page-hero--shell > .crumb,
.page-hero.page-hero--shell > h1,
.page-hero.page-hero--shell > p {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.page-hero.page-hero--shell h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

html[lang="en"] .page-hero.page-hero--shell h1 {
  font-family: var(--font-display);
}

.page-hero .crumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.page-hero .crumb a {
  color: var(--text-muted);
}

.page-hero .crumb a:hover {
  color: var(--accent);
}

.article-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .article-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.toc {
  position: sticky;
  top: 5.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.toc h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin-bottom: 0.5rem;
}

.toc a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}

.toc a:hover {
  color: var(--accent);
}

.article-body section {
  scroll-margin-top: 5.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-body section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.article-body h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--accent);
}

.article-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.article-body ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 0.35rem;
}

/* Light theme: warm paper + soft coast haze */
html[data-theme="light"] .bg-mesh {
  background-image: linear-gradient(
    188deg,
    rgba(176, 125, 30, 0.1) 0%,
    transparent 30%,
    transparent 62%,
    rgba(180, 195, 215, 0.22) 100%
  );
}

html[data-theme="light"] .bg-mesh__skew {
  opacity: 0.38;
  background-image:
    linear-gradient(90deg, rgba(176, 125, 30, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(120, 145, 175, 0.06) 1px, transparent 1px);
  mix-blend-mode: multiply;
}

html[data-theme="light"] .bg-mesh__horizon {
  opacity: 0.32;
  background-image: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 10px,
    rgba(176, 125, 30, 0.07) 10px,
    rgba(176, 125, 30, 0.07) 11px
  );
}

html[data-theme="light"] .bg-mesh__beacon {
  background: conic-gradient(
    from 210deg at 50% 42%,
    transparent 0deg,
    rgba(176, 125, 30, 0.06) 28deg,
    transparent 56deg,
    transparent 360deg
  );
  mix-blend-mode: multiply;
  opacity: 0.65;
}

html[data-theme="light"] .bg-mesh::before {
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(176, 125, 30, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 165, 190, 0.05) 1px, transparent 1px);
}

html[data-theme="light"] .bg-mesh::after {
  opacity: 0.55;
  background: radial-gradient(ellipse 92% 78% at 50% 40%, transparent 25%, rgba(15, 23, 42, 0.05) 100%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Utility: hide lang block */
[lang="en"] .ar-only,
[lang="ar"] .en-only {
  display: none !important;
}
