/*
    2027 Calendar Launch — exhibitor homepage.

    Comic-book / poster treatment: halftone dot backgrounds, hard black outlines and
    offset drop shadows. Everything is namespaced `.cl27-*` and every rule is scoped
    under `.cl27` so none of it reaches the shared header, footer or enquire modal.

    Colours come from the brand palette (the same values Tailwind exposes as
    `brand` / `brand-dark` / `navy`), so this page stays in step with the rest of the site.
*/

.cl27 {
    --cl27-green:      #a6d2a7;  /* brand */
    --cl27-green-dark: #79b77b;
    --cl27-grey:       #626366;
    --cl27-black:      #151515;
    --cl27-white:      #ffffff;
    --cl27-paper:      #f7f7f4;

    background:
        radial-gradient(circle at 10% 12%, rgba(166, 210, 167, .26) 0 2px, transparent 2.5px) 0 0 / 18px 18px,
        var(--cl27-paper);
    color: var(--cl27-black);
    overflow: hidden;
}

/* Bootstrap 2's global element rules put margins on headings and images — reset them
   inside the page so the poster layout controls its own spacing.

   NB this is specificity (0,1,1), so a bare `.cl27-thing` class rule (0,1,0) CANNOT set a
   margin on a heading — it loses to the reset. Any rule that needs to must be scoped
   `.cl27 .cl27-thing` (0,2,0), as the title rules below are. */
.cl27 h1,
.cl27 h2,
.cl27 h3 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.cl27 img {
    margin: 0;
    max-width: 100%;
}


/* ── Hero ─────────────────────────────────────────────────────────────────── */

.cl27-hero {
    position: relative;
    min-height: 620px;
    display: grid;
    place-items: center;
    padding: 78px 24px 64px;
    border-bottom: 5px solid var(--cl27-black);
    background:
        linear-gradient(135deg, rgba(166, 210, 167, .95), rgba(255, 255, 255, .94)),
        radial-gradient(circle, var(--cl27-grey) 0 2px, transparent 2.5px) 0 0 / 20px 20px;
}

/* Two big outlined diamonds bleeding off either edge — decorative, so they're
   pseudo-elements rather than images. */
.cl27-hero::before,
.cl27-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: var(--cl27-white);
    border: 4px solid var(--cl27-black);
    transform: rotate(45deg);
    opacity: .42;
    z-index: 0;
}

.cl27-hero::before {
    left: -155px;
    top: 90px;
}

.cl27-hero::after {
    right: -165px;
    bottom: 55px;
}

.cl27-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(360px, 42%);
    align-items: center;
    gap: 54px;
}

/* A soft wash behind the headline so the halftone dots don't fight the copy. */
.cl27-hero__copy {
    position: relative;
    z-index: 3;
    padding-right: 10px;
}

.cl27-hero__copy > * {
    position: relative;
    z-index: 1;
}

.cl27-hero__art {
    position: relative;
    align-self: stretch;
    min-height: 500px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.cl27-hero__art::before {
    content: "";
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(98, 99, 102, .28) 0 2px, transparent 2.5px) 0 0 / 16px 16px,
        var(--cl27-white);
    border: 5px solid var(--cl27-black);
    box-shadow: 10px 10px 0 var(--cl27-grey);
    transform: rotate(-4deg);
    z-index: 0;
}

.cl27-hero__character {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: 500px;
    object-fit: cover;
    object-position: center top;
    border: 5px solid var(--cl27-black);
    box-shadow: 10px 10px 0 var(--cl27-black);
    transform: rotate(1.5deg);
}

.cl27-burst {
    display: inline-block;
    background: var(--cl27-black);
    color: var(--cl27-white);
    border: 4px solid var(--cl27-black);
    box-shadow: 7px 7px 0 var(--cl27-grey);
    padding: 10px 18px;
    transform: rotate(-2deg);
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 24px;
}

.cl27-title {
    max-width: 760px;
    font-size: clamp(56px, 7.6vw, 104px);
    line-height: .88;
    letter-spacing: 1px;
    text-shadow: 4px 4px 0 var(--cl27-white);
}

.cl27-title .cl27-title__green {
    color: var(--cl27-green-dark);
    -webkit-text-stroke: 2px var(--cl27-black);
}

/* Forces "Save big." onto its own line in the two-column desktop hero. Below 900px the
   headline is centred and full-width, where it reads better wrapping on its own. */
.cl27-title__break {
    display: inline;
}

@media (max-width: 900px) {
    .cl27-title__break {
        display: none;
    }
}

.cl27-sub {
    max-width: 690px;
    margin: 28px 0 0;
    font-size: clamp(20px, 2.5vw, 26px);
    line-height: 1.35;
    font-weight: 600;
    color: var(--cl27-grey);
}

.cl27-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}


/* ── Buttons ──────────────────────────────────────────────────────────────── */

