/* ============================================
   DR. JELANI ELLINGTON - Executive Website
   Aesthetic: Refined Executive / Editorial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #0B1A2E;
  --navy-light: #132842;
  --navy-mid: #1A3355;
  --gold: #B8963E;
  --gold-light: #D4B060;
  --gold-muted: rgba(184, 150, 62, 0.15);
  --cream: #F7F3ED;
  --cream-dark: #EDE7DD;
  --white: #FFFFFF;
  --slate: #4A5568;
  --slate-light: #718096;
  --text-dark: #1A202C;
  --text-body: #2D3748;
  --border-light: rgba(11, 26, 46, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1200px;
  --section-padding: clamp(4rem, 8vw, 8rem);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-body);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  margin-bottom: 1.2em;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
}

.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15em;
  color: var(--navy);
}

/* --- Gold Divider --- */
.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 1.5rem 0;
}

.gold-rule--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav--scrolled {
  box-shadow: 0 2px 30px rgba(11, 26, 46, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.5rem, 4vw, 3rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo span {
  color: var(--gold);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  position: relative;
  padding: 0.3rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav__social a {
  color: var(--navy);
  font-size: 0.85rem;
  opacity: 0.6;
  transition: var(--transition);
}

.nav__social a:hover {
  opacity: 1;
  color: var(--gold);
}

/* Mobile Menu */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav__burger span {
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
  }
  .nav__links.open { right: 0; }
  .nav__social { display: none; }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 26, 46, 0.3);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* --- Hero Section --- */
.hero {
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--gold-muted) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero__image {
  position: relative;
}

.hero__image img {
  border-radius: 2px;
  box-shadow: 0 25px 60px rgba(11, 26, 46, 0.12);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.hero__image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__image { order: -1; max-width: 350px; margin: 0 auto; }
  .hero__image::after { display: none; }
  .gold-rule { margin-left: auto; margin-right: auto; }
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding) 0;
}

.section--navy {
  background: var(--navy);
  color: var(--cream);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--cream);
}

.section--navy p {
  color: rgba(247, 243, 237, 0.8);
}

.section--cream-dark {
  background: var(--cream-dark);
}

.section--white {
  background: var(--white);
}

.section__header {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* --- Who You Are / Where You Are --- */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.challenge-card {
  padding: 2rem;
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.challenge-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(184, 150, 62, 0.08);
  transform: translateY(-2px);
}

.challenge-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.challenge-card p {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .challenge-grid { grid-template-columns: 1fr; }
}

/* --- Services Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.5rem;
  background: rgba(247, 243, 237, 0.06);
  border: 1px solid rgba(247, 243, 237, 0.1);
  border-radius: 2px;
  transition: var(--transition);
}

.section--navy .service-card:hover {
  background: rgba(247, 243, 237, 0.1);
  border-color: var(--gold);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* --- Meet Your Guide --- */
.guide-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}

.guide-image img {
  border-radius: 2px;
  box-shadow: 0 20px 50px rgba(11, 26, 46, 0.1);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.guide-content h4 {
  margin-bottom: 0.5rem;
}

.guide-content h2 {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-image { max-width: 350px; }
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(184, 150, 62, 0.12) 0%, transparent 70%);
}

.cta-banner h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(247, 243, 237, 0.7);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 1rem 2.5rem;
  border: 1.5px solid;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn--gold {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

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

.btn--gold-fill {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold);
}

.btn--gold-fill:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--cream {
  border-color: var(--cream);
  color: var(--cream);
  background: transparent;
}

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

/* --- About Page Specific --- */
.about-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: var(--section-padding);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.about-hero__image img {
  border-radius: 2px;
  box-shadow: 0 25px 60px rgba(11, 26, 46, 0.12);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.about-hero__content h4 {
  margin-bottom: 0.5rem;
}

.about-hero__content h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

@media (max-width: 768px) {
  .about-hero__grid { grid-template-columns: 1fr; }
  .about-hero__image { max-width: 350px; }
}

/* --- Career Timeline --- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.timeline-item {
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
  margin-left: 0.5px;
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--navy);
}

.timeline-item .role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--slate);
}

/* --- Education Grid --- */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.education-card {
  padding: 2rem;
  border-left: 2px solid var(--gold);
  background: var(--white);
}

.education-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.education-card p {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* --- Speaking Page --- */
.speaking-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: var(--section-padding);
  text-align: center;
}

.speaking-hero h1 {
  max-width: 800px;
  margin: 0 auto 1rem;
}

.speaking-hero .lead {
  max-width: 650px;
  margin: 0 auto;
}

.topic-card {
  padding: 3rem;
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.topic-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(184, 150, 62, 0.06);
}

.topic-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.topic-card p {
  color: var(--slate);
  max-width: 700px;
}

/* --- Services Page Specific --- */
.services-detail {
  padding: 3rem;
  border-bottom: 1px solid var(--border-light);
}

.services-detail:last-child {
  border-bottom: none;
}

.services-detail__grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
}

.services-detail__label {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.services-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

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

.services-detail__meta-item h4 {
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
}

.services-detail__meta-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--slate);
}

@media (max-width: 768px) {
  .services-detail__grid { grid-template-columns: 1fr; gap: 1rem; }
  .services-detail__meta { grid-template-columns: 1fr; }
}

/* --- Contact Page --- */
.contact-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: var(--section-padding);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.contact-info h4 { margin-bottom: 0.5rem; }
.contact-info h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2.5rem;
}

.contact-details a {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 0;
  transition: var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  background: var(--navy);
  color: rgba(247, 243, 237, 0.5);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  font-weight: 500;
}

.footer__logo span {
  color: var(--gold);
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__links a {
  color: rgba(247, 243, 237, 0.5);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__social {
  display: flex;
  gap: 1.2rem;
}

.footer__social a {
  color: rgba(247, 243, 237, 0.4);
}

.footer__social a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Photo Grid --- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.85);
  transition: var(--transition);
}

.photo-strip img:hover {
  filter: saturate(1);
}

@media (max-width: 768px) {
  .photo-strip { grid-template-columns: 1fr; }
}

/* --- Credential Badges --- */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.credential-badge {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy);
}

/* --- Blockquote --- */
.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 2rem;
  margin: 2.5rem 0;
  line-height: 1.5;
}

/* --- Industries List --- */
.industries {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-light);
  text-align: center;
  margin-top: 2rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
