@font-face {
  font-family: Nunito;
  src: url("assets/nunito.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --font: Nunito, system-ui, sans-serif;
  --background: #f7f8ef;
  --surface: #eef1e5;
  --panel: #fcfdf8;
  --ink: #18241a;
  --muted: #435448;
  --line: #c5d0bf;
  --accent: #c5f58a;
  --accent-ink: #172718;
  --highlight: #376524;
  --visual: #e5efd9;
  --visual-grid: #56724d1e;
  --motion-line: #366632;
  --motion-glow: #95c94e;
  --focus: #356c31;
  --radius: 24px;
  --page-space: clamp(17px, 4.4vw, 70px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #121812;
  --surface: #1a221a;
  --panel: #1e281f;
  --ink: #f2f6e9;
  --muted: #b9c9b5;
  --line: #435142;
  --highlight: #c5f58a;
  --visual: #1d2b1c;
  --visual-grid: #bce1a025;
  --motion-line: #c9fa89;
  --motion-glow: #6eae3b;
  --focus: #d8ffb1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font: 400 1rem/1.6 var(--font); }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: .99; letter-spacing: -.065em; }
h2 { font-size: clamp(2.7rem, 6.4vw, 6.8rem); text-wrap: balance; }
h3 { font-size: clamp(1.65rem, 3vw, 3rem); }
.shell { width: min(1400px, 100% - var(--page-space) * 2); margin-inline: auto; }
.section { padding-block: clamp(63px, 9vw, 128px); border-top: 1px solid var(--line); }
section[id], article[id], main[id] { scroll-margin-top: 18px; }
.eyebrow { color: var(--muted); font-size: .76rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: .115em; }
.skip { position: fixed; z-index: 5; top: 8px; left: 10px; padding: 12px 16px; transform: translateY(-180%); background: var(--accent); color: var(--accent-ink); }
.skip:focus { transform: none; }
.button {
  display: inline-flex; justify-content: center; align-items: center; width: fit-content;
  min-height: 48px; padding: 9px 19px; border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink); text-decoration: none; font-weight: 800; line-height: 1.2;
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.button:hover { border-color: var(--highlight); transform: translateY(-2px); }
.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.primary:hover { background: #d8ffa9; border-color: #d8ffa9; }
.button.small { min-height: 43px; padding-inline: 15px; font-size: .91rem; }
.quiet-link { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.quiet-link:hover { color: var(--highlight); }
.header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 13px 23px; padding-block: 16px; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 1.27rem; font-weight: 900; letter-spacing: -.057em; text-decoration: none; }
.brand-mark { display: block; flex: none; width: 31px; height: 31px; background: url("assets/mark.svg") center/contain no-repeat; }
.header nav, .header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(9px, 2vw, 24px); }
.header nav a { font-weight: 800; font-size: .92rem; text-decoration: none; color: var(--muted); }
.header nav a:hover { color: var(--highlight); }
.header-actions { gap: 9px; }
.theme-control { display: flex; padding: 3px; min-height: 42px; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.theme-control button { border: 0; background: none; color: var(--muted); font-size: .82rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.theme-control button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); }
.header-contact { min-height: 42px; font-size: .88rem; padding-inline: 13px; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.21fr) minmax(0, .79fr);
  gap: clamp(15px, 2vw, 30px); align-items: stretch; padding-block: clamp(35px, 6vw, 92px);
}
.hero-copy { align-self: center; padding-block: 12px; }
.hero-copy .eyebrow { margin-bottom: 25px; }
.hero-copy .eyebrow span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--highlight); margin-right: 5px; }
.hero h1 { font-size: clamp(3.35rem, 7.45vw, 8rem); font-weight: 900; line-height: .91; letter-spacing: -.079em; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--highlight); }
.hero-copy > p:not(.eyebrow) { margin-top: clamp(18px, 2.8vw, 37px); max-width: 45ch; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 21px; margin-top: 23px; }
.hero-visual {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  min-height: 420px; aspect-ratio: 1.01; background: var(--visual); border: 1px solid var(--line);
}
.hero-grid, #hero-motion { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  background-image: linear-gradient(var(--visual-grid) 1px, transparent 1px), linear-gradient(90deg, var(--visual-grid) 1px, transparent 1px);
  background-size: 34px 34px; background-position: center center;
}
.hero-visual::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; border: 1px solid var(--visual-grid); pointer-events: none; }
#hero-motion { z-index: 1; }
.motion-toggle {
  position: absolute; z-index: 2; bottom: 13px; right: 13px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .8rem; font-weight: 800;
  padding: 6px 13px; min-height: 40px;
}
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .35fr); align-items: end; gap: 19px; margin-bottom: clamp(25px, 5vw, 55px); }
.section-intro .eyebrow, .services-intro .eyebrow, .about-copy .eyebrow, .contact .eyebrow { margin-bottom: 13px; }
.section-intro > p, .services-intro > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.18rem); }
.portfolio {
  display: grid; grid-template-columns: minmax(175px, .29fr) minmax(0, 1fr);
  gap: clamp(14px, 2.8vw, 38px); align-items: start;
}
.project-menu { display: grid; gap: 4px; }
.project-menu a {
  display: grid; min-height: 68px; align-content: center; padding: 8px 14px; border: 1px solid transparent;
  border-bottom-color: var(--line); border-radius: 12px; text-decoration: none; transition: border-color .2s, background .2s;
}
.project-menu a strong { font-size: clamp(.95rem, 1.7vw, 1.18rem); font-weight: 800; line-height: 1.2; }
.project-menu a small { color: var(--muted); font-size: .78rem; }
.project-menu a:hover { background: var(--surface); border-color: var(--line); }
.project-menu [aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.project-menu [aria-selected="true"] small { color: #3a5136; }
.project-menu [aria-selected="true"]:hover { background: #d8ffa9; border-color: #d8ffa9; }
.project { overflow: clip; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.project + .project:not([hidden]) { margin-top: 15px; }
.portfolio[data-enhanced] .project + .project { margin-top: 0; }
.project-image { position: relative; width: 100%; aspect-ratio: 2.06; overflow: hidden; background: var(--surface); isolation: isolate; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.barterway-image img { object-position: center 57%; }
.gberu-image img { object-position: center 55%; }
.naija-image img { object-position: center 36%; }
.project-body { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: clamp(15px, 3vw, 36px); }
.project-body h3 { margin: 7px 0 10px; }
.project-body p:not(.eyebrow) { color: var(--muted); max-width: 60ch; }
.project-body .button { flex-shrink: 0; }
.wevi-image {
  background: radial-gradient(ellipse at center 78%, #58795e, #142b26 73%);
  display: grid; place-items: center; padding: 7% 18% 10%;
}
.wevi-frame { width: 90%; min-height: 75%; height: 100%; position: relative; display: grid; place-items: center; border: 1px solid #d4efa877; border-radius: 11px; background: #11271c; overflow: hidden; }
.wevi-frame span { position: relative; color: #ebffd8; font-size: clamp(1.25rem, 4vw, 4.4rem); font-weight: 900; line-height: .9; text-align: center; letter-spacing: -.065em; }
.frame-orbit { position: absolute; width: 70%; aspect-ratio: 1; transform: rotate(-25deg); background: repeating-radial-gradient(ellipse farthest-side, #c9fa8f80 0 1px, transparent 2px 12px); opacity: .43; }
.timeline { position: absolute; bottom: 7%; width: 62%; height: 8%; display: flex; align-items: stretch; gap: 5px; }
.timeline i { flex: 3; border-radius: 3px; background: #b3d98a; }
.timeline i:nth-child(2) { flex: 2; background: #82b386; }.timeline i:nth-child(3) { flex: 4; background: #d4eec0; }
.playhead { position: absolute; width: 2px; height: 150%; top: -25%; left: 22%; background: #fcffdf; }
.courier-image { display: flex; place-items: center; background: repeating-linear-gradient(90deg,#c4d9e866 0 1px,transparent 1px 40px),repeating-linear-gradient(#c4d9e866 0 1px,transparent 1px 40px),#e9f4f8; color: #16384b; padding: 8%; }
.courier-heading { z-index: 2; display: grid; gap: 8px; background: #e9f4f8; padding: 6px; }
.courier-heading span { font-size: clamp(2rem, 5.5vw, 5.8rem); font-weight: 900; line-height: .9; letter-spacing: -.075em; }
.courier-heading small { font-weight: 800; }
.courier-route { position: absolute; width: 50%; height: 48%; right: 6%; top: 23%; transform: rotate(-14deg); border: 2px dashed #3b6c7e; border-left: 0; border-right: 0; border-radius: 50%; }
.courier-route i { position: absolute; top: 18%; width: 14px; height: 14px; border-radius: 50%; background: #346b7c; box-shadow: 0 0 0 5px #d3e5ef; }
.courier-route i:nth-child(2) { top: auto; bottom: -6px; left: 47%; }.courier-route i:nth-child(3) { top: 17%; right: 9%; }
.case-details { border-top: 1px solid var(--line); padding: 12px clamp(15px, 3vw, 36px) 15px; }
.case-details summary { cursor: pointer; font-weight: 800; }
.case-content { margin-top: 12px; color: var(--muted); max-width: 68ch; }
.case-stats { display: flex; flex-wrap: wrap; gap: 13px 28px; margin-block: 15px; }
.case-stats div { display: flex; flex-direction: column-reverse; }
.case-stats dd { color: var(--ink); font-size: 2rem; line-height: 1.1; font-weight: 900; }
.case-stats dt, .source-note { font-size: .87rem; }
.services { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(25px, 6vw, 95px); align-items: start; }
.services-intro > p:not(.eyebrow) { margin: 19px 0 15px; max-width: 46ch; }
.services-intro h2 { text-wrap: initial; }
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary { cursor: pointer; display: grid; grid-template-columns: 1fr 43px; gap: 15px; list-style: none; align-items: center; padding: 20px 0; }
.service summary::-webkit-details-marker { display: none; }
.service summary strong { display: block; color: var(--ink); font-size: clamp(1.28rem, 2.23vw, 2.1rem); line-height: 1.1; font-weight: 900; letter-spacing: -.04em; }
.service summary small { display: block; margin-top: 5px; color: var(--muted); font-size: .94rem; }
.service summary i { position: relative; display: block; width: 38px; height: 38px; justify-self: end; border: 1px solid var(--line); border-radius: 50%; transition: background .2s; }
.service summary:is(:hover,:focus-visible) i, .service[open] summary i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.service summary i::before, .service summary i::after { content: ""; position: absolute; width: 12px; height: 2px; background: currentColor; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.service summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.service[open] summary i::after { transform: translate(-50%, -50%); }
.service ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; padding: 0 0 22px; margin: 0; list-style: none; }
.service li { position: relative; padding-left: 15px; line-height: 1.45; }
.service li::before { content: ""; position: absolute; left: 0; top: .58em; width: 6px; height: 6px; background: var(--highlight); border-radius: 50%; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: delivery; }
.steps li { padding: clamp(16px, 2.6vw, 32px); min-height: 205px; background: var(--surface); border-radius: 15px; border: 1px solid var(--line); }
.steps li::before { display: block; counter-increment: delivery; content: "0" counter(delivery); color: var(--highlight); font-weight: 900; margin-bottom: 14px; }
.steps h3 { font-size: clamp(1.3rem, 2.7vw, 2.35rem); letter-spacing: -.045em; }
.steps p { margin-top: 10px; color: var(--muted); }
.about-photo { position: relative; isolation: isolate; overflow: hidden; min-height: min(44vw, 610px); border-radius: var(--radius); display: flex; align-items: end; background: #202a1c; color: #f7f8eb; }
.about-photo img, .about-photo::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-photo img { object-fit: cover; object-position: 50% 56%; z-index: -2; }
.about-photo::after { content: ""; background: linear-gradient(90deg,#111b12f4,#111b129e 36%,#111b1200 75%); z-index: -1; }
.about-copy { padding: clamp(20px, 5vw, 68px); width: min(68%, 660px); }
.about-copy .eyebrow { color: #deedcf; }.about-copy > p:not(.eyebrow) { color: #f0f4e9; margin-top: 15px; max-width: 43ch; }
.contact { margin-block: clamp(42px, 7vw, 92px) 30px; }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: clamp(19px, 5vw, 62px); border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); }
.contact .eyebrow { color: #3d5537; }.contact h2 { font-size: clamp(2.8rem, 6vw, 6rem); }
.contact p:not(.eyebrow) { margin-top: 13px; color: #354e30; }
.contact .button { color: #fff; background: #213d24; border-color: #213d24; flex-shrink: 0; }.contact .button:hover { background: #345937; border-color: #345937; }
.contact :focus-visible, .scale-picker :focus-visible { outline-color: #223c22; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 13px 24px; flex-wrap: wrap; padding-bottom: 26px; color: var(--muted); font-size: .88rem; }
.footer .brand { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise .66s cubic-bezier(.2,.65,.3,1) both; }
  .hero-visual { animation: rise .9s cubic-bezier(.2,.65,.3,1) both; }
  .reveal.arrived { animation: rise .57s cubic-bezier(.2,.65,.3,1) both; }
  .portfolio[data-enhanced] .project.entering { animation: panel-in .34s ease-out both; }
  .project.entering .playhead { animation: playhead 1.65s cubic-bezier(.25,.75,.35,1) both; }
  @keyframes playhead { from { left: 7%; } to { left: 78%; } }
  @keyframes rise { from { opacity: .35; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes panel-in { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 990px) {
  .hero-visual { min-height: 345px; }
  .hero h1 { font-size: clamp(3.05rem, 7.2vw, 5.2rem); }
  .service ul { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 730px) {
  .header nav { order: 3; flex-basis: 100%; gap: 18px; }
  .header nav a { padding-block: 4px; }
  .hero, .services, .section-intro, .portfolio { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 17px; padding-block: 24px 43px; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(2.8rem, 10.2vw, 5.6rem); }
  .hero h1 span { text-wrap: balance; }
  .hero-visual { min-height: 240px; aspect-ratio: 1.45; }
  .section-intro { gap: 9px; }
  .project-menu { display: flex; flex-wrap: wrap; gap: 6px; }
  .project-menu a { min-height: 42px; display: flex; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; }
  .project-menu a small { display: none; }
  .project-image { aspect-ratio: 1.62; }
  .about-photo { min-height: 400px; }
  .about-photo img { object-position: 65% 48%; }
  .about-photo::after { background: linear-gradient(0deg,#111b12f7,#111b128b 39%,#111b1200 80%); }
  .about-copy { width: 100%; }
}
@media (max-width: 490px) {
  .brand { font-size: 1.05rem; gap: 6px; }
  .brand-mark { width: 25px; height: 25px; }
  .header-actions { gap: 5px; }
  .header-contact { min-height: 38px; padding-inline: 8px; }
  .theme-control { min-height: 38px; }
  .theme-control button { padding-inline: 7px; }
  .project-body, .contact-inner { align-items: start; flex-direction: column; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

