@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/inter-400.ttf") format("truetype");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/cormorant-garamond-400.ttf") format("truetype");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --lab-white: #ffffff;
    --lab-black: #111111;
    --lab-release-scale: 0.85;
    --lab-nav-shell-height: 52px;
    --lab-nav-divider-height: 1px;
    /* Header band = visible fixed top shell that must stay outside the landing canvas. */
    --lab-nav-total-height: calc(var(--lab-nav-shell-height) + var(--lab-nav-divider-height));
    --lab-inline-padding: clamp(14px, 4.5vw, 22px);
    --lab-stable-vh: 100svh;
    --lab-dynamic-vh: 100dvh;
    --lab-header-height: var(--lab-nav-total-height);
    /* Effective area = real visible canvas under the header. */
    --lab-effective-height: calc(var(--lab-stable-vh) - var(--lab-header-height));
    --lab-total-height: calc(var(--lab-header-height) + var(--lab-effective-height));
    --lab-footer-test-height: clamp(78px, calc(var(--lab-effective-height) * 0.16 - 14px), 126px);
}

@supports not (height: 100svh) {
    :root {
        --lab-stable-vh: 100vh;
    }
}

@supports not (height: 100dvh) {
    :root {
        --lab-dynamic-vh: 100vh;
    }
}

html,
body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-height: var(--lab-total-height);
    height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    color: var(--lab-black);
}

.lab-probe,
.lab-safe-probe {
    position: fixed;
    left: -9999px;
    top: -9999px;
    pointer-events: none;
    visibility: hidden;
}

.lab-probe {
    width: 1px;
}

.lab-probe--vh {
    height: 100vh;
}

.lab-probe--lvh {
    height: 100lvh;
}

.lab-probe--svh {
    height: 100svh;
}

.lab-probe--dvh {
    height: 100dvh;
}

.lab-safe-probe {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.lab-app {
    min-height: var(--lab-total-height);
    height: auto;
    max-height: none;
    overflow: visible;
    background: #ffffff;
}

.lab-nav-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(255, 255, 255, 0.93) 100%);
    box-shadow:
        0 1px 0 rgba(17, 17, 17, 0.05),
        0 10px 26px rgba(17, 17, 17, 0.035),
        0 22px 44px rgba(17, 17, 17, 0.045);
}

.lab-nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    height: var(--lab-nav-shell-height);
    padding: 0 var(--lab-inline-padding);
}

.lab-nav-logo {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #000;
    text-decoration: none;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 15px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

.lab-nav-hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px 0 6px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.lab-nav-hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--lab-black);
}

.lab-nav-divider {
    height: var(--lab-nav-divider-height);
    background: linear-gradient(
        90deg,
        rgba(236, 236, 236, 0.1) 0%,
        rgba(17, 17, 17, 0.14) 18%,
        rgba(17, 17, 17, 0.12) 50%,
        rgba(132, 132, 132, 0.11) 78%,
        rgba(220, 220, 220, 0.12) 100%
    );
}

