/* ============================================================
   GOODFORNOTHING — BACKALLEY theme
   asphalt, brick, studded leather, spray paint. acid + magenta.
   ============================================================ */

/* ---------- fonts (self-hosted, OFL) ---------- */

@font-face {
    font-family: 'Permanent Marker';
    src: url('../fonts/permanentmarker.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Saira Stencil One';
    src: url('../fonts/sairastencilone.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Courier Prime';
    src: url('../fonts/courierprime-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Courier Prime';
    src: url('../fonts/courierprime-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Courier Prime';
    src: url('../fonts/courierprime-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ---------- tokens ---------- */

:root {
    --asphalt: #0b0b0d;
    --wall: #121215;
    --leather: #1a1a1f;
    --leather-hi: #22222a;
    --bone: #e9e6dc;
    --dim: #9a978d;
    --spray: #b8ff2e;
    --magenta: #ff2f92;
    --chain: #7e828b;
    --line: #2e2e34;
    --stitch: rgba(233, 230, 220, 0.32);
    --marker: 'Permanent Marker', 'Segoe Script', cursive;
    --stencil: 'Saira Stencil One', 'Arial Black', sans-serif;
    --type: 'Courier Prime', 'Courier New', monospace;
    --wrap: 920px;
}

/* ---------- reset-ish ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--asphalt);
    color: var(--bone);
    font-family: var(--type);
    font-size: 17px;
    line-height: 1.65;
    min-height: 100vh;
}

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

h1, h2, h3, h4 {
    font-family: var(--stencil);
    font-weight: 400;
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 0.5em;
}

a {
    color: var(--spray);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: var(--magenta);
}

a:hover { color: var(--magenta); }

:focus-visible {
    outline: 3px dashed var(--spray);
    outline-offset: 3px;
}

::selection {
    background: var(--magenta);
    color: var(--asphalt);
}

/* ---------- asphalt grain (page-wide) ---------- */

.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: screen;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 300px 300px;
}

/* ---------- skip link ---------- */

.skip-link {
    position: fixed;
    top: -100px;
    left: 12px;
    z-index: 10001;
    background: var(--spray);
    color: var(--asphalt);
    font-family: var(--stencil);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 16px;
    border: 2px solid var(--asphalt);
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: var(--asphalt);
}

/* ---------- top bar (studded strap) ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #07070a;
}

.topbar::after {
    content: '';
    display: block;
    height: 14px;
    background-color: #0e0e11;
    background-image: radial-gradient(circle at 14px 7px,
        #dfe2e7 0 2px, #7d818a 2.5px 4.2px,
        rgba(0, 0, 0, 0.85) 4.6px, transparent 6.5px);
    background-size: 28px 14px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.topbar-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 10px 20px 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.topbar-mark {
    font-family: var(--marker);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--bone);
    text-decoration: none;
    text-shadow: 3px 3px 0 rgba(255, 47, 146, 0.75);
}

.topbar-mark:hover {
    color: var(--spray);
    text-shadow: 3px 3px 0 rgba(255, 47, 146, 0.9);
}

.topbar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.topbar-nav a {
    font-family: var(--stencil);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bone);
    text-decoration: none;
    padding: 5px 10px;
    border: 2px solid transparent;
}

.topbar-nav a:hover {
    background: var(--spray);
    border-color: var(--spray);
    color: var(--asphalt);
}

.topbar-nav a.is-current {
    background: var(--magenta);
    border-color: var(--magenta);
    color: var(--asphalt);
}

.topbar-nav .nav-rss {
    color: var(--spray);
}

.topbar-nav .nav-rss:hover {
    background: var(--spray);
    color: var(--asphalt);
}

/* ---------- hero / brick wall ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 26px;
    background-color: var(--wall);
    background-image:
        radial-gradient(ellipse at 78% 12%, rgba(184, 255, 46, 0.10), transparent 55%),
        radial-gradient(ellipse at 12% 85%, rgba(255, 47, 146, 0.09), transparent 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='%23121215'/%3E%3Cg stroke='%2309090b' stroke-width='3' fill='none'%3E%3Cpath d='M0 1h120M0 31h120M0 60h120M60 1v30M0 31v30M120 31v30'/%3E%3C/g%3E%3C/svg%3E");
    background-size: auto, auto, 120px 60px;
}

/* jagged spike-line along the bottom of the wall */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16'%3E%3Cpath d='M0 16 L12 0 L24 16 Z' fill='%230b0b0d'/%3E%3C/svg%3E");
    background-size: 24px 16px;
    background-repeat: repeat-x;
}

.hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(40px, 7vw, 90px) 20px clamp(32px, 5vw, 64px);
}

.hero-kicker {
    font-family: var(--stencil);
    font-size: 14px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--spray);
    margin: 0 0 18px;
}

.hero-title {
    margin: 0;
    font-family: var(--marker);
    font-size: clamp(56px, 13vw, 150px);
    line-height: 0.94;
    text-transform: uppercase;
    letter-spacing: 0.005em;
}

.hero-title .line {
    display: block;
    width: fit-content;
    color: var(--bone);
    text-shadow:
        5px 5px 0 var(--magenta),
        -3px -2px 0 rgba(184, 255, 46, 0.45),
        0 0 34px rgba(184, 255, 46, 0.22);
}

.hero-title .line-spray {
    color: var(--spray);
    text-shadow:
        5px 5px 0 rgba(255, 47, 146, 0.9),
        -3px -2px 0 rgba(233, 230, 220, 0.35),
        0 0 34px rgba(184, 255, 46, 0.4);
    rotate: 1.4deg;
    margin-left: clamp(12px, 6vw, 90px);
}

.hero-title-tag {
    font-size: clamp(42px, 9vw, 110px);
}

.hero-title-tag .line {
    text-shadow:
        5px 5px 0 var(--magenta),
        -3px -2px 0 rgba(184, 255, 46, 0.45),
        0 0 30px rgba(184, 255, 46, 0.3);
}

.hero-tagline {
    font-size: clamp(16px, 2.2vw, 20px);
    font-style: italic;
    max-width: 640px;
    margin: 26px 0 0;
    border-left: 5px solid var(--magenta);
    padding-left: 14px;
    color: var(--bone);
}

/* trade patches — stitched-on leather scraps */

.patch-strip {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 34px 0 0;
}

.patch-strip li {
    font-family: var(--stencil);
    font-size: 15px;
    letter-spacing: 0.1em;
    padding: 6px 13px;
    border: 2px dashed var(--stitch);
    background: var(--leather);
    color: var(--bone);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.65);
}

.patch-strip li:nth-child(odd)  { rotate: -2deg; }
.patch-strip li:nth-child(even) { rotate: 1.6deg; }
.patch-strip li:nth-child(3n)   { rotate: -0.8deg; }

.patch-strip .s-acid  { background: var(--spray); color: var(--asphalt); border: 2px solid var(--asphalt); border-style: solid; }
.patch-strip .s-ink   { background: #07070a; color: var(--spray); border-color: var(--spray); }
.patch-strip .s-paper { background: var(--bone); color: var(--asphalt); border-color: var(--asphalt); }

/* hero-sub (tags, authors, projects landing) */

.hero-sub .hero-inner {
    padding-top: clamp(28px, 5vw, 56px);
    padding-bottom: clamp(24px, 4vw, 44px);
}

/* ---------- layout ---------- */

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) 20px;
}

