/* ==========================================================
   E.G.F.D website
   Brand palette and type taken from the 2026 company profile.
   ========================================================== */

:root {
  --ink: #0B3B46;        /* deep teal, primary text and dark sections */
  --ink-2: #072A32;
  --teal: #135C6A;
  --teal-2: #2E8C9B;
  --teal-soft: #7FB7BF;
  --mist: #EAF3F4;
  --gold: #F9B81F;       /* logo gold */
  --gold-deep: #E5A00D;
  --white: #FFFFFF;
  --text: #0B3B46;
  --muted: #4A6B72;
  --line: #D3E4E7;
  --danger: #C2410C;

  --font-head: "Source Serif 4", Cambria, Georgia, serif;
  --font-body: "DM Sans", Calibri, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(11, 59, 70, 0.45);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dir: 1;
}

html[lang="ar"] {
  --font-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", Tahoma, sans-serif;
}
html[dir="rtl"] { --dir: -1; }

/* Smooth cross-page transitions in supporting browsers */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .35s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Mobile browsers widen the page to fit sideways reveal transforms; clip keeps sticky elements working. */
main, .site-footer { overflow-x: clip; }
html[lang="ar"] body { line-height: 1.85; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.45; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 820px; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }
html[dir="rtl"] .scroll-progress span { transform-origin: 100% 50%; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn::after {
  /* light sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(229,160,13,.9); }
.btn-gold:hover { background: var(--gold-deep); box-shadow: 0 16px 30px -14px rgba(229,160,13,.9); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--ink); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-block { width: 100%; }
.btn-arrow { display: inline-block; transition: transform .3s var(--ease); }
html[dir="rtl"] .btn-arrow, html[dir="rtl"] .link-arrow span, html[dir="rtl"] .tile-more span, html[dir="rtl"] .job-go { transform: scaleX(-1); }
.btn:hover .btn-arrow { transform: translateX(calc(5px * var(--dir))) scaleX(var(--dir)); }
.flip { display: inline-block; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); text-decoration: none; }
.link-arrow span { display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(calc(6px * var(--dir))) scaleX(var(--dir)); }
.link-arrow-lg { margin-top: 28px; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow-light { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, transform .35s var(--ease);
  animation: header-in .8s var(--ease) both;
}
@keyframes header-in { from { transform: translateY(-100%); } }
.site-header.scrolled, .site-header.menu-open {
  background: rgba(255,255,255,.96); box-shadow: 0 6px 24px -18px rgba(11,59,70,.6);
  backdrop-filter: blur(10px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.35rem/1 "DM Sans", sans-serif; color: var(--gold); letter-spacing: .02em; }
.brand-tag { font-size: .75rem; font-weight: 500; color: var(--white); margin-top: 4px; transition: color .3s; }
.scrolled .brand-tag, .menu-open .brand-tag { color: var(--teal); }

.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.main-nav a {
  position: relative; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem;
  color: var(--white); transition: color .2s, background-color .2s;
}
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.scrolled .main-nav a { color: var(--ink); }
.main-nav .nav-cta { background: var(--gold); color: var(--ink) !important; font-weight: 700; margin-inline-start: 10px; padding: 10px 18px; transition: background-color .2s, transform .2s; }
.main-nav .nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 76px; height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.6); color: var(--white);
  font: 600 .95rem/1 "IBM Plex Sans Arabic", "DM Sans", sans-serif;
  transition: color .2s, border-color .2s, background-color .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,.14); }
.scrolled .lang-toggle, .menu-open .lang-toggle { color: var(--ink); border-color: var(--line); }
.scrolled .lang-toggle:hover, .menu-open .lang-toggle:hover { background: var(--mist); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .25s, background-color .25s; }
.scrolled .menu-toggle span, .menu-open .menu-toggle span { background: var(--ink); }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--white); box-shadow: 0 20px 30px -20px rgba(11,59,70,.5);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility .45s;
  }
  .menu-open .main-nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .main-nav a { color: var(--ink); padding: 12px 14px; font-size: 1.05rem; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), background-color .2s; }
  .menu-open .main-nav a { opacity: 1; transform: none; }
  .menu-open .main-nav a:nth-child(2) { transition-delay: .04s; }
  .menu-open .main-nav a:nth-child(3) { transition-delay: .08s; }
  .menu-open .main-nav a:nth-child(4) { transition-delay: .12s; }
  .menu-open .main-nav a:nth-child(5) { transition-delay: .16s; }
  .menu-open .main-nav a:nth-child(6) { transition-delay: .2s; }
  .main-nav a:hover, .main-nav a.is-active { background: var(--mist); }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .main-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 420px) { .brand-tag { display: none; } }

/* ---------- Load-in animation for hero content ---------- */
.js [data-anim] { opacity: 0; transform: translateY(26px); animation: anim-in .9s var(--ease) forwards; animation-delay: calc(var(--i, 1) * 120ms + 150ms); }
[data-anim="1"] { --i: 1; } [data-anim="2"] { --i: 2; } [data-anim="3"] { --i: 3; } [data-anim="4"] { --i: 4; } [data-anim="5"] { --i: 5; }
@keyframes anim-in { to { opacity: 1; transform: none; } }

/* Word-by-word heading reveal (words are wrapped by main.js) */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); animation: word-up .9s var(--ease) forwards; animation-delay: calc(var(--wi) * 60ms + 300ms); }
@keyframes word-up { to { transform: none; } }

