/* Sphere Transformation v4.6.1 | 2026-11-13 | SGT CI: Petrol #004574, Deep #042A44, Gold #C79A4E; greys as live v4.5.2 */
:root {
  --petrol: #004574;
  --deep: #042A44;
  --gold: #C79A4E;
  --gold-on-dark: #ECD9A3;
  --paper: #F7F8FA;
  --ink: #2B2F33;
  --muted: #68707A;
  --nav-ink: #36404A;
  --soft: #ECEFF3;
  --white: #FFFFFF;
  --line: rgba(0, 69, 116, 0.12);
  --shadow: 0 18px 48px rgba(4, 42, 68, 0.10);
  --shadow-soft: 0 10px 28px rgba(4, 42, 68, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--white);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
picture { display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; flex-direction: column; gap: 1px; }
.brand img { height: 58px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--nav-ink); }
.nav-links a { white-space: nowrap; }
.nav-links a:not(.button):hover, .nav-links a[aria-current="page"] { color: var(--petrol); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-toggle { display: none; }
.nav-burger { display: none; }

/* Buttons: Petrol on light surfaces; on Deep surfaces Petrol with a Gold edge */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border-radius: 3px;
  background: var(--petrol); color: var(--white); font-size: 14px; font-weight: 600;
  border: 1px solid var(--petrol);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  box-shadow: 0 8px 18px rgba(0, 69, 116, 0.22);
  white-space: nowrap;
}
.button:hover { background: var(--deep); border-color: var(--deep); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0, 69, 116, 0.28); }
.on-dark .button { border-color: var(--gold-on-dark); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22); }
.on-dark .button:hover { background: var(--gold-on-dark); border-color: var(--gold-on-dark); color: var(--deep); }

/* Typography */
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.025em; font-weight: 500; }
h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.03; max-width: 760px; }

/* Hero (Deep) */
.hero {
  background: radial-gradient(circle at 76% 20%, rgba(236, 217, 163, 0.14), transparent 28%), var(--deep);
  color: var(--white); padding: 112px 0 96px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.eyebrow { color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; margin-bottom: 22px; font-weight: 650; }
.hero p { font-size: 19px; color: rgba(255,255,255,.82); max-width: 690px; margin: 26px 0 12px; }
.hero-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.68); }
.signal-panel { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 8px; padding: 32px; min-height: 360px; box-shadow: 0 28px 90px rgba(0,0,0,.18); }
.signal-panel h3 { font-size: 27px; margin-bottom: 28px; }
.hero-diagram svg { width: 100%; height: auto; display: block; }
.hero-diagram .dg-mobile { display: none; }

/* Sections */
section { padding: 92px 0; }
.light { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; gap: 48px; align-items: flex-start; margin-bottom: 42px; }
.section-head h1, .section-head h2 { font-size: clamp(31px, 4vw, 46px); line-height: 1.12; color: var(--petrol); max-width: 760px; }
.section-head p { margin: 0; max-width: 420px; color: var(--muted); font-size: 16px; }