.section-head {
    display: inline-block;
    background: var(--spray);
    color: var(--asphalt);
    font-family: var(--stencil);
    font-size: clamp(18px, 3vw, 26px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    margin: 0 0 34px;
    rotate: -1deg;
    box-shadow: 5px 5px 0 rgba(255, 47, 146, 0.8);
}

/* ---------- cards (stitched leather panels) ---------- */

.feed {
    display: grid;
    gap: 30px;
}

.alley-card {
    position: relative;
    background-color: var(--leather);
    background-image:
        radial-gradient(circle at 16px 16px, #dfe2e7 0 2.5px, #7d818a 3px 4.5px, rgba(0, 0, 0, 0.8) 5px, transparent 6.5px),
        radial-gradient(circle at calc(100% - 16px) 16px, #dfe2e7 0 2.5px, #7d818a 3px 4.5px, rgba(0, 0, 0, 0.8) 5px, transparent 6.5px),
        radial-gradient(circle at 16px calc(100% - 16px), #dfe2e7 0 2.5px, #7d818a 3px 4.5px, rgba(0, 0, 0, 0.8) 5px, transparent 6.5px),
        radial-gradient(circle at calc(100% - 16px) calc(100% - 16px), #dfe2e7 0 2.5px, #7d818a 3px 4.5px, rgba(0, 0, 0, 0.8) 5px, transparent 6.5px);
    background-repeat: no-repeat;
    border: 2px dashed var(--stitch);
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.alley-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 0 0 0 2px rgba(184, 255, 46, 0.9), 0 0 30px rgba(184, 255, 46, 0.35);
}

.post-card {
    display: flex;
    rotate: -0.4deg;
}

.post-card:nth-child(even) { rotate: 0.5deg; }

.card-date {
    flex: 0 0 92px;
    background: #07070a;
    color: var(--bone);
    border-right: 2px dashed var(--stitch);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 16px 6px;
    font-family: var(--stencil);
    text-align: center;
}

.card-month { font-size: 15px; letter-spacing: 0.14em; color: var(--spray); }
.card-day   { font-size: 42px; line-height: 0.95; color: var(--bone); text-shadow: 3px 3px 0 rgba(255, 47, 146, 0.6); }
.card-year  { font-size: 12px; letter-spacing: 0.2em; color: var(--chain); }

.card-body {
    flex: 1;
    padding: 20px 22px 18px;
    min-width: 0;
}

.card-title {
    font-family: var(--marker);
    font-size: clamp(23px, 3.6vw, 33px);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin: 0 0 10px;
}

.card-title a {
    text-decoration: none;
    color: var(--bone);
}

.card-title a:hover {
    color: var(--spray);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--magenta);
}

.card-excerpt {
    margin: 0 0 14px;
    font-size: 15.5px;
    color: var(--dim);
}

.card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-cta {
    font-family: var(--stencil);
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--spray);
}

/* ---------- chips & stamps ---------- */

.chip {
    display: inline-block;
    font-family: var(--stencil);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bone);
    background: rgba(7, 7, 10, 0.6);
    border: 1.5px solid var(--chain);
    padding: 3px 8px;
    line-height: 1.2;
}

a.chip:hover {
    background: var(--spray);
    border-color: var(--spray);
    color: var(--asphalt);
}

.chip-small { font-size: 11.5px; padding: 2px 6px; }

.chip-big {
    font-size: 15px;
    padding: 5px 12px;
    border-width: 2px;
    border-color: var(--bone);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.7);
}

.chip-project {
    background: var(--magenta);
    border-color: var(--magenta);
    color: var(--asphalt);
}

.stamp {
    display: inline-block;
    font-family: var(--stencil);
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--spray);
    border: 2.5px solid currentColor;
    background: rgba(7, 7, 10, 0.5);
    padding: 4px 10px;
    rotate: -7deg;
}