/* ---------- Particles canvas ---------- */
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 900px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px; color: var(--white); overflow: hidden; isolation: isolate; background: var(--ink);
}
.hero-media { position: absolute; inset: -8% 0 0; z-index: -2; will-change: transform; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,59,70,.95) 0%, rgba(11,59,70,.82) 38%, rgba(11,59,70,.25) 75%, rgba(11,59,70,.1) 100%),
    linear-gradient(0deg, rgba(11,59,70,.6), rgba(11,59,70,0) 40%);
}
html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(11,59,70,.95) 0%, rgba(11,59,70,.82) 38%, rgba(11,59,70,.25) 75%, rgba(11,59,70,.1) 100%),
    linear-gradient(0deg, rgba(11,59,70,.6), rgba(11,59,70,0) 40%);
}
.hero .particles { z-index: -1; }
.hero-content { position: relative; }
.hero-content > * { max-width: 660px; }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 22px; }
.hero-em { position: relative; display: inline-block; font-style: italic; color: var(--gold); }
.hero-em::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .02em; height: .09em; border-radius: 99px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; animation: underline 1s var(--ease) 1.3s forwards;
}
html[dir="rtl"] .hero-em::after { transform-origin: right; }
@keyframes underline { to { transform: scaleX(1); } }
html[lang="ar"] .hero h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); }
html[lang="ar"] .hero-em { font-style: normal; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.88); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-location { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: rgba(255,255,255,.85); margin: 0; }
.hero-location svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6);
  border-radius: 20px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 9px; border-radius: 4px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) {
  .hero-overlay, html[dir="rtl"] .hero-overlay { background: linear-gradient(0deg, rgba(11,59,70,.96) 15%, rgba(11,59,70,.72) 60%, rgba(11,59,70,.5)); }
  .hero { min-height: 660px; align-items: flex-end; }
  .scroll-cue { display: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  padding: calc(var(--header-h) + 72px) 0 88px;
  background: radial-gradient(circle at 85% 20%, #1B7181 0, transparent 45%), linear-gradient(135deg, var(--ink) 0%, var(--teal) 100%);
}
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); max-width: 820px; margin-bottom: 18px; }
.page-hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 680px; margin: 0; }
.page-hero-shape {
  /* the logo's triangle, slowly turning */
  position: absolute; z-index: -1; width: 520px; height: 520px; inset-inline-end: -120px; top: 50%; margin-top: -260px;
  background: url("assets/logo-mark.png") center / contain no-repeat; opacity: .08; filter: grayscale(1) brightness(3);
  animation: drift 26s linear infinite;
}
@keyframes drift { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(8deg) scale(1.06); } to { transform: rotate(0deg) scale(1); } }
.page-hero-full { min-height: 100vh; display: flex; align-items: center; text-align: center; }
.page-hero-full .page-hero-lead { margin: 0 auto 32px; }
.page-hero-full h1 { margin-inline: auto; }
.big-404 { font: 700 clamp(6rem, 4rem + 10vw, 11rem)/1 var(--font-head); color: var(--gold); margin: 0; animation: float 5s ease-in-out infinite; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.breadcrumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; display: flex; flex-direction: column; gap: 6px; border-inline-start: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-value { font: 700 2.7rem/1 var(--font-head); color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat-value-sm { font-size: 1.75rem; line-height: 1.2; }
.stat-label { font-size: .95rem; color: rgba(255,255,255,.78); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat:first-child { padding: 26px 16px; border-inline-start: 0; }
  .stat:nth-child(even) { border-inline-start: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 480px) {
  .stat-value { font-size: 2rem; }
  .stat-value-sm { font-size: 1.3rem; white-space: normal; }
}

/* ---------- Marquee ---------- */
.industries { background: var(--mist); padding: 72px 0 80px; position: relative; overflow: hidden; }
.industries::before { /* soft gold glow behind the cards */
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 70%;
  background: radial-gradient(closest-side, rgba(249,184,31,.18), transparent); pointer-events: none;
}
.industries > * { position: relative; }
.industries-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 36px; }
.industries-head h2 { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.industries-note { margin: 0; max-width: 340px; color: var(--muted); }
.industries-marquee {
  direction: ltr; padding-block: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.industries-track { display: flex; width: max-content; animation: industries-scroll 48s linear infinite; }
html[dir="rtl"] .industries-track { animation-direction: reverse; }
.industries-marquee:hover .industries-track,
.industries-marquee:focus-within .industries-track { animation-play-state: paused; }
@keyframes industries-scroll { to { transform: translateX(-50%); } }
.industries-list { display: flex; gap: 16px; padding: 0 16px 0 0; margin: 0; list-style: none; }
.industry {
  display: flex; align-items: center; gap: 14px; padding: 12px 26px 12px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -20px rgba(11,59,70,.5);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
html[dir="rtl"] .industry { direction: rtl; padding: 12px 12px 12px 26px; }
.industry:hover, .industry:focus-visible { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 32px -20px rgba(11,59,70,.55); }
.industry-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--mist); color: var(--teal); transition: background .35s, color .35s, transform .5s var(--ease);
}
.industry-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.industry:hover .industry-icon, .industry:focus-visible .industry-icon { background: var(--gold); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.industry-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.industry-text strong { font: 700 1.02rem var(--font-head); }
.industry-text small { font-size: .84rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.industry-arrow { display: inline-block; color: var(--gold-deep); transition: transform .3s var(--ease); }
html[dir="rtl"] .industry-arrow { transform: scaleX(-1); }
.industry:hover .industry-arrow { transform: translateX(calc(4px * var(--dir))) scaleX(var(--dir)); }
@media (max-width: 760px) {
  .industries { padding: 56px 0 60px; }
  .industries-head { margin-bottom: 24px; }
  .industry-icon { width: 44px; height: 44px; }
  .industry-icon svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  /* No auto-scroll: the first list becomes a swipeable row. */
  .industries-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .industries-track { animation: none; padding-inline: 16px; }
  .industries-list[aria-hidden="true"] { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section-tight { padding: 40px 0 112px; }
.section-mist { background: var(--mist); }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-tight { padding: 24px 0 72px; } }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head > p:last-child, .section-head div > p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 640px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.split-reverse { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 900px) {
  .split, .split-reverse { grid-template-columns: 1fr; gap: 44px; }
  .split-reverse .split-media { order: 2; }
}
.split-text > p { color: var(--muted); }
.split-media { position: relative; margin: 0; }

/* Arch frame: the recurring motif from the company profile */
.frame-arch { width: 100%; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); }
.split .frame-arch:not(.frame-tall) { aspect-ratio: 4 / 4.3; }
.frame-tall { aspect-ratio: 364 / 511; max-width: 420px; margin-inline: auto; }

/* Image wipe reveal */
.img-reveal { position: relative; border-radius: 999px 999px var(--radius) var(--radius); }
.product-row-media .img-reveal { border-radius: var(--radius); overflow: hidden; }
.js .img-reveal { clip-path: inset(100% 0 0 0 round 200px 200px 18px 18px); transition: clip-path 1.2s var(--ease); }
.js .is-visible .img-reveal, .js .img-reveal.is-visible { clip-path: inset(0 0 0 0 round 0); }
.img-reveal img { transition: transform 1.4s var(--ease); }
.js .img-reveal img { transform: scale(1.15); }
.js .is-visible .img-reveal img { transform: none; }

.lead-strong { font: 600 1.25rem/1.4 var(--font-head); color: var(--ink) !important; margin: 26px 0 !important; }
html[lang="ar"] .lead-strong { line-height: 1.7; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 36px; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3B46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.badge-float {
  position: absolute; inset-inline-start: -24px; bottom: 36px; background: var(--white); border-radius: var(--radius);
  padding: 16px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.2;
}
[data-float] { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.badge-float strong { font: 700 1.9rem/1 var(--font-head); color: var(--teal); }
.badge-float span { font-size: .9rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 600px) { .badge-float { inset-inline-start: 12px; bottom: 16px; } }

/* ---------- Services ---------- */
.service-list { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.service-list li { display: flex; gap: 16px; align-items: flex-start; }
.service-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.service-list p { color: var(--muted); margin: 0; font-size: .97rem; }
.num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--white); font: 700 1.1rem/1 var(--font-head); transition: transform .4s var(--ease), background-color .3s;
}
.service-list li:hover .num { transform: rotate(-12deg) scale(1.1); background: var(--gold); color: var(--ink); }
.callout {
  margin: 0 0 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--white);
  color: var(--ink); font-weight: 500; box-shadow: 0 10px 30px -24px rgba(11,59,70,.6);
}
@media (max-width: 600px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Product tiles (home) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.product-tile {
  display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.product-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tile-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-tile:hover .tile-media img { transform: scale(1.08); }
.tile-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; flex: 1; }
.tile-title { font: 700 1.2rem/1.3 var(--font-head); color: var(--ink); }
.tile-text { color: var(--muted); font-size: .96rem; }
.tile-more { margin-top: auto; padding-top: 10px; color: var(--teal); font-weight: 700; font-size: .92rem; display: inline-flex; gap: 6px; }
.tile-more span { display: inline-block; transition: transform .3s var(--ease); }
.product-tile:hover .tile-more span { transform: translateX(calc(6px * var(--dir))) scaleX(var(--dir)); }

/* ---------- Product rows (products page) ---------- */
.chip-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: top .35s var(--ease); }
.chip-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chip-nav-inner::-webkit-scrollbar { display: none; }
.chip-nav a { flex-shrink: 0; padding: 8px 16px; border-radius: 999px; background: var(--mist); color: var(--teal); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background-color .2s, color .2s; }
.chip-nav a:hover, .chip-nav a.is-active { background: var(--teal); color: var(--white); }

.product-rows { display: grid; gap: 96px; }
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; scroll-margin-top: calc(var(--header-h) + 80px); }
.product-row.is-flipped .product-row-media { order: 2; }
.product-row-media { position: relative; }
.product-row-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-index {
  position: absolute; top: -22px; inset-inline-end: 24px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  font: 700 1.4rem/1 var(--font-head); color: var(--gold); background: var(--ink); box-shadow: 0 12px 24px -12px rgba(11,59,70,.8);
  transition: transform .5s var(--ease);
}
.product-row:hover .product-index { transform: rotate(-12deg) scale(1.08); }
.product-row-body h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); }
.product-row-body > p { color: var(--muted); }
.product-row-body .chips { margin-bottom: 24px; }
@media (max-width: 860px) {
  .product-rows { gap: 64px; }
  .product-row { grid-template-columns: 1fr; gap: 28px; }
  .product-row.is-flipped .product-row-media { order: 0; }
  .product-index { width: 52px; height: 52px; font-size: 1.15rem; top: -18px; inset-inline-end: 16px; }
}

.apps-label { margin: 6px 0 10px !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-2) !important; }
html[lang="ar"] .apps-label { letter-spacing: 0; font-size: .9rem !important; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--mist); color: var(--teal); font-size: .88rem; font-weight: 500; transition: background-color .2s, transform .2s; }
.chips li:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.spec-table th, .spec-table td { padding: 18px 22px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--ink); color: var(--white); font-size: .9rem; font-weight: 600; }
.spec-table tbody th { font-family: var(--font-head); color: var(--ink); white-space: nowrap; }
.spec-table td { color: var(--muted); font-size: .96rem; }
.spec-table tbody tr { transition: background-color .2s; }
.spec-table tbody tr:hover { background: #F6FAFB; }
.spec-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 31px; inset-inline: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-soft) 0 8px, transparent 8px 16px);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s;
}
html[dir="rtl"] .steps::before { transform-origin: right; }
.steps.is-drawn::before, .no-js .steps::before { transform: scaleX(1); }
.step { position: relative; text-align: center; }
.step-num {
  position: relative; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); font: 700 1.5rem/1 var(--font-head); box-shadow: 0 0 0 8px var(--mist);
  transition: transform .4s var(--ease);
}
.step:hover .step-num { transform: scale(1.12) rotate(-8deg); }
.step-num::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0;
}
.step.is-visible .step-num::after { animation: ring 1.4s ease-out calc(var(--d, 0ms) + 300ms) 1; }
@keyframes ring { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { text-align: start; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .step-num { margin: 0; grid-row: span 2; }
}

/* ---------- Vertical timeline (about) ---------- */
.vtimeline { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; position: relative; display: grid; gap: 28px; }
.vtimeline::before, .vtimeline::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; }
.vtimeline::before { background: var(--line); }
.vtimeline::after { background: linear-gradient(var(--gold), var(--teal-2)); transform-origin: top; transform: scaleY(var(--draw, 0)); }
.vtimeline li { position: relative; width: 50%; padding-inline-end: 48px; }
.vtimeline li:nth-child(even) { margin-inline-start: 50%; padding-inline: 48px 0; }
html[dir="ltr"] .vtimeline li:nth-child(odd), html[dir="rtl"] .vtimeline li:nth-child(odd) { text-align: end; }
.vtimeline li:nth-child(even) { text-align: start; }
.vt-dot {
  position: absolute; top: 30px; inset-inline-end: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--white);
  border: 4px solid var(--gold); z-index: 1; transition: transform .4s var(--ease), background-color .3s;
}
.vtimeline li:nth-child(even) .vt-dot { inset-inline: -11px auto; }
.vtimeline li.is-visible .vt-dot { background: var(--gold); transform: scale(1.15); }
.vt-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; transition: transform .35s var(--ease), box-shadow .35s; }
.vt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.year { display: block; font: 700 2rem/1 var(--font-head); color: var(--gold-deep); margin-bottom: 10px; }
.vt-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.vt-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.vtimeline li.vt-next { width: 100%; margin: 0; padding: 0; text-align: center !important; }
.vt-next .vt-dot { left: 50%; inset-inline: auto; margin-left: -11px; top: -11px; }
.vt-next .vt-card { background: var(--teal); border-color: var(--teal); color: var(--white); max-width: 560px; margin: 24px auto 0; }
.vt-next .year { color: var(--gold); }
.vt-next p { color: rgba(255,255,255,.85); }
@media (max-width: 760px) {
  .vtimeline::before, .vtimeline::after { left: 11px; margin: 0; }
  html[dir="rtl"] .vtimeline::before, html[dir="rtl"] .vtimeline::after { left: auto; right: 11px; }
  .vtimeline li, .vtimeline li:nth-child(even) { width: 100%; margin: 0; padding: 0; padding-inline-start: 44px; text-align: start !important; }
  .vt-dot, .vtimeline li:nth-child(even) .vt-dot { inset-inline: 0 auto; }
  .vtimeline li.vt-next { padding-inline-start: 44px; text-align: start !important; }
  .vt-next .vt-dot { left: auto; margin: 0; top: 30px; }
  .vt-next .vt-card { margin: 0; }
}

