:root {
    --wf-night: #0b0b0e;
    --wf-night-2: #121219;
    --wf-cream: #f4ecdd;
    --wf-acid: #ccff00;
    --wf-violet: #9d67ff;
    --wf-blue: #54d6ff;
    --wf-red: #f04d37;
    --wf-line: rgba(244, 236, 221, .24);
    --wf-pad: clamp(1.15rem, 3.2vw, 3.6rem);
}

html {
    background: var(--wf-night);
    scroll-behavior: smooth;
}

.wildfire-page {
    margin: 0;
    background: var(--wf-night);
    color: var(--wf-cream);
}

.wildfire-page::selection {
    background: var(--wf-acid);
    color: var(--wf-night);
}

/* The shared pill keeps its pink background, so it needs the dark ink text the
   light pages use. Inheriting WildFire's cream leaves it at 1.8:1. */
.nav-pill {
    color: var(--wf-night);
}

.wf-skip {
    position: fixed;
    z-index: 100;
    top: -5rem;
    left: 1rem;
    padding: .7rem 1rem;
    background: var(--wf-acid);
    color: var(--wf-night);
    font: 800 .75rem Manrope, sans-serif;
}

.wf-skip:focus {
    top: 1rem;
}

.wf-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    display: grid;
    width: 100%;
    min-height: 88px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: .75rem var(--wf-pad);
    border-bottom: 1px solid var(--wf-line);
    background: rgba(11, 11, 14, .72);
    backdrop-filter: blur(18px);
}

.wf-back,
.wf-nav a {
    font: 700 .69rem/1 DM Mono, monospace;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.wf-back {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    justify-self: start;
}

.wf-back span:first-child {
    color: var(--wf-acid);
    font-size: 1rem;
    transition: transform .2s ease;
}

.wf-back:hover span:first-child {
    transform: translateX(-.3rem);
}

.wf-mark {
    width: 58px;
    border-radius: 50%;
    overflow: hidden;
}

.wf-mark img {
    width: 100%;
    height: auto;
}

.wf-nav {
    display: flex;
    align-items: center;
    gap: clamp(.8rem, 2vw, 2rem);
    justify-self: end;
}

.wf-nav a:not(.wf-nav-cta):hover {
    color: var(--wf-acid);
}

.wf-nav-cta {
    padding: .75rem 1rem;
    border: 1px solid var(--wf-acid);
    color: var(--wf-acid);
}

.wf-nav-cta:hover {
    background: var(--wf-acid);
    color: var(--wf-night);
}

.wf-hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    grid-template-columns: 1.03fr .97fr;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    border-bottom: 1px solid var(--wf-line);
    background:
        radial-gradient(circle at 77% 45%, rgba(157, 103, 255, .18), transparent 26rem),
        var(--wf-night);
}

.wf-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244, 236, 221, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 236, 221, .045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, black, transparent 72%);
    pointer-events: none;
}

.wf-hero-copy {
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(9rem, 15vh, 12rem) var(--wf-pad) clamp(5rem, 9vh, 7rem);
}

.wf-kicker,
.wf-eyebrow {
    margin: 0;
    font: 500 .68rem/1.4 DM Mono, monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wf-kicker {
    color: rgba(244, 236, 221, .65);
}

.wf-kicker span {
    display: inline-block;
    margin-right: .8rem;
    padding: .25rem .4rem;
    background: var(--wf-acid);
    color: var(--wf-night);
}

.wf-hero h1 {
    max-width: 780px;
    margin: 2rem 0 0;
    font-family: Manrope, sans-serif;
    font-size: clamp(3.5rem, 7.2vw, 8.4rem);
    font-weight: 800;
    letter-spacing: -.085em;
    line-height: .83;
    text-transform: uppercase;
}

.wf-hero h1 em {
    display: block;
    color: var(--wf-acid);
    font-family: "Yeseva One", Georgia, serif;
    font-size: .88em;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .92;
    text-transform: none;
    transform: rotate(-1deg);
}

.wf-intro {
    max-width: 38rem;
    margin: 2.5rem 0 0;
    color: rgba(244, 236, 221, .78);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.55;
}

.wf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.3rem;
    margin-top: 2.1rem;
}

.wf-button {
    display: inline-flex;
    min-height: 3.3rem;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 0 1.25rem;
    border: 1px solid currentColor;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.wf-button--signal {
    border-color: var(--wf-acid);
    background: var(--wf-acid);
    color: var(--wf-night);
    box-shadow: 5px 5px 0 var(--wf-violet);
}

.wf-button--signal:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--wf-violet);
}