.cl27-btn {
    display: inline-block;
    padding: 16px 24px;
    border: 3px solid var(--cl27-black);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .4px;
    box-shadow: 6px 6px 0 var(--cl27-black);
    transition: transform .15s ease, box-shadow .15s ease;
    appearance: none;
    cursor: pointer;
}

.cl27-btn:hover,
.cl27-btn:focus {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--cl27-black);
    text-decoration: none;
}

/* `a:visited { color: var(--black) }` in new-world.css is specificity (0,2,0) and would
   turn a visited button's text black, so the button colours are scoped under `.cl27` and
   spell out :visited to outrank it. */
.cl27 .cl27-btn--primary,
.cl27 .cl27-btn--primary:visited,
.cl27 .cl27-btn--primary:hover,
.cl27 .cl27-btn--primary:focus,
.cl27 .cl27-btn--primary:active {
    background: var(--cl27-black);
    color: var(--cl27-white);
}

.cl27-btn--primary {
    box-shadow: 6px 6px 0 var(--cl27-green-dark);
}

.cl27-btn--primary:hover,
.cl27-btn--primary:focus {
    box-shadow: 3px 3px 0 var(--cl27-green-dark);
}

.cl27 .cl27-btn--secondary,
.cl27 .cl27-btn--secondary:visited,
.cl27 .cl27-btn--secondary:hover,
.cl27 .cl27-btn--secondary:focus,
.cl27 .cl27-btn--secondary:active {
    background: var(--cl27-white);
    color: var(--cl27-black);
}


/* ── Deal strip ───────────────────────────────────────────────────────────── */

.cl27-strip {
    background: var(--cl27-grey);
    color: var(--cl27-white);
    border-bottom: 5px solid var(--cl27-black);
    padding: 18px 24px;
    text-align: center;
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cl27-strip strong {
    color: var(--cl27-green);
    font-weight: inherit;
}


/* ── Numbered point cards ─────────────────────────────────────────────────── */

.cl27-points {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 24px;
}

.cl27-points__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cl27-card {
    position: relative;
    background: var(--cl27-white);
    border: 4px solid var(--cl27-black);
    box-shadow: 8px 8px 0 var(--cl27-black);
    padding: 28px 22px 24px;
    min-height: 220px;
}

.cl27-card:nth-child(even) {
    transform: rotate(1deg);
}

.cl27-card:nth-child(odd) {
    transform: rotate(-1deg);
}

.cl27-card__number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--cl27-green);
    border: 3px solid var(--cl27-black);
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 22px;
}

.cl27-card h3 {
    font-size: 30px;
    line-height: 1;
    letter-spacing: .5px;
    margin-bottom: 10px;
}

.cl27-card p {
    margin: 0;
    color: var(--cl27-grey);
    line-height: 1.45;
    font-weight: 500;
}


/* ── Early access signup ──────────────────────────────────────────────────── */

.cl27-signup {
    background: var(--cl27-black);
    color: var(--cl27-white);
    padding: 70px 24px;
    border-top: 5px solid var(--cl27-black);
    /* The hero's "Get 24hr early access" jumps to #early-access on this section. Without a
       scroll margin the browser aims the section's top edge at the viewport top — which
       lands it under the 64px fixed navbar, and because this is the last section on the
       page the scroll runs to the bottom and carries the heading off-screen. Stopping
       short of the section keeps the heading in view. */
    scroll-margin-top: 84px;
}

.cl27-signup__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cl27-signup h2 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: .95;
    letter-spacing: 1px;
    color: var(--cl27-white);
}

.cl27-signup__intro {
    max-width: 680px;
    margin: 18px auto 30px;
    font-size: 19px;
    line-height: 1.5;
    color: #e8e8e8;
}

.cl27-signup h2 span {
    color: var(--cl27-green);
}

.cl27-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

.cl27-form label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #cfcfcf;
}

.cl27-form input {
    width: 100%;
    height: auto;
    border: 3px solid var(--cl27-white);
    border-radius: 0;
    background: var(--cl27-white);
    color: var(--cl27-black);
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 600;
    box-shadow: none;
    outline: none;
}

.cl27-form input:focus {
    border-color: var(--cl27-green);
    box-shadow: 0 0 0 3px rgba(166, 210, 167, .45);
}

.cl27-form__honeypot {
    display: none;
}

.cl27-form button {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 280px;
    margin-top: 8px;
    border: 3px solid var(--cl27-white);
    background: var(--cl27-green);
    color: var(--cl27-black);
    padding: 16px 30px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 5px 5px 0 var(--cl27-grey);
    transition: transform .15s ease, box-shadow .15s ease;
    appearance: none;
}

.cl27-form button:hover:not(:disabled) {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--cl27-grey);
}

.cl27-form button:disabled {
    opacity: .6;
    cursor: default;
}


/* ── Confirmation page ────────────────────────────────────────────────────── */
/* recruiter/2027-access-confirmation.php — where Jotform redirects after a signup. */

