/*
Theme Name:  Jessica Bernstein Portfolio
Theme URI:   https://justhirejess.com
Author:      Jessica Bernstein
Author URI:  https://justhirejess.com
Description: Custom portfolio theme for Jessica Bernstein — Content Marketing & Communications Leader.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jessica-portfolio
Tags:        portfolio, one-page, custom-colors, custom-menu, featured-images, full-width-template
*/

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:      #1a1714;
  --ink-soft: #4a4540;
  --cream:    #f7f4ef;
  --warm:     #ede9e2;
  --gold:     #c4a45a;
  --gold-lt:  #e8d9b5;
  --rust:     #b85c38;
  --white:    #ffffff;
  --ff-head:  'Cormorant Garamond', Georgia, serif;
  --ff-body:  'DM Sans', system-ui, sans-serif;
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ─── UTILITY ────────────────────────────────────────────────── */
.container        { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container--narrow{ max-width: 760px;  margin: 0 auto; padding: 0 32px; }

.section-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

/* ─── NAV ────────────────────────────────────────────────────── */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm);
  padding: 16px 0;
  transition: box-shadow 0.3s var(--ease);
}

nav#site-nav.scrolled { box-shadow: 0 4px 24px rgba(26,23,20,0.08); }

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

.nav-logo {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 9px 20px;
  border-radius: 3px;
  font-weight: 500 !important;
  transition: background 0.2s var(--ease) !important;
}