.stamp-wip  { color: var(--magenta); }
.stamp-gone { color: var(--chain); }

.date-stamp {
    font-family: var(--stencil);
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--chain);
}

/* ---------- projects grid ---------- */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    display: flex;
    flex-direction: column;
    rotate: -0.5deg;
}

.project-card:nth-child(even) { rotate: 0.6deg; }

.project-card .card-img {
    border-bottom: 2px dashed var(--stitch);
    overflow: hidden;
    background: var(--asphalt);
}

.project-card .card-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(1) sepia(1) hue-rotate(48deg) saturate(2.8) contrast(1.15) brightness(0.88);
}

.project-card:hover .card-img img {
    filter: grayscale(1) sepia(1) hue-rotate(48deg) saturate(3.4) contrast(1.3) brightness(0.95);
}

.project-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
}

.project-card .card-stamps {
    position: absolute;
    top: -14px;
    right: 14px;
    z-index: 2;
}

.project-card .card-title { margin: 0; }

.project-card .card-excerpt { margin: 0; }

/* ---------- pagination ---------- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.page-count {
    font-family: var(--stencil);
    font-size: 14px;
    letter-spacing: 0.18em;
    color: var(--chain);
}

/* ---------- buttons (stencilled signs) ---------- */

.btn {
    display: inline-block;
    font-family: var(--stencil);
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--spray);
    background: #0e0e11;
    border: 2px solid var(--spray);
    padding: 10px 18px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.7);
    transform: skewX(-8deg);
    transition: transform 100ms ease, box-shadow 100ms ease, background 100ms ease;
}

