/*
Theme Name: Olivia Wimpari Portfolio
Theme URI: https://olivia.wimpari.com
Description: A sophisticated editorial portfolio theme for Olivia Wimpari — marketing strategist and PR professional. Built as a child theme for Hello Elementor.
Author: Porter & Black
Author URI: https://porterandblack.com
Template: hello-elementor
Version: 1.0.0
License: GPL-2.0+
Text Domain: olivia-wimpari
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  --ink: #1a1814;
  --ink-60: rgba(26,24,20,.6);
  --ink-20: rgba(26,24,20,.12);
  --cream: #f8f5ef;
  --warm-white: #fdfcf9;
  --accent: #b85c38;
  --accent-light: #f0e8e2;
  --gold: #c9a84c;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --max: 1160px;
  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ─── GLOBAL RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans) !important;
  background-color: var(--warm-white) !important;
  color: var(--ink) !important;
  line-height: 1.6;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif) !important;
  font-weight: 300 !important;
}

/* ─── ELEMENTOR GLOBAL OVERRIDES ─── */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--serif) !important;
}

/* ─── HIDE DEFAULT HELLO ELEMENTOR HEADER/FOOTER ─── */
.site-header,
.site-footer,
header.elementor-location-header:not(.custom-header),
footer.elementor-location-footer:not(.custom-footer) {
  display: none !important;
}

/* We use our custom nav + footer embedded in the template */

/* ─── 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.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .4;
}

/* ─── CUSTOM NAV ─── */
.ow-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(253,252,249,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-20);
  transition: padding .3s var(--ease);
}
.ow-nav.scrolled { padding: 14px 48px; }

.ow-nav-logo {
  font-family: var(--serif) !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  letter-spacing: .02em;
  color: var(--ink) !important;
  text-decoration: none;
}
.ow-nav-logo span { font-style: italic; color: var(--accent); }

.ow-nav-links { display: flex; gap: 36px; list-style: none; align-items: center; margin: 0; padding: 0; }
.ow-nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-60);
  text-decoration: none; transition: color .2s; position: relative;
}
.ow-nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--accent); transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.ow-nav-links a:hover { color: var(--ink); }
.ow-nav-links a:hover::after { transform: scaleX(1); }

.ow-nav-cta {
  font-size: 12px !important; font-weight: 500 !important;
  letter-spacing: .1em !important; text-transform: uppercase !important;
  color: var(--warm-white) !important; background: var(--accent) !important;
  padding: 9px 22px !important; border-radius: 2px !important;
  text-decoration: none !important; transition: background .2s !important;
}
.ow-nav-cta:hover { background: #9e4e2f !important; }
.ow-nav-cta::after { display: none !important; }

/* Page offset for fixed nav */
.elementor-section.hero-section,
.e-con.hero-section,
#hero-wrap { padding-top: 80px; }

/* ─── SECTION STYLES ─── */
.ow-section { padding: 120px 0; }
.ow-section-cream { background: var(--cream); }
.ow-section-dark { background: var(--ink); color: var(--warm-white); }
.ow-section-accent { background: var(--accent-light); }

.ow-eyebrow {
  font-size: 11px; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 12px;
}
.ow-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--accent);
}

.ow-section-num {
  font-family: var(--serif); font-size: 13px;
  font-weight: 300; color: var(--accent); letter-spacing: .1em;
}

/* Reveal animation class - add via Elementor motion effects */
.ow-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ow-reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── TIMELINE ─── */
.ow-timeline-item {
  display: grid; grid-template-columns: 260px 1fr; gap: 0 60px;
  padding: 48px 0; border-top: 1px solid rgba(253,252,249,.12);
}
.ow-timeline-item:last-child { border-bottom: 1px solid rgba(253,252,249,.12); }

.ow-timeline-date {
  font-size: 11px; font-weight: 400; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.ow-timeline-org {
  font-family: var(--serif); font-size: 28px; font-weight: 300;
  color: var(--warm-white); line-height: 1.1; margin-bottom: 6px;
}

/* ─── SKILLS GRID ─── */
.ow-skill-card {
  background: var(--warm-white); padding: 44px 40px;
  transition: background .2s; border: none;
}
.ow-skill-card:hover { background: var(--accent-light); }

.ow-tag {
  font-size: 10px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent); padding: 4px 10px;
  border-radius: 1px; display: inline-block; margin: 3px 3px 0 0;
}

/* ─── BUTTONS ─── */
.ow-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--warm-white) !important;
  background: var(--ink) !important; padding: 14px 32px !important;
  border-radius: 2px !important; text-decoration: none;
  transition: background .2s, transform .15s;
}
.ow-btn-primary:hover { background: var(--accent) !important; transform: translateY(-1px); }

.ow-btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink) !important;
  background: var(--gold) !important; padding: 14px 32px !important;
  border-radius: 2px !important; text-decoration: none;
  transition: background .2s, transform .15s;
}
.ow-btn-gold:hover { background: #b8913e !important; transform: translateY(-1px); }

/* ─── STAT NUMBERS ─── */
.ow-stat-number {
  font-family: var(--serif); font-size: 48px; font-weight: 300;
  color: var(--ink); line-height: 1; margin-bottom: 6px;
}
.ow-stat-label {
  font-size: 12px; font-weight: 400; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-60);
}

/* ─── TOOL CHIPS ─── */
.ow-tool-chip {
  font-size: 12px; font-weight: 400; letter-spacing: .05em;
  color: var(--ink-60); background: var(--warm-white);
  border: 1px solid var(--ink-20); padding: 8px 18px;
  border-radius: 40px; transition: border-color .2s, color .2s;
  display: inline-block; margin: 4px;
}
.ow-tool-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ─── EDU CARD ─── */
.ow-edu-card {
  border: 1px solid var(--ink-20) !important;
  border-radius: 2px !important; padding: 40px !important;
  position: relative; overflow: hidden;
}
.ow-edu-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}

/* ─── CONTACT FORM ─── */
.ow-contact-input {
  width: 100%; background: rgba(253,252,249,.06) !important;
  border: 1px solid rgba(253,252,249,.12) !important;
  border-radius: 2px !important; padding: 12px 16px !important;
  font-size: 14px !important; color: var(--warm-white) !important;
}
.ow-contact-input:focus { border-color: var(--gold) !important; outline: none; }

/* ─── ELEMENTOR DARK SECTION OVERRIDES ─── */
.elementor-section.ow-dark-bg *,
.e-con.ow-dark-bg * { color: var(--warm-white); }

/* ─── FOOTER ─── */
.ow-footer {
  background: var(--ink);
  border-top: 1px solid rgba(253,252,249,.08);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.ow-footer-logo {
  font-family: var(--serif); font-size: 16px; font-weight: 300;
  color: rgba(253,252,249,.4); letter-spacing: .02em;
}
.ow-footer-copy {
  font-size: 11px; font-weight: 300;
  color: rgba(253,252,249,.25); letter-spacing: .06em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .ow-nav { padding: 18px 28px; }
  .ow-nav.scrolled { padding: 14px 28px; }
  .ow-nav-links { display: none; }
  .ow-timeline-item { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .ow-section { padding: 80px 0; }
  .ow-nav { padding: 16px 20px; }
}