.cl27-confirmation {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 24px 90px;
}

.cl27-confirmation__box {
    max-width: 760px;
    margin: 0 auto;
    background: var(--cl27-white);
    border: 4px solid var(--cl27-black);
    box-shadow: 10px 10px 0 var(--cl27-black);
    padding: 48px 36px;
    text-align: center;
}

.cl27-confirmation__tick {
    width: 84px;
    height: 84px;
    margin: 0 auto 26px;
    display: grid;
    place-items: center;
    background: var(--cl27-green);
    border: 4px solid var(--cl27-black);
    border-radius: 50%;
    color: var(--cl27-black);
}

.cl27-confirmation__tick svg {
    width: 44px;
    height: 44px;
}

.cl27 .cl27-confirmation__title {
    font-size: clamp(40px, 6vw, 68px);
    line-height: .95;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.cl27-confirmation__copy {
    max-width: 40em;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--cl27-grey);
}


/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .cl27-hero__inner {
        grid-template-columns: minmax(0, 55%) minmax(330px, 45%);
        gap: 34px;
    }

    .cl27-hero__character {
        width: min(380px, 100%);
    }

    .cl27-title {
        font-size: clamp(54px, 6.8vw, 88px);
    }
}

@media (max-width: 900px) {
    .cl27-points__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cl27-hero__inner {
        grid-template-columns: 1fr;
    }

    .cl27-hero__copy {
        text-align: center;
        padding-right: 0;
    }

    .cl27-actions {
        justify-content: center;
    }

    .cl27-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .cl27 .cl27-title {
        margin-left: auto;
        margin-right: auto;
    }

    .cl27-hero__art {
        min-height: 390px;
        justify-content: center;
    }

    .cl27-hero__character {
        max-height: 430px;
        width: min(430px, 92%);
    }

    .cl27-hero__art::before {
        width: 330px;
        height: 330px;
    }
}

/* Mobile — the desktop poster geometry (bleeding diamonds, rotated cards, offset
   grid) is dropped in favour of a single stacked column. */
@media (max-width: 620px) {
    .cl27 {
        overflow-x: hidden;
    }

    .cl27-hero {
        min-height: 0;
        padding: 42px 18px 34px;
    }

    .cl27-hero::before,
    .cl27-hero::after {
        display: none;
    }

    .cl27-hero__inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .cl27-hero__copy {
        width: 100%;
    }

    .cl27-burst {
        margin-bottom: 18px;
        font-size: 16px;
        letter-spacing: 1.4px;
        padding: 9px 13px;
        box-shadow: 5px 5px 0 var(--cl27-grey);
    }

    .cl27 .cl27-title {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        font-size: clamp(46px, 14vw, 70px);
        line-height: .92;
        overflow-wrap: normal;
        word-break: normal;
    }

    .cl27-title .cl27-title__green {
        -webkit-text-stroke: 1.5px var(--cl27-black);
    }

    .cl27-sub {
        max-width: 100%;
        margin: 20px auto 0;
        font-size: 18px;
        line-height: 1.4;
    }

    .cl27-actions .cl27-btn {
        width: 100%;
        text-align: center;
    }

    .cl27-hero__art {
        width: 100%;
        min-height: 0;
        align-items: center;
    }

    .cl27-hero__art::before {
        width: min(300px, 78vw);
        height: min(300px, 78vw);
        left: 50%;
        transform: translateX(-50%) rotate(-4deg);
    }

    .cl27-hero__character {
        width: min(330px, 88vw);
        max-height: none;
        height: auto;
        transform: rotate(.8deg);
        box-shadow: 7px 7px 0 var(--cl27-black);
    }

    .cl27-strip {
        padding: 15px 16px;
        font-size: 21px;
        line-height: 1.3;
    }

    .cl27-points {
        padding: 46px 16px;
    }

    .cl27-points__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cl27-card,
    .cl27-card:nth-child(even),
    .cl27-card:nth-child(odd) {
        min-height: auto;
        transform: none;
        padding: 24px 20px;
        box-shadow: 6px 6px 0 var(--cl27-black);
    }

    .cl27-card__number {
        margin-bottom: 16px;
    }

    .cl27-card h3 {
        font-size: 26px;
    }

    .cl27-signup {
        padding: 50px 16px;
    }

    .cl27-signup h2 {
        font-size: clamp(38px, 12vw, 52px);
        line-height: .98;
    }

    .cl27-signup__intro {
        margin: 16px auto 24px;
        font-size: 17px;
    }

    .cl27-form {
        width: 100%;
        max-width: 100%;
    }

    .cl27-form input {
        min-height: 54px;
        font-size: 16px;
    }

    .cl27-form button {
        width: 100%;
        min-height: 54px;
    }

    .cl27-confirmation {
        padding: 46px 16px 60px;
    }

    .cl27-confirmation__box {
        padding: 34px 20px;
        box-shadow: 6px 6px 0 var(--cl27-black);
    }
}
