/* ═══════════════════════════════════════════════════════
   MARVELOUS S. AWOLOR — PERSONAL WEBSITE
   Design Direction: Dark Luxury Editorial
   Palette: Deep Charcoal · Warm Gold · Cream Ivory
   Fonts: Cormorant Garamond (display) + DM Sans (body)
═══════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────── */
:root {
  --bg:          #0e0d0b;
  --bg-alt:      #151410;
  --bg-light:    #1c1a15;
  --gold:        #c9a84c;
  --gold-light:  #e2c57a;
  --gold-dim:    rgba(201,168,76,0.15);
  --cream:       #f5f0e8;
  --text:        #d6cfc0;
  --text-dim:    #7a7265;
  --white:       #ffffff;
  --border:      rgba(201,168,76,0.2);

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

  --radius:  4px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

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

/* ── UTILITIES ──────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--gold-light); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.section-heading em {
  font-style: italic;
  color: var(--gold);
}

/* ── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.28s; }
.delay-3 { transition-delay: 0.42s; }

/* ── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,168,76,0.25);
}

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-large { padding: 1.1rem 3rem; font-size: 0.9rem; }

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(14,13,11,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--gold-light) !important; }

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

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(14,13,11,0.98);
  padding: 1.5rem 2rem 2rem;
  gap: 0.2rem;
}
.mobile-menu.open { display: flex; }
.mob-link {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.25s;
}
.mob-link:hover { color: var(--gold); }
.mob-cta {
  margin-top: 1rem;
  color: var(--gold) !important;
  border-bottom: none !important;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 6rem;
}

/* Noise texture overlay */
#hero::before {
  content: '';
  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.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Radial glow */
#hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-bg-text {
  position: absolute;
  bottom: 15%;
  left: -2%;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 600;
  color: rgba(201,168,76,0.04);
  letter-spacing: -0.04em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}
.hero-name em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.8rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 8rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* Marquee */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 0.9rem 0;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-shrink: 0;
}
.marquee-track .dot { color: var(--gold); font-size: 0.6rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
#about {
  padding: 8rem 0;
  background: var(--bg-alt);
  position: relative;
}
#about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 1.8rem;
}

.about-body {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.85;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-plus { font-size: 1.8rem; color: var(--gold); line-height: 1; }
.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
  max-width: 100px;
}

/* Photo card */
.about-card-wrap { position: relative; padding-bottom: 3rem; }
.about-photo-card {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: visible;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.photo-accent {
  position: absolute;
  top: -2px; right: -2px;
  width: 40%;
  height: 40%;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 var(--radius-lg) 0 0;
  pointer-events: none;
}
.photo-frame {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.photo-badge {
  display: flex;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.floating-cert {
  position: absolute;
  bottom: 1rem;
  left: -1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  font-size: 0.76rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.floating-cert.two {
  bottom: auto;
  top: -1rem;
  left: auto;
  right: -1.5rem;
}

/* ══════════════════════════════════════════════════════
   EXPERIENCE
══════════════════════════════════════════════════════ */
#experience {
  padding: 8rem 0;
  background: var(--bg);
}

.section-intro { margin-bottom: 4rem; }

.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 1.3rem;
  top: 0.5rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2.5rem;
}
.tl-marker {
  position: absolute;
  left: 0.7rem;
  top: 1.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  z-index: 1;
  transition: background 0.3s;
}
.timeline-item:hover .tl-marker {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(201,168,76,0.5);
}

.tl-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}
.tl-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.tl-company {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
}
.tl-role {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}
.tl-meta { text-align: right; }
.tl-date {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.tl-loc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.tl-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tl-bullets li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
}
.tl-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.25rem;
}

.tl-tag {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════
   SKILLS
══════════════════════════════════════════════════════ */
#skills {
  padding: 8rem 0;
  background: var(--bg-alt);
}

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

.skill-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  cursor: default;
}
.skill-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.skill-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.2rem;
  transition: background 0.3s;
}
.skill-card:hover .skill-icon { background: rgba(201,168,76,0.25); }

.skill-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.skill-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; }

/* Certs strip */
.certs-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1rem;
}
.cert-pill {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  transition: border-color 0.25s;
}
.cert-pill:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════════════════════════════
   EDUCATION
══════════════════════════════════════════════════════ */
#education {
  padding: 8rem 0;
  background: var(--bg);
}

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

.edu-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.edu-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.edu-card:hover::after { transform: scaleX(1); }
.edu-card:hover { border-color: rgba(201,168,76,0.4); }

.edu-year {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.edu-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}
.edu-card h4 {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gold-light);
  margin: 0.3rem 0 0.7rem;
}
.edu-school {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.edu-detail {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.7;
}

/* Awards */
.awards-row {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.award-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.award-item:last-child { border-bottom: none; padding-bottom: 0; }
.award-icon { font-size: 1.3rem; flex-shrink: 0; }
.award-text { font-size: 0.88rem; color: var(--text); }

/* ══════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════ */
#contact {
  padding: 8rem 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.contact-deco {
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.06);
  pointer-events: none;
}
.contact-deco::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.05);
}

.contact-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.6rem 1.4rem;
  transition: var(--transition);
}
.contact-item:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.contact-item svg { color: var(--gold); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.footer-langs {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-right { display: none; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .contact-details { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .timeline::before { display: none; }
  .timeline-item { padding-left: 0; }
  .tl-marker { display: none; }
  .tl-header { flex-direction: column; }
  .tl-meta { text-align: left; }
}
