@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* ==========================================================
   RESET / BASE
   ========================================================== */

html,
body,
div,
span,
p,
img,
button {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html,
body {
    width: 300px;
    height: 250px;
    overflow: hidden;
    background: #fff;
}

body {
    position: relative;
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1;
}

img {
    display: block;
    border: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}

/* ==========================================================
   MAIN CONTAINER / STAGE
   ========================================================== */

#mainContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 250px;
    overflow: hidden;
    background: #fff;
}

/* Replaces the old inline-SVG border. */
#mainContainer::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #000;
    pointer-events: none;
    z-index: 1000;
}

.start-invisible {
    visibility: hidden;
}

#stage,
#artwork {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 167px;
    overflow: hidden;
}

#stage {
    z-index: 1;
}

#artwork {
    pointer-events: none;
}

.stage-layer,
.panel-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 167px;
}

.svg-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 250px;
    max-width: none;
    pointer-events: none;
}

/* ==========================================================
   COMPOSITE SVG + EXTERNAL RASTER LAYERS

   Matches the working 728x90 GAM structure: PNG/JPG assets that
   Illustrator originally linked from inside an SVG are loaded as
   normal HTML <img> elements and stacked with the vector SVG.
   The wrapper keeps the original GSAP ID so animation is unchanged.
   ========================================================== */

.asset-stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 250px;
    max-width: none;
    pointer-events: none;
}

.asset-vector {
    z-index: 2;
}

.linked-raster {
    position: absolute;
    display: block;
    max-width: none;
    pointer-events: none;
    z-index: 1;
}

/* Original Illustrator placement from logo2.svg. */
.logo2-shadow {
    left: 72.7553px;
    top: 82.677px;
    width: 154.4874px;
    height: 112.1406px;
}

/* Original Illustrator placement from product.svg. */
.product-raster {
    left: 0;
    top: 0;
    width: 113.5px;
    height: 135px;
    z-index: 3;
}

.p5-t-shadow {
    left: 0;
    top: 0;
    width: 300px;
    height: 250px;
}

/* Original Illustrator placement from p5_quote.svg. */
.p5-quote-raster {
    left: 0;
    top: -6.48px;
    width: 90px;
    height: 70px;
}

.p5-name-shadow {
    left: 0;
    top: 0;
    width: 300px;
    height: 250px;
}

.p6-t-shadow {
    left: 0;
    top: 0;
    width: 300px;
    height: 170px;
}

.p6-logo-glow {
    left: 0;
    top: 0;
    width: 272px;
    height: 173px;
}


/* ==========================================================
   CLOUDS / BACKGROUND
   ========================================================== */

#clouds1,
#clouds2 {
    overflow: hidden;
}

.cloud-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 310px;
    height: 167px;
    max-width: none;
    pointer-events: none;
}

/* ==========================================================
   PANEL 2 CLOCK
   ========================================================== */

#p2_icon {
    overflow: visible;
}

#p2_icon_arrows,
#p2_icon_hour,
#p2_icon_minute {
    transform-origin: 79.69px 60.74px;
}

/* ==========================================================
   PANEL 3 MASK
   ========================================================== */

#p3_patch_r_mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 250px;
    overflow: hidden;
    pointer-events: none;
    -webkit-clip-path: path("M24 21 V25.51 H81.98 C88.69 25.51 94.14 31.05 94.14 37.88 V79.61 C94.14 86.44 88.69 91.98 81.98 91.98 H24 V113 H194 V21 H24 Z");
    clip-path: path("M24 21 V25.51 H81.98 C88.69 25.51 94.14 31.05 94.14 37.88 V79.61 C94.14 86.44 88.69 91.98 81.98 91.98 H24 V113 H194 V21 H24 Z");
}

/* ==========================================================
   PANEL 4 CHECK REVEAL
   ========================================================== */

#check_reveal {
    position: absolute;
    top: 47px;
    left: 61px;
    width: 37px;
    height: 29px;
    overflow: hidden;
    pointer-events: none;
    clip-path: inset(0 100% 0 0);
}

#check {
    position: absolute;
    top: -47px;
    left: -61px;
    width: 300px;
    height: 250px;
    max-width: none;
    pointer-events: none;
}

/* ==========================================================
   PANEL 5 IMAGE / OVERLAY
   ========================================================== */

#p5_img_holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 167px;
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
}

#p5_img {
    position: absolute;
    top: 0;
    left: -15px;
    width: 350px;
    height: 167px;
    max-width: none;
    pointer-events: none;
    will-change: transform;
}

#p5_overlay {
    position: absolute;
    inset: 0;
    width: 300px;
    height: 170px;
    background: linear-gradient(90deg, #478fba 0%, rgba(71, 143, 186, 0) 50%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* ==========================================================
   PANEL 6 CTA
   ========================================================== */

#btn_holder {
	z-index: 1;
    overflow: visible;
}

#btn_back {
    position: absolute;
    left: 183px;
    top: 56px;
    width: 70px;
    height: 41px;
    border-radius: 4px;
    background: #b31983;
    pointer-events: none;
}

/* Transparent click target across the full upper creative. */
#btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 167px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer;
    z-index: 100;
}

#btn:focus,
#btn:focus-visible,
#btn:active {
    outline: none;
    box-shadow: none;
}

/* ==========================================================
   LIVE HTML ISI / LEGAL
   ========================================================== */

.clickable {
    cursor: pointer;
    text-decoration: underline;
}

.clickable:hover {
    text-decoration: none;
}

#links {
    position: absolute;
    top: 167px;
    left: 0;
    width: 300px;
    overflow: hidden;
    font-family: "Montserrat", Arial, sans-serif;
    font-optical-sizing: auto;
    z-index: 200;
}

#legal {
    position: absolute;
    top: 200px;
    left: 0;
    width: 298px;
    height: 49px;
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: "Montserrat", Arial, sans-serif;
    font-optical-sizing: auto;
    font-size: 10.25px;
    z-index: 200;
}

#legal_content {
    padding-right: 1px;
    letter-spacing: 0.1px;
}

#legal::-webkit-scrollbar {
    width: 6px;
}

#legal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0);
}

#legal::-webkit-scrollbar-thumb {
    background: #000;
    border: 2px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border-radius: 9999px;
}

#legal::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 1);
}

#links p {
    text-align: left;
    padding: 1px 0 1px 8px;
    font-size: 10px;
    line-height: 12px;
}

#legal p {
    padding: 3px 0 2px 8px;
    line-height: 12px;
}

.black {
    color: #000;
}

.blue {
    color: #405364;
}

.heading {
    background-color: #e5f3f9;
    text-align: left;
    text-transform: uppercase;
    font-weight: 700;
    font-style: normal;
    font-size: 11.5px;
    line-height: 15px;
    letter-spacing: 0;
}

.spec-header {
    font-size: 13.5px;
    letter-spacing: -0.1px;
}

.regular {
    font-weight: 400;
    font-style: normal;
}

.bold {
    font-weight: 600;
    font-style: normal;
}

.bolder {
    font-weight: 700;
    font-style: normal;
}

.extra-bold {
    font-weight: 800;
}

.spacer {
    padding-top: 10px;
}

@-moz-document url-prefix() {
    #legal {
        scrollbar-width: thin;
        scrollbar-color: #000 transparent;
        width: 300px;
    }

    #legal_content {
        padding-right: 0;
    }
}
