:root {
  --bg: #070b1a;
  --bg-2: #0d1330;
  --card: #111a3d;
  --line: #22306a;
  --text: #e8ecff;
  --muted: #9aa6d6;
  --accent: #5b8cff;
  --accent-2: #9b6bff;
  --glow: rgba(91, 140, 255, .35);
  --radius: 16px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Sora", system-ui, sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 24px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-2); }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px); background: rgba(7, 11, 26, .8);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.2rem; }
.nav ul { list-style: none; display: flex; gap: 28px; }
.nav ul a { color: var(--muted); font-size: .95rem; transition: color .15s; }
.nav ul a:hover { color: var(--text); }
@media (max-width: 820px) { .nav ul { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 30%, rgba(91,140,255,.25), transparent 70%),
              radial-gradient(50% 50% at 20% 80%, rgba(155,107,255,.2), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin: 14px 0 18px; }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 28px; }
.role { color: var(--accent); font-weight: 700; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat b { display: block; font-family: "Sora", sans-serif; font-size: 1.9rem; }
.stat span { color: var(--muted); font-size: .9rem; }
.portrait {
  aspect-ratio: 1; border-radius: 28px; max-width: 380px; margin-inline: auto; width: 100%;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-family: "Sora", sans-serif; font-size: 4rem; font-weight: 800;
  box-shadow: 0 0 80px var(--glow);
}
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .portrait { max-width: 260px; order: -1; } }

/* About */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.pillars { display: grid; gap: 16px; }
.pillar { border-left: 3px solid var(--accent); padding-left: 16px; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pillar p { margin: 0; font-size: .95rem; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.service h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* Logo marquee */
.partners { padding: 56px 0; border-block: 1px solid var(--line); overflow: hidden; }
.partners p { text-align: center; color: var(--muted); margin-bottom: 24px; }
.marquee { display: flex; width: max-content; animation: scroll 28s linear infinite; }
.marquee span {
  padding: 0 40px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.3rem; color: #5d6aa3; white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* Case studies */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case-img { height: 170px; background: linear-gradient(135deg, #1b2a66, #3a2a7a); }
.case-body { padding: 24px; }
.case-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.case-body p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.result { color: var(--accent); font-weight: 700; display: block; margin-bottom: 12px; }
.case-body a { font-weight: 700; font-size: .95rem; }
.case-body a:hover { text-decoration: underline; }
@media (max-width: 760px) { .cases-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { background: var(--bg-2); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
blockquote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
blockquote p { margin-bottom: 14px; }
blockquote cite { color: var(--muted); font-style: normal; font-size: .9rem; }
@media (max-width: 900px) { .quotes-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta { text-align: center; }
.cta-box {
  border: 1px solid var(--line); border-radius: 28px; padding: 64px 24px;
  background: radial-gradient(70% 90% at 50% 0%, rgba(91,140,255,.22), transparent 70%), var(--card);
}
.cta-box h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.cta-box p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.cta-note { display: block; margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .92rem; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
  .btn { transition: none; }
}

/* Additions for Uthman's content */
.logo span { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer;
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav .btn-primary { display: none; }
  .nav ul.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(7, 11, 26, .97); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav ul.open a { display: block; padding: 12px 0; font-size: 1rem; }
}
.portrait { font-size: 3.4rem; letter-spacing: .02em; }
.case-img { height: 220px; position: relative; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; opacity: .9; }
.case-tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.case-links { display: flex; gap: 18px; flex-wrap: wrap; }
.case-links a { color: var(--text); }

/* Proof-of-work gallery */
.section-head p a { color: var(--accent); font-weight: 700; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .15s ease, border-color .15s ease;
}
.proof:hover { transform: translateY(-3px); border-color: var(--accent); }
.proof img { width: 100%; height: 240px; object-fit: cover; object-position: top; display: block; background: var(--bg-2); }
.proof-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.proof-body .case-tag { color: var(--accent); margin: 0; }
.proof-body p { color: var(--text); font-size: .95rem; flex: 1; }
.proof-body cite { color: var(--muted); font-style: normal; font-size: .9rem; font-weight: 700; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proof-grid { grid-template-columns: 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pills a {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; color: var(--muted);
  transition: color .15s, border-color .15s;
}
.pills a:hover { color: var(--text); border-color: var(--accent); }
.center-row { display: flex; justify-content: center; margin-top: 36px; }

/* Approach steps */
.pillar span { color: var(--accent); font-family: "Sora", sans-serif; font-weight: 700; font-size: .85rem; }

/* Profile links */
.service { display: block; transition: transform .15s ease, border-color .15s ease; }
a.service:hover { transform: translateY(-3px); border-color: var(--accent); }
.service .case-tag { color: var(--accent); }

.cta-box .cta-row { justify-content: center; margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .proof, a.service { transition: none; } }

/* Mayo page */
@media (min-width: 901px) { .services-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.foot > div { max-width: 640px; }

/* Profile picture */
.portrait { overflow: hidden; padding: 6px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; }
