/* Front page — six panels. */

.panel {
  position: relative;
}

/* ----- 1. Hero ----- */

.panel-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  background: #d7d0c4;
  color: var(--bg-white);
  /* Height, not aspect-ratio + max-height (that combination shrinks the width). */
  height: clamp(30rem, 50vw, 60rem);
}

@media (max-width: 47.99rem) {
  .panel-hero {
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
}

.panel-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Head near the top edge, shoulders and chest in frame (matches the current site). */
  object-position: 50% 22%;
  z-index: 0;
}

@media (max-width: 47.99rem) {
  .panel-hero__image {
    object-position: 40% 16%;
  }

  .panel-hero__copy {
    align-items: flex-end;
    padding: 1rem 1rem 1rem 38%;
  }

  .panel-hero__mark {
    width: min(11.5rem, 56vw);
  }
}

.panel-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  height: 100%;
  min-height: inherit;
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
}

@media (min-width: 48rem) {
  .panel-hero__copy {
    align-items: flex-end;
    justify-content: center;
    padding: 3rem 6% 3rem 46%;
    text-align: right;
  }
}

.panel-hero__mark {
  display: block;
  width: min(18rem, 78vw);
  height: auto;
}

@media (min-width: 48rem) {
  .panel-hero__mark {
    width: min(26rem, 36vw);
  }
}

.panel-hero__mark-still {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .panel-hero__mark-animated {
    display: none;
  }
  .panel-hero__mark-still {
    display: block;
  }
}

.panel-hero .btn {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* ----- 1b. Book a Speaker band (own section under the hero) ----- */

.panel-book {
  background: var(--bg-teal);
  color: var(--bg-ink);
  text-align: center;
}

.panel-book__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
}

@media (min-width: 48rem) {
  .panel-book__inner {
    flex-direction: row;
    gap: 2rem;
    padding: 2rem 2rem;
  }
}

.panel-book__title {
  margin: 0;
  color: var(--bg-ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.55vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ----- 2. Statement ----- */

.panel-statement {
  padding: 2rem 1.5rem 2.25rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(123, 204, 202, 0.18), transparent 58%),
    linear-gradient(180deg, #f6fbfb 0%, #eef7f6 100%);
  text-align: center;
}

@media (min-width: 48rem) {
  .panel-statement {
    padding: 2.75rem 2rem 3rem;
  }
}

.panel-statement__inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.5rem 1rem 0;
}

.panel-statement__quote {
  display: block;
  margin: 0 0 0.15rem;
  color: var(--bg-teal-dark);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.6;
  opacity: 0.55;
}

.panel-statement p {
  max-width: 44rem;
  margin: 0 auto 1.1rem;
  color: var(--bg-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.panel-statement__rule {
  display: block;
  width: 6.5rem;
  height: 0;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--bg-teal-dark);
  position: relative;
}

.panel-statement__rule::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.28rem;
  width: 0.45rem;
  height: 0.45rem;
  transform: translateX(-50%) rotate(45deg);
  background: var(--bg-teal);
}

/* ----- 3. Counters ----- */

.panel-stats {
  padding: 3.5rem 1.5rem 4.25rem;
  background: var(--bg-paper);
  border-top: 1px solid var(--bg-line);
  border-bottom: 1px solid var(--bg-line);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 40rem) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.stat {
  padding: 0.5rem 0.75rem;
}

@media (min-width: 40rem) {
  .stat:not(:last-child) {
    border-right: 1px solid var(--bg-line);
  }
}

.stat__label {
  margin: 0 0 0.55rem;
  color: var(--bg-ink-soft);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat__number {
  margin: 0;
  color: var(--bg-ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ----- 4. Featured on ----- */

.panel-featured {
  padding: 4.75rem 1.5rem 5.25rem;
  background: var(--bg-white);
  text-align: center;
}

.panel-featured__title,
.panel-video__headline,
.panel-video__kicker {
  font-family: var(--font-display);
}

.panel-featured__title {
  margin: 0 0 3.25rem;
  color: var(--bg-ink);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.panel-featured__title::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--bg-teal);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  align-items: center;
  justify-items: center;
  max-width: 76rem;
  margin: 0 auto;
}

@media (min-width: 40rem) {
  .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.75rem;
  }
}

@media (min-width: 64rem) {
  .logo-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2.25rem 2rem;
  }
}

.logo-wall__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(5.5rem, 14vw, 8rem);
  padding: 0.5rem 0.6rem;
}