.wf-text-link {
    font: 500 .69rem DM Mono, monospace;
    text-underline-offset: .35rem;
    text-transform: uppercase;
}

.wf-text-link:hover {
    color: var(--wf-acid);
}

.wf-hero-art {
    position: relative;
    min-width: 0;
    min-height: 650px;
    overflow: hidden;
    border-left: 1px solid var(--wf-line);
}

.wf-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(204, 255, 0, .5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.wf-orbit::before {
    position: absolute;
    top: 50%;
    left: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--wf-acid);
    box-shadow: 0 0 18px var(--wf-acid);
    content: "";
}

.wf-orbit--outer {
    width: min(43vw, 650px);
    aspect-ratio: 1;
    animation: wf-spin 24s linear infinite;
}

.wf-orbit--inner {
    width: min(34vw, 490px);
    aspect-ratio: 1;
    border-color: rgba(157, 103, 255, .65);
    animation: wf-spin 16s linear reverse infinite;
}

@keyframes wf-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.wf-hero-cover {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(29vw, 410px);
    margin: 0;
    border: 1px solid var(--wf-acid);
    box-shadow: 18px 18px 0 rgba(157, 103, 255, .8);
    transform: translate(-50%, -50%) rotate(3deg);
}

.wf-hero-cover img {
    width: 100%;
    height: auto;
}

.wf-record {
    position: absolute;
    z-index: 4;
    right: 3%;
    bottom: 12%;
    display: grid;
    width: clamp(7rem, 10vw, 9.5rem);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--wf-cream);
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, transparent 0 5px, rgba(244, 236, 221, .1) 6px 7px),
        var(--wf-night);
    color: var(--wf-acid);
    font: 500 .56rem/1.45 DM Mono, monospace;
    text-align: center;
    transform: rotate(8deg);
}

.wf-coordinates {
    position: absolute;
    top: 17%;
    right: var(--wf-pad);
    margin: 0;
    color: rgba(244, 236, 221, .55);
    font: 500 .58rem/1.6 DM Mono, monospace;
    letter-spacing: .1em;
    text-align: right;
}

.wf-hero-footer {
    z-index: 3;
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding: .8rem var(--wf-pad);
    border-top: 1px solid var(--wf-line);
    color: rgba(244, 236, 221, .55);
    font: 500 .58rem DM Mono, monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wf-marquee {
    overflow: hidden;
    border-bottom: 1px solid var(--wf-night);
    background: var(--wf-acid);
    color: var(--wf-night);
}

.wf-marquee div {
    width: max-content;
    padding: .78rem 0;
    font: 800 .74rem DM Mono, monospace;
    letter-spacing: .08em;
    animation: wf-marquee 24s linear infinite;
}

@keyframes wf-marquee {
    to {
        transform: translateX(-50%);
    }
}

.wf-signal {
    display: grid;
    grid-template-columns: .25fr 1fr .7fr;
    gap: clamp(2rem, 6vw, 7rem);
    padding: clamp(6rem, 11vw, 11rem) var(--wf-pad);
    border-bottom: 1px solid var(--wf-line);
}

.wf-section-index {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    color: var(--wf-acid);
    font: 500 .62rem DM Mono, monospace;
    text-transform: uppercase;
}

.wf-section-index span:first-child {
    font-family: Manrope, sans-serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    letter-spacing: -.08em;
    line-height: .8;
    -webkit-text-stroke: 1px var(--wf-acid);
    color: transparent;
}

.wf-signal-copy h2,
.wf-mix h2,
.wf-night-copy h2,
.wf-afterglow h2 {
    margin: 1.1rem 0 0;
    font-family: "Yeseva One", Georgia, serif;
    font-size: clamp(3rem, 6.8vw, 7rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .9;
}

.wf-signal-copy > p:not(.wf-eyebrow) {
    max-width: 43rem;
    margin: 2.2rem 0 0;
    color: rgba(244, 236, 221, .72);
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.65;
}

.wf-principles {
    align-self: end;
    border-top: 1px solid var(--wf-acid);
}

.wf-principles > p {
    margin: 0;
    padding: .8rem 0;
    color: var(--wf-acid);
    font: 500 .63rem DM Mono, monospace;
    text-transform: uppercase;
}

.wf-principles ol {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--wf-line);
    list-style: none;
}

.wf-principles li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: .5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--wf-line);
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.wf-principles li span {
    color: rgba(244, 236, 221, .58);
    font: 500 .6rem DM Mono, monospace;
}

