/* Segun Odumosu — matched to segunodumosu.ca */
@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600&family=Quicksand:wght@300;400;500;600;700&display=swap");

:root {
  --blue: #2e50a8;
  --blue-active: rgba(46, 80, 168, 0.86);
  --blue-deep: #002b99;
  --ink: #000000;
  --nav: #444444;
  --bg: #fcfcfc;
  --white: #ffffff;
  --max: 980px;
  --header-h: 69px;
  --nav-h: 50px;
  --font-display: "Quicksand", sans-serif;
  --font-nav: "League Spartan", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.4;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, 1260px);
  margin-inline: auto;
}

/* ========== HEADER / NAV (1:1 with Wix) ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 2rem, 980px);
  margin-inline: auto;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 183px;
  height: 54px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--blue);
  margin: 6px 0;
}

.site-nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
}

.site-nav > ul {
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
}

.site-nav > ul > li {
  position: relative;
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
}

.site-nav > ul > li > a,
.site-nav > ul > li > .nav-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 100%;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 400;
  color: var(--nav);
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1;
}

.site-nav > ul > li.active > a,
.site-nav > ul > li.active > .nav-label,
.site-nav > ul > li > a[aria-current="page"] {
  background: var(--blue-active);
  color: #fff;
}

.site-nav > ul > li:not(.active) > a:hover,
.site-nav > ul > li:not(.active) > .nav-label:hover {
  color: var(--blue);
}

/* About: link + chevron share active bg */
.nav-item-dd {
  display: flex;
  align-items: stretch;
}

.nav-item-dd > a {
  padding-right: 4px;
}

.nav-item-dd > .dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0 8px 0 0;
  margin: 0;
}

.nav-item-dd > .dd-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-item-dd.active > a,
.nav-item-dd.active > .dd-btn {
  background: var(--blue-active);
  color: #fff;
}

.nav-item-dd.active > a {
  padding-left: 12px;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 50;
  padding: 0.35rem 0;
}

.nav-item-dd.open > .submenu,
.nav-item-dd:hover > .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 0.65rem 1rem;
  font-family: var(--font-nav);
  font-size: 14px;
  color: var(--nav);
}

.submenu a:hover {
  background: #f3f6ff;
  color: var(--blue);
}

/* ========== STORY (white, not blue) ========== */
.story-hero {
  background: var(--bg);
  padding: 2.5rem 0 3rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 608px) 343px;
  gap: 2.5rem;
  justify-content: center;
  align-items: start;
  width: min(100% - 2rem, 980px);
  margin-inline: auto;
}

.story-grid h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: #000;
  margin: 0 0 1.1rem;
  line-height: 1.15;
}

.story-copy p {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  color: #000;
}

.story-portrait img {
  width: 343px;
  max-width: 100%;
  height: auto;
}

/* ========== SECTIONS ========== */
.section {
  padding: 3.5rem 0 3.75rem;
  background: var(--bg);
}

/* Soft alternate band instead of blue rule lines */
.section-band {
  background: #f0f3fa;
  border-block: 1px solid #e3e8f3;
}

.section-title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  color: var(--blue-deep);
  text-align: center;
  margin: 0 0 2rem;
  line-height: 1.15;
}

/* ========== RIGOR CARDS ========== */
.rigor-grid {
  display: grid;
  grid-template-columns: repeat(4, 295px);
  gap: 1.25rem;
  justify-content: center;
}

.rigor-card {
  position: relative;
  width: 295px;
  height: 437px;
  overflow: hidden;
  background: #111;
}

.rigor-card img {
  width: 295px;
  height: 323px;
  object-fit: cover;
}

.rigor-card .overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 114px;
  padding: 0.85rem 1rem 1rem;
  background: var(--blue);
  color: #fff;
}

