/* ============================================================
   Dr. Enjoli Willis — personal brand site
   Warm/editorial: cream + olive, Lora + Inter.
   Borrows the design system's discipline: eyebrow → fat-rule
   → title, square edges, flat surfaces, hairline rules.
   ============================================================ */

:root {
  /* warm grounds */
  --cream:        #F5F0E8;
  --cream-deep:   #EDE6D6;
  --paper:        #FBF8F2;

  /* olive family */
  --olive:        #4A5A35;
  --olive-mid:    #6B7A52;
  --olive-light:  #C8D4B4;
  --olive-wash:   #E4EAD8;

  /* warm browns / tan */
  --brown:        #5C4A32;
  --tan:          #A08060;
  --forest:       #2B331E;  /* dark footer ground */

  /* ink */
  --ink:          #2C2416;
  --ink-mid:      #5C5040;
  --ink-soft:     #8C7C68;
  --hairline:     #D8CEBC;
  --hairline-dk:  #C2B6A0;

  --font-serif: "Lora", Georgia, serif;
  --font-sans:  "Inter", system-ui, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--olive-light); color: var(--ink); }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 140px) 0; }

/* ---------- the signature open: eyebrow → fat rule → title ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0;
}
.fatrule {
  width: 54px;
  height: 5px;
  background: var(--brown);
  margin: 18px 0 22px;
  border: 0;
}
.fatrule.center { margin-left: auto; margin-right: auto; }
.title {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  font-size: clamp(32px, 4.4vw, 52px);
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 60ch;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,240,232,0.92);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand .cred { color: var(--olive); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-mid); text-decoration: none;
  padding: 6px 0; position: relative;
  transition: color .15s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--olive); transition: right .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
  padding: 12px 22px; border: 0; border-radius: 2px;
  transition: background .15s ease, color .15s ease, transform .05s ease;
}
.btn-primary { background: var(--olive); color: #fff; }
.btn-primary:hover { background: #3d4b2c; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline-dk);
}
.btn-ghost:hover { border-color: var(--olive); color: var(--olive); }
.nav-cta { white-space: nowrap; }

.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--cream); position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-eyebrow .dot { color: var(--tan); }
.hero-eyebrow .eyebrow { white-space: nowrap; }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--olive); }
.hero .credline {
  font-size: clamp(14px, 1.6vw, 16.5px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
  margin: 0 0 30px;
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center;
}
.hero .credline span { white-space: nowrap; }
.hero .credline .sep { color: var(--tan); }

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.42;
  color: var(--brown);
  border-left: 4px solid var(--olive-light);
  padding-left: 22px;
  margin: 0 0 38px;
  max-width: 38ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* portrait */
.portrait-wrap { position: relative; justify-self: center; }
.portrait {
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: 0 20px 50px -28px rgba(44,36,22,0.55);
  position: relative; z-index: 2;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-ring {
  position: absolute; inset: -22px;
  border: 1.5px solid var(--olive-light);
  border-radius: 50%; z-index: 1;
}
.portrait-tag {
  position: absolute; z-index: 3;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  background: var(--forest); color: var(--cream);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px; white-space: nowrap;
}

/* stats strip */
.stats {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--cream-deep);
}
.stats-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 34px 8px; text-align: center;
  border-right: 1px solid var(--hairline);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1; color: var(--olive);
  letter-spacing: -0.02em;
}
.stat .lbl {
  margin-top: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--paper); }
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px); align-items: start;
}
.about-figure { position: relative; }
.about-figure img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 2px;
}
.about-figure figcaption {
  margin-top: 14px; font-size: 12.5px; color: var(--ink-soft);
  letter-spacing: 0.02em; line-height: 1.45;
}
.about-figure figcaption b { color: var(--ink-mid); font-weight: 600; }
.about-body p {
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  line-height: 1.72; color: var(--ink-mid);
  margin: 0 0 22px; max-width: 60ch;
  text-wrap: pretty;
}
.about-body p strong { color: var(--ink); font-weight: 600; }
.about-pull {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500; line-height: 1.4;
  color: var(--olive); margin: 0 0 26px;
}

/* ============================================================
   WHAT I DO
   ============================================================ */
