/* ============================================================
   ETQAN EMC V2 — Main Stylesheet
   BUILD. OPERATE. DIGITIZE.
   Engineering precision meets architectural scale.
   ============================================================ */

/* ── 1. Imports ───────────────────────────────────────────── */
@import './design-tokens.css';
/* Google Fonts loaded via PHP enqueue for performance;
   kept here as fallback for non-WordPress use */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');
/* @import './components.css'; */


/* ── 2. CSS Reset / Base ──────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-en);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100%;
  overflow-x: hidden;
}

/* Arabic / RTL base */
[lang="ar"] body,
.rtl body,
body[dir="rtl"] {
  font-family: var(--font-ar);
  line-height: var(--leading-ar);
  direction: rtl;
}

/* Accessible focus */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Selection */
::selection {
  background-color: var(--c-gold);
  color: var(--c-white);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Base element resets */
img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--leading-snug);
}

p {
  margin-bottom: 0;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ── 3. Typography ────────────────────────────────────────── */

/* Display sizes */
.t-hero {
  font-size: var(--text-hero);
  font-weight: var(--fw-black);
  line-height: var(--leading-tight);
  letter-spacing: 0;
}

.t-h1 {
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: 0;
}

.t-h2 {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: 0;
}

.t-h3 {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-snug);
  letter-spacing: 0;
}

.t-h4 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semi);
  line-height: var(--leading-snug);
  letter-spacing: 0;
}

.t-h5 {
  font-size: var(--text-xl);
  font-weight: var(--fw-semi);
  line-height: var(--leading-snug);
}

.t-h6 {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  line-height: var(--leading-snug);
}

/* Body */
.t-body-lg {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.t-body {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.t-body-sm {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* Label / eyebrow */
.t-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
}

.t-caption {
  font-size: var(--text-xs);
  font-weight: var(--fw-regular);
  color: var(--c-mist);
  line-height: var(--leading-normal);
}

/* Arabic optical size compensation — Arabic glyphs read heavier */
.ar .t-hero,
[lang="ar"] .t-hero {
  font-weight: var(--fw-bold);
  letter-spacing: 0;
}

.ar .t-h1,
[lang="ar"] .t-h1,
.ar .t-h2,
[lang="ar"] .t-h2 {
  font-weight: var(--fw-bold);
  letter-spacing: 0;
}

.ar .t-h3,
[lang="ar"] .t-h3,
.ar .t-h4,
[lang="ar"] .t-h4 {
  font-weight: var(--fw-medium);
  letter-spacing: 0;
}

/* Color utilities */
.text-gold  { color: var(--c-gold); }
.text-sky   { color: var(--c-sky-light); }
.text-white { color: var(--c-white); }
.text-mist  { color: var(--c-mist); }
.text-ink   { color: var(--c-ink); }
.text-slate { color: var(--c-slate); }


/* ── 4. Layout ────────────────────────────────────────────── */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.container--wide {
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.container--mid {
  max-width: var(--container-mid);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.container--text {
  max-width: var(--container-text);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

/* 12-column grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

/* Column spans */
.col-span-1  { grid-column: span 1; }
.col-span-2  { grid-column: span 2; }
.col-span-3  { grid-column: span 3; }
.col-span-4  { grid-column: span 4; }
.col-span-5  { grid-column: span 5; }
.col-span-6  { grid-column: span 6; }
.col-span-7  { grid-column: span 7; }
.col-span-8  { grid-column: span 8; }
.col-span-9  { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; }
.col-span-12 { grid-column: span 12; }

@media (min-width: 768px) {
  .md\:col-span-1  { grid-column: span 1; }
  .md\:col-span-2  { grid-column: span 2; }
  .md\:col-span-3  { grid-column: span 3; }
  .md\:col-span-4  { grid-column: span 4; }
  .md\:col-span-6  { grid-column: span 6; }
  .md\:col-span-8  { grid-column: span 8; }
  .md\:col-span-12 { grid-column: span 12; }
}

@media (min-width: 1024px) {
  .lg\:col-span-1  { grid-column: span 1; }
  .lg\:col-span-2  { grid-column: span 2; }
  .lg\:col-span-3  { grid-column: span 3; }
  .lg\:col-span-4  { grid-column: span 4; }
  .lg\:col-span-5  { grid-column: span 5; }
  .lg\:col-span-6  { grid-column: span 6; }
  .lg\:col-span-7  { grid-column: span 7; }
  .lg\:col-span-8  { grid-column: span 8; }
  .lg\:col-span-9  { grid-column: span 9; }
  .lg\:col-span-10 { grid-column: span 10; }
  .lg\:col-span-12 { grid-column: span 12; }
}


/* ── 5. Header ────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  transition:
    background-color var(--dur-normal) var(--ease-out),
    padding var(--dur-normal) var(--ease-out),
    box-shadow var(--dur-normal) var(--ease-out);
  background-color: transparent;
}

.site-header.is-scrolled {
  background-color: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 4px 24px rgba(10,12,18,0.30);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-header__logo img,
.site-header__logo svg {
  height: 40px;
  width: auto;
  display: block;
  transition: height var(--dur-normal) var(--ease-out);
}

.site-header.is-scrolled .site-header__logo img,
.site-header.is-scrolled .site-header__logo svg {
  height: 34px;
}

/* Primary navigation */
.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  color: rgba(250, 250, 250, 0.80);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: var(--c-white);
  background-color: rgba(250, 250, 250, 0.06);
}

.site-nav__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.site-nav__link:hover svg {
  transform: rotate(180deg);
}

/* Header actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--c-gold);
  color: var(--c-gold);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  border-radius: var(--radius-sm);
  background-color: transparent;
  transition:
    background-color var(--dur-normal) var(--ease-out),
    color var(--dur-normal) var(--ease-out),
    box-shadow var(--dur-normal) var(--ease-out);
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background-color: var(--c-gold);
  color: var(--c-ink);
  box-shadow: 0 4px 16px rgba(200,150,62,0.30);
}

/* Language toggle */
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  color: rgba(250, 250, 250, 0.70);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  border: 1px solid rgba(250, 250, 250, 0.15);
  border-radius: var(--radius-sm);
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast),
    background-color var(--dur-fast);
  cursor: pointer;
}

.nav-lang:hover {
  color: var(--c-white);
  border-color: rgba(250, 250, 250, 0.35);
  background-color: rgba(250, 250, 250, 0.06);
}

.nav-lang__flag {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  transition: background-color var(--dur-fast);
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  background-color: rgba(250, 250, 250, 0.08);
}

.mobile-menu-btn__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--c-white);
  transform-origin: center;
  transition:
    transform var(--dur-normal) var(--ease-out),
    opacity var(--dur-normal) var(--ease-out),
    width var(--dur-normal) var(--ease-out);
}

/* Hamburger → X animation */
.mobile-menu-btn.is-open .mobile-menu-btn__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn.is-open .mobile-menu-btn__bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mobile-menu-btn.is-open .mobile-menu-btn__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Dark header variant — for use on light-background pages */
.site-header--dark .site-nav__link {
  color: rgba(10, 12, 18, 0.70);
}

.site-header--dark .site-nav__link:hover {
  color: var(--c-ink);
  background-color: rgba(10, 12, 18, 0.06);
}

.site-header--dark .nav-cta {
  border-color: var(--c-gold-dark);
  color: var(--c-gold-dark);
}

.site-header--dark .nav-cta:hover {
  background-color: var(--c-gold-dark);
  color: var(--c-white);
}

.site-header--dark .nav-lang {
  color: var(--c-slate);
  border-color: var(--c-fog);
}

.site-header--dark .nav-lang:hover {
  color: var(--c-ink);
  border-color: var(--c-slate);
}

