/* ==========================================================================
   Learn-page webinar block
   A mid-page variant of the VCA banner (assets/css/banner-vca.css supplies the
   base composition). This layer adds the coming-soon chip, the write-up, the
   register CTA and the HubSpot modal, and re-seats the section below the
   academy hero instead of under the fixed header.
   ========================================================================== */

/* Mid-page seating — shared by the Learn block and the homepage's
   second-section banner: no fixed header to clear, so the deep top padding
   goes. The section above is white, so the block opens on its own hairline. */
.vca-banner.vca-mid {
  padding: 88px 0 150px;
  min-height: 0;
  border-top: 1px solid rgba(7, 49, 73, 0.08);
}

/* ---------------------------------------------------------------- chip */

.wbl-chip {
  /* Block-level flex so the lockup beneath starts its own line. */
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.wbl-chip-kind {
  color: var(--vca-mint);
  padding: 9px 14px;
  border: 1px solid var(--vca-hairline);
  border-radius: 999px;
}

.wbl-chip-state {
  color: #04202f;
  background: linear-gradient(120deg, var(--vca-warm), var(--vca-orange));
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

/* -------------------------------------------------------------- write-up */

.wbl-writeup {
  max-width: 56ch;
  margin: 22px 0 0;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--vca-text-mute);
}

/* The speakers row sits a touch closer to the write-up than it does to the
   headline in the hero banner. */
.vca-learn .vca-speakers { margin-top: 30px; }

/* --------------------------------------------------------------- register */

.wbl-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

/* .wbl-register is a behaviour hook only (webinar-learn.js binds the modal
   to it) — all visual styling comes from .vcb-register in banner-vca.css so
   every register CTA renders identically. The old pill rules that used to
   live here overrode the v2 button and made the two pages inconsistent. */

.wbl-cta-note {
  margin: 0;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: var(--vca-text-mute);
  white-space: nowrap;
}

/* Entrance: ride the banner's arming sequence like its siblings. */
.vca-banner.vca-armed .wbl-chip { animation: vca-rise 0.5s ease-out 0.1s both; }
.vca-banner.vca-armed .wbl-writeup { animation: vca-rise 0.5s ease-out 0.26s both; }
.vca-banner.vca-armed .wbl-cta-row { animation: vca-rise 0.56s ease-out 0.6s both; }

/* ------------------------------------------------------------------ modal */

/* Above every site overlay — the floating workshop CTA and scroll-top
   button carry four-digit z-indexes of their own. */
.wbl-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  /* The dialog is portaled to <body> (see webinar-learn.js), so it no longer
     inherits the banner's brand tokens — it carries its own copy. */
  --vca-navy: #073149;
  --vca-teal: #27bfd4;
  --vca-orange: #fe6710;
  --vca-warm: #ffc469;
}
.wbl-modal[hidden] { display: none; }

.wbl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 22, 33, 0.72);
  backdrop-filter: blur(3px);
}

.wbl-modal-card {
  position: relative;
  width: min(520px, calc(100vw - 40px));
  max-height: min(640px, calc(100vh - 80px));
  overflow: auto;
  margin: 10vh auto 0;
  padding: 34px 34px 30px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(3, 22, 33, 0.45);
}

.wbl-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 49, 73, 0.06);
  color: #073149;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wbl-modal-close:hover { background: rgba(7, 49, 73, 0.12); }

.wbl-modal-title {
  margin: 0 0 14px;
  font-family: var(--font-display, "Recoleta", Georgia, serif);
  font-weight: 600;
  font-size: 26px;
  color: #073149;
}

/* Once the success state is up, everything in the card is centred — the
   title joins it. */
.wbl-modal.is-success .wbl-modal-title { text-align: center; }

.wbl-modal-placeholder {
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(7, 49, 73, 0.28);
  border-radius: 12px;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(7, 49, 73, 0.66);
  background: rgba(7, 49, 73, 0.03);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1199px) {
  .vca-banner.vca-mid { padding: 72px 0 132px; }
}

