:root {
    --content-max-width: 1280px;
    --content-padding-x: clamp(20px, 4vw, 56px);
    --content-font-size: clamp(0.98rem, 0.76rem + 0.78vw, 1.55rem);
    --content-line-height: 1.78;
    --h1-font-size: clamp(2.05rem, 1.05rem + 4.35vw, 5rem);
    --h2-font-size: clamp(1.55rem, 1.02rem + 2.2vw, 3rem);
    --quote-font-size: clamp(1rem, 0.78rem + 0.86vw, 1.65rem);
    --page-scale: 1;
    --page-background-color: #000000;
    --page-background-image: url("/rainbowbg.png");
    --page-background-size: cover;
    --page-background-position: center;
    --page-background-repeat: no-repeat;
    --video-fit: cover;
    --video-position: center center;
    --background-overlay: transparent;
    --video-scale: 1;
    --h1-divider-thickness: 2px;
    --h1-divider-style: solid;
    --h1-divider-color: rgba(255, 255, 255, 0.4);
    --h1-divider-padding: clamp(18px, 3.2vw, 30px);
    --page-text-color: var(--page-text-color);
}

html {
    min-height: 100%;
    background-color: #000000;
    scroll-behavior: smooth;
}

body {
    position: relative;
    z-index: 0;
    isolation: isolate;
    margin: 0;
    padding: 0 0 clamp(80px, 10vh, 140px);
    min-height: 100%;
    overflow-x: hidden;
    font-family: "Asta Sans", sans-serif;
    font-weight: 400;
    color: var(--page-text-color);
    background: transparent;
}

.page-content {
    position: relative;
    width: 100%;
}

.site-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    height: 100lvh;
    overflow: hidden;
    pointer-events: none;

    background-color: var(--page-background-color);
    background-image: var(--page-background-image);
    background-size: var(--page-background-size);
    background-position: var(--page-background-position);
    background-repeat: var(--page-background-repeat);
}

.site-background::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--background-overlay, transparent);
    pointer-events: none;
}

.site-background-video {
    background-image: none;
}

.background-video {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: var(--video-fit, cover);
    object-position: var(--video-position, center center);
    transform: scale(var(--video-scale, 1));

    pointer-events: none;
}

@supports not (height: 100lvh) {
    .site-background {
        height: 100vh;
    }
}

.rotate-notice {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    min-height: 100vh;
    min-height: 100svh;
    padding: 24px;
    box-sizing: border-box;
    place-items: center;
    text-align: center;
    color: #ffffff;
    background: #000000;
}

.rotate-notice__inner {
    max-width: 340px;
    font-size: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
    line-height: 1.7;
    opacity: 0.96;
}

.rotate-notice__icon {
    display: block;
    margin-bottom: 16px;
    font-size: 2rem;
    line-height: 1;
}

.site-content {
    position: relative;
}

.hero-section {
    position: relative;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

#pqr-negation-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.markdown-body {
    position: relative;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding-x);
    box-sizing: border-box;
    text-align: left;
    font-size: var(--content-font-size);
    font-size: calc(var(--content-font-size) * var(--page-scale));
    line-height: var(--content-line-height);
    color: var(--page-text-color);;
    mix-blend-mode: var(--content-blend-mode, difference);
}

.markdown-body h1 {
    margin-top: 0;
    margin-bottom: clamp(24px, 3vw, 44px);
    padding-bottom: var(--h1-divider-padding);
    border-bottom:
        var(--h1-divider-thickness)
        var(--h1-divider-style)
        var(--h1-divider-color);
    font-size: var(--h1-font-size);
    font-size: calc(var(--h1-font-size) * var(--page-scale));
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.markdown-body h1.no-divider,
.hide-h1-divider .markdown-body h1 {
    padding-bottom: 0;
    border-bottom: none;
}

.section-divider {
    width: var(--divider-width, 100%);
    margin:
        var(--divider-margin-top, 24px)
        auto
        var(--divider-margin-bottom, 24px);
    box-sizing: border-box;
    border: 0;
    border-top:
        var(--divider-thickness, var(--h1-divider-thickness))
        var(--divider-style, var(--h1-divider-style))
        var(--divider-color, var(--h1-divider-color));
}

.markdown-body h2 {
    margin-top: clamp(40px, 6vw, 72px);
    margin-bottom: clamp(18px, 2.4vw, 30px);
    font-size: var(--h2-font-size);
    font-size: calc(var(--h2-font-size) * var(--page-scale));
    line-height: 1.18;
}

.markdown-body p {
    margin-top: 0;
    margin-bottom: clamp(18px, 2.5vw, 30px);
    font-size: 1em;
    opacity: 0.95;
}

.markdown-body blockquote {
    margin: clamp(28px, 4vw, 48px) 0;
    padding: clamp(16px, 2vw, 24px) clamp(20px, 4vw, 40px);
    border-left: clamp(4px, 0.7vw, 6px) solid var(--page-text-color);
    background: rgba(255, 255, 255, 0.08);
    font-size: var(--quote-font-size);
    font-size: calc(var(--quote-font-size) * var(--page-scale));
    line-height: 1.65;
}

.page-header {
    display: flex;
    align-items: flex-end;
    min-height: clamp(260px, 42svh, 520px);
    padding: clamp(72px, 12vh, 150px) 0 clamp(42px, 7vh, 84px);
    box-sizing: border-box;
}

.page-header .markdown-body {
    width: 100%;
}

.page-kicker {
    margin: 0 0 0.8rem;
    font-family: "Elms Sans", "Asta Sans", sans-serif;
    font-size: 0.72em;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.72;
}

.page-description {
    max-width: 42em;
    margin-bottom: 0;
}

.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px var(--content-padding-x);
    box-sizing: border-box;
    color: var(--page-text-color);
    mix-blend-mode: var(--content-blend-mode, difference);
}

