/* ====================================================================
   Air&Ember — Design education pages (shared stylesheet)
   1. Shared: fonts, tokens, reset, "Back to Designs" pill
   2. Asymmetrical page  (.asym_*)
   3. Brutalist page     (.brut_*)
   ==================================================================== */

/* ---------- Fonts ---------- */
@font-face {
    font-family: "Playfair Display";
    src: url(../assets/fonts/PlayfairDisplay-VariableFont_wght.ttf) format("truetype");
    font-weight: 400 900;
    font-display: swap;
}

@font-face {
    font-family: "ZT Neue Ralewe";
    src: url(../assets/fonts/ZTNeueRalewe-Regular.ttf) format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "ZT Neue Ralewe";
    src: url(../assets/fonts/ZTNeueRalewe-Medium.ttf) format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "ZT Neue Ralewe";
    src: url(../assets/fonts/ZTNeueRalewe-ExtraBold.ttf) format("truetype");
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Schabo";
    src: url(../assets/fonts/designFonts/SCHABO.woff) format("woff");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Krusty";
    src: url(../assets/fonts/krustycraft.otf) format("opentype");
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --ink: #080511;
    --cream: #f4e7c5;
    --pine: #172c16;
    --ember: #a74918;
    --flame: #ff7a2f;
}

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

html,
body,
div,
span,
h1,
h2,
h3,
h4,
p,
blockquote,
a,
address,
img,
figure,
strong,
nav,
footer {
    margin: 0;
    padding: 0;
    border: 0;
}

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

.hidden {
    display: none;
}

/* ---------- Back to Designs pill ---------- */
.returnCont {
    display: flex;
    justify-content: center;
}

.Return {
    position: fixed;
    bottom: 1rem;
    background-color: var(--ember);
    width: 13rem;
    display: flex;
    justify-content: center;
    border-radius: 50px;
    padding: 0.6rem;
    color: #fff;
    letter-spacing: 0.12rem;
    text-decoration: none;
    font-family: "Krusty", sans-serif;
    box-shadow: 0 4px 14px rgba(8, 5, 17, 0.35);
    z-index: 20000;
}

.Return:hover {
    background-color: var(--flame);
}

/* ====================================================================
   1. ASYMMETRICAL — editorial layout study
   ==================================================================== */

.asym_body {
    margin: 0;
    background-color: var(--cream);
    color: var(--ink);
    font-family: "ZT Neue Ralewe", "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: clip;
}

/* --- Header / nav --- */
.asym_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem clamp(1rem, 5vw, 3.5rem);
    border-bottom: 1px solid rgba(8, 5, 17, 0.15);
}

.asym_logo {
    width: 72px;
    height: auto;
}

.asym_ul {
    display: flex;
    gap: clamp(1rem, 4vw, 2.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.asym_nav a {
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 500;
}

.asym_nav a:hover,
.asym_nav a:focus-visible {
    color: var(--ember);
    text-decoration: underline;
    text-underline-offset: 0.4em;
}

/* --- Intro --- */
.asym_intro {
    padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 6vw, 4rem) 1.5rem;
    max-width: 70rem;
}

.asym_kicker {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ember);
    margin-bottom: 1rem;
}

.asym_pageTitle {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 850;
    font-size: clamp(2.6rem, 8vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
}

.asym_pageTitle em {
    font-style: italic;
    font-weight: 500;
    color: var(--ember);
}

.asym_lede {
    margin-top: 1.4rem;
    max-width: 46ch;
    font-size: 1.05rem;
    color: rgba(8, 5, 17, 0.8);
}

/* --- Demo: toggle controls --- */
.asym_demo {
    border-top: 1px solid rgba(8, 5, 17, 0.15);
    margin-top: 2.5rem;
    padding: 2rem 0 4rem;
}

.asym_controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.asym_controlLabel {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(8, 5, 17, 0.45);
    transition: color 0.3s;
}

.asym_controlLabel.is-active {
    color: var(--ember);
    font-weight: 800;
}

.asym_toggle {
    cursor: pointer;
    border: 2px solid var(--ink);
    background: transparent;
    width: 4.4rem;
    height: 2.3rem;
    border-radius: 999px;
    position: relative;
    padding: 0;
    flex-shrink: 0;
}

.asym_toggle:focus-visible {
    outline: 3px solid var(--flame);
    outline-offset: 3px;
}

.asym_toggle_knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: var(--ember);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateX(2.05rem);
    /* default = asymmetry side (right) */
}

