@font-face {
    font-family: "Akzidenz";
    src: url("assets/fonts/AkzidenzGroteskBE-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Akzidenz";
    src: url("assets/fonts/AkzidenzGroteskBE-Md.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Akzidenz";
    src: url("assets/fonts/AkzidenzGroteskBE-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #080807;
    --paper: #f4f0e8;
    --paper-deep: #e9e3d6;
    --orange: #f2a90b;
    --cyan: #176d73;
    --gutter: clamp(18px, 2.6vw, 42px);
    --thin: 1px;
    --measure: 68ch;
    --shape-fill: var(--orange) url("assets/images/yellow-texture.jpg") center /
        520px repeat;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        linear-gradient(rgba(244, 240, 232, 0.72), rgba(244, 240, 232, 0.72)),
        url("assets/images/paper-texture.jpg?v=2") center / 420px repeat;
    font-family: "Akzidenz", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.page-shell {
    width: min(100%, 1920px);
    margin: 0 auto;
}

.site-header {
    position: absolute;
    top: 0;
    left: max(0px, calc((100vw - 1920px) / 2));
    z-index: 20;
    width: min(100%, 1920px);
    transform: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: var(--gutter);
    padding: calc(var(--gutter) * 0.8) var(--gutter);
    pointer-events: none;
}

.brand,
.nav {
    pointer-events: auto;
}

.brand {
    width: fit-content;
    font-size: clamp(1.15rem, 1.8vw, 2.1rem);
    font-weight: 700;
    line-height: 0.88;
    text-transform: lowercase;
}

.nav {
    position: absolute;
    top: calc(var(--gutter) * 0.8);
    right: var(--gutter);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: clamp(12px, 1.7vw, 28px);
    font-size: clamp(0.95rem, 1vw, 1.2rem);
    line-height: 1;
    text-transform: lowercase;
}

details {
    position: relative;
}

summary {
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary,
.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    font-weight: 600;
    text-decoration-thickness: var(--thin);
    text-underline-offset: 0.18em;
}

summary:hover,
summary:focus-visible,
.nav-link:hover,
.nav-link:focus-visible,
.menu a:hover,
.menu a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.platform-grid a:hover,
.platform-grid a:focus-visible {
    text-decoration: underline;
}

.menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    min-width: 10.5rem;
    padding: 0.55rem 0;
    background:
        linear-gradient(rgba(244, 240, 232, 0.88), rgba(244, 240, 232, 0.88)),
        url("assets/images/paper-texture.jpg?v=2") center / 420px repeat;
}

.menu a {
    display: block;
    padding: 0.58rem 0.8rem;
    white-space: nowrap;
}

.poster-hero {
    position: relative;
    min-height: 92svh;
    display: grid;
    grid-template-columns:
        minmax(var(--gutter), 0.48fr) minmax(280px, 0.8fr)
        minmax(250px, 0.68fr) minmax(var(--gutter), 0.24fr);
    grid-template-rows: minmax(160px, 0.38fr) auto minmax(86px, 0.2fr);
    overflow: hidden;
}

.block {
    position: absolute;
    background: var(--shape-fill);
}

.block-left {
    top: 0;
    left: 0;
    width: 45.5%;
    height: 70.5%;
}

.block-center {
    right: 18%;
    bottom: 7.2%;
    width: 27%;
    height: 61.5%;
}

.block-image {
    right: 18%;
    bottom: 4.8%;
    width: 30%;
    height: 70%;
}

.block-slim {
    right: 0;
    top: 18.2%;
    width: 11.5%;
    height: 68%;
}

.hero-copy {
    position: relative;
    z-index: 3;
    grid-column: 1 / 3;
    grid-row: 2;
    align-self: end;
    display: grid;
    grid-template-columns: minmax(120px, 0.42fr) minmax(280px, 0.7fr);
    gap: clamp(18px, 2.2vw, 44px);
    padding: clamp(110px, 17vh, 210px) var(--gutter) clamp(36px, 6vh, 70px);
    transform: translateY(clamp(-112px, -7vh, -64px));
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    grid-column: 1 / 3;
    font-size: clamp(4.2rem, 9.8vw, 12.6rem);
    line-height: 0.78;
    font-weight: 700;
    text-transform: lowercase;
    overflow-wrap: break-word;
}

h1 span {
    display: block;
}

.hero-line {
    grid-column: 1 / 3;
    width: min(21ch, 100%);
    max-width: none;
    margin-left: calc(var(--gutter) * -0.35);
    margin-top: clamp(8px, 1.2vw, 18px);
    font-size: clamp(2.2rem, 3.8vw, 5rem);
    line-height: 0.88;
    font-weight: 600;
}

.hero-actions {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: clamp(22px, 3vw, 48px);
    font-size: clamp(1rem, 1.15vw, 1.35rem);
    font-weight: 600;
    text-transform: lowercase;
}

.hero-actions a {
    border-bottom: var(--thin) solid currentColor;
}

.hero-image {
    position: relative;
    z-index: 2;
    grid-column: 3 / 5;
    grid-row: 2 / 4;
    align-self: end;
    justify-self: start;
    width: 80%;
    margin: 0 var(--gutter) clamp(64px, 8vh, 126px) 0;
    transform: translateX(-14%);
    background: transparent;
}

.hero-image::before {
    display: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    filter: grayscale(0.1) saturate(0.82) contrast(1.08);
}

.releases-section,
.listen-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
    padding: clamp(64px, 9vw, 150px) var(--gutter);
    z-index: 0;
}

.releases-section::before {
    content: "";
    position: absolute;
    background: var(--shape-fill);
    z-index: -1;
}

.releases-section::before {
    top: clamp(54px, 7.2vw, 130px);
    left: 0;
    width: min(42vw, 760px);
    height: min(18vw, 280px);
}

.section-heading {
    display: grid;
    max-width: 78rem;
    margin-bottom: clamp(32px, 5vw, 82px);
}

.section-heading h2,
.listen-section h2 {
    font-size: clamp(3.5rem, 8.5vw, 12rem);
    line-height: 0.78;
    font-weight: 700;
    text-transform: lowercase;
}

.section-heading p {
    max-width: 24ch;
    font-size: clamp(1.25rem, 1.9vw, 2.55rem);
    line-height: 0.98;
    font-weight: 600;
}

.release {
    position: relative;
    z-index: 0;
    display: grid;
    grid-template-columns: minmax(180px, 0.38fr) minmax(280px, 0.62fr);
    gap: var(--gutter);
    padding: clamp(22px, 3vw, 48px) 0;
}

.release:last-of-type {
    padding-bottom: 0;
}

.release-reversed {
    grid-template-columns: minmax(280px, 0.62fr) minmax(180px, 0.38fr);
}

.release-featured {
    padding-top: 0;
}

.release-art {
    display: block;
    align-self: start;
}

.release-art img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.06);
}

