/* ==========================================================================
   Senergy Group — senergygroup.ae
   Dark immersive static site. Palette sampled from the Senergy wordmark
   (gradient #00958F → #005159) on the brand's dark petrol ink (#082026/#041013).
   ========================================================================== */

/* ---- 1. Palette (from the logo) ---------------------------------------- */
:root {
  --ink:        #041013;   /* deepest petrol — hero base */
  --ink-2:      #082026;   /* brand dark — deep sections */
  --panel:      #0B2A31;   /* card / panel surface */
  --panel-2:    #0F343C;   /* raised panel */
  --line:       rgba(0, 149, 143, .20);
  --line-soft:  rgba(238, 243, 242, .08);
  --ivory:      #EEF3F2;
  --ivory-2:    #D9E4E3;
  --muted:      #8FA6AA;   /* wordmark-grey lifted for dark ground */
  --teal:       #00958F;   /* wordmark start — primary accent */
  --teal-light: #2FD1C5;   /* luminous variant — eyebrows, numerals, hovers */
  --deep:       #005159;   /* wordmark end — gates, gradients */
  --pale:       #E6F3F2;
  --shadow-txt: 0 2px 24px rgba(0, 0, 0, .55);
  --radius:     4px;
  --max:        1240px;
  --gutter:     clamp(20px, 5vw, 64px);
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* ---- 2. Typography ------------------------------------------------------ */
@font-face {
  font-family: 'Jost';
  src: url('../assets/fonts/Jost.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: 'Jost', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 350;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-weight: 450; letter-spacing: .01em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 400; letter-spacing: .005em; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 24px); }
h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .18em; color: var(--teal-light); font-weight: 500; }
p  { margin: 0 0 1.1em; }
a  { color: var(--teal-light); text-decoration: none; }
a:hover, a:focus-visible { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; }
strong { font-weight: 500; color: var(--ivory); }
.mono { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; }
.eyebrow {
  display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .28em;
  color: var(--teal-light); margin-bottom: 18px; font-weight: 500;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ivory-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.6; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- 3. Layout ---------------------------------------------------------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---- 4. Background: fluid cloud behind the opening, solid ink below ----- */
#bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; }
#bg.is-fallback { background: url('../assets/fluid-fallback.jpg') center / cover no-repeat; }
.veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(4,16,19,0) 0, rgba(4,16,19,0) 40vh, rgba(4,16,19,.55) 100vh, var(--ink) 150vh);
}
.on-ink { background: var(--ink); }
.on-ink-2 { background: var(--ink-2); }
.on-gradient { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }

/* ---- 5. Header ---------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0; transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(4, 16, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 12px 0; border-color: var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ivory); }
.brand img { height: 22px; width: auto; display: block; }
.brand span { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--ivory-2); font-weight: 500; transform: translateY(-1px); }
.nav { display: flex; gap: clamp(14px, 2.2vw, 34px); align-items: center; }
.nav a { color: var(--ivory-2); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--teal-light); transition: width .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--ivory); }
.nav .cta { border: 1px solid var(--teal); padding: 8px 16px; border-radius: var(--radius); color: var(--ivory); }
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--teal); border-color: var(--teal); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-soft); color: var(--ivory); padding: 8px 12px; border-radius: var(--radius); font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(4,16,19,.96); border-bottom: 1px solid var(--line-soft); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .cta { margin-top: 12px; text-align: center; }
}

/* ---- 6. Hero ------------------------------------------------------------ */
.hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 clamp(56px, 8vw, 96px); text-shadow: var(--shadow-txt); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero-loc { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 26px; }
.hero h1 { max-width: 14ch; margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero .strap { max-width: 58ch; color: var(--ivory-2); font-size: clamp(17px, 1.4vw, 20px); margin-bottom: 36px; }
.hero-aside { border-left: 1px solid var(--line); padding-left: 24px; color: var(--ivory-2); font-size: 15.5px; max-width: 40ch; }
.hero-aside p { margin-bottom: .6em; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 28px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hero-scroll::after { content: ''; width: 1px; height: 46px; background: linear-gradient(var(--teal-light), transparent); animation: drop 2.4s infinite var(--ease); }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.page-hero { min-height: 62svh; padding-bottom: clamp(40px, 6vw, 72px); }

/* ---- 7. Buttons --------------------------------------------------------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: var(--radius);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ivory);
  border: 1px solid var(--teal); background: linear-gradient(90deg, var(--teal), var(--deep)); background-size: 200% 100%;
  transition: background-position .5s var(--ease), transform .3s var(--ease), color .3s; text-shadow: none;
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); color: #fff; }
.btn.ghost { background: transparent; border-color: rgba(238,243,242,.35); }
.btn.ghost:hover { border-color: var(--teal-light); background: rgba(0,149,143,.12); }
.btn svg { width: 16px; height: 16px; }

/* ---- 8. Stat band ------------------------------------------------------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(4,16,19,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: clamp(36px, 5vw, 56px) 0; }
.stats .grid { gap: 0; }
.stat { padding: 8px clamp(12px, 2vw, 32px); border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: clamp(34px, 4vw, 54px); color: var(--teal-light); line-height: 1; letter-spacing: -.02em; margin-bottom: 12px; }
.stat .num sup { font-size: .5em; vertical-align: top; top: .1em; position: relative; }
.stat .lbl { font-size: 14.5px; color: var(--muted); line-height: 1.5; max-width: 28ch; }
@media (max-width: 900px) { .stat { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line-soft); } .stat:first-child { border-top: 0; } }

/* ---- 9. Cards / panels ------------------------------------------------- */
.card {
  position: relative; background: linear-gradient(160deg, rgba(11,42,49,.85), rgba(8,32,38,.85)); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { border-color: var(--line); transform: translateY(-4px) rotateX(2deg) rotateY(-2deg); box-shadow: 0 30px 60px -30px rgba(0,149,143,.35); }
.card h3 { margin-top: 8px; }
.card .idx { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 12px; color: var(--teal); letter-spacing: .2em; }
.card p:last-child { margin-bottom: 0; }
.card.gate { border-top: 2px solid var(--teal); }

/* ---- 10. Portfolio — stratigraphic column ------------------------------- */
.strata { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .strata { grid-template-columns: 1fr; } }
.stratum { display: contents; }
.stratum .tag { padding: clamp(24px, 3vw, 40px) 20px clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-soft); }
.stratum .tag .zone { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-light); font-weight: 500; display: block; }
.stratum .tag .sub { font-size: 13.5px; color: var(--muted); display: block; margin-top: 6px; }
.stratum .tag .depth { display: block; margin-top: 14px; height: 6px; background: linear-gradient(90deg, var(--teal), var(--deep)); border-radius: 3px; opacity: .55; }
.stratum .body { padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line-soft); border-left: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(20px, 3vw, 48px); position: relative; transition: background .4s; }
.stratum .body::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--teal-light); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.stratum:hover .body::before { transform: scaleY(1); }
.stratum:hover .body { background: rgba(0,149,143,.04); }
@media (max-width: 800px) { .stratum .body { grid-template-columns: 1fr; border-left: 0; padding-left: 0; } .stratum .tag { border-bottom: 0; padding-bottom: 0; } }
.stratum .body h3 { margin-top: 0; }
.stratum .body p { color: var(--ivory-2); }
.specs { list-style: none; margin: 0; padding: 0; align-self: center; }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line-soft); font-size: 14.5px; }
.specs li span:first-child { color: var(--muted); }
.specs li span:last-child { color: var(--ivory); text-align: right; font-weight: 450; }
.depth-scale { position: sticky; top: 100px; }
.footnote { font-size: 13.5px; color: var(--muted); border-left: 2px solid var(--teal); padding-left: 14px; margin-top: 28px; line-height: 1.6; }

