/* Seth Shenbanjo - Personal Website */
/* Poppins: 300, 400, 500, 700 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-link: #000034;
  --color-text: #1a1a1a;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --font-heading: 'Source Sans 3', 'Helvetica Neue', Helvetica, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-link);
  font-weight: 400;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  opacity: 0.85;
}

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

/* Skip to content - accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  z-index: 1000;
}

.header--light .header__logo,
.header--light .header__nav a {
  color: var(--color-white);
}

.header--dark .header__logo,
.header--dark .header__nav a {
  color: var(--color-black);
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0em;
}

.header__logo:hover {
  text-decoration: none;
  opacity: 1;
}

.header__nav {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header__nav a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.header__rodan {
  display: inline-flex;
  align-items: center;
}

.header__rodan img {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  object-fit: contain;
}

.header--light .header__rodan img {
  filter: brightness(0) invert(1);
}

.header--dark .header__rodan img {
  filter: brightness(0);
}

.header__linkedin {
  display: inline-flex;
  align-items: center;
}

.header__linkedin svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

/* Menu overlay - kept for other pages */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.menu-overlay .menu-toggle {
  color: var(--color-black);
}

.menu-overlay .header__logo {
  color: var(--color-black);
}

.menu-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu-nav li {
  margin: 1rem 0;
}

.menu-nav a {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-black);
}

.menu-nav a:hover {
  text-decoration: none;
}

.menu-social {
  position: absolute;
  bottom: 2rem;
  font-size: 0.875rem;
}

.menu-social a {
  color: var(--color-black);
}

/* Hero - home page */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: background-image 0.4s ease;
}

.hero__keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
}

.hero__keyword {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: opacity 0.3s;
}

.hero__keyword:hover {
  opacity: 1;
  text-decoration: none;
}

.hero__keyword:not(:hover) {
  opacity: 0.85;
}

/* Content pages */
.page {
  padding-top: 6rem;
  min-height: 100vh;
}

.page__inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.page h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page p {
  margin-bottom: 1rem;
}

.page a {
  text-decoration: none;
}

/* About page */
.about-page .page__inner {
  max-width: 1200px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1fr);
  gap: 3rem 4rem;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about__intro {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.about__email {
  display: inline-flex;
  width: fit-content;
}

.about__linkedin {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 600;
}

.about__credit {
  font-size: 0.875rem;
  color: var(--color-text);
  opacity: 0.8;
  margin: 0;
  grid-column: 1 / -1;
  justify-self: center;
}

.about-right p {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.about-left a,
.about-right a,
.contact__details a,
.about__credit a {
  color: var(--color-link);
  font-weight: 500;
}

/* Contact page */
.contact__intro {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.contact__details {
  margin-bottom: 1.5rem;
}

.contact__details a {
  display: block;
  margin-bottom: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Work pages */
.work__blurb {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.work__list {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}

.work__list li {
  margin-bottom: 0.75rem;
}

.work__list li:last-child {
  margin-bottom: 0;
}

.work__sectors {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 1rem;
}

.work__cta {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 34, 0.04);
  border-left: 3px solid var(--color-link);
  font-size: 1rem;
  line-height: 1.6;
}

.work__cta a {
  font-weight: 500;
  white-space: nowrap;
}

.work__nav {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.work__nav a {
  font-size: 1rem;
}

/* Mobile */
@media (max-width: 640px) {
  .header {
    padding: 1rem 1.5rem;
  }

  .header__nav {
    gap: 1rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 1.5rem;
  }

  .hero__keywords {
    gap: 1rem 2rem;
  }

  .page__inner {
    padding: 2rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__credit {
    justify-self: start;
  }
}
