/* ==========================================================================
   Horoof AI Solutions — site stylesheet
   One house style for two identities:
     · Horoof (the company and its studio)  → gold accent
     · Oceanus (the AI content platform)    → teal accent
   ========================================================================== */

:root {
  /* Ground: a deep navy that sits between Horoof's black and Oceanus's navy */
  --bg: #06121f;
  --bg-2: #0a1a2c;
  --bg-3: #0f2238;
  --bg-4: #143050;

  /* Ink */
  --ink: #f3efe6;
  --ink-2: #b8b3a8;
  --ink-3: #7d7a72;

  /* Horoof gold */
  --gold: #d4a857;
  --gold-2: #e8c478;
  --gold-3: #8b6f2e;
  --gold-soft: rgba(212, 168, 87, 0.12);

  /* Oceanus teal + navy */
  --teal: #26baac;
  --teal-2: #5fd6c9;
  --teal-3: #167c73;
  --teal-soft: rgba(38, 186, 172, 0.12);
  --navy: #062542;

  --line: rgba(243, 239, 230, 0.08);
  --line-2: rgba(243, 239, 230, 0.16);

  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', 'Manrope', system-ui, sans-serif;
  --serif: var(--display);
  --arabic: 'Cairo', 'Segoe UI', Tahoma, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
  --nav-h: 72px;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* fine grain over everything, as on the previous site */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 100;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--teal); color: var(--navy); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
h3, h4 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

/* the emphasised words inside a display title: colour only, nothing else changes */
.serif { font-style: normal; font-weight: inherit; }
.gold { color: var(--gold-2); }
.teal { color: var(--teal-2); }

.ar {
  font-family: var(--arabic);
  font-weight: 600;
  direction: rtl;
  unicode-bidi: isolate;
}

