/* Ntuli Kreative Consultants
   Dark, sharp and engineered: off-black dominant, one burnt orange accent, off-white
   type. Geist for everything, Geist Mono for technical labels. All corners square.
   Self-contained (relative paths only) so the folder can move to its own domain. */

:root {
  --bg: #0D0D0F;
  --bg-raised: #151518;
  --line: rgba(243, 238, 232, 0.12);
  --line-strong: rgba(243, 238, 232, 0.24);
  --text: #F3EEE8;        /* 17.4:1 on --bg */
  --muted: #A8A29B;       /* 7.9:1 on --bg */
  --orange: #C8501E;      /* the brand burnt orange; 4.3:1 on --bg, and --bg on it 4.3:1 */
  --orange-hot: #EF7A34;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
  --gutter: 20px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--orange); color: var(--bg); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons: square, with intent on hover ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.btn i { font-size: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-phone-outgoing { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--orange); color: var(--bg); }
.btn--primary:hover { background: var(--orange-hot); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-hot); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 0.92rem; }
.btn--dark { background: var(--bg); color: var(--text); }
.btn--dark:hover { background: #22201F; }
.btn--outline-dark { border-color: var(--bg); color: var(--bg); }
.btn--outline-dark:hover { background: rgba(13, 13, 15, 0.1); }

/* ---------- nav: pinned, turns solid once the page moves ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(13, 13, 15, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.is-scrolled .nav { background: rgba(13, 13, 15, 0.86); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; margin-right: auto; padding: 4px 0; }
/* the lockup is 2.45:1; 36px high on phones (the README's minimum is 18px) */
.brand__logo { height: 36px; width: auto; }
.nav__links { display: none; gap: 30px; font-size: 0.95rem; color: var(--muted); }
.nav__links a { position: relative; padding: 6px 0; transition: color 0.2s var(--ease); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (min-width: 820px) {
  .nav__inner { min-height: 76px; gap: 40px; }
  .brand__logo { height: 42px; }
  .nav__links { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px 0 0;
  border-bottom: 1px solid var(--line);
}
/* the live signal grid (js): dots, with pulses of light running along the lines.
   Faded out behind the words so the headline always sits on calm black. */
.hero__signal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.15) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.15) 100%);
}
.hero__inner { position: relative; padding-bottom: 44px; }
.hero__brand {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.6rem, 11vw, 6.2rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 13ch;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lead { margin-top: 24px; max-width: 46ch; font-size: 1.08rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { flex: 1 1 200px; }

/* the three services as real links along the foot of the hero */
.hero__index {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.hero__index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), padding 0.3s var(--ease);
}
.hero__index a:last-child { border-bottom: 0; }
.hero__index i { color: var(--orange); font-size: 1.2rem; transition: transform 0.3s var(--ease); }
.hero__index a:hover { color: var(--orange-hot); padding-left: 6px; }
.hero__index a:hover i { transform: translate(3px, 3px); }

@media (min-width: 820px) {
  .hero { min-height: calc(100svh - 76px); padding-top: 96px; }
  .hero__signal {
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 35%, #000 70%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 35%, #000 70%);
  }
  .hero__inner { padding-bottom: 72px; }
  .hero__lead { font-size: 1.2rem; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__index { grid-template-columns: repeat(3, 1fr); }
  .hero__index a { min-height: 76px; padding-right: 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .hero__index a + a { padding-left: 28px; }
  .hero__index a:hover { padding-left: 6px; }
  .hero__index a + a:hover { padding-left: 34px; }
  .hero__index a:last-child { border-right: 0; }
}

/* ---------- sections ---------- */
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2, .approach h2, .outcomes h2 {
  font-size: clamp(2rem, 6.5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

.services { padding: 88px 0 72px; }
.service { display: grid; gap: 26px; padding: 36px 0; border-top: 1px solid var(--line); position: relative; }
/* an orange rule that runs across the top of the row you're on */
.service::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.service:hover::before { transform: scaleX(1); }
.service__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-raised); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service h3 { font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.12; font-weight: 650; letter-spacing: -0.025em; }
.service__body p { margin-top: 14px; color: var(--muted); max-width: 54ch; }

.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.98rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.55em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.statement {
  margin-top: 40px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  font-size: clamp(2.1rem, 8vw, 5rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.statement span { color: var(--orange); }

@media (min-width: 820px) {
  .services { padding: 140px 0 110px; }
  .service { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
  .service--flip .service__media { order: 2; }
  .statement { margin-top: 56px; padding-top: 72px; }
}

/* ---------- approach ---------- */
.approach { padding: 88px 0; background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach__grid { display: grid; gap: 64px; }
.problems { margin-top: 28px; }
.problems li {
  padding: 18px 0;
  font-size: clamp(1.15rem, 3.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--line);
}
.problems li:first-child { border-top: 1px solid var(--line); }

/* the process is a real sequence, so it is numbered */
.steps { margin-top: 28px; counter-reset: step; display: grid; gap: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.95rem;
  color: var(--orange);
  padding-top: 5px;
}
.steps h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; }
.steps p { margin-top: 4px; color: var(--muted); }

.outcomes { margin-top: 80px; }
.outcomes__list { margin-top: 28px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.outcomes__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  background: var(--bg-raised);
  font-size: 1.05rem;
  transition: background 0.25s var(--ease);
}
.outcomes__list li:hover { background: #1B1B1F; }
.outcomes__list i { color: var(--orange); font-size: 1.5rem; line-height: 1.1; flex-shrink: 0; }

@media (min-width: 820px) {
  .approach { padding: 140px 0; }
  .approach__grid { grid-template-columns: 1fr 1fr; gap: 96px; }
  .outcomes { margin-top: 120px; }
  .outcomes__list { grid-template-columns: 1fr 1fr; }
  .outcomes__list li { padding: 30px 28px; }
}

/* ---------- contact: the one full block of orange ---------- */
.contact { background: var(--orange); color: var(--bg); padding: 88px 0; }
.contact__inner { display: grid; gap: 44px; }
.contact h2 { font-size: clamp(2.8rem, 12vw, 6.4rem); line-height: 0.98; font-weight: 750; letter-spacing: -0.04em; }
.contact__lead p { margin-top: 18px; max-width: 40ch; font-size: 1.1rem; }
.contact__name { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 14px; }
.contact__line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(13, 13, 15, 0.28);
  font-size: clamp(1.25rem, 5.4vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.contact__line--phone { font-size: clamp(2rem, 10vw, 3.4rem); letter-spacing: -0.035em; }
.contact__line i { font-size: 0.8em; flex-shrink: 0; transition: transform 0.25s var(--ease); }
/* an underline that wipes in from the left */
.contact__line span {
  background: linear-gradient(var(--bg), var(--bg)) left bottom / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease);
  padding-bottom: 2px;
}
.contact__line:hover span { background-size: 100% 2px; }
.contact__line:hover i { transform: translateX(3px); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact__actions .btn { flex: 1 1 180px; }

@media (min-width: 820px) {
  .contact { padding: 140px 0; }
  .contact__inner { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
  .contact__actions .btn { flex: 0 0 auto; }
}

/* ---------- footer ---------- */
.foot { padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.88rem; color: var(--muted); }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.foot__top { display: inline-flex; align-items: center; gap: 6px; color: var(--text); transition: color 0.2s var(--ease); }
.foot__top:hover { color: var(--orange-hot); }

/* ---------- motion ----------
   Headline words rise out of a mask on load; sections fade and lift as they come into
   view; service photos wipe open from the bottom. Transform, opacity and clip only. */
.js .hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .hero__title .w > span { display: inline-block; transform: translateY(105%); animation: word-in 0.9s var(--ease) forwards; animation-delay: calc(0.08s + var(--i) * 0.06s); }
@keyframes word-in { to { transform: none; } }
.js .hero__brand, .js .hero__lead, .js .hero__actions, .js .hero__index { opacity: 0; animation: fade-up 0.8s var(--ease) forwards; }
.js .hero__brand { animation-delay: 0s; }
.js .hero__lead { animation-delay: 0.45s; }
.js .hero__actions { animation-delay: 0.55s; }
.js .hero__index { animation-delay: 0.7s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
/* the frame is what's observed (a fully clipped element never counts as "in view"),
   so the wipe is applied to the image inside it */
.js .service__media.rv { opacity: 1; transform: none; }
.js .service__media.rv img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); }
.js .service__media.rv.in img { clip-path: inset(0 0 0 0); transform: none; }
.js .service:hover .service__media.rv.in img { transform: scale(1.04); transition-duration: 0.8s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__title .w > span { transform: none; }
  .js .hero__brand, .js .hero__lead, .js .hero__actions, .js .hero__index { opacity: 1; }
  .js .rv { opacity: 1; transform: none; }
  .js .service__media.rv img { clip-path: none; transform: none; }
}