/* ---- 11. Pillar rows (why modular / principles) ------------------------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 80px 1fr 2fr; gap: clamp(16px, 3vw, 48px); padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; transition: padding-left .4s var(--ease); }
.row:hover { padding-left: 12px; }
.row .idx { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; color: var(--teal); font-size: 13px; letter-spacing: .2em; }
.row h3 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); }
.row p { margin: 0; color: var(--ivory-2); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 8px; } }

/* ---- 12. Intelligence engine ------------------------------------------- */
.engine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .engine { grid-template-columns: 1fr; } }
.chain { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 26px 0; margin: 8px 0 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chain .node { font-size: clamp(16px, 1.8vw, 22px); letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); font-weight: 450; }
.chain .node.hot { color: var(--teal-light); }
.chain .arrow { flex: 1; height: 1px; background: linear-gradient(90deg, var(--teal), transparent); position: relative; min-width: 24px; }
.chain .arrow::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--teal-light); border-right: 1px solid var(--teal-light); transform: rotate(45deg); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.kpis div { background: var(--ink-2); padding: 24px 18px; text-align: center; }
.kpis .num { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: clamp(30px, 3.4vw, 46px); color: var(--teal-light); line-height: 1; }
.kpis .lbl { font-size: 12.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; }

/* ---- 13. Globe / where we work ----------------------------------------- */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .where { grid-template-columns: 1fr; } }
.globe-wrap { aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; width: 100%; position: relative; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; }
.globe-wrap::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; box-shadow: 0 0 120px rgba(0,149,143,.22), inset 0 0 80px rgba(0,149,143,.08); pointer-events: none; }
.theatres { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.theatres li { padding: 18px 0; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: baseline; }
.theatres li strong { color: var(--ivory); font-weight: 450; letter-spacing: .04em; }
.theatres li span { color: var(--ivory-2); font-size: 15.5px; }
@media (max-width: 560px) { .theatres li { grid-template-columns: 1fr; gap: 4px; } }

/* ---- 14. Ticker --------------------------------------------------------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 48px; animation: ticker 60s linear infinite; padding-right: 48px; }
.ticker span { font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.ticker span::before { content: '◆'; color: var(--teal); font-size: 8px; margin-right: 22px; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- 15. Team ----------------------------------------------------------- */
.caps { list-style: none; margin: 0; padding: 0; }
.caps li { padding: 14px 0 14px 26px; position: relative; border-bottom: 1px solid var(--line-soft); color: var(--ivory-2); }
.caps li::before { content: ''; position: absolute; left: 0; top: 26px; width: 12px; height: 1px; background: var(--teal-light); }

/* ---- 16. Contact -------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-light); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ivory); background: rgba(8,32,38,.7); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; transition: border-color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; color: var(--teal-light); min-height: 1.4em; }
.who { list-style: none; margin: 0; padding: 0; }
.who li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.who li strong { font-weight: 450; }
.who li span { color: var(--ivory-2); font-size: 15.5px; }
@media (max-width: 560px) { .who li { grid-template-columns: 1fr; gap: 4px; } }

/* ---- 17. Footer --------------------------------------------------------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 14.5px; color: var(--muted); }
.site-footer .grid { gap: clamp(24px, 4vw, 56px); }
.site-footer h4 { margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: var(--ivory-2); }
.site-footer a:hover { color: var(--teal-light); }
.site-footer .legal { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-top: 24px; font-size: 13px; line-height: 1.6; }
.site-footer .brand img { height: 20px; }

/* ---- 18. Motion system -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; } .reveal.d4 { transition-delay: .48s; }
.hero .in { opacity: 0; transform: translateY(12px); animation: rise .95s var(--ease) forwards; }
.hero .in:nth-child(1) { animation-delay: .15s; } .hero .in:nth-child(2) { animation-delay: .35s; } .hero .in:nth-child(3) { animation-delay: .55s; } .hero .in:nth-child(4) { animation-delay: .75s; } .hero .in:nth-child(5) { animation-delay: .95s; }
.hero .in.h1 .line { display: block; opacity: 0; transform: translateY(12px); animation: rise .9s var(--ease) forwards; }
.hero .in.h1 .line:nth-child(1) { animation-delay: .35s; } .hero .in.h1 .line:nth-child(2) { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.no-js .reveal, .no-js .hero .in, .no-js .hero .in.h1 .line { opacity: 1; transform: none; animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero .in, .hero .in.h1 .line { opacity: 1; transform: none; animation: none; transition: none; }
  .ticker-track { animation: none; }
  .hero-scroll::after { animation: none; }
  .card:hover, .btn:hover { transform: none; }
  .row:hover { padding-left: 0; }
}

/* ---- 19. Print --------------------------------------------------------- */
@media print { #bg, .veil, .hero-scroll, .nav-toggle { display: none !important; } body { background: #fff; color: #000; } }

/* ==========================================================================
   Additions — September 2026 upgrade: modular hero motif, leadership split,
   profiles, unnamed board, founders' track record, picture bands, flag band.
   ========================================================================== */

/* ---- 20. Picture-backed sections (graded imagery, filtered) ------------- */
.bg-pic { position: relative; isolation: isolate; overflow: hidden; }
.bg-pic > .pic { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; filter: saturate(.9) brightness(.55); transform: scale(1.04); transition: transform 6s var(--ease); }
.bg-pic:hover > .pic { transform: scale(1); }
.bg-pic > .pic-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(4,16,19,.62) 30%, rgba(4,16,19,.62) 70%, var(--ink) 100%); }
.bg-pic.side > .pic-veil { background: linear-gradient(90deg, var(--ink) 0%, rgba(4,16,19,.88) 42%, rgba(4,16,19,.35) 100%); }
.bg-pic .caption { position: absolute; right: var(--gutter); bottom: 18px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); z-index: 1; }

