/* =============================================
   JENNY OKOLIKO — PERSONAL WEBSITE
   Design: Marigold & Plum — purple darks,
   orange accents, warm linen lights.
   ============================================= */

:root {
  --purple:      #2D1B4E;
  --purple-deep: #1A0E2E;
  --linen:       #F8F0E8;
  --linen-2:     #F0E0CC;
  --peach:       #F5E0C8;
  --orange:      #B85C00;
  --orange-light:#D47020;
  --plum:        #5C1A3A;
  --warm-mid:    #6B4E5A;
  --dark-text:   #1E1018;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --nav-h:        72px;
  --section-pad:  88px;
  --container:    1180px;
  --radius:       4px;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--linen);
  color: var(--dark-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- TYPOGRAPHY ---- */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}
.section-label.centered { text-align: center; }
.section-label.light    { color: var(--orange-light); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark-text);
  margin-bottom: 36px;
}
.section-heading.light    { color: var(--linen); }
.section-heading.centered { text-align: center; }
.section-heading em { font-style: italic; color: var(--orange-light); }

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 15px 38px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--plum); transform: translateY(-2px); }
.btn-primary.light { background: var(--linen); color: var(--dark-text); }
.btn-primary.light:hover { background: var(--orange-light); color: var(--white); }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(248,240,232,0.5);
  color: var(--linen);
  padding: 14px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-ghost:hover { background: var(--linen); color: var(--dark-text); transform: translateY(-2px); }

/* ======================================
   NAVBAR
====================================== */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100; height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(45,27,78,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(184,92,0,0.2);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 40px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  color: var(--linen); letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(248,240,232,0.78);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--orange-light);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange-light) !important; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--plum) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--linen); }

/* ======================================
   HERO
====================================== */
.hero {
  min-height: 100vh;
  background: var(--purple);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.28;
}
.hero-circle { position: absolute; border-radius: 50%; filter: blur(80px); }
.c1 { width:600px; height:600px; background: radial-gradient(circle, rgba(184,92,0,0.24), transparent 70%); top:-120px; right:-80px; }
.c2 { width:420px; height:420px; background: radial-gradient(circle, rgba(92,26,58,0.30), transparent 70%); bottom:0; left:5%; }
.c3 { width:280px; height:280px; background: radial-gradient(circle, rgba(120,60,180,0.22), transparent 70%); top:35%; left:55%; }

.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  padding-top: calc(var(--nav-h) + 60px);
}
.hero-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange-light); margin-bottom: 24px; display: block;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 300; line-height: 1.0;
  color: var(--linen); margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-headline .line { display: block; }
.hero-headline .italic { font-style: italic; color: var(--orange-light); }
.hero-sub {
  font-size: 16px; font-weight: 300;
  color: rgba(248,240,232,0.68);
  line-height: 1.8; max-width: 520px; margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(248,240,232,0.35);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; z-index: 1;
}
.scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(184,92,0,0.7), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.3); }
}

/* ======================================
   MARQUEE
====================================== */
.marquee-strip {
  background: var(--plum);
  padding: 13px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee-track span {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(248,240,232,0.88); padding: 0 16px;
}
.marquee-track .dot { opacity: 0.4; padding: 0 4px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ======================================
   ABOUT
====================================== */
.about { padding: var(--section-pad) 0; background: var(--linen); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.about-image-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px; overflow: hidden;
}
.about-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.6s var(--ease-out);
}
.about-image-frame:hover img { transform: scale(1.03); }
.about-image-accent {
  position: absolute; bottom: -18px; right: -18px;
  width: 120px; height: 120px;
  border: 2px solid var(--plum); border-radius: 50%;
  opacity: 0.3; pointer-events: none;
}
.about-body p { margin-bottom: 14px; color: #4A3545; font-size: 16px; line-height: 1.75; }
.about-body strong { font-weight: 500; color: var(--dark-text); }
.about-credentials { margin-top: 28px; display: flex; flex-direction: column; gap: 9px; }
.cred-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--warm-mid); }
.cred-icon { color: var(--orange); font-size: 10px; transition: color 0.2s; }
.cred-item:hover .cred-icon { color: var(--plum); }