.btn:hover {
    background: var(--spray);
    color: var(--asphalt);
    box-shadow: 0 0 22px rgba(184, 255, 46, 0.55);
    transform: skewX(-8deg) translate(-2px, -2px);
}

.btn-big {
    font-size: 20px;
    padding: 14px 26px;
    margin-top: 30px;
}

/* ---------- post page ---------- */

.post-wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(34px, 6vw, 64px) 20px;
}

.post-page {
    position: relative;
    background-color: var(--leather);
    background-image:
        radial-gradient(circle at 18px 18px, #dfe2e7 0 2.5px, #7d818a 3px 4.5px, rgba(0, 0, 0, 0.8) 5px, transparent 6.5px),
        radial-gradient(circle at calc(100% - 18px) 18px, #dfe2e7 0 2.5px, #7d818a 3px 4.5px, rgba(0, 0, 0, 0.8) 5px, transparent 6.5px),
        radial-gradient(circle at 18px calc(100% - 18px), #dfe2e7 0 2.5px, #7d818a 3px 4.5px, rgba(0, 0, 0, 0.8) 5px, transparent 6.5px),
        radial-gradient(circle at calc(100% - 18px) calc(100% - 18px), #dfe2e7 0 2.5px, #7d818a 3px 4.5px, rgba(0, 0, 0, 0.8) 5px, transparent 6.5px);
    background-repeat: no-repeat;
    border: 2px dashed var(--stitch);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.75);
    padding: clamp(24px, 5vw, 52px);
    rotate: -0.3deg;
}

.post-head {
    border-bottom: 2px dashed var(--stitch);
    padding-bottom: 26px;
    margin-bottom: 30px;
}

.post-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    min-height: 34px;
}

.post-title {
    font-family: var(--marker);
    font-size: clamp(36px, 7vw, 74px);
    line-height: 1.02;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: var(--bone);
    text-shadow: 4px 4px 0 var(--magenta), -2px -2px 0 rgba(184, 255, 46, 0.4);
}

.post-dek {
    font-size: clamp(17px, 2.4vw, 21px);
    font-style: italic;
    color: var(--dim);
    margin: 0;
    border-left: 5px solid var(--magenta);
    padding-left: 14px;
}

.post-feature {
    margin: 0 0 34px;
}

.post-feature img {
    width: 100%;
    border: 2px solid var(--line);
    filter: grayscale(1) sepia(1) hue-rotate(48deg) saturate(2.8) contrast(1.15) brightness(0.88);
}

.post-feature figcaption {
    font-size: 14px;
    font-style: italic;
    color: var(--chain);
    text-align: center;
    margin-top: 10px;
}

/* ---------- post content (sprayed on the wall) ---------- */

.post-content {
    font-size: 17.5px;
    line-height: 1.75;
    max-width: 70ch;
    color: var(--bone);
}

.post-content > * + * { margin-top: 1.15em; }

.post-content h2 {
    font-family: var(--stencil);
    font-size: clamp(26px, 4vw, 38px);
    color: var(--spray);
    border-bottom: 3px solid var(--line);
    padding-bottom: 6px;
    margin-top: 1.8em;
}

.post-content h3 {
    font-family: var(--stencil);
    font-size: clamp(21px, 3vw, 28px);
    color: var(--magenta);
    margin-top: 1.6em;
}

.post-content a {
    color: var(--spray);
    font-weight: 700;
}

.post-content a:hover {
    background: var(--spray);
    color: var(--asphalt);
    text-decoration: none;
}

.post-content strong { color: #fff; font-weight: 700; }

.post-content blockquote {
    margin: 1.6em 0;
    padding: 14px 18px;
    border: 2px dashed var(--stitch);
    border-left: 7px solid var(--magenta);
    background: rgba(7, 7, 10, 0.55);
    font-style: italic;
    color: var(--bone);
    rotate: 0.5deg;
}

.post-content blockquote p { margin: 0; }

.post-content ul, .post-content ol {
    padding-left: 1.4em;
}

.post-content li::marker { color: var(--spray); }

.post-content hr {
    border: 0;
    border-top: 2px dashed var(--line);
    margin: 3rem 0;
}

.post-content img {
    border: 2px solid var(--line);
    filter: grayscale(1) sepia(1) hue-rotate(48deg) saturate(2.8) contrast(1.15) brightness(0.88);
}

.post-content figure {
    margin: 2em 0;
}

.post-content figcaption {
    font-size: 14px;
    font-style: italic;
    color: var(--chain);
    text-align: center;
    margin-top: 8px;
}

.post-content code {
    font-family: var(--type);
    background: #07070a;
    color: var(--spray);
    padding: 1px 6px;
    font-size: 0.9em;
    border: 1px solid var(--line);
}

.post-content pre {
    background: #07070a;
    border: 2px solid var(--line);
    padding: 16px 18px;
    overflow-x: auto;
    line-height: 1.5;
}

.post-content pre code {
    background: none;
    color: var(--bone);
    border: 0;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
}

.post-content th, .post-content td {
    border: 2px solid var(--line);
    padding: 8px 12px;
    text-align: left;
}

.post-content th {
    background: var(--spray);
    color: var(--asphalt);
    font-family: var(--stencil);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.post-content kbd {
    border: 2px solid var(--chain);
    border-bottom-width: 4px;
    padding: 1px 7px;
    font-family: var(--type);
    font-size: 0.85em;
    background: #07070a;
    color: var(--bone);
}

/* Ghost gallery card — acid wash wall */

.kg-gallery-card {
    margin: 2.2em 0;
}

.kg-gallery-container { display: block; }

.kg-gallery-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.kg-gallery-image { flex: 1 1 0; min-width: 0; }

.kg-gallery-image a { display: block; }

.kg-gallery-image img {
    width: 100%;
    border: 2px solid var(--line);
    filter: grayscale(1) sepia(1) hue-rotate(48deg) saturate(2.8) contrast(1.2) brightness(0.88);
}

.kg-gallery-image a:hover img {
    filter: grayscale(1) sepia(1) hue-rotate(48deg) saturate(3.5) contrast(1.4) brightness(0.95);
}

/* other Ghost cards */

.kg-button-card { text-align: center; margin: 2em 0; }

.kg-callout-card {
    border: 2px dashed var(--stitch);
    border-left: 7px solid var(--spray);
    background: rgba(7, 7, 10, 0.55);
    padding: 16px 18px;
    rotate: -0.5deg;
}

.kg-embed-card { overflow-x: auto; }

.kg-bookmark-card a {
    display: block;
    border: 2px solid var(--line);
    padding: 14px 16px;
    text-decoration: none;
    background: #07070a;
}

.kg-bookmark-card .kg-bookmark-title {
    font-family: var(--stencil);
    text-transform: uppercase;
    font-size: 18px;
    color: var(--spray);
}

/* ---------- post footer ---------- */

.post-foot {
    border-top: 2px dashed var(--stitch);
    margin-top: 40px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.post-foot-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.foot-label {
    font-family: var(--stencil);
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--chain);
    margin-right: 6px;
}

/* ---------- empty state / 404 ---------- */

.empty-state {
    border: 2px dashed var(--chain);
    padding: clamp(30px, 6vw, 60px);
    text-align: center;
    rotate: -0.6deg;
    background: rgba(7, 7, 10, 0.5);
}

.empty-big {
    font-family: var(--marker);
    font-size: clamp(24px, 4vw, 38px);
    text-transform: uppercase;
    color: var(--bone);
    text-shadow: 3px 3px 0 rgba(255, 47, 146, 0.7);
    margin: 0 0 10px;
}

.empty-sub {
    font-style: italic;
    color: var(--dim);
    margin: 0;
}

.error-page {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(60px, 12vw, 140px) 20px;
    text-align: center;
}

.error-code {
    font-family: var(--marker);
    font-size: clamp(100px, 24vw, 260px);
    line-height: 0.95;
    color: transparent;
    -webkit-text-stroke: 3px var(--spray);
    text-shadow: 8px 8px 0 rgba(255, 47, 146, 0.75);
    margin: 0;
}

.error-joke {
    font-family: var(--stencil);
    font-size: clamp(20px, 3.4vw, 34px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bone);
    margin: 24px 0 8px;
}

.error-message {
    font-style: italic;
    color: var(--chain);
    margin: 0;
}

/* ---------- footer (barbed wire on black) ---------- */

.footer {
    position: relative;
    margin-top: clamp(48px, 8vw, 96px);
    background: #07070a;
    color: var(--bone);
    border-top: 3px solid var(--magenta);
}

.footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -19px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cpath d='M0 16 H40 V11 H0 Z M4 11 L8 1 L12 11 Z M24 11 L28 3 L32 11 Z' fill='%237e828b'/%3E%3C/svg%3E");
    background-size: 40px 16px;
    background-repeat: repeat-x;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 64px) 20px 28px;
}

.footer-giant {
    font-family: var(--marker);
    font-size: clamp(38px, 9vw, 120px);
    line-height: 1.0;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 34px;
    color: transparent;
    -webkit-text-stroke: 2px var(--chain);
    text-shadow: 5px 5px 0 rgba(255, 47, 146, 0.35);
    letter-spacing: 0.02em;
    word-break: break-all;
}

.footer-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    border-top: 2px dashed rgba(126, 130, 139, 0.5);
    border-bottom: 2px dashed rgba(126, 130, 139, 0.5);
    padding: 26px 0;
}

.footer-col { flex: 1 1 280px; }

.footer-blurb {
    font-style: italic;
    color: var(--dim);
    margin: 0;
    max-width: 52ch;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.footer-nav a {
    font-family: var(--stencil);
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bone);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.footer-nav a:hover {
    color: var(--spray);
    border-bottom-color: var(--spray);
}

.footer-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: center;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--chain);
    margin: 24px 0 0;
    text-align: center;
}