/* ---- 21. Flag band (UK · UAE blend behind "Dubai and London") ---------- */
.flag-band { position: relative; isolation: isolate; overflow: hidden; }
.flag-band::before { content: ''; position: absolute; inset: -6%; z-index: -2; background: url('../assets/img/flag-uk-uae.svg') center / cover no-repeat; opacity: .24; filter: blur(1.5px) saturate(1.05); }
.flag-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(4,16,19,.25) 0%, rgba(4,16,19,.7) 62%, var(--ink) 100%); }
.flag-band .twin { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; text-align: center; }
.flag-band .twin .city { font-size: clamp(26px, 3.6vw, 44px); font-weight: 400; letter-spacing: .04em; color: var(--ivory); }
.flag-band .twin .city small { display: block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-light); margin-top: 8px; font-weight: 500; }
.flag-band .twin .link { width: 1px; height: 80px; background: linear-gradient(var(--teal-light), transparent 50%, var(--teal-light)); }
@media (max-width: 640px) { .flag-band .twin { grid-template-columns: 1fr; } .flag-band .twin .link { width: 80px; height: 1px; margin-inline: auto; background: linear-gradient(90deg, var(--teal-light), transparent 50%, var(--teal-light)); } }

/* ---- 22. Modular motif (hero, home) ------------------------------------ */
.modular-motif { width: min(100%, 420px); margin-left: auto; display: block; }
.modular-motif rect { fill: rgba(0,149,143,.14); stroke: var(--teal-light); stroke-width: 1; opacity: 0; transform-origin: center; transform-box: fill-box; animation: mod-in .9s var(--ease) forwards, mod-pulse 7s ease-in-out infinite; }
.modular-motif rect.hot { fill: rgba(47,209,197,.38); }
.modular-motif .stem { stroke: var(--teal); stroke-width: 1; opacity: .5; stroke-dasharray: 4 6; }
@keyframes mod-in { from { opacity: 0; transform: translateY(18px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes mod-pulse { 0%, 100% { fill-opacity: 1; } 50% { fill-opacity: .55; } }
.modular-motif rect:nth-child(1) { animation-delay: .6s, 1.5s; } .modular-motif rect:nth-child(2) { animation-delay: .7s, 1.6s; } .modular-motif rect:nth-child(3) { animation-delay: .8s, 1.7s; } .modular-motif rect:nth-child(4) { animation-delay: .9s, 1.8s; }
.modular-motif rect:nth-child(5) { animation-delay: 1.0s, 1.9s; } .modular-motif rect:nth-child(6) { animation-delay: 1.1s, 2s; } .modular-motif rect:nth-child(7) { animation-delay: 1.2s, 2.1s; } .modular-motif rect:nth-child(8) { animation-delay: 1.3s, 2.2s; }
.modular-motif rect:nth-child(9) { animation-delay: 1.4s, 2.3s; } .modular-motif rect:nth-child(10) { animation-delay: 1.5s, 2.4s; } .modular-motif rect:nth-child(11) { animation-delay: 1.6s, 2.5s; } .modular-motif rect:nth-child(12) { animation-delay: 1.7s, 2.6s; }
.modular-motif rect:nth-child(13) { animation-delay: 1.8s, 2.7s; } .modular-motif rect:nth-child(14) { animation-delay: 1.9s, 2.8s; } .modular-motif rect:nth-child(15) { animation-delay: 2.0s, 2.9s; } .modular-motif rect:nth-child(16) { animation-delay: 2.1s, 3s; }
.modular-motif text { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 9px; fill: var(--muted); letter-spacing: .2em; text-transform: uppercase; }
.hero-modular { display: grid; gap: 14px; margin-top: 8px; }
.hero-modular .kv { display: flex; gap: 14px; align-items: baseline; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.hero-modular .kv b { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-weight: 400; color: var(--teal-light); font-size: 22px; min-width: 5.5ch; }
.hero-modular .kv span { color: var(--ivory-2); font-size: 14.5px; }

/* ---- 23. Leadership split (team page) ---------------------------------- */
.split { display: flex; min-height: calc(100svh - 200px); margin-top: 0; padding: 0; }
.split .side { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px); overflow: hidden; isolation: isolate; transition: flex-grow 1.1s var(--ease); text-shadow: var(--shadow-txt); color: var(--ivory); }
.split .side:hover, .split .side:focus-within { flex-grow: 1.45; }
.split .side .pic { position: absolute; inset: 0; z-index: -2; background-color: var(--ink); background-size: cover; background-repeat: no-repeat; background-position: center top; transform: scale(1.06); transition: transform 1.6s var(--ease), filter 1.2s var(--ease); filter: brightness(.9); }
.split .side:hover .pic { transform: scale(1.0); filter: brightness(1); }
.split .side .grad { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,16,19,.15) 0%, rgba(4,16,19,.05) 40%, rgba(4,16,19,.9) 100%); }
.split .side.left .grad { background: linear-gradient(180deg, rgba(4,16,19,.15) 0%, rgba(4,16,19,.05) 40%, rgba(4,16,19,.9) 100%), linear-gradient(90deg, rgba(4,16,19,0) 70%, rgba(4,16,19,.6) 100%); }
.split .side.right .grad { background: linear-gradient(180deg, rgba(4,16,19,.15) 0%, rgba(4,16,19,.05) 40%, rgba(4,16,19,.9) 100%), linear-gradient(270deg, rgba(4,16,19,0) 70%, rgba(4,16,19,.6) 100%); }
.split .side .seam { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--teal-light), transparent); z-index: 1; opacity: .7; }
.split .side.left .seam { right: 0; } .split .side.right .seam { left: 0; }
.split .who { max-width: 44ch; }
.split .who .role { display: block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-light); font-weight: 500; margin-bottom: 12px; }
.split .who h2, .split .who h1 { font-size: clamp(26px, 3.2vw, 44px); font-weight: 400; letter-spacing: .01em; margin-bottom: 12px; }
.split .who p { color: var(--ivory-2); font-size: 15.5px; margin-bottom: 18px; }
.split .who .more { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); border-bottom: 1px solid var(--teal-light); padding-bottom: 3px; }
.split .who .more:hover { color: var(--teal-light); }
.split .side.right .who { margin-left: auto; text-align: right; }
.split .side.left { animation: from-left 1.3s var(--ease) both; } .split .side.right { animation: from-right 1.3s var(--ease) both .1s; }
@keyframes from-left { from { opacity: 0; transform: translateX(-6%); } to { opacity: 1; transform: none; } }
@keyframes from-right { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
.split-title { text-align: center; padding: 112px var(--gutter) 22px; text-shadow: var(--shadow-txt); }
.split-title .eyebrow { margin-bottom: 8px; }
.split-title h1 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; margin: 0; }
.split-wrap { position: relative; padding-bottom: 0; }
@media (max-width: 820px) {
  .split { flex-direction: column; min-height: 0; }
  .split .side .pic { background-size: cover; background-position: center 20%; }
  .split .side { min-height: 78svh; flex: none; }
  .split .side:hover, .split .side:focus-within { flex-grow: 0; }
  .split .side.right .who { margin-left: 0; text-align: left; }
  .split .side .seam { display: none; }
  .split-title { padding: 104px var(--gutter) 16px; text-align: left; }
}