@media (max-width: 767px) {
  .vca-banner.vca-mid { padding: 60px 0 116px; }
  .wbl-chip { flex-wrap: wrap; row-gap: 8px; }
  .wbl-cta-row { align-items: flex-start; flex-direction: column; }
  /* The single-line note doesn't fit a phone column. */
  .wbl-cta-note { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .wbl-register,
  .wbl-register-icon { transition: none; }
}

/* ---------------------------------------------------- registration form */

.wbl-modal-sub {
  margin: 0 0 20px;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(7, 49, 73, 0.7);
}

.wbl-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wbl-form-grid input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(7, 49, 73, 0.18);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 14.5px;
  color: #073149;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wbl-form-grid input::placeholder { color: rgba(7, 49, 73, 0.45); }

.wbl-form-grid input:focus {
  outline: none;
  border-color: var(--vca-teal, #27bfd4);
  box-shadow: 0 0 0 3px rgba(39, 191, 212, 0.18);
}

.wbl-form-wide { grid-column: 1 / -1; }

/* Country combobox. The list is absolute inside the field rather than the
   card, so it tracks the input when the card scrolls; its own cap keeps it
   from running past the card's fold on a short viewport. */
.wbl-combo { position: relative; }

.wbl-combo-input { padding-right: 38px !important; }

.wbl-combo::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(7, 49, 73, 0.4);
  border-bottom: 2px solid rgba(7, 49, 73, 0.4);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.wbl-combo-list {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 208px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(7, 49, 73, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(3, 22, 33, 0.2);
}

.wbl-combo-opt {
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 14.5px;
  color: #073149;
  cursor: pointer;
}

.wbl-combo-opt.is-active,
.wbl-combo-opt:hover { background: rgba(39, 191, 212, 0.14); }

/* The run that matched what was typed. */
.wbl-combo-opt b { font-weight: 700; color: #0b7f92; }

.wbl-combo-empty {
  padding: 10px 12px;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 13.5px;
  color: rgba(7, 49, 73, 0.55);
}

.wbl-combo-error {
  margin: 12px 0 0;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 13.5px;
  line-height: 1.5;
  color: #d43f0e;
}

.wbl-form-error {
  margin: 12px 0 0;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 13.5px;
  line-height: 1.5;
  color: #d43f0e;
}

.wbl-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  border-radius: 12px;
  font-size: 16px;
}

.wbl-form-consent {
  margin: 14px 0 0;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(7, 49, 73, 0.5);
}

/* ------------------------------------------------------- success state
   Choreographed: the ring draws itself, the tick follows, then the title,
   email chip and next-step rows rise in one after another. The animations
   restart every time the state is revealed. */

#wbl-success { text-align: center; padding: 4px 2px 4px; }

.wbl-success-icon {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  animation: wbl-pop 0.5s cubic-bezier(0.34, 1.5, 0.5, 1) both;
}

.wbl-success-icon svg { width: 100%; height: 100%; display: block; }

.wbl-success-ring {
  fill: rgba(39, 191, 212, 0.09);
  stroke: #0f9db4;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: wbl-draw 0.6s ease-out 0.15s forwards;
}

.wbl-success-tick {
  fill: none;
  stroke: #0f9db4;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: wbl-draw 0.35s ease-out 0.6s forwards;
}

/* One soft ripple as the tick lands. */
.wbl-success-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(39, 191, 212, 0.35);
  animation: wbl-ripple 0.9s ease-out 0.7s 1;
}

@keyframes wbl-draw { to { stroke-dashoffset: 0; } }

@keyframes wbl-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes wbl-ripple {
  from { box-shadow: 0 0 0 0 rgba(39, 191, 212, 0.35); }
  to { box-shadow: 0 0 0 22px rgba(39, 191, 212, 0); }
}

@keyframes wbl-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.wbl-success-title {
  margin: 0 0 14px;
  font-family: var(--font-display, "Recoleta", Georgia, serif);
  font-weight: 600;
  font-size: 26px;
  color: #073149;
  animation: wbl-rise 0.45s ease-out 0.3s both;
}

.wbl-success-mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(39, 191, 212, 0.1);
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 14px;
  color: #073149;
  animation: wbl-rise 0.45s ease-out 0.42s both;
}

.wbl-success-mail i { color: #0f9db4; font-size: 13px; }
.wbl-success-mail b { font-weight: 700; }

.wbl-success-steps {
  margin: 0;
  padding: 20px 2px 0;
  border-top: 1px solid rgba(7, 49, 73, 0.1);
  list-style: none;
  display: grid;
  gap: 14px;
  text-align: left;
}

.wbl-success-steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.wbl-success-steps li:nth-child(1) { animation: wbl-rise 0.45s ease-out 0.55s both; }
.wbl-success-steps li:nth-child(2) { animation: wbl-rise 0.45s ease-out 0.68s both; }

.wbl-step-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(7, 49, 73, 0.05);
  color: #0f9db4;
  font-size: 13px;
}

.wbl-step-text {
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(7, 49, 73, 0.7);
  padding-top: 1px;
}

.wbl-step-text b { color: #073149; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .wbl-success-icon,
  .wbl-success-title,
  .wbl-success-mail,
  .wbl-success-steps li { animation: none; }
  .wbl-success-ring,
  .wbl-success-tick { animation: none; stroke-dashoffset: 0; }
  .wbl-success-icon::after { animation: none; }
}

@media (max-width: 520px) {
  .wbl-form-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------- human check */

.wbl-captcha {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(7, 49, 73, 0.14);
  border-radius: 12px;
  background: #fbfcfd;
  box-shadow: 0 1px 3px rgba(7, 49, 73, 0.06);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wbl-captcha:hover {
  border-color: rgba(39, 191, 212, 0.55);
  box-shadow: 0 3px 10px rgba(7, 49, 73, 0.09);
}

.wbl-captcha:hover .wbl-captcha-box {
  border-color: rgba(39, 191, 212, 0.75);
}

.wbl-captcha-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wbl-captcha-box {
  position: relative;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(7, 49, 73, 0.28);
  border-radius: 7px;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.wbl-captcha-check {
  width: 15px;
  height: 15px;
  color: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* Verifying: the border spins as a ring. */
.wbl-captcha.is-verifying .wbl-captcha-box {
  border-color: transparent;
}

.wbl-captcha.is-verifying .wbl-captcha-box::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(39, 191, 212, 0.25);
  border-top-color: var(--vca-teal, #27bfd4);
  border-radius: 50%;
  animation: wbl-captcha-spin 0.7s linear infinite;
}

@keyframes wbl-captcha-spin {
  to { transform: rotate(360deg); }
}

/* Verified: teal fill, check pops in. */
.wbl-captcha.is-verified .wbl-captcha-box {
  border-color: #0f9db4;
  background: #0f9db4;
}

.wbl-captcha.is-verified .wbl-captcha-check {
  opacity: 1;
  transform: scale(1);
}

.wbl-captcha-label {
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(7, 49, 73, 0.82);
}

/* Quiet mark on the right balances the row, the way real captcha widgets
   carry their badge. Neutral — not anyone's branding. */
.wbl-captcha-brand {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(7, 49, 73, 0.38);
}

.wbl-captcha-shield { width: 20px; height: 20px; }

.wbl-captcha-brand-text {
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wbl-captcha.is-verified .wbl-captcha-brand { color: #0f9db4; }

.wbl-captcha:has(.wbl-captcha-input:focus-visible) .wbl-captcha-box {
  outline: 2px solid var(--vca-teal, #27bfd4);
  outline-offset: 2px;
}

.wbl-captcha-error {
  margin: 10px 0 0;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 13.5px;
  line-height: 1.5;
  color: #d43f0e;
}

@media (prefers-reduced-motion: reduce) {
  .wbl-captcha.is-verifying .wbl-captcha-box::after { animation: none; }
  .wbl-captcha-check { transition: none; }
}

/* ==========================================================================
   Webinar body — the main content section between the hero and the blogs.
   Copy supplied by infer360 (12 Aug). Minimalist editorial treatment: scale
   and whitespace carry the hierarchy — a large lede, the uncomfortable
   question as the display centrepiece, and open numbered columns with
   drawn-in hairlines instead of boxed cards.
   ========================================================================== */

.wbn-body {
  --vca-navy: #073149;
  --vca-teal: #27bfd4;
  --vca-orange: #fe6710;
  background: #fff;
  padding: 118px 0 128px;
  text-align: center;
}

.wbn-eyebrow {
  margin: 0 0 22px;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--vca-teal);
}

.wbn-eyebrow::before { content: "// "; }

.wbn-title {
  margin: 0 auto 56px;
  max-width: 24ch;
  font-family: var(--font-display, "Recoleta", Georgia, serif);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--vca-navy);
}

.wbn-title-era {
  display: block;
  margin-top: 6px;
  color: var(--vca-teal);
}

/* ----------------------------------------------------------------- lede */

.wbn-lede {
  margin: 0 auto;
  max-width: 58ch;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(7, 49, 73, 0.78);
}

/* ------------------------------------------------------------- question */

/* The emotional pivot of the copy — it gets the display treatment. */
.wbn-question {
  margin: 72px auto;
  max-width: 44ch;
  display: grid;
  gap: 18px;
}

.wbn-question-tag {
  justify-self: center;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(7, 49, 73, 0.45);
}

/* A short teal rule anchors the tag without boxing anything. */
.wbn-question-tag::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 14px auto 0;
  background: var(--vca-teal);
}

.wbn-question p {
  margin: 0;
  font-family: var(--font-display, "Recoleta", Georgia, serif);
  font-weight: 600;
  font-size: clamp(21px, 2.1vw, 31px);
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--vca-navy);
}

.wbn-question b {
  font-weight: 600;
  color: var(--vca-teal);
}

/* ---------------------------------------------------------------- close */

.wbn-close {
  margin: 0 auto;
  max-width: 68ch;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.7;
  color: rgba(7, 49, 73, 0.66);
}

/* --------------------------------------------------------------- attend */

.wbn-attend-zone { margin-top: 96px; }

.wbn-attend { margin-bottom: 44px; }

.wbn-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
  text-align: left;
}

/* Open columns: a hairline that draws itself in, a numeral, and type —
   no boxes. */
.wbn-card {
  position: relative;
  padding-top: 26px;
}

.wbn-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(7, 49, 73, 0.16);
  transform: scaleX(0);
  transform-origin: left center;
  transition: background-color 0.3s ease;
}

.wbn-body.is-in .wbn-card::before { animation: wbn-line 0.9s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
.wbn-body.is-in .wbn-card:nth-child(1)::before { animation-delay: 0.35s; }
.wbn-body.is-in .wbn-card:nth-child(2)::before { animation-delay: 0.5s; }
.wbn-body.is-in .wbn-card:nth-child(3)::before { animation-delay: 0.65s; }

@keyframes wbn-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.wbn-card:hover::before { background: var(--vca-teal); }

.wbn-num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display, "Recoleta", Georgia, serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--vca-teal);
}

.wbn-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--vca-navy);
}

