/* ==========================================================================
   GFC v2 - landing page
   Split layout like the original: full-height white seminar panel on the
   left, the background video filling the entire right side.
   ========================================================================== */

body.page-landing { background: var(--navy); }

.hide-md { display: inline-flex; }
.hide-sm { display: inline-flex; }
@media (max-width: 1200px) { .hide-md { display: none; } }
@media (max-width: 820px)  { .hide-sm { display: none; } }

/* ------------------------------------------------------------------ hero */

.hero {
    --panel-w: 400px;   /* keep in sync with .seminar flex-basis */
    display: flex;
    align-items: stretch;
    height: calc(100vh - var(--topbar-h));
    min-height: 540px;
}

/* --------------------------------------------------- left seminar panel */

.seminar {
    flex: 0 0 400px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 36px 32px 28px;
    display: flex; flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
}

.seminar__panel-title {
    margin: 0 0 22px;
    font-family: "Outfit", "Poppins", sans-serif;
    font-size: 19px; font-weight: 700; letter-spacing: -.2px;
    color: var(--text-strong); line-height: 1.35;
}

.seminar__event { margin-bottom: 22px; }
.seminar__title {
    margin: 0 0 10px;
    font-size: 15px; font-weight: 700; font-style: italic;
    color: var(--text-strong); line-height: 1.45;
}
.seminar__text {
    margin: 0;
    font-size: 13.5px; font-style: italic;
    color: var(--text); line-height: 1.6;
}

.seminar__meta { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.seminar__meta li { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 500; color: var(--text-muted); }
.seminar__meta svg { color: var(--text-faint); flex: 0 0 auto; }

.seminar__register { width: 100%; padding: 11px 18px; font-size: .85rem; }

.seminar__social {
    margin-top: auto;
    padding-top: 28px;
    display: flex; gap: 12px; justify-content: center;
}
.seminar__social a {
    width: 46px; height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-strong);
    background: var(--surface);
}
.seminar__social a:hover { background: var(--hover); color: var(--accent); border-color: var(--border-strong); }
.seminar__social svg { width: 19px; height: 19px; }

/* ----------------------------------------------------- right video stage */

.hero__stage {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex; flex-direction: column;
}

.hero__video { position: absolute; inset: 0; }
/* Native video: object-fit does the cover math for any stage size */
.hero__frame {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border: 0; pointer-events: none;
    background: var(--navy);
}
.hero__frame--mobile { display: none; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(27, 40, 69, .25) 0%, rgba(27, 40, 69, .35) 55%, rgba(27, 40, 69, .72) 100%);
}

.hero__mute {
    position: absolute; top: 20px; right: 20px; z-index: 3;
    width: 42px; height: 42px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius);
    background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
    backdrop-filter: blur(4px);
}
.hero__mute:hover { background: rgba(255, 255, 255, .25); }
/* The icon wrappers must not baseline-align, or the SVG sits off-center */
.hero__mute span { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.hero__mute svg { display: block; }

.hero__center {
    position: relative; z-index: 2;
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    text-align: center;
    padding: 48px 40px 40px;
}
.hero__title {
    margin: 0 0 14px;
    font-family: "Outfit", "Poppins", sans-serif;
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 800; letter-spacing: -.4px; line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 18px rgba(16, 24, 40, .45);
}
.hero__text {
    margin: 0 0 24px; max-width: 820px;
    font-size: clamp(14px, 1.2vw, 16.5px);
    color: rgba(255, 255, 255, .88); line-height: 1.6;
    text-shadow: 0 1px 12px rgba(16, 24, 40, .45);
    text-wrap: balance;
}
.hero__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero__cta-main { padding: 12px 26px; font-size: .9rem; }

/* Contact Recruiting turned off in the Sales Cloud (graytalentpool.tv -> Admin
   -> GFC Seminar Panel): the primary CTA is then the only thing in the row, and
   a small lone button under a big headline reads as an afterthought. It takes
   the space the pair used to occupy.

   The width comes from padding plus a floor rather than a fixed width, so a
   re-labelled button still fits its text -- .btn is white-space: nowrap, and a
   hard width would clip it. */
.hero__cta--solo .hero__cta-main {
    padding: 15px 44px;
    font-size: 1rem;
    min-width: 300px;
}
.hero__cta-ghost {
    padding: 12px 26px; font-size: .9rem;
    background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .38); color: #fff;
    backdrop-filter: blur(4px);
}
.hero__cta-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* The returning-candidate door is the "My Profile" button in the top bar, kept
   beside the hamburger at every width (see landing.php). */
.topbar__profile { white-space: nowrap; }
@media (max-width: 820px) {
    /* It has to READ as "My Profile" next to the hamburger - a lone person
       glyph is just an ambiguous icon. Keep the label and buy the room by
       tightening the button and letting the logo shrink. */
    .topbar__profile { padding: 7px 10px; font-size: .74rem; }
    .topbar__profile svg { width: 13px; height: 13px; }
    .topbar__logo img { max-width: 150px; }
}
@media (max-width: 340px) {
    /* Below this even a shrunk logo and the label cannot both fit. */
    .topbar__profile-text { display: none; }
}

.hero__scroll-hint {
    margin: 24px 0 0;
    display: none;
    align-items: center; justify-content: center; gap: 7px;
    font-size: .78rem; color: rgba(255, 255, 255, .75);
}
.show-md { display: none; }

.hero__bottom {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 0 24px 20px;
}
.hero__careers {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 600; color: #fff;
    text-shadow: 0 1px 10px rgba(16, 24, 40, .5);
}
.hero__careers:hover { color: var(--accent-soft); text-decoration: none; }
.hero__legal { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.hero__legal a {
    font-size: .76rem; color: rgba(255, 255, 255, .8);
    text-shadow: 0 1px 10px rgba(16, 24, 40, .5);
}
.hero__legal a:hover { color: #fff; text-decoration: none; }

/* --------------------------------------------------------------- consent */

.consent { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; color: var(--text-muted); cursor: pointer; }
.consent input { margin-top: 2px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }


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

@media (max-width: 1280px) {
    .hero { --panel-w: 350px; }
    .seminar { flex-basis: 350px; padding: 28px 24px 24px; }
}

@media (max-width: 1080px) {
    /* Stack: video hero first (like the original mobile), panel below */
    .hero { flex-direction: column; height: auto; min-height: 0; }

    .hero__stage {
        order: 1;
        min-height: calc(100vh - var(--topbar-h));
    }
    .hero__frame--desktop { display: none; }
    .hero__frame--mobile { display: block; }
    .hero__center { justify-content: center; padding: 48px 24px 24px; }
    .show-md { display: flex; }

    .seminar {
        order: 2;
        flex: none; width: 100%;
        border-right: 0; border-top: 1px solid var(--border);
        overflow: visible;
        padding: 32px 22px 26px;
    }
    .seminar__social { padding-top: 24px; }
}

@media (max-width: 720px) {
    .field-grid { grid-template-columns: 1fr; }
    .hero__bottom { justify-content: center; text-align: center; }
    .hero__legal { margin-left: 0; justify-content: center; }
    /* The 300px floor plus the hero's 24px side padding overflows a 360px
       phone. Below this width the lone button just takes the row instead. */
    .hero__cta--solo .hero__cta-main { min-width: 0; width: 100%; max-width: 340px; padding: 14px 24px; }
}
