/* Pre-Conference Webinar (#3160). Site tokens from style.css (--navy, --blue,
   --blue-bright, --orange, --soft, --line); Sora for display, Inter for text.
   One moment of motion: the bridge line drawing from the webinar to the conference. */

.wb-hero,
.wb-about,
.wb-speaker,
.wb-agenda,
.wb-register { font-family: "Inter", system-ui, sans-serif; }

.wb-h2,
.wb-h3,
.wb-title,
.wb-question,
.wb-clock b,
.wb-bridge strong,
.wb-soon__title,
.wb-rail h3 { font-family: "Sora", "Inter", sans-serif; }

/* ---------- hero ---------- */
.wb-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 2.25rem 0 3rem;
    background:
        radial-gradient(70rem 30rem at 85% -10%, rgba(18, 101, 232, .45), transparent 60%),
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px,
        var(--navy, #031333);
}

.wb-crumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 2rem; }
.wb-crumb a { color: #fff; text-decoration: none; }
.wb-crumb a:hover, .wb-crumb a:focus-visible { text-decoration: underline; }
.wb-crumb i { font-size: .7rem; }

.wb-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.wb-kind {
    display: inline-flex; align-items: center; gap: .5rem;
    margin: 0 0 1rem; padding: .35rem .8rem;
    border: 1px solid rgba(255, 91, 10, .55); border-radius: 999px;
    color: #ffb48a; font-size: .9rem; font-weight: 600;
}

.wb-title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem);
    font-weight: 700; line-height: 1.12; letter-spacing: -.02em;
    max-width: 22ch;
}

