/* ========== Base / tokens ========== */
:root {
    --brand-black: #000000;
    --brand-yellow: #FFDC1E;
    --text-light: #FFFFFF;
    --band: 1440;

    --header-viewport: 1440px;
    --header-height: 188px;
    --inner-width: 1262px;
    --logo-w: 402px;
    --logo-h: 110px;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    background: var(--brand-black);
    color: var(--brand-black);
}

a {
    color: inherit;
}

/* ========== Header ========== */
.site-header {
    background: var(--brand-black);
    border-bottom: 1px solid var(--brand-black);
    height: var(--header-height);
    display: grid;
    place-items: center;
}

.nav-outer {
    width: 100%;
    max-width: var(--header-viewport);
    padding-inline: 64px;
    display: flex;
    justify-content: center;
}

.nav-inner {
    width: min(var(--inner-width), 100%);
    height: var(--logo-h);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.brand {
    display: inline-flex;
    width: min(var(--logo-w), 60vw);
    height: var(--logo-h);
    align-items: center;
    justify-content: center;
}

.brand img {
    width: auto;
    height: 100%;
    display: block;
}

/* ========== Hero section ========== */
/* kill horizontal gutters but keep vertical overflow visible */
.section-yellow {
    position: relative;
    overflow-x: clip;
    overflow-y: visible; /* allow tall/wide decor to show */
    width: min(100%, calc(var(--band) * 1px));
    margin: 0 auto;
}

.section-yellow {
    padding: 112px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    position: relative;
    background: transparent;
    isolation: isolate;
    --base: 1440;
}

.section-yellow::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, calc(var(--band) * 1px));
    background: var(--brand-yellow);
    z-index: -1;
}