.mode-symmetric .asym_toggle_knob {
    transform: translateX(0);
}

.asym_caption {
    margin: 1.2rem auto 0;
    max-width: 56ch;
    text-align: center;
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(8, 5, 17, 0.72);
    padding: 0 1.25rem;
    min-height: 3em;
}

.asym_hint {
    margin: 2.5rem auto 0;
    max-width: 52ch;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(8, 5, 17, 0.5);
    padding: 0 1.25rem;
}

/* --- Demo: the stage ---------------------------------------------
   The grid placement is IDENTICAL in both modes (a centered column).
   Asymmetry is created purely with animatable properties — widths,
   margins, transforms — so toggling tweens smoothly between states. */
.asym_stage {
    display: grid;
    grid-template-columns: 1fr min(86vw, 54rem) 1fr;
    margin-top: 2.75rem;
}

.asym_stage > * {
    grid-column: 2;
}

.st_el {
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        margin 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.8s;
}

/* default state = ASYMMETRIC */
.st_title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 880;
    font-size: clamp(2.6rem, 9vw, 7rem);
    line-height: 0.92;
    position: relative;
    z-index: 2;
    text-align: left;
    margin-bottom: -0.42em;
    /* overlaps the hero photo below */
    transform: translateX(-1.5%);
}

.st_location {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ember);
    text-align: left;
    margin-bottom: 0.5rem;
    transform: translateX(1%);
    position: relative;
    z-index: 2;
}

.st_hero {
    position: relative;
    z-index: 1;
    width: 110%;
    margin-left: -3%;
    transform: rotate(-1.4deg);
}

.st_hero img {
    width: 100%;
    box-shadow: 0 22px 50px rgba(8, 5, 17, 0.3);
}

.st_minis {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 2;
    width: 72%;
    margin-left: -4%;
    margin-top: -3rem;
}