.lead { font-size: 1.2rem; color: var(--ink-2); line-height: 1.6; font-weight: 400; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.8; }
.eyebrow.teal { color: var(--teal); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 18px 0 18px; }
.section-head .lead { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-gold:hover { background: var(--gold-2); }
.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { background: var(--teal-2); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); background: rgba(255,255,255,0.03); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link.gold { color: var(--gold-2); }
.arrow-link.teal { color: var(--teal-2); }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 18, 31, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-name span { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav-links a.pill-oceanus { display: inline-flex; align-items: center; gap: 8px; }
.nav-links a.pill-oceanus img { height: 16px; width: auto; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.menu-toggle:hover { background: rgba(255,255,255,0.05); }

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: rgba(6, 18, 31, 0.97);
  padding: 24px;
  display: none; flex-direction: column; gap: 6px;
}
.drawer.open { display: flex; }
.drawer a { padding: 16px 12px; font-size: 1.2rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 18px; justify-content: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero-glow.g1 { width: 720px; height: 720px; top: -260px; right: -180px; background: radial-gradient(circle, rgba(38,186,172,0.22), transparent 65%); }
.hero-glow.g2 { width: 560px; height: 560px; bottom: -220px; left: -160px; background: radial-gradient(circle, rgba(212,168,87,0.16), transparent 65%); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(243,239,230,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,239,230,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero h1 { margin: 22px 0 24px; max-width: 17ch; }
.hero .lead { max-width: 560px; }
.hero-ar { margin-top: 14px; font-size: 1.25rem; color: var(--teal-2); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line);
  width: fit-content;
}
.stat-num { font-family: var(--display); font-size: 2.1rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat-num .serif { font-size: 1em; color: var(--gold-2); }
.stat-label { margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }

/* home hero: the platform preview on the right */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.console {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.console-bar img { height: 22px; }
.console-tabs { display: flex; gap: 6px; }
.console-tabs span { font-size: 0.7rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.05); color: var(--ink-3); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.console-tabs span.on { background: var(--teal-soft); color: var(--teal-2); }

.console-ask {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; font-size: 0.95rem; color: var(--ink);
}
.console-ask .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); flex: none; }
.console-ask .ar { margin-inline-start: auto; color: var(--ink-3); font-size: 0.85rem; }

.console-answer { margin-top: 14px; padding: 16px; border-radius: 12px; background: var(--navy); border: 1px solid rgba(38,186,172,0.25); }
.console-answer p { font-size: 0.95rem; color: var(--ink); }
.console-answer p + p { margin-top: 8px; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.source {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; color: var(--teal-2);
  background: var(--teal-soft); border: 1px solid rgba(38,186,172,0.3); border-radius: 8px; padding: 6px 10px;
}
.source i { width: 16px; height: 16px; border-radius: 4px; background: var(--teal); color: var(--navy); font-style: normal; font-size: 0.6rem; display: grid; place-items: center; font-weight: 800; }

.console-assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.asset {
  border-radius: 10px; padding: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  font-size: 0.72rem; color: var(--ink-2); line-height: 1.3;
}
.asset b { display: block; color: var(--ink); font-size: 0.78rem; margin-top: 6px; }
.asset .thumb { height: 46px; border-radius: 6px; margin-bottom: 4px; }
.asset .thumb.pdf { background: #a53b34; }
.asset .thumb.audio { background: #35619c; }
.asset .thumb.video { background: #5e3c92; }
.asset .thumb.doc { background: #275fa6; }
.asset .thumb.scorm { background: #b8782a; }
.asset .thumb.img { background: #2a8a60; }
.asset .thumb.pptx { background: #b45026; }
.asset .thumb.link { background: #4d5c6e; }
.asset .thumb.xlsx { background: #2a7841; }
.asset .thumb.html { background: #a83363; }
.asset .thumb.txt { background: #5a6978; }

.console-progress { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--ink-3); }
.console-progress .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.console-progress .bar i { display: block; height: 100%; width: 68%; background: var(--teal); border-radius: 4px; animation: fill 6s ease-in-out infinite alternate; }
@keyframes fill { from { width: 42%; } to { width: 86%; } }

.console-badge {
  position: absolute; top: -14px; right: 22px;
  background: var(--teal); color: var(--navy);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s ease, background .25s ease;
}
.card:hover { border-color: var(--line-2); background: var(--bg-3); }
.card h3 { margin: 16px 0 10px; }
.card p { color: var(--ink-2); font-size: 0.97rem; }
.card.accent-gold { border-top: 3px solid var(--gold); }
.card.accent-teal { border-top: 3px solid var(--teal); }

.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-2);
}
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon.teal { background: var(--teal-soft); color: var(--teal-2); }

.num { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; color: var(--ink-3); }

.features { margin-top: 16px; display: grid; gap: 8px; }
.features li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink-2); }
.features li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-top: 9px; }
.teal-list .features li::before, .features.teal li::before { background: var(--teal); }

/* the two big "how we work" cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 18px; min-height: 420px;
}
.duo-card.platform { border-top: 3px solid var(--teal); }
.duo-card.studio { border-top: 3px solid var(--gold); }
.duo-card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.95rem); letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.duo-card p { color: var(--ink-2); max-width: 46ch; }
.duo-card .brand-row { display: flex; align-items: center; gap: 14px; }
.duo-card .brand-row img { height: 44px; width: auto; }
.duo-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.duo-card .tags span { font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.duo-card .arrow-link { margin-top: auto; }

/* ability tiles (Reads / Listens / …) */
.abilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ability {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
}
.ability::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); }
.ability h3 { font-size: 1.45rem; margin: 14px 0 8px; }
.ability p { color: var(--ink-2); font-size: 0.97rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  position: relative;
}
.step.on { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.step .step-n { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--teal-2); line-height: 1; }
.step.on .step-n { color: var(--navy); }
.step h4 { margin: 14px 0 8px; font-size: 1.1rem; }
.step p { font-size: 0.9rem; color: var(--ink-2); }
.step.on p { color: rgba(6,37,66,0.85); }
.step-note { margin-top: 28px; font-weight: 700; font-size: 1.05rem; }

/* live checklist */
.live-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.live-col { background: rgba(38,186,172,0.06); border: 1px solid rgba(38,186,172,0.2); border-radius: var(--radius-lg); padding: 30px; }
.live-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.live-pill { background: var(--teal); color: var(--navy); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; padding: 6px 14px; border-radius: 999px; }
.live-head h3 { font-size: 1.4rem; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 0.97rem; }
.checks li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* asset type chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 0.9rem; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,0.02);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* facts (platform facts grid) */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fact { background: var(--bg); padding: 28px; }
.fact h4 { font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.fact h4::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }
.fact p { color: var(--ink-2); font-size: 0.93rem; }

/* problem cards (studio) */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.problem img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; filter: saturate(0.85); }
.problem-body { padding: 24px; }
.problem-body .num { color: var(--gold); }
.problem-body h3 { margin: 10px 0 8px; }
.problem-body p { color: var(--ink-2); font-size: 0.95rem; }
.solution { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 12px; font-size: 0.92rem; color: var(--ink-2); }
.solution strong { display: block; color: var(--gold-2); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.solution svg { flex: none; width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; margin-top: 4px; }

/* mascot strip */
.mascot {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px);
}
.mascot img { border-radius: var(--radius); width: 100%; }
.mascot h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 12px 0 14px; letter-spacing: -0.025em; }
.mascot p { color: var(--ink-2); }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillar { background: var(--bg); padding: 32px; }
.pillar .num { color: var(--gold); }
.pillar h4 { font-size: 1.15rem; margin: 10px 0 8px; }
.pillar p { color: var(--ink-2); font-size: 0.95rem; }

/* logos row (two brands one house) */
.house { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.house-card { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 40px; background: var(--bg-2); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.house-card .logo-area { height: 120px; display: flex; align-items: center; }
.house-card .logo-area img { height: 120px; width: auto; }
.house-card .logo-area .brand-name strong { font-size: 2rem; }
.house-card .logo-area .brand-name span { font-size: 0.8rem; }
.house-card p { color: var(--ink-2); }
.house-card .role { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Video showcase
   -------------------------------------------------------------------------- */
.showcase { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 21 / 9; min-height: 420px; }
.showcase video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,18,31,0.92) 0%, rgba(6,18,31,0.6) 50%, rgba(6,18,31,0.15) 100%);
  display: flex; align-items: flex-end; padding: clamp(24px, 4vw, 56px);
}
.showcase-overlay h2 { font-size: clamp(1.7rem, 2.9vw, 2.4rem); margin: 14px 0 12px; max-width: 20ch; }
.showcase-overlay p { max-width: 48ch; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Investor / CTA block
   -------------------------------------------------------------------------- */
.cta-block {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px);
  background: var(--navy);
  border: 1px solid var(--line-2);
  text-align: center;
}
.cta-block > * { position: relative; }
.cta-block h2 { margin: 16px auto 16px; max-width: 20ch; }
.cta-block .lead { max-width: 56ch; margin-inline: auto; }
.cta-block .cta-row { justify-content: center; }
.cta-block .watermark { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); height: 130%; opacity: 0.06; pointer-events: none; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-info { display: grid; gap: 22px; margin-top: 36px; }
.contact-item .label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; margin-bottom: 4px; }
.contact-item .value { font-size: 1.1rem; }
.contact-item .value a:hover { color: var(--gold-2); }

.form { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 14px; color: var(--ink); font: inherit; font-size: 0.97rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b8b3a8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.form .btn { justify-self: start; }
.form-note { font-size: 0.85rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--ink-2); font-size: 0.93rem; margin-top: 16px; max-width: 34ch; }
.foot-brand .ar { display: block; margin-top: 10px; color: var(--ink-3); font-size: 0.95rem; text-align: left; direction: rtl; }
.foot-col h5 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.foot-col a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 0.95rem; }
.foot-col a:hover { color: var(--ink); }
.foot-col .with-mark { display: flex; align-items: center; gap: 8px; }
.foot-col .with-mark img { height: 16px; }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 0.85rem; }
.foot-bottom em { color: var(--gold); font-style: normal; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero h1 { max-width: 22ch; }
.page-hero .logo-lockup { height: clamp(120px, 14vw, 170px); width: auto; margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Banner hero (services): an illustration behind the title, tinted into the navy
   -------------------------------------------------------------------------- */
.hero.banner { min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero.banner .banner-img {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg) center 30% / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
/* services: the illustrated skyline from the film, desaturated into the navy */
.hero.banner.skyline .banner-img {
  background-image: url('img/banner-dubai.jpg');
  filter: saturate(0.55) brightness(0.9) contrast(1.05);
  opacity: 0.55;
}
/* oceanus: the vector sea — already in the palette, so it needs no filter */
.hero.banner.sea .banner-img {
  background-image: url('img/banner-oceanus.svg');
  background-position: right bottom;
  opacity: 0.95;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}
.hero.banner.sea .banner-tint {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(6,18,31,0.9) 28%, rgba(6,18,31,0.45) 55%, rgba(6,18,31,0.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6,18,31,0) 22%);
}
/* about: a field of Arabic letterforms, because Horoof means letters */
.hero.banner.letters .banner-img { display: none; }
.banner-letters {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  font-family: 'Reem Kufi', var(--arabic); font-weight: 600; color: var(--gold);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.7) 35%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.7) 35%, #000 55%, #000 100%);
}
.banner-letters span {
  position: absolute; line-height: 1; user-select: none;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  opacity: var(--o, 0.08);
  font-size: var(--s, 12rem);
}
.hero.banner.letters .banner-tint {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(6,18,31,0.85) 30%, rgba(6,18,31,0.2) 60%, rgba(6,18,31,0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6,18,31,0) 25%);
}
.hero.banner.letters .hero-glow { z-index: 0; }
.hero.banner .banner-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(6,18,31,0.92) 30%, rgba(6,18,31,0.55) 58%, rgba(6,18,31,0.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6,18,31,0.15) 30%, rgba(6,18,31,0.35) 100%),
    linear-gradient(180deg, rgba(6,37,66,0.55), rgba(212,168,87,0.10));
  mix-blend-mode: normal;
}
.hero.banner .hero-grid { z-index: 1; opacity: 0.6; }
.hero.banner .wrap { z-index: 2; }
.hero.banner .lead { color: var(--ink); opacity: 0.85; }
.banner-caption {
  position: absolute; right: 28px; bottom: 22px; z-index: 2;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 700;
}
@media (max-width: 860px) {
  .hero.banner .banner-img { mask-image: none; -webkit-mask-image: none; opacity: 0.35; background-position: 62% 30%; }
  .hero.banner.sea .banner-img { opacity: 0.6; background-position: 70% bottom; }
  .hero.banner .banner-tint, .hero.banner.sea .banner-tint, .hero.banner.letters .banner-tint { background: linear-gradient(180deg, rgba(6,18,31,0.55) 0%, rgba(6,18,31,0.85) 60%, var(--bg) 100%); }
  .banner-letters { mask-image: none; -webkit-mask-image: none; }
  .banner-letters span { opacity: calc(var(--o, 0.08) * 0.7); }
  .banner-caption { display: none; }
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .console-progress .bar i { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .abilities, .grid-3, .problems, .facts { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .console { max-width: 640px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .split, .duo, .live-cols, .house, .grid-2, .pillars { grid-template-columns: 1fr; }
  .mascot { grid-template-columns: 1fr; }
  .mascot img { max-width: 360px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .showcase { aspect-ratio: auto; min-height: 520px; }
  .showcase-overlay { background: linear-gradient(0deg, rgba(6,18,31,0.95) 0%, rgba(6,18,31,0.55) 60%, rgba(6,18,31,0.2) 100%); }
  .console-assets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .abilities, .grid-3, .grid-4, .problems, .facts, .steps, .foot-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.35rem; }
  .hero h1 { max-width: none; }
  .duo-card { min-height: 0; }
  .cta-block .watermark { display: none; }
}
