/* Partners and webinar pages. Loaded after styles.css and reuses its tokens and components. */

/* ---------- shared ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.kicker::before { content: ""; width: 1.6rem; height: 3px; background: currentColor; transform: skewX(var(--skew)); }
.kicker--light { color: #fff; }

.nav__links--page { display: none; }
@media (min-width: 900px) { .nav__links--page { display: flex; } }

/* Wide CTA on phones, same gutter left and right */
@media (max-width: 619px) {
  .page-hero__actions .btn { width: 100%; }
  .page-hero__actions .btn__label { flex: 1; justify-content: center; padding-left: 1.2rem; }
}

/* ---------- partners: hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: clip; background: var(--white); }
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4rem);
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 6rem) var(--gutter) clamp(3.5rem, 8vw, 7rem);
}
.page-hero__copy { display: grid; gap: 1.25rem; align-content: start; }
.page-hero__title {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2.2rem, 0.9rem + 5.6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-hero__title em { font-style: normal; color: var(--brand); }
.page-hero__sub { max-width: 46ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.5; color: var(--text-muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 0.5rem; }
.page-hero__photo { position: relative; isolation: isolate; width: min(100%, 520px); justify-self: center; }
.page-hero__photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -12% -6% 26%;
  background: linear-gradient(180deg, var(--brand-bright), var(--brand) 60%, var(--brand-deep));
  transform: skewX(var(--skew));
}
.page-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) contrast(1.1); }
@media (min-width: 900px) {
  .page-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
}

/* ---------- partners: what clients get ---------- */
.gets { background: var(--ink); color: #fff; }
.gets__inner { max-width: var(--max); margin-inline: auto; padding: var(--section) var(--gutter); }
.gets .lede { color: var(--on-ink-soft); margin-top: 1rem; }
.gets__list {
  display: grid;
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.16);
}
.gets__list li { display: grid; gap: 0.5rem; align-content: start; padding: clamp(1.4rem, 3vw, 2rem); background: var(--ink); }
.gets__list svg { width: 1.6rem; height: 1.6rem; fill: var(--brand-bright); }
.gets__list h3 { font-weight: 900; font-stretch: 122%; font-size: 1.15rem; line-height: 1.1; text-transform: uppercase; }
.gets__list p { color: var(--on-ink-soft); }
.gets__fine { margin-top: 1.5rem; font-size: 0.85rem; color: var(--on-ink-soft); max-width: 70ch; }
@media (min-width: 700px) { .gets__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gets__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gets :focus-visible { outline-color: #fff; }

@media (min-width: 900px) { .services__lead { position: sticky; top: calc(var(--nav-h) + 2rem); } }

/* Choice pills inside a light form panel: let long labels wrap */
.form .choice label { white-space: normal; }

/* ---------- webinar: hero with registration ---------- */
.wb-nav .nav__inner { justify-content: space-between; }
.wb-nav__note { font-weight: 700; font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 479px) { .wb-nav__note { display: none; } }

.wb-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fff;
  background:
    linear-gradient(114deg, transparent 0 66%, rgb(76 123 224 / 0.22) 66.1% 68%, transparent 68.1%),
    linear-gradient(114deg, var(--brand-deep) 0 22%, transparent 22.1%),
    linear-gradient(180deg, var(--brand-night), var(--ink) 75%);
}
.wb-hero :focus-visible { outline-color: #fff; }
.wb-hero__inner {
  display: grid;
  justify-items: center;
  gap: clamp(1.1rem, 2.4vw, 1.6rem);
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}
.wb-hero .wb-title { max-width: 18ch; }
.wb-hero .wb-sub { color: var(--on-ink-soft); }
.wb-video { width: min(100%, 60rem); margin-top: clamp(0.5rem, 2vw, 1.25rem); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7); }
.wb-hero .wb-when { padding-left: 0; border-left: 0; margin-top: 0.5rem; }
.wb-hero .wb-when__zone { color: var(--on-ink-soft); }
.wb-hero .countdown { width: min(100%, 26rem); }
.wb-hero .countdown div { background: var(--brand); }
.wb-hero .wb-live { justify-self: center; }
.wb-hero__action { display: grid; justify-items: center; gap: 0.7rem; margin-top: 0.4rem; }
/* The one action in the hero: white on dark, larger than every other button */
.wb-hero__cta {
  min-height: 68px;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
}
.wb-hero__cta .btn__label { padding-inline: 2rem 1rem; }
.wb-hero__cta .btn__tip { width: 5rem; }
.wb-hero__micro { font-size: 0.85rem; font-weight: 600; color: var(--on-ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .wb-hero__cta::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #fff;
    opacity: 0;
    pointer-events: none;
    animation: cta-ring 2.8s var(--ease-out) 1.5s infinite;
  }
  .wb-hero__cta:hover::after, .wb-hero__cta:focus-visible::after { animation: none; }
}
@keyframes cta-ring { 0% { opacity: 0.8; scale: 1; } 70%, 100% { opacity: 0; scale: 1.12 1.35; } }
@media (max-width: 619px) {
  .wb-hero__action { width: 100%; }
  .wb-hero__cta { width: 100%; }
  .wb-hero__cta .btn__label { flex: 1; justify-content: center; padding-left: 1.2rem; }
}

.wb-register .apply__inner { align-items: center; }
.wb-register .display { max-width: 14ch; }
.wb-perks { display: grid; gap: 0.7rem; margin-top: 0.5rem; }
.wb-perks li { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.wb-perks svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; fill: #fff; }
@media (min-width: 900px) { .wb-register .apply__copy { position: static; } }
.wb-title {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2rem, 0.9rem + 4.6vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.wb-title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #fff; }
.wb-sub { max-width: 46ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.5; color: var(--on-brand-soft); }

.wb-when {
  display: grid;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 4px solid #fff;
}
.wb-when__date { font-weight: 900; font-stretch: 118%; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); line-height: 1.15; text-transform: uppercase; }
.wb-when__zone { font-size: 0.9rem; color: var(--on-brand-soft); }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; max-width: 26rem; }
.countdown[hidden] { display: none; }
.countdown div {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.7rem 0.25rem 0.6rem;
  background: var(--brand-night);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.countdown dd {
  order: -1;
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-brand-soft); }
.wb-live {
  justify-self: start;
  padding: 0.45rem 0.8rem 0.4rem;
  background: #fff;
  color: var(--brand);
  font-weight: 900;
  font-stretch: 118%;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wb-live[hidden] { display: none; }

.wb-form .form__title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); }
.wb-seats { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; font-weight: 700; color: var(--brand); }
.wb-seats svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.cal-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.wb-join { padding: 0.9rem 1rem; background: var(--paper); font-size: 0.95rem; }
.wb-join a { font-weight: 700; word-break: break-all; }
.wb-join[hidden] { display: none; }

