/* ============================================================
   Userade | UX Research & Strategy
   Brand: Userade green #00BF22
   ============================================================ */
:root {
  --ink:        #0f1411;
  --ink-soft:   #3c463f;
  --ink-mute:   #6c766d;
  --line:       #e5e8e0;
  --paper:      #f9faf6;
  --paper-2:    #eef1e8;
  --white:      #ffffff;

  --brand:      #00cb00;   /* logo green: fills, large accents, glows */
  --brand-600:  #00b300;   /* hover / slightly deeper */
  --brand-deep: #0a7a0a;   /* gradients, deep ground */
  --brand-ink:  #0b7d0b;   /* accessible green for small text & links */
  --brand-tint: #e6f8e6;   /* light green fills */
  --btn-ink:    #07140a;   /* near-black text on bright green */

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 16px;

  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.logo__mark { display: inline-block; vertical-align: middle; flex: none; }
.logo__img { display: block; height: 26px; width: auto; }
.footer__brand .logo__img { height: 24px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: var(--btn-ink);
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 100px; border: 1px solid var(--brand);
  cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--brand-600); border-color: var(--brand-600); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,179,0,.55); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--white); border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 20px -12px rgba(15,20,17,.4); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-deep); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-stuck { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: 20px; }
.logo__word { color: var(--ink); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--brand); transition: right .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav .btn--sm { margin-left: 4px; }
.nav__toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: clamp(56px, 11vw, 128px) 0 clamp(40px, 7vw, 80px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -22% 28% auto -12%; height: 540px;
  background: radial-gradient(closest-side, rgba(0,203,0,.12), transparent 70%);
  pointer-events: none;
}
.eyebrow { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); font-weight: 600; margin-bottom: 22px; }
.hero__title { font-size: clamp(38px, 6.2vw, 76px); max-width: 16ch; text-wrap: balance; font-weight: 700; letter-spacing: -0.03em; }
.hero__title em { color: var(--brand); }
.hero__lede { font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); max-width: 56ch; margin-top: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 72px); margin: 56px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.hero__stats div { margin: 0; }
.hero__stats dt { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 40px); color: var(--ink); letter-spacing: -0.02em; }
.hero__stats dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-mute); }

/* ============================================================
   Marquee
   ============================================================ */
.marquee { border-block: 1px solid var(--line); background: var(--white); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 30px; white-space: nowrap; width: max-content; animation: slide 42s linear infinite; align-items: center; }
.marquee__track span { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--ink-soft); letter-spacing: -0.01em; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 62ch; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); font-weight: 600; margin-bottom: 16px; }
.kicker--light { color: #7fe094; }
.section__head h2 { font-size: clamp(28px, 4.2vw, 46px); text-wrap: balance; }
.section__sub { margin-top: 20px; font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-soft); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(11,125,26,.3); border-color: var(--brand); }
.pillar__num { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--brand-ink); display: inline-block; margin-bottom: 18px; letter-spacing: .06em; }
.pillar__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-tint); color: var(--brand-ink); margin-bottom: 20px; transition: background .35s var(--ease), color .35s var(--ease); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar:hover .pillar__icon { background: var(--brand); color: #fff; }
.pillar h3 { font-size: 27px; margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; }
.pillar__list { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.pillar__list li { padding: 11px 0 11px 22px; position: relative; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line); }
.pillar__list li:last-child { border-bottom: 0; }
.pillar__list li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* Services */
.svc-group + .svc-group { margin-top: clamp(36px, 5vw, 56px); }
.svc-group__label { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; }
.svc-group__label svg { width: 19px; height: 19px; color: var(--brand); flex: none; }
.services { display: flex; flex-wrap: wrap; gap: 16px; }
.service { flex: 0 1 calc((100% - 32px) / 3); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px 30px; position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.service::before { content: ""; display: block; width: 26px; height: 4px; border-radius: 3px; background: var(--brand); margin-bottom: 20px; }
.service:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -30px rgba(11,125,26,.35); border-color: var(--brand); }
.service h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.01em; }
.service p { font-size: 14.5px; color: var(--ink-soft); }

/* Quote */
.quote { background: var(--ink); color: #fff; padding: clamp(64px, 10vw, 120px) 0; }
.quote blockquote { margin: 0; max-width: 24ch; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 4.2vw, 50px); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }

/* Clients */
.clients { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.clients li { background: var(--paper); padding: 28px 22px; font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--ink-soft); letter-spacing: -0.01em; display: flex; align-items: center; transition: color .3s var(--ease), background .3s var(--ease); }
.clients li:hover { color: var(--brand-ink); background: var(--white); }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.about__text h2 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 24px; }
.about__text p { color: var(--ink-soft); margin-bottom: 18px; max-width: 56ch; }
.about__text .btn { margin-top: 10px; }
.about__text strong { color: var(--ink); font-weight: 600; }
.about__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; position: sticky; top: 96px; }
.about__card-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.about__card-name { font-family: var(--display); font-weight: 600; font-size: 25px; letter-spacing: -0.02em; margin: 10px 0 4px; }
.about__card-role { color: var(--ink-soft); font-size: 15px; }
.about__card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.about__card ul { list-style: none; padding: 0; margin: 0; }
.about__card li { padding: 9px 0 9px 22px; position: relative; font-size: 15px; color: var(--ink); }
.about__card li::before { content: "\2192"; position: absolute; left: 0; color: var(--brand-ink); }

/* Global reach */
.egypt__inner { display: grid; grid-template-columns: 1.6fr auto; gap: 40px; align-items: center; }
.egypt__inner h2 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 20px; }
.egypt__inner p { color: var(--ink-soft); max-width: 60ch; }

/* Contact */
.contact { background: linear-gradient(155deg, #05230f 0%, var(--brand-deep) 68%, var(--brand) 130%); color: #fff; padding: clamp(72px, 11vw, 140px) 0; }
.contact__inner { max-width: 720px; }
.contact h2 { font-size: clamp(32px, 5vw, 58px); color: #fff; }
.contact__lede { margin: 24px 0 36px; font-size: clamp(17px, 2vw, 20px); color: #cdeed4; max-width: 48ch; }
.contact__meta { margin-top: 28px; font-size: 14px; color: #a4dcb0; }

/* Footer */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 44px 0; }
.footer__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
.footer__nav { display: flex; gap: 24px; margin-inline: auto; flex-wrap: wrap; }
.footer__nav a { font-size: 14px; color: var(--ink-soft); }
.footer__nav a:hover { color: var(--brand-ink); }
.footer__copy { font-size: 13px; color: var(--ink-mute); }

/* ============================================================
   Reveal animation (progressive enhancement)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .pillars { grid-template-columns: 1fr; }
  .service { flex-basis: calc((100% - 16px) / 2); }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__card { position: static; }
  .egypt__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav .btn--sm { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 20px var(--pad); gap: 18px;
  }
  .service { flex-basis: 100%; }
  .clients { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}
