/* Inioluwa Olufemi portfolio — plain CSS, no framework */
:root {
  color-scheme: light;
  --bg: #f8fbf8;
  --surface: #ffffff;
  --surface-soft: #eef5ef;
  --text: #17231c;
  --muted: #617067;
  --line: #dce7de;
  --green: #16834a;
  --green-dark: #0b6335;
  --green-soft: #dff5e7;
  --shadow: 0 24px 70px rgba(28, 68, 43, .09);
  --header-bg: rgba(248, 251, 248, .86);
  --radius: 22px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101712;
  --surface: #17221a;
  --surface-soft: #1d2b21;
  --text: #edf7ef;
  --muted: #a7b8aa;
  --line: #2d4032;
  --green: #62d68e;
  --green-dark: #8ce7ad;
  --green-soft: #203d2b;
  --shadow: 0 24px 70px rgba(0, 0, 0, .24);
  --header-bg: rgba(16, 23, 18, .88);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; line-height: 1.65; transition: background .25s ease, color .25s ease; }
body, button, input { font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-soft { background: var(--surface-soft); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--green); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { height: 76px; position: sticky; top: 0; z-index: 100; background: var(--header-bg); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); backdrop-filter: blur(18px); }
.nav-wrap, .primary-nav, .brand { display: flex; align-items: center; }
.nav-wrap { height: 100%; justify-content: space-between; gap: 28px; }
.brand { gap: 10px; font: 700 18px "Space Grotesk", sans-serif; letter-spacing: -.5px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--green); color: white; font-size: 12px; letter-spacing: 0; }
.brand-dot { color: var(--green); }
.primary-nav { gap: 28px; font-size: 13px; font-weight: 600; color: var(--muted); }
.primary-nav > a { transition: color .2s ease; }
.primary-nav > a:hover, .primary-nav > a:focus-visible { color: var(--green); }
.theme-toggle, .menu-toggle { border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; margin-left: 2px; }
.theme-toggle svg { width: 17px; height: 17px; }
html[data-theme="light"] .moon-icon, html[data-theme="dark"] .sun-icon { display: none; }
.menu-toggle { display: none; }
.hero { padding-top: 88px; padding-bottom: 34px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 60px; min-height: 490px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 1.65px; margin: 0 0 20px; }
.status-dot, .availability-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; display: inline-block; box-shadow: 0 0 0 4px var(--green-soft); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -1.4px; line-height: 1.12; }
h1 { max-width: 650px; font-size: clamp(42px, 5.4vw, 68px); margin-bottom: 23px; }
.text-gradient { color: var(--green); }
.hero-description { max-width: 580px; font-size: 17px; color: var(--muted); line-height: 1.8; }
.hero-description strong { color: var(--text); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { min-height: 48px; padding: 0 20px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 700; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(22, 131, 74, .16); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { background: var(--surface); border-color: var(--line); }
.button-secondary:hover { border-color: var(--green); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: var(--muted); font-size: 12px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--green); }
.hero-visual { min-height: 440px; display: grid; place-items: center; position: relative; isolation: isolate; }
.visual-glow { position: absolute; width: 330px; height: 330px; background: radial-gradient(circle, var(--green-soft), transparent 70%); border-radius: 50%; z-index: -2; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 400px; height: 250px; }
.orbit-two { width: 330px; height: 430px; transform: rotate(35deg); border-style: dashed; opacity: .7; }
.profile-card { width: min(290px, 72%); padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow); transform: rotate(2deg); z-index: 2; }
.profile-frame { position: relative; overflow: hidden; height: 300px; border-radius: 17px; background: linear-gradient(140deg, var(--green-soft), var(--surface-soft)); }
.profile-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; z-index: 2; }
.profile-frame img:not([src]), .profile-frame img[src=""], .profile-frame img.broken { display: none; }
.photo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 12px; text-align: center; padding: 15px; }
.placeholder-initials { width: 80px; height: 80px; border-radius: 25px; background: var(--green); color: white; display: grid; place-items: center; font: 700 26px "Space Grotesk", sans-serif; margin-bottom: 12px; }
.photo-placeholder small { font-size: 10px; }
.profile-caption { display: flex; align-items: center; justify-content: space-between; padding: 14px 5px 5px; }
.profile-caption div { display: flex; flex-direction: column; gap: 2px; }
.profile-caption strong { font-size: 13px; }
.profile-caption span:not(.availability-dot) { color: var(--muted); font-size: 10px; }
.availability-dot { flex-shrink: 0; }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); font-size: 11px; font-weight: 700; }
.chip-top { top: 72px; right: -2px; }
.chip-bottom { bottom: 66px; left: -14px; }
.chip-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--green-soft); color: var(--green); font-size: 16px; }
.decorative-spark { position: absolute; color: var(--green); font-size: 30px; }
.spark-one { top: 55px; left: 42px; }.spark-two { right: 35px; bottom: 68px; font-size: 40px; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; }
.scroll-label { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; }
.scroll-line { display: inline-block; width: 30px; height: 1px; background: var(--green); }
.hero-note { color: var(--muted); font-size: 11px; }
.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading h2, .contact-copy h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 18px; }
.section-heading > p:not(.eyebrow) { max-width: 580px; color: var(--muted); }
.about-content p { color: var(--muted); }
.about-content .lead { font: 600 22px/1.5 "Space Grotesk", sans-serif; color: var(--text); letter-spacing: -.4px; }
.principles { margin-top: 30px; border-top: 1px solid var(--line); }
.principles > div { display: flex; gap: 18px; align-items: flex-start; padding: 17px 0; border-bottom: 1px solid var(--line); }
.principle-number { color: var(--green); font: 600 12px "Space Grotesk", sans-serif; padding-top: 2px; }
.principles span:last-child { display: flex; flex-direction: column; gap: 3px; }
.principles strong { font-size: 13px; }.principles small { color: var(--muted); font-size: 12px; }
.centered { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.centered .eyebrow { justify-content: center; }
.centered > p:not(.eyebrow) { margin-inline: auto; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.skill-card { padding: 25px 21px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, border-color .25s ease; }
.skill-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--green) 55%, var(--line)); }
.skill-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--green-soft); color: var(--green); font-size: 22px; margin-bottom: 25px; }
.skill-card h3 { font-size: 17px; letter-spacing: -.5px; margin-bottom: 10px; }
.skill-card p { min-height: 82px; font-size: 12px; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { font-size: 10px; font-weight: 600; padding: 5px 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; }
.project-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 30px 0 22px; }
.filter-button { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); padding: 9px 13px; border-radius: 10px; cursor: pointer; font-size: 11px; font-weight: 700; }
.filter-button span { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 9px; }
.filter-button.active { background: var(--green); color: white; border-color: var(--green); }
.filter-button.active span { background: rgba(255,255,255,.2); color: white; }
.project-count { margin-left: auto; font-size: 11px; color: var(--muted); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.project-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card[hidden] { display: none; }
.project-art { height: 220px; position: relative; overflow: hidden; padding: 20px; color: #effff3; }
.art-finance { background: linear-gradient(135deg, #113d2a, #1d7650); }
.art-pdf { background: linear-gradient(135deg, #273a65, #5265a6); }
.art-telecom { background: linear-gradient(135deg, #123e43, #267f7b); }
.art-news { background: linear-gradient(135deg, #4a315e, #9063a7); }
.art-topline { display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; opacity: .85; }
.art-number { font-size: 10px; }
.art-caption { position: absolute; bottom: 18px; left: 20px; font-size: 10px; opacity: .8; }
.finance-visual { position: absolute; inset: 50px 45px 34px; display: flex; align-items: center; justify-content: center; }
.finance-bars { display: flex; align-items: end; gap: 10px; height: 100px; opacity: .7; }
.finance-bars i { display: block; width: 14px; border-radius: 5px 5px 0 0; background: #8de7ad; height: 36%; }.finance-bars i:nth-child(2){height:55%}.finance-bars i:nth-child(3){height:42%}.finance-bars i:nth-child(4){height:75%}.finance-bars i:nth-child(5){height:60%}.finance-bars i:nth-child(6){height:92%}.finance-bars i:nth-child(7){height:80%}
.finance-orbit { position: absolute; width: 90px; height: 90px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(210,255,224,.6); background: rgba(17,61,42,.65); font: 600 40px "Space Grotesk", sans-serif; box-shadow: 0 0 0 12px rgba(210,255,224,.07); }
.document-stack { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%) rotate(-5deg); width: 112px; height: 130px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); border-radius: 9px; padding: 10px; box-shadow: 15px 10px 0 rgba(255,255,255,.08); }
.doc-sheet { height: 100%; border-radius: 5px; background: #f7f8ff; color: #465583; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; }
.doc-sheet b { font: 700 18px "Space Grotesk", sans-serif; }.doc-sheet span { display: block; height: 4px; background: #c8cee4; border-radius: 4px; }.doc-sheet .short-line { width: 65%; }.doc-sheet em { margin-top: auto; color: #6576b2; font-size: 7px; font-style: normal; font-weight: 700; letter-spacing: 1px; }
.doc-spark { position: absolute; right: -38px; top: -23px; color: #f8e6a4; font-size: 45px; }
.chat-visual { position: absolute; top: 50px; left: 13%; right: 13%; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble { padding: 10px 13px; font-size: 10px; border-radius: 12px; width: fit-content; max-width: 90%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }
.bubble-ai { align-self: flex-end; background: rgba(190,255,226,.18); }.mini-stars { color: #b7f4ce; margin-right: 5px; }.short-bubble { padding-block: 7px; }
.news-visual { position: absolute; top: 54px; left: 20%; right: 20%; }
.news-label { font-size: 8px; letter-spacing: 1px; display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }.news-dot { width: 6px; height: 6px; border-radius: 50%; background: #d8ffb0; }
.news-lines { display: flex; flex-direction: column; gap: 7px; }.news-lines i { height: 5px; background: rgba(255,255,255,.27); border-radius: 5px; }.news-lines i:nth-child(2){width:85%}.news-lines i:nth-child(3){width:70%}.news-lines i:nth-child(4){width:48%}
.classification { position: absolute; right: -24px; bottom: -18px; padding: 11px 14px; display: flex; flex-direction: column; background: #f8f0ff; color: #63447a; border-radius: 9px; box-shadow: 0 10px 20px rgba(20,0,35,.15); }.classification span { font-size: 7px; letter-spacing: .7px; }.classification strong { font-size: 10px; margin-top: 4px; }.classification small { font-size: 8px; margin-top: 2px; }
.project-body { padding: 24px; }.project-type { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1.25px; margin-bottom: 10px; }
.project-body h3 { font-size: 23px; margin-bottom: 10px; letter-spacing: -.8px; }.project-body p { color: var(--muted); font-size: 12px; min-height: 60px; }
.project-body .tag-list { margin: 18px 0 22px; }
.project-links { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); }.project-links a { color: var(--text); font-size: 11px; font-weight: 700; }.project-links a:hover { color: var(--green); }.project-links span { color: var(--green); margin-left: 3px; }
.project-note { color: var(--muted); font-size: 11px; margin-top: 22px; }.project-note strong { color: var(--text); }
.experience-layout { align-items: start; }.experience-layout .section-heading { position: sticky; top: 110px; }
.timeline { border-left: 1px solid var(--line); margin-left: 8px; padding-left: 30px; }
.timeline-item { position: relative; padding: 0 0 38px; }.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; width: 13px; height: 13px; border-radius: 50%; border: 3px solid var(--bg); background: var(--green); left: -37px; top: 4px; box-shadow: 0 0 0 1px var(--green); }
.timeline-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1px; }.timeline-meta span + span { color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }
.timeline-item h3 { font-size: 21px; margin-bottom: 5px; letter-spacing: -.5px; }.timeline-item h4 { color: var(--muted); font-size: 12px; margin-bottom: 12px; }.timeline-item p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.contact-panel { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; padding: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.contact-copy h2 { max-width: 450px; }.contact-copy p:not(.eyebrow) { color: var(--muted); font-size: 13px; max-width: 440px; margin-bottom: 24px; }
.contact-links { display: flex; flex-direction: column; }
.contact-links a { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }.contact-links a:last-child { border-bottom: 0; }.contact-links a:hover strong { color: var(--green); }
.contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 15px; font-weight: 700; }
.contact-links a > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }.contact-links small { color: var(--muted); font-size: 8px; letter-spacing: 1.2px; font-weight: 700; }.contact-links strong { font-size: 11px; overflow-wrap: anywhere; transition: color .2s ease; }.external-arrow { margin-left: auto; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 25px 0; }.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.footer-brand { font-size: 15px; }.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; }.footer-inner p, .footer-inner > span { color: var(--muted); font-size: 10px; margin: 0; }
.toast { position: fixed; z-index: 200; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 11px 16px; border-radius: 10px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }.reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 60%, white); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }.reveal { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .section { padding: 88px 0; }.hero-grid { gap: 28px; }.hero-visual { min-height: 400px; }.orbit-one { width: 340px; }.orbit-two { height: 370px; }.chip-top { right: -10px; }.chip-bottom { left: -5px; }.split-section { gap: 55px; }.skills-grid { grid-template-columns: repeat(2, 1fr); }.skill-card p { min-height: auto; }.contact-panel { gap: 45px; padding: 40px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 34px, 540px); }.site-header { height: 68px; }.menu-toggle { display: flex; flex-direction: column; gap: 4px; width: 40px; height: 40px; border-radius: 11px; justify-content: center; }.menu-toggle span { width: 16px; height: 2px; background: var(--text); border-radius: 2px; }
  .primary-nav { display: none; position: absolute; top: 67px; left: 0; right: 0; padding: 18px 22px 22px; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; box-shadow: var(--shadow); }.primary-nav.open { display: flex; }.primary-nav > a { padding: 12px 0; border-bottom: 1px solid var(--line); }.theme-toggle { margin: 14px 0 0; }
  .hero { padding-top: 60px; }.hero-grid { grid-template-columns: 1fr; gap: 20px; }.hero-copy { position: relative; z-index: 4; }.hero-description { font-size: 15px; }.hero-visual { min-height: 390px; }.profile-frame { height: 260px; }.profile-card { width: min(270px, 72%); }.chip-top { top: 55px; right: 0; }.chip-bottom { bottom: 44px; left: 0; }.hero-bottom { padding-top: 10px; }.hero-note { display: none; }
  .section { padding: 76px 0; }.split-section { grid-template-columns: 1fr; gap: 28px; }.section-heading h2, .contact-copy h2 { font-size: 36px; }.centered { margin-bottom: 35px; }.skills-grid { gap: 12px; }.skill-card { padding: 20px 16px; }.skill-card h3 { font-size: 15px; }.tag-list { gap: 5px; }.tag-list span { font-size: 9px; }
  .projects-grid { grid-template-columns: 1fr; }.project-art { height: 205px; }.project-body p { min-height: auto; }.project-count { width: 100%; margin: 5px 0 0; }.experience-layout .section-heading { position: static; }.timeline { margin-top: 8px; }.contact-panel { grid-template-columns: 1fr; gap: 30px; padding: 28px 22px; }.footer-inner { flex-wrap: wrap; }.footer-inner p { order: 3; width: 100%; }.footer-inner > span { font-size: 9px; }
}
@media (max-width: 390px) { .hero-actions .button { width: 100%; }.hero-meta { gap: 10px; flex-direction: column; }.skills-grid { grid-template-columns: 1fr; }.skill-card p { margin-bottom: 18px; }.floating-chip { font-size: 9px; padding: 8px 10px; }.chip-icon { width: 22px; height: 22px; } }