.site-header--dark .mobile-menu-btn__bar {
  background-color: var(--c-ink);
}

/* ── 6. Hero Section ──────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--c-earth);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    var(--c-earth) 0%,
    var(--c-ink) 60%,
    #060810 100%
  );
}

/* ── Physical infrastructure base layer ─────────────────────────────────
   Suggests built environment: concrete, steel, structural form.
   Sits beneath the digital connectivity overlay at z-index 1.
   ───────────────────────────────────────────────────────────────────── */

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

/* Horizontal structural bands — floor/ceiling plane reference */
.hero__infra-band {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 180, 140, 0.12) 20%,
    rgba(200, 150, 62, 0.20) 50%,
    rgba(200, 180, 140, 0.12) 80%,
    transparent 100%
  );
}

.hero__infra-band--1 { top: 30%; }
.hero__infra-band--2 { top: 68%; }

/* Vertical structural columns — pillar / support element reference */
.hero__infra-col {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(200, 180, 140, 0.08) 20%,
    rgba(200, 150, 62, 0.16) 50%,
    rgba(200, 180, 140, 0.08) 80%,
    transparent 100%
  );
}

.hero__infra-col--1 { left: 20%; }
.hero__infra-col--2 { left: 50%; }
.hero__infra-col--3 { left: 80%; }

/* Structural crosshatch SVG — engineering drawing aesthetic */
.hero__infra-crosshatch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

/* ── Digital intelligence overlay layer ─────────────────────────────── */

/* Engineering grid overlay — simulates technical drawing grid */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(200, 150, 62, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 150, 62, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(200, 150, 62, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 150, 62, 0.025) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  background-position: center center;
  pointer-events: none;
}

/* Noise texture layer */
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

/* Radial vignette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(
    ellipse 80% 70% at 50% 100%,
    rgba(10, 12, 18, 0.55) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Right-side architectural accent line */
.hero__accent-line {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 1px;
  height: 45%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(200, 150, 62, 0.5) 30%,
    rgba(200, 150, 62, 0.5) 70%,
    transparent 100%
  );
  z-index: 4;
}

.hero__accent-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--c-gold);
}

.hero__accent-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--c-gold);
}

.hero__content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-bottom: clamp(4rem, 5vw, 7rem);
  padding-top: 10rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  color: var(--c-gold);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--c-gold);
  flex-shrink: 0;
}

.hero__headline {
  display: block;
  font-size: var(--text-hero);
  font-weight: var(--fw-black);
  line-height: var(--leading-tight);
  letter-spacing: 0;
  color: var(--c-white);
  max-width: 900px;
}

/* Word-by-word reveal containers */
.hero__headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.25em;
}

.hero__headline .word span {
  display: block;
  transform: translateY(110%);
  will-change: transform;
  transition: transform var(--dur-xslow) var(--ease-out);
}

.hero__headline .word.is-revealed span {
  transform: translateY(0);
}

/* Stagger delays for words */
.hero__headline .word:nth-child(1) span { transition-delay: 0ms; }
.hero__headline .word:nth-child(2) span { transition-delay: 80ms; }
.hero__headline .word:nth-child(3) span { transition-delay: 160ms; }
.hero__headline .word:nth-child(4) span { transition-delay: 240ms; }
.hero__headline .word:nth-child(5) span { transition-delay: 320ms; }
.hero__headline .word:nth-child(6) span { transition-delay: 400ms; }

/* Gold text variant inside hero headline */
.hero__headline .text-gold {
  color: var(--c-gold);
  font-style: italic;
}

.hero__subline {
  font-size: var(--text-xl);
  font-weight: var(--fw-regular);
  color: rgba(250, 250, 250, 0.68);
  max-width: 560px;
  margin-top: var(--space-6);
  line-height: var(--leading-relaxed);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(250, 250, 250, 0.40);
  font-size: var(--text-xs);
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--dur-normal);
}

.hero__scroll:hover {
  color: rgba(250, 250, 250, 0.70);
}

.hero__scroll-arrow {
  width: 20px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-arrow::after {
  content: '';
  display: block;
  width: 3px;
  height: 6px;
  background-color: currentColor;
  border-radius: 2px;
  animation: scrollBounce 1.8s var(--ease-in-out) infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%       { transform: translateY(10px); opacity: 0.2; }
}

/* Decorative animated nodes */
.hero__nodes {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.hero__node {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--c-gold);
  opacity: 0;
  animation: nodeAppear var(--dur-slow) var(--ease-spring) forwards;
}

.hero__node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--c-gold);
  opacity: 0.3;
  animation: pulseGold 2.5s ease-in-out infinite;
}

.hero__node:nth-child(1) { top: 22%; right: 18%; animation-delay: 0.5s; }
.hero__node:nth-child(2) { top: 55%; right: 12%; animation-delay: 0.9s; }
.hero__node:nth-child(3) { top: 35%; right: 28%; animation-delay: 1.3s; }


/* ── 7. Buttons ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-en);
  font-weight: var(--fw-semi);
  font-size: var(--text-sm);
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-sm);
  transition:
    background-color var(--dur-normal) var(--ease-out),
    color var(--dur-normal) var(--ease-out),
    border-color var(--dur-normal) var(--ease-out),
    box-shadow var(--dur-normal) var(--ease-out),
    transform var(--dur-fast) var(--ease-spring);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  padding: 0.875rem 2rem;
  position: relative;
  overflow: hidden;
}

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

/* Primary — gold filled */
.btn--primary {
  background-color: var(--c-gold);
  color: var(--c-ink);
  border: 1.5px solid var(--c-gold);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--c-gold-dark);
  border-color: var(--c-gold-dark);
  box-shadow: 0 8px 24px rgba(200, 150, 62, 0.35);
  color: var(--c-white);
}

/* Outline — gold border */
.btn--outline {
  background-color: transparent;
  color: var(--c-gold);
  border: 1.5px solid var(--c-gold);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--c-gold);
  color: var(--c-ink);
  box-shadow: 0 8px 24px rgba(200, 150, 62, 0.25);
}

/* Outline white — for dark backgrounds */
.btn--outline-white {
  background-color: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(250, 250, 250, 0.50);
}

.btn--outline-white:hover,
.btn--outline-white:focus-visible {
  background-color: rgba(250, 250, 250, 0.10);
  border-color: rgba(250, 250, 250, 0.80);
  color: var(--c-white);
}

/* Ghost — minimal */
.btn--ghost {
  background-color: transparent;
  color: inherit;
  border: 1.5px solid transparent;
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.btn--ghost:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sky blue — digital/tech */
.btn--sky {
  background-color: var(--c-sky);
  color: var(--c-white);
  border: 1.5px solid var(--c-sky);
}

.btn--sky:hover,
.btn--sky:focus-visible {
  background-color: var(--c-sky-dark);
  border-color: var(--c-sky-dark);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.30);
}

/* Sizes */
.btn--lg {
  font-size: var(--text-base);
  padding: 1.125rem 2.5rem;
  letter-spacing: 0;
}

.btn--sm {
  font-size: var(--text-xs);
  padding: 0.625rem 1.25rem;
  letter-spacing: 0;
}

.btn--icon {
  padding: 0.875rem;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
}

/* Arrow element inside button */
.btn__arrow {
  display: inline-flex;
  align-items: center;
  transition: transform var(--dur-normal) var(--ease-spring);
  flex-shrink: 0;
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
  transform: translateX(4px);
}

/* RTL — arrow goes left */
[dir="rtl"] .btn:hover .btn__arrow,
[dir="rtl"] .btn:focus-visible .btn__arrow {
  transform: translateX(-4px);
}


/* ── 8. Section Header ────────────────────────────────────── */

.section-header {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-header--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--c-gold);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-header__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--c-gold);
  flex-shrink: 0;
}