.footer-sep { color: var(--magenta); }

/* ---------- ghost admin/editor helpers ---------- */

.kg-width-wide { max-width: 100%; }
.kg-width-full { max-width: 100%; margin-left: 0; margin-right: 0; }

/* ---------- responsive ---------- */

@media (max-width: 640px) {
    body { font-size: 16px; }

    .post-card { flex-direction: column; rotate: 0deg; }
    .post-card:nth-child(even) { rotate: 0deg; }

    .card-date {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        border-right: 0;
        border-bottom: 2px dashed var(--stitch);
        padding: 8px 14px;
    }

    .card-day { font-size: 22px; }
    .card-month { font-size: 14px; }
    .card-year { font-size: 12px; }

    .hero-title .line {
        text-shadow:
            4px 4px 0 var(--magenta),
            -2px -1px 0 rgba(184, 255, 46, 0.45),
            0 0 24px rgba(184, 255, 46, 0.22);
    }

    .hero-title .line-spray {
        text-shadow:
            4px 4px 0 rgba(255, 47, 146, 0.9),
            -2px -1px 0 rgba(233, 230, 220, 0.35),
            0 0 24px rgba(184, 255, 46, 0.4);
    }

    .post-page { rotate: 0deg; padding: 22px 16px; }
    .post-title { text-shadow: 3px 3px 0 var(--magenta); }

    .footer-giant { -webkit-text-stroke: 1.5px var(--chain); }
}

/* ---------- motion courtesy ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

    .alley-card, .post-page, .post-card, .project-card,
    .patch-strip li, .stamp, .section-head {
        rotate: 0deg !important;
    }

    .btn, .btn:hover { transform: skewX(0deg); }
}