.rigor-card .overlay strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.rigor-card .overlay .role {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.rigor-card .overlay .tagline {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.95;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  text-align: center;
  padding-top: 2.5rem;
}

.video-embed {
  width: min(100%, 820px);
  margin: 0 auto;
}

/* ========== PERFORMING ARTS ========== */
.arts {
  background: var(--blue);
  color: #fff;
  padding: 3.5rem 0;
}

.arts .section-title {
  color: #fff;
}

.arts-block {
  display: grid;
  grid-template-columns: 367px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.arts-block.reverse {
  grid-template-columns: 1fr 290px;
}

.arts-block.reverse .arts-media {
  order: 2;
}

.arts-block h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 0.85rem;
  color: #fff;
}

.arts-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.arts-media img {
  width: 100%;
  object-fit: cover;
}

/* ========== BOOKS ========== */
.books-intro {
  text-align: center;
  color: var(--blue-deep);
  font-size: 28px;
  font-weight: 400;
  margin: -0.5rem 0 2.25rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.book-card img {
  height: 181px;
  width: auto;
  margin: 0 auto 1.1rem;
  object-fit: contain;
}

.book-card .label {
  font-size: 14px;
  color: #555;
  margin-bottom: 0.4rem;
}

.book-card blockquote {
  margin: 0;
  font-size: 18px;
  color: var(--blue-deep);
  font-weight: 400;
  line-height: 1.35;
}

/* ========== INNER PAGE HEROES ========== */
.page-hero {
  position: relative;
  min-height: 180px;
  display: grid;
  place-items: center;
  background: #1a1a1a center / cover no-repeat;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 35, 80, 0.28);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  margin: 0;
  padding: 2rem;
  text-align: center;
}

.page-hero.experience {
  background-image: url("/assets/images/experience-hero.jpeg");
  min-height: 210px;
}

.page-hero.projects,
.page-hero.blog,
.page-hero.contact,
.page-hero.education {
  background: linear-gradient(135deg, #152a5c, var(--blue));
}

/* ========== EXPERIENCE ========== */
.jobs {
  padding: 2rem 0 3.5rem;
  background: var(--white);
}

.job {
  padding: 1.75rem 0;
  border-bottom: 3px solid var(--blue);
}

.job:last-child {
  border-bottom: 0;
}

.job-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 0.85rem;
  color: #000;
}

.job-org {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.job-org img {
  max-height: 54px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.job-org .name {
  font-size: 18px;
  font-weight: 400;
}

.job-dates {
  color: #555;
  margin-bottom: 0.85rem;
  font-size: 15px;
}

.skills-label {
  font-weight: 600;
  margin-bottom: 0.55rem;
  font-size: 15px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skill {
  background: #eef2fb;
  color: var(--blue-deep);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-display);
}

/* ========== EDUCATION ========== */
.edu-list {
  padding: 2rem 0 1rem;
  background: var(--white);
}

.edu-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 2px solid rgba(46, 80, 168, 0.25);
}

.edu-item img {
  max-width: 160px;
  max-height: 90px;
  object-fit: contain;
}

.edu-item h3 {
  margin: 0 0 0.55rem;
  font-size: 22px;
  font-weight: 500;
  color: var(--blue-deep);
  font-family: var(--font-display);
}

.edu-item p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
}

.certs {
  padding: 1rem 0 3.5rem;
  background: var(--white);
}

.certs h2 {
  font-size: 28px;
  color: var(--blue-deep);
  font-weight: 400;
  margin: 1rem 0 1.5rem;
  font-family: var(--font-display);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cert-card {
  text-align: center;
}

.cert-card a {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-card a:hover {
  transform: translateY(-2px);
}

.cert-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f7f8fb;
  border: 1px solid #ececec;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  cursor: zoom-in;
}

.cert-card a:hover img {
  box-shadow: 0 8px 20px rgba(46, 80, 168, 0.15);
  border-color: var(--blue);
}

.cert-card h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
}

/* ========== PROJECTS ========== */
.projects-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #444;
  font-size: 15px;
  line-height: 1.55;
}

.project {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 3px solid var(--blue);
}

.project:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.project:nth-child(even) .project-media {
  order: -1;
}

.project h2 {
  margin: 0 0 0.75rem;
  font-size: 26px;
  font-weight: 400;
  color: var(--blue-deep);
  font-family: var(--font-display);
}

.project p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
}

