
/* =========================================
   MAKING A SCENE
   PHASE 1 — MAIN STYLESHEET
   BATCH 05B-5
   ========================================= */

:root {
    --paper: #f4f1eb;
    --ink: #151515;
    --pink: #eb2b8e;
    --white: #ffffff;

    --type-primary:
        "American Typewriter",
        "Courier New",
        Georgia,
        serif;

    --page-width: 1180px;
}

/* BASE */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
min-height: 100vh;
display: flex;
flex-direction: column;
   color: var(--ink);
    background-color: var(--paper);

    background-image:
        url("../assets/textures/mas-paper-desktop.webp");


background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;


    font-family: var(--type-primary);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 100;

    padding: 12px 18px;
    background: var(--ink);
    color: var(--white);

    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */

.site-header {
    width: min(92%, var(--page-width));
    min-height: 104px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    position: relative;
    z-index: 5;
}

.site-header__brand {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.06em;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 45px);
}

.site-nav a {
    font-size: clamp(12px, 1.25vw, 16px);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: underline;
    text-decoration-color: var(--pink);
    text-underline-offset: 7px;
}

/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;
    isolation: isolate;

    width: min(94%, var(--page-width));
    min-height: 650px;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding: 20px 20px 115px;
    text-align: center;
}

/* SUBTLE DISTRESSED OVERLAY */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
        url("../assets/graphics/overlays/mas-grunge-speckles-light.webp");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0.13;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 820px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* PRIMARY LOGO */

.hero__logo {
    width: min(100%, 620px);
    height: auto;
    object-fit: contain;
}

/* ORIGINAL PINK BRUSHSTROKE */

.hero__pink-line {
    display: block;

    width: clamp(165px, 39vw, 365px);
    aspect-ratio: 1662 / 206;

    margin: -17px 0 22px;

    background-image:
        url("../assets/graphics/pink-lines/mas-pink-line-01.webp");

    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

    transform: translateX(17%);
    pointer-events: none;
}

/* HERO DESCRIPTION */

.hero__description {
    max-width: 740px;
    margin: 10px auto 30px;

    font-size: clamp(17px, 2.15vw, 26px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    text-wrap: balance;
}

/* PRIMARY CTA */

.hero__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 17px;

    min-height: 55px;
    padding: 14px 20px;

    background: #D72478;
    color: var(--white);

    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}

.hero__cta span {
    font-size: 24px;
    line-height: 1;
}

.hero__cta:hover {
    background: #cf1977;
    transform: translateY(-2px);
}

/* SECONDARY CTA */

.hero__secondary-link {
    display: inline-block;
    margin-top: 37px;
    padding-bottom: 8px;

    border-bottom: 1px solid #555;

    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
}

.hero__secondary-link:hover {
    border-bottom-color: var(--pink);
}

/* =========================================
   CROP / REGISTRATION MARKS
   ========================================= */

.hero__registration {
    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;
}

.registration {
    position: absolute;
    display: block;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.65;
    pointer-events: none;
}

.registration--tl {
    top: 15px;
    left: 0;

    width: 53px;
    height: 53px;

    background-image:
        url("../assets/graphics/crop-marks/mas-crop-mark-09.webp");
}

.registration--tr {
    top: 31%;
    right: 0;

    width: 32px;
    height: 82px;

    background-image:
        url("../assets/graphics/crop-marks/mas-crop-mark-02.webp");
}

.registration--bl {
    bottom: 35px;
    left: 10px;

    width: 31px;
    height: 32px;

    background-image:
        url("../assets/graphics/crop-marks/mas-crop-mark-05.webp");
}

.registration--br {
    bottom: 35px;
    right: 10px;

    width: 31px;
    height: 32px;

    background-image:
        url("../assets/graphics/crop-marks/mas-crop-mark-07.webp");
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    position: relative;
flex-grow: 1;
    margin-top: 110px;
    padding: 58px 24px 35px;

    background-color: var(--ink);
    background-image:
        url("../assets/textures/mas-footer-dark-paper.webp");

    background-position: center;
    background-size: cover;

    color: #f5f4f1;
    text-align: center;
}