.do { background: var(--cream); }
.do-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: 56px;
}
.do-card {
  background: var(--paper);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 38px);
  display: flex; flex-direction: column;
}
.do-card .idx {
  font-family: var(--font-serif); font-size: 15px;
  color: var(--tan); letter-spacing: 0.1em; margin-bottom: 20px;
}
.do-card h3 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 27px; margin: 0 0 14px; color: var(--ink);
}
.do-card p { margin: 0 0 18px; color: var(--ink-mid); font-size: 16px; line-height: 1.62; }
.do-card .areas {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.55;
}
.do-card .areas b {
  display: block; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--olive);
  font-weight: 600; margin-bottom: 8px;
}

/* ============================================================
   SPEAKING
   ============================================================ */
.speaking { background: var(--forest); color: var(--cream); }
.speaking .eyebrow { color: var(--olive-light); }
.speaking .fatrule { background: var(--tan); }
.speaking .title { color: #fff; }
.speaking .lead { color: #D9D2C4; }

.speak-head {
  display: grid; grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 5vw, 72px); align-items: end;
}
.speak-formats {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;
}
.chip {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--cream); border: 1px solid rgba(245,240,232,0.28);
  padding: 7px 14px; border-radius: 100px;
}

.topics { margin-top: 64px; display: grid; gap: 48px; }
.topic-cat > .cat-label {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--olive-light);
  padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(245,240,232,0.18);
}
.cat-label .cat-for {
  font-weight: 400; letter-spacing: 0.02em; text-transform: none;
  color: #A9B292; font-size: 13px; font-style: italic;
  font-family: var(--font-serif);
}
.topic-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.topic {
  padding: 24px 26px 24px 0;
  border-bottom: 1px solid rgba(245,240,232,0.14);
}
.topic h4 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 20px; line-height: 1.25; margin: 0 0 9px; color: #fff;
}
.topic p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #C6BFB0; }

/* speaking photos */
.speak-photos {
  margin-top: 64px; display: grid;
  grid-template-columns: 1.4fr 1fr; gap: 16px;
}
.speak-photos figure { margin: 0; position: relative; }
.speak-photos img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 2px; aspect-ratio: 16/10;
}
.speak-photos figure.tall img { aspect-ratio: auto; height: 100%; }
.photo-cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(to top, rgba(20,24,12,0.82), transparent);
  color: #fff; padding: 40px 18px 14px;
  font-size: 12.5px; letter-spacing: 0.02em;
}
.photo-cap b { font-weight: 600; }

/* ============================================================
   EXPERIENCE LIST (speaking history) + testimonials
   ============================================================ */
.history { background: var(--cream); }
.history-grid {
  display: grid; grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(40px, 6vw, 84px); align-items: start; margin-top: 52px;
}
.gig {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 20px; padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.gig:last-child { border-bottom: 1px solid var(--hairline); }
.gig .yr {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 18px; color: var(--olive);
}
.gig h4 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 19px; line-height: 1.3; margin: 0 0 7px; color: var(--ink);
}
.gig .meta {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.5;
  display: flex; flex-wrap: wrap; gap: 4px 9px;
}
.gig .meta .sep { color: var(--hairline-dk); }
.gig .meta .reach { color: var(--olive-mid); font-weight: 600; }

.quotes { display: grid; gap: 18px; align-self: start; }
.quote {
  background: var(--olive-wash);
  border-left: 4px solid var(--olive);
  padding: 22px 24px; border-radius: 2px;
}
.quote p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 16.5px; line-height: 1.5; color: var(--ink);
  margin: 0 0 12px;
}
.quote cite {
  font-style: normal; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--olive); text-transform: uppercase;
}

/* ============================================================
   RESUME / EXPERIENCE
   ============================================================ */
.resume { background: var(--paper); }
.resume-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px); margin-top: 56px; align-items: start;
}
.role {
  padding: 22px 0; border-top: 1px solid var(--hairline);
}
.role:first-child { border-top: 0; padding-top: 0; }
.role .role-top {
  display: flex; justify-content: space-between; gap: 16px;
  align-items: baseline; flex-wrap: wrap;
}
.role h4 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 20px; margin: 0; color: var(--ink); line-height: 1.25;
}
.role .span {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--tan); white-space: nowrap;
}
.role .org {
  font-size: 13.5px; font-weight: 600; color: var(--olive);
  letter-spacing: 0.02em; margin: 5px 0 10px;
}
.role p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-mid); }