/* ---------- Photo band (parallax) ---------- */
.photo-band { position: relative; overflow: hidden; isolation: isolate; color: var(--white); padding: 160px 0; }
.photo-band-media { position: absolute; inset: -20% 0; z-index: -2; }
.photo-band-media img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,59,70,.92), rgba(11,59,70,.4)); }
html[dir="rtl"] .photo-band::before { background: linear-gradient(270deg, rgba(11,59,70,.92), rgba(11,59,70,.4)); }
.photo-band-content { max-width: var(--container); }
.photo-band-content > * { max-width: 560px; }
.photo-band p:last-child { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0; }

/* ---------- Commitments ---------- */
.commitments { background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.commitments::after {
  content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; inset-inline-end: -140px; top: -80px;
  background: url("assets/logo-mark.png") center / contain no-repeat; opacity: .06; filter: grayscale(1) brightness(3);
  animation: drift 30s linear infinite;
}
.values-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.value {
  grid-column: span 2; padding: 30px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background-color .3s, transform .4s var(--ease), border-color .3s;
}
.value:hover { background: rgba(255,255,255,.09); border-color: rgba(249,184,31,.5); transform: translateY(-5px); }
.value:nth-child(4) { grid-column: 2 / span 2; }
.value-icon {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--gold); transition: transform .5s var(--ease);
}
.value:hover .value-icon, .feature:hover .value-icon { transform: rotate(-12deg) scale(1.08); }
.value-icon img { width: 30px; height: 30px; filter: brightness(0) saturate(100%) invert(16%) sepia(37%) saturate(1500%) hue-rotate(155deg) brightness(92%); }
.value h3 { color: var(--white); }
.value p { margin: 0; color: rgba(255,255,255,.76); font-size: .97rem; }
@media (max-width: 980px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value, .value:nth-child(4) { grid-column: auto; }
  .value:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.07); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.2rem; line-height: 1.35; }