.landing-container {
    width: 100%;
    max-width: 1280px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.landing-headline {
    width: 100%;
    max-width: 768px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.landing-headline h1 {
    margin: 0;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(32px, 6vw, 56px);
    line-height: 120%;
    text-transform: uppercase;
}

.landing-headline p {
    margin: 0;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 3.2vw, 24px);
    line-height: 150%;
}

.campaign-grid {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: wrap;
}

.campaign-card {
    width: min(100%, 600px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
}

.campaign-card__media {
    width: min(100%, 597px);
    aspect-ratio: 597 / 337;
    border-radius: 34px 34px 0 0;
    overflow: hidden;
}

.campaign-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.campaign-card__body {
    width: min(100%, 484px);
    background: #FFFFFF;
    border-radius: 0 0 30px 30px;
    padding: 66px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.campaign-card__title {
    margin: 0;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 3vw, 34px);
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.campaign-card__actions {
    width: min(100%, 352px);
}

.btn {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid #000000;
    color: #000000;
    transition: filter 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    filter: brightness(0.95);
}

/* ========== Footer (copied from Annabella) ========== */
.site-footer {
    background: #000;
    color: #fff;
    padding: 40px 64px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-left p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 150%;
    margin: 0;
}

.footer-left .credits {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: white;
    margin-top: 4px;
    display: block;
}

.footer-left .credits > a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* ========== DECOR IMAGES ==========  */
.prizsection-yellow {
    --base: 1440; /* ← set to your Figma frame width */
    position: relative;
    width: min(100%, calc(var(--base) * 1px));
    margin-inline: auto;
    background: var(--brand-yellow);
    isolation: isolate;
}

.decor-wrapper-1-mobile,
.decor-wrapper-2-mobile,
.decor-wrapper-3-mobile,
.decor-wrapper-4-mobile,
.decor-wrapper-5-mobile,
.decor-wrapper-6-mobile,
.decor-wrapper-7-mobile,
.decor-wrapper-8-mobile,
.decor-wrapper-9-mobile,
.decor-wrapper-10-mobile,
.decor-wrapper-11-mobile,
.decor-wrapper-12-mobile,
.decor-wrapper-13-mobile {
    display: none;
}

.decor-wrapper-1 {
    position: absolute;
    left: calc(15 / var(--base) * 100%);
    top: calc(-236 / var(--base) * 100%);
    width: calc(402 / var(--base) * 100%);
    aspect-ratio: 402.51 / 569.29;
    z-index: 7;
    pointer-events: none;
}

.decor-wrapper-1 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-2 {
    position: absolute;
    right: calc(124 / var(--base) * 100%);
    top: calc(-152 / var(--base) * 100%);
    width: calc(292 / var(--base) * 100%);
    aspect-ratio: 292.59 / 271.63;
    z-index: 4;
    pointer-events: none;
}

.decor-wrapper-2 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-3 {
    position: absolute;
    left: calc(179 / var(--base) * 100%);
    top: calc(725 / var(--base) * 100%);
    width: calc(402.51 / var(--base) * 100%);
    aspect-ratio: 402.51 / 569.29;
    z-index: 5;
    pointer-events: none;
}

.decor-wrapper-3 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-4 {
    position: absolute;
    right: calc(44 / var(--base) * 100%);
    top: calc(263 / var(--base) * 100%);
    width: calc(315.29 / var(--base) * 100%);
    aspect-ratio: 315.29 / 374.7;
    z-index: 9;
    pointer-events: none;
}

.decor-wrapper-4 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-5 {
    position: absolute;
    right: calc(317 / var(--base) * 100%);
    top: calc(529 / var(--base) * 100%);
    width: calc(315.29 / var(--base) * 100%);
    aspect-ratio: 315.29 / 374.7;
    z-index: 2;
    pointer-events: none;
}

.decor-wrapper-5 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-6 {
    position: absolute;
    right: calc(326 / var(--base) * 100%);
    top: calc(609 / var(--base) * 100%);
    width: calc(256.83 / var(--base) * 100%);
    aspect-ratio: 256.83 / 305.22;
    z-index: 4;
    pointer-events: none;
}

.decor-wrapper-6 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-7 {
    position: absolute;
    right: calc(269 / var(--base) * 100%);
    top: calc(628 / var(--base) * 100%);
    width: calc(171 / var(--base) * 100%);
    aspect-ratio: 231.33 / 171;
    z-index: 3;
    pointer-events: none;
}

.decor-wrapper-7 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-8 {
    position: absolute;
    left: calc(0 / var(--base) * 100%);
    bottom: calc(93 / var(--base) * 100%);
    width: calc(397.54 / var(--base) * 100%);
    aspect-ratio: 562.27 / 397.54;
    z-index: 8;
    pointer-events: none;
}

.decor-wrapper-8 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-9 {
    position: absolute;
    left: calc(488 / var(--base) * 100%);
    bottom: calc(-4 / var(--base) * 100%);
    width: calc(315.29 / var(--base) * 100%);
    aspect-ratio: 374.7 / 315.29;
    z-index: 10;
    pointer-events: none;
}

.decor-wrapper-9 .decor-img {
    position: absolute;
    transform: scale(1);
}

.decor-wrapper-10 {
    position: absolute;
    right: calc(43 / var(--base) * 100%);
    bottom: calc(219 / var(--base) * 100%);
    width: calc(392.07 / var(--base) * 100%);
    aspect-ratio: 554.53 / 392.07;
    z-index: 6;
    pointer-events: none;
}

.decor-wrapper-10 .decor-img {
    position: absolute;
    transform: scale(1);
}

/* === Mobile === */
@media (orientation: portrait)
and (max-width: 540px) {
    .section-yellow {
        width: auto;
    }

    .section-yellow-wrap {
        --base: 440;
        position: relative;
        width: 100%;
        margin-inline: auto;
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10 {
        display: none;
    }

    .decor-wrapper-1-mobile {
        display: block;
        position: absolute;
        left: calc(-35 / var(--base) * 100%);
        top: calc(85 / var(--base) * 100%);
        width: calc(250.35 / var(--base) * 100%);
        aspect-ratio: 354.09 / 250.35;
        z-index: 7;
        pointer-events: none;
    }

    .decor-wrapper-1-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-2-mobile {
        display: block;
        position: absolute;
        right: calc(-128 / var(--base) * 100%);
        top: calc(89 / var(--base) * 100%);
        width: calc(285.97 / var(--base) * 100%);
        aspect-ratio: 100.45 / 285.97;
        z-index: 4;
        pointer-events: none;
    }

    .decor-wrapper-2-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-3-mobile {
        display: block;
        width: calc(268 / 440 * 100%);   /* or 60vw if you prefer */
        aspect-ratio: 268 / 94;
        margin-top: 24px;
    }

    .decor-wrapper-3-mobile .decor-img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .decor-wrapper-4-mobile {
        display: block;
        position: absolute;
        right: calc(65 / var(--base) * 100%);
        top: calc(246 / var(--base) * 100%);
        width: calc(253.17 / var(--base) * 100%);
        aspect-ratio: 358.07 / 253.17;
        z-index: 3;
        pointer-events: none;
    }

    .decor-wrapper-4-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-5-mobile {
        display: block;
        position: absolute;
        right: calc(26 / var(--base) * 100%);
        top: calc(250 / var(--base) * 100%);
        width: calc(227 / var(--base) * 100%);
        aspect-ratio: 210.74 / 227;
        z-index: 2;
        pointer-events: none;
    }

    .decor-wrapper-5-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-6-mobile {
        display: block;
        position: absolute;
        right: calc(115 / var(--base) * 100%);
        bottom: calc(-14 / var(--base) * 100%);
        width: calc(285.97 / var(--base) * 100%);
        height: 100px;
        aspect-ratio: 100.45 / 285.97;
        z-index: 3;
        pointer-events: none;
    }

    .decor-wrapper-6-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-7-mobile {
        display: block;
        width: calc(268 / 440 * 100%);   /* or 60vw if you prefer */
        aspect-ratio: 268 / 94;
        margin-top: 24px;
    }

    .decor-wrapper-7-mobile > img{
        position: absolute;
        top: 49%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (orientation: landscape)
and (max-height: 540px) {
    .section-yellow-wrap {
        --base: 540 !important;
        position: relative;
        width: 100%;
        max-width: 100vw;  /* ensure it never exceeds viewport width */
        margin-inline: auto;
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10 {
        display: none;
    }

    .decor-wrapper-1-mobile {
        display: block;
        position: absolute;
        left: calc(-35 / var(--base) * 100%);
        top: calc(85 / var(--base) * 100%);
        width: calc(250.35 / var(--base) * 100%);
        aspect-ratio: 354.09 / 250.35;
        z-index: 7;
        pointer-events: none;
    }

    .decor-wrapper-1-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-2-mobile {
        display: block;
        position: absolute;
        right: calc(-128 / var(--base) * 100%);
        top: calc(89 / var(--base) * 100%);
        width: 285px;
        height: 100px;
        aspect-ratio: 100.45 / 285.97;
        z-index: 4;
        pointer-events: none;
    }

    .decor-wrapper-2-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-3-mobile {
        display: block;
        width: calc(268 / 440 * 100%);   /* or 60vw if you prefer */
        aspect-ratio: 268 / 94;
        margin-top: 24px;
    }

    .decor-wrapper-3-mobile .decor-img {
        position: absolute;
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .decor-wrapper-6-mobile {
        display: block;
        position: absolute;
        right: calc(115 / var(--base) * 100%);
        bottom: calc(-10 / var(--base) * 100%);
        width: calc(285.97 / var(--base) * 100%);
        height: 100px;
        aspect-ratio: 100.45 / 285.97;
        z-index: 3;
        pointer-events: none;
    }

    .decor-wrapper-6-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-7-mobile {
        display: block;
        width: calc(268 / 440 * 100%);   /* or 60vw if you prefer */
        aspect-ratio: 268 / 94;
        margin-top: 24px;
    }

    .decor-wrapper-7-mobile > img{
        position: absolute;
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Tablets – portrait orientation (iPad, Samsung Tab, etc.) */
@media (orientation: portrait)
and (min-width: 600px)
and (min-height: 800px)
and (max-width: 1024px) {
    .section-yellow-wrap {
        --base: 768;
        width: min(100%, calc(var(--base) * 1px));
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10 {
        display: none;
    }

    .decor-wrapper-1-mobile {
        display: block;
        position: absolute;
        left: calc(-35 / var(--base) * 100%);
        top: calc(85 / var(--base) * 100%);
        width: calc(250.35 / var(--base) * 100%);
        aspect-ratio: 354.09 / 250.35;
        z-index: 7;
        pointer-events: none;
    }

    .decor-wrapper-1-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-2-mobile {
        display: block;
        position: absolute;
        right: calc(-128 / var(--base) * 100%);
        top: calc(89 / var(--base) * 100%);
        width: 285px;
        height: 100px;
        aspect-ratio: 100.45 / 285.97;
        z-index: 4;
        pointer-events: none;
    }

    .decor-wrapper-2-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-3-mobile {
        display: block;
        width: calc(268 / 440 * 100%);   /* or 60vw if you prefer */
        aspect-ratio: 268 / 94;
        margin-top: 24px;
    }

    .decor-wrapper-3-mobile .decor-img {
        position: absolute;
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .decor-wrapper-7-mobile {
        display: block;
        width: calc(268 / 440 * 100%);   /* or 60vw if you prefer */
        aspect-ratio: 268 / 94;
        margin-top: 24px;
    }

    .decor-wrapper-7-mobile > img{
        position: absolute;
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Tablets – landscape orientation */
@media (orientation: landscape)
and (min-width: 900px)
and (min-height: 600px)
and (max-width: 1366px) {
    .section-yellow-wrap {
        --base: 1024;
        width: min(100%, calc(var(--base) * 1px));
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10 {
        display: none;
    }

    .decor-wrapper-1-mobile {
        display: block;
        position: absolute;
        left: calc(-35 / var(--base) * 100%);
        top: calc(85 / var(--base) * 100%);
        width: calc(250.35 / var(--base) * 100%);
        aspect-ratio: 354.09 / 250.35;
        z-index: 7;
        pointer-events: none;
    }

    .decor-wrapper-1-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-2-mobile {
        display: block;
        position: absolute;
        right: calc(-128 / var(--base) * 100%);
        top: calc(89 / var(--base) * 100%);
        width: 285px;
        height: 100px;
        aspect-ratio: 100.45 / 285.97;
        z-index: 4;
        pointer-events: none;
    }

    .decor-wrapper-2-mobile > img{
        position: absolute;
        transform: scale(1);
    }

    .decor-wrapper-3-mobile {
        display: block;
        width: calc(268 / 440 * 100%);   /* or 60vw if you prefer */
        aspect-ratio: 268 / 94;
        margin-top: 24px;
    }

    .decor-wrapper-3-mobile .decor-img {
        position: absolute;
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .decor-wrapper-7-mobile {
        display: block;
        width: calc(268 / 440 * 100%);   /* or 60vw if you prefer */
        aspect-ratio: 268 / 94;
        margin-top: 24px;
    }

    .decor-wrapper-7-mobile > img{
        position: absolute;
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* ========== Responsive tweaks ========== */
@media (max-width: 1024px) {
    .section-yellow {
        padding: 88px 32px;
        gap: 64px;
    }

    .campaign-grid {
        gap: 48px;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 107px;
        --logo-h: 72px;
        --band: 400;
    }

    .nav-outer {
        padding-inline: 24px;
    }

    .nav-inner {
        align-items: center;
    }

    .brand {
        width: min(var(--logo-w), 55vw);
    }

    .section-yellow {
        --base: 440;
        padding: 80px 24px 120px 24px;
        gap: 64px;
        width: 100%;
        margin: 0;
    }

    .landing-container {
        max-width: 400px;
        gap: 80px;
    }

    .landing-headline {
        max-width: 400px;
        gap: 24px;
    }

    .landing-headline h1 {
        font-size: 56px;
    }

    .landing-headline p {
        font-size: 24px;
    }

    .campaign-grid {
        flex-direction: column;
        gap: 80px;
    }

    .campaign-card {
        max-width: 400px;
    }

    .campaign-card__media {
        width: 100%;
        aspect-ratio: 400 / 337;
        border-radius: 34px 34px 0 0;
    }

    .campaign-card__body {
        width: 100%;
        padding: 60px 24px;
        gap: 32px;
        border-radius: 0 0 30px 30px;
    }

    .campaign-card__title {
        font-size: 34px;
        line-height: 120%;
        max-width: 280px;
    }

    .campaign-card__actions {
        width: 100%;
        max-width: 352px;
    }

    .decor-wrapper-1,
    .decor-wrapper-2,
    .decor-wrapper-3,
    .decor-wrapper-4,
    .decor-wrapper-5,
    .decor-wrapper-6,
    .decor-wrapper-7,
    .decor-wrapper-8,
    .decor-wrapper-9,
    .decor-wrapper-10 {
        display: none;
    }

    .site-footer {
        padding: 32px 24px;
    }

    .section-yellow::before {
        left: 0;
        transform: none;
        width: 100%;
    }
}