.lab-stage {
    margin-top: var(--lab-header-height);
    width: 100%;
    height: var(--lab-effective-height);
    min-height: var(--lab-effective-height);
    max-height: var(--lab-effective-height);
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

/* Layer 01 (mobile only): dynamic landing background canvas.
   This layer reuses the real landing artwork but stays isolated in the lab. */
.lab-effective-area {
    flex: 0 0 var(--lab-effective-height);
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    background: #000;
}

/* Footer reconstruction band: starts exactly after the effective canvas.
   This band is outside the canvas and outside the browser UI area. */
.lab-footer-band {
    position: relative;
    width: 100%;
    height: var(--lab-footer-test-height);
    min-height: var(--lab-footer-test-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    row-gap: 0;
    padding: 6px 22px 4px;
    background: #0b0b0b;
    overflow: hidden;
}

.lab-footer-band::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.lab-footer-legal-texts {
    grid-column: 1 / -1;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    width: 100%;
    margin-top: -8px;
    text-align: center;
}

.lab-footer-legal-text {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1.05;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.lab-footer-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    line-height: 0;
    opacity: 0.48;
}

.lab-footer-logo--left {
    order: 2;
    justify-self: start;
    height: 32px;
    transform: translate(-5px, -10px);
}

.lab-footer-logo--right {
    order: 3;
    justify-self: end;
    height: 38px;
    transform: translate(5px, -10px);
}

.lab-footer-logo-image {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

.lab-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lab-layer--bg {
    background-image: url("assets/releases/wild-heart/wild-heart-front-2200.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(0.72) saturate(1.1);
}

/* Layer 02 (mobile only): top hero identity strip.
   Desktop will be handled later outside this lab pass. */
.lab-hero-top {
    position: absolute;
    top: clamp(18px, calc(var(--lab-effective-height) * 0.038), 34px);
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    width: min(100%, 520px);
    margin: 0;
    padding:
        0
        clamp(12px, 3.4vw, 20px)
        0;
    text-align: center;
}

.lab-hero-label {
    margin: 0 0 clamp(14px, calc(var(--lab-effective-height) * 0.024), 24px);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: clamp(10px, 2.75vw, 12px);
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.34),
        0 0 18px rgba(255, 255, 255, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.18);
}

.lab-hero-title {
    width: min(100%, clamp(314px, 87vw, 356px));
    margin: 0 auto;
    font-size: 0;
    line-height: 0;
}

.lab-hero-title-image {
    display: block;
    width: 100%;
    height: auto;
    filter:
        brightness(0) invert(1)
        drop-shadow(0 18px 34px rgba(0, 0, 0, 0.26))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
}

.lab-hero-separator {
    width: 48px;
    height: 1px;
    margin: 10px auto 8px;
    background: rgba(255, 255, 255, 0.25);
}

.lab-hero-meta {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: clamp(11px, 2.95vw, 14px);
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.32),
        0 0 16px rgba(255, 255, 255, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Layer 03 (mobile only): release presentation block. */
.lab-release-panel-anchor {
    position: absolute;
    left: 50%;
    top: clamp(187px, calc(var(--lab-effective-height) * 0.27 + 15px), 263px);
    z-index: 2;
    width: 82vw;
    max-width: 100%;
    transform: translateX(-50%) scale(var(--lab-release-scale));
    transform-origin: top center;
}

.lab-release-panel {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 16px clamp(12px, 3.6vw, 18px) 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: clamp(26px, 6.8vw, 34px);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(
            140deg,
            rgba(250, 252, 255, 0.2) 0%,
            rgba(242, 246, 252, 0.14) 18%,
            rgba(210, 219, 232, 0.1) 48%,
            rgba(151, 164, 182, 0.08) 78%,
            rgba(114, 126, 144, 0.07) 100%
        );
    box-shadow:
        0 42px 120px rgba(0, 0, 0, 0.34),
        0 18px 40px rgba(0, 0, 0, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 20px 42px rgba(255, 255, 255, 0.045) inset,
        0 -1px 0 rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(40px) saturate(150%) brightness(1.05) contrast(1.03);
    -webkit-backdrop-filter: blur(40px) saturate(150%) brightness(1.05) contrast(1.03);
}

.lab-release-panel::before,
.lab-release-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lab-release-panel::before {
    z-index: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.16) 14%, rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 88% 11%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.06) 16%, rgba(255, 255, 255, 0) 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.09) 12%, rgba(255, 255, 255, 0.02) 24%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(
            112deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.035) 26%,
            rgba(255, 255, 255, 0) 46%,
            rgba(255, 0, 102, 0.025) 64%,
            rgba(0, 229, 255, 0.03) 84%,
            rgba(255, 255, 255, 0.08) 100%
        );
    mix-blend-mode: screen;
}

.lab-release-panel::after {
    z-index: 0;
    inset: 1px;
    opacity: 0.34;
    border-radius: inherit;
    background:
        linear-gradient(104deg, transparent 0%, transparent 18%, rgba(255, 255, 255, 0.18) 30%, rgba(255, 255, 255, 0.04) 42%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.015) 16%, rgba(255, 255, 255, 0) 76%, rgba(255, 255, 255, 0.06) 100%),
        linear-gradient(90deg, rgba(255, 0, 102, 0.022) 0%, transparent 28%, rgba(255, 255, 255, 0.05) 48%, transparent 72%, rgba(0, 229, 255, 0.022) 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.07) inset,
        0 10px 22px rgba(255, 255, 255, 0.03) inset;
    mix-blend-mode: soft-light;
}

.lab-release-panel > * {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.lab-release-artwork {
    width: min(100%, 72vw);
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-release-cover {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 auto;
    filter: saturate(1.03) contrast(1.02);
    box-shadow:
        0 34px 94px rgba(0, 0, 0, 0.44),
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lab-release-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lab-release-kicker {
    margin: 0 0 14px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.3),
        0 0 16px rgba(255, 255, 255, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.14),
        0 8px 18px rgba(0, 0, 0, 0.22);
}

.lab-release-divider {
    width: 52px;
    height: 1px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.18) 100%);
}

.lab-release-subline {
    margin: 0 0 14px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.26),
        0 0 14px rgba(255, 255, 255, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 18px rgba(0, 0, 0, 0.18);
}

.lab-countdown-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
}

.lab-countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 48px;
}

.lab-countdown-num {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 28px;
    font-weight: 200;
    line-height: 1;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.98);
    text-shadow:
        3px 0 rgba(255, 0, 102, 0.36),
        -3px 0 rgba(0, 229, 255, 0.36),
        0 0 10px rgba(255, 255, 255, 0.12);
    font-variant-numeric: tabular-nums;
}

.lab-countdown-label {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.lab-home-cta {
    width: 100%;
    max-width: 248px;
    padding: 13px 18px;
    margin-top: -5px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.11) 48%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 0.24) inset;
    backdrop-filter: blur(18px) saturate(142%);
    -webkit-backdrop-filter: blur(18px) saturate(142%);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    text-align: center;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.12),
        0 1px 0 rgba(0, 0, 0, 0.28);
}