.post-body h3 a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
html[dir="rtl"] .post-body h3 a { background-position: 100% 100%; }
.post-card:hover h3 a { background-size: 100% 2px; }
.post-body > p { color: var(--muted); font-size: .96rem; }
.post-body .link-arrow { margin-top: auto; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.post-meta-light { color: rgba(255,255,255,.8); }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--mist); color: var(--teal); font-weight: 600; font-size: .8rem; text-decoration: none; }
.post-meta-light .tag { background: var(--gold); color: var(--ink); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chips a { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; transition: all .25s; }
.filter-chips a:hover { border-color: var(--teal-2); }
.filter-chips a.is-active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; font-weight: 700; border: 1.5px solid var(--line); transition: all .2s; }
.pagination a:hover { border-color: var(--teal-2); }
.pagination a.is-active { background: var(--gold); border-color: var(--gold); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--mist); border-radius: var(--radius); }

.article-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--white); padding: calc(var(--header-h) + 80px) 0 80px; min-height: 560px; display: flex; align-items: flex-end; }
.article-hero-media { position: absolute; inset: -15% 0 0; z-index: -2; }
.article-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,59,70,.96) 10%, rgba(11,59,70,.65) 60%, rgba(11,59,70,.45)); }
.article-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }

.prose { font-size: 1.08rem; color: #22464E; }
.prose-lg { font-size: 1.14rem; }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-deep); }
.prose a { color: var(--teal); font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-radius: var(--radius-sm); background: var(--mist); font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.share > span { font-weight: 700; margin-inline-end: 6px; }
.share a, .share button { padding: 8px 16px; border-radius: 999px; background: var(--mist); color: var(--teal); text-decoration: none; font: 600 .9rem var(--font-body); border: 0; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.share a:hover, .share button:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }

/* ---------- Careers ---------- */
.careers-teaser {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 56px; border-radius: 28px; color: var(--white);
  background: radial-gradient(circle at 90% 10%, rgba(249,184,31,.25), transparent 40%), linear-gradient(135deg, var(--teal), var(--ink));
}
.careers-teaser > div:first-child { max-width: 560px; }
.careers-teaser p { color: rgba(255,255,255,.85); margin: 0; }
.careers-teaser-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.open-count { font-size: 1.05rem; color: rgba(255,255,255,.85); }
.open-count strong { font: 700 3rem/1 var(--font-head); color: var(--gold); margin-inline-end: 6px; }
@media (max-width: 600px) { .careers-teaser { padding: 32px 24px; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { padding: 32px 28px; border-radius: var(--radius); background: var(--mist); transition: transform .4s var(--ease), box-shadow .4s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

.job-list { display: grid; gap: 16px; }
.job-card {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 30px; border-radius: var(--radius);
  background: var(--white); text-decoration: none; border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.job-card h3 { margin-bottom: 6px; }
.job-card p { color: var(--muted); margin: 0 0 12px; }
.job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.job-meta li { padding: 4px 12px; border-radius: 999px; background: var(--mist); color: var(--teal); font-size: .84rem; font-weight: 600; }
.job-go { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 1.3rem; font-weight: 700; transition: transform .4s var(--ease); }
.job-card:hover .job-go { transform: translateX(calc(6px * var(--dir))) scaleX(var(--dir)) rotate(0deg); }
@media (max-width: 600px) { .job-card { padding: 22px; } .job-go { width: 42px; height: 42px; } }

.job-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.job-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--mist); }
.job-facts { margin: 0; display: grid; gap: 14px; }
.job-facts dt { font-size: .82rem; color: var(--muted); }
.job-facts dd { margin: 0; font-weight: 700; color: var(--ink); }
@media (max-width: 860px) { .job-layout { grid-template-columns: 1fr; } .job-aside { position: static; order: -1; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 72px; }
.contact-card {
  display: grid; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--mist); text-decoration: none; color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s, background-color .3s;
}
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--white); }
.contact-card strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.ci-label { font-size: .85rem; color: var(--muted); }
.ci-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--white); display: grid; place-items: center; margin-bottom: 8px; transition: transform .4s var(--ease), background-color .3s; }
.contact-card:hover .ci-icon { transform: rotate(-10deg) scale(1.08); background: var(--gold); }
.ci-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card:hover .ci-icon svg { stroke: var(--ink); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; scroll-margin-top: calc(var(--header-h) + 20px); }
.contact-aside h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.mini-steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.mini-steps li { counter-increment: s; position: relative; padding-inline-start: 46px; color: var(--muted); }
.mini-steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font: 700 .95rem var(--font-head); }
.contact-img { max-width: 280px; aspect-ratio: 364 / 446; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-aside .img-reveal { display: none; } }

