/* ============================================================
   Dr. Jennifer R. Madden, PhD — Personal Brand Site
   drjennifermadden.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy:      #1B3A6B;
  --navy-dark: #122850;
  --orange:    #EFA201;
  --orange-dk: #d48e00;
  --orange-lt: #fff8e6;
  --teal:      #1a7f8e;
  --teal-lt:   #e0f4f7;
  --cream:     #fdf8f0;
  --white:     #ffffff;
  --charcoal:  #2c2c2c;
  --gray:      #6b7280;
  --gray-lt:   #e8e4de;
  --border:    #e2ddd6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 24px;
  --shadow:    0 2px 16px rgba(27,58,107,.09);
  --shadow-md: 0 6px 32px rgba(27,58,107,.14);
  --shadow-lg: 0 12px 48px rgba(27,58,107,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-lt);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 8px rgba(27,58,107,.07);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo { height: 40px; width: auto; }

.brand-text { line-height: 1.15; }
.brand-text .brand-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
}
.brand-text .brand-title {
  font-size: .68rem;
  color: var(--gray);
  letter-spacing: .06em;
  text-transform: uppercase;
}

nav ul { list-style: none; display: flex; gap: .25rem; align-items: center; }

nav a {
  display: block;
  padding: .45rem .8rem;
  color: var(--charcoal);
  text-decoration: none;
  font-size: .83rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
nav a:hover, nav a.active { background: var(--orange-lt); color: var(--navy); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: .5rem 1.1rem !important;
}
.nav-cta:hover { background: var(--orange-dk) !important; }

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

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  opacity: .55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(27,58,107,.92) 0%, rgba(27,58,107,.75) 50%, rgba(27,58,107,.3) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  opacity: .7;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--orange);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

.hero-photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-photo img {
  width: 380px;
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(239,162,1,.4);
  filter: brightness(1.05) contrast(1.02);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat .label {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }

.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: var(--orange-dk); box-shadow: 0 6px 20px rgba(239,162,1,.4); }

.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cream); }

.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }

.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── SECTION UTILITIES ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1140px; margin: 0 auto; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--orange);
  opacity: .5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ── ABOUT SECTION ── */
.about-section { background: var(--cream); }

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

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

.about-photo-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.about-photo-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--orange);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .5;
}

.about-content blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--navy);
  border-left: 4px solid var(--orange);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.about-content p {
  font-size: .97rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.credential-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ── WHAT I DO — CARDS ── */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all .25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--orange-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}

.service-card p {
  font-size: .9rem;
  color: var(--gray);
  flex: 1;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1.25rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--orange-dk);
  text-decoration: none;
}
.service-link:hover { text-decoration: underline; }

/* ── QUOTE BANNER ── */
.quote-banner {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(239,162,1,.06);
  line-height: 1;
  pointer-events: none;
}

.quote-banner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.quote-banner cite {
  font-size: .85rem;
  color: var(--orange);
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── CLIENTS ── */
.clients-section { background: var(--cream); }

.clients-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.client-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
}

/* ── BOOKS ── */
.books-section { background: var(--white); }

.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.book-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.book-cover {
  width: 90px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: var(--radius);
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
}

.book-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  line-height: 1.3;
}

.book-info .publisher {
  font-size: .78rem;
  color: var(--orange-dk);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
}

.book-info p {
  font-size: .87rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4f8a 50%, var(--navy-dark) 100%);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/speaking-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: .12;
}

.cta-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2.5rem;
}

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.55);
  padding: 3.5rem 2rem 2rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}

.footer-brand img { height: 38px; width: auto; margin-bottom: .75rem; }
.footer-brand p { font-size: .82rem; max-width: 260px; line-height: 1.7; }

.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .83rem;
  margin-bottom: .5rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
}
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-lt);
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  nav a { font-size: .9rem; }
  header { position: relative; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .section { padding: 3.5rem 1.25rem; }
  .hero-inner { padding: 3.5rem 1.25rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 1.25rem; }
  .stat .num { font-size: 1.5rem; }
  .cta-section { padding: 4rem 1.25rem; }
  .footer-inner { padding: 0 0 2rem; }
}