/* Principles band */
.principles { padding: 56px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { border-top: 2px solid var(--gold); padding-top: 18px; }
.why-item h3 { color: var(--petrol); font-size: 22px; margin-bottom: 10px; }
.why-item p { color: var(--muted); margin: 0; font-size: 15px; }

/* Situations (Deep) */
.situations-section {
  background: radial-gradient(circle at 80% 8%, rgba(236,217,163,.12), transparent 26%), var(--deep);
  color: var(--white);
  padding: 96px 0;
}
.situations-section .section-head h2 { color: var(--white); }
.situations-section .section-head p { color: rgba(255,255,255,.72); }
.situations-intro { max-width: 850px; margin: -14px 0 42px; color: rgba(255,255,255,.72); font-size: 17px; }
.situations-intro p { margin: 0; }
.situations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.situation-card {
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 22px 70px rgba(0,0,0,.16);
  transition: transform .2s ease, border-color .2s ease;
}
.situation-card:hover { transform: translateY(-3px); border-color: rgba(236,217,163,.42); }
.situation-kicker { color: var(--gold-on-dark); font-size: 12px; line-height: 1.35; text-transform: uppercase; letter-spacing: .16em; font-weight: 760; margin-bottom: 16px; }
.situation-card h3 { color: var(--white); font-size: 26px; line-height: 1.17; margin-bottom: 15px; }
.situation-card p { color: rgba(255,255,255,.73); font-size: 15.5px; margin: 0; }

/* Images */
.card-img { display: block; width: 100%; object-fit: cover; border-radius: 8px; margin-bottom: 18px; background: var(--soft); }
.situation-card .card-img { height: 150px; }
.industry-card .card-img { height: 190px; }
.band-img { height: 260px; margin: 0 0 34px; }
.fp-situation-digital-ai { object-position: 72% 42%; }
.fp-band-doha { object-position: 50% 55%; }
.fp-industry-telecom { object-position: 60% 40%; }
.fp-industry-public-sector { object-position: 50% 35%; }

/* How we operate */
.operate-section { background: var(--white); padding: 96px 0; border-bottom: 1px solid var(--line); }
.operate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.operate-card { background: var(--paper); border: 1px solid rgba(0,69,116,.08); border-radius: 10px; padding: 26px; min-height: 220px; box-shadow: var(--shadow-soft); }
.operate-card span { color: var(--petrol); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 760; }
.operate-card h3 { color: var(--petrol); font-size: 23px; line-height: 1.18; margin: 16px 0 12px; }
.operate-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Positioning and partner teaser bands (Deep) */
.positioning {
  background: radial-gradient(circle at 78% 18%, rgba(236,217,163,.13), transparent 30%), var(--deep);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 104px 0;
}
.positioning h2 { font-size: clamp(28px, 3.4vw, 44px); color: var(--white); text-align: center; max-width: 980px; margin: 0 auto 22px; }
.positioning p { text-align: center; color: rgba(255,255,255,.74); max-width: 850px; margin: 0 auto; font-size: 18px; }
.positioning .band-cta { margin-top: 30px; text-align: center; }

/* Capabilities */
#what-we-do { background: var(--white); padding-top: 104px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid rgba(0,69,116,.08); border-radius: 8px; padding: 28px; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; min-height: 214px; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .kicker { color: var(--petrol); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: 18px; }
.card h3 { color: var(--petrol); font-size: 23px; line-height: 1.18; margin-bottom: 14px; }
.card p, .industry-card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .card-link { margin-top: 14px; }
.text-link { color: var(--petrol); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(199,154,78,.85); text-underline-offset: 4px; }
.text-link:hover { color: var(--deep); text-decoration-color: var(--gold); }

/* Industries */
.industry-card { background: var(--white); border: 1px solid rgba(0,69,116,.09); padding: 26px 24px; min-height: 245px; border-radius: 8px; }
.industry-card h3 { color: var(--petrol); font-size: 24px; margin-bottom: 14px; }

/* CTA */
.cta-section { background: linear-gradient(90deg, rgba(0,69,116,.04), rgba(199,154,78,.08)); text-align: center; padding: 86px 0; }
.cta-section h2 { color: var(--petrol); font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.cta-section p { color: var(--muted); max-width: 700px; margin: 0 auto 10px; font-size: 17px; }

/* Footer (Deep) */
footer { background: var(--deep); color: rgba(255,255,255,.68); padding: 36px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); }
.footer-company-link,
.footer-inline-link {
  color: var(--gold-on-dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(236,217,163,0.45);
  text-underline-offset: 4px;
  transition: all 0.25s ease;
}
.footer-company-link:hover,
.footer-inline-link:hover { color: var(--white); text-decoration-color: rgba(236,217,163,0.90); }

/* Partners page: operator cards (Deep), structure as live v4.5.2 */
.leadership-premium-section {
  background: radial-gradient(circle at 80% 8%, rgba(236,217,163,.12), transparent 30%), var(--deep);
  color: var(--white);
  padding: 104px 0;
}
.leadership-premium-section .section-head h1, .leadership-premium-section .section-head h2 { color: var(--white); }
.leadership-premium-section .section-head p { color: rgba(255,255,255,.72); }
.leadership-premium-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.leader-premium-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
  transition: transform .2s ease, border-color .2s ease;
}
.leader-premium-card:hover { transform: translateY(-3px); border-color: rgba(236,217,163,.44); }
.leader-premium-card img {
  width: 100%;
  height: 460px;
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
  background: rgba(255,255,255,.08);
  filter: saturate(.95) contrast(1.03);
}
.leader-content { padding: 34px; }
.leader-role { color: var(--gold-on-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 760; margin-bottom: 10px; }
.leader-content h3 { color: var(--white); font-size: 32px; margin-bottom: 12px; }
.leader-signature { font-size: 18px; line-height: 1.5; color: var(--white); font-weight: 650; margin-bottom: 24px; max-width: 820px; }
.leader-content p { color: rgba(255,255,255,.73); font-size: 15.5px; line-height: 1.75; margin: 0 0 18px; }
.leader-block-title { color: var(--gold-on-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 760; margin: 28px 0 14px; }
.leader-content ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.73); font-size: 15px; }
.leader-content li { margin: 10px 0; line-height: 1.6; }
.leader-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.leader-tags span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.96); padding: 10px 14px; border-radius: 999px; font-size: 13px; line-height: 1.3; }

