/* Strivers Enterprises, striversnigeria.com.ng */

:root {
  --paper: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #08162A;
  --ink-2: #22334E;
  --muted: #5B6B84;
  --blue: #0362E2;
  --blue-deep: #0450B4;
  --sky: #109DF8;
  --cyan: #1BCDFB;
  --line: rgba(8, 22, 42, .14);
  --line-soft: rgba(8, 22, 42, .07);
  --dark-text: #E8EEF6;
  --dark-muted: #9FB1C9;
  --dark-line: rgba(232, 238, 246, .14);
  --dark-link: #7CB9FF;
  --radius: 16px;
  --wrap: 1120px;
  --sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; }

p { margin: 0; }

a { color: inherit; }

img { display: block; max-width: 100%; height: auto; }

::selection { background: var(--cyan); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.mono {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: -48px; left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: .8rem;
  transition: top .15s ease;
}
.skip:focus-visible { top: 0; }

/* Top line */

.topline {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.topline-in {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  color: var(--muted);
}

.topline-mail { color: var(--blue); text-decoration: none; }
.topline-mail:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-head.scrolled {
  background: rgba(246, 247, 249, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-chip {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.brand-name {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-name span { font-weight: 400; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav > a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .15s ease;
}

.nav > a:not(.btn):hover { color: var(--blue); }

/* Mobile nav */

.menu-btn {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.menu-btn-line, .menu-btn-line::before, .menu-btn-line::after {
  position: absolute;
  left: 11px;
  width: 17px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.menu-btn-line { top: 19px; }
.menu-btn-line::before, .menu-btn-line::after { content: ""; }
.menu-btn-line::before { top: -6px; }
.menu-btn-line::after { top: 6px; }

.menu-btn[aria-expanded="true"] .menu-btn-line { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-line::before { top: 0; transform: rotate(90deg); }
.menu-btn[aria-expanded="true"] .menu-btn-line::after { top: 0; opacity: 0; }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 6px 28px 22px;
  background: rgba(246, 247, 249, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  padding: 13px 2px;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav a.mono { font-size: .78rem; color: var(--blue); border-bottom: 0; }

.site-head.open .mobile-nav { display: flex; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}

.btn:hover { background: var(--blue-deep); }
.btn:active { transform: translateY(1px); }

.btn-small { padding: 9px 16px; font-size: .88rem; border-radius: 9px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 4px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .15s ease, border-color .15s ease;
}

.btn-ghost svg { transition: transform .18s ease; }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover svg { transform: translate(2px, -2px); }

/* Hero */

.hero { padding: 76px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 60px;
  align-items: center;
}

.kicker { color: var(--blue); margin-bottom: 22px; }

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  margin-bottom: 26px;
}

.lede {
  max-width: 56ch;
  font-size: 1.13rem;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero-mark {
  position: relative;
  justify-self: center;
}

.mark-card {
  width: min(340px, 100%);
  aspect-ratio: 1;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px -30px rgba(8, 22, 42, .35);
}

.mark-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }

.sq {
  position: absolute;
  display: block;
}

.sq-1 { top: -13px; right: 34px; width: 22px; height: 22px; background: var(--cyan); animation: rise .8s .25s ease both; }
.sq-2 { top: 44px; right: -10px; width: 14px; height: 14px; background: var(--sky); animation: rise .8s .45s ease both; }
.sq-3 { bottom: 60px; left: -16px; width: 11px; height: 11px; background: var(--blue); animation: rise .8s .6s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.float { animation: float 7s ease-in-out infinite alternate; }

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

/* Facts strip */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 64px 0 0;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts > div { min-width: 0; }

.facts dt { color: var(--muted); margin-bottom: 7px; }

.facts dd {
  margin: 0;
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

.facts dd a { color: var(--blue); text-decoration: none; }
.facts dd a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sections */

.section { padding: 108px 0 8px; }

.section > .wrap > h2 { margin: 18px 0 16px; }

.section .lede { margin-bottom: 52px; }

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sec-label { color: var(--muted); }

.sec-dot {
  position: relative;
  width: 9px; height: 9px;
  background: var(--cyan);
}

.sec-dot::after {
  content: "";
  position: absolute;
  top: 0; left: -13px;
  width: 9px; height: 9px;
  background: var(--sky);
  opacity: .85;
}

.sec-dot-dark { background: var(--blue); }
.sec-dot-dark::after { background: var(--cyan); }

/* Work list */

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto 20px;
  align-items: center;
  gap: 24px;
  padding: 20px 6px 20px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .15s ease, padding .15s ease;
}

.work-row:hover { background: var(--surface); padding-left: 16px; padding-right: 10px; }

.work-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s ease;
}

.work-icon img { width: 34px; height: 34px; object-fit: contain; }

.work-row:hover .work-icon { border-color: rgba(3, 98, 226, .45); }

.work-main { display: grid; gap: 3px; }

.work-name { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.01em; }

.work-desc { font-size: .93rem; color: var(--muted); line-height: 1.55; }

.work-cat { color: var(--blue); }

.work-domain { color: var(--muted); text-transform: lowercase; letter-spacing: .06em; }

.work-arrow { color: var(--muted); transition: transform .18s ease, color .18s ease; }

.work-row:hover .work-arrow { transform: translateX(4px); color: var(--blue); }

/* Services */

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.svc {
  background: var(--surface);
  padding: 34px 34px 38px;
}

.svc-n { color: var(--muted); display: block; margin-bottom: 26px; transition: color .15s ease; }

.svc:hover .svc-n { color: var(--blue); }

.svc h3 { margin-bottom: 12px; }

.svc p { font-size: .95rem; color: var(--muted); line-height: 1.62; }

/* Approach */

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 72px;
  align-items: start;
}

.approach-grid h2 { margin: 18px 0 22px; }

.prose { display: grid; gap: 18px; max-width: 52ch; }

.prose p { color: var(--muted); font-size: 1.02rem; line-height: 1.72; text-wrap: pretty; }

.steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step-n { color: var(--blue); padding-top: 5px; }

.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }

.steps p { font-size: .93rem; color: var(--muted); line-height: 1.6; }

/* Contact */

.contact {
  margin-top: 108px;
  padding: 84px 0 90px;
  background: var(--ink);
  color: var(--dark-text);
}

.contact .sec-head { border-bottom-color: var(--dark-line); }
.contact .sec-label { color: var(--dark-muted); }

.contact h2 { color: #fff; margin: 18px 0 16px; }

.lede-dark { color: var(--dark-muted); margin-bottom: 46px; }

.mail-big {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size .3s ease;
  padding-bottom: 8px;
}

.mail-big:hover { background-size: 100% 2px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 64px;
  padding-top: 30px;
  border-top: 1px solid var(--dark-line);
}

.contact-k { display: block; color: var(--dark-muted); margin-bottom: 10px; }

.contact-grid a {
  color: var(--dark-link);
  text-decoration: none;
}

.contact-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-grid p { color: var(--dark-text); font-size: .95rem; }

/* Footer */

.foot { border-top: 1px solid var(--line); background: var(--paper); }

.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 26px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
}

.foot-brand img { border-radius: 7px; border: 1px solid var(--line); }

.foot-tag { color: var(--muted); font-size: .88rem; }

.foot-meta {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  color: var(--muted);
}

.foot-meta a { color: var(--blue); text-decoration: none; }
.foot-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Reveal motion (only when JS is running) */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0s);
}

.js .reveal.in { opacity: 1; transform: none; }

/* anchors under sticky header */

section[id] { scroll-margin-top: 76px; }

/* Responsive */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-mark { display: none; }
  .hero { padding-top: 56px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 52px; }
  .approach-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid { grid-template-columns: 1fr; }
  .work-row { grid-template-columns: 44px minmax(0, 1fr) 20px; }
  .work-icon { width: 44px; height: 44px; border-radius: 10px; }
  .work-icon img { width: 28px; height: 28px; }
  .work-cat, .work-domain { display: none; }
  .work-row:hover { padding-left: 10px; }
  .section { padding-top: 84px; }
}

@media (max-width: 720px) {
  .topline { display: none; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .wrap { padding: 0 20px; }
  .mobile-nav { padding: 4px 20px 20px; }
  .hero h1 { margin-bottom: 20px; }
  .cta-row { gap: 18px; margin-top: 30px; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .contact { margin-top: 84px; padding: 64px 0 70px; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 44px; }
  .svc { padding: 26px 22px 30px; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .sq { animation: none; }
  .work-row, .work-arrow, .btn, .btn-ghost, .mail-big { transition: none; }
}

/* Print */

@media print {
  .topline, .site-head, .cta-row, .work-arrow, .skip { display: none; }
  body { background: #fff; }
  .contact { background: #fff; color: var(--ink); padding: 24px 0; }
  .contact h2, .mail-big { color: var(--ink); }
  .contact-grid { border-top-color: var(--line); }
}