.st_mini {
    flex: 1;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.st_mini img {
    width: 100%;
    box-shadow: 0 12px 28px rgba(8, 5, 17, 0.28);
}

.st_mini:first-child {
    transform: rotate(-2.5deg) translateY(-1.1rem);
}

.st_mini:last-child {
    transform: rotate(1.8deg) translateY(1.4rem);
}

.st_copy {
    width: 54%;
    margin-left: 44%;
    margin-top: 2.5rem;
    text-align: left;
    font-size: 1.02rem;
    color: rgba(8, 5, 17, 0.82);
}

.st_btnWrap {
    width: 42%;
    margin-left: 56%;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* SYMMETRIC overrides — everything centered, even, static */
.mode-symmetric .st_title {
    text-align: center;
    margin-bottom: 0.1em;
    transform: none;
}

.mode-symmetric .st_location {
    text-align: center;
    transform: none;
    margin-bottom: 1.25rem;
}

.mode-symmetric .st_hero {
    width: 100%;
    margin-left: 0;
    transform: none;
}

.mode-symmetric .st_hero img {
    box-shadow: 0 6px 18px rgba(8, 5, 17, 0.18);
}

.mode-symmetric .st_minis {
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
}

.mode-symmetric .st_mini:first-child,
.mode-symmetric .st_mini:last-child {
    transform: none;
}

.mode-symmetric .st_copy {
    width: 80%;
    margin-left: 10%;
    text-align: center;
}

.mode-symmetric .st_btnWrap {
    width: 100%;
    margin-left: 0;
}

/* --- Demo button (underline grows on hover) --- */
.asym_button {
    cursor: pointer;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: "ZT Neue Ralewe", sans-serif;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 1.35rem;
    display: inline-block;
    padding: 0.5rem 0.9rem;
    position: relative;
    z-index: 1;
}

.asym_button::after {
    content: "";
    position: absolute;
    background-color: var(--flame);
    height: 30%;
    width: 85%;
    bottom: 8px;
    left: -2px;
    z-index: -1;
    transition: all 0.25s cubic-bezier(0.3, -0.89, 0.78, 2.17);
}

.asym_button:hover::after,
.asym_button:focus-visible::after {
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    border-radius: 14px;
}

/* --- Visual-weight hover badges --- */
[data-weight] {
    position: relative;
}

[data-weight]::before {
    content: "weight: " attr(data-weight);
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 40;
    background: var(--ink);
    color: var(--cream);
    font-family: "ZT Neue Ralewe", sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3em 0.7em;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
    white-space: nowrap;
}

[data-weight]:hover::before,
[data-weight]:focus-visible::before {
    opacity: 1;
    transform: translateY(0);
}

/* --- Essay (educational copy, itself asymmetric) --- */
.asym_essay {
    border-top: 1px solid rgba(8, 5, 17, 0.15);
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

.asym_essay h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.1;
}

.asym_essay p {
    font-size: 1.02rem;
    color: rgba(8, 5, 17, 0.82);
    max-width: 62ch;
}

.asym_pull {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    line-height: 1.3;
    color: var(--ember);
    border-left: 4px solid var(--flame);
    padding-left: 1.2rem;
    align-self: center;
}

/* --- Footer --- */
.asym_footer {
    background-color: var(--ink);
    color: var(--cream);
    padding: 2.5rem clamp(1rem, 6vw, 4rem) 5.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.asym_footer h4 {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--flame);
    margin-bottom: 0.5rem;
}

.asym_footer p {
    font-size: 0.92rem;
    margin: 0.15rem 0;
}

.asym_footer a {
    color: var(--cream);
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.asym_footer a:hover {
    color: var(--flame);
}

.asym_copyright {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.7;
    align-self: flex-end;
}

.asym_social {
    display: flex;
    gap: 0.8rem;
}

.asym_social_link {
    background: var(--cream);
    border-radius: 50%;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asym_social_link:hover {
    background: var(--flame);
}

.asym_socialImg {
    height: 1.4rem;
    width: 1.4rem;
}

/* --- Asym: wider screens --- */
@media only screen and (min-width: 860px) {
    .Return {
        bottom: auto;
        top: 15px;
        right: 15px;
        width: 13rem;
    }

    .asym_essay {
        grid-template-columns: 7fr 4fr;
        column-gap: clamp(2rem, 6vw, 5rem);
    }

    .asym_essay h2 {
        grid-column: 1 / -1;
        max-width: 24ch;
    }

    .asym_essay_p2 {
        grid-column: 2 / -1;
    }

    .asym_pull {
        grid-row: 2;
        grid-column: 2;
        transform: rotate(-1deg) translateY(-1.5rem);
    }

    .asym_essay_p1 {
        grid-row: 2 / 4;
        grid-column: 1;
    }

    .asym_essay_p2 {
        grid-row: 3;
        grid-column: 2;
        margin-top: 1rem;
    }
}

/* ====================================================================
   2. BRUTALIST — "LET'S GET THIS BREAD"
   Harshness is the default. The POLISH-O-METER slider drives --polish
   (0 raw → 1 ruined) and progressively sands every edge off the page.
   ==================================================================== */

.brut_body {
    --polish: 0;
    margin: 0;
    background-color: hsl(45 60% calc(100% - var(--polish) * 7%));
    color: rgba(0, 0, 0, calc(1 - var(--polish) * 0.25));
    font-family: "Courier New", Courier, monospace;
    overflow-x: clip;
}

/* shared "harsh box" recipe — every var() softens as --polish rises */
.brut_box {
    border: 4px solid rgba(0, 0, 0, calc(1 - var(--polish) * 0.78));
    border-radius: calc(var(--polish) * 18px);
    box-shadow:
        calc(8px * (1 - var(--polish))) calc(8px * (1 - var(--polish))) 0 rgba(0, 0, 0, calc(1 - var(--polish) * 0.8)),
        0 calc(var(--polish) * 12px) calc(var(--polish) * 28px) rgba(8, 5, 17, calc(var(--polish) * 0.2));
    transition: border-radius 0.2s, box-shadow 0.2s;
}

.brut_accent {
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

.brut_body hr {
    border: none;
    border-top: 5px solid rgba(0, 0, 0, calc(1 - var(--polish) * 0.82));
    margin: clamp(1.5rem, 4vw, 3rem) clamp(0.75rem, 4vw, 2.5rem);
}

/* --- Nav --- */
.brut_nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem clamp(0.75rem, 3vw, 2rem);
    border-bottom: 5px solid rgba(0, 0, 0, calc(1 - var(--polish) * 0.82));
    background: #fff;
}

.brut_logo {
    height: 46px;
    width: auto;
}

.brut_nav a {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    text-decoration: underline;
    color: #000;
    background: #ff0;
    border: 3px solid rgba(0, 0, 0, calc(1 - var(--polish) * 0.78));
    border-radius: calc(var(--polish) * 14px);
    padding: 0.4rem 0.8rem;
    box-shadow: calc(5px * (1 - var(--polish))) calc(5px * (1 - var(--polish))) 0 #000;
    letter-spacing: calc(var(--polish) * 0.08em);
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

.brut_nav a:hover {
    background: #000;
    color: #ff0;
}

.brut_nav a:active {
    box-shadow: none;
    transform: translate(4px, 4px);
}

/* --- Marquee strip --- */
.brut_marquee {
    overflow: hidden;
    background: #000;
    color: #ff0;
    white-space: nowrap;
    border-bottom: 5px solid #000;
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

.brut_marquee_inner {
    display: inline-block;
    white-space: nowrap;
    padding: 0.45rem 0;
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    animation: brutScroll 16s linear infinite;
}

@keyframes brutScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.is-polished .brut_marquee_inner {
    animation-play-state: paused;
}

/* --- Header / hero --- */
.brut_header {
    padding: clamp(1rem, 4vw, 2.5rem) clamp(0.75rem, 4vw, 2.5rem) 0;
    text-align: center;
}

.brut_header_breadCont {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.brut_bread {
    width: min(92vw, 460px);
    height: auto;
    border: 6px solid rgba(0, 0, 0, calc(1 - var(--polish) * 0.78));
    border-radius: calc(var(--polish) * 26px);
    box-shadow:
        calc(10px * (1 - var(--polish))) calc(10px * (1 - var(--polish))) 0 rgba(0, 0, 0, calc(1 - var(--polish) * 0.8)),
        0 calc(var(--polish) * 14px) calc(var(--polish) * 30px) rgba(8, 5, 17, calc(var(--polish) * 0.22));
}

.brut_h1 {
    font-family: "Schabo", "Arial Black", Impact, sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 16vw, 12rem);
    line-height: 0.92;
    margin: 1.5rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: calc(var(--polish) * 0.04em);
}

#brut_bread_word {
    background: #ff0;
    padding: 0 0.12em;
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

.is-polished .brut_h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    text-transform: capitalize;
}

.brut_tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: calc(0.05em + var(--polish) * 0.08em);
    margin-bottom: 1.5rem;
}

/* --- POLISH-O-METER --- */
.brut_meter {
    margin: 0 clamp(0.75rem, 4vw, 2.5rem);
    padding: clamp(1.25rem, 4vw, 2.25rem);
    background: #fff;
    text-align: center;
}

.brut_meter h2 {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: clamp(1.6rem, 6vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    letter-spacing: calc(var(--polish) * 0.06em);
}

.brut_meter_caption {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #ff0;
    display: inline-block;
    padding: 0.2rem 0.6rem;
    margin-bottom: 1.25rem;
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

#polishSlider {
    width: min(100%, 30rem);
    accent-color: #000;
    cursor: ew-resize;
    height: 2rem;
}

.brut_meter_readout {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.brut_meter_verdict {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    min-height: 1.5em;
    margin-top: 0.25rem;
}

.brut_meter_explain {
    max-width: 60ch;
    margin: 1.25rem auto 0;
    font-size: 0.95rem;
    text-align: left;
    line-height: calc(1.45 + var(--polish) * 0.4);
    letter-spacing: calc(var(--polish) * 0.03em);
}

/* --- BRUTALISM letter row --- */
.brut_mainDiv1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.1em;
    font-size: clamp(3.5rem, 14vw, 9rem);
    padding: 0 0.5rem;
}

.brut_title {
    font-family: "Arial Black", Impact, sans-serif;
    text-transform: uppercase;
    line-height: 1;
    font-size: inherit;
    margin: 0;
}

.brut_title:nth-child(odd) {
    background: #ff0;
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

/* --- Writeup --- */
.brut_writeup {
    margin: 0 clamp(0.75rem, 4vw, 2.5rem);
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: #fff;
}

.brut_write {
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    line-height: calc(1.5 + var(--polish) * 0.4);
    letter-spacing: calc(var(--polish) * 0.025em);
}

.brut_write_highlight {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 0.92em;
    background: #ff0;
    padding: 0 0.2em;
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

.is-polished .brut_write {
    font-family: Georgia, "Times New Roman", serif;
}

/* --- Social --- */
.brut_social {
    background: #ff0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    margin: 0 clamp(0.75rem, 4vw, 2.5rem);
    padding: 1.5rem;
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

.brut_social_link {
    border: 4px solid rgba(0, 0, 0, calc(1 - var(--polish) * 0.78));
    border-radius: calc(var(--polish) * 16px);
    background: #fff;
    padding: 0.8rem;
    box-shadow: calc(6px * (1 - var(--polish))) calc(6px * (1 - var(--polish))) 0 #000;
}

.brut_social_link:active {
    box-shadow: none;
    transform: translate(4px, 4px);
}

.brut_socialImg {
    height: 2.2rem;
    width: 2.2rem;
}

/* --- Footer --- */
.brut_footer {
    margin-top: clamp(1.5rem, 4vw, 3rem);
    border-top: 5px solid rgba(0, 0, 0, calc(1 - var(--polish) * 0.82));
    background: #fff;
    padding: 2rem clamp(0.75rem, 4vw, 2.5rem) 5.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.brut_footer h4 {
    font-family: "Arial Black", Impact, sans-serif;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    text-decoration: underline;
}

.brut_footer p {
    font-size: 0.95rem;
    margin: 0.15rem 0;
}

.brut_footer a {
    color: #000;
    text-decoration: underline;
    background: #ff0;
    padding: 0 0.2em;
    filter: saturate(calc(1 - var(--polish) * 0.72));
}

.brut_footer a:hover {
    background: #000;
    color: #ff0;
}

.brut_copyright {
    font-size: 0.9rem;
    font-weight: 700;
    align-self: flex-end;
}

@media only screen and (min-width: 860px) {
    .brut_meter,
    .brut_writeup {
        max-width: 64rem;
        margin-left: auto;
        margin-right: auto;
    }

    .brut_social {
        max-width: 64rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .brut_marquee_inner {
        animation: none;
        transform: none;
    }
}


@media screen and (max-width: 480px) {
    .Return {
        visibility: hidden;
    }
}