/*  HERO  */
.hero {
  background: linear-gradient(
    135deg,
    var(--g300) 0%,
    var(--g200) 55%,
    var(--g100) 100%
  );
  padding: 56px 40px 64px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.hero-avatar {
  flex-shrink: 0;
  width: 180px;
  height: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lora", serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.hero-content {
  flex: 1;
}
.hero-specialty {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 10px;
}
.hero-name {
  font-family: "Lora", serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.hero-creds {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
  line-height: 1.6;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.hero-tag {
  background: rgba(129, 129, 129, 0.11);
  border: 1px solid rgba(129, 129, 129, 0.22);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12.5px;
  font-weight: 500;
}
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat-value {
  font-family: "Lora", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11.5px;
  color: var(--text-dark);
  display: block;
  margin-top: 4px;
  line-height: 1.3;
  max-width: 80px;
}
.hero-contact {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-weight: thin;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.hero-contact a:hover {
  color: var(--text-gray);
}
.hero-contact-icon {
  font-size: 14px;
}
.hero-linkedin {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.2s;
}
.hero-linkedin:hover {
  background: rgba(255, 255, 255, 0.18);
}

/*  SECTION NAV  */
.section-nav {
  background: var(--white);
  border-bottom: 1px solid var(--n100);
  position: sticky;
  top: 89px;
  z-index: 90;
}
.section-nav-inner {
  max-width: fit-content;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.section-nav-inner::-webkit-scrollbar {
  display: none;
}
.snav-link {
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--n500);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.snav-link:hover {
  color: var(--g700);
  border-bottom-color: var(--g200);
}
.snav-link.active {
  color: var(--g700);
  border-bottom-color: var(--g700);
  font-weight: 600;
}

/*  LAYOUT  */
.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.page-body > main,
.page-body > .sidebar {
  min-width: 0;
}
/*  SECTION  */
.section {
  margin-bottom: 36px;
}
.section-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--n100);
  box-shadow: var(--shadow);
  /* overflow: hidden; */
}
.section-header {
  padding: 20px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title {
  font-family: "Lora", serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--g800);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--g50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.section-body {
  padding: 16px 28px 24px;
  position: relative;
}

/*  ABOUT  */
.about-text {
  font-size: 15px;
  color: var(--n700);
  line-height: 1.8;
}
.about-more {
  display: none;
}
.about-more.open {
  display: block;
}
.section-more {
  display: none;
}
.section-more.open {
  display: block;
}
.read-more-btn {
  position: sticky;
  bottom: 0cqb;
  width: 100%;

  background: white; /* important so text doesn't show through */
  z-index: 10;

  border: none;
  cursor: pointer;
  color: var(--g700);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eyebrow-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g700);
  margin-bottom: 12px;
}

.section-body ul {
  list-style-position: inside;
  color: var(--n700);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.read-more-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.read-more-btn.open .read-more-icon {
  transform: rotate(180deg);
}
/*  EXPERTISE GRID  */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
.expertise-card {
  border: 1px solid var(--n100);
  border-radius: 10px;
  padding: 18px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.expertise-card:hover {
  border-color: var(--g300);
  box-shadow: 0 4px 16px rgba(22, 92, 53, 0.08);
}
.expertise-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--g50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.expertise-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--n900);
  margin-bottom: 4px;
}
.expertise-desc {
  font-size: 12.5px;
  color: var(--n500);
  line-height: 1.5;
}

/* Reviews */
.reviews-marquee {
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  box-sizing: border-box;
  contain: layout paint; /* extra safety: this box can't be expanded by its children */
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}

.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content; /* intentionally wider than the viewport — this is fine as long as .reviews-marquee clips it */
  animation: reviews-scroll 60s linear infinite;
  will-change: transform;
}

.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.review-card {
  flex: 0 0 280px;
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: 12px;
  padding: 16px;
}
.review-stars {
  font-size: 13px;
  margin-bottom: 8px;
}
.review-quote {
  font-size: 13.5px;
  color: var(--n700);
  margin-bottom: 10px;
}
.review-name {
  font-weight: 600;
  font-size: 13px;
}
.review-role {
  font-size: 12px;
  color: var(--n500);
}

/*  AWARDS  */
.award-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--n100);
}
.award-item:last-child {
  border-bottom: none;
}
.award-medal {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--a100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.award-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--n900);
  margin-bottom: 2px;
}
.award-source {
  font-size: 12.5px;
  color: var(--n500);
}

/*  PUBLICATIONS  */
.pub-stat-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.pub-stat {
  flex: 1;
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
}
.pub-stat-num {
  font-family: "Lora", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--g700);
  display: block;
  line-height: 1;
}
.pub-stat-lbl {
  font-size: 12px;
  color: var(--n500);
  margin-top: 4px;
  display: block;
}
.pub-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--n100);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pub-item:last-child {
  border-bottom: none;
}
.pub-badge {
  background: var(--g100);
  color: var(--g700);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.pub-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--n900);
  line-height: 1.5;
}
.pub-journal {
  font-size: 12px;
  color: var(--n500);
  margin-top: 2px;
}