.wf-mix {
    padding: clamp(6rem, 10vw, 10rem) var(--wf-pad);
    background: var(--wf-cream);
    color: var(--wf-night);
}

.wf-mix-heading {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.wf-mix-heading > p {
    max-width: 28rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.wf-release-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2.4vw, 2.4rem);
}

.wf-release {
    --card-accent: var(--wf-acid);
}

.wf-release--violet {
    --card-accent: var(--wf-violet);
    padding-top: 4rem;
}

.wf-release--red {
    --card-accent: var(--wf-red);
}

.wf-release--blue {
    --card-accent: var(--wf-blue);
    padding-top: 4rem;
}

.wf-release a {
    display: block;
    text-decoration: none;
}

.wf-release a:focus-visible {
    outline: 3px solid var(--card-accent);
    outline-offset: .65rem;
}

.wf-release-art {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border: 1px solid var(--wf-night);
    background: var(--wf-night);
    box-shadow: 8px 8px 0 var(--card-accent);
    transition: transform .28s ease, box-shadow .28s ease;
}

.wf-release-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wf-release-art > span {
    position: absolute;
    right: .8rem;
    bottom: .8rem;
    padding: .5rem .7rem;
    border: 1px solid var(--wf-night);
    background: var(--card-accent);
    font: 700 .63rem DM Mono, monospace;
    opacity: 0;
    transform: translateY(.35rem);
    transition: opacity .22s ease, transform .22s ease;
}

.wf-release a:is(:hover, :focus-visible) .wf-release-art {
    box-shadow: 13px 14px 0 var(--card-accent);
    transform: translateY(-.45rem) rotate(-1.5deg);
}

.wf-release a:is(:hover, :focus-visible) .wf-release-art > span {
    opacity: 1;
    transform: none;
}

.wf-release-info {
    display: grid;
    gap: .35rem;
    padding-top: 1.25rem;
}

.wf-release-info small {
    color: rgba(11, 11, 14, .65);
    font: 500 .58rem DM Mono, monospace;
    text-transform: uppercase;
}

.wf-release-info strong {
    font-family: "Yeseva One", Georgia, serif;
    font-size: clamp(1.45rem, 2.4vw, 2.35rem);
    font-weight: 400;
    line-height: 1;
}

.wf-all-releases {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(4rem, 8vw, 7rem);
    padding: 1.2rem 0;
    border-block: 1px solid var(--wf-night);
    font: 800 .75rem DM Mono, monospace;
    text-decoration: none;
    text-transform: uppercase;
}

.wf-all-releases:hover {
    padding-inline: 1rem;
    background: var(--wf-acid);
}

.wf-all-releases span:last-child {
    font-size: 1.3rem;
}

.wf-night-notes {
    display: grid;
    min-height: 720px;
    grid-template-columns: 1fr 1fr;
    border-block: 1px solid var(--wf-line);
    background: var(--wf-night-2);
}

.wf-night-photo {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border-right: 1px solid var(--wf-line);
}

.wf-night-photo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(157, 103, 255, .25), transparent 48%, rgba(204, 255, 0, .16));
    content: "";
    mix-blend-mode: screen;
    pointer-events: none;
}

.wf-night-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.75) contrast(1.15);
}

.wf-night-photo > span {
    position: absolute;
    z-index: 2;
    right: 1.2rem;
    bottom: 1.2rem;
    padding: .55rem .7rem;
    background: var(--wf-acid);
    color: var(--wf-night);
    font: 700 .6rem DM Mono, monospace;
}

.wf-night-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(4rem, 7vw, 8rem) var(--wf-pad);
}

.wf-night-copy .wf-eyebrow {
    color: var(--wf-acid);
}

.wf-night-copy > p:not(.wf-eyebrow) {
    max-width: 34rem;
    margin: 2.2rem 0 0;
    color: rgba(244, 236, 221, .72);
    font-size: 1.08rem;
    line-height: 1.65;
}

.wf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 2.3rem;
    padding: 0;
    list-style: none;
}

.wf-tags li {
    padding: .55rem .75rem;
    border: 1px solid var(--wf-line);
    border-radius: 999px;
    font: 500 .61rem DM Mono, monospace;
    text-transform: uppercase;
}

.wf-tags li:nth-child(2n) {
    border-color: var(--wf-violet);
    color: var(--wf-violet);
}

.wf-tags li:nth-child(2n + 1) {
    border-color: var(--wf-acid);
    color: var(--wf-acid);
}

.wf-afterglow {
    display: grid;
    justify-items: center;
    padding: clamp(6rem, 11vw, 11rem) var(--wf-pad);
    background: var(--wf-acid);
    color: var(--wf-night);
    text-align: center;
}