.logo-wall__item img {
  max-width: 100%;
  max-height: clamp(4.25rem, 11vw, 6.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Featured On ticker — modeled on saraross.com (PowerPack pp-ticker).
   Three rows, middle reversed, 100s linear loop, overflow hidden, color logos.
   Tracks are duplicated in the markup so translate -50% loops seamlessly. */
.logo-wall--marquee {
  --logo-ticker-speed: 100s;
  --logo-ticker-gap: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  width: 100%;
  margin: 0;
}

.logo-marquee {
  overflow: hidden;
  width: 100%;
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-ticker-left var(--logo-ticker-speed) linear infinite;
  will-change: transform;
}

.logo-marquee--reverse .logo-marquee__track {
  animation-name: logo-ticker-right;
}

.logo-wall--marquee:hover .logo-marquee__track,
.logo-wall--marquee:focus-within .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__group {
  display: flex;
  align-items: center;
  gap: var(--logo-ticker-gap);
  padding-inline-end: var(--logo-ticker-gap);
}

.logo-wall--marquee .logo-wall__item {
  width: auto;
  flex: 0 0 auto;
  min-width: 8rem;
  max-width: 13rem;
}

@keyframes logo-ticker-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes logo-ticker-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-wall--marquee {
    display: grid;
    max-width: 76rem;
    margin: 0 auto;
  }

  .logo-marquee,
  .logo-marquee__track,
  .logo-marquee__group:not([aria-hidden="true"]) {
    display: contents;
  }

  .logo-marquee__group[aria-hidden="true"] {
    display: none;
  }

  .logo-marquee__track {
    animation: none;
    will-change: auto;
  }

  .logo-wall--marquee .logo-wall__item {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

/* ----- 5. Video + testimonial (full-bleed overlay, Sara-style layout) ----- */

.panel-video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 0;
  color: var(--bg-white);
  background: #000;
}

@media (min-width: 64rem) {
  .panel-video {
    min-height: 100vh;
  }
}

.panel-video__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.panel-video__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 28%;
}

.panel-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.66);
  pointer-events: none;
}

.panel-video__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .panel-video__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2.5rem;
    padding: 4rem 1.25rem;
    align-items: center;
  }
}

.panel-video__lead {
  text-align: center;
}

@media (min-width: 64rem) {
  .panel-video__lead {
    text-align: right;
  }
}

.panel-video__headline {
  margin: 0;
  color: var(--bg-white);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.85;
  text-transform: uppercase;
}

@media (min-width: 64rem) {
  .panel-video__headline {
    font-size: clamp(3.5rem, 5.4vw, 4.75rem);
  }
}

.panel-video__headline span {
  display: block;
  white-space: nowrap;
}

.panel-video__headline span:last-child {
  font-weight: 700;
}

@media (min-width: 64rem) {
  .panel-video__headline span:first-child {
    text-align: left;
  }

  .panel-video__headline span:last-child {
    text-align: right;
  }
}

.video-play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.9375rem;
  height: 6.9375rem;
  margin: 1.25rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bg-white);
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.video-play::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    var(--bg-teal),
    #f0d36a 42%,
    #b8e08a 62%,
    var(--bg-teal-dark),
    var(--bg-teal)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.7rem), #000 calc(100% - 0.62rem));
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.7rem), #000 calc(100% - 0.62rem));
}

.video-play:hover,
.video-play:focus-visible {
  transform: scale(1.08);
}

.video-play svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 2.55rem;
  height: 2.55rem;
  margin-left: 0.2rem;
  fill: currentColor;
}

.panel-video__quote {
  max-width: 28.125rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 64rem) {
  .panel-video__quote {
    justify-self: end;
    margin: 0;
    text-align: right;
  }
}

.panel-video__kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: #f0d36a;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

@media (min-width: 64rem) {
  .panel-video__kicker {
    font-size: 2.5rem;
  }
}

.panel-video__quote p {
  margin: 0 0 1.5rem;
  color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
}

.panel-video__logo {
  display: inline-block;
  padding: 0.55rem 0.7rem;
  background: var(--bg-white);
}

.panel-video__logo img {
  display: block;
  width: 11.5rem;
  height: auto;
}

/* Video highlight dialog */

.video-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: calc(100vw - 2rem);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.video-dialog__box {
  width: min(56rem, 100%);
  padding: 0.85rem 0.85rem 1.1rem;
  background: var(--bg-white);
  color: var(--bg-ink);
  text-align: left;
}

.video-dialog__close {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--bg-ink-soft);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.video-dialog video {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
}

.video-dialog__credit {
  margin: 0.7rem 0 0 !important;
  color: var(--bg-muted);
  font-size: 1rem !important;
}

.video-dialog__box h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.video-dialog__box p {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .video-play,
  .btn {
    transition: none;
  }
}


/* ----- Divider between Watch Brigitte in Action and the audience quote ----- */

.panel-divider {
  background: var(--bg-paper);
  height: 12.5px;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

@media (min-width: 48rem) {
  .panel-divider {
    height: 18.5px;
  }
}

/* ----- Home quote block after Watch Brigitte in Action ----- */
/* Quote sits inside the photo frame (not in a band below). */

.panel-stage-quote {
  margin: 0;
  padding: 0;
  background: #111;
}

.panel-stage-quote__media {
  position: relative;
  margin: 0;
  line-height: 0;
  overflow: hidden;
}

.panel-stage-quote__media img {
  display: block;
  width: 100%;
  height: auto;
}

.panel-stage-quote__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.48) 42%,
    rgba(0, 0, 0, 0.66) 100%
  );
  pointer-events: none;
}

.panel-stage-quote__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.panel-stage-quote__mark {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--bg-teal);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.7;
}

.panel-stage-quote blockquote {
  margin: 0;
  max-width: 48rem;
}

.panel-stage-quote blockquote p {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.5vw, 1.9rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 47.99rem) {
  /* Landscape 3:2 is too short for an on-image quote at 375px; crop taller. */
  .panel-stage-quote__media img {
    height: 28.5rem;
    object-fit: cover;
    object-position: center 42%;
  }

  .panel-stage-quote__overlay {
    padding: 1.5rem 1.15rem;
  }

  .panel-stage-quote blockquote p {
    font-size: 1.15rem;
  }
}

@media (min-width: 48rem) {
  .panel-stage-quote__overlay {
    padding: 2.5rem 3rem;
  }
}
