/* AceTech — layout: left-aligned editorial column on white; one black "shirt" band for the hero with a fanned hand of ace cards (one per engagement model). */
:root {
  --ace: #058BD3;          /* brand blue, from the logo */
  --ace-ink: #0569A6;      /* blue for text on light grounds (AA contrast) */
  --shirt: #000000;        /* brand black, from the team shirt */
  --paper: #FFFFFF;
  --fg: #0D2133;           /* navy ink for running text */
  --muted: #4D6275;
  --mist: #EAF3FA;         /* blue-biased neutral for quiet panels */
  --line: #CFE0EE;
  --card: #FFFFFF;
  --card-fg: #0D2133;

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.6rem, 1.6rem + 5vw, 5.25rem);

  --wrap: 72rem;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ace-ink: #5BBDF3;
    --paper: #06121D;
    --fg: #E6F0F8;
    --muted: #97ADC0;
    --mist: #0C2132;
    --line: #1C3A52;
    --card: #F4F9FD;
    --card-fg: #0D2133;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ace-ink: #5BBDF3;
  --paper: #06121D;
  --fg: #E6F0F8;
  --muted: #97ADC0;
  --mist: #0C2132;
  --line: #1C3A52;
  --card: #F4F9FD;
  --card-fg: #0D2133;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ace-ink); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--ace); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.05; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ace); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 2.1rem; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-light { display: none; } :root:not([data-theme="light"]) .brand .logo-dark { display: block; } }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: 0.975rem; }
.nav a:hover { color: var(--ace-ink); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: .45rem 1rem; font: 600 0.95rem var(--body); cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 1rem/1 var(--body);
  padding: .95rem 1.4rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--ace); background: var(--ace); color: #fff;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: #0477B6; border-color: #0477B6; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { padding: .7rem 1.15rem; font-size: .95rem; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; width: auto; border-bottom: 0; padding: .85rem 1.3rem; }
}

