/* ==========================================================================
   home.css — section layouts for the Colin Wilson home page (one .m-* per block)
   ========================================================================== */

/* ============================ HERO ============================ */
.hero {
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: var(--hero-glow);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: min(72vh, 640px);
}
.hero__title {
  color: #fff;
}
.hero__lead {
  margin-top: 1.6rem;
  color: var(--on-dark-soft);
  font-size: var(--fs-lead);
  max-width: 46ch;
}
.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}
.hero__frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  z-index: 1;
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ============================ PARTNERS ============================ */
.partners {
  background: var(--paper);
}

/* ============================ REQUEST AVAILABILITY ============================ */
.availability {
  background: var(--paper);
  padding-top: 0;
}
.availability__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 40px 80px -60px rgba(0, 0, 0, 0.45);
}

/* ============================ ABOUT ============================ */
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__frame {
  border-radius: 18px;
  overflow: hidden;
}
.about__frame img {
  width: 100%;
  height: auto;
}
.about__sub {
  font-weight: 800;
  color: var(--ink);
  font-size: var(--fs-lead);
  margin: 1rem 0 1.5rem;
}
.about__body p + p {
  margin-top: 1.1rem;
}
.about__body {
  color: var(--ink-2);
}

/* ============================ PULL QUOTE ============================ */
.pquote__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pquote__mark {
  width: 38px;
  height: 24px;
  margin-bottom: 1.5rem;
}
.pquote__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.35rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: var(--tracking-snug);
}
.pquote__rule {
  display: block;
  width: 46px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.75rem 0 1rem;
}
.pquote__cite {
  font-weight: 700;
  color: var(--ink);
}

/* ============================ STATS ============================ */
.stats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats__item {
  text-align: center;
  padding: 0.5rem clamp(0.5rem, 2vw, 1.5rem);
  position: relative;
}
.stats__item + .stats__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--line);
}
.stats__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-stat);
  color: var(--accent);
  line-height: 1;
}
.stats__label {
  display: block;
  margin-top: 0.75rem;
  color: var(--ink-2);
  font-size: var(--fs-body);
}

/* ============================ TOPICS ============================ */
.topics__list {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  max-width: 1040px;
  margin-inline: auto;
}

/* ============================ AUDIENCES ============================ */
.audiences__grid {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* ============================ WATCH ============================ */
.watch__player {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 1000px;
  margin-inline: auto;
}
.watch__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}
.watch__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.watch__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.watch__play svg {
  width: 34px;
  height: 34px;
  margin-left: 3px;
}
.watch__play:hover {
  transform: scale(1.08);
  background: var(--accent-deep);
}
.watch__thumbs {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.5rem, 1.5vw, 1rem);
}
.watch__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease), outline-color var(--dur-fast) var(--ease);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.watch__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.watch__thumb:hover,
.watch__thumb.is-active {
  opacity: 1;
}
.watch__thumb.is-active {
  outline-color: var(--accent);
}

/* Real self-hosted video block + static 4-col gallery (task 86d3rn8rc). The
   stage now holds a native <video> (poster = former cover image); the row
   below is a static 4-column image gallery (no thumbnail-swap interaction). */
.watch__stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #111;
}
.watch__gallery {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1.5vw, 1rem);
}
.watch__gallery li {
  margin: 0;
}
.watch__shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
}
.watch__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================ WHY (PROOF) ============================ */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.why__head h2 {
  font-size: var(--fs-h2);
}
.why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2.5rem;
  row-gap: 1.5rem;
  align-items: center;
}
.why__list-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.why__list-label {
  margin-bottom: 0.6rem;
}
.why__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: var(--fs-lead);
  color: var(--ink);
}
.why__check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
}
.why__check svg {
  width: 100%;
  height: 100%;
}

/* Engagements column: distinct "track record" card, per client approval on 86d43gy69 */
.why__list-col--engagements {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.625rem;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  gap: 0;
  align-items: stretch;
}
.why__list-col--engagements .why__item {
  display: block;
  width: 100%;
  padding: 0.5625rem 0;
  border-bottom: 1px solid var(--line);
}
.why__list-col--engagements .why__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.why__list-col--engagements .why__check {
  display: none;
}
/* :not(.why__list-label) — the column label also carries .kicker; without the
   exclusion this rule (0,2,0) out-specifies .kicker (0,1,0) and the label
   rendered 16px/500 while every other kicker on the site is 14px/700 caps.
   Task 86d43mzz1. */
.why__list-col--engagements .bde-text:not(.why__list-label) {
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--ink-2);
}

/* ============================ TESTIMONIALS ============================ */
.testimonials .carousel {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.testimonial {
  border: 1.5px solid var(--accent);
  border-radius: 18px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--paper);
  height: 100%;
}
.testimonial__mark {
  width: 40px;
  height: 25px;
}
.testimonial__quote {
  font-weight: 600;
  font-size: var(--fs-lead);
  color: var(--ink);
  flex: 1 1 auto;
}
.testimonial__name {
  font-weight: 700;
  color: var(--ink);
}
.testimonial__role {
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* ============================ BOOK ============================ */
.book {
  position: relative;
  overflow: hidden;
}
.book::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 100% 60%, rgba(240, 90, 30, 0.4), transparent 55%);
  pointer-events: none;
}
.book__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.book__media img {
  width: 100%;
  height: auto;
  max-width: 320px;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.5));
}
.book__copy h2 {
  font-size: var(--fs-h2);
  margin: 0.6rem 0 1.25rem;
}
.book__copy p {
  color: var(--on-dark-soft);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* ============================ CONTACT ============================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.contact__copy h2 {
  font-size: var(--fs-h2);
  margin-bottom: 1.25rem;
}
.contact__copy p {
  color: var(--ink-2);
  max-width: 44ch;
}
.contact__form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 40px 80px -55px rgba(0, 0, 0, 0.45);
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__media {
    justify-self: center;
    max-width: 440px;
  }
  .about__inner,
  .why__inner,
  .book__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .about__media {
    max-width: 360px;
  }
  .book__media {
    order: -1;
    justify-self: center;
  }
  .audiences__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }
  .stats__item:nth-child(odd)::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .why__list {
    grid-template-columns: 1fr;
  }
  .testimonials .carousel {
    --per-view: 1 !important;
  }
  .watch__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
  .watch__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .stats__item::before {
    display: none !important;
  }
  .watch__thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .watch__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