/* ---- 24. Profiles ------------------------------------------------------- */
.profile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.profile.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.profile.flip .portrait { order: 2; }
@media (max-width: 900px) { .profile, .profile.flip { grid-template-columns: 1fr; } .profile.flip .portrait { order: 0; } .portrait { position: static; } }
.portrait { position: sticky; top: 96px; }
.portrait .frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--panel); isolation: isolate; }
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transform: scale(1.03); transition: transform 1.4s var(--ease); }
.portrait .frame:hover img { transform: scale(1); }
.portrait .frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,16,19,0) 55%, rgba(4,16,19,.85) 100%), repeating-linear-gradient(0deg, rgba(47,209,197,.05) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(47,209,197,.05) 0 1px, transparent 1px 22px); pointer-events: none; }
.portrait .frame .tag { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--teal-light); }
.portrait .facts { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.portrait .facts li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--ivory-2); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.portrait .facts li span:first-child { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; padding-top: 3px; }
.bio h2 { margin-bottom: 8px; }
.bio .role { display: block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-light); font-weight: 500; margin-bottom: 22px; }
.bio p { color: var(--ivory-2); max-width: 66ch; }
.bio p.first { font-size: clamp(17.5px, 1.4vw, 20px); color: var(--ivory); }
.bio .pull { border-left: 2px solid var(--teal); padding: 6px 0 6px 20px; margin: 26px 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ivory); font-weight: 350; max-width: 34ch; }
.bio .strip { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.bio .strip span { position: relative; }
.bio .strip span + span::before { content: '·'; color: var(--teal); margin-right: 18px; }

/* ---- 25. The wider board (unnamed) ------------------------------------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } }
.board .seat { background: rgba(8,32,38,.92); padding: clamp(24px, 3vw, 40px); position: relative; transition: background .5s; }
.board .seat:hover { background: rgba(11,42,49,.96); }
.board .seat .num { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; color: var(--teal); font-size: 12px; letter-spacing: .24em; }
.board .seat h3 { margin: 10px 0 12px; font-size: clamp(18px, 1.7vw, 22px); }
.board .seat p { color: var(--ivory-2); font-size: 15.5px; margin: 0 0 10px; }
.board .seat .mark { position: absolute; right: 20px; top: 22px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--teal-light); font-size: 12px; letter-spacing: .1em; }
.board .seat .depth { height: 3px; background: linear-gradient(90deg, var(--teal), transparent); margin-top: 18px; width: 0; transition: width 1.2s var(--ease); }
.board .seat.visible .depth, .no-js .board .seat .depth { width: 70%; }

/* ---- 26. Founders' track record ----------------------------------------- */
.record { border-top: 1px solid var(--line); }
.record .hit { display: grid; grid-template-columns: 200px 1fr 1.6fr; gap: clamp(16px, 3vw, 48px); padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; transition: padding-left .4s var(--ease); }
.record .hit:hover { padding-left: 12px; }
.record .hit .val { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; color: var(--teal-light); font-size: clamp(22px, 2.4vw, 32px); line-height: 1; }
.record .hit .val small { display: block; font-family: 'Jost', sans-serif; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.record .hit h3 { margin: 0; font-size: clamp(17px, 1.7vw, 22px); }
.record .hit h3 span { display: block; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-light); margin-top: 6px; font-weight: 500; }
.record .hit p { margin: 0; color: var(--ivory-2); font-size: 15.5px; }
@media (max-width: 760px) { .record .hit { grid-template-columns: 1fr; gap: 8px; } }

/* ---- 27. Leaders band (home) -------------------------------------------- */
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 720px) { .leaders { grid-template-columns: 1fr; } }
.leader { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: clamp(18px, 2.4vw, 30px); align-items: center; padding: clamp(20px, 2.6vw, 30px); background: linear-gradient(160deg, rgba(11,42,49,.85), rgba(8,32,38,.85)); border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--ivory); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); overflow: hidden; }
.leader:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,149,143,.35); color: var(--ivory); }
.leader img { width: 150px; height: 180px; object-fit: cover; object-position: center top; border-radius: var(--radius); display: block; filter: brightness(1.02); }
.leader .role { display: block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--teal-light); font-weight: 500; margin-bottom: 8px; }
.leader h3 { margin: 0 0 8px; font-size: clamp(19px, 1.9vw, 24px); }
.leader p { margin: 0; color: var(--ivory-2); font-size: 15px; }
.leader .go { position: absolute; right: 18px; top: 16px; color: var(--teal-light); font-size: 18px; transition: transform .4s var(--ease); }
.leader:hover .go { transform: translateX(4px); }
@media (max-width: 480px) { .leader { grid-template-columns: 1fr; } .leader img { width: 100%; height: 260px; } }

