/*
 * Homepage — Hero, Logo Ticker, About, Talks, Coaching CTA
 */

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-prussian);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Anchor Michelle to right side on wider viewports */
  object-position: 70% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 48, 73, 0.88) 0%,
    rgba(0, 48, 73, 0.70) 45%,
    rgba(0, 48, 73, 0.20) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: var(--space-24);
}

.hero__content {
  max-width: 700px;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-5);
  color: var(--color-verdigris);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: var(--fw-regular);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 0.95;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.82);
  max-width: var(--measure-sm);
  margin-bottom: var(--space-8);
}

.hero__cta {
  margin-top: var(--space-2);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.5;
  animation: scroll-hint-fade 2s ease-in-out 2s infinite alternate;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-verdigris), transparent);
  display: block;
}

.hero__scroll-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-white);
}

@keyframes scroll-hint-fade {
  0%   { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0.7; transform: translateX(-50%) translateY(8px); }
}

/* ── Logo ticker ─────────────────────────────────────────────────── */

.logo-ticker-section {
  background: var(--color-off-white);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

/* Larger, more prominent section label than the default .eyebrow (12px).
   .eyebrow is inline-block, so force block + center to actually center it. */
.logo-ticker__heading {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  color: var(--color-purple-dark);
  margin-bottom: var(--space-10);
}

/* ── About section ───────────────────────────────────────────────── */

/* Set the section apart from its neighbors: a diagonal purple→prussian
   gradient instead of a flat fill, a soft teal glow behind the video, and a
   verdigris hairline along the top edge so the boundary reads crisply. */
.about-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--color-purple-dark) 0%, var(--color-prussian) 100%);
  border-top: 3px solid var(--color-verdigris);
}

.about-section__glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(29, 173, 173, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: 0;
}

.about-section__cta {
  margin-top: var(--space-8);
}

.about-section__text .eyebrow {
  margin-bottom: var(--space-4);
  display: block;
}

.about-section__text h2 {
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  margin-bottom: var(--space-6);
}

.about-section__bio {
  margin-bottom: var(--space-4);
}

.about-section__bio p {
  color: rgba(255,255,255,0.8);
  max-width: var(--measure-sm);
  margin-bottom: var(--space-4);
}

/* The bio WYSIWYG can include bullet lists; the global reset strips list
   styling, so restore it here (scoped to the dark section). */
.about-section__bio ul {
  list-style: disc;
  max-width: var(--measure-sm);
  margin: 0 0 var(--space-4);
  padding-left: 1.25em;
}

.about-section__bio li {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-2);
}

.about-section__bio li::marker {
  color: var(--color-verdigris);
}

/* Poppy (the default link color) is illegible on this dark ground — switch bio
   links to the teal accent with a clear underline. */
.about-section__bio a {
  color: var(--color-verdigris);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.about-section__bio a:hover,
.about-section__bio a:focus-visible {
  color: var(--color-white);
}

.about-section__photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  border: 3px solid rgba(29, 173, 173, 0.25);
}

.about-section__photo--placeholder {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
}

/* ── Featured video ──────────────────────────────────────────────── */

.about-video {
  margin-top: var(--space-16);
  text-align: center;
}

.about-video__eyebrow {
  display: block;
  margin-bottom: var(--space-5);
}

/* 16:9 frame that echoes the headshot's teal border, with a soft lift. */
.about-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid rgba(29, 173, 173, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: #000;
}

/* Facade = clickable poster + play button; replaced by the iframe on click. */
.about-video__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-purple-dark), var(--color-prussian));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 36, 73, 0.25);
  transition: background var(--transition-base, 0.25s ease);
}

.about-video__facade:hover::after,
.about-video__facade:focus-visible::after {
  background: rgba(58, 36, 73, 0.05);
}

.about-video__play {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-verdigris-ink);
  box-shadow: 0 10px 30px rgba(14, 110, 110, 0.45);
  padding-left: 4px; /* optically center the triangle */
  transition: transform var(--transition-base, 0.25s ease), background var(--transition-base, 0.25s ease);
}

.about-video__facade:hover .about-video__play,
.about-video__facade:focus-visible .about-video__play {
  transform: scale(1.08);
  background: var(--color-verdigris-hover);
}