.wb-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 0 0 2rem; padding: 0; color: rgba(255, 255, 255, .88); }
.wb-facts i { color: var(--orange-light, #ff7c2c); margin-right: .35rem; }
.wb-facts abbr { text-decoration: none; border: 0; cursor: help; }

.wb-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.wb-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: .75rem 1.5rem;
    border-radius: 10px; border: 2px solid transparent;
    font-weight: 600; text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.wb-btn--primary { background: var(--orange, #ff5b0a); color: #fff; }
.wb-btn--primary:hover { background: #e24d03; color: #fff; }
.wb-btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.wb-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.wb-btn--block { width: 100%; }
.wb-btn:focus-visible,
.wb-crumb a:focus-visible { outline: 3px solid #ffd2b8; outline-offset: 3px; }

/* countdown */
.wb-clock {
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(2, 13, 39, .55);
    backdrop-filter: blur(6px);
}
.wb-clock__label { margin: 0 0 .9rem; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.wb-clock__count { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.wb-clock__count[hidden] { display: none; }
.wb-clock__count span {
    display: flex; flex-direction: column; align-items: center;
    padding: .85rem .25rem; border-radius: 12px; background: rgba(255, 255, 255, .07);
}
.wb-clock b { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.wb-clock small { margin-top: .4rem; font-size: .75rem; color: rgba(255, 255, 255, .7); }
.wb-clock__state { margin: 0; font-weight: 600; }
.wb-clock__local { margin: .9rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.wb-clock__speaker { margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .88); }
.wb-clock__speaker i { color: var(--orange-light, #ff7c2c); margin-right: .4rem; }

/* the bridge: webinar -> conference */
.wb-bridge {
    position: relative;
    list-style: none; margin: 3rem 0 0; padding: 1.75rem 0 0;
    display: flex; justify-content: space-between; gap: 2rem;
}
.wb-bridge::before {
    content: ""; position: absolute; left: 7px; right: 7px; top: 6px; height: 2px;
    background: linear-gradient(90deg, var(--orange, #ff5b0a), var(--blue-bright, #1265e8));
    transform-origin: left center;
    animation: wb-draw 1.4s cubic-bezier(.2, .7, .2, 1) .3s both;
}
.wb-bridge__stop { position: relative; display: flex; flex-direction: column; gap: .15rem; max-width: 18rem; }
.wb-bridge__stop:last-child { text-align: right; align-items: flex-end; }
.wb-bridge__dot {
    position: absolute; top: calc(-1.75rem - 1px); width: 16px; height: 16px; border-radius: 50%;
    background: var(--navy, #031333); border: 3px solid var(--blue-bright, #1265e8);
}
.wb-bridge__stop:last-child .wb-bridge__dot { right: 0; }
.wb-bridge__stop--now .wb-bridge__dot { border-color: var(--orange, #ff5b0a); background: var(--orange, #ff5b0a); }
.wb-bridge strong { font-size: 1.1rem; }
.wb-bridge span:not(.wb-bridge__dot) { color: rgba(255, 255, 255, .72); font-size: .9rem; }

@keyframes wb-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- shared section type ---------- */
.wb-about, .wb-speaker, .wb-agenda, .wb-register { padding: 4.5rem 0; }
.wb-h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 700; color: var(--navy, #031333); letter-spacing: -.01em; }
.wb-h3 { margin: 3rem 0 1.25rem; font-size: 1.2rem; font-weight: 700; color: var(--navy, #031333); }
.wb-sub { margin: -.25rem 0 2rem; color: #4a5875; }

/* ---------- about ---------- */
.wb-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.wb-question {
    margin: 0; padding-left: 1.1rem;
    border-left: 4px solid var(--orange, #ff5b0a);
    font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.45; font-weight: 600; color: var(--blue, #073a9d);
}
.wb-about__text p { margin: 0 0 1rem; color: #2c3a55; line-height: 1.75; max-width: 65ch; }

.wb-highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line, #dfe6f0); }
.wb-highlights li { display: flex; gap: .85rem; align-items: flex-start; padding: 1.25rem 1.25rem 0 0; color: #1d2a44; font-weight: 500; line-height: 1.45; }
.wb-highlights i { flex: none; font-size: 1.5rem; color: var(--blue-bright, #1265e8); line-height: 1; }

/* ---------- speaker ---------- */
.wb-speaker { background: var(--soft, #f4f7fb); }
.wb-soon {
    display: flex; align-items: center; gap: 1.5rem;
    max-width: 640px; padding: 1.5rem;
    border: 2px dashed #b9c7de; border-radius: 18px; background: #fff;
}
.wb-soon__face {
    flex: none; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
    background: linear-gradient(160deg, #e7eefb, #cfdcf3); color: #7d92b8; font-size: 2.6rem;
}
.wb-soon__title { margin: 0 0 .35rem; font-size: 1.25rem; font-weight: 700; color: var(--navy, #031333); }
.wb-soon__text { margin: 0; color: #4a5875; }

/* hero speaker: the cut-out photo on a blue glow, above the countdown */
.wb-hspk {
    display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.25rem; align-items: end;
    margin: 0 0 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.wb-hspk__photo {
    display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
    height: 150px; padding-top: .75rem; border-radius: 14px;
    background:
        radial-gradient(9rem 7rem at 50% 100%, rgba(18, 101, 232, .75), transparent 72%),
        rgba(255, 255, 255, .06);
}
.wb-hspk__photo img { display: block; width: 100%; height: auto; }
.wb-hspk__info { align-self: center; }
.wb-hspk__label { margin: 0 0 .35rem; color: #ffb48a; font-size: .85rem; font-weight: 600; }
.wb-hspk__name { margin: 0 0 .3rem; font-family: "Sora", "Inter", sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.25; color: #fff; }
.wb-hspk__org { margin: 0 0 .8rem; color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.4; }
.wb-hspk__bio {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .95rem;
    border: 1px solid rgba(255, 255, 255, .45); border-radius: 8px; background: transparent;
    color: #fff; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.wb-hspk__bio:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.wb-hspk__bio:focus-visible { outline: 3px solid #ffd2b8; outline-offset: 3px; }

/* speaker card + key points; the cut-out photo stands on a navy panel with the site grid */
.wb-spk { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.wb-spk__card { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line, #dfe6f0); box-shadow: 0 18px 40px -26px rgba(3, 19, 51, .4); }
.wb-spk__photo {
    display: flex; align-items: flex-end; justify-content: center; padding-top: 1.5rem;
    background:
        radial-gradient(18rem 12rem at 50% 100%, rgba(18, 101, 232, .55), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px,
        var(--navy, #031333);
}
.wb-spk__photo img { display: block; width: 86%; height: auto; }
.wb-spk__info { padding: 1.4rem 1.5rem 1.6rem; }
.wb-spk__name { margin: 0 0 .3rem; font-family: "Sora", "Inter", sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--navy, #031333); }
.wb-spk__org { margin: 0 0 1.1rem; color: #4a5875; }
.wb-btn--outline { min-height: 44px; gap: .45rem; padding: .55rem 1.1rem; border-color: var(--blue-bright, #1265e8); background: #fff; color: var(--blue, #073a9d); }
.wb-btn--outline:hover { background: var(--blue-bright, #1265e8); color: #fff; }
.wb-btn--outline:focus-visible { outline: 3px solid rgba(18, 101, 232, .35); outline-offset: 3px; }

.wb-points__title { margin-top: .25rem; }
.wb-points__list { list-style: none; counter-reset: wbp; margin: 0; padding: 0; }
.wb-points__list li {
    counter-increment: wbp; position: relative;
    padding: 1rem 0 1rem 3.25rem; border-bottom: 1px solid var(--line, #dfe6f0);
    color: #1d2a44; font-weight: 500; line-height: 1.5;
}
.wb-points__list li:first-child { border-top: 1px solid var(--line, #dfe6f0); }
.wb-points__list li::before {
    content: counter(wbp); position: absolute; left: 0; top: .85rem;
    display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
    background: #e7eefb; color: var(--blue, #073a9d); font-family: "Sora", "Inter", sans-serif; font-weight: 700; font-size: .9rem;
}

/* bio pop-up (Bootstrap modal) */
.wb-bio .modal-content { border: 0; border-radius: 18px; }
.wb-bio .modal-header { align-items: flex-start; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line, #dfe6f0); }
.wb-bio__head { display: flex; align-items: center; gap: 1rem; }
.wb-bio__head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--navy, #031333); }
.wb-bio .modal-title { margin: 0; font-family: "Sora", "Inter", sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--navy, #031333); }
.wb-bio__head p { margin: .2rem 0 0; color: #4a5875; font-size: .92rem; }
.wb-bio .modal-body { padding: 1.5rem; }
.wb-bio .modal-body p { color: #2c3a55; line-height: 1.75; }
.wb-bio .modal-body p:last-child { margin-bottom: 0; }

/* ---------- agenda: a time rail; the bar under each item is its length ---------- */
.wb-rail { list-style: none; margin: 0; padding: 0; max-width: 880px; }
.wb-rail__item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; position: relative; padding-bottom: 1.75rem; }
.wb-rail__item::before {
    content: ""; position: absolute; left: calc(11rem + .75rem - 1px); top: .45rem; bottom: 0; width: 2px; background: var(--line, #dfe6f0);
}
.wb-rail__item:last-child::before { display: none; }
.wb-rail__item::after {
    content: ""; position: absolute; left: calc(11rem + .75rem - 6px); top: .3rem; width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 2px solid var(--blue-bright, #1265e8);
}
.wb-rail__item--main::after { background: var(--orange, #ff5b0a); border-color: var(--orange, #ff5b0a); }
.wb-rail__time { margin: 0; padding-top: .1rem; font-weight: 600; color: var(--blue, #073a9d); font-variant-numeric: tabular-nums; text-align: right; }
.wb-rail__body { padding-left: 1.25rem; }
.wb-rail h3 { margin: 0 0 .3rem; font-size: 1.05rem; font-weight: 700; color: var(--navy, #031333); }
.wb-rail__body p { margin: 0 0 .55rem; color: #4a5875; line-height: 1.6; max-width: 62ch; }
.wb-rail__len {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; color: #6b7a96;
}
.wb-rail__len::before {
    content: ""; display: inline-block; height: 4px; border-radius: 2px;
    width: calc(var(--mins, 1) * 6px); max-width: 260px; background: #c6d5ee;
}
.wb-rail__item--main .wb-rail__len::before { background: var(--orange, #ff5b0a); }

/* ---------- register ---------- */
.wb-register { background: linear-gradient(180deg, var(--soft, #f4f7fb), #e9f0fb); }
.wb-register__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.wb-register__intro p { color: #2c3a55; line-height: 1.7; max-width: 44ch; }
.wb-register__list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.wb-register__list li { margin-bottom: .6rem; color: #1d2a44; font-weight: 500; }
.wb-register__list i { color: var(--blue-bright, #1265e8); margin-right: .45rem; }

.wb-form {
    padding: 2rem; border-radius: 18px; background: #fff;
    border: 1px solid var(--line, #dfe6f0);
    box-shadow: 0 18px 40px -24px rgba(3, 19, 51, .35);
}
.wb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wb-field { margin-bottom: 1.1rem; min-width: 0; }
.wb-field label { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 600; color: var(--navy, #031333); }
.wb-field label span { color: var(--orange, #ff5b0a); }
.wb-field input,
.wb-field select {
    width: 100%; min-height: 48px; padding: .65rem .85rem;
    border: 1px solid #c9d4e6; border-radius: 10px; background: #fff; color: #10203d; font-size: 1rem;
}
.wb-field input:focus,
.wb-field select:focus { outline: none; border-color: var(--blue-bright, #1265e8); box-shadow: 0 0 0 3px rgba(18, 101, 232, .2); }
.wb-field input:user-invalid,
.wb-field select:user-invalid { border-color: #c62828; }
.wb-field .iti { width: 100%; }
.wb-note { margin: .35rem 0 0; font-size: .8rem; color: #b3261e; }
.wb-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- small screens ---------- */
@media (max-width: 991.98px) {
    .wb-hero__grid,
    .wb-about__grid,
    .wb-register__grid { grid-template-columns: 1fr; gap: 2rem; }
    .wb-highlights { grid-template-columns: 1fr 1fr; }
    .wb-spk { grid-template-columns: 1fr; gap: 2rem; }
    .wb-spk__card { max-width: 420px; }
}
@media (max-width: 575.98px) {
    .wb-hero { padding-top: 1.5rem; }
    .wb-crumb { margin-bottom: 1.25rem; }
    .wb-clock { padding: 1.25rem; }
    .wb-clock__count { gap: .4rem; }
    .wb-hspk { grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; }
    .wb-hspk__photo { height: 120px; }
    .wb-hspk__name { font-size: 1.05rem; }
    .wb-bridge { flex-direction: column; gap: 1.25rem; padding: 0 0 0 1.75rem; }
    .wb-bridge::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; transform-origin: center top; animation-name: wb-draw-v; }
    .wb-bridge__dot { top: 2px; left: calc(-1.75rem - 1px); }
    .wb-bridge__stop:last-child { text-align: left; align-items: flex-start; }
    .wb-bridge__stop:last-child .wb-bridge__dot { right: auto; }
    .wb-about, .wb-speaker, .wb-agenda, .wb-register { padding: 3rem 0; }
    .wb-highlights { grid-template-columns: 1fr; }
    .wb-soon { flex-direction: column; text-align: center; }
    .wb-rail__item { grid-template-columns: 1fr; gap: .25rem; padding-left: 1.5rem; }
    .wb-rail__item::before { left: 5px; }
    .wb-rail__item::after { left: 0; }
    .wb-rail__time { text-align: left; }
    .wb-rail__body { padding-left: 0; }
    .wb-rail__len::before { max-width: 160px; width: calc(var(--mins, 1) * 3.5px); }
    .wb-form { padding: 1.25rem; }
    .wb-row { grid-template-columns: 1fr; gap: 0; }
}
@keyframes wb-draw-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
    .wb-bridge::before { animation: none; }
    .wb-btn { transition: none; }
}