.wbn-card p {
  margin: 0;
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(7, 49, 73, 0.62);
}

.wbn-cta { margin-top: 84px; }

/* ------------------------------------------------- scroll-in choreography */

.wbn-body.is-in .wbn-reveal { animation: wbn-rise 0.6s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
.wbn-body.is-in .wbn-title { animation-delay: 0.08s; }
.wbn-body.is-in .wbn-lede { animation-delay: 0.16s; }
.wbn-body.is-in .wbn-question { animation-delay: 0.26s; }
.wbn-body.is-in .wbn-close { animation-delay: 0.34s; }
.wbn-body.is-in .wbn-attend { animation-delay: 0.3s; }
.wbn-body.is-in .wbn-card { opacity: 0; animation: wbn-rise 0.6s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
.wbn-body.is-in .wbn-cards .wbn-card:nth-child(1) { animation-delay: 0.4s; }
.wbn-body.is-in .wbn-cards .wbn-card:nth-child(2) { animation-delay: 0.55s; }
.wbn-body.is-in .wbn-cards .wbn-card:nth-child(3) { animation-delay: 0.7s; }
.wbn-body.is-in .wbn-cta { animation-delay: 0.8s; }

@keyframes wbn-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 991px) {
  .wbn-body { padding: 80px 0 92px; }
  .wbn-title { margin-bottom: 40px; }
  .wbn-question { margin: 52px auto; }
  .wbn-attend-zone { margin-top: 68px; }
  .wbn-cards { grid-template-columns: 1fr; gap: 34px; }
  .wbn-cta { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .wbn-body.is-in .wbn-reveal,
  .wbn-body.is-in .wbn-card { animation: none; opacity: 1; }
  .wbn-card::before { transform: scaleX(1); animation: none !important; }
}

/* ==========================================================================
   Video series — the Learn hero's shape
   The approved composition is untouched on the left (chip, lockup, headline,
   write-up, Register CTA); the right of the top band carries one feature
   video, and three smaller ones sit beneath it, so the hierarchy reads
   one-then-three. Thumbnails stay blurred until the videos exist — the whole
   section is a coming-soon state, and every card opens registration.
   ========================================================================== */

.vca-banner.vcb-hero.vcb-videos { padding-bottom: clamp(64px, 6vw, 92px); }

/* The navy field still bleeds edge to edge, but its content stops where the
   blogs and team sections below stop — 1320px of content inside the 116px
   gutter — so the whole page shares one left edge on large displays. Below
   ~1550px the viewport is narrower than the cap and nothing changes, which
   leaves the approved 1440 composition exactly as it was. Scoped to this
   hero: the homepage banner keeps its own full-bleed seating. */
.vcb-videos .vca-shell {
  max-width: 1552px;
  margin-inline: auto;
}

/* ------------------------------------------------------------- top band */

.vcv-top {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}

.vcv-intro,
.vcv-feature { min-width: 0; }

/* ---------------------------------------------------------------- cards */

.vcv-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-body, "Creato Display", sans-serif);
}