.release-body {
    display: grid;
    align-content: start;
    gap: clamp(16px, 2vw, 28px);
}

.release-meta {
    display: flex;
    justify-content: flex-start;
    gap: clamp(18px, 3vw, 56px);
    font-size: clamp(0.95rem, 1vw, 1.2rem);
    line-height: 1;
    text-transform: lowercase;
}

.release-reversed .release-art {
    grid-column: 2;
    grid-row: 1;
}

.release-reversed .release-body {
    grid-column: 1;
    grid-row: 1;
}

.release h3 {
    font-size: clamp(3rem, 7vw, 9rem);
    line-height: 0.78;
    font-weight: 700;
    text-transform: lowercase;
}

.release p {
    max-width: var(--measure);
    font-size: clamp(1.08rem, 1.35vw, 1.72rem);
    line-height: 1.08;
}

.text-link {
    width: fit-content;
    font-size: clamp(1rem, 1.1vw, 1.25rem);
    font-weight: 600;
    border-bottom: var(--thin) solid currentColor;
}

.listen-section {
    padding-top: clamp(36px, 6vw, 110px);
    background: var(--shape-fill);
}

.listen-section h2 {
    font-weight: 700;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: var(--thin) solid var(--ink);
    border-left: var(--thin) solid var(--ink);
}