.nav-cta:hover { background: var(--rust) !important; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 3px;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn-primary:hover { background: var(--rust); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 3px;
  border: 1px solid var(--ink);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.btn-secondary:hover { border-color: var(--rust); color: var(--rust); transform: translateY(-2px); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 15px 32px;
  border-radius: 3px;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 15px 32px;
  border-radius: 3px;
  border: 1px solid rgba(247,244,239,0.3);
  transition: border-color 0.25s, color 0.25s, transform 0.2s var(--ease);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ─── HERO ───────────────────────────────────────────────────── */
#hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 60% 40%, var(--gold-lt) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }

.hero-eyebrow span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-heading {
  font-family: var(--ff-head);
  font-size: clamp(46px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-heading em { font-style: italic; color: var(--rust); }

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stat Card */
.hero-visual { position: relative; }

.hero-card-accent {
  position: absolute;
  top: -16px; right: -16px;
  width: 100%; height: 100%;
  background: var(--gold-lt);
  border-radius: 8px;
  z-index: 0;
}

.hero-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(26,23,20,0.1), 0 4px 16px rgba(26,23,20,0.06);
  position: relative;
  z-index: 1;
}

.hero-card-tag {
  display: inline-block;
  background: var(--cream);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.stat-number {
  font-family: var(--ff-head);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}

.stat-number span { color: var(--rust); }

.stat-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }

/* ─── TRUST BAR ──────────────────────────────────────────────── */
#trust {
  background: var(--ink);
  padding: 24px 0;
}

.trust-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }

.trust-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.45);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-companies { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }

.trust-company {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 500;
  color: rgba(247,244,239,0.6);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}

.trust-company:hover { color: var(--gold); }

/* ─── ABOUT ──────────────────────────────────────────────────── */
#about { padding: 100px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-sticky { position: sticky; top: 100px; }

.section-heading {
  font-family: var(--ff-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.section-heading em { font-style: italic; color: var(--rust); }

.about-body { font-size: 16px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 20px; }

.about-divider { width: 48px; height: 2px; background: var(--gold); margin: 32px 0; }

/* Pillars */
.pillars { display: flex; flex-direction: column; gap: 28px; }

.pillar {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--warm);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.pillar:hover { border-color: var(--gold-lt); box-shadow: 0 8px 32px rgba(26,23,20,0.07); }

.pillar-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.pillar-content h3 { font-family: var(--ff-head); font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.pillar-content p  { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ─── SERVICES ───────────────────────────────────────────────── */
#services { padding: 100px 0; background: var(--ink); }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.services-header .section-heading { color: var(--cream); }
.services-header p { font-size: 16px; color: rgba(247,244,239,0.6); line-height: 1.75; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(247,244,239,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.service-card {
  padding: 36px 32px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(247,244,239,0.08);
  border-bottom: 1px solid rgba(247,244,239,0.08);
  transition: background 0.25s;
}

.service-card:hover { background: rgba(196,164,90,0.07); }

.service-num {
  font-family: var(--ff-head);
  font-size: 36px;
  font-weight: 400;
  color: rgba(196,164,90,0.3);
  display: block;
  margin-bottom: 16px;
}

.service-card h3 { font-family: var(--ff-head); font-size: 22px; font-weight: 500; color: var(--cream); margin-bottom: 12px; }
.service-card p  { font-size: 14px; color: rgba(247,244,239,0.55); line-height: 1.65; }

/* ─── RESULTS ────────────────────────────────────────────────── */
#results { padding: 100px 0; }

.results-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.results-header p { font-size: 17px; color: var(--ink-soft); margin-top: 16px; }

.cases { display: flex; flex-direction: column; gap: 2px; }

.case-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--warm);
  transition: border-color 0.25s, transform 0.2s var(--ease), box-shadow 0.25s;
  cursor: default;
}

.case-row:hover {
  border-color: var(--gold-lt);
  transform: translateX(6px);
  box-shadow: -6px 0 0 var(--gold), 0 8px 32px rgba(26,23,20,0.07);
}

.case-co        { font-family: var(--ff-head); font-size: 19px; font-weight: 500; color: var(--ink); }
.case-co-sub    { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.case-detail h4 { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.case-detail p  { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

.case-metric { text-align: right; flex-shrink: 0; }

.case-metric-num {
  font-family: var(--ff-head);
  font-size: 32px;
  font-weight: 600;
  color: var(--rust);
  display: block;
  line-height: 1;
}

.case-metric-label { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.06em; margin-top: 4px; }

/* ─── EXPERTISE ──────────────────────────────────────────────── */
#expertise { padding: 80px 0; background: var(--warm); }

.expertise-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}

.expertise-heading { font-family: var(--ff-head); font-size: 36px; font-weight: 500; line-height: 1.2; }
.expertise-heading em { font-style: italic; color: var(--rust); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }

.skill-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--warm);
  border-radius: 3px;
  padding: 8px 16px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}

.skill-tag:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.skill-tag.highlight { background: var(--gold-lt); border-color: var(--gold); }

/* ─── TESTIMONIAL ────────────────────────────────────────────── */
#testimonial { padding: 100px 0; }

.testimonial-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 64px;
  border: 1px solid var(--warm);
  position: relative;
  overflow: hidden;
}

.testimonial-wrap::before {
  content: '\201C';
  font-family: var(--ff-head);
  font-size: 200px;
  font-weight: 600;
  color: var(--warm);
  position: absolute;
  top: -20px; left: 40px;
  line-height: 1;
  pointer-events: none;
}

.testimonial-quote {
  font-family: var(--ff-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonial-attr {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.testimonial-note {
  text-align: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--warm);
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ─── CTA ────────────────────────────────────────────────────── */
#cta {
  padding: 100px 0;
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,164,90,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#cta .section-label { color: var(--gold); display: block; margin-bottom: 16px; }

.cta-heading {
  font-family: var(--ff-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}

.cta-heading em { font-style: italic; color: var(--gold); }

.cta-sub {
  font-size: 17px;
  color: rgba(247,244,239,0.6);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer#site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(247,244,239,0.08);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-family: var(--ff-head); font-size: 20px; color: var(--cream); }

.footer-links { display: flex; gap: 28px; list-style: none; }

.footer-links a { font-size: 13px; color: rgba(247,244,239,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-copy { font-size: 12px; color: rgba(247,244,239,0.3); }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .services-header, .expertise-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-sticky  { position: static; }
  .case-row      { grid-template-columns: 1fr; gap: 12px; }
  .case-metric   { text-align: left; }
  .testimonial-wrap { padding: 40px 28px; }
  .nav-links     { display: none; }
}

@media (max-width: 600px) {
  .container, .container--narrow { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  #hero          { padding: 120px 0 80px; }
  .stat-grid     { grid-template-columns: 1fr 1fr; }
}