.vcv-card:focus-visible {
  outline: 2px solid var(--vca-teal);
  outline-offset: 5px;
  border-radius: 18px;
}

/* The frame carries .vcb-player's job — the card button replaces that element,
   so its glass edge is restated here rather than reinvented: same border, same
   inset top highlight that lights the pane, same lift on hover. */
.vcv-thumb {
  --vcv-blur: 9px;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 18px 44px rgba(2, 14, 24, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* The interior is the approved coming-soon player, verbatim: the frosted
   glass and its travelling sheen, the pulsing play mark, the COMING SOON
   lockup with its sub-line, and the control bar with the patrolling fill.
   Those rules all live in banner-vca.css — everything here only sizes them
   to the card they sit in. */

/* Unreleased on purpose: the still is defocused on top of the player's own
   dimming, so the card reads as a video that has not landed yet rather than a
   thumbnail someone forgot to swap. The scale hides the soft edge the blur
   leaves against the frame. */
.vcv-thumb .vcb-player-poster img {
  /* The player dimmed its poster to 0.42 because nothing else obscured it.
     The blur now does that work, so the still comes back up — dimming it
     twice leaves an empty grey pane instead of an out-of-focus frame. */
  opacity: 0.62;
  filter: blur(var(--vcv-blur)) saturate(0.9);
  transform: scale(1.14);
}

/* The dispute-props artwork is a cut-out: seat it on the field like the old
   player did instead of cropping it to fill the frame. */
.vcv-thumb-props .vcb-player-poster img {
  object-fit: contain;
  object-position: center bottom;
  padding: 9% 7% 0;
  transform: scale(1.04);
}

.vcv-card:hover .vcv-thumb,
.vcv-card:focus-visible .vcv-thumb {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 24px 54px rgba(2, 14, 24, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* The player's own hover rules key off .vcb-player, which the card replaces —
   restate them so the poster lifts and the play mark warms as before. */
.vcv-card:hover .vcb-player-poster img { opacity: 0.72; transform: scale(1.19); }
.vcv-card:hover .vcv-thumb-props .vcb-player-poster img { transform: scale(1.08); }

.vcv-card:hover .vcb-player-play,
.vcv-card:focus-visible .vcb-player-play {
  transform: scale(1.08);
  background: rgba(254, 103, 16, 0.85);
  border-color: rgba(255, 255, 255, 0.55);
}

/* -------------------------------------------------------- feature card */

.vcv-card-lg .vcv-thumb {
  --vcv-blur: 13px;
  border-radius: 20px;
  box-shadow:
    0 28px 70px rgba(2, 14, 24, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.vcv-card-lg:hover .vcv-thumb,
.vcv-card-lg:focus-visible .vcv-thumb {
  box-shadow:
    0 34px 80px rgba(2, 14, 24, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* The caption under the feature card carries the section's two promises, so
   it stays with the video rather than repeating on all four. */
.vcv-feature { margin: 0; }
.vcv-feature .vcb-player-meta { justify-content: flex-start; }

/* ------------------------------------------------- rail-scale player chrome */

/* A rail card is roughly a third of the feature card's width, so the chrome
   steps down with it — same parts, same order, smaller. */
.vcv-rail .vcb-player-play {
  width: 46px;
  font-size: 14px;
}

.vcv-rail .vcb-player-coming {
  font-size: 11.5px;
  letter-spacing: 0.2em;
}

.vcv-rail .vcb-player-center {
  gap: 10px;
  padding-bottom: 32px;
}

.vcv-rail .vcb-player-bar {
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 34px;
  padding: 0 12px;
  gap: 10px;
  border-radius: 10px;
  font-size: 10px;
}

.vcv-rail .vcb-player-time { font-size: 10px; }
.vcv-rail .vcb-player-ico { width: 13px; height: 13px; }

/* Three tiles animating in unison turned the rail into a light show and pulled
   the eye off the feature card, so the rail runs still: no travelling track
   fill, no sheen crossing the glass. Both stay on the feature card alone. The
   play button keeps its pulse — one moving thing per tile is the point.
   The glass itself is untouched; only the sweep that rides across it goes. */
.vcv-rail .vcb-player-fill { display: none; }
.vcv-rail .vcb-player-glass::after { display: none; }

/* ------------------------------------------- rail-scale consent notice */

/* The YouTube consent notice is sized for the feature card; on a rail tile it
   filled the whole 16:9 box and let the poster lettering read through it.
   Same content, smaller, and a denser scrim so the notice owns the tile. */
.vcv-rail .gated-youtube-overlay { background: rgba(7, 49, 73, 0.92); }
.vcv-rail .gated-youtube-notice { padding: 10px 14px; max-width: 300px; }
.vcv-rail .gated-youtube-icon { font-size: 20px; margin-bottom: 6px; }
.vcv-rail .gated-youtube-notice p { font-size: 12px; line-height: 1.4; margin-bottom: 8px; }
.vcv-rail .gated-youtube .consent-btn { padding: 8px 14px; font-size: 12px; }
.vcv-rail .gated-youtube-manage { font-size: 11px !important; margin: 6px 0 0 !important; }

/* ------------------------------------------------------------ the rail */

.vcv-rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 30px);
  margin: clamp(40px, 4.4vw, 64px) 0 0;
  padding: 0;
}

/* The numeral hangs in its own gutter and the title and copy share a single
   text axis, so the card has one left edge to read down instead of a title
   pushed right by its label. The gutter is fixed rather than sized off the
   type, which keeps that axis identical across all three cards. */
.vcv-body {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: baseline;
  row-gap: 7px;
  padding: 16px 2px 0;
}

.vcv-num {
  grid-column: 1;
  grid-row: 1;
  color: var(--vca-teal);
  font-family: var(--font-body, "Creato Display", sans-serif);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.vcv-title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display, "Recoleta", Georgia, serif);
  font-size: clamp(17px, 1.32vw, 21px);
  line-height: 1.3;
  color: #fff;
}

/* One short line of what the session covers — kept to two lines at every card
   width so the rail stays level. */
.vcv-sub {
  grid-column: 2;
  grid-row: 2;
  /* Holds the measure near 45 characters: comfortable to read, and it lands
     all three descriptions on two lines so the rail bottoms out level. */
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--vca-text-mute);
}

/* -------------------------------------------------------- takeaways row */

/* Same copy, same treatment as the approved column — laid out as a row so it
   closes the section instead of competing with the videos. */
.vcv-takeaways {
  margin-top: clamp(48px, 5vw, 76px);
  padding-top: clamp(32px, 3.4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.vcv-tk-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

/* Row-scale, not column-scale: the hero type would shout down here. */
.vcb-videos .vcv-tk-row li {
  font-size: clamp(15px, 1.15vw, 17.5px);
  padding-left: 28px;
  line-height: 1.5;
}

.vcb-videos .vcv-tk-row li::before { top: 0.42em; width: 10px; height: 10px; }

/* ------------------------------------------------------------- entrance */

.vca-banner.vca-armed .vcv-feature { animation: vca-rise 0.7s ease-out 0.42s both; }
.vca-banner.vca-armed .vcv-item { animation: vca-rise 0.6s ease-out both; }
.vca-banner.vca-armed .vcv-item:nth-child(1) { animation-delay: 0.56s; }
.vca-banner.vca-armed .vcv-item:nth-child(2) { animation-delay: 0.66s; }
.vca-banner.vca-armed .vcv-item:nth-child(3) { animation-delay: 0.76s; }

/* ----------------------------------------------------------- responsive */

@media (max-width: 1199px) {
  .vcv-top { gap: 32px; align-items: start; }
  .vcv-card-lg .vcb-player-sub { display: none; }
}

@media (max-width: 991px) {
  .vcv-top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .vcv-feature { max-width: 640px; }
  .vcv-rail {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    gap: 34px;
  }
  .vcv-tk-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .vca-banner.vca-armed .vcv-feature,
  .vca-banner.vca-armed .vcv-item { animation: none; }
  .vcv-thumb,
  .vcv-thumb .vcb-player-poster img { transition: none; }
}