.section-header--center .section-header__label {
  justify-content: center;
}

.section-header--center .section-header__label::before {
  display: none;
}

.section-header__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: 0;
  color: inherit;
  margin-bottom: var(--space-4);
}

.section-header__subtitle {
  font-size: var(--text-md);
  color: var(--c-slate);
  line-height: var(--leading-relaxed);
  max-width: 600px;
}

.section-header--center .section-header__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Dark variant */
.bg-dark .section-header__title,
.section-header--on-dark .section-header__title {
  color: var(--c-white);
}

.bg-dark .section-header__subtitle,
.section-header--on-dark .section-header__subtitle {
  color: var(--c-mist);
}


/* ── 9. Business Units Section ────────────────────────────── */

.bu-section {
  background-color: var(--c-earth);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  overflow: hidden;
}

.bu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

/* Business unit card */
.bu-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid var(--c-stone);
  transition: border-color var(--dur-normal) var(--ease-out);
}

.bu-card:hover {
  border-color: var(--c-gold);
}

.bu-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform var(--dur-slow) var(--ease-out);
}

.bu-card:hover .bu-card__bg {
  transform: scale(1.04);
}

/* Build unit — engineering */
.bu-card--build .bu-card__bg {
  background: linear-gradient(
    160deg,
    #1a2a3a 0%,
    #0e1520 50%,
    #070c14 100%
  );
}

/* Operate unit — warmth */
.bu-card--operate .bu-card__bg {
  background: linear-gradient(
    160deg,
    #1f1208 0%,
    #140c05 50%,
    #0c0805 100%
  );
}

/* Digitize unit — electric */
.bu-card--digitize .bu-card__bg {
  background: linear-gradient(
    160deg,
    #080e22 0%,
    #050a18 50%,
    #030610 100%
  );
}

/* Advise unit — teal intelligence */
.bu-card--advise .bu-card__bg {
  background: linear-gradient(
    160deg,
    #051818 0%,
    #031010 50%,
    #020a0a 100%
  );
}

/* Faint accent overlay per unit */
.bu-card--build::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 60% 50% at 80% 20%,
    rgba(74, 96, 128, 0.20) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.bu-card--operate::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 60% 50% at 80% 20%,
    rgba(160, 96, 48, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.bu-card--digitize::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 60% 50% at 80% 20%,
    rgba(29, 78, 216, 0.22) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.bu-card--advise::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 60% 50% at 80% 20%,
    rgba(15, 95, 95, 0.22) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Large faint counter */
.bu-card__number {
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  z-index: 2;
  font-size: 6rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: rgba(250, 250, 250, 0.04);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-normal) var(--ease-out);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.bu-card:hover .bu-card__number {
  color: rgba(200, 150, 62, 0.08);
}

/* Icon area — engineering-style bracket */
.bu-card__icon-area {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bu-card__icon-area::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 150, 62, 0.30);
  border-radius: var(--radius-sm);
}

.bu-card__icon-area svg {
  width: 22px;
  height: 22px;
  color: var(--c-gold);
  opacity: 0.80;
}

/* Content area */
.bu-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: var(--space-6);
  background: linear-gradient(
    to top,
    rgba(10, 12, 18, 0.95) 0%,
    rgba(10, 12, 18, 0.70) 50%,
    transparent 100%
  );
  transition: padding-bottom var(--dur-normal) var(--ease-out);
}

.bu-card:hover .bu-card__content {
  padding-bottom: calc(var(--space-6) + var(--space-4));
}

.bu-card__label {
  display: block;
  color: var(--c-gold);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  opacity: 0.90;
}

.bu-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  line-height: var(--leading-snug);
  letter-spacing: 0;
  margin-bottom: 0;
}

.bu-card__desc {
  font-size: var(--text-sm);
  color: rgba(250, 250, 250, 0.65);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-3);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height var(--dur-slow) var(--ease-out),
    opacity var(--dur-normal) var(--ease-out);
}

.bu-card:hover .bu-card__desc {
  max-height: 100px;
  opacity: 1;
}

.bu-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  color: var(--c-gold);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--dur-normal) var(--ease-out),
    transform var(--dur-normal) var(--ease-out);
}

.bu-card:hover .bu-card__link {
  opacity: 1;
  transform: translateY(0);
}

.bu-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease-spring);
}

.bu-card__link:hover svg {
  transform: translateX(4px);
}


/* ── 10. Lifecycle Section ────────────────────────────────── */

.lifecycle-section {
  background-color: var(--c-ink);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  overflow: hidden;
}

.lifecycle__intro {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

/* Lifecycle track container */
.lifecycle__track-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-4);
}

.lifecycle__track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: var(--space-8) 0;
  position: relative;
}

/* Connecting line under stages */
.lifecycle__track::before {
  content: '';
  position: absolute;
  top: calc(var(--space-8) + 24px);
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--c-stone) 5%,
    var(--c-stone) 50%,
    rgba(37, 99, 235, 0.50) 70%,
    rgba(37, 99, 235, 0.80) 95%,
    transparent 100%
  );
}

/* Zone divider — Physical → Digital */
.lifecycle__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(200, 150, 62, 0.40) 20%,
    rgba(200, 150, 62, 0.40) 80%,
    transparent 100%
  );
}

.lifecycle__zone-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-mist);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.lifecycle__zone-label--digital {
  color: var(--c-sky-light);
}

.lifecycle__zone-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background-color: currentColor;
}

/* Each stage node */
.lifecycle__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-6);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-spring);
}

.lifecycle__stage:hover {
  transform: translateY(-4px);
}

.lifecycle__stage-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--c-stone);
  background-color: var(--c-steel);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition:
    border-color var(--dur-normal) var(--ease-out),
    background-color var(--dur-normal) var(--ease-out),
    box-shadow var(--dur-normal) var(--ease-out);
}

.lifecycle__stage-node svg {
  width: 20px;
  height: 20px;
  color: var(--c-mist);
  transition: color var(--dur-normal) var(--ease-out);
}

.lifecycle__stage:hover .lifecycle__stage-node,
.lifecycle__stage.is-active .lifecycle__stage-node {
  border-color: var(--c-gold);
  background-color: rgba(200, 150, 62, 0.12);
  box-shadow: 0 0 20px rgba(200, 150, 62, 0.20);
}

.lifecycle__stage:hover .lifecycle__stage-node svg,
.lifecycle__stage.is-active .lifecycle__stage-node svg {
  color: var(--c-gold);
}

/* Digital stages */
.lifecycle__stage--digital .lifecycle__stage-node {
  border-color: rgba(37, 99, 235, 0.40);
  background-color: rgba(37, 99, 235, 0.08);
}

.lifecycle__stage--digital .lifecycle__stage-node svg {
  color: var(--c-sky-light);
}

.lifecycle__stage--digital:hover .lifecycle__stage-node,
.lifecycle__stage--digital.is-active .lifecycle__stage-node {
  border-color: var(--c-sky);
  background-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.20);
}

.lifecycle__stage-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-mist);
  text-align: center;
  transition: color var(--dur-normal);
}

.lifecycle__stage:hover .lifecycle__stage-label,
.lifecycle__stage.is-active .lifecycle__stage-label {
  color: var(--c-gold);
}

.lifecycle__stage--digital .lifecycle__stage-label {
  color: var(--c-sky-light);
  opacity: 0.70;
}

.lifecycle__stage--digital:hover .lifecycle__stage-label {
  color: var(--c-sky-light);
  opacity: 1;
}


/* ── 11. Projects Section ─────────────────────────────────── */

.projects-section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background-color: var(--c-white);
}

/* Feature layout */
.projects-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.projects-feature {
  grid-column: span 1;
}

.projects-secondary {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Project card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background-color: var(--c-steel);
  display: block;
}