.about-video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Stats bar */
.about-section__stats {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.2);
  padding-block: var(--space-10);
  margin-top: var(--space-16);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about-section__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

/* Verdigris hairline dividers between stats. */
.about-section__stats-grid .stat-item + .stat-item {
  border-left: 1px solid rgba(29, 173, 173, 0.3);
}

/* ── Upcoming Engagements ────────────────────────────────────────── */

.engagements-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--container-narrow);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.engagement-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-verdigris);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.engagement-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

/* Date block */
.engagement-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  color: var(--color-purple-dark);
}

.engagement-card__month {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-verdigris-ink);
}

.engagement-card__day {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: 0.9;
}

.engagement-card__range {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-gray-600);
}

.engagement-card__year {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  margin-top: 2px;
}

/* Body */
.engagement-card__venue {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-verdigris-ink);
  margin: 0 0 var(--space-1);
}

.engagement-card__title {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-1);
  color: var(--color-gray-800);
}

.engagement-card__talk {
  font-style: italic;
  color: var(--color-gray-600);
  margin: 0 0 var(--space-1);
}

.engagement-card__meta {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin: 0;
}

.engagement-card__action {
  white-space: nowrap;
}

/* ── Featured talks section ──────────────────────────────────────── */

.talks-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ── Podcast section header ──────────────────────────────────────── */

.podcast-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.podcast-section__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ── Coaching CTA ────────────────────────────────────────────────── */

.coaching-cta-section {
  overflow: hidden;
}

.coaching-cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.coaching-cta-section__text {
  background: var(--color-prussian);
  padding: var(--space-20) var(--space-16);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coaching-cta-section__text .eyebrow {
  margin-bottom: var(--space-4);
  display: block;
}

.coaching-cta-section__text h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3vw, var(--text-4xl));
  margin-bottom: var(--space-6);
}

.coaching-cta-section__text .lead {
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-6);
}

.coaching-cta-section__offerings {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
}

.coaching-cta-section__offerings li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.78);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.coaching-cta-section__offerings li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-verdigris);
}

.coaching-cta-section__image {
  position: relative;
  overflow: hidden;
}

.coaching-cta-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.coaching-cta-section__image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-dark-bg);
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 1280px) {
  .about-section__grid {
    grid-template-columns: 1fr 340px;
    gap: var(--space-12);
  }
}

@media (max-width: 1024px) {
  .about-section__stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* At two columns, the left-hand item of each row starts fresh. */
  .about-section__stats-grid .stat-item:nth-child(odd) {
    border-left: 0;
  }

  .talks-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coaching-cta-section__text {
    padding: var(--space-16) var(--space-10);
  }
}

@media (max-width: 900px) {
  .about-section__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-section__image {
    order: -1;
  }

  .about-section__photo {
    height: 400px;
  }

  .coaching-cta-section__inner {
    grid-template-columns: 1fr;
  }

  .coaching-cta-section__image {
    height: 400px;
    order: -1;
  }
}

@media (max-width: 640px) {
  /* Shrink the hero copy's height on phones so it fits above the carousel's
     bottom control bar even with a large OS font / text-zoom: less top padding
     (the sticky header is short on mobile), a smaller title floor, and tighter
     gaps between the eyebrow, title, and subtitle. Pairs with the carousel's
     `align-items: safe center`, which keeps an overflowing title clear of the
     header rather than hiding behind it. */
  .hero .container {
    padding-top: var(--space-24);
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: var(--space-4);
  }

  .hero__eyebrow {
    margin-bottom: var(--space-4);
  }

  .hero__subtitle {
    margin-bottom: var(--space-6);
  }

  .talks-section__grid {
    grid-template-columns: 1fr;
  }

  .about-section__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Date sits atop the details; the button spans full width below. */
  .engagement-card {
    grid-template-columns: 64px 1fr;
    gap: var(--space-3) var(--space-5);
    padding: var(--space-5) var(--space-6);
  }

  .engagement-card__day {
    font-size: var(--text-3xl);
  }

  .engagement-card__action {
    grid-column: 1 / -1;
  }

  .engagement-card__action .btn {
    width: 100%;
  }

  .coaching-cta-section__text {
    padding: var(--space-12) var(--space-6);
  }
}