.map-section { height: 420px; filter: grayscale(.4); transition: filter .5s; }
.map-section:hover { filter: none; }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Forms ---------- */
.brief-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.brief-form h3 { font-size: 1.6rem; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.brief-form label { display: flex; flex-direction: column; gap: 7px; }
.lbl { font-size: .9rem; font-weight: 600; color: var(--ink); }
.brief-form input, .brief-form select, .brief-form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: #FAFCFC; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.brief-form textarea { resize: vertical; min-height: 120px; }
.brief-form input:focus, .brief-form select:focus, .brief-form textarea:focus {
  outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(46,140,155,.15); background: var(--white);
}
.brief-form .invalid { border-color: var(--danger); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.field-error { color: var(--danger); font-size: .86rem; }
.form-error { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: #FEF3F2; color: var(--danger); }
.brief-form button[type="submit"].is-loading { pointer-events: none; opacity: .8; }
@media (max-width: 600px) { .brief-form { padding: 26px 20px; } .form-row { grid-template-columns: 1fr; } }

.file-drop {
  position: relative; flex-direction: row !important; align-items: center; gap: 14px !important; padding: 18px; border: 2px dashed var(--teal-soft);
  border-radius: var(--radius-sm); background: var(--mist); cursor: pointer; transition: border-color .25s, background-color .25s;
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--teal); background: #DDEDEF; }
.file-drop.has-file { border-style: solid; border-color: #22A06B; background: #E8F6EE; }
.file-drop.invalid { border-color: var(--danger); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.file-drop-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.file-drop-text { font-weight: 600; color: var(--ink); font-size: .95rem; overflow-wrap: anywhere; }

.form-success { text-align: center; padding: 56px 32px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); animation: anim-in .7s var(--ease) both; }
.form-success p { color: var(--muted); }
.success-check { width: 76px; height: 76px; margin: 0 auto 18px; display: block; }
.success-check circle { fill: none; stroke: #22A06B; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s ease forwards; }
.success-check path { fill: none; stroke: #22A06B; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s ease .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Honeypot: hidden from people, filled in by spam bots */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--gold); padding: 80px 0; }
.cta-band .particles { opacity: .6; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner > div { max-width: 640px; }
.cta-inner h2 { color: var(--ink); }
.cta-inner p { color: #3C3410; margin: 0; font-size: 1.08rem; }
.cta-band .btn-gold { background: var(--ink); color: var(--white); box-shadow: 0 14px 30px -16px rgba(11,59,70,.9); }
.cta-band .btn-gold:hover { background: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.78); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-grid h3 { font: 700 1rem var(--font-body); color: var(--white); margin-bottom: 14px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 104px; border-radius: 14px; }
.footer-brand p { margin: 0; max-width: 260px; }
.footer-links, .footer-contact { display: grid; gap: 9px; align-content: start; }
.footer-links a, .footer-contact a { text-decoration: none; color: rgba(255,255,255,.85); width: fit-content; transition: color .2s, transform .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); transform: translateX(calc(4px * var(--dir))); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.socials a { padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .85rem; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem;
}
.footer-tag { color: var(--gold); font-weight: 600; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(11,59,70,.7);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(calc(60px * var(--dir))); }
.js [data-reveal="right"] { transform: translateX(calc(-60px * var(--dir))); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-anim] { opacity: 1; transform: none; }
  .js .img-reveal { clip-path: none; }
  .js .img-reveal img { transform: none; }
  .split-words .w > span { transform: none; }
  .particles { display: none; }
}
