/* ============================================================
   OLAMIDE SAMUEL SHITTU — PORTFOLIO
   style.css
   ============================================================ */

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

:root {
  --black:      #0B0B0B;
  --black-soft: #111111;
  --gold:       #C9A96E;
  --gold-light: #E2C99A;
  --gold-dark:  #A07840;
  --white:      #F5F5F5;
  --gray:       #BFBFBF;
  --gray-dark:  #6B6B6B;
  --border:     rgba(201, 169, 110, 0.2);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ─── UTILITY ─── */
.gold { color: var(--gold); }
.serif { font-family: 'Playfair Display', serif; }

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.divider-short {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

section { padding: 8rem 0; position: relative; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible          { opacity: 1; transform: translateY(0); }
.reveal-delay-1          { transition-delay: 0.15s; }
.reveal-delay-2          { transition-delay: 0.30s; }
.reveal-delay-3          { transition-delay: 0.45s; }
.reveal-delay-4          { transition-delay: 0.60s; }

/* ─── SECTION LABELS ─── */
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.section-title .italic { color: var(--gold-light); font-style: italic; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
  padding: 0.9rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245, 245, 245, 0.3);
  padding: 0.9rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.3s, color 0.3s, transform 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, border-bottom 0.4s;
}
nav.scrolled {
  background: rgba(11,11,11,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: 0.6rem 1.6rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  font-family: 'Outfit', sans-serif;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--gold); transition: all 0.3s; display: block; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(201,169,110,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(201,169,110,0.03) 0%, transparent 60%),
    var(--black);
}

.hero-line-left, .hero-line-right {
  position: absolute;
  top: 50%;
  width: 12%; height: 1px;
  transform: translateY(-50%);
}
.hero-line-left  { left:  0; background: linear-gradient(90deg,  transparent, rgba(201,169,110,0.4)); }
.hero-line-right { right: 0; background: linear-gradient(270deg, transparent, rgba(201,169,110,0.4)); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem 3rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-name .italic-line {
  font-style: italic;
  color: var(--gold-light);
  display: block;
  font-weight: 500;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
}

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.proof-item {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.proof-item::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-buttons { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}
.scroll-hint span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity:0.4; transform:scaleY(1); }
  50%      { opacity:1;   transform:scaleY(1.2); }
}

/* ─── ABOUT ─── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image-wrap { position: relative; }

.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(201,169,110,0.08) 0%, rgba(11,11,11,0.8) 100%), #161616;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
.about-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
}

/* When a real photo is provided, it fills the portrait box */
.about-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
}

.about-portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}
.about-portrait-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(201,169,110,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-portrait-icon svg { width: 36px; height: 36px; fill: var(--gold); opacity: 0.5; }
.portrait-caption { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-dark); }

.about-portrait-corner {
  position: absolute; top: -1px; right: -1px;
  width: 50px; height: 50px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  z-index: 3;
}
.about-portrait-corner-bl {
  position: absolute; bottom: -1px; left: -1px;
  width: 50px; height: 50px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 3;
}

.about-number-badge {
  position: absolute;
  bottom: 2rem; right: -1.5rem;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  z-index: 4;
}
.about-number-badge span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  color: rgba(11,11,11,0.7);
}

.about-text p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.about-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.tag {
  border: 1px solid var(--border);
  color: var(--gray);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}
.tag:hover { border-color: var(--gold); color: var(--gold); }

/* ─── BRANDS ─── */
#brands { background: var(--black-soft); }

.brands-header { text-align: center; margin-bottom: 5rem; }

.brand-item {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
  transition: border-color 0.3s;
}
.brand-item:last-child { border-bottom: 1px solid var(--border); }
.brand-item:hover { border-color: rgba(201,169,110,0.5); }

.brand-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.6;
  min-width: 2rem;
}

/* ── BRAND LOGO PLACEHOLDER ── */
.brand-logo-wrap {
  width: 90px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(201,169,110,0.25);
  background: rgba(201,169,110,0.03);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.brand-item:hover .brand-logo-wrap { border-color: rgba(201,169,110,0.5); }

/* Real logos — grayscale by default, color on hover */
.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.4s ease;
}
.brand-item:hover .brand-logo-wrap img {
  filter: grayscale(0) brightness(1);
}