/* ---------- webinar: what you will learn ---------- */
.learn { background: var(--white); }
.learn__inner { max-width: var(--max); margin-inline: auto; padding: var(--section) var(--gutter); }
.learn__list { display: grid; gap: 0; margin-top: clamp(2rem, 4vw, 3rem); border-bottom: 2px solid var(--ink); counter-reset: learn; }
.learn__list li {
  counter-increment: learn;
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  column-gap: 1rem;
  padding-block: 1.5rem;
  border-top: 2px solid var(--ink);
}
.learn__list li::before {
  content: counter(learn, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 2.4rem;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--brand);
}
.learn__list h3 { font-weight: 900; font-stretch: 122%; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); line-height: 1.08; text-transform: uppercase; }
.learn__list p { margin-top: 0.35rem; max-width: 52ch; color: var(--text-muted); }
@media (min-width: 900px) {
  .learn__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .learn__head { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .learn__list { margin-top: 0; }
  .learn__list li { grid-template-columns: 5rem minmax(0, 1fr); }
  .learn__list li::before { font-size: 3.2rem; }
}

/* ---------- webinar: host ---------- */
.host { background: var(--paper); }
.host__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--section) var(--gutter);
}
.host__photo { position: relative; isolation: isolate; width: min(100%, 440px); }
.host__photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 18% -6% -10%;
  background: var(--brand);
  transform: skewX(var(--skew));
}
.host__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.host__copy { display: grid; gap: 1.1rem; align-content: center; }
.host__facts { display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.host__facts li { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 600; }
.host__facts svg { flex-shrink: 0; width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; fill: var(--brand); }
@media (min-width: 900px) { .host__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }

/* ---------- webinar: short footer ---------- */
.wb-footer .footer__inner { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 899.98px) { .wb-footer .footer__inner { padding-bottom: 2.5rem; } }

/* Fit the heading in the narrow sticky column on desktop */
@media (min-width: 900px) { .services__lead .display { font-size: clamp(2rem, 1rem + 2.2vw, 3.4rem); } }
/* Outlined words need extra word spacing to read as separate words */
.wb-title em { word-spacing: 0.12em; }
/* The hero video is on screen at load, so skip the scroll-linked reveal used lower on the homepage */
.wb-hero .video-slot { animation: none; }

/* Longer hero title: smaller type, wider measure; the dollar range never breaks */
.wb-hero .wb-title { max-width: 26ch; font-size: clamp(1.75rem, 0.75rem + 3.4vw, 3.6rem); line-height: 1.02; }
.wb-hero .wb-title em { white-space: nowrap; word-spacing: normal; }
.wb-hero__fine { max-width: 62ch; font-size: 0.78rem; line-height: 1.5; color: var(--on-ink-soft); }
/* Dollar range: solid bright blue reads better than an outline at this length */
.wb-hero .wb-title em { color: var(--brand-bright); -webkit-text-stroke: 0; }
@media (max-width: 619px) { .wb-hero .wb-title { font-size: clamp(1.5rem, 0.9rem + 3vw, 1.9rem); line-height: 1.05; } }

/* Hero title: three lines on tablet and desktop; subline: two lines */
.wb-hero .wb-title { max-width: 30ch; font-size: clamp(1.5rem, 0.1rem + 3.7vw, 3.5rem); }
.wb-hero .wb-sub { max-width: 34ch; }

/* ---------- partners hero video ---------- */
.page-hero__video { width: min(100%, 420px); }
.page-hero__video video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; background: var(--ink); }
@media (min-width: 900px) {
  .page-hero__video { width: min(100%, 380px); }
  .page-hero__video video { aspect-ratio: 9 / 16; }
}
.hv-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: clamp(4rem, 9vw, 5.5rem);
  aspect-ratio: 1;
  border: 0;
  background: #fff;
  color: var(--ink);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  cursor: pointer;
}
.hv-play svg { width: 38%; height: 38%; fill: currentColor; }
.hv-play[hidden], .hv-controls[hidden] { display: none; }
.hv-controls { position: absolute; left: 0.75rem; bottom: 0.75rem; display: flex; gap: 0.5rem; }
.hv-btn {
  min-height: 44px;
  padding: 0 0.9rem;
  border: 0;
  background: rgb(9 13 22 / 0.78);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
}
.hv-btn:hover { background: var(--brand); }
.hv-btn[data-hv-sound][aria-pressed="false"] { background: #fff; color: var(--ink); }
.page-hero__video :focus-visible { outline-color: #fff; outline-offset: -4px; }