/* ---------- Hero (the shirt) ---------- */
.hero { background: var(--shirt); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 {
  font-family: var(--display);
  font-size: var(--step-4);
  font-weight: 900; font-style: italic;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.01em; line-height: 0.95;
  color: var(--ace);
  text-transform: uppercase;
}
.hero h1 span { display: block; color: #fff; font-size: 0.42em; letter-spacing: 0.04em; line-height: 1.1; margin-top: .5em; }
.hero .lede { margin-top: 1.75rem; max-width: 34rem; font-size: var(--step-1); line-height: 1.55; color: #D5E3EE; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero .where { margin-top: 2.25rem; color: #8FA6B8; font-size: var(--step--1); }

.hand { position: relative; height: 21rem; }
.hand .pick { position: absolute; top: 0; left: 0; right: 0; text-align: center; color: #8FA6B8; font-size: var(--step--1); }
.card {
  --r: 0deg; --x: 0rem; --w: 10.5rem;
  position: absolute; bottom: 1.25rem; left: 50%;
  width: var(--w); aspect-ratio: 5 / 7;
  margin-left: calc(var(--w) / -2);
  background: var(--card); color: var(--card-fg);
  border-radius: 12px; border: 1px solid #D7E6F2;
  box-shadow: -10px 14px 30px -14px rgba(0,0,0,.85);
  transform-origin: 50% 140%;
  transform: translateX(var(--x)) rotate(var(--r));
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
  text-decoration: none; overflow: hidden;
  display: flex; flex-direction: column; gap: .55rem;
  padding: .7rem .75rem;
  animation: deal .9s cubic-bezier(.2,.8,.2,1) both;
}
.card:nth-of-type(1) { --r: -10deg; --x: -9.75rem; animation-delay: .05s; }
.card:nth-of-type(2) { --r: -3.5deg; --x: -3.25rem; animation-delay: .15s; }
.card:nth-of-type(3) { --r: 3.5deg;  --x: 3.25rem;  animation-delay: .25s; }
.card:nth-of-type(4) { --r: 10deg;  --x: 9.75rem;  animation-delay: .35s; }
.card:hover, .card:focus-visible { transform: translateX(var(--x)) rotate(var(--r)) translateY(-1.75rem); }
@keyframes deal { from { transform: translateX(0) rotate(0deg) translateY(1.5rem); } }
@media (prefers-reduced-motion: reduce) { .card { animation: none; transition: none; } }
.card .index { display: flex; align-items: center; gap: .3rem; line-height: 1; font-weight: 800; font-size: 1.2rem; color: var(--ace); }
.card .index svg { width: 1rem; height: 1rem; }
.card strong { display: block; font: italic 900 .92rem/1.05 var(--display); text-transform: uppercase; max-width: 5.6rem; }
.card small { display: block; font-size: .74rem; line-height: 1.3; color: #4D6275; max-width: 5.6rem; }
.card .pip { position: absolute; right: -1.1rem; bottom: -0.6rem; width: 6.5rem; height: 6.5rem; color: var(--ace); opacity: .95; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hand { margin-top: 1rem; } }
@media (max-width: 520px) {
  .hand { height: 15.5rem; }
  .card { --w: 7.6rem; padding: .55rem .5rem; gap: .4rem; }
  .card:nth-of-type(1) { --x: -6.3rem; }
  .card:nth-of-type(2) { --x: -2.1rem; }
  .card:nth-of-type(3) { --x: 2.1rem; }
  .card:nth-of-type(4) { --x: 6.3rem; }
  .card .index { font-size: .95rem; }
  .card .index svg { width: .8rem; height: .8rem; }
  .card strong { font-size: .7rem; max-width: 4rem; }
  .card small { display: none; }
  .card .pip { width: 4.5rem; height: 4.5rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section.tint { background: var(--mist); }
.section-head { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { font-family: var(--display); font-size: var(--step-3); font-weight: 850; font-variation-settings: "wdth" 112; letter-spacing: -0.015em; }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }

/* Services: a plain two-column list, not cards */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
.service { padding-block: 1.75rem; border-top: 2px solid var(--fg); display: grid; gap: .6rem; }
.service h3 { font-size: var(--step-2); font-weight: 750; font-variation-settings: "wdth" 108; }
.service p { color: var(--muted); max-width: 34rem; }
.service ul { margin: .4rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.service li { font-size: .85rem; padding: .25rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* Ways to work: the four cards, laid flat */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.way {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.5rem 1.35rem 1.6rem; display: flex; flex-direction: column; gap: .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.way.is-picked { border-color: var(--ace); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ace) 35%, transparent); }
.way .suit { display: flex; align-items: center; gap: .5rem; color: var(--ace); font-weight: 800; }
.way .suit svg { width: 1.1rem; height: 1.1rem; }
.way h3 { font: italic 900 1.35rem/1.05 var(--display); font-variation-settings: "wdth" 120; text-transform: uppercase; }
.way p { color: var(--muted); font-size: .98rem; }
.way dl { margin: auto 0 0; display: grid; gap: .65rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; }
.way dt { font-weight: 700; color: var(--fg); }
.way dd { margin: .1rem 0 0; color: var(--muted); }
@media (max-width: 1020px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 1.25rem 0 0; position: relative; display: grid; gap: .6rem; align-content: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--ace); color: #fff; font: italic 900 1.2rem/1 var(--display);
  position: relative; z-index: 1; margin-bottom: .6rem;
}
.steps li::after { content: ""; position: absolute; top: 1.375rem; left: 2.75rem; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--step-1); font-weight: 750; }
.steps p { color: var(--muted); font-size: .96rem; }
.steps .out { font-size: .88rem; color: var(--fg); }
.steps .out b { font-weight: 700; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps li { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1.25rem; padding: 0; }
  .steps li::before { grid-row: span 3; margin: 0; }
  .steps li::after { top: 2.75rem; bottom: -2rem; left: 1.32rem; right: auto; width: 2px; height: auto; }
}

/* Built for Nigeria */
.local { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.local .section-head { margin-bottom: 0; }
.facts { display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1.25rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact b { font-weight: 750; }
.fact span { color: var(--muted); }
@media (max-width: 820px) { .local { grid-template-columns: 1fr; } .fact { grid-template-columns: 1fr; gap: .25rem; } }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.industry h3 { font-size: var(--step-1); font-weight: 750; margin-bottom: .45rem; }
.industry p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .industries { grid-template-columns: 1fr; } }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(2rem, 5vw, 4rem); }
.promise { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1rem; }
.promise svg { width: 2.25rem; height: 2.25rem; color: var(--ace); }
.promise h3 { font-size: var(--step-1); font-weight: 750; margin-bottom: .35rem; }
.promise p { color: var(--muted); }
@media (max-width: 720px) { .promises { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 700; font-size: var(--step-1); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.75rem/1 var(--body); color: var(--ace); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--muted); max-width: 42rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); }
.contact .section-head { margin-bottom: 1.75rem; }
.reach { display: grid; gap: 1.5rem; }
.reach h3 { font-size: var(--step--1); font-weight: 700; color: var(--muted); margin-bottom: .3rem; letter-spacing: .01em; }
.reach address { font-style: normal; font-size: var(--step-1); line-height: 1.45; }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.mail-row a { font-size: var(--step-1); font-weight: 700; }
.copy { background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: .35rem .85rem; font: 600 .85rem var(--body); cursor: pointer; }
.copy:hover { border-color: var(--ace); }
form.brief { background: var(--mist); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-weight: 700; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--fg);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .9rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ace); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ace) 30%, transparent); }
.field [aria-invalid="true"] { border-color: #C9372C; }
.err { color: #C9372C; font-size: .88rem; }
:root[data-theme="dark"] .err { color: #FF8A80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FF8A80; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.status { font-size: .95rem; color: var(--fg); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Closing band + footer (shirt again) */
.site-footer { background: var(--shirt); color: #C9D8E4; }
.closing { padding-block: clamp(3.5rem, 8vw, 5.5rem); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; border-bottom: 1px solid #1E2C38; }
.closing p { font: italic 900 var(--step-3)/1 var(--display); font-variation-settings: "wdth" 125; text-transform: uppercase; color: var(--ace); max-width: 40rem; }
.closing p span { color: #fff; }
.foot { padding-block: 2.5rem 3rem; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; font-size: .95rem; }
.foot img { height: 2.25rem; width: auto; margin-bottom: 1rem; }
.foot h3 { font-size: .9rem; color: #fff; margin-bottom: .6rem; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot a { color: #C9D8E4; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .tag { font-style: italic; color: #8FA6B8; }
.legal { padding-block: 1.25rem 2rem; border-top: 1px solid #1E2C38; font-size: .85rem; color: #7E95A8; }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; } }