/* ======================================
   WORK / TALKS
====================================== */
.work { padding: var(--section-pad) 0; background: var(--linen); }
.talks-list { margin-top: 8px; }
.talk-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 36px; align-items: start;
  padding: 34px 0 34px 0;
  border-bottom: 1px solid rgba(92,26,58,0.13);
  border-left: 3px solid transparent;
  transition: border-left-color 0.3s, padding-left 0.3s;
}
.talk-item:first-child { border-top: 1px solid rgba(92,26,58,0.13); }
.talk-item:hover { border-left-color: var(--orange); padding-left: 14px; }
.talk-type {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); display: block; padding-top: 4px; line-height: 1.6;
}
.talk-body h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 400;
  color: var(--dark-text); margin-bottom: 10px; line-height: 1.25;
}
.talk-body p { font-size: 14px; color: var(--warm-mid); line-height: 1.75; }
.talk-link {
  font-size: 12px; font-weight: 600; color: var(--orange);
  white-space: nowrap; padding-top: 6px;
  transition: color 0.2s, letter-spacing 0.2s;
}
.talk-link:hover { color: var(--plum); letter-spacing: 0.1em; }

/* ======================================
   MEDIA GALLERY
====================================== */
.media { padding: var(--section-pad) 0 0; background: var(--linen-2); overflow: hidden; }
.media-scroll-outer { position: relative; padding-bottom: var(--section-pad); }
.media-track {
  display: flex; gap: 14px; padding: 0 40px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; scroll-behavior: smooth;
}
.media-track::-webkit-scrollbar { display: none; }
.media-card {
  flex: 0 0 auto; scroll-snap-align: start;
  border-radius: 2px; overflow: hidden;
  background: var(--linen);
  border: 1px solid rgba(92,26,58,0.1);
}
.media-card.media-photo      { width: 300px; height: 360px; }
.media-card.media-photo.tall { width: 260px; height: 420px; }

/* Photos fill their cards */
.media-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.media-card:hover img { transform: scale(1.04); }

.media-arrow {
  position: absolute;
  bottom: calc(var(--section-pad) * 0.5);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--purple); color: var(--linen);
  border: none; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s; z-index: 2;
}
.media-arrow:hover { background: var(--orange); transform: scale(1.08); }
.media-arrow.left  { left: 40px; }
.media-arrow.right { left: 100px; }

/* ======================================
   HOW I WORK
====================================== */
.how { padding: var(--section-pad) 0; background: var(--peach); }
.how-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 8px; }
.how-card {
  background: var(--linen); padding: 36px 28px;
  border-radius: 2px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.how-card::before {
  content: ''; display: block;
  width: 28px; height: 3px;
  background: var(--plum); border-radius: 2px; margin-bottom: 16px;
}
.how-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(45,27,78,0.12); }
.how-icon { font-size: 26px; color: var(--orange); margin-bottom: 14px; display: block; }
.how-card h4 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 500;
  color: var(--dark-text); margin-bottom: 10px; line-height: 1.3;
}
.how-card p { font-size: 14px; color: var(--warm-mid); line-height: 1.7; }

/* ======================================
   EXPERIENCE
====================================== */
.experience { padding: var(--section-pad) 0; background: var(--linen); }
.exp-list { max-width: 760px; margin-top: 8px; }
.exp-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(92,26,58,0.13);
  font-size: 18px; color: #4A3545;
  font-family: var(--font-display); font-weight: 400;
  transition: color 0.2s;
}
.exp-item:first-child { border-top: 1px solid rgba(92,26,58,0.13); }
.exp-item:hover { color: var(--dark-text); }
.exp-bullet {
  color: var(--orange); font-size: 11px; flex-shrink: 0;
  display: inline-block; transition: color 0.2s, transform 0.2s;
}
.exp-item:hover .exp-bullet { color: var(--plum); transform: scale(1.3); }

