/* Temitope Olali: design tokens. Teal = care/trust, coral = warmth, gold = accent, plum = technology. */
:root {
  --teal-900: #08393c; --teal-700: #0f5e63; --teal-500: #158a8f; --teal-100: #dff2f1;
  --coral-600: #b4442f; --coral-100: #fde6df;
  --gold-600: #8a6100; --gold-100: #fbefc9;
  --plum-600: #6a3d8f; --plum-100: #efe5f7;
  --bg: #fbfaf7; --surface: #ffffff; --tint: #f3f7f6;
  --ink: #18201f; --ink-soft: #46524f; --line: #dfe5e3;
  --on-dark: #ffffff;
  --shadow: 0 1px 2px rgba(8,57,60,.06), 0 8px 24px rgba(8,57,60,.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --teal-700: #5cc8c4; --teal-500: #6fd6d1; --teal-100: #12393a; --teal-900: #062526;
    --coral-600: #ff9a85; --coral-100: #3a211b;
    --gold-600: #f2c14e; --gold-100: #352b10;
    --plum-600: #c9a2ec; --plum-100: #2b2035;
    --bg: #0e1515; --surface: #152020; --tint: #121c1c;
    --ink: #e9f0ef; --ink-soft: #a9b8b5; --line: #263534;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 3px; border-radius: 6px; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--teal-700); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-700), var(--plum-600)); color: #fff; font: 600 .8rem/1 var(--serif); letter-spacing: .04em; }
nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
nav a { display: inline-block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
nav a:hover { color: var(--ink); background: var(--tint); }
nav .nav-cta { color: var(--teal-700); border: 1.5px solid currentColor; }
@media (max-width: 640px) {
  .brand-name { display: none; }
  nav li:not(:last-child) a { padding: 8px 7px; font-size: .9rem; }
}
@media (max-width: 380px) { nav li:nth-child(3) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 400px at 85% -10%, var(--teal-100), transparent 70%),
  radial-gradient(600px 300px at -10% 110%, var(--coral-100), transparent 70%), var(--bg); }
.hero-in { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--coral-600); margin-bottom: .75rem; }
h1 { font: 600 clamp(2.5rem, 6vw, 4rem)/1.05 var(--serif); letter-spacing: -.01em; color: var(--teal-900); }
@media (prefers-color-scheme: dark) { h1 { color: var(--ink); } }
.role { font-size: 1.15rem; font-weight: 600; color: var(--teal-700); margin: .75rem 0 1.25rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.75rem 0 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-900); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #062526; } .btn-primary:hover { background: var(--teal-500); } }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-700); }
.btn-light { background: #fff; color: var(--teal-900); word-break: break-all; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; min-width: 120px; }
.facts strong { font: 600 1.1rem/1.2 var(--serif); color: var(--ink); }
.facts span { font-size: .85rem; color: var(--ink-soft); }

.portrait { display: grid; justify-items: center; gap: 16px; }
.portrait-ring { width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; padding: 10px; background: conic-gradient(from 200deg, var(--teal-500), var(--plum-600), var(--coral-600), var(--gold-600), var(--teal-500)); box-shadow: var(--shadow); }
.portrait-ring span, .portrait-ring img { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: linear-gradient(160deg, var(--teal-700), var(--teal-900)); color: #fff; font: 600 clamp(4rem, 12vw, 6.5rem)/1 var(--serif); letter-spacing: .04em; border: 6px solid var(--bg); }
.portrait-tag { margin: 0; font-size: .9rem; font-weight: 600; color: var(--teal-700); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }

@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
  .portrait { order: -1; justify-items: start; }
  .portrait-ring { width: 140px; padding: 6px; }
  .portrait-ring span { font-size: 2.75rem; border-width: 4px; }
  .portrait-tag { display: none; }
}

/* Sections */
.band { padding: 72px 0; }
.band-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font: 600 clamp(1.6rem, 3.5vw, 2.1rem)/1.2 var(--serif); color: var(--ink); margin-bottom: 32px; display: flex; align-items: center; gap: 14px; }
.section-title::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal-500), var(--coral-600)); }
.sub-title { font: 600 1.35rem/1.2 var(--serif); margin: 48px 0 16px; }