.project-card--feature {
  aspect-ratio: 4 / 3;
}

.project-card--secondary {
  aspect-ratio: 16 / 9;
  flex: 1;
}

.project-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.project-card:hover .project-card__image {
  transform: scale(1.06);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 12, 18, 0.90) 0%,
    rgba(10, 12, 18, 0.40) 40%,
    rgba(10, 12, 18, 0.10) 100%
  );
  transition: background var(--dur-normal) var(--ease-out);
}

.project-card:hover .project-card__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 12, 18, 0.95) 0%,
    rgba(10, 12, 18, 0.60) 50%,
    rgba(10, 12, 18, 0.20) 100%
  );
}

.project-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  z-index: 2;
}

.project-card__category {
  display: inline-block;
  color: var(--c-gold);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.project-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  line-height: var(--leading-snug);
  letter-spacing: 0;
  margin-bottom: var(--space-2);
}

.project-card--secondary .project-card__title {
  font-size: var(--text-xl);
}

.project-card__meta {
  font-size: var(--text-xs);
  color: rgba(250, 250, 250, 0.55);
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.project-card__meta span + span::before {
  content: '·';
  margin-right: var(--space-3);
}

/* Projects archive grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.projects-grid .project-card {
  aspect-ratio: 4 / 3;
}

/* Projects header with "All projects" link */
.projects-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  gap: var(--space-6);
  flex-wrap: wrap;
}


/* ── 12. Industries Section ───────────────────────────────── */

.industries-section {
  background-color: var(--c-off-white);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  overflow: hidden;
}

/* Desktop grid; mobile uses scroll */
.industries-grid {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--space-2);
}

.industries-grid::-webkit-scrollbar {
  display: none;
}

/* Industry card */
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  width: 260px;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  border: 1px solid var(--c-fog);
  transition:
    border-color var(--dur-normal),
    box-shadow var(--dur-normal) var(--ease-out),
    transform var(--dur-normal) var(--ease-spring);
  background-color: var(--c-white);
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* CSS-pattern backgrounds per industry */
.industry-card__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(
      45deg,
      currentColor 0,
      currentColor 1px,
      transparent 0,
      transparent 50%
    );
  background-size: 12px 12px;
  transition: opacity var(--dur-normal);
}

.industry-card:hover .industry-card__pattern {
  opacity: 0.10;
}

.industry-card__body {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Minimal CSS icon representation */
.industry-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  border: 1.5px solid var(--c-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--c-gold);
}

.industry-card__label {
  font-size: var(--text-md);
  font-weight: var(--fw-semi);
  color: var(--c-ink);
  margin-bottom: var(--space-2);
  letter-spacing: 0;
}

.industry-card__desc {
  font-size: var(--text-sm);
  color: var(--c-slate);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.industry-card__arrow {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--c-gold);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity var(--dur-normal),
    transform var(--dur-normal) var(--ease-out);
}

.industry-card:hover .industry-card__arrow {
  opacity: 1;
  transform: translateY(0);
}


/* ── 13. CTA Section ──────────────────────────────────────── */

.cta-section {
  position: relative;
  background-color: var(--c-ink);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  overflow: hidden;
  text-align: center;
}

/* Background grid */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 150, 62, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 150, 62, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial gold glow from center */
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vh;
  background: radial-gradient(
    ellipse at center,
    rgba(200, 150, 62, 0.10) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__label {
  display: inline-block;
  color: var(--c-gold);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.cta-section__headline {
  font-size: var(--text-4xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
  line-height: var(--leading-tight);
  letter-spacing: 0;
  max-width: 800px;
  margin: 0 auto var(--space-6);
}

.cta-section__sub {
  font-size: var(--text-md);
  color: var(--c-mist);
  max-width: 520px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

/* Final CTA variant — homepage closing section */
.cta-section--final {
  background: linear-gradient(
    135deg,
    #070a10 0%,
    var(--c-ink) 40%,
    #10070a 100%
  );
  padding-top: clamp(6rem, 10vw, 12rem);
  padding-bottom: clamp(6rem, 10vw, 12rem);
}

.cta-section--final .cta-section__headline {
  font-size: var(--text-5xl);
}


/* ── 14. Footer ───────────────────────────────────────────── */

.site-footer {
  background-color: var(--c-earth);
  border-top: 1px solid var(--c-stone);
  padding-top: clamp(3.5rem, 5vw, 6rem);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12) var(--space-8);
  padding-bottom: clamp(3rem, 4vw, 5rem);
}

/* Brand column */
.footer-brand {
  max-width: 320px;
}

.footer-brand__logo {
  height: 38px;
  width: auto;
  margin-bottom: var(--space-5);
  display: block;
}

.footer-brand__tagline {
  font-size: var(--text-sm);
  color: var(--c-mist);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-brand__slogan {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-gold);
  opacity: 0.80;
}

/* Nav columns */
.footer-nav__heading {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: var(--space-4);
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav__link {
  font-size: var(--text-sm);
  color: var(--c-mist);
  transition: color var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-nav__link:hover {
  color: var(--c-white);
}

/* Contact details */
.footer-contact__item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  align-items: flex-start;
}

.footer-contact__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--c-gold);
  margin-top: 2px;
}

.footer-contact__text {
  font-size: var(--text-sm);
  color: var(--c-mist);
  line-height: var(--leading-relaxed);
}

.footer-contact__text a:hover {
  color: var(--c-white);
}

/* Bottom bar */
.site-footer__bottom {
  border-top: 1px solid var(--c-stone);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.footer-legal {
  font-size: var(--text-xs);
  color: var(--c-slate);
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-stone);
  border-radius: var(--radius-sm);
  color: var(--c-mist);
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast),
    background-color var(--dur-fast);
}

.footer-social__link:hover {
  color: var(--c-white);
  border-color: var(--c-gold);
  background-color: rgba(200, 150, 62, 0.08);
}

.footer-social__link svg {
  width: 16px;
  height: 16px;
}

/* Footer language switcher */
.footer-lang {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-lang__btn {
  font-size: var(--text-xs);
  color: var(--c-slate);
  padding: var(--space-1) var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast);
  cursor: pointer;
}

.footer-lang__btn:hover,
.footer-lang__btn.is-active {
  color: var(--c-white);
  border-color: var(--c-stone);
}

.footer-lang__divider {
  width: 1px;
  height: 12px;
  background-color: var(--c-stone);
}


/* ── 15. Forms ────────────────────────────────────────────── */

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--c-ink);
  margin-bottom: var(--space-2);
}

.form-label--required::after {
  content: ' *';
  color: var(--c-error);
  font-size: var(--text-xs);
}

/* Base input styles */
.form-input,
.form-textarea,
.form-select {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-en);
  font-size: var(--text-base);
  color: var(--c-ink);
  background-color: var(--c-white);
  border: 1px solid var(--c-fog);
  border-radius: var(--radius);
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast),
    background-color var(--dur-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-mist);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px var(--c-gold-pale);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: var(--leading-relaxed);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Dark form variant */
.form--dark .form-label {
  color: var(--c-fog);
}

.form--dark .form-input,
.form--dark .form-textarea,
.form--dark .form-select {
  background-color: var(--c-steel);
  border-color: var(--c-stone);
  color: var(--c-white);
}

.form--dark .form-input::placeholder,
.form--dark .form-textarea::placeholder {
  color: var(--c-slate);
}

.form--dark .form-input:focus,
.form--dark .form-textarea:focus,
.form--dark .form-select:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.12);
}

/* Validation states */
.form-input--error,
.form-textarea--error {
  border-color: var(--c-error);
}

.form-input--error:focus,
.form-textarea--error:focus {
  box-shadow: 0 0 0 3px var(--c-error-pale);
}