/* ORIGINAL TORN-PAPER EDGE */

.site-footer__torn-edge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% - 2px);

    width: 100%;
    aspect-ratio: 2048 / 410;

    background-image:
        url("../assets/graphics/footer/mas-footer-torn-edge.webp");

    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    pointer-events: none;
}

.site-footer__content {
    position: relative;
    z-index: 2;

    width: min(100%, 820px);
    margin-inline: auto;
}

.site-footer__label {
    margin: 0 0 12px;

    font-size: 19px;
    font-weight: 500;
    text-transform: uppercase;
}

.site-footer__label::after {
    content: "";
    display: block;

    width: 85px;
    aspect-ratio: 1581 / 147;
    margin: 15px auto 0;

    background-image:
        url("../assets/graphics/pink-lines/mas-pink-line-04.webp");

    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.site-footer__handle {
    margin: 20px 0 28px;

    font-size: 17px;
    letter-spacing: 0.045em;
}

.site-footer__contact a {
    color: inherit;

    font-size: clamp(14px, 2vw, 18px);
    font-weight: 500;
    text-decoration: none;

    overflow-wrap: anywhere;
}

.site-footer__contact a:hover {
    color: var(--pink);
}

.site-footer__bottom {
    margin-top: 35px;

    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 1.8;
    text-transform: uppercase;
}

.site-footer__bottom p {
    margin: 0;
}

/* =========================================
   TABLET / MOBILE
   ========================================= */

@media (max-width: 720px) {

    

body {
    background-image: none;
    background-color: var(--paper);
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background-color: var(--paper);
    background-image: url("../assets/textures/mas-paper-mobile.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .site-header {
        width: 94%;
        min-height: 95px;
        padding: 18px 0;

        flex-direction: column;
        justify-content: center;
        gap: 17px;
    }

    .site-header__brand {
        font-size: 12px;
    }

    .site-nav {
        gap: 12px 21px;
    }

    .site-nav a {
        font-size: 12px;
    }

    .hero {
        width: 96%;
        min-height: 0;
        padding: 35px 12px 105px;
    }

    .hero__logo {
        width: min(100%, 490px);
    }

    .hero__pink-line {
        width: clamp(150px, 52vw, 270px);
        margin-top: -10px;
        margin-bottom: 17px;
    }

    .hero__description {
        font-size: clamp(16px, 4.1vw, 22px);
        line-height: 1.4;
        margin-bottom: 28px;
    }

    .hero__cta {
        font-size: 14px;
    }

    .registration--tl {
        width: 37px;
        height: 37px;
    }

    .registration--tr {
        width: 23px;
        height: 59px;
        opacity: 0.4;
    }

    .registration--bl,
    .registration--br {
        width: 25px;
        height: 25px;
    }

    .site-footer {
        margin-top: 65px;
        padding-top: 45px;
    }

    .site-footer__label {
        font-size: 17px;
    }
}

@media (max-width: 420px) {

    .site-nav {
        gap: 11px 16px;
    }

    .site-nav a {
        font-size: 11px;
    }

    .hero {
        padding-top: 25px;
    }

    .hero__description {
        font-size: 16px;
    }

    .hero__cta {
        gap: 10px;
        padding: 13px 16px;
        font-size: 13px;
    }

    .hero__secondary-link {
        font-size: 13px;
    }

    .site-footer__handle {
        font-size: 15px;
    }

    .site-footer__bottom {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }
}

/* =========================================
   SOCIAL MEDIA FOOTER ICONS
   BATCH 05C-5C
   ========================================= */

.site-footer__social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
    margin: 24px auto 32px;
}

.site-footer__social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-footer__social-links a img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-footer__social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.75;
}

.site-footer__social-links a:focus-visible {
    outline: 2px solid #EE358B;
    outline-offset: 4px;
}

@media (max-width: 420px) {
    .site-footer__social-links {
        gap: 16px;
    }

    .site-footer__social-links a {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .site-footer__social-links a img {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__social-links a {
        transition: none;
    }

    .site-footer__social-links a:hover {
        transform: none;
    }
}

    .hero__cta {
        transition: none;
    }
}