.site-nav a {
    color: inherit;
    text-decoration: none;
}

.site-nav__brand {
    font-family: "Elms Sans", "Asta Sans", sans-serif;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.site-nav__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 22px;
    font-size: 0.88rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.28em;
}

.box {
    width: 100%;
    border-collapse: collapse;
}

.box td {
    padding: 16px 24px;
    text-align: center;
    vertical-align: middle;
    border: 3px solid currentColor;
}

.content-image {
    display: block;
    width: var(--image-width, 100%);
    max-width: 100%;
    height: auto;
    margin:
        var(--image-margin-y, clamp(24px, 4vw, 48px))
        auto;
    border-radius: var(--image-radius, 0);
}

.indent-paragraph {
    text-indent: var(--line-indent, 2em);
}

.indented-lines {
    margin-top: 0;
    margin-bottom: clamp(18px, 2.5vw, 30px);
}

.indented-lines > span {
    display: block;
    text-indent: var(--line-indent, 2em);
}

.indented-lines > .blank-line {
    height: var(--blank-line-height, 1em);
    text-indent: 0;
}

.quote-source {
    display: block;
    margin-top: 1em;
    text-align: right;
    font-style: italic;
    opacity: 0.8;
}

.markdown-body ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 2em;
}

.markdown-body ul li {
    margin: 0;
}

.markdown-body p:has(+ ul) {
    margin-bottom: 0;
}

.no-blend {
    mix-blend-mode: normal;
}

@media (max-width: 480px) and (orientation: portrait) {
    :root {
        --content-font-size: clamp(0.90rem, 0.84rem + 0.35vw, 0.98rem);
        --h1-font-size: clamp(1.78rem, 1.44rem + 1.70vw, 2.05rem);
        --h2-font-size: clamp(1.35rem, 1.16rem + 0.95vw, 1.55rem);
        --quote-font-size: clamp(0.92rem, 0.85rem + 0.35vw, 1rem);
    }

    .markdown-body {
        --content-line-height: 1.70;
    }

    .markdown-body h1 {
        letter-spacing: -0.02em;
    }
}

@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (max-width: 640px) {
    html,
    body {
        background: #000000;
    }

    body {
        padding-bottom: 0;
        overflow: hidden;
    }

    .site-background,
    .site-content {
        display: none;
    }

    .rotate-notice {
        display: grid;
    }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 520px) {
    :root {
        --content-padding-x: clamp(40px, 7vw, 72px);
        --content-font-size: clamp(0.98rem, 0.70rem + 0.75vw, 1.22rem);
        --h1-font-size: clamp(2.05rem, 0.95rem + 3.8vw, 3.8rem);
        --h2-font-size: clamp(1.55rem, 0.92rem + 2vw, 2.45rem);
        --quote-font-size: clamp(1rem, 0.72rem + 0.78vw, 1.25rem);
    }

    body {
        padding-bottom: clamp(48px, 8svh, 96px);
    }

    .hero-section {
        height: 118vh;
        height: 118svh;
        min-height: 420px;
    }

    .markdown-body {
        max-width: min(1280px, 88vw);
    }
}

.markdown-body a,
.markdown-body a:visited {
    color: #4da3ff;
}

.markdown-body a:hover,
.markdown-body a:focus-visible {
    color: #80bdff;
}

.markdown-body a:active {
    color: #4da3ff;
}

.markdown-body li.gap-after {
    margin-bottom: 2em;
}

.inline-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: max-content;
    max-width: 100%;
    min-height: 2.4em;
    margin: 0.15em 0.2em;
    padding: 0.35em 0.9em;
    box-sizing: border-box;

    border: 2px solid var(--link-button-border, #ffffff);
    border-radius: var(--link-button-radius, 0);

    color: var(--link-button-text, #ffffff);
    background: var(--link-button-background, #333333);

    font-family: inherit;
    font-size: var(--link-button-font-size, 0.95em);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;

    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;

    cursor: pointer;

    transition:
        transform 0.16s ease,
        filter 0.16s ease,
        box-shadow 0.16s ease;
}

.markdown-body .inline-link-button,
.markdown-body .inline-link-button:visited {
    color: var(--link-button-text, #ffffff);
    text-decoration: none;
}

.markdown-body .inline-link-button:hover,
.markdown-body .inline-link-button:focus-visible {
    color: var(--link-button-text, #ffffff);
    filter: brightness(1.14);
    transform: translateY(-2px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.markdown-body .inline-link-button:active {
    color: var(--link-button-text, #ffffff);
    transform: translateY(0);
    box-shadow: none;
}