/* nkiruanizoba.com
   Plain CSS, no build step. Colors live in :root so they are easy to change. */

:root {
  --bg: #faf6ef;
  --bg-soft: #f2ebdf;
  --card: #fffdf9;
  --ink: #1f1b16;
  --ink-soft: #5c544a;
  --line: #e2d8c8;
  --accent: #a8482a;
  --accent-soft: #f4e2d8;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1080px;
  --text: 680px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1714;
    --bg-soft: #221e1a;
    --card: #26211c;
    --ink: #f3ece2;
    --ink-soft: #b8ad9f;
    --line: #3a332c;
    --accent: #e08a68;
    --accent-soft: #3a2a22;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

.text { max-width: var(--text); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover { color: var(--ink); }

/* Sections */

section { padding: 80px 0; }
section + section { border-top: 1px solid var(--line); }

.section-soft { background: var(--bg-soft); }

/* Home hero */

.hero { padding: 96px 0 88px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: center;
}

.portrait {
  width: 300px;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  object-fit: cover;
  background: var(--accent-soft);
}

.portrait-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--accent);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn:hover { background: var(--ink); color: var(--bg); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

/* Project cards */

.project-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(60, 40, 20, 0.08);
}

.project-card h3 { font-size: 2rem; margin-bottom: 0.3em; }

.project-card .tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.8em;
}

.project-card p { color: var(--ink-soft); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
}

.more-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--accent);
}

/* Little ladder graphic on the Rung card */

.ladder {
  display: grid;
  gap: 10px;
}

.ladder div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.ladder span {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--accent);
  width: 1.2em;
}

.coming-soon {
  margin-top: 24px;
  padding: 28px 32px;
  border: 1.5px dashed var(--line);
  border-radius: 18px;
  color: var(--ink-soft);
}

/* About */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facts li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts li:first-child { padding-top: 0; }

.facts strong {
  display: block;
  font-weight: 600;
}

.facts small {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Interest cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}

.card h3 { margin-bottom: 0.4em; }

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}

.card .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Case study */

.case-hero { padding: 72px 0 80px; }

.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
}

.back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.back:hover { color: var(--ink); }

.case-hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.6em;
}

.phone {
  width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  border: 8px solid var(--ink);
  background: var(--bg-soft);
  overflow: hidden;
}

.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.video-placeholder .play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 16px;
  position: relative;
}

.video-placeholder .play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 40px;
  margin-top: 28px;
  font-size: 0.92rem;
}

.meta dt {
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta dd { margin: 0; font-weight: 600; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: relative;
}

.step .num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.step h3 { margin-bottom: 0.3em; }

.step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 40px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.stat .value {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1.05;
  margin-bottom: 8px;
}

.stat .desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.before-after {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 32px;
  font-size: 0.97rem;
}

.before-after th,
.before-after td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.before-after th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.callout {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 26px 30px;
  margin-top: 8px;
}

.callout h3 { margin-bottom: 0.4em; }
.callout p:last-child { margin-bottom: 0; }

.decisions {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
}

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

.decisions li:first-child { border-top: 1px solid var(--line); }

.decisions h3 { margin: 0; font-size: 1.15rem; }

.decisions p { margin: 0; color: var(--ink-soft); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.checklist li {
  padding: 10px 0 10px 34px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.site-footer h2 { margin: 0; }

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.fine {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  width: 100%;
}

/* Phones and small tablets */

@media (max-width: 860px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0; }
  .hero-grid,
  .case-hero-grid,
  .project-card,
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid .portrait { order: -1; width: 180px; }
  .project-card { padding: 26px; }
  .cards { grid-template-columns: 1fr; }
  .steps,
  .stats { grid-template-columns: 1fr 1fr; }
  .decisions li { grid-template-columns: 1fr; gap: 8px; }
  .phone { width: 100%; max-width: 300px; margin: 0 auto; }
  .nav { gap: 16px; }
  .meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps,
  .stats { grid-template-columns: 1fr; }
  .nav a.hide-sm { display: none; }
}