.band-about { background: var(--teal-900); color: #e8f4f3; }
@media (prefers-color-scheme: dark) { .band-about { background: #0a2a2b; } }
.band-about .section-title { color: #fff; }
.about { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.about-body { font-size: 1.15rem; max-width: 46rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 0; } }

/* Timeline */
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal-500), var(--plum-600) 60%, var(--line)); }
.job { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.job::before { content: ""; position: absolute; left: -27px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--teal-500); }
.job-current::before { background: var(--coral-600); border-color: var(--coral-600); box-shadow: 0 0 0 5px var(--coral-100); }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.job h3 { font-size: 1.15rem; font-weight: 700; }
.when { margin: 0; color: var(--ink-soft); font-size: .95rem; font-variant-numeric: tabular-nums; display: inline-flex; gap: 8px; align-items: center; }
.where { color: var(--teal-700); font-weight: 600; font-size: .98rem; margin: 4px 0 12px; }
.job ul { padding-left: 1.1rem; color: var(--ink-soft); }
.job li { margin: 6px 0; }
.job li::marker { color: var(--coral-600); }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--ink-soft); border: 1px solid var(--line); white-space: nowrap; }
.pill-now { background: var(--coral-100); color: var(--coral-600); border-color: transparent; }

/* Credential cards */
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); border-top: 5px solid var(--accent); box-shadow: var(--shadow); }
.card-kicker { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 8px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.card .card-meta { margin-top: 8px; font-size: .85rem; }
.ok { color: var(--teal-700); font-weight: 700; }
.c-teal { --accent: var(--teal-700); } .c-coral { --accent: var(--coral-600); } .c-gold { --accent: var(--gold-600); } .c-plum { --accent: var(--plum-600); }

.edu { list-style: none; display: grid; gap: 12px; }
.edu li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.edu strong { display: block; }
.edu span:not(.pill) { color: var(--ink-soft); font-size: .95rem; }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.skill-group { border-radius: var(--radius); padding: 22px; background: var(--soft); }
.skill-group h3 { font-size: 1.05rem; margin-bottom: 14px; color: var(--strong); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); color: var(--ink); border: 1px solid color-mix(in srgb, var(--strong) 30%, transparent); border-radius: 999px; padding: 5px 12px; font-size: .92rem; }
.s-teal { --soft: var(--teal-100); --strong: var(--teal-700); }
.s-coral { --soft: var(--coral-100); --strong: var(--coral-600); }
.s-gold { --soft: var(--gold-100); --strong: var(--gold-600); }
.s-plum { --soft: var(--plum-100); --strong: var(--plum-600); }

/* Contact */
.band-contact { background: linear-gradient(120deg, var(--teal-700), var(--plum-600)); color: #fff; text-align: center; }
@media (prefers-color-scheme: dark) { .band-contact { background: linear-gradient(120deg, #0d4f53, #4a2b66); } }
.contact h2 { font: 600 clamp(1.8rem, 4.5vw, 2.6rem)/1.15 var(--serif); margin-bottom: 12px; }
.contact p { opacity: .92; font-size: 1.1rem; margin-bottom: 24px; }

.footer { padding: 28px 0; color: var(--ink-soft); font-size: .9rem; }
.footer-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer p { margin: 0; }

/* Print: the page doubles as a one-column résumé */
@media print {
  @page { margin: 14mm; }
  :root { --bg: #fff; --surface: #fff; --tint: #fff; --ink: #000; --ink-soft: #222; --line: #bbb; --shadow: none; color-scheme: light; }
  body { font-size: 10.5pt; line-height: 1.45; background: #fff; color: #000; }
  .topbar, .skip, .actions, .portrait, .facts, .band-contact, .footer, script { display: none !important; }
  .hero { background: none; }
  .hero-in { display: block; padding: 0 0 8pt; }
  h1 { font-size: 24pt; color: #000; }
  .hero-in::after { content: "tp_funmi@yahoo.com  ·  Athens, GA  ·  temitope.olali.org"; display: block; font-size: 10pt; }
  .band { padding: 10pt 0; break-inside: auto; }
  .band-about { background: none; color: #000; }
  .band-about .section-title { color: #000; }
  .about { display: block; }
  .section-title { font-size: 14pt; margin-bottom: 8pt; border-bottom: 1px solid #999; }
  .section-title::before { display: none; }
  .timeline { padding-left: 0; } .timeline::before, .job::before { display: none; }
  .job, .card, .edu li, .skill-group { box-shadow: none; border: 0; padding: 0 0 8pt; background: none; break-inside: avoid; }
  .cards, .skills { display: block; }
  .card { border-top: 0; }
  .chips { display: inline; } .chips li { display: inline; border: 0; padding: 0; background: none; }
  .chips li:not(:last-child)::after { content: ", "; }
  a { color: #000; text-decoration: none; }
}