.side-block { margin-bottom: 40px; }
.side-block:last-child { margin-bottom: 0; }
.side-block > .sb-head {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--olive);
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 2px solid var(--brown);
  display: inline-block;
}
.edu-item { margin-bottom: 18px; }
.edu-item .deg {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 16.5px; color: var(--ink); line-height: 1.3;
}
.edu-item .sch { font-size: 13.5px; color: var(--ink-mid); margin-top: 3px; }
.edu-item .note { font-size: 12.5px; color: var(--ink-soft); font-style: italic; margin-top: 5px; line-height: 1.5; }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-size: 12.5px; font-weight: 500; color: var(--ink-mid);
  background: var(--cream-deep); border: 1px solid var(--hairline);
  padding: 7px 13px; border-radius: 2px;
}
.award-list { list-style: none; margin: 0; padding: 0; }
.award-list li {
  font-size: 14px; line-height: 1.5; color: var(--ink-mid);
  padding: 9px 0 9px 18px; position: relative;
  border-bottom: 1px solid var(--hairline);
}
.award-list li:last-child { border-bottom: 0; }
.award-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px; background: var(--tan);
}
.award-list li b { color: var(--ink); font-weight: 600; }

/* ============================================================
   FEATURED / PRESS
   ============================================================ */
.featured { background: var(--cream-deep); }
.press-row {
  margin-top: 48px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.press {
  background: var(--paper); border: 1px solid var(--hairline);
  padding: 14px; border-radius: 2px;
}
.press img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.press .pcap {
  margin-top: 12px; font-size: 12px; line-height: 1.45; color: var(--ink-mid);
}
.press .pcap b { display: block; color: var(--ink); font-weight: 600; font-size: 12.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--forest); color: var(--cream); }
.contact .eyebrow { color: var(--olive-light); }
.contact .fatrule { background: var(--tan); }
.contact .title { color: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px); margin-top: 48px; align-items: start;
}
.contact-lead {
  font-size: clamp(18px, 2vw, 21px); line-height: 1.6;
  color: #D9D2C4; max-width: 44ch; margin: 0 0 18px;
}
.contact-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
  color: var(--olive-light);
  border-left: 3px solid var(--tan);
  padding-left: 16px;
  max-width: 40ch;
  margin: 0 0 32px;
}
.contact-links { display: grid; gap: 2px; }
.clink {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 0;
  border-top: 1px solid rgba(245,240,232,0.18);
  text-decoration: none; color: var(--cream);
  transition: padding-left .15s ease;
}
.clink:last-child { border-bottom: 1px solid rgba(245,240,232,0.18); }
.clink:hover { padding-left: 8px; }
.clink .ck-lbl {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--olive-light);
}
.clink .ck-val { font-family: var(--font-serif); font-size: 19px; }
.clink .arr { color: var(--tan); font-size: 18px; }

.news-card {
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.18);
  padding: clamp(28px, 3vw, 40px); border-radius: 2px;
}
.news-card .nc-eye {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--olive-light); margin-bottom: 16px;
}
.news-card h3 {
  font-family: var(--font-serif); font-weight: 600; font-size: 26px;
  margin: 0 0 12px; color: #fff; line-height: 1.2;
}
.news-card p { color: #C6BFB0; font-size: 15.5px; line-height: 1.6; margin: 0 0 14px; }
.news-card .subs { font-size: 13px; color: var(--olive-light); font-weight: 600; margin-bottom: 22px; }
.libutton {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; text-decoration: none;
  color: #fff; border-radius: 2px; background: #0A66C2;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.03em;
}
.libutton:hover { background: #0954a0; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: #1F2616; color: #9A9583;
  border-top: 1px solid rgba(245,240,232,0.12);
}
.foot-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 34px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.foot .fname { font-family: var(--font-serif); font-size: 17px; color: var(--cream); }
.foot .fmeta { font-size: 12.5px; letter-spacing: 0.04em; }
.foot .fmeta .sep { color: var(--tan); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-wrap { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 360px; }
  .do-grid { grid-template-columns: 1fr; }
  .speak-head { grid-template-columns: 1fr; }
  .topic-list { grid-template-columns: 1fr; }
  .speak-photos { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: 1fr; }
  .resume-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .press-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--hairline);
    padding: 8px var(--gutter) 20px;
  }
  .nav-links.open a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--hairline); }
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }
  .stat .lbl { font-size: 10.5px; letter-spacing: 0.1em; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .stat:last-child { border-bottom: 0; }
  .press-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gig { grid-template-columns: 1fr; gap: 6px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
