:root {
  --ink:        #0a0e14;
  --ink-soft:   #11161f;
  --panel:      #151b26;
  --line:       rgba(196,168,107,0.18);
  --gold:       #c4a86b;
  --gold-bright:#d8bd84;
  --paper:      #f4f1ea;
  --paper-dim:  #a7adb8;
  --paper-mute: #6c727e;
  --brand-blue: #2da9e1;
  --brand-navy: #272660;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.serif { font-family: 'Fraunces', serif; font-weight: 400; }
a { color: inherit; }

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10,14,20,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo img { height: 38px; width: auto; display: block; }
.logo .lines { display: flex; flex-direction: column; line-height: 1.15; }
.logo .name { font-family: 'Fraunces', serif; font-size: 16px; letter-spacing: 0.01em; color: var(--paper); }
.logo .sub { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a {
  color: var(--paper-dim); text-decoration: none; font-size: 12.5px;
  letter-spacing: 0.04em; transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 9px 20px; border-radius: 2px; transition: all 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.burger { display: none; background: none; border: 0; color: var(--paper); font-size: 22px; cursor: pointer; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 2px;
  font-size: 13px; letter-spacing: 0.05em; text-decoration: none;
  transition: all 0.28s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- SECTION SHELL ---------- */
section { position: relative; padding: 120px 0; }
.sec-tag {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
h2.sec {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.18; letter-spacing: -0.01em;
  max-width: 20ch;
}
h2.sec em { font-style: italic; color: var(--gold-bright); }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-head {
  position: relative;
  padding: 190px 0 90px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-head .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 30%, rgba(196,168,107,0.09), transparent 70%);
}
.page-head .inner { position: relative; z-index: 2; }
.page-head .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.page-head .eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold); display: inline-block; }
.page-head h1 {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.1;
  letter-spacing: -0.015em; max-width: 18ch;
}
.page-head h1 em { font-style: italic; color: var(--gold-bright); }
.page-head p {
  margin-top: 26px; color: var(--paper-dim);
  max-width: 56ch; font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink-soft); border-top: 1px solid var(--line);
  padding: 60px 0 40px;
}
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.foot-links { display: flex; gap: 30px; flex-wrap: wrap; }
.foot-links a { color: var(--paper-dim); text-decoration: none; font-size: 12.5px; transition: color 0.25s; }
.foot-links a:hover { color: var(--gold); }
.foot-base {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 11.5px; color: var(--paper-mute); letter-spacing: 0.04em;
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .wrap, .nav-inner { padding-left: 24px; padding-right: 24px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--line); width: 100%; }
  .nav-cta { border: 0; }
  .burger { display: block; }
  section { padding: 80px 0; }
  .page-head { padding: 150px 0 70px; }
}

/* =====================================================================
   BIM DELIVERY REPOSITIONING — 2026-09-07
   Additive only. No existing rule above this block was modified.
   ===================================================================== */

/* -- principle band -- */
.principle { background: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 46px 0; }
.principle .line { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(1.25rem, 2.3vw, 1.85rem); line-height: 1.35; color: var(--paper); }
.principle .line span { color: var(--gold-bright); font-style: italic; }

/* -- proof line under hero -- */
.proof { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--paper-mute); max-width: 72ch; }

/* -- generic numbered tile grid -- */
.tiles { margin-top: 54px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tiles.c2 { grid-template-columns: repeat(2, 1fr); }
.tiles.c3 { grid-template-columns: repeat(3, 1fr); }
.tiles.c4 { grid-template-columns: repeat(4, 1fr); }
.tile { background: var(--ink); padding: 34px 30px; transition: background 0.3s; }
.tile:hover { background: var(--panel); }
.tile .n { font-family: 'Fraunces', serif; font-size: 12.5px; color: var(--gold); letter-spacing: 0.1em; }
.tile h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.18rem; margin: 14px 0 10px; color: var(--paper); }
.tile p { font-size: 0.9rem; color: var(--paper-dim); }