.platform-grid a {
    min-height: clamp(82px, 9vw, 150px);
    display: flex;
    align-items: flex-end;
    padding: clamp(14px, 2vw, 28px);
    border-right: var(--thin) solid var(--ink);
    border-bottom: var(--thin) solid var(--ink);
    font-size: clamp(1.4rem, 2.7vw, 4rem);
    line-height: 0.86;
    font-weight: 600;
    text-transform: lowercase;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--gutter);
    padding: calc(var(--gutter) * 0.8) var(--gutter);
    font-size: clamp(0.72rem, 0.88vw, 1.02rem);
    line-height: 1;
    text-transform: lowercase;
}

.footer-logo {
    width: clamp(40px, 5vw, 90px);
    height: auto;
    justify-self: center;
}

.site-footer span {
    white-space: nowrap;
}

.site-footer span:last-child {
    justify-self: end;
    text-align: right;
}

@media (max-width: 1040px) {
    .site-header {
        position: absolute;
        left: 0;
        width: 100vw;
        transform: none;
    }

    .nav {
        justify-self: end;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .poster-hero {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        padding-top: clamp(90px, 15vw, 150px);
    }

    .block-left {
        width: 70%;
        height: 48%;
    }

    .block-center {
        right: 0;
        top: 54%;
        bottom: auto;
        width: 28%;
        height: 32%;
    }

    .block-image {
        left: 22%;
        right: auto;
        top: 48%;
        bottom: auto;
        width: 58%;
        height: 46%;
    }

    .block-slim {
        display: none;
    }

    .hero-copy {
        grid-column: 1;
        grid-row: 1;
        grid-template-columns: minmax(0, 1fr);
        padding-top: clamp(54px, 9vw, 96px);
        transform: none;
    }

    h1,
    .hero-line,
    .hero-actions {
        grid-column: 1;
    }

    .hero-line {
        width: auto;
        max-width: 18ch;
        margin-left: 0;
    }

    .hero-image {
        grid-column: 1;
        grid-row: 2;
        margin: 0 var(--gutter) calc(var(--gutter) * 2);
        width: min(496px, calc(80% - var(--gutter) * 2));
        justify-self: start;
        transform: translateX(-4%);
    }

    .releases-section,
    .listen-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-heading,
    .release,
    .listen-section h2,
    .platform-grid {
        grid-column: 1;
    }

    .section-heading {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    :root {
        --gutter: 18px;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .nav {
        justify-self: end;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 10px;
        font-size: clamp(0.82rem, 3.4vw, 0.95rem);
    }

    .menu {
        left: 0;
        right: auto;
    }

    .hero-copy {
        padding-top: 96px;
    }

    h1 {
        font-size: clamp(3rem, 12vw, 3.65rem);
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hero-line {
        width: auto;
        max-width: 12ch;
        margin-left: 0;
        font-size: clamp(2rem, 8.5vw, 3.2rem);
    }

    .hero-actions {
        margin-top: 8px;
    }

    .hero-image {
        display: block;
        width: min(80%, 416px);
        margin-top: 22px;
        margin-bottom: var(--gutter);
    }

    .release {
        grid-template-columns: 1fr;
    }

    .release-art {
        width: min(100%, 420px);
    }

    .release-reversed .release-art,
    .release-reversed .release-body {
        grid-column: auto;
        grid-row: auto;
    }

    .release-meta {
        display: grid;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-grid a {
        min-height: 76px;
    }

    .site-footer {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 10px;
        font-size: clamp(0.56rem, 2.3vw, 0.72rem);
    }
}