/* ======================================
   CONTACT
====================================== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--purple-deep);
  position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,92,0,0.16), transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.contact::after {
  content: ''; position: absolute;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92,26,58,0.24), transparent 70%);
  bottom: -80px; left: 5%; pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact-inner { text-align: center; }
.contact-sub {
  color: rgba(248,240,232,0.62); font-size: 17px;
  margin-bottom: 44px; max-width: 440px;
  margin-left: auto; margin-right: auto;
}
.contact-links {
  display: flex; justify-content: center;
  gap: 44px; flex-wrap: wrap; margin-bottom: 44px;
}
.contact-link-item {
  display: flex; align-items: center; gap: 11px;
  color: var(--linen-2); font-size: 15px; transition: color 0.25s;
}
.contact-link-item:hover { color: var(--orange-light); }
.contact-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(184,92,0,0.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--orange-light);
  transition: background 0.25s, border-color 0.25s;
}
.contact-link-item:hover .contact-icon {
  background: rgba(184,92,0,0.15); border-color: var(--orange-light);
}

/* ======================================
   FOOTER
====================================== */
.footer { background: var(--purple-deep); padding: 28px 0; border-top: 1px solid rgba(92,26,58,0.4); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-left { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--linen); }
.footer-tagline { font-size: 12px; color: rgba(248,240,232,0.45); max-width: 340px; }
.footer-right { font-size: 12px; color: rgba(248,240,232,0.38); }

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-frame { max-width: 440px; }
  .how-grid { grid-template-columns: repeat(2,1fr); }
  .talk-item { grid-template-columns: 130px 1fr; }
  .talk-link { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--purple);
    flex-direction: column; padding: 28px 32px; gap: 22px;
    border-top: 1px solid rgba(248,240,232,0.1);
    box-shadow: 0 20px 40px rgba(26,14,46,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: rgba(248,240,232,0.85) !important; font-size: 16px; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero-headline { font-size: clamp(40px, 10vw, 64px); }
  .hero-actions { flex-direction: column; max-width: 260px; }
  .hero-scroll-hint { display: none; }
  .talk-item { grid-template-columns: 1fr; gap: 10px; }
  .talk-meta { order: -1; }
  .how-grid { grid-template-columns: 1fr; }
  .media-arrow { display: none; }
  .media-track { padding: 0 24px; }
  .contact-links { flex-direction: column; align-items: center; gap: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 38px; }
  .section-heading { font-size: 34px; }
  .how-card { padding: 28px 22px; }
}

/* ---- CORE IDEAS SECTION ---- */
.ideas {
  padding: var(--section-pad) 0;
  background: var(--purple);
}
.ideas .container { position: relative; z-index: 1; }
.ideas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 60px;
}
.idea-card {
  background: rgba(240,230,216,0.05);
  border: 1px solid rgba(240,230,216,0.10);
  padding: 40px;
  transition: background 0.3s;
}
.idea-card:hover { background: rgba(240,230,216,0.09); }
.idea-number {
  font-family: var(--font-display);
  font-size: 60px; font-weight: 300;
  color: rgba(184,92,0,0.22);
  line-height: 1; margin-bottom: 14px;
}
.idea-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  color: var(--linen);
  margin-bottom: 14px; line-height: 1.3;
}
.idea-card p {
  color: rgba(248,240,232,0.62);
  font-size: 15px; line-height: 1.75;
  margin-bottom: 10px;
}
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 300; line-height: 1.5;
  color: var(--linen-2); text-align: center;
  border-top: 1px solid rgba(240,230,216,0.14);
  padding-top: 48px;
  max-width: 780px; margin: 0 auto;
}
.pull-quote em { color: var(--orange-light); font-style: italic; }

/* ---- HOW INTRO ---- */
.how-intro {
  text-align: center;
  max-width: 680px;
  margin: -20px auto 40px;
  font-size: 16px;
  color: var(--warm-mid);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .ideas-grid { grid-template-columns: 1fr; }
  .idea-card { padding: 28px 24px; }
}