.wf-afterglow h2 {
    font-size: clamp(4rem, 10vw, 10rem);
}

.wf-afterglow > p:not(.wf-eyebrow) {
    max-width: 39rem;
    margin: 2rem 0 0;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.55;
}

.wf-button--dark {
    margin-top: 2rem;
    background: var(--wf-night);
    color: var(--wf-cream);
    box-shadow: 6px 6px 0 var(--wf-violet);
}

.wf-button--dark:hover {
    color: var(--wf-acid);
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--wf-violet);
}

.wf-afterglow small {
    margin-top: 1.1rem;
    font: 500 .59rem DM Mono, monospace;
    text-transform: uppercase;
}

.wf-footer {
    display: grid;
    grid-template-columns: 1.2fr .8fr auto;
    gap: 3rem;
    align-items: end;
    padding: 4rem var(--wf-pad) 3rem;
    background: var(--wf-night);
}

.wf-footer-name {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.wf-footer-name img {
    width: 68px;
    border-radius: 50%;
}

.wf-footer-name strong {
    font-family: Manrope, sans-serif;
    font-size: clamp(2rem, 5vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: 1;
}

.wf-footer > p {
    margin: 0;
    color: var(--wf-acid);
    font-family: "Yeseva One", Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.15;
}

.wf-footer-links a {
    display: flex;
    min-height: 2rem;
    align-items: center;
    margin-top: .2rem;
    padding-block: .3rem;
    font: 500 .65rem DM Mono, monospace;
    text-underline-offset: .25rem;
    text-transform: uppercase;
}

.wf-footer-links a:hover {
    color: var(--wf-acid);
}

.wf-footer > small {
    grid-column: 1 / -1;
    margin-top: 3rem;
    color: rgba(244, 236, 221, .58);
    font: 500 .58rem DM Mono, monospace;
}

@media (max-width: 980px) {
    .wf-header {
        grid-template-columns: 1fr auto;
    }

    .wf-mark {
        display: none;
    }

    .wf-hero {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .wf-hero-copy {
        min-height: 720px;
    }

    .wf-hero-art {
        min-height: 700px;
        border-top: 1px solid var(--wf-line);
        border-left: 0;
    }

    .wf-orbit--outer {
        width: min(78vw, 650px);
    }

    .wf-orbit--inner {
        width: min(61vw, 490px);
    }

    .wf-hero-cover {
        width: min(52vw, 410px);
    }

    .wf-signal {
        grid-template-columns: .25fr 1fr;
    }

    .wf-principles {
        grid-column: 2;
    }

    .wf-release-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wf-night-notes {
        grid-template-columns: 1fr;
    }

    .wf-night-photo {
        border-right: 0;
        border-bottom: 1px solid var(--wf-line);
    }

    .wf-footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .wf-header {
        position: absolute;
        min-height: 74px;
    }

    .wf-back span:last-child {
        display: none;
    }

    .wf-nav a:not(.wf-nav-cta) {
        display: none;
    }

    .wf-nav-cta {
        padding: .65rem .8rem;
    }

    .wf-hero-copy {
        min-height: 650px;
        padding-top: 8rem;
    }

    .wf-hero h1 {
        max-width: 100%;
        font-size: clamp(2.7rem, 12.75vw, 4.2rem);
    }

    .wf-hero-art {
        min-height: 560px;
    }

    .wf-hero-cover {
        width: min(66vw, 360px);
        box-shadow: 12px 12px 0 rgba(157, 103, 255, .8);
    }

    .wf-orbit--outer {
        width: 94vw;
    }

    .wf-orbit--inner {
        width: 74vw;
    }

    .wf-coordinates {
        top: 7%;
    }

    .wf-record {
        bottom: 5%;
    }

    .wf-hero-footer span:nth-child(2) {
        display: none;
    }

    .wf-signal {
        grid-template-columns: 1fr;
    }

    .wf-section-index {
        flex-direction: row;
        align-items: end;
    }

    .wf-section-index span:first-child {
        font-size: 3.4rem;
    }

    .wf-principles {
        grid-column: auto;
    }

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

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

    .wf-release--violet,
    .wf-release--blue {
        padding-top: 0;
    }

    .wf-night-photo {
        min-height: 470px;
    }

    .wf-footer {
        grid-template-columns: 1fr;
    }

    .wf-footer > small {
        margin-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .wf-orbit,
    .wf-marquee div {
        animation: none;
    }

    .wf-button,
    .wf-release-art,
    .wf-back span {
        transition: none;
    }
}