.form-error {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--c-error);
  font-weight: var(--fw-medium);
}

.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--c-success);
  font-weight: var(--fw-medium);
}

/* Proposal form — multi-step */
.proposal-form {
  max-width: 800px;
  margin: 0 auto;
}

.proposal-form__steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-10);
  position: relative;
}

.proposal-form__steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--c-fog);
  transform: translateY(-50%);
}

.proposal-form__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  position: relative;
}

.proposal-form__step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--c-fog);
  background-color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  color: var(--c-mist);
  transition:
    border-color var(--dur-normal),
    background-color var(--dur-normal),
    color var(--dur-normal);
  z-index: 1;
}

.proposal-form__step.is-active .proposal-form__step-dot {
  border-color: var(--c-gold);
  background-color: var(--c-gold);
  color: var(--c-ink);
}

.proposal-form__step.is-done .proposal-form__step-dot {
  border-color: var(--c-success);
  background-color: var(--c-success);
  color: var(--c-white);
}

.proposal-form__step-label {
  font-size: var(--text-xs);
  color: var(--c-mist);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.proposal-form__step.is-active .proposal-form__step-label {
  color: var(--c-gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}


/* ── 16. Cards ────────────────────────────────────────────── */

/* Insight / editorial card */
.insight-card {
  background-color: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-fog);
  transition:
    box-shadow var(--dur-normal) var(--ease-out),
    transform var(--dur-normal) var(--ease-spring),
    border-color var(--dur-normal);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--c-gold-pale);
}

.insight-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--c-off-white);
}

.insight-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.insight-card:hover .insight-card__image img {
  transform: scale(1.05);
}

.insight-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background-color: var(--c-gold-pale);
  color: var(--c-gold-dark);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.insight-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semi);
  color: var(--c-ink);
  line-height: var(--leading-snug);
  letter-spacing: 0;
  margin-bottom: var(--space-3);
  transition: color var(--dur-fast);
}

.insight-card:hover .insight-card__title {
  color: var(--c-gold-dark);
}

.insight-card__excerpt {
  font-size: var(--text-sm);
  color: var(--c-slate);
  line-height: var(--leading-relaxed);
  flex: 1;
  margin-bottom: var(--space-4);
}

.insight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-fog);
}

.insight-card__date {
  font-size: var(--text-xs);
  color: var(--c-mist);
}

.insight-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--c-gold);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0;
  text-transform: uppercase;
  transition: gap var(--dur-fast) var(--ease-spring);
}

.insight-card:hover .insight-card__read-more {
  gap: var(--space-2);
}

/* Stat card */
.stat-card {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-md);
  background-color: var(--c-steel);
  border: 1px solid var(--c-stone);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--c-gold),
    transparent
  );
}

.stat-card__value {
  font-size: var(--text-5xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.stat-card__suffix {
  color: var(--c-gold);
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--c-mist);
  letter-spacing: 0;
  line-height: var(--leading-relaxed);
}

/* Service card */
.service-card {
  padding: var(--space-8);
  border-radius: var(--radius-md);
  background-color: var(--c-white);
  border: 1px solid var(--c-fog);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--dur-normal) var(--ease-out),
    border-color var(--dur-normal),
    transform var(--dur-normal) var(--ease-spring);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--c-gold), var(--c-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-normal) var(--ease-out);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-gold-pale);
  transform: translateY(-3px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background-color: var(--c-gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: background-color var(--dur-normal);
}

.service-card:hover .service-card__icon {
  background-color: rgba(200, 150, 62, 0.18);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--c-gold-dark);
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semi);
  color: var(--c-ink);
  margin-bottom: var(--space-3);
  letter-spacing: 0;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--c-slate);
  line-height: var(--leading-relaxed);
}


/* ── 17. Navigation — Mega menu & Mobile ──────────────────── */

/* Dropdown container */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 520px;
  background-color: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--c-fog);
  padding: var(--space-6);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--dur-normal) var(--ease-out),
    transform var(--dur-normal) var(--ease-out),
    visibility var(--dur-normal);
  transform: translateX(-50%) translateY(-8px);
}

.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.nav-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  transition:
    background-color var(--dur-fast),
    color var(--dur-fast);
}

.nav-dropdown__item:hover {
  background-color: var(--c-off-white);
}

.nav-dropdown__item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--c-gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dropdown__item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--c-gold-dark);
}

.nav-dropdown__item-text {
  flex: 1;
}

.nav-dropdown__item-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--c-ink);
  margin-bottom: var(--space-1);
}

.nav-dropdown__item-desc {
  font-size: var(--text-xs);
  color: var(--c-slate);
  line-height: var(--leading-normal);
}

/* Mobile navigation overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) + 1);
  background-color: var(--c-earth);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out), visibility 0s var(--dur-slow);
  visibility: hidden;
}

/* [hidden] attribute: ensure display:none wins */
.mobile-nav[hidden] { display: none !important; }

/* Support both .is-open (navigation.js) and :not([hidden]) (inline script) */
.mobile-nav.is-open,
.mobile-nav:not([hidden]) {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--dur-slow) var(--ease-out), visibility 0s;
}

/* RTL mobile nav */
[dir="rtl"] .mobile-nav {
  transform: translateX(-100%);
}

[dir="rtl"] .mobile-nav.is-open,
[dir="rtl"] .mobile-nav:not([hidden]) {
  transform: translateX(0);
}

.mobile-nav__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--c-stone);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  letter-spacing: 0;
  transition: color var(--dur-fast);
}

.mobile-nav__link:hover {
  color: var(--c-gold);
}

.mobile-nav__sub {
  padding-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-nav__sub-link {
  font-size: var(--text-base);
  color: var(--c-mist);
  padding-left: var(--space-4);
  transition: color var(--dur-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.mobile-nav__sub-link::before {
  content: '';
  display: block;
  width: 8px;
  height: 1px;
  background-color: currentColor;
  flex-shrink: 0;
}

.mobile-nav__sub-link:hover {
  color: var(--c-gold);
}

.mobile-nav__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
}

.mobile-nav__cta {
  width: 100%;
  justify-content: center;
}

.mobile-nav__lang {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}


/* ── 18. Utilities ────────────────────────────────────────── */

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

/* Text truncation */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Aspect ratios */
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-4-3  { aspect-ratio: 4 / 3; }
.aspect-3-4  { aspect-ratio: 3 / 4; }
.aspect-1-1  { aspect-ratio: 1 / 1; }
.aspect-2-1  { aspect-ratio: 2 / 1; }

/* Object fit */
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Spacing */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Flex helpers */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* Background utilities */
.bg-dark  { background-color: var(--c-earth); }
.bg-light { background-color: var(--c-off-white); }
.bg-white { background-color: var(--c-white); }
.bg-ink   { background-color: var(--c-ink); }
.bg-gold  { background-color: var(--c-gold); }

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--c-fog);
  border: none;
}

.divider--dark {
  background-color: var(--c-stone);
}