/* -- lifecycle rail -- */
.rail { margin-top: 50px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rail .step { background: var(--ink); padding: 24px 16px; }
.rail .step .n { font-family: 'Fraunces', serif; font-size: 12px; color: var(--gold); }
.rail .step h4 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 0.98rem; margin: 10px 0 6px; color: var(--paper); line-height: 1.3; }
.rail .step p { font-size: 0.78rem; color: var(--paper-mute); line-height: 1.5; }

/* -- alliance -- */
.alliance { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ally { background: var(--ink); padding: 34px 30px; display: flex; flex-direction: column; }
.ally .mark { height: 46px; display: flex; align-items: center; margin-bottom: 20px; }
.ally .mark img { max-height: 40px; width: auto; max-width: 190px; }
.ally .wordmark { font-family: 'Fraunces', serif; font-size: 1.5rem; letter-spacing: 0.02em; color: var(--paper); line-height: 1; }
.ally .wordmark small { display: block; font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 7px; }
.ally .role { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.ally h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.12rem; margin-bottom: 12px; color: var(--paper); }
.ally p { font-size: 0.89rem; color: var(--paper-dim); }
.ally ul { list-style: none; margin-top: 14px; }
.ally li { font-size: 0.85rem; color: var(--paper-dim); padding: 7px 0 7px 16px; position: relative; border-top: 1px solid var(--line); }
.ally li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.ally li:first-child { border-top: 0; }
.logo-tile { background: #f4f1ea; border: 1px solid var(--line); padding: 18px 22px; display: flex; align-items: center; justify-content: center; min-height: 78px; }
.logo-tile img { max-height: 42px; width: auto; max-width: 100%; display: block; }
.logo-tile .tm { font-family: 'Fraunces', serif; font-size: 1.45rem; color: #1a2436; line-height: 1.05; text-align: center; }
.logo-tile .tm small { display: block; font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #7a6a45; margin-top: 6px; }

/* -- application blocks (sectors) -- */
.app { border: 1px solid var(--line); padding: 40px 38px; margin-top: 24px; background: var(--ink-soft); }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.app h2 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.5rem; color: var(--paper); max-width: 26ch; }
.badge { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); padding: 7px 12px; white-space: nowrap; }
.badge.cap { color: var(--paper-mute); }
.app-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.app-cell { background: var(--ink); padding: 22px 20px; }
.app-cell .h { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.app-cell p { font-size: 0.85rem; color: var(--paper-dim); line-height: 1.65; }

/* -- responsibility split table -- */
.split { margin-top: 46px; border: 1px solid var(--line); }
.split .row { display: grid; grid-template-columns: 210px 1fr; border-top: 1px solid var(--line); }
.split .row:first-child { border-top: 0; }
.split .k { padding: 20px 24px; font-size: 0.9rem; color: var(--paper); background: var(--ink-soft); border-right: 1px solid var(--line); }
.split .v { padding: 20px 24px; font-size: 0.89rem; color: var(--paper-dim); }

/* -- notice / boundary statement -- */
.notice { margin-top: 44px; border-left: 2px solid var(--gold); background: var(--ink-soft); padding: 26px 30px; }
.notice p { font-size: 0.9rem; color: var(--paper-dim); max-width: 78ch; }
.notice p + p { margin-top: 12px; }

@media (max-width: 900px) {
  .tiles.c2, .tiles.c3, .tiles.c4, .alliance, .app-grid { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .split .row { grid-template-columns: 1fr; }
  .split .k { border-right: 0; border-bottom: 1px solid var(--line); }
  .app { padding: 28px 22px; }
}

/* -- partner visual evidence -- */
.evidence { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ev figure { margin: 0; }
.ev .shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
            border: 1px solid var(--line); filter: grayscale(28%) contrast(1.02); }
.ev figcaption { margin-top: 12px; font-size: 0.82rem; line-height: 1.55; color: var(--paper-dim); }
.ev .attr { display: block; margin-top: 6px; font-size: 9.5px; letter-spacing: 0.14em;
            text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .evidence { grid-template-columns: 1fr; } }