.pub-buttons {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pub-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.pub-btn-solid {
  background: var(--a500);
  color: var(--white);
}

.pub-btn-outline {
  background: transparent;
  color: var(--a500);
  border: 1.5px solid var(--a400);
}

/*  EDUCATION  */
.edu-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--n100);
}
.edu-item:last-child {
  border-bottom: none;
}
.edu-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--g700);
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: 6px;
  padding: 3px 8px;
  height: fit-content;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.edu-degree {
  font-size: 14px;
  font-weight: 600;
  color: var(--n900);
  margin-bottom: 2px;
}
.edu-inst {
  font-size: 13px;
  color: var(--n500);
}

/*  MEDIA  */
.media-outlets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.media-outlet {
  background: var(--n50);
  border: 1px solid var(--n100);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--n700);
}

/*  EXPERIENCE TIMELINE  */
.exp-item {
  display: flex;
  gap: 16px;
  padding: 0 0 24px;
  position: relative;
}
.exp-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--n100);
}
.exp-item:last-child::before {
  display: none;
}
.exp-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--g50);
  border: 2px solid var(--g300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.exp-org {
  font-size: 14px;
  font-weight: 700;
  color: var(--n900);
}
.exp-role {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--g700);
  margin: 1px 0;
}
.exp-period {
  font-size: 12px;
  color: var(--n500);
}
.exp-bullets {
  margin-top: 8px;
  padding-left: 16px;
}
.exp-bullets li {
  font-size: 13px;
  color: var(--n700);
  margin-bottom: 4px;
  line-height: 1.5;
}

/*  SIDEBAR  */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--n100);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sidebar-card-header {
  padding: 14px 20px;
  background: var(--g50);
  border-bottom: 1px solid var(--g100);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g700);
}
.sidebar-card-body {
  padding: 16px 20px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--n100);
  font-size: 13px;
}
.info-row:last-child {
  border-bottom: none;
}
.info-label {
  color: var(--n500);
  flex-shrink: 0;
  margin-right: 8px;
}
.info-value {
  font-weight: 500;
  color: var(--n900);
  text-align: right;
}
.speciality-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spec-tag {
  background: var(--g50);
  border: 1px solid var(--g100);
  color: var(--g700);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
}
.org-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.org-list li {
  font-size: 12.5px;
  color: var(--n700);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}
.org-list li::before {
  content: "•";
  color: var(--g500);
  flex-shrink: 0;
  font-weight: 700;
}
.contact-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--g700);
  color: var(--white);
  border: none;
  border-radius: 9px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.contact-btn:hover {
  background: var(--g800);
}
.contact-btn.outline {
  background: transparent;
  color: var(--g700);
  border: 1.5px solid var(--g300);
}
.contact-btn.outline:hover {
  background: var(--g50);
}
.contact-detail {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--n700);
  padding: 6px 0;
  border-bottom: 1px solid var(--n100);
}
.contact-detail:last-child {
  border-bottom: none;
}
.contact-detail-icon {
  font-size: 15px;
  flex-shrink: 0;
}
.contact-socials {
  display: flex;
  justify-content: space-evenly;
  gap: 12px;
  margin-top: 16px;
}

.contact-socials a {
  color: inherit;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-socials a:hover {
  color: var(--primary-color);
}
.social-icon {
  width: 24px; /* whatever size you want */
  height: 24px;
  display: inline-block;
}
/*  DIETWHIZ CTA  */
.dw-cta {
  background: linear-gradient(135deg, var(--g700), var(--g600));
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  border: none;
}
.dw-cta-sub {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}
.dw-cta-name {
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.dw-cta-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  line-height: 1.5;
}
.dw-cta-btn {
  display: inline-block;
  background: var(--a400);
  color: var(--white);
  border-radius: 9px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.dw-cta-btn:hover {
  background: var(--a500);
}

/*  RESPONSIVE  */
@media (max-width: 900px) {
  .reviews-marquee {
    max-width: 90vw;
  }
  .page-body {
    grid-template-columns: 1fr;
    padding: 24px 20px 60px;
  }
  .hero {
    padding: 36px 20px 48px;
  }
  .hero-inner {
    flex-direction: column;
    gap: 24px;
  }
  .hero-avatar {
    width: 150px;
    height: 150px;
    font-size: 28px;
  }
  .hero-name {
    font-size: 26px;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .site-nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .pub-stat-row {
    flex-wrap: wrap;
  }
}

/*  ANIMATION  */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content > * {
  animation: fadeUp 0.5s ease both;
}
.hero-specialty {
  animation-delay: 0.05s;
}
.hero-name {
  animation-delay: 0.12s;
}
.hero-creds {
  animation-delay: 0.18s;
}
.hero-tags {
  animation-delay: 0.24s;
}
.hero-stats {
  animation-delay: 0.3s;
}
.hero-contact {
  animation-delay: 0.36s;
}

.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}