/* Gold accent line — decorative */
.accent-line {
  display: block;
  width: 48px;
  height: 2px;
  background-color: var(--c-gold);
  margin-bottom: var(--space-4);
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* Relative / absolute positioning helpers */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0  { inset: 0; }

/* Width helpers */
.w-full   { width: 100%; }
.h-full   { height: 100%; }

/* Display */
.hidden         { display: none; }
.block          { display: block; }
.inline-block   { display: inline-block; }
.inline-flex    { display: inline-flex; }

/* Pointer events */
.pointer-events-none { pointer-events: none; }


/* ── 19. Animations & Keyframes ───────────────────────────── */

/* Keyframes */
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  0%   { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes drawLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes drawLineVertical {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes pulseGold {
  0%, 100% { transform: scale(1); opacity: 0.30; }
  50%       { transform: scale(1.5); opacity: 0; }
}

@keyframes nodeAppear {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

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

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroReveal {
  0%   { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}

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

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* Utility animation classes */
.animate-fadeInUp {
  animation: fadeInUp var(--dur-slow) var(--ease-out) both;
}

.animate-slideInRight {
  animation: slideInRight var(--dur-slow) var(--ease-out) both;
}

.animate-float {
  animation: float 3.5s var(--ease-in-out) infinite;
}

/* Stagger helpers */
.animate-delay-1 { animation-delay: 100ms; }
.animate-delay-2 { animation-delay: 200ms; }
.animate-delay-3 { animation-delay: 300ms; }
.animate-delay-4 { animation-delay: 400ms; }
.animate-delay-5 { animation-delay: 500ms; }

/* Intersection observer trigger class */
.is-visible {
  animation-play-state: running;
}

/* Elements hidden until .is-visible is added */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children > *:nth-child(6) { transition-delay: 400ms; }
.stagger-children > *:nth-child(7) { transition-delay: 480ms; }
.stagger-children > *:nth-child(8) { transition-delay: 560ms; }

/* Skeleton loading shimmer */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--c-fog) 0%,
    var(--c-off-white) 50%,
    var(--c-fog) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}


/* ── 20. Responsive ───────────────────────────────────────── */

/* sm: 640px */
@media (min-width: 640px) {
  .sm\:hidden  { display: none; }
  .sm\:block   { display: block; }
  .sm\:flex    { display: flex; }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    gap: var(--space-4);
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* md: 768px */
@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block  { display: block; }
  .md\:flex   { display: flex; }
  .md\:grid   { display: grid; }

  /* Header shows desktop nav */
  .mobile-menu-btn { display: none; }
  .site-header__hamburger { display: none !important; }
  .site-nav { display: flex; align-items: center; }

  /* Bu grid — 2 columns */
  .bu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Projects layout */
  .projects-layout {
    grid-template-columns: 3fr 2fr;
  }

  .projects-feature { grid-column: 1; }
  .projects-secondary { grid-column: 2; }

  .projects-feature .project-card--feature {
    aspect-ratio: 3 / 4;
    height: 100%;
  }

  /* Projects grid */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Industries — grid on md */
  .industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    padding-bottom: 0;
  }

  .industry-card {
    width: auto;
    aspect-ratio: 4 / 5;
  }

  /* Footer grid */
  .site-footer__main {
    grid-template-columns: 2fr 1fr 1fr;
  }

  /* Lifecycle track visible on md */
  .lifecycle__track-wrapper {
    overflow: visible;
  }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:block  { display: block; }
  .lg\:flex   { display: flex; }
  .lg\:grid   { display: grid; }

  /* Bu grid — 4 columns */
  .bu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bu-card {
    aspect-ratio: 3 / 4;
  }

  /* Footer — 4 columns */
  .site-footer__main {
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Projects grid — 3 columns */
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Section header max-width */
  .section-header--center {
    max-width: 840px;
  }

  /* Hero */
  .hero__content {
    padding-bottom: clamp(5rem, 8vw, 9rem);
  }

  .hero__subline {
    max-width: 640px;
  }

  /* Form rows on lg */
  .form-row--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* xl: 1280px */
@media (min-width: 1280px) {
  .xl\:hidden { display: none; }
  .xl\:block  { display: block; }

  /* Industries — 5 on wide screens */
  .industries-grid--wide {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 2xl: 1440px */
@media (min-width: 1440px) {
  .industries-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Mobile-first overrides: items hidden on desktop, shown on mobile */
@media (max-width: 767px) {
  .mobile-menu-btn { display: flex; }
  .site-header__hamburger { display: flex !important; }
  .site-nav        { display: none; }

  .hero__headline {
    max-width: 100%;
  }

  .hero__subline {
    font-size: var(--text-lg);
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .lifecycle__track-wrapper {
    overflow-x: auto;
  }

  .cta-section--final .cta-section__headline {
    font-size: var(--text-4xl);
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: 100%;
  }

  .section-header__title {
    font-size: var(--text-3xl);
  }

  .projects-layout {
    grid-template-columns: 1fr;
  }

  .projects-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-secondary .project-card--secondary {
    aspect-ratio: 1 / 1;
  }
}

/* ── RTL Adjustments ──────────────────────────────────────── */

[dir="rtl"] .section-header__label::before,
[dir="rtl"] .hero__eyebrow::before {
  display: none;
}

[dir="rtl"] .section-header__label::after,
[dir="rtl"] .hero__eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--c-gold);
  flex-shrink: 0;
}

[dir="rtl"] .hero__accent-line {
  right: auto;
  left: 8%;
}

[dir="rtl"] .bu-card__number {
  right: auto;
  left: var(--space-5);
}

[dir="rtl"] .bu-card__icon-area {
  left: auto;
  right: var(--space-6);
}

[dir="rtl"] .footer-nav__link svg {
  transform: rotate(180deg);
}

[dir="rtl"] .mobile-nav__sub-link::before {
  display: none;
}

[dir="rtl"] .mobile-nav__sub-link::after {
  content: '';
  display: block;
  width: 8px;
  height: 1px;
  background-color: currentColor;
  flex-shrink: 0;
  order: -1;
}

[dir="rtl"] .btn__arrow {
  transform: rotate(180deg);
}

[dir="rtl"] .btn:hover .btn__arrow,
[dir="rtl"] .btn:focus-visible .btn__arrow {
  transform: rotate(180deg) translateX(4px);
}


/* ── Page-specific Utilities ──────────────────────────────── */

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: calc(var(--z-toast) + 100);
  padding: var(--space-3) var(--space-6);
  background-color: var(--c-gold);
  color: var(--c-ink);
  font-weight: var(--fw-semi);
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* Sticky section label */
.sticky-label {
  position: sticky;
  top: calc(var(--space-16) + 5rem);
  align-self: flex-start;
}

/* Gold gradient text */
.text-gradient-gold {
  background: linear-gradient(
    135deg,
    var(--c-gold-light) 0%,
    var(--c-gold) 50%,
    var(--c-gold-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated gold underline on links */
.link-underline {
  position: relative;
  display: inline;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--c-gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--dur-normal) var(--ease-out);
}

.link-underline:hover::after {
  transform: scaleX(1);
}

/* Tag / chip component */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  background-color: var(--c-off-white);
  color: var(--c-slate);
  border: 1px solid var(--c-fog);
}

.tag--gold {
  background-color: var(--c-gold-pale);
  color: var(--c-gold-dark);
  border-color: rgba(200, 150, 62, 0.25);
}

.tag--sky {
  background-color: var(--c-sky-pale);
  color: var(--c-sky-dark);
  border-color: rgba(37, 99, 235, 0.20);
}

.tag--dark {
  background-color: var(--c-steel);
  color: var(--c-mist);
  border-color: var(--c-stone);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--c-mist);
}

.breadcrumb__sep {
  color: var(--c-stone);
  font-size: 0.875em;
  flex-shrink: 0;
}

.breadcrumb__link {
  color: var(--c-slate);
  transition: color var(--dur-fast);
}

.breadcrumb__link:hover {
  color: var(--c-gold);
}

.breadcrumb__current {
  color: var(--c-gold);
  font-weight: var(--fw-medium);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--c-slate);
  border: 1px solid var(--c-fog);
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast),
    background-color var(--dur-fast);
}

.pagination__btn:hover {
  color: var(--c-ink);
  border-color: var(--c-gold);
  background-color: var(--c-gold-pale);
}

.pagination__btn.is-active {
  background-color: var(--c-gold);
  color: var(--c-ink);
  border-color: var(--c-gold);
  font-weight: var(--fw-bold);
}

/* Toast / alert notification */
.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background-color: var(--c-earth);
  border: 1px solid var(--c-stone);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-width: 380px;
  animation: slideInRight var(--dur-normal) var(--ease-out) both;
}

.toast--success { border-left: 3px solid var(--c-success); }
.toast--error   { border-left: 3px solid var(--c-error); }
.toast--gold    { border-left: 3px solid var(--c-gold); }

.toast__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--c-white);
  margin-bottom: var(--space-1);
}

.toast__body {
  font-size: var(--text-xs);
  color: var(--c-mist);
  line-height: var(--leading-relaxed);
}

/* Section connector — angled divider between sections */
.section-angled {
  position: relative;
}

.section-angled::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background-color: inherit;
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(200, 150, 62, 0.25);
  border-top-color: var(--c-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

/* Code block styling */
.code-block {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  background-color: var(--c-steel);
  border: 1px solid var(--c-stone);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  color: var(--c-sky-light);
  overflow-x: auto;
  line-height: var(--leading-relaxed);
}

/* Metric / KPI display */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

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

.kpi-item {
  text-align: center;
  padding: var(--space-6) var(--space-4);
}

.kpi-item__value {
  font-size: var(--text-4xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.kpi-item__value .suffix {
  font-size: 0.55em;
  color: var(--c-gold);
  vertical-align: super;
  font-weight: var(--fw-bold);
}

.kpi-item__label {
  font-size: var(--text-sm);
  color: var(--c-mist);
  line-height: var(--leading-normal);
}

/* Image with reveal overlay */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--c-gold);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform var(--dur-xslow) var(--ease-out);
}

.img-reveal.is-visible::after {
  transform: scaleX(0);
}

/* WordPress alignment classes */
.alignnone  { margin: var(--space-4) 0; }
.aligncenter {
  display: block;
  margin: var(--space-4) auto;
}
.alignleft {
  float: left;
  margin: var(--space-2) var(--space-6) var(--space-4) 0;
}
.alignright {
  float: right;
  margin: var(--space-2) 0 var(--space-4) var(--space-6);
}

@media (max-width: 639px) {
  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin: var(--space-4) 0;
  }
}

/* WP core blocks overrides */
.wp-block-image,
.wp-block-embed {
  margin: var(--space-8) 0;
}

.wp-caption {
  max-width: 100%;
  font-size: var(--text-xs);
  color: var(--c-mist);
  text-align: center;
  margin-top: var(--space-2);
}


/* ============================================================
   NAV — runtime class aliases
   Walker / fallback use different class names than the original
   CSS stubs. These rules bridge the gap without touching PHP.
   ============================================================ */

/* ── Desktop nav list & items ──────────────────────────────── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
}

/* ── Desktop nav links ─────────────────────────────────────── */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  color: rgba(250, 250, 250, 0.80);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  border-radius: var(--radius-sm);
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--c-white);
  background-color: rgba(250, 250, 250, 0.06);
}