/* SVG placeholder icon shown when no logo uploaded yet */
.brand-logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: 0.4;
}
.brand-logo-placeholder svg { width: 20px; height: 20px; fill: var(--gold); }
.brand-logo-placeholder span { font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
  line-height: 1;
}
.brand-item:hover .brand-name { color: var(--gold-light); }

.brand-role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.brand-specs { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; }
.brand-spec {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  background: rgba(201,169,110,0.05);
  border: 1px solid rgba(201,169,110,0.15);
  padding: 0.3rem 0.8rem;
}

/* ─── RESULTS ─── */
#results { text-align: center; }
.results-header { margin-bottom: 5rem; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}

.metric-item {
  padding: 3.5rem 2rem;
  border-right: 1px solid var(--border);
  transition: background 0.4s;
}
.metric-item:last-child { border-right: none; }
.metric-item:hover { background: rgba(201,169,110,0.03); }

.metric-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}
.metric-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-dark); line-height: 1.5; }
.metric-divider { width: 30px; height: 1px; background: var(--gold); margin: 1rem auto; opacity: 0.4; }

/* ─── TOOLS ─── */
#tools { background: var(--black-soft); }
.tools-header { margin-bottom: 4rem; }

.tools-category { margin-bottom: 3rem; }
.tools-category-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.tools-grid { display: flex; flex-wrap: wrap; gap: 1rem; }

.tool-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  padding: 0.7rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gray);
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.tool-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,169,110,0.05);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.tool-chip:hover { border-color: var(--gold); color: var(--white); }
.tool-chip:hover::before { transform: scaleX(1); }

.tool-chip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  transition: opacity 0.3s;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.tool-chip:hover .tool-chip-dot { opacity: 1; }
.tool-chip span { position: relative; z-index: 1; }

/* ─── EXPERIENCE ─── */
.experience-header { margin-bottom: 5rem; }

.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201,169,110,0.1) 100%);
}

.timeline-item { position: relative; padding-bottom: 4rem; padding-left: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -3rem; top: 0.4rem;
  width: 9px; height: 9px;
  border: 1px solid var(--gold);
  background: var(--black);
  transform: rotate(45deg);
  transition: background 0.3s;
}
.timeline-item:hover .timeline-dot { background: var(--gold); }

.timeline-year { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.5rem; }
.timeline-company { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 600; color: var(--white); margin-bottom: 0.3rem; }
.timeline-role { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-dark); margin-bottom: 1.2rem; }
.timeline-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.8; max-width: 520px; font-weight: 300; }

/* ─── CONTACT ─── */
#contact {
  text-align: center;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(201,169,110,0.05) 0%, transparent 70%), var(--black);
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 2rem;
}
.contact-title .italic { color: var(--gold-light); font-style: italic; }

.contact-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto 3.5rem;
  font-weight: 300;
  font-style: italic;
}

.contact-buttons { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--gold); font-weight: 700; }
.footer-copy { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--gray-dark); text-align: center; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-dark); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1.5rem 2rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 5rem 0; }
  .container { padding: 0 1.5rem; }

  #about .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-number-badge { right: 1rem; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-right: none; }
  .metric-item:nth-child(3) { border-top: 1px solid var(--border); }

  .brand-item { grid-template-columns: auto 1fr; }
  .brand-role, .brand-specs { display: none; }

  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}

@media (max-width: 600px) {
  .hero-proof { gap: 1rem; flex-direction: column; align-items: center; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .metric-item:last-child { border-bottom: none; }
  .contact-title { font-size: clamp(2.5rem, 12vw, 5rem); }
}

/* Mobile nav overlay */
body.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(11,11,11,0.98);
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  z-index: 999;
}
body.nav-open .nav-links a { font-size: 1.2rem; letter-spacing: 0.2em; }
body.nav-open .nav-cta {
  display: block;
  position: fixed;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  white-space: nowrap;
}
