/* Armand Ogbebor — Founder's folio
   Cool mist · sapphire · cobalt (tie) · Syne + Literata */

:root {
  --mist: #e8ecf1;
  --mist-2: #dde3eb;
  --paper: #f6f8fa;
  --ink: #12161c;
  --ink-2: #3e4856;
  --ink-3: #7a8494;
  --line: rgba(18, 22, 28, 0.1);
  --sapphire: #163a5f;
  --cobalt: #2b5ea8;
  --cobalt-2: #3d74c4;
  --pad: clamp(1.2rem, 5vw, 4.5rem);
  --display: "Syne", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--mist);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }
strong { font-weight: 600; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

::selection { background: var(--cobalt); color: #fff; }

/* ── Nav ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem var(--pad);
  background: color-mix(in srgb, var(--mist) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav-brand {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: var(--sapphire);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-left: auto;
}
.nav-links a {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--cobalt); }

.nav-tag {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(16rem, 42vw) 1fr;
  min-height: min(100dvh, 56rem);
  padding-top: 4.5rem;
}

.hero-photo {
  margin: 0;
  background: var(--mist-2);
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  min-height: 28rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(43, 94, 168, 0.1), transparent 55%),
    var(--paper);
}

.hero-kicker {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  margin-bottom: 1.75rem;
}
.hero h1 span {
  display: block;
  color: var(--sapphire);
}

.hero-motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
  max-width: 28ch;
  margin-bottom: 0.75rem;
}

.hero-motto-sub {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  max-width: 34ch;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 28rem;
}
.hero-meta dt {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.25rem;
}
.hero-meta dd {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Sections ─────────────────────────────────── */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--pad) 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}
.section-label span { color: var(--cobalt); }
.section-label--light { color: rgba(255, 255, 255, 0.55); }
.section-label--light span { color: #8eb4ef; }

.section h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 18ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section h2 em {
  color: var(--cobalt);
  font-style: normal;
  font-weight: 600;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 2.5rem;
}
.about-lead {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.about-copy p { color: var(--ink-2); max-width: 52ch; }
.about-copy p + p { margin-top: 1rem; }

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-bottom: clamp(1rem, 3vw, 2rem);
}
.creds li {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--sapphire);
  color: #fff;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Path */
.path-list {
  display: grid;
  gap: 0.85rem;
}
.path-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
  gap: 0.4rem 2rem;
  align-items: start;
  padding: 1.75rem 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.path-list li:hover {
  border-color: color-mix(in srgb, var(--cobalt) 40%, var(--line));
  box-shadow: 0 12px 28px -18px rgba(22, 58, 95, 0.35);
}
.path-when {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  padding-top: 0.35rem;
  padding-right: 1.25rem;
  border-right: 1px solid var(--line);
}
.path-list h3 {
  grid-column: 2;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.2;
}
.path-list p:not(.path-when) {
  grid-column: 2;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 62ch;
}
.path-list li.path-now {
  background: var(--sapphire);
  border-color: var(--sapphire);
  color: #f2f5f8;
}
.path-list li.path-now:hover {
  border-color: var(--sapphire);
  box-shadow: 0 14px 32px -16px rgba(22, 58, 95, 0.55);
}
.path-list li.path-now .path-when {
  color: #8eb4ef;
  border-right-color: rgba(255, 255, 255, 0.18);
}
.path-list li.path-now h3 { color: #fff; }
.path-list li.path-now p:not(.path-when) { color: rgba(242, 245, 248, 0.84); }

/* Institute */
.institute {
  margin-top: clamp(4.5rem, 10vw, 7.5rem);
  background: var(--sapphire);
  color: #f2f5f8;
}
.institute-inner {
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
}
.institute h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  max-width: 14ch;
  margin-bottom: 0.75rem;
  color: #fff;
}
.institute-tag {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8eb4ef;
  margin-bottom: 1.5rem;
}
.institute-pos {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}
.institute-idea {
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(242, 245, 248, 0.82);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}
.topics li {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
}
.institute-body {
  color: rgba(242, 245, 248, 0.78);
  max-width: 58ch;
}

/* Education */
.schools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 1rem;
}
.schools li {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 12rem;
  padding: 1.75rem 1.5rem;
  background: var(--paper);
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s;
}
.schools li:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--cobalt) 40%, transparent);
}
.school-name {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.15;
}
.school-detail {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cobalt);
}
.school-note {
  margin-top: auto;
  font-size: 0.92rem;
  color: var(--ink-3);
}

/* Vision */
.vision-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-bottom: 1rem;
}
.vision-grid > div p {
  color: var(--ink-2);
  max-width: 54ch;
}
.vision-grid > div p + p { margin-top: 1rem; }

.vision-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: var(--ink);
  color: #eef1f4;
}
.vision-card-label {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8eb4ef;
  margin-bottom: 1rem;
}
.vision-card p:last-child {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Close */
.close {
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  text-align: center;
}
.close-line {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}
.close-line--accent { color: var(--cobalt); margin-bottom: 2rem; }
.close-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}
.close-meta {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-3);
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin: 0 var(--pad);
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 980px) {
  .nav-tag { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-photo {
    max-height: 70vh;
    aspect-ratio: 4 / 5;
  }
  .hero-photo img { min-height: 0; }

  .about-split,
  .vision-grid,
  .schools { grid-template-columns: 1fr; }

  .path-list li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .path-when {
    grid-row: auto;
    border-right: none;
    padding-right: 0;
    padding-bottom: 0.35rem;
  }
  .path-list h3,
  .path-list p:not(.path-when) { grid-column: 1; }

  .schools li { min-height: 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }

  .hero h1 { font-size: clamp(3rem, 15vw, 4.25rem); }
  .hero-meta { grid-template-columns: 1fr; }

  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .schools li { transition: none; }
}