/* ── Dropdown panel ────────────────────────────────────────── */
.menu-item-has-children {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0;
  background-color: var(--c-steel);
  border: 1px solid var(--c-stone);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--dur-normal) var(--ease-out),
    transform var(--dur-normal) var(--ease-out),
    visibility 0s var(--dur-normal);
  z-index: var(--z-overlay);
}

.menu-item-has-children.is-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity var(--dur-normal) var(--ease-out),
    transform var(--dur-normal) var(--ease-out),
    visibility 0s;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

.dropdown-link,
.dropdown-link--nested {
  display: block;
  padding: var(--space-3) var(--space-5);
  color: rgba(250, 250, 250, 0.80);
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  white-space: nowrap;
  transition: color var(--dur-fast), background-color var(--dur-fast);
}

.dropdown-link:hover,
.dropdown-link--nested:hover {
  color: var(--c-white);
  background-color: rgba(250, 250, 250, 0.06);
}

/* ── Nav chevron ───────────────────────────────────────────── */
.nav-chevron {
  display: inline-flex;
  align-items: center;
  transition: transform var(--dur-fast) var(--ease-out);
  pointer-events: none;
}

.menu-item-has-children.is-open > a > .nav-chevron,
.menu-item-has-children.is-open > a .nav-chevron {
  transform: rotate(180deg);
}

/* ── Language switcher ─────────────────────────────────────── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  color: rgba(250, 250, 250, 0.70);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  border: 1px solid rgba(250, 250, 250, 0.15);
  border-radius: var(--radius-sm);
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast),
    background-color var(--dur-fast);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.lang-switcher:hover,
.lang-switcher:focus-visible {
  color: var(--c-white);
  border-color: rgba(250, 250, 250, 0.35);
  background-color: rgba(250, 250, 250, 0.06);
}

/* ── Hamburger button (.site-header__hamburger) ────────────── */
.site-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  transition: background-color var(--dur-fast);
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--c-white);
}

.site-header__hamburger:hover {
  background-color: rgba(250, 250, 250, 0.08);
}

.hamburger__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--c-white);
  transform-origin: center;
  border-radius: 1px;
  transition:
    transform var(--dur-normal) var(--ease-out),
    opacity var(--dur-normal) var(--ease-out),
    width var(--dur-normal) var(--ease-out);
}

/* Hamburger → X when mobile nav is open */
body.mobile-nav-open .hamburger__bar--top,
body.mobile-nav-open .hamburger__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.mobile-nav-open .hamburger__bar--middle,
body.mobile-nav-open .hamburger__bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

body.mobile-nav-open .hamburger__bar--bottom,
body.mobile-nav-open .hamburger__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile nav inner layout ───────────────────────────────── */
.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-6) var(--gutter) var(--space-8);
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--c-stone);
  margin-bottom: var(--space-4);
}

.mobile-nav__logo-text {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  text-decoration: none;
}

.mobile-nav__logo-etqan { color: var(--c-gold); }
.mobile-nav__logo-emc   { color: var(--c-mist); margin-left: 0.15em; }

.mobile-nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--c-mist);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--dur-fast), background-color var(--dur-fast);
  flex-shrink: 0;
}

.mobile-nav__close:hover {
  color: var(--c-white);
  background-color: rgba(250, 250, 250, 0.08);
}

.mobile-nav__menu {
  flex: 1;
}

/* ── Mobile menu items (.mobile-menu__*) ───────────────────── */
.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__item {
  border-bottom: 1px solid var(--c-stone);
}

.mobile-menu__item:last-child {
  border-bottom: none;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  padding: var(--space-4) 0;
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  letter-spacing: 0;
  transition: color var(--dur-fast);
  text-decoration: none;
}

.mobile-menu__link:hover {
  color: var(--c-gold);
}

.mobile-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.mobile-menu__row .mobile-menu__link {
  flex: 1;
}

.mobile-menu__expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-stone);
  background: transparent;
  color: var(--c-mist);
  cursor: pointer;
  transition:
    color var(--dur-fast),
    background-color var(--dur-fast),
    border-color var(--dur-fast);
}

.mobile-menu__expand:hover {
  color: var(--c-white);
  border-color: var(--c-gold);
  background-color: rgba(200, 150, 62, 0.08);
}

.mobile-menu__expand.is-active {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

.mobile-menu__expand.is-active .mobile-menu__expand-icon {
  transform: rotate(180deg);
}

.mobile-menu__expand-icon {
  display: block;
  transition: transform var(--dur-normal) var(--ease-out);
}

.mobile-menu__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-menu__sub[hidden] {
  display: none !important;
}

[dir="rtl"] .mobile-menu__sub {
  padding-left: 0;
  padding-right: var(--space-4);
}

.mobile-menu__sub-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: var(--text-base);
  color: var(--c-mist);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.mobile-menu__sub-link::before {
  content: '';
  display: block;
  width: 8px;
  height: 1px;
  background-color: currentColor;
  flex-shrink: 0;
}

[dir="rtl"] .mobile-menu__sub-link::before {
  display: none;
}

[dir="rtl"] .mobile-menu__sub-link::after {
  content: '';
  display: block;
  width: 8px;
  height: 1px;
  background-color: currentColor;
  flex-shrink: 0;
  order: -1;
}

.mobile-menu__sub-link:hover {
  color: var(--c-gold);
}

/* ── Mobile nav footer ─────────────────────────────────────── */
.mobile-nav__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-6);
  margin-top: auto;
}

