/* Kemi Owo — kemiori.com */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #1a3a2a;
  --forest-dk: #0d2418;
  --gold: #b8860b;
  --gold-lt: #d4a017;
  --cream: #f7f4ee;
  --ink: #0f0f0e;
  --muted: #5a5a52;
  --muted-lt: #8a8a82;
  --border: rgba(15, 15, 14, 0.1);
  --g: 'EB Garamond', Georgia, serif;
  --i: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --m: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--i);
  color: var(--ink);
  font-size: 16px;
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: white;
}
.nav-logo {
  font-family: var(--g);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--i);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--i);
  font-size: 13px;
  color: var(--forest) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* HERO */
.hero {
  padding: 7rem 2.5rem 6rem;
  max-width: 880px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--m);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-h1 {
  font-family: var(--g);
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.hero-h1 em {
  font-style: italic;
  color: var(--forest);
}
.hero-sub {
  font-family: var(--g);
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  font-weight: 400;
}

/* DIVIDER */
.div {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.div hr {
  border: none;
  border-top: 0.5px solid var(--border);
}

/* EYEBROW (shared) */
.eyebrow {
  font-family: var(--m);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.eyebrow-light { color: var(--gold-lt); }

/* ABOUT */
.about {
  padding: 5rem 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.about p {
  font-family: var(--g);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.about p:last-child { margin-bottom: 0; }
.about p em {
  font-style: italic;
  color: var(--forest);
}
.about p strong { font-weight: 500; }

/* THREADS */
.threads {
  padding: 5rem 2.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.threads .eyebrow { margin-bottom: 1rem; }
.threads-h2 {
  font-family: var(--g);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
  max-width: 640px;
}
.threads-h2 em {
  font-style: italic;
  color: var(--forest);
}
.thread {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 0.5px solid var(--border);
}
.thread:last-child { border-bottom: none; }
.thread:first-of-type { padding-top: 0; }
.thread-num {
  font-family: var(--m);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  padding-top: 6px;
}
.thread-title {
  font-family: var(--g);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.thread-title em {
  font-style: italic;
  color: var(--forest);
}
.thread-body {
  font-family: var(--g);
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.thread-body em {
  font-style: italic;
  color: var(--ink);
}

/* BUILDING */
.building {
  background: var(--forest);
  color: white;
  padding: 5rem 2.5rem;
}
.building-inner {
  max-width: 720px;
  margin: 0 auto;
}
.building-h2 {
  font-family: var(--g);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 400;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.building-h2 em {
  font-style: italic;
  color: var(--gold-lt);
}
.building p {
  font-family: var(--g);
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.25rem;
}
.building p strong {
  color: white;
  font-weight: 500;
}
.building-meta {
  font-family: var(--i) !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.04em;
  line-height: 1.6 !important;
}

/* CONTACT */
.contact {
  padding: 6rem 2.5rem;
  background: var(--cream);
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}
.contact-h2 {
  font-family: var(--g);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.contact-h2 em {
  font-style: italic;
  color: var(--forest);
}
.contact-body {
  font-family: var(--g);
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.c-btn {
  background: var(--ink);
  color: white;
  padding: 14px 26px;
  font-family: var(--i);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}
.c-btn:hover { background: var(--forest); }
.c-btn span {
  opacity: 0.55;
  font-size: 13px;
}

/* FOOTER */
.footer {
  padding: 1.75rem 2.5rem;
  border-top: 0.5px solid var(--border);
  font-family: var(--i);
  font-size: 12px;
  color: var(--muted-lt);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer a {
  color: var(--muted-lt);
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover { color: var(--ink); }

/* MOBILE */
@media (max-width: 720px) {
  .nav {
    padding: 1rem 1.25rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-links li:nth-child(1),
  .nav-links li:nth-child(2) {
    display: none;
  }
  .hero {
    padding: 4rem 1.25rem 3.5rem;
  }
  .hero-h1 {
    font-size: clamp(32px, 9vw, 44px);
  }
  .hero-sub {
    font-size: 18px;
  }
  .div {
    padding: 0 1.25rem;
  }
  .about,
  .threads,
  .building,
  .contact {
    padding: 3.5rem 1.25rem;
  }
  .about p,
  .building p,
  .contact-body {
    font-size: 17px;
  }
  .thread {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }
  .thread-title {
    font-size: 22px;
  }
  .thread-body {
    font-size: 17px;
  }
  .footer {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
