/* ============================================================
   HUMAN ALL THE WAY — self-contained CTA component

   Usage:
     <link rel="stylesheet" href="css/human_all_the_way.css">
     <section class="human_all_the_way"> ... </section>

   Everything the block needs is scoped under .human_all_the_way,
   so it carries no dependency on the host page's stylesheet
   (no .shell, .lantern, .kicker, .persona or .button required).
   The reveal-on-scroll is optional: the block is fully visible
   by default and only animates if a .visible class is toggled.
   ============================================================ */

.human_all_the_way {
    /* local tokens : the component does not read the page's :root */
    --hatw-ink: #09090d;
    --hatw-white: #ffffff;
    --hatw-card-bg: #08070d;
    --hatw-violet: #715cff;
    --hatw-pink: #ff4fa0;
    --hatw-cyan: #21d9d0;
    /* the card used to be centred by .shell : that is now built in */
    --hatw-max: 1240px;

    padding: 130px 0 55px;
    background: #fff;
}

/* ---------- card ---------- */
.human_all_the_way .hatw_card {
    position: relative;
    box-sizing: border-box;
    width: min(calc(100% - 30px), var(--hatw-max));
    margin-inline: auto;
    min-height: 630px;
    display: grid;
    align-items: end;
    padding: 60px;
    border-radius: 42px;
    color: white;
    background: var(--hatw-card-bg);
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.human_all_the_way .hatw_card *,
.human_all_the_way .hatw_card *::before,
.human_all_the_way .hatw_card *::after { box-sizing: border-box; }

/* blurred gradient glow, was the shared .lantern::after */
.human_all_the_way .hatw_card::after {
    content: "";
    position: absolute;
    width: 820px;
    height: 820px;
    left: -280px;
    top: -340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(87, 61, 255, .45), rgba(255, 69, 164, .16) 35%, transparent 68%);
    filter: blur(30px);
    pointer-events: none;
}

/* ---------- brand kicker ---------- */
.human_all_the_way .hatw_brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    position: relative;
    float: left;
    color: #fff;
    font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 200;
    letter-spacing: 6px;
    text-transform: uppercase;
}
.human_all_the_way .hatw_brand::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hatw-pink), var(--hatw-violet), var(--hatw-cyan));
    box-shadow: 0 0 18px rgba(113, 92, 255, .75);
}

/* ---------- portrait orb ---------- */
.human_all_the_way .hatw_orb {
    position: absolute;
    right: 7%;
    top: 10%;
    z-index: 2;
    display: block;
    flex: none;
    width: var(--hatw-orb-size, 210px);
    height: var(--hatw-orb-size, 210px);
}
.human_all_the_way .hatw_orb img,
.human_all_the_way .hatw_orb video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
}
/* the small blob badge clipped to the bottom-right of the portrait */
.human_all_the_way .hatw_orb::after {
    content: "";
    position: absolute;
    right: -6%;
    bottom: -18%;
    width: 46%;
    height: 46%;
    border-radius: 50%;
    background: #fff url("https://storage.googleapis.com/krtx-ws.appspot.com/public/blob_150x150.png") center/88% no-repeat;
    box-shadow: 0 4px 12px rgba(9, 9, 13, .22);
}

/* ---------- copy ---------- */
.human_all_the_way .hatw_copy {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding-bottom: 40px;
}
.human_all_the_way .hatw_copy h2 {
    margin-top: 0;
    margin-bottom: 26px;
    max-width: 900px;
    font-size: clamp(55px, 7vw, 100px);
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 500;
}
.human_all_the_way .hatw_copy p {
    margin-top: 0;
    margin-bottom: 30px;
    max-width: 650px;
    color: rgba(255, 255, 255, .7);
    font-size: 20px;
    line-height: 1.45;
}

/* ---------- button ---------- */
.human_all_the_way .hatw_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: inherit;
    letter-spacing: -.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.human_all_the_way .hatw_cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 255, 255, .14);
}
.human_all_the_way .hatw_cta .arrow { transition: transform .2s ease; }
.human_all_the_way .hatw_cta:hover .arrow { transform: translateX(3px); }

/* ---------- optional reveal on scroll ----------
   Opt in by adding data-reveal AND letting your observer toggle
   .visible. Without JS the block stays visible, so the component
   never depends on a script to be readable. */
.human_all_the_way .hatw_card[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.22, .68, 0, 1);
}
.human_all_the_way .hatw_card[data-reveal].visible {
    opacity: 1;
    transform: none;
}

/* ---------- mobile ---------- */
@media (max-width: 800px) {
    .human_all_the_way { padding: 80px 0 40px; }
    .human_all_the_way .hatw_card {
        min-height: 540px;
        padding: 35px 25px;
        border-radius: 31px;
    }
    .human_all_the_way .hatw_orb {
        right: 6%;
        top: 5%;
        --hatw-orb-size: 130px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .human_all_the_way .hatw_card[data-reveal],
    .human_all_the_way .hatw_cta {
        transition-duration: .001ms;
    }
}
