/* Webinar landing page (/webinar) — hero + session picker, the magenta
   highlights band, and the giveaway band. Loaded alongside tokens.css,
   base.css and chrome.css. */

/* -------- hero + registration -------- */
.wb-hero{
  background: var(--cream);
  padding: clamp(44px, 6vw, 86px) 0 clamp(52px, 7vw, 96px);
}
.wb-hero-grid{
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.wb-hero h1{
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  margin-bottom: .18em;
}
.wb-hero-logo{
  width: clamp(230px, 27vw, 330px);
  height: auto;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}

.wb-meta{
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  padding: 0;
  margin: 0 0 clamp(16px, 2vw, 22px);
}
.wb-meta li{
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 12px;
  font-size: .88rem; font-weight: 600;
  color: var(--ink-2);
}
.wb-meta li svg{ color: var(--magenta); flex: none; }
.wb-meta-free{
  background: var(--magenta-soft);
  border-color: transparent;
  color: var(--magenta-deep);
}
.wb-meta-free svg{ color: var(--magenta-deep); }

.wb-lead{
  max-width: 52ch;
  margin-bottom: clamp(22px, 3vw, 32px);
}

/* -------- the register control -------- */
.wb-register{ margin: 0; }
.wb-register-row{
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 12px;
}
.wb-select-wrap{
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
}
.wb-select-label{
  display: block;
  margin-bottom: 6px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3);
}
.wb-select{
  appearance: none; -webkit-appearance: none;
  width: 100%;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 42px 14px 16px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wb-select:hover{ border-color: var(--magenta); }
.wb-select:focus-visible{
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-soft);
}
/* The placeholder option is disabled, so this only shows before a choice. */
.wb-select:invalid{ color: var(--ink-3); font-weight: 500; }
.wb-select-chevron{
  position: absolute; right: 15px; bottom: 17px;
  color: var(--magenta);
  pointer-events: none;
}
.wb-register-btn{ flex: none; padding-top: 15px; padding-bottom: 15px; }

.wb-tz{
  margin: 12px 0 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-3);
  min-height: 1.4em;
}

/* -------- hero artwork -------- */
.wb-hero-art img{
  width: 100%; height: auto;
  margin-inline-start: auto;
}

/* -------- workshop highlights -------- */
.wb-highlights{
  background: var(--magenta);
  color: white;
  padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 8vw, 100px);
}
.wb-highlights h2{
  color: white;
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.wb-highlight-grid{
  list-style: none;
  padding: 0; margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 30px) clamp(24px, 4vw, 52px);
}
.wb-highlight-grid li{
  display: flex; align-items: flex-start; gap: 13px;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.45;
  color: white;
}
.wb-check{
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  background: white;
  color: var(--magenta);
  display: grid; place-items: center;
}

/* -------- giveaway -------- */
.wb-giveaway{
  background: var(--cream);
  padding: clamp(44px, 6vw, 86px) 0;
}
.wb-giveaway-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.wb-giveaway h2{
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  margin-bottom: clamp(20px, 2.6vw, 30px);
}
.wb-giveaway h2 em{
  font-style: italic;
  color: var(--magenta);
}
.wb-giveaway-art img{
  width: 100%; height: auto;
  margin-inline-start: auto;
}

/* -------- scroll reveal (site.js adds .in) -------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal.delay-1{ transition-delay: .08s; }
.reveal.delay-2{ transition-delay: .16s; }
.reveal.delay-3{ transition-delay: .24s; }
.reveal.from-left{ transform: translateX(-32px); }
.reveal.from-left.in{ transform: translateX(0); }
.reveal.scale-in{ transform: scale(.96); }
.reveal.scale-in.in{ transform: scale(1); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform: none !important; transition: none !important; }
}

/* -------- responsive -------- */
@media (max-width: 900px){
  .wb-hero-grid,
  .wb-giveaway-grid{ grid-template-columns: 1fr; }
  .wb-hero-art{ order: -1; }
  .wb-hero-art img,
  .wb-giveaway-art img{ max-width: 440px; margin-inline: auto; }
  .wb-highlight-grid{ grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 560px){
  .wb-register-row{ flex-direction: column; align-items: stretch; }
  /* Stacked, the row's main axis is vertical — leave the 280px flex-basis on
     the horizontal layout, or it becomes a 280px-tall select wrapper and the
     chevron drifts away from the control. */
  .wb-select-wrap{ flex: 0 0 auto; }
  .wb-register-btn{ justify-content: center; }
}