.project-links {
  margin-top: 0.85rem !important;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-links a:hover {
  color: var(--blue-deep);
}

.project-media img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

/* ========== BLOG ========== */
.blog-list {
  padding: 2.5rem 0 3.5rem;
  background: var(--white);
}

.blog-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid #ececec;
  background: #fff;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card h2 {
  margin: 0 0 0.45rem;
  font-size: 24px;
  font-weight: 400;
  color: var(--blue-deep);
  font-family: var(--font-display);
}

.blog-card p {
  margin: 0 0 0.65rem;
  color: #444;
  font-size: 15px;
}

.blog-meta {
  font-size: 13px;
  color: #777;
}

.post {
  padding: 2.5rem 0 3.5rem;
  max-width: 760px;
  margin-inline: auto;
}

.post h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--blue-deep);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.post-meta {
  color: #777;
  margin-bottom: 1.5rem;
  font-size: 14px;
}

.post-cover {
  width: 100%;
  margin-bottom: 1.75rem;
}

.post p {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin: 0 0 1rem;
}

/* ========== CONTACT ========== */
.contact-page {
  background: var(--white);
  padding: 3rem 0 4.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.contact-copy p {
  color: #222;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-nav);
  font-size: 15px;
  color: var(--blue-deep);
}

.contact-socials a:hover {
  color: var(--blue);
}

.contact-socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #f3f4f8;
  border-top: 1px solid #e6e8ef;
  padding: 2.75rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2rem;
  width: min(100% - 2rem, 980px);
  margin-inline: auto;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: #555;
  margin: 0;
  max-width: 260px;
  font-size: 14px;
  line-height: 1.45;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
  font-family: var(--font-nav);
}

.footer-col a {
  display: block;
  padding: 0.22rem 0;
  color: #444;
  font-size: 14px;
  font-family: var(--font-nav);
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  width: min(100% - 2rem, 980px);
  margin: 1.75rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid #e0e3ec;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #555;
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.socials img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .rigor-grid {
    grid-template-columns: repeat(2, 295px);
  }
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-portrait {
    justify-self: center;
  }

  .arts-block,
  .arts-block.reverse,
  .project,
  .project:nth-child(even),
  .contact-layout,
  .blog-card,
  .edu-item {
    grid-template-columns: 1fr;
  }

  .arts-block.reverse .arts-media,
  .project:nth-child(even) .project-media {
    order: 0;
  }

  .certs-grid,
  .books-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-grid h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .section-title {
    font-size: 36px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    height: auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0 1rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    height: auto;
    align-items: stretch;
  }

  .site-nav > ul > li {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav > ul > li > a,
  .site-nav > ul > li > .nav-label {
    justify-content: flex-start;
    padding: 0.85rem 1.25rem;
    height: auto;
  }

  .nav-item-dd {
    flex-wrap: wrap;
  }

  .nav-item-dd > .dd-btn {
    margin-left: auto;
    height: auto;
    padding: 0.85rem 1rem;
  }

  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .nav-item-dd.open > .submenu {
    display: block;
  }

  .nav-item-dd:hover > .submenu {
    display: none;
  }

  .nav-item-dd.open:hover > .submenu {
    display: block;
  }

  .header-inner {
    position: relative;
    width: min(100% - 1.5rem, 980px);
  }

  .certs-grid,
  .books-grid,
  .footer-grid,
  .rigor-grid {
    grid-template-columns: 1fr;
  }

  .rigor-card,
  .rigor-card img {
    width: 100%;
  }
}