@media (prefers-reduced-motion: reduce) {
  .modular-motif rect { animation: none; opacity: 1; }
  .split .side, .split .side.left, .split .side.right { animation: none; }
  .split .side:hover { flex-grow: 1; }
  .split .side .pic, .bg-pic > .pic, .portrait .frame img { transition: none; transform: none; }
  .board .seat .depth { width: 70%; transition: none; }
  .leader:hover, .record .hit:hover { transform: none; padding-left: 0; }
}

/* ---- 28. Delivered technology ------------------------------------------ */
.kpis.four { grid-template-columns: repeat(2, 1fr); margin-top: 22px; }
.kpis.four .num { font-size: clamp(28px, 3vw, 40px); }
.kpis.four .lbl { text-transform: none; letter-spacing: .02em; font-size: 13.5px; }
.delivered-list li { grid-template-columns: 220px 1fr; padding: 12px 0; }
#delivered h3 { margin-top: 0; }

/* ---- 29. Phone fixes (QC 23 Sept 2026) --------------------------------- */
.engine > * { min-width: 0; }
@media (max-width: 560px) {
  .chain { flex-wrap: wrap; gap: 6px 10px; justify-content: flex-start; }
  .chain .node { font-size: 13px; letter-spacing: .1em; }
  .chain .arrow { min-width: 14px; flex: 0 0 22px; }
}
.split { overflow: hidden; }
@media (max-width: 560px) {
  .kpis div { padding: 18px 8px; min-width: 0; }
  .kpis .num { font-size: clamp(22px, 7vw, 30px); }
}
@media (max-width: 900px) { .portrait { position: static; } }