/* Overlays: AI Team and legal (CSS :target, as live) */
.legal-overlay { position: fixed; inset: 0; z-index: 9999; display: none; background: rgba(4,42,68,.85); padding: 42px 20px; overflow-y: auto; }
.legal-overlay:target { display: block; }
.legal-dialog { background: var(--white); color: var(--ink); max-width: 960px; margin: 0 auto; padding: 34px; border-radius: 10px; box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.legal-dialog h2 { color: var(--petrol); margin: 0 0 22px; font-size: clamp(30px, 3.5vw, 44px); }
.legal-dialog p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin: 0 0 18px; }
.legal-dialog strong { color: var(--petrol); }
.legal-dialog a { color: var(--petrol); text-decoration: underline; text-decoration-color: rgba(199,154,78,.75); text-underline-offset: 3px; }
.legal-close { display: inline-flex; float: right; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--petrol); font-size: 26px; line-height: 1; text-decoration: none !important; }
.legal-close:hover { background: var(--soft); }
.legal-dialog .button, .legal-dialog .button:hover { color: var(--white); text-decoration: none; }
.legal-dialog.ai-dialog { max-width: 1180px; }
.legal-dialog.ai-dialog .section-head { margin-bottom: 26px; }
.ai-kicker { color: var(--petrol); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: 12px; }
.legal-dialog .ai-disclosure { margin: -8px 0 22px; color: var(--muted); font-size: 14px; }
.ai-team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 6px; }
.ai-card { position: relative; background: var(--white); border: 1px solid rgba(0,69,116,.08); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(4,42,68,.08); transition: transform .2s ease, box-shadow .2s ease; }
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(4,42,68,.12); }
.ai-card img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; }
.ai-card .ai-body { padding: 16px 16px 20px; display: flex; flex-direction: column; }
.ai-card .leader-role { color: var(--petrol); margin-bottom: 8px; line-height: 1.3; min-height: 34px; }
.ai-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--petrol); line-height: 1.2; }
.ai-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; min-height: 60px; }
.legal-dialog .ai-card p { font-size: 13.5px; line-height: 1.45; margin: 0; }
.ai-proof { margin-top: 42px; background: var(--petrol); color: var(--white); border-radius: 14px; padding: 28px 34px; text-align: center; font-size: clamp(18px,2vw,23px); font-weight: 600; line-height: 1.4; }
.ai-pinnote { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.ai-pinnote img { width: 30px; height: auto; flex: 0 0 auto; }
.ai-cta { margin-top: 26px; }

/* Responsive */
@media (max-width: 1180px) {
  .leadership-premium-grid { grid-template-columns: 1fr; }
  .leader-premium-card img { height: 520px; min-height: 520px; }
}
@media (max-width: 1024px) { .ai-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; flex: 0 0 auto; border-radius: 3px; }
  .nav-burger span { display: block; width: 22px; height: 2px; background: var(--petrol); border-radius: 1px; transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 24px 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(4, 42, 68, 0.10); }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a:not(.button) { display: block; padding: 15px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links .button { margin-top: 16px; white-space: normal; text-align: center; }
}
@media (max-width: 980px) {
  .hero-grid, .grid-3, .grid-4, .why-grid, .situations-grid, .operate-grid { grid-template-columns: 1fr; }
  /* v4.6.0 fix: .section-head is flex, the grid rule above never applied, so heads did not wrap on mobile */
  .section-head { flex-direction: column; gap: 16px; }
  .section-head p { max-width: none; }
  .hero { padding: 90px 0 72px; }
  .signal-panel { min-height: auto; }
  .leader-content { padding: 28px; }
  .leader-premium-card img { min-height: 340px; max-height: 520px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 30px, 1180px); }
  .nav-inner { min-height: 72px; gap: 12px; }
  .brand img { height: 44px; }
  .nav-links .button { padding: 0 13px; font-size: 12px; min-height: 40px; }
  section { padding: 68px 0; }
  .principles { padding: 48px 0; }
  .hero { padding: 64px 0 56px; }
  .signal-panel { padding: 24px 20px; }
  .hero-diagram .dg-desktop { display: none; }
  .hero-diagram .dg-mobile { display: block; }
  .band-img { height: 200px; }
  .leader-premium-card img { height: 390px; min-height: 390px; }
  .legal-overlay { padding: 20px 12px; }
  .legal-dialog { padding: 24px; }
}
@media (max-width: 600px) { .ai-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v4.6.1 (13.11.2026): gold on dark = #ECD9A3 (CI, Simon 13.11.2026); balanced headings; desktop-only line break */
h1, h2, h3 { text-wrap: balance; }
@media (max-width: 980px) { .br-desktop { display: none; } }