.mobile-nav__cta {
  width: 100%;
  justify-content: center;
}

.mobile-nav__lang {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

/* ── Mobile nav backdrop ───────────────────────────────────── */
.mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-nav);
  background-color: rgba(10, 12, 18, 0.55);
}

.mobile-nav__backdrop[hidden] {
  display: none !important;
}

/* ── Language visibility — show one language at a time ──────── */
/* Default (LTR / English): hide Arabic, show English */
.lang-ar { display: none !important; }

/* RTL (Arabic): show Arabic, hide English — revert keeps block/inline semantics */
[dir="rtl"] .lang-ar { display: revert !important; }
[dir="rtl"] .lang-en { display: none !important; }

/* ═══ SECTION SYSTEM — base + theme modifiers ═══════════════════════════════
   Templates use .section .section--{theme} pattern.
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section--light    { background-color: var(--c-white);     color: var(--c-ink);   }
.section--dark     { background-color: var(--c-earth);     color: var(--c-white); }
.section--offwhite { background-color: var(--c-off-white); color: var(--c-ink);   }
.section--cta-final { background-color: var(--c-earth);   color: var(--c-white); }

/* Dark section descendant resets */
.section--dark .section-header__subtitle,
.section--cta-final .section-header__subtitle {
  color: rgba(255, 255, 255, 0.70);
}

/* ── section-header alignment aliases ────────────────────────── */
.section-header--align-left { text-align: start; }

.section-header--align-center { text-align: center; }
.section-header--align-center .section-header__title,
.section-header--align-center .section-header__subtitle { text-align: center; }
.section-header--align-center .section-header__label {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header--align-center .section-header__label::before { display: none; }

/* ── section-header theme aliases ────────────────────────────── */
.section-header--theme-light .section-header__title   { color: var(--c-ink);   }
.section-header--theme-light .section-header__subtitle { color: var(--c-slate); }
.section-header--theme-light .section-header__label   { color: var(--c-gold);  }

.section-header--theme-dark .section-header__title   { color: var(--c-white); }
.section-header--theme-dark .section-header__subtitle { color: rgba(255, 255, 255, 0.65); }
.section-header--theme-dark .section-header__label   { color: var(--c-mist);  }

/* ── section footer — CTA row ────────────────────────────────── */
.section-footer {
  margin-top: var(--space-12);
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── animate-on-scroll — revealed on IntersectionObserver ────── */
.animate-on-scroll {
  transition:
    opacity  var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
  }
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SUPPLEMENTAL COMPONENT STYLES
   ========================================================================== */

/* ── Industries grid: 4 columns fixed (4×2) ────────────────────────────── */
@media (min-width: 1024px) {
  .industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--space-4);
    overflow-x: visible;
  }
  .industry-card {
    width: auto;
    aspect-ratio: 3 / 4;
  }
}
@media (min-width: 1280px) {
  .industries-grid,
  .industries-grid--wide {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
@media (min-width: 1440px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ── Business units: 3 columns on desktop ──────────────────────────────── */
@media (min-width: 1024px) {
  .bu-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .bu-card {
    aspect-ratio: auto;
  }
}

/* ── Intro: 2-column editorial layout ──────────────────────────────────── */
.intro__editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .intro__editorial {
    grid-template-columns: 55fr 45fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.intro__lead {
  font-size: var(--text-lg);
  color: var(--c-slate);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.intro__proof {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.intro__proof-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.intro__proof-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 150, 62, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 150, 62, 0.04);
  margin-top: 2px;
}

.intro__proof-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.intro__proof-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--c-ink);
}

.intro__proof-text {
  font-size: var(--text-sm);
  color: var(--c-slate);
  line-height: var(--leading-relaxed);
}

.intro__visual {
  position: relative;
}

.intro__visual-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
}

.intro__visual-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-off-white);
  border: 1px solid var(--c-fog);
  aspect-ratio: 7 / 6;
}

.intro__visual-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.intro__visual-stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.intro__visual-year {
  font-size: var(--text-4xl);
  font-weight: var(--fw-black);
  color: var(--c-gold);
  line-height: 1;
}

.intro__visual-label {
  font-size: var(--text-sm);
  color: var(--c-slate);
}

/* ── Footer: 3-column main grid ─────────────────────────────────────────── */
.footer-main {
  padding-top: clamp(3.5rem, 5vw, 6rem);
  padding-bottom: clamp(3rem, 4vw, 5rem);
  border-bottom: 1px solid var(--c-stone);
}

.footer-main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .footer-main__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .footer-main__grid {
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: var(--space-12);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Brand column */
.footer-col--brand .footer-brand__logo-text {
  display: inline-block;
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.footer-col--brand .footer-brand__etqan {
  color: var(--c-white);
}

.footer-col--brand .footer-brand__emc {
  color: var(--c-gold);
  margin-inline-start: 0.2em;
}

.footer-col--brand .footer-brand__logo-img {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-4);
  display: block;
}

.footer-brand__tagline {
  font-size: var(--text-sm);
  color: var(--c-mist);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
}

.footer-brand__description {
  font-size: var(--text-sm);
  color: var(--c-slate);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  margin-top: var(--space-2);
}

/* Explore & Contact column shared */
.footer-col--explore .footer-nav__heading,
.footer-col--contact .footer-nav__heading {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: var(--space-4);
}

.footer-col--explore .footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col--explore .footer-nav__link {
  font-size: var(--text-sm);
  color: var(--c-mist);
  transition: color var(--dur-fast);
}

.footer-col--explore .footer-nav__link:hover {
  color: var(--c-white);
}

/* Contact column */
.footer-col--contact .footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.footer-col--contact .footer-contact__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--c-mist);
}

.footer-col--contact .footer-contact__item svg {
  flex-shrink: 0;
  color: var(--c-gold);
  margin-top: 2px;
}

.footer-col--contact .footer-contact__address {
  font-size: var(--text-sm);
  color: var(--c-mist);
  font-style: normal;
  line-height: var(--leading-relaxed);
}

.footer-col--contact .footer-contact__link {
  font-size: var(--text-sm);
  color: var(--c-mist);
  transition: color var(--dur-fast);
}

.footer-col--contact .footer-contact__link:hover {
  color: var(--c-white);
}

.footer-col__cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Footer bottom bar */
.footer-bottom {
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}

.footer-bottom__copyright {
  font-size: var(--text-xs);
  color: var(--c-slate);
}

.footer-bottom__right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.footer-bottom__legal {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-bottom__legal-link {
  font-size: var(--text-xs);
  color: var(--c-slate);
  transition: color var(--dur-fast);
}

.footer-bottom__legal-link:hover {
  color: var(--c-white);
}

.footer-bottom__legal-sep {
  color: var(--c-stone);
  font-size: var(--text-xs);
}

.footer-bottom__lang {
  font-size: var(--text-xs);
}

/* ── Social links (footer brand column) ────────────────────────────────── */
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer-social__item {
  list-style: none;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-stone);
  border-radius: 50%;
  color: var(--c-mist);
  transition:
    border-color var(--dur-fast),
    color var(--dur-fast),
    background-color var(--dur-fast);
}

.footer-social__link:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background-color: rgba(200, 150, 62, 0.06);
}

